jenkins-bot has submitted this change and it was merged.
Change subject: Revert "Set translation fallback to False per default" ......................................................................
Revert "Set translation fallback to False per default"
This reverts commit a1b4cf1ded568ac436f4cb90c938b08ac4b8abd9.
Change-Id: I731cdc1ba011eb5a6020629fad158a1f5716e4a8 --- M pywikibot/i18n.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Merlijn van Deen: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/i18n.py b/pywikibot/i18n.py index 3ec974b..879093e 100644 --- a/pywikibot/i18n.py +++ b/pywikibot/i18n.py @@ -264,7 +264,7 @@ return message
-def translate(code, xdict, parameters=None, fallback=False): +def translate(code, xdict, parameters=None, fallback=True): """Return the most appropriate translation from a translation dict.
@param code The language code
pywikibot-commits@lists.wikimedia.org