clapper-app: Add do not translate desktop app name comment

This commit is contained in:
Rafał Dzięgiel
2025-01-07 19:03:10 +01:00
parent 496cc60272
commit fed0c0a972
2 changed files with 7 additions and 6 deletions

View File

@@ -1,4 +1,5 @@
[Desktop Entry]
# Translators: Do NOT translate app name!
Name=Clapper
GenericName=Multimedia Player
Comment=Play videos and music

View File

@@ -34,12 +34,12 @@ is_windows = ['windows'].contains(host_machine.system())
if is_linux
desktop_file = i18n.merge_file(
input: 'applications/com.github.rafostar.Clapper.desktop.in',
output: 'com.github.rafostar.Clapper.desktop',
type: 'desktop',
po_dir: '../po',
install: true,
install_dir: join_paths(prefix, datadir, 'applications')
input: 'applications/com.github.rafostar.Clapper.desktop.in',
output: 'com.github.rafostar.Clapper.desktop',
type: 'desktop',
po_dir: '../po',
install: true,
install_dir: join_paths(prefix, datadir, 'applications'),
)
desktop_utils = find_program('desktop-file-validate', required: false)
if desktop_utils.found()