Will Translate extension allow to save message without all variables used?
*--* *Vira Motorko* project manager, Wikimedia Ukraine https://ua.wikimedia.org/ non-profit organisation m: +380667740499 | f: vira.motorko https://www.facebook.com/vira.motorko | w: Ата https://meta.wikimedia.org/wiki/User:Ата
Are you saving your documents in free formats? ;) Help save natural resources – please think twice before printing this e-mail or any attachments.
2017-01-24 8:44 GMT+02:00 Johan Jönsson jjonsson@wikimedia.org:
On Mon, Jan 23, 2017 at 7:09 PM, Pols12 poltron54@gmail.com wrote:
According to me, it’s a real improvement.
How can we edit or suggest an edit to the date format? Indeed, we used to use non-breaking spaces in French dates. Pols12
Hi!
So, not having an opinion on how the French dates should look, a general reply regarding how to change them if you want to:
If you're happy with how the dates look, you just keep {{#time:$defaultformat|$date1|$format_language_code}} (and $date2 and $date3), but if you want to change something, you just replace $defaultformat in the string. For example, to get the same thing but with a non-breaking space, you use this instead of $defaultformat: {{#time:j xg|$date1|$format_language_code}}
Help: https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#.23time
The tricky thing to remember is that you need to use unicode characters if you want to write text or add things like a non-breaking space, because the function will transform the n to the number of the month and the s to seconds past the minute if you write .
//Johan Jönsson
Translators-l mailing list Translators-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/translators-l