fix: added envWarning.production & russian translation for it

pull/167/head
Денис Кочетков 2025-01-23 16:07:19 +03:00
parent db152a469d
commit b8718c6647
3 changed files with 11 additions and 3 deletions

View File

@ -34,9 +34,9 @@ const ConfigPage = () => {
{appEnv === 'production' && (
<Box paddingBottom={4}>
<Alert variant="danger">
<Typography variant="omega" fontWeight="bold">You&apos;re in the production environment</Typography><br />
Please be careful when syncing your config in production.<br />
Make sure you are not overriding critical config changes on import.
<Typography variant="omega" fontWeight="bold">{formatMessage({ id: 'envWarning.production.heading' })}</Typography><br />
{formatMessage({ id: 'envWarning.production.message_1' })}<br />
{formatMessage({ id: 'envWarning.production.message_2' })}
</Alert>
</Box>
)}

View File

@ -9,6 +9,10 @@
"popUpWarning.force": "Force",
"popUpWarning.Confirmation": "Confirmation",
"envWarning.production.heading": "You're in the production environment",
"envWarning.production.message_1": "Please be careful when syncing your config in production.",
"envWarning.production.message_2": "Make sure you are not overriding critical config changes on import.",
"Header.Title": "Config Sync",
"Header.Description": "Manage your database config across environments.",

View File

@ -9,6 +9,10 @@
"popUpWarning.force": "Принудительно",
"popUpWarning.Confirmation": "Подтверждение",
"envWarning.production.heading": "Вы находитесь в prodoction-среде",
"envWarning.production.message_1": "Пожалуйста, будьте осторожны при синхронизации конфигурации в prodoction-среде.",
"envWarning.production.message_2": "Убедитесь, что вы не переопределяете важные изменения конфигурации при импорте.",
"Header.Title": "Config Sync",
"Header.Description": "Управляйте конфигурацией своей базы данных в разных средах.",