mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
779 B
27 lines
779 B
rem Private batch file called by GENLOC.BAT
|
|
|
|
setlocal
|
|
set LANG=%1
|
|
set LCID=%2
|
|
set CP=%3
|
|
set LOC_BIN=%4
|
|
set LOC_EDB=%5
|
|
set LOCCMD=%6
|
|
set BINGENCMD=%7
|
|
|
|
|
|
rem Create a new subdirectory for this language
|
|
md %LOC_BIN%\%LANG%
|
|
|
|
rem Execute the LocStudio command to generate localised binaries
|
|
%LOCCMD% /U /G %LOC_EDB%\esent_%LANG%_%LCID%_%CP%_multi.edb /S -p %LOC_BIN% /T %LOC_BIN%\%LANG%
|
|
|
|
rem Copy the localised binaries to a central location so that future
|
|
rem localised binaries will also have this language (thus, we build
|
|
rem up a multi-lang binary)
|
|
copy %LOC_BIN%\%LANG% %LOC_BIN%
|
|
|
|
rem Execute bingen to generate token files from the localised binaries
|
|
%BINGENCMD% -w -p %CP% -f -t %LOC_BIN%\%LANG%\esent.dll %LOC_BIN%\%LANG%\esent_%LANG%.dl_ -i 0x%LCID%
|
|
|
|
echo --------------------
|