[gnome-clocks/wip/christopherdavis/translatable-devel-name] Make "Clocks" in about dialog translatable again
- From: Christopher Davis <christopherdavis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-clocks/wip/christopherdavis/translatable-devel-name] Make "Clocks" in about dialog translatable again
- Date: Fri, 28 Dec 2018 10:00:07 +0000 (UTC)
commit 323bf78f448e34dda8a09d99e8eb4912ca4d9e8e
Author: Christopher Davis <brainblasted disroot org>
Date: Fri Dec 28 04:55:41 2018 -0500
Make "Clocks" in about dialog translatable again
As pointed out by @piotrdrag on
https://gitlab.gnome.org/GNOME/gnome-clocks/merge_requests/16#note_393751,
the app name was made untranslatable by my changes. This change puts it
how the tutorial for flatpak dual install shows: translating the app
name, then adding the prefix.
src/window.vala | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/window.vala b/src/window.vala
index 84f17a4..ae20aeb 100644
--- a/src/window.vala
+++ b/src/window.vala
@@ -260,9 +260,9 @@ public class Window : Gtk.ApplicationWindow {
null
};
- var program_name = Config.NAME_PREFIX + "Clocks";
+ var program_name = Config.NAME_PREFIX + _("Clocks");
Gtk.show_about_dialog (this,
- "program-name", _(program_name),
+ "program-name", program_name,
"logo-icon-name", Config.APP_ID,
"version", Config.VERSION,
"comments", _("Utilities to help you with the time."),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]