Skip to content

Commit feed1ff

Browse files
yardenshohamdelvh
andauthored
Rename "People" to "Members" in organization page and use a better icon (#22960)
`member` is how it's named in the code Closes #22931 Before | After --- | --- ![image](https://user-images.githubusercontent.com/20454870/219781155-69a8476e-0f04-4b70-bda5-ea6fa8ce676c.png) | ![image](https://user-images.githubusercontent.com/20454870/219780887-61644c27-36a2-4e1f-8f98-be3911883b49.png) --------- Signed-off-by: Yarden Shoham <[email protected]> Co-authored-by: delvh <[email protected]>
1 parent bd66fa5 commit feed1ff

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

docs/content/page/index.en-us.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ You can try it out using [the online demo](https://try.gitea.io/).
106106
- Permission to create organizations
107107
- Permission to import repositories
108108
- Organization management
109-
- People
109+
- Members
110110
- Teams
111111
- Avatar
112112
- Hooks

options/locale/locale_en-US.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -2364,7 +2364,7 @@ org_full_name_holder = Organization Full Name
23642364
org_name_helper = Organization names should be short and memorable.
23652365
create_org = Create Organization
23662366
repo_updated = Updated
2367-
people = People
2367+
members = Members
23682368
teams = Teams
23692369
code = Code
23702370
lower_members = members

templates/org/home.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<div class="ui divider"></div>
4343
{{end}}
4444
<h4 class="ui top attached header gt-df">
45-
<strong class="gt-f1">{{.locale.Tr "org.people"}}</strong>
45+
<strong class="gt-f1">{{.locale.Tr "org.members"}}</strong>
4646
<div class="ui">
4747
<a class="text grey gt-dif gt-ac" href="{{.OrgLink}}/members"><span>{{.MembersTotal}}</span> {{svg "octicon-chevron-right"}}</a>
4848
</div>

templates/org/menu.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
{{end}}
1919
{{if .IsOrganizationMember}}
2020
<a class="{{if $.PageIsOrgMembers}}active {{end}}item" href="{{$.OrgLink}}/members">
21-
{{svg "octicon-organization"}}&nbsp;{{$.locale.Tr "org.people"}}
21+
{{svg "octicon-person"}}&nbsp;{{$.locale.Tr "org.members"}}
2222
{{if .NumMembers}}
2323
<div class="ui primary label">{{.NumMembers}}</div>
2424
{{end}}

templates/user/overview/header.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
{{if .ContextUser.IsOrganization}}
4040
{{if .IsOrganizationMember}}
4141
<a class="item" href="{{$.OrgLink}}/members">
42-
{{svg "octicon-organization"}}&nbsp;{{$.locale.Tr "org.people"}}
42+
{{svg "octicon-person"}}&nbsp;{{$.locale.Tr "org.members"}}
4343
{{if .NumMembers}}
4444
<div class="ui primary label">{{.NumMembers}}</div>
4545
{{end}}

0 commit comments

Comments
 (0)