Explorar el Código

Fixed incorrect locale references (#26218)

Fixed two incorrect headers for setting the page navigation bar:
* User settings page, should not use the title "`org.settings`"
* Repo settings page, should not use the title "`org.settings`"
tags/v1.21.0-rc0
Kerwin Bryant hace 11 meses
padre
commit
05d0b7ca91
No account linked to committer's email address
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1
    1
      templates/repo/settings/navbar.tmpl
  2. 1
    1
      templates/user/settings/navbar.tmpl

+ 1
- 1
templates/repo/settings/navbar.tmpl Ver fichero

@@ -1,6 +1,6 @@
<div class="four wide column">
<div class="ui fluid vertical menu">
<div class="header item">{{.locale.Tr "org.settings"}}</div>
<div class="header item">{{.locale.Tr "repo.settings"}}</div>
<a class="{{if .PageIsSettingsOptions}}active {{end}}item" href="{{.RepoLink}}/settings">
{{.locale.Tr "repo.settings.options"}}
</a>

+ 1
- 1
templates/user/settings/navbar.tmpl Ver fichero

@@ -1,6 +1,6 @@
<div class="four wide column">
<div class="ui fluid vertical menu">
<div class="header item">{{.locale.Tr "org.settings"}}</div>
<div class="header item">{{.locale.Tr "settings"}}</div>
<a class="{{if .PageIsSettingsProfile}}active {{end}}item" href="{{AppSubUrl}}/user/settings">
{{.locale.Tr "settings.profile"}}
</a>

Cargando…
Cancelar
Guardar