Adding named variables to format strings for errors in 'make distcheck' to work.
svn: r14469
This commit is contained in:
parent
edd6fc6ee7
commit
3ed392bab0
@ -452,8 +452,8 @@ class PathChange(BatchOp):
|
|||||||
to_text = unicode(self.to_entry.get_text())
|
to_text = unicode(self.to_entry.get_text())
|
||||||
text = _(
|
text = _(
|
||||||
'The following action is to be performed:\n\n'
|
'The following action is to be performed:\n\n'
|
||||||
'Operation:\t%s\nReplace:\t\t%s\nWith:\t\t%s'
|
'Operation:\t%(title)s\nReplace:\t\t%(src_fname)s\nWith:\t\t%(dest_fname)s')) % {
|
||||||
) % (self.title.replace('_',''), from_text, to_text)
|
'title' : self.title.replace('_',''), 'src_fname' : from_text, 'dest_fname' : to_text }
|
||||||
return text
|
return text
|
||||||
|
|
||||||
def _prepare(self):
|
def _prepare(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user