Commit 9b7e2d28 authored by Nathan Friend's avatar Nathan Friend

Merge branch 'Externalize-strings-in-projects.hmtl.haml' into 'master'

Externalize strings in users/projects.html.haml

See merge request gitlab-org/gitlab!58122
parents 6141f9ce b5bc898f
......@@ -5,7 +5,7 @@
- if @user.groups.any?
.card
.card-header Group projects
.card-header= _('Group projects')
%ul.hover-list
- @user.group_members.includes(:source).each do |group_member| # rubocop: disable CodeReuse/ActiveRecord
- group = group_member.group
......@@ -24,12 +24,12 @@
- if @personal_projects.present?
= render 'admin/users/projects', projects: @personal_projects
- else
.nothing-here-block This user has no personal projects.
.nothing-here-block= _('This user has no personal projects.')
.col-md-6
.card
.card-header Joined projects (#{@joined_projects.count})
.card-header= _('Joined projects (%{projects_count})') % { projects_count: @joined_projects.count }
%ul.hover-list
- @joined_projects.sort_by(&:full_name).each do |project|
- member = project.team.find_member(@user.id)
......@@ -41,10 +41,10 @@
- if member
.float-right
- if member.owner?
%span.light Owner
%span.light= _('Owner')
- else
%span.light.vertical-align-middle= member.human_access
- if member.respond_to? :project
= link_to project_project_member_path(project, member), data: { confirm: remove_member_message(member) }, remote: true, method: :delete, class: "btn btn-sm btn-danger gl-button btn-icon gl-ml-3", title: 'Remove user from project' do
= link_to project_project_member_path(project, member), data: { confirm: remove_member_message(member) }, remote: true, method: :delete, class: "btn btn-sm btn-danger gl-button btn-icon gl-ml-3", title: _('Remove user from project') do
= sprite_icon('close', size: 16, css_class: 'gl-icon')
---
title: Externalize strings in users/projects.html.haml
merge_request: 58122
author: nuwe1
type: other
......@@ -15325,6 +15325,9 @@ msgstr ""
msgid "Group project URLs are prefixed with the group namespace"
msgstr ""
msgid "Group projects"
msgstr ""
msgid "Group requires separate account"
msgstr ""
......@@ -18412,6 +18415,9 @@ msgstr ""
msgid "Joined %{user_created_time}"
msgstr ""
msgid "Joined projects (%{projects_count})"
msgstr ""
msgid "Jul"
msgstr ""
......@@ -26568,6 +26574,9 @@ msgstr ""
msgid "Remove user from group"
msgstr ""
msgid "Remove user from project"
msgstr ""
msgid "Removed"
msgstr ""
......@@ -32562,6 +32571,9 @@ msgstr ""
msgid "This user has no identities"
msgstr ""
msgid "This user has no personal projects."
msgstr ""
msgid "This user has previously committed to the %{name} project."
msgstr ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment