Add missing i18n to native macOS receiver selector and refactor

This commit is contained in:
hensm
2019-05-15 13:38:11 +01:00
parent 474dbad1aa
commit e368c4d09c
13 changed files with 155 additions and 108 deletions

View File

@@ -187,11 +187,11 @@ class ReceiverEntry extends Component<ReceiverEntryProps, ReceiverEntryState> {
onClick={ this.handleCast }
disabled={this.props.isLoading}>
{ this.state.isLoading
? _("popupCastingButtonLabel") +
? _("popupCastingButtonTitle") +
(this.state.isLoading
? this.state.ellipsis
: "")
: _("popupCastButtonLabel") }
: _("popupCastButtonTitle") }
</button>
</li>
);