<?php\r
/*\r
* Jirafeau, your web file repository\r
- * Copyright (C) 2012 Jerome Jutteau <j.jutteau@gmail.com>\r
+ * Copyright (C) 2015 Jerome Jutteau <j.jutteau@gmail.com>\r
*\r
* This program is free software: you can redistribute it and/or modify\r
* it under the terms of the GNU Affero General Public License as\r
'fr' => 'Français');\r
\r
/* Translation */\r
-function _ ($text)\r
+function t ($text)\r
{\r
$cfg = $GLOBALS['cfg'];\r
$languages_list = $GLOBALS['languages_list'];\r
if ($found && strcmp ($l, "en"))\r
{\r
/* $tr is defined in this requirement. */\r
- require (JIRAFEAU_ROOT . "lib/lang/$l.php");\r
+ require (JIRAFEAU_ROOT . "lib/lang/lang_$l.php");\r
\r
foreach ($tr as $o => $t)\r
if (strcmp ($text, $o) == 0)\r
return ($text);\r
}\r
\r
-?>
\ No newline at end of file
+?>\r