mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2026-02-24 18:58:25 +01:00
Translations: don't regenerate LazReport editor sample translations from localize scripts anymore, they are handled by IDE just fine.
git-svn-id: trunk@52538 -
This commit is contained in:
parent
2c10ed8937
commit
b3f20e3b16
12
localize.bat
12
localize.bat
@ -83,18 +83,6 @@ echo on
|
||||
:SkipLazDoc
|
||||
@echo.
|
||||
|
||||
@echo Updating LazReport editor sample
|
||||
@set LREditor_RSJ=components\lazreport\samples\editor\maincalleditor.rsj
|
||||
@if exist %LREditor_RSJ% goto LREditor_update
|
||||
@echo RSJ file NOT found. Searching for RST.
|
||||
@set LREditor_RSJ=components\lazreport\samples\editor\maincalleditor.rst
|
||||
@if not exist %LREditor_RSJ% goto SkipLREditor
|
||||
:LREditor_update
|
||||
@tools\updatepofiles %LREditor_RSJ% components\lazreport\samples\editor\languages\calleditorwithpkg.po
|
||||
@echo Translation file %LREditor_RSJ% found.
|
||||
:SkipLREditor
|
||||
@echo.
|
||||
|
||||
@goto Exit
|
||||
|
||||
:Exit_Error
|
||||
|
||||
@ -36,7 +36,6 @@ fi
|
||||
RSTFILES=(
|
||||
". lazarusidestrconsts lazaruside"
|
||||
". debuggerstrconst"
|
||||
"components/lazreport/samples/editor maincalleditor calleditorwithpkg"
|
||||
"doceditor lazdemsg lazde"
|
||||
"tools/lazdatadesktop lazdatadeskstr lazdatadesktop"
|
||||
)
|
||||
@ -45,8 +44,8 @@ set -x
|
||||
|
||||
for idx in ${!RSTFILES[@]}; do
|
||||
LINE=(${RSTFILES[idx]})
|
||||
RSTDIR=${LINE[0]}
|
||||
RSTFILE=${LINE[1]}
|
||||
RSTDIR=${LINE[0]}
|
||||
RSTFILE=${LINE[1]}
|
||||
POFILE=${LINE[2]:-$RSTFILE}
|
||||
|
||||
RST=$(find $RSTDIR -name $RSTFILE.$RSEXT)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user