default locale in settings

This commit is contained in:
antelle 2020-11-27 20:21:24 +01:00
parent 647ce573b0
commit 9994c87446
No known key found for this signature in database
GPG Key ID: 63C9777AAB7C563C
1 changed files with 3 additions and 0 deletions

View File

@ -21,6 +21,9 @@ class AppSettingsModel extends Model {
if (data.rememberKeyFiles === true) {
data.rememberKeyFiles = 'data';
}
if (data.locale === 'en') {
data.locale = 'en-US';
}
}
save() {