From 143af1aea1a6e8cf0e9db7c47af312d59db50060 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Mon, 24 May 2010 23:53:31 +0200 Subject: [PATCH] Translate the tooltips for the collapser. --- sphinx/themes/default/static/sidebar.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sphinx/themes/default/static/sidebar.js b/sphinx/themes/default/static/sidebar.js index 28eefc3346..be206ede92 100644 --- a/sphinx/themes/default/static/sidebar.js +++ b/sphinx/themes/default/static/sidebar.js @@ -63,7 +63,7 @@ $(function() { 'height': bodywrapper.height() }); sidebarbutton.find('span').text('»'); - sidebarbutton.attr('title', 'Expand sidebar'); + sidebarbutton.attr('title', _('Expand sidebar')); document.cookie = 'sidebar=collapsed'; } @@ -76,7 +76,7 @@ $(function() { 'height': bodywrapper.height() }); sidebarbutton.find('span').text('«'); - sidebarbutton.attr('title', 'Collapse sidebar'); + sidebarbutton.attr('title', _('Collapse sidebar')); document.cookie = 'sidebar=expanded'; } @@ -103,7 +103,7 @@ $(function() { }); sidebarbutton.click(toggle_sidebar); - sidebarbutton.attr('title', 'Collapse sidebar'); + sidebarbutton.attr('title', _('Collapse sidebar')); sidebarbutton.css({ 'color': '#FFFFFF', 'border-left': '1px solid ' + dark_color,