Use glib preset for i18n

https://bugzilla.gnome.org/show_bug.cgi?id=783749
This commit is contained in:
Piotr Drąg
2017-06-13 16:04:10 +02:00
parent d9d48acecd
commit 7fc1998eb8
2 changed files with 2 additions and 18 deletions

View File

@ -1,7 +1,7 @@
project('sysprof', ['c', 'cpp'],
license: ['GPL3+', 'GPL2+'],
version: '3.22.3',
meson_version: '>=0.36.0',
meson_version: '>=0.37.0',
default_options: [
'c_std=gnu11',
'cpp_std=c++03',

View File

@ -1,24 +1,8 @@
i18n = import('i18n')
i18n.gettext('sysprof',
languages: [
'cs',
'de',
'es',
'fi',
'hu',
'pl',
'pt',
'pt_BR',
'sl',
'sk',
'sr',
'sv'
],
preset: 'glib',
args: [
'--from-code=UTF-8',
'--keyword=g_dngettext:2,3',
'--add-comments',
'--msgid-bugs-address=https://bugzilla.gnome.org/enter_bug.cgi?product=sysprof&keywords=I18N+L10N&component=general',
],
)