[PATCH conductor] BZ797713 added missing translation in edit deployable page
jtomasek at redhat.com
jtomasek at redhat.com
Mon Feb 27 10:20:13 UTC 2012
From: Jiri Tomasek <jtomasek at redhat.com>
---
src/app/views/deployables/edit.html.haml | 4 ++--
src/config/locales/en.yml | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/app/views/deployables/edit.html.haml b/src/app/views/deployables/edit.html.haml
index 783e910..6458602 100644
--- a/src/app/views/deployables/edit.html.haml
+++ b/src/app/views/deployables/edit.html.haml
@@ -2,9 +2,9 @@
%header.admin-page-header
%h1{:class => controller.controller_name}= @deployable.name
#obj_actions.button-container
- = link_to 'New Deployable', new_polymorphic_path([@catalog, @deployable]), :class => 'button primary', :id => 'new_deployable_button'
+ = link_to t('catalog_entries.new_catalog_entry'), new_polymorphic_path([@catalog, @deployable]), :class => 'button primary', :id => 'new_deployable_button'
.button-group
- = link_to 'Cancel Editing', polymorphic_path([@catalog, Deployable]), :class => 'button pill danger', :id => 'new_deployable_button'
+ = link_to t('catalog_entries.edit.cancel_editing'), polymorphic_path([@catalog, Deployable]), :class => 'button pill danger', :id => 'new_deployable_button'
%section.admin-content-section.user
%header
diff --git a/src/config/locales/en.yml b/src/config/locales/en.yml
index 126130c..ed94a0f 100644
--- a/src/config/locales/en.yml
+++ b/src/config/locales/en.yml
@@ -670,6 +670,7 @@ en:
start: Start
edit:
editing_catalog_entry: Editing Deployable
+ cancel_editing: Cancel Editing
list:
catalog_entries_list: Deployables List
flash:
--
1.7.7.6
More information about the aeolus-devel
mailing list