X-Git-Url: https://git.p6c8.net/jirafeau_project.git/blobdiff_plain/a1bcc5b88c09dcbbfb2f2ad0d509d32731ff04c3..cadde9373fc63be94f5d835fa944a5a93862a31a:/lib/lang.php diff --git a/lib/lang.php b/lib/lang.php index 1af1259..45b1a2e 100644 --- a/lib/lang.php +++ b/lib/lang.php @@ -17,33 +17,13 @@ * along with this program. If not, see . */ -global $languages_list; -$languages_list = array('auto' => 'Automatic', - 'de' => 'Deutsch', - 'en' => 'English', - 'el' => 'Ελληνικά', - 'es' => 'Español', - 'hu' => 'Magyar', - 'fi' => 'Suomi', - 'fr' => 'Français', - 'it' => 'Italiano', - 'nl' => 'Nederlands', - 'pl' => 'Polszczyzna', - 'pt' => 'português', - 'pt_BR' => 'português (Brasil)', - 'ro' => 'Limba română', - 'ru' => 'ру́сский', - 'sk' => 'Slovenčina', - 'tr' => 'Türkçe', - 'zh' => '汉语'); - function t($string_id) { $r = t_in($string_id, t_select_lang()); - if ($r === false) { + if ($r === false || $r === "") { $r = t_in($string_id, "en"); if ($r === false) { - return ""; + return "FIX ME: " . $string_id; } } return $r;