[Refs #257] Fix edit profile labels

This commit is contained in:
Vladimir Sharshov 2012-03-12 22:13:10 +04:00
parent c84e61c51e
commit 61b8c70f4b
3 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -3,7 +3,7 @@ en:
users:
list: List
new: Create
edit: Profile
profile: Profile
settings: Settings
new_header: New user
edit_header: Edit

View File

@ -3,7 +3,7 @@ ru:
users:
list: Список
new: Создать
edit: Профиль
profile: Профиль
settings: Настройки
new_header: Новый пользователь
edit_header: Редактировать