summaryrefslogtreecommitdiffstats
path: root/src/vueBootstrap.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/vueBootstrap.js')
-rw-r--r--src/vueBootstrap.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/vueBootstrap.js b/src/vueBootstrap.js
new file mode 100644
index 000000000..fec6f7a09
--- /dev/null
+++ b/src/vueBootstrap.js
@@ -0,0 +1,7 @@
+import Vue from 'vue'
+import { translate, translatePlural } from '@nextcloud/l10n'
+
+Vue.prototype.t = translate
+Vue.prototype.n = translatePlural
+Vue.prototype.OC = window.OC
+Vue.prototype.OCA = window.OCA \ No newline at end of file