summaryrefslogtreecommitdiffhomepage
path: root/frontend/src/pages
diff options
context:
space:
mode:
authorAnderson Shindy Oki <[email protected]>2024-08-25 22:46:57 +0900
committerGitHub <[email protected]>2024-08-25 22:46:57 +0900
commit4887066000a461d2026e95ba8d493bd667d9bfb2 (patch)
tree660b7092dcfd8a99373f6d5eb2ef2b2fdda05829 /frontend/src/pages
parent609349b4002290e771935c7e6d02263c3fdd7ce4 (diff)
downloadbazarr-4887066000a461d2026e95ba8d493bd667d9bfb2.tar.gz
bazarr-4887066000a461d2026e95ba8d493bd667d9bfb2.zip
Fixed chinese audio language (#2632)
Diffstat (limited to 'frontend/src/pages')
-rw-r--r--frontend/src/pages/views/ItemOverview.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/frontend/src/pages/views/ItemOverview.tsx b/frontend/src/pages/views/ItemOverview.tsx
index d03da3b80..36d296850 100644
--- a/frontend/src/pages/views/ItemOverview.tsx
+++ b/frontend/src/pages/views/ItemOverview.tsx
@@ -31,6 +31,7 @@ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { Language } from "@/components/bazarr";
import { BuildKey } from "@/utilities";
import {
+ normalizeAudioLanguage,
useLanguageProfileBy,
useProfileItemsToLanguages,
} from "@/utilities/languages";
@@ -87,7 +88,7 @@ const ItemOverview: FunctionComponent<Props> = (props) => {
icon={faMusic}
title="Audio Language"
>
- {v.name}
+ {normalizeAudioLanguage(v.name)}
</ItemBadge>
)) ?? [],
[item?.audio_language],