Ladsgroup has uploaded a new change for review.
https://gerrit.wikimedia.org/r/169010
Change subject: Make edit summary of archivebot more locolized for non latin
digits
......................................................................
Make edit summary of archivebot more locolized for non latin digits
Change-Id: I1c9fc18688ca02a410e74b46231f64adc0068a50
---
M scripts/archivebot.py
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core
refs/changes/10/169010/1
diff --git a/scripts/archivebot.py b/scripts/archivebot.py
index d1ef865..1fef8f8 100644
--- a/scripts/archivebot.py
+++ b/scripts/archivebot.py
@@ -262,6 +262,7 @@
maxage = str2time(re_t.group(1))
if self.now - self.timestamp > maxage:
duration = str2localized_duration(archiver.site, re_t.group(1))
+ duration = to_local_digits(duration, self.code)
return i18n.twtranslate(self.code,
'archivebot-older-than',
{'duration': duration})
--
To view, visit https://gerrit.wikimedia.org/r/169010
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1c9fc18688ca02a410e74b46231f64adc0068a50
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Ladsgroup <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits