diff options
author | Bastien Nocera <hadess@hadess.net> | 2022-02-03 16:31:12 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2022-02-03 17:12:54 +0100 |
commit | a5cd7d442cb9ba5d38091c849a51377fa6c1f243 (patch) | |
tree | 384eab4fc7587a0a24e32073312e70781c177d81 /data | |
parent | 2dd9166e2f2a3f33a5740c04f9d7ce6a03ba0709 (diff) | |
download | totem-a5cd7d442cb9ba5d38091c849a51377fa6c1f243.tar.gz |
main: Allow translation of development branch app name
Rather than using an icon, use a string that can be translated as the
app name.
"Preview" will the suffix for that app name until we agree on a common
name in https://gitlab.gnome.org/Teams/Design/os-mockups/-/issues/155
Diffstat (limited to 'data')
-rw-r--r-- | data/meson.build | 1 | ||||
-rw-r--r-- | data/org.gnome.Totem.desktop.in.in | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/data/meson.build b/data/meson.build index b5bad747c..3bd9ac254 100644 --- a/data/meson.build +++ b/data/meson.build @@ -62,6 +62,7 @@ r = run_command(desktop_sh, mime_type_list, uri_schemes_list, check: true) desktop_conf = configuration_data() desktop_conf.set('VERSION', totem_version) desktop_conf.set('APPLICATION_ID', application_id) +desktop_conf.set('APPLICATION_NAME', application_name) desktop_conf.set('MIME_TYPE', r.stdout().strip()) source_desktop = 'org.gnome.Totem.desktop' diff --git a/data/org.gnome.Totem.desktop.in.in b/data/org.gnome.Totem.desktop.in.in index 0e3b6bdc2..d7b2ab678 100644 --- a/data/org.gnome.Totem.desktop.in.in +++ b/data/org.gnome.Totem.desktop.in.in @@ -1,5 +1,5 @@ [Desktop Entry] -Name=Videos +Name=@APPLICATION_NAME@ Comment=Play movies # Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon! Do NOT translate or remove the application name from the list! It is used for search. Keywords=Video;Movie;Film;Clip;Series;Player;DVD;TV;Disc;Totem; |