|
@ -36,7 +36,6 @@ import ( |
|
|
|
|
|
|
|
|
"gitea.com/macaron/i18n" |
|
|
"gitea.com/macaron/i18n" |
|
|
"gitea.com/macaron/macaron" |
|
|
"gitea.com/macaron/macaron" |
|
|
unknwoni18n "github.com/unknwon/i18n" |
|
|
|
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
func checkRunMode() { |
|
|
func checkRunMode() { |
|
@ -124,8 +123,6 @@ func GlobalInit(ctx context.Context) { |
|
|
// Setup i18n
|
|
|
// Setup i18n
|
|
|
InitLocales() |
|
|
InitLocales() |
|
|
|
|
|
|
|
|
log.Info("%s", unknwoni18n.Tr("en-US", "admin.dashboard.delete_repo_archives")) |
|
|
|
|
|
|
|
|
|
|
|
NewServices() |
|
|
NewServices() |
|
|
|
|
|
|
|
|
if setting.InstallLock { |
|
|
if setting.InstallLock { |
|
|