mirror of
https://github.com/minetest-mods/intllib.git
synced 2024-11-16 23:40:30 +01:00
Fix and Add support for SS and SNS xgettext tools
This commit is contained in:
parent
8f92aed533
commit
ee8ea4b5ff
|
@ -17,8 +17,7 @@ set msgmerge=%gtprefix%msgmerge.exe
|
|||
|
||||
md locale > nul 2>&1
|
||||
echo Generating template... 1>&2
|
||||
echo %xgettext% --from-code=UTF-8 -kS -kNS:1,2 -k_ -o locale/template.pot %*
|
||||
%xgettext% --from-code=UTF-8 -kS -kNS:1,2 -k_ -o locale/template.pot %*
|
||||
echo %xgettext% --from-code=UTF-8 -kS -kSS:2 -kNS:1,2 -kSNS:2,3 -k_ -o locale/template.pot %*
|
||||
if %ERRORLEVEL% neq 0 goto done
|
||||
|
||||
cd locale
|
||||
|
|
|
@ -11,7 +11,9 @@ mkdir -p locale;
|
|||
echo "Generating template..." >&2;
|
||||
xgettext --from-code=UTF-8 \
|
||||
--keyword=S \
|
||||
--keyword=SS:2 \
|
||||
--keyword=NS:1,2 \
|
||||
--keyword=SNS:2,3 \
|
||||
--keyword=N_ \
|
||||
--add-comments='Translators:' \
|
||||
--add-location=file \
|
||||
|
|
Loading…
Reference in New Issue
Block a user