Skip to content

Commit

Permalink
Multilingual Planning: Remove the string Main Language in case severa…
Browse files Browse the repository at this point in the history
…l languages are chosen to create an Event [SDESK-7129]
  • Loading branch information
devketanpro committed Nov 28, 2023
1 parent 7a101dc commit 7bb1d94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/components/fields/editor/Language.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ export class EditorFieldLanguageComponent extends React.PureComponent<IProps> {
/>
</ButtonGroup>
<ButtonGroup align="end" padded={true}>
<label style={{textTransform: 'uppercase'}}>{gettext('Main Language:')}</label>
{selectedLanguages.map((language) => (
<Button
key={language.qcode}
Expand All @@ -109,6 +108,7 @@ export class EditorFieldLanguageComponent extends React.PureComponent<IProps> {
onClick={() => this.props.setMainLanguage(language.qcode)}
type={this.props.language === language.qcode ? 'primary' : 'default'}
style={this.props.language === language.qcode ? 'filled' : 'hollow'}
tooltip={gettext('Switch Metadata Language')}
/>
))}
</ButtonGroup>
Expand Down

0 comments on commit 7bb1d94

Please sign in to comment.