mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-04 19:53:19 +08:00
add locales
This commit is contained in:
parent
80fe1dd73b
commit
8a35ce5c58
3 changed files with 7 additions and 5 deletions
|
@ -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");
|
||||
|
|
|
@ -10,12 +10,12 @@
|
|||
<!-- Account -->
|
||||
<li class="parent_li" >
|
||||
<span class="tree-link line-wrap no-indent">
|
||||
<i title="Expand this branch"
|
||||
<i title="<%= t('sidebar.branch_expand') %>"
|
||||
class="glyphicon glyphicon-triangle-right triangleRight"
|
||||
aria-hidden="true"
|
||||
style="<%= 'display: none;' if on_settings_account_page? %>"
|
||||
></i>
|
||||
<i title="Collapse this branch"
|
||||
<i title="<%= t('sidebar.branch_collapse') %>"
|
||||
class="glyphicon glyphicon-triangle-right expanded triangleDown"
|
||||
aria-hidden="true"
|
||||
style="<%= 'display: none;' unless on_settings_account_page? %>"
|
||||
|
|
|
@ -111,6 +111,8 @@ en:
|
|||
|
||||
sidebar:
|
||||
title: "Navigation"
|
||||
branch_expand: "Expand this branch"
|
||||
branch_collapse: "Collapse this branch"
|
||||
no_module_group: "No workflow"
|
||||
projects:
|
||||
all: "All Projects"
|
||||
|
|
Loading…
Reference in a new issue