diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-07-25 20:57:54 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-07-25 20:57:54 +1200 |
commit | 7cc1910db0f2cf88f75c80d05511e759d7641077 (patch) | |
tree | b3e01802795fac8fe743183c185d40aa583073f1 /web | |
parent | 5d70c533792397f9e2b7502ff44226d654866d64 (diff) | |
download | traccar-server-7cc1910db0f2cf88f75c80d05511e759d7641077.tar.gz traccar-server-7cc1910db0f2cf88f75c80d05511e759d7641077.tar.bz2 traccar-server-7cc1910db0f2cf88f75c80d05511e759d7641077.zip |
Add Chinese UI translation
Diffstat (limited to 'web')
-rw-r--r-- | web/app.js | 1 | ||||
-rw-r--r-- | web/l10n/cn.js | 68 |
2 files changed, 69 insertions, 0 deletions
diff --git a/web/app.js b/web/app.js index 22b5c6ad1..8ddceffce 100644 --- a/web/app.js +++ b/web/app.js @@ -20,6 +20,7 @@ Ext.Loader.setConfig({ { var available = { + 'cn': true, 'de': true, 'en': true, 'es': true, diff --git a/web/l10n/cn.js b/web/l10n/cn.js new file mode 100644 index 000000000..9e5227935 --- /dev/null +++ b/web/l10n/cn.js @@ -0,0 +1,68 @@ +var strings = { + shared_loading: '加载', + shared_save: '保存', + shared_cancel: '取消', + shared_add: '新建', + shared_edit: '编辑', + shared_remove: '移除', + shared_remove_confirm: '要移除选项吗?', + shared_km: '千米', + shared_mi: '海里', + + shared_kph: '千米/小时', + shared_mph: '每小时英里数', + error_title: '错误', + error_unknown: '未知错误', + + user_name: '名字', + user_email: '邮箱', + user_password: '密码', + user_admin: '管理员', + + login_title: '登录', + login_register: '注册', + login_login: '登录', + login_failed: '邮箱地址或密码不对', + + login_created: '新用户已经被注册了', + login_logout: '登出', + device_dialog: '设备', + device_title: '设备', + device_name: '名字', + device_identifier: '标识符', + + settings_title: '字符串', + settings_user: '账户', + settings_server: '服务器', + settings_users: '用户', + settings_distance_unit: '距离', + settings_speed_unit: '速度', + + report_title: '报表', + report_device: '设备', + report_from: '从。。。开始', + report_to: '到。。。。结束', + report_show: '显示', + report_clear: '清空', + + position_time: '时间', + position_valid: '有效', + position_latitude: '纬度', + position_longitude: '经度', + position_altitude: '海拔', + position_speed: '速度', + position_course: '航向', + position_address: '地址', + position_protocol: '协议', + server_title: '服务器设置', + server_zoom: '缩放', + server_registration: '注册', + + map_title: '地图', + map_layer: '地图图层', + map_osm: 'OpenStreetMap 地图', + map_bing: 'Bing 地图', + state_title: '状态', + state_name: '参数', + state_value: '数值' +}; |