[PATCH conductor] Fixed non i18n string in catalogs#new/edit form.
jzigmund at redhat.com
jzigmund at redhat.com
Tue Feb 7 17:08:33 UTC 2012
From: Jozef Zigmund <jzigmund at redhat.com>
---
src/app/views/catalogs/_form.html.haml | 2 +-
src/config/locales/en.yml | 2 ++
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/app/views/catalogs/_form.html.haml b/src/app/views/catalogs/_form.html.haml
index a1f91e7..34122d6 100644
--- a/src/app/views/catalogs/_form.html.haml
+++ b/src/app/views/catalogs/_form.html.haml
@@ -6,7 +6,7 @@
= form.text_field :name, :class => 'em long'
%p
= form.label :pool_id, t('pools.pool')
- = form.select(:pool_id, @pools.collect{|p| [p.name, p.id]}, :prompt => "Select pool")
+ = form.select(:pool_id, @pools.collect{|p| [p.name, p.id]}, :prompt => t("catalogs.form.select_pool"))
%fieldset.options
= link_to t('cancel'), catalogs_path, :class => 'button danger'
diff --git a/src/config/locales/en.yml b/src/config/locales/en.yml
index 7b809fb..048047b 100644
--- a/src/config/locales/en.yml
+++ b/src/config/locales/en.yml
@@ -669,6 +669,8 @@ en:
edit:
edit_catalog: Editing Catalog
cancel_editing: Cancel Editing
+ form:
+ select_pool: Select Pool
flash:
notice:
updated:
--
1.7.7.6
More information about the aeolus-devel
mailing list