Skip to content

Commit

Permalink
For #148 #141 - fixed incorrect 'default' locale processing in mobile UI
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalidze committed Apr 21, 2015
1 parent e784101 commit ee39288
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/webapp/m/js/traccar-mobile.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ var locale = getParameterByName("locale");
if (locale === null) {
locale = readCookie('GWT_LOCALE');
}
if (locale === null) {
if (locale === null || locale == 'default') {
locale = 'en';
}
i18n = i18n[locale];
Expand Down

0 comments on commit ee39288

Please sign in to comment.