referenzen auf "credits" entfernt. Kamera-Seite schicker gemacht
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
import React from 'react';
|
||||
import { AlertTriangle, LogOut, Palette, UserCog } from 'lucide-react';
|
||||
import { LogOut, UserCog } from 'lucide-react';
|
||||
import { useNavigate } from 'react-router-dom';
|
||||
|
||||
import AppearanceToggleDropdown from '@/components/appearance-dropdown';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card';
|
||||
import { Switch } from '@/components/ui/switch';
|
||||
import { Alert, AlertDescription } from '@/components/ui/alert';
|
||||
|
||||
@@ -250,12 +249,12 @@ function NotificationPreferencesForm({
|
||||
if (meta.credit_warning_sent_at) {
|
||||
const date = formatDateTime(meta.credit_warning_sent_at, locale);
|
||||
|
||||
return translate('settings.notifications.meta.creditLast', 'Letzte Credit-Warnung: {{date}}', {
|
||||
return translate('settings.notifications.meta.creditLast', 'Letzte Slot-Warnung: {{date}}', {
|
||||
date,
|
||||
});
|
||||
}
|
||||
|
||||
return translate('settings.notifications.meta.creditNever', 'Noch keine Credit-Warnung versendet.');
|
||||
return translate('settings.notifications.meta.creditNever', 'Noch keine Slot-Warnung versendet.');
|
||||
}, [meta, translate, locale]);
|
||||
|
||||
return (
|
||||
@@ -350,8 +349,8 @@ function buildPreferenceMeta(
|
||||
},
|
||||
{
|
||||
key: 'credits_low',
|
||||
label: translate('settings.notifications.items.creditsLow.label', 'Event-Credits werden knapp'),
|
||||
description: translate('settings.notifications.items.creditsLow.description', 'Informiert mich bei niedrigen Credit-Schwellen.'),
|
||||
label: translate('settings.notifications.items.creditsLow.label', 'Event-Slots werden knapp'),
|
||||
description: translate('settings.notifications.items.creditsLow.description', 'Informiert mich bei niedrigen Slot-Schwellen.'),
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user