From 21ec0b14139f01074f74cb2cce1ceeeba579a773 Mon Sep 17 00:00:00 2001 From: Jose Ivan Vargas Date: Mon, 6 Nov 2017 09:49:41 -0600 Subject: consistency fixes --- app/views/projects/tags/_tag.html.haml | 2 +- app/views/projects/tags/index.html.haml | 2 +- app/views/projects/tags/show.html.haml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'app/views') diff --git a/app/views/projects/tags/_tag.html.haml b/app/views/projects/tags/_tag.html.haml index 9548b4688d6..467f19b4c56 100644 --- a/app/views/projects/tags/_tag.html.haml +++ b/app/views/projects/tags/_tag.html.haml @@ -18,7 +18,7 @@ = render 'projects/branches/commit', commit: commit, project: @project - else %p - = s_('TagsPage|Cannot find HEAD commit for this tag') + = s_("TagsPage|Can't find HEAD commit for this tag") - if release && release.description.present? .description.prepend-top-default .wiki diff --git a/app/views/projects/tags/index.html.haml b/app/views/projects/tags/index.html.haml index b78a0efa585..fd3b8c01b83 100644 --- a/app/views/projects/tags/index.html.haml +++ b/app/views/projects/tags/index.html.haml @@ -1,6 +1,6 @@ - @no_container = true - @sort ||= sort_value_recently_updated -- page_title _('Tags') +- page_title _('TagsPage|Tags') - add_to_breadcrumbs("Repository", project_tree_path(@project)) .flex-list{ class: container_class } diff --git a/app/views/projects/tags/show.html.haml b/app/views/projects/tags/show.html.haml index 04b1c88842d..dfe2c37ed8e 100644 --- a/app/views/projects/tags/show.html.haml +++ b/app/views/projects/tags/show.html.haml @@ -16,7 +16,7 @@ - if @commit = render 'projects/branches/commit', commit: @commit, project: @project - else - = s_('TagsPage|Cannot find HEAD commit for this tag') + = s_("TagsPage|Can't find HEAD commit for this tag") .nav-controls.controls-flex - if can?(current_user, :push_code, @project) -- cgit v1.2.1