add localization
This commit is contained in:
		
							parent
							
								
									8f0f7fb923
								
							
						
					
					
						commit
						f2e2b0da0d
					
				
					 2 changed files with 92 additions and 22 deletions
				
			
		|  | @ -1,12 +1,9 @@ | ||||||
| { | { | ||||||
|   "config": { |   "extension_name": { | ||||||
|     "message": "en" |  | ||||||
|   }, |  | ||||||
|   "manifest_name": { |  | ||||||
|     "message": "ShopAI", |     "message": "ShopAI", | ||||||
|     "description": "Extension name" |     "description": "Extension name" | ||||||
|   }, |   }, | ||||||
|   "manifest_description": { |   "extension_description": { | ||||||
|     "message": "Shop wisely with AI!", |     "message": "Shop wisely with AI!", | ||||||
|     "description": "Extension description" |     "description": "Extension description" | ||||||
|   }, |   }, | ||||||
|  | @ -61,6 +58,18 @@ | ||||||
|   "term_cancel": { |   "term_cancel": { | ||||||
|     "message": "Cancel" |     "message": "Cancel" | ||||||
|   }, |   }, | ||||||
|  |   "term_general": { | ||||||
|  |     "message": "General" | ||||||
|  |   }, | ||||||
|  |   "term_storage": { | ||||||
|  |     "message": "Storage" | ||||||
|  |   }, | ||||||
|  |   "term_help": { | ||||||
|  |     "message": "Help" | ||||||
|  |   }, | ||||||
|  |   "term_behavior": { | ||||||
|  |     "message": "Behaviour" | ||||||
|  |   }, | ||||||
|   "error_fileNotFound": { |   "error_fileNotFound": { | ||||||
|     "message": "This build is broken, as a file could not be found. The error is as follows: $error_msg$", |     "message": "This build is broken, as a file could not be found. The error is as follows: $error_msg$", | ||||||
|     "description": "The error message when a file couldn't be found", |     "description": "The error message when a file couldn't be found", | ||||||
|  | @ -70,5 +79,30 @@ | ||||||
|         "description": "The error message" |         "description": "The error message" | ||||||
|       } |       } | ||||||
|     } |     } | ||||||
|  |   }, | ||||||
|  | 
 | ||||||
|  |   "settings_general_showApplicable": { | ||||||
|  |     "message": "Show product's ratings in this extension's icon" | ||||||
|  |   }, | ||||||
|  |   "settings_general_injectToPage": { | ||||||
|  |     "message": "Inject a quick access button" | ||||||
|  |   }, | ||||||
|  |   "settings_behavior_autoRun": { | ||||||
|  |     "message": "Automatically run this extension on a supported page" | ||||||
|  |   }, | ||||||
|  |   "settings_filters_description": { | ||||||
|  |     "message": "Filters help determine the contents of the website before summarizing it." | ||||||
|  |   }, | ||||||
|  |   "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. " | ||||||
|  |   }, | ||||||
|  |   "settings_storage_clear": { | ||||||
|  |     "message": "Empty" | ||||||
|  |   }, | ||||||
|  |   "settings_filters_update": { | ||||||
|  |     "message": "Update" | ||||||
|  |   }, | ||||||
|  |   "settings_filters_open": { | ||||||
|  |     "message": "Edit" | ||||||
|   } |   } | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -1,12 +1,9 @@ | ||||||
| { | { | ||||||
| 	"config": { | 	"extension_name": { | ||||||
| 		"message": "zh" | 		"message": "购物+人类智能", | ||||||
| 	}, |  | ||||||
| 	"manifest_name": { |  | ||||||
| 		"message": "购物人类智能", |  | ||||||
| 		"description": "扩展程序名字" | 		"description": "扩展程序名字" | ||||||
| 	}, | 	}, | ||||||
| 	"manifest_description": { | 	"extension_description": { | ||||||
| 		"message": "用人类智能榜您谨慎地买东西!", | 		"message": "用人类智能榜您谨慎地买东西!", | ||||||
| 		"description": "扩展程序的简介" | 		"description": "扩展程序的简介" | ||||||
| 	}, | 	}, | ||||||
|  | @ -39,7 +36,7 @@ | ||||||
|     "description": "credits #0" |     "description": "credits #0" | ||||||
|   }, |   }, | ||||||
|   "GUI_alert_confirm_action_text": { |   "GUI_alert_confirm_action_text": { | ||||||
|     "message": "您认真地想运行它吗?", |     "message": "您认真地想运行它吗?", | ||||||
|     "description": "运行危险的软件以前的问题" |     "description": "运行危险的软件以前的问题" | ||||||
|   }, |   }, | ||||||
| 	"GUI_title_preferences": { | 	"GUI_title_preferences": { | ||||||
|  | @ -61,14 +58,53 @@ | ||||||
|    "term_cancel": { |    "term_cancel": { | ||||||
| 	"message": "取消" | 	"message": "取消" | ||||||
|    }, |    }, | ||||||
|    "error_fileNotFound": { |    "term_general": { | ||||||
| 	"message": "找不到一个文件!错误是: $error_msg$", |      "message": "常规" | ||||||
| 	"description": "找不到文件错误的信息", |    }, | ||||||
| 	"placeholders": { |    "term_storage": { | ||||||
| 	  "error_msg": { |      "message": "存储" | ||||||
| 	    "content": "$1", |    }, | ||||||
| 	    "description": "错误信息" | 	 "term_help": { | ||||||
| 	  } |      "message": "帮助" | ||||||
|  |    }, | ||||||
|  | 	 "term_behavior": { | ||||||
|  | 		 "message": "性能" | ||||||
|  | 	 }, | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  |   "error_fileNotFound": { | ||||||
|  | 			"message": "找不到一个文件!错误是: $error_msg$", | ||||||
|  | 			"description": "找不到文件错误的信息", | ||||||
|  | 			"placeholders": { | ||||||
|  | 			  "error_msg": { | ||||||
|  | 			    "content": "$1", | ||||||
|  | 			    "description": "错误信息" | ||||||
|  | 			  } | ||||||
|  | 			} | ||||||
|  |    }, | ||||||
|  | 
 | ||||||
|  | 	"settings_general_showApplicable": { | ||||||
|  | 		"message": "在此扩展程序图标中显示产品评分" | ||||||
|  | 	}, | ||||||
|  | 	"settings_general_injectToPage": { | ||||||
|  | 		"message": "注入一个快速访问按钮" | ||||||
|  | 	}, | ||||||
|  | 	"settings_behavior_autoRun": { | ||||||
|  | 		"message": "自动在支持页面运行此扩展" | ||||||
|  | 	}, | ||||||
|  | 	"settings_filters_description": { | ||||||
|  | 		"message": "过滤器帮助确定网站内容之前的摘要。" | ||||||
|  | 	}, | ||||||
|  | 	"settings_storage_description": { | ||||||
|  | 		"message": "为了加快浏览速度,《购物+人类智能》存储您以往访问过的产品信息。当产品信息发生变化时,此信息将被更新。" | ||||||
|  | 	}, | ||||||
|  | 	"settings_storage_clear": { | ||||||
|  | 		"message": "清空" | ||||||
|  | 	}, | ||||||
|  | 	"settings_filters_update": { | ||||||
|  | 		"message": "更新" | ||||||
|  | 	}, | ||||||
|  | 	"settings_filters_open": { | ||||||
|  | 		"message": "编辑" | ||||||
| 	} | 	} | ||||||
|    } |  | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue