From 030a4033d2ff1062ae0361890981f1ea2c0b8a66 Mon Sep 17 00:00:00 2001 From: Dennis Tang <750946-dennis@users.noreply.gitlab.com> Date: Fri, 30 Nov 2018 15:26:19 +0000 Subject: Remove trailing whitespaces in button labels --- app/presenters/project_presenter.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/presenters/project_presenter.rb b/app/presenters/project_presenter.rb index 08370a8e124..9bd64ea217e 100644 --- a/app/presenters/project_presenter.rb +++ b/app/presenters/project_presenter.rb @@ -162,7 +162,7 @@ class ProjectPresenter < Gitlab::View::Presenter::Delegated def commits_anchor_data AnchorData.new(true, statistic_icon('commit') + - n_('%{strong_start}%{commit_count}%{strong_end} Commit', '%{strong_start}%{commit_count}%{strong_end} Commits ', statistics.commit_count).html_safe % { + n_('%{strong_start}%{commit_count}%{strong_end} Commit', '%{strong_start}%{commit_count}%{strong_end} Commits', statistics.commit_count).html_safe % { commit_count: number_with_delimiter(statistics.commit_count), strong_start: ''.html_safe, strong_end: ''.html_safe @@ -173,7 +173,7 @@ class ProjectPresenter < Gitlab::View::Presenter::Delegated def branches_anchor_data AnchorData.new(true, statistic_icon('branch') + - n_('%{strong_start}%{branch_count}%{strong_end} Branch ', '%{strong_start}%{branch_count}%{strong_end} Branches', repository.branch_count).html_safe % { + n_('%{strong_start}%{branch_count}%{strong_end} Branch', '%{strong_start}%{branch_count}%{strong_end} Branches', repository.branch_count).html_safe % { branch_count: number_with_delimiter(repository.branch_count), strong_start: ''.html_safe, strong_end: ''.html_safe -- cgit v1.2.1