Skip to content

Commit

Permalink
修改 翻譯
Browse files Browse the repository at this point in the history
  • Loading branch information
xdite committed Nov 26, 2011
1 parent 9785a0c commit 36d98e1
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion app/views/cpanel/pages/index.html.erb
Expand Up @@ -24,7 +24,7 @@
<td><%= page.version %></td>
<td>
<%= link_to '版本历史', cpanel_page_versions_path(page.id) %>
<%= link_to '修改', edit_cpanel_page_path(page) %>
<%= link_to t("common.edit"), edit_cpanel_page_path(page) %>
<%= link_to '删除', cpanel_page_path(page), :confirm => 'Are you sure?', :method => :delete %></td>
</tr>
<% end %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/cpanel/posts/edit.html.erb
@@ -1,5 +1,5 @@
<% content_for :sitemap do %>
<a href="<%= cpanel_posts_path %>">帖子</a> &gt; <span class="current">修改</span>
<a href="<%= cpanel_posts_path %>">帖子</a> &gt; <span class="current"><%= t("common.edit") %></span>
<% end %>
<h1>Editing post</h1>

Expand Down
2 changes: 1 addition & 1 deletion app/views/cpanel/posts/index.html.erb
Expand Up @@ -20,7 +20,7 @@
<td><%= post.user.login if post.user %></td>
<td><%= l post.created_at,:format => :short %></td>
<td><%= render_post_state_s(post) %></td>
<td><%= link_to "修改", edit_cpanel_post_path(post) %>
<td><%= link_to t("common.edit"), edit_cpanel_post_path(post) %>
<%= link_to "删除", cpanel_post_path(post), :confirm => "Are you sure?", :method => :delete %></td>
</tr>
<% end %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/cpanel/replies/edit.html.erb
@@ -1,5 +1,5 @@
<% content_for :sitemap do %>
<a href="<%= cpanel_replies_path %>">回复</a> &gt; <span class="current">修改</span>
<a href="<%= cpanel_replies_path %>">回复</a> &gt; <span class="current"><%= t("common.edit") %></span>
<% end %>
<h1>Editing reply</h1>
<%= render 'form' %>
2 changes: 1 addition & 1 deletion app/views/cpanel/replies/index.html.erb
Expand Up @@ -27,7 +27,7 @@
<% end %>
<td><%= reply.user.login if reply.user %></td>
<td><%= l reply.created_at, :format => :short %></td>
<td><%= link_to '修改', edit_cpanel_reply_path(reply) %>
<td><%= link_to t("common.edit"), edit_cpanel_reply_path(reply) %>
<%= link_to '删除', cpanel_reply_path(reply), :confirm => 'Are you sure?', :method => :delete %></td>
</tr>
<% end %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/topics/_reply.html.erb
Expand Up @@ -5,7 +5,7 @@
<span class="name"><%= user_name_tag(item.user) %></span>
<span class="time"><%= i + 1 %>楼, 回复于 <%= timeago(item.created_at) %>
<% if owner?(item) %>
<%= link_to("修改", edit_reply_path(item))%>
<%= link_to(t("common.edit"), edit_reply_path(item))%>
<% end %>
<%= link_to(image_tag("reply.png"), "#",
:onclick => "return Topics.reply(#{i+1},'#{item.user.login}' );",
Expand Down
2 changes: 1 addition & 1 deletion app/views/topics/edit.html.erb
@@ -1,6 +1,6 @@
<%= render "base" %>
<% content_for :sitemap do %>
<li class="active">修改</li>
<li class="active"><%= t("common.edit") %></li>
<% end %>

<div class="sidebar">
Expand Down
2 changes: 1 addition & 1 deletion app/views/topics/show.html.erb
Expand Up @@ -27,7 +27,7 @@

<div class="tools pull-right">
<% if owner?(@topic) %>
<%= link_to("修改", edit_topic_path(@topic), :class => "label success" )%>
<%= link_to(t("common.edit"), edit_topic_path(@topic), :class => "label success" )%>
<%= link_to "删除", topic_path(@topic.id), :method => :delete, :confirm => "确定要删除么?", :class => "label important" %>
<% end %>
</div>
Expand Down

0 comments on commit 36d98e1

Please sign in to comment.