git.p6c8.net
/
jirafeau_mojo42.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add warning when the file will be downloadable one time only
[jirafeau_mojo42.git]
/
lib
/
lang.php
diff --git
a/lib/lang.php
b/lib/lang.php
old mode 100755
(executable)
new mode 100644
(file)
index
b1265f8
..
89f890f
--- a/
lib/lang.php
+++ b/
lib/lang.php
@@
-1,7
+1,7
@@
<?php
\r
/*
\r
* Jirafeau, your web file repository
\r
<?php
\r
/*
\r
* Jirafeau, your web file repository
\r
- * Copyright (C) 201
2
Jerome Jutteau <j.jutteau@gmail.com>
\r
+ * Copyright (C) 201
5
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
*
\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
@@
-23,7
+23,7
@@
'fr' => 'Français');
\r
\r
/* Translation */
\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
{
\r
$cfg = $GLOBALS['cfg'];
\r
$languages_list = $GLOBALS['languages_list'];
\r
@@
-44,7
+44,7
@@
function _ ($text)
if ($found && strcmp ($l, "en"))
\r
{
\r
/* $tr is defined in this requirement. */
\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
\r
foreach ($tr as $o => $t)
\r
if (strcmp ($text, $o) == 0)
\r
@@
-54,4
+54,4
@@
function _ ($text)
return ($text);
\r
}
\r
\r
return ($text);
\r
}
\r
\r
-?>
\ No newline at end of file
+?>
\r
patrick-canterino.de