Skip to content

Commit

Permalink
Merge pull request #792 from ConservationInternational/translation-up…
Browse files Browse the repository at this point in the history
…dates

Update translations
  • Loading branch information
azvoleff committed Dec 1, 2023
2 parents 3041852 + 42e62b1 commit b232f02
Show file tree
Hide file tree
Showing 8 changed files with 404 additions and 112 deletions.
36 changes: 22 additions & 14 deletions docs/i18n/ar/LC_MESSAGES/for_developers/development.po
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Trends.Earth 2.0rc1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-30 04:02+0000\n"
"POT-Creation-Date: 2023-12-01 04:02+0000\n"
"PO-Revision-Date: 2022-05-26 11:56+0000\n"
"Last-Translator: Alex Zvoleff <azvoleff@conservation.org>, 2022\n"
"Language: ar\n"
Expand Down Expand Up @@ -146,6 +146,7 @@ msgid "Python"
msgstr "Python"

#: ../../source/for_developers/development.rst:64
#, fuzzy
msgid ""
"The plugin is coded in Python. In addition to being used to run the "
"plugin through QGIS, Python is also used to support managing the plugin "
Expand All @@ -155,7 +156,7 @@ msgid ""
"The easiest way to manage multiple versions of Python is through the "
"`Anaconda distribution <https://www.anaconda.com>`_. For work developing "
"the plugin, Python 3 is required. To download Python 3.7 (recommended) "
"though Anaconda, `see this page <https://www.anaconda.com/distribution"
"through Anaconda, `see this page <https://www.anaconda.com/distribution"
"/#download-section>`_."
msgstr ""
"البرنامج الملحق تم برمجته في Python. بالإضافة إلى استخدامه لتشغيل "
Expand Down Expand Up @@ -429,14 +430,15 @@ msgstr ""
"Python الذي تقوم بتشغيله على جهازك، استخدم ::"

#: ../../source/for_developers/development.rst:208
#, fuzzy
msgid ""
"You will need a C++ compiler for the above command to work. On Windows, "
"see `this github page "
"<https://wiki.python.org/moin/WindowsCompilers#Which_Microsoft_Visual_C.2B"
"-.2B-_compiler_to_use_with_a_specific_Python_version_.3F>`_ for details "
"on how to install the Microsoft Visual C++ compiler needed for you Python"
" version. On MacOS, you will most likely need to install Xcode. On Linux,"
" install the appropriate version of GCC."
"on how to install the Microsoft Visual C++ compiler needed for your "
"Python version. On MacOS, you will most likely need to install Xcode. On "
"Linux, install the appropriate version of GCC."
msgstr ""
"ستحتاج إلى مجمّع C ++ حتى يعمل الأمر أعلاه. في نظام التشغيل Windows، راجع"
" `this github page "
Expand Down Expand Up @@ -524,9 +526,10 @@ msgid "Deploying the development version ZIP file"
msgstr "نشر ملف ZIP الخاص بتطوير إصدار"

#: ../../source/for_developers/development.rst:260
#, fuzzy
msgid ""
"The Trends.Earth GitHub page gives a link a ZIP file that allows users "
"who may not be developers to access the development version of "
"The Trends.Earth GitHub page gives a link to a ZIP file that allows users"
" who may not be developers to access the development version of "
"Trends.Earth. To create a ZIP file and make it available on that page "
"(the ZIP file is stored on S3), run::"
msgstr ""
Expand Down Expand Up @@ -806,14 +809,16 @@ msgid "Editing vector layer templates"
msgstr "تعديل قوالب vector layer"

#: ../../source/for_developers/development.rst:419
#, fuzzy
msgid ""
"Trends.Earth allow users to digitize new vector features to delineate "
"Trends.Earth allows users to digitize new vector features to delineate "
"areas of special interest."
msgstr ""
"Trends.Earth يسمح للمستخدمين برقمنة ميزات vector الجديدة لتحديد المناطق "
"ذات الأهمية الخاصة."

