Skip to content

Commit

Permalink
fix: add help text on Max results option (DHIS2-16873)
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardo committed Feb 21, 2024
1 parent 961f538 commit ee60b89
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
11 changes: 9 additions & 2 deletions i18n/en.pot
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ msgstr ""
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"POT-Creation-Date: 2024-02-21T11:32:10.000Z\n"
"PO-Revision-Date: 2024-02-21T11:32:10.000Z\n"
"POT-Creation-Date: 2024-02-21T14:23:34.018Z\n"
"PO-Revision-Date: 2024-02-21T14:23:34.018Z\n"

msgid "All items"
msgstr "All items"
Expand Down Expand Up @@ -594,6 +594,13 @@ msgstr "Outlier detection method"
msgid "Max results"
msgstr "Max results"

msgid ""
"The maximum number of outlier values to show in the table. Must be between "
"1-500."
msgstr ""
"The maximum number of outlier values to show in the table. Must be between "
"1-500."

msgid "Organisation unit"
msgstr "Organisation unit"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ const OutliersMaxResults = () => {
type="number"
label={i18n.t('Max results')}
value={outlierAnalysis[OUTLIER_MAX_RESULTS_PROP]}
helpText={i18n.t(
'The maximum number of outlier values to show in the table. Must be between 1-500.'
)}
min={MIN_VALUE}
max={MAX_VALUE}
step={1}
Expand Down

0 comments on commit ee60b89

Please sign in to comment.