fixing translations
This commit is contained in:
@@ -1664,11 +1664,15 @@
|
|||||||
},
|
},
|
||||||
"self_topic_comment": {
|
"self_topic_comment": {
|
||||||
"translation": "",
|
"translation": "",
|
||||||
|
"defaultMessage": "Notes, messages, links, files saved for posterity",
|
||||||
|
"description": "Comment for self topic for UI",
|
||||||
"missing": true,
|
"missing": true,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
},
|
},
|
||||||
"self_topic_name": {
|
"self_topic_name": {
|
||||||
"translation": "",
|
"translation": "",
|
||||||
|
"defaultMessage": "Saved messages",
|
||||||
|
"description": "Name of self topic for UI",
|
||||||
"missing": true,
|
"missing": true,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1664,11 +1664,15 @@
|
|||||||
},
|
},
|
||||||
"self_topic_comment": {
|
"self_topic_comment": {
|
||||||
"translation": "Notes, messages, links, files saved for posterity",
|
"translation": "Notes, messages, links, files saved for posterity",
|
||||||
|
"defaultMessage": "Notes, messages, links, files saved for posterity",
|
||||||
|
"description": "Comment for self topic for UI",
|
||||||
"missing": false,
|
"missing": false,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
},
|
},
|
||||||
"self_topic_name": {
|
"self_topic_name": {
|
||||||
"translation": "Saved messages",
|
"translation": "Saved messages",
|
||||||
|
"defaultMessage": "Saved messages",
|
||||||
|
"description": "Name of self topic for UI",
|
||||||
"missing": false,
|
"missing": false,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1664,11 +1664,15 @@
|
|||||||
},
|
},
|
||||||
"self_topic_comment": {
|
"self_topic_comment": {
|
||||||
"translation": "",
|
"translation": "",
|
||||||
|
"defaultMessage": "Notes, messages, links, files saved for posterity",
|
||||||
|
"description": "Comment for self topic for UI",
|
||||||
"missing": true,
|
"missing": true,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
},
|
},
|
||||||
"self_topic_name": {
|
"self_topic_name": {
|
||||||
"translation": "",
|
"translation": "",
|
||||||
|
"defaultMessage": "Saved messages",
|
||||||
|
"description": "Name of self topic for UI",
|
||||||
"missing": true,
|
"missing": true,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -849,8 +849,12 @@
|
|||||||
"description": "Placeholder for the country selector"
|
"description": "Placeholder for the country selector"
|
||||||
},
|
},
|
||||||
"self_topic_comment": {
|
"self_topic_comment": {
|
||||||
|
"defaultMessage": "Notes, messages, links, files saved for posterity",
|
||||||
|
"description": "Comment for self topic for UI"
|
||||||
},
|
},
|
||||||
"self_topic_name": {
|
"self_topic_name": {
|
||||||
|
"defaultMessage": "Saved messages",
|
||||||
|
"description": "Name of self topic for UI"
|
||||||
},
|
},
|
||||||
"sidepanel_title_acc_notifications": {
|
"sidepanel_title_acc_notifications": {
|
||||||
"defaultMessage": "Notifications",
|
"defaultMessage": "Notifications",
|
||||||
|
|||||||
@@ -1664,11 +1664,15 @@
|
|||||||
},
|
},
|
||||||
"self_topic_comment": {
|
"self_topic_comment": {
|
||||||
"translation": "",
|
"translation": "",
|
||||||
|
"defaultMessage": "Notes, messages, links, files saved for posterity",
|
||||||
|
"description": "Comment for self topic for UI",
|
||||||
"missing": true,
|
"missing": true,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
},
|
},
|
||||||
"self_topic_name": {
|
"self_topic_name": {
|
||||||
"translation": "",
|
"translation": "",
|
||||||
|
"defaultMessage": "Saved messages",
|
||||||
|
"description": "Name of self topic for UI",
|
||||||
"missing": true,
|
"missing": true,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1664,11 +1664,15 @@
|
|||||||
},
|
},
|
||||||
"self_topic_comment": {
|
"self_topic_comment": {
|
||||||
"translation": "",
|
"translation": "",
|
||||||
|
"defaultMessage": "Notes, messages, links, files saved for posterity",
|
||||||
|
"description": "Comment for self topic for UI",
|
||||||
"missing": true,
|
"missing": true,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
},
|
},
|
||||||
"self_topic_name": {
|
"self_topic_name": {
|
||||||
"translation": "",
|
"translation": "",
|
||||||
|
"defaultMessage": "Saved messages",
|
||||||
|
"description": "Name of self topic for UI",
|
||||||
"missing": true,
|
"missing": true,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1664,11 +1664,15 @@
|
|||||||
},
|
},
|
||||||
"self_topic_comment": {
|
"self_topic_comment": {
|
||||||
"translation": "",
|
"translation": "",
|
||||||
|
"defaultMessage": "Notes, messages, links, files saved for posterity",
|
||||||
|
"description": "Comment for self topic for UI",
|
||||||
"missing": true,
|
"missing": true,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
},
|
},
|
||||||
"self_topic_name": {
|
"self_topic_name": {
|
||||||
"translation": "",
|
"translation": "",
|
||||||
|
"defaultMessage": "Saved messages",
|
||||||
|
"description": "Name of self topic for UI",
|
||||||
"missing": true,
|
"missing": true,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1664,11 +1664,15 @@
|
|||||||
},
|
},
|
||||||
"self_topic_comment": {
|
"self_topic_comment": {
|
||||||
"translation": "",
|
"translation": "",
|
||||||
|
"defaultMessage": "Notes, messages, links, files saved for posterity",
|
||||||
|
"description": "Comment for self topic for UI",
|
||||||
"missing": true,
|
"missing": true,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
},
|
},
|
||||||
"self_topic_name": {
|
"self_topic_name": {
|
||||||
"translation": "",
|
"translation": "",
|
||||||
|
"defaultMessage": "Saved messages",
|
||||||
|
"description": "Name of self topic for UI",
|
||||||
"missing": true,
|
"missing": true,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1664,11 +1664,15 @@
|
|||||||
},
|
},
|
||||||
"self_topic_comment": {
|
"self_topic_comment": {
|
||||||
"translation": "",
|
"translation": "",
|
||||||
|
"defaultMessage": "Notes, messages, links, files saved for posterity",
|
||||||
|
"description": "Comment for self topic for UI",
|
||||||
"missing": true,
|
"missing": true,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
},
|
},
|
||||||
"self_topic_name": {
|
"self_topic_name": {
|
||||||
"translation": "",
|
"translation": "",
|
||||||
|
"defaultMessage": "Saved messages",
|
||||||
|
"description": "Name of self topic for UI",
|
||||||
"missing": true,
|
"missing": true,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1664,11 +1664,15 @@
|
|||||||
},
|
},
|
||||||
"self_topic_comment": {
|
"self_topic_comment": {
|
||||||
"translation": "",
|
"translation": "",
|
||||||
|
"defaultMessage": "Notes, messages, links, files saved for posterity",
|
||||||
|
"description": "Comment for self topic for UI",
|
||||||
"missing": true,
|
"missing": true,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
},
|
},
|
||||||
"self_topic_name": {
|
"self_topic_name": {
|
||||||
"translation": "",
|
"translation": "",
|
||||||
|
"defaultMessage": "Saved messages",
|
||||||
|
"description": "Name of self topic for UI",
|
||||||
"missing": true,
|
"missing": true,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1664,11 +1664,15 @@
|
|||||||
},
|
},
|
||||||
"self_topic_comment": {
|
"self_topic_comment": {
|
||||||
"translation": "",
|
"translation": "",
|
||||||
|
"defaultMessage": "Notes, messages, links, files saved for posterity",
|
||||||
|
"description": "Comment for self topic for UI",
|
||||||
"missing": true,
|
"missing": true,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
},
|
},
|
||||||
"self_topic_name": {
|
"self_topic_name": {
|
||||||
"translation": "",
|
"translation": "",
|
||||||
|
"defaultMessage": "Saved messages",
|
||||||
|
"description": "Name of self topic for UI",
|
||||||
"missing": true,
|
"missing": true,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1664,11 +1664,15 @@
|
|||||||
},
|
},
|
||||||
"self_topic_comment": {
|
"self_topic_comment": {
|
||||||
"translation": "",
|
"translation": "",
|
||||||
|
"defaultMessage": "Notes, messages, links, files saved for posterity",
|
||||||
|
"description": "Comment for self topic for UI",
|
||||||
"missing": true,
|
"missing": true,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
},
|
},
|
||||||
"self_topic_name": {
|
"self_topic_name": {
|
||||||
"translation": "",
|
"translation": "",
|
||||||
|
"defaultMessage": "Saved messages",
|
||||||
|
"description": "Name of self topic for UI",
|
||||||
"missing": true,
|
"missing": true,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
},
|
},
|
||||||
|
|||||||
+13
-3
@@ -87,7 +87,17 @@ const messages = defineMessages({
|
|||||||
id: 'text_copied',
|
id: 'text_copied',
|
||||||
defaultMessage: 'Copied to clipboard',
|
defaultMessage: 'Copied to clipboard',
|
||||||
description: 'Notification that text has been copied to clipboard'
|
description: 'Notification that text has been copied to clipboard'
|
||||||
}
|
},
|
||||||
|
self_topic_name: {
|
||||||
|
id: 'self_topic_name',
|
||||||
|
defaultMessage: 'Saved messages',
|
||||||
|
description: 'Name of self topic for UI',
|
||||||
|
},
|
||||||
|
self_topic_comment: {
|
||||||
|
id: 'self_topic_comment',
|
||||||
|
defaultMessage: 'Notes, messages, links, files saved for posterity',
|
||||||
|
description: 'Comment for self topic for UI',
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
class InfoView extends React.Component {
|
class InfoView extends React.Component {
|
||||||
@@ -220,10 +230,10 @@ class InfoView extends React.Component {
|
|||||||
muted: acs && acs.isMuted(),
|
muted: acs && acs.isMuted(),
|
||||||
|
|
||||||
fullName: isSelf ?
|
fullName: isSelf ?
|
||||||
props.intl.formatMessage({id: 'self_topic_name'}) :
|
props.intl.formatMessage(messages.self_topic_name) :
|
||||||
clipStr(topic.public && topic.public.fn, MAX_TITLE_LENGTH),
|
clipStr(topic.public && topic.public.fn, MAX_TITLE_LENGTH),
|
||||||
description: isSelf ?
|
description: isSelf ?
|
||||||
props.intl.formatMessage({id: 'self_topic_comment'}) :
|
props.intl.formatMessage(messages.self_topic_comment) :
|
||||||
clipStr(topic.public && topic.public.note, MAX_TOPIC_DESCRIPTION_LENGTH),
|
clipStr(topic.public && topic.public.note, MAX_TOPIC_DESCRIPTION_LENGTH),
|
||||||
avatar: makeImageUrl(topic.public ? topic.public.photo : null),
|
avatar: makeImageUrl(topic.public ? topic.public.photo : null),
|
||||||
trustedBadges: badges,
|
trustedBadges: badges,
|
||||||
|
|||||||
@@ -77,6 +77,11 @@ const messages = defineMessages({
|
|||||||
defaultMessage: 'Drag file here',
|
defaultMessage: 'Drag file here',
|
||||||
description: 'Prompt on the file drag-n-drop overlay banner'
|
description: 'Prompt on the file drag-n-drop overlay banner'
|
||||||
},
|
},
|
||||||
|
self_topic_name: {
|
||||||
|
id: 'self_topic_name',
|
||||||
|
defaultMessage: 'Saved messages',
|
||||||
|
description: 'Name of self topic for UI'
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
// Checks if the access permissions are granted but not yet accepted.
|
// Checks if the access permissions are granted but not yet accepted.
|
||||||
@@ -380,9 +385,7 @@ class MessagesView extends React.Component {
|
|||||||
|
|
||||||
if (topic.isSelfType()) {
|
if (topic.isSelfType()) {
|
||||||
Object.assign(nextState, {
|
Object.assign(nextState, {
|
||||||
title: nextProps.intl.formatMessage({
|
title: nextProps.intl.formatMessage(messages.self_topic_name),
|
||||||
id: 'self_topic_name'
|
|
||||||
}),
|
|
||||||
avatar: true
|
avatar: true
|
||||||
});
|
});
|
||||||
} else if (topic.public) {
|
} else if (topic.public) {
|
||||||
@@ -639,9 +642,7 @@ class MessagesView extends React.Component {
|
|||||||
handleDescChange(desc) {
|
handleDescChange(desc) {
|
||||||
if (Tinode.isSelfTopicName(this.props.topic)) {
|
if (Tinode.isSelfTopicName(this.props.topic)) {
|
||||||
this.setState({
|
this.setState({
|
||||||
title: this.props.intl.formatMessage({
|
title: this.props.intl.formatMessage(messages.self_topic_name),
|
||||||
id: 'self_topic_name'
|
|
||||||
}),
|
|
||||||
avatar: true
|
avatar: true
|
||||||
});
|
});
|
||||||
} else if (desc.public) {
|
} else if (desc.public) {
|
||||||
|
|||||||
@@ -26,6 +26,16 @@ const messages = defineMessages({
|
|||||||
defaultMessage: '(already taken)',
|
defaultMessage: '(already taken)',
|
||||||
description: 'Error message for alias already taken'
|
description: 'Error message for alias already taken'
|
||||||
},
|
},
|
||||||
|
self_topic_name: {
|
||||||
|
id: 'self_topic_name',
|
||||||
|
defaultMessage: 'Saved messages',
|
||||||
|
description: 'Name of self topic for UI'
|
||||||
|
},
|
||||||
|
self_topic_comment: {
|
||||||
|
id: 'self_topic_comment',
|
||||||
|
defaultMessage: 'Notes, messages, links, files saved for posterity',
|
||||||
|
description: 'Comment for self topic for UI'
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
const ALIAS_REGEX = /^[a-z0-9_\-]{4,24}$/;
|
const ALIAS_REGEX = /^[a-z0-9_\-]{4,24}$/;
|
||||||
@@ -43,10 +53,10 @@ class TopicDescEdit extends React.Component {
|
|||||||
isSelf: isSelf,
|
isSelf: isSelf,
|
||||||
owner: acs && acs.isOwner(),
|
owner: acs && acs.isOwner(),
|
||||||
fullName: topic.public ? topic.public.fn :
|
fullName: topic.public ? topic.public.fn :
|
||||||
isSelf ? this.props.intl.formatMessage({id: 'self_topic_name'}) : null,
|
isSelf ? this.props.intl.formatMessage(messages.self_topic_name) : null,
|
||||||
private: topic.private ? topic.private.comment : null,
|
private: topic.private ? topic.private.comment : null,
|
||||||
description: topic.public ? topic.public.note :
|
description: topic.public ? topic.public.note :
|
||||||
isSelf ? this.props.intl.formatMessage({id: 'self_topic_comment'}) : null,
|
isSelf ? this.props.intl.formatMessage(messages.self_topic_comment) : null,
|
||||||
avatar: makeImageUrl(topic.public ? topic.public.photo : null),
|
avatar: makeImageUrl(topic.public ? topic.public.photo : null),
|
||||||
tags: topic.tags() || [],
|
tags: topic.tags() || [],
|
||||||
newAvatar: null,
|
newAvatar: null,
|
||||||
|
|||||||
+41
-18
@@ -9127,6 +9127,20 @@ const messages = (0,react_intl__WEBPACK_IMPORTED_MODULE_1__.defineMessages)({
|
|||||||
"type": 0,
|
"type": 0,
|
||||||
"value": "Copied to clipboard"
|
"value": "Copied to clipboard"
|
||||||
}]
|
}]
|
||||||
|
},
|
||||||
|
self_topic_name: {
|
||||||
|
id: "self_topic_name",
|
||||||
|
defaultMessage: [{
|
||||||
|
"type": 0,
|
||||||
|
"value": "Saved messages"
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
self_topic_comment: {
|
||||||
|
id: "self_topic_comment",
|
||||||
|
defaultMessage: [{
|
||||||
|
"type": 0,
|
||||||
|
"value": "Notes, messages, links, files saved for posterity"
|
||||||
|
}]
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
class InfoView extends (react__WEBPACK_IMPORTED_MODULE_0___default().Component) {
|
class InfoView extends (react__WEBPACK_IMPORTED_MODULE_0___default().Component) {
|
||||||
@@ -9247,12 +9261,8 @@ class InfoView extends (react__WEBPACK_IMPORTED_MODULE_0___default().Component)
|
|||||||
sharer: acs && acs.isSharer(),
|
sharer: acs && acs.isSharer(),
|
||||||
deleter: acs && acs.isDeleter(),
|
deleter: acs && acs.isDeleter(),
|
||||||
muted: acs && acs.isMuted(),
|
muted: acs && acs.isMuted(),
|
||||||
fullName: isSelf ? props.intl.formatMessage({
|
fullName: isSelf ? props.intl.formatMessage(messages.self_topic_name) : (0,_lib_utils_js__WEBPACK_IMPORTED_MODULE_16__.clipStr)(topic.public && topic.public.fn, _config_js__WEBPACK_IMPORTED_MODULE_14__.MAX_TITLE_LENGTH),
|
||||||
id: "self_topic_name"
|
description: isSelf ? props.intl.formatMessage(messages.self_topic_comment) : (0,_lib_utils_js__WEBPACK_IMPORTED_MODULE_16__.clipStr)(topic.public && topic.public.note, _config_js__WEBPACK_IMPORTED_MODULE_14__.MAX_TOPIC_DESCRIPTION_LENGTH),
|
||||||
}) : (0,_lib_utils_js__WEBPACK_IMPORTED_MODULE_16__.clipStr)(topic.public && topic.public.fn, _config_js__WEBPACK_IMPORTED_MODULE_14__.MAX_TITLE_LENGTH),
|
|
||||||
description: isSelf ? props.intl.formatMessage({
|
|
||||||
id: "self_topic_comment"
|
|
||||||
}) : (0,_lib_utils_js__WEBPACK_IMPORTED_MODULE_16__.clipStr)(topic.public && topic.public.note, _config_js__WEBPACK_IMPORTED_MODULE_14__.MAX_TOPIC_DESCRIPTION_LENGTH),
|
|
||||||
avatar: (0,_lib_blob_helpers_js__WEBPACK_IMPORTED_MODULE_15__.makeImageUrl)(topic.public ? topic.public.photo : null),
|
avatar: (0,_lib_blob_helpers_js__WEBPACK_IMPORTED_MODULE_15__.makeImageUrl)(topic.public ? topic.public.photo : null),
|
||||||
trustedBadges: badges,
|
trustedBadges: badges,
|
||||||
private: (0,_lib_utils_js__WEBPACK_IMPORTED_MODULE_16__.clipStr)(topic.private && topic.private.comment, _config_js__WEBPACK_IMPORTED_MODULE_14__.MAX_TITLE_LENGTH),
|
private: (0,_lib_utils_js__WEBPACK_IMPORTED_MODULE_16__.clipStr)(topic.private && topic.private.comment, _config_js__WEBPACK_IMPORTED_MODULE_14__.MAX_TITLE_LENGTH),
|
||||||
@@ -10100,6 +10110,13 @@ const messages = (0,react_intl__WEBPACK_IMPORTED_MODULE_1__.defineMessages)({
|
|||||||
"type": 0,
|
"type": 0,
|
||||||
"value": "Drag file here"
|
"value": "Drag file here"
|
||||||
}]
|
}]
|
||||||
|
},
|
||||||
|
self_topic_name: {
|
||||||
|
id: "self_topic_name",
|
||||||
|
defaultMessage: [{
|
||||||
|
"type": 0,
|
||||||
|
"value": "Saved messages"
|
||||||
|
}]
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
function isUnconfirmed(acs) {
|
function isUnconfirmed(acs) {
|
||||||
@@ -10356,9 +10373,7 @@ class MessagesView extends (react__WEBPACK_IMPORTED_MODULE_0___default().Compone
|
|||||||
});
|
});
|
||||||
if (topic.isSelfType()) {
|
if (topic.isSelfType()) {
|
||||||
Object.assign(nextState, {
|
Object.assign(nextState, {
|
||||||
title: nextProps.intl.formatMessage({
|
title: nextProps.intl.formatMessage(messages.self_topic_name),
|
||||||
id: "self_topic_name"
|
|
||||||
}),
|
|
||||||
avatar: true
|
avatar: true
|
||||||
});
|
});
|
||||||
} else if (topic.public) {
|
} else if (topic.public) {
|
||||||
@@ -10588,9 +10603,7 @@ class MessagesView extends (react__WEBPACK_IMPORTED_MODULE_0___default().Compone
|
|||||||
handleDescChange(desc) {
|
handleDescChange(desc) {
|
||||||
if (tinode_sdk__WEBPACK_IMPORTED_MODULE_2__.Tinode.isSelfTopicName(this.props.topic)) {
|
if (tinode_sdk__WEBPACK_IMPORTED_MODULE_2__.Tinode.isSelfTopicName(this.props.topic)) {
|
||||||
this.setState({
|
this.setState({
|
||||||
title: this.props.intl.formatMessage({
|
title: this.props.intl.formatMessage(messages.self_topic_name),
|
||||||
id: "self_topic_name"
|
|
||||||
}),
|
|
||||||
avatar: true
|
avatar: true
|
||||||
});
|
});
|
||||||
} else if (desc.public) {
|
} else if (desc.public) {
|
||||||
@@ -21065,6 +21078,20 @@ const messages = (0,react_intl__WEBPACK_IMPORTED_MODULE_1__.defineMessages)({
|
|||||||
"type": 0,
|
"type": 0,
|
||||||
"value": "(already taken)"
|
"value": "(already taken)"
|
||||||
}]
|
}]
|
||||||
|
},
|
||||||
|
self_topic_name: {
|
||||||
|
id: "self_topic_name",
|
||||||
|
defaultMessage: [{
|
||||||
|
"type": 0,
|
||||||
|
"value": "Saved messages"
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
self_topic_comment: {
|
||||||
|
id: "self_topic_comment",
|
||||||
|
defaultMessage: [{
|
||||||
|
"type": 0,
|
||||||
|
"value": "Notes, messages, links, files saved for posterity"
|
||||||
|
}]
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
const ALIAS_REGEX = /^[a-z0-9_\-]{4,24}$/;
|
const ALIAS_REGEX = /^[a-z0-9_\-]{4,24}$/;
|
||||||
@@ -21079,13 +21106,9 @@ class TopicDescEdit extends (react__WEBPACK_IMPORTED_MODULE_0___default().Compon
|
|||||||
isMe: tinode_sdk__WEBPACK_IMPORTED_MODULE_2__.Tinode.isMeTopicName(this.props.topic),
|
isMe: tinode_sdk__WEBPACK_IMPORTED_MODULE_2__.Tinode.isMeTopicName(this.props.topic),
|
||||||
isSelf: isSelf,
|
isSelf: isSelf,
|
||||||
owner: acs && acs.isOwner(),
|
owner: acs && acs.isOwner(),
|
||||||
fullName: topic.public ? topic.public.fn : isSelf ? this.props.intl.formatMessage({
|
fullName: topic.public ? topic.public.fn : isSelf ? this.props.intl.formatMessage(messages.self_topic_name) : null,
|
||||||
id: "self_topic_name"
|
|
||||||
}) : null,
|
|
||||||
private: topic.private ? topic.private.comment : null,
|
private: topic.private ? topic.private.comment : null,
|
||||||
description: topic.public ? topic.public.note : isSelf ? this.props.intl.formatMessage({
|
description: topic.public ? topic.public.note : isSelf ? this.props.intl.formatMessage(messages.self_topic_comment) : null,
|
||||||
id: "self_topic_comment"
|
|
||||||
}) : null,
|
|
||||||
avatar: (0,_lib_blob_helpers_js__WEBPACK_IMPORTED_MODULE_8__.makeImageUrl)(topic.public ? topic.public.photo : null),
|
avatar: (0,_lib_blob_helpers_js__WEBPACK_IMPORTED_MODULE_8__.makeImageUrl)(topic.public ? topic.public.photo : null),
|
||||||
tags: topic.tags() || [],
|
tags: topic.tags() || [],
|
||||||
newAvatar: null,
|
newAvatar: null,
|
||||||
|
|||||||
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
Reference in New Issue
Block a user