Skip to content

Commit

Permalink
HomepagePanel: add disclaimer, not an official app (#233)
Browse files Browse the repository at this point in the history
  • Loading branch information
zbycz authored Feb 10, 2024
1 parent 08521dd commit 4bfb868
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 3 deletions.
12 changes: 12 additions & 0 deletions src/components/HomepagePanel/HomepagePanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,18 @@ export const HomepagePanel = () => {
<Translation id="homepage.maptiler" />
</a>

<Spacer />
<Spacer />

<Typography variant="overline" color="textSecondary" component="h2">
{t('homepage.disclaimer_heading')}
</Typography>

<Translation id="homepage.disclaimer" />
<br />
<br />
<Translation id="homepage.disclaimer_maptiler" />

<Spacer />
</div>
<PanelFooter />
Expand Down
3 changes: 3 additions & 0 deletions src/locales/cs.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ export default {
</ul>
`,
'homepage.maptiler': '<strong>MapTiler</strong> – za skvělé vektorové mapy <br>a za podporu tohoto projektu ❤️ ',
'homepage.disclaimer_heading': 'Poznámka',
'homepage.disclaimer': `OpenStreetMap a OSM jsou ochranné známky nadace OpenStreetMap. Tento projekt není schválen ani spojen s nadací <a href="https://osmfoundation.org/">OpenStreetMap Foundation</a>.`,
'homepage.disclaimer_maptiler': `Vektorové mapy ("Základní" a "Outdoorová") obsahují některé názvy míst z projektu Wikidata, více <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4042#issuecomment-1562761674" target='_blank'>zde</a>.`,

'searchbox.placeholder': 'Prohledat OpenStreetMap',
'searchbox.category': 'kategorie',
Expand Down
2 changes: 1 addition & 1 deletion src/locales/de.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default {
'install.outro': "Das war's! OsmAPP sollte auf deinem Startbildschirm erscheinen.",
'install.note': 'Hinweis: Diese App verwendet PWA Technologie und erlaubt eine schnelle Installation ohne Google Play oder App Store.',

'homepage.subtitle': 'Eine universelle OpenStreetMap App',
'homepage.subtitle': 'Eine universelle App für OpenStreetMap',
'homepage.how_to_start': 'Tippe einen Begriff in die Suchbox.\nOder klicke auf einen Ort auf der Karte.',
'homepage.examples.eg': 'z.B.',
'homepage.examples.charles_bridge_statues': 'Statuen auf der Karlsbrücke',
Expand Down
7 changes: 5 additions & 2 deletions src/locales/vocabulary.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ export default {
'install.outro': 'Thats all! Look for OsmAPP at your home screen.',
'install.note': 'Note: This app uses PWA technology – featuring quick installation and no need for Google Play or App Store.',

'homepage.subtitle': 'A universal OpenStreetMap app',
'homepage.subtitle': 'A universal app for OpenStreetMap',
'homepage.how_to_start': 'Start by typing your query into the searchbox.\nOr click any item on the map.',
'homepage.examples.eg': 'eg.',
'homepage.examples.charles_bridge_statues': 'Statues of Charles bridge',
'homepage.screenshot_alt': 'Screenshot of OsmAPP',
'homepage.about_osm': `All map data is from
<a href="https://osm.org">OpenStreetMap</a>, a map created by
milions of contributors — similar to Wikipedia. You can find
millions of contributors — similar to Wikipedia. You can find
<em>Edit</em> button on each map feature.`,
'homepage.heading_about_osmapp': 'About OsmAPP',
'homepage.about_osmapp': `This application should offer a convenient interface for everyday use of <i>OpenStreetMap</i>
Expand All @@ -50,6 +50,9 @@ export default {
</ul>
`,
'homepage.maptiler': '<strong>MapTiler</strong> – for awesome vector maps <br>and for supporting this project ❤️ ',
'homepage.disclaimer_heading': 'Disclaimer',
'homepage.disclaimer': `OpenStreetMap and OSM are a trademark of the OpenStreetMap Foundation. This project is not endorsed by or affiliated with the <a href="https://osmfoundation.org/" target='_blank'>OpenStreetMap Foundation</a>.`,
'homepage.disclaimer_maptiler': `Vector maps ("Basic" and "Outdoor") contain some place names from the Wikidata project, more <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4042#issuecomment-1562761674" target='_blank'>here</a>.`,

'searchbox.placeholder': 'Search OpenStreetMap',
'searchbox.category': 'category',
Expand Down

0 comments on commit 4bfb868

Please sign in to comment.