Merge pull request #920 from camillem/master

Adding notranslate classes to ease translation of dynamic text
This commit is contained in:
Henne Vogelsang 2016-04-01 14:51:50 +02:00
commit 5cbf105a68
8 changed files with 32 additions and 16 deletions

View file

@ -8,16 +8,17 @@
= "#{tracks(@conference)}."
- if @program.cfp_open?
The submission period has begun
%em
%em.notranslate
= @program.cfp.start_date.strftime('%A, %B %-d. %Y')
and closes
%em
%em.notranslate
= @program.cfp.end_date.strftime('%A, %B %-d. %Y.')
That means you have
%b= pluralize(@program.cfp.remaining_days, 'day')
%b.notranslate= pluralize(@program.cfp.remaining_days, 'day')
left!
Remember
= @conference.title
%span.notranslate
= @conference.title
will only be as good as the content you present. Submit early, submit often!
-else
The submission period is closed now.

View file

@ -2,7 +2,9 @@
.row
.col-md-12.page-header
%h1
= "My Proposals for #{@conference.title}"
Proposals for
%span.notranslate
= @conference.title
.row
.col-md-12