Localize language setting in Profile

This commit is contained in:
Bubka 2020-02-27 09:37:23 +01:00
parent 6ed88664d3
commit 53d8cce838
4 changed files with 40 additions and 2 deletions

View File

@ -54,6 +54,10 @@ export default {
"Unable_to_decrypt_uri": "Unable to decrypt uri",
"wrong_current_password": "Wrong current password, nothing has changed"
},
"languages": {
"en": "English",
"fr": "French"
},
"pagination": {
"previous": "« Previous",
"next": "Next »"
@ -297,6 +301,10 @@ export default {
"Unable_to_decrypt_uri": "uri impossible à décoder",
"wrong_current_password": "Mot de passe actuel érroné, rien n\\a été modifié"
},
"languages": {
"en": "Anglais",
"fr": "Français"
},
"pagination": {
"previous": "« Précédent",
"next": "Suivant »"

View File

@ -20,8 +20,8 @@
lang: 'fr'
}),
options: [
{ text: 'en', value: 'en' },
{ text: 'fr', value: 'fr' },
{ text: this.$t('languages.en'), value: 'en' },
{ text: this.$t('languages.fr'), value: 'fr' },
]
}
},

View File

@ -0,0 +1,15 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Language names
|--------------------------------------------------------------------------
|
|
*/
'en' => 'English',
'fr' => 'French',
];

View File

@ -0,0 +1,15 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Language names
|--------------------------------------------------------------------------
|
|
*/
'en' => 'Anglais',
'fr' => 'Français',
];