Skip to content

Commit f46d93b

Browse files
committed
chore: add translations
1 parent 87ddf4a commit f46d93b

2 files changed

Lines changed: 18 additions & 2 deletions

File tree

i18n/locales/en.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,9 @@
477477
"estimations": "The final values are estimates based on partial data for the current period.",
478478
"compare": "Package download comparison line chart for: {packages}.",
479479
"single_package": "Downloads line chart for the {package} package.",
480-
"general_description": "The Y axis represents the number of downloads. The X axis represents the date range, from {start_date} to {end_date}, with a {granularity} time period.{estimation_notice} {packages_analysis}. {watermark}."
480+
"general_description": "The Y axis represents the number of downloads. The X axis represents the date range, from {start_date} to {end_date}, with a {granularity} time period.{estimation_notice} {packages_analysis}. {watermark}.",
481+
"facet_bar_general_description": "Horizontal bar chart for: {packages}, comparing {facet} ({description}). {facet_analysis} {watermark}.",
482+
"facet_bar_analysis": "{package_name} has a value of {value}."
481483
}
482484
},
483485
"downloads": {
@@ -1036,7 +1038,9 @@
10361038
"loading": "Loading package data...",
10371039
"error": "Failed to load package data. Please try again.",
10381040
"empty_title": "Select packages to compare",
1039-
"empty_description": "Search and add at least 2 packages above to see a side-by-side comparison of their metrics."
1041+
"empty_description": "Search and add at least 2 packages above to see a side-by-side comparison of their metrics.",
1042+
"table_view": "Table",
1043+
"charts_view": "Charts"
10401044
},
10411045
"selector": {
10421046
"search_label": "Search for packages",

i18n/schema.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1437,6 +1437,12 @@
14371437
},
14381438
"general_description": {
14391439
"type": "string"
1440+
},
1441+
"facet_bar_general_description": {
1442+
"type": "string"
1443+
},
1444+
"facet_bar_analysis": {
1445+
"type": "string"
14401446
}
14411447
},
14421448
"additionalProperties": false
@@ -3114,6 +3120,12 @@
31143120
},
31153121
"empty_description": {
31163122
"type": "string"
3123+
},
3124+
"table_view": {
3125+
"type": "string"
3126+
},
3127+
"charts_view": {
3128+
"type": "string"
31173129
}
31183130
},
31193131
"additionalProperties": false

0 commit comments

Comments
 (0)