Skip to content

Commit

Permalink
fix: change text alignment in data set display options from left and …
Browse files Browse the repository at this point in the history
…right to line start and line end
  • Loading branch information
flaminic committed Oct 23, 2024
1 parent 337536a commit 99806d0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
12 changes: 6 additions & 6 deletions src/config/field-overrides/dataSet.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,9 @@ class RenderAsTabsSettings extends React.Component {
(state.displayOptions && state.displayOptions.customText && state.displayOptions.customText.align) || 'center'}
>
<RadioButton
key='left'
value='left'
label={this.translate('left')}
key='line-start'
value='line-start'
label={this.translate('line_start')}
style={{margin: '10px'}}
/>
<RadioButton
Expand All @@ -162,9 +162,9 @@ class RenderAsTabsSettings extends React.Component {
style={{margin: '10px'}}
/>
<RadioButton
key='right'
value='right'
label={this.translate('right')}
key='line-end'
value='line-end'
label={this.translate('line_end')}
style={{margin: '10px'}}
/>
</RadioButtonGroup>}
Expand Down
4 changes: 3 additions & 1 deletion src/i18n/i18n_module_en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,9 @@ edit_right_side= Edit right side
select_operator= Select operator
left= Left
right= Right
center=Center
center= Center
line_start= Line start
line_end= Line end
textual_expression_description= Textual expression description
edit_validation_rule= Edit validation rule
validation_rule= Validation rule
Expand Down

0 comments on commit 99806d0

Please sign in to comment.