[Refs #257] Fix edit profile labels
This commit is contained in:
parent
c84e61c51e
commit
61b8c70f4b
|
@ -6,7 +6,7 @@
|
|||
%ul
|
||||
- if can? :edit, @user
|
||||
%li{:class => (act == :edit && :users == contr) ? 'active' : ''}
|
||||
= link_to t("layout.users.edit"), @user == current_user ? edit_profile_path : edit_user_path(@user)
|
||||
= link_to t("layout.users.profile"), @user == current_user ? edit_profile_path : edit_user_path(@user)
|
||||
- if can? :private, @user
|
||||
%li{:class => (act == :private && contr == :users) ? 'active' : ''}
|
||||
= link_to t("layout.users.user_private_settings"), user_private_settings_path(@user)
|
||||
|
|
|
@ -3,7 +3,7 @@ en:
|
|||
users:
|
||||
list: List
|
||||
new: Create
|
||||
edit: Profile
|
||||
profile: Profile
|
||||
settings: Settings
|
||||
new_header: New user
|
||||
edit_header: Edit
|
||||
|
|
|
@ -3,7 +3,7 @@ ru:
|
|||
users:
|
||||
list: Список
|
||||
new: Создать
|
||||
edit: Профиль
|
||||
profile: Профиль
|
||||
settings: Настройки
|
||||
new_header: Новый пользователь
|
||||
edit_header: Редактировать
|
||||
|
|
Loading…
Reference in New Issue