[I18N] Fix capitalization in English and reword a few strings
fixes #2551
This commit is contained in:
parent
c63599d5c9
commit
4c1af0d9a6
4 changed files with 501 additions and 500 deletions
File diff suppressed because it is too large
Load diff
|
@ -438,7 +438,7 @@
|
||||||
{{ctx.Locale.Tr "admin.auths.tips"}}
|
{{ctx.Locale.Tr "admin.auths.tips"}}
|
||||||
</h4>
|
</h4>
|
||||||
<div class="ui attached segment">
|
<div class="ui attached segment">
|
||||||
<h5>GMail Settings:</h5>
|
<h5>{{ctx.Locale.Tr "admin.auths.tips.gmail_settings"}}</h5>
|
||||||
<p>Host: smtp.gmail.com, Port: 587, Enable TLS Encryption: true</p>
|
<p>Host: smtp.gmail.com, Port: 587, Enable TLS Encryption: true</p>
|
||||||
|
|
||||||
<h5 class="oauth2">{{ctx.Locale.Tr "admin.auths.tips.oauth2.general"}}:</h5>
|
<h5 class="oauth2">{{ctx.Locale.Tr "admin.auths.tips.oauth2.general"}}:</h5>
|
||||||
|
|
|
@ -82,7 +82,7 @@
|
||||||
{{ctx.Locale.Tr "admin.auths.tips"}}
|
{{ctx.Locale.Tr "admin.auths.tips"}}
|
||||||
</h4>
|
</h4>
|
||||||
<div class="ui attached segment">
|
<div class="ui attached segment">
|
||||||
<h5>GMail Settings:</h5>
|
<h5>{{ctx.Locale.Tr "admin.auths.tips.gmail_settings"}}</h5>
|
||||||
<p>Host: smtp.gmail.com, Port: 587, Enable TLS Encryption: true</p>
|
<p>Host: smtp.gmail.com, Port: 587, Enable TLS Encryption: true</p>
|
||||||
|
|
||||||
<h5 class="oauth2">{{ctx.Locale.Tr "admin.auths.tips.oauth2.general"}}:</h5>
|
<h5 class="oauth2">{{ctx.Locale.Tr "admin.auths.tips.oauth2.general"}}:</h5>
|
||||||
|
|
|
@ -383,7 +383,7 @@ func TestRepoHTMLTitle(t *testing.T) {
|
||||||
defer tests.PrintCurrentTest(t)()
|
defer tests.PrintCurrentTest(t)()
|
||||||
|
|
||||||
htmlTitle := GetHTMLTitle(t, nil, "/user2/repo1/pulls")
|
htmlTitle := GetHTMLTitle(t, nil, "/user2/repo1/pulls")
|
||||||
assert.EqualValues(t, "Pull Requests - user2/repo1 - Gitea: Git with a cup of tea", htmlTitle)
|
assert.EqualValues(t, "Pull requests - user2/repo1 - Gitea: Git with a cup of tea", htmlTitle)
|
||||||
})
|
})
|
||||||
t.Run("View pull request", func(t *testing.T) {
|
t.Run("View pull request", func(t *testing.T) {
|
||||||
defer tests.PrintCurrentTest(t)()
|
defer tests.PrintCurrentTest(t)()
|
||||||
|
|
Loading…
Reference in a new issue