r64575 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r64574‎ | r64575 | r64576 >
Date:22:03, 3 April 2010
Author:siebrand
Status:ok
Tags:
Comment:
Some overdue betawiki -> translatewiki
Modified paths:
  • /trunk/extensions/Configure/CHANGELOG (modified) (history)
  • /trunk/extensions/Wikidata/util/voctrain/i18n/getkey.php (modified) (history)
  • /trunk/extensions/Wikidata/util/voctrain/i18n/language.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Configure/CHANGELOG
@@ -1,5 +1,5 @@
2 -This file lists changes on this extension.
3 -Localisation updates are done on betawiki and aren't listed here.
 2+This file lists changes on this extension. Localisation updates are done
 3+through translatewiki.net and are not listed here.
44
55 0.15.18 - 31 March 2010
66 Fixed API module to work with current version of MediaWiki.
Index: trunk/extensions/Wikidata/util/voctrain/i18n/language.php
@@ -60,9 +60,9 @@
6161 }
6262
6363
64 - /** safe takes a string and makes it safe for use as a key on betawiki.
65 - * betawiki (http://translatewiki.net/) will translate my i18n for me
66 - * if I do this. So it's a fair trade.
 64+ /** safe takes a string and makes it safe for use as a key on
 65+ * translatewiki. http://translatewiki.net will translate my i18n for
 66+ * me if I do this. So it's a fair trade.
6767 */
6868 public static function safe( $string ) {
6969 if ( substr_count( $string, "voctrain_" ) == 0 ) {
Index: trunk/extensions/Wikidata/util/voctrain/i18n/getkey.php
@@ -7,7 +7,7 @@
88 require_once( "language.php" );
99
1010 print "phrase: $phrase\n";
11 -print "betawiki key: " . Language::safe( $phrase ) . "\n";
 11+print "translatewiki.net key: " . Language::safe( $phrase ) . "\n";
1212 $language = new Language();
1313 print "translation:\n";
1414 print "- default: " . $language->translate( $phrase ) . "\n";

Status & tagging log