refactor: update UI artifact toggle label to match localization key

This commit is contained in:
Danny Avila 2024-08-24 01:13:05 -04:00
parent e3bcfc560d
commit ac352c9878
3 changed files with 4 additions and 2 deletions

View file

@ -22,7 +22,7 @@ export default function CodeArtifactsSwitch({
return (
<div className="flex items-center justify-between">
<div className="flex items-center space-x-2">
<div>{localize('com_nav_code_artifacts')}</div>
<div>{localize('com_ui_artifacts_toggle')}</div>
<HoverCardSettings side="bottom" text="com_nav_info_code_artifacts" />
</div>
<Switch

View file

@ -3,6 +3,7 @@
// file deepcode ignore HardcodedNonCryptoSecret: No hardcoded secrets present in this file
export default {
com_ui_artifacts_toggle: 'Toggle Artifacts Mode',
com_ui_artifact_click: 'Click to open',
com_a11y_start: 'The AI is replying.',
com_a11y_end: 'The AI has finished their reply.',