main: translate application name

As per glib docs: `set_application_name`: Sets a human-readable name for the application. This name should be localized if possible, and is intended for display to the user.
parent 2f78574f
data/org.gnome.Tour.desktop.in.in
data/org.gnome.Tour.metainfo.xml.in.in
src/main.rs
src/widgets/pages/welcome.rs
src/widgets/paginator.rs
src/widgets/window.rs
......@@ -16,7 +16,7 @@ fn main() {
bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR);
textdomain(GETTEXT_PACKAGE);
glib::set_application_name("Tour");
glib::set_application_name(&gettext("Tour"));
glib::set_prgname(Some("Tour"));
gtk::init().expect("Unable to start GTK3");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment