summaryrefslogtreecommitdiff
path: root/scripts/sync-locales.php
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/sync-locales.php')
-rwxr-xr-xscripts/sync-locales.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/sync-locales.php b/scripts/sync-locales.php
index 181686b7..472a6b2b 100755
--- a/scripts/sync-locales.php
+++ b/scripts/sync-locales.php
@@ -15,7 +15,7 @@ function update_missing_locales(array $reference, $outdated_file)
foreach ($reference as $key => $value) {
- if (isset($outdated[$key])) {
+ if (! empty($outdated[$key])) {
//$output .= " '".str_replace("'", "\'", $key)."' => '".str_replace("'", "\'", $value)."',\n";
$output .= " '".str_replace("'", "\'", $key)."' => '".str_replace("'", "\'", $outdated[$key])."',\n";
}