Page MenuHomePhabricator

Livetranslate-dictionary-empty and Livetranslate-dictionary-count should be using {{int:...}}
Closed, InvalidPublic

Description

The "edit" in messages Livetranslate-dictionary-empty and
Livetranslate-dictionary-count should be using {{int:...}}

I could not figure out the key for it.
Maybe, it's {{int:edit}} but that would mean to reuse messages which is
discouraged as of http://www.mediawiki.org/wiki/Localisation#Avoid_message_reuse

See also:
http://translatewiki.net/w/i.php?title=Support&offset=20110121134040#Livetranslate_-_messages_should_be_using_int:_10584


Version: unspecified
Severity: enhancement
URL: http://translatewiki.net/w/i.php?title=Support&offset=20110121134040#Livetranslate_-_messages_should_be_using_int:_10584

Details

Reference
bz26844
TitleReferenceAuthorSource BranchDest Branch
dev: destroy destroys all containersrepos/releng/cli!19addshoredev-destroy-fix-docmain
dev: Nicer error from MW if the DB doesn't existrepos/releng/cli!3addshoreno-postgre-error-on-no-dbsmain
Customize query in GitLab

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:18 PM
bzimport set Reference to bz26844.

So you are saying that the message should reuse an existing message, but at the same time not reuse any existing messages? ...

Either way, I don't really care, but feel free to fix it yourself.

Yes :-) both

Using one message at several, rather unrelated places is often a bad idea because translations in different contexts may differ in some languages, at least.

This is different, when referring to a text like a button label in another message. "press the 'Ok' button, please" may be worse than "press the '{{int:okbuttonlabel}}' button, please" since in the latter variant, you have to define the text "Ok" only once, and when someone happens to alter it - which may happen locally, once a wiki is installed - the "press ..." message does not get out of sync.

Ah right. I'll take care of this for the next release, and keep it in mind for when I write new stuff. Thanks for pointing out :)

Ah, but the embedded text here indeed points to the core edit message, so nothing should be changed.

Thank you for your consideration.

Change 216081 had a related patch set uploaded (by Purodha):
LiveTanslate: use int-reference in msg refering to edit tab

https://gerrit.wikimedia.org/r/216081

Change 216081 merged by jenkins-bot:
LiveTranslate: use int-reference in msg refering to edit tab

https://gerrit.wikimedia.org/r/216081