From a47937c26be477bb1e51529066dfc6529d56c486 Mon Sep 17 00:00:00 2001 From: vdv73rus Date: Tue, 2 Apr 2013 11:17:22 +0400 Subject: [PATCH] Control whitespaces via haml helper added. --- app/views/web/user_lectures/index.html.haml | 7 ++++--- config/locales/ru.yml | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/app/views/web/user_lectures/index.html.haml b/app/views/web/user_lectures/index.html.haml index 8f44b3d3..5021246a 100644 --- a/app/views/web/user_lectures/index.html.haml +++ b/app/views/web/user_lectures/index.html.haml @@ -1,8 +1,9 @@ %h1=t('.events20') %h5 - =t('.user_lectures_title_before_link') - = link_to t(".user_lectures_title_link"), new_account_lecture_path - =t('.user_lectures_title_after_link') + = t('.user_lectures_title_before_link') + = succeed ',' do + = link_to t(".user_lectures_title_link"), new_account_lecture_path + = t('.user_lectures_title_after_link') %br .row.workshop diff --git a/config/locales/ru.yml b/config/locales/ru.yml index 169b6839..56faea51 100644 --- a/config/locales/ru.yml +++ b/config/locales/ru.yml @@ -176,8 +176,8 @@ ru: by_lecture_votings_count: 'По количеству голосов' by_created_at: 'По дате добавления' sort_by: 'Сортировать' - user_lectures_title_before_link: 'Если у вас в копилке есть сумасшедший доклад и вам есть о чем рассказать ИТ-общественности,' - user_lectures_title_link: 'предложите его,' + user_lectures_title_before_link: 'Если у вас в копилке есть сумасшедший доклад и вам есть о чем рассказать ИТ-общественности, ' + user_lectures_title_link: 'предложите его' user_lectures_title_after_link: 'и выступите на конференции.' not_added_yet: 'Пока не добавлено ни одного доклада. Вы можете' first_speaker: 'стать первым докладчиком.'