mirror of
https://github.com/Kenshin/simpread.git
synced 2026-01-25 14:28:34 +00:00
Add i18n logic.
This commit is contained in:
parent
4780ae704c
commit
4f365f35c8
12
src/_locales/en/messages.json
Normal file
12
src/_locales/en/messages.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"extension_name": {
|
||||
"message": "SimpRead - Reader View",
|
||||
"description": "similar to Safari reading mode, read mode, reader view module, named simpread."
|
||||
},
|
||||
|
||||
"extension_desc": {
|
||||
"message": "Immersion-reading mode of Chrome extensions, similar to Safari read mode.",
|
||||
"description": "similar to Safari reading mode, read mode, reader view module, named simpread."
|
||||
}
|
||||
|
||||
}
|
||||
12
src/_locales/zh_CN/messages.json
Normal file
12
src/_locales/zh_CN/messages.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"extension_name": {
|
||||
"message": "简悦 - SimpRead",
|
||||
"description": "类似 Safari 阅读模式的 Chrome 扩展,阅读模式,阅读器,阅读,命名为 简悦,即:简单阅读,愉悦心情之意。"
|
||||
},
|
||||
|
||||
"extension_desc": {
|
||||
"message": "让你瞬间进入沉浸式阅读的 Chrome 扩展,类似 Safari 的阅读模式。",
|
||||
"description": "类似 Safari 阅读模式的 Chrome 扩展,阅读模式,阅读器,阅读,命名为 简悦,即:简单阅读,愉悦心情之意。"
|
||||
}
|
||||
|
||||
}
|
||||
12
src/_locales/zh_TW/messages.json
Normal file
12
src/_locales/zh_TW/messages.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"extension_name": {
|
||||
"message": "簡悅 - SimpRead",
|
||||
"description": "類似 Safari 閱讀模式的 Chrome 擴展,閱讀模式,閱讀器,閱讀,命名為 簡悅,即:簡單閱讀,愉悅心情之意。"
|
||||
},
|
||||
|
||||
"extension_desc": {
|
||||
"message": "讓你瞬間進入沉浸式閱讀的 Chrome 擴展,提供與 Safari 類似的 read mode。",
|
||||
"description": "類似 Safari 閱讀模式的 Chrome 擴展,閱讀模式,閱讀器,閱讀,命名為 簡悅,即:簡單閱讀,愉悅心情之意。"
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,8 +1,9 @@
|
||||
{
|
||||
"name": "简悦 - SimpRead",
|
||||
"short_name": "SimpRead",
|
||||
"name": "__MSG_extension_name__",
|
||||
"default_locale" : "en",
|
||||
"version": "1.0.0",
|
||||
"description" : "简悦(SimpRead)- 让你瞬间进入沉浸式阅读的 Chrome 扩展。",
|
||||
"short_name": "SimpRead",
|
||||
"description" : "__MSG_extension_desc__",
|
||||
"homepage_url" : "http://ksria.com/simpread",
|
||||
"author" : "Kenshin Wang <kenshin@ksria.com>",
|
||||
"icons" : {
|
||||
|
||||
@ -50,6 +50,7 @@ const webpack = require( 'webpack' ),
|
||||
{ from : "src/website_list.json" , to : '../' },
|
||||
{ from : 'src/options/options.html', to : '../options/' },
|
||||
{ context: 'src/assets/images/', from : "*" , to : '../assets/images' },
|
||||
{ context: 'src/_locales/', from : "*/*" , to : '../_locales/' },
|
||||
])
|
||||
);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user