Page MenuHomePhabricator

welcome.py L10N fails for commons
Closed, ResolvedPublic

Description

welcome.py uses i8n.translate() to get a string from dictionaries for a given site. This mechanism fails for commons due to the '_default' entry because translate() expects a language code here when no fallback is given.

Event Timeline

Xqt created this task.Aug 30 2016, 2:51 PM
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. · View Herald TranscriptAug 30 2016, 2:51 PM
Xqt triaged this task as Normal priority.Aug 30 2016, 2:51 PM

Change 307523 had a related patch set uploaded (by Xqt):
[bugfix] cleanup L10N dictionaries

https://gerrit.wikimedia.org/r/307523

Change 307523 merged by jenkins-bot:
[bugfix] cleanup L10N dictionaries

https://gerrit.wikimedia.org/r/307523

whym closed this task as Resolved.Sep 18 2016, 2:41 AM