From 70fb712e3e0db9337bf7a20aeaa29fb61533d5b5 Mon Sep 17 00:00:00 2001 From: Pairi Daiza Date: Sun, 22 Aug 2021 19:30:01 +0200 Subject: [PATCH] + Upd: Version files and Changes.txt --- Build/build_non_mui_ver.txt | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/Build/build_non_mui_ver.txt b/Build/build_non_mui_ver.txt index 8c68b8aec..ea2a78d23 100644 --- a/Build/build_non_mui_ver.txt +++ b/Build/build_non_mui_ver.txt @@ -1,19 +1,14 @@ ==================================================================================================== -== How to build a NON MUI Notepad3 version for desired Language (Mono-language) - 20/08/2021 == +== How to build a NON MUI Notepad3 version for desired Language (Mono-language) - 15/04/2021 == ==================================================================================================== Important: Make all modifications with a text editor (not the Resource-Editor), e.g.: Notepad3 I. Edit: .\src\resource.h .\minipath\src\resource.h - 1. Comment-Out the following line if Language Menu is not wanted + - Comment-Out the following line #define HAVE_DYN_LOAD_LIBS_MUI_LNGS 1 => //#define HAVE_DYN_LOAD_LIBS_MUI_LNGS 1 - - 2. Uncomment one of the following lines according to - the desired Language (use en-US if undefined) - Hint: better use VS-Solution's - C/C++ _and_ Resources (compiler) Preprocessor Define - + - Uncomment one of the following lines according to the desired Language E.g.: for German: //#define MUI_BASE_LNG_DE_DE 1 => #define MUI_BASE_LNG_DE_DE 1 (Keep all other Base Languages #define in comments) @@ -21,8 +16,7 @@ Important: Make all modifications with a text editor (not the Resource-Editor), II. Check: .\src\Notepad3.rc .\minipath\src\minipath.rc - Make sure that the desired Base Language exists in the list of Language resources. - - E.g.: for German: At the begin of the ".rc" files + E.g.: for German: At the begin of the ".rc" files (the real include section) #elif defined(MUI_BASE_LNG_DE_DE) "#include ""../language/np3_de_de/np3_de_de.rc""\r\n" @@ -30,14 +24,14 @@ Important: Make all modifications with a text editor (not the Resource-Editor), #elif defined(MUI_BASE_LNG_DE_DE) #include "../language/np3_de_de/np3_de_de.rc" -III. Check: .\language\common_res.h - .\minipath\language\common_res.h +III. Check: ".\language\common_res.h" + ".\minipath\language\common_res.h" - Make sure that the desired Base Language exists in the list of Language resources. - E.g.: for German: #elif defined(MUI_BASE_LNG_DE_DE) #define MUI_BASE_LNG_ID L"de-DE" + IV. (Re-)Compile the Notepad3 project The resulting Notepad3.exe and Minipath.exe are Mono-language (if as #define above: German only).