From 1c51326e8ff070432ebc49115ab7dc9edd9cd8a4 Mon Sep 17 00:00:00 2001 From: Roy Qu Date: Sun, 31 Mar 2024 10:50:41 +0800 Subject: [PATCH] Use combobox to set project type option --- .../settingsdialog/projectgeneralwidget.cpp | 24 +- .../settingsdialog/projectgeneralwidget.h | 2 + .../settingsdialog/projectgeneralwidget.ui | 287 ++++++++---------- RedPandaIDE/translations/RedPandaIDE_pt_BR.ts | 230 +++++++------- RedPandaIDE/translations/RedPandaIDE_zh_CN.ts | 220 +++++++------- RedPandaIDE/translations/RedPandaIDE_zh_TW.ts | 232 +++++++------- libs/qsynedit/qsynedit_zh_CN.ts | 4 +- 7 files changed, 485 insertions(+), 514 deletions(-) diff --git a/RedPandaIDE/settingsdialog/projectgeneralwidget.cpp b/RedPandaIDE/settingsdialog/projectgeneralwidget.cpp index a0bd415c..f5b95364 100644 --- a/RedPandaIDE/settingsdialog/projectgeneralwidget.cpp +++ b/RedPandaIDE/settingsdialog/projectgeneralwidget.cpp @@ -35,6 +35,13 @@ ProjectGeneralWidget::ProjectGeneralWidget(const QString &name, const QString &g ui(new Ui::ProjectGeneralWidget) { ui->setupUi(this); + ui->cbType->addItems( + { + "Win32 GUI", + "Win32 Console", + "Win32 Static Library", + "Win32 DLL", + }); } ProjectGeneralWidget::~ProjectGeneralWidget() @@ -58,7 +65,9 @@ void ProjectGeneralWidget::doLoad() #else bool isMicroControllerProject = false; #endif - ui->grpType->setVisible(!isMicroControllerProject); + ui->cbType->setVisible(!isMicroControllerProject); + ui->cbDefaultCpp->setVisible(!isMicroControllerProject); + ui->cbSupportXPTheme->setVisible(!isMicroControllerProject); ui->grpIcon->setVisible(!isMicroControllerProject); ui->lblEncoding->setVisible(!isMicroControllerProject); ui->panelEncoding->setVisible(!isMicroControllerProject); @@ -111,7 +120,7 @@ void ProjectGeneralWidget::doLoad() ui->cbEncodingDetail->setCurrentText(defaultEncoding); } - ui->lstType->setCurrentRow( static_cast(project->options().type)); + ui->cbType->setCurrentIndex(static_cast(project->options().type)); ui->cbDefaultCpp->setChecked(project->options().isCpp); ui->cbSupportXPTheme->setChecked(project->options().supportXPThemes); @@ -133,7 +142,7 @@ void ProjectGeneralWidget::doSave() project->setEncoding(ui->cbEncoding->currentData().toByteArray()); } - int row = std::max(0,ui->lstType->currentRow()); + int row = std::max(0,ui->cbType->currentIndex()); project->options().type = static_cast(row); project->options().isCpp = ui->cbDefaultCpp->isChecked(); @@ -236,3 +245,12 @@ void ProjectGeneralWidget::updateIcons(const QSize &) pIconsManager->setIcon(ui->btnRemove, IconsManager::ACTION_MISC_CROSS); } + +void ProjectGeneralWidget::on_cbType_currentIndexChanged(int index) +{ + std::shared_ptr project = pMainWindow->project(); + if (!project) + return; + ui->txtOutputFile->setText(project->executable()); +} + diff --git a/RedPandaIDE/settingsdialog/projectgeneralwidget.h b/RedPandaIDE/settingsdialog/projectgeneralwidget.h index 93501d27..2c58e9ee 100644 --- a/RedPandaIDE/settingsdialog/projectgeneralwidget.h +++ b/RedPandaIDE/settingsdialog/projectgeneralwidget.h @@ -47,6 +47,8 @@ private slots: void on_cbEncoding_currentTextChanged(const QString &arg1); // SettingsWidget interface + void on_cbType_currentIndexChanged(int index); + public: void init() override; diff --git a/RedPandaIDE/settingsdialog/projectgeneralwidget.ui b/RedPandaIDE/settingsdialog/projectgeneralwidget.ui index a90a8135..d8ea7845 100644 --- a/RedPandaIDE/settingsdialog/projectgeneralwidget.ui +++ b/RedPandaIDE/settingsdialog/projectgeneralwidget.ui @@ -14,13 +14,122 @@ Form - + + + + Default encoding: + + + + true + + + + true + + + + + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + + Output File: + + + + + + + Default to C++ when creating new files + + + + + + + Type: + + + + + + + + + + Files: + + + + + + + File Name: + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + TextLabel + + + @@ -28,45 +137,14 @@ - - + + - File Name: + Support Windows XP Themes - - - - - - - true - - - - - - - Files: - - - - - - - TextLabel - - - - - - - Default encoding: - - - - + @@ -81,6 +159,13 @@ Icon + + + + Browse + + + @@ -139,97 +224,6 @@ - - - - Browse - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - - - - - Type - - - - - - - 0 - 0 - - - - QAbstractScrollArea::AdjustToContents - - - QAbstractItemView::NoEditTriggers - - - false - - - QListView::Fixed - - - QListView::SinglePass - - - QListView::ListMode - - - - Win32 GUI - - - - - Win32 Console - - - - - Win32 Static Library - - - - - Win32 DLL - - - - - - - - Default to C++ when creating new files - - - - - - - Support Windows XP Themes - - - @@ -249,29 +243,12 @@ - - - - Output File: - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - + + + + + 7 + 0 @@ -285,13 +262,10 @@ 0 - + - - - - + Qt::Horizontal @@ -316,9 +290,6 @@ cbEncodingDetail btnBrowse btnRemove - lstType - cbDefaultCpp - cbSupportXPTheme diff --git a/RedPandaIDE/translations/RedPandaIDE_pt_BR.ts b/RedPandaIDE/translations/RedPandaIDE_pt_BR.ts index ae473919..5ee35121 100644 --- a/RedPandaIDE/translations/RedPandaIDE_pt_BR.ts +++ b/RedPandaIDE/translations/RedPandaIDE_pt_BR.ts @@ -149,7 +149,7 @@ BacktraceModel - + Function Função @@ -1390,7 +1390,7 @@ - + @@ -1398,7 +1398,7 @@ Erro - + Save As Salvar como @@ -1408,7 +1408,7 @@ Arquivo %1 já aberto! - + The text to be copied exceeds count limit! O texto a ser copiado excede o limite do contador! @@ -1428,7 +1428,7 @@ O texto a ser removido excede o limite de caracteres! - + Print Document Imprimir documento @@ -1460,18 +1460,18 @@ Inserir a condição de parada: - + Readonly Apenas leitura - - + + Error Load File Erro ao carregar arquivo - + hex: %1 @@ -4276,7 +4276,7 @@ MainWindow - + Red Panda C++ Red Panda C++ @@ -4316,14 +4316,14 @@ - + New Problem Set Novo conjunto de problemas - + Add Problem Acrescentar problema @@ -4338,15 +4338,15 @@ - + Save Problem Set Salvar conjunto de problemas - - + + Load Problem Set Carregar conjunto de problemas @@ -4383,7 +4383,7 @@ - + Debug Console Console do depurador @@ -5063,7 +5063,7 @@ - + Clear all breakpoints Limpar todos os pontos de paradas @@ -5483,17 +5483,17 @@ Ctrl+Shift+Down - + - + - + @@ -5501,7 +5501,7 @@ Erro - + New Novo @@ -5527,12 +5527,12 @@ - + Problem Set %1 Conjunto de problemas %1 - + Load Theme Error Erro ao carregar tema @@ -5877,12 +5877,12 @@ - + Delete Remover - + Open in Editor Abrir no editor @@ -5918,22 +5918,22 @@ - + Confirm Convertion Confirmar conversão - - + + The editing file will be saved using %1 encoding. <br />This operation can't be reverted. <br />Are you sure to continue? O arquivo editado será salvo usando a codificação %1. <br /> Essa operação não poderá ser revertida. <br />Quer mesmo continuar? - + %1 files autosaved Salvamento automático dos arquivos %1 @@ -5965,12 +5965,12 @@ - + Problem Case %1 Caso do problema %1 - + New Folder %1 Nova pasta %1 @@ -5997,20 +5997,20 @@ - + Bookmark Description Marcar descrição - - + + Description: Descrição: - + New folder Nova pasta @@ -6042,12 +6042,12 @@ - + Do you want to save it? Quer salvar? - + File Changed Arquivo alterado @@ -6074,14 +6074,14 @@ - + New Project File? Novo arquivo de projeto? - - + + Do you want to add the new file to the project? Quer acrescentar novo arquivo ao projeto? @@ -6111,8 +6111,8 @@ Alterar o compilador do projeto resultará na perda de todas as opções personalizadas para compilação. - - + + Do you really want to do that? Quer mesmo fazer isso? @@ -6416,7 +6416,7 @@ Escolher arquivo para a saída esperada de dados - + Batch Set Cases Conjunto de casos em lote @@ -6482,7 +6482,7 @@ Ctrl+F10 - + Modify Watch Modificar observações @@ -6492,7 +6492,7 @@ Expressão a observar - + Rename Renomear @@ -6525,7 +6525,7 @@ Deslocar para a linha ... - + Go to Line Deslocar para linha @@ -6543,7 +6543,7 @@ - + Open Anwser Source File @@ -6563,7 +6563,7 @@ - + Template Exists @@ -6573,35 +6573,35 @@ - + - + Wrong Compiler Settings - + - + Compiler is set not to generate executable. - - + + We need the executabe to run problem case. - - + + Please correct this before start debugging - + Can't open last open information file '%1' for write! @@ -6653,12 +6653,12 @@ - + Import FPS Problem Set - + Rename Problem @@ -6668,7 +6668,7 @@ - + FPS Problem Set Files (*.fps;*.xml) @@ -6679,8 +6679,8 @@ - - + + Export FPS Problem Set @@ -6695,7 +6695,7 @@ - + Rename Problem Set @@ -6740,7 +6740,7 @@ - + Failed to generate the executable. @@ -6755,7 +6755,7 @@ - + The executable doesn't have symbol table, and can't be debugged. @@ -6785,7 +6785,7 @@ - + Watchpoint variable name @@ -6795,7 +6795,7 @@ - + Watchpoint hitted @@ -6830,12 +6830,12 @@ - + Save settings failed! - + Project folder removed. @@ -7013,7 +7013,7 @@ - + Exact @@ -7028,7 +7028,7 @@ - + Folder Not Empty @@ -7043,7 +7043,7 @@ - + Line: %1/%2 Char: %3/%4 @@ -7061,7 +7061,7 @@ MemoryModel - + ascii: '%1' @@ -7487,7 +7487,7 @@ Arquivo '%1' existente no projeto - + Project Updated Projeto atualizado @@ -7552,7 +7552,7 @@ Desenvolvido com uso da IDE Red Panda C++ - + Error Erro @@ -7702,7 +7702,7 @@ - Nome do compilador: %1 - + Processing makefile: Processando makefile: @@ -7716,7 +7716,7 @@ - Comando: %1 %2 - + Make program '%1' doesn't exists! @@ -7726,7 +7726,7 @@ - + - Command: %1 - Comando: %1 @@ -7932,87 +7932,87 @@ Configuração - + Name: Nome: - + File Name: Nome do arquivo: - + + Type: + + + + Files: Arquivos: - + TextLabel Configuração - + Default encoding: Codificação padrão - + Icon Ícone - + Remove Remover - + Browse Navegar - Type - Tipo + Tipo - Win32 GUI - Win32 GUI + Win32 GUI - Win32 Console - Win32 Console + Win32 Console - Win32 Static Library - Win32 Static Library + Win32 Static Library - Win32 DLL - Win32 DLL + Win32 DLL - + Default to C++ when creating new files Usar C++ como padrão ao criar novos arquivos - + Support Windows XP Themes Suporte a temas do Windows XP - + Output File: Arquivo de saída: - + %1 files [ %2 sources, %3 headers, %4 resources, %5 other files ] %1 arquivos [ %2 fontes, %3 cabeçalhos, %4 recursos, %5 outros ] @@ -8094,7 +8094,7 @@ ProjectModel - + File exists Arquivo existente @@ -8376,7 +8376,7 @@ QFileSystemModel - + <b>The name "%1" cannot be used.</b><p>Try using another name, with fewer characters or no punctuation marks. @@ -8387,7 +8387,7 @@ - + Can't open file '%1' for read. @@ -8676,7 +8676,7 @@ - + Save Salvar @@ -8995,7 +8995,7 @@ Índice %1 fora dos limites - + bytes bytes @@ -9222,7 +9222,7 @@ RegisterModel - + Register Registrador @@ -9232,7 +9232,7 @@ Valor - + @@ -9724,7 +9724,7 @@ - + Processing makefile: Processando makefile: @@ -10197,7 +10197,7 @@ Cancelar - + @@ -10261,9 +10261,9 @@ Desempenho - + - + @@ -10271,8 +10271,8 @@ Compilador - - + + Compiler @@ -10381,8 +10381,8 @@ Opções de projeto - - + + diff --git a/RedPandaIDE/translations/RedPandaIDE_zh_CN.ts b/RedPandaIDE/translations/RedPandaIDE_zh_CN.ts index 0e28e030..a0186128 100644 --- a/RedPandaIDE/translations/RedPandaIDE_zh_CN.ts +++ b/RedPandaIDE/translations/RedPandaIDE_zh_CN.ts @@ -217,7 +217,7 @@ p, li { white-space: pre-wrap; } BacktraceModel - + Function 函数 @@ -1604,7 +1604,7 @@ p, li { white-space: pre-wrap; } - + @@ -1616,8 +1616,8 @@ p, li { white-space: pre-wrap; } 无法写入文件"%1" - - + + Error Load File 载入文件错误 @@ -1646,7 +1646,7 @@ p, li { white-space: pre-wrap; } 继续保存? - + Save As 另存为 @@ -1656,7 +1656,7 @@ p, li { white-space: pre-wrap; } 文件%1已经被打开! - + The text to be copied exceeds count limit! 要复制的内容超过了行数限制! @@ -1676,7 +1676,7 @@ p, li { white-space: pre-wrap; } 要剪切的内容超过了字符数限制! - + hex: %1 16进制: %1 @@ -1722,7 +1722,7 @@ p, li { white-space: pre-wrap; } 输入当前断点的生效条件: - + Readonly 只读 @@ -4629,14 +4629,14 @@ p, li { white-space: pre-wrap; } MainWindow - + Red Panda C++ 小熊猫C++ - + @@ -4714,7 +4714,7 @@ p, li { white-space: pre-wrap; } - + Debug Console 调试主控台 @@ -4790,7 +4790,7 @@ p, li { white-space: pre-wrap; } 工具栏2 - + New 新建 @@ -4923,7 +4923,7 @@ p, li { white-space: pre-wrap; } - + Copy @@ -5078,14 +5078,14 @@ p, li { white-space: pre-wrap; } - + New Problem Set 新建试题集 - + Add Problem 添加试题 @@ -5100,15 +5100,15 @@ p, li { white-space: pre-wrap; } - + Save Problem Set 保存试题集 - - + + Load Problem Set 载入试题集 @@ -5156,7 +5156,7 @@ p, li { white-space: pre-wrap; } - + Remove Problem Case Remove Problem Set 删除试题案例 @@ -5239,14 +5239,14 @@ p, li { white-space: pre-wrap; } - + Import FPS Problem Set 导入FPS试题集 - - + + Export FPS Problem Set 导出FPS试题集 @@ -5860,7 +5860,7 @@ p, li { white-space: pre-wrap; } 保存为模板... - + New File 新建文件 @@ -5901,7 +5901,7 @@ p, li { white-space: pre-wrap; } - + Rename Symbol 重命名符号 @@ -6197,17 +6197,17 @@ p, li { white-space: pre-wrap; } 运行参数... - + File Encoding 文件编码 - + Recent Files 文件历史 - + @@ -6292,27 +6292,27 @@ p, li { white-space: pre-wrap; } - + Wrong Compiler Settings 错误的编译器设置 - + - + Compiler is set not to generate executable. 编译器被设置为不生成可执行文件。 - - + + We need the executabe to run problem case. 我们需要可执行文件来运行试题案例。 - + No compiler set 无编译器设置 @@ -6369,7 +6369,7 @@ p, li { white-space: pre-wrap; } - + Please correct this before start debugging 请在调试前改正设置。 @@ -6378,7 +6378,7 @@ p, li { white-space: pre-wrap; } 重新编译? - + Save last open info error 保存上次打开信息失败 @@ -6499,7 +6499,7 @@ p, li { white-space: pre-wrap; } 全部复制 - + Go to Line 跳转到行 @@ -6522,14 +6522,14 @@ p, li { white-space: pre-wrap; } - + Clear 清除 - + Export 导出 @@ -6540,7 +6540,7 @@ p, li { white-space: pre-wrap; } - + Problem Set %1 试题集%1 @@ -6569,7 +6569,7 @@ p, li { white-space: pre-wrap; } 项目已经被修改过,是否需要重新构建? - + Auto Save Error 自动保存出错 @@ -6630,14 +6630,14 @@ p, li { white-space: pre-wrap; } - + Bookmark Description 书签描述 - - + + Description: 描述: @@ -6647,7 +6647,7 @@ p, li { white-space: pre-wrap; } 在调试主控台中显示调试器输出 - + Remove this search 清除这次搜索 @@ -6867,12 +6867,12 @@ p, li { white-space: pre-wrap; } - + Delete 删除 - + Open in Editor 在编辑器中打开 @@ -6957,7 +6957,7 @@ p, li { white-space: pre-wrap; } 项目将被关闭. - + Save settings failed! 保存设置失败 @@ -7011,7 +7011,7 @@ p, li { white-space: pre-wrap; } C/C++源代码文件 (*.c *.cpp *.cc *.cxx) - + New Folder %1 新建文件夹%1 @@ -7063,26 +7063,26 @@ p, li { white-space: pre-wrap; } - + Do you want to save it? 需要保存吗? - + File Changed 文件已发生变化 - + New Project File? 新建项目文件? - - + + Do you want to add the new file to the project? 您是否要将新建的文件加入项目? @@ -7107,8 +7107,8 @@ p, li { white-space: pre-wrap; } 改变项目的编译器配置集会导致所有的自定义编译器选项被重置。 - - + + Do you really want to do that? 你真的想要那么做吗? @@ -7117,7 +7117,7 @@ p, li { white-space: pre-wrap; } 批量设置案例 - + Choose input files 选择输入数据文件 @@ -7131,7 +7131,7 @@ p, li { white-space: pre-wrap; } 无标题%1 - + Modify Watch 修改监视表达式 @@ -7366,7 +7366,7 @@ p, li { white-space: pre-wrap; } 请在工具栏中选择Debug编译器配置集,或者在“编译器配置集”设置的“编译/链接选项”页中<b>启用</b>“生成调试信息(-g3)”、<b>禁用</b>“剥除附件信息(-3)”。 - + C/C++ Source Files (*.c *.cpp *.cc *.cxx) C/C++源代码文件 (*.c *.cpp *.cc *.cxx) @@ -7405,7 +7405,7 @@ p, li { white-space: pre-wrap; } 您也可以删除所有断点,打开“CPU信息窗口”,然后调试汇编代码。 - + Failed to generate the executable. 未能生成可执行文件。 @@ -7485,23 +7485,23 @@ p, li { white-space: pre-wrap; } 载入失败 - - + + Problem Case %1 试题案例%1 - + - + - + @@ -7509,12 +7509,12 @@ p, li { white-space: pre-wrap; } 错误 - + Recent Projects 项目历史 - + Load Theme Error 载入主题失败 @@ -7560,7 +7560,7 @@ p, li { white-space: pre-wrap; } 是否保持它在小熊猫C++中打开的编辑窗口? - + Open 打开 @@ -7576,15 +7576,15 @@ p, li { white-space: pre-wrap; } 运行失败 - - + + Confirm Convertion 确认转换 - + Exact 完全一致 @@ -7603,7 +7603,7 @@ p, li { white-space: pre-wrap; } 行: %1 列: %2 (%3个字符) 总行数: %4 - + If you are using the Release compiler set, please use choose the Debug version from toolbar. @@ -7611,7 +7611,7 @@ p, li { white-space: pre-wrap; } - + The editing file will be saved using %1 encoding. <br />This operation can't be reverted. <br />Are you sure to continue? @@ -7647,7 +7647,7 @@ p, li { white-space: pre-wrap; } MemoryModel - + addr: %1 地址: %1 @@ -8140,7 +8140,7 @@ p, li { white-space: pre-wrap; } 文件'%1'已在项目中 - + Project Updated 项目已升级 @@ -8350,7 +8350,7 @@ p, li { white-space: pre-wrap; } 请检查编译器配置中的“程序”页。 - + Processing makefile: 正在处理makefile... @@ -8591,87 +8591,87 @@ p, li { white-space: pre-wrap; } 表单 - + Name: 名称: - + File Name: 文件名: - + + Type: + 类型: + + + Files: 文件: - + TextLabel 选项 - + Default encoding: 默认编码: - + Icon 图标 - + Remove 删除 - + Browse 浏览 - Type - 类型 + 类型 - Win32 GUI - Win32图形界面程序(GUI) + Win32图形界面程序(GUI) - Win32 Console - Win32主控台程序(Console) + Win32主控台程序(Console) - Win32 Static Library - Win32静态链接库 + Win32静态链接库 - Win32 DLL - Win32动态链接库(DLL) + Win32动态链接库(DLL) - + Default to C++ when creating new files 新文件默认为C++文件 - + Support Windows XP Themes 支持Windows XP主题 - + Output File: 输出文件: - + %1 files [ %2 sources, %3 headers, %4 resources, %5 other files ] 共%1个文件[%2个源程序文件,%3个头文件,%4个资源文件,%5个其他文件] @@ -9052,7 +9052,7 @@ p, li { white-space: pre-wrap; } QFileSystemModel - + <b>The name "%1" cannot be used.</b><p>Try using another name, with fewer characters or no punctuation marks. <b>文件名 "%1" 无法被使用!</b><p>可能是重名、过长、为空或者是使用了不能出现在文件名里的符号。 @@ -9061,7 +9061,7 @@ p, li { white-space: pre-wrap; } QObject - + Save 保存 @@ -9257,7 +9257,7 @@ p, li { white-space: pre-wrap; } 生成调试信息(-g3) - + Would you like Red Panda C++ to search for compilers in PATH? 您同意小熊猫C++在PATH路径中寻找gcc编译器吗? @@ -9546,7 +9546,7 @@ p, li { white-space: pre-wrap; } 下标"%1"越界 - + bytes 字节 @@ -9927,7 +9927,7 @@ p, li { white-space: pre-wrap; } RegisterModel - + @@ -10249,7 +10249,7 @@ p, li { white-space: pre-wrap; } SSE状态和控制 - + Register 寄存器 @@ -10469,7 +10469,7 @@ p, li { white-space: pre-wrap; } 请检查编译器设置的“程序”标签页。 - + Processing makefile: 正在处理makefile... @@ -11127,7 +11127,7 @@ p, li { white-space: pre-wrap; } - + @@ -11135,8 +11135,8 @@ p, li { white-space: pre-wrap; } 编译器配置集 - - + + Compiler @@ -11291,8 +11291,8 @@ p, li { white-space: pre-wrap; } 项目选项 - - + + @@ -11775,7 +11775,7 @@ p, li { white-space: pre-wrap; } JSON文件'%1':%2中存在错误:%3 - + Execute to evaluate 执行以求值 diff --git a/RedPandaIDE/translations/RedPandaIDE_zh_TW.ts b/RedPandaIDE/translations/RedPandaIDE_zh_TW.ts index 64f34308..76ed8d1b 100644 --- a/RedPandaIDE/translations/RedPandaIDE_zh_TW.ts +++ b/RedPandaIDE/translations/RedPandaIDE_zh_TW.ts @@ -137,7 +137,7 @@ BacktraceModel - + Function @@ -1227,7 +1227,7 @@ - + @@ -1235,7 +1235,7 @@ - + Save As @@ -1245,7 +1245,7 @@ - + The text to be copied exceeds count limit! @@ -1265,7 +1265,7 @@ - + Print Document @@ -1297,18 +1297,18 @@ - + Readonly - - + + Error Load File - + hex: %1 @@ -4061,7 +4061,7 @@ MainWindow - + Red Panda C++ @@ -4101,14 +4101,14 @@ - + New Problem Set - + Add Problem @@ -4123,15 +4123,15 @@ - + Save Problem Set - - + + Load Problem Set @@ -4168,7 +4168,7 @@ - + Debug Console @@ -4835,7 +4835,7 @@ - + Clear all breakpoints @@ -5255,17 +5255,17 @@ - + - + - + @@ -5273,7 +5273,7 @@ - + New @@ -5299,12 +5299,12 @@ - + Problem Set %1 - + Load Theme Error @@ -5596,12 +5596,12 @@ - + Delete - + Open in Editor @@ -5637,22 +5637,22 @@ - + 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 files autosaved @@ -5689,12 +5689,12 @@ - + Do you really want to do that? - + Choose input files @@ -5705,12 +5705,12 @@ - + Problem Case %1 - + New Folder %1 @@ -5737,20 +5737,20 @@ - + Bookmark Description - - + + Description: - + New folder @@ -5782,12 +5782,12 @@ - + Do you want to save it? - + File Changed @@ -5814,14 +5814,14 @@ - + New Project File? - - + + Do you want to add the new file to the project? @@ -6201,7 +6201,7 @@ - + Rename @@ -6226,7 +6226,7 @@ - + Go to Line @@ -6256,35 +6256,35 @@ - + - + Wrong Compiler Settings - + - + Compiler is set not to generate executable. - - + + We need the executabe to run problem case. - - + + Please correct this before start debugging - + Can't open last open information file '%1' for write! @@ -6336,12 +6336,12 @@ - + Import FPS Problem Set - + Rename Problem @@ -6351,7 +6351,7 @@ - + FPS Problem Set Files (*.fps;*.xml) @@ -6362,8 +6362,8 @@ - - + + Export FPS Problem Set @@ -6378,7 +6378,7 @@ - + Rename Problem Set @@ -6428,7 +6428,7 @@ - + Failed to generate the executable. @@ -6443,7 +6443,7 @@ - + The executable doesn't have symbol table, and can't be debugged. @@ -6473,7 +6473,7 @@ - + Watchpoint variable name @@ -6483,7 +6483,7 @@ - + Watchpoint hitted @@ -6518,7 +6518,7 @@ - + Save settings failed! @@ -6528,7 +6528,7 @@ - + Project folder removed. @@ -6706,7 +6706,7 @@ - + Exact @@ -6721,7 +6721,7 @@ - + Folder Not Empty @@ -6736,7 +6736,7 @@ - + Line: %1/%2 Char: %3/%4 @@ -6754,7 +6754,7 @@ MemoryModel - + ascii: '%1' @@ -7152,7 +7152,7 @@ - + Project Updated @@ -7217,7 +7217,7 @@ - + Error @@ -7355,7 +7355,7 @@ - + Processing makefile: @@ -7365,7 +7365,7 @@ - + Make program '%1' doesn't exists! @@ -7375,7 +7375,7 @@ - + - Command: %1 @@ -7577,87 +7577,67 @@ - + Name: - + File Name: - + + Type: + + + + Files: - + TextLabel - + Default encoding: - + Icon - + Remove - + Browse - - Type - - - - - Win32 GUI - - - - - Win32 Console - - - - - Win32 Static Library - - - - - Win32 DLL - - - - + Default to C++ when creating new files - + Support Windows XP Themes - + Output File: - + %1 files [ %2 sources, %3 headers, %4 resources, %5 other files ] @@ -7739,7 +7719,7 @@ ProjectModel - + File exists @@ -7996,7 +7976,7 @@ QFileSystemModel - + <b>The name "%1" cannot be used.</b><p>Try using another name, with fewer characters or no punctuation marks. @@ -8007,7 +7987,7 @@ - + Can't open file '%1' for read. @@ -8289,7 +8269,7 @@ - + Save @@ -8498,7 +8478,7 @@ - + bytes @@ -8702,7 +8682,7 @@ RegisterModel - + Register @@ -8712,7 +8692,7 @@ - + @@ -9117,7 +9097,7 @@ - + Processing makefile: @@ -9482,7 +9462,7 @@ - + @@ -9542,9 +9522,9 @@ - + - + @@ -9552,8 +9532,8 @@ - - + + Compiler @@ -9662,8 +9642,8 @@ - - + + diff --git a/libs/qsynedit/qsynedit_zh_CN.ts b/libs/qsynedit/qsynedit_zh_CN.ts index 6467587d..adfdd1cb 100644 --- a/libs/qsynedit/qsynedit_zh_CN.ts +++ b/libs/qsynedit/qsynedit_zh_CN.ts @@ -4288,12 +4288,12 @@ QSynedit::Document - + Can't open file '%1' for read! 无法读取文件"%1". - + Can't load codec '%1'! 无法加载字符编码"%1"!