i18n things

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2017-06-03 15:48:33 +01:00
parent 0f4dc5c072
commit 98e99d542b
2 changed files with 5 additions and 3 deletions

View File

@ -865,10 +865,10 @@ module.exports = React.createClass({
const platform = PlatformPeg.get(); const platform = PlatformPeg.get();
if ('canSelfUpdate' in platform && platform.canSelfUpdate()) { if ('canSelfUpdate' in platform && platform.canSelfUpdate()) {
return <div> return <div>
<h3>Updates</h3> <h3>{_t('Updates')}</h3>
<div className="mx_UserSettings_section"> <div className="mx_UserSettings_section">
<AccessibleButton className="mx_UserSettings_button danger" onClick={this._onCheckUpdates}> <AccessibleButton className="mx_UserSettings_button" onClick={this._onCheckUpdates}>
Check for update {_t('Check for update')}
</AccessibleButton> </AccessibleButton>
</div> </div>
</div>; </div>;

View File

@ -822,6 +822,8 @@
"Online": "Online", "Online": "Online",
"Idle": "Idle", "Idle": "Idle",
"Offline": "Offline", "Offline": "Offline",
"Updates": "Updates",
"Check for update": "Check for update",
"Disable URL previews for this room (affects only you)": "Disable URL previews for this room (affects only you)", "Disable URL previews for this room (affects only you)": "Disable URL previews for this room (affects only you)",
"$senderDisplayName changed the room avatar to <img/>": "$senderDisplayName changed the room avatar to <img/>", "$senderDisplayName changed the room avatar to <img/>": "$senderDisplayName changed the room avatar to <img/>",
"%(senderDisplayName)s removed the room avatar.": "%(senderDisplayName)s removed the room avatar.", "%(senderDisplayName)s removed the room avatar.": "%(senderDisplayName)s removed the room avatar.",