More translation string fixups

This commit is contained in:
David Baker 2017-05-25 17:35:18 +01:00
parent 6d67655f66
commit 9112fc231a
2 changed files with 13 additions and 9 deletions

View File

@ -724,7 +724,7 @@ module.exports = React.createClass({
<div className="mx_UserSettings_section"> <div className="mx_UserSettings_section">
<p>{ _t("Found a bug?") }</p> <p>{ _t("Found a bug?") }</p>
<button className="mx_UserSettings_button danger" <button className="mx_UserSettings_button danger"
onClick={this._onBugReportClicked}>Report it onClick={this._onBugReportClicked}>{_t('Report it')}
</button> </button>
</div> </div>
</div> </div>
@ -1031,10 +1031,10 @@ module.exports = React.createClass({
<div className="mx_UserSettings_section"> <div className="mx_UserSettings_section">
<div className="mx_UserSettings_advanced"> <div className="mx_UserSettings_advanced">
{ _t("Logged in as") } {this._me} { _t("Logged in as:") } {this._me}
</div> </div>
<div className="mx_UserSettings_advanced"> <div className="mx_UserSettings_advanced">
Access Token: <span className="mx_UserSettings_advanced_spoiler" onClick={this._showSpoiler} data-spoiler={ MatrixClientPeg.get().getAccessToken() }>&lt;{ _t("click to reveal") }&gt;</span> {_t('Access Token:')} <span className="mx_UserSettings_advanced_spoiler" onClick={this._showSpoiler} data-spoiler={ MatrixClientPeg.get().getAccessToken() }>&lt;{ _t("click to reveal") }&gt;</span>
</div> </div>
<div className="mx_UserSettings_advanced"> <div className="mx_UserSettings_advanced">
{ _t("Homeserver is") } { MatrixClientPeg.get().getHomeserverUrl() } { _t("Homeserver is") } { MatrixClientPeg.get().getHomeserverUrl() }
@ -1043,15 +1043,15 @@ module.exports = React.createClass({
{ _t("Identity Server is") } { MatrixClientPeg.get().getIdentityServerUrl() } { _t("Identity Server is") } { MatrixClientPeg.get().getIdentityServerUrl() }
</div> </div>
<div className="mx_UserSettings_advanced"> <div className="mx_UserSettings_advanced">
matrix-react-sdk version: {(REACT_SDK_VERSION !== '<local>') {_t('matrix-react-sdk version:')} {(REACT_SDK_VERSION !== '<local>')
? gHVersionLabel('matrix-org/matrix-react-sdk', REACT_SDK_VERSION) ? gHVersionLabel('matrix-org/matrix-react-sdk', REACT_SDK_VERSION)
: REACT_SDK_VERSION : REACT_SDK_VERSION
}<br/> }<br/>
riot-web version: {(this.state.vectorVersion !== undefined) {_t('riot-web version:')} {(this.state.vectorVersion !== undefined)
? gHVersionLabel('vector-im/riot-web', this.state.vectorVersion) ? gHVersionLabel('vector-im/riot-web', this.state.vectorVersion)
: 'unknown' : 'unknown'
}<br/> }<br/>
{ _t("olm version: ") } {olmVersionString}<br/> { _t("olm version:") } {olmVersionString}<br/>
</div> </div>
</div> </div>

View File

@ -126,6 +126,7 @@
"%(targetName)s accepted an invitation": "%(targetName)s accepted an invitation", "%(targetName)s accepted an invitation": "%(targetName)s accepted an invitation",
"%(targetName)s accepted the invitation for %(displayName)s": "%(targetName)s accepted the invitation for %(displayName)s", "%(targetName)s accepted the invitation for %(displayName)s": "%(targetName)s accepted the invitation for %(displayName)s",
"Account": "Account", "Account": "Account",
"Access Token:": "Access Token:",
"Add email address": "Add email address", "Add email address": "Add email address",
"Add phone number": "Add phone number", "Add phone number": "Add phone number",
"Admin": "Admin", "Admin": "Admin",
@ -283,7 +284,7 @@
"I have verified my email address": "I have verified my email address", "I have verified my email address": "I have verified my email address",
"Import E2E room keys": "Import E2E room keys", "Import E2E room keys": "Import E2E room keys",
"Incorrect verification code": "Incorrect verification code", "Incorrect verification code": "Incorrect verification code",
"Interface language": "Interface language", "Interface Language": "Interface Language",
"Invalid alias format": "Invalid alias format", "Invalid alias format": "Invalid alias format",
"Invalid address format": "Invalid address format", "Invalid address format": "Invalid address format",
"Invalid Email Address": "Invalid Email Address", "Invalid Email Address": "Invalid Email Address",
@ -311,7 +312,7 @@
"%(targetName)s left the room": "%(targetName)s left the room", "%(targetName)s left the room": "%(targetName)s left the room",
"Level": "Level", "Level": "Level",
"Local addresses for this room:": "Local addresses for this room:", "Local addresses for this room:": "Local addresses for this room:",
"Logged in as": "Logged in as", "Logged in as:": "Logged in as:",
"Login as guest": "Login as guest", "Login as guest": "Login as guest",
"Logout": "Logout", "Logout": "Logout",
"Low priority": "Low priority", "Low priority": "Low priority",
@ -319,6 +320,7 @@
"Manage Integrations": "Manage Integrations", "Manage Integrations": "Manage Integrations",
"Markdown is disabled": "Markdown is disabled", "Markdown is disabled": "Markdown is disabled",
"Markdown is enabled": "Markdown is enabled", "Markdown is enabled": "Markdown is enabled",
"matrix-react-sdk version:": "matrix-react-sdk version:",
"Members only": "Members only", "Members only": "Members only",
"Message not sent due to unknown devices being present": "Message not sent due to unknown devices being present", "Message not sent due to unknown devices being present": "Message not sent due to unknown devices being present",
"Missing room_id in request": "Missing room_id in request", "Missing room_id in request": "Missing room_id in request",
@ -348,7 +350,7 @@
"No results": "No results", "No results": "No results",
"No users have specific privileges in this room": "No users have specific privileges in this room", "No users have specific privileges in this room": "No users have specific privileges in this room",
"OK": "OK", "OK": "OK",
"olm version": "olm version", "olm version:": "olm version:",
"Once encryption is enabled for a room it <b>cannot</b> be turned off again (for now)": "Once encryption is enabled for a room it <b>cannot</b> be turned off again (for now)", "Once encryption is enabled for a room it <b>cannot</b> be turned off again (for now)": "Once encryption is enabled for a room it <b>cannot</b> be turned off again (for now)",
"Once you&#39;ve followed the link it contains, click below": "Once you&#39;ve followed the link it contains, click below", "Once you&#39;ve followed the link it contains, click below": "Once you&#39;ve followed the link it contains, click below",
"Only people who have been invited": "Only people who have been invited", "Only people who have been invited": "Only people who have been invited",
@ -377,12 +379,14 @@
"%(senderName)s removed their profile picture": "%(senderName)s removed their profile picture", "%(senderName)s removed their profile picture": "%(senderName)s removed their profile picture",
"Remove": "Remove", "Remove": "Remove",
"%(senderName)s requested a VoIP conference": "%(senderName)s requested a VoIP conference", "%(senderName)s requested a VoIP conference": "%(senderName)s requested a VoIP conference",
"Report it": "Report it",
"Resetting password will currently reset any end-to-end encryption keys on all devices, making encrypted chat history unreadable, unless you first export your room keys and re-import them afterwards. In future this <a href='https://github.com/vector-im/riot-web/issues/2671'>will be improved</a>": "Resetting password will currently reset any end-to-end encryption keys on all devices, making encrypted chat history unreadable, unless you first export your room keys and re-import them afterwards. In future this <a href='https://github.com/vector-im/riot-web/issues/2671'>will be improved</a>", "Resetting password will currently reset any end-to-end encryption keys on all devices, making encrypted chat history unreadable, unless you first export your room keys and re-import them afterwards. In future this <a href='https://github.com/vector-im/riot-web/issues/2671'>will be improved</a>": "Resetting password will currently reset any end-to-end encryption keys on all devices, making encrypted chat history unreadable, unless you first export your room keys and re-import them afterwards. In future this <a href='https://github.com/vector-im/riot-web/issues/2671'>will be improved</a>",
"restore": "restore", "restore": "restore",
"Return to app": "Return to app", "Return to app": "Return to app",
"Return to login screen": "Return to login screen", "Return to login screen": "Return to login screen",
"Riot does not have permission to send you notifications - please check your browser settings": "Riot does not have permission to send you notifications - please check your browser settings", "Riot does not have permission to send you notifications - please check your browser settings": "Riot does not have permission to send you notifications - please check your browser settings",
"Riot was not given permission to send notifications - please try again": "Riot was not given permission to send notifications - please try again", "Riot was not given permission to send notifications - please try again": "Riot was not given permission to send notifications - please try again",
"riot-web version:": "riot-web version:",
"Room %(roomId)s not visible": "Room %(roomId)s not visible", "Room %(roomId)s not visible": "Room %(roomId)s not visible",
"Room Colour": "Room Colour", "Room Colour": "Room Colour",
"Room name (optional)": "Room name (optional)", "Room name (optional)": "Room name (optional)",