[PATCH conductor 3/3] BZ 804620 added i18n for some fields in form of pools rev.

jzigmund at redhat.com jzigmund at redhat.com
Mon Apr 2 16:41:30 UTC 2012


From: Jozef Zigmund <jzigmund at redhat.com>

---
 src/app/views/pools/_form.html.haml |    4 ++--
 src/app/views/pools/_list.html.haml |    1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/app/views/pools/_form.html.haml b/src/app/views/pools/_form.html.haml
index 9c8211b..faf649a 100644
--- a/src/app/views/pools/_form.html.haml
+++ b/src/app/views/pools/_form.html.haml
@@ -4,10 +4,10 @@
 
   %fieldset
     %p
-      = form.label :name, :class => 'em'
+      = form.label :name, t('deployables.index.name'), :class => 'em'
       = form.text_field :name, :class => 'em long'
     %p
-      = form.label :pool_family_id
+      = form.label :pool_family_id, t('pool_families.pool_family')
       - if @pool_families
         = form.collection_select :pool_family_id, @pool_families, :id, :name
       - else
diff --git a/src/app/views/pools/_list.html.haml b/src/app/views/pools/_list.html.haml
index 5dc5e5d..4330240 100644
--- a/src/app/views/pools/_list.html.haml
+++ b/src/app/views/pools/_list.html.haml
@@ -39,6 +39,7 @@
       %td= link_to(pool.pool_family.name, pool.pool_family)
     - else
       %td= pool.pool_family.name
+
 %script#poolTemplate{ :type => 'text/x-jquery-tmpl' }
   :plain
     <tr>
-- 
1.7.7.6




More information about the aeolus-devel mailing list