r86925 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r86924‎ | r86925 | r86926 >
Date:23:52, 25 April 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
fix typos and rem commas in js so ie doesnt go mad
Modified paths:
  • /trunk/extensions/LiveTranslate/LiveTranslate.php (modified) (history)
  • /trunk/extensions/LiveTranslate/includes/LT_TMUnit.php (modified) (history)
  • /trunk/extensions/LiveTranslate/includes/LT_TMXParser.php (modified) (history)
  • /trunk/extensions/LiveTranslate/includes/LiveTranslate_Functions.php (modified) (history)
  • /trunk/extensions/LiveTranslate/includes/ext.livetranslate.js (modified) (history)

Diff [purge]

Index: trunk/extensions/LiveTranslate/LiveTranslate.php
@@ -16,7 +16,7 @@
1717 */
1818
1919 /**
20 - * This documenation group collects source code files belonging to Live Translate.
 20+ * This documentation group collects source code files belonging to Live Translate.
2121 *
2222 * @defgroup LiveTranslate Live Translate
2323 */
@@ -25,7 +25,7 @@
2626 die( 'Not an entry point.' );
2727 }
2828
29 -define( 'LiveTranslate_VERSION', '0.6' );
 29+define( 'LiveTranslate_VERSION', '0.7 alpha' );
3030
3131 $wgExtensionCredits['other'][] = array(
3232 'path' => __FILE__,
Index: trunk/extensions/LiveTranslate/includes/LT_TMUnit.php
@@ -14,7 +14,7 @@
1515 class LTTMUnit {
1616
1717 /**
18 - * List of language varinats of the translation memory unit.
 18+ * List of language variants of the translation memory unit.
1919 *
2020 * language code => array( primary translation [, synonym [, ect]] )
2121 *
@@ -36,7 +36,7 @@
3737 }
3838
3939 /**
40 - * Returns the list of language varinats of the translation memory unit.
 40+ * Returns the list of language variants of the translation memory unit.
4141 *
4242 * @since 0.4
4343 *
Index: trunk/extensions/LiveTranslate/includes/ext.livetranslate.js
@@ -69,7 +69,7 @@
7070 'action': 'query',
7171 'format': 'json',
7272 'list': 'livetranslate',
73 - 'ltlanguage': currentLang,
 73+ 'ltlanguage': currentLang
7474 };
7575
7676 if ( offset > 0 ) {
Index: trunk/extensions/LiveTranslate/includes/LT_TMXParser.php
@@ -69,7 +69,7 @@
7070 protected $insideSegment;
7171
7272 /**
73 - * Boolean to keep track of if the XML parser is inside a node that should be ingored.
 73+ * Boolean to keep track of if the XML parser is inside a node that should be ignored.
7474 *
7575 * @since 0.4
7676 *
Index: trunk/extensions/LiveTranslate/includes/LiveTranslate_Functions.php
@@ -1,7 +1,7 @@
22 <?php
33
44 /**
5 - * Statis class with utility methods for the Live Translate extension.
 5+ * Static class with utility methods for the Live Translate extension.
66 *
77 * @since 0.1
88 *
@@ -290,7 +290,7 @@
291291 }
292292
293293 /**
294 - * Returns the provided text starting with a letter in toggeled case.
 294+ * Returns the provided text starting with a letter in toggled case.
295295 * If there is no difference between lowercase and upercase for the first
296296 * character, false is returned.
297297 *

Status & tagging log