[kupfer] Mark one string for translation that I have forgotten



commit 21ba3c3d5cd1e4b946b9ce75b3c726a04f089087
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date:   Mon Mar 29 22:24:55 2010 +0200

    Mark one string for translation that I have forgotten
    
    (default file basename when creating archive with destination)

 kupfer/plugin/fileactions.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/kupfer/plugin/fileactions.py b/kupfer/plugin/fileactions.py
index 548fc57..e164bec 100644
--- a/kupfer/plugin/fileactions.py
+++ b/kupfer/plugin/fileactions.py
@@ -300,10 +300,10 @@ class CreateArchiveIn (Action):
 
 	def activate_multiple(self, objs, iobjs):
 		archive_type = __kupfer_settings__["archive_type"]
+		# TRANS: Default filename (no extension) for 'Create Archive In...'
+		basename = _("Archive")
 		for iobj in iobjs:
-			dirpath = iobj.object
-			basename = "archive"
-			self._make_archive("archive", dirpath, [L.object for L in objs])
+			self._make_archive(basename, iobj.object, [L.object for L in objs])
 
 	def item_types(self):
 		yield FileLeaf



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]