Skip to content

Commit 8a866dd

Browse files
committed
fix: plugin state lang
1 parent 6cb5f0a commit 8a866dd

4 files changed

Lines changed: 19 additions & 8 deletions

File tree

index.js

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Plugin {
2323
translations: {
2424
'en-US': 'No valid certificate were found and you should deactivate this extension immediately unless you trust the source of this extension.',
2525
'ja-JP': '有効な証明書が見つからなかったので、この拡張機能の提供元を信頼しない限り、この拡張機能を直ちに無効にしてください。',
26-
'zh-CN': '未找到有效证书,除非您信任该扩展的来源,否则应立即停用该扩展。',
26+
'zh-CN': '未找到有效证书,除非您信任该扩充的来源,否则应立即停用该扩充。',
2727
'ko-KR': '유효한 인증서를 찾을 수 없으므로 이 확장 프로그램의 출처를 신뢰하지 않는 한 즉시 이 확장 프로그램을 비활성화해야 합니다。',
2828
'vi-VN': 'Không tìm thấy chứng chỉ hợp lệ nào và bạn nên hủy kích hoạt tiện ích mở rộng này ngay lập tức trừ khi bạn tin tưởng nguồn gốc của tiện ích mở rộng này。',
2929
'id-ID': 'Tidak ada sertifikat valid yang ditemukan dan Anda harus segera menonaktifkan ekstensi ini kecuali Anda memercayai sumber ekstensi ini.',
@@ -60,12 +60,23 @@ class Plugin {
6060
'en-US': 'Missing {requiredDependencies} dependencies.',
6161
'ja-JP': '{requiredDependencies} 依存関係がありません。',
6262
'zh-CN': '缺少 {requiredDependencies} 依赖项。',
63-
'zh-Hant': '缺少 {requiredDependencies} 依賴。',
6463
'ko-KR': '{requiredDependencies} 종속성이 누락되었습니다.',
6564
'vi-VN': 'Thiếu các phụ thuộc {requiredDependencies}.',
6665
'id-ID': 'Dependensi {requiredDependencies} hilang.',
6766
'th-TH': 'ขาดการอ้างอิง {requiredDependencies}'
6867
}
68+
},
69+
'init-error': {
70+
regex: //,
71+
translations: {
72+
'en-US': 'Initialization failed, please contact the author of the extension.',
73+
'ja-JP': '初期化に失敗しました、拡張機能の作者に連絡してください。',
74+
'zh-CN': '初始化失败,请联系扩充的作者。',
75+
'ko-KR': '초기화에 실패했습니다. 확장 프로그램 작성자에게 문의하세요.',
76+
'vi-VN': 'Khởi tạo không thành công, vui lòng liên hệ với tác giả của tiện ích mở rộng.',
77+
'id-ID': 'Inisialisasi gagal, silakan hubungi pembuat ekstensi.',
78+
'th-TH': 'การเริ่มต้นล้มเหลว โปรดติดต่อผู้เขียนส่วนขยาย'
79+
}
6980
}
7081
};
7182
}

info.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "language",
3-
"version": "1.1.8",
3+
"version": "1.1.9",
44
"description": {
55
"zh_tw": "TREM-Lite Language Plugin"
66
},

language.trem

347 Bytes
Binary file not shown.

signature.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"timestamp": 1738404732555,
3-
"version": "1.1.8",
2+
"timestamp": 1738406322360,
3+
"version": "1.1.9",
44
"fileHashes": {
5-
"index.js": "8d0070b7fb442bf7d48c8f63fbeb29fb49ebc7fc5b628fe4ee28eb344dc7a93c",
6-
"info.json": "6d9645019f8b11f224d699cea364be7b5262dd77eb263ea14ad71ad1ceaeed16",
5+
"index.js": "6a450c3dc78ebd01abae54ad89d5f8a189a47a389520b435f609bba6829e068a",
6+
"info.json": "7f590205423aa12d1d32d20757c1fe59d0d2ffa59787e2612aaf5a3b6fa6f8e0",
77
"lang/en-US/index/index.css": "92872b148da995e003d65d12e01ddbe486393b4e37051911365ba3e1b9b0df01",
88
"lang/en-US/index/rwd.css": "3822213046ba515bdf31f73e91bdcb8e0304cd191bd8e972b69d48f9975c570b",
99
"lang/en-US/plugin_edit/index.css": "7adb4db0415dd11806756099e19a91a21cb0f9da38253a2a5003f180368e83e8",
@@ -38,6 +38,6 @@
3838
"lang/zh-Hant/plugin_edit/index.css": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
3939
"lang/zh-Hant/setting/index.css": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
4040
},
41-
"signature": "NsJCG3MsAzlQ1x4d9AghgUSo+kpZ/4Fhibm5xD7omXzUlw+yiourC84f1JcgkPUfMwthIPgS3G9q1V+ibJQnZqHn7uE5C4RJXdpd4y3Yyn/DXrgm+8L+b9h9IukwWUO4gnScVRkhhcVtK7CvM4HrePcMn6CUM4dziRk9evMYbRnNitpLNAsiGRoEf+1Kt99GKBMRC4Y6DdRC/hK77mnOOM7p+hCHPFLdlt7IJ2MBCDL+pbKQCWtBryyGx1rVDmuVipZaqfnW599ubt+Bzn83QwU9WEuQvBYTKS+j+YAMn/R2eyvwmQJftc8w40eaEzjg7WhoQGQYxu9Wt/Gakn7Mlg==",
41+
"signature": "GelYCkc+ZuwmzyD0FEpjXv8FkkkhRWQUcSsuQEWmuiclIOErzzbAcRsiWUi61OQN+0dKKfH0RDL4HqnchkYn/vD5/8CApwfGP40rHk9nhtnKPkFGR5V216aPFvaDEF4dciJDRGGwbsoerc+SPLDC78qotdn/Ft7SrIV1TO3bpuXi7CFN69A0ILGw5EQfV5D21LbZK4uBhrvEiJw6LelrtwRLU0cBRjzaxCngF6aXVQss7NTS/aiCp2LBYHqpC/hpzmrzr0HExV/LVO8qwecNlw2OVh7sMooxUakSDgh7C3xdAAVn/qVhSz4KBP4e2ok6MjjoTlW+7dfpl1AXxCWGQg==",
4242
"keyId": "official"
4343
}

0 commit comments

Comments
 (0)