From e1f93b2378181c3853579aa0557303baf108770a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20V=C3=A1clav=C3=ADk?= Date: Thu, 30 Jan 2025 19:49:40 +0100 Subject: [PATCH] FeaturePanel: Update typography and design --- .../Climbing/ClimbingGuideInfo.tsx | 82 ++++++++++-------- .../FeaturePanelClimbingGuideInfo.tsx | 11 ++- .../FeaturePanel/Climbing/PanelLabel.tsx | 19 +++-- src/components/FeaturePanel/CragsInArea.tsx | 85 +++++++++---------- .../EditDialog/EditContent/MembersEditor.tsx | 4 +- .../EditDialog/EditContent/ParentsEditor.tsx | 2 +- .../FeaturePanel/FeatureHeading.tsx | 77 +++++++++++------ .../FeatureImages/FeatureImages.tsx | 2 +- .../FeatureImages/Image/Image.tsx | 4 +- src/components/FeaturePanel/FeaturePanel.tsx | 4 +- .../MemberFeatures/MemberFeatures.tsx | 12 ++- .../QuickActions/QuickActionButton.tsx | 1 - .../QuickActions/QuickActions.tsx | 2 +- .../QuickActions/ShareDialog/ShareButton.tsx | 4 +- .../QuickActions/ShareDialog/ShareDialog.tsx | 2 +- .../FeaturePanel/helpers/PoiDescription.tsx | 10 +-- src/components/utils/PanelHelpers.tsx | 2 +- src/locales/cs.js | 7 +- src/locales/vocabulary.js | 9 +- src/services/tagging/ourPresets.ts | 2 +- 20 files changed, 189 insertions(+), 152 deletions(-) diff --git a/src/components/FeaturePanel/Climbing/ClimbingGuideInfo.tsx b/src/components/FeaturePanel/Climbing/ClimbingGuideInfo.tsx index c8806e560..b408da394 100644 --- a/src/components/FeaturePanel/Climbing/ClimbingGuideInfo.tsx +++ b/src/components/FeaturePanel/Climbing/ClimbingGuideInfo.tsx @@ -7,12 +7,18 @@ import { Stack, Typography, useTheme, + Paper, } from '@mui/material'; import { useFeatureContext } from '../../utils/FeatureContext'; import { t } from '../../../services/intl'; import ExpandMoreIcon from '@mui/icons-material/ExpandMore'; import ArrowForwardIosIcon from '@mui/icons-material/ArrowForwardIos'; import { LogoOpenClimbing } from '../../../assets/LogoOpenClimbing'; +import styled from '@emotion/styled'; + +const Container = styled.div` + margin-bottom: 8px; +`; export const ClimbingGuideInfo = () => { const { persistShowHomepage } = useFeatureContext(); @@ -23,44 +29,46 @@ export const ClimbingGuideInfo = () => { }; return ( - - }> - - - - openclimbing.org: {t('climbing.guideinfo.title')} + + + }> + + + + openclimbing.org: {t('climbing.guideinfo.title')} + + + + + + {t('climbing.guideinfo.description')} - - - - - {t('climbing.guideinfo.description')} - - - - - - + + + + + ); }; diff --git a/src/components/FeaturePanel/Climbing/FeaturePanelClimbingGuideInfo.tsx b/src/components/FeaturePanel/Climbing/FeaturePanelClimbingGuideInfo.tsx index 23ebccd0c..d400dab6f 100644 --- a/src/components/FeaturePanel/Climbing/FeaturePanelClimbingGuideInfo.tsx +++ b/src/components/FeaturePanel/Climbing/FeaturePanelClimbingGuideInfo.tsx @@ -1,13 +1,12 @@ import { ClimbingGuideInfo } from './ClimbingGuideInfo'; -import { useFeatureContext } from '../../utils/FeatureContext'; -import { climbingTagValues } from './utils/climbingTagValues'; +import { PROJECT_ID } from '../../../services/project'; +import { useMobileMode } from '../../helpers'; export const FeaturePanelClimbingGuideInfo = () => { - const { feature } = useFeatureContext(); + const isOpenClimbing = PROJECT_ID === 'openclimbing'; + const isMobileMode = useMobileMode(); - const isClimbing = climbingTagValues.includes(feature.tags.climbing); - - if (!isClimbing) { + if (!isOpenClimbing || isMobileMode) { return null; } diff --git a/src/components/FeaturePanel/Climbing/PanelLabel.tsx b/src/components/FeaturePanel/Climbing/PanelLabel.tsx index 0c99e5d87..a56da88dd 100644 --- a/src/components/FeaturePanel/Climbing/PanelLabel.tsx +++ b/src/components/FeaturePanel/Climbing/PanelLabel.tsx @@ -1,6 +1,7 @@ import React from 'react'; import styled from '@emotion/styled'; import { ContentContainer } from './ContentContainer'; +import { Box } from '@mui/material'; type PanelLabelProps = { children: React.ReactNode; @@ -8,7 +9,7 @@ type PanelLabelProps = { border?: boolean; }; -export const Container = styled.div<{ $border: boolean }>` +export const Container = styled.div` padding: 20px 10px 4px; `; @@ -17,25 +18,25 @@ export const InnerContainer = styled.div` justify-content: space-between; align-items: center; `; -export const Title = styled.div` +export const Title = styled.h3` + margin: 0; + align-self: center; font-weight: bold; + font-size: 12px; + text-transform: uppercase; color: ${({ theme }) => theme.palette.secondary.main}; `; export const Addition = styled.div` color: ${({ theme }) => theme.palette.secondary.main}; `; -export const PanelLabel = ({ - children, - addition, - border = true, -}: PanelLabelProps) => ( - +export const PanelLabel = ({ children, addition }: PanelLabelProps) => ( + {children} {addition} - + ); diff --git a/src/components/FeaturePanel/CragsInArea.tsx b/src/components/FeaturePanel/CragsInArea.tsx index 3da936cda..5be3c6f75 100644 --- a/src/components/FeaturePanel/CragsInArea.tsx +++ b/src/components/FeaturePanel/CragsInArea.tsx @@ -1,5 +1,5 @@ import styled from '@emotion/styled'; -import { Box } from '@mui/material'; +import { Box, Chip } from '@mui/material'; import React from 'react'; import Router from 'next/router'; import ArrowForwardIosIcon from '@mui/icons-material/ArrowForwardIos'; @@ -16,19 +16,15 @@ import { intl, t } from '../../services/intl'; import Link from 'next/link'; import { naturalSort } from './Climbing/utils/array'; import { PanelLabel } from './Climbing/PanelLabel'; +import { PROJECT_ID } from '../../services/project'; + +const isOpenClimbing = PROJECT_ID === 'openclimbing'; const ArrowIcon = styled(ArrowForwardIosIcon)` opacity: 0.2; margin-left: 12px; `; -const HeadingRow = styled.div` - display: flex; - flex-direction: row; - align-items: center; - padding: 0 12px; -`; - const Container = styled.div` overflow: auto; flex-direction: column; @@ -36,9 +32,9 @@ const Container = styled.div` gap: 8px; justify-content: space-between; cursor: pointer; - border-radius: 8px; - padding: 12px 0; - background-color: ${({ theme }) => theme.palette.background.elevation}; + //border-radius: 8px; + padding: 0 0 20px 0; + //background-color: ${({ theme }) => theme.palette.background.elevation}; &:hover { ${ArrowIcon} { opacity: 1; @@ -49,58 +45,60 @@ const Container = styled.div` const CragList = styled.div` display: flex; flex-direction: column; - gap: 12px; + gap: 20px; margin-top: 12px; `; -const StyledLink = styled(Link)` - text-decoration: none !important; -`; - -const Content = styled.div` - flex: 1; +const Name = styled.div` + overflow: hidden; + text-overflow: ellipsis; `; -const CragName = styled.div` - padding: 0; +const CragName = styled.h2` font-weight: 900; - font-size: 20px; + margin: 0; + font-size: 28px; + line-height: 1.2; + ${isOpenClimbing && `font-family: 'Piazzolla', sans-serif;`} color: ${({ theme }) => theme.palette.primary.main}; -`; - -const Attributes = styled.div` display: flex; + flex-direction: row; gap: 8px; + align-items: center; + justify-content: space-between; `; -const NumberOfRoutes = styled.div` - font-size: 13px; - color: ${({ theme }) => theme.palette.secondary.main}; +const StyledLink = styled(Link)` + text-decoration: none !important; + &:hover ${Name} { + text-decoration: underline; + } `; const Header = ({ - imagesCount, label, routesCount, }: { label: string; routesCount: number; - imagesCount: number; }) => ( - - - {label}{' '} - - {routesCount > 0 && ( - {routesCount} routes - )} - {imagesCount > 0 && ( - {imagesCount} photos - )} - - - - + + + {label} + {routesCount && ( + + {routesCount} {t('featurepanel.routes')} + + } + sx={{ position: 'relative', top: 2, fontWeight: 'normal' }} + /> + )} + {' '} + ); const Gallery = ({ images }) => { @@ -143,7 +141,6 @@ const CragItem = ({ feature }: { feature: Feature }) => {
{images.length ? : null} diff --git a/src/components/FeaturePanel/EditDialog/EditContent/MembersEditor.tsx b/src/components/FeaturePanel/EditDialog/EditContent/MembersEditor.tsx index 565e79bd0..b95985f0e 100644 --- a/src/components/FeaturePanel/EditDialog/EditContent/MembersEditor.tsx +++ b/src/components/FeaturePanel/EditDialog/EditContent/MembersEditor.tsx @@ -50,7 +50,9 @@ export const MembersEditor = () => { > {getSectionName()} - {membersLength && } + {membersLength && ( + + )} diff --git a/src/components/FeaturePanel/EditDialog/EditContent/ParentsEditor.tsx b/src/components/FeaturePanel/EditDialog/EditContent/ParentsEditor.tsx index fab4a5a45..432c4e034 100644 --- a/src/components/FeaturePanel/EditDialog/EditContent/ParentsEditor.tsx +++ b/src/components/FeaturePanel/EditDialog/EditContent/ParentsEditor.tsx @@ -69,7 +69,7 @@ export const ParentsEditor = () => { > {getSectionName()} - + diff --git a/src/components/FeaturePanel/FeatureHeading.tsx b/src/components/FeaturePanel/FeatureHeading.tsx index a9c554872..d1b4343cd 100644 --- a/src/components/FeaturePanel/FeatureHeading.tsx +++ b/src/components/FeaturePanel/FeatureHeading.tsx @@ -1,7 +1,7 @@ import React from 'react'; import styled from '@emotion/styled'; import EditIcon from '@mui/icons-material/Edit'; -import { Box, IconButton, Stack, useMediaQuery } from '@mui/material'; +import { Box, IconButton, Stack, Tooltip, useMediaQuery } from '@mui/material'; import { useEditDialogContext } from './helpers/EditDialogContext'; import { PoiDescription } from './helpers/PoiDescription'; import { getLabel, getSecondaryLabel } from '../../helpers/featureLabel'; @@ -10,14 +10,25 @@ import { t } from '../../services/intl'; import { isMobileDevice } from '../helpers'; import { QuickActions } from './QuickActions/QuickActions'; import { NwrIcon } from './NwrIcon'; -import { getShortId } from '../../services/helpers'; +import { PROJECT_ID } from '../../services/project'; + +const isOpenClimbing = PROJECT_ID === 'openclimbing'; const StyledEditButton = styled(IconButton)` - visibility: hidden; position: relative; top: 3px; `; +const EditNameContainer = styled.div` + position: absolute; + z-index: 1010000; + right: 0; + top: 0; + bottom: 0; + align-items: center; + display: flex; + background: ${({ theme }) => theme.palette.background.paper}; +`; const EditNameButton = () => { const { openWithTag } = useEditDialogContext(); const { feature } = useFeatureContext(); @@ -26,65 +37,64 @@ const EditNameButton = () => { } return ( -
- openWithTag('name')} size="small"> - - -
+ + + openWithTag('name')} size="small"> + + + + ); }; const Container = styled.div<{ isStandalone: boolean }>` - margin: 12px 0 20px 0; + margin: 20px 0; ${({ isStandalone }) => isStandalone && 'padding-bottom: 8px;'} `; const HeadingContainer = styled.div` - margin: 6px 0 4px 0; + margin: 0 0 12px 0; display: flex; + align-items: center; justify-content: space-between; position: relative; - - &:hover ${StyledEditButton} { - visibility: visible; - } `; const HeadingsWrapper = styled.div` display: flex; flex-direction: column; - gap: 0.5rem; + flex: 1; `; -const Headings = () => { +const Headings = ({ onMouseEnter, onMouseLeave, isHovered }) => { const { feature } = useFeatureContext(); const label = getLabel(feature); const secondaryLabel = getSecondaryLabel(feature); return ( - + {label} {secondaryLabel && ( {secondaryLabel} )} + {isHovered && } ); }; const Heading = styled.h1<{ $deleted: boolean }>` - font-size: 36px; - line-height: 0.98; + font-size: 46px; + line-height: 1.2; + ${isOpenClimbing && `font-family: 'Piazzolla', sans-serif;`} margin: 0; ${({ $deleted }) => $deleted && 'text-decoration: line-through;'} `; const SecondaryHeading = styled.h2<{ $deleted: boolean }>` font-size: 24px; line-height: 0.98; + ${isOpenClimbing && `font-family: 'Piazzolla', sans-serif;`} margin: 0; ${({ $deleted }) => $deleted && 'text-decoration: line-through;'} `; @@ -94,19 +104,30 @@ export const FeatureHeading = React.forwardRef((_, ref) => { const isStandalone = useMediaQuery('(display-mode: standalone)'); const { feature } = useFeatureContext(); + const [isHovered, setIsHovered] = React.useState(false); + + const onMouseEnter = () => { + setIsHovered(true); + }; + const onMouseLeave = () => { + setIsHovered(false); + }; + return ( + - - - {/* */} - - + + - + ); diff --git a/src/components/FeaturePanel/FeatureImages/FeatureImages.tsx b/src/components/FeaturePanel/FeatureImages/FeatureImages.tsx index 9898c6922..e645f57f5 100644 --- a/src/components/FeaturePanel/FeatureImages/FeatureImages.tsx +++ b/src/components/FeaturePanel/FeatureImages/FeatureImages.tsx @@ -17,7 +17,7 @@ const StyledScrollbars = styled(Scrollbars)` width: 100%; height: 100%; white-space: nowrap; - text-align: center; // one image centering + //text-align: center; // one image centering overflow-y: hidden; overflow-x: auto; diff --git a/src/components/FeaturePanel/FeatureImages/Image/Image.tsx b/src/components/FeaturePanel/FeatureImages/Image/Image.tsx index 18e179447..54330f22e 100644 --- a/src/components/FeaturePanel/FeatureImages/Image/Image.tsx +++ b/src/components/FeaturePanel/FeatureImages/Image/Image.tsx @@ -49,9 +49,9 @@ const ImageWrapper = styled.div<{ $hasPaths: boolean }>` vertical-align: top; overflow: hidden; - margin-right: 8px; + margin-right: 12px; &:first-of-type { - margin-left: 8px; + margin-left: 16px; } ${({ onClick }) => onClick && `cursor: pointer;`} diff --git a/src/components/FeaturePanel/FeaturePanel.tsx b/src/components/FeaturePanel/FeaturePanel.tsx index 605098c2e..9ddac0087 100644 --- a/src/components/FeaturePanel/FeaturePanel.tsx +++ b/src/components/FeaturePanel/FeaturePanel.tsx @@ -95,9 +95,7 @@ export const FeaturePanel = ({ headingRef }: FeaturePanelProps) => { {!skeleton && ( <> - - - + diff --git a/src/components/FeaturePanel/MemberFeatures/MemberFeatures.tsx b/src/components/FeaturePanel/MemberFeatures/MemberFeatures.tsx index 49fa594b7..97f33d6ea 100644 --- a/src/components/FeaturePanel/MemberFeatures/MemberFeatures.tsx +++ b/src/components/FeaturePanel/MemberFeatures/MemberFeatures.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { Box, Chip } from '@mui/material'; +import { Box, Chip, Stack } from '@mui/material'; import { getOsmappLink, getReactKey } from '../../../services/helpers'; import { useFeatureContext } from '../../utils/FeatureContext'; import { PanelLabel } from '../Climbing/PanelLabel'; @@ -68,7 +68,15 @@ export const MemberFeatures = () => { return ( }> - {getHeading(feature)} + +
{getHeading(feature)}
+ +
{climbingRoutesFeatures.length > 0 && (
    diff --git a/src/components/FeaturePanel/QuickActions/QuickActionButton.tsx b/src/components/FeaturePanel/QuickActions/QuickActionButton.tsx index 56e223021..f9d76d47f 100644 --- a/src/components/FeaturePanel/QuickActions/QuickActionButton.tsx +++ b/src/components/FeaturePanel/QuickActions/QuickActionButton.tsx @@ -15,7 +15,6 @@ export const QuickActionButton = forwardRef( label={label} icon={} onClick={onClick} - variant="outlined" /> ), ); diff --git a/src/components/FeaturePanel/QuickActions/QuickActions.tsx b/src/components/FeaturePanel/QuickActions/QuickActions.tsx index da221ba4a..1456fab36 100644 --- a/src/components/FeaturePanel/QuickActions/QuickActions.tsx +++ b/src/components/FeaturePanel/QuickActions/QuickActions.tsx @@ -36,8 +36,8 @@ export const QuickActions = () => ( Router.push('/directions'); }} /> - + diff --git a/src/components/FeaturePanel/QuickActions/ShareDialog/ShareButton.tsx b/src/components/FeaturePanel/QuickActions/ShareDialog/ShareButton.tsx index 73fa51533..ffea34f3b 100644 --- a/src/components/FeaturePanel/QuickActions/ShareDialog/ShareButton.tsx +++ b/src/components/FeaturePanel/QuickActions/ShareDialog/ShareButton.tsx @@ -1,5 +1,5 @@ import { QuickActionButton } from '../QuickActionButton'; -import { ShareIcon } from './helpers'; +import IosShareIcon from '@mui/icons-material/IosShare'; import React from 'react'; import { useBoolState } from '../../../helpers'; import { t } from '../../../../services/intl'; @@ -12,7 +12,7 @@ export const ShareButton = () => { <> diff --git a/src/components/FeaturePanel/QuickActions/ShareDialog/ShareDialog.tsx b/src/components/FeaturePanel/QuickActions/ShareDialog/ShareDialog.tsx index 14b42a2b6..95f1ec9e1 100644 --- a/src/components/FeaturePanel/QuickActions/ShareDialog/ShareDialog.tsx +++ b/src/components/FeaturePanel/QuickActions/ShareDialog/ShareDialog.tsx @@ -41,7 +41,7 @@ export const ShareDialog = ({ open, onClose }: Props) => { {t('featurepanel.share_button')}: {label} - + diff --git a/src/components/FeaturePanel/helpers/PoiDescription.tsx b/src/components/FeaturePanel/helpers/PoiDescription.tsx index d86e66a79..e47a8cf0e 100644 --- a/src/components/FeaturePanel/helpers/PoiDescription.tsx +++ b/src/components/FeaturePanel/helpers/PoiDescription.tsx @@ -4,11 +4,9 @@ import { getHumanPoiType } from '../../../helpers/featureLabel'; import { useFeatureContext } from '../../utils/FeatureContext'; import Maki from '../../utils/Maki'; import { useUserThemeContext } from '../../../helpers/theme'; +import { Typography } from '@mui/material'; const PoiType = styled.div<{ $isSkeleton: Boolean }>` - color: ${({ theme }) => theme.palette.secondary.main}; - - font-size: 13px; position: relative; img { @@ -34,9 +32,11 @@ export const PoiDescription = () => { ico={properties.class} invert={currentTheme === 'dark'} middle - style={{ opacity: '0.4' }} + style={{ opacity: '0.2' }} /> - {poiType} + + {poiType} + ); }; diff --git a/src/components/utils/PanelHelpers.tsx b/src/components/utils/PanelHelpers.tsx index e814176d6..845a52899 100644 --- a/src/components/utils/PanelHelpers.tsx +++ b/src/components/utils/PanelHelpers.tsx @@ -119,5 +119,5 @@ export const PanelFooterWrapper = styled.div` `; export const PanelSidePadding = styled.div` - padding: 0 12px; + padding: 0 16px; `; diff --git a/src/locales/cs.js b/src/locales/cs.js index b95311ff4..ab0940c04 100644 --- a/src/locales/cs.js +++ b/src/locales/cs.js @@ -114,7 +114,8 @@ export default { 'featurepanel.no_name': 'beze jména', 'featurepanel.share_button': 'Sdílet', - 'featurepanel.save_button': 'Uložit', + 'featurepanel.favorites_save_button': 'Uložit', + 'featurepanel.favorites_unsave_button': 'Uloženo', 'featurepanel.directions_button': 'Trasa', 'featurepanel.error': 'Chyba __code__ při stahování prvku z OpenStreetMap.', 'featurepanel.error_unknown': 'Při stahování prvku z OpenStreetMap se stala neznámá chyba.', @@ -141,6 +142,7 @@ export default { 'featurepanel.footer_title': 'Ostatní informace', 'featurepanel.climbing_sectors': 'Lezecké sektory', 'featurepanel.climbing_sectors_in': 'v oblasti', + 'featurepanel.routes': 'cest', 'opening_hours.open': 'Otevřeno: __todayTime__', 'opening_hours.now_closed_but_today': 'Nyní zavřeno, dnes: __todayTime__', @@ -164,6 +166,7 @@ export default { 'editdialog.add_heading': 'Přidat do OpenStreetMap', 'editdialog.undelete_heading': 'Znovu přidat do OpenStreetMap', 'editdialog.edit_heading': 'Upravit:', + 'editdialog.items': 'položky', 'editdialog.suggest_heading': 'Navrhnout úpravu:', 'editdialog.feature_type_select': 'Zvolte typ objektu', 'editdialog.options_heading': 'Možnosti', @@ -181,7 +184,7 @@ export default { 'editdialog.location_placeholder': 'např. naproti přes ulici', 'editdialog.location_editor_to_be_added': 'Polohu zde zatím upravit nelze, můžete to provést třeba v editoru iD.', 'editdialog.place_cancelled': 'Místo zrušeno (smazat)', - 'editdialog.comment': 'Poznámka (nepovinné)', + 'editdialog.comment': 'Poznámka k úpravám (nepovinné)', 'editdialog.comment_placeholder': 'Odkaz na zdroj informace apod.', 'editdialog.info_edit': `Vaše úprava bude ihned uložena do databáze OpenStreetMap. Prosíme, vkládejte pouze informace z vlastních nebo ověřených zdrojů. Je zakázano diff --git a/src/locales/vocabulary.js b/src/locales/vocabulary.js index 322e9d2c3..ed8b6c54c 100644 --- a/src/locales/vocabulary.js +++ b/src/locales/vocabulary.js @@ -149,8 +149,8 @@ export default { 'featurepanel.no_name': 'No name', 'featurepanel.share_button': 'Share', - 'featurepanel.favorites_save_button': 'Save to favorites', - 'featurepanel.favorites_unsave_button': 'Remove from favorites', + 'featurepanel.favorites_save_button': 'Save', + 'featurepanel.favorites_unsave_button': 'Saved', 'featurepanel.directions_button': 'Directions', 'featurepanel.error': 'Error __code__ while fetching feature from OpenStreetMap', 'featurepanel.error_unknown': 'Unknown error while fetching feature from OpenStreetMap.', @@ -162,7 +162,7 @@ export default { 'featurepanel.all_tags_heading': 'All tags', 'featurepanel.edit_button_title': 'Edit in OpenStreetMap database', 'featurepanel.note_button': 'Suggest an edit', - 'featurepanel.edit_button': 'Edit details', + 'featurepanel.edit_button': 'Edit place', 'featurepanel.add_place_button': 'Add a place', 'featurepanel.undelete_button': 'Un-delete', 'featurepanel.feature_description_nonosm': 'Map feature __type__', @@ -179,6 +179,7 @@ export default { 'featurepanel.footer_title': 'Other info', 'featurepanel.climbing_sectors': 'Climbing sectors', 'featurepanel.climbing_sectors_in': 'in', + 'featurepanel.routes': 'routes', 'opening_hours.all_day': '24 hours', 'opening_hours.open': 'Open: __todayTime__', @@ -222,7 +223,7 @@ export default { 'editdialog.location_placeholder': 'eg. across the street', 'editdialog.location_editor_to_be_added': 'The position cannot be edited here yet, you can do so in the iD editor.', 'editdialog.place_cancelled': 'Permanently closed (delete)', - 'editdialog.comment': 'Comment (optional)', + 'editdialog.comment': 'Comment on your changes (optional)', 'editdialog.comment_placeholder': 'Note, link to source, etc.', 'editdialog.info_edit': `Your edit will be immediately saved to the OpenStreetMap. Please, enter only information from your own or verified sources. It is prohibited diff --git a/src/services/tagging/ourPresets.ts b/src/services/tagging/ourPresets.ts index 7aa577266..1e5ce63f5 100644 --- a/src/services/tagging/ourPresets.ts +++ b/src/services/tagging/ourPresets.ts @@ -157,7 +157,7 @@ export const getOurTranslations = (lang) => ({ terms: 'rock climbing,climbing', }, 'climbing/crag': { - name: lang === 'cs' ? 'Lezecký sektor (skála, věž)' : 'Climbing Crag', + name: lang === 'cs' ? 'Lezecký sektor' : 'Climbing Crag', terms: 'rock climbing,climbing', }, 'climbing/area': {