Page MenuHomePhabricator

unified syntax in Messages.php - usage of 'foo' => '...' only
Closed, InvalidPublic

Description

Author: gangleri

Description:
Hallo!

php syntax allows both the usage of
'foo' => '...'
*and*
'bar' => "..."

However only o few messages are using 'bar' => "...".

These are:

'alreadyloggedin' => "...",
'anoneditwarning' => "...",
'anontalkpagetext' => "...",
'blockededitsource' => "...",
'blockedoriginalsource' => "...",
'clearyourcache' => "...",
'editinginterface' => "...",
'loginsuccess' => "...",
'missingsummary' => "...",
'userinvalidcssjstitle' => "...",
'welcomecreation' => "...",

At some point in time tools for computer aided translations will / might be
used. The automatic validation of translations could be simplified if only one
of syntax versions would be used.

I suggest to use the only the
'foo' => '...'
syntax.

best regards reinhardt [[user:gangleri]]


Version: unspecified
Severity: trivial
URL: http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/Messages.php?view=markup

Details

Reference
bz6631

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:17 PM
bzimport set Reference to bz6631.
bzimport added a subscriber: Unknown Object (MLST).

I used to do the conversion but it is too easy to make
some mistakes.

Brion asked not to do it.

robchur wrote:

I've already responded to the mailing list post with objections to this. I don't
think a bug report is the appropriate way to go about making this sort of
change, and it will no doubt encourage forked discussion, half of which will be
in the wrong place.

jimmy.collins wrote:

I think an intelligent tool for computer aided translations should handle both
(' and ").