Update i18n translation
This commit is contained in:
@@ -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>
|
||||
|
@@ -150,6 +150,7 @@
|
||||
"maxQueryDepth": "أقصى عمق للاستعلام",
|
||||
"maxNodes": "الحد الأقصى للعقد",
|
||||
"maxLayoutIterations": "أقصى تكرارات التخطيط",
|
||||
"resetToDefault": "إعادة التعيين إلى الافتراضي",
|
||||
"depth": "D",
|
||||
"max": "Max",
|
||||
"degree": "الدرجة",
|
||||
|
@@ -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",
|
||||
|
@@ -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é",
|
||||
|
@@ -150,6 +150,7 @@
|
||||
"maxQueryDepth": "最大查询深度",
|
||||
"maxNodes": "最大返回节点数",
|
||||
"maxLayoutIterations": "最大布局迭代次数",
|
||||
"resetToDefault": "重置为默认值",
|
||||
"depth": "深",
|
||||
"max": "Max",
|
||||
"degree": "邻边",
|
||||
|
Reference in New Issue
Block a user