i18n: externalize strings from 'app/views/award_emoji'

This commit is contained in:
Tao Wang 2018-06-13 11:25:19 +00:00 committed by Rémy Coutable
parent 7fc47faeb6
commit ce1b4dee52
2 changed files with 7 additions and 4 deletions

View file

@ -12,9 +12,9 @@
- if can?(current_user, :award_emoji, awardable)
.award-menu-holder.js-award-holder
%button.btn.award-control.has-tooltip.js-add-award{ type: 'button',
'aria-label': 'Add reaction',
'aria-label': _('Add reaction'),
class: ("js-user-authored" if user_authored),
data: { title: 'Add reaction', placement: "bottom" } }
data: { title: _('Add reaction'), placement: "bottom" } }
%span{ class: "award-control-icon award-control-icon-neutral" }= custom_icon('emoji_slightly_smiling_face')
%span{ class: "award-control-icon award-control-icon-positive" }= custom_icon('emoji_smiley')
%span{ class: "award-control-icon award-control-icon-super-positive" }= custom_icon('emoji_smile')

View file

@ -8,8 +8,8 @@ msgid ""
msgstr ""
"Project-Id-Version: gitlab 1.0.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-06-11 09:18+0200\n"
"PO-Revision-Date: 2018-06-11 09:18+0200\n"
"POT-Creation-Date: 2018-06-12 18:57+1000\n"
"PO-Revision-Date: 2018-06-12 18:57+1000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
@ -262,6 +262,9 @@ msgstr ""
msgid "Add new directory"
msgstr ""
msgid "Add reaction"
msgstr ""
msgid "Add todo"
msgstr ""