mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 12:04:08 +00:00
Add Chinese localization (#471)
* add zh-CN.yml for chinese * The files appear to use CRLF line endings instead of LF (Unix-style). * Add the missing entries to the zh-CN.yml file and include the Simplified Chinese option. * Fix grammatical errors Signed-off-by: jiang123574 <jiang123574@163.com> * Update languages_helper.rb Signed-off-by: jiang123574 <jiang123574@163.com> * Update 'SimpleFin' to 'SimpleFIN' in translations Signed-off-by: jiang123574 <jiang123574@163.com> * update zh-CN.yml * update zh-CN.yml * add new zh-CN.yml * CodeRabbit comments * Enable Banking i18n --------- Signed-off-by: jiang123574 <jiang123574@163.com> Co-authored-by: Juan José Mata <juanjo.mata@gmail.com>
This commit is contained in:
@@ -57,7 +57,7 @@ module LanguagesHelper
|
||||
tr: "Turkish",
|
||||
uk: "Ukrainian",
|
||||
vi: "Vietnamese",
|
||||
'zh-CN': "Chinese (Simplified)",
|
||||
'zh-CN': "简体中文",
|
||||
'zh-TW': "Chinese (Traditional)",
|
||||
af: "Afrikaans",
|
||||
az: "Azerbaijani",
|
||||
@@ -162,7 +162,8 @@ module LanguagesHelper
|
||||
"nb", # Norwegian Bokmål - 57 translation files
|
||||
"ca", # Catalan - 57 translation files
|
||||
"ro", # Romanian - 62 translation files
|
||||
"pt-BR" # Brazilian Portuguese - 60 translation files
|
||||
"pt-BR", # Brazilian Portuguese - 60 translation files
|
||||
"zh-CN" # Chinese (Simplified) - 59 translation files
|
||||
].freeze
|
||||
|
||||
COUNTRY_MAPPING = {
|
||||
|
||||
Reference in New Issue
Block a user