Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
ce1b4dee
Commit
ce1b4dee
authored
Jun 13, 2018
by
Tao Wang
Committed by
Rémy Coutable
Jun 13, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
i18n: externalize strings from 'app/views/award_emoji'
parent
7fc47fae
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
app/views/award_emoji/_awards_block.html.haml
app/views/award_emoji/_awards_block.html.haml
+2
-2
locale/gitlab.pot
locale/gitlab.pot
+5
-2
No files found.
app/views/award_emoji/_awards_block.html.haml
View file @
ce1b4dee
...
...
@@ -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'
)
...
...
locale/gitlab.pot
View file @
ce1b4dee
...
...
@@ -8,8 +8,8 @@ msgid ""
msgstr ""
"Project-Id-Version: gitlab 1.0.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-06-1
1 09:18+02
00\n"
"PO-Revision-Date: 2018-06-1
1 09:18+02
00\n"
"POT-Creation-Date: 2018-06-1
2 18:57+10
00\n"
"PO-Revision-Date: 2018-06-1
2 18:57+10
00\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 ""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment