Skip to content

Commit

Permalink
Translate to Arabic.
Browse files Browse the repository at this point in the history
  • Loading branch information
mblayman committed Sep 17, 2015
1 parent 5271c84 commit cfa2d26
Show file tree
Hide file tree
Showing 12 changed files with 218 additions and 7 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ env:
- TOX_ENV=flake8
# Disable coverage until coveralls is fixed. See https://github.com/lemurheavy/coveralls-public/issues/522.
# - TOX_ENV=cover
- TOX_ENV=language_ar
- TOX_ENV=language_de
- TOX_ENV=language_el
- TOX_ENV=language_es
Expand Down
1 change: 1 addition & 0 deletions docs/releases.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Version 2.1, In Development
* Use the SmartyPants library to generate better quotation
marks for Markdown.
* Composers can be forced to compose with the ``--force`` flag.
* Translated to Arabic.

Version 2.0, Released July 25, 2015
-----------------------------------
Expand Down
203 changes: 203 additions & 0 deletions handroll/locale/ar/LC_MESSAGES/handroll.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,203 @@
# Translations template for handroll.
# Copyright (C) 2015 Matt Layman
# This file is distributed under the same license as the handroll project.
#
# Translators:
# Matt Layman <matthewlayman@gmail.com>, 2015
msgid ""
msgstr ""
"Project-Id-Version: handroll\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2015-07-21 11:36-0400\n"
"PO-Revision-Date: 2015-09-16 02:08+0000\n"
"Last-Translator: Matt Layman <matthewlayman@gmail.com>\n"
"Language-Team: Arabic (http://www.transifex.com/handroll/handroll/language/ar/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 1.3\n"
"Language: ar\n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"

#: handroll/command.py:32
msgid "Invalid site source: {0}"
msgstr "المصدر موقع غير صالح: {0}"

#: handroll/command.py:43
msgid "Complete."
msgstr "كاملة."

#: handroll/command.py:46
msgid "Incomplete."
msgstr "غير مكتملة."

#: handroll/command.py:53
msgid "A website generator for software artisans"
msgstr "مولد موقع للحرفيين البرمجيات"

#: handroll/command.py:55
msgid "the path to your website"
msgstr "الطريق إلى موقع الويب الخاص بك"

#: handroll/command.py:57
msgid "an optional output directory to create or update if it already exists"
msgstr "دليل الانتاج اختياري لإنشاء أو تحديث إذا كان موجودا بالفعل"

#: handroll/command.py:60
msgid "use verbose messages"
msgstr "استخدام الرسائل مطول"

#: handroll/command.py:62
msgid "time the execution"
msgstr "وقت التنفيذ"

#: handroll/command.py:65
msgid "show debug level messages"
msgstr "عرض رسائل مستوى التصحيح"

#: handroll/command.py:68
msgid ""
"watch the site for changes and run a web server in the output directory"
msgstr "مشاهدة الموقع لإجراء تغييرات وتشغيل خادم الويب في الدليل الإخراج"

#: handroll/configuration.py:32
msgid "You are missing a domain setting in the site section."
msgstr "كنت في عداد المفقودين مجال إعداد في المقطع الموقع."

#: handroll/configuration.py:67
msgid "Cannot determine if {extension} is enabled."
msgstr "لا يمكن تحديد ما إذا تم تمكين {extension}."

#: handroll/director.py:124
msgid "Updating {outdir} ..."
msgstr "تحديث {outdir} ..."

#: handroll/director.py:126
msgid "Creating {outdir} ..."
msgstr "خلق {outdir} ..."

#: handroll/director.py:143
msgid "Populating {dirpath} ..."
msgstr "ملء {dirpath} ..."

#: handroll/director.py:151
msgid "Creating directory {out_dir} ..."
msgstr "إنشاء الدليل {out_dir} ..."

#: handroll/director.py:192
msgid "Skipping {filename} with skipped file type ..."
msgstr "تخطي {filename} مع تخطي نوع الملف ..."

#: handroll/director.py:197
msgid "Skipping special file {filename} ..."
msgstr "تخطي ملف خاص {filename} ..."

