summaryrefslogtreecommitdiffstats
path: root/routers/web/user/setting/profile.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/web/user/setting/profile.go')
-rw-r--r--routers/web/user/setting/profile.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/routers/web/user/setting/profile.go b/routers/web/user/setting/profile.go
index af16195250..e01f3cdeea 100644
--- a/routers/web/user/setting/profile.go
+++ b/routers/web/user/setting/profile.go
@@ -42,7 +42,7 @@ const (
// Profile render user's profile page
func Profile(ctx *context.Context) {
- ctx.Data["Title"] = ctx.Tr("settings")
+ ctx.Data["Title"] = ctx.Tr("settings.profile")
ctx.Data["PageIsSettingsProfile"] = true
ctx.Data["AllowedUserVisibilityModes"] = setting.Service.AllowedUserVisibilityModesSlice.ToVisibleTypeSlice()
@@ -219,7 +219,7 @@ func DeleteAvatar(ctx *context.Context) {
// Organization render all the organization of the user
func Organization(ctx *context.Context) {
- ctx.Data["Title"] = ctx.Tr("settings")
+ ctx.Data["Title"] = ctx.Tr("settings.organization")
ctx.Data["PageIsSettingsOrganization"] = true
opts := organization.FindOrgOptions{
@@ -254,7 +254,7 @@ func Organization(ctx *context.Context) {
// Repos display a list of all repositories of the user
func Repos(ctx *context.Context) {
- ctx.Data["Title"] = ctx.Tr("settings")
+ ctx.Data["Title"] = ctx.Tr("settings.repos")
ctx.Data["PageIsSettingsRepos"] = true
ctx.Data["allowAdopt"] = ctx.IsUserSiteAdmin() || setting.Repository.AllowAdoptionOfUnadoptedRepositories
ctx.Data["allowDelete"] = ctx.IsUserSiteAdmin() || setting.Repository.AllowDeleteOfUnadoptedRepositories
@@ -360,7 +360,7 @@ func Repos(ctx *context.Context) {
// Appearance render user's appearance settings
func Appearance(ctx *context.Context) {
- ctx.Data["Title"] = ctx.Tr("settings")
+ ctx.Data["Title"] = ctx.Tr("settings.appearance")
ctx.Data["PageIsSettingsAppearance"] = true
var hiddenCommentTypes *big.Int