From 7d2e4a3593de0ddfd766e939c517d55eb25edcd1 Mon Sep 17 00:00:00 2001 From: Don Ho Date: Fri, 15 Aug 2014 23:05:45 +0000 Subject: [PATCH] [UPDATE] Add new language Gujarati. [NEW] Add python parson for function List. git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1273 f5eea248-9336-0410-98b8-ebc06183d4e3 --- PowerEditor/installer/nativeLang/gujarati.xml | 907 ++++++++++++++++++ PowerEditor/installer/nppSetup.nsi | 6 + PowerEditor/src/Notepad_plus.cpp | 4 +- PowerEditor/src/functionList.xml | 20 +- PowerEditor/src/localizationString.h | Bin 9904 -> 9990 bytes 5 files changed, 934 insertions(+), 3 deletions(-) create mode 100644 PowerEditor/installer/nativeLang/gujarati.xml diff --git a/PowerEditor/installer/nativeLang/gujarati.xml b/PowerEditor/installer/nativeLang/gujarati.xml new file mode 100644 index 000000000..05e2e0eaa --- /dev/null +++ b/PowerEditor/installer/nativeLang/gujarati.xml @@ -0,0 +1,907 @@ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
diff --git a/PowerEditor/installer/nppSetup.nsi b/PowerEditor/installer/nppSetup.nsi index 7777cee06..73bf1c9a7 100644 --- a/PowerEditor/installer/nppSetup.nsi +++ b/PowerEditor/installer/nppSetup.nsi @@ -908,6 +908,9 @@ SectionGroup "Localization" localization Section /o "Greek" greek CopyFiles "$TEMP\nppLocalization\greek.xml" "$INSTDIR\localization\greek.xml" SectionEnd + Section /o "Gujarati" gujarati + CopyFiles "$TEMP\nppLocalization\gujarati.xml" "$INSTDIR\localization\gujarati.xml" + SectionEnd Section /o "Hebrew" hebrew CopyFiles "$TEMP\nppLocalization\hebrew.xml" "$INSTDIR\localization\hebrew.xml" SectionEnd @@ -1616,6 +1619,9 @@ SectionGroup un.localization Section un.greek Delete "$INSTDIR\localization\greek.xml" SectionEnd + Section un.gujarati + Delete "$INSTDIR\localization\gujarati.xml" + SectionEnd Section un.hebrew Delete "$INSTDIR\localization\hebrew.xml" SectionEnd diff --git a/PowerEditor/src/Notepad_plus.cpp b/PowerEditor/src/Notepad_plus.cpp index 198fb675f..de434a67f 100644 --- a/PowerEditor/src/Notepad_plus.cpp +++ b/PowerEditor/src/Notepad_plus.cpp @@ -5289,7 +5289,7 @@ struct Quote{ const char *_quote; }; -const int nbQuote = 203; +const int nbQuote = 204; 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."}, @@ -5401,7 +5401,7 @@ Quote quotes[nbQuote] = { {"Anonymous #77", "Governments are like diapers.\nThey should be changed often, and for the same reason."}, {"Anonymous #78", "If you expect the world to be fair with you because you are fair, you're fooling yourself.\nThat's like expecting the lion not to eat you because you didn't eat him."}, {"Anonymous #79", "I'm a creationist.\nI believe man create God."}, -//{"Anonymous #80", ""}, +{"Anonymous #80", "Let's eat kids.\nLet's eat, kids.\n\nUse a comma.\nSave lives."}, {"Anonymous #81", "A male engineering student was crossing a road one day when a frog called out to him and said, \"If you kiss me, I'll turn into a beautiful princess.\" He bent over, picked up the frog, and put it in his pocket.\n\nThe frog spoke up again and said, \"If you kiss me and turn me back into a beautiful princess, I will stay with you for one week.\" The engineering student took the frog out of his pocket, smiled at it; and returned it to his pocket.\n\nThe frog then cried out, \"If you kiss me and turn me back into a princess, I'll stay with you and do ANYTHING you want.\" Again the boy took the frog out, smiled at it, and put it back into his pocket.\n\nFinally, the frog asked, \"What is the matter? I've told you I'm a beautiful princess, that I'll stay with you for a week and do anything you want. Why won't you kiss me?\" The boy said, \"Look I'm an engineer. I don't have time for a girlfriend, but a talking frog is cool.\"\n"}, //{"Anonymous #82", ""}, {"Anonymous #83", "Copy from one, it's plagiarism.\nCopy from two, it's research."}, diff --git a/PowerEditor/src/functionList.xml b/PowerEditor/src/functionList.xml index 19a2323a2..ced18a2e5 100644 --- a/PowerEditor/src/functionList.xml +++ b/PowerEditor/src/functionList.xml @@ -27,6 +27,7 @@ http://notepad-plus-plus.org/features/function-list.html +