jenkins-bot submitted this change.

View Change

Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
Update template_to_the_image and template_to_the_user

* Notes:
** Add missing "%(title)s" to Urdu
** "جا" is subst in Persian
** Reorder links as usual: meta, test at top

Change-Id: I74f35265612e4fb698cc2197825e3e5ce6275ebe
---
M scripts/unusedfiles.py
1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/scripts/unusedfiles.py b/scripts/unusedfiles.py
index 8836224..601260a 100755
--- a/scripts/unusedfiles.py
+++ b/scripts/unusedfiles.py
@@ -18,7 +18,7 @@
-usertemplate: Use a custom template to warn the uploader.
"""
#
-# (C) Pywikibot team, 2007-2021
+# (C) Pywikibot team, 2007-2022
#
# Distributed under the terms of the MIT license.
#
@@ -39,15 +39,25 @@
template_to_the_image = {
'meta': '{{Orphan file}}',
'test': '{{Orphan file}}',
- 'it': '{{immagine orfana}}',
+ 'ar': '{{صورة يتيمة}}',
+ 'arz': '{{صوره يتيمه}}',
+ 'en': '{{Orphan image}}',
'fa': '{{تصاویر بدون استفاده}}',
+ 'id': '{{Berkas yatim}}',
+ 'it': '{{immagine orfana}}',
+ 'mk': '{{Слика сираче}}',
+ 'te': '{{Orphan image}}',
'ur': '{{غیر مستعمل تصاویر}}',
+ 'uz': '{{Yetim tasvir}}',
+ 'vec': '{{Imaxine orfana}}',
+ 'vi': '{{Hình mồ côi}}',
}

template_to_the_user = {
- 'fa': '{{جا:اخطار به کاربر برای تصاویر بدون استفاده|%(title)s}}',
- 'ur': '{{جا:اطلاع برائے غیر مستعمل تصاویر}}',
'test': '{{User:Happy5214/Unused file notice (user)|%(title)s}}',
+ 'ar': '{{subst:تنبيه صورة يتيمة|%(title)s}}',
+ 'fa': '{{subst:اخطار به کاربر برای تصاویر بدون استفاده|%(title)s}}',
+ 'ur': '{{subst:اطلاع برائے غیر مستعمل تصاویر|%(title)s}}',
}



To view, visit change 762752. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I74f35265612e4fb698cc2197825e3e5ce6275ebe
Gerrit-Change-Number: 762752
Gerrit-PatchSet: 11
Gerrit-Owner: Meno25 <meno25mail@gmail.com>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged