mirror of
https://gitcode.com/github-mirrors/react-native-update-cli.git
synced 2025-10-07 19:15:15 +08:00
add logic to support multi language (#11)
* add logic to support multi language * Update en.ts * Update en.ts --------- Co-authored-by: Sunny Luo <sunnylqm@gmail.com>
This commit is contained in:
@@ -40,4 +40,52 @@ This can reduce the risk of inconsistent dependencies and supply chain attacks.
|
||||
operationSuccess: 'Operation successful',
|
||||
failedToParseUpdateJson: 'Failed to parse file `update.json`. Try to remove it manually.',
|
||||
ppkPackageGenerated: 'ppk package generated and saved to: {{- output}}',
|
||||
Message: 'Welcome to Cresc hot update service, {{name}}.',
|
||||
loggedOut: 'Logged out',
|
||||
usageUnderDevelopment: 'Usage is under development now.',
|
||||
hermesDisabled: 'Hermes disabled',
|
||||
hermesEnabled: 'Hermes enabled, now compiling to hermes bytecode:\n',
|
||||
runningHermesc: 'Running hermesc: {{command}} {{args}}',
|
||||
composingSourceMap: 'Composing source map',
|
||||
copyingDebugId: 'Copying debugid',
|
||||
sentryCliNotFound: 'Cannot find Sentry CLI tool, please make sure @sentry/cli is properly installed',
|
||||
sentryReleaseCreated: 'Sentry release created for version: {{version}}',
|
||||
uploadingSourcemap: 'Uploading sourcemap',
|
||||
packing: 'Packing',
|
||||
deletingFile: 'Delete {{file}}',
|
||||
bundlingWithRN: 'Bundling with react-native: {{version}}',
|
||||
fileGenerated: '{{file}} generated.',
|
||||
processingError: 'Error processing file: {{error}}',
|
||||
usageDiff: 'Usage: cresc {{command}} <origin> <next>',
|
||||
pluginDetected: 'detected {{name}} plugin',
|
||||
pluginDetectionError: 'error while detecting {{name}} plugin: {{error}}',
|
||||
addedToGitignore: 'Added {{line}} to .gitignore',
|
||||
processingStringPool: 'Processing the string pool ...',
|
||||
processingPackage: 'Processing the package {{count}} ...',
|
||||
typeStrings: 'Type strings:',
|
||||
keyStrings: 'Key strings:',
|
||||
failedToParseIcon: '[Warning] failed to parse icon: {{error}}',
|
||||
errorInHarmonyApp: 'Error in getEntryFromHarmonyApp: {{error}}',
|
||||
totalPackages: 'Total {{count}} packages',
|
||||
usageUploadIpa: 'Usage: cresc uploadIpa <ipa file>',
|
||||
usageUploadApk: 'Usage: cresc uploadApk <apk file>',
|
||||
usageUploadApp: 'Usage: cresc uploadApp <app file>',
|
||||
usageParseApp: 'Usage: cresc parseApp <app file>',
|
||||
usageParseIpa: 'Usage: cresc parseIpa <ipa file>',
|
||||
usageParseApk: 'Usage: cresc parseApk <apk file>',
|
||||
offset: 'Offset {{offset}}',
|
||||
packageUploadSuccess: 'Successfully uploaded new hot update package (id: {{id}})',
|
||||
rolloutRangeError: 'rollout must be an integer between 1-100',
|
||||
nativeVersionNotFound: 'No native version found >= {{version}}',
|
||||
nativeVersionNotFoundLess: 'No native version found <= {{version}}',
|
||||
nativeVersionNotFoundMatch: 'No matching native version found: {{version}}',
|
||||
packageIdRequired: 'Please provide packageId or packageVersion parameter',
|
||||
operationComplete: 'Operation complete, bound to {{count}} native versions',
|
||||
platformRequired: 'Platform must be specified.',
|
||||
bundleCommandError: '"react-native bundle" command exited with code {{code}}.',
|
||||
copyHarmonyBundleError: 'Error copying Harmony bundle: {{error}}',
|
||||
copyFileFailed: 'Failed to copy file: {{error}}',
|
||||
deleteFile: 'Delete {{file}}',
|
||||
rolloutConfigSet: 'Set {{rollout}}% rollout for version {{version}} on native version(s) {{versions}}',
|
||||
versionBind: 'Bound version {{version}} to native version {{nativeVersion}} (id: {{id}})',
|
||||
};
|
||||
|
@@ -38,4 +38,52 @@ export default {
|
||||
operationSuccess: '操作成功',
|
||||
failedToParseUpdateJson: '无法解析文件 `update.json`。请手动删除它。',
|
||||
ppkPackageGenerated: 'ppk 热更包已生成并保存到: {{- output}}',
|
||||
welcomeMessage: '欢迎使用 pushy 热更新服务,{{name}}。',
|
||||
loggedOut: '已退出登录',
|
||||
usageUnderDevelopment: '使用说明正在开发中。',
|
||||
hermesDisabled: 'Hermes 已禁用',
|
||||
hermesEnabled: 'Hermes 已启用,正在编译为 hermes 字节码:\n',
|
||||
runningHermesc: '运行 hermesc:{{command}} {{args}}',
|
||||
composingSourceMap: '正在生成 source map',
|
||||
copyingDebugId: '正在复制 debugid',
|
||||
sentryCliNotFound: '无法找到 Sentry CLI 工具,请确保已正确安装 @sentry/cli',
|
||||
sentryReleaseCreated: '已为版本 {{version}} 创建 Sentry release',
|
||||
uploadingSourcemap: '正在上传 sourcemap',
|
||||
packing: '正在打包',
|
||||
deletingFile: '删除 {{file}}',
|
||||
bundlingWithRN: '正在使用 react-native {{version}} 打包',
|
||||
fileGenerated: '已生成 {{file}}。',
|
||||
processingError: '处理文件时出错:{{error}}',
|
||||
usageDiff: '用法:pushy {{command}} <origin> <next>',
|
||||
pluginDetected: '检测到 {{name}} 插件',
|
||||
pluginDetectionError: '检测 {{name}} 插件时出错:{{error}}',
|
||||
addedToGitignore: '已将 {{line}} 添加到 .gitignore',
|
||||
processingStringPool: '正在处理字符串池...',
|
||||
processingPackage: '正在处理包 {{count}}...',
|
||||
typeStrings: '类型字符串:',
|
||||
keyStrings: '键字符串:',
|
||||
failedToParseIcon: '[警告] 解析图标失败:{{error}}',
|
||||
errorInHarmonyApp: '获取 Harmony 应用入口时出错:{{error}}',
|
||||
totalPackages: '共 {{count}} 个包',
|
||||
usageUploadIpa: '使用方法: pushy uploadIpa ipa后缀文件',
|
||||
usageUploadApk: '使用方法: pushy uploadApk apk后缀文件',
|
||||
usageUploadApp: '使用方法: pushy uploadApp app后缀文件',
|
||||
usageParseApp: '使用方法: pushy parseApp app后缀文件',
|
||||
usageParseIpa: '使用方法: pushy parseIpa ipa后缀文件',
|
||||
usageParseApk: '使用方法: pushy parseApk apk后缀文件',
|
||||
offset: '偏移量 {{offset}}',
|
||||
packageUploadSuccess: '已成功上传新热更包(id: {{id}})',
|
||||
rolloutRangeError: 'rollout 必须是 1-100 的整数',
|
||||
nativeVersionNotFound: '未查询到 >= {{version}} 的原生版本',
|
||||
nativeVersionNotFoundLess: '未查询到 <= {{version}} 的原生版本',
|
||||
nativeVersionNotFoundMatch: '未查询到匹配原生版本:{{version}}',
|
||||
packageIdRequired: '请提供 packageId 或 packageVersion 参数',
|
||||
operationComplete: '操作完成,共已绑定 {{count}} 个原生版本',
|
||||
platformRequired: '必须指定平台。',
|
||||
bundleCommandError: '"react-native bundle" 命令退出,代码为 {{code}}。',
|
||||
copyHarmonyBundleError: '复制 Harmony bundle 错误:{{error}}',
|
||||
copyFileFailed: '复制文件失败:{{error}}',
|
||||
deleteFile: '删除 {{file}}',
|
||||
rolloutConfigSet: '已在原生版本 {{versions}} 上设置灰度发布 {{rollout}}% 热更版本 {{version}}',
|
||||
versionBind: '已将热更版本 {{version}} 绑定到原生版本 {{nativeVersion}} (id: {{id}})',
|
||||
};
|
||||
|
Reference in New Issue
Block a user