Merge pull request #920 from camillem/master
Adding notranslate classes to ease translation of dynamic text
This commit is contained in:
commit
5cbf105a68
8 changed files with 32 additions and 16 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue