Skip to content

Commit fe8466c

Browse files
authored
i18n: backfill the 15 non-English catalogs to 100% coverage (#1514)
* i18n: backfill the 15 non-English catalogs to 100% coverage The catalogs had drifted 6% behind en.json (245 keys), since only en.json is typed into t() and nothing in CI fails when another locale lacks a key. Adds the missing keys for the OGC API - Features layer type, the Earthdata GIS panel, the Hugging Face panel, the H3 grid plugin, the dashboard indicator chart, and a handful of smaller surfaces. Also fills in toolbar.plugin, which maps a plugin id to its menu label. PluginsMenu falls back to the plugin's English name when the id is absent, and 25 of the 37 built-in plugins had no entry, so names like H3 Grid and Flight Simulator rendered English in every locale even though both panels were fully translated. Where the same name is already translated elsewhere the existing value is reused; brand names are left as-is. Keys are inserted in en.json order, so the diff is additive. * Address CodeRabbit review feedback - de: lowercase webMapEmpty and addTimeout. Both are thrown as new Error(labels.X) and interpolated into addError, so English keeps them as sentence fragments; German was the only cased locale that capitalized them. CodeRabbit flagged the same pattern in id/tr and asked to capitalize those, which would be the wrong direction. - ar/de/es/fr/it/nl/pt/ru: make earthdataGis.showing and h3Plugin.cellCount count-neutral so they read correctly at 1, which a bare plural noun after a runtime count does not. showing carries two counts, so i18next plurals cannot express it and label-style wording is the only fix. Applied to every locale with numeral agreement, not just the flagged ones. - ar: metaOwner was a verb phrase; use the publisher label instead. - it: imperative Aggiungi in the add-data description to match its siblings, con un URL in urlHint, ID della collection in errorCollection. - fr/it/pt: reword the RGB band hint; the pt one was also missing its noun. - ja/zh: bandB now matches the red and green labels next to it. - ru: complete includeNeighbors, fix pronoun agreement in engineHint. - tr: Rasterlar without the apostrophe. * Address CodeRabbit review feedback (round 2) - ar/de/es/fr/it/nl/pt/ru: make webMapAddedPartial count-neutral. Same two-count defect as earthdataGis.showing, which the previous commit fixed while missing this one; added can be 1, so a bare plural noun after it is wrong. - es/it/pt: h3Plugin.parent is the hierarchical parent, so "padre"/"pai" rather than "superior"/"superiore", which reads as spatially above and did not pair with the "hijas"/"figlie"/"filhas" already used for children. de/fr/nl/ru were already internally consistent and are unchanged. - pt: imperative "Adicione" in the add-data description to match its siblings. - fr: name the noun in h3Plugin.includeNeighbors. - it: more natural word order in the Earthdata GIS hint.
1 parent 4b1cf4f commit fe8466c

16 files changed

Lines changed: 4191 additions & 29 deletions

File tree

apps/geolibre-desktop/src/i18n/locales/ar.json

Lines changed: 329 additions & 2 deletions
Large diffs are not rendered by default.

apps/geolibre-desktop/src/i18n/locales/de.json

Lines changed: 293 additions & 2 deletions
Large diffs are not rendered by default.

apps/geolibre-desktop/src/i18n/locales/en.json

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2412,7 +2412,32 @@
24122412
"geolibre-elevation-profile": "Elevation Profile",
24132413
"maplibre-gl-basemap-control": "Basemaps",
24142414
"maplibre-layer-control": "Layer Control",
2415-
"maplibre-gl-huggingface": "Hugging Face"
2415+
"maplibre-gl-huggingface": "Hugging Face",
2416+
"carto-light": "Carto Light Basemap",
2417+
"geolibre-flight-simulator": "Flight Simulator",
2418+
"geolibre-route-animation": "Route Animation",
2419+
"geolibre-sun": "Sun Simulation",
2420+
"maplibre-atmosphere-effects": "Atmospheric Effects",
2421+
"maplibre-deckgl-viz": "Deck.gl Layer",
2422+
"maplibre-gl-clouds": "Clouds",
2423+
"maplibre-gl-components": "Components",
2424+
"maplibre-gl-directions": "Directions",
2425+
"maplibre-gl-earthdata-gis": "Earthdata GIS",
2426+
"maplibre-gl-enviroatlas": "US EPA EnviroAtlas",
2427+
"maplibre-gl-fema-wms": "FEMA NFHL",
2428+
"maplibre-gl-geo-editor": "GeoEditor",
2429+
"maplibre-gl-geoagent": "GeoAgent",
2430+
"maplibre-gl-geolens": "GeoLens",
2431+
"maplibre-gl-graticule": "Gridlines",
2432+
"maplibre-gl-mapillary": "Mapillary",
2433+
"maplibre-gl-nasa-earthdata": "NASA Earthdata",
2434+
"maplibre-gl-national-map": "USGS National Map",
2435+
"maplibre-gl-overture-maps": "Overture Maps",
2436+
"maplibre-gl-precipitation": "Precipitation",
2437+
"maplibre-gl-usgs-lidar": "USGS LiDAR",
2438+
"maplibre-h3-grid": "H3 Grid",
2439+
"maplibre-reverse-geocode": "Reverse Geocode",
2440+
"osm-basemap": "OpenStreetMap Basemap"
24162441
},
24172442
"fileDrop": {
24182443
"overlayTitle": "Drop vector or raster files here to add layers",

apps/geolibre-desktop/src/i18n/locales/es.json

Lines changed: 281 additions & 1 deletion
Large diffs are not rendered by default.

apps/geolibre-desktop/src/i18n/locales/fr.json

Lines changed: 293 additions & 2 deletions
Large diffs are not rendered by default.

apps/geolibre-desktop/src/i18n/locales/hi.json

Lines changed: 293 additions & 2 deletions
Large diffs are not rendered by default.

apps/geolibre-desktop/src/i18n/locales/id.json

Lines changed: 284 additions & 2 deletions
Large diffs are not rendered by default.

apps/geolibre-desktop/src/i18n/locales/it.json

Lines changed: 293 additions & 2 deletions
Large diffs are not rendered by default.

apps/geolibre-desktop/src/i18n/locales/ja.json

Lines changed: 284 additions & 2 deletions
Large diffs are not rendered by default.

apps/geolibre-desktop/src/i18n/locales/ka.json

Lines changed: 57 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2412,7 +2412,32 @@
24122412
"geolibre-elevation-profile": "სიმაღლის პროფილი",
24132413
"maplibre-gl-basemap-control": "ბაზური რუკები",
24142414
"maplibre-layer-control": "შრეების მართვა",
2415-
"maplibre-gl-huggingface": "Hugging Face"
2415+
"maplibre-gl-huggingface": "Hugging Face",
2416+
"carto-light": "Carto Light ბაზური რუკა",
2417+
"geolibre-flight-simulator": "ფრენის სიმულატორი",
2418+
"geolibre-route-animation": "მარშრუტის ანიმაცია",
2419+
"geolibre-sun": "მზის სიმულაცია",
2420+
"maplibre-atmosphere-effects": "ატმოსფერული ეფექტები",
2421+
"maplibre-deckgl-viz": "Deck.gl შრე",
2422+
"maplibre-gl-clouds": "ღრუბლები",
2423+
"maplibre-gl-components": "კომპონენტები",
2424+
"maplibre-gl-directions": "მიმართულებები",
2425+
"maplibre-gl-earthdata-gis": "Earthdata GIS",
2426+
"maplibre-gl-enviroatlas": "US EPA EnviroAtlas",
2427+
"maplibre-gl-fema-wms": "FEMA NFHL",
2428+
"maplibre-gl-geo-editor": "GeoEditor",
2429+
"maplibre-gl-geoagent": "GeoAgent",
2430+
"maplibre-gl-geolens": "GeoLens",
2431+
"maplibre-gl-graticule": "ბადე",
2432+
"maplibre-gl-mapillary": "Mapillary",
2433+
"maplibre-gl-nasa-earthdata": "NASA Earthdata",
2434+
"maplibre-gl-national-map": "USGS National Map",
2435+
"maplibre-gl-overture-maps": "Overture Maps",
2436+
"maplibre-gl-precipitation": "ნალექი",
2437+
"maplibre-gl-usgs-lidar": "USGS LiDAR",
2438+
"maplibre-h3-grid": "H3 ბადე",
2439+
"maplibre-reverse-geocode": "შებრუნებული გეოკოდირება",
2440+
"osm-basemap": "OpenStreetMap-ის ბაზური რუკა"
24162441
},
24172442
"fileDrop": {
24182443
"overlayTitle": "ჩააგდეთ ვექტორული ან რასტრული ფაილები აქ შრეების დასამატებლად",
@@ -2651,6 +2676,36 @@
26512676
"labelColor": "წარწერის ფერი",
26522677
"labelSize": "წარწერის ზომა"
26532678
},
2679+
"h3Plugin": {
2680+
"title": "H3 ბადე",
2681+
"controlTitle": "H3 ბადის პარამეტრები",
2682+
"resolution": "გარჩევადობა",
2683+
"cellCount": "ხედში {{count}} უჯრედია",
2684+
"tooManyCells": "ეს ხედი აჭარბებს {{limit}} უჯრედის ლიმიტს. მიუახლოვდით ან შეამცირეთ გარჩევადობა.",
2685+
"fillColor": "შევსების ფერი",
2686+
"fillOpacity": "შევსების გამჭვირვალობა",
2687+
"lineColor": "მოხაზულობის ფერი",
2688+
"lineWidth": "მოხაზულობის სისქე",
2689+
"showLabels": "უჯრედების id-ების ჩვენება",
2690+
"identifyHint": "H3 უჯრედის დასადგენად დააწკაპუნეთ რუკაზე.",
2691+
"selectedCell": "არჩეული უჯრედი",
2692+
"noSelection": "უჯრედი არჩეული არ არის",
2693+
"copyId": "id-ის კოპირება",
2694+
"copied": "დაკოპირდა",
2695+
"parent": "მშობელი უჯრედი",
2696+
"children": "შვილეული უჯრედები",
2697+
"neighbors": "მეზობელი უჯრედები",
2698+
"baseCell": "საბაზისო უჯრედი",
2699+
"center": "ცენტრი",
2700+
"pentagon": "ხუთკუთხედი",
2701+
"yes": "დიახ",
2702+
"no": "არა",
2703+
"zoomToCell": "უჯრედზე მიახლოება",
2704+
"addAsLayer": "ბადის შრედ დამატება",
2705+
"exportGeoJson": "GeoJSON-ის ექსპორტი",
2706+
"exportCsv": "CSV-ის ექსპორტი",
2707+
"includeNeighbors": "არჩეული უჯრედის მეზობლების ჩართვა"
2708+
},
26542709
"timelapse": {
26552710
"title": "დროის ლაფსი",
26562711
"provider": "გამოსახულების წყარო",
@@ -3985,6 +4040,7 @@
39854040
"schemeAlphabetical": "ანბანური",
39864041
"schemeFirstValues": "პირველი მნიშვნელობები",
39874042
"errorChooseAttribute": "აირჩიეთ ატრიბუტი ამ სტილის რეჟიმისთვის.",
4043+
"errorAttributesUnavailable": "ამ შრის ატრიბუტების მნიშვნელობების ჩატვირთვა ვერ მოხერხდა.",
39884044
"errorGraduatedStops": "გრადუირებული სტილი მოითხოვს სულ მცირე ორ რიცხვით საფეხურს.",
39894045
"errorCategorizedStops": "კატეგორიზებული სტილი მოითხოვს სულ მცირე ერთ კატეგორიას.",
39904046
"invertedFill": "ინვერსიული შევსება",

0 commit comments

Comments
 (0)