From 179b03f18eb6b762b3d2e4ec0b58f74b362c42f7 Mon Sep 17 00:00:00 2001 From: viacheslav Date: Wed, 22 May 2024 22:04:10 +0300 Subject: [PATCH] =?UTF-8?q?[=D0=A1urrency]=20add=20UAH=20currency?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/types/misc.ts | 2 +- src/config.ts | 4 ++++ src/i18n/de.yaml | 1 + src/i18n/en.yaml | 1 + src/i18n/es.yaml | 1 + src/i18n/ru.yaml | 1 + src/i18n/th.yaml | 1 + src/i18n/tr.yaml | 1 + src/i18n/uk.yaml | 1 + src/i18n/zh-Hans.yaml | 1 + src/i18n/zh-Hant.yaml | 1 + 11 files changed, 14 insertions(+), 1 deletion(-) diff --git a/src/api/types/misc.ts b/src/api/types/misc.ts index 4cb53484..0feab71b 100644 --- a/src/api/types/misc.ts +++ b/src/api/types/misc.ts @@ -190,7 +190,7 @@ export interface ApiSignedTransfer { export type ApiLocalTransactionParams = Omit; -export type ApiBaseCurrency = 'USD' | 'EUR' | 'RUB' | 'CNY' | 'BTC' | 'TON'; +export type ApiBaseCurrency = 'USD' | 'EUR' | 'UAH' | 'RUB' | 'CNY' | 'BTC' | 'TON'; export enum ApiLiquidUnstakeMode { Default, diff --git a/src/config.ts b/src/config.ts index 38f86db2..4d2c9881 100644 --- a/src/config.ts +++ b/src/config.ts @@ -244,6 +244,7 @@ export const DEFAULT_PRICE_CURRENCY = 'USD'; export const SHORT_CURRENCY_SYMBOL_MAP = { USD: '$', EUR: '€', + UAH: '₴', RUB: '₽', CNY: '¥', }; @@ -254,6 +255,9 @@ export const CURRENCY_LIST: { value: ApiBaseCurrency; name: string }[] = [ }, { value: 'EUR', name: 'Euro', + }, { + value: 'UAH', + name: 'Hryvnia', }, { value: 'RUB', name: 'Ruble', diff --git a/src/i18n/de.yaml b/src/i18n/de.yaml index 7b5a9001..b5df1438 100644 --- a/src/i18n/de.yaml +++ b/src/i18n/de.yaml @@ -460,6 +460,7 @@ $fee_value_almost_equal: Gebühr ≈ %fee% Address was saved!: Adresse wurde gespeichert! US Dollar: US-Dollar Euro: Euro +Hryvnia: Griwna Ruble: Rubel Yuan: Yuan Bitcoin: Bitcoin diff --git a/src/i18n/en.yaml b/src/i18n/en.yaml index 8411c033..a36bbc6f 100644 --- a/src/i18n/en.yaml +++ b/src/i18n/en.yaml @@ -459,6 +459,7 @@ $fee_value_almost_equal: Fee ≈ %fee% Address was saved!: Address was saved! US Dollar: US Dollar Euro: Euro +Hryvnia: Hryvnia Ruble: Ruble Yuan: Yuan Bitcoin: Bitcoin diff --git a/src/i18n/es.yaml b/src/i18n/es.yaml index 06fbbff5..39466b64 100644 --- a/src/i18n/es.yaml +++ b/src/i18n/es.yaml @@ -459,6 +459,7 @@ $fee_value_almost_equal: Comisión ≈ %fee% Address was saved!: ¡Dirección guardada! US Dollar: Dólar estadounidense Euro: Euro +Hryvnia: Grivna Ruble: Rublo Yuan: Yuan $max_balance: "Máximo: %balance%" diff --git a/src/i18n/ru.yaml b/src/i18n/ru.yaml index 1656c90d..4a413279 100644 --- a/src/i18n/ru.yaml +++ b/src/i18n/ru.yaml @@ -460,6 +460,7 @@ $fee_value_almost_equal: Комиссия ≈ %fee% Address was saved!: Адрес сохранён! US Dollar: Доллар США Euro: Евро +Hryvnia: Гривна Ruble: Рубль Yuan: Юань $max_balance: "Максимум: %balance%" diff --git a/src/i18n/th.yaml b/src/i18n/th.yaml index fa0246fa..8897e2bf 100644 --- a/src/i18n/th.yaml +++ b/src/i18n/th.yaml @@ -460,6 +460,7 @@ $fee_value_almost_equal: ค่าธรรมเนียม ≈ %fee% Address was saved!: ที่อยู่บัญชีถูกบันทึกแล้ว! US Dollar: ยูเอส ดอลลาร์ Euro: ยูโร +Hryvnia: ฮริฟเนีย Ruble: รูเบิล Yuan: หยวน Bitcoin: บิทคอยน์ diff --git a/src/i18n/tr.yaml b/src/i18n/tr.yaml index 604e2a7a..3c0f1e2d 100644 --- a/src/i18n/tr.yaml +++ b/src/i18n/tr.yaml @@ -459,6 +459,7 @@ $fee_value_almost_equal: Ücret ≈ %fee% Address was saved!: Adres kaydedildi! US Dollar: ABD doları Euro: Euro +Hryvnia: Grivna Ruble: Ruble Yuan: Yuan Bitcoin: Bitcoin diff --git a/src/i18n/uk.yaml b/src/i18n/uk.yaml index 1dc8b97b..b5517962 100644 --- a/src/i18n/uk.yaml +++ b/src/i18n/uk.yaml @@ -460,6 +460,7 @@ $fee_value_almost_equal: Комісія ≈ %fee% Address was saved!: Адреса збережена! US Dollar: Долар США Euro: Євро +Hryvnia: Гривна Ruble: Рубль Yuan: Юань $max_balance: "Максимум: %balance%" diff --git a/src/i18n/zh-Hans.yaml b/src/i18n/zh-Hans.yaml index f92b93ed..3c090448 100644 --- a/src/i18n/zh-Hans.yaml +++ b/src/i18n/zh-Hans.yaml @@ -447,6 +447,7 @@ $fee_value_almost_equal: 手续费 ≈ %fee% Address was saved!: 地址已保存! US Dollar: 美元 Euro: 欧元 +Hryvnia: 格里夫纳 Ruble: 卢布 Yuan: 元 $max_balance: "最大: %balance%" diff --git a/src/i18n/zh-Hant.yaml b/src/i18n/zh-Hant.yaml index 1df720dc..f74baab2 100644 --- a/src/i18n/zh-Hant.yaml +++ b/src/i18n/zh-Hant.yaml @@ -447,6 +447,7 @@ $fee_value_almost_equal: 手續費 ≈ %fee% Address was saved!: 地址已儲存! US Dollar: 美金 Euro: 歐元 +Hryvnia: 赫裏夫尼亞 Ruble: 盧布 Yuan: 元 $max_balance: "最大: %balance%"