feat(i18n): add zh_Hant and ja_JP translations to all adapter YAML files

- Add zh_Hant (Traditional Chinese) to all 17 adapter YAML metadata and config fields
- Add ja_JP translations to global adapters (Telegram, Discord, Slack, Lark, LINE)
- Fix buggy zh_Hant in line.yaml and slack.yaml (contained simplified Chinese)
- Add zh_Hant field to backend I18nString model
- Add adapter category grouping with locale-aware ordering
- Add webhook Cloud CTA for community edition users
- Fix wizard progress not clearing on skip/complete
This commit is contained in:
Junyan Qin
2026-03-28 19:41:27 +08:00
parent 71e44f0e54
commit 99e2976826
28 changed files with 612 additions and 214 deletions
+6
View File
@@ -321,6 +321,12 @@ const enUS = {
webhookSaasHint:
'Webhook requires a publicly accessible domain. LangBot Cloud provides a ready-to-use public endpoint for your bot.',
webhookSaasLink: 'Learn more about LangBot Cloud',
adapterCategory: {
popular: 'Popular',
china: 'China',
global: 'Global',
protocol: 'Protocol',
},
logLevel: 'Log Level',
allLevels: 'All Levels',
selectLevel: 'Select Level',
+6
View File
@@ -326,6 +326,12 @@
webhookSaasHint:
'Webhook には公開アクセス可能なドメインが必要です。LangBot Cloud では、ボット用のパブリックエンドポイントをすぐにご利用いただけます。',
webhookSaasLink: 'LangBot Cloud の詳細はこちら',
adapterCategory: {
popular: '人気',
china: '中国',
global: 'グローバル',
protocol: 'プロトコル',
},
logLevel: 'ログレベル',
allLevels: 'すべてのレベル',
selectLevel: 'レベルを選択',
+6
View File
@@ -306,6 +306,12 @@ const zhHans = {
webhookSaasHint:
'Webhook 需要公网可访问的域名。LangBot Cloud 为你的机器人提供开箱即用的公网地址。',
webhookSaasLink: '了解 LangBot Cloud',
adapterCategory: {
popular: '热门',
china: '中国',
global: '全球',
protocol: '协议',
},
logLevel: '日志级别',
allLevels: '全部级别',
selectLevel: '选择级别',
+6
View File
@@ -305,6 +305,12 @@ const zhHant = {
webhookSaasHint:
'Webhook 需要公網可存取的網域。LangBot Cloud 為你的機器人提供即開即用的公網位址。',
webhookSaasLink: '了解 LangBot Cloud',
adapterCategory: {
popular: '熱門',
china: '中國',
global: '全球',
protocol: '協定',
},
logLevel: '日誌級別',
allLevels: '全部級別',
selectLevel: '選擇級別',