Commit ff5a0469 authored by Christoph Scholz's avatar Christoph Scholz Committed by JC Brand

Revert "fix i18n of label group name"

This reverts commit 5a874a49.
parent 5ea2ccfc
...@@ -545,7 +545,7 @@ converse.plugins.add('converse-rosterview', { ...@@ -545,7 +545,7 @@ converse.plugins.add('converse-rosterview', {
render () { render () {
this.el.setAttribute('data-group', this.model.get('name')); this.el.setAttribute('data-group', this.model.get('name'));
this.el.innerHTML = tpl_group_header({ this.el.innerHTML = tpl_group_header({
'label_group': __(this.model.get('name')), 'label_group': this.model.get('name'),
'desc_group_toggle': this.model.get('description'), 'desc_group_toggle': this.model.get('description'),
'toggle_state': this.model.get('state'), 'toggle_state': this.model.get('state'),
'_converse': _converse '_converse': _converse
......
...@@ -38,11 +38,11 @@ converse.plugins.add('converse-roster', { ...@@ -38,11 +38,11 @@ converse.plugins.add('converse-roster', {
'rosterInitialized', 'rosterInitialized',
]); ]);
_converse.HEADER_CURRENT_CONTACTS = 'My contacts'; _converse.HEADER_CURRENT_CONTACTS = __('My contacts');
_converse.HEADER_PENDING_CONTACTS = 'Pending contacts'; _converse.HEADER_PENDING_CONTACTS = __('Pending contacts');
_converse.HEADER_REQUESTING_CONTACTS = 'Contact requests'; _converse.HEADER_REQUESTING_CONTACTS = __('Contact requests');
_converse.HEADER_UNGROUPED = 'Ungrouped'; _converse.HEADER_UNGROUPED = __('Ungrouped');
_converse.HEADER_UNREAD = 'New messages'; _converse.HEADER_UNREAD = __('New messages');
const HEADER_WEIGHTS = {}; const HEADER_WEIGHTS = {};
HEADER_WEIGHTS[_converse.HEADER_UNREAD] = 0; HEADER_WEIGHTS[_converse.HEADER_UNREAD] = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment