Skip to content

Commit 682ac10

Browse files
committed
Fix build errors: Add Indonesian locale support
- Fix Indonesian translation plural format in id-ID.json - Add "id-ID" to LOCALES constant in intl-constants.ts - Resolve TypeScript errors for Indonesian language support
1 parent e3c7897 commit 682ac10

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

renderer/intl/intl-constants.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
export const DEFAULT_LOCALE = "en-US";
2-
export const LOCALES = ["en-US", "es-MX", "zh-CN", "ru-RU", "uk-UA"] as const;
2+
export const LOCALES = [
3+
"en-US",
4+
"es-MX",
5+
"zh-CN",
6+
"id-ID",
7+
"ru-RU",
8+
"uk-UA",
9+
] as const;
310
export type Locale = (typeof LOCALES)[number];

renderer/intl/locales/en-US.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,9 @@
297297
"FvanT6": {
298298
"message": "Accounts"
299299
},
300+
"G5mLp2": {
301+
"message": "Bahasa Indonesia"
302+
},
300303
"GHoUMq": {
301304
"message": "Account Syncing: {progress}%"
302305
},

renderer/intl/locales/id-ID.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,7 @@
10161016
"description": "Custom fee must be a number greater than 0"
10171017
},
10181018
"8ZKRcK": {
1019-
"message": "{count, plural, =1 {asset} {assets} lainnya}",
1019+
"message": "{count, plural, =1 {asset} other {{count} assets lainnya}}",
10201020
"description": "{count, plural, =1 {asset} other {assets}}"
10211021
},
10221022
"AAQoj1": {

0 commit comments

Comments
 (0)