fix: localize simulation description and display A-Copilot in v1.2.18
This commit is contained in:
@@ -21,7 +21,7 @@ export function ProgressiveChatResponse({ message, dark, children, footerAction,
|
||||
defaultCollapsed?: boolean
|
||||
}): React.JSX.Element {
|
||||
const content = message.plan?.explanation ?? message.content
|
||||
const modelLabel = [message.provider, message.model].filter(Boolean).join(' · ')
|
||||
const modelLabel = message.provider === 'A_COPILOT' ? 'A-Copilot' : [message.provider, message.model].filter(Boolean).join(' · ')
|
||||
const document = useMemo(() => createAgentRevealDocument(content), [content])
|
||||
const [now, setNow] = useState(Date.now)
|
||||
const [reducedMotion, setReducedMotion] = useState(() => typeof window !== 'undefined' && window.matchMedia('(prefers-reduced-motion: reduce)').matches)
|
||||
|
||||
@@ -105,7 +105,11 @@ export function PlatformOptionCard({
|
||||
<div className="flex items-center gap-2">
|
||||
<h3 className="truncate text-[15px] font-bold text-[#111520]">{platform.platformKey === 'futuredrive-local-pc' ? t('시뮬레이션') : platform.title}</h3>
|
||||
</div>
|
||||
<p className="mt-1 text-[12px] font-medium text-[#5f6878]">{platform.description}</p>
|
||||
<p className="mt-1 text-[12px] font-medium text-[#5f6878]">
|
||||
{platform.platformKey === 'futuredrive-local-pc' && platform.description === '내 PC에서 직접 개발 환경을 실행합니다.'
|
||||
? t('내 PC에서 직접 개발 환경을 실행합니다.')
|
||||
: platform.description}
|
||||
</p>
|
||||
<div className="mt-2 flex items-center gap-1.5 text-[11px] font-bold text-[#5f6878]">
|
||||
{statusPending
|
||||
? <LoaderCircle size={13} className="animate-spin text-[#7a879a]" />
|
||||
|
||||
@@ -718,5 +718,6 @@
|
||||
"조회 실패": "Retrieval failed",
|
||||
"일부 결과": "Partial results",
|
||||
"SLAM 실습 준비": "Prepare SLAM practice",
|
||||
"승인하고 준비": "Approve and prepare"
|
||||
"승인하고 준비": "Approve and prepare",
|
||||
"내 PC에서 직접 개발 환경을 실행합니다.": "Run the development environment directly on this PC."
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user