Add 🇨🇳 Chinese simplified (#310)

Thanks to omltcat for the translation!
This commit is contained in:
Riccardo Graziosi
2024-03-15 00:14:31 +01:00
committed by GitHub
parent 8a133ddbfe
commit 437262040a
3 changed files with 4 additions and 1 deletions

View File

@@ -162,6 +162,7 @@ const GeneralSiteSettingsP = ({
<option value="de">🇩🇪 Deutsch</option>
<option value="fr">🇫🇷 Français</option>
<option value="es">🇪🇸 Español</option>
<option value="zh-CN">🇨🇳 </option>
<option value="ru">🇷🇺 Русский</option>
<option value="vi">🇻🇳 Tiếng Việt</option>
</select>

View File

@@ -3,6 +3,7 @@ import I18n from "i18n-js"
I18n.translations = <%= I18n::JS.filtered_translations.to_json %>
I18n.locale = LOCALE
I18n.pluralization["zh-CN"] = function(count) { return ["other"] }
I18n.pluralization["vi"] = function(count) { return ["other"] }
export default I18n