r68475 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r68474‎ | r68475 | r68476 >
Date:19:00, 23 June 2010
Author:raymond
Status:ok
Tags:
Comment:
i18n tweaks for consistency. Even if it's still version 0.0.0 :-)
* Do not translate extension name. It is shown in Special:Version. No extension translates it's proper name
* 'description' -> 'descriptionmsg'. 'deployment-desc' is a message key.
Modified paths:
  • /trunk/extensions/Deployment/Deployment.i18n.php (modified) (history)
  • /trunk/extensions/Deployment/Deployment.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Deployment/Deployment.i18n.php
@@ -16,6 +16,5 @@
1717 */
1818 $messages['en'] = array(
1919 // General
20 - 'deployment-name' => 'Deployment',
21 - 'deployment-desc' => 'Provides a way to install extensions via GUI and update them and your wiki itself via another GUI.',
22 -);
\ No newline at end of file
 20+ 'deployment-desc' => 'Provides a way to install extensions via GUI and update them and the wiki itself via another GUI',
 21+);
Index: trunk/extensions/Deployment/Deployment.php
@@ -36,13 +36,11 @@
3737
3838 $wgExtensionCredits['other'][] = array(
3939 'path' => __FILE__,
40 - 'name' => wfMsg( 'deployment-name' ),
 40+ 'name' => 'Deployment',
4141 'version' => Deployment_VERSION,
42 - 'author' => array(
43 - '[http://www.mediawiki.org/wiki/User:Jeroen_De_Dauw Jeroen De Dauw]'
44 - ),
 42+ 'author' => '[http://www.mediawiki.org/wiki/User:Jeroen_De_Dauw Jeroen De Dauw]',
4543 'url' => 'http://www.mediawiki.org/wiki/Extension:Deployment',
46 - 'description' => wfMsg( 'deployment-desc' ),
 44+ 'descriptionmsg' => 'deployment-desc',
4745 );
4846
4947 }
\ No newline at end of file

Status & tagging log