diff options
author | LASER-Yi <[email protected]> | 2023-02-28 23:38:20 +0800 |
---|---|---|
committer | LASER-Yi <[email protected]> | 2023-02-28 23:38:49 +0800 |
commit | 051d37f96ebf400cd3dda645913fb9b93955b311 (patch) | |
tree | 44123a0b7f8460c22bc329cfc7aabb9e0218be28 /frontend/src/pages/Settings/Languages/index.tsx | |
parent | ef46ab9261797f2fb6f37e08ac4186d8c8bb0901 (diff) | |
download | bazarr-051d37f96ebf400cd3dda645913fb9b93955b311.tar.gz bazarr-051d37f96ebf400cd3dda645913fb9b93955b311.zip |
no log: Fix all non-camelCase variables
Diffstat (limited to 'frontend/src/pages/Settings/Languages/index.tsx')
-rw-r--r-- | frontend/src/pages/Settings/Languages/index.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/frontend/src/pages/Settings/Languages/index.tsx b/frontend/src/pages/Settings/Languages/index.tsx index 64c3e58b2..993820478 100644 --- a/frontend/src/pages/Settings/Languages/index.tsx +++ b/frontend/src/pages/Settings/Languages/index.tsx @@ -43,8 +43,8 @@ export function useLatestProfiles() { const SettingsLanguagesView: FunctionComponent = () => { const { data: languages } = useLanguages(); - const { data: und_audio_languages } = useEnabledLanguages(); - const { data: und_embedded_subtitles_languages } = useEnabledLanguages(); + const { data: undAudioLanguages } = useEnabledLanguages(); + const { data: undEmbeddedSubtitlesLanguages } = useEnabledLanguages(); return ( <Layout name="Languages"> <Section header="Subtitles Language"> @@ -83,7 +83,7 @@ const SettingsLanguagesView: FunctionComponent = () => { settingKey={defaultUndAudioLang} label="Treat unknown language audio track as (changing this will trigger missing subtitles calculation)" placeholder="Select languages" - options={und_audio_languages.map((v) => { + options={undAudioLanguages.map((v) => { return { label: v.name, value: v.code2 }; })} settingOptions={{ @@ -97,7 +97,7 @@ const SettingsLanguagesView: FunctionComponent = () => { settingKey={defaultUndEmbeddedSubtitlesLang} label="Treat unknown language embedded subtitles track as (changing this will trigger full subtitles indexation using cache)" placeholder="Select languages" - options={und_embedded_subtitles_languages.map((v) => { + options={undEmbeddedSubtitlesLanguages.map((v) => { return { label: v.name, value: v.code2 }; })} settingOptions={{ |