diff --git a/app/views/users/_sidebar.html.haml b/app/views/users/_sidebar.html.haml index c2b434cc8..72beffd9d 100644 --- a/app/views/users/_sidebar.html.haml +++ b/app/views/users/_sidebar.html.haml @@ -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) diff --git a/config/locales/users.en.yml b/config/locales/users.en.yml index d39fefeb9..868058331 100644 --- a/config/locales/users.en.yml +++ b/config/locales/users.en.yml @@ -3,7 +3,7 @@ en: users: list: List new: Create - edit: Profile + profile: Profile settings: Settings new_header: New user edit_header: Edit diff --git a/config/locales/users.ru.yml b/config/locales/users.ru.yml index 54a06a89f..33f5fa400 100644 --- a/config/locales/users.ru.yml +++ b/config/locales/users.ru.yml @@ -3,7 +3,7 @@ ru: users: list: Список new: Создать - edit: Профиль + profile: Профиль settings: Настройки new_header: Новый пользователь edit_header: Редактировать