X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/2dc4984ad57dfcb0ded829bfc9d45493484fe6e3..99654945abe0960c5c4f134a919c53ce46a594b5:/lib/lang.php?ds=sidebyside

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 <https://www.gnu.org/licenses/>.
  */
 
-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;