If you use Apertium MT suggestions, your comments are wanted in this thread.
Thread:Support/PSA: Space as the first thing in PLURAL output does not work: Difference between revisions
(New thread: PSA: Space as the first thing in PLURAL output does not work) |
mNo edit summary |
||
Line 1: | Line 1: | ||
− | The Italian and Neapolitan translations for [[MediaWiki:Notification-header-foreign-message]] and [[MediaWiki:Notification-header-foreign-alert]] were trying to do something like <code><nowiki>"from $3{{PLURAL:$4| and one other wiki|and $4 other wikis|0=}}"</nowiki></code>, presumably trying to avoid the extra space at the end in the case where <code>$4</code> is zero. This is unnecessary, and it actually breaks: when testing in Italian I saw "Altri messaggi da Wikipedia in araboe un altro wiki", which should have been "Altri messaggi da Wikipedia in arabo e un altro wiki". The space at the beginning of the PLURAL cases appears to get swallowed. I was surprised by that too. |
+ | The Italian and Neapolitan translations for [[MediaWiki:Notification-header-foreign-message]] and [[MediaWiki:Notification-header-foreign-alert]] were trying to do something like <code><nowiki>"from $3{{PLURAL:$4| and one other wiki| and $4 other wikis|0=}}"</nowiki></code>, presumably trying to avoid the extra space at the end in the case where <code>$4</code> is zero. This is unnecessary, and it actually breaks: when testing in Italian I saw "Altri messaggi da Wikipedia in araboe un altro wiki", which should have been "Altri messaggi da Wikipedia in arabo e un altro wiki". The space at the beginning of the PLURAL cases appears to get swallowed. I was surprised by that too. |
So don't use this trick (in notification messages or anywhere else), because it doesn't work :) . Pinging [[User:Beta16]] and [[User:C.R.]] who wrote these translations. |
So don't use this trick (in notification messages or anywhere else), because it doesn't work :) . Pinging [[User:Beta16]] and [[User:C.R.]] who wrote these translations. |
Latest revision as of 03:32, 27 February 2016
The Italian and Neapolitan translations for MediaWiki:Notification-header-foreign-message and MediaWiki:Notification-header-foreign-alert were trying to do something like "from $3{{PLURAL:$4| and one other wiki| and $4 other wikis|0=}}"
, presumably trying to avoid the extra space at the end in the case where $4
is zero. This is unnecessary, and it actually breaks: when testing in Italian I saw "Altri messaggi da Wikipedia in araboe un altro wiki", which should have been "Altri messaggi da Wikipedia in arabo e un altro wiki". The space at the beginning of the PLURAL cases appears to get swallowed. I was surprised by that too.
So don't use this trick (in notification messages or anywhere else), because it doesn't work :) . Pinging User:Beta16 and User:C.R. who wrote these translations.