From 46019d42b1ca776431bfc52ae5b1753ca118bf2b Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Fri, 23 Aug 2024 05:50:59 -0300 Subject: [PATCH] Reduce text size --- .../documentation/howto_add_language.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/share/al-quran.reflectslight.io/documentation/howto_add_language.txt b/share/al-quran.reflectslight.io/documentation/howto_add_language.txt index 878d70f..ad9abc4 100644 --- a/share/al-quran.reflectslight.io/documentation/howto_add_language.txt +++ b/share/al-quran.reflectslight.io/documentation/howto_add_language.txt @@ -1,6 +1,6 @@ # -*- mode: org -*- -* Introduction +*** Introduction This document explains the process that should be followed when adding a new locale or language @@ -8,21 +8,21 @@ to the website. Ideally the process would require a minimal amount of manual work and be fast to complete but we're not quite there yet. -* Steps +*** Steps -*** 1) Add new locale to file ~/Rules~ +**** 1) Add new locale to file ~/Rules~ The ~/Rules~ file has to be updated -*** 2) Add new locale to array ~Quran.locales~ +**** 2) Add new locale to array ~Quran.locales~ The ~/packages/Quran/src/index.ts~ file has to be updated -*** 3) Add new locale (+ translations) +**** 3) Add new locale (+ translations) The following files have to updated: + ~/src/json/t.json~ + ~/src/json/surahs.json~ + ~/src/json///{info,surah}.json~ -*** 4) Save time +**** 4) Save time The ~/src/json///info.json~ files can be generated from the contents of ~/src/json/surahs.json~ - and that leaves us with one less step to complete: