From 4b284f814c21c34b61f94f7daa39d6254246ab5f Mon Sep 17 00:00:00 2001 From: Andrey Nering <andrey.nering@gmail.com> Date: Thu, 30 Mar 2017 19:10:30 -0300 Subject: [PATCH] UI and translation improvements --- options/locale/locale_en-US.ini | 5 ++--- templates/repo/issue/view_content/sidebar.tmpl | 8 ++++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 822d9cdc9..35a524494 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 a9df130df..28bd755e4 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>