Skip to content

Commit 5841bcc

Browse files
committed
Update tooltips in BiasSettings and localization files for improved clarity
1 parent 95ad227 commit 5841bcc

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

src/components/BiasSettings.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ export default function BiasSettings({
278278
<div className="whitespace-pre-wrap max-w-full w-[400px] p-2">
279279
<Markdown className="-mt-2 text-gray-800 markdown">
280280
{t(
281-
'biasSettings.form.fieldset.parameters.iterations.tooltip'
281+
'biasSettings.form.fieldsets.parameters.iterationsTooltip'
282282
)}
283283
</Markdown>
284284
</div>
@@ -317,7 +317,7 @@ export default function BiasSettings({
317317
<div className="whitespace-pre-wrap max-w-full w-[400px] p-2">
318318
<Markdown className="-mt-2 text-gray-800 markdown">
319319
{t(
320-
'biasSettings.form.fieldset.parameters.iterations.tooltip'
320+
'biasSettings.form.fieldsets.parameters.minClusterSizeTooltip'
321321
)}
322322
</Markdown>
323323
</div>

src/locales/en.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export const en = {
33
'Bienvenue à React et react-i18next',
44
shareButton: 'Share',
55
exportButton: 'Export to .json',
6-
getStarted: "Fill in the form to begin.",
6+
getStarted: 'Fill in the form to begin.',
77
fileUploadError: 'Please upload a valid csv file.',
88
removeButton: 'Remove',
99
dropzoneLabel:
@@ -38,6 +38,10 @@ export const en = {
3838
lower: 'Lower value of bias metric is better, e.g., error rate',
3939
higher: 'Higher value of bias metric is better, e.g., accuracy',
4040
},
41+
iterationsTooltip:
42+
'Number of times the dataset is split in smaller clusters until the minimal cluster size is reached',
43+
minClusterSizeTooltip:
44+
'The minimum number of samples per cluster. By default set to 10% of the number of rows in the attached dataset.',
4145
},
4246
},
4347
errors: {

src/locales/nl.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ export const nl = {
3737
lower: 'Lagere waarde van gelijkheidsmetriek is beter, bijv. foutpercentage',
3838
higher: 'Hogere waarde van gelijkheidsmetriek is beter, bijv. nauwkeurigheid',
3939
},
40+
iterationsTooltip:
41+
'Aantal keren dat de dataset wordt opgesplitst in kleinere clusters totdat de minimale clustergrootte is bereikt.',
42+
minClusterSizeTooltip:
43+
'Het minimale aantal datapunten per cluster. Standaard ingesteld op 10% van het aantal rijen in de bijgevoegde dataset.',
4044
},
4145
},
4246
errors: {
@@ -58,8 +62,7 @@ export const nl = {
5862
},
5963
demoCard: {
6064
title: 'Probeer het uit!',
61-
description:
62-
'Geen dataset bij de hand? Gebruik onze demoset.',
65+
description: 'Geen dataset bij de hand? Gebruik onze demoset.',
6366
},
6467
},
6568
syntheticData: {

0 commit comments

Comments
 (0)