[X2Go-Commits] [pyhoca-gui] 01/02: Notification about multiply started PyHoca-GUI instances. Don't hard code the application name.

git-admin at x2go.org git-admin at x2go.org
Wed Apr 16 14:22:40 CEST 2014


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository pyhoca-gui.

commit 167bfe7939fa110fca0fc26b2228a305a3d259e8
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Wed Apr 16 14:20:06 2014 +0200

    Notification about multiply started PyHoca-GUI instances. Don't hard code the application name.
---
 debian/changelog         |    2 ++
 pyhoca/wxgui/messages.py |    2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index b1fc426..4f67811 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -54,6 +54,8 @@ pyhoca-gui (0.5.0.0-0x2go1) UNRELEASED; urgency=low
       bundled Python modules.
     - In session profile manager GUI: handle multiple clicks on the Apply button
       gracefully.
+    - Notification about multiply started PyHoca-GUI instances. Don't hard code the
+      application name.
     - Update English / German translation.
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Wed, 08 Jan 2014 21:28:37 +0100
diff --git a/pyhoca/wxgui/messages.py b/pyhoca/wxgui/messages.py
index 18d1568..757f0f2 100644
--- a/pyhoca/wxgui/messages.py
+++ b/pyhoca/wxgui/messages.py
@@ -68,7 +68,7 @@ class PyHoca_MessageWindow(wx.Dialog):
 
         self._pyhoca_messages = {
             'REALLY_DELETE_PROFILE': _(u'Are you really sure you want to\ndelete the session profile ,,%s\'\'?') % profile_name,
-            'ALREADY_RUNNING': _(u'PyHoca-GUI is already running for user ,,%s\'\'!\n\nOnly one instance of PyHoca-GUI can be started per\nuser. The PyHoca-GUI icon can be found in your desktops\'s\nnotification area/systray.') % _CURRENT_LOCAL_USER
+            'ALREADY_RUNNING': _(u'{appname} is already running for user ,,{username}\'\'!\n\nOnly one instance of {appname} can be started per\nuser. The {appname} icon can be found in your desktops\'s\nnotification area/systray.').format(appname=_PyHocaGUI.appname, username=CURRENT_LOCAL_USER)
         }
 
 

--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/pyhoca-gui.git



More information about the x2go-commits mailing list