diff options
Diffstat (limited to 'js/view/l10n.vue')
-rw-r--r-- | js/view/l10n.vue | 14 |
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> |