import React from "react";
import PropTypes from "prop-types";
const propTypes = {
  language: PropTypes.string.isRequired
};
const desc = (lng, date) => {
  if (lng === "de") {
    return "Angezeigt werden SBB-Bauprojekte bis ".concat(date, ", welche durch\n      zus\xE4tzliche oder erweiterte Bahninfrastruktur mehr Leistung und/oder mehr\n      Komfort erm\xF6glichen.");
  }
  if (lng === "fr") {
    return "Pr\xE9sentation des projets de construction des CFF jusqu'en ".concat(date, "\n      permettant davantage de prestations et/ou de confort gr\xE2ce \xE0 des\n      infrastructures ferroviaires nouvelles ou \xE9tendues.");
  }
  if (lng === "it") {
    return "Progetti di costruzione delle FFS fino al ".concat(date, " che rendono\n      possibile una maggiore prestazione e/o un maggiore comfort grazie a\n      un\u2019infrastruttura ferroviaria supplementare o ampliata.");
  }
  return "This shows you SBB construction projects up to ".concat(date, " that will\n    create additional or expanded rail infrastructure to improve performance\n    and/or enhance comfort.");
};
function ConstructionFertigstellungLayerInfo(_ref) {
  let {
    language,
    properties
  } = _ref;
  const key = properties.get("date");
  return desc(language, key);
}
ConstructionFertigstellungLayerInfo.propTypes = propTypes;
export default /*#__PURE__*/React.memo(ConstructionFertigstellungLayerInfo);
//# sourceMappingURL=ConstructionFertigstellungLayerInfo.js.map