#: ../../source/for_developers/development.rst:422
#, fuzzy
msgid ""
"For now only \"false positive/negative\" layers are supported, but more "
"can be added if necessary. Any vector layer is created from the template "
Expand All @@ -823,8 +828,8 @@ msgid ""
" code is added as a suffix to the file name. This is necessary to provide"
" localized labels in the attribute forms. When creation of the vector "
"layer is requested QGIS will look for the template file taking QGIS "
"locale into accont, as a fall-back option English version of the template"
" file is used."
"locale into account, as a fall-back option English version of the "
"template file is used."
msgstr ""
"في الوقت الحالي يتم دعم الطبقات \"الإيجابية/ السلبية الخاطئة\" فقط، ولكن "
"يمكن إضافة المزيد إذا لزم الأمر. يتم إنشاء أي طبقة متجهة من ملفات قالب "
Expand All @@ -836,10 +841,11 @@ msgstr ""
"استخدام نسخة إنجليزية للخيار الخلفي من ملف القالب."

#: ../../source/for_developers/development.rst:433
#, fuzzy
msgid ""
"To change schema of the layer it is necessary to change corresponding "
"template files in the ``data/error_recode`` folder of the plugin "
"installation directory. Also template file contains a buil-in default "
"installation directory. Also template file contains a built-in default "
"styling and attribute form configuration which will be automatically "
"applied to the layer when loading into QGIS."
msgstr ""
Expand Down Expand Up @@ -901,12 +907,13 @@ msgstr ""
"العضوي للتربة (``land_*`` fields)."

#: ../../source/for_developers/development.rst:488
#, fuzzy
msgid ""
"Calculation of area percentage is done with custom expression function, "
"its code can be found in the file ``charts.py`` in the plugin root "
"directory. Function optimized to work with large polygons and uses "
"following workflow. For a given geometry find a bbox and extract raster "
"susbset using this bbox. Perform in-memory geometry rasterization and "
"subset using this bbox. Perform in-memory geometry rasterization and "
"apply it as a mask to raster. Then count number of pixels which have "
"specific value and calculate percentage. As pixel counting is built on "
"numpy array functions it is very fast even for big polygons."
Expand Down Expand Up @@ -1781,11 +1788,12 @@ msgstr ""
"بينما سيتم استخدام النسخة المترجمة عند توفرها."

#: ../../source/for_developers/development.rst:929
#, fuzzy
msgid ""
"There is another folder, ``docs\\\\source\\\\static``, that is used to "
"hold resources temporarily while running the scripts that build the "
"Trends.Earth documenation. You may have images listed under that folder "
"if you have ever built the documenation on that machine. **This folder "
"Trends.Earth documentation. You may have images listed under that folder "
"if you have ever built the documentation on that machine. **This folder "
"should never be used to add new resources** - new resources should always"
" go under ``docs\\\\resources\\\\en`` or, for translated images, the "
"appropriate language-specific folder under ``docs\\\\resources``."
Expand Down
36 changes: 22 additions & 14 deletions docs/i18n/es/LC_MESSAGES/for_developers/development.po
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Trends.Earth 2.0rc1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-30 04:02+0000\n"
"POT-Creation-Date: 2023-12-01 04:02+0000\n"
"PO-Revision-Date: 2022-05-26 11:56+0000\n"
"Last-Translator: Alex Zvoleff <azvoleff@conservation.org>, 2022\n"
"Language: es\n"
Expand Down Expand Up @@ -149,6 +149,7 @@ msgid "Python"
msgstr "Python"

#: ../../source/for_developers/development.rst:64
#, fuzzy
msgid ""
"The plugin is coded in Python. In addition to being used to run the "
"plugin through QGIS, Python is also used to support managing the plugin "
Expand All @@ -158,7 +159,7 @@ msgid ""
"The easiest way to manage multiple versions of Python is through the "
"`Anaconda distribution <https://www.anaconda.com>`_. For work developing "
"the plugin, Python 3 is required. To download Python 3.7 (recommended) "
"though Anaconda, `see this page <https://www.anaconda.com/distribution"
"through Anaconda, `see this page <https://www.anaconda.com/distribution"
"/#download-section>`_."
msgstr ""
"El complemento está codificado en Python. Además de usarse para ejecutar "
Expand Down Expand Up @@ -452,14 +453,15 @@ msgstr ""
"use::"

