Skip to content

Open Infrastructure Map, a view of infrastructure data in OpenStreetMap

Add some more translation keys to power lines

Russ Garrett11fd19a07e21
diff --git a/web/locales/en/translation.json b/web/locales/en/translation.json
index a2ace68..3c8bc1d 100644
--- a/web/locales/en/translation.json
+++ b/web/locales/en/translation.json
@@ -113,7 +113,11 @@
"view-openstreetmap": "View on OpenStreetMap",
"substance": "Substance",
"usage": "Usage",
- "location": "Location"
+ "location": "Location",
+ "design": "Design",
+ "material": "Material",
+ "line-attachment": "Line attachment",
+ "line-management": "Line management"
},
"nav": {
"about": "about",
diff --git a/web/src/infopopup.ts b/web/src/infopopup.ts
index f3cc3e2..993f7e7 100644
--- a/web/src/infopopup.ts
+++ b/web/src/infopopup.ts
@@ -40,6 +40,10 @@ function fieldName(key: string) {
substance: t('info.substance'),
location: t('info.location'),
usage: t('info.usage'),
+ design: t('info.design'),
+ material: t('info.material'),
+ line_attachment: t('info.line-attachment'),
+ line_management: t('info.line-management'),
repd_id: 'REPD ID'
}[key] || titleCase(key)
)