mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
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
2 changed files with 6 additions and 2 deletions
|
|
@ -1,8 +1,12 @@
|
||||||
|
metainfoconf = configuration_data()
|
||||||
|
metainfoconf.set('app_id', app_id)
|
||||||
|
metainfoconf.set('package_name', package_name)
|
||||||
|
|
||||||
metainfo = i18n.merge_file(
|
metainfo = i18n.merge_file(
|
||||||
input: configure_file(
|
input: configure_file(
|
||||||
input: base_id + '.metainfo.xml.in',
|
input: base_id + '.metainfo.xml.in',
|
||||||
output: app_id + '.metainfo.xml.in',
|
output: app_id + '.metainfo.xml.in',
|
||||||
configuration: {'app_id': app_id},
|
configuration: metainfoconf,
|
||||||
),
|
),
|
||||||
output: '@BASENAME@',
|
output: '@BASENAME@',
|
||||||
po_dir: po_dir,
|
po_dir: po_dir,
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
<name>The GNOME Project</name>
|
<name>The GNOME Project</name>
|
||||||
</developer>
|
</developer>
|
||||||
|
|
||||||
<translation type="gettext">gnome-extensions-app</translation>
|
<translation type="gettext">@package_name@</translation>
|
||||||
<launchable type="desktop-id">@app_id@.desktop</launchable>
|
<launchable type="desktop-id">@app_id@.desktop</launchable>
|
||||||
|
|
||||||
<kudos>
|
<kudos>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue