1
0
mirror of https://gitcode.com/github-mirrors/react-native-update-cli.git synced 2025-09-16 01:41:37 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee

Update i18n strings to include whitespace in file size exceeded messages for English and Chinese locales

This commit is contained in:
sunnylqm
2025-04-23 20:55:33 +08:00
parent b22c598ca4
commit 0cfb1a9beb
3 changed files with 5 additions and 2 deletions

View File

@@ -48,7 +48,7 @@ export default {
'Failed to parse file `update.json`. Try to remove it manually.', 'Failed to parse file `update.json`. Try to remove it manually.',
fileGenerated: '{{- file}} generated.', fileGenerated: '{{- file}} generated.',
fileSizeExceeded: fileSizeExceeded:
'This file size is {{fileSize}} , exceeding the current quota {{maxSize}} . You may consider upgrading to a higher plan to increase this quota. Details can be found at: {{pricingPageUrl}}', 'This file size is {{fileSize}} , exceeding the current quota {{maxSize}} . You may consider upgrading to a higher plan to increase this quota. Details can be found at: {{- pricingPageUrl}}',
hermesDisabled: 'Hermes disabled', hermesDisabled: 'Hermes disabled',
hermesEnabledCompiling: 'Hermes enabled, now compiling to hermes bytecode:\n', hermesEnabledCompiling: 'Hermes enabled, now compiling to hermes bytecode:\n',
ipaUploadSuccess: ipaUploadSuccess:

View File

@@ -46,7 +46,7 @@ export default {
failedToParseUpdateJson: '无法解析文件 `update.json`。请手动删除它。', failedToParseUpdateJson: '无法解析文件 `update.json`。请手动删除它。',
fileGenerated: '已生成 {{- file}}', fileGenerated: '已生成 {{- file}}',
fileSizeExceeded: fileSizeExceeded:
'此文件大小 {{fileSize}} , 超出当前额度 {{maxSize}} 。您可以考虑升级付费业务以提升此额度。详情请访问: {{pricingPageUrl}}', '此文件大小 {{fileSize}} , 超出当前额度 {{maxSize}} 。您可以考虑升级付费业务以提升此额度。详情请访问: {{- pricingPageUrl}}',
hermesDisabled: 'Hermes 已禁用', hermesDisabled: 'Hermes 已禁用',
hermesEnabledCompiling: 'Hermes 已启用,正在编译为 hermes 字节码:\n', hermesEnabledCompiling: 'Hermes 已启用,正在编译为 hermes 字节码:\n',
ipaUploadSuccess: ipaUploadSuccess:

View File

@@ -15,6 +15,9 @@ i18next.init({
translation: zh, translation: zh,
}, },
}, },
interpolation: {
escapeValue: false,
},
}); });
declare module 'i18next' { declare module 'i18next' {