Fix some translation bug
This commit is contained in:
parent
7a8f1105eb
commit
6935695d9b
|
@ -433,6 +433,8 @@ module OrbitBackendHelper
|
||||||
res << "<li class='active'>#{t(:search_engine)}</li>"
|
res << "<li class='active'>#{t(:search_engine)}</li>"
|
||||||
when 'site_info'
|
when 'site_info'
|
||||||
res << "<li class='active'>#{t(:site_info)}</li>"
|
res << "<li class='active'>#{t(:site_info)}</li>"
|
||||||
|
when 'update_manager'
|
||||||
|
res << "<li class='active'>#{t(:update_manager)}</li>"
|
||||||
end
|
end
|
||||||
when 'items'
|
when 'items'
|
||||||
res << "<li class='active'>#{t(:structure)}</li>"
|
res << "<li class='active'>#{t(:structure)}</li>"
|
||||||
|
|
|
@ -84,7 +84,7 @@
|
||||||
<span>
|
<span>
|
||||||
<input type="text" name="site[phone_number][<%= i %>][title]" value="<%= phone['title'] %>">
|
<input type="text" name="site[phone_number][<%= i %>][title]" value="<%= phone['title'] %>">
|
||||||
<input type="text" name="site[phone_number][<%= i %>][number]" value="<%= phone['number'] %>">
|
<input type="text" name="site[phone_number][<%= i %>][number]" value="<%= phone['number'] %>">
|
||||||
<a class="btn btn-small btn-danger delete_phone_number" href="#" onclick="$(this).parent().remove();"><i class="icon-trash"></i> <%= t(:delete) %></a>
|
<a class="btn btn-small btn-danger delete_phone_number" href="#" onclick="$(this).parent().remove();"><i class="icon-trash"></i> <%= t(:delete_) %></a>
|
||||||
</span>
|
</span>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
@ -126,7 +126,7 @@
|
||||||
<span style='line-height: 40px; display: block;'>
|
<span style='line-height: 40px; display: block;'>
|
||||||
<input id="site_phone_number_title" name="site[phone_number][][title]" placeholder="<%= t(:name) %>" size="30" type="text" value="">
|
<input id="site_phone_number_title" name="site[phone_number][][title]" placeholder="<%= t(:name) %>" size="30" type="text" value="">
|
||||||
<input id="site_phone_number_number" name="site[phone_number][][number]" placeholder="<%= t(:phone_number) %>" size="30" type="text" value="">
|
<input id="site_phone_number_number" name="site[phone_number][][number]" placeholder="<%= t(:phone_number) %>" size="30" type="text" value="">
|
||||||
<a class="btn btn-small btn-danger delete_phone_number" href="#" onclick="$(this).parent().remove();"><i class="icon-trash"></i> <%= t(:delete) %></a>
|
<a class="btn btn-small btn-danger delete_phone_number" href="#" onclick="$(this).parent().remove();"><i class="icon-trash"></i> <%= t(:delete_) %></a>
|
||||||
</span>
|
</span>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue