includes/clientside/static/theme-manager.js
changeset 658 49dee7f374bf
parent 651 ce9d78d7251d
child 699 c7d737202d59
equal deleted inserted replaced
657:8525475e27d5 658:49dee7f374bf
   337       check.setAttribute('checked', 'checked');
   337       check.setAttribute('checked', 'checked');
   338     }
   338     }
   339     check.group_id = parseInt(i);
   339     check.group_id = parseInt(i);
   340     var lbl_g_acl = document.createElement('label');
   340     var lbl_g_acl = document.createElement('label');
   341     lbl_g_acl.appendChild(check);
   341     lbl_g_acl.appendChild(check);
   342     // FIXME: l10n on group name
   342     var str = 'groupcp_grp_' + g_name.toLowerCase();
   343     lbl_g_acl.appendChild(document.createTextNode(g_name));
   343     var g_name_l10n = ( $lang.get(str) != str ) ? $lang.get(str) : g_name;
       
   344     lbl_g_acl.appendChild(document.createTextNode(g_name_l10n));
   344     div_groups.appendChild(lbl_g_acl);
   345     div_groups.appendChild(lbl_g_acl);
   345     div_groups.appendChild(document.createElement('br'));
   346     div_groups.appendChild(document.createElement('br'));
   346   }
   347   }
   347   div_acl.appendChild(div_groups);
   348   div_acl.appendChild(div_groups);
   348   
   349