[gimp-help/gimp-help-2-10] Add Persian language to all necessary files



commit 6bb1f9618f793037de3e1b80191bce356b144540
Author: Jacob Boerema <jgboerema gmail com>
Date:   Wed Jul 13 14:58:49 2022 -0400

    Add Persian language to all necessary files
    
    (cherry picked from commit 6ed0536dec0b426a961b1704a290f81939a94d15)

 .gitlab-ci.yml                                       |  2 +-
 Makefile.GNU                                         |  2 +-
 TRANSLATING                                          |  2 +-
 build/windows/installer/gimp-help.iss                |  2 ++
 build/windows/installer/installer-gimp-help-msys2.sh |  1 +
 quickreference/Makefile.am                           |  2 +-
 stylesheets/authors_common.xsl                       |  1 +
 stylesheets/languageVocab.xml                        |  1 +
 tools/get_po_status.pl                               |  1 +
 web/website.xml                                      | 13 +++++++++++++
 10 files changed, 23 insertions(+), 4 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index cb840990c..90f42a0d3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -57,7 +57,7 @@ build-debian-1:
 build-debian-2:
   extends: .build-debian-base
   variables:
-    LINGUAS: "es fi fr hr hu it ja"
+    LINGUAS: "es fa fi fr hr hu it ja"
     HELP_DIR: "_html2"
     PDF_DIR: "_pdf2"
 
diff --git a/Makefile.GNU b/Makefile.GNU
index d3476b3aa..c4ad6dfc8 100644
--- a/Makefile.GNU
+++ b/Makefile.GNU
@@ -9,7 +9,7 @@ CYGWIN = $(shell make.d/test/is_cygwin.sh || echo 0)
 ####            The GIMP manual languages                           ####
 ########################################################################
 
-ALL_LINGUAS = ca cs da de el en en_GB es fi fr hr hu it ja ko lt nl nn pt pt_BR ro ru sl sv uk zh_CN
+ALL_LINGUAS = ca cs da de el en en_GB es fa fi fr hr hu it ja ko lt nl nn pt pt_BR ro ru sl sv uk zh_CN
 LANGUAGES = $(if $(LINGUAS),$(filter $(ALL_LINGUAS),$(LINGUAS)),$(ALL_LINGUAS))
 ifneq ($(DOC_LINGUAS),)
 $(warning Do not set the internal variable DOC_LINGUAS)
diff --git a/TRANSLATING b/TRANSLATING
index 2bf89bceb..60160611d 100644
--- a/TRANSLATING
+++ b/TRANSLATING
@@ -14,7 +14,7 @@ How To Add a New Translation
 
 5. Go to this line:
 
-ALL_LINGUAS="ca cs da de el en en_GB es fi fr hr hu it ja ko lt nl nn pt pt_BR ro ru sl sv uk zh_CN"
+ALL_LINGUAS="ca cs da de el en en_GB es fa fi fr hr hu it ja ko lt nl nn pt pt_BR ro ru sl sv uk zh_CN"
 
 6. Add a two-letter or four-letter code for your language, e.g. 'ro' for
    Romanian or 'zh_CN' for Chinese (Simplified). Save the file.
diff --git a/build/windows/installer/gimp-help.iss b/build/windows/installer/gimp-help.iss
index b5907bea6..2ab369b3c 100644
--- a/build/windows/installer/gimp-help.iss
+++ b/build/windows/installer/gimp-help.iss
@@ -61,6 +61,8 @@
        #define LANGFILE='Languages\Unofficial\EnglishBritish.isl'
 #elif LANG=='es'
        #define LANGFILE='Languages\Spanish.isl'
+#elif LANG=='fa'
+       #define LANGFILE='Languages\Unofficial\Farsi.isl'
 #elif LANG=='fi'
        #define LANGFILE='Languages\Finnish.isl'
 #elif LANG=='fr'
