extensions-app: Substitute gettext package in metainfo
The gettext domain name can be configured in meson options, but defaults to 'gnome-shell' if it's built as a submodule. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3368>
This commit is contained in:
parent
7f0b1e98cf
commit
1c6d76907c
@ -1,8 +1,12 @@
|
||||
metainfoconf = configuration_data()
|
||||
metainfoconf.set('app_id', app_id)
|
||||
metainfoconf.set('package_name', package_name)
|
||||
|
||||
metainfo = i18n.merge_file(
|
||||
input: configure_file(
|
||||
input: base_id + '.metainfo.xml.in',
|
||||
output: app_id + '.metainfo.xml.in',
|
||||
configuration: {'app_id': app_id},
|
||||
configuration: metainfoconf,
|
||||
),
|
||||
output: '@BASENAME@',
|
||||
po_dir: po_dir,
|
||||
|
@ -21,7 +21,7 @@
|
||||
<name>The GNOME Project</name>
|
||||
</developer>
|
||||
|
||||
<translation type="gettext">gnome-extensions-app</translation>
|
||||
<translation type="gettext">@package_name@</translation>
|
||||
<launchable type="desktop-id">@app_id@.desktop</launchable>
|
||||
|
||||
<kudos>
|
||||
|
Loading…
x
Reference in New Issue
Block a user