Bug: Fix translated keys for availability statuses in Greek (#1050)
This commit is contained in:
parent
d5a6f5e352
commit
196741d975
2 changed files with 6 additions and 7 deletions
|
@ -52,15 +52,15 @@
|
||||||
"LABEL": "Διαθεσιμότητα",
|
"LABEL": "Διαθεσιμότητα",
|
||||||
"STATUSES_LIST": [
|
"STATUSES_LIST": [
|
||||||
{
|
{
|
||||||
"value": "στη γραμμή",
|
"value": "online",
|
||||||
"label": "Στην Γραμμή"
|
"label": "Στην Γραμμή"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"value": "απασχολημένος",
|
"value": "busy",
|
||||||
"label": "Απασχολημένος"
|
"label": "Απασχολημένος"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"value": "εκτός",
|
"value": "offline",
|
||||||
"label": "Εκτός"
|
"label": "Εκτός"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -42,7 +42,9 @@
|
||||||
{{ $t('PROFILE_SETTINGS.FORM.AVAILABILITY.LABEL') }}
|
{{ $t('PROFILE_SETTINGS.FORM.AVAILABILITY.LABEL') }}
|
||||||
<select v-model="availability">
|
<select v-model="availability">
|
||||||
<option
|
<option
|
||||||
v-for="status in availabilityStatuses"
|
v-for="status in $t(
|
||||||
|
'PROFILE_SETTINGS.FORM.AVAILABILITY.STATUSES_LIST'
|
||||||
|
)"
|
||||||
:key="status.key"
|
:key="status.key"
|
||||||
class="text-capitalize"
|
class="text-capitalize"
|
||||||
:value="status.value"
|
:value="status.value"
|
||||||
|
@ -133,9 +135,6 @@ export default {
|
||||||
passwordConfirmation: '',
|
passwordConfirmation: '',
|
||||||
availability: 'online',
|
availability: 'online',
|
||||||
isUpdating: false,
|
isUpdating: false,
|
||||||
availabilityStatuses: this.$t(
|
|
||||||
'PROFILE_SETTINGS.FORM.AVAILABILITY.STATUSES_LIST'
|
|
||||||
),
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
validations: {
|
validations: {
|
||||||
|
|
Loading…
Reference in a new issue