diff options
-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: '数值' +}; |