Skip to content

NVR with realtime local object detection for IP cameras

Add missing plural versions of some i18n keys (#17672)

Josh Hawkins4abf945b7131
diff --git a/web/public/locales/en/common.json b/web/public/locales/en/common.json
index 6083c7950c..7d0f995e01 100644
--- a/web/public/locales/en/common.json
+++ b/web/public/locales/en/common.json
@@ -23,17 +23,23 @@
"pm": "pm",
"am": "am",
"yr": "{{time}}yr",
- "year": "{{time}} years",
+ "year_one": "{{time}} year",
+ "year_other": "{{time}} years",
"mo": "{{time}}mo",
- "month": "{{time}} months",
+ "month_one": "{{time}} month",
+ "month_other": "{{time}} months",
"d": "{{time}}d",
- "day": "{{time}} days",
+ "day_one": "{{time}} day",
+ "day_other": "{{time}} days",
"h": "{{time}}h",
- "hour": "{{time}} hours",
+ "hour_one": "{{time}} hour",
+ "hour_other": "{{time}} hours",
"m": "{{time}}m",
- "minute": "{{time}} minutes",
+ "minute_one": "{{time}} minute",
+ "minute_other": "{{time}} minutes",
"s": "{{time}}s",
- "second": "{{time}} seconds",
+ "second_one": "{{time}} second",
+ "second_other": "{{time}} seconds",
"formattedTimestamp": {
"12hour": "%b %-d, %I:%M:%S %p",
"24hour": "%b %-d, %H:%M:%S"
diff --git a/web/public/locales/en/components/filter.json b/web/public/locales/en/components/filter.json
index a5ed532bb6..bff306f307 100644
--- a/web/public/locales/en/components/filter.json
+++ b/web/public/locales/en/components/filter.json
@@ -6,7 +6,8 @@
"title": "All Labels",
"short": "Labels"
},
- "count": "{{count}} Labels"
+ "count_one": "{{count}} Label",
+ "count_other": "{{count}} Labels"
},
"zones": {
"label": "Zones",
diff --git a/web/public/locales/en/views/explore.json b/web/public/locales/en/views/explore.json
index 8b9b39c840..7ba43d1760 100644
--- a/web/public/locales/en/views/explore.json
+++ b/web/public/locales/en/views/explore.json
@@ -179,7 +179,8 @@
},
"noTrackedObjects": "No Tracked Objects Found",
"fetchingTrackedObjectsFailed": "Error fetching tracked objects: {{errorMessage}}",
- "trackedObjectsCount": "{{count}} tracked objects ",
+ "trackedObjectsCount_one": "{{count}} tracked object ",
+ "trackedObjectsCount_other": "{{count}} tracked objects ",
"searchResult": {
"deleteTrackedObject": {
"toast": {