blob: 87704d4c4d6e8871364a22f4e3ca3ba16f9bc7d8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
i18n_sources = []
foreach file : srcs + ui_defs + i18n_data
i18n_sources += '@0@'.format(file)
endforeach
potfiles = configure_file(
input: 'POTFILES.template',
output: '@BASENAME@',
configuration: configuration_data({
'SOURCES': '\n'.join(i18n_sources)
}),
)
run_target('@0@-potfiles'.format(application_name), command: files('scripts/potfiles.py'))
i18n.gettext(application_name, preset: 'glib', args: [
'--copyright-holder=JaduPc Ltd.',
'--msgid-bugs-address=bugs+translations@jadupc.com'
],)
|