Languages dictionaries updated

This commit is contained in:
Diego Najar 2019-05-24 19:26:57 +02:00
parent f0af06dbed
commit d1f7e32885
29 changed files with 85 additions and 28 deletions

View File

@ -384,5 +384,6 @@
"search": "Search",
"search-plugins": "Search plugins",
"enabled-plugins": "Enabled plugins",
"disabled-plugins": "Disabled plugins"
"disabled-plugins": "Disabled plugins",
"remove-logo": "Remove logo"
}

View File

@ -384,5 +384,6 @@
"search": "Search",
"search-plugins": "Search plugins",
"enabled-plugins": "Enabled plugins",
"disabled-plugins": "Disabled plugins"
"disabled-plugins": "Disabled plugins",
"remove-logo": "Remove logo"
}

View File

@ -385,5 +385,6 @@
"search": "Search",
"search-plugins": "Search plugins",
"enabled-plugins": "Enabled plugins",
"disabled-plugins": "Disabled plugins"
"disabled-plugins": "Disabled plugins",
"remove-logo": "Remove logo"
}

View File

@ -387,5 +387,6 @@
"search": "Search",
"search-plugins": "Search plugins",
"enabled-plugins": "Enabled plugins",
"disabled-plugins": "Disabled plugins"
"disabled-plugins": "Disabled plugins",
"remove-logo": "Remove logo"
}

View File

@ -386,5 +386,6 @@
"search": "Search",
"search-plugins": "Search plugins",
"enabled-plugins": "Enabled plugins",
"disabled-plugins": "Disabled plugins"
"disabled-plugins": "Disabled plugins",
"remove-logo": "Remove logo"
}

View File

@ -386,5 +386,6 @@
"search": "Search",
"search-plugins": "Search plugins",
"enabled-plugins": "Enabled plugins",
"disabled-plugins": "Disabled plugins"
"disabled-plugins": "Disabled plugins",
"remove-logo": "Remove logo"
}

View File

@ -385,5 +385,6 @@
"search": "Search",
"search-plugins": "Search plugins",
"enabled-plugins": "Enabled plugins",
"disabled-plugins": "Disabled plugins"
"disabled-plugins": "Disabled plugins",
"remove-logo": "Remove logo"
}

View File

@ -382,5 +382,6 @@
"search": "Buscar",
"search-plugins": "Buscar plugins",
"enabled-plugins": "Plugins activados",
"disabled-plugins": "Plugins descativados"
"disabled-plugins": "Plugins descativados",
"remove-logo": "Remover logo"
}

View File

@ -384,5 +384,6 @@
"search": "Search",
"search-plugins": "Search plugins",
"enabled-plugins": "Enabled plugins",
"disabled-plugins": "Disabled plugins"
"disabled-plugins": "Disabled plugins",
"remove-logo": "Remove logo"
}

View File

@ -384,5 +384,6 @@
"search": "Search",
"search-plugins": "Search plugins",
"enabled-plugins": "Enabled plugins",
"disabled-plugins": "Disabled plugins"
"disabled-plugins": "Disabled plugins",
"remove-logo": "Remove logo"
}

View File

@ -385,5 +385,6 @@
"search": "Search",
"search-plugins": "Search plugins",
"enabled-plugins": "Enabled plugins",
"disabled-plugins": "Disabled plugins"
"disabled-plugins": "Disabled plugins",
"remove-logo": "Remove logo"
}

View File

@ -385,5 +385,6 @@
"search": "Search",
"search-plugins": "Search plugins",
"enabled-plugins": "Enabled plugins",
"disabled-plugins": "Disabled plugins"
"disabled-plugins": "Disabled plugins",
"remove-logo": "Remove logo"
}

View File

@ -385,5 +385,6 @@
"search": "Search",
"search-plugins": "Search plugins",
"enabled-plugins": "Enabled plugins",
"disabled-plugins": "Disabled plugins"
"disabled-plugins": "Disabled plugins",
"remove-logo": "Remove logo"
}

View File

@ -384,5 +384,6 @@
"search": "Search",
"search-plugins": "Search plugins",
"enabled-plugins": "Enabled plugins",
"disabled-plugins": "Disabled plugins"
"disabled-plugins": "Disabled plugins",
"remove-logo": "Remove logo"
}

View File

@ -384,5 +384,6 @@
"search": "Search",
"search-plugins": "Search plugins",
"enabled-plugins": "Enabled plugins",
"disabled-plugins": "Disabled plugins"
"disabled-plugins": "Disabled plugins",
"remove-logo": "Remove logo"
}

View File

