Adding .notranslate classes to haml files to have transifex better handling dynamic text. See issue #908

This commit is contained in:
CamilleM 2016-03-26 23:32:43 +01:00
parent ac7149fbe5
commit d11ea33cf0
7 changed files with 26 additions and 16 deletions

View file

@ -14,23 +14,26 @@
%p
- if @program.event_types.any?
You can submit proposals for
= "#{event_types(@conference)}."
%span.notranslate
= "#{event_types(@conference)}."
- if @program.tracks.any?
Proposals should fit in one of the
= "#{pluralize(@program.tracks.count, 'track')}:"
= "#{tracks(@conference)}."
%span.notranslate
= "#{pluralize(@program.tracks.count, 'track')}:"
= "#{tracks(@conference)}."
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.')
- if @program.cfp_open?
That means you have only
%b= pluralize(@program.cfp.remaining_days, 'day')
%b.notranslate= pluralize(@program.cfp.remaining_days, 'day')
left!
Remember
= @conference.short_title
%span.notranslate
= @conference.short_title
will only be as good as the sessions you present. Submit early, submit often!
- else
The submission period is closed.