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

Settings page fit-and-finish #3343

Merged
merged 10 commits into from
Aug 17, 2023
65 changes: 65 additions & 0 deletions locales/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -7460,6 +7460,12 @@
"value": "value"
}
],
"filterByValuesAriaLabel": [
{
"type": 0,
"value": "Values"
}
],
"filterByWorkloadTypeAriaLabel": [
{
"type": 0,
Expand Down Expand Up @@ -11573,6 +11579,65 @@
"value": "Source type"
}
],
"sourceTypes": [
{
"options": {
"aws": {
"value": [
{
"type": 0,
"value": "Amazon Web Services"
}
]
},
"azure": {
"value": [
{
"type": 0,
"value": "Microsoft Azure"
}
]
},
"gcp": {
"value": [
{
"type": 0,
"value": "Google Cloud Platform"
}
]
},
"ibm": {
"value": [
{
"type": 0,
"value": "IBM Cloud"
}
]
},
"oci": {
"value": [
{
"type": 0,
"value": "Oracle Cloud Infrastructure"
}
]
},
"ocp": {
"value": [
{
"type": 0,
"value": "OpenShift"
}
]
},
"other": {
"value": []
}
},
"type": 5,
"value": "value"
}
],
"sources": [
{
"type": 0,
Expand Down
4 changes: 3 additions & 1 deletion locales/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@
"filterByTagValueButtonAriaLabel": "Filter button for tag value",
"filterByValuePlaceholder": "Filter by value",
"filterByValues": "{value, select, account {Account} aws_category {Cost category} cluster {Cluster} container {Container} gcp_project {GCP project} group {Group} name {Name} node {Node} org_unit_id {Organizational unit} payer_tenant_id {Account} product_service {Service} project {Project} region {Region} resource_location {Region} service {Service} service_name {Service} status {Status} source_type {Source type} subscription_guid {Account} tag {Tag} workload {Workload name} workload_type {Workload type} other {}}",
"filterByValuesAriaLabel": "Values",
"filterByWorkloadTypeAriaLabel": "Workload types",
"forDate": "{value} for {dateRange}",
"gcp": "Google Cloud Platform",
Expand Down Expand Up @@ -463,7 +464,7 @@
"percentSymbol": "%",
"percentTotalCost": "{value} {units} ({percent} %)",
"perspective": "Perspective",
"perspectiveValues": "{value, select, aws {Amazon Web Services} aws_ocp {Amazon Web Services filtered by OpenShift} azure {Microsoft Azure} oci {Oracle Cloud Infrastructure} azure_ocp {Microsoft Azure filtered by OpenShift} gcp {Google Cloud Platform} gcp_ocp {Google Cloud Platform filtered by OpenShift} ibm {IBM Cloud} ibm_ocp {IBM filtered by OpenShift} ocp {All OpenShift} ocp_cloud {All cloud filtered by OpenShift} rhel {All RHEL} other {}}",
"perspectiveValues": "{value, select, aws {Amazon Web Services} aws_ocp {Amazon Web Services filtered by OpenShift} azure {Microsoft Azure} azure_ocp {Microsoft Azure filtered by OpenShift} gcp {Google Cloud Platform} gcp_ocp {Google Cloud Platform filtered by OpenShift} ibm {IBM Cloud} ibm_ocp {IBM filtered by OpenShift} oci {Oracle Cloud Infrastructure} ocp {All OpenShift} ocp_cloud {All cloud filtered by OpenShift} rhel {All RHEL} other {}}",
"platfomProjectaDesc": "Associate additional projects with OpenShift Platform project costs to charge for utilization of resources. Changes will be reflected in this month's cost calculations within 24 hrs. {learnMore}",
"platform": "Platform",
"platformDesc": "Distribute the cost of running the OpenShift services to projects",
Expand Down Expand Up @@ -523,6 +524,7 @@
"settingsTitle": "Cost Management Settings",
"sinceDate": "{dateRange}",
"sourceType": "Source type",
"sourceTypes": "{value, select, aws {Amazon Web Services} azure {Microsoft Azure} oci {Oracle Cloud Infrastructure} gcp {Google Cloud Platform} ibm {IBM Cloud} ocp {OpenShift} other {}}",
"sources": "Sources",
"start": "Start",
"status": "{value, select, pending {Pending} running {Running} failed {Failed} other {}}",
Expand Down
76 changes: 38 additions & 38 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 19 additions & 1 deletion src/locales/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1925,6 +1925,11 @@ export default defineMessages({
description: 'Filter by values',
id: 'filterByValues',
},
filterByValuesAriaLabel: {
defaultMessage: 'Values',
description: 'Values',
id: 'filterByValuesAriaLabel',
},
filterByWorkloadTypeAriaLabel: {
defaultMessage: 'Workload types',
description: 'Workload types',
Expand Down Expand Up @@ -2897,12 +2902,12 @@ export default defineMessages({
'aws {Amazon Web Services} ' +
'aws_ocp {Amazon Web Services filtered by OpenShift} ' +
'azure {Microsoft Azure} ' +
'oci {Oracle Cloud Infrastructure} ' +
'azure_ocp {Microsoft Azure filtered by OpenShift} ' +
'gcp {Google Cloud Platform} ' +
'gcp_ocp {Google Cloud Platform filtered by OpenShift} ' +
'ibm {IBM Cloud} ' +
'ibm_ocp {IBM filtered by OpenShift} ' +
'oci {Oracle Cloud Infrastructure} ' +
'ocp {All OpenShift} ' +
'ocp_cloud {All cloud filtered by OpenShift} ' +
'rhel {All RHEL} ' +
Expand Down Expand Up @@ -3215,6 +3220,19 @@ export default defineMessages({
description: 'Source type',
id: 'sourceType',
},
sourceTypes: {
defaultMessage:
'{value, select, ' +
'aws {Amazon Web Services} ' +
'azure {Microsoft Azure} ' +
'oci {Oracle Cloud Infrastructure} ' +
'gcp {Google Cloud Platform} ' +
'ibm {IBM Cloud} ' +
'ocp {OpenShift} ' +
'other {}}',
description: 'Source types',
id: 'sourceTypes',
},
sources: {
defaultMessage: 'Sources',
description: 'Sources',
Expand Down
Loading
Loading