RetroShare/build_scripts/Windows/lang/ts/convert_from_ts.bat
thunder2 1e3fb3e960 - Reworked Windows Installer
- cleaned code and files
  - changed location of the source files to release build
  - added header logo
  - added standard/portable install
  - added convert of NSIS language files to/from Qt ts files for translation on Transifex
  - waiting for more translations on Transifex
- Fixed format of the french license file
- Updated english translation


git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.5@7094 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-02-06 00:02:42 +00:00

27 lines
414 B
Batchfile

@echo off
:: Very simple conversion from *.ts to *.nsh using xslt
pushd "%~dp0"
if "%1"=="" (
for %%F in (*.ts) do if "%%F" NEQ "en.ts" call :convert %%~nF
goto :exit
)
call :convert %1
:exit
popd
goto :EOF
:convert
if not exist "%~1.ts" (
echo File "%~1.ts" not found.
goto :EOF
)
echo %~1
"%~dp0xsltproc.exe" --output "%~dp0..\%~1.nsh" "%~dp0convert_from_ts.xsl" "%~1.ts"