mirror of
https://github.com/dyzulk/trustlab.git
synced 2026-01-26 13:32:06 +07:00
fix: finalize UI localization and fix typo in en.json
This commit is contained in:
@@ -109,7 +109,7 @@ function CliSnippet({ label, command, t }: { label: string, command: string, t:
|
|||||||
<div className="relative group">
|
<div className="relative group">
|
||||||
<div className="font-mono text-[11px] bg-gray-950 text-brand-400 p-4 rounded-2xl border border-gray-800 break-all pr-12 shadow-inner">
|
<div className="font-mono text-[11px] bg-gray-950 text-brand-400 p-4 rounded-2xl border border-gray-800 break-all pr-12 shadow-inner">
|
||||||
<span className="text-gray-600 mr-2 select-none">$</span>
|
<span className="text-gray-600 mr-2 select-none">$</span>
|
||||||
{command || 'No script available.'}
|
{command || t('no_script')}
|
||||||
</div>
|
</div>
|
||||||
<button
|
<button
|
||||||
onClick={copyCli}
|
onClick={copyCli}
|
||||||
@@ -118,7 +118,7 @@ function CliSnippet({ label, command, t }: { label: string, command: string, t:
|
|||||||
? 'bg-green-500 text-white border-green-500 shadow-lg shadow-green-500/20'
|
? 'bg-green-500 text-white border-green-500 shadow-lg shadow-green-500/20'
|
||||||
: 'bg-gray-900 text-gray-400 hover:text-white border-gray-800 hover:bg-gray-800'
|
: 'bg-gray-900 text-gray-400 hover:text-white border-gray-800 hover:bg-gray-800'
|
||||||
}`}
|
}`}
|
||||||
title="Copy Command"
|
title={t('copy_command')}
|
||||||
>
|
>
|
||||||
{copied ? <CheckIcon className="w-3.5 h-3.5" /> : <CopyIcon className="w-3.5 h-3.5" />}
|
{copied ? <CheckIcon className="w-3.5 h-3.5" /> : <CopyIcon className="w-3.5 h-3.5" />}
|
||||||
</button>
|
</button>
|
||||||
@@ -161,7 +161,7 @@ function OsGuideContent({ title, steps, selectedOs, certificates, t }: { title:
|
|||||||
<div className="flex-1">
|
<div className="flex-1">
|
||||||
<h5 className="font-bold text-gray-900 dark:text-white flex items-center gap-2 mb-1">
|
<h5 className="font-bold text-gray-900 dark:text-white flex items-center gap-2 mb-1">
|
||||||
{t('bundle_guide_title')}
|
{t('bundle_guide_title')}
|
||||||
<Badge variant="brand">Recommended</Badge>
|
<Badge variant="brand">{t('recommended')}</Badge>
|
||||||
</h5>
|
</h5>
|
||||||
<p className="text-xs text-gray-500 dark:text-gray-400 leading-relaxed mb-4">
|
<p className="text-xs text-gray-500 dark:text-gray-400 leading-relaxed mb-4">
|
||||||
{t('bundle_guide_desc')}
|
{t('bundle_guide_desc')}
|
||||||
|
|||||||
@@ -190,7 +190,10 @@
|
|||||||
"download_macos_title": "Download macOS Profile (.mobileconfig)",
|
"download_macos_title": "Download macOS Profile (.mobileconfig)",
|
||||||
"download_linux_title": "Download Linux Installer (.sh)",
|
"download_linux_title": "Download Linux Installer (.sh)",
|
||||||
"copy_cli": "Copy CLI",
|
"copy_cli": "Copy CLI",
|
||||||
|
"copy_command": "Copy Command",
|
||||||
|
"no_script": "No script available.",
|
||||||
"copied": "Copied!",
|
"copied": "Copied!",
|
||||||
|
"recommended": "Recommended",
|
||||||
"root_ca": "Root CA",
|
"root_ca": "Root CA",
|
||||||
"intermediate_ca": "Intermediate CA",
|
"intermediate_ca": "Intermediate CA",
|
||||||
"root_ca_hierarchy": "Root Trust Foundation",
|
"root_ca_hierarchy": "Root Trust Foundation",
|
||||||
|
|||||||
@@ -190,7 +190,10 @@
|
|||||||
"download_macos_title": "Unduh Profil macOS (.mobileconfig)",
|
"download_macos_title": "Unduh Profil macOS (.mobileconfig)",
|
||||||
"download_linux_title": "Unduh Penginstal Linux (.sh)",
|
"download_linux_title": "Unduh Penginstal Linux (.sh)",
|
||||||
"copy_cli": "Salin CLI",
|
"copy_cli": "Salin CLI",
|
||||||
|
"copy_command": "Salin Perintah",
|
||||||
|
"no_script": "Skrip tidak tersedia.",
|
||||||
"copied": "Tersalin!",
|
"copied": "Tersalin!",
|
||||||
|
"recommended": "Rekomendasi",
|
||||||
"root_ca": "Root CA",
|
"root_ca": "Root CA",
|
||||||
"intermediate_ca": "Intermediate CA",
|
"intermediate_ca": "Intermediate CA",
|
||||||
"root_ca_hierarchy": "Fondasi Kepercayaan Akar",
|
"root_ca_hierarchy": "Fondasi Kepercayaan Akar",
|
||||||
|
|||||||
Reference in New Issue
Block a user