Update i18n translation

This commit is contained in:
yangdx
2025-04-02 23:55:28 +08:00
parent 76351590b2
commit 8f46ce75b8
5 changed files with 6 additions and 1 deletions

View File

@@ -54,6 +54,7 @@ const LabeledNumberInput = ({
max?: number
defaultValue?: number
}) => {
const { t } = useTranslation();
const [currentValue, setCurrentValue] = useState<number | null>(value)
const onValueChange = useCallback(
@@ -120,7 +121,7 @@ const LabeledNumberInput = ({
className="h-6 w-6 flex-shrink-0 hover:bg-muted text-muted-foreground hover:text-foreground"
onClick={handleReset}
type="button"
title="重置为默认值"
title={t('graphPanel.sideBar.settings.resetToDefault')}
>
<Undo2 className="h-3.5 w-3.5" />
</Button>

View File

@@ -150,6 +150,7 @@
"maxQueryDepth": "أقصى عمق للاستعلام",
"maxNodes": "الحد الأقصى للعقد",
"maxLayoutIterations": "أقصى تكرارات التخطيط",
"resetToDefault": "إعادة التعيين إلى الافتراضي",
"depth": "D",
"max": "Max",
"degree": "الدرجة",

View File

@@ -150,6 +150,7 @@
"maxQueryDepth": "Max Query Depth",
"maxNodes": "Max Nodes",
"maxLayoutIterations": "Max Layout Iterations",
"resetToDefault": "Reset to default",
"depth": "D",
"max": "Max",
"degree": "Degree",

View File

@@ -150,6 +150,7 @@
"maxQueryDepth": "Profondeur maximale de la requête",
"maxNodes": "Nombre maximum de nœuds",
"maxLayoutIterations": "Itérations maximales de mise en page",
"resetToDefault": "Réinitialiser par défaut",
"depth": "D",
"max": "Max",
"degree": "Degré",

View File

@@ -150,6 +150,7 @@
"maxQueryDepth": "最大查询深度",
"maxNodes": "最大返回节点数",
"maxLayoutIterations": "最大布局迭代次数",
"resetToDefault": "重置为默认值",
"depth": "深",
"max": "Max",
"degree": "邻边",