diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 180fd1c18..83b978bee 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -1904,6 +1904,7 @@ settings.sync_mirror = Synchronize Now settings.mirror_sync_in_progress = Mirror synchronization is in progress. Check back in a minute. settings.site = Website settings.update_settings = Update Settings +settings.update_mirror_settings = Update Mirror Settings settings.branches.switch_default_branch = Switch Default Branch settings.branches.update_default_branch = Update Default Branch settings.branches.add_new_rule = Add New Rule diff --git a/templates/repo/settings/options.tmpl b/templates/repo/settings/options.tmpl index 688d00bd7..cd2854c06 100644 --- a/templates/repo/settings/options.tmpl +++ b/templates/repo/settings/options.tmpl @@ -153,7 +153,7 @@ {{end}}
- +
diff --git a/templates/repo/wiki/pages.tmpl b/templates/repo/wiki/pages.tmpl index 97abf9b54..6169109ce 100644 --- a/templates/repo/wiki/pages.tmpl +++ b/templates/repo/wiki/pages.tmpl @@ -5,7 +5,7 @@

{{.locale.Tr "repo.wiki.pages"}} - {{if and .CanWriteWiki (not .IsRepositoryMirror)}} + {{if and .CanWriteWiki (not .Repository.IsMirror)}} {{.locale.Tr "repo.wiki.new_page_button"}} {{end}}