diff options
author | Rémy Coutable <remy@rymai.me> | 2017-07-21 12:43:04 +0200 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-07-21 12:44:16 +0200 |
commit | 53c5b6717ccfb4c9bc1f4faf008d084dd4f0cd96 (patch) | |
tree | 5703dbdb3c152f2597ad8caebbfdac21ad1fb5f7 /app/views | |
parent | 1733090a9efd3ee6c3c7e0eb0001602db89a04d7 (diff) | |
download | gitlab-ce-53c5b6717ccfb4c9bc1f4faf008d084dd4f0cd96.tar.gz |
Fix translations for Star/Unstar in JS file35391-fix-star-i18n-in-js
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/projects/buttons/_star.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/buttons/_star.html.haml b/app/views/projects/buttons/_star.html.haml index e248676be0d..c82ae35a685 100644 --- a/app/views/projects/buttons/_star.html.haml +++ b/app/views/projects/buttons/_star.html.haml @@ -2,7 +2,7 @@ = link_to toggle_star_project_path(@project), { class: 'btn star-btn toggle-star', method: :post, remote: true } do - if current_user.starred?(@project) = icon('star') - %span.starred= _('Unstar') + %span.starred= _('Unstar') - else = icon('star-o') %span= s_('StarProject|Star') |