-
-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a test to make sure
locales
are properly sorted by their native…
… language name
- Loading branch information
1 parent
1ad08fc
commit bc8f024
Showing
2 changed files
with
9 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
// Order of locales matters, keep it sorted by the native language name | ||
export const locales = [ | ||
{ key: 'ar', name: 'العربية' }, | ||
{ key: 'zh-CN', name: '简体中文' }, | ||
{ key: 'de', name: 'Deutsch' }, | ||
{ key: 'en', name: 'English' }, | ||
{ key: 'es', name: 'Español' }, | ||
{ key: 'fr', name: 'Français' }, | ||
{ key: 'it', name: 'Italiano' }, | ||
{ key: 'hu', name: 'Magyar' }, | ||
{ key: 'nl', name: 'Nederlands' }, | ||
{ key: 'it', name: 'Italiano' }, | ||
{ key: 'pt', name: 'Português' }, | ||
{ key: 'pt-BR', name: 'Português (Brasil)' }, | ||
{ key: 'ru', name: 'Русский' }, | ||
{ key: 'vi', name: 'Tiếng Việt' }, | ||
{ key: 'ru', name: 'Русский' }, | ||
{ key: 'ar', name: 'العربية' }, | ||
{ key: 'zh-CN', name: '简体中文' }, | ||
] as const; |