Give to gettext correct options to make it able to run.

This commit is contained in:
maxerba 2017-12-09 20:08:43 +01:00
parent 8f5299be08
commit 33236a4dcb
1 changed files with 11 additions and 1 deletions

View File

@ -1,5 +1,15 @@
if get_option('nls')
i18n = import('i18n')
i18n.gettext('enlightenment')
i18n.gettext('enlightenment',
args: [
'--keyword=_',
'--keyword=d_:1',
'--keyword=P_:1,2',
'--keyword=dP_:1,2',
'--keyword=N_',
'--keyword=NP_:1,2',
'--from-code=UTF-8',
'--foreign-user'
])
config_h.set('HAVE_GETTEXT', '1')
endif