This commit is contained in:
Lilith 2024-06-13 00:09:21 +02:00
parent eddf7cecb8
commit aea798d119
Signed by: lilith
GPG key ID: 8712A0F317C37175
16631 changed files with 1480363 additions and 257 deletions

42
home/ags/node_modules/@girs/gjs/gettext.d.ts generated vendored Normal file
View file

@ -0,0 +1,42 @@
export enum LocaleCategory {
ALL,
COLLATE,
CTYPE,
MESSAGES,
MONETARY,
NUMERIC,
TIME,
}
export function setlocale(category: number, locale: string | null): string
export function textdomain(domainname: string | null): string
export function bindtextdomain(domainname: string, dirname: string | null): string
export function gettext(msgid: string): string
export function dgettext(domainname: string | null, msgid: string): string
export function dcgettext(domainname: string | null, msgid: string, category: number): string
export function ngettext(msgid: string, msgid_plural: string, n: number): string
export function dngettext(domainname: string, msgid: string, msgid_plural: string, n: number): string
export function pgettext(context: string, msgid: string): string
export function dpgettext(dom: string | null, context: string, msgid: string): string
export function domain(domainName: string): {
gettext: (msgid: string) => string
ngettext: (msgid: string, msgid_plural: string, n: number) => string
pgettext: (context: string, msgid: string) => string
}
declare const Gettext: {
LocaleCategory: typeof LocaleCategory,
setlocale: typeof setlocale,
textdomain: typeof textdomain,
bindtextdomain: typeof bindtextdomain,
gettext: typeof gettext,
dgettext: typeof dgettext,
dcgettext: typeof dcgettext,
ngettext: typeof ngettext,
dngettext: typeof dngettext,
pgettext: typeof pgettext,
dpgettext: typeof dpgettext,
domain: typeof domain,
}
export default Gettext