Reduce text size
This commit is contained in:
parent
99c90a6106
commit
46019d42b1
1 changed files with 6 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
||||||
# -*- mode: org -*-
|
# -*- mode: org -*-
|
||||||
|
|
||||||
* Introduction
|
*** Introduction
|
||||||
|
|
||||||
This document explains the process that should be
|
This document explains the process that should be
|
||||||
followed when adding a new locale or language
|
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
|
a minimal amount of manual work and be fast to complete
|
||||||
but we're not quite there yet.
|
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
|
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
|
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:
|
The following files have to updated:
|
||||||
+ ~/src/json/t.json~
|
+ ~/src/json/t.json~
|
||||||
+ ~/src/json/surahs.json~
|
+ ~/src/json/surahs.json~
|
||||||
+ ~/src/json/<locale>/<surahId>/{info,surah}.json~
|
+ ~/src/json/<locale>/<surahId>/{info,surah}.json~
|
||||||
|
|
||||||
*** 4) Save time
|
**** 4) Save time
|
||||||
The ~/src/json/<locale>/<surahId>/info.json~ files can
|
The ~/src/json/<locale>/<surahId>/info.json~ files can
|
||||||
be generated from the contents of ~/src/json/surahs.json~ -
|
be generated from the contents of ~/src/json/surahs.json~ -
|
||||||
and that leaves us with one less step to complete:
|
and that leaves us with one less step to complete:
|
||||||
|
|
Loading…
Reference in a new issue