Several hard coded strings fixed.

This commit is contained in:
Marvin Rabe
2018-05-01 14:34:58 +02:00
parent 5faf00d489
commit f93822b0b3
4 changed files with 7 additions and 4 deletions

View File

@@ -5,7 +5,7 @@
form form
h2(v-once) {{ $t('filter') }} h2(v-once) {{ $t('filter') }}
.form-group .form-group
h3 Category h3 {{ $t('category') }}
.form-check( .form-check(
v-for="group in categoryOptions", v-for="group in categoryOptions",
:key="group.key", :key="group.key",
@@ -14,7 +14,7 @@
input.custom-control-input(type="checkbox", :value='group.key' v-model="categoryFilters", :id="group.key") input.custom-control-input(type="checkbox", :value='group.key' v-model="categoryFilters", :id="group.key")
label.custom-control-label(v-once, :for="group.key") {{ $t(group.label) }} label.custom-control-label(v-once, :for="group.key") {{ $t(group.label) }}
.form-group(v-if='$route.name !== "findChallenges"') .form-group(v-if='$route.name !== "findChallenges"')
h3 Membership h3 {{ $t('membership') }}
.form-check( .form-check(
v-for="group in roleOptions", v-for="group in roleOptions",
:key="group.key", :key="group.key",
@@ -23,7 +23,7 @@
input.custom-control-input(type="checkbox", :value='group.key' v-model="roleFilters", :id="group.key") input.custom-control-input(type="checkbox", :value='group.key' v-model="roleFilters", :id="group.key")
label.custom-control-label(v-once, :for="group.key") {{ $t(group.label) }} label.custom-control-label(v-once, :for="group.key") {{ $t(group.label) }}
.form-group .form-group
h3 Ownership h3 {{ $t('ownership') }}
.form-check( .form-check(
v-for="group in ownershipOptions", v-for="group in ownershipOptions",
:key="group.key", :key="group.key",

View File

@@ -47,7 +47,7 @@
label.custom-control-label(v-once, :for="mountGroup.key") {{ mountGroup.label }} label.custom-control-label(v-once, :for="mountGroup.key") {{ mountGroup.label }}
div.form-group.clearfix div.form-group.clearfix
h3.float-left Hide Missing h3.float-left {{ $t('hideMissing') }}
toggle-switch.float-right( toggle-switch.float-right(
:checked="hideMissing", :checked="hideMissing",
@change="updateHideMissing" @change="updateHideMissing"

View File

@@ -25,7 +25,9 @@
"filter": "Filter", "filter": "Filter",
"groups": "Groups", "groups": "Groups",
"noNone": "None", "noNone": "None",
"category": "Category",
"membership": "Membership", "membership": "Membership",
"ownership": "Ownership",
"participating": "Participating", "participating": "Participating",
"notParticipating": "Not Participating", "notParticipating": "Not Participating",
"either": "Either", "either": "Either",

View File

@@ -53,6 +53,7 @@
"featuredItems": "Featured Items!", "featuredItems": "Featured Items!",
"hideLocked": "Hide locked", "hideLocked": "Hide locked",
"hidePinned": "Hide pinned", "hidePinned": "Hide pinned",
"hideMissing": "Hide Missing",
"amountExperience": "<%= amount %> Experience", "amountExperience": "<%= amount %> Experience",
"amountGold": "<%= amount %> Gold", "amountGold": "<%= amount %> Gold",
"namedHatchingPotion": "<%= type %> Hatching Potion", "namedHatchingPotion": "<%= type %> Hatching Potion",