Languages dictionaries updated
This commit is contained in:
parent
f0af06dbed
commit
d1f7e32885
@ -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"
|
||||
}
|
@ -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"
|
||||
}
|
@ -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"
|
||||
}
|
@ -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"
|
||||
}
|
@ -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"
|
||||
}
|
@ -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"
|
||||
}
|
@ -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"
|
||||
}
|
@ -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"
|
||||
}
|
@ -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"
|
||||
}
|
@ -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"
|
||||
}
|
@ -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"
|
||||
}
|
@ -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"
|
||||
}
|
@ -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"
|
||||
}
|
@ -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"
|
||||
}
|
@ -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"
|
||||
}
|
@ -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"
|
||||
}
|
@ -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"
|
||||
}
|
@ -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"
|
||||
}
|
@ -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"
|
||||
}
|
@ -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"
|
||||
}
|
@ -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"
|
||||
}
|
@ -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"
|
||||
}
|
@ -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"
|
||||
}
|
@ -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"
|
||||
}
|
@ -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"
|
||||
}
|
@ -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"
|
||||
}
|
@ -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"
|
||||
}
|
@ -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
29
lang.php
Normal 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);
|
||||
}
|
Loading…
Reference in New Issue
Block a user