Fix NLS generation

This commit is contained in:
Berke Viktor 2012-10-02 19:46:57 +02:00
parent d5b272b0c8
commit 3b38ad4d80
2 changed files with 4 additions and 2 deletions

View File

@ -5,6 +5,7 @@
<!-- SPECIFY YOUR DEPENDENCY DIRECTORIES HERE --> <!-- SPECIFY YOUR DEPENDENCY DIRECTORIES HERE -->
<YourDepsPath>c:\mozilla-build\hexchat\build</YourDepsPath> <YourDepsPath>c:\mozilla-build\hexchat\build</YourDepsPath>
<YourGendefPath>c:\mozilla-build\gendef</YourGendefPath> <YourGendefPath>c:\mozilla-build\gendef</YourGendefPath>
<YourMsgfmtPath>c:\mozilla-build\msgfmt</YourMsgfmtPath>
<YourTclPath>c:\mozilla-build\tcl-8.5</YourTclPath> <YourTclPath>c:\mozilla-build\tcl-8.5</YourTclPath>
<YourPerl512Path>c:\mozilla-build\perl-5.12</YourPerl512Path> <YourPerl512Path>c:\mozilla-build\perl-5.12</YourPerl512Path>
<YourPerl514Path>c:\mozilla-build\perl-5.14</YourPerl514Path> <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> <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> <DepsRoot>$(YourDepsPath)\$(PlatformName)</DepsRoot>
<GendefPath>$(YourGendefPath)</GendefPath> <GendefPath>$(YourGendefPath)</GendefPath>
<MsgfmtPath>$(YourMsgfmtPath)</MsgfmtPath>
<LuaLib>lua51</LuaLib> <LuaLib>lua51</LuaLib>
<LuaOutput>hclua</LuaOutput> <LuaOutput>hclua</LuaOutput>
<TclPath>$(YourTclPath)\$(PlatformName)</TclPath> <TclPath>$(YourTclPath)\$(PlatformName)</TclPath>

View File

@ -67,7 +67,7 @@ rmdir /q /s "$(OutDir)\locale"
mkdir "$(OutDir)\locale" mkdir "$(OutDir)\locale"
for %%A in (*.po) do ( for %%A in (*.po) do (
mkdir "$(OutDir)\locale\%%~nA\LC_MESSAGES" 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> )</Command>
</PreBuildEvent> </PreBuildEvent>
</ItemDefinitionGroup> </ItemDefinitionGroup>
@ -89,7 +89,7 @@ rmdir /q /s "$(OutDir)\locale"
mkdir "$(OutDir)\locale" mkdir "$(OutDir)\locale"
for %%A in (*.po) do ( for %%A in (*.po) do (
mkdir "$(OutDir)\locale\%%~nA\LC_MESSAGES" 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> )</Command>
</PreBuildEvent> </PreBuildEvent>
</ItemDefinitionGroup> </ItemDefinitionGroup>