Revision: 5226
Author: mfarag
Date: 2008-04-17 09:24:10 +0000 (Thu, 17 Apr 2008)
Log Message:
-----------
Add/Update Arabic (ar) translation
Modified Paths:
--------------
trunk/pywikipedia/commonscat.py
trunk/pywikipedia/cosmetic_changes.py
trunk/pywikipedia/delete.py
trunk/pywikipedia/disambredir.py
trunk/pywikipedia/fixing_redirects.py
trunk/pywikipedia/imagetransfer.py
trunk/pywikipedia/misspelling.py
trunk/pywikipedia/movepages.py
trunk/pywikipedia/noreferences.py
trunk/pywikipedia/nowcommons.py
trunk/pywikipedia/selflink.py
trunk/pywikipedia/solve_disambiguation.py
trunk/pywikipedia/weblinkchecker.py
Modified: trunk/pywikipedia/commonscat.py
===================================================================
--- trunk/pywikipedia/commonscat.py 2008-04-16 13:38:04 UTC (rev 5225)
+++ trunk/pywikipedia/commonscat.py 2008-04-17 09:24:10 UTC (rev 5226)
@@ -37,6 +37,7 @@
commonscatTemplates = {
'af' : u'CommonsKategorie',
+ 'ar' : u'تصنيف كومنز',
'als' : u'Commonscat',
'az' : u'CommonsKat',
'bg' : u'Commonscat',
Modified: trunk/pywikipedia/cosmetic_changes.py
===================================================================
--- trunk/pywikipedia/cosmetic_changes.py 2008-04-16 13:38:04 UTC (rev 5225)
+++ trunk/pywikipedia/cosmetic_changes.py 2008-04-17 09:24:10 UTC (rev 5226)
@@ -41,6 +41,7 @@
# Summary message when using this module as a stand-alone script
msg_standalone = {
+ 'ar': u'روبوت: تغييرات طفيفة',
'de': u'Bot: Kosmetische Änderungen',
'en': u'Robot: Cosmetic changes',
'es': u'Robot: Cambios triviales',
@@ -61,6 +62,7 @@
# Summary message that will be appended to the normal message when
# cosmetic changes are made on the fly
msg_append = {
+ 'ar': u'; تغييرات طفيفة',
'de': u'; kosmetische Änderungen',
'en': u'; cosmetic changes',
'es': u'; cambios triviales',
Modified: trunk/pywikipedia/delete.py
===================================================================
--- trunk/pywikipedia/delete.py 2008-04-16 13:38:04 UTC (rev 5225)
+++ trunk/pywikipedia/delete.py 2008-04-17 09:24:10 UTC (rev 5226)
@@ -34,6 +34,7 @@
# Summary messages for deleting from a category.
msg_simple_delete = {
+ 'ar': u'بوت: حذف قائمة من الملفات.',
'en': u'Bot: Deleting a list of files.',
'he': u'בוט: מוחק רשימת דפים מתוך קובץ.',
'nl': u'Bot: verwijdert een lijst met pagina\'s.',
@@ -42,6 +43,7 @@
'sv': u'Bot: Tar bort fillista.',
}
msg_delete_category = {
+ 'ar': u'روبوت - حذف كل الصفحات من التصنيف %s',
'de': u'Bot: Lösche alle Seiten in Kategorie %s',
'en': u'Robot - Deleting all pages from category %s',
'he': u'בוט: מוחק את כל הדפים מהקטגוריה %s.',
@@ -53,6 +55,7 @@
'sv': u'Bot: Tar bort alla sidor i kategori %s',
}
msg_delete_links = {
+ 'ar': u'روبوت - حذف كل الصفحات الموصولة من %s',
'de': u'Bot: Lösche alle Seiten in %s verlinkten Seiten',
'en': u'Robot - Deleting all pages linked from %s',
'fr': u'Bot: Supprime toutes pages liées depuis %s',
@@ -64,6 +67,7 @@
'sv': u'Bot: Tar bort alla sidor länkade från %s',
}
msg_delete_ref = {
+ 'ar': u'روبوت - حذف كل الصفحات الراجعة من %s',
'de': u'Bot: Lösche alle auf %s linkenden Seiten',
'en': u'Robot - Deleting all pages referring from %s',
'fr': u'Bot: Supprime toutes pages référant à %s',
@@ -74,6 +78,7 @@
'pt': u'Bot: Apagando todas as páginas afluentes a %s',
}
msg_delete_images = {
+ 'ar': u'روبوت -حذف كل الصور في الصفحة %s',
'en': u'Robot - Deleting all images on page %s',
'he': u'בוט: מוחק את כל התמונות בדף %s.',
'nl': u'Bot: verwijdert alle media op pagina %s',
Modified: trunk/pywikipedia/disambredir.py
===================================================================
--- trunk/pywikipedia/disambredir.py 2008-04-16 13:38:04 UTC (rev 5225)
+++ trunk/pywikipedia/disambredir.py 2008-04-17 09:24:10 UTC (rev 5226)
@@ -17,6 +17,7 @@
import catlib
msg = {
+ 'ar': u'تغيير التحويلات في صفحة توضيح',
'en': u'Changing redirects on a disambiguation page',
'he': u'משנה קישורים להפניות בדף פירושונים',
'ja': u'ロボットによる: 曖昧さ回避ページのリダイレクト修正',
Modified: trunk/pywikipedia/fixing_redirects.py
===================================================================
--- trunk/pywikipedia/fixing_redirects.py 2008-04-16 13:38:04 UTC (rev 5225)
+++ trunk/pywikipedia/fixing_redirects.py 2008-04-17 09:24:10 UTC (rev 5226)
@@ -21,6 +21,7 @@
import re, sys
msg = {
+ 'ar': u'بوت: إصلاح التحويلات',
'en': u'Bot: Fixing redirects',
'he': u'בוט: מתקן הפניות',
'ja': u'ロボットによる:リダイレクト回避',
@@ -30,6 +31,7 @@
}
featured_articles = {
+ 'ar': u'ويكيبيديا:مقالات مختارة',
'de': u'Wikipedia:Exzellente_Artikel',
'en': u'Wikipedia:Featured_articles',
'he': u'פורטל:ערכים_מומלצים',
Modified: trunk/pywikipedia/imagetransfer.py
===================================================================
--- trunk/pywikipedia/imagetransfer.py 2008-04-16 13:38:04 UTC (rev 5225)
+++ trunk/pywikipedia/imagetransfer.py 2008-04-17 09:24:10 UTC (rev 5226)
@@ -33,6 +33,7 @@
import wikipedia, upload, config, pagegenerators
copy_message = {
+ 'ar':u"هذه الصورة تم نقلها من %s. الوصف الأصلي كان:\r\n\r\n%s",
'en':u"This image was copied from %s. The original description
was:\r\n\r\n%s",
'de':u"Dieses Bild wurde von %s kopiert. Die dortige Beschreibung
lautete:\r\n\r\n%s",
'fr':u"Cette image est copiée de %s. La description originale
était:\r\n\r\n%s",
@@ -48,6 +49,7 @@
}
nowCommonsTemplate = {
+ 'ar': u'{{subst:الآن_كومنز|Image:%s}}',
'de': u'{{NowCommons|%s}}',
'fr': u'{{Désormais sur Commons|%s}}',
'en': u'{{subst:ncd|Image:%s}}',
@@ -70,6 +72,7 @@
#}
nowCommonsMessage = {
+ 'ar': u'الملف الآن متوفر في ويكيميديا كومنز.',
'de': u'Datei ist jetzt auf Wikimedia Commons verfügbar.',
'en': u'File is now available on Wikimedia Commons.',
'he': u'הקובץ זמין כעת בוויקישיתוף.',
Modified: trunk/pywikipedia/misspelling.py
===================================================================
--- trunk/pywikipedia/misspelling.py 2008-04-16 13:38:04 UTC (rev 5225)
+++ trunk/pywikipedia/misspelling.py 2008-04-17 09:24:10 UTC (rev 5226)
@@ -44,6 +44,7 @@
}
msg = {
+ 'ar': u'روبوت: إصلاح وصلة خاطئة إلى %s',
'de': u'Bot: korrigiere Link auf Falschschreibung: %s',
'en': u'Robot: Fixing misspelled link to %s',
'he': u'בוט: מתקן קישור עם שגיאה לדף %s',
Modified: trunk/pywikipedia/movepages.py
===================================================================
--- trunk/pywikipedia/movepages.py 2008-04-16 13:38:04 UTC (rev 5225)
+++ trunk/pywikipedia/movepages.py 2008-04-17 09:24:10 UTC (rev 5226)
@@ -59,6 +59,7 @@
}
deletesummary={
+ 'ar': u'روبوت: حذف التحويلة بعد نقل الصفحة',
'de': u'Bot: Lösche nach Seitenverschiebung nicht benötigte
Umleitung',
'en': u'Robot: Deleting redirect after page has been moved',
'he': u'בוט: מוחק הפניה לאחר שהדף הועבר',
@@ -66,7 +67,6 @@
'pt': u'Bot: Página apagada depois de movida',
'ru': u'Робот: удаление перенаправления после переименования
страницы',
# These are too unspecific:
- #'ar': u'حذف الصفحة بواسطة البوت',
#'el': u'Διαγραφή σελίδων με bot',
#'fr': u'Page supprimée par bot',
#'nl': u'Pagina verwijderd door robot',
Modified: trunk/pywikipedia/noreferences.py
===================================================================
--- trunk/pywikipedia/noreferences.py 2008-04-16 13:38:04 UTC (rev 5225)
+++ trunk/pywikipedia/noreferences.py 2008-04-17 09:24:10 UTC (rev 5226)
@@ -47,6 +47,7 @@
# Summary messages in different languages
msg = {
+ 'ar':u'روبوت: إضافة وسم <references /> مفقود',
'de':u'Bot: Trage fehlendes <references /> nach',
'en':u'Robot: Adding missing <references /> tag',
'he':u'בוט: מוסיף תגית <references /> חסרה',
@@ -64,6 +65,11 @@
# Otherwise, it would try to put it in front of the "External links" section,
# or if that fails, the "See also" section, etc.
placeBeforeSections = {
+ 'ar': [ # no explicit policy on where to put the references
+ u'وصلات خارجية',
+ u'انظر أيضا',
+ u'ملاحظات'
+ ],
'de': [ # no explicit policy on where to put the references
u'Literatur',
u'Weblinks',
@@ -102,6 +108,10 @@
# The first title should be the preferred one: It's the one that
# will be used when a new section has to be created.
referencesSections = {
+ 'ar': [ # not sure about which ones are preferred.
+ u'مراجع',
+ u'ملاحظات',
+ ],
'de': [
u'Einzelnachweise', # The "Einzelnachweise" title is disputed,
some people prefer the other variants
u'Quellen',
@@ -154,6 +164,7 @@
# on your wiki, you don't have to enter anything here.
referencesTemplates = {
'wikipedia': {
+ 'ar': [u'Reflist',u'ثبت المراجع',u'قائمة المراجع'],
'en':
[u'Reflist',u'Refs',u'FootnotesSmall',u'Reference',
u'Ref-list',u'Reference
list',u'References-small',u'Reflink',
u'Footnotes',u'FootnotesSmall'],
Modified: trunk/pywikipedia/nowcommons.py
===================================================================
--- trunk/pywikipedia/nowcommons.py 2008-04-16 13:38:04 UTC (rev 5225)
+++ trunk/pywikipedia/nowcommons.py 2008-04-17 09:24:10 UTC (rev 5226)
@@ -44,6 +44,10 @@
'_default': [
u'NowCommons'
],
+ 'ar': [
+ u'الآن كومنز',
+ u'الآن كومونز',
+ ],
'de': [
u'NowCommons',
u'NC',
Modified: trunk/pywikipedia/selflink.py
===================================================================
--- trunk/pywikipedia/selflink.py 2008-04-16 13:38:04 UTC (rev 5225)
+++ trunk/pywikipedia/selflink.py 2008-04-17 09:24:10 UTC (rev 5226)
@@ -39,6 +39,7 @@
# NOTE: Predefined replacement tasks might use their own dictionary, see 'fixes'
# in fixes.py.
msg = {
+ 'ar':u'روبوت: إزالة وصلات ذاتية',
'de':u'Bot: Entferne Selbstlinks',
'en':u'Robot: Removing selflinks',
'he':u'בוט: מסיר קישורים של הדף לעצמו',
Modified: trunk/pywikipedia/solve_disambiguation.py
===================================================================
--- trunk/pywikipedia/solve_disambiguation.py 2008-04-16 13:38:04 UTC (rev 5225)
+++ trunk/pywikipedia/solve_disambiguation.py 2008-04-17 09:24:10 UTC (rev 5226)
@@ -76,6 +76,7 @@
# Summary message when working on disambiguation pages
msg = {
+ 'ar': u'توضيح بمساعدة روبوت: %s - غير الوصلة أو الوصلات إلى %s',
'cs': u'Odstranění linku na rozcestník [[%s]] s použitím robota -
Změněn(y) odkaz(y) na %s',
'en': u'Robot-assisted disambiguation: %s - Changed link(s) to %s',
'da': u'Retter flertydigt link til: %s - Ændrede link(s) til %s',
@@ -98,6 +99,7 @@
# Summary message when working on disambiguation pages and the link is removed
msg_unlink = {
+ 'ar': u'توضيح بمساعدة روبوت: %s - أزال الوصلة أو الوصلات.',
'cs': u'Odstranění linku na rozcestník [[%s]] s použitím robota -
Odstraněn(y) odkaz(y)',
'en': u'Robot-assisted disambiguation: %s - Removed link(s).',
'da': u'Retter flertydigt link til: %s - Fjernede link(s)',
@@ -120,6 +122,7 @@
# Summary message when working on redirects
msg_redir = {
+ 'ar': u'توضيح بمساعدة روبوت: %s - غير الوصلة أو الوصلات إلى %s',
'cs': u'Robot opravil přesměrování na %s - Změněn(y) odkaz(y) na
%s',
'en': u'Robot-assisted disambiguation: %s - Changed link(s) to %s',
'da': u'Retter flertydigt link til: %s - Ændrede link(s) til %s',
@@ -142,6 +145,7 @@
# Summary message when working on redirects and the link is removed
msg_redir_unlink = {
+ 'ar': u'توضيح بمساعدة روبوت: %s - أزال الوصلة أو الوصلات',
'cs': u'Robot opravil přesměrování na %s - Odstraněn(y) odkaz(y)',
'en': u'Robot-assisted disambiguation: %s - Removed link(s)',
'da': u'Retter flertydigt link til: %s - Fjernede link(s)',
@@ -164,6 +168,7 @@
# disambiguation page name format for "primary topic" disambiguations
# (Begriffsklärungen nach Modell 2)
primary_topic_format = {
+ 'ar': u'%s_(توضيح)',
'cs': u'%s_(rozcestník)',
'de': u'%s_(Begriffsklärung)',
'en': u'%s_(disambiguation)',
@@ -189,6 +194,9 @@
ignore_title = {
'wikipedia': {
+ 'ar': [
+ u'تصنيف:صفحات توضيح',
+ ],
'cs': [
u'Wikipedie:Chybějící interwiki/.+',
u'Wikipedie:Rozcestníky',
Modified: trunk/pywikipedia/weblinkchecker.py
===================================================================
--- trunk/pywikipedia/weblinkchecker.py 2008-04-16 13:38:04 UTC (rev 5225)
+++ trunk/pywikipedia/weblinkchecker.py 2008-04-17 09:24:10 UTC (rev 5226)
@@ -103,6 +103,7 @@
}
talk_report_msg = {
+ 'ar': u'روبوت: الإبلاغ عن وصلات خارجية غير متوفرة',
'de': u'Bot: Berichte nicht verfügbaren Weblink',
'en': u'robot: Reporting unavailable external link',
'fr': u'Bot: Rapporte lien externe inaccessible',
@@ -122,6 +123,7 @@
# The second %s will be replaced by a hint to the Internet Archive,
# in case the page has been archived there.
talk_report = {
+ 'ar': u'== وصلة ميتة ==\n\nخلال عدة عمليات أوتوماتيكية من البوت الوصلة
الخارجية التالية كانت غير متوفرة. من فضلك تحقق من أن الوصلة لا تعمل وأزلها أو أصلحها في
هذه الحالة!\n\n%s\n%s--~~~~',
'de': u'== Toter Weblink ==\n\nBei mehreren automatisierten Botläufen
wurde der folgende Weblink als nicht verfügbar erkannt. Bitte überprüfe, ob der Link
tatsächlich unerreichbar ist, und korrigiere oder entferne ihn in diesem
Fall!\n\n%s\n%s--~~~~',
'en': u'== Dead link ==\n\nDuring several automated bot runs the
following external link was found to be unavailable. Please check if the link is in fact
down and fix or remove it in that case!\n\n%s\n%s--~~~~',
'fr': u'== Lien mort ==\n\nPendant plusieurs patrouilles par bot, le lien
suivant a été inaccessible. Veuillez vérifier si le lien est effectivement mort et si oui
corrigez ou retirez-le.\n\n%s\n%s--~~~~',
@@ -138,6 +140,7 @@
}
talk_report_archive = {
+ 'ar': u'\nصفحة الويب تم حفظها بواسطة أرشيف الإنترنت. من فضلك ضع في
الاعتبار الوصل لنسخة مؤرشفة مناسبة: [%s]. ',
'de': u'Die Webseite wurde vom Internet Archive gespeichert. Bitte
verlinke gegebenenfalls eine geeignete archivierte Version: [%s]. ',
'en': u'\nThe web page has been saved by the Internet Archive. Please
consider linking to an appropriate archived version: [%s]. ',
'fr': u"\nLa page a été sauvegardée dans l'''Internet
Archive''. Il serait peut-être utile de faire pointer le lien vers une des
versions archivées : [%s]. ",