Skip to content

Commit e2eae20

Browse files
committed
Tooltip plaatsen achter "Number of synthetic datapoints" NL EN
1 parent 050212b commit e2eae20

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

src/components/SyntheticDataSettings.tsx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,9 +305,17 @@ export default function SyntheticDataSettings({
305305
</div>
306306

307307
<div className="grid gap-3">
308-
<Label htmlFor="samples">
308+
<Label
309+
htmlFor="samples"
310+
className="flex flex-row items-center gap-1"
311+
>
309312
{t('syntheticData.form.fieldset.samples')} (
310313
{outputSamples})
314+
<IconInfoTooltip
315+
tooltipText={t(
316+
'syntheticData.form.fieldset.outputSamplesTooltip'
317+
)}
318+
/>
311319
</Label>
312320
<Slider
313321
id="samples"

src/locales/en.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ export const en = {
149149
"When using Gaussian Copula, you can choose how to handle missing values (NaN values) in your dataset. 'Drop rows with NaN values' removes them completely, while 'Imputate NaN values' replaces them with mean values for numerical columns and mode values for categorical columns",
150150
},
151151
samples: 'Number of synthetic datapoints',
152+
outputSamplesTooltip:
153+
'Number of synthetic data points to be generated by the tool. Due to computational contstraints of browser-based synthetic data generation, the maximum is set to 5.000.',
152154
},
153155
actions: {
154156
tryItOut: 'Demo dataset',

src/locales/nl.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ export const nl = {
149149
'Bij gebruik van Gaussian Copula kunt u kiezen hoe u omgaat met ontbrekende waarden (NaN waarden) in uw dataset. Het verwijderen van rijen met NaN waarden verwijdert deze volledig, terwijl imputatie deze vervangt door gemiddelde waarden voor numerieke kolommen en modus waarden voor categorische kolommen',
150150
},
151151
samples: 'Aantal synthetische datapunten',
152+
outputSamplesTooltip:
153+
'Aantal synthetische datapunten die door de tool worden gegenereerd. Vanwege de rekencapaciteit van browser-gebaseerde datageneratie is het maximum ingesteld op 5.000.',
152154
},
153155
actions: {
154156
tryItOut: 'Demo dataset',

0 commit comments

Comments
 (0)