pages/*: add standard translation and links (#11331)
* pages/*: add standard translation and links Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> * fix1: false positives; standardize Bengali, Hindi, Nepali periods * fix: periods in recently added Bengali pages Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> * fix: false positives in modified files Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> * cleanup: update to native period in Bengali l10n Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> --------- Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
This commit is contained in:
@@ -18,6 +18,7 @@ labels = {
|
||||
"de": "Weitere Informationen:",
|
||||
"es": "Más información:",
|
||||
"fa": "اطلاعات بیشتر:",
|
||||
"fi": "Lisätietoja:",
|
||||
"fr": "Plus d'informations :",
|
||||
"sh": "Više informacija:",
|
||||
"hi": "अधिक जानकारी:",
|
||||
@@ -86,7 +87,7 @@ def set_link(file, link):
|
||||
locale = "en"
|
||||
|
||||
# build new line
|
||||
if locale == "hi":
|
||||
if locale in ["bn", "hi", "ne"]:
|
||||
new_line = f"> {labels[locale]} <{link}>।\n"
|
||||
elif locale in ["ja", "th"]:
|
||||
new_line = f"> {labels[locale]} <{link}>\n"
|
||||
|
Reference in New Issue
Block a user