From 9c575ed75c085492c75963929803cdb7fe541820 Mon Sep 17 00:00:00 2001 From: yulia-bel Date: Wed, 29 Nov 2023 12:40:22 +0100 Subject: [PATCH] Update priority landscape translation --- backend/app/services/importers/geo_jsons/mosaics.rb | 2 +- backend/spec/services/importers/geo_jsons/mosaics_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/app/services/importers/geo_jsons/mosaics.rb b/backend/app/services/importers/geo_jsons/mosaics.rb index 041d3c7b8..d5b5194c7 100644 --- a/backend/app/services/importers/geo_jsons/mosaics.rb +++ b/backend/app/services/importers/geo_jsons/mosaics.rb @@ -6,7 +6,7 @@ class Mosaics < Base "Piedemonte Amazónico - Macizo" => {name_en: "Amazonian Piedmont Massif", name_es: "Piedemonte Amazónico - Macizo", name_pt: "Maciço Piedemonte Amazônico"}, "Transición Orinoquía" => {name_en: "Orinoquía Transition", name_es: "Transición Orinoquía", name_pt: "Transição Orinoquía"}, "Orinoquía" => {name_en: "Orinoquía", name_es: "Orinoquía", name_pt: "Orinoquía"}, - "Cordillera Oriental" => {name_en: "Eastern Mountain", name_es: "Cordillera Oriental", name_pt: "Cordilheira Oriental"}, + "Cordillera Oriental" => {name_en: "Eastern Mountain Range", name_es: "Cordillera Oriental", name_pt: "Cordilheira Oriental"}, "Cordillera Central" => {name_en: "Central Mountain Range", name_es: "Cordillera Central", name_pt: "Cordilheira Central"}, "Pacífico - Marino Costero" => {name_en: "Pacific - Coastal Marine", name_es: "Pacífico - Marino Costero", name_pt: "Pacífico - Marinho Costeiro"}, "Caribe" => {name_en: "Caribbean", name_es: "Caribe", name_pt: "Caribe"}, diff --git a/backend/spec/services/importers/geo_jsons/mosaics_spec.rb b/backend/spec/services/importers/geo_jsons/mosaics_spec.rb index 92a596995..4a1f6fbb3 100644 --- a/backend/spec/services/importers/geo_jsons/mosaics_spec.rb +++ b/backend/spec/services/importers/geo_jsons/mosaics_spec.rb @@ -30,7 +30,7 @@ it "assigns correct attributes to first priority landscape" do location = priority_landscapes.find_by name_es: "Cordillera Oriental" - expect(location.name_en).to eq("Eastern Mountain") + expect(location.name_en).to eq("Eastern Mountain Range") expect(location.visible).to be_truthy expect(location.code).to eq(Importers::GeoJsons::Mosaics::PRIORITY_LANDSCAPE_CODES["Cordillera Oriental"]) end