Commit Graph

5 Commits

Author SHA1 Message Date
Dominik Schilling (ocean90) eefd9e3a4c i18n tools: Delete `data/not-gettexted-0-work.php`.
In NotGettextedTest this file is a copy of `data/not-gettexted-0.php` which will be removed after the test has finished.

git-svn-id: https://develop.svn.wordpress.org/trunk@31499 602fd350-edb4-49c9-b593-d223f7449a82
2015-02-22 12:55:34 +00:00
Dominik Schilling (ocean90) 684b992597 i18n tools: Improve support for multi-line comments in StringExtractor.
props SergeyBiryukov.
fixes #30972.

git-svn-id: https://develop.svn.wordpress.org/trunk@31498 602fd350-edb4-49c9-b593-d223f7449a82
2015-02-22 12:46:12 +00:00
Nikolay Bachiyski 04dd14f3b5 Extract: rename method `extract_entries` to `extract_from_code`
The other extract methods are named `extract_from_<something>`, this was
te only one, which wasn't.

Also, it was returning an instance of `Translations`,
not an array of entries, which the name suggested.


git-svn-id: https://develop.svn.wordpress.org/trunk@25920 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-26 00:54:27 +00:00
Scott Taylor 16ef2c2e36 Remove lingering instances of call time pass-by-reference, limited to instances of `callable` - use `$this` instead of `&$this`.
Props jdgrimes.
See #25160.



git-svn-id: https://develop.svn.wordpress.org/trunk@25254 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-05 16:33:50 +00:00
Andrew Nacin e89082c01a Import internationalization tools from i18n.svn.wordpress.org.
Imported from https://i18n.svn.wordpress.org/tools/trunk@22088.

see #24976.



git-svn-id: https://develop.svn.wordpress.org/trunk@25003 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-07 06:44:08 +00:00