#: handroll/server.py:48
msgid ""
"Serving {outdir} at http://localhost:{port}/.\n"
"Press Ctrl-C to quit."
msgstr "خدمة {outdir} في http://localhost:{port}/.\nاضغط Ctrl+C لإنهاء."

#: handroll/server.py:53
msgid ""
"\n"
"Bye."
msgstr "\nوداعا."

#: handroll/site.py:36
msgid "{path} is not a directory."
msgstr "{path} ليس دليلا."

#: handroll/site.py:59
msgid ""
"A handroll site was not found in {current_directory} or any of its parents."
msgstr "لم يتم العثور على موقع handroll في {current_directory} أو أي من والديه."

#: handroll/composers/__init__.py:92
msgid "Skipping {filename} ... It is the same as {destination}."
msgstr "تخطي {filename} ... ومن نفس {destination}."

#: handroll/composers/__init__.py:98
msgid "{filename} differs from {destination} ..."
msgstr "{filename} يختلف من {destination} ..."

#: handroll/composers/__init__.py:101
msgid "Copying {filename} to {out_dir} ..."
msgstr "النسخ {filename} إلى {out_dir} ..."

#: handroll/composers/atom.py:40
msgid "Generating Atom XML for {source_file} ..."
msgstr "توليد Atom XML ل{source_file} ..."

#: handroll/composers/atom.py:48 handroll/composers/generic.py:53
msgid "Skipping {filename} ... It is up to date."
msgstr "تخطي {filename} ... والأمر متروك الآن."

#: handroll/composers/atom.py:66
msgid "Missing entries list."
msgstr "المفقودين قائمة إدخالات."

#: handroll/composers/atom.py:76
msgid "Invalid feed {source_file}: {error}"
msgstr "تغذية غير صالحة {source_file}: {error}"

#: handroll/composers/generic.py:48
msgid "Generating HTML for {source_file} ..."
msgstr "توليد HTML ل{source_file} ..."

#: handroll/composers/sass.py:29
msgid "Sass is not installed."
msgstr "لم يتم تثبيت Sass."

#: handroll/composers/sass.py:36
msgid "Generating CSS for {source_file} ..."
msgstr "توليد CSS ل{source_file} ..."

#: handroll/composers/sass.py:45
msgid ""
"Received output from sass:\n"
"{0}"
msgstr "تلقى الانتاج من sass:\n{0}"

#: handroll/composers/sass.py:48
msgid ""
"Sass failed to generate CSS:\n"
"{0}"
msgstr "فشل Sass لتوليد CSS:\n{0}"

#: handroll/extensions/blog.py:65
msgid "A blog section is missing in the configuration file."
msgstr "قسم بلوق مفقود في ملف التكوين."

#: handroll/extensions/blog.py:113
msgid "Invalid blog frontmatter (expects True or False): {blog_value}"
msgstr "بلوق frontmatter غير صالح (تتوقع True أو False): {blog_value}"

#: handroll/extensions/blog.py:129
msgid ""
"The blog post, {filename}, is missing required fields: {missing_fields}"
msgstr "بلوق وظيفة، {filename}، مفقود الحقول المطلوبة: {missing_fields}"

#: handroll/extensions/blog.py:133
msgid "Generating Atom XML feed ..."
msgstr "توليد Atom تغذية XML ..."

#: handroll/extensions/blog.py:141
msgid "Generating blog list page ..."
msgstr "توليد بلوق الصفحة قائمة ..."

#: handroll/extensions/blog.py:158
msgid "The blog extension requires the {option} option."
msgstr "تمديد بلوق يتطلب {option} الخيار."

#: handroll/template/catalog.py:86
msgid "No template found at {template_path}."
msgstr "لا توجد في {template_path} القالب."

#: handroll/template/catalog.py:96
msgid "Unknown template type provided for {template}."
msgstr "غير معروف نوع القالب المنصوص عليها {template}."

