Commit Graph

7 Commits

Author SHA1 Message Date
Sergey Biryukov
2b3bf48338 Fix strict notices in makepot.
props jdgrimes.
fixes #29254.

git-svn-id: https://develop.svn.wordpress.org/trunk@29563 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-21 02:53:16 +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
Nikolay Bachiyski
54e6261a34 Extract: _ and _c aren't among the common gettext function names
Let's just remove them from the default rules


git-svn-id: https://develop.svn.wordpress.org/trunk@25919 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-26 00:46:34 +00:00
Nikolay Bachiyski
97a7dfc936 Extract: add default rules
Two purposes:

 * Helps people, reading the code to have a better idea of the structure of the array
 * Reciprocity with `$comment_prefix`, which has a default value

See #25691


git-svn-id: https://develop.svn.wordpress.org/trunk@25918 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-26 00:45:16 +00:00
Nikolay Bachiyski
38f7bf86c6 Extract: add a phpdoc to clarify the class responsibility
First step towards making it do only one thing and cleaning it up


git-svn-id: https://develop.svn.wordpress.org/trunk@25917 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-26 00:41:34 +00:00
Nikolay Bachiyski
f9ff73dc61 Use correct path to src/
See #24976


git-svn-id: https://develop.svn.wordpress.org/trunk@25015 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-07 20:59:09 +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