@ -385,5 +385,6 @@
"search": "Search",
"search-plugins": "Search plugins",
"enabled-plugins": "Enabled plugins",
"disabled-plugins": "Disabled plugins"
"disabled-plugins": "Disabled plugins",
"remove-logo": "Remove logo"
}

View File

@ -384,5 +384,6 @@
"search": "Search",
"search-plugins": "Search plugins",
"enabled-plugins": "Enabled plugins",
"disabled-plugins": "Disabled plugins"
"disabled-plugins": "Disabled plugins",
"remove-logo": "Remove logo"
}

View File

@ -382,5 +382,6 @@
"search": "Search",
"search-plugins": "Search plugins",
"enabled-plugins": "Enabled plugins",
"disabled-plugins": "Disabled plugins"
"disabled-plugins": "Disabled plugins",
"remove-logo": "Remove logo"
}

View File

@ -385,5 +385,6 @@
"search": "Search",
"search-plugins": "Search plugins",
"enabled-plugins": "Enabled plugins",
"disabled-plugins": "Disabled plugins"
"disabled-plugins": "Disabled plugins",
"remove-logo": "Remove logo"
}

View File

@ -385,5 +385,6 @@
"search": "Search",
"search-plugins": "Search plugins",
"enabled-plugins": "Enabled plugins",
"disabled-plugins": "Disabled plugins"
"disabled-plugins": "Disabled plugins",
"remove-logo": "Remove logo"
}

View File

@ -385,5 +385,6 @@
"search": "Search",
"search-plugins": "Search plugins",
"enabled-plugins": "Enabled plugins",
"disabled-plugins": "Disabled plugins"
"disabled-plugins": "Disabled plugins",
"remove-logo": "Remove logo"
}

View File

@ -384,5 +384,6 @@
"search": "Search",
"search-plugins": "Search plugins",
"enabled-plugins": "Enabled plugins",
"disabled-plugins": "Disabled plugins"
"disabled-plugins": "Disabled plugins",
"remove-logo": "Remove logo"
}

View File

@ -385,5 +385,6 @@
"search": "Search",
"search-plugins": "Search plugins",
"enabled-plugins": "Enabled plugins",
"disabled-plugins": "Disabled plugins"
"disabled-plugins": "Disabled plugins",
"remove-logo": "Remove logo"
}

View File

@ -385,5 +385,6 @@
"search": "Search",
"search-plugins": "Search plugins",
"enabled-plugins": "Enabled plugins",
"disabled-plugins": "Disabled plugins"
"disabled-plugins": "Disabled plugins",
"remove-logo": "Remove logo"
}

View File

@ -385,5 +385,6 @@
"search": "Search",
"search-plugins": "Search plugins",
"enabled-plugins": "Enabled plugins",
"disabled-plugins": "Disabled plugins"
"disabled-plugins": "Disabled plugins",
"remove-logo": "Remove logo"
}

View File

@ -384,5 +384,6 @@
"search": "Search",
"search-plugins": "Search plugins",
"enabled-plugins": "Enabled plugins",
"disabled-plugins": "Disabled plugins"
"disabled-plugins": "Disabled plugins",
"remove-logo": "Remove logo"
}

View File

@ -384,5 +384,6 @@
"search": "Search",
"search-plugins": "Search plugins",
"enabled-plugins": "Enabled plugins",
"disabled-plugins": "Disabled plugins"
"disabled-plugins": "Disabled plugins",
"remove-logo": "Remove logo"
}

View File

@ -384,5 +384,6 @@
"search": "Search",
"search-plugins": "Search plugins",
"enabled-plugins": "Enabled plugins",
"disabled-plugins": "Disabled plugins"
"disabled-plugins": "Disabled plugins",
"remove-logo": "Remove logo"
}

29
lang.php Normal file
View File

@ -0,0 +1,29 @@
<?php
$string = file_get_contents("bl-languages/en.json");
$english = json_decode($string, true);
$files = glob('bl-languages/*.{json}', GLOB_BRACE);
foreach ($files as $file) {
$out = $file;
$string = file_get_contents($out);
$spanish = json_decode($string, true);
$tmp = array();
$tmp['language-data'] = $spanish['language-data'];
$tmp['dates'] = $spanish['dates'];
if (isset($spanish['special-chars'])) {
$tmp['special-chars'] = $spanish['special-chars'];
}
foreach ($english as $key=>$value) {
if (isset($spanish[$key])) {
$tmp[$key] = $spanish[$key];
} else {
$tmp[$key] = $value;
}
}
$json = json_encode($tmp, JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT);
file_put_contents($out, $json);
}