Remove redundant information in File Summary dialog

Update Chinese & French binary translation as well.
pull/5957/head
Don HO 2019-07-27 11:03:14 +02:00
parent 418d03acfe
commit e50236f559
No known key found for this signature in database
GPG Key ID: 6C429F1D8D84F46E
5 changed files with 28 additions and 13 deletions

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<NotepadPlus>
<Native-Langue name="繁體中文/正體中文" filename="chinese.xml" version="7.6.5">
<Native-Langue name="繁體中文/正體中文" filename="chinese.xml" version="7.7.2">
<Menu>
<Main>
<!-- Main Menu Entries -->
@ -1191,6 +1191,18 @@
<finder-select-all value="全部選取"/>
<finder-clear-all value="全部清除"/>
<finder-open-all value="全部開啟"/>
<summary value="統計資料"/>
<summary-filepath value="完整文件路徑: "/>
<summary-filecreatetime value="建檔時間: "/>
<summary-filemodifytime value="修改時間: "/>
<summary-filelen value="文件長度(以位元為單位): "/>
<summary-nbchar value="字元數(不含行結尾): "/>
<summary-nbword value="字數: "/>
<summary-nbline value="行數: "/>
<summary-nbbyte value="文件長度: "/>
<summary-nbsel1 value=" 個選取字元( "/>
<summary-nbsel2 value=" 位元)在 "/>
<summary-nbrange value=" 個選取範圍中"/>
</MiscStrings>
</Native-Langue>
</NotepadPlus>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<NotepadPlus>
<Native-Langue name="English" filename="english.xml" version="7.6.5">
<Native-Langue name="English" filename="english.xml" version="7.7.2">
<Menu>
<Main>
<!-- Main Menu Entries -->
@ -1238,11 +1238,10 @@ Continue?"/>
<summary-filepath value="Full file path: "/>
<summary-filecreatetime value="Created: "/>
<summary-filemodifytime value="Modified: "/>
<summary-filelen value="File length (in byte): "/>
<summary-nbchar value="Characters (without line endings): "/>
<summary-nbword value="Words: "/>
<summary-nbline value="Lines: "/>
<summary-nbbyte value="Current document length: "/>
<summary-nbbyte value="Document length: "/>
<summary-nbsel1 value=" selected characters ("/>
<summary-nbsel2 value=" bytes) in "/>
<summary-nbrange value=" ranges"/>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<NotepadPlus>
<Native-Langue name="Français" filename="french.xml" version="7.6.5">
<Native-Langue name="Français" filename="french.xml" version="7.7.2">
<Menu>
<Main>
<!-- Main Menu Entries -->
@ -1192,6 +1192,17 @@ Voulez-vous les poursuivez ?"/>
<finder-select-all value="Sélectionner tout"/>
<finder-clear-all value="Effacer tout"/>
<finder-open-all value="Ouvrir tout"/>
<summary value="Statistiques"/>
<summary-filepath value="Chemin d'accès : "/>
<summary-filecreatetime value="Date de Création : "/>
<summary-filemodifytime value="Date de Modification : "/>
<summary-nbchar value="Caracters (sans fin de ligne) : "/>
<summary-nbword value="Mots : "/>
<summary-nbline value="Lignes : "/>
<summary-nbbyte value="Taille du document : "/>
<summary-nbsel1 value=" caracters sélectionnés ("/>
<summary-nbsel2 value=" octets) dans "/>
<summary-nbrange value=" sélections"/>
</MiscStrings>
</Native-Langue>
</NotepadPlus>

View File

@ -1200,7 +1200,6 @@
<summary-filepath value="Kompletter Pfad: "/>
<summary-filecreatetime value="Erzeugt: "/>
<summary-filemodifytime value="Geändert: "/>
<summary-filelen value="Dateigrösse (in Byte): "/>
<summary-nbchar value="Zeichen (ohne Zeilenenden): "/>
<summary-nbword value="Wörter: "/>
<summary-nbline value="Zeilen: "/>

View File

@ -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<size_t>(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"));