jenkins-bot has submitted this change and it was merged.
Change subject: Fix translations in i18n example
......................................................................
Fix translations in i18n example
Change-Id: I93005d0314af89623ac03752c6f681991934c311
---
M pywikibot/i18n.py
1 file changed, 3 insertions(+), 3 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/i18n.py b/pywikibot/i18n.py
index e44d3f7..56fb9da 100644
--- a/pywikibot/i18n.py
+++ b/pywikibot/i18n.py
@@ -401,11 +401,11 @@
},
'nl': {
# format sting inside PLURAL tag is allowed
- 'test-changing': u'Bot: Endrer {{PLURAL:num|1 pagina|%(num)d
pagina\'s}}.',
+ 'test-changing': u'Bot: Pas {{PLURAL:num|1 pagina|%(num)d
pagina\'s}} aan.',
},
'fr': {
# additional sting inside or outside PLURAL tag is allowed
- 'test-changing': u'Robot: Changer %(descr)s {{PLURAL:num|une
page|un peu pages}}.',
+ 'test-changing': u'Robot: Changer %(descr)s {{PLURAL:num|une
page|quelques pages}}.',
},
}
#use a number
@@ -422,7 +422,7 @@
Robot: Changer seulement une pages.
#use format strings also outside
>> i18n.twntranslate('fr',
'test-changing', 10) % {'descr': 'seulement'}
- Robot:
Changer seulement un peu pages.
+ Robot: Changer seulement quelques pages.
The translations are retrieved from i18n.<package>, based on the callers
import table.
--
To view, visit
https://gerrit.wikimedia.org/r/110692
To unsubscribe, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I93005d0314af89623ac03752c6f681991934c311
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: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot <>