Do not use the translated summary to get the value from gettext in the bundle builder

This patch is a rebased push from pull request #31

Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
This commit is contained in:
Gonzalo Odiard
2013-06-04 15:37:38 -03:00
committed by Daniel Narvaez
parent 1f5e39f3a8
commit 58bab9cf6a
2 changed files with 11 additions and 21 deletions
+3 -2
View File
@@ -82,9 +82,10 @@ class Config(object):
self.update()
def update(self):
self.bundle = bundle = ActivityBundle(self.source_dir)
self.bundle = bundle = ActivityBundle(self.source_dir,
translated=False)
self.version = bundle.get_activity_version()
self.activity_name = bundle.get_bundle_name()
self.activity_name = bundle.get_name()
self.bundle_id = bundle.get_bundle_id()
self.summary = bundle.get_summary()
self.bundle_name = reduce(operator.add, self.activity_name.split())