Bug: Fix translated keys for availability statuses in Greek (#1050)

This commit is contained in:
Pranav Raj S 2020-07-15 22:55:57 +05:30 committed by GitHub
parent d5a6f5e352
commit 196741d975
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 7 deletions

View file

@ -52,15 +52,15 @@
"LABEL": "Διαθεσιμότητα",
"STATUSES_LIST": [
{
"value": "στη γραμμή",
"value": "online",
"label": "Στην Γραμμή"
},
{
"value": "απασχολημένος",
"value": "busy",
"label": "Απασχολημένος"
},
{
"value": "εκτός",
"value": "offline",
"label": "Εκτός"
}
]

View file

@ -42,7 +42,9 @@
{{ $t('PROFILE_SETTINGS.FORM.AVAILABILITY.LABEL') }}
<select v-model="availability">
<option
v-for="status in availabilityStatuses"
v-for="status in $t(
'PROFILE_SETTINGS.FORM.AVAILABILITY.STATUSES_LIST'
)"
:key="status.key"
class="text-capitalize"
:value="status.value"
@ -133,9 +135,6 @@ export default {
passwordConfirmation: '',
availability: 'online',
isUpdating: false,
availabilityStatuses: this.$t(
'PROFILE_SETTINGS.FORM.AVAILABILITY.STATUSES_LIST'
),
};
},
validations: {