X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/a1bcc5b88c09dcbbfb2f2ad0d509d32731ff04c3..e241fa83a4cbd131f0a98305c5b4686cc37ebd1a:/lib/lang.php?ds=inline

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 <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 "";
+            return "FIX ME: " . $string_id;
         }
     }
     return $r;