Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added translations for revisions#show view.

  • Loading branch information...
commit ad1e46bb72bbd47a678186502425099c30025387 1 parent 0202f00
@mateusg mateusg authored
View
6 app/views/cms_admin/revisions/show.html.erb
@@ -13,16 +13,16 @@
<%= comfy_form_for @revision, :url => {:action => :revert} do |form| %>
<%= form.simple_field do %>
<div class='current'>
- <div class='title'>Current</div>
+ <div class='title'><%= t('.current') %></div>
</div>
<div class='versioned'>
- <div class='title'><%= @revision.created_at %></div>
+ <div class='title'><%= l(@revision.created_at) %></div>
</div>
<% end %>
<% @current_content.each do |label, content| %>
- <%= form.simple_field label do %>
+ <%= form.simple_field Cms::Layout.human_attribute_name(label) do %>
<div class='current'>
<div class='content'><%= content %></div>
</div>
View
1  config/locales/en.yml
@@ -190,6 +190,7 @@ en:
full_path: Full Path
slug: Slug
update: Update to this Revision
+ current: Current
files:
index:
View
1  config/locales/es.yml
@@ -190,6 +190,7 @@ es:
full_path: Ruta completa
slug: Identificador
update: Actualizar a esta versión
+ current: Corriente
files:
index:
View
1  config/locales/ja.yml
@@ -190,6 +190,7 @@ ja:
full_path: フルパス
slug: スラッグ
update: このリビジョンに更新
+ current: Current
files:
index:
View
1  config/locales/pt-BR.yml
@@ -190,6 +190,7 @@ pt-BR:
full_path: Caminho completo
slug: Identificador
update: Atualizar para esta revisão
+ current: Atual
files:
index:
View
1  config/locales/zh-CN.yml
@@ -190,6 +190,7 @@ zh-CN:
full_path: 全路径
slug: 嵌条
update: 更新到该修订版本
+ current: Current
files:
index:
Please sign in to comment.
Something went wrong with that request. Please try again.