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:

committed by
Marge Bot

parent
685a7948a5
commit
730fcf34e9
@ -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'),
|
||||
|
Reference in New Issue
Block a user