From 568433c7efe6ba1f789365800769ed924014c843 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Thu, 14 Jun 2018 17:30:36 +0100 Subject: [PATCH 1/3] BK-2494 Add Farsi to language list, thanks Meysam! --- AUTHORS.txt | 1 + lib/booki/editor/fixtures/languages.json | 8 ++++++++ lib/booktype/skeleton/base_settings.py.original | 1 + 3 files changed, 10 insertions(+) diff --git a/AUTHORS.txt b/AUTHORS.txt index 996953c2c..387e76e4e 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -47,6 +47,7 @@ Jujhar Singh (Punjabi) Katerina Michailidi, George Battes (Greek) Kjetil Nordengen, Paul Graabein (Norwegian) Luba Sirina, Marina Klinova, Andrey Podshivalov, Oleg Pshenichniy, Ivan Satsiuk (Russian) +Meysam Shaygan (Farsi) Raoul Breugelmans, Hiroyuki Anraku (Japanese) Rivo Zängov (Estonian) Seongho Jang (Korean) diff --git a/lib/booki/editor/fixtures/languages.json b/lib/booki/editor/fixtures/languages.json index 26e5f7137..a3a2fdf99 100644 --- a/lib/booki/editor/fixtures/languages.json +++ b/lib/booki/editor/fixtures/languages.json @@ -189,5 +189,13 @@ "abbrevation": "et", "name": "Eesti keel" } + }, + { + "pk": 25, + "model": "editor.language", + "fields": { + "abbrevation": "fa", + "name": "فارسی" + } } ] diff --git a/lib/booktype/skeleton/base_settings.py.original b/lib/booktype/skeleton/base_settings.py.original index f1827f7b6..6243f8678 100644 --- a/lib/booktype/skeleton/base_settings.py.original +++ b/lib/booktype/skeleton/base_settings.py.original @@ -152,6 +152,7 @@ LANGUAGES = ( ('el', gettext('Ελληνικά')), ('es', gettext('Español')), ('et', gettext('Eesti keel')), + ('fa-ir', gettext('فارسی')), ('fr', gettext('Français')), ('it', gettext('Italiano')), ('ja', gettext('日本語')), From db86ec4106a3eba305affbf769690554e912426a Mon Sep 17 00:00:00 2001 From: Daniel James Date: Tue, 19 Jun 2018 17:11:42 +0100 Subject: [PATCH 2/3] BK-2494 Add Dr. Somaye Joolaee to Farsi translation credits, thanks! --- AUTHORS.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AUTHORS.txt b/AUTHORS.txt index 387e76e4e..08f234096 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -47,7 +47,7 @@ Jujhar Singh (Punjabi) Katerina Michailidi, George Battes (Greek) Kjetil Nordengen, Paul Graabein (Norwegian) Luba Sirina, Marina Klinova, Andrey Podshivalov, Oleg Pshenichniy, Ivan Satsiuk (Russian) -Meysam Shaygan (Farsi) +Meysam Shaygan, Dr. Somaye Joolaee (Farsi) Raoul Breugelmans, Hiroyuki Anraku (Japanese) Rivo Zängov (Estonian) Seongho Jang (Korean) From 18031919548abf9c51a992fda8125bbbce42f5b8 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Wed, 20 Jun 2018 16:27:46 +0100 Subject: [PATCH 3/3] BK-2494 Add Arabic interface and Romanian language options --- AUTHORS.txt | 2 ++ lib/booki/editor/fixtures/languages.json | 8 ++++++++ lib/booktype/skeleton/base_settings.py.original | 2 ++ 3 files changed, 12 insertions(+) diff --git a/AUTHORS.txt b/AUTHORS.txt index 08f234096..2834fe23c 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -47,9 +47,11 @@ Jujhar Singh (Punjabi) Katerina Michailidi, George Battes (Greek) Kjetil Nordengen, Paul Graabein (Norwegian) Luba Sirina, Marina Klinova, Andrey Podshivalov, Oleg Pshenichniy, Ivan Satsiuk (Russian) +Marius (Romanian) Meysam Shaygan, Dr. Somaye Joolaee (Farsi) Raoul Breugelmans, Hiroyuki Anraku (Japanese) Rivo Zängov (Estonian) Seongho Jang (Korean) +Tahseen Zayouna, Dr. Somaye Joolaee (Arabic) Tomi Toivio (Finnish) Zsolt Magyar, Csaba Madarász (Hungarian) diff --git a/lib/booki/editor/fixtures/languages.json b/lib/booki/editor/fixtures/languages.json index a3a2fdf99..1fa239280 100644 --- a/lib/booki/editor/fixtures/languages.json +++ b/lib/booki/editor/fixtures/languages.json @@ -197,5 +197,13 @@ "abbrevation": "fa", "name": "فارسی" } + }, + { + "pk": 26, + "model": "editor.language", + "fields": { + "abbrevation": "ro", + "name": "Română" + } } ] diff --git a/lib/booktype/skeleton/base_settings.py.original b/lib/booktype/skeleton/base_settings.py.original index 6243f8678..742bd4238 100644 --- a/lib/booktype/skeleton/base_settings.py.original +++ b/lib/booktype/skeleton/base_settings.py.original @@ -146,6 +146,7 @@ gettext = lambda s: s LANGUAGES = ( ('en', gettext('American English')), ('en-gb', gettext('British English')), + ('ar', gettext('العَرَبِيَّة')), ('ca', gettext('Català')), ('cs', gettext('Česky')), ('de', gettext('Deutsch')), @@ -164,6 +165,7 @@ LANGUAGES = ( ('pl', gettext('Polski')), ('pt', gettext('Português')), ('pt-br', gettext('Português do Brasil')), + ('ro-ro', gettext('Română')), ('ru', gettext('Русский')), ('sq', gettext('Shqipe')), ('fi', gettext('Suomi')),