diff --git a/app/assets/javascripts/sidebar.js.erb b/app/assets/javascripts/sidebar.js.erb index 5fbbb2c6a..2d2558fbf 100644 --- a/app/assets/javascripts/sidebar.js.erb +++ b/app/assets/javascripts/sidebar.js.erb @@ -128,7 +128,7 @@ function setupSidebarTree() { } el .find(" > span i") - .attr("title", "Expand this branch") + .attr("title", I18n.t('sidebar.branch_expand')) .removeClass("expanded"); } else { if (animate) { @@ -138,7 +138,7 @@ function setupSidebarTree() { } el .find(" > span i") - .attr("title", "Collapse this branch") + .attr("title", I18n.t('sidebar.branch_collapse')) .addClass("expanded"); } } @@ -147,7 +147,7 @@ function setupSidebarTree() { $(".tree li:has(ul)") .addClass("parent_li") .find(" > span i") - .attr("title", "Collapse this branch"); + .attr("title", I18n.t('sidebar.branch_collapse')); $(".tree li.parent_li ") .find("> span i") .addClass("glyphicon glyphicon-triangle-right expanded"); diff --git a/app/views/users/settings/_sidebar.html.erb b/app/views/users/settings/_sidebar.html.erb index de9c3c67a..d27b2be12 100644 --- a/app/views/users/settings/_sidebar.html.erb +++ b/app/views/users/settings/_sidebar.html.erb @@ -10,12 +10,12 @@
  • - -