Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Сurrency] add UAH currency #84

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/api/types/misc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ export interface ApiSignedTransfer {

export type ApiLocalTransactionParams = Omit<ApiTransaction, 'txId' | 'timestamp' | 'isIncoming' | 'normalizedAddress'>;

export type ApiBaseCurrency = 'USD' | 'EUR' | 'RUB' | 'CNY' | 'BTC' | 'TON';
export type ApiBaseCurrency = 'USD' | 'EUR' | 'UAH' | 'RUB' | 'CNY' | 'BTC' | 'TON';

export enum ApiLiquidUnstakeMode {
Default,
Expand Down
4 changes: 4 additions & 0 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ export const DEFAULT_PRICE_CURRENCY = 'USD';
export const SHORT_CURRENCY_SYMBOL_MAP = {
USD: '$',
EUR: '€',
UAH: '₴',
RUB: '₽',
CNY: '¥',
};
Expand All @@ -254,6 +255,9 @@ export const CURRENCY_LIST: { value: ApiBaseCurrency; name: string }[] = [
}, {
value: 'EUR',
name: 'Euro',
}, {
value: 'UAH',
name: 'Hryvnia',
}, {
value: 'RUB',
name: 'Ruble',
Expand Down
1 change: 1 addition & 0 deletions src/i18n/de.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/i18n/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/i18n/es.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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%"
Expand Down
1 change: 1 addition & 0 deletions src/i18n/ru.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,7 @@ $fee_value_almost_equal: Комиссия ≈ %fee%
Address was saved!: Адрес сохранён!
US Dollar: Доллар США
Euro: Евро
Hryvnia: Гривна
Ruble: Рубль
Yuan: Юань
$max_balance: "Максимум: %balance%"
Expand Down
1 change: 1 addition & 0 deletions src/i18n/th.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,7 @@ $fee_value_almost_equal: ค่าธรรมเนียม ≈ %fee%
Address was saved!: ที่อยู่บัญชีถูกบันทึกแล้ว!
US Dollar: ยูเอส ดอลลาร์
Euro: ยูโร
Hryvnia: ฮริฟเนีย
Ruble: รูเบิล
Yuan: หยวน
Bitcoin: บิทคอยน์
Expand Down
1 change: 1 addition & 0 deletions src/i18n/tr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/i18n/uk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,7 @@ $fee_value_almost_equal: Комісія ≈ %fee%
Address was saved!: Адреса збережена!
US Dollar: Долар США
Euro: Євро
Hryvnia: Гривна
Ruble: Рубль
Yuan: Юань
$max_balance: "Максимум: %balance%"
Expand Down
1 change: 1 addition & 0 deletions src/i18n/zh-Hans.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,7 @@ $fee_value_almost_equal: 手续费 ≈ %fee%
Address was saved!: 地址已保存!
US Dollar: 美元
Euro: 欧元
Hryvnia: 格里夫纳
Ruble: 卢布
Yuan: 元
$max_balance: "最大: %balance%"
Expand Down
1 change: 1 addition & 0 deletions src/i18n/zh-Hant.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,7 @@ $fee_value_almost_equal: 手續費 ≈ %fee%
Address was saved!: 地址已儲存!
US Dollar: 美金
Euro: 歐元
Hryvnia: 赫裏夫尼亞
Ruble: 盧布
Yuan: 元
$max_balance: "最大: %balance%"
Expand Down
Loading