Terminal emulator with all the bells and whistles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

25 lines
751 B

if get_option('nls')
i18n = import('i18n')
# define GETTEXT_PACKAGE
add_project_arguments('-DGETTEXT_PACKAGE="terminology"', language:'c')
i18n.gettext(meson.project_name(),
args: [
'--directory=' + meson.source_root(),
'--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_data.set('ENABLE_NLS', '1')
endif
# maintainer shortcut for updating po stuff
run_target ('po',
command: ['ninja', '-C', meson.build_root(),
meson.project_name() + '-pot',
meson.project_name() + '-update-po']
)