♻️ 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:
@@ -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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user