Ignore:
Timestamp:
Dec 20, 2013, 4:45:57 PM (10 years ago)
Author:
mistic100
Message:

minor gui improvments + parse get_l10n_args

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/plugin_lang_analysis/include/functions.inc.php

    r25677 r26059  
    155155      }
    156156    }
     157    // l10n_args
     158    if (preg_match_all('#get_l10n_args\((?:\s*)(?:["\']{1})(.*?)(?:["\']{1})#', $line, $matches))
     159    {
     160      for ($j=0; $j<count($matches[1]); ++$j)
     161      {
     162        $strings[ stripslashes($matches[1][$j]) ][] = $i+1;
     163      }
     164    }
    157165  }
    158166 
Note: See TracChangeset for help on using the changeset viewer.