[d-feet: 2/3] about: capitalize D-Feet app name
- From: Thomas Bechtold <toabctl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [d-feet: 2/3] about: capitalize D-Feet app name
- Date: Mon, 10 Dec 2018 12:04:37 +0000 (UTC)
commit 815a5ca33f124c6b7b0dc2894cb1088cd240c170
Author: Jeremy Bicha <jbicha ubuntu com>
Date: Wed Dec 5 13:31:32 2018 -0500
about: capitalize D-Feet app name
to match the .desktop file and the updated about menu item label
po/POTFILES.in | 1 +
src/dfeet/application.py | 5 ++++-
2 files changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 57ce784..cbe23f5 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -8,3 +8,4 @@ data/org.gnome.dfeet.gschema.xml
[type: gettext/glade]data/ui/executedialog.ui
[type: gettext/glade]data/ui/introspection.ui
[type: gettext/glade]data/ui/mainwindow.ui
+src/dfeet/application.py
diff --git a/src/dfeet/application.py b/src/dfeet/application.py
index c5666c5..920f67b 100644
--- a/src/dfeet/application.py
+++ b/src/dfeet/application.py
@@ -3,8 +3,11 @@
from __future__ import print_function
from gi.repository import Gtk, Gio, GObject, Gdk
from dfeet.window import DFeetWindow
+import gettext
import os
+_ = gettext.gettext
+
class DFeetApp(Gtk.Application):
@@ -54,7 +57,7 @@ class DFeetApp(Gtk.Application):
class DFeetAboutDialog(Gtk.AboutDialog):
def __init__(self, package, version, icon_name):
Gtk.AboutDialog.__init__(self)
- self.set_program_name(package)
+ self.set_program_name(_("D-Feet"))
self.set_version(version)
self.set_license_type(Gtk.License.GPL_2_0)
self.set_website("https://wiki.gnome.org/Apps/DFeet/")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]