Skip to content

Commit

Permalink
Make CD/DVD strings easier to translate
Browse files Browse the repository at this point in the history
  • Loading branch information
miska committed Feb 15, 2013
1 parent 75d1c7d commit f788937
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/main/release.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@
<% end %>
<% if @isos["gnome-32"] %>
<% livecd = ( @isos["gnome-32"].match(/.*-LiveCD-.*/) ? "CD" : "DVD" ) %>
<%= render(:partial => "change_install", :locals => { :medium => "gnome", :shorttext => _("Live GNOME"), :longtext => _("A GNOME desktop you can run from #{livecd} or from USB stick.<br/>Can be installed as is (no upgrade).") }) %>
<%= render(:partial => "change_install", :locals => { :medium => "gnome", :shorttext => _("Live GNOME"), :longtext => _("A GNOME desktop you can run from %s or from USB stick.<br/>Can be installed as is (no upgrade)." % [livecd]) }) %>
<% end %>
<% if @isos["kde-32"] %>
<% livecd = ( @isos["kde-32"].match(/.*-LiveCD-.*/) ? "CD" : "DVD" ) %>
<%= render(:partial => "change_install", :locals => { :medium => "kde", :shorttext => _("Live KDE"), :longtext => _("A KDE desktop you can run from #{livecd} or from USB stick.<br/>Can be installed as is (no upgrade).") }) %>
<%= render(:partial => "change_install", :locals => { :medium => "kde", :shorttext => _("Live KDE"), :longtext => _("A KDE desktop you can run from %s or from USB stick.<br/>Can be installed as is (no upgrade)." % [livecd] ) }) %>
<% end %>
<% if @isos["rescue-32"] %>
<%= render(:partial => "change_install", :locals => { :medium => "rescue", :shorttext => _("Rescue"), :longtext => _("Rescue system that you can run from CD or from USB stick.<br/>Can not be used for neither installation nor upgrade.") }) %>
Expand Down

0 comments on commit f788937

Please sign in to comment.