Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/twofactor_gateway.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'js/view/l10n.vue')
-rw-r--r--js/view/l10n.vue14
1 files changed, 14 insertions, 0 deletions
diff --git a/js/view/l10n.vue b/js/view/l10n.vue
new file mode 100644
index 0000000..16b39a1
--- /dev/null
+++ b/js/view/l10n.vue
@@ -0,0 +1,14 @@
+<template>
+ <span>{{ translated }}</span>
+</template>
+
+<script>
+export default {
+ computed: {
+ translated: function() {
+ return t("twofactor_sms", this.text, this.options || {});
+ }
+ },
+ props: ["text", "options"]
+};
+</script>