Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: change legend type description to fit SV (DHIS2-15120) #2757

Merged
merged 4 commits into from
Oct 2, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 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: 2023-05-30T12:32:59.044Z\n"
"PO-Revision-Date: 2023-05-30T12:32:59.044Z\n"
"POT-Creation-Date: 2023-09-06T13:41:14.540Z\n"
"PO-Revision-Date: 2023-09-06T13:41:14.540Z\n"

msgid "All items"
msgstr "All items"
Expand Down Expand Up @@ -480,11 +480,11 @@ msgstr "Legend style"
msgid "Legend type"
msgstr "Legend type"

msgid "Use pre-defined legend per data item"
msgstr "Use pre-defined legend per data item"
msgid "Use pre-defined legend by data item"
msgstr "Use pre-defined legend by data item"

msgid "Select a single legend for the entire visualization"
msgstr "Select a single legend for the entire visualization"
msgid "Select a legend"
msgstr "Select a legend"

msgid "Legend changes background color"
msgstr "Legend changes background color"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const LegendDisplayStrategy = ({ value, onChange }) => (
<Field name={OPTION_LEGEND_DISPLAY_STRATEGY} dense>
<Radio
key={LEGEND_DISPLAY_STRATEGY_BY_DATA_ITEM}
label={i18n.t('Use pre-defined legend per data item')}
label={i18n.t('Use pre-defined legend by data item')}
value={LEGEND_DISPLAY_STRATEGY_BY_DATA_ITEM}
checked={value === LEGEND_DISPLAY_STRATEGY_BY_DATA_ITEM}
onChange={onChange}
Expand All @@ -27,9 +27,7 @@ const LegendDisplayStrategy = ({ value, onChange }) => (
/>
<Radio
key={LEGEND_DISPLAY_STRATEGY_FIXED}
label={i18n.t(
'Select a single legend for the entire visualization'
)}
label={i18n.t('Select a legend')}
value={LEGEND_DISPLAY_STRATEGY_FIXED}
checked={value === LEGEND_DISPLAY_STRATEGY_FIXED}
onChange={onChange}
Expand Down
Loading