* add WARN to log constants

* i18n-extract

* i18n-extract
Этот коммит содержится в:
Scott Bishel
2024-05-14 08:39:41 -06:00
коммит произвёл GitHub
родитель e35d962525
Коммит 4fbc96ec02
2 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@@ -166,4 +166,8 @@ export const LOG_LEVEL_OPTIONS = [
value: 'ERROR',
display_name: defineMessage({id: 'admin.log.levelOptions.ERROR', defaultMessage: 'ERROR'}),
},
{
value: 'WARN',
display_name: defineMessage({id: 'admin.log.levelOptions.WARN', defaultMessage: 'WARN'}),
},
];

Просмотреть файл

@@ -1443,6 +1443,7 @@
"admin.log.levelOptions.DEBUG": "DEBUG",
"admin.log.levelOptions.ERROR": "ERROR",
"admin.log.levelOptions.INFO": "INFO",
"admin.log.levelOptions.WARN": "WARN",
"admin.log.levelTitle": "Console Log Level:",
"admin.log.locationDescription": "The location of the log files. If blank, they are stored in the ./logs directory. The path that you set must exist and Mattermost must have write permissions in it. Changing this setting requires a server restart before taking effect.",
"admin.log.locationPlaceholder": "Enter your file location",