[FIX] translation of attachment and calendar sidebar sections

bzr revid: chs@openerp.com-20111012115744-sv7kvwqbt2p5vdio
This commit is contained in:
Christophe Simonis 2011-10-12 13:57:44 +02:00
parent 1dfd69590d
commit 7b6309dd15
2 changed files with 3 additions and 3 deletions

View File

@ -542,7 +542,7 @@ openerp.web.form = {};
openerp.web.form.SidebarAttachments = openerp.web.Widget.extend({
init: function(parent, form_view) {
var $section = parent.add_section('Attachments');
var $section = parent.add_section(_t('Attachments'), 'attachments');
this.$div = $('<div class="oe-sidebar-attachments"></div>');
$section.append(this.$div);

View File

@ -363,7 +363,7 @@ openerp.web_calendar.CalendarFormDialog = openerp.web.Dialog.extend({
openerp.web_calendar.SidebarResponsible = openerp.web.Widget.extend({
init: function(parent, view) {
var $section = parent.add_section('Responsible');
var $section = parent.add_section(_t('Responsible'), 'responsible');
this.$div = $('<div></div>');
$section.append(this.$div);
this._super(parent, $section.attr('id'));
@ -392,7 +392,7 @@ openerp.web_calendar.SidebarResponsible = openerp.web.Widget.extend({
openerp.web_calendar.SidebarNavigator = openerp.web.Widget.extend({
init: function(parent, view) {
var $section = parent.add_section('Navigator');
var $section = parent.add_section(_t('Navigator'), 'navigator');
this._super(parent, $section.attr('id'));
this.view = view;
},