Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 0 additions & 29 deletions src/components/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import {
Upload,
FileJson,
Shield,
Heart,
FileText,
ChevronDown,
ChevronUp,
Expand Down Expand Up @@ -728,32 +727,6 @@ export function Settings() {
</div>
</section>

{/* Freiwillige Unterstützung */}
<section className="rounded-xl border border-pink-500/20 bg-pink-500/5 p-4">
<h3 className="mb-3 flex items-center gap-2 font-semibold text-gray-200">
<Heart size={18} className="text-pink-400" />
{t('settings.support')}
</h3>
<p className="mb-3 text-sm text-gray-400">
{t('settings.supportDesc')}
</p>
<a
href="https://www.paypal.com/donate?business=renateweinfurtner%40gmx.de&currency_code=EUR&item_name=PrepTrack%20Spende"
target="_blank"
rel="noopener noreferrer"
className="flex w-full items-center justify-center gap-2 rounded-lg bg-[#0070ba] px-4 py-3 font-medium text-white hover:bg-[#005ea6] active:scale-[0.98] transition-transform"
>
<svg viewBox="0 0 24 24" fill="currentColor" className="h-5 w-5">
<path d="M7.076 21.337H2.47a.641.641 0 0 1-.633-.74L4.944 3.72a.774.774 0 0 1 .763-.658h6.568c2.183 0 3.678.568 4.44 1.69.357.526.563 1.105.613 1.72.053.66-.01 1.443-.19 2.39l-.007.038v.338l.263.149c.224.116.402.253.539.412.227.265.374.593.435.976.064.396.044.866-.058 1.397-.116.607-.304 1.136-.56 1.574a3.305 3.305 0 0 1-.887.99 3.547 3.547 0 0 1-1.214.592c-.46.137-.98.206-1.55.206H13.44a.907.907 0 0 0-.607.233.927.927 0 0 0-.313.579l-.034.195-.563 3.574-.025.14a.082.082 0 0 1-.026.055.078.078 0 0 1-.05.018H7.076Z" />
</svg>
{t('settings.donatePayPal')}
</a>
<p className="mt-2 text-center text-xs text-gray-400">renateweinfurtner@gmx.de</p>
<p className="mt-3 rounded-lg border border-primary-700 bg-primary-900/40 px-3 py-2 text-xs leading-relaxed text-gray-400">
{t('settings.supportLegal')}
</p>
</section>

{/* Impressum */}
<section className="rounded-xl border border-primary-700 bg-primary-800/60 p-4">
<button
Expand Down Expand Up @@ -868,8 +841,6 @@ export function Settings() {
<p className="font-medium text-gray-300">{t('settings.termsIP')}</p>
<p>{t('settings.termsIPText')}</p>

<p className="font-medium text-gray-300">{t('settings.termsDonations')}</p>
<p>{t('settings.termsDonationsText')}</p>
</div>
)}
</section>
Expand Down
6 changes: 0 additions & 6 deletions src/i18n/locales/ar/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -190,10 +190,6 @@
"encErrMismatch": "كلمتا المرور غير متطابقتين.",
"encErrWrong": "كلمة مرور خاطئة أو ملف تالف.",
"encExportDone": "تم إنشاء النسخة الاحتياطية المشفّرة.",
"support": "دعم طوعي",
"supportDesc": "PrepTrack مجاني وخالٍ من الإعلانات. إذا أعجبك التطبيق، يمكنك دعم التطوير طوعياً. شكراً!",
"supportLegal": "ملاحظة: هذه مساهمة طوعية لشخص طبيعي — وليست تبرعاً قابلاً للخصم الضريبي. لن يتم إصدار أي إيصال تبرع، ولا يترتب على هذه المساهمة أي حق في خدمات خاصة.",
"donatePayPal": "ادعم عبر PayPal",
"versionStatus": "مستقر",
"impressum": "إشعار قانوني",
"impressumTMG": "معلومات وفقاً للمادة 5 TMG:",
Expand Down Expand Up @@ -225,8 +221,6 @@
"termsLiabilityText": "الاستخدام على مسؤوليتك الخاصة. لا يتحمل المزوّد مسؤولية الأضرار الناتجة عن استخدام التطبيق، خاصة فقدان البيانات. يُنصح بعمل نسخ احتياطية منتظمة.",
"termsIP": "5. الملكية الفكرية",
"termsIPText": "جميع حقوق التطبيق مملوكة للمزوّد. يمكن استخدام التطبيق بحرية للاستخدام الشخصي.",
"termsDonations": "6. الدعم الطوعي",
"termsDonationsText": "المساهمات الطوعية هي هدايا شخصية لمزوّد الخدمة — وليست تبرعات قابلة للخصم الضريبي وفقاً للمادة § 10b EStG (القانون الألماني). تُقدَّم طوعياً ولا تنشئ علاقة تعاقدية، ولا يترتب عليها حق في إيصال تبرع أو في أي خدمات خاصة.",
"appSlogan": "مخزونك. دائماً في المتناول.",
"language": "اللغة",
"installError": "تعذر بدء التثبيت تلقائياً.\n\nلتثبيت PrepTrack يدوياً:\n1. Chrome/Edge: انقر على أيقونة التثبيت في شريط العنوان (أو القائمة > تثبيت التطبيق)\n2. Safari (iOS): اضغط على مشاركة > إضافة إلى الشاشة الرئيسية\n3. Firefox: القائمة > تثبيت الموقع",
Expand Down
6 changes: 0 additions & 6 deletions src/i18n/locales/de/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -190,10 +190,6 @@
"encErrMismatch": "Passwörter stimmen nicht überein.",
"encErrWrong": "Falsches Passwort oder beschädigte Datei.",
"encExportDone": "Verschlüsseltes Backup erstellt.",
"support": "Freiwillige Unterstützung",
"supportDesc": "PrepTrack ist kostenlos und werbefrei. Wenn dir die App gefällt, kannst du die Entwicklung freiwillig unterstützen. Danke!",
"supportLegal": "Hinweis: Es handelt sich um eine freiwillige Zuwendung an eine Privatperson — keine steuerlich absetzbare Spende im Sinne des § 10b EStG. Es besteht kein Anspruch auf eine Spendenbescheinigung oder auf besondere Leistungen.",
"donatePayPal": "Mit PayPal unterstützen",
"versionStatus": "Stabil",
"impressum": "Impressum",
"impressumTMG": "Angaben gemäß § 5 TMG:",
Expand Down Expand Up @@ -225,8 +221,6 @@
"termsLiabilityText": "Die Nutzung erfolgt auf eigene Verantwortung. Der Anbieter haftet nicht für Schäden, die durch die Nutzung der App entstehen, insbesondere nicht für den Verlust von Daten. Regelmäßige Backups werden empfohlen.",
"termsIP": "5. Geistiges Eigentum",
"termsIPText": "Alle Rechte an der App liegen beim Anbieter. Die App darf für den persönlichen Gebrauch frei genutzt werden.",
"termsDonations": "6. Freiwillige Unterstützung",
"termsDonationsText": "Freiwillige Unterstützungen sind persönliche Zuwendungen an den Anbieter — keine steuerlich absetzbaren Spenden im Sinne des § 10b EStG. Sie erfolgen freiwillig, begründen kein Vertragsverhältnis und es besteht weder Anspruch auf eine Spendenbescheinigung noch auf besondere Leistungen.",
"appSlogan": "Dein Vorrat. Immer im Blick.",
"language": "Sprache",
"installError": "Die Installation konnte nicht automatisch gestartet werden.\n\nSo installierst du PrepTrack manuell:\n1. Chrome/Edge: Klicke auf das Installieren-Symbol in der Adressleiste (oder Menu > App installieren)\n2. Safari (iOS): Tippe auf Teilen > Zum Home-Bildschirm\n3. Firefox: Menu > Seite installieren",
Expand Down
6 changes: 0 additions & 6 deletions src/i18n/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -190,10 +190,6 @@
"encErrMismatch": "Passwords do not match.",
"encErrWrong": "Wrong password or corrupted file.",
"encExportDone": "Encrypted backup created.",
"support": "Voluntary Support",
"supportDesc": "PrepTrack is free and ad-free. If you like the app, you can voluntarily support its development. Thank you!",
"supportLegal": "Note: This is a voluntary contribution to a private individual — not a tax-deductible charitable donation. No donation receipt will be issued and there is no entitlement to any special services in return.",
"donatePayPal": "Support via PayPal",
"versionStatus": "Stable",
"impressum": "Legal Notice",
"impressumTMG": "Information according to § 5 TMG:",
Expand Down Expand Up @@ -225,8 +221,6 @@
"termsLiabilityText": "Use is at your own risk. The provider is not liable for damages resulting from the use of the app, especially not for data loss. Regular backups are recommended.",
"termsIP": "5. Intellectual Property",
"termsIPText": "All rights to the app belong to the provider. The app may be used freely for personal use.",
"termsDonations": "6. Voluntary Support",
"termsDonationsText": "Voluntary contributions are personal gifts to the provider — not tax-deductible charitable donations under German § 10b EStG. They are given voluntarily, do not establish a contractual relationship, and grant no entitlement to a donation receipt or to any special services.",
"appSlogan": "Your supplies. Always in sight.",
"language": "Language",
"installError": "The installation could not be started automatically.\n\nTo install PrepTrack manually:\n1. Chrome/Edge: Click the install icon in the address bar (or Menu > Install app)\n2. Safari (iOS): Tap Share > Add to Home Screen\n3. Firefox: Menu > Install site",
Expand Down
6 changes: 0 additions & 6 deletions src/i18n/locales/fr/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -190,10 +190,6 @@
"encErrMismatch": "Les mots de passe ne correspondent pas.",
"encErrWrong": "Mot de passe incorrect ou fichier corrompu.",
"encExportDone": "Sauvegarde chiffrée créée.",
"support": "Soutien volontaire",
"supportDesc": "PrepTrack est gratuit et sans publicité. Si l'application vous plaît, vous pouvez soutenir volontairement son développement. Merci !",
"supportLegal": "Remarque : il s'agit d'une contribution volontaire à un particulier — pas d'un don déductible des impôts. Aucun reçu fiscal ne sera émis et aucune contrepartie ou prestation particulière n'est due.",
"donatePayPal": "Soutenir via PayPal",
"versionStatus": "Stable",
"impressum": "Mentions légales",
"impressumTMG": "Informations conformément au § 5 TMG :",
Expand Down Expand Up @@ -225,8 +221,6 @@
"termsLiabilityText": "L'utilisation est à vos propres risques. Le fournisseur n'est pas responsable des dommages résultant de l'utilisation de l'application, en particulier de la perte de données. Des sauvegardes régulières sont recommandées.",
"termsIP": "5. Propriété intellectuelle",
"termsIPText": "Tous les droits sur l'application appartiennent au fournisseur. L'application peut être utilisée librement pour un usage personnel.",
"termsDonations": "6. Soutien volontaire",
"termsDonationsText": "Les contributions volontaires sont des dons personnels au fournisseur — elles ne constituent pas des dons déductibles des impôts au sens du § 10b EStG (droit allemand). Elles sont versées volontairement, n'établissent aucune relation contractuelle et n'ouvrent droit ni à un reçu fiscal ni à des prestations particulières.",
"appSlogan": "Vos provisions. Toujours en vue.",
"language": "Langue",
"installError": "L'installation n'a pas pu être lancée automatiquement.\n\nPour installer PrepTrack manuellement :\n1. Chrome/Edge : Cliquez sur l'icône d'installation dans la barre d'adresse (ou Menu > Installer l'application)\n2. Safari (iOS) : Appuyez sur Partager > Ajouter à l'écran d'accueil\n3. Firefox : Menu > Installer le site",
Expand Down
6 changes: 0 additions & 6 deletions src/i18n/locales/it/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -190,10 +190,6 @@
"encErrMismatch": "Le password non coincidono.",
"encErrWrong": "Password errata o file danneggiato.",
"encExportDone": "Backup crittografato creato.",
"support": "Contributo volontario",
"supportDesc": "PrepTrack è gratuito e senza pubblicità. Se ti piace l'app, puoi sostenere volontariamente lo sviluppo. Grazie!",
"supportLegal": "Nota: si tratta di un contributo volontario a una persona privata — non di una donazione fiscalmente deducibile. Non verrà emessa alcuna ricevuta di donazione e non sussiste diritto ad alcuna prestazione particolare.",
"donatePayPal": "Sostieni con PayPal",
"versionStatus": "Stabile",
"impressum": "Note legali",
"impressumTMG": "Informazioni ai sensi del § 5 TMG:",
Expand Down Expand Up @@ -225,8 +221,6 @@
"termsLiabilityText": "L'uso è a proprio rischio. Il fornitore non è responsabile per danni derivanti dall'uso dell'app, in particolare per la perdita di dati. Si raccomandano backup regolari.",
"termsIP": "5. Proprietà intellettuale",
"termsIPText": "Tutti i diritti sull'app appartengono al fornitore. L'app può essere utilizzata liberamente per uso personale.",
"termsDonations": "6. Contributo volontario",
"termsDonationsText": "I contributi volontari sono donazioni personali al fornitore — non costituiscono donazioni fiscalmente deducibili ai sensi del § 10b EStG (diritto tedesco). Sono versati volontariamente, non stabiliscono alcun rapporto contrattuale e non danno diritto né a una ricevuta di donazione né a prestazioni particolari.",
"appSlogan": "Le tue scorte. Sempre sotto controllo.",
"language": "Lingua",
"installError": "L'installazione non può essere avviata automaticamente.\n\nPer installare PrepTrack manualmente:\n1. Chrome/Edge: Clicca sull'icona di installazione nella barra degli indirizzi (o Menu > Installa app)\n2. Safari (iOS): Tocca Condividi > Aggiungi alla schermata Home\n3. Firefox: Menu > Installa sito",
Expand Down
6 changes: 0 additions & 6 deletions src/i18n/locales/pt/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -190,10 +190,6 @@
"encErrMismatch": "As palavras-passe não coincidem.",
"encErrWrong": "Palavra-passe errada ou ficheiro danificado.",
"encExportDone": "Backup encriptado criado.",
"support": "Apoio voluntário",
"supportDesc": "PrepTrack é gratuito e sem anúncios. Se você gosta do app, pode apoiar voluntariamente o desenvolvimento. Obrigado!",
"supportLegal": "Observação: trata-se de uma contribuição voluntária a uma pessoa física — não é uma doação dedutível de impostos. Não será emitido recibo de doação e não há direito a quaisquer prestações especiais em contrapartida.",
"donatePayPal": "Apoiar com PayPal",
"versionStatus": "Estável",
"impressum": "Aviso Legal",
"impressumTMG": "Informações conforme § 5 TMG:",
Expand Down Expand Up @@ -225,8 +221,6 @@
"termsLiabilityText": "O uso é por sua conta e risco. O fornecedor não é responsável por danos resultantes do uso do app, especialmente não pela perda de dados. Backups regulares são recomendados.",
"termsIP": "5. Propriedade Intelectual",
"termsIPText": "Todos os direitos do app pertencem ao fornecedor. O app pode ser usado livremente para uso pessoal.",
"termsDonations": "6. Apoio voluntário",
"termsDonationsText": "Contribuições voluntárias são doações pessoais ao fornecedor — não constituem doações dedutíveis de impostos nos termos do § 10b EStG (direito alemão). São feitas voluntariamente, não estabelecem relação contratual e não conferem direito a recibo de doação nem a prestações especiais.",
"appSlogan": "Seu estoque. Sempre à vista.",
"language": "Idioma",
"installError": "A instalação não pôde ser iniciada automaticamente.\n\nPara instalar o PrepTrack manualmente:\n1. Chrome/Edge: Clique no ícone de instalação na barra de endereço (ou Menu > Instalar app)\n2. Safari (iOS): Toque em Compartilhar > Adicionar à Tela Inicial\n3. Firefox: Menu > Instalar site",
Expand Down
Loading