[jhbuild] Use extended syntax for translatable string
- From: Claude Paroz <claudep src gnome org>
- To: svn-commits-list gnome org
- Subject: [jhbuild] Use extended syntax for translatable string
- Date: Wed, 27 May 2009 16:17:46 -0400 (EDT)
commit 3123806eb43eac20edfd0215f4dd53b79fe1017c
Author: Claude Paroz <claude 2xlibre net>
Date: Wed May 27 22:14:32 2009 +0200
Use extended syntax for translatable string
---
jhbuild/modtypes/tarball.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/jhbuild/modtypes/tarball.py b/jhbuild/modtypes/tarball.py
index ca97b07..41d161c 100644
--- a/jhbuild/modtypes/tarball.py
+++ b/jhbuild/modtypes/tarball.py
@@ -60,8 +60,8 @@ def parse_tarball(node, config, uri, repositories, default_repo):
source_size = int(childnode.getAttribute('size'))
except ValueError:
logging.warning(
- _('module \'%s\' has invalid size attribute (\'%s\')') % (
- name, childnode.getAttribute('size')))
+ _('module \'%(module)s\' has invalid size attribute (\'%(size)s\')') % {
+ 'module': name, 'size': childnode.getAttribute('size')})
if childnode.hasAttribute('md5sum'):
source_md5 = childnode.getAttribute('md5sum')
elif childnode.nodeName == 'patches':
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]