Add translations for management-related strings
This commit is contained in:
parent
96ce602e5d
commit
a95babec22
|
@ -21,9 +21,9 @@ html
|
|||
.navbar-collapse.collapse
|
||||
ul.nav.navbar-nav
|
||||
li class="#{'active' if controller_name == 'home'}"
|
||||
= link_to 'Home', management_path
|
||||
= link_to t(:home), management_path
|
||||
li class="#{'active' if controller_name == 'users'}"
|
||||
= link_to 'Users', management_users_path
|
||||
= link_to User.model_name.human(count: 2), management_users_path
|
||||
div.container
|
||||
== yield
|
||||
= javascript_include_tag "management/application"
|
||||
|
|
|
@ -11,7 +11,7 @@ tr id="user-#{user.id}"
|
|||
= link_to glyph(:unchecked), toggle_admin_management_user_path(user), remote: true, method: :post, data: {confirm: t(:are_you_sure)}, class: 'unchecked'
|
||||
td
|
||||
.actions
|
||||
= link_to management_user_path(user), title: t(:edit)
|
||||
= link_to management_user_path(user), title: t(:view)
|
||||
= glyph(:share)
|
||||
= link_to edit_management_user_path(user), title: t(:edit)
|
||||
= glyph(:edit)
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
bg:
|
||||
are_you_sure: Сигурен ли си?
|
||||
are_you_sure: Сигурен ли си?
|
||||
view: Преглед
|
||||
home: Начало
|
|
@ -1,2 +1,4 @@
|
|||
en:
|
||||
are_you_sure: Are you sure?
|
||||
are_you_sure: Are you sure?
|
||||
view: View
|
||||
home: Home
|
Loading…
Reference in New Issue