Ver código fonte

Fixed some grammar errors in the code.
I have fixed some grammar errors in the code that I encountered while using the program regularly. If I come across more, I will make further modifications.

PREVIEW: https://i.328888.xyz/2023/02/06/rwrEb.png

Signed-off-by: Kamey03 <[email protected]>

Kamey03 2 anos atrás
pai
commit
f0e49d5220
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      src/cceditor/ccnotepad.cpp

+ 2 - 2
src/cceditor/ccnotepad.cpp

@@ -1,4 +1,4 @@
-#include <memory>
+#include <memory>
 #include "ccnotepad.h"
 #include "filemanager.h"
 #include "Encode.h"
@@ -3464,7 +3464,7 @@ void CCNotePad::tabClose(int index, bool isInQuit)
 	{
 		QApplication::beep();
 
-		int ret = QMessageBox::question(this, tr("Save File?"), tr("if save file %1 ?").arg(filePath), tr("Yes"), tr("No"), tr("Cancel"));
+		int ret = QMessageBox::question(this, tr("Do you want to save changes to « %1 » before closing?").arg(filePath), tr("If you don't save the changes you made, you'll lose them forever."), tr("Yes"), tr("No"), tr("Cancel"));
 	
 		//保存
 		if (ret == 0)