summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiebrand Mazeland <s.mazeland@xs4all.nl>2009-11-06 17:16:43 +0100
committerSiebrand Mazeland <s.mazeland@xs4all.nl>2009-11-06 17:16:43 +0100
commit023d5c17ab2abe6a221d6db54778d8d585b6dd86 (patch)
tree57c4d5d48e8608136d7bd009d12be407113fa1b9
parent814b513aa5d86a38e7b6db220d36fca253bdabfe (diff)
More bug fixes.
-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";