Commit Graph

5 Commits

Author SHA1 Message Date
Michael Weghorn
4676c57486 Make app-id and desktop file name match
The application uses an application-id of
"org.virt-manager.virt-viewer" (see function
remote_viewer_new in src/remote-viewer.c).

So far, there was a mismatch between this
application-id and the desktop file name,
resulting e.g. in no proper window icon being
used when running the app on KDE Plasma Wayland.

Adjust the name of the desktop and appdata
files to match the application-id as expected.

Also update the translatable strings using this
command:

    ninja -C _build virt-viewer-pot

Fixes: https://gitlab.com/virt-viewer/virt-viewer/-/issues/135
Signed-off-by: Michael Weghorn <m.weghorn@posteo.de>
2024-02-13 15:48:54 +01:00
Pino Toscano
4868bfe072 po: add all C sources to POTFILES
This way there is less risk that a message is not extracted for
translation.

Signed-off-by: Pino Toscano <ptoscano@redhat.com>
2023-09-26 11:36:22 +02:00
Daniel P. Berrangé
e734a52cec po: add missing UI files to POTFILES
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2021-04-14 16:57:17 +01:00
Daniel P. Berrangé
82c14f3dea po: sort the POTFILES contents alphabetically
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2021-04-14 16:55:55 +01:00
Daniel P. Berrangé
8089cddfcb po: provide custom make rules for po file management
Historically we have relied on intltool to install a standard
po/Makefile.in.in which has very limited scope for customization.
intltool is deprecated in favour of standard gettextize tools,
but these share the same disadvantages.

Writing make rules for po file management is no more difficult
than any other rules virt-viewer has, so stop using intltool
and don't use gettextize ether.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2019-03-12 11:49:38 +00:00