[i18n] Split settings locale to separate json files (#1986)

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
Chenlei Hu
2024-12-18 14:57:05 -08:00
committed by GitHub
parent abeafd5625
commit b1d02c6a7b
14 changed files with 1756 additions and 1749 deletions

View File

@@ -190,7 +190,7 @@ const handleSearch = (query: string) => {
const idLower = setting.id.toLowerCase()
const nameLower = setting.name.toLowerCase()
const translatedName = t(
`settingsDialog.${normalizeI18nKey(setting.id)}.name`
`settings.${normalizeI18nKey(setting.id)}.name`
).toLocaleLowerCase()
return (