[Pkg-sugar-commit] [sugar-browse-activity] 12/18: Fix OLPC #6874 - Web activity uses gettext on file name
Jonas Smedegaard
dr at jones.dk
Mon Apr 20 09:47:14 UTC 2015
This is an automated email from the git hooks/post-receive script.
js pushed a commit to tag 108.1
in repository sugar-browse-activity.
commit 6631c276ff0965aaacea6bae1d35c0027383a976
Author: Gonzalo Odiard <godiard at sugarlabs.org>
Date: Fri Oct 22 09:04:49 2010 -0300
Fix OLPC #6874 - Web activity uses gettext on file name
It's innecesary to translate the name of a downloaded file.
---
downloadmanager.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/downloadmanager.py b/downloadmanager.py
index ac09f6f..82afa0f 100644
--- a/downloadmanager.py
+++ b/downloadmanager.py
@@ -152,7 +152,7 @@ class Download:
alert = TimeoutAlert(9)
alert.props.title = _('Download started')
- alert.props.msg = _('%s' % self._get_file_name())
+ alert.props.msg = self._get_file_name()
self._activity.add_alert(alert)
alert.connect('response', self.__start_response_cb)
alert.show()
@@ -165,7 +165,7 @@ class Download:
self._stop_alert = Alert()
self._stop_alert.props.title = _('Download completed')
- self._stop_alert.props.msg = _('%s' % self._get_file_name())
+ self._stop_alert.props.msg = self._get_file_name()
open_icon = Icon(icon_name='zoom-activity')
self._stop_alert.add_button(gtk.RESPONSE_APPLY,
_('Show in Journal'), open_icon)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-sugar/sugar-browse-activity.git
More information about the pkg-sugar-commit
mailing list