Revision: 5696 Author: mfarag Date: 2008-07-09 05:56:23 +0000 (Wed, 09 Jul 2008)
Log Message: ----------- Add/Update Arabic (ar) translation
Modified Paths: -------------- trunk/pywikipedia/archivebot.py trunk/pywikipedia/blockpageschecker.py trunk/pywikipedia/casechecker.py trunk/pywikipedia/category.py trunk/pywikipedia/checkimages.py trunk/pywikipedia/commonscat.py trunk/pywikipedia/copyright_clean.py trunk/pywikipedia/copyright_put.py trunk/pywikipedia/djvutext.py trunk/pywikipedia/featured.py trunk/pywikipedia/followlive.py trunk/pywikipedia/imagecopy.py trunk/pywikipedia/inline_images.py trunk/pywikipedia/isbn.py trunk/pywikipedia/lonelypages.py trunk/pywikipedia/piper.py trunk/pywikipedia/reflinks.py trunk/pywikipedia/speedy_delete.py trunk/pywikipedia/standardize_notes.py trunk/pywikipedia/us-states.py
Modified: trunk/pywikipedia/archivebot.py =================================================================== --- trunk/pywikipedia/archivebot.py 2008-07-08 21:08:57 UTC (rev 5695) +++ trunk/pywikipedia/archivebot.py 2008-07-09 05:56:23 UTC (rev 5696) @@ -56,6 +56,13 @@ 'ArchiveSummary': u'Archiving %(count)d thread(s) from [[%(from)s]].', 'OlderThanSummary': u'older than', }, + 'ar': { + 'ArchiveFull': u'(الأرشيف ممتلئ)', + 'InitialArchiveHeader': u'{{أرشيف نقاش}}', + 'PageSummary': u'أرشفة %(count)d قسم(أقسام) (%(why)s) إلى %(archives)s.', + 'ArchiveSummary': u'أرشفة %(count)d قسم(أقسام) من [[%(from)s]].', + 'OlderThanSummary': u'أقدم من', + }, 'pl': { 'ArchiveFull': u'(ARCHIWUM PEŁNE)', 'InitialArchiveHeader': u'{{archiwum}}',
Modified: trunk/pywikipedia/blockpageschecker.py =================================================================== --- trunk/pywikipedia/blockpageschecker.py 2008-07-08 21:08:57 UTC (rev 5695) +++ trunk/pywikipedia/blockpageschecker.py 2008-07-09 05:56:23 UTC (rev 5696) @@ -121,6 +121,7 @@ # Category where the bot will check categoryToCheck = { 'en':[u'Category:Protected'], + 'ar':[u'تصنيف:محتويات محمية'], 'fr':[u'Category:Page semi-protégée', u'Category:Page protégée', u'Catégorie:Article protégé'], 'he':[u'קטגוריה:ויקיפדיה: דפים מוגנים', u'קטגוריה:ויקיפדיה: דפים מוגנים חלקית'], 'it':[u'Categoria:Pagine semiprotette', u'Categoria:Voci_protette'], @@ -133,6 +134,7 @@ # Comment used when the Bot edits comment = { 'en':u'Bot: Deleting out-dated template', + 'ar':u'بوت: حذف قالب قديم', 'fr':u'Robot: Mise à jour des bandeaux de protection', 'he':u'בוט: מסיר תבנית שעבר זמנה', 'it':u'Bot: Tolgo o sistemo template di avviso blocco',
Modified: trunk/pywikipedia/casechecker.py =================================================================== --- trunk/pywikipedia/casechecker.py 2008-07-08 21:08:57 UTC (rev 5695) +++ trunk/pywikipedia/casechecker.py 2008-07-09 05:56:23 UTC (rev 5696) @@ -69,6 +69,7 @@ } msgLinkReplacement = { 'en': u'Case Replacements', + 'ar': u'استبدالات الحالة', 'ru': u'[[ВП:КЛ]]', }
Modified: trunk/pywikipedia/category.py =================================================================== --- trunk/pywikipedia/category.py 2008-07-08 21:08:57 UTC (rev 5695) +++ trunk/pywikipedia/category.py 2008-07-09 05:56:23 UTC (rev 5696) @@ -87,7 +87,7 @@ } # Summary messages msg_add={ - 'ar':u'إضافة [[تصنيف:%s]]', + 'ar':u'روبوت: إضافة [[تصنيف:%s]]', 'bat-smg':u'Robots: Pridedama [[Kateguorėjė:%s]]', 'da':u'Robot: Tilføjer [[Kategori:%s]]', 'de':u'Bot: Ergänze [[Kategorie:%s]]', @@ -474,6 +474,7 @@ ''' listify_msg={ 'en':u'Robot: Listifying from %s (%d entries)', + 'ar':u'روبوت: عرض من %s (%d مدخلة)', 'fi':u'Botti listasi luokan %s (%d jäsentä)', 'he':u'בוט: יוצר רשימה מהקטגוריה %s (%d דפים)', 'kk':u'Бот: %s дегеннен (%d буын) тізімдеді', @@ -527,6 +528,7 @@ Does not remove category tags pointing at subcategories. ''' deletion_reason_remove = { + 'ar':u'روبوت: التصنيف تم الاستغناء عنه', 'da':u'Robot: Kategorien blev opløst', 'de':u'Bot: Kategorie wurde aufgelöst', 'en':u'Robot: Category was disbanded', @@ -799,6 +801,7 @@ # Translations to say that the current category is in more categories than # the one we're coming from also_in_cats = { + 'ar': u'(أيضا في %s)', 'da': u'(også i %s)', 'de': u'(auch in %s)', 'en': u'(also in %s)',
Modified: trunk/pywikipedia/checkimages.py =================================================================== --- trunk/pywikipedia/checkimages.py 2008-07-08 21:08:57 UTC (rev 5695) +++ trunk/pywikipedia/checkimages.py 2008-07-09 05:56:23 UTC (rev 5696) @@ -93,6 +93,7 @@ # That's what you want that will be added. (i.e. the {{no source}} with the right day/month/year ) n_txt = { 'commons':u'\n{{subst:nld}}', + 'ar' :u'\n{{subst:لم}}', 'de' :u'{{Benutzer:ABF/D|~~~~}} {{Dateiüberprüfung/benachrichtigt (Kategorie)|{{subst:LOCALYEAR}}|{{subst:LOCALMONTH}}|{{subst:LOCALDAY}}}} {{Dateiüberprüfung/benachrichtigt (Text)|Lizenz|||||}} --This was added by ~~~~-- ', 'en' :u'\n{{subst:nld}}', 'it' :u'\n{{subst:unverdata}}', @@ -134,6 +135,7 @@ # When the Bot find that the usertalk is empty is not pretty to put only the no source without the welcome, isn't it? empty = { 'commons':u'{{subst:welcome}}\n~~~~\n', + 'ar' :u'{{ترحيب}}\n~~~~\n', 'de' :u'{{subst:willkommen}} ~~~~', 'en' :u'{{welcome}}\n~~~~\n', 'it' :u'<!-- inizio template di benvenuto -->\n{{subst:Benvebot}}\n~~~~\n<!-- fine template di benvenuto -->', @@ -160,6 +162,7 @@ # In reality, there aren't unknown extension, they are only not allowed... delete_immediately = { 'commons':u"{{speedy|The file has .%s as extension. Is it ok? Please check.}}", + 'ar' :u"{{شطب|الملف له .%s كامتداد.}}", 'en' :u"{{db-meta|The file has .%s as extension.}}", 'it' :u'{{cancella subito|motivo=Il file ha come estensione ".%s"}}', 'ja' :u'{{db|知らないファイルフォーマット %s}}', @@ -171,6 +174,7 @@ # The header of the Unknown extension's message. delete_immediately_head = { 'commons':u"\n== Unknown extension! ==\n", + 'ar' :u"\n== امتداد غير معروف! ==\n", 'en' :u"\n== Unknown extension! ==\n", 'it' :u'\n\n== File non specificato ==\n', 'hu' :u'\n== Ismeretlen kiterjesztésű fájl ==\n', @@ -218,6 +222,7 @@ nothing_notification = { 'commons':u"\n{{subst:User:Filnik/untagged|Image:%s}}\n\n''This message was '''added automatically by [[User:" + \ "__botnick__|__botnick__]]''', if you need some help about it, ask its master (~~~) or go to the [[Commons:Help desk]]''. --~~~~", + 'ar' :u"{{subst:مصدر الصورة|Image:%s}} --~~~~", 'de' :u'\n{{subst:Benutzer:ABF/D2|%s}} ~~~~ ', 'en' :u"{{subst:image source|Image:%s}} --~~~~", 'it' :u"{{subst:Utente:Filbot/Senza licenza|%s}} --~~~~", @@ -279,6 +284,7 @@ # The text added in the report report_text = { 'commons':u"\n*[[:Image:%s]] " + timeselected, + 'ar':u"\n*[[:صورة:%s]] " + timeselected, 'de':u"\n*[[:Bild:%s]] " + timeselected, 'en':u"\n*[[:Image:%s]] " + timeselected, 'it':u"\n*[[:Immagine:%s]] " + timeselected, @@ -308,6 +314,7 @@ # Warning 3: the part that use this regex is case-insensitive (just to let you know..) HiddenTemplate = { 'commons':[u'information'], + 'ar':[u'معلومات'], 'de':[u'information'], 'en':[u'information'], 'it':[u'edp', u'informazioni[ _]file', u'information', u'trademark', u'permissionotrs'],
Modified: trunk/pywikipedia/commonscat.py =================================================================== --- trunk/pywikipedia/commonscat.py 2008-07-08 21:08:57 UTC (rev 5695) +++ trunk/pywikipedia/commonscat.py 2008-07-09 05:56:23 UTC (rev 5696) @@ -152,7 +152,8 @@ 'zh-yue' : u'同享類', }
-ignoreTemplates = { +ignoreTemplates = { + 'ar' : [u'تحويلة تصنيف', u'كومنز', u'كومونز', u'Commonscat'], 'en' : [u'Category redirect', u'Commons', u'Commonscat', u'Commonscat1A', u'Commoncats', u'Commonscat4Ra', u'Sisterlinks', u'Sisterlinkswp', u'Tracking category', u'Template category', u'Wikipedia category'], 'it' : [(u'Ip', 'commons='), ('Interprogetto', 'commons=')], 'ja' : [u'CommonscatS'],
Modified: trunk/pywikipedia/copyright_clean.py =================================================================== --- trunk/pywikipedia/copyright_clean.py 2008-07-08 21:08:57 UTC (rev 5695) +++ trunk/pywikipedia/copyright_clean.py 2008-07-09 05:56:23 UTC (rev 5696) @@ -17,6 +17,7 @@ import sys
summary_msg = { + 'ar': u'إزالة', 'en': u'Removing', 'it': u'Rimozione', }
Modified: trunk/pywikipedia/copyright_put.py =================================================================== --- trunk/pywikipedia/copyright_put.py 2008-07-08 21:08:57 UTC (rev 5695) +++ trunk/pywikipedia/copyright_put.py 2008-07-09 05:56:23 UTC (rev 5696) @@ -38,6 +38,7 @@
stat_msg = { 'en': [u'Statistics', u'Page', u'Entries', u'Size', u'Total', 'Update'], + 'ar': [u'إحصاءات', u'صفحة', u'مدخلات', u'حجم', u'إجمالي', 'تحديث'], 'it': [u'Statistiche', u'Pagina', u'Segnalazioni', u'Lunghezza', u'Totale', u'Ultimo aggiornamento'], }
Modified: trunk/pywikipedia/djvutext.py =================================================================== --- trunk/pywikipedia/djvutext.py 2008-07-08 21:08:57 UTC (rev 5695) +++ trunk/pywikipedia/djvutext.py 2008-07-09 05:56:23 UTC (rev 5696) @@ -31,14 +31,15 @@ # NOTE: Put a good description here, and add translations, if possible! msg = { 'en': u'Robot: creating page with text extracted from DjVu', - 'fr': u'Bot: creating page with texte extracted from DjVu', + 'ar': u'روبوت: إنشاء صفحة بنص مستخرج من DjVu', + 'fr': u'Bot: creating page with texte extracted from DjVu', 'pt': u'Bot: criando página com texto extraído do DjVu', } # On English Wikisource, {{blank page}} is used to track blank pages. # It may be omitted by adding an empty string like has been done for 'fr'. blank = { 'en': u'{{blank page}}', - 'fr': u'', + 'fr': u'', 'pt': u'', }
Modified: trunk/pywikipedia/featured.py =================================================================== --- trunk/pywikipedia/featured.py 2008-07-08 21:08:57 UTC (rev 5695) +++ trunk/pywikipedia/featured.py 2008-07-09 05:56:23 UTC (rev 5696) @@ -45,7 +45,7 @@
msg = { 'als': u'Bötli: [[%s:%s]] isch en bsunders glungener Artikel', - 'ar': u'بوت: وصلة مقالة مختارة ل [[%s:%s]]', + 'ar': u'بوت: [[%s:%s]] هي مقالة مختارة', 'bat-smg': u'robots: Pavīzdėnė straipsnė nūruoda [[%s:%s]]', 'bs': u'Bot: Interwiki za izabrane članke za [[%s:%s]]', 'cs': u'Bot: Nejlepší článek: [[%s:%s]]',
Modified: trunk/pywikipedia/followlive.py =================================================================== --- trunk/pywikipedia/followlive.py 2008-07-08 21:08:57 UTC (rev 5695) +++ trunk/pywikipedia/followlive.py 2008-07-09 05:56:23 UTC (rev 5696) @@ -31,6 +31,23 @@ # languages code contains list of templates to be used # templates contains a message and its position templates = { + 'ar': { + '{{شطب}}' :{ + 'msg' : 'وسم مساعد بالبوت: هذا المقال ينبغي حذفه', + 'pos': 'top'}, + + '{{تنظيف}}' :{ + 'msg' : 'وسم مساعد بالبوت: هذا المقال يحتاج للتنظيف', + 'pos': 'top'}, + + '{{بذرة}}':{ + 'msg' : 'وسم مساعد بالبوت: هذا المقال بذرة', + 'pos': 'bottom'}, + + '{{ويكي}}' :{ + 'msg' : 'وسم مساعد بالبوت: هذا المقال يحتاج إلى التنسيق بضيغة الويكي حسب [[ويكيبيديا:دليل الأسلوب|دليل الأسلوب]]', + 'pos' : 'top'}, + }, 'en': { '{{db-reason}}' :{ 'msg' : 'Robot-assisted tagging: this article should be deleted',
Modified: trunk/pywikipedia/imagecopy.py =================================================================== --- trunk/pywikipedia/imagecopy.py 2008-07-08 21:08:57 UTC (rev 5695) +++ trunk/pywikipedia/imagecopy.py 2008-07-09 05:56:23 UTC (rev 5696) @@ -220,6 +220,7 @@
imageMoveMessage = { '_default': u'[[:Image:%s|Image]] moved to [[:commons:Image:%s|commons]].', + 'ar': u'[[:Image:%s|الصورة]] تم نقلها إلى [[:commons:Image:%s|كومنز]].', 'en': u'[[:Image:%s|Image]] moved to [[:commons:Image:%s|commons]].', 'hu': u'[[:Image:%s|Kép]] átmozgatva a [[:commons:Image:%s|Commons]]ba.', 'nl': u'[[:Image:%s|Afbeelding]] is verplaatst naar [[:commons:Image:%s|commons]].',
Modified: trunk/pywikipedia/inline_images.py =================================================================== --- trunk/pywikipedia/inline_images.py 2008-07-08 21:08:57 UTC (rev 5695) +++ trunk/pywikipedia/inline_images.py 2008-07-09 05:56:23 UTC (rev 5696) @@ -35,6 +35,7 @@
msg = { 'en': u'This image was inline linked from %s. No information on author, copyright status, or license is available.', + 'ar': u'هذه الصورة كانت موصولة داخليا من %s. لا معلومات عن المؤلف، حالة حقوق النشر، أو الترخيص متوفرة.', 'he': u'תמונה זו הייתה מקושרת מהדף %s. אין מידע זמין על המחבר, מצב זכויות היוצרים או הרישיון.', 'pl': u'Obraz ten został dolinkowany z adresu %s. Brak jest informacji o autorze, prawach autorskich czy licencji.', 'pt': u'Esta imagem foi inserida como linha de %s. Nenhum infomação sobre autor, direitos autorais ou licença foi listada.',
Modified: trunk/pywikipedia/isbn.py =================================================================== --- trunk/pywikipedia/isbn.py 2008-07-08 21:08:57 UTC (rev 5695) +++ trunk/pywikipedia/isbn.py 2008-07-09 05:56:23 UTC (rev 5696) @@ -477,7 +477,7 @@ ('8000', '9499'), ('95000', '99999'), ], - '977': [ # Egypr + '977': [ # Egypt ('00', '19'), ('200', '499'), ('5000', '6999'),
Modified: trunk/pywikipedia/lonelypages.py =================================================================== --- trunk/pywikipedia/lonelypages.py 2008-07-08 21:08:57 UTC (rev 5695) +++ trunk/pywikipedia/lonelypages.py 2008-07-09 05:56:23 UTC (rev 5696) @@ -71,7 +71,7 @@
# Comment that the Bot will use to put the template commento = { - 'ar':u'روبوت: إضافة قالب يتيمة', + 'ar':u'بوت: صفحة يتيمة، إضافة قالب', 'en':u'Bot: Orphan page, add template', 'it':u'Bot: Voce orfana, aggiungo template {{O}}', 'zh':u'機器人: 本頁的鏈入頁面太少', @@ -80,7 +80,7 @@ # When you add a disambig to the list of disambig pages #(if you set disambigPage to None, you can put here nothing) commenttodisambig = { - 'ar':u'روبوت: إضافة صفحة توضيح', + 'ar':u'بوت: إضافة صفحة توضيح', 'en':u'Bot: Adding a disambig page', 'it':u'Bot: Aggiungo una disambigua', 'zh':u'機器人: 增加消歧義頁面',
Modified: trunk/pywikipedia/piper.py =================================================================== --- trunk/pywikipedia/piper.py 2008-07-08 21:08:57 UTC (rev 5695) +++ trunk/pywikipedia/piper.py 2008-07-09 05:56:23 UTC (rev 5696) @@ -53,6 +53,7 @@ # NOTE: Put a good description here, and add translations, if possible! msg = { 'en': u'Robot: Piping the article text through %s', + 'ar': u'روبوت: بيبنج نص المقال من خلال %s', 'is': u'Vélmenni: Pípa texta síðunnar í gegnum %s' }
Modified: trunk/pywikipedia/reflinks.py =================================================================== --- trunk/pywikipedia/reflinks.py 2008-07-08 21:08:57 UTC (rev 5695) +++ trunk/pywikipedia/reflinks.py 2008-07-09 05:56:23 UTC (rev 5696) @@ -67,7 +67,8 @@ 'hu':u'Robot generálta cím', 'ko':u'봇이 따온 제목', 'es':u'Título generado por un bot', - 'en':u'Bot generated title'} + 'en':u'Bot generated title', + 'ar':u'عنوان مولد بالبوت'}
soft404 = re.compile(ur'\D404(\D|\Z)|error|errdoc|Not.{0,3}Found|sitedown|eventlog', re.IGNORECASE) # matches an URL at the index of a website
Modified: trunk/pywikipedia/speedy_delete.py =================================================================== --- trunk/pywikipedia/speedy_delete.py 2008-07-08 21:08:57 UTC (rev 5695) +++ trunk/pywikipedia/speedy_delete.py 2008-07-09 05:56:23 UTC (rev 5696) @@ -77,6 +77,9 @@ # possible to find out the reason for deletion by the template used. # _default will be used if no such semantic template was used. deletion_messages = { + 'ar': { + u'_default': u'حذف مرشح للحذف السريع حسب [[ويكيبيديا:حذف سريع|معايير الحذف السريع]]', + }, 'de': { u'_default': u'Lösche Artikel mit [[Wikipedia:Schnelllöschantrag|Schnelllöschantrag]]', },
Modified: trunk/pywikipedia/standardize_notes.py =================================================================== --- trunk/pywikipedia/standardize_notes.py 2008-07-08 21:08:57 UTC (rev 5695) +++ trunk/pywikipedia/standardize_notes.py 2008-07-09 05:56:23 UTC (rev 5696) @@ -84,6 +84,7 @@ 'exceptions': ['<nowiki>[^<]{3,}</nowiki>'], 'msg': { 'en':u'Robot: Adding/sorting references.', + 'ar':u'روبوت: إضافة/ترتيب المراجع.', 'he':u'בוט: מוסיף/מסדר הערות שוליים', 'ia':u'Robot: Addition/assortimento de referentias', 'pl':u'Robot dodaje/sortuje źródła',
Modified: trunk/pywikipedia/us-states.py =================================================================== --- trunk/pywikipedia/us-states.py 2008-07-08 21:08:57 UTC (rev 5695) +++ trunk/pywikipedia/us-states.py 2008-07-09 05:56:23 UTC (rev 5696) @@ -27,6 +27,7 @@ start = '0' force = False msg = {'en':'Creating state abbreviation redirect', + 'ar':'إنشاء تحويلة اختصار الولاية', 'he':u'יוצר הפניה מראשי התיבות של המדינה', }
pywikipedia-l@lists.wikimedia.org