From 21083cbb6a3a26a45d58d9b5da23cc918fd7c173 Mon Sep 17 00:00:00 2001 From: "royqh1979@gmail.com" Date: Mon, 18 Oct 2021 23:44:02 +0800 Subject: [PATCH] - enhancement: add link to EGE website, if locale is zh_CN --- NEWS.md | 2 + RedPandaIDE/RedPandaIDE_zh_CN.qm | Bin 94978 -> 95240 bytes RedPandaIDE/RedPandaIDE_zh_CN.ts | 682 ++++++++++++++++--------------- RedPandaIDE/mainwindow.cpp | 7 + RedPandaIDE/mainwindow.h | 2 + RedPandaIDE/mainwindow.ui | 6 + 6 files changed, 367 insertions(+), 332 deletions(-) diff --git a/NEWS.md b/NEWS.md index c8bc1883..f9f5774a 100644 --- a/NEWS.md +++ b/NEWS.md @@ -3,6 +3,8 @@ Version 0.6.8 - fix: add mutex lock to prevent editor crash in rare conditions - fix: In the create project dialog, the browser button doesn't work - enhancement: use QStyle to implement the dark style, and better control of the style's look and feel + - enhancement: add link to C/C++ reference website in the help menu + - enhancement: add link to EGE website, if locale is zh_CN Version 0.6.7 - fix: messages send to the gdb process's standard error are not received diff --git a/RedPandaIDE/RedPandaIDE_zh_CN.qm b/RedPandaIDE/RedPandaIDE_zh_CN.qm index 4f3ba61de8246971ce8f17950a33f91aef53671f..20a92073bb44c48e16b95b1ea1a9ac8de3514d04 100644 GIT binary patch delta 9363 zcmY+Jd0b5G|Nr0D%sFS~%$%7)5)xUGLR5;BL@Gk|rLvVusC3(I%dNQ;w_Qj@$X2qX z$R35tPIkBLj+@GoxXHeLU(NYEevilRpPqA0bFOn;@8$J=U)RJ}@{6DItC|`|5^+gH zCpv*^!9Xw>j001^?O-Z+9$W`jgX@V3>VbL0EHc4OE-_eOal4iOhRCKI@5$O=9E^))=VvhJS#}GDhT=LDVcv=J2y7vK~=HeY}W{p8$J+ zBqQCxjUdeW9tI9x zMznDi(b!^Qt-lgy3v1knCT{#}qStd_kX9HppSVm+HoKU(9k`$Smbl{_(a|%+T?O;M z5O>W67Fq`OB4+PT+%1f0`HZ+b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iy;%j2egOV$mQl>sPuh zemEk@tkG?WO2gzcS(kWn2u7yKx*g|Z(1`5OC0VAREPv6ZCSqs1b-Jv7n`7+0r7NjD zGfKY)!sqGxbR}i3h@EaGvQG1LXNOP2_g1>9_?D<0wz^l(@cW_$twbiul@Y{$31STx71EW#}uh=vL^{=zf5miFBdvPde>Pu zYUlrfdbj>KU{GJx`?wWC7<%aacg@FwzUl`($3g}@*N61Pe30g#A9MQ+j^}>q!^)oH z*!`$}?8ysAuSETn3r~^fz4TLiB0ZDy^i%t7#y=(^^t0|F|NGVGm*Rhf^q;kUxe$(n z%x?PFt#GYRp?*WTKVER6M89K5CRTP>zpGk-;FzpW+Zl~sFhsw<0(IKaRi8QQ7NoPj z{%|2o_!rw60*^kmruf6P^N#T z)1u{4>OZNLVbHm!|9rj|wEwpL$0VZ?MPv;=;HdOwvHoWWUes}r%v+rek`Z06#X3W? zCd*(Ut-*RXOue+7p`$xYne1+Gx*d+8bg;px91m>iXK;P97}ER3;GGr$*Bmqqs5uYm z9c~C{4~x#6X&9Y!8OM9y4HK7OgG2lc6OCCzpnx8R>Cd*~2loy0bA55}kYiZ#CJ1LY z-3_ZxCnL&V8rCatV}gTWLr1u1{8_`s7Knb^jWRzxG?6*$4BM)pBYgxzqGmRNYpEfz z4J=dM#ISQ0`0cwPdDC7DHbI7zm8iOVvkb=69tffj-3ugz(40mXwdu|uLs3j{s*U?$gKbX diff --git a/RedPandaIDE/RedPandaIDE_zh_CN.ts b/RedPandaIDE/RedPandaIDE_zh_CN.ts index 511c4e76..7ecf54f0 100644 --- a/RedPandaIDE/RedPandaIDE_zh_CN.ts +++ b/RedPandaIDE/RedPandaIDE_zh_CN.ts @@ -56,6 +56,19 @@ 版本: + + AppTheme + + + Error in json file '%1':%2 : %3 + JSON文件'%1':%2中存在错误:%3 + + + + Can't open file '%1' for read. + 无法读取文件'%1'. + + AutolinkModel @@ -1052,7 +1065,7 @@ Are you really want to continue? Append formatted timestamp - 添加格式化世时间戳 + 添加格式化时间戳 @@ -1493,12 +1506,12 @@ Are you really want to continue? 表单 - + Add 添加 - + Remove 删除 @@ -1645,12 +1658,12 @@ Are you really want to continue? 字体: - + Language: 语言: - + *Needs restart *需要重启之后生效 @@ -1678,7 +1691,7 @@ Are you really want to continue? 文件类型: - + Just check or uncheck for which file types Dev-C++ wil be registered as the default application to open them ... 选择想要使用Dev-C++打开的文件类型(可能需要管理员权限) @@ -2686,39 +2699,39 @@ Are you really want to continue? - + Issues 编译器 - + Compile Log 编译日志 - + File 文件 - + Tools 工具 - - + + Run 运行 - + Edit 编辑 - + Project 项目 @@ -2741,82 +2754,82 @@ Are you really want to continue? 资源 - - - - + + + + Debug 调试 - + Evaluate: 求值 - + Debug Console 调试主控台 - + Call Stack 调用栈 - + Breakpoints 断点 - + Locals 本地变量 - - + + Search 查找 - + History: 历史: - + Search Again 重新查找 - + Replace with: 替换为: - + Replace 替换 - + Close 关闭 - + Execute 运行 - - + + Code 代码 - + Window 窗口 @@ -2829,695 +2842,700 @@ Are you really want to continue? 工具栏2 - + New 新建 - + Ctrl+N Ctrl+N - + Open... 打开... - + Ctrl+O Ctrl+O - + Save 保存 - + Ctrl+S Ctrl+S - + Save As... 另存为... - + Save As 另存为 - + Save All 全部保存 - + Ctrl+Shift+S Ctrl+Shift+S - + Options 选项 - - - - - - - + + + + + + + Compile 编译 - + F9 F9 - + F10 F10 - + Undo 恢复 - + Ctrl+Z Ctrl+Z - + Redo 重做 - + Ctrl+Y Ctrl+Y - + Cut 剪切 - + Ctrl+X Ctrl+X - - - + + + Copy 复制 - + Ctrl+C Ctrl+C - - + + Paste 粘贴 - + Ctrl+V Ctrl+V - - + + Select All 选择全部 - + Ctrl+A Ctrl+A - + Indent 缩进 - + UnIndent 取消缩进 - + Toggle Comment 切换注释 - + Ctrl+/ Ctrl+/ - + Collapse All 全部收起 - + Uncollapse All 全部展开 - + Encode in ANSI 使用ANSI编码 - + Encode in UTF-8 使用UTF-8编码 - + Auto Detect 自动检测 - + Convert to ANSI 转换为ANSI编码 - + Convert to UTF-8 转换为UTF-8编码 - - + + Compile & Run 编译运行 - + F11 F11 - - + + Rebuild All 全部重编译 - + F12 F12 - + Stop Execution 停止执行 - + F6 F6 - + F5 F5 - + Step Over 单步跳过 - + F7 F7 - + Step Into 单步进入 - + Memory 内存 - + Address Expression: Address: 地址表达式: - + Cancel 取消 - + TODO TODO - + Help 帮助 - + Refactor 重构 - + Main 主工具栏 - + Compiler Set 编译器配置集 - - + + New Source File 新建源代码文件 - + Tab Tab - + Shift+Tab Shift+Tab - + F8 F8 - + Step Out 单步跳出 - + Ctrl+F8 Ctrl+F8 - + Run To Cursor 执行到光标处 - + Ctrl+F5 Ctrl+F5 - + Continue 继续执行 - + F4 F4 - + Add Watch... 添加监视 - + View CPU Window... 打开CPU信息窗口... - + Exit 退出 - + Find... 查找... - + Ctrl+F Ctrl+F - + Find in Files... 在文件中查找... - + Ctrl+Shift+F Ctrl+Shift+F - + Replace... 替换 - + Ctrl+R Ctrl+R - + Find Next 查找下一个 - + F3 F3 - + Find Previous 查找前一个 - + Shift+F3 Shift+F3 - + Remove Watch 删除监视 - + Remove All 清除全部监视 - + Modify Watch... 修改监视值 - + Reformat Code 对代码重新排版 - + Ctrl+Shift+A Ctrl+Shift+A - + Go back 前一次编辑位置 - + Ctrl+Alt+Left Ctrl+Alt+Left - + Forward 后一次编辑位置 - + Ctrl+Alt+Right Ctrl+Alt+Right - + Ctrl+W Ctrl+W - + Close All 全部关闭 - + Ctrl+Shift+W Ctrl+Shift+W - + Maximize Editor 最大化编辑器 - + Ctrl+F11 Ctrl+F11 - + Next 下一窗口 - + Ctrl+Tab Ctrl+Tab - + Previous 前一窗口 - + Ctrl+Shift+Tab Ctrl+Shift+Tab - + Toggle breakpoint 切换断点 - + Ctrl+F4 Ctrl+F4 - - + + Clear all breakpoints 删除所有断点 - + Breakpoint property... 设置断点条件... - + Goto Declaration 跳转到声明处 - + Goto Definition 跳转到定义处 - + Find references 查找符号的引用 - + Open containing folder 打开所在的文件夹 - + Ctrl+B Ctrl+B - + Open a terminal here 打开命令行窗口 - + File Properties... 文件属性... - + Close Project 关闭项目 - + Project options 项目属性 - + New Project... 新建项目... - + New File 新建项目文件 - + Add to project... 添加到项目... - + Remove from project 从项目删除 - + View Makefile 查看Makefile - + Clean 清理构建文件 - + Open Folder in Explorer 在浏览器中打开 - + Open In Terminal 在终端中打开 - + About 关于 - - + + Rename Symbol 重命名符号 - + Shift+F6 Shift+F6 - + Print... 打印... - + Ctrl+P Ctrl+P - - + + Export As RTF 导出为RTF - - + + Export As HTML 导出为HTML - + Move To Other View 移动到其他视图 - + Ctrl+M Ctrl+M - + C/C++ Reference C/C++参考 - + + EGE Manual + EGE图形库手册 + + + File Encoding 文件编码 - + Recent Files 文件历史 - - - - - - + + + + + + Debugging 正在调试 - - - - - - + + + + + + Running 正在运行 - - - - - - + + + + + + Compiling 正在编译 @@ -3526,486 +3544,486 @@ Are you really want to continue? 行:%1 列:%2 已选择:%3 总行数:%4 总长度:%5 - + Line:%1 Col:%2 Selected:%3 Lines:%4 Length:%5 Line: %1 Col: %2 Selected: %3 Lines: %4 Length: %5 行: %1 列: %2 已选择 :%3 总行数: %4 总长度: %5 - + Read Only 只读 - + Insert 插入 - + Overwrite 覆写 - + Close project 关闭项目 - + Are you sure you want to close %1? 你确定要关闭'%1'吗? - - + + Confirm 确认 - - - + + + Source file is not compiled. 源文件尚未编译。 - - + + Compile now? 现在编译? - - - + + + Source file is more recent than executable. 源文件比可执行程序新。 - + Recompile now? 重新编译? - + No compiler set 无编译器设置 - + No compiler set is configured. 没有配置编译器设置。 - + Can't start debugging. 无法启动调试器 - - + + Enable debugging 启用调试参数 - - + + You have not enabled debugging info (-g3) and/or stripped it from the executable (-s) in Compiler Options.<BR /><BR />Do you want to correct this now? 当前编译设置中未启用调试选项(-g3),或启用了信息剥除选项(-s)<br /><br/>是否纠正这一问题? - + Project not built 项目尚未构建 - + Project hasn't been built. Build it now? 项目尚未构建。是否构建? - + Host applcation missing 宿主程序不存在 - + DLL project needs a host application to run. 动态链接库(DLL)需要一个宿主程序来运行。 - + But it's missing. 但它不存在。 - + Host application not exists 宿主程序不存在 - + Host application file '%1' doesn't exist. 宿主程序'%1'不存在。 - + Recompile? 重新编译? - - + + Save last open info error 保存上次打开信息失败 - + Can't remove old last open information file '%1' 无法删除旧上次打开信息文件'%1' - + Can't save last open info file '%1' 无法保存上次打开信息文件'%1' - + Load last open info error 载入上次打开信息失败 - + Can't load last open info file '%1' 无法载入上次打开信息文件'%1' - + Copy all 全部复制 - - + + Clear 清除 - + Export 导出 - + Insert Snippet 插入代码段 - + Show debug logs in the debug console 在调试主控台中显示调试器输出 - + Remove this search 清除这次搜索 - + Clear all searches 删除所有搜索 - + Breakpoint condition... 断点条件... - + Break point condition 断点条件 - + Enter the condition of the breakpoint: 输入当前断点的生效条件: - + Remove all breakpoints 清除所有断点 - + Rename File 重命名文件 - - + + Add Folder 添加文件夹 - + New folder 新文件夹 - + Folder name: 文件夹: - + Rename Folder 重命名 - + Remove Folder 删除文件夹 - + Sort By Type 按类型排序 - + Sort alphabetically 按名称排序 - + Show inherited members 显示继承的成员 - + Goto declaration 跳转到声明处 - + Goto definition 跳转到定义处 - + Character sets 字符集 - + %1 files autosaved 已自动保存%1个文件 - + Save project 保存项目 - + The project '%1' has modifications. 项目'%1'有改动。 - + Do you want to save it? 需要保存吗? - + Do you really want to clear all breakpoints in this file? 您真的要清除该文件的所有断点吗? - + New project 新建项目 - + Close %1 and start new project? 关闭'%1'以打开新项目? - + Folder not exist 文件夹不存在 - + Folder '%1' doesn't exist. Create it now? 文件夹'%1'不存在。是否创建? - + Can't create folder 无法创建文件夹 - + Failed to create folder '%1'. 创建文件夹'%1'失败。 - + Save new project as - + Red panda Dev-C++ project file (*.dev) 小熊猫Dev-C++项目文件 (*.dev) - + New project fail 新建项目失败 - + Can't assign project template 无法使用模板创建项目 - + Add to project 添加到项目 - + Rename Error 重命名出错 - + Symbol '%1' is defined in system header. 符号'%1'在系统头文件中定义,无法修改。 - + New Name 新名称 - - + + Replace Error 替换出错 - + Can't open file '%1' for replace! 无法打开文件'%1'进行替换! - + Contents has changed since last search! 内容和上次查找时不一致。 - + Rich Text Format Files (*.rtf) RTF格式文件 (*.rtf) - + HTML Files (*.html) HTML文件 (*.html) - - - - - - - - - + + + + + + + + + Error 错误 - + Recent Projects 项目历史 - + File '%1' was changed. 磁盘文件'%1'已被修改。 - + Reload its content from disk? 是否重新读取它的内容? - + File '%1' was removed. 磁盘文件'%1'已被删除。 - + Keep it open? 是否保持它在小熊猫C++中打开的编辑窗口? - + Open 打开 - + Compile Failed 编译失败 - + Run Failed 运行失败 - - + + Confirm Convertion 确认转换 - - + + The editing file will be saved using %1 encoding. <br />This operation can't be reverted. <br />Are you sure to continue? 当前编辑器中的文件将会使用%1编码保存。<br />这项操作无法被撤回。<br />你确定要继续吗? - + New Watch Expression 新监视表达式 - + Enter Watch Expression (it is recommended to use 'this->' for class members): 输入监视表达式 - + Parsing file %1 of %2: "%3" (%1/%2)正在解析文件"%3" - - + + Done parsing %1 files in %2 seconds 完成%1个文件的解析,用时%2秒 - + (%1 files per second) (每秒%1个文件) @@ -4427,37 +4445,37 @@ Are you really want to continue? 类型 - + Win32 GUI Win32图形界面程序(GUI) - + Win32 Console Win32主控台程序(Console) - + Win32 Static Library Win32静态链接库 - + Win32 DLL Win32动态链接库(DLL) - + Default to C++ when creating new files 新文件缺省为C++文件 - + Support Windows XP Themes 支持Windows XP主题 - + Output File: 输出文件: @@ -6088,12 +6106,12 @@ Are you really want to continue? SynEditStringList - + Can't open file '%1' for read! 无法读取文件'%1'! - + Can't open file '%1' for save! 无法写入文件'%2'! @@ -6139,48 +6157,48 @@ Are you really want to continue? 删除 - - + + Browse 浏览 - + Parameters 参数 - + Ok 确定 - + Cancel 取消 - + Title 名称 - + Pause console after the program exit 程序在主控台中结束运行后暂停 - + Program 程序 - + Working Directory 工作文件夹 - + Insert Macro 插入宏指令 diff --git a/RedPandaIDE/mainwindow.cpp b/RedPandaIDE/mainwindow.cpp index 15d7961b..c8ef1260 100644 --- a/RedPandaIDE/mainwindow.cpp +++ b/RedPandaIDE/mainwindow.cpp @@ -185,6 +185,7 @@ MainWindow::MainWindow(QWidget *parent) connect(ui->menuProject, &QMenu::aboutToShow, this, &MainWindow::updateProjectActions); + ui->actionEGE_Manual->setVisible(pSettings->environment().language()=="zh_CN"); buildContextMenus(); @@ -4297,3 +4298,9 @@ void MainWindow::on_actionC_C_Reference_triggered() } } + +void MainWindow::on_actionEGE_Manual_triggered() +{ + QDesktopServices::openUrl(QUrl("https://xege.org/ege-open-source")); +} + diff --git a/RedPandaIDE/mainwindow.h b/RedPandaIDE/mainwindow.h index ae78fe6f..acfe265f 100644 --- a/RedPandaIDE/mainwindow.h +++ b/RedPandaIDE/mainwindow.h @@ -405,6 +405,8 @@ private slots: void on_actionC_C_Reference_triggered(); + void on_actionEGE_Manual_triggered(); + private: Ui::MainWindow *ui; EditorList *mEditorList; diff --git a/RedPandaIDE/mainwindow.ui b/RedPandaIDE/mainwindow.ui index 0797d2fb..cf7c6702 100644 --- a/RedPandaIDE/mainwindow.ui +++ b/RedPandaIDE/mainwindow.ui @@ -972,6 +972,7 @@ Help + @@ -1861,6 +1862,11 @@ C/C++ Reference + + + EGE Manual + +