From 3686842a034fb0213e82b07a3614d16f3e9d6ae6 Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Sun, 21 Jul 2024 01:54:14 -0300 Subject: [PATCH] Organize share/ per hier(7) --- .../docs/AddNewLanguage.md | 27 ------------------- .../AddNewLanguage.txt | 26 ++++++++++++++++++ 2 files changed, 26 insertions(+), 27 deletions(-) delete mode 100644 share/al-quran.reflectslight.io/docs/AddNewLanguage.md create mode 100644 share/doc/al-quran.reflectslight.io/AddNewLanguage.txt diff --git a/share/al-quran.reflectslight.io/docs/AddNewLanguage.md b/share/al-quran.reflectslight.io/docs/AddNewLanguage.md deleted file mode 100644 index bc3598d3b..000000000 --- a/share/al-quran.reflectslight.io/docs/AddNewLanguage.md +++ /dev/null @@ -1,27 +0,0 @@ -## Introduction - -This post documents the process -that should be followed when adding -a new language to the website. - -Ideally the process would require a -minimal amount of manual work and be -fast to complete but we're not there -yet. - -The process: - -* Add new locale to file 'Rules' - (/Rules) -* Add new locale to array 'Quran.locales' - (/packages/Quran/src/index.ts) -* Add new locale (+ translations) - (/src/json/t.json) - (/src/json/surahs.json) - (/src/json///{info,surah}.json) - -Tip: - -`src/json///info.json` can be generated -automatically from the contents of `src/json/surahs.json` -via: `rake t:surahs.json` diff --git a/share/doc/al-quran.reflectslight.io/AddNewLanguage.txt b/share/doc/al-quran.reflectslight.io/AddNewLanguage.txt new file mode 100644 index 000000000..e54d99237 --- /dev/null +++ b/share/doc/al-quran.reflectslight.io/AddNewLanguage.txt @@ -0,0 +1,26 @@ += Introduction + +This post documents the process that should be +followed when adding a new language to +the website. + +Ideally the process would require a minimal amount +of manual work and be fast to complete but we're +not there yet. + +The process: + +* Add new locale to file 'Rules' + (/Rules) +* Add new locale to array 'Quran.locales' + (/packages/Quran/src/index.ts) +* Add new locale (+ translations) + (/src/json/t.json) + (/src/json/surahs.json) + (/src/json///{info,surah}.json) + +Tip: + +'src/json///info.json' can be generated +automatically from the contents of 'src/json/surahs.json' +via: 'rake t:surahs.json'