#: ../../source/for_developers/development.rst:208
#, fuzzy
msgid ""
"You will need a C++ compiler for the above command to work. On Windows, "
"see `this github page "
"<https://wiki.python.org/moin/WindowsCompilers#Which_Microsoft_Visual_C.2B"
"-.2B-_compiler_to_use_with_a_specific_Python_version_.3F>`_ for details "
"on how to install the Microsoft Visual C++ compiler needed for you Python"
" version. On MacOS, you will most likely need to install Xcode. On Linux,"
" install the appropriate version of GCC."
"on how to install the Microsoft Visual C++ compiler needed for your "
"Python version. On MacOS, you will most likely need to install Xcode. On "
"Linux, install the appropriate version of GCC."
msgstr ""
"Necesitará un compilador de C ++ para que funcione el comando anterior. "
"En Windows, vea `esta página de github "
Expand Down Expand Up @@ -549,9 +551,10 @@ msgid "Deploying the development version ZIP file"
msgstr "Implementación del archivo ZIP de la versión de desarrollo"

#: ../../source/for_developers/development.rst:260
#, fuzzy
msgid ""
"The Trends.Earth GitHub page gives a link a ZIP file that allows users "
"who may not be developers to access the development version of "
"The Trends.Earth GitHub page gives a link to a ZIP file that allows users"
" who may not be developers to access the development version of "
"Trends.Earth. To create a ZIP file and make it available on that page "
"(the ZIP file is stored on S3), run::"
msgstr ""
Expand Down Expand Up @@ -846,14 +849,16 @@ msgid "Editing vector layer templates"
msgstr "Edición de plantillas de capas vectoriales"

#: ../../source/for_developers/development.rst:419
#, fuzzy
msgid ""
"Trends.Earth allow users to digitize new vector features to delineate "
"Trends.Earth allows users to digitize new vector features to delineate "
"areas of special interest."
msgstr ""
"Trends.Earth permite a los usuarios digitalizar nuevas características "
"vectoriales para delinear áreas de interés especial."

#: ../../source/for_developers/development.rst:422
#, fuzzy
msgid ""
"For now only \"false positive/negative\" layers are supported, but more "
"can be added if necessary. Any vector layer is created from the template "
Expand All @@ -863,8 +868,8 @@ msgid ""
" code is added as a suffix to the file name. This is necessary to provide"
" localized labels in the attribute forms. When creation of the vector "
"layer is requested QGIS will look for the template file taking QGIS "
"locale into accont, as a fall-back option English version of the template"
" file is used."
"locale into account, as a fall-back option English version of the "
"template file is used."
msgstr ""
"Por ahora sólo se soportan las capas «falso positivo/negativo», pero se "
"pueden añadir más si es necesario. Cualquier capa vectorial se crea a "
Expand All @@ -880,10 +885,11 @@ msgstr ""
"archivo de plantilla.\n"

#: ../../source/for_developers/development.rst:433
#, fuzzy
msgid ""
"To change schema of the layer it is necessary to change corresponding "
"template files in the ``data/error_recode`` folder of the plugin "
"installation directory. Also template file contains a buil-in default "
"installation directory. Also template file contains a built-in default "
"styling and attribute form configuration which will be automatically "
"applied to the layer when loading into QGIS."
msgstr ""
Expand Down Expand Up @@ -948,12 +954,13 @@ msgstr ""
"(``land_*`` fields) y al carbono orgánico del suelo (``soil_*`` fields)."

#: ../../source/for_developers/development.rst:488
#, fuzzy
msgid ""
"Calculation of area percentage is done with custom expression function, "
"its code can be found in the file ``charts.py`` in the plugin root "
"directory. Function optimized to work with large polygons and uses "
"following workflow. For a given geometry find a bbox and extract raster "
"susbset using this bbox. Perform in-memory geometry rasterization and "
"subset using this bbox. Perform in-memory geometry rasterization and "
"apply it as a mask to raster. Then count number of pixels which have "
"specific value and calculate percentage. As pixel counting is built on "
"numpy array functions it is very fast even for big polygons."
Expand Down Expand Up @@ -1887,11 +1894,12 @@ msgstr ""
"una versión localizada cuando esté disponible."

#: ../../source/for_developers/development.rst:929
#, fuzzy
msgid ""
"There is another folder, ``docs\\\\source\\\\static``, that is used to "
"hold resources temporarily while running the scripts that build the "
"Trends.Earth documenation. You may have images listed under that folder "
"if you have ever built the documenation on that machine. **This folder "
"Trends.Earth documentation. You may have images listed under that folder "
"if you have ever built the documentation on that machine. **This folder "
"should never be used to add new resources** - new resources should always"
" go under ``docs\\\\resources\\\\en`` or, for translated images, the "
"appropriate language-specific folder under ``docs\\\\resources``."
Expand Down
Loading

0 comments on commit b232f02

Please sign in to comment.