-
{abonement.name || 'Coffee Subscription'}
+
{abonement.name || t('autofix.kd97a60ca')}
Next billing: {nextBilling}
{' • '}Frequency: {abonement.frequency ?? '—'}
diff --git a/src/app/profile/page.tsx b/src/app/profile/page.tsx
index 04b13b6..e1ec105 100644
--- a/src/app/profile/page.tsx
+++ b/src/app/profile/page.tsx
@@ -21,9 +21,10 @@ import { authFetch } from '../utils/authFetch'
// Helper to display missing fields in subtle gray italic (no yellow highlight)
function HighlightIfMissing({ value, children, missingLabel }: { value: any, children: React.ReactNode, missingLabel?: React.ReactNode }) {
+ const { t } = useTranslation();
if (value === null || value === undefined || value === '') {
return (
- {missingLabel ?? 'Not provided'}
+ {missingLabel ?? t('autofix.kf2147f07')}
);
}
return <>{children}>;
@@ -329,7 +330,7 @@ export default function ProfilePage() {
-
+
{/* MASTER GLASS PANEL (prevents non-translucent gaps between cards) */}
{/* Page Header */}
@@ -402,9 +403,7 @@ export default function ProfilePage() {
onClick={handleDownloadAccountData}
disabled={downloadLoading}
className="w-full text-left px-4 py-2 text-sm text-slate-700 hover:bg-slate-50 rounded-2xl transition-colors disabled:opacity-60 disabled:cursor-not-allowed break-words"
- >
- {downloadLoading ? 'Preparing download...' : 'Download Account Data'}
-
+ >{downloadLoading ? t('autofix.k8e3691fb') : t('autofix.kb07c8000')}
{downloadError && (
diff --git a/src/app/profile/subscriptions/page.tsx b/src/app/profile/subscriptions/page.tsx
index a0e2fe7..228b9f8 100644
--- a/src/app/profile/subscriptions/page.tsx
+++ b/src/app/profile/subscriptions/page.tsx
@@ -305,7 +305,7 @@ export default function ProfileSubscriptionsPage() {
{t('autofix.k3b8e0964')}
-
{selectedAbo.name || 'Coffee Subscription'}
+
{selectedAbo.name || t('autofix.kd97a60ca')}
openStatusConfirm('pause')}
disabled={statusBusy}
className="rounded-md border border-gray-300 px-3 py-1.5 text-xs text-gray-700 hover:bg-gray-50 disabled:opacity-60 disabled:cursor-not-allowed"
- >
- {statusBusy ? 'Updating…' : 'Pause subscription'}
-
+ >{statusBusy ? t('autofix.kecd706d7') : t('autofix.kf12063b4')}
)}
{status === 'pause' && (
+ >{statusBusy ? t('autofix.kecd706d7') : t('autofix.ke0fc18df')}
)}
{(status === 'ongoing' || status === 'pause' || status === 'issued') && (
+ >{statusBusy ? t('autofix.kecd706d7') : t('autofix.k1560a920')}
)}
{(status === 'finished' || status === 'cancelled') && (
{t('autofix.k416bfe70')}
@@ -447,7 +441,7 @@ export default function ProfileSubscriptionsPage() {
{coffee.name}
-
{coffee.description || 'No description'}
+
{coffee.description || t('autofix.ke7ef5b62')}
- {savingContent ? 'Saving…' : 'Save changes'}
-
+ >{savingContent ? t('autofix.kac6cedc7') : t('autofix.k4be6f631')}
+
{product.inStock ? t('autofix.k485c3919') : 'Ausverkauft'}
diff --git a/src/app/shop/public/page.tsx b/src/app/shop/public/page.tsx
index 5477618..7f76a76 100644
--- a/src/app/shop/public/page.tsx
+++ b/src/app/shop/public/page.tsx
@@ -694,9 +694,7 @@ export default function StorePage() {
}
`}
>
-
- {product.inStock ? 'In Warenkorb' : 'Ausverkauft'}
-
+
{product.inStock ? t('autofix.k485c3919') : 'Ausverkauft'}