| 1 |
@echo off |
| 2 |
REM This script was derived from PythonQwt project |
| 3 |
REM ====================================================== |
| 4 |
REM Run gettext translation tool |
| 5 |
REM ====================================================== |
| 6 |
REM Licensed under the terms of the MIT License |
| 7 |
REM Copyright (c) 2020 Pierre Raybaut |
| 8 |
REM (see PythonQwt LICENSE file for more details) |
| 9 |
REM ====================================================== |
| 10 |
setlocal |
| 11 |
call %~dp0utils GetScriptPath SCRIPTPATH |
| 12 |
call %FUNC% SetPythonPath |
| 13 |
call %FUNC% UsePython |
| 14 |
call %FUNC% GetModName MODNAME |
| 15 |
python -c "from guidata.utils.gettext_helpers import do_%1; do_%1('%MODNAME%')" |
| 16 |
call %FUNC% EndOfScript |