aboutsummaryrefslogtreecommitdiff
path: root/resources/vue-gettext.d.ts
diff options
context:
space:
mode:
authorMarcus Eibrink-Lunzenauer <lunzenauer@elan-ev.de>2024-01-23 07:41:52 +0000
committerMarcus Eibrink-Lunzenauer <lunzenauer@elan-ev.de>2024-01-23 07:41:52 +0000
commit1728bc517691b3d0dde5ccdf0c0631ff1b855b6d (patch)
treef3ad972dc584dc70c4817405d616558cc1a55061 /resources/vue-gettext.d.ts
parent9750421a650a4e4980a1286212661a87eb92905b (diff)
Courseware Aufgaben erweitern (StEP3286)
Merge request studip/studip!2445
Diffstat (limited to 'resources/vue-gettext.d.ts')
-rw-r--r--resources/vue-gettext.d.ts17
1 files changed, 17 insertions, 0 deletions
diff --git a/resources/vue-gettext.d.ts b/resources/vue-gettext.d.ts
new file mode 100644
index 0000000..b3f4c66
--- /dev/null
+++ b/resources/vue-gettext.d.ts
@@ -0,0 +1,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;
+}