This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Console application, which adds textdomain argument | |
| * to all i18n function calls | |
| * | |
| * Adapted from: | |
| * http://develop.svn.wordpress.org/trunk/tools/i18n/add-textdomain.php | |
| * | |
| * Extended such that all text domains are replaced if found or added otherwise. | |
| * Also, double-quoted strings are replaced by single-quoted strings. |