mirror of
https://github.com/tiennm99/ccs.git
synced 2026-09-02 18:18:43 +00:00
fix(ui): use i18n singleton in claude extension status card
This commit is contained in:
@@ -11,6 +11,7 @@ import {
|
|||||||
Trash2,
|
Trash2,
|
||||||
} from 'lucide-react';
|
} from 'lucide-react';
|
||||||
import { useTranslation } from 'react-i18next';
|
import { useTranslation } from 'react-i18next';
|
||||||
|
import i18n from '@/lib/i18n';
|
||||||
import { Badge } from '@/components/ui/badge';
|
import { Badge } from '@/components/ui/badge';
|
||||||
import { Button } from '@/components/ui/button';
|
import { Button } from '@/components/ui/button';
|
||||||
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card';
|
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card';
|
||||||
@@ -228,7 +229,7 @@ function TargetStatusCard({
|
|||||||
|
|
||||||
<div className="rounded-lg border bg-muted/25 p-3 text-sm text-muted-foreground">
|
<div className="rounded-lg border bg-muted/25 p-3 text-sm text-muted-foreground">
|
||||||
{status?.message ||
|
{status?.message ||
|
||||||
t('claudeExtensionPage.verifyAfterSaving', {
|
i18n.t('claudeExtensionPage.verifyAfterSaving', {
|
||||||
defaultValue: 'Verify the binding after saving to inspect the current file state.',
|
defaultValue: 'Verify the binding after saving to inspect the current file state.',
|
||||||
})}
|
})}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user