Skip to content

Commit

Permalink
- remove i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
claytonc.sousa@gmail.com authored and claytonc.sousa@gmail.com committed Sep 22, 2017
1 parent 49ca587 commit 2913fce
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions sc/social/like/vocabularies.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,5 @@ def image_scales_vocabulary(object):
terms = []
for scale, (width, height) in getAllowedSizes().iteritems():
if width >= OG_LEAD_IMAGE_MIN_WIDTH and height >= OG_LEAD_IMAGE_MIN_HEIGHT:
translated = _(
'imagescale_{0:s}'.format(scale),
default='{0:s} ${{width}}x${{height}}'.format(scale),
mapping={'width': str(width), 'height': str(height)})
terms.append(SimpleTerm(scale, scale, translated))

terms.append(SimpleTerm(scale, scale))
return SimpleVocabulary(terms)

0 comments on commit 2913fce

Please sign in to comment.