Changeset 10810 for trunk/wp-includes/pomo/po.php
- Timestamp:
- 03/18/2009 02:43:45 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/pomo/po.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/pomo/po.php
r10584 r10810 18 18 */ 19 19 class PO extends Translations { 20 20 21 21 22 22 /** … … 95 95 "$quote" => "$slash$quote", 96 96 ); 97 $string = str_replace(array_keys($replaces), array_values($replaces), $string); 97 $string = str_replace(array_keys($replaces), array_values($replaces), $string); 98 98 99 99 $po = array(); … … 112 112 113 113 /** 114 * Inserts $with in the beginning of every new line of $string and 114 * Inserts $with in the beginning of every new line of $string and 115 115 * returns the modified string 116 116 * … … 154 154 function export_entry(&$entry) { 155 155 if (is_null($entry->singular)) return false; 156 $po = array(); 156 $po = array(); 157 157 if (!empty($entry->translator_comments)) $po[] = PO::comment_block($entry->translator_comments); 158 158 if (!empty($entry->extracted_comments)) $po[] = PO::comment_block($entry->extracted_comments, '.');
Note: See TracChangeset
for help on using the changeset viewer.