Commits

Georg Brandl  committed 8b971db

Translate the tooltips for the collapser.

  • Participants
  • Parent commits ceb28ea

Comments (0)

Files changed (1)

File sphinx/themes/default/static/sidebar.js

         'height': bodywrapper.height()
     });
     sidebarbutton.find('span').text('»');
-    sidebarbutton.attr('title', 'Expand sidebar');
+    sidebarbutton.attr('title', _('Expand sidebar'));
     document.cookie = 'sidebar=collapsed';
   }
 
         'height': bodywrapper.height()
     });
     sidebarbutton.find('span').text('«');
-    sidebarbutton.attr('title', 'Collapse sidebar');
+    sidebarbutton.attr('title', _('Collapse sidebar'));
     document.cookie = 'sidebar=expanded';
   }
 
     });
 
     sidebarbutton.click(toggle_sidebar);
-    sidebarbutton.attr('title', 'Collapse sidebar');
+    sidebarbutton.attr('title', _('Collapse sidebar'));
     sidebarbutton.css({
         'color': '#FFFFFF',
         'border-left': '1px solid ' + dark_color,