From 7c5f9b082a24f563c5fee85ecfc16e0111279980 Mon Sep 17 00:00:00 2001 From: pixeldesu Date: Mon, 8 Jun 2015 16:05:20 +0200 Subject: [PATCH] add missing profile setting locales --- app/views/user/edit.html.haml | 4 ++-- config/locales/en.yml | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/views/user/edit.html.haml b/app/views/user/edit.html.haml index 0721deff..d04ee81e 100644 --- a/app/views/user/edit.html.haml +++ b/app/views/user/edit.html.haml @@ -13,7 +13,7 @@ .pull-left %img.img-rounded.profile--img{src: current_user.profile_picture.url(:medium)} .media-body - = f.file_field :profile_picture + = f.file_field :profile_picture, label: t('views.settings.profile.avatar') .row#profile-picture-crop-controls{style: 'display: none;'} .col-sm-10.col-md-8 @@ -30,7 +30,7 @@ .pull-left %img.img-rounded.header--img{src: current_user.profile_header.url(:mobile)} .media-body - = f.file_field :profile_header + = f.file_field :profile_header, label: t('views.settings.profile.header') .row#profile-header-crop-controls{style: 'display: none;'} .col-sm-10.col-md-8 diff --git a/config/locales/en.yml b/config/locales/en.yml index efb45e8d..f8cf9b04 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -396,7 +396,9 @@ en: back: "Back" profile: displayname: "Your name" + avatar: "Profile picture" avatar_adjust: "Adjust your new avatar" + header: "Profile header" header_adjust: "Adjust your new header" motivation: "Motivation header" website: "Website"