aboutsummaryrefslogtreecommitdiff
path: root/resources/vue-gettext.d.ts
blob: b3f4c6611cb250c2f9bf0f020cb43ab7439f9ac3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
declare module "vue-gettext" {
    import GettextPlugin from 'vue-gettext';

    declare namespace translate {
        function getTranslation(msgid: any, n?: number, context?: any, defaultPlural?: any, language?: string): any;
        function gettext(msgid: any, language?: string): any;
        function pgettext(context: any, msgid: any, language?: string): any;
        function ngettext(msgid: any, plural: any, n: any, language?: string): any;
        function npgettext(context: any, msgid: any, plural: any, n: any, language?: string): any;
        function initTranslations(translations: any, config: any): void;
        const gettextInterpolate: any;
    }

    export { translate };

    export default GettextPlugin;
}