mirror of
https://github.com/dyzulk/trustlab.git
synced 2026-01-26 21:41:52 +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="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>
|
||||
{command || 'No script available.'}
|
||||
{command || t('no_script')}
|
||||
</div>
|
||||
<button
|
||||
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-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" />}
|
||||
</button>
|
||||
@@ -161,7 +161,7 @@ function OsGuideContent({ title, steps, selectedOs, certificates, t }: { title:
|
||||
<div className="flex-1">
|
||||
<h5 className="font-bold text-gray-900 dark:text-white flex items-center gap-2 mb-1">
|
||||
{t('bundle_guide_title')}
|
||||
<Badge variant="brand">Recommended</Badge>
|
||||
<Badge variant="brand">{t('recommended')}</Badge>
|
||||
</h5>
|
||||
<p className="text-xs text-gray-500 dark:text-gray-400 leading-relaxed mb-4">
|
||||
{t('bundle_guide_desc')}
|
||||
|
||||
Reference in New Issue
Block a user