X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/2dc4984ad57dfcb0ded829bfc9d45493484fe6e3..a6ef005d53f74e9cda461cddc787860764bdc221:/lib/lang.php diff --git a/lib/lang.php b/lib/lang.php index c3f9485..45b1a2e 100644 --- a/lib/lang.php +++ b/lib/lang.php @@ -17,30 +17,10 @@ * 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 "FIX ME: " . $string_id;