mirror of https://github.com/keeweb/keeweb.git
migrate settings locale
This commit is contained in:
parent
c85b2c75f7
commit
a086a2f0e4
|
@ -60,6 +60,9 @@ const AppSettingsModel = Backbone.Model.extend({
|
|||
if (data.rememberKeyFiles === true) {
|
||||
data.rememberKeyFiles = 'data';
|
||||
}
|
||||
if (data.locale && data.locale.length > 2) {
|
||||
data.locale = data.locale.substr(0, 2);
|
||||
}
|
||||
},
|
||||
|
||||
save: function() {
|
||||
|
|
Loading…
Reference in New Issue