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
--
To view, visit
https://gerrit.wikimedia.org/r/133602
To unsubscribe, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I731cdc1ba011eb5a6020629fad158a1f5716e4a8
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Merlijn van Deen <valhallasw(a)arctus.nl>
Gerrit-Reviewer: Ladsgroup <ladsgroup(a)gmail.com>
Gerrit-Reviewer: Merlijn van Deen <valhallasw(a)arctus.nl>
Gerrit-Reviewer: Siebrand <siebrand(a)kitano.nl>
Gerrit-Reviewer: jenkins-bot <>