Skip to content

Commit

Permalink
feat: add map prompts
Browse files Browse the repository at this point in the history
  • Loading branch information
berenteb committed Oct 22, 2024
1 parent 5b53437 commit 8e51ebf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/(tabs)/map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { useTranslation } from 'react-i18next';

import { Screen } from '../../components/base/screen';
import { Header } from '../../components/common/header';
import { Subtitle } from '../../components/common/subtitle';
import { Title } from '../../components/common/title';
import { Map } from '../../components/map/map';
import { ResourceSheet } from '../../components/map/resource-sheet';
Expand All @@ -27,6 +28,7 @@ export default function MapPage() {
<Screen analyticsScreenName='map'>
<Header>
<Title>{t('tabbar.map')}</Title>
<Subtitle>{t('map.prompt')}</Subtitle>
</Header>
<ReactNativeZoomableViewWithGestures
panBoundaryPadding={200}
Expand Down
2 changes: 2 additions & 0 deletions services/i18n_data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export const resources = {
},
map: {
key: 'en',
prompt: 'Click on items to view more information!',
},
settings: {
title: 'Settings',
Expand Down Expand Up @@ -90,6 +91,7 @@ export const resources = {
},
map: {
key: 'hu',
prompt: 'Kattints az elemekre a részletekért!',
},
settings: {
title: 'Beállítások',
Expand Down

0 comments on commit 8e51ebf

Please sign in to comment.