summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/update_translations.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/update_translations.php b/scripts/update_translations.php
index 88b85dc12..baa377cac 100755
--- a/scripts/update_translations.php
+++ b/scripts/update_translations.php
@@ -52,7 +52,7 @@ foreach ($languages as $language) {
// Skip export of source language
// and duplicates
- if( $code == 'en' || $code = 'no' ) {
+ if( $code == 'en' || $code == 'no' ) {
continue;
}
@@ -69,7 +69,7 @@ foreach ($languages as $language) {
'title' => 'Special:Translate',
'task' => 'export-to-file',
'group' => 'out-statusnet',
- 'language' => $twcode));
+ 'language' => $twnCode));
$lcdir = INSTALLDIR . '/locale/' . $code;
$msgdir = "$lcdir/LC_MESSAGES";