@@ -42,7 +42,7 @@ const (
42
42
43
43
// Profile render user's profile page
44
44
func Profile (ctx * context.Context ) {
45
- ctx .Data ["Title" ] = ctx .Tr ("settings" )
45
+ ctx .Data ["Title" ] = ctx .Tr ("settings.profile " )
46
46
ctx .Data ["PageIsSettingsProfile" ] = true
47
47
ctx .Data ["AllowedUserVisibilityModes" ] = setting .Service .AllowedUserVisibilityModesSlice .ToVisibleTypeSlice ()
48
48
@@ -219,7 +219,7 @@ func DeleteAvatar(ctx *context.Context) {
219
219
220
220
// Organization render all the organization of the user
221
221
func Organization (ctx * context.Context ) {
222
- ctx .Data ["Title" ] = ctx .Tr ("settings" )
222
+ ctx .Data ["Title" ] = ctx .Tr ("settings.organization " )
223
223
ctx .Data ["PageIsSettingsOrganization" ] = true
224
224
225
225
opts := organization.FindOrgOptions {
@@ -254,7 +254,7 @@ func Organization(ctx *context.Context) {
254
254
255
255
// Repos display a list of all repositories of the user
256
256
func Repos (ctx * context.Context ) {
257
- ctx .Data ["Title" ] = ctx .Tr ("settings" )
257
+ ctx .Data ["Title" ] = ctx .Tr ("settings.repos " )
258
258
ctx .Data ["PageIsSettingsRepos" ] = true
259
259
ctx .Data ["allowAdopt" ] = ctx .IsUserSiteAdmin () || setting .Repository .AllowAdoptionOfUnadoptedRepositories
260
260
ctx .Data ["allowDelete" ] = ctx .IsUserSiteAdmin () || setting .Repository .AllowDeleteOfUnadoptedRepositories
@@ -360,7 +360,7 @@ func Repos(ctx *context.Context) {
360
360
361
361
// Appearance render user's appearance settings
362
362
func Appearance (ctx * context.Context ) {
363
- ctx .Data ["Title" ] = ctx .Tr ("settings" )
363
+ ctx .Data ["Title" ] = ctx .Tr ("settings.appearance " )
364
364
ctx .Data ["PageIsSettingsAppearance" ] = true
365
365
366
366
var hiddenCommentTypes * big.Int
0 commit comments