Skip to content

🎧 Your Personal Streaming Service

Rename Chinese translation file to `zh`

Deluane341df1e268a
diff --git a/ui/src/i18n/index.js b/ui/src/i18n/index.js
index 2b15d1cac..54df14c34 100644
--- a/ui/src/i18n/index.js
+++ b/ui/src/i18n/index.js
@@ -1,6 +1,6 @@
import deepmerge from 'deepmerge'
import en from './en'
-import cn from './cn'
+import zh from './zh'
import fr from './fr'
import it from './it'
import nl from './nl'
@@ -12,7 +12,7 @@ const addLanguages = (lang) => {
const languages = { en }
// Add new languages to the object below (please keep alphabetic sort)
-addLanguages({ cn, fr, it, nl, pt })
+addLanguages({ zh, fr, it, nl, pt })
// "Hack" to make "albumSongs" resource use the same translations as "song"
Object.keys(languages).forEach(
diff --git a/ui/src/i18n/cn.js b/ui/src/i18n/zh.js
similarity index 100%
rename from ui/src/i18n/cn.js
rename to ui/src/i18n/zh.js