#: handroll/template/j2.py:33
msgid "An error exists in the Jinja template at {template}: {error}"
msgstr "يوجد خطأ في القالب Jinja في {template}: {error}"
2 changes: 1 addition & 1 deletion handroll/locale/de/LC_MESSAGES/handroll.po
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ msgstr ""
"POT-Creation-Date: 2015-07-21 11:36-0400\n"
"PO-Revision-Date: 2015-07-22 15:14+0000\n"
"Last-Translator: Matt Layman <matthewlayman@gmail.com>\n"
"Language-Team: German (http://www.transifex.com/projects/p/handroll/language/de/)\n"
"Language-Team: German (http://www.transifex.com/handroll/handroll/language/de/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down
2 changes: 1 addition & 1 deletion handroll/locale/el/LC_MESSAGES/handroll.po
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ msgstr ""
"POT-Creation-Date: 2015-07-21 11:36-0400\n"
"PO-Revision-Date: 2015-07-22 15:15+0000\n"
"Last-Translator: Matt Layman <matthewlayman@gmail.com>\n"
"Language-Team: Greek (http://www.transifex.com/projects/p/handroll/language/el/)\n"
"Language-Team: Greek (http://www.transifex.com/handroll/handroll/language/el/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down
2 changes: 1 addition & 1 deletion handroll/locale/es/LC_MESSAGES/handroll.po
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ msgstr ""
"POT-Creation-Date: 2015-07-21 11:36-0400\n"
"PO-Revision-Date: 2015-07-22 15:16+0000\n"
"Last-Translator: Matt Layman <matthewlayman@gmail.com>\n"
"Language-Team: Spanish (http://www.transifex.com/projects/p/handroll/language/es/)\n"
"Language-Team: Spanish (http://www.transifex.com/handroll/handroll/language/es/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down
2 changes: 1 addition & 1 deletion handroll/locale/fr/LC_MESSAGES/handroll.po
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ msgstr ""
"POT-Creation-Date: 2015-07-21 11:36-0400\n"
"PO-Revision-Date: 2015-07-22 15:14+0000\n"
"Last-Translator: Matt Layman <matthewlayman@gmail.com>\n"
"Language-Team: French (http://www.transifex.com/projects/p/handroll/language/fr/)\n"
"Language-Team: French (http://www.transifex.com/handroll/handroll/language/fr/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down
2 changes: 1 addition & 1 deletion handroll/locale/it/LC_MESSAGES/handroll.po
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ msgstr ""
"POT-Creation-Date: 2015-07-21 11:36-0400\n"
"PO-Revision-Date: 2015-07-22 15:15+0000\n"
"Last-Translator: Matt Layman <matthewlayman@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/projects/p/handroll/language/it/)\n"
"Language-Team: Italian (http://www.transifex.com/handroll/handroll/language/it/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down
2 changes: 1 addition & 1 deletion handroll/locale/nl/LC_MESSAGES/handroll.po
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ msgstr ""
"POT-Creation-Date: 2015-07-21 11:36-0400\n"
"PO-Revision-Date: 2015-07-22 15:13+0000\n"
"Last-Translator: Matt Layman <matthewlayman@gmail.com>\n"
"Language-Team: Dutch (http://www.transifex.com/projects/p/handroll/language/nl/)\n"
"Language-Team: Dutch (http://www.transifex.com/handroll/handroll/language/nl/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down
2 changes: 1 addition & 1 deletion handroll/locale/pt_BR/LC_MESSAGES/handroll.po
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ msgstr ""
"POT-Creation-Date: 2015-07-21 11:36-0400\n"
"PO-Revision-Date: 2015-07-22 15:16+0000\n"
"Last-Translator: Matt Layman <matthewlayman@gmail.com>\n"
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/projects/p/handroll/language/pt_BR/)\n"
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/handroll/handroll/language/pt_BR/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down
5 changes: 5 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ envlist = py26
pypy
flake8
cover
language_ar
language_de
language_el
language_es
Expand All @@ -31,6 +32,10 @@ commands = nosetests --with-coverage --cover-package=handroll
coveralls

# Test that each language's strings contain no errors.
[testenv:language_ar]
setenv = LANGUAGE=ar
commands = nosetests

[testenv:language_de]
setenv = LANGUAGE=de
commands = nosetests
Expand Down
1 change: 1 addition & 0 deletions transifex.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

API_URL = 'https://www.transifex.com/api/2'
LANGUAGES = [
'ar',
'de',
'el',
'es',
Expand Down

0 comments on commit cfa2d26

Please sign in to comment.