support for showing the number of subscribers
This commit is contained in:
+36
-1
@@ -615,7 +615,7 @@
|
|||||||
},
|
},
|
||||||
"last_seen_timestamp": {
|
"last_seen_timestamp": {
|
||||||
"translation": "آخر ظهور",
|
"translation": "آخر ظهور",
|
||||||
"defaultMessage": "Last seen",
|
"defaultMessage": "Last seen: {timestamp}",
|
||||||
"description": "Label for the timestamp of when the user or topic was last online",
|
"description": "Label for the timestamp of when the user or topic was last online",
|
||||||
"missing": false,
|
"missing": false,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
@@ -1836,5 +1836,40 @@
|
|||||||
"description": "Menu item [Unpin] for un-pinning the chat.",
|
"description": "Menu item [Unpin] for un-pinning the chat.",
|
||||||
"missing": true,
|
"missing": true,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"subscriber_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "{count, plural, one {{count, number} subscriber} two {{count, number} subscribers} three {{count, number} subscribers} few {{count, number} subscribers} many {{count, number} subscribers} other {{count, number} subscribers}}",
|
||||||
|
"description": "Count of channel subscribers",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"subscriber_count_channel": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "{count, plural, one {{count, number} subscriber} two {{count, number} subscribers} three {{count, number} subscribers} few {{count, number} subscribers} many {{count, number} subscribers} other {{count, number} subscribers}}",
|
||||||
|
"description": "Count of channel subscribers",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": true
|
||||||
|
},
|
||||||
|
"label_member_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "Members:",
|
||||||
|
"description": "Label for the count of group topic members",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"label_subscriber_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "Subscribers:",
|
||||||
|
"description": "Label for the count of channel subscribers",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"member_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "{count, plural, one {{count, number} member} two {{count, number} members} three {{count, number} members} few {{count, number} members} many {{count, number} members} other {{count, number} members}}",
|
||||||
|
"description": "Count of group topic members",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+36
-1
@@ -615,7 +615,7 @@
|
|||||||
},
|
},
|
||||||
"last_seen_timestamp": {
|
"last_seen_timestamp": {
|
||||||
"translation": "Zuletzt gesehen",
|
"translation": "Zuletzt gesehen",
|
||||||
"defaultMessage": "Last seen",
|
"defaultMessage": "Last seen: {timestamp}",
|
||||||
"description": "Label for the timestamp of when the user or topic was last online",
|
"description": "Label for the timestamp of when the user or topic was last online",
|
||||||
"missing": false,
|
"missing": false,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
@@ -1836,5 +1836,40 @@
|
|||||||
"description": "Menu item [Unpin] for un-pinning the chat.",
|
"description": "Menu item [Unpin] for un-pinning the chat.",
|
||||||
"missing": true,
|
"missing": true,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"subscriber_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "{count, plural, one {{count, number} subscriber} two {{count, number} subscribers} three {{count, number} subscribers} few {{count, number} subscribers} many {{count, number} subscribers} other {{count, number} subscribers}}",
|
||||||
|
"description": "Count of channel subscribers",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"subscriber_count_channel": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "{count, plural, one {{count, number} subscriber} two {{count, number} subscribers} three {{count, number} subscribers} few {{count, number} subscribers} many {{count, number} subscribers} other {{count, number} subscribers}}",
|
||||||
|
"description": "Count of channel subscribers",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": true
|
||||||
|
},
|
||||||
|
"label_member_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "Members:",
|
||||||
|
"description": "Label for the count of group topic members",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"label_subscriber_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "Subscribers:",
|
||||||
|
"description": "Label for the count of channel subscribers",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"member_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "{count, plural, one {{count, number} member} two {{count, number} members} three {{count, number} members} few {{count, number} members} many {{count, number} members} other {{count, number} members}}",
|
||||||
|
"description": "Count of group topic members",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+36
-1
@@ -615,7 +615,7 @@
|
|||||||
},
|
},
|
||||||
"last_seen_timestamp": {
|
"last_seen_timestamp": {
|
||||||
"translation": "Last seen",
|
"translation": "Last seen",
|
||||||
"defaultMessage": "Last seen",
|
"defaultMessage": "Last seen: {timestamp}",
|
||||||
"description": "Label for the timestamp of when the user or topic was last online",
|
"description": "Label for the timestamp of when the user or topic was last online",
|
||||||
"missing": false,
|
"missing": false,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
@@ -1836,5 +1836,40 @@
|
|||||||
"description": "Menu item [Unpin] for un-pinning the chat.",
|
"description": "Menu item [Unpin] for un-pinning the chat.",
|
||||||
"missing": false,
|
"missing": false,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"subscriber_count": {
|
||||||
|
"translation": "{count, plural, one {{count, number} member} two {count, number} members} three {{count, number} members} few {{count, number} members} many {{count, number} members} other {{count, number} members}",
|
||||||
|
"defaultMessage": "{count, plural, one {{count, number} subscriber} two {{count, number} subscribers} three {{count, number} subscribers} few {{count, number} subscribers} many {{count, number} subscribers} other {{count, number} subscribers}}",
|
||||||
|
"description": "Count of channel subscribers",
|
||||||
|
"missing": false,
|
||||||
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"subscriber_count_channel": {
|
||||||
|
"translation": "{count, plural, one {{count, number} subscriber} two {count, number} subscribers} three {{count, number} subscribers} few {{count, number} subscribers} many {{count, number} subscribers} other {{count, number} subscribers}",
|
||||||
|
"defaultMessage": "{count, plural, one {{count, number} subscriber} two {{count, number} subscribers} three {{count, number} subscribers} few {{count, number} subscribers} many {{count, number} subscribers} other {{count, number} subscribers}}",
|
||||||
|
"description": "Count of channel subscribers",
|
||||||
|
"missing": false,
|
||||||
|
"obsolete": true
|
||||||
|
},
|
||||||
|
"label_member_count": {
|
||||||
|
"translation": "Members:",
|
||||||
|
"defaultMessage": "Members:",
|
||||||
|
"description": "Label for the count of group topic members",
|
||||||
|
"missing": false,
|
||||||
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"label_subscriber_count": {
|
||||||
|
"translation": "Subscribers:",
|
||||||
|
"defaultMessage": "Subscribers:",
|
||||||
|
"description": "Label for the count of channel subscribers",
|
||||||
|
"missing": false,
|
||||||
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"member_count": {
|
||||||
|
"translation": "{count, plural, one {{count, number} member} two {{count, number} members} three {{count, number} members} few {{count, number} members} many {{count, number} members} other {{count, number} members}}",
|
||||||
|
"defaultMessage": "{count, plural, one {{count, number} member} two {{count, number} members} three {{count, number} members} few {{count, number} members} many {{count, number} members} other {{count, number} members}}",
|
||||||
|
"description": "Count of group topic members",
|
||||||
|
"missing": false,
|
||||||
|
"obsolete": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+36
-1
@@ -615,7 +615,7 @@
|
|||||||
},
|
},
|
||||||
"last_seen_timestamp": {
|
"last_seen_timestamp": {
|
||||||
"translation": "Últ. vez",
|
"translation": "Últ. vez",
|
||||||
"defaultMessage": "Last seen",
|
"defaultMessage": "Last seen: {timestamp}",
|
||||||
"description": "Label for the timestamp of when the user or topic was last online",
|
"description": "Label for the timestamp of when the user or topic was last online",
|
||||||
"missing": false,
|
"missing": false,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
@@ -1836,5 +1836,40 @@
|
|||||||
"description": "Menu item [Unpin] for un-pinning the chat.",
|
"description": "Menu item [Unpin] for un-pinning the chat.",
|
||||||
"missing": true,
|
"missing": true,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"subscriber_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "{count, plural, one {{count, number} subscriber} two {{count, number} subscribers} three {{count, number} subscribers} few {{count, number} subscribers} many {{count, number} subscribers} other {{count, number} subscribers}}",
|
||||||
|
"description": "Count of channel subscribers",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"subscriber_count_channel": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "{count, plural, one {{count, number} subscriber} two {{count, number} subscribers} three {{count, number} subscribers} few {{count, number} subscribers} many {{count, number} subscribers} other {{count, number} subscribers}}",
|
||||||
|
"description": "Count of channel subscribers",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": true
|
||||||
|
},
|
||||||
|
"label_member_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "Members:",
|
||||||
|
"description": "Label for the count of group topic members",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"label_subscriber_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "Subscribers:",
|
||||||
|
"description": "Label for the count of channel subscribers",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"member_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "{count, plural, one {{count, number} member} two {{count, number} members} three {{count, number} members} few {{count, number} members} many {{count, number} members} other {{count, number} members}}",
|
||||||
|
"description": "Count of group topic members",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -442,6 +442,10 @@
|
|||||||
"defaultMessage": "Keyboard:",
|
"defaultMessage": "Keyboard:",
|
||||||
"description": "Label for send on enter settings"
|
"description": "Label for send on enter settings"
|
||||||
},
|
},
|
||||||
|
"label_member_count": {
|
||||||
|
"defaultMessage": "Members:",
|
||||||
|
"description": "Label for the count of group topic members"
|
||||||
|
},
|
||||||
"label_message_sound": {
|
"label_message_sound": {
|
||||||
"defaultMessage": "Message sound:",
|
"defaultMessage": "Message sound:",
|
||||||
"description": "Label for message sounds toggle"
|
"description": "Label for message sounds toggle"
|
||||||
@@ -504,6 +508,10 @@
|
|||||||
"defaultMessage": "Size:",
|
"defaultMessage": "Size:",
|
||||||
"description": "Label for file size"
|
"description": "Label for file size"
|
||||||
},
|
},
|
||||||
|
"label_subscriber_count": {
|
||||||
|
"defaultMessage": "Subscribers:",
|
||||||
|
"description": "Label for the count of channel subscribers"
|
||||||
|
},
|
||||||
"label_text_size": {
|
"label_text_size": {
|
||||||
"defaultMessage": "Text size:",
|
"defaultMessage": "Text size:",
|
||||||
"description": "Label adjusting text size"
|
"description": "Label adjusting text size"
|
||||||
@@ -545,7 +553,7 @@
|
|||||||
"description": "Label for current user permissions"
|
"description": "Label for current user permissions"
|
||||||
},
|
},
|
||||||
"last_seen_timestamp": {
|
"last_seen_timestamp": {
|
||||||
"defaultMessage": "Last seen",
|
"defaultMessage": "Last seen: {timestamp}",
|
||||||
"description": "Label for the timestamp of when the user or topic was last online"
|
"description": "Label for the timestamp of when the user or topic was last online"
|
||||||
},
|
},
|
||||||
"leave_chat_warning": {
|
"leave_chat_warning": {
|
||||||
@@ -572,6 +580,10 @@
|
|||||||
"defaultMessage": "Login",
|
"defaultMessage": "Login",
|
||||||
"description": "Placeholer for username/login"
|
"description": "Placeholer for username/login"
|
||||||
},
|
},
|
||||||
|
"member_count": {
|
||||||
|
"defaultMessage": "{count, plural, one {{count, number} member} two {{count, number} members} three {{count, number} members} few {{count, number} members} many {{count, number} members} other {{count, number} members}}",
|
||||||
|
"description": "Count of group topic members"
|
||||||
|
},
|
||||||
"menu_item_archive_topic": {
|
"menu_item_archive_topic": {
|
||||||
"defaultMessage": "Archive",
|
"defaultMessage": "Archive",
|
||||||
"description": "Move topic from the list of active chats to archive"
|
"description": "Move topic from the list of active chats to archive"
|
||||||
@@ -956,6 +968,10 @@
|
|||||||
"defaultMessage": "Stay logged in",
|
"defaultMessage": "Stay logged in",
|
||||||
"description": "Label for a checkbox"
|
"description": "Label for a checkbox"
|
||||||
},
|
},
|
||||||
|
"subscriber_count": {
|
||||||
|
"defaultMessage": "{count, plural, one {{count, number} subscriber} two {{count, number} subscribers} three {{count, number} subscribers} few {{count, number} subscribers} many {{count, number} subscribers} other {{count, number} subscribers}}",
|
||||||
|
"description": "Count of channel subscribers"
|
||||||
|
},
|
||||||
"tabtitle_find_user": {
|
"tabtitle_find_user": {
|
||||||
"defaultMessage": "find",
|
"defaultMessage": "find",
|
||||||
"description": "Tab title Find"
|
"description": "Tab title Find"
|
||||||
|
|||||||
+36
-1
@@ -615,7 +615,7 @@
|
|||||||
},
|
},
|
||||||
"last_seen_timestamp": {
|
"last_seen_timestamp": {
|
||||||
"translation": "Vu pour la dernière fois",
|
"translation": "Vu pour la dernière fois",
|
||||||
"defaultMessage": "Last seen",
|
"defaultMessage": "Last seen: {timestamp}",
|
||||||
"description": "Label for the timestamp of when the user or topic was last online",
|
"description": "Label for the timestamp of when the user or topic was last online",
|
||||||
"missing": false,
|
"missing": false,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
@@ -1836,5 +1836,40 @@
|
|||||||
"description": "Menu item [Unpin] for un-pinning the chat.",
|
"description": "Menu item [Unpin] for un-pinning the chat.",
|
||||||
"missing": true,
|
"missing": true,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"subscriber_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "{count, plural, one {{count, number} subscriber} two {{count, number} subscribers} three {{count, number} subscribers} few {{count, number} subscribers} many {{count, number} subscribers} other {{count, number} subscribers}}",
|
||||||
|
"description": "Count of channel subscribers",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"subscriber_count_channel": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "{count, plural, one {{count, number} subscriber} two {{count, number} subscribers} three {{count, number} subscribers} few {{count, number} subscribers} many {{count, number} subscribers} other {{count, number} subscribers}}",
|
||||||
|
"description": "Count of channel subscribers",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": true
|
||||||
|
},
|
||||||
|
"label_member_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "Members:",
|
||||||
|
"description": "Label for the count of group topic members",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"label_subscriber_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "Subscribers:",
|
||||||
|
"description": "Label for the count of channel subscribers",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"member_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "{count, plural, one {{count, number} member} two {{count, number} members} three {{count, number} members} few {{count, number} members} many {{count, number} members} other {{count, number} members}}",
|
||||||
|
"description": "Count of group topic members",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+36
-1
@@ -615,7 +615,7 @@
|
|||||||
},
|
},
|
||||||
"last_seen_timestamp": {
|
"last_seen_timestamp": {
|
||||||
"translation": "Ultimo visto",
|
"translation": "Ultimo visto",
|
||||||
"defaultMessage": "Last seen",
|
"defaultMessage": "Last seen: {timestamp}",
|
||||||
"description": "Label for the timestamp of when the user or topic was last online",
|
"description": "Label for the timestamp of when the user or topic was last online",
|
||||||
"missing": false,
|
"missing": false,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
@@ -1836,5 +1836,40 @@
|
|||||||
"description": "Menu item [Unpin] for un-pinning the chat.",
|
"description": "Menu item [Unpin] for un-pinning the chat.",
|
||||||
"missing": true,
|
"missing": true,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"subscriber_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "{count, plural, one {{count, number} subscriber} two {{count, number} subscribers} three {{count, number} subscribers} few {{count, number} subscribers} many {{count, number} subscribers} other {{count, number} subscribers}}",
|
||||||
|
"description": "Count of channel subscribers",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"subscriber_count_channel": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "{count, plural, one {{count, number} subscriber} two {{count, number} subscribers} three {{count, number} subscribers} few {{count, number} subscribers} many {{count, number} subscribers} other {{count, number} subscribers}}",
|
||||||
|
"description": "Count of channel subscribers",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": true
|
||||||
|
},
|
||||||
|
"label_member_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "Members:",
|
||||||
|
"description": "Label for the count of group topic members",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"label_subscriber_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "Subscribers:",
|
||||||
|
"description": "Label for the count of channel subscribers",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"member_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "{count, plural, one {{count, number} member} two {{count, number} members} three {{count, number} members} few {{count, number} members} many {{count, number} members} other {{count, number} members}}",
|
||||||
|
"description": "Count of group topic members",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+36
-1
@@ -615,7 +615,7 @@
|
|||||||
},
|
},
|
||||||
"last_seen_timestamp": {
|
"last_seen_timestamp": {
|
||||||
"translation": "마지막으로본",
|
"translation": "마지막으로본",
|
||||||
"defaultMessage": "Last seen",
|
"defaultMessage": "Last seen: {timestamp}",
|
||||||
"description": "Label for the timestamp of when the user or topic was last online",
|
"description": "Label for the timestamp of when the user or topic was last online",
|
||||||
"missing": false,
|
"missing": false,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
@@ -1836,5 +1836,40 @@
|
|||||||
"description": "Menu item [Unpin] for un-pinning the chat.",
|
"description": "Menu item [Unpin] for un-pinning the chat.",
|
||||||
"missing": true,
|
"missing": true,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"subscriber_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "{count, plural, one {{count, number} subscriber} two {{count, number} subscribers} three {{count, number} subscribers} few {{count, number} subscribers} many {{count, number} subscribers} other {{count, number} subscribers}}",
|
||||||
|
"description": "Count of channel subscribers",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"subscriber_count_channel": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "{count, plural, one {{count, number} subscriber} two {{count, number} subscribers} three {{count, number} subscribers} few {{count, number} subscribers} many {{count, number} subscribers} other {{count, number} subscribers}}",
|
||||||
|
"description": "Count of channel subscribers",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": true
|
||||||
|
},
|
||||||
|
"label_member_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "Members:",
|
||||||
|
"description": "Label for the count of group topic members",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"label_subscriber_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "Subscribers:",
|
||||||
|
"description": "Label for the count of channel subscribers",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"member_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "{count, plural, one {{count, number} member} two {{count, number} members} three {{count, number} members} few {{count, number} members} many {{count, number} members} other {{count, number} members}}",
|
||||||
|
"description": "Count of group topic members",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+36
-1
@@ -615,7 +615,7 @@
|
|||||||
},
|
},
|
||||||
"last_seen_timestamp": {
|
"last_seen_timestamp": {
|
||||||
"translation": "Văzut ultima dată",
|
"translation": "Văzut ultima dată",
|
||||||
"defaultMessage": "Last seen",
|
"defaultMessage": "Last seen: {timestamp}",
|
||||||
"description": "Label for the timestamp of when the user or topic was last online",
|
"description": "Label for the timestamp of when the user or topic was last online",
|
||||||
"missing": false,
|
"missing": false,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
@@ -1836,5 +1836,40 @@
|
|||||||
"description": "Menu item [Unpin] for un-pinning the chat.",
|
"description": "Menu item [Unpin] for un-pinning the chat.",
|
||||||
"missing": true,
|
"missing": true,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"subscriber_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "{count, plural, one {{count, number} subscriber} two {{count, number} subscribers} three {{count, number} subscribers} few {{count, number} subscribers} many {{count, number} subscribers} other {{count, number} subscribers}}",
|
||||||
|
"description": "Count of channel subscribers",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"subscriber_count_channel": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "{count, plural, one {{count, number} subscriber} two {{count, number} subscribers} three {{count, number} subscribers} few {{count, number} subscribers} many {{count, number} subscribers} other {{count, number} subscribers}}",
|
||||||
|
"description": "Count of channel subscribers",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": true
|
||||||
|
},
|
||||||
|
"label_member_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "Members:",
|
||||||
|
"description": "Label for the count of group topic members",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"label_subscriber_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "Subscribers:",
|
||||||
|
"description": "Label for the count of channel subscribers",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"member_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "{count, plural, one {{count, number} member} two {{count, number} members} three {{count, number} members} few {{count, number} members} many {{count, number} members} other {{count, number} members}}",
|
||||||
|
"description": "Count of group topic members",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+36
-1
@@ -615,7 +615,7 @@
|
|||||||
},
|
},
|
||||||
"last_seen_timestamp": {
|
"last_seen_timestamp": {
|
||||||
"translation": "Был активен",
|
"translation": "Был активен",
|
||||||
"defaultMessage": "Last seen",
|
"defaultMessage": "Last seen: {timestamp}",
|
||||||
"description": "Label for the timestamp of when the user or topic was last online",
|
"description": "Label for the timestamp of when the user or topic was last online",
|
||||||
"missing": false,
|
"missing": false,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
@@ -1836,5 +1836,40 @@
|
|||||||
"description": "Menu item [Unpin] for un-pinning the chat.",
|
"description": "Menu item [Unpin] for un-pinning the chat.",
|
||||||
"missing": true,
|
"missing": true,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"subscriber_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "{count, plural, one {{count, number} subscriber} two {{count, number} subscribers} three {{count, number} subscribers} few {{count, number} subscribers} many {{count, number} subscribers} other {{count, number} subscribers}}",
|
||||||
|
"description": "Count of channel subscribers",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"subscriber_count_channel": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "{count, plural, one {{count, number} subscriber} two {{count, number} subscribers} three {{count, number} subscribers} few {{count, number} subscribers} many {{count, number} subscribers} other {{count, number} subscribers}}",
|
||||||
|
"description": "Count of channel subscribers",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": true
|
||||||
|
},
|
||||||
|
"label_member_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "Members:",
|
||||||
|
"description": "Label for the count of group topic members",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"label_subscriber_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "Subscribers:",
|
||||||
|
"description": "Label for the count of channel subscribers",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"member_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "{count, plural, one {{count, number} member} two {{count, number} members} three {{count, number} members} few {{count, number} members} many {{count, number} members} other {{count, number} members}}",
|
||||||
|
"description": "Count of group topic members",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+36
-1
@@ -615,7 +615,7 @@
|
|||||||
},
|
},
|
||||||
"last_seen_timestamp": {
|
"last_seen_timestamp": {
|
||||||
"translation": "ล่าสุดเมื่อ",
|
"translation": "ล่าสุดเมื่อ",
|
||||||
"defaultMessage": "Last seen",
|
"defaultMessage": "Last seen: {timestamp}",
|
||||||
"description": "Label for the timestamp of when the user or topic was last online",
|
"description": "Label for the timestamp of when the user or topic was last online",
|
||||||
"missing": false,
|
"missing": false,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
@@ -1836,5 +1836,40 @@
|
|||||||
"description": "Menu item [Unpin] for un-pinning the chat.",
|
"description": "Menu item [Unpin] for un-pinning the chat.",
|
||||||
"missing": true,
|
"missing": true,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"subscriber_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "{count, plural, one {{count, number} subscriber} two {{count, number} subscribers} three {{count, number} subscribers} few {{count, number} subscribers} many {{count, number} subscribers} other {{count, number} subscribers}}",
|
||||||
|
"description": "Count of channel subscribers",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"subscriber_count_channel": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "{count, plural, one {{count, number} subscriber} two {{count, number} subscribers} three {{count, number} subscribers} few {{count, number} subscribers} many {{count, number} subscribers} other {{count, number} subscribers}}",
|
||||||
|
"description": "Count of channel subscribers",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": true
|
||||||
|
},
|
||||||
|
"label_member_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "Members:",
|
||||||
|
"description": "Label for the count of group topic members",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"label_subscriber_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "Subscribers:",
|
||||||
|
"description": "Label for the count of channel subscribers",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"member_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "{count, plural, one {{count, number} member} two {{count, number} members} three {{count, number} members} few {{count, number} members} many {{count, number} members} other {{count, number} members}}",
|
||||||
|
"description": "Count of group topic members",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+36
-1
@@ -615,7 +615,7 @@
|
|||||||
},
|
},
|
||||||
"last_seen_timestamp": {
|
"last_seen_timestamp": {
|
||||||
"translation": "Був активний",
|
"translation": "Був активний",
|
||||||
"defaultMessage": "Last seen",
|
"defaultMessage": "Last seen: {timestamp}",
|
||||||
"description": "Label for the timestamp of when the user or topic was last online",
|
"description": "Label for the timestamp of when the user or topic was last online",
|
||||||
"missing": false,
|
"missing": false,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
@@ -1836,5 +1836,40 @@
|
|||||||
"description": "Menu item [Unpin] for un-pinning the chat.",
|
"description": "Menu item [Unpin] for un-pinning the chat.",
|
||||||
"missing": true,
|
"missing": true,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"subscriber_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "{count, plural, one {{count, number} subscriber} two {{count, number} subscribers} three {{count, number} subscribers} few {{count, number} subscribers} many {{count, number} subscribers} other {{count, number} subscribers}}",
|
||||||
|
"description": "Count of channel subscribers",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"subscriber_count_channel": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "{count, plural, one {{count, number} subscriber} two {{count, number} subscribers} three {{count, number} subscribers} few {{count, number} subscribers} many {{count, number} subscribers} other {{count, number} subscribers}}",
|
||||||
|
"description": "Count of channel subscribers",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": true
|
||||||
|
},
|
||||||
|
"label_member_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "Members:",
|
||||||
|
"description": "Label for the count of group topic members",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"label_subscriber_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "Subscribers:",
|
||||||
|
"description": "Label for the count of channel subscribers",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"member_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "{count, plural, one {{count, number} member} two {{count, number} members} three {{count, number} members} few {{count, number} members} many {{count, number} members} other {{count, number} members}}",
|
||||||
|
"description": "Count of group topic members",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+36
-1
@@ -615,7 +615,7 @@
|
|||||||
},
|
},
|
||||||
"last_seen_timestamp": {
|
"last_seen_timestamp": {
|
||||||
"translation": "最後上線",
|
"translation": "最後上線",
|
||||||
"defaultMessage": "Last seen",
|
"defaultMessage": "Last seen: {timestamp}",
|
||||||
"description": "Label for the timestamp of when the user or topic was last online",
|
"description": "Label for the timestamp of when the user or topic was last online",
|
||||||
"missing": false,
|
"missing": false,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
@@ -1836,5 +1836,40 @@
|
|||||||
"description": "Menu item [Unpin] for un-pinning the chat.",
|
"description": "Menu item [Unpin] for un-pinning the chat.",
|
||||||
"missing": true,
|
"missing": true,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"subscriber_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "{count, plural, one {{count, number} subscriber} two {{count, number} subscribers} three {{count, number} subscribers} few {{count, number} subscribers} many {{count, number} subscribers} other {{count, number} subscribers}}",
|
||||||
|
"description": "Count of channel subscribers",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"subscriber_count_channel": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "{count, plural, one {{count, number} subscriber} two {{count, number} subscribers} three {{count, number} subscribers} few {{count, number} subscribers} many {{count, number} subscribers} other {{count, number} subscribers}}",
|
||||||
|
"description": "Count of channel subscribers",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": true
|
||||||
|
},
|
||||||
|
"label_member_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "Members:",
|
||||||
|
"description": "Label for the count of group topic members",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"label_subscriber_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "Subscribers:",
|
||||||
|
"description": "Label for the count of channel subscribers",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"member_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "{count, plural, one {{count, number} member} two {{count, number} members} three {{count, number} members} few {{count, number} members} many {{count, number} members} other {{count, number} members}}",
|
||||||
|
"description": "Count of group topic members",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+36
-1
@@ -615,7 +615,7 @@
|
|||||||
},
|
},
|
||||||
"last_seen_timestamp": {
|
"last_seen_timestamp": {
|
||||||
"translation": "最后可见",
|
"translation": "最后可见",
|
||||||
"defaultMessage": "Last seen",
|
"defaultMessage": "Last seen: {timestamp}",
|
||||||
"description": "Label for the timestamp of when the user or topic was last online",
|
"description": "Label for the timestamp of when the user or topic was last online",
|
||||||
"missing": false,
|
"missing": false,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
@@ -1836,5 +1836,40 @@
|
|||||||
"description": "Menu item [Unpin] for un-pinning the chat.",
|
"description": "Menu item [Unpin] for un-pinning the chat.",
|
||||||
"missing": true,
|
"missing": true,
|
||||||
"obsolete": false
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"subscriber_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "{count, plural, one {{count, number} subscriber} two {{count, number} subscribers} three {{count, number} subscribers} few {{count, number} subscribers} many {{count, number} subscribers} other {{count, number} subscribers}}",
|
||||||
|
"description": "Count of channel subscribers",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"subscriber_count_channel": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "{count, plural, one {{count, number} subscriber} two {{count, number} subscribers} three {{count, number} subscribers} few {{count, number} subscribers} many {{count, number} subscribers} other {{count, number} subscribers}}",
|
||||||
|
"description": "Count of channel subscribers",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": true
|
||||||
|
},
|
||||||
|
"label_member_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "Members:",
|
||||||
|
"description": "Label for the count of group topic members",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"label_subscriber_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "Subscribers:",
|
||||||
|
"description": "Label for the count of channel subscribers",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
|
},
|
||||||
|
"member_count": {
|
||||||
|
"translation": "",
|
||||||
|
"defaultMessage": "{count, plural, one {{count, number} member} two {{count, number} members} three {{count, number} members} few {{count, number} members} many {{count, number} members} other {{count, number} members}}",
|
||||||
|
"description": "Count of group topic members",
|
||||||
|
"missing": true,
|
||||||
|
"obsolete": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+15
-1
@@ -1,6 +1,6 @@
|
|||||||
// InfoView: panel with topic/user info.
|
// InfoView: panel with topic/user info.
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { FormattedMessage, defineMessages, injectIntl } from 'react-intl';
|
import { FormattedMessage, FormattedNumber, defineMessages, injectIntl } from 'react-intl';
|
||||||
|
|
||||||
import { AccessMode, Tinode } from 'tinode-sdk';
|
import { AccessMode, Tinode } from 'tinode-sdk';
|
||||||
|
|
||||||
@@ -655,6 +655,20 @@ class InfoView extends React.Component {
|
|||||||
</div>
|
</div>
|
||||||
: null
|
: null
|
||||||
}
|
}
|
||||||
|
{this.state.groupTopic && topic.subcnt > 0 ?
|
||||||
|
<div className="group"><label className="small">
|
||||||
|
{this.state.channel ?
|
||||||
|
<FormattedMessage id="label_subscriber_count"
|
||||||
|
defaultMessage="Subscribers:"
|
||||||
|
description="Label for the count of channel subscribers" />
|
||||||
|
:
|
||||||
|
<FormattedMessage id="label_member_count"
|
||||||
|
defaultMessage="Members:"
|
||||||
|
description="Label for the count of group topic members" />
|
||||||
|
}
|
||||||
|
</label> <FormattedNumber value={topic.subcnt}/></div>
|
||||||
|
: null
|
||||||
|
}
|
||||||
{this.state.description ?
|
{this.state.description ?
|
||||||
<div className="group">
|
<div className="group">
|
||||||
<label className="small">
|
<label className="small">
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ const messages = defineMessages({
|
|||||||
},
|
},
|
||||||
last_seen: {
|
last_seen: {
|
||||||
id: 'last_seen_timestamp',
|
id: 'last_seen_timestamp',
|
||||||
defaultMessage: 'Last seen',
|
defaultMessage: 'Last seen: {timestamp}',
|
||||||
description: 'Label for the timestamp of when the user or topic was last online'
|
description: 'Label for the timestamp of when the user or topic was last online'
|
||||||
},
|
},
|
||||||
not_found: {
|
not_found: {
|
||||||
@@ -82,6 +82,28 @@ const messages = defineMessages({
|
|||||||
defaultMessage: 'Saved messages',
|
defaultMessage: 'Saved messages',
|
||||||
description: 'Name of self topic for UI'
|
description: 'Name of self topic for UI'
|
||||||
},
|
},
|
||||||
|
subscriber_count: {
|
||||||
|
id: 'subscriber_count',
|
||||||
|
defaultMessage: '{count, plural, ' +
|
||||||
|
'one {{count, number} subscriber} ' +
|
||||||
|
'two {{count, number} subscribers} ' +
|
||||||
|
'three {{count, number} subscribers} ' +
|
||||||
|
'few {{count, number} subscribers} ' +
|
||||||
|
'many {{count, number} subscribers} ' +
|
||||||
|
'other {{count, number} subscribers}}',
|
||||||
|
description: 'Count of channel subscribers'
|
||||||
|
},
|
||||||
|
member_count: {
|
||||||
|
id: 'member_count',
|
||||||
|
defaultMessage: '{count, plural, ' +
|
||||||
|
'one {{count, number} member} ' +
|
||||||
|
'two {{count, number} members} ' +
|
||||||
|
'three {{count, number} members} ' +
|
||||||
|
'few {{count, number} members} ' +
|
||||||
|
'many {{count, number} members} ' +
|
||||||
|
'other {{count, number} members}}',
|
||||||
|
description: 'Count of group topic members'
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
// Checks if the access permissions are granted but not yet accepted.
|
// Checks if the access permissions are granted but not yet accepted.
|
||||||
@@ -1652,16 +1674,20 @@ class MessagesView extends React.Component {
|
|||||||
|
|
||||||
let lastSeen = null;
|
let lastSeen = null;
|
||||||
if (isChannel) {
|
if (isChannel) {
|
||||||
lastSeen = formatMessage(messages.channel);
|
lastSeen = formatMessage(messages.subscriber_count, {count: topic.subcnt});
|
||||||
} else {
|
} else {
|
||||||
const cont = this.props.tinode.getMeTopic().getContact(this.state.topic);
|
const cont = this.props.tinode.getMeTopic().getContact(this.state.topic);
|
||||||
if (cont && Tinode.isP2PTopicName(cont.topic)) {
|
if (cont) {
|
||||||
if (cont.online) {
|
if (Tinode.isP2PTopicName(cont.topic)) {
|
||||||
lastSeen = formatMessage(messages.online_now);
|
if (cont.online) {
|
||||||
} else if (cont.seen) {
|
lastSeen = formatMessage(messages.online_now);
|
||||||
lastSeen = formatMessage(messages.last_seen) + ": " +
|
} else if (cont.seen) {
|
||||||
shortDateFormat(cont.seen.when, this.props.intl.locale);
|
lastSeen = formatMessage(messages.last_seen,
|
||||||
// TODO: also handle user agent in c.seen.ua
|
{timestamp: shortDateFormat(cont.seen.when, this.props.intl.locale)});
|
||||||
|
// TODO: also handle user agent in c.seen.ua
|
||||||
|
}
|
||||||
|
} else if (Tinode.isGroupTopicName(cont.topic)) {
|
||||||
|
lastSeen = formatMessage(messages.member_count, {count: topic.subcnt});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+162
-7
@@ -9501,7 +9501,10 @@ const messages = (0,react_intl__WEBPACK_IMPORTED_MODULE_1__.defineMessages)({
|
|||||||
id: "last_seen_timestamp",
|
id: "last_seen_timestamp",
|
||||||
defaultMessage: [{
|
defaultMessage: [{
|
||||||
"type": 0,
|
"type": 0,
|
||||||
"value": "Last seen"
|
"value": "Last seen: "
|
||||||
|
}, {
|
||||||
|
"type": 1,
|
||||||
|
"value": "timestamp"
|
||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
not_found: {
|
not_found: {
|
||||||
@@ -9564,6 +9567,148 @@ const messages = (0,react_intl__WEBPACK_IMPORTED_MODULE_1__.defineMessages)({
|
|||||||
"type": 0,
|
"type": 0,
|
||||||
"value": "Saved messages"
|
"value": "Saved messages"
|
||||||
}]
|
}]
|
||||||
|
},
|
||||||
|
subscriber_count: {
|
||||||
|
id: "subscriber_count",
|
||||||
|
defaultMessage: [{
|
||||||
|
"type": 6,
|
||||||
|
"value": "count",
|
||||||
|
"options": {
|
||||||
|
"one": {
|
||||||
|
"value": [{
|
||||||
|
"type": 2,
|
||||||
|
"value": "count",
|
||||||
|
"style": null
|
||||||
|
}, {
|
||||||
|
"type": 0,
|
||||||
|
"value": " subscriber"
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
"two": {
|
||||||
|
"value": [{
|
||||||
|
"type": 2,
|
||||||
|
"value": "count",
|
||||||
|
"style": null
|
||||||
|
}, {
|
||||||
|
"type": 0,
|
||||||
|
"value": " subscribers"
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
"three": {
|
||||||
|
"value": [{
|
||||||
|
"type": 2,
|
||||||
|
"value": "count",
|
||||||
|
"style": null
|
||||||
|
}, {
|
||||||
|
"type": 0,
|
||||||
|
"value": " subscribers"
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
"few": {
|
||||||
|
"value": [{
|
||||||
|
"type": 2,
|
||||||
|
"value": "count",
|
||||||
|
"style": null
|
||||||
|
}, {
|
||||||
|
"type": 0,
|
||||||
|
"value": " subscribers"
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
"many": {
|
||||||
|
"value": [{
|
||||||
|
"type": 2,
|
||||||
|
"value": "count",
|
||||||
|
"style": null
|
||||||
|
}, {
|
||||||
|
"type": 0,
|
||||||
|
"value": " subscribers"
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
"other": {
|
||||||
|
"value": [{
|
||||||
|
"type": 2,
|
||||||
|
"value": "count",
|
||||||
|
"style": null
|
||||||
|
}, {
|
||||||
|
"type": 0,
|
||||||
|
"value": " subscribers"
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"offset": 0,
|
||||||
|
"pluralType": "cardinal"
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
member_count: {
|
||||||
|
id: "member_count",
|
||||||
|
defaultMessage: [{
|
||||||
|
"type": 6,
|
||||||
|
"value": "count",
|
||||||
|
"options": {
|
||||||
|
"one": {
|
||||||
|
"value": [{
|
||||||
|
"type": 2,
|
||||||
|
"value": "count",
|
||||||
|
"style": null
|
||||||
|
}, {
|
||||||
|
"type": 0,
|
||||||
|
"value": " member"
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
"two": {
|
||||||
|
"value": [{
|
||||||
|
"type": 2,
|
||||||
|
"value": "count",
|
||||||
|
"style": null
|
||||||
|
}, {
|
||||||
|
"type": 0,
|
||||||
|
"value": " members"
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
"three": {
|
||||||
|
"value": [{
|
||||||
|
"type": 2,
|
||||||
|
"value": "count",
|
||||||
|
"style": null
|
||||||
|
}, {
|
||||||
|
"type": 0,
|
||||||
|
"value": " members"
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
"few": {
|
||||||
|
"value": [{
|
||||||
|
"type": 2,
|
||||||
|
"value": "count",
|
||||||
|
"style": null
|
||||||
|
}, {
|
||||||
|
"type": 0,
|
||||||
|
"value": " members"
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
"many": {
|
||||||
|
"value": [{
|
||||||
|
"type": 2,
|
||||||
|
"value": "count",
|
||||||
|
"style": null
|
||||||
|
}, {
|
||||||
|
"type": 0,
|
||||||
|
"value": " members"
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
"other": {
|
||||||
|
"value": [{
|
||||||
|
"type": 2,
|
||||||
|
"value": "count",
|
||||||
|
"style": null
|
||||||
|
}, {
|
||||||
|
"type": 0,
|
||||||
|
"value": " members"
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"offset": 0,
|
||||||
|
"pluralType": "cardinal"
|
||||||
|
}]
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
function isUnconfirmed(acs) {
|
function isUnconfirmed(acs) {
|
||||||
@@ -10935,14 +11080,24 @@ class MessagesView extends (react__WEBPACK_IMPORTED_MODULE_0___default().Compone
|
|||||||
});
|
});
|
||||||
let lastSeen = null;
|
let lastSeen = null;
|
||||||
if (isChannel) {
|
if (isChannel) {
|
||||||
lastSeen = formatMessage(messages.channel);
|
lastSeen = formatMessage(messages.subscriber_count, {
|
||||||
|
count: topic.subcnt
|
||||||
|
});
|
||||||
} else {
|
} else {
|
||||||
const cont = this.props.tinode.getMeTopic().getContact(this.state.topic);
|
const cont = this.props.tinode.getMeTopic().getContact(this.state.topic);
|
||||||
if (cont && tinode_sdk__WEBPACK_IMPORTED_MODULE_2__.Tinode.isP2PTopicName(cont.topic)) {
|
if (cont) {
|
||||||
if (cont.online) {
|
if (tinode_sdk__WEBPACK_IMPORTED_MODULE_2__.Tinode.isP2PTopicName(cont.topic)) {
|
||||||
lastSeen = formatMessage(messages.online_now);
|
if (cont.online) {
|
||||||
} else if (cont.seen) {
|
lastSeen = formatMessage(messages.online_now);
|
||||||
lastSeen = formatMessage(messages.last_seen) + ": " + (0,_lib_strformat_js__WEBPACK_IMPORTED_MODULE_22__.shortDateFormat)(cont.seen.when, this.props.intl.locale);
|
} else if (cont.seen) {
|
||||||
|
lastSeen = formatMessage(messages.last_seen, {
|
||||||
|
timestamp: (0,_lib_strformat_js__WEBPACK_IMPORTED_MODULE_22__.shortDateFormat)(cont.seen.when, this.props.intl.locale)
|
||||||
|
});
|
||||||
|
}
|
||||||
|
} else if (tinode_sdk__WEBPACK_IMPORTED_MODULE_2__.Tinode.isGroupTopicName(cont.topic)) {
|
||||||
|
lastSeen = formatMessage(messages.member_count, {
|
||||||
|
count: topic.subcnt
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
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
File diff suppressed because one or more lines are too long
@@ -709,6 +709,24 @@ class InfoView extends (react__WEBPACK_IMPORTED_MODULE_0___default().Component)
|
|||||||
className: "group"
|
className: "group"
|
||||||
}, react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_widgets_badge_list_jsx__WEBPACK_IMPORTED_MODULE_4__["default"], {
|
}, react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_widgets_badge_list_jsx__WEBPACK_IMPORTED_MODULE_4__["default"], {
|
||||||
trustedBadges: this.state.trustedBadges
|
trustedBadges: this.state.trustedBadges
|
||||||
|
})) : null, this.state.groupTopic && topic.subcnt > 0 ? react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
|
||||||
|
className: "group"
|
||||||
|
}, react__WEBPACK_IMPORTED_MODULE_0___default().createElement("label", {
|
||||||
|
className: "small"
|
||||||
|
}, this.state.channel ? react__WEBPACK_IMPORTED_MODULE_0___default().createElement(react_intl__WEBPACK_IMPORTED_MODULE_1__.FormattedMessage, {
|
||||||
|
id: "label_subscriber_count",
|
||||||
|
defaultMessage: [{
|
||||||
|
"type": 0,
|
||||||
|
"value": "Subscribers:"
|
||||||
|
}]
|
||||||
|
}) : react__WEBPACK_IMPORTED_MODULE_0___default().createElement(react_intl__WEBPACK_IMPORTED_MODULE_1__.FormattedMessage, {
|
||||||
|
id: "label_member_count",
|
||||||
|
defaultMessage: [{
|
||||||
|
"type": 0,
|
||||||
|
"value": "Members:"
|
||||||
|
}]
|
||||||
|
})), "\xA0", react__WEBPACK_IMPORTED_MODULE_0___default().createElement(react_intl__WEBPACK_IMPORTED_MODULE_1__.FormattedNumber, {
|
||||||
|
value: topic.subcnt
|
||||||
})) : null, this.state.description ? react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
|
})) : null, this.state.description ? react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
|
||||||
className: "group"
|
className: "group"
|
||||||
}, react__WEBPACK_IMPORTED_MODULE_0___default().createElement("label", {
|
}, react__WEBPACK_IMPORTED_MODULE_0___default().createElement("label", {
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user