diff --git a/NEWS.md b/NEWS.md index 88920267..62b8e5b4 100644 --- a/NEWS.md +++ b/NEWS.md @@ -3,6 +3,7 @@ Red Panda C++ Version 2.24 - fix: members of elements of stl maps are not correctly suggested. - fix: memory view's cell size is too wide in linux. - fix: Code completion doesn't work if "min id length to show completion" is not 1. + - fix: english typos. (thanks for sangiye0@github) Red Panda C++ Version 2.23 diff --git a/RedPandaIDE/editor.cpp b/RedPandaIDE/editor.cpp index 6a0946a5..70acbdb6 100644 --- a/RedPandaIDE/editor.cpp +++ b/RedPandaIDE/editor.cpp @@ -429,7 +429,7 @@ bool Editor::saveAs(const QString &name, bool fromProject){ if (pMainWindow->editorList()->getOpenedEditorByFilename(newName)) { QMessageBox::critical(pMainWindow,tr("Error"), - tr("File %1 already openned!").arg(newName)); + tr("File %1 already opened!").arg(newName)); return false; } // Update project information diff --git a/RedPandaIDE/mainwindow.cpp b/RedPandaIDE/mainwindow.cpp index a8a296ac..16f98164 100644 --- a/RedPandaIDE/mainwindow.cpp +++ b/RedPandaIDE/mainwindow.cpp @@ -5526,7 +5526,7 @@ void MainWindow::closeEvent(QCloseEvent *event) { return ; } } /*else { - //if don't save last open files, close project before editors, to save project openned editors; + //if don't save last open files, close project before editors, to save project opened editors; }*/ if (mProject) { diff --git a/RedPandaIDE/project.cpp b/RedPandaIDE/project.cpp index 95592a45..11aeff7c 100644 --- a/RedPandaIDE/project.cpp +++ b/RedPandaIDE/project.cpp @@ -2751,7 +2751,7 @@ bool ProjectModel::setData(const QModelIndex &index, const QVariant &value, int } // Target filename does not exist anymore. Do a rename // change name in project file first (no actual file renaming on disk) - //save old file, if it is openned; + //save old file, if it is opened; // remove old file from monitor list mProject->fileSystemWatcher()->removePath(oldName); diff --git a/RedPandaIDE/settingsdialog/editorautosavewidget.ui b/RedPandaIDE/settingsdialog/editorautosavewidget.ui index 7e9ae678..644d2bf2 100644 --- a/RedPandaIDE/settingsdialog/editorautosavewidget.ui +++ b/RedPandaIDE/settingsdialog/editorautosavewidget.ui @@ -97,7 +97,7 @@ - All files openned + All files opened diff --git a/RedPandaIDE/settingsdialog/environmentfileassociationwidget.ui b/RedPandaIDE/settingsdialog/environmentfileassociationwidget.ui index a46ab780..3cfffd6f 100644 --- a/RedPandaIDE/settingsdialog/environmentfileassociationwidget.ui +++ b/RedPandaIDE/settingsdialog/environmentfileassociationwidget.ui @@ -23,7 +23,7 @@ - Independant Red Panda C++ applications + Independent Red Panda C++ applications diff --git a/RedPandaIDE/settingsdialog/formattergeneralwidget.ui b/RedPandaIDE/settingsdialog/formattergeneralwidget.ui index 67f8ef88..5d0c78ed 100644 --- a/RedPandaIDE/settingsdialog/formattergeneralwidget.ui +++ b/RedPandaIDE/settingsdialog/formattergeneralwidget.ui @@ -71,7 +71,7 @@ - 1 + 6 @@ -738,7 +738,7 @@ - Don't break multimple statements residing on one line + Don't break multiple statements residing on one line @@ -890,7 +890,7 @@ - + diff --git a/RedPandaIDE/settingsdialog/settingsdialog.cpp b/RedPandaIDE/settingsdialog/settingsdialog.cpp index b4de9ee2..02f5a354 100644 --- a/RedPandaIDE/settingsdialog/settingsdialog.cpp +++ b/RedPandaIDE/settingsdialog/settingsdialog.cpp @@ -140,7 +140,7 @@ PSettingsDialog SettingsDialog::optionDialog() dialog->setWindowTitle(tr("Options")); SettingsWidget* widget; - widget = new EnvironmentAppearenceWidget(tr("Appearence"),tr("Environment")); + widget = new EnvironmentAppearenceWidget(tr("Appearance"),tr("Environment")); dialog->addWidget(widget); #ifdef Q_OS_WIN diff --git a/RedPandaIDE/themes/contrast.json b/RedPandaIDE/themes/contrast.json index 5dade68e..5f78abb5 100644 --- a/RedPandaIDE/themes/contrast.json +++ b/RedPandaIDE/themes/contrast.json @@ -1,5 +1,5 @@ { - "name":"Contract", + "name":"Contrast", "name_zh_CN": "高对比度主题", "useQtFusionStyle": true, "isDark": true, diff --git a/RedPandaIDE/translations/RedPandaIDE_pt_BR.ts b/RedPandaIDE/translations/RedPandaIDE_pt_BR.ts index 1aa2bf11..7695f922 100644 --- a/RedPandaIDE/translations/RedPandaIDE_pt_BR.ts +++ b/RedPandaIDE/translations/RedPandaIDE_pt_BR.ts @@ -1035,7 +1035,7 @@ Salvar como - File %1 already openned! + File %1 already opened! Arquivo %1 já aberto! @@ -1122,7 +1122,7 @@ Arquivo atual - All files openned + All files opened Todos os arquivos abertos @@ -1834,7 +1834,7 @@ Basta marcar ou desmarcar quais tipos de arquivos o Red Panda C++ irá registrar como aplicativos padrões para abrí-los ... - Independant Red Panda C++ applications + Independent Red Panda C++ applications @@ -2539,7 +2539,7 @@ - Don't break multimple statements residing on one line + Don't break multiple statements residing on one line @@ -7466,7 +7466,7 @@ Conjunto de problemas - Appearence + Appearance Aparência diff --git a/RedPandaIDE/translations/RedPandaIDE_zh_CN.ts b/RedPandaIDE/translations/RedPandaIDE_zh_CN.ts index c2bce9b3..4770493b 100644 --- a/RedPandaIDE/translations/RedPandaIDE_zh_CN.ts +++ b/RedPandaIDE/translations/RedPandaIDE_zh_CN.ts @@ -1518,7 +1518,7 @@ Are you really want to continue? - File %1 already openned! + File %1 already opened! 文件%1已经被打开! @@ -1632,7 +1632,7 @@ Are you really want to continue? - All files openned + All files opened 所有打开的文件 @@ -2520,7 +2520,7 @@ Are you really want to continue? - Independant Red Panda C++ applications + Independent Red Panda C++ applications 独立的小熊猫C++程序进程 @@ -3427,7 +3427,7 @@ Are you really want to continue? - Don't break multimple statements residing on one line + Don't break multiple statements residing on one line 不对同一行上的多条语句断行 @@ -10365,7 +10365,7 @@ Are you really want to continue? - Appearence + Appearance 外观 diff --git a/RedPandaIDE/translations/RedPandaIDE_zh_TW.ts b/RedPandaIDE/translations/RedPandaIDE_zh_TW.ts index ba78edc6..6f3c594a 100644 --- a/RedPandaIDE/translations/RedPandaIDE_zh_TW.ts +++ b/RedPandaIDE/translations/RedPandaIDE_zh_TW.ts @@ -888,7 +888,7 @@ - File %1 already openned! + File %1 already opened! @@ -975,7 +975,7 @@ - All files openned + All files opened @@ -1651,7 +1651,7 @@ - Independant Red Panda C++ applications + Independent Red Panda C++ applications @@ -2324,7 +2324,7 @@ - Don't break multimple statements residing on one line + Don't break multiple statements residing on one line @@ -6820,7 +6820,7 @@ - Appearence + Appearance