diff options
author | Gonzalo Odiard <godiard@sugarlabs.org> | 2010-10-22 12:04:49 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@sugarlabs.org> | 2010-10-22 12:04:49 (GMT) |
commit | 6631c276ff0965aaacea6bae1d35c0027383a976 (patch) | |
tree | effc682d3ca2d8b00f8367c465094559795ecdc5 | |
parent | b6c837134e51c1e799904fc86b40fe5302e9fd74 (diff) |
Fix OLPC #6874 - Web activity uses gettext on file name
It's innecesary to translate the name of a downloaded file.
-rw-r--r-- | downloadmanager.py | 4 |
1 files 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) |