aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-07-29 18:53:25 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-07-29 18:53:25 +1200
commit173699d5683605e72267b24a248085c2abccc38f (patch)
tree61e28ccdd9b57e0da1f353fc5d692da6e5fc4901 /web
parent4dc04ca89ccdc4a63a4c454baa3bb4bc58829951 (diff)
downloadtraccar-server-173699d5683605e72267b24a248085c2abccc38f.tar.gz
traccar-server-173699d5683605e72267b24a248085c2abccc38f.tar.bz2
traccar-server-173699d5683605e72267b24a248085c2abccc38f.zip
Rename Chinese language file
Diffstat (limited to 'web')
-rw-r--r--web/app.js4
-rw-r--r--web/l10n/zh.js (renamed from web/l10n/cn.js)0
2 files changed, 2 insertions, 2 deletions
diff --git a/web/app.js b/web/app.js
index ed04f3ece..c1fe8b0a6 100644
--- a/web/app.js
+++ b/web/app.js
@@ -20,7 +20,6 @@ Ext.Loader.setConfig({
{
var availableLanguages = {
- 'cn': '中文',
'de': 'Deutsch',
'en': 'English',
'es': 'Español',
@@ -28,7 +27,8 @@ Ext.Loader.setConfig({
'pl': 'Polski',
'pt': 'Português',
'ru': 'Русский',
- 'th': 'ไทย'
+ 'th': 'ไทย',
+ 'zh': '中文'
};
var language = Ext.Object.fromQueryString(window.location.search.substring(1)).locale;
diff --git a/web/l10n/cn.js b/web/l10n/zh.js
index cf76e4e35..cf76e4e35 100644
--- a/web/l10n/cn.js
+++ b/web/l10n/zh.js