From ebd9fc550404e6af99a00d1075a5644bff966e19 Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Mon, 19 Feb 2018 04:18:01 +0200 Subject: [PATCH] Extract translation #694 --- app/views/registrar/polls/show.haml | 4 ++-- config/locales/registrar/polls.en.yml | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 config/locales/registrar/polls.en.yml diff --git a/app/views/registrar/polls/show.haml b/app/views/registrar/polls/show.haml index 69e74751b..c4c337749 100644 --- a/app/views/registrar/polls/show.haml +++ b/app/views/registrar/polls/show.haml @@ -2,7 +2,7 @@ - msg_q = @data.css('msgQ').first .row .col-sm-12 - %h2= t('messages', count: msg_q['count']) + %h2= t '.header', count: msg_q['count'] %hr .row .col-md-12 @@ -75,7 +75,7 @@ - else .row .col-sm-12 - %h2= t('messages', count: 0) + %h2= t '.header', count: 0 %hr .row .col-md-12 diff --git a/config/locales/registrar/polls.en.yml b/config/locales/registrar/polls.en.yml new file mode 100644 index 000000000..4d09e54f4 --- /dev/null +++ b/config/locales/registrar/polls.en.yml @@ -0,0 +1,5 @@ +en: + registrar: + polls: + show: + header: Messages (%{count})