Translate the tooltips for the collapser.

This commit is contained in:
Georg Brandl
2010-05-24 23:53:31 +02:00
parent 497abe31f1
commit 143af1aea1
+3 -3
View File
@@ -63,7 +63,7 @@ $(function() {
'height': bodywrapper.height() 'height': bodywrapper.height()
}); });
sidebarbutton.find('span').text('»'); sidebarbutton.find('span').text('»');
sidebarbutton.attr('title', 'Expand sidebar'); sidebarbutton.attr('title', _('Expand sidebar'));
document.cookie = 'sidebar=collapsed'; document.cookie = 'sidebar=collapsed';
} }
@@ -76,7 +76,7 @@ $(function() {
'height': bodywrapper.height() 'height': bodywrapper.height()
}); });
sidebarbutton.find('span').text('«'); sidebarbutton.find('span').text('«');
sidebarbutton.attr('title', 'Collapse sidebar'); sidebarbutton.attr('title', _('Collapse sidebar'));
document.cookie = 'sidebar=expanded'; document.cookie = 'sidebar=expanded';
} }
@@ -103,7 +103,7 @@ $(function() {
}); });
sidebarbutton.click(toggle_sidebar); sidebarbutton.click(toggle_sidebar);
sidebarbutton.attr('title', 'Collapse sidebar'); sidebarbutton.attr('title', _('Collapse sidebar'));
sidebarbutton.css({ sidebarbutton.css({
'color': '#FFFFFF', 'color': '#FFFFFF',
'border-left': '1px solid ' + dark_color, 'border-left': '1px solid ' + dark_color,