summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Nering <andrey.nering@gmail.com>2017-03-30 19:10:30 -0300
committerAndrey Nering <andrey.nering@gmail.com>2017-03-30 19:10:30 -0300
commit4b284f814c21c34b61f94f7daa39d6254246ab5f (patch)
tree7cf347e7cd1613a8b73d3cb6882fb290a03e2148
parentcaed86fc6ef87d11035889a11b8949c839e19d52 (diff)
downloadgitea-4b284f814c21c34b61f94f7daa39d6254246ab5f.tar.gz
gitea-4b284f814c21c34b61f94f7daa39d6254246ab5f.zip
UI and translation improvements
-rw-r--r--options/locale/locale_en-US.ini5
-rw-r--r--templates/repo/issue/view_content/sidebar.tmpl8
2 files changed, 6 insertions, 7 deletions
diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini
index 822d9cdc99..35a5244940 100644
--- a/options/locale/locale_en-US.ini
+++ b/options/locale/locale_en-US.ini
@@ -652,9 +652,8 @@ issues.label.filter_sort.reverse_alphabetically = Reverse alphabetically
issues.num_participants = %d Participants
issues.attachment.open_tab = `Click to see "%s" in a new tab`
issues.attachment.download = `Click to download "%s"`
-issues.watch = Watch
-issues.watch_issue = Watch issue
-issues.unwatch_issue = Unwatch issue
+issues.subscribe = Subscribe
+issues.unsubscribe = Unsubscribe
pulls.new = New Pull Request
pulls.compare_changes = Compare Changes
diff --git a/templates/repo/issue/view_content/sidebar.tmpl b/templates/repo/issue/view_content/sidebar.tmpl
index a9df130dfc..28bd755e41 100644
--- a/templates/repo/issue/view_content/sidebar.tmpl
+++ b/templates/repo/issue/view_content/sidebar.tmpl
@@ -102,7 +102,7 @@
<div class="ui divider"></div>
<div class="ui watching">
- <span class="text"><strong>{{.i18n.Tr "repo.issues.watch"}}</strong></span>
+ <span class="text"><strong>{{.i18n.Tr "notification.notifications"}}</strong></span>
<div>
<form method="POST" action="{{$.RepoLink}}/issues/{{.Issue.Index}}/watch">
<input type="hidden" name="watch" value="{{if $.IssueWatch.IsWatching}}0{{else}}1{{end}}" />
@@ -110,10 +110,10 @@
<button class="fluid ui button">
{{if $.IssueWatch.IsWatching}}
<i class="octicon octicon-mute"></i>
- {{.i18n.Tr "repo.issues.unwatch_issue"}}
+ {{.i18n.Tr "repo.issues.unsubscribe"}}
{{else}}
- <i class="octicon octicon-megaphone"></i>
- {{.i18n.Tr "repo.issues.watch_issue"}}
+ <i class="octicon octicon-unmute"></i>
+ {{.i18n.Tr "repo.issues.subscribe"}}
{{end}}
</button>
</form>