Files
wireplumber/po/meson.build
Pauli Virtanen bbe9ac00f3 modules: add m-i18n
Add simple gettext i18n module.

Add Lua script API functions I18n.gettext, I18n.ngettext.
2022-04-11 19:20:43 +03:00

13 lines
400 B
Meson

i18n = import('i18n')
i18n.gettext(
meson.project_name(),
preset: 'glib',
# Page width is set to 90 characters in order to avoid bad wrapping of the
# bug reporting address.
args: ['--msgid-bugs-address=https://gitlab.freedesktop.org/pipewire/wireplumber/issues/new',
'--width=90', '--keyword=I18n.gettext:1', '--keyword=I18n.ngettext:1,2']
)
po_dir = meson.current_source_dir()