From 0b4d36cbea9c31df8a952655b50b57a784ab0f10 Mon Sep 17 00:00:00 2001 From: RTAkland Date: Thu, 16 Dec 2021 22:27:53 +0800 Subject: [PATCH] feat: update language files --- res/lang/en_us.json | 27 ++++----------------------- res/lang/zh_cn.json | 27 ++++----------------------- 2 files changed, 8 insertions(+), 46 deletions(-) diff --git a/res/lang/en_us.json b/res/lang/en_us.json index b7df680..bdf20a4 100644 --- a/res/lang/en_us.json +++ b/res/lang/en_us.json @@ -15,27 +15,7 @@ "debug_done": "Execution completed.", "new_warning": "Get new disaster warning", "warning_updated": "Disaster warning has been updated", - "area": "Area", - "weather": "Weather", - "sender": "Sender Account", - "date": "Date", - "lowestTemp": "LowestTemp", - "highestTemp": "HighestTemp", - "wind_info": "WindSpeed/Level/Dir", - "humidity": "Humidity", - "uv_info": "UV", - "vis": "Visibility", - "pressure": "Pressure", - "cloud": "Cloud", - "subject_7": "7 Day's weather report", - "subject_3": "3 Day's weather report", - "subject_war": "Natural disaster warning", - "release_time": "Release time", - "early_warning": "Early warning", - "warning_status": "Warning status", - "warning_type": "Warning type", - "warning_duration": "Duration", - "wait_seconds": "Wait 61 seconds...", + "wait_seconds": "Wait 60 seconds...", "write_successfully": "Successfully written to the config file", "input_type_error": "Please check the input(q for quit).", "reading_the_file": "Reading file...", @@ -43,9 +23,10 @@ "input_a_city_name": "Choose a weather forecast area -> Input the city name to search.", "user_input": "You entered", "fill_the_config": "Fill the config file.", - "today": "Today", "current_profile": "Selected profile", "null_value": "Please do not enter a null value.", "no_result": "Nothing has searched.", - "config_file_read_successfully": "Read config file successfully." + "config_file_read_successfully": "Read config file successfully.", + "language_file_read_successfully": "Multi-language module load successfully", + "language_not_filled": "Language hasn't filled, default: zh_cn" } diff --git a/res/lang/zh_cn.json b/res/lang/zh_cn.json index 437b45b..8588ba6 100644 --- a/res/lang/zh_cn.json +++ b/res/lang/zh_cn.json @@ -15,27 +15,7 @@ "debug_done": "执行完成", "new_warning": "获取到新的灾害预警", "warning_updated": "灾害预警信息已更新", - "area": "地区", - "weather": "天气", - "sender": "发送者账号", - "date": "日期", - "lowestTemp": "最低气温", - "highestTemp": "最高气温", - "wind_info": "风速/级/向", - "humidity": "空气湿度", - "uv_info": "紫外线强度", - "vis": "能见度", - "pressure": "气压", - "cloud": "云量", - "subject_7": "7天天气预报", - "subject_3": "3天天气预报", - "subject_war": "自然灾害预报", - "release_time": "发布时间", - "early_warning": "预警", - "warning_status": "灾害状态", - "warning_type": "灾害类型", - "warning_duration": "持续时间", - "wait_seconds": "等待61秒...", + "wait_seconds": "等待60秒...", "write_successfully": "成功写入到配置文件", "input_type_error": "输入错误, 请重新输入(q 退出)", "reading_the_file": "读取文件中...", @@ -43,9 +23,10 @@ "input_a_city_name": "输入城市名搜索 -> 输入城市名进行搜索", "user_input": "你输入了", "fill_the_config": "填写配置文件", - "today": "今天", "current_profile": "已选择的配置文件", "null_value": "请不要输入空值", "no_result": "没有搜索到相关结果", - "config_file_read_successfully": "配置文件读取成功" + "config_file_read_successfully": "配置文件读取成功", + "language_file_read_successfully": "多语言模块加载成功", + "language_not_filled": "语言选项为填写完成或填写错误, 默认zh_cn" }