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

[COST-4176, COST-5651] add Indian Rupee and Brazilian Real currencies #4101

Merged
merged 1 commit into from
Nov 6, 2024
Merged
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
32 changes: 32 additions & 0 deletions locales/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -2147,6 +2147,14 @@
}
]
},
"BRL": {
"value": [
{
"type": 0,
"value": "BRL (R$) - Brazilian Real"
}
]
},
"CAD": {
"value": [
{
Expand Down Expand Up @@ -2203,6 +2211,14 @@
}
]
},
"INR": {
"value": [
{
"type": 0,
"value": "INR (₹) - Indian Rupee"
}
]
},
"JPY": {
"value": [
{
Expand Down Expand Up @@ -2278,6 +2294,14 @@
}
]
},
"BRL": {
"value": [
{
"type": 0,
"value": "R$"
}
]
},
"CAD": {
"value": [
{
Expand Down Expand Up @@ -2334,6 +2358,14 @@
}
]
},
"INR": {
"value": [
{
"type": 0,
"value": ""
}
]
},
"JPY": {
"value": [
{
Expand Down
4 changes: 2 additions & 2 deletions locales/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@
"currencyAbbreviations": "{symbol, select, billion {{value} B} million {{value} M} quadrillion {{value} q} thousand {{value} K} trillion {{value} t} other {}}",
"currencyCalcuationsTitle": "Currency and calculations",
"currencyDesc": "Select the preferred currency view for your organization",
"currencyOptions": "{units, select, AUD {AUD (A$) - Australian Dollar}CAD {CAD (CA$) - Canadian Dollar}CHF {CHF (CHF) - Swiss Franc}CNY {CNY (CN¥) - Chinese Yuan}DKK {DKK (DKK) - Danish Krone}EUR {EUR (€) - Euro}GBP {GBP (£) - British Pound}HKD {HKD (HK$) - Hong Kong Dollar}JPY {JPY (¥) - Japanese Yen}NOK {NOK (NOK) - Norwegian Krone}NZD {NZD (NZ$) - New Zealand Dollar}SEK {SEK (SEK) - Swedish Krona}SGD {SGD (SGD) - Singapore Dollar}USD {USD ($) - United States Dollar} ZAR {ZAR (ZAR) - South African Rand}other {}}",
"currencyUnits": "{units, select, AUD {A$}CAD {CA$}CHF {CHF}CNY {CN¥}DKK {DKK}EUR {€}GBP {£}HKD {HK$}JPY {¥}NOK {NOK}NZD {NZ$}SEK {SEK}SGD {SGD}USD {$} ZAR {ZAR}other {}}",
"currencyOptions": "{units, select, AUD {AUD (A$) - Australian Dollar}BRL {BRL (R$) - Brazilian Real}CAD {CAD (CA$) - Canadian Dollar}CHF {CHF (CHF) - Swiss Franc}CNY {CNY (CN¥) - Chinese Yuan}DKK {DKK (DKK) - Danish Krone}EUR {EUR (€) - Euro}GBP {GBP (£) - British Pound}HKD {HKD (HK$) - Hong Kong Dollar}INR {INR (₹) - Indian Rupee}JPY {JPY (¥) - Japanese Yen}NOK {NOK (NOK) - Norwegian Krone}NZD {NZD (NZ$) - New Zealand Dollar}SEK {SEK (SEK) - Swedish Krona}SGD {SGD (SGD) - Singapore Dollar}USD {USD ($) - United States Dollar} ZAR {ZAR (ZAR) - South African Rand}other {}}",
"currencyUnits": "{units, select, AUD {A$}BRL {R$}CAD {CA$}CHF {CHF}CNY {CN¥}DKK {DKK}EUR {€}GBP {£}HKD {HK$}INR {₹}JPY {¥}NOK {NOK}NZD {NZ$}SEK {SEK}SGD {SGD}USD {$} ZAR {ZAR}other {}}",
"dashboardCumulativeCostComparison": "Cumulative cost comparison ({units})",
"dashboardDailyUsageComparison": "Daily usage comparison ({units})",
"dashboardDatabaseTitle": "Database services cost",
Expand Down
4 changes: 4 additions & 0 deletions src/locales/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1090,13 +1090,15 @@ export default defineMessages({
defaultMessage:
'{units, select, ' +
'AUD {AUD (A$) - Australian Dollar}' +
'BRL {BRL (R$) - Brazilian Real}' +
'CAD {CAD (CA$) - Canadian Dollar}' +
'CHF {CHF (CHF) - Swiss Franc}' +
'CNY {CNY (CN¥) - Chinese Yuan}' +
'DKK {DKK (DKK) - Danish Krone}' +
'EUR {EUR (€) - Euro}' +
'GBP {GBP (£) - British Pound}' +
'HKD {HKD (HK$) - Hong Kong Dollar}' +
'INR {INR (₹) - Indian Rupee}' +
'JPY {JPY (¥) - Japanese Yen}' +
'NOK {NOK (NOK) - Norwegian Krone}' +
'NZD {NZD (NZ$) - New Zealand Dollar}' +
Expand All @@ -1113,13 +1115,15 @@ export default defineMessages({
defaultMessage:
'{units, select, ' +
'AUD {A$}' +
'BRL {R$}' +
'CAD {CA$}' +
'CHF {CHF}' +
'CNY {CN¥}' +
'DKK {DKK}' +
'EUR {€}' +
'GBP {£}' +
'HKD {HK$}' +
'INR {₹}' +
'JPY {¥}' +
'NOK {NOK}' +
'NZD {NZ$}' +
Expand Down
2 changes: 2 additions & 0 deletions src/routes/components/currency/currency.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,15 @@ export const currencyOptions: {
value: string;
}[] = [
{ label: messages.currencyOptions, value: 'AUD' },
{ label: messages.currencyOptions, value: 'BRL' },
{ label: messages.currencyOptions, value: 'CAD' },
{ label: messages.currencyOptions, value: 'CHF' },
{ label: messages.currencyOptions, value: 'CNY' },
{ label: messages.currencyOptions, value: 'DKK' },
{ label: messages.currencyOptions, value: 'EUR' },
{ label: messages.currencyOptions, value: 'GBP' },
{ label: messages.currencyOptions, value: 'HKD' },
{ label: messages.currencyOptions, value: 'INR' },
{ label: messages.currencyOptions, value: 'JPY' },
{ label: messages.currencyOptions, value: 'NOK' },
{ label: messages.currencyOptions, value: 'NZD' },
Expand Down