2006-04-14 20:16:10 +02:00
|
|
|
@echo off
|
|
|
|
|
2006-05-27 20:06:09 +02:00
|
|
|
@call setenvvar.bat
|
2006-04-14 20:16:10 +02:00
|
|
|
@if errorlevel 1 (goto :END)
|
|
|
|
|
|
|
|
@if "%1"=="msg" goto MSG
|
|
|
|
|
2007-02-26 16:18:41 +01:00
|
|
|
@if exist "%FB_DB_PATH%\gen\dbs\msg.fdb" del "%FB_DB_PATH%\gen\dbs\msg.fdb"
|
2006-04-14 20:16:10 +02:00
|
|
|
|
2007-02-26 16:18:41 +01:00
|
|
|
@echo create database '%FB_DB_PATH%\gen\dbs\msg.fdb'; | "%FB_ROOT_PATH%\gen\isql_embed" -q
|
|
|
|
@set FB_MSG_ISQL=@"%FB_ROOT_PATH%\gen\isql_embed" -q %FB_DB_PATH%\gen\dbs\msg.fdb -i %FB_ROOT_PATH%\src\msgs\
|
|
|
|
@%FB_MSG_ISQL%msg.sql
|
2007-05-04 03:23:34 +02:00
|
|
|
@%FB_MSG_ISQL%facilities2.sql
|
2006-04-14 20:16:10 +02:00
|
|
|
@echo.
|
|
|
|
@echo loading locales
|
2007-02-26 16:18:41 +01:00
|
|
|
@%FB_MSG_ISQL%locales.sql
|
2006-04-14 20:16:10 +02:00
|
|
|
@echo loading history
|
2007-03-28 06:20:36 +02:00
|
|
|
@%FB_MSG_ISQL%history2.sql
|
2006-04-14 20:16:10 +02:00
|
|
|
@echo loading messages
|
2007-03-28 06:20:36 +02:00
|
|
|
@%FB_MSG_ISQL%messages2.sql
|
2006-04-14 20:16:10 +02:00
|
|
|
@echo loading symbols
|
2007-03-28 06:20:36 +02:00
|
|
|
@%FB_MSG_ISQL%symbols2.sql
|
2006-04-14 20:16:10 +02:00
|
|
|
@echo loading system errors
|
2007-03-28 06:20:36 +02:00
|
|
|
@%FB_MSG_ISQL%system_errors2.sql
|
2006-04-14 20:16:10 +02:00
|
|
|
@echo loading French translation
|
2007-02-26 16:18:41 +01:00
|
|
|
@%FB_MSG_ISQL%transmsgs.fr_FR.sql
|
2006-04-14 20:16:10 +02:00
|
|
|
@echo loading German translation
|
2007-02-26 16:18:41 +01:00
|
|
|
@%FB_MSG_ISQL%transmsgs.de_DE.sql
|
2006-04-14 20:16:10 +02:00
|
|
|
|
|
|
|
@if "%1"=="db" goto END
|
|
|
|
|
|
|
|
:MSG
|
|
|
|
@echo Building message file and codes header...
|
2007-02-26 16:18:41 +01:00
|
|
|
@%FB_ROOT_PATH%\gen\build_msg -f %FB_DB_PATH%/gen/firebird.msg -D %FB_DB_PATH%/gen/dbs/msg.fdb
|
|
|
|
@%FB_ROOT_PATH%\gen\codes %FB_ROOT_PATH%\src\include\gen %FB_ROOT_PATH%\lang_helpers
|
2006-04-14 20:16:10 +02:00
|
|
|
|
|
|
|
:END
|