From 4afe1f4315798187eb1028034c0dae6949f7aff8 Mon Sep 17 00:00:00 2001 From: Roy Qu Date: Sun, 30 Oct 2022 19:27:29 +0800 Subject: [PATCH] - change: rename "file" Menu -> "New Source File" to "New File" --- NEWS.md | 1 + RedPandaIDE/mainwindow.ui | 2 +- RedPandaIDE/translations/RedPandaIDE_pt_BR.ts | 22 ++- RedPandaIDE/translations/RedPandaIDE_zh_CN.ts | 169 +++++++++--------- RedPandaIDE/translations/RedPandaIDE_zh_TW.ts | 40 +---- 5 files changed, 101 insertions(+), 133 deletions(-) diff --git a/NEWS.md b/NEWS.md index 625c556a..783c2d3a 100644 --- a/NEWS.md +++ b/NEWS.md @@ -14,6 +14,7 @@ Red Panda C++ Version 2.1 - change: Don't turn on "Show some more warnings (-Wextra)" option by default for DEBUG compiler set - fix: Changes mainwindows's compiler set combobox not correctly handled for project - change: Don't localize autogenerated name for new files and new project (new msys2 gcc compiler can't correctly handle non-ascii chars in filenames) + - change: rename "file" Menu -> "New Source File" to "New File" Red Panda C++ Version 2.0 diff --git a/RedPandaIDE/mainwindow.ui b/RedPandaIDE/mainwindow.ui index e99e1f88..444d3a01 100644 --- a/RedPandaIDE/mainwindow.ui +++ b/RedPandaIDE/mainwindow.ui @@ -2024,7 +2024,7 @@ - New Source File + New File New Source File diff --git a/RedPandaIDE/translations/RedPandaIDE_pt_BR.ts b/RedPandaIDE/translations/RedPandaIDE_pt_BR.ts index f94f14fe..22fc9120 100644 --- a/RedPandaIDE/translations/RedPandaIDE_pt_BR.ts +++ b/RedPandaIDE/translations/RedPandaIDE_pt_BR.ts @@ -55,6 +55,10 @@ Website: <a href="%1">%1</a> Website: <a href="%1">%1</a> + + Microsoft Visual C++ + + AppTheme @@ -932,7 +936,7 @@ Editor untitled - sem nome + sem nome Error @@ -4398,7 +4402,7 @@ untitled - sem nome + sem nome New Project File Name @@ -4618,7 +4622,7 @@ untitled%1 - sem nome%1 + sem nome%1 Selection @@ -4823,7 +4827,7 @@ Project%1 - Projeto%1 + Projeto%1 Default @@ -4965,7 +4969,7 @@ Project untitled - sem nome + sem nome Can't save file @@ -5809,7 +5813,7 @@ untitled - sem nome + sem nome Save @@ -5913,11 +5917,11 @@ Optimize for the following machine (-march) - Otimizar para a seguinte máquina (-march) + Otimizar para a seguinte máquina (-march) Optimize less, while maintaining full compatibility (-tune) - Otimizar menor, porém mantendo completa compatibilidade (-tune) + Otimizar menor, porém mantendo completa compatibilidade (-tune) Enable use of specific instructions (-mx) @@ -6105,7 +6109,7 @@ This CPU - Essa CPU + Essa CPU Do not compile, stop after the preprocessing stage (-E) diff --git a/RedPandaIDE/translations/RedPandaIDE_zh_CN.ts b/RedPandaIDE/translations/RedPandaIDE_zh_CN.ts index 92e49c13..4d41327b 100644 --- a/RedPandaIDE/translations/RedPandaIDE_zh_CN.ts +++ b/RedPandaIDE/translations/RedPandaIDE_zh_CN.ts @@ -126,11 +126,16 @@ p, li { white-space: pre-wrap; } + Microsoft Visual C++ + Microsoft Visual C++ + + + Non-GCC Compiler 非GCC编译器 - + Website: <a href="%1">%1</a> 网址:<a href="%1">%1</a> @@ -1305,9 +1310,8 @@ Are you really want to continue? Editor - untitled - 无标题 + 无标题 untitled%1 @@ -1363,14 +1367,14 @@ Are you really want to continue? 要剪切的内容超过了字符数限制! - + Print Document 打印文档 - - - + + + Ctrl+click for more info Ctrl+单击以获取更多信息 @@ -1379,27 +1383,27 @@ Are you really want to continue? 未找到符号'%1'! - + astyle not found 找不到astyle程序 - + Can't find astyle in "%1". 找不到astyle程序"%1". - + Break point condition 断点条件 - + Enter the condition of the breakpoint: 输入当前断点的生效条件: - + Readonly 只读 @@ -5927,9 +5931,8 @@ Are you really want to continue? 输入数据文件 (*.in) - untitled%1 - 无标题%1 + 无标题%1 @@ -6122,10 +6125,8 @@ Are you really want to continue? 同时从硬盘上删除文件? - - untitled - 无标题 + 无标题 @@ -6501,9 +6502,8 @@ Are you really want to continue? ... - Project%1 - 项目%1 + 项目%1 @@ -6687,9 +6687,8 @@ Are you really want to continue? 找不到项目文件'%1'! - untitled - 无标题 + 无标题 Can't save file @@ -6700,105 +6699,105 @@ Are you really want to continue? 无法保存文件'%1'. - + Error Load File 载入文件错误 - - + + Error 错误 - + Can't create folder %1 无法创建文件夹%1 - + Warning 警告 - - + + Can't save file %1 无法保存文件%1 - + File Exists 文件已存在 - + File '%1' is already in the project 文件'%1'已在项目中 - + Project Updated 项目已升级 - + Your project was succesfully updated to a newer file format! 已成功将项目升级到新的格式 - + If something has gone wrong, we kept a backup-file: '%1'... 旧项目文件备份在'%1'。 - + Headers 头文件 - + Sources 源文件 - + Others 其他文件 - + Settings need update 设置需要更新 - + The compiler settings format of Red Panda C++ has changed. The compiler settings format of Dev-C++ has changed. 小熊猫C++的编译器设置格式已发生改变。 - + Please update your settings at Project >> Project Options >> Compiler and save your project. 请在项目 >> 项目属性 >> 编译器设置中修改您的设置并保存您的项目 - + Compiler not found 未找到编译器 - + The compiler set you have selected for this project, no longer exists. 您为该项目设置的编译器不存在。 - + It will be substituted by the global compiler set. 它将会被全局编译器设置代替。 - + Developed using the Red Panda C++ IDE Developed using the Red Panda Dev-C++ IDE 使用小熊猫C++编辑器开发 @@ -7267,32 +7266,32 @@ Are you really want to continue? ProjectModel - + File exists 文件已存在 - + File '%1' already exists. Delete it now? 文件'%1'已存在。是否删除? - + Remove failed 删除失败 - + Failed to remove file '%1' 无法删除文件'%1' - + Rename failed 改名失败 - + Failed to rename file '%1' to '%2' 无法将文件'%1'改名为'%2' @@ -7657,39 +7656,37 @@ Are you really want to continue? 调试器 - + C options C语言选项 - + Support all ANSI standard C programs (-ansi) 支持所有ANSI标准C程序(-ansi) - + Do not recognize asm,inline or typeof as a keyword (-fno-asm) 不支持将asm、inline和typeof作为关键字(-fno-asm) - + Imitate traditional C preprocessors (-traditional-cpp) 模仿传统C预处理器行为(-traditional-cpp) - + Code Generation 代码生成 - Optimize for the following machine (-march) - 生成特定机器的专用指令(-march) + 生成特定机器的专用指令(-march) - Optimize less, while maintaining full compatibility (-tune) - 完整兼容特定机器,较少优化(-tune) + 完整兼容特定机器,较少优化(-tune) @@ -7715,29 +7712,28 @@ Are you really want to continue? 性能分析 - + Generate debugging information (-g3) 生成调试信息(-g3) - + Would you like Red Panda C++ to search for compilers in PATH? 您同意小熊猫C++在PATH路径中寻找gcc编译器吗? - + Generate profiling info for analysis (-pg) 生成性能分析信息(-pg) - + Warnings 代码警告 - This CPU - 当前CPU + 当前CPU @@ -7750,42 +7746,42 @@ Are you really want to continue? C语言标准 (-std) - + Inhibit all warning messages (-w) 忽略所有警告信息(-w) - + Show most warnings (-Wall) 启用常见问题警告(-Wall) - + Show some more warnings (-Wextra) 启用更多问题警告(-Wextra) - + Check ISO C/C++/C++0x conformance (-pedantic) 检查ISO C/C++/C++0x语法一致性(-pedantic) - + Only check the code for syntax errors (-fsyntax-only) 只进行语法检查(不编译)(-fsyntax-only) - + Make all warnings into errors (-Werror) 将警告作为错误处理(-Werror) - + Abort compilation on first error (-Wfatal-errors) 遇到第一个错误后立即中止编译(-Wfatal-errors) - + Linker 链接器 @@ -7794,17 +7790,17 @@ Are you really want to continue? 链接Objective-C程序 (-lobjc) - + Do not use standard system libraries (-nostdlib) 不使用标准库和系统启动文件(-nostdlib) - + Do not create a console window (-mwindows) 不产生控制台窗口(-mwindows) - + Strip executable (-s) 剥除附加信息(-s) @@ -7825,7 +7821,7 @@ Are you really want to continue? 仅预处理(-E) - + Use pipes instead of temporary files during compilation (-pipe) 编译时使用管道而不是临时文件(-pipe) @@ -7834,23 +7830,23 @@ Are you really want to continue? 只生成汇编代码(-S) - - + + Confirm 确认 - + The following problems were found during validation of compiler set "%1": 在验证编译器设置"%1"时遇到了下列问题: - + Leaving those directories will lead to problems during compilation. 在配置中保留这些文件夹可能会导致编译出错。 - + Would you like Red Panda C++ to remove them for you and add the default paths to the valid paths? 是否让小熊猫C++删除这些配置,并尝试重新建立配置? @@ -7859,13 +7855,13 @@ Are you really want to continue? 如果仍然保留这些设置,可能会导致编译错误。<br /><br />请选择“是”,除非您清楚的知道选择“否”的后果, - - + + Compiler set not configuared. 未配置编译器设置。 - + Would you like Red Panda C++ to search for compilers in the following locations: <BR />'%1'<BR />'%2'? 您需要小熊猫C++在下列位置搜索编译器吗:<br />%1<br />%2 @@ -7898,9 +7894,8 @@ Are you really want to continue? - untitled - 无标题 + 无标题 Index %1 out of range @@ -8230,7 +8225,7 @@ Are you really want to continue? - + Can't open file '%1' for write. 无法写入文件'%1'. diff --git a/RedPandaIDE/translations/RedPandaIDE_zh_TW.ts b/RedPandaIDE/translations/RedPandaIDE_zh_TW.ts index 8b510691..fe433607 100644 --- a/RedPandaIDE/translations/RedPandaIDE_zh_TW.ts +++ b/RedPandaIDE/translations/RedPandaIDE_zh_TW.ts @@ -51,6 +51,10 @@ Website: <a href="%1">%1</a> + + Microsoft Visual C++ + + AppTheme @@ -831,10 +835,6 @@ Editor - - untitled - - Error @@ -4277,10 +4277,6 @@ Remove the file from disk? - - untitled - - New Project File Name @@ -4481,10 +4477,6 @@ Raylib Manual - - untitled%1 - - Selection @@ -4674,10 +4666,6 @@ Use as the default project location - - Project%1 - - Default @@ -4808,10 +4796,6 @@ Project - - untitled - - Error Load File @@ -5636,10 +5620,6 @@ default - - untitled - - Save @@ -5728,14 +5708,6 @@ Code Generation - - Optimize for the following machine (-march) - - - - Optimize less, while maintaining full compatibility (-tune) - - Enable use of specific instructions (-mx) @@ -5896,10 +5868,6 @@ Can't parse problem set file '%1':%2 - - This CPU - - Leaving those directories will lead to problems during compilation.