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
Andrew Nacin
58dc8ab25c
i18n tools: Have makepot search for the main file of the plugin.
...
props Otto42.
fixes #25665 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27399 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-04 21:06:48 +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
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
d6cac0502c
i18n Tools: Update the default msgid-bugs-address. see #21444 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25096 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-22 22:07:08 +00:00
Andrew Nacin
790938d31b
i18n Tools: Update msgid-bugs-address for plugins and themes in POT files.
...
props convissor, fixes #21444 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25095 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-22 22:06:16 +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