mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 12:39:29 +02:00
* Added po files, patch by Maxim Ganetsky
git-svn-id: trunk@12119 -
This commit is contained in:
parent
6a1e3e0eeb
commit
72594756cb
81
localize.bat
81
localize.bat
@ -12,7 +12,7 @@ REM - converts all compiled .rst files to .po files,
|
||||
REM - updates all translated xx.po files
|
||||
REM
|
||||
|
||||
set LazInstall=C:\lazarus\
|
||||
REM set LazInstall=C:\lazarus\
|
||||
set ArchOS=i386-win32
|
||||
|
||||
echo.
|
||||
@ -25,6 +25,8 @@ echo.
|
||||
cd tools
|
||||
make updatepofiles.exe
|
||||
cd..
|
||||
if not exist tools\updatepofiles.exe goto Exit_Error
|
||||
|
||||
:SkipTools
|
||||
|
||||
echo Updating language files ...
|
||||
@ -41,6 +43,16 @@ tools\updatepofiles languages\lazaruside.po
|
||||
rstconv -i %ObjInsp_RST% -o ideintf\languages\objinspstrconsts.po
|
||||
tools\updatepofiles ideintf\languages\objinspstrconsts.po
|
||||
|
||||
@REM FieldsEditor
|
||||
@set FieldsEditor_RST=ideintf\units\%ArchOS%\fieldseditor.rst
|
||||
rstconv -i %FieldsEditor_RST% -o ideintf\languages\fieldseditor.po
|
||||
tools\updatepofiles ideintf\languages\fieldseditor.po
|
||||
|
||||
@REM FieldsList
|
||||
@set FieldsList_RST=ideintf\units\%ArchOS%\fieldslist.rst
|
||||
rstconv -i %FieldsList_RST% -o ideintf\languages\fieldslist.po
|
||||
tools\updatepofiles ideintf\languages\fieldslist.po
|
||||
|
||||
@REM INSTALLER
|
||||
@set Installer_RST=tools\install\win\installerstrconsts.rst
|
||||
if not exist %Installer_RST% goto SkipInstaller
|
||||
@ -50,8 +62,8 @@ tools\updatepofiles languages\installerstrconsts.po
|
||||
|
||||
@REM CodeTools
|
||||
@set CodeTools_RST=components\codetools\units\%ArchOS%\CodeToolsStrConsts.rst
|
||||
rstconv -i %CodeTools_RST% -o components\codetools\languages\codetools.po
|
||||
tools\updatepofiles components\codetools\languages\codetools.po
|
||||
rstconv -i %CodeTools_RST% -o components\codetools\languages\codetoolsstrconsts.po
|
||||
tools\updatepofiles components\codetools\languages\codetoolsstrconsts.po
|
||||
|
||||
@REM SynEdit
|
||||
@set SynEdit_RST=components\synedit\units\%ArchOS%\SynEditStrConst.rst
|
||||
@ -63,8 +75,67 @@ tools\updatepofiles components\synedit\languages\synedit.po
|
||||
rstconv -i %SynMacroRec_RST% -o components\synedit\languages\synmacrorecorder.po
|
||||
tools\updatepofiles components\synedit\languages\synmacrorecorder.po
|
||||
|
||||
@REM SynUniHighLighterShellScript
|
||||
@set SynUniHighLighterShellScript_RST=components\synedit\units\%ArchOS%\synhighlighterunixshellscript.rst
|
||||
rstconv -i %SynUniHighLighterShellScript_RST% -o components\synedit\languages\synhighlighterunixshellscript.po
|
||||
tools\updatepofiles components\synedit\languages\synhighlighterunixshellscript.po
|
||||
|
||||
@REM LCL
|
||||
@set LCL_RST=lcl\units\%ArchOS%\lclstrconsts.rst
|
||||
rstconv -i %LCL_RST% -o lcl\languages\lcl.po
|
||||
tools\updatepofiles lcl\languages\lcl.po
|
||||
rstconv -i %LCL_RST% -o lcl\languages\lclstrconsts.po
|
||||
tools\updatepofiles lcl\languages\lclstrconsts.po
|
||||
|
||||
@REM CGI
|
||||
@set CGI_RST=components\cgi\lib\%ArchOS%\cgimodules.rst
|
||||
rstconv -i %CGI_RST% -o components\cgi\languages\cgimodules.po
|
||||
tools\updatepofiles components\cgi\languages\cgimodules.po
|
||||
|
||||
@REM LazReport
|
||||
@set LazReport_RST=components\lazreport\source\lib\%ArchOS%\lr_const.rst
|
||||
rstconv -i %LazReport_RST% -o components\lazreport\languages\lr_const.po
|
||||
tools\updatepofiles components\lazreport\languages\lr_const.po
|
||||
|
||||
@REM MemDS
|
||||
@set MemDS_RST=components\memds\lib\%ArchOS%\frmselectdataset.rst
|
||||
rstconv -i %MemDS_RST% -o components\memds\languages\frmselectdataset.po
|
||||
tools\updatepofiles components\memds\languages\frmselectdataset.po
|
||||
|
||||
@REM Printers
|
||||
@set Printers_RST=components\printers\design\lib\%ArchOS%\ideprinting.rst
|
||||
rstconv -i %Printers_RST% -o components\printers\design\languages\ideprinting.po
|
||||
tools\updatepofiles components\printers\design\languages\ideprinting.po
|
||||
|
||||
@REM ProjectTemplates
|
||||
@set ProjectTemplates_RST=components\projecttemplates\lib\%ArchOS%\frmtemplatevariables.rst
|
||||
rstconv -i %ProjectTemplates_RST% -o components\projecttemplates\languages\frmtemplatevariables.po
|
||||
tools\updatepofiles components\projecttemplates\languages\frmtemplatevariables.po
|
||||
|
||||
@set ProjectTemplates_RST=components\projecttemplates\lib\%ArchOS%\idetemplateproject.rst
|
||||
rstconv -i %ProjectTemplates_RST% -o components\projecttemplates\languages\idetemplateproject.po
|
||||
tools\updatepofiles components\projecttemplates\languages\idetemplateproject.po
|
||||
|
||||
@set ProjectTemplates_RST=components\projecttemplates\lib\%ArchOS%\projecttemplates.rst
|
||||
rstconv -i %ProjectTemplates_RST% -o components\projecttemplates\languages\projecttemplates.po
|
||||
tools\updatepofiles components\projecttemplates\languages\projecttemplates.po
|
||||
|
||||
@REM TDBF
|
||||
@set TDBF_RST=components\tdbf\lib\%ArchOS%\registerdbf.rst
|
||||
rstconv -i %TDBF_RST% -o components\tdbf\languages\registerdbf.po
|
||||
tools\updatepofiles components\tdbf\languages\registerdbf.po
|
||||
|
||||
@REM TP_IPro
|
||||
@set TP_IPro_RST=components\turbopower_ipro\units\%ArchOS%\ipconst.rst
|
||||
rstconv -i %TP_IPro_RST% -o components\turbopower_ipro\languages\ipconst.po
|
||||
tools\updatepofiles components\turbopower_ipro\languages\ipconst.po
|
||||
|
||||
@set TP_IPro_RST=components\turbopower_ipro\units\%ArchOS%\iputils.rst
|
||||
rstconv -i %TP_IPro_RST% -o components\turbopower_ipro\languages\iputils.po
|
||||
tools\updatepofiles components\turbopower_ipro\languages\iputils.po
|
||||
|
||||
@goto Exit
|
||||
|
||||
:Exit_Error
|
||||
echo Unable to compile updatepofiles tool
|
||||
|
||||
:Exit
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user