data: Strip .desktop suffix from folder directory

Desktop directories use .directory as suffix, not .directory.desktop.

The suffix is still needed for the source file, so xgettext and
damned lies can correctly infer the type, but strip it from the
output file.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3541>
This commit is contained in:
Florian Müllner
2024-11-08 13:57:58 +01:00
committed by Marge Bot
parent 685a7948a5
commit 730fcf34e9

View File

@ -34,7 +34,7 @@ endforeach
i18n.merge_file(
input: 'X-GNOME-Shell-Utilities.directory.desktop.in',
output: '@BASENAME@',
output: '@BASENAME@'.replace('.desktop', ''),
po_dir: po_dir,
install: true,
install_dir: join_paths(datadir, 'desktop-directories'),