generate_lang_file.php : do not ask translation of already gettext translated strings

This commit is contained in:
Benjamin Renard 2015-08-21 12:10:23 +02:00
parent 24aa3412a7
commit 397048793e

View file

@ -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];
} }