Run gen-i18n.js and embed the ellipsis into the base string

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2018-01-10 12:52:20 +00:00
parent f5bad8bb10
commit 94167e2b8b
No known key found for this signature in database
GPG key ID: 3F879DA5AD802A5E
2 changed files with 16 additions and 14 deletions

View file

@ -341,15 +341,15 @@ export default class MessageComposer extends React.Component {
let placeholderText;
if (this.state.isQuoting) {
if (roomIsEncrypted) {
placeholderText = _t('Send an encrypted reply');
placeholderText = _t('Send an encrypted reply');
} else {
placeholderText = _t('Send a reply (unencrypted)');
placeholderText = _t('Send a reply (unencrypted)');
}
} else {
if (roomIsEncrypted) {
placeholderText = _t('Send an encrypted message');
placeholderText = _t('Send an encrypted message');
} else {
placeholderText = _t('Send a message (unencrypted)');
placeholderText = _t('Send a message (unencrypted)');
}
}
@ -359,7 +359,7 @@ export default class MessageComposer extends React.Component {
key="controls_input"
onResize={this.props.onResize}
room={this.props.room}
placeholder={placeholderText + '…'}
placeholder={placeholderText}
onFilesPasted={this.uploadFiles}
onContentChanged={this.onInputContentChanged}
onInputStateChanged={this.onInputStateChanged} />,