Skip to content

Commit

Permalink
[03-08-2019] Merge in translation (#1066)
Browse files Browse the repository at this point in the history
  • Loading branch information
danyeh authored and SounD120 committed Aug 5, 2019
1 parent 46c8a7f commit 5c5d70e
Show file tree
Hide file tree
Showing 153 changed files with 1,095 additions and 731 deletions.
49 changes: 26 additions & 23 deletions i18n/chs/package.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,46 +6,49 @@
{
"reactNative.description": "React Native 的代码提示、调试和集成的命令",
"reactNative.license": "请参阅 LICENSE.txt 中的许可证",
"reactNative.command.runAndroidSimulator.title": "在模拟器上运行 Android",
"reactNative.command.runAndroidSimulator.title": "在仿真器上运行 Android",
"reactNative.command.runAndroidDevice.title": "在设备上运行 Android",
"reactNative.command.runIosSimulator.title": "在模拟器上运行 iOS",
"reactNative.command.runIosDevice.title": "在设备上运行 iOS",
"reactNative.command.runExponent.title": "运行 Exponent",
"reactNative.command.startPackager.title": "启动包装工具",
"reactNative.command.stopPackager.title": "停止包装工具",
"reactNative.command.restartPackager.title": "重启包装工具",
"reactNative.command.publishToExpHost.title": "发布到 Exponent",
"reactNative.command.runExponent.title": "运行 Expo",
"reactNative.command.startPackager.title": "启动包生成工具",
"reactNative.command.stopPackager.title": "停止包生成工具",
"reactNative.command.restartPackager.title": "重启包生成工具",
"reactNative.command.publishToExpHost.title": "发布到 Expo",
"reactNative.command.showDevMenu.title": "显示开发人员菜单",
"reactNative.command.reloadApp.title": "重新加载应用",
"reactNative.command.runInspector.title": "运行元素检查器",
"reactNative.snippets.debugAndroid.description": "用于在 Android 上启动 react-native 应用的新配置",
"reactNative.snippets.debugiOS.description": "用于在 iOS 上启动 react-native 应用的新配置",
"reactNative.snippets.attachPackager.description": "用于附加到包装工具的新配置",
"reactNative.snippets.attachPackager.description": "用于附加到包生成工具的新配置",
"reactNative.snippets.debugExpo.description": "用于启动 Expo 应用的新配置",
"reactNative.attach.program.description": "指向 vscode 文件夹中的 launchReactNative.js 的路径",
"reactNative.attach.program.description": "[DEPRECATED. USE cwd INSTEAD] 指向 vscode 文件夹中的 launchReactNative.js 的路径",
"reactNative.attach.cwd.description": "项目根文件夹的路径",
"reactNative.attach.sourceMaps.description": "是否要使用 JavaScript 源映射将生成的捆绑代码映射回其原始源",
"reactNative.attach.outDir.description": "生成的 JavaScript 代码(捆绑文件)的位置。此位置通常应为 \"${workspaceRoot}/.vscode/.react\"",
"reactNative.attach.sourceMapsPathOverrides.description": "一组用于重写 sourcemap 中所述的源文件位置的映射,映射到磁盘上的相应位置。有关详细信息,请参见自述文件。",
"reactNative.attach.trace.description": "安装程序在调试器中的日志记录级别。",
"reactNative.attach.address.description": "调试端口的 TCP/IP 地址。默认值为 \"localhost\"",
"reactNative.attach.port.description": "要附加到的调试端口。默认值为 8081。",
"reactNative.attach.sourceMapsPathOverrides.description": "一组用于重写源映射中所述的源文件位置的映射,映射到磁盘上的相应位置。有关详细信息,请参阅 https://github.com/Microsoft/vscode-react-native/blob/master/doc/debugging.md#debugging-with-typescript-and-haul",
"reactNative.attach.trace.description": "调试器进程中的日志记录级别。可能有助于诊断。如果设置为“跟踪”,则可通过“调试控制台”输出窗口查看所有调试器进程日志。",
"reactNative.attach.address.description": "要附加到(以进行调试)的包生成工具的 TCP/IP 地址。默认为 \"localhost\"",
"reactNative.attach.port.description": "要附加到(以进行调试)的包生成工具的端口。默认为 8081。",
"reactNative.attach.remoteRoot.description": "远程主机的源根目录。",
"reactNative.attach.localRoot.description": "本地源根对应于 \"remoteRoot\"",
"reactNative.attach.skipFiles.description": "文件或文件夹名称,或 glob 模式的数组,在调试时跳过。",
"reactNative.launch.platform.description": "目标平台",
"reactNative.launch.program.description": "指向 vscode 文件夹中的 launchReactNative.js 的路径",
"reactNative.launch.target.description": "在(设备或模拟器)上运行的设备目标",
"reactNative.attach.debuggerWorkerUrlPath.description": "要替代的应用调试程序辅助进程的路径。例如,如果调试程序尝试附加到 http://localhost:8081/debugger-ui/debuggerWorker.js,而你从包生成工具输出中得到 404 错误,那么你可能需要将 debuggerWorkerUrlPath 更改为适合包生成工具的另一个值(\"debugger-ui\" 将替换为你提供的值)。",
"reactNative.launch.platform.description": "要面向的平台。可能的值: \"android\"\"ios\"\"exponent\"\"windows\"\"wpf\"",
"reactNative.launch.program.description": "[DEPRECATED. USE cwd INSTEAD] 指向 vscode 文件夹中的 launchReactNative.js 的路径",
"reactNative.launch.cwd.description": "项目根文件夹的路径",
"reactNative.launch.target.description": "要在其上运行的目标。可能的值: \"simulator\"\"device\"\"<Android emulator/device id>\"\"<iOS simulator/device name>\"",
"reactNative.launch.sourceMaps.description": "是否要使用 JavaScript 源映射将生成的捆绑代码映射回其原始源",
"reactNative.launch.logCatArguments.description": "要用于 LogCat (LogCat 输出将显示在输出通道上)的参数。它可能是一个数组,如: [\":S\"\"ReactNative:V\"\"ReactNativeJS:V\"],也可以是一个字符串,如: \":S ReactNative:V ReactNativeJS:V\"",
"reactNative.launch.logCatArguments.description": "要用于 LogCat (LogCat 输出将显示在输出通道上)的参数。它可能是一个数组,如: [\":S\"\"ReactNative:V\"\"ReactNativeJS:V\"]",
"reactNative.launch.outDir.description": "生成的 JavaScript 代码(捆绑文件)的位置。此位置通常应为 \"${workspaceRoot}/.vscode/.react\"",
"reactNative.launch.runArguments.description": "运行传递给 \"react-native run-<platform>\" 命令的参数(替代所有其他配置参数)",
"reactNative.launch.env.description": "传递给程序的环境变量",
"reactNative.launch.env.description": "传递给调试器和 \"react-native run-<platform>\" 命令的环境变量",
"reactNative.launch.envFile.description": "包含环境变量定义的文件的绝对路径。",
"reactNative.launch.variant.description": "要传递到 react-native run-android (例如 \"devDebug\")以指定 --variant=devDebug 的变体",
"reactNative.launch.scheme.description": "要传递到 react-native run-ios (例如 \"devDebug\")以指定 --scheme=devDebug 的方案名称",
"reactNative.launch.productName.description": "捆绑显示名称,例如 AwesomeProject",
"reactNative.launch.variant.description": "要传递到 \"react-native run-android\" (例如 \"devDebug\")以指定 \"--variant=devDebug\" 的变体",
"reactNative.launch.scheme.description": "要传递到 \"react-native run-ios\" (例如 \"devDebug\")以指定 \"--scheme=devDebug\" 的方案名称",
"reactNative.launch.productName.description": "iOS 捆绑显示名称(例如,\"AwesomeProject\")值表示扩展将搜索 \"AwesomeProject. app\" 捆绑",
"reactNative.launch.skipFiles.description": "文件或文件夹名称,或 glob 模式的数组,在调试时跳过。",
"reactNative.launch.trace.description": "安装程序在调试器中的日志记录级别。",
"reactNative.launch.trace.description": "调试器进程中的日志记录级别。可能有助于诊断。如果设置为“跟踪”,则可通过“调试控制台”输出窗口查看所有调试器进程日志。",
"reactNative.launch.debuggerWorkerUrlPath.description": "要替代的应用调试程序辅助进程的路径。例如,如果调试程序尝试附加到 http://localhost:8081/debugger-ui/debuggerWorker.js,而你从包生成工具输出中得到 404 错误,那么你可能需要将 debuggerWorkerUrlPath 更改为适合包生成工具的另一个值(\"debugger-ui\" 将替换为你提供的值)。",
"reactNative.configuration.title": "React Native 配置",
"reactNative.configuration.properties.react-native.ios.runArguments.simulator.description": "运行要传递给 \"react-native run-ios\" 命令的参数",
"reactNative.configuration.properties.react-native.ios.runArguments.device.description": "运行要传递给 \"react-native run-ios\" 命令的参数",
Expand All @@ -59,7 +62,7 @@
"reactNative.configuration.properties.react-native.android.env.device.description": "传递给程序的环境变量。",
"reactNative.configuration.properties.react-native.android.envFile.simulator.description": "包含环境变量定义的文件的绝对路径。",
"reactNative.configuration.properties.react-native.android.envFile.device.description": "包含环境变量定义的文件的绝对路径。",
"reactNative.configuration.properties.react-native.packager.port.description": "React Native 包装工具端口",
"reactNative.configuration.properties.react-native.packager.port.description": "React Native 包生成工具端口",
"reactNative.configuration.properties.react-native-tools.projectRoot.description": "此 react-native 项目所在的子文件夹",
"reactNative.configuration.properties.react-native-tools.logLevel.description": "扩展中的日志记录级别"
}
4 changes: 2 additions & 2 deletions i18n/chs/src/common/commandExecutor.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"PackagerStopped": "已停止包装工具",
"PackagerNotFound": "找不到包装工具"
"PackagerStopped": "已停止包生成工具",
"PackagerNotFound": "找不到包生成工具"
}
32 changes: 19 additions & 13 deletions i18n/chs/src/common/error/errorStrings.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"CommandFailed": "执行命令 {0} 时出错",
"CommandFailedWithErrorCode": "命令“{0}”失败,错误代码为 {1}",
"ExpectedIntegerValue": "应为整数。无法读取 {0}",
"PackagerStartFailed": "执行 React Native 包装工具时出错",
"PackagerStartFailed": "执行 React Native 包生成工具时出错",
"IOSDeployNotFound": "找不到 iOS 部署。请确保全局安装该部署(npm install -g ios-deploy)",
"DeviceNotPluggedIn": "无法装载开发人员磁盘映像。",
"DeveloperDiskImgNotMountable": "无法装载开发人员磁盘映像。",
Expand All @@ -26,39 +26,45 @@
"DebuggerStubLauncherFailed": "未能为调试器设置存根启动器",
"IntellisenseSetupFailed": "未能设置 IntelliSense",
"NodeDebuggerConfigurationFailed": "未能配置调试器的节点调试器位置",
"FailedToStopPackagerOnExit": "关闭 React Native 工具时未能停止该包装工具",
"FailedToStopPackagerOnExit": "关闭 React Native 工具时未能停止该包生成工具",
"FailedToRunOnAndroid": "未能在 Android 中运行应用程序",
"FailedToRunOnIos": "未能在 iOS 中运行应用程序",
"FailedToRunExponent": "未能在 Exponent 中运行应用程序",
"FailedToStartPackager": "未能启动 React Native 包装工具",
"FailedToStopPackager": "未能停止 React Native 包装工具",
"FailedToRestartPackager": "未能重启 React Native 包装工具",
"FailedToRunExponent": "未能在 Expo 中运行应用程序",
"FailedToStartPackager": "未能启动 React Native 包生成工具",
"FailedToStopPackager": "未能停止 React Native 包生成工具",
"FailedToRestartPackager": "未能重启 React Native 包生成工具",
"DebuggingFailed": "无法调试应用程序",
"DebuggingFailedInNodeWrapper": "由于节点调试器内部出现错误,无法调试应用程序",
"RNTempFolderDeletionFailed": "无法删除临时文件夹 {0}",
"CouldNotFindLocationOfNodeDebugger": "找不到节点调试器扩展的位置",
"PackagerRunningInDifferentPort": "无法在端口 {0} 上启动包装工具,因为端口 {1} 上正在运行某个包装工具进程",
"PackagerRunningInDifferentPort": "无法在端口 {0} 上启动包生成工具,因为端口 {1} 上正在运行某个包生成工具进程",
"ErrorWhileProcessingMessageInIPMSServer": "处理消息时出错: {0}",
"ErrorNoPipeFound": "无法设置与 VSCode react-native 扩展进行通信。这是一个 react-native 项目吗,你确定在根目录安装了 react-native npm 包吗?",
"NotAllSuccessPatternsMatched": "未知错误: 并非所有成功模式都匹配。\n 这意味着 \"react-native run-{0}\" 命令失败。\n 请检查“视图”->“切换输出”-> React Native,\n“视图”->“切换输出”-> React Native: 运行 {1} 输出窗口。",
"CouldNotParsePackageVersion": "无法分析 {0} 中的包的版本组件: 版本 = {1}",
"UnsupportedCommandStatus": "不支持的命令状态",
"ExpectedExponentTunnelPath": "Exponent 未提供任何链接。你的项目是否设置正确?",
"ExpectedExponentTunnelPath": "Expo 未提供任何链接。你的项目是否设置正确?",
"WorkspaceNotFound": "使用工作区时出错: {0}",
"RNVersionNotSupportedByExponent": "Exponent 不支持 React Native 版本。支持的主要版本为: {0}",
"RNVersionNotSupportedByExponent": "Expo 不支持 React Native 版本。支持的主要版本为: {0}",
"UserCancelledExpoLogin": "用户已取消登录。",
"CannotAttachToPackagerCheckPackagerRunningOnPort": "无法附加到包装工具。确定存在包装工具并且其正在端口 {0} 中运行吗? 如果包装工具被配置为在另一个端口中运行,请确保将该端口添加到 settings.json。",
"AnotherDebuggerConnectedToPackager": "另一个调试器已连接到包装工具。请先将其关闭,然后再尝试使用 VSCode 进行调试。",
"CannotAttachToPackagerCheckPackagerRunningOnPort": "无法附加到包生成工具。确定存在包生成工具并且其正在端口 {0} 中运行吗? 如果包生成工具被配置为在另一个端口中运行,请确保将该端口添加到 settings.json。",
"AnotherDebuggerConnectedToPackager": "另一个调试器已连接到包生成工具。请先将其关闭,然后再尝试使用 VSCode 进行调试。",
"NotInReactNativeFolderError": "似乎你尝试在不是 React Native 项目根目录的目录中进行调试。\n 如果是这样,请遵循以下说明: https://github.com/Microsoft/vscode-react-native/blob/master/doc/customization.md#project-structure。",
"SourcesStoragePathIsNullOrEmpty": "SourcesStoragePath 参数为 null 或为空",
"AndroidCouldNotInstallTheAppOnAnyAvailibleDevice": "无法在任何可用的设备上安装该应用。请确保已正确配置 \n 设备或运行模拟器。请参阅 https://facebook.github.io/react-native/docs/android-setup.html。",
"AndroidShellCommandTimedOut": "Android shell 命令超时。请重试该操作。",
"AndroidProjectNotFound": "未找到 Android 项目。",
"AndroidMoreThanOneDeviceOrEmulator": "多个设备/模拟器",
"AndroidFailedToLaunchTheSpecifiedActivity": "未能启动指定的活动。请尝试手动运行应用程序并使用“附加到包装工具”启动配置启动调试。",
"AndroidFailedToLaunchTheSpecifiedActivity": "未能启动指定的活动。请尝试手动运行应用程序并使用“附加到包生成工具”启动配置启动调试。",
"IOSFoundMoreThanOneExecutablesCleanupBuildFolder": "在 {0} 中找到多个可执行文件。请清理生成文件夹或设置 \"productName\" 启动选项。",
"IOSCouldNotFoundExecutableInFolder": "{0} 中找不到可执行文件",
"WinRNMPPluginIsNotInstalled": "未安装 \"rnpm-plugin-windows\"",
"ReactDevtoolsIsNotInstalled": "未安装 React Devtools。请在终端运行 `npm install -g react-devtools` 命令以安装该工具。",
"DebuggingWontWorkReloadJSAndReconnect": "{0}。调试将不起作用: 请尝试从应用内重新加载 JS,或重新连接 VS Code 调试器",
"ReconnectionToPackagerFailedCheckForErrorsOrRestartReactNative": "重新连接到代理(包装工具)失败。请检查输出窗口是否存在包装工具错误(如有)。如果错误仍然存在,请重启 React Native 调试器。",
"ReconnectionToPackagerFailedCheckForErrorsOrRestartReactNative": "重新连接到代理(包生成工具)失败。请检查输出窗口是否存在包生成工具错误(如有)。如果错误仍然存在,请重启 React Native 调试器。",
"FailedToProcessMessageFromReactNativeApp": "未能处理 React Native 应用中的消息。消息:\n{0}",
"FailedToPrepareJSRuntimeEnvironment": "未能准备 JavaScript 运行时环境。消息:\n{0}",
"FailedToSendMessageToTheReactNativeApp": "未能将消息发送到 React Native 应用。消息:\n{0}",
"ReactNativeWorkerProcessThrownAnError": "React Native 辅助进程引发错误",
"CouldntImportScriptAt": "无法在 <{0}> 处导入脚本",
"RNMessageWithMethodExecuteApplicationScriptDoesntHaveURLProperty": "包含方法 executeApplicationScript 的 RNMessage 没有 \"url\" 属性"
Expand Down
18 changes: 9 additions & 9 deletions i18n/chs/src/common/packager.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"CouldNotReadPackagerOptions": "无法从 exp.json 读取包装工具的选项,继续...",
"StartingPackager": "正在启动包装工具",
"PackagerStarted": "已启动包装工具",
"PackagerIsAlreadyRunning": "包装工具已在运行",
"PackagerRunningOutsideVSCode": "React Native 包装工具在 VS Code 外部运行。如果想要调试,请使用“附加到包装工具”选项",
"PackagerIsStillRunning": "包装工具仍在运行。如果包装工具已在 VS Code 外部启动,请使用任务管理器退出该包装工具进程",
"PackagerIsNotRunning": "包装工具未运行",
"CouldNotReadPackagerOptions": "无法从 exp.json 读取包生成工具的选项,继续...",
"StartingPackager": "正在启动包生成工具",
"PackagerStarted": "已启动包生成工具",
"PackagerIsAlreadyRunning": "包生成工具已在运行",
"PackagerRunningOutsideVSCode": "React Native 包生成工具在 VS Code 外部运行。如果想要调试,请使用“附加到包生成工具”选项",
"PackagerIsStillRunning": "包生成工具仍在运行。如果包生成工具已在 VS Code 外部启动,请使用任务管理器退出该包生成工具进程",
"PackagerIsNotRunning": "包生成工具未运行",
"EntryPointDoesntExist": "index.js 和 index.{0}.js 中都不存在入口点。跳过预热...",
"AboutToGetURL": "即将获得: {0}",
"BundleCacheWasPrewarmed": "已预热捆绑缓存。",
"CouldNotStartPackager": "无法启动包装工具",
"StoppingPackager": "正在停止包装工具"
"CouldNotStartPackager": "无法启动包生成工具",
"StoppingPackager": "正在停止包生成工具"
}
4 changes: 2 additions & 2 deletions i18n/chs/src/debugger/appWorker.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"DisconnectedFromThePackagerToReactNative": "已从代理(包装工具)断开到 React Native 应用程序的连接。即将重试重新连接...",
"EstablishedConnectionWithPackagerToReactNativeApp": "已建立代理(包装工具)与 React Native 应用程序之间的连接"
"DisconnectedFromThePackagerToReactNative": "已从代理(包生成工具)断开到 React Native 应用程序的连接。即将重试重新连接...",
"EstablishedConnectionWithPackagerToReactNativeApp": "已建立代理(包生成工具)与 React Native 应用程序之间的连接"
}
Loading

0 comments on commit 5c5d70e

Please sign in to comment.