Commit 3b38ad4d authored by Berke Viktor's avatar Berke Viktor
Browse files

Fix NLS generation

parent d5b272b0
......@@ -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>
......
......@@ -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>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment