From 671650cba40d7ed14a1cab50d1c8520809a3c0eb Mon Sep 17 00:00:00 2001 From: Pairi Daiza Date: Sat, 27 Mar 2021 09:20:03 +0100 Subject: [PATCH 1/2] MUI - Minor correction and add some info comment lines --- src/Notepad3.rc | 8 ++++---- src/resource.h | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Notepad3.rc b/src/Notepad3.rc index 607b391e6..a7e3177fd 100644 --- a/src/Notepad3.rc +++ b/src/Notepad3.rc @@ -54,7 +54,7 @@ BEGIN #elif defined(MUI_BASE_LNG_FR_FR) "#include ""../language/np3_fr_fr/np3_fr_fr.rc""\r\n" #elif defined(MUI_BASE_LNG_HI_IN) - "#include ""../language/np3_fr_fr/np3_fr_fr.rc""\r\n" + "#include ""../language/np3_hi_in/np3_hi_in.rc""\r\n" #elif defined(MUI_BASE_LNG_HU_HU) "#include ""../language/np3_hu_hu/np3_hu_hu.rc""\r\n" #elif defined(MUI_BASE_LNG_ID_ID) @@ -72,7 +72,7 @@ BEGIN #elif defined(MUI_BASE_LNG_PT_BR) "#include ""../language/np3_pt_br/np3_pt_br.rc""\r\n" #elif defined(MUI_BASE_LNG_PT_PT) - "#include ""../language/np3_pr_pt/np3_pt-pt.rc""\r\n" + "#include ""../language/np3_pt_pt/np3_pt_pt.rc""\r\n" #elif defined(MUI_BASE_LNG_RU_RU) "#include ""../language/np3_ru_ru/np3_ru_ru.rc""\r\n" #elif defined(MUI_BASE_LNG_SK_SK) @@ -493,7 +493,7 @@ END #elif defined(MUI_BASE_LNG_FR_FR) #include "../language/np3_fr_fr/np3_fr_fr.rc" #elif defined(MUI_BASE_LNG_HI_IN) - #include "../language/np3_fr_fr/np3_fr_fr.rc" + #include "../language/np3_hi_in/np3_hi_in.rc" #elif defined(MUI_BASE_LNG_HU_HU) #include "../language/np3_hu_hu/np3_hu_hu.rc" #elif defined(MUI_BASE_LNG_ID_ID) @@ -511,7 +511,7 @@ END #elif defined(MUI_BASE_LNG_PT_BR) #include "../language/np3_pt_br/np3_pt_br.rc" #elif defined(MUI_BASE_LNG_PT_PT) - #include "../language/np3_pr_pt/np3_pt-pt.rc" + #include "../language/np3_pt_pt/np3_pt_pt.rc" #elif defined(MUI_BASE_LNG_RU_RU) #include "../language/np3_ru_ru/np3_ru_ru.rc" #elif defined(MUI_BASE_LNG_SK_SK) diff --git a/src/resource.h b/src/resource.h index 27c5b5315..2c4bedbc6 100644 --- a/src/resource.h +++ b/src/resource.h @@ -10,7 +10,8 @@ #endif // ========================================== -// 1. To build a NON MUI Notepad3, Comment-Out the following line +// How to build a NON MUI Notepad3 version for desired Language +// 1. Comment-Out the following line #define HAVE_DYN_LOAD_LIBS_MUI_LNGS 1 // ------------------------------------------ // - extent Notepad3.rc file accordingly @@ -20,9 +21,8 @@ // for Base-Lng in MUI env #define MUI_BASE_LNG_EN_US 1 #else -// 2. To build a NON MUI Notepad3, Comment-Out the following line #define MUI_BASE_LNG_EN_US 1 -// 3. And Uncommentt one of the following lines +// 2. Uncomment one of the following lines according of the desired Language //#define MUI_BASE_LNG_AF_ZA 1 //#define MUI_BASE_LNG_BE_BY 1 //#define MUI_BASE_LNG_DE_DE 1 From 2f7e0ead65964e4fc3f4190b34e2159dcfb7430f Mon Sep 17 00:00:00 2001 From: Pairi Daiza Date: Sat, 27 Mar 2021 09:30:41 +0100 Subject: [PATCH 2/2] MUI - Minor correction --- src/resource.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resource.h b/src/resource.h index 2c4bedbc6..93c110498 100644 --- a/src/resource.h +++ b/src/resource.h @@ -22,7 +22,7 @@ #define MUI_BASE_LNG_EN_US 1 #else #define MUI_BASE_LNG_EN_US 1 -// 2. Uncomment one of the following lines according of the desired Language +// 2. Uncomment one of the following lines according to the desired Language //#define MUI_BASE_LNG_AF_ZA 1 //#define MUI_BASE_LNG_BE_BY 1 //#define MUI_BASE_LNG_DE_DE 1