mirror of
https://github.com/Open-Shell/Open-Shell-Menu.git
synced 2026-06-14 03:16:38 +10:00
Copy *L10N.ini files to output folder
So that they can be used during debugging.
This commit is contained in:
@@ -100,7 +100,9 @@
|
||||
<None Include="ClassicExplorer64.def" />
|
||||
<None Include="ExplorerBand.rgs" />
|
||||
<None Include="ExplorerBHO.rgs" />
|
||||
<None Include="ExplorerL10N.ini" />
|
||||
<None Include="ExplorerL10N.ini">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="ShareOverlay.rgs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
||||
@@ -110,7 +110,7 @@ static DWORD CALLBACK DllInitThread( void* )
|
||||
GetModuleFileName(g_Instance,path,_countof(path));
|
||||
*PathFindFileName(path)=0;
|
||||
wchar_t fname[_MAX_PATH];
|
||||
Sprintf(fname,_countof(fname),L"%s" INI_PATH L"ExplorerL10N.ini",path);
|
||||
Sprintf(fname,_countof(fname),L"%sExplorerL10N.ini",path);
|
||||
CString language=GetSettingString(L"Language");
|
||||
ParseTranslations(fname,language);
|
||||
|
||||
|
||||
@@ -27,10 +27,8 @@ using namespace ATL;
|
||||
#include <shlobj.h>
|
||||
|
||||
#ifdef BUILD_SETUP
|
||||
#define INI_PATH L""
|
||||
#define DOC_PATH L""
|
||||
#else
|
||||
#define INI_PATH L"..\\"
|
||||
#define DOC_PATH L"..\\..\\Docs\\Help\\"
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user