mirror of
https://github.com/jeffvli/feishin.git
synced 2026-07-09 20:19:58 +02:00
Use proper casing for i18n locales (#1998)
This commit is contained in:
@@ -62,7 +62,7 @@ export const PathSettings = memo(() => {
|
||||
return (
|
||||
<Stack>
|
||||
<Group>
|
||||
<Text>{t('setting.pathReplace', { postProcess: 'sentenceCase' })}</Text>
|
||||
<Text>{t('setting.pathReplace')}</Text>
|
||||
<ActionIcon
|
||||
icon="refresh"
|
||||
loading={randomSong.isFetching}
|
||||
@@ -83,9 +83,7 @@ export const PathSettings = memo(() => {
|
||||
setLocalPathReplace(value);
|
||||
debouncedSetPathReplace(value);
|
||||
}}
|
||||
placeholder={t('setting.pathReplace_optionRemovePrefix', {
|
||||
postProcess: 'sentenceCase',
|
||||
})}
|
||||
placeholder={t('setting.pathReplace_optionRemovePrefix')}
|
||||
value={localPathReplace}
|
||||
/>
|
||||
<TextInput
|
||||
@@ -94,9 +92,7 @@ export const PathSettings = memo(() => {
|
||||
setLocalPathReplaceWith(value);
|
||||
debouncedSetPathReplaceWith(value);
|
||||
}}
|
||||
placeholder={t('setting.pathReplace_optionAddPrefix', {
|
||||
postProcess: 'sentenceCase',
|
||||
})}
|
||||
placeholder={t('setting.pathReplace_optionAddPrefix')}
|
||||
value={localPathReplaceWith}
|
||||
/>
|
||||
</Group>
|
||||
|
||||
Reference in New Issue
Block a user