Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Renamed 'Sentiment, Happy, and Sad' to 'Kind, Praise, and Issues' in …
Browse files Browse the repository at this point in the history
…various dashboard forms
  • Loading branch information
Chris Howse committed Jul 27, 2010
1 parent e3ff8d8 commit 375c20d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions apps/feedback/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ def smiley(style):
return ''
if style == 'happy': # positive smiley
character = '☺'
title = _('happy face')
title = _('Praise')
else: # negative smiley
character = '☹'
title = _('sad face')
title = _('Issue')
return jinja2.Markup(
u'<span title="%s" class="smiley %s">%s</span>' % (
title, style, character))
6 changes: 3 additions & 3 deletions apps/search/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@

SENTIMENT_CHOICES = [
('', _lazy('-- all --', 'sentiment_choice')),
('happy', _lazy('happy')),
('sad', _lazy('sad')),
('happy', _lazy('Praise')),
('sad', _lazy('Issues')),
]
SENTIMENTS = ('happy', 'sad')

Expand All @@ -55,7 +55,7 @@ class ReporterSearchForm(forms.Form):
initial=FIREFOX.short)
version = forms.ChoiceField(required=False, label=_lazy('Version:'),
choices=VERSION_CHOICES[FIREFOX])
sentiment = forms.ChoiceField(required=False, label=_lazy('Sentiment:'),
sentiment = forms.ChoiceField(required=False, label=_lazy('Kind:'),
choices=SENTIMENT_CHOICES)
locale = forms.ChoiceField(required=False, label=_lazy('Locale:'),
choices=LOCALE_CHOICES)
Expand Down

0 comments on commit 375c20d

Please sign in to comment.