mirror of https://github.com/vector-im/riot-web
parent
0f4dc5c072
commit
98e99d542b
|
@ -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>;
|
||||||
|
|
|
@ -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.",
|
||||||
|
|
Loading…
Reference in New Issue