Skip to content

Commit

Permalink
Update priority landscape translation
Browse files Browse the repository at this point in the history
  • Loading branch information
yulia-bel committed Nov 29, 2023
1 parent 641990b commit 9c575ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/app/services/importers/geo_jsons/mosaics.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
Expand Down
2 changes: 1 addition & 1 deletion backend/spec/services/importers/geo_jsons/mosaics_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9c575ed

Please sign in to comment.