From fbe7ca204c30d4d77b3a56861ec59424b00d059a Mon Sep 17 00:00:00 2001 From: Roy Qu Date: Sat, 14 May 2022 16:54:59 +0800 Subject: [PATCH] - enhancement: show error message when user set a shortcut that's already being used. --- RedPandaIDE/RedPandaIDE_pt.ts | 8 +++++++ RedPandaIDE/RedPandaIDE_zh_CN.ts | 36 ++++++++++++++++++++------------ RedPandaIDE/RedPandaIDE_zh_TW.ts | 8 +++++++ 3 files changed, 39 insertions(+), 13 deletions(-) diff --git a/RedPandaIDE/RedPandaIDE_pt.ts b/RedPandaIDE/RedPandaIDE_pt.ts index 82227982..917e6dae 100644 --- a/RedPandaIDE/RedPandaIDE_pt.ts +++ b/RedPandaIDE/RedPandaIDE_pt.ts @@ -1641,6 +1641,14 @@ Shortcut + + Error + + + + Shortcut "%1" is used by "%2". + + EnvironmentShortcutWidget diff --git a/RedPandaIDE/RedPandaIDE_zh_CN.ts b/RedPandaIDE/RedPandaIDE_zh_CN.ts index 5f32f8c8..076d80d0 100644 --- a/RedPandaIDE/RedPandaIDE_zh_CN.ts +++ b/RedPandaIDE/RedPandaIDE_zh_CN.ts @@ -2276,17 +2276,27 @@ Are you really want to continue? EnvironmentShortcutModel - + action 动作 - + + Error + 错误 + + + + Shortcut "%1" is used by "%2". + 快捷键“%1”已经被“%2”使用了。 + + + Function 功能 - + Shortcut 快捷键 @@ -7409,27 +7419,27 @@ Are you really want to continue? 遇到第一个错误后立即中止编译(-Wfatal-errors) - + Linker 链接器 - + Link an Objective C program (-lobjc) 链接Objective-C程序 (-lobjc) - + Do not use standard system libraries (-nostdlib) 不使用标准库和系统启动文件(-nostdlib) - + Do not create a console window (-mwindows) 不产生控制台窗口(-mwindows) - + Strip executable (-s) 剥除附加信息(-s) @@ -7438,27 +7448,27 @@ Are you really want to continue? 链接Ojbective C程序(-lobjc) - + Output 输出 - + Put comments in generated assembly code (-fverbose-asm) 在生成的汇编代码中加入注释(-fverbose-asm) - + Do not compile, stop after the preprocessing stage (-E) 仅预处理(-E) - + Use pipes instead of temporary files during compilation (-pipe) 编译时使用管道而不是临时文件(-pipe) - + Do not assemble, compile and generate the assemble code (-S) 只生成汇编代码(-S) diff --git a/RedPandaIDE/RedPandaIDE_zh_TW.ts b/RedPandaIDE/RedPandaIDE_zh_TW.ts index 27f2b25a..a1aa8ce3 100644 --- a/RedPandaIDE/RedPandaIDE_zh_TW.ts +++ b/RedPandaIDE/RedPandaIDE_zh_TW.ts @@ -1641,6 +1641,14 @@ Shortcut + + Error + + + + Shortcut "%1" is used by "%2". + + EnvironmentShortcutWidget