Ticket #3687: with-desc.diff
| File with-desc.diff, 563 bytes (added by , 19 years ago) |
|---|
-
wp-includes/l10n.php
51 51 } 52 52 } 53 53 54 // Translatable string and its description, separated by | 55 function __withdesc($text, $domain = 'default') { 56 $whole = __($text, $domain); 57 $trans = explode('|', $whole, 2); 58 return $trans[0]; 59 } 60 61 function _ewithdesc($text, $domain = 'default') { 62 echo __withdesc($text, $domain); 63 } 64 54 65 function load_textdomain($domain, $mofile) { 55 66 global $l10n; 56 67