mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-09-03 20:52:55 -05:00
Translate the tooltips for the collapser.
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user