diff --git a/RedPandaIDE/settingsdialog/environmentappearancewidget.cpp b/RedPandaIDE/settingsdialog/environmentappearancewidget.cpp index 99477506..d8b9e192 100644 --- a/RedPandaIDE/settingsdialog/environmentappearancewidget.cpp +++ b/RedPandaIDE/settingsdialog/environmentappearancewidget.cpp @@ -18,6 +18,7 @@ #include "ui_environmentappearancewidget.h" #include +#include #include #include "../settings.h" #include "../mainwindow.h" @@ -109,6 +110,7 @@ void EnvironmentAppearanceWidget::on_cbTheme_currentIndexChanged(int /* index */ { ThemeManager themeManager; PAppTheme appTheme = themeManager.theme(ui->cbTheme->currentData().toString()); + ui->btnCustomize->setVisible(appTheme->category() == AppTheme::ThemeCategory::BuiltIn); if(!appTheme->defaultIconSet().isEmpty()) { for (int i=0; icbIconSet->count();i++) { if (ui->cbIconSet->itemData(i) == appTheme->defaultIconSet()) { @@ -119,3 +121,25 @@ void EnvironmentAppearanceWidget::on_cbTheme_currentIndexChanged(int /* index */ } } + +void EnvironmentAppearanceWidget::on_btnCustomize_clicked() +{ + ThemeManager themeManager; + PAppTheme appTheme = themeManager.theme(ui->cbTheme->currentData().toString()); + QString customThemeFolder = pSettings->dirs().config(Settings::Dirs::DataType::Theme); + QDir dir{customThemeFolder}; + if (!dir.exists()) { + dir.mkpath(customThemeFolder); + } + appTheme->copyTo(customThemeFolder); + ui->cbTheme->clear(); + QString currentThemeName = appTheme->name(); + QList appThemes = themeManager.getThemes(); + for (int i=0; icbTheme->addItem(appTheme->categoryIcon() + " " + appTheme->displayName(), appTheme->name()); + if (appTheme->name() == currentThemeName) + ui->cbTheme->setCurrentIndex(i); + } +} + diff --git a/RedPandaIDE/settingsdialog/environmentappearancewidget.h b/RedPandaIDE/settingsdialog/environmentappearancewidget.h index 318042d2..32d43426 100644 --- a/RedPandaIDE/settingsdialog/environmentappearancewidget.h +++ b/RedPandaIDE/settingsdialog/environmentappearancewidget.h @@ -45,6 +45,7 @@ public: void init() override; private slots: void on_cbTheme_currentIndexChanged(int index); + void on_btnCustomize_clicked(); }; #endif // ENVIRONMENTAPPEARANCEWIDGET_H diff --git a/RedPandaIDE/settingsdialog/environmentappearancewidget.ui b/RedPandaIDE/settingsdialog/environmentappearancewidget.ui index 71cf07e1..73b9f6e4 100644 --- a/RedPandaIDE/settingsdialog/environmentappearancewidget.ui +++ b/RedPandaIDE/settingsdialog/environmentappearancewidget.ui @@ -135,6 +135,13 @@ + + + + Create a customized copy + + + @@ -315,6 +322,7 @@ cbTheme + btnCustomize cbFont spinFontSize cbIconSet diff --git a/RedPandaIDE/thememanager.cpp b/RedPandaIDE/thememanager.cpp index 60168bf9..db2bbf47 100644 --- a/RedPandaIDE/thememanager.cpp +++ b/RedPandaIDE/thememanager.cpp @@ -302,6 +302,11 @@ QPalette AppTheme::initialPalette() return palette; } +AppTheme::ThemeCategory AppTheme::category() const +{ + return mCategory; +} + QString AppTheme::initialStyle() { static QString style = QApplication::style()->objectName(); @@ -329,6 +334,13 @@ const QString AppTheme::categoryIcon() const } } +bool AppTheme::copyTo(const QString &targetFolder) +{ + QFileInfo fileInfo{mFilename}; + return QFile::copy(fileInfo.absoluteFilePath(), + QDir(targetFolder).absoluteFilePath(fileInfo.fileName())); +} + const QString &AppTheme::defaultIconSet() const { return mDefaultIconSet; diff --git a/RedPandaIDE/thememanager.h b/RedPandaIDE/thememanager.h index cbdbe031..1b4e5fcc 100644 --- a/RedPandaIDE/thememanager.h +++ b/RedPandaIDE/thememanager.h @@ -116,9 +116,13 @@ public: const QString categoryIcon() const; + bool copyTo(const QString& targetFolder); + public: static PAppTheme fallbackTheme(); + ThemeCategory category() const; + private: AppTheme(); diff --git a/RedPandaIDE/translations/RedPandaIDE_pt_BR.ts b/RedPandaIDE/translations/RedPandaIDE_pt_BR.ts index 4e0c25c3..de1919b3 100644 --- a/RedPandaIDE/translations/RedPandaIDE_pt_BR.ts +++ b/RedPandaIDE/translations/RedPandaIDE_pt_BR.ts @@ -103,17 +103,17 @@ AppTheme - + Theme file '%1' doesn't exist! Arquivo com o tema '%1' não existente! - + Error in json file '%1':%2 : %3 Erro no arquivo json '%1':%2 : %3 - + Can't open the theme file '%1' for read. Impossível ler o arquivo com o tema '%1'. @@ -903,7 +903,7 @@ UTF-8 - + Red Panda C++ will clear previously found compiler list and search for compilers in the following locations:<br /> '%1'<br /> '%2'<br />Do you really want to continue? Red Panda C++ irá limpar a atual lista de compiladores encontrada anteriormente e irá procurar por compiladores em <br /> '%1'<br /> '%2'<br />Quer mesmo continuar? @@ -1075,7 +1075,7 @@ CppRefacter - + @@ -1387,18 +1387,14 @@ sem nome - + - - - - Error Erro - + Save As Salvar como @@ -1408,39 +1404,35 @@ Arquivo %1 já aberto! - The text to be copied exceeds count limit! - O texto a ser copiado excede o limite do contador! + O texto a ser copiado excede o limite do contador! - The text to be copied exceeds character limit! - O texto a ser copiado excede o limite de caracteres! + O texto a ser copiado excede o limite de caracteres! - The text to be cut exceeds count limit! - O texto a ser removido excede o limite do contador! + O texto a ser removido excede o limite do contador! - The text to be cut exceeds character limit! - O texto a ser removido excede o limite de caracteres! + O texto a ser removido excede o limite de caracteres! - + Print Document Imprimir documento - + - + Ctrl+click for more info Ctrl+clik para mais informações - + astyle not found astyle não encontrado @@ -1460,18 +1452,18 @@ Inserir a condição de parada: - + Readonly Apenas leitura - + Error Load File Erro ao carregar arquivo - + hex: %1 @@ -1569,27 +1561,23 @@ Configuração - Copy Size Limit - Limite do tamanho da cópia + Limite do tamanho da cópia - Don't copy text larger than - Não copiar texto maior que + Não copiar texto maior que - Lines - Linhas + Linhas - Size(kilo characters): - Tamanho (kilo caracteres) + Tamanho (kilo caracteres) - + Copy with format as Copiar com formato @@ -1817,7 +1805,7 @@ Remover ... - + @@ -2103,7 +2091,7 @@ Carregar automaticamente arquivos abertos quando o Red Panda C++ foi fechado da última vez. - + Auto detect encoding when openning files Detectar automaticamente a codificação ao abrir arquivos @@ -2132,7 +2120,7 @@ Arquivos C - + ANSI ANSI @@ -2147,27 +2135,16 @@ UTF-8 BOM - MB - MB + MB - + Parse TODOs - - Memory Usage - - - - - Steps - - - - + Action before saving files @@ -2181,12 +2158,7 @@ - - Limits for Undo - - - - + Reformat @@ -2395,7 +2367,12 @@ Tema: - + + Create a customized copy + + + + Language: Idioma: @@ -2405,12 +2382,11 @@ Tamanho da fonte: - Use custom theme - Usar tema personalizado + Usar tema personalizado - + Icon Set: Conjunto de ícones: @@ -2420,7 +2396,7 @@ Usar conjunto de ícones personalizado - + English Inglês @@ -2439,6 +2415,16 @@ Traditional Chinese Chinês tradicional + + + Confirm Overwrite + + + + + Custom Theme file %1 already exists.<br />Do you want to overwrite it? + + Icon Zoom: @@ -2520,7 +2506,7 @@ Abrir pasta para tema personalizado no navegador de arquivos - + Confirm Confirmar @@ -2563,14 +2549,8 @@ - - Max undo memory for each editor: - - - - MB - MB + MB @@ -2631,7 +2611,7 @@ EnvironmentShortcutModel - + action ação @@ -3419,7 +3399,7 @@ - + No minimal indent @@ -4276,114 +4256,120 @@ MainWindow - + Red Panda C++ Red Panda C++ - - + + Files Arquivos - - - + + + Project Projeto - - + + Watch Observar - - + + Structure Estrutura - + - + Problem Set Conjunto de problemas - + - - + + New Problem Set Novo conjunto de problemas - + - + Add Problem Acrescentar problema - + Remove Problem Remover problema - + - - + + Save Problem Set Salvar conjunto de problemas - + - - + + Load Problem Set Carregar conjunto de problemas - - - + + + - + Issues Problemas - - + + Tools Output Saída das ferramentas - - - + + + - + + + + + + + Debug Depurar - + Evaluate: Avaliar: - + Debug Console Console do depurador @@ -4413,14 +4399,15 @@ Expressão de endereço: - - - + + + + Search Procurar - + History: Histórico @@ -4446,30 +4433,33 @@ - + TODO TODO - - + + Bookmark Bookmark - + - + + + + Problem Problema - + Add Problem Case Acrescentar caso de problema - + Remove Problem Case @@ -4480,51 +4470,51 @@ Abrir arquivo de respostas - + Run All Cases Executar todos os casos - + Problem Cases Validation Options Opções para validação de casos de problemas - + %v/%m %v/%m - + Input Entrada - + Choose Input File Escolher arquivo de entrada - + - + Clear Limpar - + Output Saída - + Expected Expectativa @@ -4533,12 +4523,13 @@ ... - + File Arquivo + Tools Ferramentas @@ -4554,12 +4545,17 @@ - + + + + + + Code Codificar - + Window Janela @@ -4584,29 +4580,28 @@ Painel de ferramentas - Git - Git + Git - + Main Principal - + Compile Compilar - + Compiler Set Compilador - + New Source File Novo arquivo fonte @@ -4616,7 +4611,7 @@ Ctrl+N - + Open... Abrir... @@ -4626,7 +4621,7 @@ Ctrl+O - + Save Salvar @@ -4636,7 +4631,7 @@ Ctrl+S - + Save As... Salvar como... @@ -4646,27 +4641,27 @@ Salvar como - + Save All Salvar todos - + Ctrl+Shift+S Ctrl+Shift+S - + Options Opções - + F9 F9 - + Run Executar @@ -4676,7 +4671,7 @@ F10 - + Undo Desfazer @@ -4686,7 +4681,7 @@ Ctrl+Z - + Redo Refazer @@ -4696,7 +4691,7 @@ Ctrl+Y - + Cut Cortar @@ -4706,9 +4701,9 @@ Ctrl+X - - - + + + Copy Copiar @@ -4719,8 +4714,8 @@ Ctrl+C - - + + Paste Colar @@ -4732,7 +4727,7 @@ - + Select All Selecionar tudo @@ -4742,7 +4737,7 @@ Ctrl+A - + Indent Indentar @@ -4752,7 +4747,7 @@ Tabulação - + UnIndent Retirar indentação @@ -4811,12 +4806,12 @@ Compilar e executar - + F11 F11 - + Rebuild All Remontar tudo @@ -4827,7 +4822,7 @@ F12 - + Stop Execution Parar execução @@ -4837,12 +4832,12 @@ F6 - + F5 F5 - + Step Over Passar @@ -4852,7 +4847,7 @@ F8 - + Step Into Entrar @@ -4862,7 +4857,7 @@ F7 - + Step Out Sair @@ -4872,7 +4867,7 @@ Ctrl+F8 - + Run To Cursor Executar até o cursor @@ -4882,7 +4877,7 @@ Ctrl+F5 - + Continue Continuar @@ -4892,7 +4887,7 @@ F4 - + Add Watch... Acrescentar à observação ... @@ -4957,7 +4952,7 @@ Shift+F3 - + Remove Watch Remover observação @@ -4972,7 +4967,7 @@ Modificar observação ... - + Reformat Code Reformatar código @@ -4982,7 +4977,7 @@ Ctrl+Shift+A - + Go back Voltar @@ -4992,7 +4987,7 @@ Ctrl+Alt+Left - + Forward Avançar @@ -5063,7 +5058,7 @@ - + Clear all breakpoints Limpar todos os pontos de paradas @@ -5175,7 +5170,7 @@ - + Rename Symbol Renomear símbolo @@ -5255,7 +5250,7 @@ Fechar a pasta atual - + Running Parameters... Parâmetros de execução ... @@ -5325,7 +5320,7 @@ Ctrl+Backspace - + Interrupt Interromper @@ -5362,34 +5357,28 @@ Novo cabeçalho - Create Git Repository - Criar repositório Git + Criar repositório Git - Commit - Commit + Commit - Revert - Revert + Revert - Reset - Reset + Reset - Add Files - Add Files + Add Files - Restore - Restore + Restore @@ -5397,48 +5386,40 @@ Website - + F1 F1 - Branch/Switch - Branch/Switch + Branch/Switch - Merge - Merge + Merge - - Show Log - Show Log + Show Log - Remotes... - Remotes... + Remotes... - Fetch - Fetch + Fetch - Pull - Pull + Pull - Push - Push + Push - + Hide Non Support Files Ocultar arquivos sem suporte @@ -5483,30 +5464,30 @@ Ctrl+Shift+Down - - + + - - + + - + - + - + Error Erro - + New Novo - + Export Exportar @@ -5526,19 +5507,19 @@ Inserir trecho de código - - + + Problem Set %1 Conjunto de problemas %1 - - + + Load Theme Error Erro ao carregar tema - + @@ -5578,7 +5559,7 @@ Linha:%1 Coluna:%2 Seleção:%3 Linhas:%4 Tamanho:%5 - + Read Only Apenas leitura @@ -5605,7 +5586,7 @@ Confirmar - + Source file is not compiled. Arquivo fonte não compilado. @@ -5726,17 +5707,17 @@ Impossível carregar arquivo com a última informação '%1' - + Properties... Propriedades... - + - Command: %1 - + Line: %1/%2 Col: %3 Sel: %4 @@ -5751,17 +5732,17 @@ - + Open Source File Abrir arquivo fonte - + Run Current Case Executar caso atual - + Remove Remover @@ -5781,7 +5762,7 @@ Mostrar registros de detalhes de depuração - + Copy all Copiar todos @@ -5817,12 +5798,12 @@ - + Add Folder Acrescentar pasta - + Rename Folder Renomear pasta @@ -5868,26 +5849,26 @@ - + New Folder Nova pasta - + New File Novo arquivo - + - + Delete Remover - + Open in Editor Abrir no editor @@ -5907,7 +5888,7 @@ Abrir no navegador de arquivos - + Character sets Conjuntos de caracteres @@ -5923,22 +5904,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 @@ -5970,12 +5951,12 @@ - + Problem Case %1 Caso do problema %1 - + New Folder %1 Nova pasta %1 @@ -6002,20 +5983,20 @@ - + Bookmark Description Marcar descrição - - + + Description: Descrição: - + New folder Nova pasta @@ -6026,7 +6007,7 @@ Nome da pasta: - + Break point condition Condição para o ponto de parada @@ -6036,7 +6017,7 @@ Inserir a condição do ponto de parada: - + Save project Salvar projeto @@ -6047,12 +6028,12 @@ - + Do you want to save it? Quer salvar? - + File Changed Arquivo alterado @@ -6079,20 +6060,20 @@ - + New Project File? Novo arquivo de projeto? - - + + Do you want to add the new file to the project? Quer acrescentar novo arquivo ao projeto? - + Open Abrir @@ -6101,12 +6082,12 @@ - + Save Error Salvar erro - + Change Project Compiler Set Alterar o compilador do projeto @@ -6116,13 +6097,13 @@ 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? - + Compile Failed Falha ao compilar @@ -6133,7 +6114,7 @@ Falha ao exectar - + New Watch Expression Nova expressão a observar @@ -6159,12 +6140,12 @@ (%1 arquivos por segundo) - + Do you really want to clear all breakpoints in this file? Quer mesmo remover todos os pontos de paradas nesse arquivo? - + New project Novo projeto @@ -6194,7 +6175,7 @@ Falha ao criar pasta '%1'. - + Save new project as Salvar novo projeto como @@ -6263,7 +6244,7 @@ Quer mesmo remover isso? - + Rename Error Erro ao renomear @@ -6338,7 +6319,7 @@ - + Load Error Erro ao carregar @@ -6421,8 +6402,8 @@ Escolher arquivo para a saída esperada de dados - - + + Batch Set Cases Conjunto de casos em lote @@ -6452,22 +6433,22 @@ Codificar em UTF-8 BOM - + Compiler Options... Opções para compilar... - + Explorer Navegador de arquivos - + Messages Mensagens - + Toggle Explorer Panel Altenar painel do explorador de arquivos (sim/não) @@ -6487,7 +6468,7 @@ Ctrl+F10 - + Modify Watch Modificar observações @@ -6497,7 +6478,7 @@ Expressão a observar - + Rename Renomear @@ -6515,12 +6496,12 @@ sem nome%1 - + Selection Seleção - + Select Word Selecionar palavra @@ -6530,7 +6511,7 @@ Deslocar para a linha ... - + Go to Line Deslocar para linha @@ -6540,25 +6521,25 @@ Linha - + Add Probem Case - + - + Open Anwser Source File - + Host applcation missing - + New Template... @@ -6568,7 +6549,7 @@ - + Template Exists @@ -6578,40 +6559,40 @@ - + - + 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! - + In current file @@ -6656,36 +6637,36 @@ - + - + Import FPS Problem Set - + Rename Problem - + Goto Url - + FPS Problem Set Files (*.fps;*.xml) - + Trim trailing spaces - - - + + + Export FPS Problem Set @@ -6700,32 +6681,32 @@ - + Rename Problem Set - + Choose Expected Output File - + Toggle Readonly - + Newline - + Open file in editors - + Submit Issues @@ -6735,17 +6716,17 @@ - + New C/C++ File - + New GAS File - + Failed to generate the executable. @@ -6760,7 +6741,7 @@ - + The executable doesn't have symbol table, and can't be debugged. @@ -6790,7 +6771,7 @@ - + Watchpoint variable name @@ -6800,7 +6781,7 @@ - + Watchpoint hitted @@ -6825,7 +6806,7 @@ - + Missing Project Files @@ -6835,7 +6816,7 @@ - + Save settings failed! @@ -6855,19 +6836,19 @@ - + Ctrl+K, Ctrl+S - + - + Correct compile settings for debug - + The generated executable won't have debug symbol infos, and can't be debugged. @@ -6875,55 +6856,55 @@ - + Or you can manually change the following settings in the options dialog's compiler set page: - + - + - Turned on the "Generate debug info (-g3)" option. - + - + - Turned off the "Strip executable (-s)" option. - + - + - Turned off the "Optimization level (-O)" option or set it to "Debug (-Og)". - + - + If you are using the Release compiler set, please use choose the Debug version from toolbar. - + - + Do you want to mannually change the compiler set settings now? - + - + You should recompile after change the compiler set or it's settings. - + Page Up @@ -7018,7 +6999,7 @@ - + Exact @@ -7033,7 +7014,7 @@ - + Folder Not Empty @@ -7048,17 +7029,17 @@ - + Line: %1/%2 Char: %3/%4 - + %1 Version - + Move Caret @@ -7066,7 +7047,7 @@ MemoryModel - + ascii: '%1' @@ -7492,7 +7473,7 @@ Arquivo '%1' existente no projeto - + Project Updated Projeto atualizado @@ -7557,7 +7538,7 @@ Desenvolvido com uso da IDE Red Panda C++ - + Error Erro @@ -7692,7 +7673,7 @@ - Arquivo de recursos: %1 - + Compiling project changes... Compilando alterações em projeto ... @@ -7759,7 +7740,7 @@ Aplicar link às bibliotecas estáticas - + ANSI ANSI @@ -7774,7 +7755,7 @@ Definir codificação para o executável: - + Wrong Compiler Type @@ -7909,21 +7890,21 @@ Detecção automática - + + - ANSI ANSI - + UTF-8 UTF-8 - + - + Project(%1) @@ -8099,7 +8080,7 @@ ProjectModel - + File exists Arquivo existente @@ -8389,7 +8370,7 @@ QFileSystemModel - + <b>The name "%1" cannot be used.</b><p>Try using another name, with fewer characters or no punctuation marks. @@ -8400,7 +8381,7 @@ - + Can't open file '%1' for read. @@ -8689,7 +8670,7 @@ - + Save Salvar @@ -8715,7 +8696,7 @@ Impossível carregar configurações para autolink - + constructor constructor @@ -8794,7 +8775,7 @@ - + Code Generation Geração de código @@ -8807,7 +8788,7 @@ Otimizar menor, porém mantendo completa compatibilidade (-tune) - + Enable use of specific instructions (-mx) Habilitar uso de instruções específicar (-mx) @@ -8870,7 +8851,7 @@ Gerar informação de perfil para análises (-pg) - + Linker Linker @@ -8894,7 +8875,7 @@ Não gerar executável (-s) - + Generate debugging information (-g3) Gerar informação para depuração (-g3) @@ -8911,12 +8892,12 @@ Não montar, compilar e gerar código em assembly (-S) - + Use pipes instead of temporary files during compilation (-pipe) Usar pipes em lugar de arquivos temporários durante compilação (-pipe) - + Confirm Confirmar @@ -8943,7 +8924,7 @@ Gostaria que o Red Panda C++ procurasse por compiladores no PATH? - + Binaries Executáveis @@ -9008,7 +8989,7 @@ Índice %1 fora dos limites - + bytes bytes @@ -9062,7 +9043,7 @@ - + C++ Language standard (-std) @@ -9097,7 +9078,7 @@ - + Remove @@ -9117,17 +9098,17 @@ - + Check for stack smashing attacks (-fstack-protector) - + Check ISO C/C++ conformance (-pedantic) - + Enable Sanitizer (-fsanitize=) @@ -9235,7 +9216,7 @@ RegisterModel - + Register Registrador @@ -9712,7 +9693,7 @@ Impossível abrir '%1' para gravar! - + Compiling project changes... Compilando alterações em projeto ... @@ -9907,7 +9888,7 @@ Substituir em arquivos - + Continue Search Continuar a procura @@ -9956,7 +9937,7 @@ - + Search Procurar @@ -10069,7 +10050,7 @@ - + @@ -10171,7 +10152,7 @@ Settings - + Error Erro @@ -10210,7 +10191,7 @@ Cancelar - + @@ -10222,7 +10203,7 @@ - + Program Runner @@ -10274,9 +10255,9 @@ Desempenho - + - + @@ -10284,8 +10265,8 @@ Compilador - - + + Compiler @@ -10394,8 +10375,8 @@ Opções de projeto - - + + @@ -10488,7 +10469,7 @@ SettingsWidget - + Load Error Erro ao carregar @@ -10656,19 +10637,6 @@ A colocação de destaques parece estar em repetição infinita - - ThemeManager - - - custom - - - - - built-in - - - TodoModel @@ -10894,7 +10862,7 @@ ToolsManager - + Remove Compiled Remover compilado diff --git a/RedPandaIDE/translations/RedPandaIDE_zh_CN.ts b/RedPandaIDE/translations/RedPandaIDE_zh_CN.ts index 624de536..884b75ce 100644 --- a/RedPandaIDE/translations/RedPandaIDE_zh_CN.ts +++ b/RedPandaIDE/translations/RedPandaIDE_zh_CN.ts @@ -167,17 +167,17 @@ p, li { white-space: pre-wrap; } AppTheme - + Theme file '%1' doesn't exist! 主题文件"%1"不存在! - + Error in json file '%1':%2 : %3 JSON文件'%1':%2中存在错误:%3 - + Can't open the theme file '%1' for read. 无法读取主题文件"%1"! @@ -1104,7 +1104,7 @@ p, li { white-space: pre-wrap; } 选择性能分析器 - + Confirm 确认 @@ -1114,7 +1114,7 @@ p, li { white-space: pre-wrap; } 小熊猫C++ 将会清除以前搜索到的编译器配置列表,然后在下列文件夹中搜索编译器:<br/> '%1'<br/> '%2'<br />你确定要继续吗? - + ANSI ANSI @@ -1124,7 +1124,7 @@ p, li { white-space: pre-wrap; } UTF-8 - + Red Panda C++ will clear previously found compiler list and search for compilers in the the PATH. <br />Do you really want to continue? 小熊猫C++ 将会清除以前搜索到的编译器配置列表,然后在PATH路径中搜索gcc编译器.<br />你确定要继续吗? @@ -1236,7 +1236,7 @@ p, li { white-space: pre-wrap; } CppRefacter - + @@ -1601,13 +1601,9 @@ p, li { white-space: pre-wrap; } 失败 - + - - - - Error 错误 @@ -1616,7 +1612,7 @@ p, li { white-space: pre-wrap; } 无法写入文件"%1" - + Error Load File 载入文件错误 @@ -1656,27 +1652,23 @@ p, li { white-space: pre-wrap; } 文件%1已经被打开! - The text to be copied exceeds count limit! - 要复制的内容超过了行数限制! + 要复制的内容超过了行数限制! - The text to be copied exceeds character limit! - 要复制的内容超过了字符数限制! + 要复制的内容超过了字符数限制! - The text to be cut exceeds count limit! - 要剪切的内容超过了行数限制! + 要剪切的内容超过了行数限制! - The text to be cut exceeds character limit! - 要剪切的内容超过了字符数限制! + 要剪切的内容超过了字符数限制! - + hex: %1 16进制: %1 @@ -1686,14 +1678,14 @@ p, li { white-space: pre-wrap; } 十进制: %1 - + Print Document 打印文档 - + - + Ctrl+click for more info Ctrl+单击以获取更多信息 @@ -1702,7 +1694,7 @@ p, li { white-space: pre-wrap; } 未找到符号'%1'! - + astyle not found 找不到astyle程序 @@ -1722,7 +1714,7 @@ p, li { white-space: pre-wrap; } 输入当前断点的生效条件: - + Readonly 只读 @@ -1815,27 +1807,23 @@ p, li { white-space: pre-wrap; } 表单 - Copy Size Limit - 复制限制 + 复制限制 - Don't copy text larger than - 不要复制超过下列限制的内容 + 不要复制超过下列限制的内容 - Lines - 行数 + 行数 - Size(kilo characters): - 千字符数 + 千字符数 - + Copy with format as 带格式复制为 @@ -2067,7 +2055,7 @@ p, li { white-space: pre-wrap; } 背景色 - + @@ -2369,22 +2357,19 @@ p, li { white-space: pre-wrap; } 自动打开上次退出时打开的文件 - Limits for Undo - 撤销操作限制 + 撤销操作限制 - Memory Usage - 内存使用 + 内存使用 - Steps - 最大步数 + 最大步数 - + Action before saving files 保存前动作 @@ -2412,7 +2397,7 @@ p, li { white-space: pre-wrap; } 在保存文件时自动重新排版 - + Parse TODOs 查找代码中的TODO注释(含todo或者fixme的注释) @@ -2425,12 +2410,11 @@ p, li { white-space: pre-wrap; } 最大可撤销编辑操作占用内存 - MB - MB + MB - + Reformat 重新排版 @@ -2460,7 +2444,7 @@ p, li { white-space: pre-wrap; } C语言文件 - + ANSI ANSI @@ -2664,12 +2648,11 @@ p, li { white-space: pre-wrap; } 主题: - Use custom theme - 使用自定义主题 + 使用自定义主题 - + Icon Set: 图标集: @@ -2689,7 +2672,12 @@ p, li { white-space: pre-wrap; } 字体: - + + Create a customized copy + 自定义 + + + Language: 语言: @@ -2704,7 +2692,7 @@ p, li { white-space: pre-wrap; } 大小: - + English 英语 @@ -2723,6 +2711,16 @@ p, li { white-space: pre-wrap; } Traditional Chinese 繁体中文 + + + Confirm Overwrite + 确认覆盖 + + + + Custom Theme file %1 already exists.<br />Do you want to overwrite it? + + EnvironmentFileAssociationWidget @@ -2801,7 +2799,7 @@ p, li { white-space: pre-wrap; } 在文件浏览器中打开自定义主题文件夹 - + Confirm 确认 @@ -2839,17 +2837,15 @@ p, li { white-space: pre-wrap; } 自动清理被隐藏的编辑器中的符号表 - Max undo memory for each editor: - 每个编辑窗口的撤销功能内存上限 + 每个编辑窗口的撤销功能内存上限 - MB - MB + MB - + Editors share one code parser 编辑器共享同一个代码分析器 @@ -2916,7 +2912,7 @@ p, li { white-space: pre-wrap; } EnvironmentShortcutModel - + action 动作 @@ -3748,7 +3744,7 @@ p, li { white-space: pre-wrap; } 字符 - + No minimal indent 无最小缩进量 @@ -4629,18 +4625,18 @@ p, li { white-space: pre-wrap; } MainWindow - + Red Panda C++ 小熊猫C++ - - - + + + - + Issues 编译器 @@ -4649,48 +4645,49 @@ p, li { white-space: pre-wrap; } 编译日志 - + File 文件 + Tools 工具 - + Run 运行 - + Edit 编辑 - - + + Project 项目 - - + + Watch 监视 - - + + Structure 结构 - - + + Files 文件 @@ -4699,22 +4696,28 @@ p, li { white-space: pre-wrap; } 资源 - - - + + + - + + + + + + + Debug 调试 - + Evaluate: 求值 - + Debug Console 调试主控台 @@ -4734,14 +4737,15 @@ p, li { white-space: pre-wrap; } 局部变量 - - - + + + + Search 查找 - + History: 历史: @@ -4761,23 +4765,28 @@ p, li { white-space: pre-wrap; } 替换 - + Close 关闭 - + Execute 运行 - + + + + + + Code 代码 - + Window 窗口 @@ -4790,17 +4799,17 @@ p, li { white-space: pre-wrap; } 工具栏2 - + New 新建 - + Ctrl+N Ctrl+N - + Open... 打开... @@ -4810,7 +4819,7 @@ p, li { white-space: pre-wrap; } Ctrl+O - + Save 保存 @@ -4820,7 +4829,7 @@ p, li { white-space: pre-wrap; } Ctrl+S - + Save As... 另存为... @@ -4830,35 +4839,35 @@ p, li { white-space: pre-wrap; } 另存为 - + Save All 全部保存 - + Ctrl+Shift+S Ctrl+Shift+S - + Options 选项 - - + + Compile 编译 - - + + Tools Output 工具输出 - + Choose Input File 选择输入文件 @@ -4868,22 +4877,21 @@ p, li { white-space: pre-wrap; } ... - + Tool Panels 工具面板 - Git - Git + Git - + Selection 选择 - + F9 F9 @@ -4892,7 +4900,7 @@ p, li { white-space: pre-wrap; } F10 - + Undo 撤销 @@ -4902,7 +4910,7 @@ p, li { white-space: pre-wrap; } Ctrl+Z - + Redo 重做 @@ -4912,7 +4920,7 @@ p, li { white-space: pre-wrap; } Ctrl+Y - + Cut 剪切 @@ -4922,9 +4930,9 @@ p, li { white-space: pre-wrap; } Ctrl+X - - - + + + Copy 复制 @@ -4935,8 +4943,8 @@ p, li { white-space: pre-wrap; } Ctrl+C - - + + Paste 粘贴 @@ -4948,7 +4956,7 @@ p, li { white-space: pre-wrap; } - + Select All 选择全部 @@ -4958,12 +4966,12 @@ p, li { white-space: pre-wrap; } Ctrl+A - + Indent 缩进 - + UnIndent 取消缩进 @@ -5017,12 +5025,12 @@ p, li { white-space: pre-wrap; } 编译运行 - + F11 F11 - + Rebuild All 全部重编译 @@ -5033,7 +5041,7 @@ p, li { white-space: pre-wrap; } F12 - + Stop Execution 停止执行 @@ -5043,17 +5051,17 @@ p, li { white-space: pre-wrap; } F6 - + F5 F5 - + Step Over 单步跨过 - + F7 F7 @@ -5063,57 +5071,57 @@ p, li { white-space: pre-wrap; } 单步进入 - + Move Caret 移动光标 - + - + Problem Set 试题集 - + - - + + New Problem Set 新建试题集 - + - + Add Problem 添加试题 - + Remove Problem 删除试题 - + - - + + Save Problem Set 保存试题集 - + - - + + Load Problem Set 载入试题集 - + Memory 内存 @@ -5130,46 +5138,49 @@ p, li { white-space: pre-wrap; } - + TODO TODO - - + + Bookmark 书签 - + - + + + + Problem 试题 - + Add Probem Case 添加试题案例 - + - + Remove Problem Case Remove Problem Set 删除试题案例 - + Open Anwser Source File 打开答案源代码文件 - + Run All Cases @@ -5177,23 +5188,23 @@ p, li { white-space: pre-wrap; } 运行所有案例 - + Problem Cases Validation Options 测试案例验证选项 - + %v/%m %v/%m - + Output 输出 - + Input 输入 @@ -5203,7 +5214,7 @@ p, li { white-space: pre-wrap; } 期望输出 - + Help 帮助 @@ -5222,7 +5233,7 @@ p, li { white-space: pre-wrap; } 工具窗口 - + Main 主工具栏 @@ -5237,31 +5248,31 @@ p, li { white-space: pre-wrap; } 管理器 - - - + + + Import FPS Problem Set 导入FPS试题集 - - - + + + Export FPS Problem Set 导出FPS试题集 - + Messages 消息 - + Open file in editors 在编辑器中打开文件 - + Choose Expected Output File 选择期望输出文件 @@ -5270,7 +5281,7 @@ p, li { white-space: pre-wrap; } 忽略空格 - + New C/C++ File 新建C/C++文件 @@ -5280,27 +5291,27 @@ p, li { white-space: pre-wrap; } 新建源代码文件 - + Ctrl+K, Ctrl+S - + Tab Tab - + Shift+Tab Shift+Tab - + F8 F8 - + Step Out 单步跳出 @@ -5310,7 +5321,7 @@ p, li { white-space: pre-wrap; } Ctrl+F8 - + Run To Cursor 执行到光标处 @@ -5320,7 +5331,7 @@ p, li { white-space: pre-wrap; } Ctrl+F5 - + Continue 继续执行 @@ -5330,7 +5341,7 @@ p, li { white-space: pre-wrap; } F4 - + Add Watch... 添加监视 @@ -5395,7 +5406,7 @@ p, li { white-space: pre-wrap; } Shift+F3 - + Remove Watch 删除监视值 @@ -5411,7 +5422,7 @@ p, li { white-space: pre-wrap; } 修改监视值 - + Reformat Code 对代码重新排版 @@ -5421,7 +5432,7 @@ p, li { white-space: pre-wrap; } Ctrl+Shift+A - + Go back 前一次编辑位置 @@ -5431,7 +5442,7 @@ p, li { white-space: pre-wrap; } Ctrl+Alt+Left - + Forward 后一次编辑位置 @@ -5497,7 +5508,7 @@ p, li { white-space: pre-wrap; } - + Clear all breakpoints 删除所有断点 @@ -5573,7 +5584,7 @@ p, li { white-space: pre-wrap; } 新建项目文件 - + Ctrl+F12 Ctrl+F12 @@ -5717,7 +5728,7 @@ p, li { white-space: pre-wrap; } 关闭其他窗口 - + Move Selection Up 向上移动选中的行 @@ -5751,7 +5762,7 @@ p, li { white-space: pre-wrap; } 使用UTF-8 BOM编码 - + Compiler Options... 编译器选项... @@ -5860,12 +5871,12 @@ p, li { white-space: pre-wrap; } 保存为模板... - + New File 新建文件 - + Add to project... 添加到项目... @@ -5901,7 +5912,7 @@ p, li { white-space: pre-wrap; } - + Rename Symbol 重命名符号 @@ -5949,7 +5960,7 @@ p, li { white-space: pre-wrap; } C++参考手册 - + C Reference C参考手册 @@ -5959,77 +5970,63 @@ p, li { white-space: pre-wrap; } 显示全部工具面板 - Create Git Repository Create Repository - 创建Git仓库 + 创建Git仓库 - Commit - 提交(Commit) + 提交(Commit) - Revert - 撤销(Revert) + 撤销(Revert) - Reset - 回滚(Reset) + 回滚(Reset) - Add Files - 添加文件 + 添加文件 - Restore - 还原(Restore) + 还原(Restore) - + Website 官方网站 - Branch/Switch - 分支切换(Switch) + 分支切换(Switch) - Merge - 合并(Merge) + 合并(Merge) - - Show Log Log - 显示日志(Log) + 显示日志(Log) - Remotes... - 远程仓库... + 远程仓库... - Fetch - 取回(Fetch) + 取回(Fetch) - Pull - 拉取(Pull) + 拉取(Pull) - Push - 推送(Push) + 推送(Push) @@ -6061,7 +6058,7 @@ p, li { white-space: pre-wrap; } 工具窗口栏 - + Status Bar 状态栏 @@ -6071,7 +6068,7 @@ p, li { white-space: pre-wrap; } Ctrl+Backspace - + Interrupt 中断 @@ -6114,7 +6111,7 @@ p, li { white-space: pre-wrap; } 插入行 - + Delete Line 删除当前行 @@ -6163,7 +6160,7 @@ p, li { white-space: pre-wrap; } C/C++参考 - + EGE Manual EGE图形库手册 @@ -6192,22 +6189,22 @@ p, li { white-space: pre-wrap; } 打开文件夹 - + Running Parameters... 运行参数... - + File Encoding 文件编码 - + Recent Files 文件历史 - + @@ -6246,7 +6243,7 @@ p, li { white-space: pre-wrap; } 行: %1 列: %2 已选择 :%3 总行数: %4 总长度: %5 - + Read Only 只读 @@ -6273,7 +6270,7 @@ p, li { white-space: pre-wrap; } 确认 - + Source file is not compiled. 源文件尚未编译。 @@ -6292,27 +6289,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 +6366,7 @@ p, li { white-space: pre-wrap; } - + Please correct this before start debugging 请在调试前改正设置。 @@ -6378,7 +6375,7 @@ p, li { white-space: pre-wrap; } 重新编译? - + Save last open info error 保存上次打开信息失败 @@ -6405,7 +6402,7 @@ p, li { white-space: pre-wrap; } 无法载入上次打开信息文件'%1' - + Open Source File 打开源代码文件 @@ -6418,19 +6415,19 @@ p, li { white-space: pre-wrap; } 行: %1/%2 字符: %3/%4 选中:%5 - + Line: %1/%2 Char: %3/%4 行: %1/%2 字符: %3/%4 - + - + Correct compile settings for debug 纠正调试用编译设置 - + The generated executable won't have debug symbol infos, and can't be debugged. 生成的可执行文件中会缺少调试符号信息,因此无法编译。 @@ -6442,64 +6439,64 @@ p, li { white-space: pre-wrap; } - + Or you can manually change the following settings in the options dialog's compiler set page: 您也可以手动在选项对话框的编译器设置页中修正下列选项: - + - + - Turned on the "Generate debug info (-g3)" option. - 打开“生成调试信息(-g3)"选项. - + - + - Turned off the "Strip executable (-s)" option. - 关闭"剥除附加信息(-s)"选项. - + - + - Turned off the "Optimization level (-O)" option or set it to "Debug (-Og)". - 关闭"优化级别(-O)选项,或将其设置为"调试(-Og)"级别. - + - + You should recompile after change the compiler set or it's settings. 在更换编译器设置集或修改其设置后,需要重新编译. - + - + Do you want to mannually change the compiler set settings now? 您现在就要手动修改编译器设置集的设置吗? - - + + Batch Set Cases 批量设置案例 - + Show detail debug logs 显示详细调试器日志 - + Copy all 全部复制 - + Go to Line 跳转到行 @@ -6519,17 +6516,17 @@ p, li { white-space: pre-wrap; } 模板%1已存在。是否覆盖? - + - + Clear 清除 - + Export 导出 @@ -6539,8 +6536,8 @@ p, li { white-space: pre-wrap; } 插入代码段 - - + + Problem Set %1 试题集%1 @@ -6569,7 +6566,7 @@ p, li { white-space: pre-wrap; } 项目已经被修改过,是否需要重新构建? - + Auto Save Error 自动保存出错 @@ -6579,12 +6576,12 @@ p, li { white-space: pre-wrap; } 自动保存"%1"到"%2"失败:%3 - + Properties... 试题属性... - + Set Problem Set Name 设置试题集名称 @@ -6594,12 +6591,12 @@ p, li { white-space: pre-wrap; } 试题集名称: - + Remove 删除 - + - Command: %1 - 命令: %1 @@ -6609,7 +6606,7 @@ p, li { white-space: pre-wrap; } %1版 - + Line: %1/%2 Col: %3 Sel: %4 行: %1/%2 列: %3 选中: %4 @@ -6624,7 +6621,7 @@ p, li { white-space: pre-wrap; } 行: %1/%2 字符: %3/%4 选中: %5 - + Remove All Bookmarks 删除全部书签 @@ -6634,15 +6631,15 @@ p, li { white-space: pre-wrap; } 修改描述 - - + + Bookmark Description 书签描述 - - + + Description: 描述: @@ -6652,7 +6649,7 @@ p, li { white-space: pre-wrap; } 在调试主控台中显示调试器输出 - + Remove this search 清除这次搜索 @@ -6667,7 +6664,7 @@ p, li { white-space: pre-wrap; } 断点条件... - + Break point condition 断点条件 @@ -6677,7 +6674,7 @@ p, li { white-space: pre-wrap; } 输入当前断点的生效条件: - + Remove All Breakpoints Remove all breakpoints 删除所有断点 @@ -6698,7 +6695,7 @@ p, li { white-space: pre-wrap; } - + Add Folder 添加文件夹 @@ -6714,7 +6711,7 @@ p, li { white-space: pre-wrap; } 文件夹: - + Rename Folder 重命名 @@ -6727,17 +6724,17 @@ p, li { white-space: pre-wrap; } 要现在去修改设置吗? - + Rename Problem Set 修改试题集名称 - + Can't open last open information file '%1' for write! 无法写入配置文件'%1'。 - + Rename Problem 修改试题名称 @@ -6766,7 +6763,7 @@ p, li { white-space: pre-wrap; } 是否现在去改正? - + Missing Project Files 项目文件缺失 @@ -6792,22 +6789,22 @@ p, li { white-space: pre-wrap; } 行: %1/%2 字符: %3 选中:%4 - + Goto Url 跳转到试题网址 - + Add Problem Case 添加试题案例 - + Run Current Case 运行当前案例 - + Remove Folder 删除文件夹 @@ -6858,26 +6855,26 @@ p, li { white-space: pre-wrap; } - + New Folder 新建文件夹 - + Rename 重命名 - + - + Delete 删除 - + Open in Editor 在编辑器中打开 @@ -6897,7 +6894,7 @@ p, li { white-space: pre-wrap; } 在文件资源管理器中打开 - + Character sets 字符集 @@ -6932,7 +6929,7 @@ p, li { white-space: pre-wrap; } 选择答案源代码文件 - + Watchpoint hitted 变量断点被触发 @@ -6967,7 +6964,7 @@ p, li { white-space: pre-wrap; } 保存设置失败 - + Folder Not Empty 文件夹非空 @@ -6982,7 +6979,7 @@ p, li { white-space: pre-wrap; } 您确定要继续吗? - + Watchpoint variable name 被监控的变量 @@ -7016,7 +7013,7 @@ p, li { white-space: pre-wrap; } C/C++源代码文件 (*.c *.cpp *.cc *.cxx) - + New Folder %1 新建文件夹%1 @@ -7048,7 +7045,7 @@ p, li { white-space: pre-wrap; } 变量"%1"有改动: - + Old value: %1 旧值: %1 @@ -7068,41 +7065,41 @@ 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? 您是否要将新建的文件加入项目? - + - + Save Error 保存失败 - + Change Project Compiler Set 改变项目编译器配置集 @@ -7112,8 +7109,8 @@ p, li { white-space: pre-wrap; } 改变项目的编译器配置集会导致所有的自定义编译器选项被重置。 - - + + Do you really want to do that? 你真的想要那么做吗? @@ -7122,7 +7119,7 @@ p, li { white-space: pre-wrap; } 批量设置案例 - + Choose input files 选择输入数据文件 @@ -7136,7 +7133,7 @@ p, li { white-space: pre-wrap; } 无标题%1 - + Modify Watch 修改监视表达式 @@ -7146,12 +7143,12 @@ p, li { white-space: pre-wrap; } 监视表达式 - + Do you really want to clear all breakpoints in this file? 您真的要清除该文件的所有断点吗? - + New project 新建项目 @@ -7181,7 +7178,7 @@ p, li { white-space: pre-wrap; } 创建文件夹'%1'失败。 - + Save new project as @@ -7196,7 +7193,7 @@ p, li { white-space: pre-wrap; } 你真的要删除它吗? - + Change working folder 改变工作文件夹 @@ -7216,7 +7213,7 @@ p, li { white-space: pre-wrap; } 正在删除试题... - + Can't Commit 无法提交 @@ -7247,14 +7244,14 @@ p, li { white-space: pre-wrap; } 第%1行 - + - + Choose Working Folder 选择工作文件夹 - + Header Exists 头文件已存在 @@ -7310,7 +7307,7 @@ p, li { white-space: pre-wrap; } 小熊猫Dev-C++项目文件 (*.dev) - + New project fail 新建项目失败 @@ -7371,7 +7368,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) @@ -7385,7 +7382,7 @@ p, li { white-space: pre-wrap; } 调试失败 - + The executable doesn't have symbol table, and can't be debugged. 可执行文件中没有符号表信息,无法调试。 @@ -7410,7 +7407,7 @@ p, li { white-space: pre-wrap; } 您也可以删除所有断点,打开“CPU信息窗口”,然后调试汇编代码。 - + Failed to generate the executable. 未能生成可执行文件。 @@ -7420,12 +7417,12 @@ p, li { white-space: pre-wrap; } 请查看“工具输出”面板中的详细信息。 - + Red Panda C++ project file (*.dev) 小熊猫C++项目文件(*.dev) - + Rename Error 重命名出错 @@ -7485,47 +7482,47 @@ p, li { white-space: pre-wrap; } - + Load Error 载入失败 - - + + Problem Case %1 试题案例%1 - - + + - - + + - + - + - + Error 错误 - + Recent Projects 项目历史 - - + + Load Theme Error 载入主题失败 - + Clear History 清除历史 @@ -7535,7 +7532,7 @@ p, li { white-space: pre-wrap; } 编译生成的可执行文件中没有符号表,无法被调试。 - + Version Control 版本控制 @@ -7545,7 +7542,7 @@ p, li { white-space: pre-wrap; } 请在工具栏中选用Debug编译器配置集,或者在选项对话框的编辑器配置集页中勾选“生成调试信息(-g3)"选项。 - + File '%1' was changed. 磁盘文件'%1'已被修改。 @@ -7570,7 +7567,7 @@ p, li { white-space: pre-wrap; } 打开 - + Compile Failed 编译失败 @@ -7581,15 +7578,15 @@ p, li { white-space: pre-wrap; } 运行失败 - - + + - + Confirm Convertion 确认转换 - + Exact 完全一致 @@ -7608,22 +7605,22 @@ 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. 如果你正在使用Release版的编译器设置集,请在工具栏中将其改为Debug版本。 - - + + - + 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 新监视表达式 @@ -7652,7 +7649,7 @@ p, li { white-space: pre-wrap; } MemoryModel - + addr: %1 地址: %1 @@ -8145,7 +8142,7 @@ p, li { white-space: pre-wrap; } 文件'%1'已在项目中 - + Project Updated 项目已升级 @@ -8330,7 +8327,7 @@ p, li { white-space: pre-wrap; } - 资源文件: %1 - + Compiling project changes... 正在编译项目修改... @@ -8415,7 +8412,7 @@ p, li { white-space: pre-wrap; } 在编译时加入字符集选项 - + ANSI ANSI @@ -8425,7 +8422,7 @@ p, li { white-space: pre-wrap; } UTF-8 - + Wrong Compiler Type 错误的编译器类型 @@ -8564,17 +8561,17 @@ p, li { white-space: pre-wrap; } 自动检测 - + - + Project(%1) 项目默认(%1) - + + - ANSI ANSI @@ -8583,7 +8580,7 @@ p, li { white-space: pre-wrap; } ANSI - + UTF-8 @@ -9065,7 +9062,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>可能是重名、过长、为空或者是使用了不能出现在文件名里的符号。 @@ -9074,7 +9071,7 @@ p, li { white-space: pre-wrap; } QObject - + Save 保存 @@ -9224,7 +9221,7 @@ p, li { white-space: pre-wrap; } - + Code Generation 代码生成 @@ -9237,7 +9234,7 @@ p, li { white-space: pre-wrap; } 完整兼容特定机器,较少优化(-tune) - + Enable use of specific instructions (-mx) 启用特定指令集(-mx) @@ -9252,7 +9249,7 @@ p, li { white-space: pre-wrap; } 使用下列指针大小编译(-mx) - + Processor (-m) 处理器类型(-m) @@ -9265,12 +9262,12 @@ p, li { white-space: pre-wrap; } 性能分析 - + Generate debugging information (-g3) 生成调试信息(-g3) - + Would you like Red Panda C++ to search for compilers in PATH? 您同意小熊猫C++在PATH路径中寻找gcc编译器吗? @@ -9303,7 +9300,7 @@ p, li { white-space: pre-wrap; } 启用 - + Check for stack smashing attacks (-fstack-protector) 检查栈溢出(stack smashing)错误 (-fstack-protector) @@ -9313,7 +9310,7 @@ p, li { white-space: pre-wrap; } 启用地址消毒(-fsanitize=) - + Inhibit all warning messages (-w) 忽略所有警告信息(-w) @@ -9333,7 +9330,7 @@ p, li { white-space: pre-wrap; } 检查是否严格遵守ISO C/C++标准 - + Language standard (--std) C语言标准(--std) @@ -9417,7 +9414,7 @@ p, li { white-space: pre-wrap; } 检查ISO C/C++/C++0x语法一致性(-pedantic) - + Only check the code for syntax errors (-fsyntax-only) 只进行语法检查(不编译)(-fsyntax-only) @@ -9432,7 +9429,7 @@ p, li { white-space: pre-wrap; } 遇到第一个错误后立即中止编译(-Wfatal-errors) - + Linker 链接器 @@ -9513,7 +9510,7 @@ p, li { white-space: pre-wrap; } 您需要小熊猫C++在下列位置搜索编译器吗:<br />%1<br />%2 - + Binaries 二进制文件 @@ -9533,7 +9530,7 @@ p, li { white-space: pre-wrap; } C++包含文件 - + Remove 删除 @@ -9559,7 +9556,7 @@ p, li { white-space: pre-wrap; } 下标"%1"越界 - + bytes 字节 @@ -9864,7 +9861,7 @@ p, li { white-space: pre-wrap; } 无标题 - + constructor 构造函数 @@ -9877,7 +9874,7 @@ p, li { white-space: pre-wrap; } - + Can't open file '%1' for read. @@ -9932,7 +9929,7 @@ p, li { white-space: pre-wrap; } 无法检测适用于 “%1” 的终端参数模式。 - + Error executing platform compiler hint add-on 执行平台编译器提示附加组件错误 @@ -9940,7 +9937,7 @@ p, li { white-space: pre-wrap; } RegisterModel - + @@ -10457,7 +10454,7 @@ p, li { white-space: pre-wrap; } 无法写入文件'%1'! - + Compiling project changes... 正在编译项目修改... @@ -10673,7 +10670,7 @@ p, li { white-space: pre-wrap; } 在文件中替换 - + Continue Search Search Around @@ -10687,12 +10684,12 @@ p, li { white-space: pre-wrap; } 已到达文件结尾。 - + Search 查找 - + Beginning of file has been reached. 已到达文件开头 @@ -10860,7 +10857,7 @@ p, li { white-space: pre-wrap; } 继续替换 - + @@ -10936,7 +10933,7 @@ p, li { white-space: pre-wrap; } Settings - + Error 错误 @@ -11140,7 +11137,7 @@ p, li { white-space: pre-wrap; } - + @@ -11148,8 +11145,8 @@ p, li { white-space: pre-wrap; } 编译器配置集 - - + + Compiler @@ -11161,7 +11158,7 @@ p, li { white-space: pre-wrap; } 自动链接 - + @@ -11238,7 +11235,7 @@ p, li { white-space: pre-wrap; } - + Program Runner @@ -11304,8 +11301,8 @@ p, li { white-space: pre-wrap; } 项目选项 - - + + @@ -11373,7 +11370,7 @@ p, li { white-space: pre-wrap; } SettingsWidget - + Load Error 载入失败 @@ -11534,19 +11531,6 @@ p, li { white-space: pre-wrap; } 无法写入文件'%2'! - - ThemeManager - - - custom - 自定义 - - - - built-in - 内置 - - SynEdit @@ -11565,6 +11549,17 @@ p, li { white-space: pre-wrap; } 无法写入文件'%2'! + + ThemeManager + + custom + 自定义 + + + built-in + 内置 + + TodoModel @@ -11794,7 +11789,7 @@ p, li { white-space: pre-wrap; } ToolsManager - + Remove Compiled 删除编译文件 diff --git a/RedPandaIDE/translations/RedPandaIDE_zh_TW.ts b/RedPandaIDE/translations/RedPandaIDE_zh_TW.ts index c39e14be..1c466c1d 100644 --- a/RedPandaIDE/translations/RedPandaIDE_zh_TW.ts +++ b/RedPandaIDE/translations/RedPandaIDE_zh_TW.ts @@ -91,17 +91,17 @@ AppTheme - + Theme file '%1' doesn't exist! - + Error in json file '%1':%2 : %3 - + Can't open the theme file '%1' for read. @@ -792,7 +792,7 @@ - + Red Panda C++ will clear previously found compiler list and search for compilers in the following locations:<br /> '%1'<br /> '%2'<br />Do you really want to continue? @@ -948,7 +948,7 @@ CppRefacter - + @@ -1224,18 +1224,14 @@ Editor - + - - - - Error - + Save As @@ -1245,39 +1241,19 @@ - - The text to be copied exceeds count limit! - - - - - The text to be copied exceeds character limit! - - - - - The text to be cut exceeds count limit! - - - - - The text to be cut exceeds character limit! - - - - + Print Document - + - + Ctrl+click for more info - + astyle not found @@ -1297,18 +1273,18 @@ - + Readonly - + Error Load File - + hex: %1 @@ -1406,27 +1382,7 @@ - - Copy Size Limit - - - - - Don't copy text larger than - - - - - Lines - - - - - Size(kilo characters): - - - - + Copy with format as @@ -1650,7 +1606,7 @@ - + @@ -1924,7 +1880,7 @@ - + Auto detect encoding when openning files @@ -1949,7 +1905,7 @@ - + ANSI @@ -1964,27 +1920,12 @@ - - MB - - - - + Parse TODOs - - Memory Usage - - - - - Steps - - - - + Action before saving files @@ -1994,12 +1935,7 @@ - - Limits for Undo - - - - + Reformat @@ -2214,22 +2150,22 @@ - - Use custom theme - - - - + Icon Set: - + + Create a customized copy + + + + Use custom icon set - + English @@ -2248,6 +2184,16 @@ Traditional Chinese + + + Confirm Overwrite + + + + + Custom Theme file %1 already exists.<br />Do you want to overwrite it? + + Icon Zoom: @@ -2329,7 +2275,7 @@ - + Confirm @@ -2371,16 +2317,6 @@ Editors share one code parser - - - Max undo memory for each editor: - - - - - MB - - EnvironmentProgramsWidget @@ -2440,7 +2376,7 @@ EnvironmentShortcutModel - + action @@ -3212,7 +3148,7 @@ - + No minimal indent @@ -4061,114 +3997,120 @@ MainWindow - + Red Panda C++ - - + + Files - - - + + + Project - - + + Watch - - + + Structure - + - + Problem Set - + - - + + New Problem Set - + - + Add Problem - + Remove Problem - + - - + + Save Problem Set - + - - + + Load Problem Set - - - + + + - + Issues - - + + Tools Output - - - + + + - + + + + + + + Debug - + Evaluate: - + Debug Console @@ -4198,14 +4140,15 @@ - - - + + + + Search - + History: @@ -4231,99 +4174,103 @@ - + TODO - - + + Bookmark - + - + + + + Problem - + Add Probem Case - + - + Remove Problem Case - + Open Anwser Source File - + Run All Cases - + Problem Cases Validation Options - + %v/%m - + Input - + Choose Input File - + - + Clear - + Output - + Expected - + File + Tools @@ -4339,12 +4286,17 @@ - + + + + + + Code - + Window @@ -4369,29 +4321,24 @@ - - Git - - - - + Main - + Compile - + Compiler Set - + New Source File @@ -4401,7 +4348,7 @@ - + Open... @@ -4411,7 +4358,7 @@ - + Save @@ -4421,7 +4368,7 @@ - + Save As... @@ -4431,33 +4378,33 @@ - + Save All - + Ctrl+Shift+S - + Options - + F9 - + Run - + Undo @@ -4467,7 +4414,7 @@ - + Redo @@ -4477,7 +4424,7 @@ - + Cut @@ -4487,9 +4434,9 @@ - - - + + + Copy @@ -4500,8 +4447,8 @@ - - + + Paste @@ -4513,7 +4460,7 @@ - + Select All @@ -4523,7 +4470,7 @@ - + Indent @@ -4533,7 +4480,7 @@ - + UnIndent @@ -4588,7 +4535,7 @@ - + Rebuild All @@ -4599,7 +4546,7 @@ - + Stop Execution @@ -4609,12 +4556,12 @@ - + F5 - + Step Over @@ -4624,7 +4571,7 @@ - + Step Into @@ -4634,7 +4581,7 @@ - + Step Out @@ -4644,7 +4591,7 @@ - + Run To Cursor @@ -4654,7 +4601,7 @@ - + Continue @@ -4664,7 +4611,7 @@ - + Add Watch... @@ -4729,7 +4676,7 @@ - + Remove Watch @@ -4744,7 +4691,7 @@ - + Reformat Code @@ -4754,7 +4701,7 @@ - + Go back @@ -4764,7 +4711,7 @@ - + Forward @@ -4835,7 +4782,7 @@ - + Clear all breakpoints @@ -4947,7 +4894,7 @@ - + Rename Symbol @@ -5027,7 +4974,7 @@ - + Running Parameters... @@ -5097,7 +5044,7 @@ - + Interrupt @@ -5133,84 +5080,18 @@ New Header... - - - Create Git Repository - - - - - Commit - - - - - Revert - - - - - Reset - - - - - Add Files - - - - - Restore - - Website - + F1 - - Branch/Switch - - - - - Merge - - - - - - Show Log - - - - - Remotes... - - - - - Fetch - - - - - Pull - - - - - Push - - - - + Hide Non Support Files @@ -5255,30 +5136,30 @@ - - + + - - + + - + - + - + Error - + New - + Export @@ -5298,19 +5179,19 @@ - - + + Problem Set %1 - - + + Load Theme Error - + @@ -5346,7 +5227,7 @@ - + Read Only @@ -5361,7 +5242,7 @@ - + Source file is not compiled. @@ -5439,17 +5320,17 @@ - + Properties... - + - Command: %1 - + Line: %1/%2 Col: %3 Sel: %4 @@ -5464,23 +5345,23 @@ - + Open Source File - + Run Current Case - - + + Batch Set Cases - + Remove @@ -5500,7 +5381,7 @@ - + Copy all @@ -5536,12 +5417,12 @@ - + Add Folder - + Rename Folder @@ -5587,26 +5468,26 @@ - + New Folder - + New File - + - + Delete - + Open in Editor @@ -5626,7 +5507,7 @@ - + Character sets @@ -5642,22 +5523,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 @@ -5694,12 +5575,12 @@ - + Do you really want to do that? - + Choose input files @@ -5710,12 +5591,12 @@ - + Problem Case %1 - + New Folder %1 @@ -5742,20 +5623,20 @@ - + Bookmark Description - - + + Description: - + New folder @@ -5766,7 +5647,7 @@ - + Break point condition @@ -5776,7 +5657,7 @@ - + Save project @@ -5787,12 +5668,12 @@ - + Do you want to save it? - + File Changed @@ -5819,20 +5700,20 @@ - + New Project File? - - + + Do you want to add the new file to the project? - + Open @@ -5841,12 +5722,12 @@ - + Save Error - + Change Project Compiler Set @@ -5856,7 +5737,7 @@ - + Compile Failed @@ -5867,7 +5748,7 @@ - + New Watch Expression @@ -5893,12 +5774,12 @@ - + Do you really want to clear all breakpoints in this file? - + New project @@ -5928,7 +5809,7 @@ - + Save new project as @@ -5993,7 +5874,7 @@ - + Rename Error @@ -6068,7 +5949,7 @@ - + Load Error @@ -6161,22 +6042,22 @@ - + Compiler Options... - + Explorer - + Messages - + Toggle Explorer Panel @@ -6196,7 +6077,7 @@ - + Modify Watch @@ -6206,7 +6087,7 @@ - + Rename @@ -6216,12 +6097,12 @@ - + Selection - + Select Word @@ -6231,7 +6112,7 @@ - + Go to Line @@ -6261,40 +6142,40 @@ - + - + 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! - + In current file @@ -6339,36 +6220,36 @@ - + - + Import FPS Problem Set - + Rename Problem - + Goto Url - + FPS Problem Set Files (*.fps;*.xml) - + Trim trailing spaces - - - + + + Export FPS Problem Set @@ -6383,37 +6264,37 @@ - + Rename Problem Set - + Choose Expected Output File - + Add Problem Case - + Toggle Readonly - + Newline - + Open file in editors - + Submit Issues @@ -6423,17 +6304,17 @@ - + New C/C++ File - + New GAS File - + Failed to generate the executable. @@ -6448,7 +6329,7 @@ - + The executable doesn't have symbol table, and can't be debugged. @@ -6478,7 +6359,7 @@ - + Watchpoint variable name @@ -6488,7 +6369,7 @@ - + Watchpoint hitted @@ -6513,7 +6394,7 @@ - + Missing Project Files @@ -6523,12 +6404,12 @@ - + Save settings failed! - + F11 @@ -6548,19 +6429,19 @@ - + Ctrl+K, Ctrl+S - + - + Correct compile settings for debug - + The generated executable won't have debug symbol infos, and can't be debugged. @@ -6568,55 +6449,55 @@ - + Or you can manually change the following settings in the options dialog's compiler set page: - + - + - Turned on the "Generate debug info (-g3)" option. - + - + - Turned off the "Strip executable (-s)" option. - + - + - Turned off the "Optimization level (-O)" option or set it to "Debug (-Og)". - + - + If you are using the Release compiler set, please use choose the Debug version from toolbar. - + - + Do you want to mannually change the compiler set settings now? - + - + You should recompile after change the compiler set or it's settings. - + Page Up @@ -6711,7 +6592,7 @@ - + Exact @@ -6726,7 +6607,7 @@ - + Folder Not Empty @@ -6741,17 +6622,17 @@ - + Line: %1/%2 Char: %3/%4 - + %1 Version - + Move Caret @@ -6759,7 +6640,7 @@ MemoryModel - + ascii: '%1' @@ -7157,7 +7038,7 @@ - + Project Updated @@ -7222,7 +7103,7 @@ - + Error @@ -7345,7 +7226,7 @@ - + Compiling project changes... @@ -7408,7 +7289,7 @@ - + ANSI @@ -7423,7 +7304,7 @@ - + Wrong Compiler Type @@ -7554,21 +7435,21 @@ - + + - ANSI - + UTF-8 - + - + Project(%1) @@ -7724,7 +7605,7 @@ ProjectModel - + File exists @@ -7985,7 +7866,7 @@ QFileSystemModel - + <b>The name "%1" cannot be used.</b><p>Try using another name, with fewer characters or no punctuation marks. @@ -7996,7 +7877,7 @@ - + Can't open file '%1' for read. @@ -8278,7 +8159,7 @@ - + Save @@ -8304,7 +8185,7 @@ - + constructor @@ -8315,12 +8196,12 @@ - + Code Generation - + Enable use of specific instructions (-mx) @@ -8375,7 +8256,7 @@ - + Linker @@ -8395,17 +8276,17 @@ - + Generate debugging information (-g3) - + Use pipes instead of temporary files during compilation (-pipe) - + Confirm @@ -8426,7 +8307,7 @@ - + Binaries @@ -8487,7 +8368,7 @@ - + bytes @@ -8518,7 +8399,7 @@ - + C++ Language standard (-std) @@ -8553,7 +8434,7 @@ - + Remove @@ -8573,17 +8454,17 @@ - + Check for stack smashing attacks (-fstack-protector) - + Check ISO C/C++ conformance (-pedantic) - + Enable Sanitizer (-fsanitize=) @@ -8691,7 +8572,7 @@ RegisterModel - + Register @@ -9081,7 +8962,7 @@ - + Compiling project changes... @@ -9214,7 +9095,7 @@ - + Continue Search @@ -9252,7 +9133,7 @@ - + Replace @@ -9330,7 +9211,7 @@ - + @@ -9432,7 +9313,7 @@ Settings - + Error @@ -9471,7 +9352,7 @@ - + @@ -9483,7 +9364,7 @@ - + Program Runner @@ -9531,9 +9412,9 @@ - + - + @@ -9541,8 +9422,8 @@ - - + + Compiler @@ -9651,8 +9532,8 @@ - - + + @@ -9741,7 +9622,7 @@ SettingsWidget - + Load Error @@ -9887,19 +9768,6 @@ - - ThemeManager - - - custom - - - - - built-in - - - TodoModel @@ -10109,7 +9977,7 @@ ToolsManager - + Remove Compiled diff --git a/libs/qsynedit/qsynedit_zh_CN.ts b/libs/qsynedit/qsynedit_zh_CN.ts index 8213f104..ad677a38 100644 --- a/libs/qsynedit/qsynedit_zh_CN.ts +++ b/libs/qsynedit/qsynedit_zh_CN.ts @@ -4,7 +4,7 @@ QObject - + Can't open file '%1' to write! 无法写入文件"%1"! @@ -4288,7 +4288,7 @@ QSynedit::Document - + Can't open file '%1' for read! 无法读取文件"%1".