You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
754 B
29 lines
754 B
i18n = import('i18n') |
|
|
|
i18n.gettext( |
|
meson.project_name(), |
|
args: [ |
|
'--default-domain=' + meson.project_name(), |
|
'--from-code=UTF-8', |
|
'--add-comments', |
|
|
|
'--keyword=_', |
|
'--keyword=N_', |
|
'--keyword=C_:1c,2', |
|
'--keyword=NC_:1c,2', |
|
'--keyword=g_dcgettext:2', |
|
'--keyword=g_dngettext:2,3', |
|
'--keyword=g_dpgettext2:2c,3', |
|
|
|
'--flag=N_:1:pass-c-format', |
|
'--flag=C_:2:pass-c-format', |
|
'--flag=NC_:2:pass-c-format', |
|
'--flag=g_dngettext:2:pass-c-format', |
|
'--flag=g_strdup_printf:1:c-format', |
|
'--flag=g_string_printf:2:c-format', |
|
'--flag=g_string_append_printf:2:c-format', |
|
'--flag=g_error_new:3:c-format', |
|
'--flag=g_set_error:4:c-format', |
|
]) |
|
|
|
|
|
|