| 1 |
<?php |
| 2 |
|
| 3 |
// Start of gettext v. |
| 4 |
|
| 5 |
/** |
| 6 |
* Sets the default domain |
| 7 |
* @link http://www.php.net/manual/en/function.textdomain.php |
| 8 |
* @param text_domain string <p> |
| 9 |
* The new message domain, or &null; to get the current setting without |
| 10 |
* changing it |
| 11 |
* </p> |
| 12 |
* @return string If successful, this function returns the current message |
| 13 |
* domain, after possibly changing it. |
| 14 |
*/ |
| 15 |
function textdomain ($text_domain) {} |
| 16 |
|
| 17 |
/** |
| 18 |
* Lookup a message in the current domain |
| 19 |
* @link http://www.php.net/manual/en/function.gettext.php |
| 20 |
* @param message string <p> |
| 21 |
* The message being translated. |
| 22 |
* </p> |
| 23 |
* @return string a translated string if one is found in the |
| 24 |
* translation table, or the submitted message if not found. |
| 25 |
*/ |
| 26 |
function gettext ($message) {} |
| 27 |
|
| 28 |
/** |
| 29 |
* @param msgid |
| 30 |
*/ |
| 31 |
function _ ($msgid) {} |
| 32 |
|
| 33 |
/** |
| 34 |
* Override the current domain |
| 35 |
* @link http://www.php.net/manual/en/function.dgettext.php |
| 36 |
* @param domain string <p> |
| 37 |
* The domain |
| 38 |
* </p> |
| 39 |
* @param message string <p> |
| 40 |
* The message |
| 41 |
* </p> |
| 42 |
* @return string A string on success. |
| 43 |
*/ |
| 44 |
function dgettext ($domain, $message) {} |
| 45 |
|
| 46 |
/** |
| 47 |
* Overrides the domain for a single lookup |
| 48 |
* @link http://www.php.net/manual/en/function.dcgettext.php |
| 49 |
* @param domain string <p> |
| 50 |
* The domain |
| 51 |
* </p> |
| 52 |
* @param message string <p> |
| 53 |
* The message |
| 54 |
* </p> |
| 55 |
* @param category int <p> |
| 56 |
* The category |
| 57 |
* </p> |
| 58 |
* @return string A string on success. |
| 59 |
*/ |
| 60 |
function dcgettext ($domain, $message, $category) {} |
| 61 |
|
| 62 |
/** |
| 63 |
* Sets the path for a domain |
| 64 |
* @link http://www.php.net/manual/en/function.bindtextdomain.php |
| 65 |
* @param domain string <p> |
| 66 |
* The domain |
| 67 |
* </p> |
| 68 |
* @param directory string <p> |
| 69 |
* The directory path |
| 70 |
* </p> |
| 71 |
* @return string The full pathname for the domain currently being set. |
| 72 |
*/ |
| 73 |
function bindtextdomain ($domain, $directory) {} |
| 74 |
|
| 75 |
/** |
| 76 |
* Plural version of gettext |
| 77 |
* @link http://www.php.net/manual/en/function.ngettext.php |
| 78 |
* @param msgid1 string <p> |
| 79 |
* </p> |
| 80 |
* @param msgid2 string <p> |
| 81 |
* </p> |
| 82 |
* @param n int <p> |
| 83 |
* </p> |
| 84 |
* @return string correct plural form of message identified by |
| 85 |
* msgid1 and msgid2 |
| 86 |
* for count n. |
| 87 |
*/ |
| 88 |
function ngettext ($msgid1, $msgid2, $n) {} |
| 89 |
|
| 90 |
/** |
| 91 |
* Plural version of dgettext |
| 92 |
* @link http://www.php.net/manual/en/function.dngettext.php |
| 93 |
* @param domain string <p> |
| 94 |
* The domain |
| 95 |
* </p> |
| 96 |
* @param msgid1 string <p> |
| 97 |
* </p> |
| 98 |
* @param msgid2 string <p> |
| 99 |
* </p> |
| 100 |
* @param n int <p> |
| 101 |
* </p> |
| 102 |
* @return string A string on success. |
| 103 |
*/ |
| 104 |
function dngettext ($domain, $msgid1, $msgid2, $n) {} |
| 105 |
|
| 106 |
/** |
| 107 |
* Plural version of dcgettext |
| 108 |
* @link http://www.php.net/manual/en/function.dcngettext.php |
| 109 |
* @param domain string <p> |
| 110 |
* The domain |
| 111 |
* </p> |
| 112 |
* @param msgid1 string <p> |
| 113 |
* </p> |
| 114 |
* @param msgid2 string <p> |
| 115 |
* </p> |
| 116 |
* @param n int <p> |
| 117 |
* </p> |
| 118 |
* @param category int <p> |
| 119 |
* </p> |
| 120 |
* @return string A string on success. |
| 121 |
*/ |
| 122 |
function dcngettext ($domain, $msgid1, $msgid2, $n, $category) {} |
| 123 |
|
| 124 |
/** |
| 125 |
* Specify the character encoding in which the messages from the DOMAIN message catalog will be returned |
| 126 |
* @link http://www.php.net/manual/en/function.bind-textdomain-codeset.php |
| 127 |
* @param domain string <p> |
| 128 |
* The domain |
| 129 |
* </p> |
| 130 |
* @param codeset string <p> |
| 131 |
* The code set |
| 132 |
* </p> |
| 133 |
* @return string A string on success. |
| 134 |
*/ |
| 135 |
function bind_textdomain_codeset ($domain, $codeset) {} |
| 136 |
|
| 137 |
// End of gettext v. |
| 138 |
?> |