@orderly.network/i18n 2.3.2 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +42 -1
- package/dist/index.d.ts +42 -1
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/locale.csv +46 -5
- package/dist/locales/de.json +44 -3
- package/dist/locales/en.json +46 -5
- package/dist/locales/es.json +44 -3
- package/dist/locales/fr.json +44 -3
- package/dist/locales/id.json +44 -3
- package/dist/locales/it.json +44 -3
- package/dist/locales/ja.json +44 -3
- package/dist/locales/ko.json +44 -3
- package/dist/locales/nl.json +44 -3
- package/dist/locales/pl.json +44 -3
- package/dist/locales/pt.json +44 -3
- package/dist/locales/ru.json +44 -3
- package/dist/locales/tr.json +44 -3
- package/dist/locales/uk.json +44 -3
- package/dist/locales/vi.json +44 -3
- package/dist/locales/zh.json +44 -3
- package/package.json +2 -2
- package/script/diffCsv.js +21 -2
package/dist/locales/tr.json
CHANGED
|
@@ -45,6 +45,7 @@
|
|
|
45
45
|
"common.notional": "Nominal",
|
|
46
46
|
"common.fee": "Ücret",
|
|
47
47
|
"common.fees": "Ücretler",
|
|
48
|
+
"common.orderPrice": "Emir fiyatı",
|
|
48
49
|
"common.avgPrice": "Ort. fiyat",
|
|
49
50
|
"common.avgOpen": "Ort. açılış",
|
|
50
51
|
"common.avgClose": "Ort. kapanış",
|
|
@@ -107,6 +108,7 @@
|
|
|
107
108
|
"markets.favorites.tabs.maxName": "Liste adı 15 karakteri geçemez",
|
|
108
109
|
"markets.favorites.tabs.delete.dialog.title": "Listeyi sil",
|
|
109
110
|
"markets.favorites.tabs.delete.dialog.description": "{{name}} listesini silmek istediğinizden emin misiniz?",
|
|
111
|
+
"markets.favorites.addFavorites": "Favorilere ekle",
|
|
110
112
|
"markets.column.market": "Piyasa",
|
|
111
113
|
"markets.column.24hChange": "24s değişim",
|
|
112
114
|
"markets.column.24hVolume": "24s hacim",
|
|
@@ -259,6 +261,8 @@
|
|
|
259
261
|
"positions.limitClose.description": "{{quantity}} {{base}} pozisyonunu limit fiyatta kapatmayı kabul ediyorsunuz.",
|
|
260
262
|
"positions.marketClose": "Piyasa kapatma",
|
|
261
263
|
"positions.marketClose.description": "{{quantity}} {{base}} pozisyonunu piyasa fiyatında kapatmayı kabul ediyorsunuz.",
|
|
264
|
+
"positions.limitClose.errors.exceed.title": "Pozisyon kapatma limiti aşıldı",
|
|
265
|
+
"positions.limitClose.errors.exceed.description": "{{quantity}} {{symbol}} pozisyonu kapatılamıyor. Kapatma başına izin verilen maksimum miktar {{maxQuantity}} {{symbol}}.",
|
|
262
266
|
"positions.history.status.closed": "Kapalı",
|
|
263
267
|
"positions.history.status.partialClosed": "Kısmen kapalı",
|
|
264
268
|
"positions.history.type.adl": "Adl",
|
|
@@ -290,7 +294,7 @@
|
|
|
290
294
|
"orders.status.canceled.toast.title": "Emir iptal edildi",
|
|
291
295
|
"orders.status.rejected.toast.title": "Emir reddedildi",
|
|
292
296
|
"orders.status.replaced.toast.title": "Emir düzenlendi",
|
|
293
|
-
"orders.
|
|
297
|
+
"orders.status.scaledSubOrderOpened.toast.title": "Ölçekli emir: alt emir açıldı",
|
|
294
298
|
"orders.column.fill&Quantity": "Doldurulan / Miktar",
|
|
295
299
|
"orders.column.triggerPrice": "Tetikleme fiyatı",
|
|
296
300
|
"orders.column.orderTime": "Emir zamanı",
|
|
@@ -358,6 +362,24 @@
|
|
|
358
362
|
"orderEntry.orderType.postOnly": "Sadece gönder",
|
|
359
363
|
"orderEntry.orderType.ioc": "IOC",
|
|
360
364
|
"orderEntry.orderType.fok": "FOK",
|
|
365
|
+
"orderEntry.orderType.scaledOrder": "Ölçekli emir",
|
|
366
|
+
"orderEntry.upperPrice": "Üst fiyat",
|
|
367
|
+
"orderEntry.lowerPrice": "Alt fiyat",
|
|
368
|
+
"orderEntry.skew": "Eğim",
|
|
369
|
+
"orderEntry.totalOrders": "Toplam emir",
|
|
370
|
+
"orderEntry.totalQuantity": "Toplam miktar",
|
|
371
|
+
"orderEntry.quantityDistribution": "Miktar dağılımı",
|
|
372
|
+
"orderEntry.quantityDistribution.description": "Emir büyüklüğünün fiyat seviyeleri arasındaki dağılımını kontrol eder.",
|
|
373
|
+
"orderEntry.quantityDistribution.formula": "Büyüklük Eğimi = (En yüksek fiyattaki büyüklük) ÷ (En düşük fiyattaki büyüklük)",
|
|
374
|
+
"orderEntry.distributionType.flat": "Düz",
|
|
375
|
+
"orderEntry.distributionType.ascending": "Artan",
|
|
376
|
+
"orderEntry.distributionType.ascending.abbr": "Art.",
|
|
377
|
+
"orderEntry.distributionType.descending": "Azalan",
|
|
378
|
+
"orderEntry.distributionType.descending.abbr": "Az.",
|
|
379
|
+
"orderEntry.distributionType.custom": "Özel",
|
|
380
|
+
"orderEntry.distributionType.flat.description": "Aralık boyunca eşit emir dağılımı.",
|
|
381
|
+
"orderEntry.distributionType.ascending.description": "Daha yüksek fiyat seviyelerine daha büyük hacim tahsisi.",
|
|
382
|
+
"orderEntry.distributionType.descending.description": "Daha düşük fiyat seviyelerine daha büyük hacim tahsisi.",
|
|
361
383
|
"orderEntry.bbo": "BBO",
|
|
362
384
|
"orderEntry.bbo.counterparty1": "Karşı taraf 1",
|
|
363
385
|
"orderEntry.bbo.counterparty5": "Karşı taraf 5",
|
|
@@ -367,6 +389,7 @@
|
|
|
367
389
|
"orderEntry.estLiqPrice": "Tah. lik. fiyatı",
|
|
368
390
|
"orderEntry.disableOrderConfirm": "Emir onayını devre dışı bırak",
|
|
369
391
|
"orderEntry.orderConfirm": "Emir onayı",
|
|
392
|
+
"orderEntry.confirmScaledOrder": "Ölçekli emiri onayla",
|
|
370
393
|
"orderEntry.hidden": "Gizli",
|
|
371
394
|
"orderEntry.keepVisible": "Görünür tut",
|
|
372
395
|
"orderEntry.maxBuy": "Maks satın alma",
|
|
@@ -391,11 +414,26 @@
|
|
|
391
414
|
"orderEntry.slTriggerPrice.error.min": "SL Fiyatı {{value}}'den büyük olmalıdır",
|
|
392
415
|
"orderEntry.slTriggerPrice.error.max": "SL Fiyatı {{value}}'den az olmalıdır",
|
|
393
416
|
"orderEntry.total.error.min": "Emir değeri {{value}} USDC'den büyük veya eşit olmalıdır",
|
|
417
|
+
"orderEntry.upperPrice.error.required": "Üst fiyat gereklidir",
|
|
418
|
+
"orderEntry.upperPrice.error.min": "Üst fiyat {{value}} değerinden büyük olmalıdır",
|
|
419
|
+
"orderEntry.upperPrice.error.max": "Üst fiyat {{value}} değerinden küçük olmalıdır",
|
|
420
|
+
"orderEntry.lowerPrice.error.required": "Alt fiyat gereklidir",
|
|
421
|
+
"orderEntry.lowerPrice.error.min": "Alt fiyat {{value}} değerinden büyük olmalıdır",
|
|
422
|
+
"orderEntry.lowerPrice.error.max": "Alt fiyat üst fiyattan küçük olmalıdır",
|
|
423
|
+
"orderEntry.totalOrders.error.required": "Toplam emir sayısı gereklidir",
|
|
424
|
+
"orderEntry.totalOrders.error.range": "Toplam emir sayısı 2 ile 20 arasında olmalıdır",
|
|
425
|
+
"orderEntry.skew.error.required": "Eğim gereklidir",
|
|
426
|
+
"orderEntry.skew.error.min": "Eğim {{value}} değerinden büyük olmalıdır",
|
|
427
|
+
"orderEntry.skew.error.max": "Eğim {{value}} değerinden küçük olmalıdır",
|
|
394
428
|
"orderEntry.slippage": "Kayma",
|
|
395
429
|
"orderEntry.slippage.est": "Tahmini",
|
|
396
430
|
"orderEntry.slippage.tips": "Fiyat bu yüzde oranından daha fazla olumsuz değişirse işleminiz geri alınacaktır.",
|
|
397
431
|
"orderEntry.slippage.error.exceed": "Mevcut giriş değeri %3'ü geçemez",
|
|
398
432
|
"orderEntry.slippage.error.max": "Tahmini kayma, izin verilen maksimum kaymayı aşıyor.",
|
|
433
|
+
"orderEntry.confirmScaledOrder.orderPrice.warning": "Bu emir mevcut piyasa fiyatına göre hemen gerçekleştirilecektir",
|
|
434
|
+
"orderEntry.scaledOrder.fullySuccessful": "Ölçekli emir yerleştirildi: {{total}} emir başarıyla gönderildi.",
|
|
435
|
+
"orderEntry.scaledOrder.partiallySuccessful": "Ölçekli emir kısmen gönderildi: {{total}} emirden {{successCount}} tanesi yerleştirildi.",
|
|
436
|
+
"orderEntry.scaledOrder.allFailed": "Ölçekli emir başarısız. Hiçbir emir yerleştirilmedi.",
|
|
399
437
|
"leverage.maxAccountLeverage": "Maks hesap kaldıracı",
|
|
400
438
|
"leverage.accountLeverage": "Hesap kaldıracı",
|
|
401
439
|
"leverage.currentLeverage": "Mevcut kaldıraç",
|
|
@@ -572,8 +610,8 @@
|
|
|
572
610
|
"affiliate.referralCode.bound": "Yönlendirme kodu bağlandı",
|
|
573
611
|
"affiliate.referralCode.notExist": "Bu yönlendirme kodu mevcut değil.",
|
|
574
612
|
"affiliate.process.title": "Ortak olmak kolay",
|
|
575
|
-
"affiliate.process.step1.title": "
|
|
576
|
-
"affiliate.process.step1.description": "
|
|
613
|
+
"affiliate.process.step1.title": "$10,000+ işlem yapın veya başvurun",
|
|
614
|
+
"affiliate.process.step1.description": "Otomatik olarak referans kodu kazanın ($10,000'den $0 tamamlandı), veya form aracılığıyla daha yüksek oran için başvurun.",
|
|
577
615
|
"affiliate.process.step1.volumeEq0.title": "Otomatik referans kodu al veya başvur",
|
|
578
616
|
"affiliate.process.step1.volumeEq0.description": "İlk işleminizden sonra referans kodunuz kullanıma hazır olacaktır. Form aracılığıyla daha yüksek bir oran için başvurabilirsiniz.",
|
|
579
617
|
"affiliate.process.step1.volumeGt0.title": "${{requireVolume}}+ işlem yap veya başvur",
|
|
@@ -690,6 +728,9 @@
|
|
|
690
728
|
"maintenance.dialog.description": "Üzgünüz, {{brokerName}} planlı bir güncelleme nedeniyle geçici olarak kullanılamıyor. Hizmetin {{endDate}} tarihinde tekrar kullanılabilir olması bekleniyor.",
|
|
691
729
|
"maintenance.tips.description": "{{brokerName}}, {{startDate}} ile {{endDate}} arasında planlı bir güncelleme nedeniyle geçici olarak kullanılamayacak.",
|
|
692
730
|
"restrictedInfo.description.default": " {{brokerName}}'e kısıtlı bir ülkeye ait IP adresinden ({{ip}}) erişiyorsunuz.",
|
|
731
|
+
"restrictedInfo.accessRestricted": "Erişim Kısıtlı",
|
|
732
|
+
"restrictedInfo.accessRestricted.description": "Yasa ve düzenlemeler nedeniyle, şu anda Amerika Birleşik Devletleri'nde faaliyet göstermemekteyiz. Platformumuzu kullanmaya devam ederek, kullanım süresi boyunca Amerika Birleşik Devletleri'nde ikamet etmediğinizi beyan ve garanti edersiniz.",
|
|
733
|
+
"restrictedInfo.accessRestricted.agree": "Anlıyorum ve kabul ediyorum",
|
|
693
734
|
"subAccount.modal.title": "Hesap değiştir",
|
|
694
735
|
"subAccount.modal.switch.success.description": "Hesap değiştirme başarılı",
|
|
695
736
|
"subAccount.modal.mainAccount.title": "Ana hesap",
|
package/dist/locales/uk.json
CHANGED
|
@@ -45,6 +45,7 @@
|
|
|
45
45
|
"common.notional": "Номінал",
|
|
46
46
|
"common.fee": "Комісія",
|
|
47
47
|
"common.fees": "Комісії",
|
|
48
|
+
"common.orderPrice": "Ціна ордера",
|
|
48
49
|
"common.avgPrice": "Серед. ціна",
|
|
49
50
|
"common.avgOpen": "Серед. відкриття",
|
|
50
51
|
"common.avgClose": "Серед. закриття",
|
|
@@ -107,6 +108,7 @@
|
|
|
107
108
|
"markets.favorites.tabs.maxName": "Назва списку не може перевищувати 15 символів",
|
|
108
109
|
"markets.favorites.tabs.delete.dialog.title": "Видалити список",
|
|
109
110
|
"markets.favorites.tabs.delete.dialog.description": "Ви впевнені, що хочете видалити {{name}}?",
|
|
111
|
+
"markets.favorites.addFavorites": "Додати до обраного",
|
|
110
112
|
"markets.column.market": "Ринок",
|
|
111
113
|
"markets.column.24hChange": "Зміна за 24г",
|
|
112
114
|
"markets.column.24hVolume": "Об'єм за 24г",
|
|
@@ -259,6 +261,8 @@
|
|
|
259
261
|
"positions.limitClose.description": "Ви погоджуєтесь закрити {{quantity}} {{base}} позицію за лімітною ціною.",
|
|
260
262
|
"positions.marketClose": "Ринкове закриття",
|
|
261
263
|
"positions.marketClose.description": "Ви погоджуєтесь закрити {{quantity}} {{base}} позицію за ринковою ціною.",
|
|
264
|
+
"positions.limitClose.errors.exceed.title": "Перевищено ліміт закриття позиції",
|
|
265
|
+
"positions.limitClose.errors.exceed.description": "Неможливо закрити позицію {{quantity}} {{symbol}}. Максимально дозволений обсяг на одне закриття {{maxQuantity}} {{symbol}}.",
|
|
262
266
|
"positions.history.status.closed": "Закрита",
|
|
263
267
|
"positions.history.status.partialClosed": "Частково закрита",
|
|
264
268
|
"positions.history.type.adl": "ADL",
|
|
@@ -290,7 +294,7 @@
|
|
|
290
294
|
"orders.status.canceled.toast.title": "Ордер скасовано",
|
|
291
295
|
"orders.status.rejected.toast.title": "Ордер відхилено",
|
|
292
296
|
"orders.status.replaced.toast.title": "Ордер відредаговано",
|
|
293
|
-
"orders.
|
|
297
|
+
"orders.status.scaledSubOrderOpened.toast.title": "Масштабований ордер: відкрито підордер",
|
|
294
298
|
"orders.column.fill&Quantity": "Виконано / Кількість",
|
|
295
299
|
"orders.column.triggerPrice": "Тригерна ціна",
|
|
296
300
|
"orders.column.orderTime": "Час ордера",
|
|
@@ -358,6 +362,24 @@
|
|
|
358
362
|
"orderEntry.orderType.postOnly": "Тільки розміщення",
|
|
359
363
|
"orderEntry.orderType.ioc": "IOC",
|
|
360
364
|
"orderEntry.orderType.fok": "FOK",
|
|
365
|
+
"orderEntry.orderType.scaledOrder": "Масштабований ордер",
|
|
366
|
+
"orderEntry.upperPrice": "Верхня ціна",
|
|
367
|
+
"orderEntry.lowerPrice": "Нижня ціна",
|
|
368
|
+
"orderEntry.skew": "Перекіс",
|
|
369
|
+
"orderEntry.totalOrders": "Всього ордерів",
|
|
370
|
+
"orderEntry.totalQuantity": "Загальна кількість",
|
|
371
|
+
"orderEntry.quantityDistribution": "Розподіл кількості",
|
|
372
|
+
"orderEntry.quantityDistribution.description": "Контролює розподіл розміру ордера між рівнями цін.",
|
|
373
|
+
"orderEntry.quantityDistribution.formula": "Перекіс розміру = (Розмір за найвищою ціною) ÷ (Розмір за найнижчою ціною)",
|
|
374
|
+
"orderEntry.distributionType.flat": "Рівномірний",
|
|
375
|
+
"orderEntry.distributionType.ascending": "За зростанням",
|
|
376
|
+
"orderEntry.distributionType.ascending.abbr": "Зрост.",
|
|
377
|
+
"orderEntry.distributionType.descending": "За спаданням",
|
|
378
|
+
"orderEntry.distributionType.descending.abbr": "Спад.",
|
|
379
|
+
"orderEntry.distributionType.custom": "Користувацький",
|
|
380
|
+
"orderEntry.distributionType.flat.description": "Рівномірний розподіл ордерів по діапазону.",
|
|
381
|
+
"orderEntry.distributionType.ascending.description": "Більший розмір на вищих цінових рівнях.",
|
|
382
|
+
"orderEntry.distributionType.descending.description": "Більший розмір на нижчих цінових рівнях.",
|
|
361
383
|
"orderEntry.bbo": "BBO",
|
|
362
384
|
"orderEntry.bbo.counterparty1": "Контрагент 1",
|
|
363
385
|
"orderEntry.bbo.counterparty5": "Контрагент 5",
|
|
@@ -367,6 +389,7 @@
|
|
|
367
389
|
"orderEntry.estLiqPrice": "Очікувана ціна ліквід.",
|
|
368
390
|
"orderEntry.disableOrderConfirm": "Вимкнути підтвердження ордера",
|
|
369
391
|
"orderEntry.orderConfirm": "Підтвердження ордера",
|
|
392
|
+
"orderEntry.confirmScaledOrder": "Підтвердити масштабований ордер",
|
|
370
393
|
"orderEntry.hidden": "Приховано",
|
|
371
394
|
"orderEntry.keepVisible": "Залишити видимим",
|
|
372
395
|
"orderEntry.maxBuy": "Макс. покупка",
|
|
@@ -391,11 +414,26 @@
|
|
|
391
414
|
"orderEntry.slTriggerPrice.error.min": "Ціна SL повинна бути більшою за {{value}}",
|
|
392
415
|
"orderEntry.slTriggerPrice.error.max": "Ціна SL повинна бути меншою за {{value}}",
|
|
393
416
|
"orderEntry.total.error.min": "Вартість ордера повинна бути більшою або дорівнювати {{value}} USDC",
|
|
417
|
+
"orderEntry.upperPrice.error.required": "Потрібна верхня ціна",
|
|
418
|
+
"orderEntry.upperPrice.error.min": "Верхня ціна має бути більша за {{value}}",
|
|
419
|
+
"orderEntry.upperPrice.error.max": "Верхня ціна має бути менша за {{value}}",
|
|
420
|
+
"orderEntry.lowerPrice.error.required": "Потрібна нижня ціна",
|
|
421
|
+
"orderEntry.lowerPrice.error.min": "Нижня ціна має бути більша за {{value}}",
|
|
422
|
+
"orderEntry.lowerPrice.error.max": "Нижня ціна має бути менша за верхню ціну",
|
|
423
|
+
"orderEntry.totalOrders.error.required": "Потрібна загальна кількість ордерів",
|
|
424
|
+
"orderEntry.totalOrders.error.range": "Загальна кількість ордерів має бути від 2 до 20",
|
|
425
|
+
"orderEntry.skew.error.required": "Потрібен перекіс",
|
|
426
|
+
"orderEntry.skew.error.min": "Перекіс має бути більшим за {{value}}",
|
|
427
|
+
"orderEntry.skew.error.max": "Перекіс має бути меншим за {{value}}",
|
|
394
428
|
"orderEntry.slippage": "Прослизання",
|
|
395
429
|
"orderEntry.slippage.est": "Оцінка",
|
|
396
430
|
"orderEntry.slippage.tips": "Ваша транзакція буде скасована, якщо ціна зміниться несприятливо більш ніж на цей відсоток.",
|
|
397
431
|
"orderEntry.slippage.error.exceed": "Поточне введене значення не може перевищувати 3%",
|
|
398
432
|
"orderEntry.slippage.error.max": "Оцінене прослизання перевищує максимально дозволене прослизання.",
|
|
433
|
+
"orderEntry.confirmScaledOrder.orderPrice.warning": "Цей ордер буде виконано негайно за поточною ринковою ціною",
|
|
434
|
+
"orderEntry.scaledOrder.fullySuccessful": "Масштабований ордер розміщено: {{total}} ордерів успішно надіслано.",
|
|
435
|
+
"orderEntry.scaledOrder.partiallySuccessful": "Масштабований ордер частково надіслано: розміщено {{successCount}} з {{total}} ордерів.",
|
|
436
|
+
"orderEntry.scaledOrder.allFailed": "Масштабований ордер не виконано. Жодного ордера не було розміщено.",
|
|
399
437
|
"leverage.maxAccountLeverage": "Максимальне кредитне плече рахунку",
|
|
400
438
|
"leverage.accountLeverage": "Кредитне плече рахунку",
|
|
401
439
|
"leverage.currentLeverage": "Поточне кредитне плече",
|
|
@@ -572,8 +610,8 @@
|
|
|
572
610
|
"affiliate.referralCode.bound": "Реферальний код прив'язано",
|
|
573
611
|
"affiliate.referralCode.notExist": "Цей реферальний код не існує.",
|
|
574
612
|
"affiliate.process.title": "Стати партнером легко",
|
|
575
|
-
"affiliate.process.step1.title": "
|
|
576
|
-
"affiliate.process.step1.description": "
|
|
613
|
+
"affiliate.process.step1.title": "Торгуйте на $10,000+ або подайте заявку",
|
|
614
|
+
"affiliate.process.step1.description": "Автоматично отримайте реферальний код ($0 з $10,000 виконано), або подайте заявку на більш високу ставку через форму.",
|
|
577
615
|
"affiliate.process.step1.volumeEq0.title": "Отримати автоматичний реферальний код або подати заявку",
|
|
578
616
|
"affiliate.process.step1.volumeEq0.description": "Ваш реферальний код буде готовий до використання після здійснення першої угоди. Ви можете подати заявку на більш високу ставку через форму.",
|
|
579
617
|
"affiliate.process.step1.volumeGt0.title": "Торгувати на ${{requireVolume}}+ або подати заявку",
|
|
@@ -690,6 +728,9 @@
|
|
|
690
728
|
"maintenance.dialog.description": "Вибачте, {{brokerName}} тимчасово недоступний через заплановане оновлення. Очікується, що сервіс буде відновлено до {{endDate}}.",
|
|
691
729
|
"maintenance.tips.description": "{{brokerName}} буде тимчасово недоступний через заплановане оновлення з {{startDate}} до {{endDate}}.",
|
|
692
730
|
"restrictedInfo.description.default": "Ви отримуєте доступ до {{brokerName}} з IP-адреси ({{ip}}), пов'язаної з обмеженою країною.",
|
|
731
|
+
"restrictedInfo.accessRestricted": "Доступ обмежено",
|
|
732
|
+
"restrictedInfo.accessRestricted.description": "Відповідно до законів та нормативних актів, ми наразі не працюємо в Сполучених Штатах. Продовжуючи користуватися нашою платформою, ви заявляєте та гарантуєте, що не є резидентом Сполучених Штатів протягом усього періоду використання.",
|
|
733
|
+
"restrictedInfo.accessRestricted.agree": "Я розумію та погоджуюся",
|
|
693
734
|
"subAccount.modal.title": "Змінити акаунт",
|
|
694
735
|
"subAccount.modal.switch.success.description": "Успішне перемикання облікового запису",
|
|
695
736
|
"subAccount.modal.mainAccount.title": "Головний рахунок",
|
package/dist/locales/vi.json
CHANGED
|
@@ -45,6 +45,7 @@
|
|
|
45
45
|
"common.notional": "Giá trị danh nghĩa",
|
|
46
46
|
"common.fee": "Phí",
|
|
47
47
|
"common.fees": "Phí",
|
|
48
|
+
"common.orderPrice": "Giá đặt lệnh",
|
|
48
49
|
"common.avgPrice": "Giá trung bình",
|
|
49
50
|
"common.avgOpen": "Giá mở trung bình",
|
|
50
51
|
"common.avgClose": "Giá đóng trung bình",
|
|
@@ -107,6 +108,7 @@
|
|
|
107
108
|
"markets.favorites.tabs.maxName": "Tên danh sách không được vượt quá 15 ký tự",
|
|
108
109
|
"markets.favorites.tabs.delete.dialog.title": "Xóa danh sách",
|
|
109
110
|
"markets.favorites.tabs.delete.dialog.description": "Bạn có chắc chắn muốn xóa {{name}} không?",
|
|
111
|
+
"markets.favorites.addFavorites": "Thêm vào yêu thích",
|
|
110
112
|
"markets.column.market": "Thị trường",
|
|
111
113
|
"markets.column.24hChange": "Thay đổi 24h",
|
|
112
114
|
"markets.column.24hVolume": "Khối lượng 24h",
|
|
@@ -259,6 +261,8 @@
|
|
|
259
261
|
"positions.limitClose.description": "Bạn đồng ý đóng vị thế {{quantity}} {{base}} ở giá giới hạn.",
|
|
260
262
|
"positions.marketClose": "Đóng thị trường",
|
|
261
263
|
"positions.marketClose.description": "Bạn đồng ý đóng vị thế {{quantity}} {{base}} ở giá thị trường.",
|
|
264
|
+
"positions.limitClose.errors.exceed.title": "Vượt quá giới hạn đóng vị thế",
|
|
265
|
+
"positions.limitClose.errors.exceed.description": "Không thể đóng vị thế {{quantity}} {{symbol}}. Số lượng tối đa cho phép mỗi lần đóng là {{maxQuantity}} {{symbol}}.",
|
|
262
266
|
"positions.history.status.closed": "Đã đóng",
|
|
263
267
|
"positions.history.status.partialClosed": "Đã đóng một phần",
|
|
264
268
|
"positions.history.type.adl": "ADL",
|
|
@@ -290,7 +294,7 @@
|
|
|
290
294
|
"orders.status.canceled.toast.title": "Lệnh đã hủy",
|
|
291
295
|
"orders.status.rejected.toast.title": "Lệnh đã từ chối",
|
|
292
296
|
"orders.status.replaced.toast.title": "Lệnh đã chỉnh sửa",
|
|
293
|
-
"orders.
|
|
297
|
+
"orders.status.scaledSubOrderOpened.toast.title": "Lệnh theo tỷ lệ: đã mở lệnh con",
|
|
294
298
|
"orders.column.fill&Quantity": "Đã khớp / Số lượng",
|
|
295
299
|
"orders.column.triggerPrice": "Giá kích hoạt",
|
|
296
300
|
"orders.column.orderTime": "Thời gian lệnh",
|
|
@@ -358,6 +362,24 @@
|
|
|
358
362
|
"orderEntry.orderType.postOnly": "Chỉ đăng",
|
|
359
363
|
"orderEntry.orderType.ioc": "IOC",
|
|
360
364
|
"orderEntry.orderType.fok": "FOK",
|
|
365
|
+
"orderEntry.orderType.scaledOrder": "Lệnh theo tỷ lệ",
|
|
366
|
+
"orderEntry.upperPrice": "Giá cao nhất",
|
|
367
|
+
"orderEntry.lowerPrice": "Giá thấp nhất",
|
|
368
|
+
"orderEntry.skew": "Độ lệch",
|
|
369
|
+
"orderEntry.totalOrders": "Tổng số lệnh",
|
|
370
|
+
"orderEntry.totalQuantity": "Tổng số lượng",
|
|
371
|
+
"orderEntry.quantityDistribution": "Phân phối số lượng",
|
|
372
|
+
"orderEntry.quantityDistribution.description": "Kiểm soát phân phối kích thước lệnh giữa các mức giá.",
|
|
373
|
+
"orderEntry.quantityDistribution.formula": "Độ lệch kích thước = (Kích thước ở giá cao nhất) ÷ (Kích thước ở giá thấp nhất)",
|
|
374
|
+
"orderEntry.distributionType.flat": "Đều",
|
|
375
|
+
"orderEntry.distributionType.ascending": "Tăng dần",
|
|
376
|
+
"orderEntry.distributionType.ascending.abbr": "Tăng",
|
|
377
|
+
"orderEntry.distributionType.descending": "Giảm dần",
|
|
378
|
+
"orderEntry.distributionType.descending.abbr": "Giảm",
|
|
379
|
+
"orderEntry.distributionType.custom": "Tùy chỉnh",
|
|
380
|
+
"orderEntry.distributionType.flat.description": "Phân bổ lệnh đồng đều trong phạm vi.",
|
|
381
|
+
"orderEntry.distributionType.ascending.description": "Phân bổ kích thước lớn hơn cho mức giá cao hơn.",
|
|
382
|
+
"orderEntry.distributionType.descending.description": "Phân bổ kích thước lớn hơn cho mức giá thấp hơn.",
|
|
361
383
|
"orderEntry.bbo": "BBO",
|
|
362
384
|
"orderEntry.bbo.counterparty1": "Đối tác 1",
|
|
363
385
|
"orderEntry.bbo.counterparty5": "Đối tác 5",
|
|
@@ -367,6 +389,7 @@
|
|
|
367
389
|
"orderEntry.estLiqPrice": "Giá thanh lý ước tính",
|
|
368
390
|
"orderEntry.disableOrderConfirm": "Tắt xác nhận lệnh",
|
|
369
391
|
"orderEntry.orderConfirm": "Xác nhận lệnh",
|
|
392
|
+
"orderEntry.confirmScaledOrder": "Xác nhận lệnh theo tỷ lệ",
|
|
370
393
|
"orderEntry.hidden": "Ẩn",
|
|
371
394
|
"orderEntry.keepVisible": "Giữ hiển thị",
|
|
372
395
|
"orderEntry.maxBuy": "Mua tối đa",
|
|
@@ -391,11 +414,26 @@
|
|
|
391
414
|
"orderEntry.slTriggerPrice.error.min": "Giá SL phải lớn hơn {{value}}",
|
|
392
415
|
"orderEntry.slTriggerPrice.error.max": "Giá SL phải nhỏ hơn {{value}}",
|
|
393
416
|
"orderEntry.total.error.min": "Giá trị lệnh phải lớn hơn hoặc bằng {{value}} USDC",
|
|
417
|
+
"orderEntry.upperPrice.error.required": "Vui lòng nhập giá cao nhất",
|
|
418
|
+
"orderEntry.upperPrice.error.min": "Giá cao nhất phải lớn hơn {{value}}",
|
|
419
|
+
"orderEntry.upperPrice.error.max": "Giá cao nhất phải nhỏ hơn {{value}}",
|
|
420
|
+
"orderEntry.lowerPrice.error.required": "Vui lòng nhập giá thấp nhất",
|
|
421
|
+
"orderEntry.lowerPrice.error.min": "Giá thấp nhất phải lớn hơn {{value}}",
|
|
422
|
+
"orderEntry.lowerPrice.error.max": "Giá thấp nhất phải nhỏ hơn giá cao nhất",
|
|
423
|
+
"orderEntry.totalOrders.error.required": "Vui lòng nhập tổng số lệnh",
|
|
424
|
+
"orderEntry.totalOrders.error.range": "Tổng số lệnh phải từ 2 đến 20",
|
|
425
|
+
"orderEntry.skew.error.required": "Vui lòng nhập độ lệch",
|
|
426
|
+
"orderEntry.skew.error.min": "Độ lệch phải lớn hơn {{value}}",
|
|
427
|
+
"orderEntry.skew.error.max": "Độ lệch phải nhỏ hơn {{value}}",
|
|
394
428
|
"orderEntry.slippage": "Trượt giá",
|
|
395
429
|
"orderEntry.slippage.est": "Ước tính",
|
|
396
430
|
"orderEntry.slippage.tips": "Giao dịch của bạn sẽ bị hoàn tác nếu giá thay đổi bất lợi vượt quá tỷ lệ phần trăm này.",
|
|
397
431
|
"orderEntry.slippage.error.exceed": "Giá trị nhập hiện tại không được vượt quá 3%",
|
|
398
432
|
"orderEntry.slippage.error.max": "Trượt giá ước tính vượt quá trượt giá tối đa cho phép của bạn.",
|
|
433
|
+
"orderEntry.confirmScaledOrder.orderPrice.warning": "Lệnh này sẽ được khớp ngay lập tức dựa trên giá thị trường hiện tại",
|
|
434
|
+
"orderEntry.scaledOrder.fullySuccessful": "Đã đặt lệnh theo tỷ lệ: {{total}} lệnh đã được gửi thành công.",
|
|
435
|
+
"orderEntry.scaledOrder.partiallySuccessful": "Lệnh theo tỷ lệ được gửi một phần: {{successCount}} trong số {{total}} lệnh đã được đặt.",
|
|
436
|
+
"orderEntry.scaledOrder.allFailed": "Lệnh theo tỷ lệ thất bại. Không có lệnh nào được đặt.",
|
|
399
437
|
"leverage.maxAccountLeverage": "Đòn bẩy tài khoản tối đa",
|
|
400
438
|
"leverage.accountLeverage": "Đòn bẩy tài khoản",
|
|
401
439
|
"leverage.currentLeverage": "Đòn bẩy hiện tại",
|
|
@@ -572,8 +610,8 @@
|
|
|
572
610
|
"affiliate.referralCode.bound": "Đã liên kết mã giới thiệu",
|
|
573
611
|
"affiliate.referralCode.notExist": "Mã giới thiệu này không tồn tại.",
|
|
574
612
|
"affiliate.process.title": "Trở thành đối tác rất dễ dàng",
|
|
575
|
-
"affiliate.process.step1.title": "
|
|
576
|
-
"affiliate.process.step1.description": "
|
|
613
|
+
"affiliate.process.step1.title": "Giao dịch $10,000+ hoặc đăng ký",
|
|
614
|
+
"affiliate.process.step1.description": "Tự động nhận mã giới thiệu ($0/$10,000 đã hoàn thành), hoặc đăng ký tỷ lệ cao hơn qua biểu mẫu.",
|
|
577
615
|
"affiliate.process.step1.volumeEq0.title": "Nhận mã giới thiệu tự động hoặc đăng ký",
|
|
578
616
|
"affiliate.process.step1.volumeEq0.description": "Mã giới thiệu của bạn sẽ sẵn sàng sử dụng sau khi thực hiện giao dịch đầu tiên. Bạn có thể đăng ký tỷ lệ cao hơn thông qua biểu mẫu.",
|
|
579
617
|
"affiliate.process.step1.volumeGt0.title": "Giao dịch ${{requireVolume}}+ hoặc đăng ký",
|
|
@@ -690,6 +728,9 @@
|
|
|
690
728
|
"maintenance.dialog.description": "Xin lỗi, {{brokerName}} tạm thời không khả dụng do nâng cấp theo lịch trình. Dịch vụ dự kiến sẽ hoạt động lại vào {{endDate}}.",
|
|
691
729
|
"maintenance.tips.description": "{{brokerName}} sẽ tạm thời không khả dụng để nâng cấp theo lịch trình từ {{startDate}} đến {{endDate}}.",
|
|
692
730
|
"restrictedInfo.description.default": "Bạn đang truy cập {{brokerName}} từ địa chỉ IP ({{ip}}) liên quan đến một quốc gia bị hạn chế.",
|
|
731
|
+
"restrictedInfo.accessRestricted": "Hạn chế Truy cập",
|
|
732
|
+
"restrictedInfo.accessRestricted.description": "Do luật pháp và quy định, hiện tại chúng tôi không hoạt động tại Hoa Kỳ. Bằng việc tiếp tục sử dụng nền tảng của chúng tôi, bạn cam đoan và đảm bảo rằng bạn không phải là cư dân Hoa Kỳ trong suốt thời gian sử dụng.",
|
|
733
|
+
"restrictedInfo.accessRestricted.agree": "Tôi hiểu và đồng ý",
|
|
693
734
|
"subAccount.modal.title": "Chuyển tài khoản",
|
|
694
735
|
"subAccount.modal.switch.success.description": "Chuyển đổi tài khoản thành công",
|
|
695
736
|
"subAccount.modal.mainAccount.title": "Tài khoản chính",
|
package/dist/locales/zh.json
CHANGED
|
@@ -45,6 +45,7 @@
|
|
|
45
45
|
"common.notional": "名义",
|
|
46
46
|
"common.fee": "费用",
|
|
47
47
|
"common.fees": "费用",
|
|
48
|
+
"common.orderPrice": "订单价格",
|
|
48
49
|
"common.avgPrice": "平均价格",
|
|
49
50
|
"common.avgOpen": "平均开盘",
|
|
50
51
|
"common.avgClose": "平均收盘",
|
|
@@ -107,6 +108,7 @@
|
|
|
107
108
|
"markets.favorites.tabs.maxName": "列表名称不能超过15个字符",
|
|
108
109
|
"markets.favorites.tabs.delete.dialog.title": "删除列表",
|
|
109
110
|
"markets.favorites.tabs.delete.dialog.description": "您确定要删除{{name}}吗?",
|
|
111
|
+
"markets.favorites.addFavorites": "添加收藏",
|
|
110
112
|
"markets.column.market": "市场",
|
|
111
113
|
"markets.column.24hChange": "24小时变化",
|
|
112
114
|
"markets.column.24hVolume": "24小时成交量",
|
|
@@ -259,6 +261,8 @@
|
|
|
259
261
|
"positions.limitClose.description": "您同意以限价关闭{{quantity}} {{base}}持仓。",
|
|
260
262
|
"positions.marketClose": "市价关闭",
|
|
261
263
|
"positions.marketClose.description": "您同意以市价关闭{{quantity}} {{base}}持仓。",
|
|
264
|
+
"positions.limitClose.errors.exceed.title": "超出平仓数量限制",
|
|
265
|
+
"positions.limitClose.errors.exceed.description": "无法平仓 {{quantity}} {{symbol}} 仓位。每次平仓最大允许数量为 {{maxQuantity}} {{symbol}}。",
|
|
262
266
|
"positions.history.status.closed": "已关闭",
|
|
263
267
|
"positions.history.status.partialClosed": "部分关闭",
|
|
264
268
|
"positions.history.type.adl": "自动减仓",
|
|
@@ -290,7 +294,7 @@
|
|
|
290
294
|
"orders.status.canceled.toast.title": "订单已取消",
|
|
291
295
|
"orders.status.rejected.toast.title": "订单已拒绝",
|
|
292
296
|
"orders.status.replaced.toast.title": "订单已编辑",
|
|
293
|
-
"orders.
|
|
297
|
+
"orders.status.scaledSubOrderOpened.toast.title": "分批订单:子订单已开启",
|
|
294
298
|
"orders.column.fill&Quantity": "已成交/数量",
|
|
295
299
|
"orders.column.triggerPrice": "触发价格",
|
|
296
300
|
"orders.column.orderTime": "订单时间",
|
|
@@ -358,6 +362,24 @@
|
|
|
358
362
|
"orderEntry.orderType.postOnly": "仅挂单",
|
|
359
363
|
"orderEntry.orderType.ioc": "立即成交或取消",
|
|
360
364
|
"orderEntry.orderType.fok": "全部成交或取消",
|
|
365
|
+
"orderEntry.orderType.scaledOrder": "阶梯订单",
|
|
366
|
+
"orderEntry.upperPrice": "最高价格",
|
|
367
|
+
"orderEntry.lowerPrice": "最低价格",
|
|
368
|
+
"orderEntry.skew": "偏差",
|
|
369
|
+
"orderEntry.totalOrders": "订单总数",
|
|
370
|
+
"orderEntry.totalQuantity": "总数量",
|
|
371
|
+
"orderEntry.quantityDistribution": "数量分布",
|
|
372
|
+
"orderEntry.quantityDistribution.description": "控制订单数量在不同价格区间的分布方式。",
|
|
373
|
+
"orderEntry.quantityDistribution.formula": "数量偏差 = (最高价格的数量) ÷ (最低价格的数量)",
|
|
374
|
+
"orderEntry.distributionType.flat": "均匀",
|
|
375
|
+
"orderEntry.distributionType.ascending": "递增",
|
|
376
|
+
"orderEntry.distributionType.ascending.abbr": "递增",
|
|
377
|
+
"orderEntry.distributionType.descending": "递减",
|
|
378
|
+
"orderEntry.distributionType.descending.abbr": "递减",
|
|
379
|
+
"orderEntry.distributionType.custom": "自定义",
|
|
380
|
+
"orderEntry.distributionType.flat.description": "在价格区间内均匀分配订单数量。",
|
|
381
|
+
"orderEntry.distributionType.ascending.description": "在较高价格区间分配更多数量。",
|
|
382
|
+
"orderEntry.distributionType.descending.description": "在较低价格区间分配更多数量。",
|
|
361
383
|
"orderEntry.bbo": "最佳买卖报价",
|
|
362
384
|
"orderEntry.bbo.counterparty1": "对手方1",
|
|
363
385
|
"orderEntry.bbo.counterparty5": "对手方5",
|
|
@@ -367,6 +389,7 @@
|
|
|
367
389
|
"orderEntry.estLiqPrice": "预计清算价格",
|
|
368
390
|
"orderEntry.disableOrderConfirm": "禁用订单确认",
|
|
369
391
|
"orderEntry.orderConfirm": "订单确认",
|
|
392
|
+
"orderEntry.confirmScaledOrder": "确认阶梯订单",
|
|
370
393
|
"orderEntry.hidden": "隐藏",
|
|
371
394
|
"orderEntry.keepVisible": "保持可见",
|
|
372
395
|
"orderEntry.maxBuy": "最大买入",
|
|
@@ -391,11 +414,26 @@
|
|
|
391
414
|
"orderEntry.slTriggerPrice.error.min": "止损价格必须大于{{value}}",
|
|
392
415
|
"orderEntry.slTriggerPrice.error.max": "止损价格必须小于{{value}}",
|
|
393
416
|
"orderEntry.total.error.min": "订单价值应大于或等于{{value}} USDC",
|
|
417
|
+
"orderEntry.upperPrice.error.required": "请输入最高价格",
|
|
418
|
+
"orderEntry.upperPrice.error.min": "最高价格必须大于 {{value}}",
|
|
419
|
+
"orderEntry.upperPrice.error.max": "最高价格必须小于 {{value}}",
|
|
420
|
+
"orderEntry.lowerPrice.error.required": "请输入最低价格",
|
|
421
|
+
"orderEntry.lowerPrice.error.min": "最低价格必须大于 {{value}}",
|
|
422
|
+
"orderEntry.lowerPrice.error.max": "最低价格必须小于最高价格",
|
|
423
|
+
"orderEntry.totalOrders.error.required": "请输入订单总数",
|
|
424
|
+
"orderEntry.totalOrders.error.range": "订单总数必须在2到20之间",
|
|
425
|
+
"orderEntry.skew.error.required": "请输入偏差值",
|
|
426
|
+
"orderEntry.skew.error.min": "偏差必须大于 {{value}}",
|
|
427
|
+
"orderEntry.skew.error.max": "偏差必须小于 {{value}}",
|
|
394
428
|
"orderEntry.slippage": "滑点",
|
|
395
429
|
"orderEntry.slippage.est": "估算",
|
|
396
430
|
"orderEntry.slippage.tips": "如果价格变动超过此百分比,您的交易将被撤销。",
|
|
397
431
|
"orderEntry.slippage.error.exceed": "当前输入值不能超过3%",
|
|
398
432
|
"orderEntry.slippage.error.max": "预计滑点超过您允许的最大滑点。",
|
|
433
|
+
"orderEntry.confirmScaledOrder.orderPrice.warning": "基于当前市场价格,此订单将立即成交",
|
|
434
|
+
"orderEntry.scaledOrder.fullySuccessful": "分批订单已提交:{{total}}个订单全部提交成功。",
|
|
435
|
+
"orderEntry.scaledOrder.partiallySuccessful": "分批订单部分提交:{{total}}个订单中的{{successCount}}个已成功提交。",
|
|
436
|
+
"orderEntry.scaledOrder.allFailed": "分批订单失败。没有订单被成功提交。",
|
|
399
437
|
"leverage.maxAccountLeverage": "最大账户杠杆",
|
|
400
438
|
"leverage.accountLeverage": "账户杠杆",
|
|
401
439
|
"leverage.currentLeverage": "当前杠杆",
|
|
@@ -572,8 +610,8 @@
|
|
|
572
610
|
"affiliate.referralCode.bound": "推荐码已绑定",
|
|
573
611
|
"affiliate.referralCode.notExist": "此推荐码不存在。",
|
|
574
612
|
"affiliate.process.title": "成为联盟很简单",
|
|
575
|
-
"affiliate.process.step1.title": "
|
|
576
|
-
"affiliate.process.step1.description": "
|
|
613
|
+
"affiliate.process.step1.title": "交易 $10,000+ 或申请",
|
|
614
|
+
"affiliate.process.step1.description": "自动获得推荐码(已完成 $0/$10,000),或通过表单申请更高费率。",
|
|
577
615
|
"affiliate.process.step1.volumeEq0.title": "获取自动推荐码或提交申请",
|
|
578
616
|
"affiliate.process.step1.volumeEq0.description": "完成第一笔交易后,您的推荐码即可使用。您可以通过表单申请更高的费率。",
|
|
579
617
|
"affiliate.process.step1.volumeGt0.title": "交易${{requireVolume}}+或提交申请",
|
|
@@ -690,6 +728,9 @@
|
|
|
690
728
|
"maintenance.dialog.description": "抱歉,由于计划中的升级,{{brokerName}}暂时不可用。服务预计将在{{endDate}}恢复。",
|
|
691
729
|
"maintenance.tips.description": "{{brokerName}}将因计划中的升级从{{startDate}}到{{endDate}}暂时不可用。",
|
|
692
730
|
"restrictedInfo.description.default": "您正在从与受限国家相关的IP地址({{ip}})访问{{brokerName}}。",
|
|
731
|
+
"restrictedInfo.accessRestricted": "访问受限",
|
|
732
|
+
"restrictedInfo.accessRestricted.description": "根据法律法规,我们目前不在美国开展业务。继续使用我们的平台即表示您声明并保证在使用期间始终不是美国居民。",
|
|
733
|
+
"restrictedInfo.accessRestricted.agree": "我理解并同意",
|
|
693
734
|
"subAccount.modal.title": "切换账户",
|
|
694
735
|
"subAccount.modal.switch.success.description": "切换账户成功",
|
|
695
736
|
"subAccount.modal.mainAccount.title": "主账户",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orderly.network/i18n",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0",
|
|
4
4
|
"description": "Internationalization for orderly sdk",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"tsup": "^7.1.0",
|
|
47
47
|
"typescript": "^5.1.6",
|
|
48
48
|
"yargs": "^17.7.2",
|
|
49
|
-
"tsconfig": "0.
|
|
49
|
+
"tsconfig": "0.7.0"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"react": ">=18",
|
package/script/diffCsv.js
CHANGED
|
@@ -27,8 +27,27 @@ async function diffCsv(oldFile, newFile) {
|
|
|
27
27
|
});
|
|
28
28
|
console.log("LOCALE_CHANGELOG.md created");
|
|
29
29
|
} else {
|
|
30
|
-
|
|
31
|
-
await fs.
|
|
30
|
+
// Read existing content
|
|
31
|
+
const existingContent = await fs.readFile(filepath, { encoding: "utf8" });
|
|
32
|
+
|
|
33
|
+
// Find the position after "# Locale Changelog"
|
|
34
|
+
const titleIndex = existingContent.indexOf("# Locale Changelog");
|
|
35
|
+
if (titleIndex === -1) {
|
|
36
|
+
console.error("Could not find '# Locale Changelog' title in the file");
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
const titleEndIndex = titleIndex + "# Locale Changelog".length;
|
|
41
|
+
|
|
42
|
+
// Split content and insert new content after the title
|
|
43
|
+
const beforeTitle = existingContent.slice(0, titleEndIndex);
|
|
44
|
+
const afterTitle = existingContent.slice(titleEndIndex);
|
|
45
|
+
|
|
46
|
+
// Combine all parts
|
|
47
|
+
const newContent = `${beforeTitle}\n\n${markdownContent}${afterTitle}`;
|
|
48
|
+
|
|
49
|
+
// Write back to file
|
|
50
|
+
await fs.writeFile(filepath, newContent, {
|
|
32
51
|
encoding: "utf8",
|
|
33
52
|
});
|
|
34
53
|
console.log("LOCALE_CHANGELOG.md updated");
|