mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-21 00:33:10 +00:00
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">
This commit is contained in:
parent
0585ac3ac6
commit
8fb1e53ca2
4 changed files with 7 additions and 7 deletions
|
@ -1018,7 +1018,7 @@ unstar = Unstar
|
||||||
star = Star
|
star = Star
|
||||||
fork = Fork
|
fork = Fork
|
||||||
download_archive = Download Repository
|
download_archive = Download Repository
|
||||||
more_actions = More Actions
|
more_operations = More Operations
|
||||||
|
|
||||||
no_desc = No Description
|
no_desc = No Description
|
||||||
quick_guide = Quick Guide
|
quick_guide = Quick Guide
|
||||||
|
@ -1173,7 +1173,7 @@ commits.signed_by_untrusted_user_unmatched = Signed by untrusted user who does n
|
||||||
commits.gpg_key_id = GPG Key ID
|
commits.gpg_key_id = GPG Key ID
|
||||||
commits.ssh_key_fingerprint = SSH Key Fingerprint
|
commits.ssh_key_fingerprint = SSH Key Fingerprint
|
||||||
|
|
||||||
commit.actions = Actions
|
commit.operations = Operations
|
||||||
commit.revert = Revert
|
commit.revert = Revert
|
||||||
commit.revert-header = Revert: %s
|
commit.revert-header = Revert: %s
|
||||||
commit.revert-content = Select branch to revert onto:
|
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
|
||||||
|
|
||||||
notices.system_notice_list = System Notices
|
notices.system_notice_list = System Notices
|
||||||
notices.view_detail_header = View Notice Details
|
notices.view_detail_header = View Notice Details
|
||||||
notices.actions = Actions
|
notices.operations = Operations
|
||||||
notices.select_all = Select All
|
notices.select_all = Select All
|
||||||
notices.deselect_all = Deselect All
|
notices.deselect_all = Deselect All
|
||||||
notices.inverse_selection = Inverse Selection
|
notices.inverse_selection = Inverse Selection
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<div class="ui floating upward dropdown small button">
|
<div class="ui floating upward dropdown small button">
|
||||||
<span class="text">{{.locale.Tr "admin.notices.actions"}}</span>
|
<span class="text">{{.locale.Tr "admin.notices.operations"}}</span>
|
||||||
<div class="menu">
|
<div class="menu">
|
||||||
<div class="item select action" data-action="select-all">
|
<div class="item select action" data-action="select-all">
|
||||||
{{.locale.Tr "admin.notices.select_all"}}
|
{{.locale.Tr "admin.notices.select_all"}}
|
||||||
|
|
|
@ -26,10 +26,10 @@
|
||||||
{{.locale.Tr "repo.diff.browse_source"}}
|
{{.locale.Tr "repo.diff.browse_source"}}
|
||||||
</a>
|
</a>
|
||||||
{{if and ($.Permission.CanWrite $.UnitTypeCode) (not $.Repository.IsArchived) (not .IsDeleted)}}{{- /* */ -}}
|
{{if and ($.Permission.CanWrite $.UnitTypeCode) (not $.Repository.IsArchived) (not .IsDeleted)}}{{- /* */ -}}
|
||||||
<div class="ui primary tiny floating dropdown icon button">{{.locale.Tr "repo.commit.actions"}}
|
<div class="ui primary tiny floating dropdown icon button">{{.locale.Tr "repo.commit.operations"}}
|
||||||
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
|
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
|
||||||
<div class="menu">
|
<div class="menu">
|
||||||
<div class="ui header">{{.locale.Tr "repo.commit.actions"}}</div>
|
<div class="ui header">{{.locale.Tr "repo.commit.operations"}}</div>
|
||||||
<div class="divider"></div>
|
<div class="divider"></div>
|
||||||
<div class="item show-create-branch-modal"
|
<div class="item show-create-branch-modal"
|
||||||
data-content="{{$.locale.Tr "repo.branch.new_branch_from" (.CommitID)}}"
|
data-content="{{$.locale.Tr "repo.branch.new_branch_from" (.CommitID)}}"
|
||||||
|
|
|
@ -117,7 +117,7 @@
|
||||||
{{if eq $n 0}}
|
{{if eq $n 0}}
|
||||||
<div class="ui action tiny input" id="clone-panel">
|
<div class="ui action tiny input" id="clone-panel">
|
||||||
{{template "repo/clone_buttons" .}}
|
{{template "repo/clone_buttons" .}}
|
||||||
<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">
|
<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">
|
||||||
{{svg "octicon-kebab-horizontal"}}
|
{{svg "octicon-kebab-horizontal"}}
|
||||||
<div class="menu">
|
<div class="menu">
|
||||||
{{if not $.DisableDownloadSourceArchives}}
|
{{if not $.DisableDownloadSourceArchives}}
|
||||||
|
|
Loading…
Reference in a new issue