updated localization
This commit is contained in:
parent
6fab9502bb
commit
93ae3df82f
2 changed files with 297 additions and 198 deletions
|
@ -1,123 +1,162 @@
|
||||||
{
|
{
|
||||||
"extension_name": {
|
"extension_name": {
|
||||||
"message": "ShopAI",
|
"message": "ShopAI",
|
||||||
"description": "Extension name"
|
"description": "Extension name"
|
||||||
},
|
},
|
||||||
"extension_description": {
|
"extension_description": {
|
||||||
"message": "Shop wisely with AI!",
|
"message": "Shop wisely with AI!",
|
||||||
"description": "Extension description"
|
"description": "Extension description"
|
||||||
},
|
},
|
||||||
"GUI_welcome_headline": {
|
"GUI_welcome_headline": {
|
||||||
"message": "Welcome to ShopAI!",
|
"message": "Welcome to ShopAI!",
|
||||||
"description": "Welcome message"
|
"description": "Welcome message"
|
||||||
},
|
},
|
||||||
"GUI_welcome_version": {
|
"GUI_welcome_version": {
|
||||||
"message": "You’ve got version $manifest_version$.",
|
"message": "You’ve got version $manifest_version$.",
|
||||||
"description": "Version number in welcome message",
|
"description": "Version number in welcome message",
|
||||||
"placeholders": {
|
"placeholders": {
|
||||||
"manifest_version": {
|
"manifest_version": {
|
||||||
"content": "$1",
|
"content": "$1",
|
||||||
"description": "The manifest version"
|
"description": "The manifest version"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"GUI_status_version": {
|
"GUI_status_version": {
|
||||||
"message": "V$manifest_version$",
|
"message": "V$manifest_version$",
|
||||||
"description": "Version number in status bars",
|
"description": "Version number in status bars",
|
||||||
"placeholders": {
|
"placeholders": {
|
||||||
"manifest_version": {
|
"manifest_version": {
|
||||||
"content": "$1",
|
"content": "$1",
|
||||||
"description": "The manifest version"
|
"description": "The manifest version"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"GUI_credits_0": {
|
"GUI_credits_0": {
|
||||||
"message": "Made with love.",
|
"message": "Made with love.",
|
||||||
"description": "credits #0"
|
"description": "credits #0"
|
||||||
},
|
},
|
||||||
"GUI_alert_confirm_action_text": {
|
"GUI_alert_confirm_action_text": {
|
||||||
"message": "Are you sure you would want to do this?",
|
"message": "Are you sure you would want to do this?",
|
||||||
"description": "confirm user's dangerous action"
|
"description": "confirm user's dangerous action"
|
||||||
},
|
},
|
||||||
"GUI_title_preferences": {
|
"GUI_title_preferences": {
|
||||||
"message": "ShopAI Settings",
|
"message": "ShopAI Settings",
|
||||||
"description": "Welcome message"
|
"description": "Welcome message"
|
||||||
},
|
},
|
||||||
"term_preferences": {
|
"term_preferences": {
|
||||||
"message": "Settings"
|
"message": "Settings"
|
||||||
},
|
},
|
||||||
"term_about": {
|
"term_about": {
|
||||||
"message": "About"
|
"message": "About"
|
||||||
},
|
},
|
||||||
"term_filters": {
|
"term_filters": {
|
||||||
"message": "Filters"
|
"message": "Filters"
|
||||||
},
|
},
|
||||||
"term_apply": {
|
"term_apply": {
|
||||||
"message": "Apply"
|
"message": "Apply"
|
||||||
},
|
},
|
||||||
"term_cancel": {
|
"term_cancel": {
|
||||||
"message": "Cancel"
|
"message": "Cancel"
|
||||||
},
|
},
|
||||||
"term_general": {
|
"term_general": {
|
||||||
"message": "General"
|
"message": "General"
|
||||||
},
|
},
|
||||||
"term_storage": {
|
"term_storage": {
|
||||||
"message": "Storage"
|
"message": "Storage"
|
||||||
},
|
},
|
||||||
"term_help": {
|
"term_help": {
|
||||||
"message": "Help"
|
"message": "Help"
|
||||||
},
|
},
|
||||||
"term_behavior": {
|
"term_behavior": {
|
||||||
"message": "Behaviour"
|
"message": "Behaviour"
|
||||||
},
|
},
|
||||||
|
"term_analysis": {
|
||||||
"settings_general_showApplicable": {
|
"message": "Analysis"
|
||||||
"message": "Show product's ratings in this extension's icon"
|
},
|
||||||
},
|
"term_API_Key": {
|
||||||
"settings_general_injectToPage": {
|
"message": "API Key"
|
||||||
"message": "Inject a quick access button"
|
},
|
||||||
},
|
|
||||||
"settings_behavior_autoRun": {
|
"settings_general_showApplicable": {
|
||||||
"message": "Automatically run this extension on a supported page"
|
"message": "Show product's ratings in this extension's icon"
|
||||||
},
|
},
|
||||||
"settings_filters_description": {
|
"settings_general_injectToPage": {
|
||||||
"message": "Filters help determine the contents of the website before summarizing it."
|
"message": "Inject a quick access button"
|
||||||
},
|
},
|
||||||
"settings_storage_description": {
|
"settings_behavior_autoRun": {
|
||||||
"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": "Automatically run this extension on a supported page"
|
||||||
},
|
},
|
||||||
"settings_storage_clear": {
|
"settings_filters_description": {
|
||||||
"message": "Empty"
|
"message": "Filters help determine the contents of the website before summarizing it."
|
||||||
},
|
},
|
||||||
"settings_filters_update": {
|
"settings_storage_description": {
|
||||||
"message": "Update"
|
"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_filters_open": {
|
"settings_analysis_description": {
|
||||||
"message": "Edit"
|
"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": {
|
||||||
"error_msg": {
|
"message": "Empty"
|
||||||
"message": "$ERROR_CODE$: $ERROR_MSG$",
|
},
|
||||||
"description": "The error message template",
|
"settings_filters_update": {
|
||||||
"placeholders": {
|
"message": "Update"
|
||||||
"ERROR_CODE": {
|
},
|
||||||
"content": "$1",
|
"settings_filters_update_status": {
|
||||||
"description": "The error code"
|
"message": "Updating the filter at $filter_url$…",
|
||||||
},
|
"placeholders": {
|
||||||
"ERROR_MSG": {
|
"filter_url": {
|
||||||
"content": "$2",
|
"content": "$1"
|
||||||
"description": "The error message"
|
}
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
},
|
"settings_filters_update_status_complete": {
|
||||||
"error_msg_GUI": {
|
"message": "Updated the filter at $filter_url$.",
|
||||||
"message": "Unfortunately, an exception of type $ERROR_CODE$ has occured. Click OK to terminate the script.",
|
"placeholders": {
|
||||||
"description": "The error message template for a full graphical UI",
|
"filter_url": {
|
||||||
"placeholders": {
|
"content": "$1"
|
||||||
"ERROR_CODE": {
|
}
|
||||||
"content": "$1",
|
}
|
||||||
"description": "The error code"
|
},
|
||||||
}
|
"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": {
|
||||||
|
"message": "Edit"
|
||||||
|
},
|
||||||
|
|
||||||
|
"error_msg": {
|
||||||
|
"message": "$error_code$: $error_msg$",
|
||||||
|
"description": "The error message template",
|
||||||
|
"placeholders": {
|
||||||
|
"error_code": {
|
||||||
|
"content": "$1",
|
||||||
|
"description": "The error code"
|
||||||
|
},
|
||||||
|
"error_msg": {
|
||||||
|
"content": "$2",
|
||||||
|
"description": "The error message"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"error_msg_GUI": {
|
||||||
|
"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",
|
||||||
|
"placeholders": {
|
||||||
|
"error_code": {
|
||||||
|
"content": "$1",
|
||||||
|
"description": "The error code"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -1,27 +1,27 @@
|
||||||
{
|
{
|
||||||
"extension_name": {
|
"extension_name": {
|
||||||
"message": "购物+人类智能",
|
"message": "购物+人类智能",
|
||||||
"description": "扩展程序名字"
|
"description": "扩展程序名字"
|
||||||
},
|
},
|
||||||
"extension_description": {
|
"extension_description": {
|
||||||
"message": "用人类智能榜您谨慎地买东西!",
|
"message": "用人类智能榜您谨慎地买东西!",
|
||||||
"description": "扩展程序的简介"
|
"description": "扩展程序的简介"
|
||||||
},
|
},
|
||||||
"GUI_welcome_headline": {
|
"GUI_welcome_headline": {
|
||||||
"message": "欢迎使用购物人类智能!",
|
"message": "欢迎使用《购物+人类智能》!",
|
||||||
"description": "欢迎信息"
|
"description": "欢迎信息"
|
||||||
},
|
},
|
||||||
"GUI_welcome_version": {
|
"GUI_welcome_version": {
|
||||||
"message": "本浏览器有 $manifest_version$ 版本的。",
|
"message": "本浏览器有 $manifest_version$ 版本的。",
|
||||||
"description": "版本简介",
|
"description": "版本简介",
|
||||||
"placeholders": {
|
"placeholders": {
|
||||||
"manifest_version": {
|
"manifest_version": {
|
||||||
"content": "$1",
|
"content": "$1",
|
||||||
"description": "版本号码"
|
"description": "版本号码"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"GUI_status_version": {
|
"GUI_status_version": {
|
||||||
"message": "$manifest_version$ 版本",
|
"message": "$manifest_version$ 版本",
|
||||||
"description": "statusbar 上的版本",
|
"description": "statusbar 上的版本",
|
||||||
"placeholders": {
|
"placeholders": {
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"GUI_credits_0": {
|
"GUI_credits_0": {
|
||||||
"message": "亲爱的马老师…",
|
"message": "亲爱的马老师…",
|
||||||
"description": "credits #0"
|
"description": "credits #0"
|
||||||
},
|
},
|
||||||
|
@ -39,60 +39,120 @@
|
||||||
"message": "您认真地想运行它吗?",
|
"message": "您认真地想运行它吗?",
|
||||||
"description": "运行危险的软件以前的问题"
|
"description": "运行危险的软件以前的问题"
|
||||||
},
|
},
|
||||||
"GUI_title_preferences": {
|
"GUI_title_preferences": {
|
||||||
"message": "购物人类智能设置",
|
"message": "购物人类智能设置",
|
||||||
"description": "设置网页的题目"
|
"description": "设置网页的题目"
|
||||||
},
|
},
|
||||||
"term_preferences": {
|
"term_preferences": {
|
||||||
"message": "设置"
|
"message": "设置"
|
||||||
},
|
},
|
||||||
"term_about": {
|
"term_about": {
|
||||||
"message": "关于"
|
"message": "关于"
|
||||||
},
|
},
|
||||||
"term_filters": {
|
"term_filters": {
|
||||||
"message": "过滤器"
|
"message": "过滤器"
|
||||||
},
|
},
|
||||||
"term_apply": {
|
"term_apply": {
|
||||||
"message": "应用"
|
"message": "应用"
|
||||||
},
|
},
|
||||||
"term_cancel": {
|
"term_cancel": {
|
||||||
"message": "取消"
|
"message": "取消"
|
||||||
},
|
},
|
||||||
"term_general": {
|
"term_general": {
|
||||||
"message": "常规"
|
"message": "常规"
|
||||||
},
|
},
|
||||||
"term_storage": {
|
"term_storage": {
|
||||||
"message": "存储"
|
"message": "存储"
|
||||||
},
|
},
|
||||||
"term_help": {
|
"term_help": {
|
||||||
"message": "帮助"
|
"message": "帮助"
|
||||||
},
|
},
|
||||||
"term_behavior": {
|
"term_behavior": {
|
||||||
"message": "性能"
|
"message": "性能"
|
||||||
},
|
},
|
||||||
|
"term_API_Key": {
|
||||||
|
"message": "API 密钥"
|
||||||
|
},
|
||||||
|
|
||||||
"settings_general_showApplicable": {
|
"settings_general_showApplicable": {
|
||||||
"message": "在此扩展程序图标中显示产品评分"
|
"message": "在此扩展程序图标中显示产品评分"
|
||||||
},
|
},
|
||||||
"settings_general_injectToPage": {
|
"settings_general_injectToPage": {
|
||||||
"message": "注入一个快速访问按钮"
|
"message": "注入一个快速访问按钮"
|
||||||
},
|
},
|
||||||
"settings_behavior_autoRun": {
|
"settings_behavior_autoRun": {
|
||||||
"message": "自动在支持页面运行此扩展"
|
"message": "自动在支持页面运行此扩展"
|
||||||
},
|
},
|
||||||
"settings_filters_description": {
|
"settings_filters_description": {
|
||||||
"message": "过滤器帮助确定网站内容之前的摘要。"
|
"message": "过滤器帮助确定网站内容之前的摘要。"
|
||||||
},
|
},
|
||||||
"settings_storage_description": {
|
"settings_storage_description": {
|
||||||
"message": "为了加快浏览速度,《购物+人类智能》存储您以往访问过的产品信息。当产品信息发生变化时,此信息将被更新。"
|
"message": "为了加快浏览速度,《购物+人类智能》存储您以往访问过的产品信息。当产品信息发生变化时,此信息将被更新。"
|
||||||
},
|
},
|
||||||
"settings_storage_clear": {
|
"settings_analysis_description": {
|
||||||
"message": "清空"
|
"message": "为了提高购物体验,我们会收集您的购物行为数据。"
|
||||||
},
|
},
|
||||||
"settings_filters_update": {
|
"settings_storage_clear": {
|
||||||
"message": "更新"
|
"message": "清空"
|
||||||
},
|
},
|
||||||
"settings_filters_open": {
|
"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": {
|
||||||
|
"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