From e341df1e268a9235188c0c00611b9309871ae78d Mon Sep 17 00:00:00 2001 From: Deluan Date: Fri, 1 May 2020 10:43:49 -0400 Subject: [PATCH] Rename Chinese translation file to `zh` --- ui/src/i18n/index.js | 4 ++-- ui/src/i18n/{cn.js => zh.js} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename ui/src/i18n/{cn.js => zh.js} (100%) diff --git a/ui/src/i18n/index.js b/ui/src/i18n/index.js index 2b15d1ca..54df14c3 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