add translation

This commit is contained in:
Nitwel
2020-09-10 15:50:49 +02:00
parent dc2bb6f745
commit 398ecda5e5
2 changed files with 4 additions and 2 deletions

View File

@@ -52,7 +52,7 @@
{{ $t('other') }}
</button>
</template>
<v-button v-if="hideChoices" large @click="toggleAll">{{showAll ? 'Show less': 'Show all'}}</v-button>
<v-button v-if="hideChoices" large @click="toggleAll">{{$t(`interfaces.checkboxes.show_${showAll ? 'less' : 'all'}`) }}</v-button>
</div>
</template>

View File

@@ -4,7 +4,9 @@
"checkboxes": "Checkboxes",
"description": "Choose between multiple options via checkboxes.",
"allow_other": "Allow Other",
"enable_custom_values": "Enable custom values"
"enable_custom_values": "Enable custom values",
"show_all": "Show all",
"show_less": "Show less"
},
"code": {
"code": "Code",