mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-12-23 23:49:53 +01:00
Localize language setting in Profile
This commit is contained in:
parent
6ed88664d3
commit
53d8cce838
8
resources/js/langs/locales.js
vendored
8
resources/js/langs/locales.js
vendored
@ -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 »"
|
||||
|
@ -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' },
|
||||
]
|
||||
}
|
||||
},
|
||||
|
15
resources/lang/en/languages.php
Normal file
15
resources/lang/en/languages.php
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Language names
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
|
|
||||
*/
|
||||
|
||||
'en' => 'English',
|
||||
'fr' => 'French',
|
||||
];
|
15
resources/lang/fr/languages.php
Normal file
15
resources/lang/fr/languages.php
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Language names
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
|
|
||||
*/
|
||||
|
||||
'en' => 'Anglais',
|
||||
'fr' => 'Français',
|
||||
];
|
Loading…
Reference in New Issue
Block a user