From abf23face0b900b95311566898e39da605c543cc Mon Sep 17 00:00:00 2001 From: Don Ho Date: Sat, 22 Feb 2014 11:29:06 +0000 Subject: [PATCH] [BUG_FIXED] Fix a localization bug. git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1186 f5eea248-9336-0410-98b8-ebc06183d4e3 --- PowerEditor/installer/nativeLang/chinese.xml | 4 ++-- PowerEditor/src/Notepad_plus.cpp | 3 ++- PowerEditor/src/localization.cpp | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/PowerEditor/installer/nativeLang/chinese.xml b/PowerEditor/installer/nativeLang/chinese.xml index 9c3a4ea8d..69a2977dd 100644 --- a/PowerEditor/installer/nativeLang/chinese.xml +++ b/PowerEditor/installer/nativeLang/chinese.xml @@ -277,8 +277,8 @@ - - + + diff --git a/PowerEditor/src/Notepad_plus.cpp b/PowerEditor/src/Notepad_plus.cpp index 1e35c9093..f122763d9 100644 --- a/PowerEditor/src/Notepad_plus.cpp +++ b/PowerEditor/src/Notepad_plus.cpp @@ -5269,7 +5269,7 @@ struct Quote{ const char *_quote; }; -const int nbQuote = 193; +const int nbQuote = 194; Quote quotes[nbQuote] = { {"Notepad++", "Good programmers use Notepad++ to code.\nExtreme programmers use MS Word to code, in Comic Sans, center aligned."}, {"Martin Golding", "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."}, @@ -5463,6 +5463,7 @@ Quote quotes[nbQuote] = { {"Confucius", "It's good to meet girl in park.\nBut better to park meat in girl."}, {"Mark Twain", "Censorship is telling a man he can't have a steak just because a baby can't chew it."}, {"Friedrich Nietzsche", "There is not enough love and goodness in the world to permit giving any of it away to imaginary beings."}, +{"Elie Wiesel", "Human beings can be beautiful or more beautiful,\nthey can be fat or skinny, they can be right or wrong,\nbut illegal? How can a human being be illegal?"}, {"Chewbacca", "Uuuuuuuuuur Ahhhhrrrrrr\nUhrrrr Ahhhhrrrrrr\nAaaarhg..."} }; diff --git a/PowerEditor/src/localization.cpp b/PowerEditor/src/localization.cpp index 4722fd4b0..17bd542eb 100644 --- a/PowerEditor/src/localization.cpp +++ b/PowerEditor/src/localization.cpp @@ -162,7 +162,7 @@ MenuPosition menuPos[] = { { 0, 2, -1, "file-openFolder"}, { 0, 11, -1, "file-closeMore"}, - { 0, 19, -1, "file-recentFiles"}, + { 0, 20, -1, "file-recentFiles"}, { 1, 10, -1, "edit-copyToClipboard"}, { 1, 11, -1, "edit-indent"},