feat(i18n): complete portal localized surfaces

This commit is contained in:
poyrazavsever
2026-07-21 13:37:35 +03:00
parent 86a9c79511
commit 1227588320
12 changed files with 163 additions and 47 deletions
+3 -3
View File
@@ -45,7 +45,7 @@ export function FeedbackState({ action, description, title, variant }: FeedbackS
);
}
export function LoadingState({ label = "İçerik yükleniyor" }: { label?: string }) {
export function LoadingState({ label }: { label: string }) {
return (
<div className="space-y-4" aria-busy="true" aria-label={label} role="status">
<span className="sr-only">{label}</span>
@@ -60,10 +60,10 @@ export function LoadingState({ label = "İçerik yükleniyor" }: { label?: strin
);
}
export function RetryAction({ onClick }: { onClick: () => void }) {
export function RetryAction({ label, onClick }: { label: string; onClick: () => void }) {
return (
<Button effect="shine" type="button" variant="secondary" size="sm" onClick={onClick}>
Yeniden dene
{label}
</Button>
);
}