Skip to content

Commit 69c74c3

Browse files
committed
fix: ui fixes on vless enc modal
1 parent 8ff4bc3 commit 69c74c3

File tree

5 files changed

+2
-10
lines changed

5 files changed

+2
-10
lines changed

dashboard/public/statics/locales/en.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1439,8 +1439,6 @@
14391439
"copyMldsa65Verify": "Copy Verify Key",
14401440
"mldsa65SeedCopied": "Seed copied to clipboard",
14411441
"mldsa65VerifyCopied": "Verify key copied to clipboard",
1442-
"vlessBuilderTitle": "VLESS encryption builder",
1443-
"vlessBuilderDescription": "Adjust handshake, encryption, resume tickets, and padding blocks before generating.",
14441442
"vlessHandshakeLabel": "Handshake method",
14451443
"vlessHandshakeOptionMlkem768x25519plus": "mlkem768x25519plus",
14461444
"vlessEncryptionLabel": "Encryption method",

dashboard/public/statics/locales/fa.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1358,8 +1358,6 @@
13581358
"copyMldsa65Verify": "کپی Verify",
13591359
"mldsa65SeedCopied": "Seed در کلیپ‌بورد کپی شد",
13601360
"mldsa65VerifyCopied": "Verify در کلیپ‌بورد کپی شد",
1361-
"vlessBuilderTitle": "سازنده رمزنگاری VLESS",
1362-
"vlessBuilderDescription": "پیش از تولید، روش دست‌دهی، رمزنگاری، بلیت‌های ازسرگیری و پدینگ‌ها را تنظیم کنید.",
13631361
"vlessHandshakeLabel": "روش دست‌دهی",
13641362
"vlessHandshakeOptionMlkem768x25519plus": "mlkem768x25519plus",
13651363
"vlessEncryptionLabel": "روش رمزنگاری",

dashboard/public/statics/locales/ru.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1378,8 +1378,6 @@
13781378
"copyMldsa65Verify": "Копировать Verify",
13791379
"mldsa65SeedCopied": "Seed скопирован в буфер обмена",
13801380
"mldsa65VerifyCopied": "Verify скопирован в буфер обмена",
1381-
"vlessBuilderTitle": "Конструктор шифрования VLESS",
1382-
"vlessBuilderDescription": "Настройте рукопожатие, шифрование, билеты возобновления и блоки заполнения перед генерацией.",
13831381
"vlessHandshakeLabel": "Метод рукопожатия",
13841382
"vlessHandshakeOptionMlkem768x25519plus": "mlkem768x25519plus",
13851383
"vlessEncryptionLabel": "Метод шифрования",

dashboard/public/statics/locales/zh.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1420,8 +1420,6 @@
14201420
"copyMldsa65Verify": "复制 Verify",
14211421
"mldsa65SeedCopied": "Seed 已复制到剪贴板",
14221422
"mldsa65VerifyCopied": "Verify 已复制到剪贴板",
1423-
"vlessBuilderTitle": "VLESS 加密生成器",
1424-
"vlessBuilderDescription": "生成前可调整握手方式、加密方式、恢复票证和填充块。",
14251423
"vlessHandshakeLabel": "握手方式",
14261424
"vlessHandshakeOptionMlkem768x25519plus": "mlkem768x25519plus",
14271425
"vlessEncryptionLabel": "加密方式",

dashboard/src/components/dialogs/CoreConfigModal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,7 @@ export default function CoreConfigModal({ isDialogOpen, onOpenChange, form, edit
786786
<Dialog open={isVlessAdvancedModalOpen} onOpenChange={setIsVlessAdvancedModalOpen}>
787787
<DialogContent className="h-full max-w-full px-2 py-6 sm:h-auto sm:max-w-2xl">
788788
<DialogHeader>
789-
<DialogTitle className="flex items-center gap-2 text-base sm:text-lg">
789+
<DialogTitle className="flex items-center gap-2 text-base sm:text-lg px-2">
790790
<span className="truncate">{t('coreConfigModal.vlessAdvancedSettings', { defaultValue: 'VLESS Advanced Settings' })}</span>
791791
</DialogTitle>
792792
</DialogHeader>
@@ -1027,7 +1027,7 @@ export default function CoreConfigModal({ isDialogOpen, onOpenChange, form, edit
10271027
loadingText={t('coreConfigModal.generatingVLESSEncryption')}
10281028
size="sm"
10291029
>
1030-
{t('coreConfigModal.generateVLESSEncryption')}
1030+
{t('coreConfigModal.generateEncryption')}
10311031
</LoaderButton>
10321032
</div>
10331033
</DialogContent>

0 commit comments

Comments
 (0)