refactor(i18n): 移除 chrome.i18n 国际化,统一使用中文硬编码
移除 chromeI18n 工具、_locales 翻译文件和 manifest default_locale 配置, 将所有 UI 文案改为直接硬编码中文,并更新相关测试与文档。
This commit is contained in:
+1
-2
@@ -45,7 +45,6 @@ export default defineConfig({
|
||||
name: 'Testing Tool',
|
||||
description: 'A tool for testing web applications.',
|
||||
version_name: undefined,
|
||||
default_locale: 'zh_CN',
|
||||
permissions: [
|
||||
'storage',
|
||||
'clipboardWrite',
|
||||
@@ -64,7 +63,7 @@ export default defineConfig({
|
||||
'128': 'icon/128.png',
|
||||
},
|
||||
action: {
|
||||
default_title: '__MSG_appName__',
|
||||
default_title: 'Testing Tool',
|
||||
default_icon: {
|
||||
'16': 'icon/16.png',
|
||||
'32': 'icon/32.png',
|
||||
|
||||
Reference in New Issue
Block a user