mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 22:43:47 +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) {
|
function parse_addon_file($file) {
|
||||||
foreach(file($file) as $line) {
|
foreach(file($file) as $line) {
|
||||||
$offset=0;
|
$offset=0;
|
||||||
while ($pos = strpos($line,'_(',$offset)) {
|
while ($pos = strpos($line,'__(',$offset)) {
|
||||||
$quote='';
|
$quote='';
|
||||||
$res='';
|
$res='';
|
||||||
for ($i=$pos+2;$i<strlen($line);$i++) {
|
for ($i=$pos+2;$i<strlen($line);$i++) {
|
||||||
|
|
Loading…
Reference in a new issue