mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Adding .notranslate classes to haml files to have transifex better handling dynamic text. See issue #908
This commit is contained in:
parent
ac7149fbe5
commit
d11ea33cf0
7 changed files with 26 additions and 16 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -4,7 +4,8 @@
|
|||
%h2.text-center
|
||||
Program
|
||||
%p.lead.text-center
|
||||
= @conference.short_title
|
||||
%span.notranslate
|
||||
= @conference.short_title
|
||||
has the most awesome program ever!
|
||||
- if @conference.splashpage and @conference.program.tracks.any? and @conference.splashpage.include_tracks
|
||||
See rock-star speakers cover the topics of
|
||||
|
|
|
|||
|
|
@ -8,7 +8,8 @@
|
|||
%h2 Sponsors
|
||||
%p.lead
|
||||
whom without,
|
||||
= @conference.short_title
|
||||
%span.notranslate
|
||||
= @conference.short_title
|
||||
wouldn't be possible!
|
||||
- @conference.sponsorship_levels.each do |sponsorship_level|
|
||||
-if sponsorship_level.sponsors.any?
|
||||
|
|
|
|||
|
|
@ -11,7 +11,8 @@
|
|||
%p.text-right
|
||||
%button{ type: 'button', class: 'btn btn-link btn-sm', 'data-toggle' => 'collapse', 'data-target' => '#antiquated', 'aria-expanded' => 'true', 'aria-controls' => 'antiquated'}
|
||||
Older conferences
|
||||
= "(#{@antiquated.count})"
|
||||
%span.notranslate
|
||||
= "(#{@antiquated.count})"
|
||||
%i.fa.fa-chevron-right
|
||||
%i.fa.fa-chevron-down{ style: 'display: none' }
|
||||
#antiquated.collapse
|
||||
|
|
|
|||
|
|
@ -37,7 +37,8 @@
|
|||
= link_to(admin_conference_path(@conference.short_title)) do
|
||||
%span.fa.fa-cog
|
||||
Manage
|
||||
= @conference.short_title
|
||||
%span.notranslate
|
||||
= @conference.short_title
|
||||
- if can? :manage, User.new
|
||||
%li
|
||||
= link_to(admin_users_path) do
|
||||
|
|
|
|||
|
|
@ -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