From 7061fbc7ccad9696d97f59ef34830f42bfd35b77 Mon Sep 17 00:00:00 2001 From: Jerome Jutteau Date: Mon, 23 Mar 2015 18:28:22 +0100 Subject: [PATCH] lib/lang: make translation file names have a better pattern --- lib/lang.php | 2 +- lib/lang/{fr.php => lang_fr.php} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename lib/lang/{fr.php => lang_fr.php} (100%) diff --git a/lib/lang.php b/lib/lang.php index 86ffd4d..89f890f 100644 --- a/lib/lang.php +++ b/lib/lang.php @@ -44,7 +44,7 @@ function t ($text) if ($found && strcmp ($l, "en")) { /* $tr is defined in this requirement. */ - require (JIRAFEAU_ROOT . "lib/lang/$l.php"); + require (JIRAFEAU_ROOT . "lib/lang/lang_$l.php"); foreach ($tr as $o => $t) if (strcmp ($text, $o) == 0) diff --git a/lib/lang/fr.php b/lib/lang/lang_fr.php similarity index 100% rename from lib/lang/fr.php rename to lib/lang/lang_fr.php -- 2.34.1