updated localization
This commit is contained in:
		
							parent
							
								
									6fab9502bb
								
							
						
					
					
						commit
						93ae3df82f
					
				
					 2 changed files with 297 additions and 198 deletions
				
			
		|  | @ -70,6 +70,12 @@ | ||||||
|   "term_behavior": { |   "term_behavior": { | ||||||
|     "message": "Behaviour" |     "message": "Behaviour" | ||||||
|   }, |   }, | ||||||
|  |   "term_analysis": { | ||||||
|  |     "message": "Analysis" | ||||||
|  |   }, | ||||||
|  |   "term_API_Key": { | ||||||
|  |     "message": "API Key" | ||||||
|  |   }, | ||||||
| 
 | 
 | ||||||
|   "settings_general_showApplicable": { |   "settings_general_showApplicable": { | ||||||
|     "message": "Show product's ratings in this extension's icon" |     "message": "Show product's ratings in this extension's icon" | ||||||
|  | @ -86,35 +92,68 @@ | ||||||
|   "settings_storage_description": { |   "settings_storage_description": { | ||||||
|     "message": "To speed up browsing, ShopAI stores information of the products you have previously visited. This information will be updated whenever the product's information has been changed. " |     "message": "To speed up browsing, ShopAI stores information of the products you have previously visited. This information will be updated whenever the product's information has been changed. " | ||||||
|   }, |   }, | ||||||
|  |   "settings_analysis_description": { | ||||||
|  |     "message": "ShopAI is powered by Google Gemini Pro to summarize the contents of the website and to provide a rating for the products. An API key by Google is required to use this feature. Usage of this feature is subject to Google's Terms and Conditions." | ||||||
|  |   }, | ||||||
|   "settings_storage_clear": { |   "settings_storage_clear": { | ||||||
|     "message": "Empty" |     "message": "Empty" | ||||||
|   }, |   }, | ||||||
|   "settings_filters_update": { |   "settings_filters_update": { | ||||||
|     "message": "Update" |     "message": "Update" | ||||||
|   }, |   }, | ||||||
|  |   "settings_filters_update_status": { | ||||||
|  |     "message": "Updating the filter at $filter_url$…", | ||||||
|  |     "placeholders": { | ||||||
|  |       "filter_url": { | ||||||
|  |         "content": "$1" | ||||||
|  |       } | ||||||
|  |     } | ||||||
|  |   }, | ||||||
|  |   "settings_filters_update_status_complete": { | ||||||
|  |     "message": "Updated the filter at $filter_url$.", | ||||||
|  |     "placeholders": { | ||||||
|  |       "filter_url": { | ||||||
|  |         "content": "$1" | ||||||
|  |       } | ||||||
|  |     } | ||||||
|  |   }, | ||||||
|  |   "settings_filters_update_status_failure": { | ||||||
|  |     "message": "Can not update the filter at $filter_url$ due to error $error_message$.", | ||||||
|  |     "placeholders": { | ||||||
|  |       "error_message": { | ||||||
|  |         "content": "$1" | ||||||
|  |       }, | ||||||
|  |       "filter_url": { | ||||||
|  |         "content": "$2" | ||||||
|  |       } | ||||||
|  |     } | ||||||
|  |   }, | ||||||
|  |   "settings_filters_update_stop": { | ||||||
|  |     "message": "No filters were updated as none were available." | ||||||
|  |   }, | ||||||
|   "settings_filters_open": { |   "settings_filters_open": { | ||||||
|     "message": "Edit" |     "message": "Edit" | ||||||
|   }, |   }, | ||||||
| 
 | 
 | ||||||
|   "error_msg": { |   "error_msg": { | ||||||
|     "message": "$ERROR_CODE$: $ERROR_MSG$", |     "message": "$error_code$: $error_msg$", | ||||||
|     "description": "The error message template", |     "description": "The error message template", | ||||||
|     "placeholders": { |     "placeholders": { | ||||||
|       "ERROR_CODE": { |       "error_code": { | ||||||
|         "content": "$1", |         "content": "$1", | ||||||
|         "description": "The error code" |         "description": "The error code" | ||||||
|       }, |       }, | ||||||
|       "ERROR_MSG": { |       "error_msg": { | ||||||
|         "content": "$2", |         "content": "$2", | ||||||
|         "description": "The error message" |         "description": "The error message" | ||||||
|       } |       } | ||||||
|     } |     } | ||||||
|   }, |   }, | ||||||
|   "error_msg_GUI": { |   "error_msg_GUI": { | ||||||
|     "message": "Unfortunately, an exception of type $ERROR_CODE$ has occured. Click OK to terminate the script.", |     "message": "Unfortunately, an exception of type $error_code$ has occured. Click OK to terminate the script.", | ||||||
|     "description": "The error message template for a full graphical UI", |     "description": "The error message template for a full graphical UI", | ||||||
|     "placeholders": { |     "placeholders": { | ||||||
|       "ERROR_CODE": { |       "error_code": { | ||||||
|         "content": "$1", |         "content": "$1", | ||||||
|         "description": "The error code" |         "description": "The error code" | ||||||
|       } |       } | ||||||
|  |  | ||||||
|  | @ -8,7 +8,7 @@ | ||||||
|     "description": "扩展程序的简介" |     "description": "扩展程序的简介" | ||||||
|   }, |   }, | ||||||
|   "GUI_welcome_headline": { |   "GUI_welcome_headline": { | ||||||
| 		"message": "欢迎使用购物人类智能!", |     "message": "欢迎使用《购物+人类智能》!", | ||||||
|     "description": "欢迎信息" |     "description": "欢迎信息" | ||||||
|   }, |   }, | ||||||
|   "GUI_welcome_version": { |   "GUI_welcome_version": { | ||||||
|  | @ -70,6 +70,9 @@ | ||||||
|   "term_behavior": { |   "term_behavior": { | ||||||
|     "message": "性能" |     "message": "性能" | ||||||
|   }, |   }, | ||||||
|  |   "term_API_Key": { | ||||||
|  |     "message": "API 密钥" | ||||||
|  |   }, | ||||||
| 
 | 
 | ||||||
|   "settings_general_showApplicable": { |   "settings_general_showApplicable": { | ||||||
|     "message": "在此扩展程序图标中显示产品评分" |     "message": "在此扩展程序图标中显示产品评分" | ||||||
|  | @ -86,13 +89,70 @@ | ||||||
|   "settings_storage_description": { |   "settings_storage_description": { | ||||||
|     "message": "为了加快浏览速度,《购物+人类智能》存储您以往访问过的产品信息。当产品信息发生变化时,此信息将被更新。" |     "message": "为了加快浏览速度,《购物+人类智能》存储您以往访问过的产品信息。当产品信息发生变化时,此信息将被更新。" | ||||||
|   }, |   }, | ||||||
|  |   "settings_analysis_description": { | ||||||
|  |     "message": "为了提高购物体验,我们会收集您的购物行为数据。" | ||||||
|  |   }, | ||||||
|   "settings_storage_clear": { |   "settings_storage_clear": { | ||||||
|     "message": "清空" |     "message": "清空" | ||||||
|   }, |   }, | ||||||
|   "settings_filters_update": { |   "settings_filters_update": { | ||||||
|     "message": "更新" |     "message": "更新" | ||||||
|   }, |   }, | ||||||
|  |   "settings_filters_update_status": { | ||||||
|  |     "message": "正在下载 $filter_url$ 的滤器…", | ||||||
|  |     "placeholders": { | ||||||
|  |       "filter_url": { | ||||||
|  |         "content": "$1" | ||||||
|  |       } | ||||||
|  |     } | ||||||
|  |   }, | ||||||
|  |   "settings_filters_update_status_complete": { | ||||||
|  |     "message": "更新过 $filter_url$ 的滤器…", | ||||||
|  |     "placeholders": { | ||||||
|  |       "filter_url": { | ||||||
|  |         "content": "$1" | ||||||
|  |       } | ||||||
|  |     } | ||||||
|  |   }, | ||||||
|  |   "settings_filters_update_status_failure": { | ||||||
|  |     "message": "更新 $filter_url$ 的滤器失败:$error_msg$", | ||||||
|  |     "placeholders": { | ||||||
|  |       "error_msg": { | ||||||
|  |         "content": "$1" | ||||||
|  |       }, | ||||||
|  |       "filter_url": { | ||||||
|  |         "content": "$2" | ||||||
|  |       } | ||||||
|  |     } | ||||||
|  |   }, | ||||||
|  |   "settings_filters_update_stop": { | ||||||
|  |     "message": "无法更新因为没有滤器。" | ||||||
|  |   }, | ||||||
|   "settings_filters_open": { |   "settings_filters_open": { | ||||||
|     "message": "编辑" |     "message": "编辑" | ||||||
|  |   }, | ||||||
|  |   "error_msg": { | ||||||
|  |     "message": "错误 $error_code$: $error_msg$", | ||||||
|  |     "description": "错误信息模板", | ||||||
|  |     "placeholders": { | ||||||
|  |       "error_code": { | ||||||
|  |         "content": "$1", | ||||||
|  |         "description": "错误代码" | ||||||
|  |       }, | ||||||
|  |       "error_msg": { | ||||||
|  |         "content": "$2", | ||||||
|  |         "description": "错误信息" | ||||||
|  |       } | ||||||
|  |     } | ||||||
|  |   }, | ||||||
|  |   "error_msg_GUI": { | ||||||
|  |     "message": "太不巧了,出现了 $error_code$ 样子的错误。请选择“好”停止此扩展程序。", | ||||||
|  |     "description": "错误信息模板", | ||||||
|  |     "placeholders": { | ||||||
|  |       "error_code": { | ||||||
|  |         "content": "$1", | ||||||
|  |         "description": "错误代码" | ||||||
|  |       } | ||||||
|  |     } | ||||||
|   } |   } | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue