mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
Use glib preset for i18n
https://bugzilla.gnome.org/show_bug.cgi?id=783749
This commit is contained in:
@ -1,7 +1,7 @@
|
|||||||
project('sysprof', ['c', 'cpp'],
|
project('sysprof', ['c', 'cpp'],
|
||||||
license: ['GPL3+', 'GPL2+'],
|
license: ['GPL3+', 'GPL2+'],
|
||||||
version: '3.22.3',
|
version: '3.22.3',
|
||||||
meson_version: '>=0.36.0',
|
meson_version: '>=0.37.0',
|
||||||
default_options: [
|
default_options: [
|
||||||
'c_std=gnu11',
|
'c_std=gnu11',
|
||||||
'cpp_std=c++03',
|
'cpp_std=c++03',
|
||||||
|
|||||||
@ -1,24 +1,8 @@
|
|||||||
i18n = import('i18n')
|
i18n = import('i18n')
|
||||||
|
|
||||||
i18n.gettext('sysprof',
|
i18n.gettext('sysprof',
|
||||||
languages: [
|
preset: 'glib',
|
||||||
'cs',
|
|
||||||
'de',
|
|
||||||
'es',
|
|
||||||
'fi',
|
|
||||||
'hu',
|
|
||||||
'pl',
|
|
||||||
'pt',
|
|
||||||
'pt_BR',
|
|
||||||
'sl',
|
|
||||||
'sk',
|
|
||||||
'sr',
|
|
||||||
'sv'
|
|
||||||
],
|
|
||||||
args: [
|
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',
|
'--msgid-bugs-address=https://bugzilla.gnome.org/enter_bug.cgi?product=sysprof&keywords=I18N+L10N&component=general',
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user