i18n: Refactor and fix app names (Checkmate and Capture)

This commit is contained in:
Michal Šmahel committed 2025-06-09 21:53:02 +02:00
1 parent 7e873161bc
commit d63e3db216
20 files changed
+50 -20

No files matched your search

+1 -1
View File
@@ -338,7 +338,7 @@ function Sidebar() {
mt={theme.spacing(2)} mt={theme.spacing(2)}
sx={{ opacity: 0.8, fontWeight: 500 }} sx={{ opacity: 0.8, fontWeight: 500 }}
> >
Checkmate {t("common.appName")}
</Typography> </Typography>
</Stack> </Stack>
</Stack> </Stack>
+1 -1
View File
@@ -118,7 +118,7 @@ const CheckEmail = () => {
gap={theme.spacing(4)} gap={theme.spacing(4)}
> >
<Logo style={{ borderRadius: theme.shape.borderRadius }} /> <Logo style={{ borderRadius: theme.shape.borderRadius }} />
<Typography sx={{ userSelect: "none" }}>Checkmate</Typography> <Typography sx={{ userSelect: "none" }}>{t("common.appName")}</Typography>
</Stack> </Stack>
<Stack <Stack
width="100%" width="100%"
+1 -1
View File
@@ -120,7 +120,7 @@ const ForgotPassword = () => {
gap={theme.spacing(4)} gap={theme.spacing(4)}
> >
<Logo style={{ borderRadius: theme.shape.borderRadius }} /> <Logo style={{ borderRadius: theme.shape.borderRadius }} />
<Typography sx={{ userSelect: "none" }}>Checkmate</Typography> <Typography sx={{ userSelect: "none" }}>{t("common.appName")}</Typography>
</Stack> </Stack>
<Stack <Stack
width="100%" width="100%"
+1 -1
View File
@@ -174,7 +174,7 @@ const Login = () => {
gap={theme.spacing(4)} gap={theme.spacing(4)}
> >
<Logo style={{ borderRadius: theme.shape.borderRadius }} /> <Logo style={{ borderRadius: theme.shape.borderRadius }} />
<Typography sx={{ userSelect: "none" }}>Checkmate</Typography> <Typography sx={{ userSelect: "none" }}>{t("common.appName")}</Typography>
</Stack> </Stack>
<Stack <Stack
direction="row" direction="row"
@@ -54,7 +54,7 @@ const NewPasswordConfirmed = () => {
gap={theme.spacing(4)} gap={theme.spacing(4)}
> >
<Logo style={{ borderRadius: theme.shape.borderRadius }} /> <Logo style={{ borderRadius: theme.shape.borderRadius }} />
<Typography sx={{ userSelect: "none" }}>Checkmate</Typography> <Typography sx={{ userSelect: "none" }}>{t("common.appName")}</Typography>
</Stack> </Stack>
<Stack <Stack
width="100%" width="100%"
+1 -1
View File
@@ -316,7 +316,7 @@ const Register = ({ isSuperAdmin }) => {
gap={theme.spacing(4)} gap={theme.spacing(4)}
> >
<Logo style={{ borderRadius: theme.shape.borderRadius }} /> <Logo style={{ borderRadius: theme.shape.borderRadius }} />
<Typography sx={{ userSelect: "none" }}>{t("commonAppName")}</Typography> <Typography sx={{ userSelect: "none" }}>{t("common.appName")}</Typography>
</Stack> </Stack>
<Stack <Stack
width="100%" width="100%"
+1 -1
View File
@@ -98,7 +98,7 @@ const SetNewPassword = () => {
gap={theme.spacing(4)} gap={theme.spacing(4)}
> >
<Logo style={{ borderRadius: theme.shape.borderRadius }} /> <Logo style={{ borderRadius: theme.shape.borderRadius }} />
<Typography sx={{ userSelect: "none" }}>{t("commonAppName")}</Typography> <Typography sx={{ userSelect: "none" }}>{t("common.appName")}</Typography>
</Stack> </Stack>
<Stack <Stack
width="100%" width="100%"
@@ -322,7 +322,7 @@ const CreateInfrastructureMonitor = () => {
<Link <Link
level="primary" level="primary"
url="https://github.com/bluewave-labs/checkmate-agent" url="https://github.com/bluewave-labs/checkmate-agent"
label="Checkmate Monitoring Agent" label={t("common.monitoringAgentName")}
/> />
</Typography> </Typography>
</Stack> </Stack>
+1 -1
View File
@@ -71,7 +71,7 @@ const ServerUnreachable = () => {
gap={theme.spacing(4)} gap={theme.spacing(4)}
> >
<Logo style={{ borderRadius: theme.shape.borderRadius }} /> <Logo style={{ borderRadius: theme.shape.borderRadius }} />
<Typography sx={{ userSelect: "none" }}>Checkmate</Typography> <Typography sx={{ userSelect: "none" }}>{t("common.appName")}</Typography>
</Stack> </Stack>
<Stack <Stack
direction="row" direction="row"
+1 -1
View File
@@ -20,7 +20,7 @@ const SettingsAbout = () => {
</Typography> </Typography>
</Box> </Box>
<Box> <Box>
<Typography component="h2">Checkmate {2.1}</Typography> <Typography component="h2">{t("common.appName")} {2.1}</Typography>
<Typography sx={{ mt: theme.spacing(2), mb: theme.spacing(6), opacity: 0.6 }}> <Typography sx={{ mt: theme.spacing(2), mb: theme.spacing(6), opacity: 0.6 }}>
{t("settingsDevelopedBy")} {t("settingsDevelopedBy")}
</Typography> </Typography>
+4 -1
View File
@@ -1,4 +1,8 @@
{ {
"common": {
"appName": "Checkmate",
"monitoringAgentName": "Capture"
},
"dontHaveAccount": "", "dontHaveAccount": "",
"email": "", "email": "",
"forgotPassword": "", "forgotPassword": "",
@@ -17,7 +21,6 @@
"createPassword": "", "createPassword": "",
"createAPassword": "", "createAPassword": "",
"authRegisterAlreadyHaveAccount": "", "authRegisterAlreadyHaveAccount": "",
"commonAppName": "",
"authLoginEnterEmail": "", "authLoginEnterEmail": "",
"authRegisterTitle": "", "authRegisterTitle": "",
"authRegisterStepOneTitle": "", "authRegisterStepOneTitle": "",
+4 -1
View File
@@ -1,4 +1,8 @@
{ {
"common": {
"appName": "Checkmate",
"monitoringAgentName": "Capture"
},
"dontHaveAccount": "Noch kein Konto", "dontHaveAccount": "Noch kein Konto",
"email": "E-Mail", "email": "E-Mail",
"forgotPassword": "Passwort vergessen", "forgotPassword": "Passwort vergessen",
@@ -17,7 +21,6 @@
"createPassword": "Erstelle dein Passwort", "createPassword": "Erstelle dein Passwort",
"createAPassword": "Passwort", "createAPassword": "Passwort",
"authRegisterAlreadyHaveAccount": "Hast du schon eine Account?", "authRegisterAlreadyHaveAccount": "Hast du schon eine Account?",
"commonAppName": "Checkmate",
"authLoginEnterEmail": "", "authLoginEnterEmail": "",
"authRegisterTitle": "", "authRegisterTitle": "",
"authRegisterStepOneTitle": "", "authRegisterStepOneTitle": "",
+4 -1
View File
@@ -1,4 +1,8 @@
{ {
"common": {
"appName": "Checkmate",
"monitoringAgentName": "Capture"
},
"dontHaveAccount": "Don't have account", "dontHaveAccount": "Don't have account",
"email": "E-mail", "email": "E-mail",
"forgotPassword": "Forgot Password", "forgotPassword": "Forgot Password",
@@ -17,7 +21,6 @@
"createPassword": "Create your password", "createPassword": "Create your password",
"createAPassword": "Password", "createAPassword": "Password",
"authRegisterAlreadyHaveAccount": "Already have an account?", "authRegisterAlreadyHaveAccount": "Already have an account?",
"commonAppName": "Checkmate",
"authLoginEnterEmail": "Enter your email", "authLoginEnterEmail": "Enter your email",
"authRegisterTitle": "Create an account", "authRegisterTitle": "Create an account",
"authRegisterStepOneTitle": "Create your account", "authRegisterStepOneTitle": "Create your account",
+4 -1
View File
@@ -1,4 +1,8 @@
{ {
"common": {
"appName": "Checkmate",
"monitoringAgentName": "Capture"
},
"dontHaveAccount": "No tengo una cuenta", "dontHaveAccount": "No tengo una cuenta",
"email": "Correo electronico", "email": "Correo electronico",
"forgotPassword": "He olvidado mi contraseña", "forgotPassword": "He olvidado mi contraseña",
@@ -17,7 +21,6 @@
"createPassword": "Crear contraseña", "createPassword": "Crear contraseña",
"createAPassword": "Contraseña", "createAPassword": "Contraseña",
"authRegisterAlreadyHaveAccount": "Ya tienes un cuenta?", "authRegisterAlreadyHaveAccount": "Ya tienes un cuenta?",
"commonAppName": "",
"authLoginEnterEmail": "Introduce tu correo electronico", "authLoginEnterEmail": "Introduce tu correo electronico",
"authRegisterTitle": "Crear una cuenta", "authRegisterTitle": "Crear una cuenta",
"authRegisterStepOneTitle": "Crea tu cuenta", "authRegisterStepOneTitle": "Crea tu cuenta",
+4 -1
View File
@@ -1,4 +1,8 @@
{ {
"common": {
"appName": "Checkmate",
"monitoringAgentName": "Capture"
},
"dontHaveAccount": "Ei tiliä", "dontHaveAccount": "Ei tiliä",
"email": "Sähköposti", "email": "Sähköposti",
"forgotPassword": "Unohtunut salasana", "forgotPassword": "Unohtunut salasana",
@@ -17,7 +21,6 @@
"createPassword": "Luo salasanasi", "createPassword": "Luo salasanasi",
"createAPassword": "Salasana", "createAPassword": "Salasana",
"authRegisterAlreadyHaveAccount": "Onko sinulla jo tili?", "authRegisterAlreadyHaveAccount": "Onko sinulla jo tili?",
"commonAppName": "Checkmate",
"authLoginEnterEmail": "Syötä salasanasi", "authLoginEnterEmail": "Syötä salasanasi",
"authRegisterTitle": "Luo tili", "authRegisterTitle": "Luo tili",
"authRegisterStepOneTitle": "Luo tilisi", "authRegisterStepOneTitle": "Luo tilisi",
+4 -1
View File
@@ -1,4 +1,8 @@
{ {
"common": {
"appName": "Checkmate",
"monitoringAgentName": "Capture"
},
"dontHaveAccount": "Vous n'avez pas de compte", "dontHaveAccount": "Vous n'avez pas de compte",
"email": "E-mail", "email": "E-mail",
"forgotPassword": "Mot de passe oublié", "forgotPassword": "Mot de passe oublié",
@@ -17,7 +21,6 @@
"createPassword": "Créez votre mot de passe", "createPassword": "Créez votre mot de passe",
"createAPassword": "Créer un mot de passe", "createAPassword": "Créer un mot de passe",
"authRegisterAlreadyHaveAccount": "Vous avez un compte ?", "authRegisterAlreadyHaveAccount": "Vous avez un compte ?",
"commonAppName": "Checkmate",
"authLoginEnterEmail": "Entrez votre e-mail", "authLoginEnterEmail": "Entrez votre e-mail",
"authRegisterTitle": "Créer un compte", "authRegisterTitle": "Créer un compte",
"authRegisterStepOneTitle": "Créez votre compte", "authRegisterStepOneTitle": "Créez votre compte",
+4 -1
View File
@@ -1,4 +1,8 @@
{ {
"common": {
"appName": "Checkmate",
"monitoringAgentName": "Capture"
},
"dontHaveAccount": "Não tenho conta", "dontHaveAccount": "Não tenho conta",
"email": "E-mail", "email": "E-mail",
"forgotPassword": "Esqueci a senha", "forgotPassword": "Esqueci a senha",
@@ -17,7 +21,6 @@
"createPassword": "Criar sua senha", "createPassword": "Criar sua senha",
"createAPassword": "Senha", "createAPassword": "Senha",
"authRegisterAlreadyHaveAccount": "Já possui uma conta?", "authRegisterAlreadyHaveAccount": "Já possui uma conta?",
"commonAppName": "Checkmate",
"authLoginEnterEmail": "Insira seu e-mail", "authLoginEnterEmail": "Insira seu e-mail",
"authRegisterTitle": "Criar uma conta", "authRegisterTitle": "Criar uma conta",
"authRegisterStepOneTitle": "Crie sua conta", "authRegisterStepOneTitle": "Crie sua conta",
+4 -1
View File
@@ -1,4 +1,8 @@
{ {
"common": {
"appName": "Checkmate",
"monitoringAgentName": "Capture"
},
"dontHaveAccount": "Нет аккаунта", "dontHaveAccount": "Нет аккаунта",
"email": "Почта", "email": "Почта",
"forgotPassword": "Забыли пароль", "forgotPassword": "Забыли пароль",
@@ -17,7 +21,6 @@
"createPassword": "Создайте свой пароль", "createPassword": "Создайте свой пароль",
"createAPassword": "Создайте пароль", "createAPassword": "Создайте пароль",
"authRegisterAlreadyHaveAccount": "Уже есть аккаунт?", "authRegisterAlreadyHaveAccount": "Уже есть аккаунт?",
"commonAppName": "Checkmate",
"authLoginEnterEmail": "Введите свой email", "authLoginEnterEmail": "Введите свой email",
"authRegisterTitle": "Создать аккаунт", "authRegisterTitle": "Создать аккаунт",
"authRegisterStepOneTitle": "Создайте свой аккаут", "authRegisterStepOneTitle": "Создайте свой аккаут",
+4 -1
View File
@@ -1,4 +1,8 @@
{ {
"common": {
"appName": "Checkmate",
"monitoringAgentName": "Capture"
},
"dontHaveAccount": "Hesabınız yok mu", "dontHaveAccount": "Hesabınız yok mu",
"email": "E-posta", "email": "E-posta",
"forgotPassword": "Parolamı unuttum", "forgotPassword": "Parolamı unuttum",
@@ -17,7 +21,6 @@
"createPassword": "Parolanızı oluşturun", "createPassword": "Parolanızı oluşturun",
"createAPassword": "Bir parola oluşturun", "createAPassword": "Bir parola oluşturun",
"authRegisterAlreadyHaveAccount": "Zaten hesabınız var mı?", "authRegisterAlreadyHaveAccount": "Zaten hesabınız var mı?",
"commonAppName": "Checkmate",
"authLoginEnterEmail": "E-posta adresinizi girin", "authLoginEnterEmail": "E-posta adresinizi girin",
"authRegisterTitle": "Hesap oluştur", "authRegisterTitle": "Hesap oluştur",
"authRegisterStepOneTitle": "Hesabınızı oluşturun", "authRegisterStepOneTitle": "Hesabınızı oluşturun",
+4 -1
View File
@@ -1,4 +1,8 @@
{ {
"common": {
"appName": "Checkmate",
"monitoringAgentName": "Capture"
},
"dontHaveAccount": "沒有帳號", "dontHaveAccount": "沒有帳號",
"email": "E-mail", "email": "E-mail",
"forgotPassword": "忘記密碼", "forgotPassword": "忘記密碼",
@@ -17,7 +21,6 @@
"createPassword": "", "createPassword": "",
"createAPassword": "", "createAPassword": "",
"authRegisterAlreadyHaveAccount": "已經有帳號嗎?", "authRegisterAlreadyHaveAccount": "已經有帳號嗎?",
"commonAppName": "Checkmate",
"authLoginEnterEmail": "輸入您的 E-mail", "authLoginEnterEmail": "輸入您的 E-mail",
"authRegisterTitle": "建立帳號", "authRegisterTitle": "建立帳號",
"authRegisterStepOneTitle": "建立您的帳號", "authRegisterStepOneTitle": "建立您的帳號",