♻️ refactor: Add localization updates for log and server files across multiple languages

- Added new keys for "server", "subscribe", "detail", "pending", "sending", "sent", and "unknown" in log.json files for various languages.
- Introduced a "type" object with transaction types (Recharge, Withdraw, Purchase, Refund, Reward, Commission) in log.json files for multiple languages.
- Updated "traffic_ratio" to "Ratio" and added "transport" in servers.json for English localization.
- Ensured consistency and accuracy in translations for all affected languages including German, English, Spanish, French, Russian, Chinese, and more.
This commit is contained in:
web
2025-09-05 04:48:10 -07:00
parent 351fffcc78
commit 2bcd4cf30c
41 changed files with 849 additions and 150 deletions
+17
View File
@@ -0,0 +1,17 @@
import { Button } from '@workspace/ui/components/button';
import Link from 'next/link';
interface OrderLinkProps {
orderId?: string | number;
className?: string;
}
export function OrderLink({ orderId, className }: OrderLinkProps) {
if (!orderId) return <span>--</span>;
return (
<Button variant='link' className={`p-0 ${className || ''}`} asChild>
<Link href={`/dashboard/order?search=${orderId}`}>{orderId}</Link>
</Button>
);
}