convert EN localization to use proper casing, remove postprocessing from renderer

This commit is contained in:
jeffvli
2026-04-29 13:37:57 -07:00
parent e49e488b4c
commit 737f1afd76
193 changed files with 2269 additions and 3401 deletions
@@ -115,12 +115,8 @@ const LoginRoute = () => {
<PageHeader />
<Center style={{ height: '100%', width: '100vw' }}>
<Stack>
<TextTitle fw={600}>
{t('error.genericError', { postProcess: 'sentenceCase' })}
</TextTitle>
<Text fw={500}>
{t('error.serverNotSelectedError', { postProcess: 'sentenceCase' })}
</Text>
<TextTitle fw={600}>{t('error.genericError')}</TextTitle>
<Text fw={500}>{t('error.serverNotSelectedError')}</Text>
<Code block>{JSON.stringify(config, null, 2)}</Code>
</Stack>
</Center>
@@ -133,7 +129,7 @@ const LoginRoute = () => {
if (!authFunction) {
return toast.error({
message: t('error.invalidServer', { postProcess: 'sentenceCase' }),
message: t('error.invalidServer'),
});
}
@@ -151,7 +147,7 @@ const LoginRoute = () => {
if (!data) {
return toast.error({
message: t('error.authenticationFailed', { postProcess: 'sentenceCase' }),
message: t('error.authenticationFailed'),
});
}
@@ -195,7 +191,7 @@ const LoginRoute = () => {
}
toast.success({
message: t('form.addServer.success', { postProcess: 'sentenceCase' }),
message: t('form.addServer.success'),
});
if (localSettings && values.password) {
@@ -204,7 +200,6 @@ const LoginRoute = () => {
toast.error({
message: t('form.addServer.error', {
context: 'savePassword',
postProcess: 'sentenceCase',
}),
});
}
@@ -250,7 +245,6 @@ const LoginRoute = () => {
data-autofocus
label={t('form.addServer.input', {
context: 'username',
postProcess: 'titleCase',
})}
required
variant="filled"
@@ -259,7 +253,6 @@ const LoginRoute = () => {
<PasswordInput
label={t('form.addServer.input', {
context: 'password',
postProcess: 'titleCase',
})}
required
variant="filled"
@@ -277,7 +270,6 @@ const LoginRoute = () => {
>
{t('common.login', {
defaultValue: 'Login',
postProcess: 'titleCase',
})}
</Button>
</Stack>