diff --git a/components/SettingsModal.tsx b/components/SettingsModal.tsx index 9583b13..1625158 100644 --- a/components/SettingsModal.tsx +++ b/components/SettingsModal.tsx @@ -18,6 +18,7 @@ import SoundManager from '@services/SoundManager'; import { getAgeGroup, setAgeGroup } from '@services/AgeGroupManager'; import Colors from '../constants/Colors'; import { Spacing, FontSize, FontWeight, BorderRadius } from '../constants/Layout'; +import { IMPRESSUM_URL, PRIVACY_POLICY_URL } from '../constants/ExternalLinks'; import ParentalGate from './ParentalGate'; import ParentDashboard from './ParentDashboard'; import BadgesModal from './BadgesModal'; @@ -151,6 +152,24 @@ export default function SettingsModal({ visible, onClose, embedded = false }: Se {Constants.expoConfig?.version ?? '–'} + + {t('settings.impressumLabel')} + + openExternalUrl(IMPRESSUM_URL)}> + + {t('settings.openLink')} + + + + + {t('footer.privacyPolicy')} + + openExternalUrl(PRIVACY_POLICY_URL)}> + + {t('settings.openLink')} + + + {t('settings.licenseLabel')} diff --git a/constants/ExternalLinks.ts b/constants/ExternalLinks.ts index 515ff9c..44e5f78 100644 --- a/constants/ExternalLinks.ts +++ b/constants/ExternalLinks.ts @@ -24,6 +24,13 @@ export const SITE_URL = 'https://s540d.github.io/DrawFromMemory/'; export const PRIVACY_POLICY_URL = `${SITE_URL}PRIVACY_POLICY.html`; +/** + * Zentrales Impressum für alle Projekte unter s540d.github.io (nicht + * projektlokal) — siehe project-templates/dev-standards/about-section.md, + * Issue #150. + */ +export const IMPRESSUM_URL = 'https://s540d.github.io/impressum.html'; + /** Wo auf der Web-Demo der Klick passiert ist — wird zu `utm_medium`. */ export type PlayStoreLinkSource = 'web_banner' | 'web_footer' | 'web_result' | 'readme'; diff --git a/locales/de/translations.json b/locales/de/translations.json index dc5b37b..e270d4d 100644 --- a/locales/de/translations.json +++ b/locales/de/translations.json @@ -142,6 +142,8 @@ "aboutButton": "Über", "aboutTitle": "Über Merke und Male", "versionLabel": "Version", + "impressumLabel": "Impressum", + "openLink": "Öffnen ↗", "licenseLabel": "Lizenz", "error": "Fehler", "about": "Über die App", diff --git a/locales/en/translations.json b/locales/en/translations.json index 0b628a8..bca46fd 100644 --- a/locales/en/translations.json +++ b/locales/en/translations.json @@ -142,6 +142,8 @@ "aboutButton": "About", "aboutTitle": "About Remember & Draw", "versionLabel": "Version", + "impressumLabel": "Imprint", + "openLink": "Open ↗", "licenseLabel": "License", "error": "Error", "about": "About", diff --git a/locales/es/translations.json b/locales/es/translations.json index ae34571..9a54fcd 100644 --- a/locales/es/translations.json +++ b/locales/es/translations.json @@ -142,6 +142,8 @@ "aboutButton": "Acerca de", "aboutTitle": "Acerca de Recuerda y Dibuja", "versionLabel": "Versión", + "impressumLabel": "Aviso legal", + "openLink": "Abrir ↗", "licenseLabel": "Licencia", "error": "Error", "about": "Acerca de la app", diff --git a/locales/fr/translations.json b/locales/fr/translations.json index 7909804..d438906 100644 --- a/locales/fr/translations.json +++ b/locales/fr/translations.json @@ -142,6 +142,8 @@ "aboutButton": "À propos", "aboutTitle": "À propos de Mémorise et Dessine", "versionLabel": "Version", + "impressumLabel": "Mentions légales", + "openLink": "Ouvrir ↗", "licenseLabel": "Licence", "error": "Erreur", "about": "À propos de l'app", diff --git a/locales/it/translations.json b/locales/it/translations.json index 740458e..dd2b7cb 100644 --- a/locales/it/translations.json +++ b/locales/it/translations.json @@ -142,6 +142,8 @@ "aboutButton": "Informazioni", "aboutTitle": "Informazioni su Ricorda e Disegna", "versionLabel": "Versione", + "impressumLabel": "Note legali", + "openLink": "Apri ↗", "licenseLabel": "Licenza", "error": "Errore", "about": "Informazioni sull'app", diff --git a/locales/nl/translations.json b/locales/nl/translations.json index b2b09fb..c2417b3 100644 --- a/locales/nl/translations.json +++ b/locales/nl/translations.json @@ -142,6 +142,8 @@ "aboutButton": "Over", "aboutTitle": "Over Onthoud en Teken", "versionLabel": "Versie", + "impressumLabel": "Colofon", + "openLink": "Openen ↗", "licenseLabel": "Licentie", "error": "Fout", "about": "Over de app", diff --git a/locales/pl/translations.json b/locales/pl/translations.json index 2773f47..d3de15d 100644 --- a/locales/pl/translations.json +++ b/locales/pl/translations.json @@ -142,6 +142,8 @@ "aboutButton": "O aplikacji", "aboutTitle": "O aplikacji Zapamiętaj i Rysuj", "versionLabel": "Wersja", + "impressumLabel": "Nota prawna", + "openLink": "Otwórz ↗", "licenseLabel": "Licencja", "error": "Błąd", "about": "O aplikacji",