Skip to content

Commit 3d4fbe4

Browse files
committed
Restore lexicographic ordering of items in i18n configurations
A convention has been established of ordering the lists of locale-related items in the configurations used by the project's internationalization system. Items were inserted at inappropriate locations by a previous commit.
1 parent bd26875 commit 3d4fbe4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

arduino-ide-extension/src/node/i18n/arduino-localization-contribution.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ export class ArduinoLocalizationContribution
2323
// ['id'], Does not have Transifex translations, but has a VS Code language pack available on Open VSX.
2424
['it'],
2525
['ja'],
26-
['zh-tw', 'zh-Hant'],
2726
['ko'],
2827
['nl'],
2928
['pl'],
@@ -32,6 +31,7 @@ export class ArduinoLocalizationContribution
3231
['tr'],
3332
['uk', 'uk_UA'],
3433
['zh-cn', 'zh'],
34+
['zh-tw', 'zh-Hant'],
3535
];
3636

3737
async registerLocalizations(registry: LocalizationRegistry): Promise<void> {

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
"vscode-language-pack-ru": "https://open-vsx.org/api/MS-CEINTL/vscode-language-pack-ru/1.70.0/file/MS-CEINTL.vscode-language-pack-ru-1.70.0.vsix",
9191
"vscode-language-pack-tr": "https://open-vsx.org/api/MS-CEINTL/vscode-language-pack-tr/1.70.0/file/MS-CEINTL.vscode-language-pack-tr-1.70.0.vsix",
9292
"vscode-language-pack-uk": "https://open-vsx.org/api/MS-CEINTL/vscode-language-pack-uk/1.48.3/file/MS-CEINTL.vscode-language-pack-uk-1.48.3.vsix",
93-
"vscode-language-pack-zh-hant": "https://open-vsx.org/api/MS-CEINTL/vscode-language-pack-zh-hant/1.70.0/file/MS-CEINTL.vscode-language-pack-zh-hant-1.70.0.vsix",
94-
"vscode-language-pack-zh-hans": "https://open-vsx.org/api/MS-CEINTL/vscode-language-pack-zh-hans/1.70.0/file/MS-CEINTL.vscode-language-pack-zh-hans-1.70.0.vsix"
93+
"vscode-language-pack-zh-hans": "https://open-vsx.org/api/MS-CEINTL/vscode-language-pack-zh-hans/1.70.0/file/MS-CEINTL.vscode-language-pack-zh-hans-1.70.0.vsix",
94+
"vscode-language-pack-zh-hant": "https://open-vsx.org/api/MS-CEINTL/vscode-language-pack-zh-hant/1.70.0/file/MS-CEINTL.vscode-language-pack-zh-hant-1.70.0.vsix"
9595
}
9696
}

0 commit comments

Comments
 (0)