Changes for i18n yml
This commit is contained in:
1 parent
a04e1fd10b
commit
bdd5a1a047
170 files changed
+1213
-3715
No files matched your search
@@ -6,21 +6,21 @@
|
||||
<% end %>
|
||||
|
||||
<p>
|
||||
<%= f.label :title, t('admin.title') %>
|
||||
<%= f.label :title, t(:title) %>
|
||||
<%= f.text_field :title, :class => 'text' %>
|
||||
</p>
|
||||
<p>
|
||||
<%= f.label :author, t('admin.author') %>
|
||||
<%= f.label :author, t(:author) %>
|
||||
<%= f.text_field :author, :class => 'text' %>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<%= f.label :intro, t('admin.intro') %>
|
||||
<%= f.label :intro, t(:intro) %>
|
||||
<%= f.text_field :intro, :class => 'text' %>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<%= f.label "layout", t('admin.layout') %>
|
||||
<%= f.label "layout", t(:layout) %>
|
||||
<% if @design.layout.blank? %>
|
||||
<%= fields_for 'design[layout]' do |f| %>
|
||||
<%= f.file_field :file %>
|
||||
@@ -31,7 +31,7 @@
|
||||
<% end %>
|
||||
</p>
|
||||
<p>
|
||||
<%= f.label "default_css", t('admin.default_css') %>
|
||||
<%= f.label "default_css", t(:default_css) %>
|
||||
<% if @design.default_css.blank? %>
|
||||
<%= fields_for 'design[default_css]' do |f| %>
|
||||
<%= f.file_field :file %>
|
||||
@@ -42,7 +42,7 @@
|
||||
<% end %>
|
||||
</p>
|
||||
<p>
|
||||
<%= f.label :themes, t('admin.themes') %>
|
||||
<%= f.label :themes, t(:themes) %>
|
||||
<ul>
|
||||
<% @design.themes.each do |theme| %>
|
||||
<%= render :partial => 'design_file', :object => theme, :locals => { :field_name => "themes", :f => f, :classes => "r_destroy, r_edit" } %>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<h1><%= t('admin.new_design') %></h1>
|
||||
<h1><%= t('new.design') %></h1>
|
||||
|
||||
<%= form_for @design, :url => admin_design_path(@design),:html => {:multipart => true} do |f| %>
|
||||
<%= f.error_messages %>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<%= render_sort_bar(true, delete_admin_designs_path(:direction => params[:direction], :sort => params[:sort], :sort_options => params[:sort_options]),
|
||||
['title', 'title','span7', 'admin.title'],
|
||||
['author', 'author', 'span2', 'admin.author'],
|
||||
['intro', 'intro', 'span2', 'admin.intro']).html_safe %>
|
||||
['title', 'title','span7', :title],
|
||||
['author', 'author', 'span2', :author],
|
||||
['intro', 'intro', 'span2', :intro]).html_safe %>
|
||||
@@ -2,7 +2,7 @@
|
||||
<%= render 'admin/sites/side_bar' %>
|
||||
<% end %>
|
||||
|
||||
<h1><%= t('admin.editing_design') %></h1>
|
||||
<h1><%= t('editing.design') %></h1>
|
||||
|
||||
<%= form_for @design, :url => admin_design_path(@design),:html => {:multipart => true} do |f| %>
|
||||
<%= f.error_messages %>
|
||||
|
||||
@@ -8,5 +8,5 @@
|
||||
</table>
|
||||
|
||||
<div class="form-actions form-fixed pagination-right">
|
||||
<%= link_to content_tag(:i, nil, :class => 'icon-plus icon-white') + t('admin.add'), new_admin_design_path, :class => 'btn btn-primary pull-right' %>
|
||||
<%= link_to content_tag(:i, nil, :class => 'icon-plus icon-white') + t(:add), new_admin_design_path, :class => 'btn btn-primary pull-right' %>
|
||||
</div>
|
||||
@@ -2,7 +2,7 @@
|
||||
<%= render 'admin/sites/side_bar' %>
|
||||
<% end %>
|
||||
|
||||
<h1><%= t('admin.new_design') %></h1>
|
||||
<h1><%= t('new.design') %></h1>
|
||||
|
||||
<%= form_for :design, :url => admin_designs_path, :html => {:multipart => true} do |f| %>
|
||||
<%= f.error_messages %>
|
||||
|
||||
Reference in new issue
Block a user