aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJason Song <i@wolfogre.com>2022-12-08 21:14:09 +0800
committerGitHub <noreply@github.com>2022-12-08 21:14:09 +0800
commit8fb1e53ca2bea37d9d6b89a47cb13e253355829b (patch)
tree274ca041f7befd9db000f817d81890506dd06214 /templates
parent0585ac3ac6ff4f59e8455cb5f4cbe42c4b79c965 (diff)
downloadgitea-8fb1e53ca2bea37d9d6b89a47cb13e253355829b.tar.gz
gitea-8fb1e53ca2bea37d9d6b89a47cb13e253355829b.zip
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">
Diffstat (limited to 'templates')
-rw-r--r--templates/admin/notice.tmpl2
-rw-r--r--templates/repo/commit_page.tmpl4
-rw-r--r--templates/repo/home.tmpl2
3 files changed, 4 insertions, 4 deletions
diff --git a/templates/admin/notice.tmpl b/templates/admin/notice.tmpl
index 2777741efb..36752d47b2 100644
--- a/templates/admin/notice.tmpl
+++ b/templates/admin/notice.tmpl
@@ -46,7 +46,7 @@
</form>
</div>
<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="item select action" data-action="select-all">
{{.locale.Tr "admin.notices.select_all"}}
diff --git a/templates/repo/commit_page.tmpl b/templates/repo/commit_page.tmpl
index d4839e8930..6a40d5fbee 100644
--- a/templates/repo/commit_page.tmpl
+++ b/templates/repo/commit_page.tmpl
@@ -26,10 +26,10 @@
{{.locale.Tr "repo.diff.browse_source"}}
</a>
{{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"}}
<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="item show-create-branch-modal"
data-content="{{$.locale.Tr "repo.branch.new_branch_from" (.CommitID)}}"
diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl
index a798d3cc9e..82e6626e33 100644
--- a/templates/repo/home.tmpl
+++ b/templates/repo/home.tmpl
@@ -117,7 +117,7 @@
{{if eq $n 0}}
<div class="ui action tiny input" id="clone-panel">
{{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"}}
<div class="menu">
{{if not $.DisableDownloadSourceArchives}}