diff --git a/client/mobile/src/lib/inject/index.ts b/client/mobile/src/lib/inject/index.ts index f90773c4..2fa48554 100644 --- a/client/mobile/src/lib/inject/index.ts +++ b/client/mobile/src/lib/inject/index.ts @@ -11,12 +11,14 @@ export function generateInstallPluginScript() { const inner = `function main() { window.tailchat .installPlugin({ - label: 'ReactNative支持', + label: 'React Native Support', + 'label.zh-CN': 'ReactNative 支持', name: 'com.msgbyte.env.rn', url: '/plugins/com.msgbyte.env.rn/index.js', version: '0.0.0', author: 'moonrailgun', - description: '在Tailchat添加对ReactNative环境的支持', + description: 'Add support for ReactNative environment in Tailchat', + 'description.zh-CN': '在 Tailchat 添加对 ReactNative 环境的支持', requireRestart: true, }); }`; diff --git a/client/web/plugins/com.msgbyte.env.rn/manifest.json b/client/web/plugins/com.msgbyte.env.rn/manifest.json index 540d9b3a..f764e779 100644 --- a/client/web/plugins/com.msgbyte.env.rn/manifest.json +++ b/client/web/plugins/com.msgbyte.env.rn/manifest.json @@ -1,6 +1,6 @@ { - "label": "React Native support", - "label.zh-CN": "ReactNative支持", + "label": "React Native Support", + "label.zh-CN": "ReactNative 支持", "name": "com.msgbyte.env.rn", "url": "/plugins/com.msgbyte.env.rn/index.js", "version": "0.0.0",