[I18N] Fix capitalization in English and reword a few strings

fixes #2551
This commit is contained in:
0ko 2024-03-17 21:04:11 +05:00
parent c63599d5c9
commit 4c1af0d9a6
4 changed files with 501 additions and 500 deletions

File diff suppressed because it is too large Load diff

View file

@ -438,7 +438,7 @@
{{ctx.Locale.Tr "admin.auths.tips"}}
</h4>
<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>
<h5 class="oauth2">{{ctx.Locale.Tr "admin.auths.tips.oauth2.general"}}:</h5>

View file

@ -82,7 +82,7 @@
{{ctx.Locale.Tr "admin.auths.tips"}}
</h4>
<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>
<h5 class="oauth2">{{ctx.Locale.Tr "admin.auths.tips.oauth2.general"}}:</h5>

View file

@ -383,7 +383,7 @@ func TestRepoHTMLTitle(t *testing.T) {
defer tests.PrintCurrentTest(t)()
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) {
defer tests.PrintCurrentTest(t)()