♻️ 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
+13 -2
View File
@@ -13,7 +13,6 @@ import { Button } from '@workspace/ui/components/button';
import {
Drawer,
DrawerContent,
DrawerDescription,
DrawerFooter,
DrawerHeader,
DrawerTitle,
@@ -168,10 +167,22 @@ export default function Page() {
<DrawerContent className='container mx-auto h-screen *:select-text'>
<DrawerHeader className='border-b text-left'>
<DrawerTitle>{ticket?.title}</DrawerTitle>
<DrawerDescription>{ticket?.description}</DrawerDescription>
</DrawerHeader>
<ScrollArea className='h-full overflow-hidden' ref={scrollRef}>
<div className='flex h-full flex-col gap-4 p-4'>
{/* 显示工单描述作为第一条用户消息 */}
{ticket?.description && (
<div className='flex items-center gap-4'>
<div className='flex flex-col gap-1'>
<p className='text-muted-foreground text-sm'>{formatDate(ticket.created_at)}</p>
<p className='bg-accent w-fit rounded-lg p-2 font-medium'>
{ticket.description}
</p>
</div>
</div>
)}
{/* 显示后续跟进消息 */}
{ticket?.follow?.map((item) => (
<div
key={item.id}