Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/jarabe/desktop/viewtoolbar.py2
-rw-r--r--src/jarabe/journal/palettes.py6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/jarabe/desktop/viewtoolbar.py b/src/jarabe/desktop/viewtoolbar.py
index 803c51a..5cb0186 100644
--- a/src/jarabe/desktop/viewtoolbar.py
+++ b/src/jarabe/desktop/viewtoolbar.py
@@ -97,7 +97,7 @@ class ViewToolbar(Gtk.Toolbar):
self.search_entry.props.text = ''
def set_placeholder_text_for_view(self, view_name):
- text = _('Search in %s' % view_name)
+ text = _('Search in %s') % view_name
self.search_entry.set_placeholder_text(text)
def _add_separator(self, expand=False):
diff --git a/src/jarabe/journal/palettes.py b/src/jarabe/journal/palettes.py
index a1ffba7..ab088ac 100644
--- a/src/jarabe/journal/palettes.py
+++ b/src/jarabe/journal/palettes.py
@@ -888,11 +888,11 @@ class BaseCopyMenuItem(MenuItem, ActionItem):
if model.is_mount_point_for_school_server(get_mount_point()) == True:
# TRANS: Do not translate the %s.
successful_downloading_message = \
- _('Your file "%s" was correctly downloaded from the School Server.' % metadata['title'])
+ _('Your file "%s" was correctly downloaded from the School Server.') % metadata['title']
else:
# TRANS: Do not translate the %s.
successful_downloading_message = \
- _('Your file "%s" was correctly downloaded from the Peer.' % metadata['title'])
+ _('Your file "%s" was correctly downloaded from the Peer.') % metadata['title']
from jarabe.journal.journalactivity import get_journal
get_journal().update_error_alert(self._get_editing_alert_title(),
@@ -1066,7 +1066,7 @@ class SchoolServerMenu(BaseCopyMenuItem):
successful_uploading_message = \
_('Your file "%s" was correctly uploaded to the School Server.\n'
'The file will be available in the school server '
- 'for %d days.' % (metadata['title'], validity_of_uploaded_file_in_days))
+ 'for %d days.') % (metadata['title'], validity_of_uploaded_file_in_days)
get_journal().update_error_alert(self._get_editing_alert_title(),
successful_uploading_message,
self._post_successful_copy,