translation for Archived:
This commit is contained in:
+1
-1
@@ -1859,7 +1859,7 @@ ul.tabbar li.active > a {
|
|||||||
width: 1.35rem;
|
width: 1.35rem;
|
||||||
height: 1.35rem;
|
height: 1.35rem;
|
||||||
margin-left: 0.5rem;
|
margin-left: 0.5rem;
|
||||||
line-height: 1.35rem;
|
line-height: 1.45rem;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
vertical-align: middle;
|
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",
|
"description": "Notification that the email with password reset instructions has been sent",
|
||||||
"missing": false,
|
"missing": false,
|
||||||
"obsolete": 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",
|
"description": "Notification that the email with password reset instructions has been sent",
|
||||||
"missing": false,
|
"missing": false,
|
||||||
"obsolete": 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",
|
"description": "Notification that the email with password reset instructions has been sent",
|
||||||
"missing": false,
|
"missing": false,
|
||||||
"obsolete": 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",
|
"defaultMessage": "Name",
|
||||||
"description": "Label for editing topic name"
|
"description": "Label for editing topic name"
|
||||||
},
|
},
|
||||||
|
"label_unarchive_topic": {
|
||||||
|
"defaultMessage": "Archived:",
|
||||||
|
"description": "Label for unarchiving the topic"
|
||||||
|
},
|
||||||
"label_user_contacts": {
|
"label_user_contacts": {
|
||||||
"defaultMessage": "Contacts:",
|
"defaultMessage": "Contacts:",
|
||||||
"description": "Label for user contacts"
|
"description": "Label for user contacts"
|
||||||
|
|||||||
@@ -1319,5 +1319,12 @@
|
|||||||
"description": "Notification that the email with password reset instructions has been sent",
|
"description": "Notification that the email with password reset instructions has been sent",
|
||||||
"missing": false,
|
"missing": false,
|
||||||
"obsolete": 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",
|
"description": "Notification that the email with password reset instructions has been sent",
|
||||||
"missing": false,
|
"missing": false,
|
||||||
"obsolete": 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",
|
"description": "Notification that the email with password reset instructions has been sent",
|
||||||
"missing": false,
|
"missing": false,
|
||||||
"obsolete": 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",
|
"description": "Notification that the email with password reset instructions has been sent",
|
||||||
"missing": false,
|
"missing": false,
|
||||||
"obsolete": 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",
|
"description": "Notification that the email with password reset instructions has been sent",
|
||||||
"missing": false,
|
"missing": false,
|
||||||
"obsolete": 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.onSubsUpdated = this.onSubsUpdated.bind(this);
|
||||||
this.handleImageChanged = this.handleImageChanged.bind(this);
|
this.handleImageChanged = this.handleImageChanged.bind(this);
|
||||||
this.handleMuted = this.handleMuted.bind(this);
|
this.handleMuted = this.handleMuted.bind(this);
|
||||||
|
this.handleUnarchive = this.handleUnarchive.bind(this);
|
||||||
this.handlePermissionsChanged = this.handlePermissionsChanged.bind(this);
|
this.handlePermissionsChanged = this.handlePermissionsChanged.bind(this);
|
||||||
this.handleLaunchPermissionsEditor = this.handleLaunchPermissionsEditor.bind(this);
|
this.handleLaunchPermissionsEditor = this.handleLaunchPermissionsEditor.bind(this);
|
||||||
this.handleShowAddMembers = this.handleShowAddMembers.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),
|
avatar: makeImageUrl(topic.public ? topic.public.photo : null),
|
||||||
trustedBadges: badges,
|
trustedBadges: badges,
|
||||||
private: _clip(topic.private ? topic.private.comment : null, MAX_TITLE_LENGTH),
|
private: _clip(topic.private ? topic.private.comment : null, MAX_TITLE_LENGTH),
|
||||||
|
archived: topic.isArchived(),
|
||||||
address: topic.name,
|
address: topic.name,
|
||||||
groupTopic: topic.isGroupType(),
|
groupTopic: topic.isGroupType(),
|
||||||
channel: topic.isChannelType() || topic.chan,
|
channel: topic.isChannelType() || topic.chan,
|
||||||
@@ -267,6 +269,10 @@ class InfoView extends React.Component {
|
|||||||
this.props.onChangePermissions(this.props.topic, checked ? '-P' : '+P');
|
this.props.onChangePermissions(this.props.topic, checked ? '-P' : '+P');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
handleUnarchive(ignored, ignored2) {
|
||||||
|
this.props.onTopicUnArchive(this.props.topic);
|
||||||
|
}
|
||||||
|
|
||||||
handlePermissionsChanged(which, perm) {
|
handlePermissionsChanged(which, perm) {
|
||||||
switch (which) {
|
switch (which) {
|
||||||
case 'auth':
|
case 'auth':
|
||||||
@@ -569,6 +575,17 @@ class InfoView extends React.Component {
|
|||||||
</label>
|
</label>
|
||||||
<CheckBox name="P" checked={this.state.muted} onChange={this.handleMuted} />
|
<CheckBox name="P" checked={this.state.muted} onChange={this.handleMuted} />
|
||||||
</div>
|
</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="hr" />
|
||||||
<div className="panel-form-row">
|
<div className="panel-form-row">
|
||||||
<a href="#" className="flat-button" onClick={(e) => {e.preventDefault(); this.props.onNavigate('security');}}>
|
<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.handleStartTopicRequest = this.handleStartTopicRequest.bind(this);
|
||||||
this.handleNewTopicCreated = this.handleNewTopicCreated.bind(this);
|
this.handleNewTopicCreated = this.handleNewTopicCreated.bind(this);
|
||||||
this.handleTopicUpdateRequest = this.handleTopicUpdateRequest.bind(this);
|
this.handleTopicUpdateRequest = this.handleTopicUpdateRequest.bind(this);
|
||||||
|
this.handleUnarchive = this.handleUnarchive.bind(this);
|
||||||
this.handleChangePermissions = this.handleChangePermissions.bind(this);
|
this.handleChangePermissions = this.handleChangePermissions.bind(this);
|
||||||
this.handleTagsUpdateRequest = this.handleTagsUpdateRequest.bind(this);
|
this.handleTagsUpdateRequest = this.handleTagsUpdateRequest.bind(this);
|
||||||
this.handleLogout = this.handleLogout.bind(this);
|
this.handleLogout = this.handleLogout.bind(this);
|
||||||
@@ -1229,7 +1230,8 @@ class TinodeWeb extends React.Component {
|
|||||||
}
|
}
|
||||||
params.public = pub;
|
params.public = pub;
|
||||||
}
|
}
|
||||||
if (priv) {
|
|
||||||
|
if (typeof priv == 'string') {
|
||||||
params.private = (priv === Tinode.DEL_CHAR) ?
|
params.private = (priv === Tinode.DEL_CHAR) ?
|
||||||
Tinode.DEL_CHAR : {comment: priv};
|
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) {
|
handleUpdatePasswordRequest(password) {
|
||||||
this.handleError();
|
this.handleError();
|
||||||
|
|
||||||
@@ -1697,6 +1706,7 @@ class TinodeWeb extends React.Component {
|
|||||||
onReportTopic={this.handleReportTopic}
|
onReportTopic={this.handleReportTopic}
|
||||||
onAddMember={this.handleManageGroupMembers}
|
onAddMember={this.handleManageGroupMembers}
|
||||||
onTopicTagsUpdateRequest={this.handleTagsUpdateRequest}
|
onTopicTagsUpdateRequest={this.handleTagsUpdateRequest}
|
||||||
|
onTopicUnArchive={this.handleUnarchive}
|
||||||
onInitFind={this.tnInitFind}
|
onInitFind={this.tnInitFind}
|
||||||
onError={this.handleError}
|
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