aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/src/utilities
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/utilities')
-rw-r--r--frontend/src/utilities/languages.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/frontend/src/utilities/languages.ts b/frontend/src/utilities/languages.ts
index 1b59aa4e7..7885e9667 100644
--- a/frontend/src/utilities/languages.ts
+++ b/frontend/src/utilities/languages.ts
@@ -51,3 +51,7 @@ export function useLanguageFromCode3(code3: string) {
[data, code3],
);
}
+
+export const normalizeAudioLanguage = (name: string) => {
+ return name === "Chinese Simplified" ? "Chinese" : name;
+};