jenkins-bot has submitted this change and it was merged.

Change subject: unicode is required for categories
......................................................................


unicode is required for categories

Change-Id: I0c7b52936713ba427b76927802afaaabb62d0fa9
---
M checkimages.py
1 file changed, 10 insertions(+), 10 deletions(-)

Approvals:
  Xqt: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/checkimages.py b/checkimages.py
index 42ad49d..d2f965f 100644
--- a/checkimages.py
+++ b/checkimages.py
@@ -511,18 +511,18 @@
 # Category with the licenses and / or with subcategories with the other
 # licenses.
 category_with_licenses = {
-    'commons': 'Category:License tags',
-    'ar': 'تصنيف:قوالب حقوق الصور',
-    'de': 'Kategorie:Vorlage:Lizenz für Bilder',
-    'en': 'Category:Wikipedia image copyright templates',
+    'commons': u'Category:License tags',
+    'ar': u'تصنيف:قوالب حقوق الصور',
+    'de': u'Kategorie:Vorlage:Lizenz für Bilder',
+    'en': u'Category:Wikipedia image copyright templates',
     'fa': u'رده:الگو:حق تکثیر پرونده',
-    'ga': 'Catagóir:Clibeanna cóipchirt d\'íomhánna',
-    'it': 'Categoria:Template Licenze copyright',
-    'ja': 'Category:画像の著作権表示テンプレート',
-    'ko': '분류:위키백과 그림 저작권 틀',
-    'ta': 'Category:காப்புரிமை வார்ப்புருக்கள்',
+    'ga': u'Catagóir:Clibeanna cóipchirt d\'íomhánna',
+    'it': u'Categoria:Template Licenze copyright',
+    'ja': u'Category:画像の著作権表示テンプレート',
+    'ko': u'분류:위키백과 그림 저작권 틀',
+    'ta': u'Category:காப்புரிமை வார்ப்புருக்கள்',
     'ur': u'زمرہ:ویکیپیڈیا سانچہ جات حقوق تصاویر',
-    'zh': 'Category:版權申告模板',
+    'zh': u'Category:版權申告模板',
 }
 
 # Page where is stored the message to send as email to the users

-- 
To view, visit https://gerrit.wikimedia.org/r/120385
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I0c7b52936713ba427b76927802afaaabb62d0fa9
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/compat
Gerrit-Branch: master
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Ladsgroup <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to