mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-06-28 06:58:43 +02:00
update gettext manage to fit to new system see #3931
git-svn-id: https://forge.glpi-project.org/svn/example/trunk@202 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
@ -7,7 +7,11 @@ copyright='INDEPNET Development Team'
|
||||
|
||||
#xgettext *.php */*.php -copyright-holder='$copyright' --package-name=$soft --package-version=$version --msgid-bugs-address=$email -o locales/en_GB.po -L PHP --from-code=UTF-8 --force-po -i --keyword=_n:1,2 --keyword=__ --keyword=_e
|
||||
|
||||
xgettext *.php */*.php --exclude-file=../../locales/glpi.pot -o locales/glpi.pot -L PHP --add-comments=TRANS --from-code=UTF-8 --force-po --keyword=_n:1,2 --keyword=__s --keyword=__ --keyword=_e --keyword=_x:1c,2 --keyword=_ex:1c,2 --keyword=_sx:1c,2 --keyword=_nx:1c,2,3
|
||||
# Only strings with domain specified are extracted (use Xt args of keyword param to set number of args needed)
|
||||
|
||||
xgettext *.php */*.php -o locales/glpi.pot -L PHP --add-comments=TRANS --from-code=UTF-8 --force-po \
|
||||
--keyword=_n:1,2,3t --keyword=__s:1,2t --keyword=__:1,2t --keyword=_e:1,2t --keyword=_x:1c,2,3t --keyword=_ex:1c,2,3t \
|
||||
--keyword=_sx:1c,2,3t --keyword=_nx:1c,2,3,4t
|
||||
|
||||
|
||||
### for using tx :
|
||||
|
Reference in New Issue
Block a user