focalboard/webapp
Colton Shaw cc06e0ff93
Updated lanquage selectors and fixed traditional chinese (#598)
* Updated lanquage selectors and fixed traditional chinese

#448 

- Modified the language selectors to remain the base language regardless of the translation.
- Traditional Chinese also had the wrong code and the name/code swapped.

* Removed the split on `-`

This was causing an issue with Chinese traditional / simplified.

* Updated supported lanquages for chinese

removed `zh` and replaced it with `zh-cn`. Modified the supported languages to match the `navigator.language` for chinese.

* Updated chinese lanquage codes

Updated the Chinese language codes to match the rest of the language codes.

* Fixing snapshots and fixing a deprecation problem

Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-06-21 11:51:11 +02:00
..
@custom_types
__mocks__
cypress Fixing cypress tests 2021-06-04 22:18:37 +02:00
html-templates
i18n Translations update from Weblate (#608) 2021-06-21 11:24:12 +02:00
src Updated lanquage selectors and fixed traditional chinese (#598) 2021-06-21 11:51:11 +02:00
static
.eslintignore
.eslintrc.json
.nvmrc
.prettierignore
.prettierrc.json
cypress.json
NOTICE.txt
package-lock.json Table unit tests (#554) 2021-06-18 08:52:36 -06:00
package.json Migrating some icons to Compass icons 2021-06-18 18:08:15 +02:00
tsconfig.json
tslint.json
webpack.common.js
webpack.dev.js
webpack.js