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} />,

View file

@ -170,6 +170,7 @@
"Not a valid Riot keyfile": "Not a valid Riot keyfile",
"Authentication check failed: incorrect password?": "Authentication check failed: incorrect password?",
"Failed to join room": "Failed to join room",
"Message Replies": "Message Replies",
"Message Pinning": "Message Pinning",
"Presence Management": "Presence Management",
"Tag Panel": "Tag Panel",
@ -272,9 +273,9 @@
"Failed to mute user": "Failed to mute user",
"Failed to toggle moderator status": "Failed to toggle moderator status",
"Failed to change power level": "Failed to change power level",
"You will not be able to undo this change as you are promoting the user to have the same power level as yourself.": "You will not be able to undo this change as you are promoting the user to have the same power level as yourself.",
"You will not be able to undo this change as you are demoting yourself, if you are the last privileged user in the room it will be impossible to regain privileges.": "You will not be able to undo this change as you are demoting yourself, if you are the last privileged user in the room it will be impossible to regain privileges.",
"Are you sure?": "Are you sure?",
"You will not be able to undo this change as you are promoting the user to have the same power level as yourself.": "You will not be able to undo this change as you are promoting the user to have the same power level as yourself.",
"No devices with registered encryption keys": "No devices with registered encryption keys",
"Devices": "Devices",
"Unignore": "Unignore",
@ -307,10 +308,10 @@
"Show Apps": "Show Apps",
"Upload file": "Upload file",
"Show Text Formatting Toolbar": "Show Text Formatting Toolbar",
"Send an encrypted message": "Send an encrypted message",
"Send an encrypted reply": "Send an encrypted reply",
"Send a message (unencrypted)": "Send a message (unencrypted)",
"Send a reply (unencrypted)": "Send a reply (unencrypted)",
"Send an encrypted reply…": "Send an encrypted reply…",
"Send a reply (unencrypted)…": "Send a reply (unencrypted)…",
"Send an encrypted message…": "Send an encrypted message…",
"Send a message (unencrypted)…": "Send a message (unencrypted)…",
"You do not have permission to post to this room": "You do not have permission to post to this room",
"Turn Markdown on": "Turn Markdown on",
"Turn Markdown off": "Turn Markdown off",
@ -345,11 +346,12 @@
"Idle": "Idle",
"Offline": "Offline",
"Unknown": "Unknown",
"Replying": "Replying",
"Seen by %(userName)s at %(dateTime)s": "Seen by %(userName)s at %(dateTime)s",
"No rooms to show": "No rooms to show",
"Unnamed room": "Unnamed room",
"World readable": "World readable",
"Guests can join": "Guests can join",
"No rooms to show": "No rooms to show",
"Failed to set avatar.": "Failed to set avatar.",
"Save": "Save",
"(~%(count)s results)|other": "(~%(count)s results)",
@ -560,6 +562,7 @@
"Deleting a widget removes it for all users in this room. Are you sure you want to delete this widget?": "Deleting a widget removes it for all users in this room. Are you sure you want to delete this widget?",
"Delete widget": "Delete widget",
"Revoke widget access": "Revoke widget access",
"Minimize apps": "Minimize apps",
"Edit": "Edit",
"Create new room": "Create new room",
"Unblacklist": "Unblacklist",
@ -629,6 +632,7 @@
"expand": "expand",
"Custom of %(powerLevel)s": "Custom of %(powerLevel)s",
"Custom level": "Custom level",
"Quote": "Quote",
"Room directory": "Room directory",
"Start chat": "Start chat",
"And %(count)s more...|other": "And %(count)s more...",
@ -961,7 +965,5 @@
"This process allows you to import encryption keys that you had previously exported from another Matrix client. You will then be able to decrypt any messages that the other client could decrypt.": "This process allows you to import encryption keys that you had previously exported from another Matrix client. You will then be able to decrypt any messages that the other client could decrypt.",
"The export file will be protected with a passphrase. You should enter the passphrase here, to decrypt the file.": "The export file will be protected with a passphrase. You should enter the passphrase here, to decrypt the file.",
"File to import": "File to import",
"Import": "Import",
"Message Replies": "Message Replies",
"Replying": "Replying"
"Import": "Import"
}