Changes for i18n yml

This commit is contained in:
Christophe Vilayphiou committed 2012-09-12 19:12:50 +08:00
1 parent a579e16109
commit 8b2bc207de
171 files changed
+1215 -3717

No files matched your search

@@ -5,7 +5,7 @@
<div class="quick-edit">
<ul class="nav nav-pills hide">
<%if is_manager? || is_admin? || page_context.authed_users(:edit).include?(current_user)%>
<li><%= link_to t('admin.page_context.edit'), edit_panel_page_content_back_end_page_context_path(page_context) %></li>
<li><%= link_to t(:edit), edit_panel_page_content_back_end_page_context_path(page_context) %></li>
<%if (is_manager? || is_admin?) %>
<li><%=show_page_context_edit_auth_link page_context%></li>
<% end%>
@@ -1,4 +1,4 @@
<%= render_sort_bar(false, nil, ['name', 'page','span7', 'page_context.name'],
['version', 'version', 'span2', 'page_context.version'],
['update_time', 'updated_at', 'span2', 'page_context.update_time'],
['last_modified', 'update_user_id', 'span2', 'page_context.last_modified']).html_safe %>
<%= render_sort_bar(false, nil, ['name', 'page','span7', :name],
['version', 'version', 'span2', :version],
['update_time', 'updated_at', 'span2', :update_at],
['last_modified', 'update_user_id', 'span2', :last_modified]).html_safe %>
@@ -5,7 +5,7 @@
<%= view_page_context.page.title %>
<div class="quick-edit">
<ul class="nav nav-pills hide">
<li><%= link_to t('view_page_context.show'), panel_page_content_back_end_page_context_path(view_page_context) %></li>
<li><%= link_to t(:show), panel_page_content_back_end_page_context_path(view_page_context) %></li>
</ul>
</div>
</td>
@@ -8,7 +8,7 @@
<ul>
<li>
<b><%= t('page_content.name') %></b>
<b><%= t(:name) %></b>
<%= @page_context.page.title %>
</li>
<li>
@@ -16,11 +16,11 @@
<%= @page_context.context.html_safe rescue '' %>
</li>
<li>
<b><%= t('page_content.張貼者') %></b>
<b><%= t(:posted_by) %></b>
<%= User.find(@page_context.create_user_id).name %>
</li>
<li>
<b><%= t('page_content.最後修改時間') %></b>
<b><%= t(:last_modified) %></b>
<%= display_date(@page_context.updated_at) %>
</li>
@@ -4,10 +4,10 @@
<table class="table main-list">
<thead>
<tr>
<th class="span7 select"><%= t('page_context.name') %></th>
<th class="span1-2"><%= t('page_context.version') %></th>
<th class="span1-2"><%= t('page_context.update_time') %></th>
<th class="span1-2"><%= t('page_context.last_modified') %></th>
<th class="span7 select"><%= t(:name) %></th>
<th class="span1-2"><%= t(:version) %></th>
<th class="span1-2"><%= t(:update_at) %></th>
<th class="span1-2"><%= t(:last_modified) %></th>
</tr>
</thead>
<tbody>