From e50236f559a8e4bbd9c243046c7c66f631025ecd Mon Sep 17 00:00:00 2001 From: Don HO Date: Sat, 27 Jul 2019 11:03:14 +0200 Subject: [PATCH] Remove redundant information in File Summary dialog Update Chinese & French binary translation as well. --- PowerEditor/installer/nativeLang/chinese.xml | 14 +++++++++++++- PowerEditor/installer/nativeLang/english.xml | 5 ++--- PowerEditor/installer/nativeLang/french.xml | 13 ++++++++++++- PowerEditor/installer/nativeLang/german.xml | 1 - PowerEditor/src/NppCommands.cpp | 8 +------- 5 files changed, 28 insertions(+), 13 deletions(-) diff --git a/PowerEditor/installer/nativeLang/chinese.xml b/PowerEditor/installer/nativeLang/chinese.xml index edcbf3b09..d49e0e877 100644 --- a/PowerEditor/installer/nativeLang/chinese.xml +++ b/PowerEditor/installer/nativeLang/chinese.xml @@ -1,6 +1,6 @@ - +
@@ -1191,6 +1191,18 @@ + + + + + + + + + + + + diff --git a/PowerEditor/installer/nativeLang/english.xml b/PowerEditor/installer/nativeLang/english.xml index 7a58ab087..6e58c1efd 100644 --- a/PowerEditor/installer/nativeLang/english.xml +++ b/PowerEditor/installer/nativeLang/english.xml @@ -1,6 +1,6 @@ - +
@@ -1238,11 +1238,10 @@ Continue?"/> - - + diff --git a/PowerEditor/installer/nativeLang/french.xml b/PowerEditor/installer/nativeLang/french.xml index 1f95824c5..23d4b7db8 100644 --- a/PowerEditor/installer/nativeLang/french.xml +++ b/PowerEditor/installer/nativeLang/french.xml @@ -1,6 +1,6 @@ - +
@@ -1192,6 +1192,17 @@ Voulez-vous les poursuivez ?"/> + + + + + + + + + + + diff --git a/PowerEditor/installer/nativeLang/german.xml b/PowerEditor/installer/nativeLang/german.xml index ecf04aad5..6ed204628 100644 --- a/PowerEditor/installer/nativeLang/german.xml +++ b/PowerEditor/installer/nativeLang/german.xml @@ -1200,7 +1200,6 @@ - diff --git a/PowerEditor/src/NppCommands.cpp b/PowerEditor/src/NppCommands.cpp index 1430da0cd..5bae2e8b9 100644 --- a/PowerEditor/src/NppCommands.cpp +++ b/PowerEditor/src/NppCommands.cpp @@ -2028,7 +2028,6 @@ void Notepad_plus::command(int id) generic_string filePathLabel = pNativeSpeaker->getLocalizedStrFromID("summary-filepath", TEXT("Full file path: ")); generic_string fileCreateTimeLabel = pNativeSpeaker->getLocalizedStrFromID("summary-filecreatetime", TEXT("Created: ")); generic_string fileModifyTimeLabel = pNativeSpeaker->getLocalizedStrFromID("summary-filemodifytime", TEXT("Modified: ")); - generic_string fileLenLabel = pNativeSpeaker->getLocalizedStrFromID("summary-filelen", TEXT("File length (in byte): ")); characterNumber += filePathLabel; characterNumber += curBuf->getFullPathName(); @@ -2041,16 +2040,11 @@ void Notepad_plus::command(int id) characterNumber += fileModifyTimeLabel; characterNumber += curBuf->getFileTime(Buffer::ft_modified); characterNumber += TEXT("\r"); - - characterNumber += fileLenLabel; - characterNumber += commafyInt(static_cast(fileLen)).c_str(); - characterNumber += TEXT("\r"); - characterNumber += TEXT("\r"); } generic_string nbCharLabel = pNativeSpeaker->getLocalizedStrFromID("summary-nbchar", TEXT("Characters (without line endings): ")); generic_string nbWordLabel = pNativeSpeaker->getLocalizedStrFromID("summary-nbword", TEXT("Words: ")); generic_string nbLineLabel = pNativeSpeaker->getLocalizedStrFromID("summary-nbline", TEXT("Lines: ")); - generic_string nbByteLabel = pNativeSpeaker->getLocalizedStrFromID("summary-nbbyte", TEXT("Current document length: ")); + generic_string nbByteLabel = pNativeSpeaker->getLocalizedStrFromID("summary-nbbyte", TEXT("Document length: ")); generic_string nbSelLabel1 = pNativeSpeaker->getLocalizedStrFromID("summary-nbsel1", TEXT(" selected characters (")); generic_string nbSelLabel2 = pNativeSpeaker->getLocalizedStrFromID("summary-nbsel2", TEXT(" bytes) in ")); generic_string nbRangeLabel = pNativeSpeaker->getLocalizedStrFromID("summary-nbrange", TEXT(" ranges"));