Permalink
Browse files

Fixed some i18n syntaxis errors

  • Loading branch information...
macagua committed Feb 14, 2012
1 parent 9e495aa commit 8249b5c288c3eba2e845684ba818f61e71a95a12
@@ -18,7 +18,7 @@ class Meta:
ordering = ['-verbose_name']
def __unicode__(self):
- return _(u"Version")'+' %s '+'_(u"of")'+' %s '+'(%s) % (self.verbose_name, self.project, self.pk)
+ return _(u"Version") + " %s " + _(u"of") + " %s " + "(%s)" % (self.verbose_name, self.project, self.pk)
def get_absolute_url(self):
if not self.built and not self.uploaded:
@@ -57,7 +57,7 @@ class Meta:
get_latest_by = 'date'
def __unicode__(self):
- return _(u"Build")'+' %s '+'_(u"for")'+' %s '+'(%s) % (self.project,
+ return _(u"Build") + " %s " + _(u"for") + " %s " + "(%s)" % (self.project,
' '.join(self.project.users.all().values_list('username', flat=True)),
self.pk)
@@ -43,7 +43,7 @@ def handle(self, *args, **options):
if len(args):
for slug in args:
if version and version != "all":
- print _("Updating version")' %s '_("for") %s) % (version, slug)
+ print _("Updating version") + " %s " + _("for") + " %s)" % (version, slug)
for version in Version.objects.filter(project__slug=slug,
slug=version):
tasks.update_docs(version.project_id,
Oops, something went wrong.

0 comments on commit 8249b5c

Please sign in to comment.