Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/GetIABooksActivity.py
diff options
context:
space:
mode:
authorSayamindu Dasgupta <sayamindu@gmail.com>2009-10-15 13:23:19 (GMT)
committer Sayamindu Dasgupta <sayamindu@gmail.com>2009-10-15 13:23:19 (GMT)
commitd81266b3801c4d0d209ef6d30730bb598d559cdd (patch)
treed543c852dc86290d207cbaf958415c780be2a5f5 /GetIABooksActivity.py
parentc79a51d714cdcb3c230f6743bcf6904b4d9d8df7 (diff)
i18n fixes
Diffstat (limited to 'GetIABooksActivity.py')
-rwxr-xr-xGetIABooksActivity.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/GetIABooksActivity.py b/GetIABooksActivity.py
index 4a90846..0aeb2a1 100755
--- a/GetIABooksActivity.py
+++ b/GetIABooksActivity.py
@@ -321,8 +321,9 @@ class GetIABooksActivity(activity.Activity):
self._books_toolbar.enable_button(True)
self.progressbar.hide()
_logger.debug("Error getting document: %s", err)
- self._alert(_('Error'), _('Could not download ') + self.selected_title + _(' path in catalog is incorrect. ' \
- + ' If you tried to download B/W PDF try another format.'))
+ self._alert(_('Error: Could not download %s . The path in the catalog seems to be incorrect') % self.selected_title)
+ #self._alert(_('Error'), _('Could not download ') + self.selected_title + _(' path in catalog is incorrect. ' \
+ # + ' If you tried to download B/W PDF try another format.'))
self._download_content_length = 0
self._download_content_type = None
@@ -348,7 +349,8 @@ class GetIABooksActivity(activity.Activity):
datastore.write(journal_entry)
os.remove(tempfile)
self.progressbar.hide()
- self._alert(_('Success'), self.selected_title + _(' added to Journal.'))
+ self._alert(_('Success: %s was added to Journal.') %s self.selected_title)
+ #self._alert(_('Success'), self.selected_title + _(' added to Journal.'))
def truncate(self, str, length):
if len(str) > length: