mirror of
https://github.com/wizbright/waybox.git
synced 2025-10-29 05:40:20 -04:00
Added building the .pot and .gmo files
This commit is contained in:
parent
30a54d8b01
commit
d8bb6cc1c2
2 changed files with 9 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
project(
|
project(
|
||||||
'waybox',
|
'Waybox',
|
||||||
'c',
|
'c',
|
||||||
version: '0.0.1',
|
version: '0.0.1',
|
||||||
license: 'MIT',
|
license: 'MIT',
|
||||||
|
|
@ -28,5 +28,6 @@ wayland_server = dependency('wayland-server')
|
||||||
wayland_protos = dependency('wayland-protocols', version: '>=1.17')
|
wayland_protos = dependency('wayland-protocols', version: '>=1.17')
|
||||||
xkbcommon = dependency('xkbcommon')
|
xkbcommon = dependency('xkbcommon')
|
||||||
|
|
||||||
|
subdir('po')
|
||||||
subdir('protocol')
|
subdir('protocol')
|
||||||
subdir('waybox')
|
subdir('waybox')
|
||||||
|
|
|
||||||
7
po/meson.build
Normal file
7
po/meson.build
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
i18n = import('i18n')
|
||||||
|
add_project_arguments('-DGETTEXT_PACKAGE="' + meson.project_name().to_lower() + '"',
|
||||||
|
'-DLOCALEDIR="' + get_option('prefix') + '/' + get_option('localedir') + '"',
|
||||||
|
language:'c')
|
||||||
|
i18n.gettext(meson.project_name().to_lower(),
|
||||||
|
args: '--directory=' + meson.source_root()
|
||||||
|
)
|
||||||
Loading…
Add table
Add a link
Reference in a new issue