Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

Commit

Permalink
feat: add new currency: ILS
Browse files Browse the repository at this point in the history
  • Loading branch information
igorkamyshev committed Sep 29, 2019
1 parent 349d31d commit bc6cb25
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion front/static/locales/ru/currency.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"EUR": "Евро",
"SEK": "Шведская крона",
"NOK": "Норвежская крона",
"DKK": "Датская крона"
"DKK": "Датская крона",
"ILS": "Новый израильский шекель"
}
1 change: 1 addition & 0 deletions shared/enum/Currency.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ export enum Currency {
SEK = 'SEK',
NOK = 'NOK',
DKK = 'DKK',
ILS = 'ILS',
}
1 change: 1 addition & 0 deletions shared/helpers/getCurrencySign.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ export const getCurrencySign = (currency: Currency): string =>
[Currency.SEK]: 'kr',
[Currency.NOK]: 'kr',
[Currency.DKK]: 'kr.',
[Currency.ILS]: '₪',
}[currency]);

0 comments on commit bc6cb25

Please sign in to comment.