diff options
author | Berke Viktor <bviktor@hexchat.org> | 2012-10-02 19:46:57 +0200 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2012-10-02 19:46:57 +0200 |
commit | 3b38ad4d80daf237783345069469904252642c98 (patch) | |
tree | 744041b2c31cca59bd1e84c58a419c3f106a4f2c /win32 | |
parent | d5b272b0c824944ecfe90ef52582bca2552b46e0 (diff) |
Fix NLS generation
Diffstat (limited to 'win32')
-rw-r--r-- | win32/hexchat.props | 2 | ||||
-rw-r--r-- | win32/nls/nls.vcxproj | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/win32/hexchat.props b/win32/hexchat.props index 39c017d5..f94e9202 100644 --- a/win32/hexchat.props +++ b/win32/hexchat.props @@ -5,6 +5,7 @@ <!-- SPECIFY YOUR DEPENDENCY DIRECTORIES HERE --> <YourDepsPath>c:\mozilla-build\hexchat\build</YourDepsPath> <YourGendefPath>c:\mozilla-build\gendef</YourGendefPath> + <YourMsgfmtPath>c:\mozilla-build\msgfmt</YourMsgfmtPath> <YourTclPath>c:\mozilla-build\tcl-8.5</YourTclPath> <YourPerl512Path>c:\mozilla-build\perl-5.12</YourPerl512Path> <YourPerl514Path>c:\mozilla-build\perl-5.14</YourPerl514Path> @@ -14,6 +15,7 @@ <OwnFlags>G_DISABLE_CAST_CHECKS;G_DISABLE_DEPRECATED;GDK_PIXBUF_DISABLE_DEPRECATED;GDK_DISABLE_DEPRECATED;HAVE_STRTOULL;strtoull=_strtoui64;strcasecmp=stricmp;strncasecmp=strnicmp;__inline__=__inline;</OwnFlags> <DepsRoot>$(YourDepsPath)\$(PlatformName)</DepsRoot> <GendefPath>$(YourGendefPath)</GendefPath> + <MsgfmtPath>$(YourMsgfmtPath)</MsgfmtPath> <LuaLib>lua51</LuaLib> <LuaOutput>hclua</LuaOutput> <TclPath>$(YourTclPath)\$(PlatformName)</TclPath> diff --git a/win32/nls/nls.vcxproj b/win32/nls/nls.vcxproj index 6af798eb..3d0315bf 100644 --- a/win32/nls/nls.vcxproj +++ b/win32/nls/nls.vcxproj @@ -67,7 +67,7 @@ rmdir /q /s "$(OutDir)\locale" mkdir "$(OutDir)\locale" for %%A in (*.po) do ( mkdir "$(OutDir)\locale\%%~nA\LC_MESSAGES" -"$(DepsRoot)\bin\msgfmt" -co "$(OutDir)\locale\%%~nA\LC_MESSAGES\hexchat.mo" %%A +"$(MsgfmtPath)\msgfmt" -co "$(OutDir)\locale\%%~nA\LC_MESSAGES\hexchat.mo" %%A )</Command> </PreBuildEvent> </ItemDefinitionGroup> @@ -89,7 +89,7 @@ rmdir /q /s "$(OutDir)\locale" mkdir "$(OutDir)\locale" for %%A in (*.po) do ( mkdir "$(OutDir)\locale\%%~nA\LC_MESSAGES" -"$(DepsRoot)\bin\msgfmt" -co "$(OutDir)\locale\%%~nA\LC_MESSAGES\hexchat.mo" %%A +"$(MsgfmtPath)\msgfmt" -co "$(OutDir)\locale\%%~nA\LC_MESSAGES\hexchat.mo" %%A )</Command> </PreBuildEvent> </ItemDefinitionGroup> |