Skip to content

Commit 08b4583

Browse files
committed
fix: add missing translation
1 parent c47a7fe commit 08b4583

File tree

6 files changed

+7
-3
lines changed

6 files changed

+7
-3
lines changed

dashboard/public/statics/locales/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1423,6 +1423,7 @@
14231423
"chooseAuthentication": "Choose one authentication to use, do not mix them. Ephemeral key exchange is post-quantum safe anyway.",
14241424
"x25519Authentication": "X25519, not post-quantum",
14251425
"mlkem768Authentication": "ML-KEM-768, post-quantum",
1426+
"generate": "Generate",
14261427
"decryption": "Decryption",
14271428
"encryption": "Encryption",
14281429
"decryptionCopied": "Decryption copied to clipboard",

dashboard/public/statics/locales/fa.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1342,6 +1342,7 @@
13421342
"chooseAuthentication": "یکی از روش‌های احراز هویت را انتخاب کنید، آن‌ها را با هم مخلوط نکنید. تبادل کلید موقت در هر صورت Post-Quantum امن است.",
13431343
"x25519Authentication": "X25519، غیر Post-Quantum",
13441344
"mlkem768Authentication": "ML-KEM-768، Post-Quantum",
1345+
"generate": "تولید",
13451346
"decryption": "رمزگشایی",
13461347
"encryption": "رمزنگاری",
13471348
"decryptionCopied": "رمزگشایی در کلیپ‌بورد کپی شد",

dashboard/public/statics/locales/ru.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1362,6 +1362,7 @@
13621362
"chooseAuthentication": "Выберите один метод аутентификации для использования, не смешивайте их. Обмен эфемерными ключами в любом случае Post-Quantum безопасен.",
13631363
"x25519Authentication": "X25519, не Post-Quantum",
13641364
"mlkem768Authentication": "ML-KEM-768, Post-Quantum",
1365+
"generate": "Сгенерировать",
13651366
"decryption": "Расшифровка",
13661367
"encryption": "Шифрование",
13671368
"decryptionCopied": "Расшифровка скопирована в буфер обмена",

dashboard/public/statics/locales/zh.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1404,6 +1404,7 @@
14041404
"chooseAuthentication": "选择一种身份验证方法使用,不要混合使用。临时密钥交换无论如何都是 post-quantum 安全的。",
14051405
"x25519Authentication": "X25519,非 post-quantum",
14061406
"mlkem768Authentication": "ML-KEM-768,post-quantum",
1407+
"generate": "生成",
14071408
"decryption": "解密",
14081409
"encryption": "加密",
14091410
"decryptionCopied": "解密已复制到剪贴板",

dashboard/src/components/admins/data-table.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { ColumnDef, flexRender, getCoreRowModel, useReactTable } from '@tanstack
22
import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from '@/components/ui/table'
33
import { cn } from '@/lib/utils'
44
import useDirDetection from '@/hooks/use-dir-detection'
5-
import React, { useState, useMemo, useEffect, memo, useCallback } from 'react'
5+
import React, { useState, useMemo, memo, useCallback } from 'react'
66
import { ChevronDown, Edit2, Power, PowerOff, RefreshCw, Trash2, User, UserRound, LoaderCircle } from 'lucide-react'
77
import { Button } from '@/components/ui/button'
88
import { AdminDetails } from '@/service/api'

dashboard/src/components/dialogs/CoreConfigModal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,7 +1027,7 @@ export default function CoreConfigModal({ isDialogOpen, onOpenChange, form, edit
10271027
loadingText={t('coreConfigModal.generatingVLESSEncryption')}
10281028
size="sm"
10291029
>
1030-
{t('coreConfigModal.generateEncryption')}
1030+
{t('coreConfigModal.generate')}
10311031
</LoaderButton>
10321032
</div>
10331033
</DialogContent>
@@ -1666,7 +1666,7 @@ export default function CoreConfigModal({ isDialogOpen, onOpenChange, form, edit
16661666
<LoaderButton
16671667
type="button"
16681668
onClick={viewShortId}
1669-
className="h-10 w-full text-sm font-medium transition-all hover:shadow-md sm:h-11"
1669+
className="h-10 col-span-2 w-full text-sm font-medium transition-all hover:shadow-md sm:h-11"
16701670
isLoading={isGeneratingShortId}
16711671
loadingText={t('coreConfigModal.generatingShortId')}
16721672
>

0 commit comments

Comments
 (0)