From 6b1ade8931149ac7699d9b3e3ccb12bfdcce681f Mon Sep 17 00:00:00 2001 From: Andrew Radev Date: Thu, 30 Jul 2015 21:21:30 +0300 Subject: [PATCH] Translations --- app/views/management/personal_profiles/index.html.slim | 4 ++-- app/views/management/personal_profiles/new.html.slim | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/app/views/management/personal_profiles/index.html.slim b/app/views/management/personal_profiles/index.html.slim index ccb3edc..cdc779c 100644 --- a/app/views/management/personal_profiles/index.html.slim +++ b/app/views/management/personal_profiles/index.html.slim @@ -37,5 +37,5 @@ td td.actions div.btn-group.btn-group-sm - -# TODO translation - = link_to 'Създай профил', [:new, :management, @conference, :personal_profile, {user_id: user.id}] + = link_to [:new, :management, @conference, :personal_profile, {user_id: user.id}] do + => t('actions.create.title', model: User.model_name.human) diff --git a/app/views/management/personal_profiles/new.html.slim b/app/views/management/personal_profiles/new.html.slim index 9c7db87..ae87829 100644 --- a/app/views/management/personal_profiles/new.html.slim +++ b/app/views/management/personal_profiles/new.html.slim @@ -1,6 +1,5 @@ - content_for :title - -# TODO translation - => t 'actions.new.title', model: User.model_name.human + => t 'actions.create.title', model: User.model_name.human .row .col-lg-12