Update i18n translation
This commit is contained in:
@@ -54,6 +54,7 @@ const LabeledNumberInput = ({
|
|||||||
max?: number
|
max?: number
|
||||||
defaultValue?: number
|
defaultValue?: number
|
||||||
}) => {
|
}) => {
|
||||||
|
const { t } = useTranslation();
|
||||||
const [currentValue, setCurrentValue] = useState<number | null>(value)
|
const [currentValue, setCurrentValue] = useState<number | null>(value)
|
||||||
|
|
||||||
const onValueChange = useCallback(
|
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"
|
className="h-6 w-6 flex-shrink-0 hover:bg-muted text-muted-foreground hover:text-foreground"
|
||||||
onClick={handleReset}
|
onClick={handleReset}
|
||||||
type="button"
|
type="button"
|
||||||
title="重置为默认值"
|
title={t('graphPanel.sideBar.settings.resetToDefault')}
|
||||||
>
|
>
|
||||||
<Undo2 className="h-3.5 w-3.5" />
|
<Undo2 className="h-3.5 w-3.5" />
|
||||||
</Button>
|
</Button>
|
||||||
|
@@ -150,6 +150,7 @@
|
|||||||
"maxQueryDepth": "أقصى عمق للاستعلام",
|
"maxQueryDepth": "أقصى عمق للاستعلام",
|
||||||
"maxNodes": "الحد الأقصى للعقد",
|
"maxNodes": "الحد الأقصى للعقد",
|
||||||
"maxLayoutIterations": "أقصى تكرارات التخطيط",
|
"maxLayoutIterations": "أقصى تكرارات التخطيط",
|
||||||
|
"resetToDefault": "إعادة التعيين إلى الافتراضي",
|
||||||
"depth": "D",
|
"depth": "D",
|
||||||
"max": "Max",
|
"max": "Max",
|
||||||
"degree": "الدرجة",
|
"degree": "الدرجة",
|
||||||
|
@@ -150,6 +150,7 @@
|
|||||||
"maxQueryDepth": "Max Query Depth",
|
"maxQueryDepth": "Max Query Depth",
|
||||||
"maxNodes": "Max Nodes",
|
"maxNodes": "Max Nodes",
|
||||||
"maxLayoutIterations": "Max Layout Iterations",
|
"maxLayoutIterations": "Max Layout Iterations",
|
||||||
|
"resetToDefault": "Reset to default",
|
||||||
"depth": "D",
|
"depth": "D",
|
||||||
"max": "Max",
|
"max": "Max",
|
||||||
"degree": "Degree",
|
"degree": "Degree",
|
||||||
|
@@ -150,6 +150,7 @@
|
|||||||
"maxQueryDepth": "Profondeur maximale de la requête",
|
"maxQueryDepth": "Profondeur maximale de la requête",
|
||||||
"maxNodes": "Nombre maximum de nœuds",
|
"maxNodes": "Nombre maximum de nœuds",
|
||||||
"maxLayoutIterations": "Itérations maximales de mise en page",
|
"maxLayoutIterations": "Itérations maximales de mise en page",
|
||||||
|
"resetToDefault": "Réinitialiser par défaut",
|
||||||
"depth": "D",
|
"depth": "D",
|
||||||
"max": "Max",
|
"max": "Max",
|
||||||
"degree": "Degré",
|
"degree": "Degré",
|
||||||
|
@@ -150,6 +150,7 @@
|
|||||||
"maxQueryDepth": "最大查询深度",
|
"maxQueryDepth": "最大查询深度",
|
||||||
"maxNodes": "最大返回节点数",
|
"maxNodes": "最大返回节点数",
|
||||||
"maxLayoutIterations": "最大布局迭代次数",
|
"maxLayoutIterations": "最大布局迭代次数",
|
||||||
|
"resetToDefault": "重置为默认值",
|
||||||
"depth": "深",
|
"depth": "深",
|
||||||
"max": "Max",
|
"max": "Max",
|
||||||
"degree": "邻边",
|
"degree": "邻边",
|
||||||
|
Reference in New Issue
Block a user