Changeset 1367528
- Timestamp:
- 03/09/2016 12:03:26 PM (9 years ago)
- Location:
- polylang-theme-strings
- Files:
-
- 4 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
polylang-theme-strings/trunk/mw-polylang-theme-strings.php
r1335406 r1367528 5 5 Plugin URI: http://modeewine.com/en-polylang-theme-strings 6 6 Description: Automatic scanning of strings translation in the theme and registration of them in Polylang plugin. 7 Version: 2.2 7 Version: 2.2.1 8 8 Author: Modeewine 9 9 Author URI: http://modeewine.com … … 159 159 foreach($files as $v) 160 160 { 161 if (preg_match("/\/.*?\. (php|inc)$/uis", $v))161 if (preg_match("/\/.*?\.[a-z0-9]+$/uis", $v)) 162 162 { 163 163 preg_match_all("/\<\?.*?\?\>/uis", file_get_contents($v), $p); … … 167 167 foreach ($p[0] as $pv) 168 168 { 169 preg_match_all("/pll_[_e][\s]*\([\s]*[\'\"](.*?)[\'\"] [\s]*\)/uis", $pv, $m);169 preg_match_all("/pll_[_e][\s]*\([\s]*[\'\"](.*?)[\'\"].*?\)/uis", $pv, $m); 170 170 171 171 if (count($m[0])) -
polylang-theme-strings/trunk/readme.txt
r1335406 r1367528 5 5 Requires at least: 3.8 6 6 Tested up to: 4.4 7 Stable tag: 2.2 7 Stable tag: 2.2.1 8 8 License: GPL2 9 9 10 Extension for Polylang plugin 10 Automatic scanning and registration Polylang-strings that can be translated. Extension for Polylang plugin. 11 11 12 12 == Description == … … 48 48 == Changelog == 49 49 50 = 2.2.1 (2016-03-09) = 51 52 * Fixed small bug in search strings-translation. 53 50 54 = 2.2 (2016-01-25) = 51 55
Note: See TracChangeset
for help on using the changeset viewer.