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
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