diff --git a/PowerEditor/installer/nativeLang/english.xml b/PowerEditor/installer/nativeLang/english.xml
index e5f072f01..f6ef49457 100644
--- a/PowerEditor/installer/nativeLang/english.xml
+++ b/PowerEditor/installer/nativeLang/english.xml
@@ -1416,6 +1416,7 @@ Find in all files except exe, obj && log:
+
diff --git a/PowerEditor/installer/nativeLang/french.xml b/PowerEditor/installer/nativeLang/french.xml
index 8d59b510d..6aee03d10 100644
--- a/PowerEditor/installer/nativeLang/french.xml
+++ b/PowerEditor/installer/nativeLang/french.xml
@@ -1358,6 +1358,7 @@ Rechercher dans tous les fichiers sauf exe, obj && log:
+
diff --git a/PowerEditor/installer/nativeLang/taiwaneseMandarin.xml b/PowerEditor/installer/nativeLang/taiwaneseMandarin.xml
index f5beff193..aa103cb5e 100644
--- a/PowerEditor/installer/nativeLang/taiwaneseMandarin.xml
+++ b/PowerEditor/installer/nativeLang/taiwaneseMandarin.xml
@@ -1342,6 +1342,7 @@
+
diff --git a/PowerEditor/src/ScintillaComponent/Buffer.cpp b/PowerEditor/src/ScintillaComponent/Buffer.cpp
index a1fcf77b5..419f2acc0 100644
--- a/PowerEditor/src/ScintillaComponent/Buffer.cpp
+++ b/PowerEditor/src/ScintillaComponent/Buffer.cpp
@@ -497,6 +497,9 @@ void FileManager::init(Notepad_plus * pNotepadPlus, ScintillaEditView * pscratch
_pscratchTilla->execute(SCI_SETUNDOCOLLECTION, false); //dont store any undo information
_scratchDocDefault = (Document)_pscratchTilla->execute(SCI_GETDOCPOINTER);
_pscratchTilla->execute(SCI_ADDREFDOCUMENT, 0, _scratchDocDefault);
+
+ NativeLangSpeaker *pNativeSpeaker = (NppParameters::getInstance()).getNativeLangSpeaker();
+ _untitled_str = pNativeSpeaker->getLocalizedStrFromID("tab-untitled-string", UNTITLED_STR);
}
void FileManager::checkFilesystemChanges(bool bCheckOnlyCurrentBuffer)
diff --git a/PowerEditor/src/ScintillaComponent/Buffer.h b/PowerEditor/src/ScintillaComponent/Buffer.h
index 09989e7f0..013c40615 100644
--- a/PowerEditor/src/ScintillaComponent/Buffer.h
+++ b/PowerEditor/src/ScintillaComponent/Buffer.h
@@ -58,6 +58,8 @@ enum SavingStatus
SaveWrittingFailed = 2
};
+const TCHAR UNTITLED_STR[] = TEXT("new ");
+
//File manager class maintains all buffers
class FileManager final
{
@@ -138,7 +140,7 @@ private:
std::vector _buffers;
BufferID _nextBufferID = 0;
size_t _nbBufs = 0;
- generic_string _untitled_str = TEXT("new ");
+ generic_string _untitled_str = UNTITLED_STR;
};
#define MainFileManager FileManager::getInstance()