Commit 5a874a49 authored by Christoph Scholz's avatar Christoph Scholz Committed by JC Brand

fix i18n of label group name

parent b17e7cd5
......@@ -545,7 +545,7 @@ converse.plugins.add('converse-rosterview', {
render () {
this.el.setAttribute('data-group', this.model.get('name'));
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'),
'toggle_state': this.model.get('state'),
'_converse': _converse
......
......@@ -38,11 +38,11 @@ converse.plugins.add('converse-roster', {
'rosterInitialized',
]);
_converse.HEADER_CURRENT_CONTACTS = __('My contacts');
_converse.HEADER_PENDING_CONTACTS = __('Pending contacts');
_converse.HEADER_REQUESTING_CONTACTS = __('Contact requests');
_converse.HEADER_UNGROUPED = __('Ungrouped');
_converse.HEADER_UNREAD = __('New messages');
_converse.HEADER_CURRENT_CONTACTS = 'My contacts';
_converse.HEADER_PENDING_CONTACTS = 'Pending contacts';
_converse.HEADER_REQUESTING_CONTACTS = 'Contact requests';
_converse.HEADER_UNGROUPED = 'Ungrouped';
_converse.HEADER_UNREAD = 'New messages';
const HEADER_WEIGHTS = {};
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