Skip to content

Commit 8fb1e53

Browse files
authored
Rename actions to operations on UI (#22067)
Use "operations" to indicate "some something can be done", to prevent users from confusing it with CICD. Releated to: #13539. Snapshots: <img width="389" alt="image" src="https://user-images.githubusercontent.com/9418365/206409797-a99bac25-2d38-4066-b9ab-27a4f6fe67e7.png"> <img width="398" alt="image" src="https://user-images.githubusercontent.com/9418365/206410099-bbd258a9-54d9-4664-8d95-31d29cb35209.png"> <img width="442" alt="image" src="https://user-images.githubusercontent.com/9418365/206410218-009a3103-a9b9-4d0c-86b6-540dda5bce89.png"> I'm not a native English speaker, but I think "operations" may be good enough, and Gitea already uses this word: <img width="1440" alt="image" src="https://user-images.githubusercontent.com/9418365/206410671-4a718b14-0603-40cb-bdcb-f6f84d1f5e24.png">
1 parent 0585ac3 commit 8fb1e53

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

options/locale/locale_en-US.ini

+3-3
Original file line numberDiff line numberDiff line change
@@ -1018,7 +1018,7 @@ unstar = Unstar
10181018
star = Star
10191019
fork = Fork
10201020
download_archive = Download Repository
1021-
more_actions = More Actions
1021+
more_operations = More Operations
10221022

10231023
no_desc = No Description
10241024
quick_guide = Quick Guide
@@ -1173,7 +1173,7 @@ commits.signed_by_untrusted_user_unmatched = Signed by untrusted user who does n
11731173
commits.gpg_key_id = GPG Key ID
11741174
commits.ssh_key_fingerprint = SSH Key Fingerprint
11751175
1176-
commit.actions = Actions
1176+
commit.operations = Operations
11771177
commit.revert = Revert
11781178
commit.revert-header = Revert: %s
11791179
commit.revert-content = Select branch to revert onto:
@@ -2989,7 +2989,7 @@ monitor.queue.pool.cancel_desc = Leaving a queue without any worker groups may c
29892989
29902990
notices.system_notice_list = System Notices
29912991
notices.view_detail_header = View Notice Details
2992-
notices.actions = Actions
2992+
notices.operations = Operations
29932993
notices.select_all = Select All
29942994
notices.deselect_all = Deselect All
29952995
notices.inverse_selection = Inverse Selection

templates/admin/notice.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
</form>
4747
</div>
4848
<div class="ui floating upward dropdown small button">
49-
<span class="text">{{.locale.Tr "admin.notices.actions"}}</span>
49+
<span class="text">{{.locale.Tr "admin.notices.operations"}}</span>
5050
<div class="menu">
5151
<div class="item select action" data-action="select-all">
5252
{{.locale.Tr "admin.notices.select_all"}}

templates/repo/commit_page.tmpl

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626
{{.locale.Tr "repo.diff.browse_source"}}
2727
</a>
2828
{{if and ($.Permission.CanWrite $.UnitTypeCode) (not $.Repository.IsArchived) (not .IsDeleted)}}{{- /* */ -}}
29-
<div class="ui primary tiny floating dropdown icon button">{{.locale.Tr "repo.commit.actions"}}
29+
<div class="ui primary tiny floating dropdown icon button">{{.locale.Tr "repo.commit.operations"}}
3030
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
3131
<div class="menu">
32-
<div class="ui header">{{.locale.Tr "repo.commit.actions"}}</div>
32+
<div class="ui header">{{.locale.Tr "repo.commit.operations"}}</div>
3333
<div class="divider"></div>
3434
<div class="item show-create-branch-modal"
3535
data-content="{{$.locale.Tr "repo.branch.new_branch_from" (.CommitID)}}"

templates/repo/home.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
{{if eq $n 0}}
118118
<div class="ui action tiny input" id="clone-panel">
119119
{{template "repo/clone_buttons" .}}
120-
<button id="more-btn" class="ui basic small compact jump dropdown icon button tooltip" data-content="{{.locale.Tr "repo.more_actions"}}" data-position="top right">
120+
<button id="more-btn" class="ui basic small compact jump dropdown icon button tooltip" data-content="{{.locale.Tr "repo.more_operations"}}" data-position="top right">
121121
{{svg "octicon-kebab-horizontal"}}
122122
<div class="menu">
123123
{{if not $.DisableDownloadSourceArchives}}

0 commit comments

Comments
 (0)