Skip to content

Commit

Permalink
feat: fix copy for dataset title and subtitle
Browse files Browse the repository at this point in the history
  • Loading branch information
flaminic committed Oct 14, 2024
1 parent f8a4dd4 commit 7775e8d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/config/field-overrides/dataSet.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,14 +145,14 @@ class RenderAsTabsSettings extends React.Component {
state.displayOptions.customText.header) || ""}
fullWidth={false}
onChange={this.onCustomTextHeaderChanged}
floatingLabelText={this.translate('header')}
floatingLabelText={this.translate('data_set_title')}
/>
<TextField
value={(this.state.displayOptions && state.displayOptions.customText &&
state.displayOptions.customText.subheader) || ""}
fullWidth={false}
onChange={this.onCustomTextSubheaderChanged}
floatingLabelText={this.translate('subheader')}
floatingLabelText={this.translate('data_set_subtitle')}
/>
</div>}
</div>
Expand Down
6 changes: 3 additions & 3 deletions src/i18n/i18n_module_en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -626,9 +626,9 @@ render_options_as_radio=Render options as radio
render_as_tabs=Render sections as tabs
horizontal=Horizontal
vertical=Vertical
add_custom_text=Add custom text
header=Header
subheader=Sub-header
add_custom_text=Add custom title/subtitle
data_set_title=Title
data_set_subtitle=Subtitle
render_horizontally=Render vertically
compulsory_fields_complete_only=Complete allowed only if compulsory fields are filled
auto_save_data_entry_forms=Auto-save data entry forms
Expand Down

0 comments on commit 7775e8d

Please sign in to comment.