https://bugzilla.wikimedia.org/show_bug.cgi?id=14901

--- Comment #19 from Krinkle <[email protected]> 2011-04-12 07:49:57 UTC ---
(In reply to comment #16) 
> So, I guess if there are further problems with internationalization, someone
> will have to leave a comment in this bug ticket.

Hi,

> +     switch ( $this->page_status ) {
> +             case 'deleted' :
> +                     $keys['$CHANGEDORCREATED'] = wfMsgForContent( 'deleted' 
> );
> ...
> +                     $keys['$CHANGEDORCREATED'] = wfMsgForContent( 'created' 
> );
> +                     $keys['$CURRENTPAGECLAUSE'] = wfMsgForContent( 
> 'enotif_current_page_clause' ) . "\n";

> +'deleted'                  => 'deleted',
> +'created'                  => 'created',
> +'moved'                    => 'moved',
> +'restored'                 => 'restored'



Message keys "delete", "created" etc. are way too general. Note that messages
are global for the entire mediawiki installation + any and all extensions. So
collisions are very possible.


Aside from that, it's also impossible to translate as these words depend on
context in many languages. So I would recommend something very specific, and be
sure to include a link to these 'submessages' in the /qqq of where they can be
used (perhaps create a Template at TranslateWiki).

For example:

> +'enotif-changedorcreated-deleted => 'deleted',

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to