translation for Archived:
This commit is contained in:
+1
-1
@@ -1859,7 +1859,7 @@ ul.tabbar li.active > a {
|
||||
width: 1.35rem;
|
||||
height: 1.35rem;
|
||||
margin-left: 0.5rem;
|
||||
line-height: 1.35rem;
|
||||
line-height: 1.45rem;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -1319,5 +1319,12 @@
|
||||
"description": "Notification that the email with password reset instructions has been sent",
|
||||
"missing": false,
|
||||
"obsolete": false
|
||||
},
|
||||
"label_unarchive_topic": {
|
||||
"translation": "Archiviert:",
|
||||
"defaultMessage": "Archived:",
|
||||
"description": "Label for unarchiving the topic",
|
||||
"missing": false,
|
||||
"obsolete": false
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1375,5 +1375,12 @@
|
||||
"description": "Notification that the email with password reset instructions has been sent",
|
||||
"missing": false,
|
||||
"obsolete": false
|
||||
},
|
||||
"label_unarchive_topic": {
|
||||
"translation": "Archived:",
|
||||
"defaultMessage": "Archived:",
|
||||
"description": "Label for unarchiving the topic",
|
||||
"missing": false,
|
||||
"obsolete": false
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1319,5 +1319,12 @@
|
||||
"description": "Notification that the email with password reset instructions has been sent",
|
||||
"missing": false,
|
||||
"obsolete": false
|
||||
},
|
||||
"label_unarchive_topic": {
|
||||
"translation": "Archivado:",
|
||||
"defaultMessage": "Archived:",
|
||||
"description": "Label for unarchiving the topic",
|
||||
"missing": false,
|
||||
"obsolete": false
|
||||
}
|
||||
}
|
||||
|
||||
@@ -345,6 +345,10 @@
|
||||
"defaultMessage": "Name",
|
||||
"description": "Label for editing topic name"
|
||||
},
|
||||
"label_unarchive_topic": {
|
||||
"defaultMessage": "Archived:",
|
||||
"description": "Label for unarchiving the topic"
|
||||
},
|
||||
"label_user_contacts": {
|
||||
"defaultMessage": "Contacts:",
|
||||
"description": "Label for user contacts"
|
||||
|
||||
@@ -1319,5 +1319,12 @@
|
||||
"description": "Notification that the email with password reset instructions has been sent",
|
||||
"missing": false,
|
||||
"obsolete": false
|
||||
},
|
||||
"label_unarchive_topic": {
|
||||
"translation": "보관됨:",
|
||||
"defaultMessage": "Archived:",
|
||||
"description": "Label for unarchiving the topic",
|
||||
"missing": false,
|
||||
"obsolete": false
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1319,5 +1319,12 @@
|
||||
"description": "Notification that the email with password reset instructions has been sent",
|
||||
"missing": false,
|
||||
"obsolete": false
|
||||
},
|
||||
"label_unarchive_topic": {
|
||||
"translation": "Arhivat:",
|
||||
"defaultMessage": "Archived:",
|
||||
"description": "Label for unarchiving the topic",
|
||||
"missing": false,
|
||||
"obsolete": false
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1319,5 +1319,12 @@
|
||||
"description": "Notification that the email with password reset instructions has been sent",
|
||||
"missing": false,
|
||||
"obsolete": false
|
||||
},
|
||||
"label_unarchive_topic": {
|
||||
"translation": "Архивирован:",
|
||||
"defaultMessage": "Archived:",
|
||||
"description": "Label for unarchiving the topic",
|
||||
"missing": false,
|
||||
"obsolete": false
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1319,5 +1319,12 @@
|
||||
"description": "Notification that the email with password reset instructions has been sent",
|
||||
"missing": false,
|
||||
"obsolete": false
|
||||
},
|
||||
"label_unarchive_topic": {
|
||||
"translation": "存檔聊天:",
|
||||
"defaultMessage": "Archived:",
|
||||
"description": "Label for unarchiving the topic",
|
||||
"missing": false,
|
||||
"obsolete": false
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1319,5 +1319,12 @@
|
||||
"description": "Notification that the email with password reset instructions has been sent",
|
||||
"missing": false,
|
||||
"obsolete": false
|
||||
},
|
||||
"label_unarchive_topic": {
|
||||
"translation": "存档:",
|
||||
"defaultMessage": "Archived:",
|
||||
"description": "Label for unarchiving the topic",
|
||||
"missing": false,
|
||||
"obsolete": false
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
@@ -121,6 +121,7 @@ class InfoView extends React.Component {
|
||||
this.onSubsUpdated = this.onSubsUpdated.bind(this);
|
||||
this.handleImageChanged = this.handleImageChanged.bind(this);
|
||||
this.handleMuted = this.handleMuted.bind(this);
|
||||
this.handleUnarchive = this.handleUnarchive.bind(this);
|
||||
this.handlePermissionsChanged = this.handlePermissionsChanged.bind(this);
|
||||
this.handleLaunchPermissionsEditor = this.handleLaunchPermissionsEditor.bind(this);
|
||||
this.handleShowAddMembers = this.handleShowAddMembers.bind(this);
|
||||
@@ -210,6 +211,7 @@ class InfoView extends React.Component {
|
||||
avatar: makeImageUrl(topic.public ? topic.public.photo : null),
|
||||
trustedBadges: badges,
|
||||
private: _clip(topic.private ? topic.private.comment : null, MAX_TITLE_LENGTH),
|
||||
archived: topic.isArchived(),
|
||||
address: topic.name,
|
||||
groupTopic: topic.isGroupType(),
|
||||
channel: topic.isChannelType() || topic.chan,
|
||||
@@ -267,6 +269,10 @@ class InfoView extends React.Component {
|
||||
this.props.onChangePermissions(this.props.topic, checked ? '-P' : '+P');
|
||||
}
|
||||
|
||||
handleUnarchive(ignored, ignored2) {
|
||||
this.props.onTopicUnArchive(this.props.topic);
|
||||
}
|
||||
|
||||
handlePermissionsChanged(which, perm) {
|
||||
switch (which) {
|
||||
case 'auth':
|
||||
@@ -569,6 +575,17 @@ class InfoView extends React.Component {
|
||||
</label>
|
||||
<CheckBox name="P" checked={this.state.muted} onChange={this.handleMuted} />
|
||||
</div>
|
||||
{this.state.archived ?
|
||||
<div className="panel-form-row">
|
||||
<label>
|
||||
<FormattedMessage id="label_unarchive_topic" defaultMessage="Archived:"
|
||||
description="Label for unarchiving the topic" />
|
||||
</label>
|
||||
<CheckBox name="archived" checked={true} onChange={this.handleUnarchive} />
|
||||
</div>
|
||||
:
|
||||
null
|
||||
}
|
||||
<div className="hr" />
|
||||
<div className="panel-form-row">
|
||||
<a href="#" className="flat-button" onClick={(e) => {e.preventDefault(); this.props.onNavigate('security');}}>
|
||||
|
||||
@@ -120,6 +120,7 @@ class TinodeWeb extends React.Component {
|
||||
this.handleStartTopicRequest = this.handleStartTopicRequest.bind(this);
|
||||
this.handleNewTopicCreated = this.handleNewTopicCreated.bind(this);
|
||||
this.handleTopicUpdateRequest = this.handleTopicUpdateRequest.bind(this);
|
||||
this.handleUnarchive = this.handleUnarchive.bind(this);
|
||||
this.handleChangePermissions = this.handleChangePermissions.bind(this);
|
||||
this.handleTagsUpdateRequest = this.handleTagsUpdateRequest.bind(this);
|
||||
this.handleLogout = this.handleLogout.bind(this);
|
||||
@@ -1229,7 +1230,8 @@ class TinodeWeb extends React.Component {
|
||||
}
|
||||
params.public = pub;
|
||||
}
|
||||
if (priv) {
|
||||
|
||||
if (typeof priv == 'string') {
|
||||
params.private = (priv === Tinode.DEL_CHAR) ?
|
||||
Tinode.DEL_CHAR : {comment: priv};
|
||||
}
|
||||
@@ -1242,6 +1244,13 @@ class TinodeWeb extends React.Component {
|
||||
}
|
||||
}
|
||||
|
||||
handleUnarchive(topicName) {
|
||||
const topic = this.tinode.getTopic(topicName);
|
||||
if (topic) {
|
||||
topic.archive(false);
|
||||
}
|
||||
}
|
||||
|
||||
handleUpdatePasswordRequest(password) {
|
||||
this.handleError();
|
||||
|
||||
@@ -1697,6 +1706,7 @@ class TinodeWeb extends React.Component {
|
||||
onReportTopic={this.handleReportTopic}
|
||||
onAddMember={this.handleManageGroupMembers}
|
||||
onTopicTagsUpdateRequest={this.handleTagsUpdateRequest}
|
||||
onTopicUnArchive={this.handleUnarchive}
|
||||
onInitFind={this.tnInitFind}
|
||||
onError={this.handleError}
|
||||
|
||||
|
||||
+31
-3
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+85
-78
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user