Better english ... maybe

This commit is contained in:
Sébastien Lucas 2013-09-20 20:44:15 +02:00
parent a42cda521d
commit 9a857a8c6f

View file

@ -168,7 +168,7 @@ function localize($phrase, $count=-1) {
/* Load the language file as a JSON object and transform it into an associative array */ /* Load the language file as a JSON object and transform it into an associative array */
$translations = json_decode($lang_file_content, true); $translations = json_decode($lang_file_content, true);
/* Clean the array of all translations unfinished */ /* Clean the array of all unfinished translations */
foreach ($translations as $key => $val) { foreach ($translations as $key => $val) {
if (preg_match ("/^##TODO##/", $key)) { if (preg_match ("/^##TODO##/", $key)) {
unset ($translations [$key]); unset ($translations [$key]);