forked from gitea/gitea
1
0
Fork 0

UI and translation improvements

This commit is contained in:
Andrey Nering 2017-03-30 19:10:30 -03:00
parent caed86fc6e
commit 4b284f814c
2 changed files with 6 additions and 7 deletions

View File

@ -652,9 +652,8 @@ issues.label.filter_sort.reverse_alphabetically = Reverse alphabetically
issues.num_participants = %d Participants issues.num_participants = %d Participants
issues.attachment.open_tab = `Click to see "%s" in a new tab` issues.attachment.open_tab = `Click to see "%s" in a new tab`
issues.attachment.download = `Click to download "%s"` issues.attachment.download = `Click to download "%s"`
issues.watch = Watch issues.subscribe = Subscribe
issues.watch_issue = Watch issue issues.unsubscribe = Unsubscribe
issues.unwatch_issue = Unwatch issue
pulls.new = New Pull Request pulls.new = New Pull Request
pulls.compare_changes = Compare Changes pulls.compare_changes = Compare Changes

View File

@ -102,7 +102,7 @@
<div class="ui divider"></div> <div class="ui divider"></div>
<div class="ui watching"> <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> <div>
<form method="POST" action="{{$.RepoLink}}/issues/{{.Issue.Index}}/watch"> <form method="POST" action="{{$.RepoLink}}/issues/{{.Issue.Index}}/watch">
<input type="hidden" name="watch" value="{{if $.IssueWatch.IsWatching}}0{{else}}1{{end}}" /> <input type="hidden" name="watch" value="{{if $.IssueWatch.IsWatching}}0{{else}}1{{end}}" />
@ -110,10 +110,10 @@
<button class="fluid ui button"> <button class="fluid ui button">
{{if $.IssueWatch.IsWatching}} {{if $.IssueWatch.IsWatching}}
<i class="octicon octicon-mute"></i> <i class="octicon octicon-mute"></i>
{{.i18n.Tr "repo.issues.unwatch_issue"}} {{.i18n.Tr "repo.issues.unsubscribe"}}
{{else}} {{else}}
<i class="octicon octicon-megaphone"></i> <i class="octicon octicon-unmute"></i>
{{.i18n.Tr "repo.issues.watch_issue"}} {{.i18n.Tr "repo.issues.subscribe"}}
{{end}} {{end}}
</button> </button>
</form> </form>