mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 14:33:49 +01:00
generate_lang_file.php : do not ask translation of already gettext translated strings
This commit is contained in:
parent
24aa3412a7
commit
397048793e
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ if ($argc > 1) {
|
||||||
$data=array();
|
$data=array();
|
||||||
|
|
||||||
function add($msg) {
|
function add($msg) {
|
||||||
if ($msg!='') {
|
if ($msg!='' && _($msg) == "$msg") {
|
||||||
global $data, $translations;
|
global $data, $translations;
|
||||||
$data[$msg]=$translations[$msg];
|
$data[$msg]=$translations[$msg];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue