2019-08-10 22:39:25 +08:00
|
|
|
<?php
|
|
|
|
|
2021-02-09 03:08:11 +08:00
|
|
|
/** @generate-class-entries */
|
2020-04-05 05:51:10 +08:00
|
|
|
|
2021-08-25 21:29:46 +08:00
|
|
|
/** @refcount 1 */
|
2024-03-03 19:53:49 +08:00
|
|
|
function textdomain(?string $domain = null): string {}
|
2019-08-10 22:39:25 +08:00
|
|
|
|
2021-08-25 21:29:46 +08:00
|
|
|
/** @refcount 1 */
|
2020-09-30 04:38:27 +08:00
|
|
|
function gettext(string $message): string {}
|
2019-08-10 22:39:25 +08:00
|
|
|
|
2020-04-05 05:51:10 +08:00
|
|
|
/** @alias gettext */
|
2020-09-30 04:38:27 +08:00
|
|
|
function _(string $message): string {}
|
2020-04-05 05:51:10 +08:00
|
|
|
|
2021-08-25 21:29:46 +08:00
|
|
|
/** @refcount 1 */
|
2020-09-30 04:38:27 +08:00
|
|
|
function dgettext(string $domain, string $message): string {}
|
2019-08-10 22:39:25 +08:00
|
|
|
|
2021-08-25 21:29:46 +08:00
|
|
|
/** @refcount 1 */
|
2020-09-30 04:38:27 +08:00
|
|
|
function dcgettext(string $domain, string $message, int $category): string {}
|
2019-08-10 22:39:25 +08:00
|
|
|
|
2021-08-25 21:29:46 +08:00
|
|
|
/** @refcount 1 */
|
2024-03-03 19:53:49 +08:00
|
|
|
function bindtextdomain(string $domain, ?string $directory = null): string|false {}
|
2019-08-10 22:39:25 +08:00
|
|
|
|
2020-05-13 05:19:30 +08:00
|
|
|
#ifdef HAVE_NGETTEXT
|
2021-08-25 21:29:46 +08:00
|
|
|
/** @refcount 1 */
|
2020-09-30 04:38:27 +08:00
|
|
|
function ngettext(string $singular, string $plural, int $count): string {}
|
2019-08-10 22:39:25 +08:00
|
|
|
#endif
|
|
|
|
|
2020-05-13 05:19:30 +08:00
|
|
|
#ifdef HAVE_DNGETTEXT
|
2021-08-25 21:29:46 +08:00
|
|
|
/** @refcount 1 */
|
2020-09-30 04:38:27 +08:00
|
|
|
function dngettext(string $domain, string $singular, string $plural, int $count): string {}
|
2019-08-10 22:39:25 +08:00
|
|
|
#endif
|
|
|
|
|
2020-05-13 05:19:30 +08:00
|
|
|
#ifdef HAVE_DCNGETTEXT
|
2021-08-25 21:29:46 +08:00
|
|
|
/** @refcount 1 */
|
2020-09-30 04:38:27 +08:00
|
|
|
function dcngettext(string $domain, string $singular, string $plural, int $count, int $category): string {}
|
2019-08-10 22:39:25 +08:00
|
|
|
#endif
|
|
|
|
|
2020-05-13 05:19:30 +08:00
|
|
|
#ifdef HAVE_BIND_TEXTDOMAIN_CODESET
|
2021-08-25 21:29:46 +08:00
|
|
|
/** @refcount 1 */
|
2024-03-03 19:53:49 +08:00
|
|
|
function bind_textdomain_codeset(string $domain, ?string $codeset = null): string|false {}
|
2019-08-10 22:39:25 +08:00
|
|
|
#endif
|