diff --git a/build/windows/installer/installer-gimp-help-msys2.sh 
b/build/windows/installer/installer-gimp-help-msys2.sh
index 17b8ea5c6..e2eb70121 100644
--- a/build/windows/installer/installer-gimp-help-msys2.sh
+++ b/build/windows/installer/installer-gimp-help-msys2.sh
@@ -35,6 +35,7 @@ add_bom ()
 download_lang ChineseSimplified.isl
 download_lang Croatian.isl
 download_lang EnglishBritish.isl
+download_lang Farsi.isl
 download_lang Greek.isl
 download_lang Hungarian.isl
 download_lang Korean.isl
diff --git a/quickreference/Makefile.am b/quickreference/Makefile.am
index 6f34035e8..04a20624a 100644
--- a/quickreference/Makefile.am
+++ b/quickreference/Makefile.am
@@ -1,6 +1,6 @@
 ## Process this file with automake to produce Makefile.in
 
-QUICKREFERENCE_ALL_LINGUAS ?= ca cs da de el en es fi fr hu it ja ko nl nn pl pt pt_BR ro ru sl sv uk zh_CN
+QUICKREFERENCE_ALL_LINGUAS ?= ca cs da de el en es fa fi fr hu it ja ko nl nn pl pt pt_BR ro ru sl sv uk 
zh_CN
 QUICKREFERENCE_LINGUAS = $(if $(LINGUAS),$(filter 
$(QUICKREFERENCE_ALL_LINGUAS),$(LINGUAS)),$(QUICKREFERENCE_ALL_LINGUAS))
 
 POT_FILES = $(srcdir)/po/gimp-keys.pot
diff --git a/stylesheets/authors_common.xsl b/stylesheets/authors_common.xsl
index 01f095af6..86bf79f59 100644
--- a/stylesheets/authors_common.xsl
+++ b/stylesheets/authors_common.xsl
@@ -51,6 +51,7 @@
       en:English
       en_GB:British_English
       es:Spanish
+      fa:Persian
       fi:Finnish
       fr:French
       hr:Croatian
diff --git a/stylesheets/languageVocab.xml b/stylesheets/languageVocab.xml
index 0d9f4915f..e730b956d 100644
--- a/stylesheets/languageVocab.xml
+++ b/stylesheets/languageVocab.xml
@@ -7,6 +7,7 @@
   <item value="en">English (US)</item>
   <item value="en_GB">English (British)</item>
   <item value="es">Español (Spanish)</item>
+  <item value="fa">پارسی (Persian)</item>
   <item value="fi">Suomi (Finnish)</item>
   <item value="fr">Français (French)</item>
   <item value="hr">Hrvatski (Croatian)</item>
diff --git a/tools/get_po_status.pl b/tools/get_po_status.pl
index 810d509c1..38f9fdf3c 100644
--- a/tools/get_po_status.pl
+++ b/tools/get_po_status.pl
@@ -59,6 +59,7 @@ my %Languages = (
        el => "Greek",
        en_GB => "British English",
        es => "Spanish",
+       fa => "Persian",
        fi => "Finnish",
        fr => "French",
        hr => "Croatian",
diff --git a/web/website.xml b/web/website.xml
index b4ef1d164..5fba21abb 100644
--- a/web/website.xml
+++ b/web/website.xml
@@ -113,6 +113,12 @@
             - &gimphelp.langcode.es;%
           </para>
         </listitem>
+        <listitem>
+          <para>
+            <ulink url="&gimp.release.base;/fa">پارسی (Persian)</ulink>
+            - &gimphelp.langcode.fa;%
+          </para>
+        </listitem>
         <listitem>
           <para>
             <ulink url="&gimp.release.base;/fi">Suomi (Finnish)</ulink>
@@ -265,6 +271,13 @@
             - &gimphelp.langcodeqr.es;%
           </para>
         </listitem>
+        <listitem>
+          <para>
+            <ulink url="&gimp.release.base;/pdf/gimp-keys-fa.pdf"
+                   title='Persian'>پارسی (Persian)</ulink>
+            - &gimphelp.langcodeqr.fa;%
+          </para>
+        </listitem>
         <listitem>
           <para>
             <ulink url="&gimp.release.base;/pdf/gimp-keys-fi.pdf"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]