Skip to content

Commit

Permalink
Widgets: Localize project label on OpenGraph image
Browse files Browse the repository at this point in the history
Issue #4198
  • Loading branch information
nijel committed Jul 22, 2020
1 parent 8ed64cc commit 2f925d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion weblate/trans/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,8 @@ def get_column_fonts(self):
]

def get_title(self):
return "Project <b>{}</b>".format(escape(self.obj.name))
# Translators: Text on OpenGraph image
return _("Project %s") % "<b>{}</b>".format(escape(self.obj.name))

def render_additional(self, ctx):
ctx.move_to(280, 170)
Expand Down

0 comments on commit 2f925d7

Please sign in to comment.