summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorrayden84 <feigenanton@hotmail.de>2024-06-29 17:54:15 +0200
committerGitHub <noreply@github.com>2024-06-29 15:54:15 +0000
commit50ecae7357e40aa54a949c2c639774c4846b808a (patch)
tree8bedcd7f6692ce162ee31b4a42ccdc9f97ac5440 /modules
parentdceadd2ebe79e452bef9eddc05922bb641b3fdad (diff)
downloadgitea-50ecae7357e40aa54a949c2c639774c4846b808a.tar.gz
gitea-50ecae7357e40aa54a949c2c639774c4846b808a.zip
remove typo (#31524)
Diffstat (limited to 'modules')
-rw-r--r--modules/setting/config_provider.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/setting/config_provider.go b/modules/setting/config_provider.go
index 3138f8a63e..2d73cbc3fd 100644
--- a/modules/setting/config_provider.go
+++ b/modules/setting/config_provider.go
@@ -326,14 +326,14 @@ func LogStartupProblem(skip int, level log.Level, format string, args ...any) {
func deprecatedSetting(rootCfg ConfigProvider, oldSection, oldKey, newSection, newKey, version string) {
if rootCfg.Section(oldSection).HasKey(oldKey) {
- LogStartupProblem(1, log.ERROR, "Deprecation: config option `[%s].%s` presents, please use `[%s].%s` instead because this fallback will be/has been removed in %s", oldSection, oldKey, newSection, newKey, version)
+ LogStartupProblem(1, log.ERROR, "Deprecated config option `[%s].%s` is present, please use `[%s].%s` instead. This fallback will be/has been removed in %s", oldSection, oldKey, newSection, newKey, version)
}
}
// deprecatedSettingDB add a hint that the configuration has been moved to database but still kept in app.ini
func deprecatedSettingDB(rootCfg ConfigProvider, oldSection, oldKey string) {
if rootCfg.Section(oldSection).HasKey(oldKey) {
- LogStartupProblem(1, log.ERROR, "Deprecation: config option `[%s].%s` presents but it won't take effect because it has been moved to admin panel -> config setting", oldSection, oldKey)
+ LogStartupProblem(1, log.ERROR, "Deprecation: config option `[%s].%s` present but it won't take effect because it has been moved to admin panel -> config setting", oldSection, oldKey)
}
}