Use translation strings

This commit is contained in:
George Drummond 2019-04-12 16:00:17 -04:00
parent 3ab84ba6f4
commit 4514cca021
No known key found for this signature in database
GPG Key ID: 296DD6077123BF17
2 changed files with 18 additions and 2 deletions

View File

@ -15,10 +15,24 @@
<span v-on:click="props.toggle">{{ item_name }}</span> <span v-on:click="props.toggle">{{ item_name }}</span>
<template v-if="props.isVisible"> <template v-if="props.isVisible">
{{ ToggleItem("Hide", item_type, length, "caret_up") }} {{
ToggleItem(
("common.hide" | translate),
item_type,
length,
"caret_up",
)
}}
</template> </template>
<template v-else> <template v-else>
{{ ToggleItem("Show", item_type, length, "caret_down") }} {{
ToggleItem(
("common.show" | translate),
item_type,
length,
"caret_down",
)
}}
</template> </template>
</div> </div>
<div v-show="props.isVisible"> <div v-show="props.isVisible">

View File

@ -29,6 +29,8 @@ flash:
new_ppoc_title: Primary point of contact updated new_ppoc_title: Primary point of contact updated
new_ppoc_message: You have successfully added {ppoc_name} as the primary point of contact. You are no longer the PPoC. new_ppoc_message: You have successfully added {ppoc_name} as the primary point of contact. You are no longer the PPoC.
common: common:
hide: Hide
show: Show
back: Back back: Back
cancel: Cancel cancel: Cancel
confirm: Confirm confirm: Confirm