| @@ -4,8 +4,9 @@ | ||
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | import React from "react"; |
| 7 | 7 | import { AlertCircle, CheckCircle, Info, XCircle, X } from "lucide-react"; |
| 8 | +import { __ } from "../../lib/i18n"; | |
| 8 | 9 | |
| 9 | 10 | interface AlertProps { |
| 10 | 11 | variant?: "success" | "error" | "warning" | "info"; |
| 11 | 12 | title?: string; |
| @@ -53,9 +54,9 @@ | ||
| 53 | 54 | {onClose && ( |
| 54 | 55 | <button |
| 55 | 56 | onClick={onClose} |
| 56 | 57 | className="flex-shrink-0 text-current opacity-70 hover:opacity-100 transition-opacity" |
| 57 | - aria-label="Close" | |
| 58 | + aria-label={__("Close", "yatra")} | |
| 58 | 59 | > |
| 59 | 60 | <X className="w-4 h-4" /> |
| 60 | 61 | </button> |
| 61 | 62 | )} |