mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-18 08:19:05 +01:00
generate_lang_file.php : only ask translation for strings translated with __() function in LSaddons
This commit is contained in:
parent
b4a6243625
commit
6f6c6ecfec
1 changed files with 1 additions and 1 deletions
|
@ -256,7 +256,7 @@ find_and_parse_template_file(LS_LOCAL_DIR.LS_TEMPLATES_DIR);
|
|||
function parse_addon_file($file) {
|
||||
foreach(file($file) as $line) {
|
||||
$offset=0;
|
||||
while ($pos = strpos($line,'_(',$offset)) {
|
||||
while ($pos = strpos($line,'__(',$offset)) {
|
||||
$quote='';
|
||||
$res='';
|
||||
for ($i=$pos+2;$i<strlen($line);$i++) {
|
||||
|
|
Loading…
Reference in a new issue