some translations changes

This commit is contained in:
Harry Bomrah 2016-01-05 20:15:24 +08:00
parent 62a05edc05
commit 9683dac6eb
1 changed files with 2 additions and 1 deletions

View File

@ -57,6 +57,7 @@
<%= f.label :size, t('ad_banner.size'), :class => "control-label muted" %>
<div class="controls">
<%= f.number_field :base_image, in: 1..(@ad_banner.new_record? ? 1 : (@ad_banner.ad_images.count == 0 ? 1 : @ad_banner.ad_images.count)), class: 'input-mini', onkeypress: "if (event.keyCode < 48 || event.keyCode > 57) event.returnValue = false;" %>
<span class="help-block">Base Image</span>
</div>
</div>
<!-- Category -->
@ -68,7 +69,7 @@
</div>
<!-- effect -->
<div class="control-group">
<%= f.label :size, t('ad_banner.size'), :class => "control-label muted" %>
<%= f.label :size, t('ad_banner.effect'), :class => "control-label muted" %>
<div class="controls">
<%= f.select :ad_fx, Banner::FX_TYPES, {}, {class: 'ad_banner_ad_fx', id: 'ad_fx'} %>
<p class="suckIE hide"><i class="icons-warning"></i> <%= t('ad_banner.no_ie_10_effect_support') %></p>