diff --git a/app/helpers/forms_helper.rb b/app/helpers/forms_helper.rb
index a623c01..4e60496 100644
--- a/app/helpers/forms_helper.rb
+++ b/app/helpers/forms_helper.rb
@@ -15,7 +15,8 @@ module FormsHelper
def labelled_check_box( human_name, name, value = "1", checked = false, options = {} )
options[:id] ||= 'checkbox-' + FormsHelper.next_id_number
check_box_tag( name, value, checked, options ) +
- content_tag( 'label', human_name, :for => options[:id] )
+ content_tag( 'label', human_name, :for => options[:id] ) +
+ hidden_field_tag(name, '0')
end
def labelled_text_field( human_name, name, value=nil, options={} )
diff --git a/app/views/profile_editor/_organization.rhtml b/app/views/profile_editor/_organization.rhtml
index 7b36308..83a9779 100644
--- a/app/views/profile_editor/_organization.rhtml
+++ b/app/views/profile_editor/_organization.rhtml
@@ -60,7 +60,7 @@
<%= render :partial => 'shared/custom_fields', :locals => { :f => f, :object_name => 'profile_data', :profile => @profile, :only_required => false } %>
- <%= f.check_box(:enable_contact_us) if @profile.enterprise? %>
+ <%= labelled_check_box(_('Enable "contact us"'), 'profile_data[enable_contact_us]', "1", @profile.enable_contact_us) if @profile.enterprise? %>
<%= _('Moderation options') %>
diff --git a/po/bg/noosfero.po b/po/bg/noosfero.po
index 1af05b7..70cdf9c 100644
--- a/po/bg/noosfero.po
+++ b/po/bg/noosfero.po
@@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Project-Id-Version: noosfero 0.19.0\n"
-"POT-Creation-Date: 2009-08-03 12:50-0300\n"
+"POT-Creation-Date: 2009-08-03 13:06-0300\n"
"PO-Revision-Date: 2007-08-30 18:47-0300\n"
"Last-Translator: FULL NAME
\n"
"Language-Team: LANGUAGE \n"
@@ -5072,6 +5072,10 @@ msgid ""
"the homepage or to content inside it. Do you really want to change? "
msgstr ""
+#: app/views/profile_editor/_organization.rhtml:63
+msgid "Enable \"contact us\""
+msgstr ""
+
#: app/views/profile_editor/_organization.rhtml:65
msgid "Moderation options"
msgstr ""
diff --git a/po/de/noosfero.po b/po/de/noosfero.po
index 1af05b7..70cdf9c 100644
--- a/po/de/noosfero.po
+++ b/po/de/noosfero.po
@@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Project-Id-Version: noosfero 0.19.0\n"
-"POT-Creation-Date: 2009-08-03 12:50-0300\n"
+"POT-Creation-Date: 2009-08-03 13:06-0300\n"
"PO-Revision-Date: 2007-08-30 18:47-0300\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
@@ -5072,6 +5072,10 @@ msgid ""
"the homepage or to content inside it. Do you really want to change? "
msgstr ""
+#: app/views/profile_editor/_organization.rhtml:63
+msgid "Enable \"contact us\""
+msgstr ""
+
#: app/views/profile_editor/_organization.rhtml:65
msgid "Moderation options"
msgstr ""
diff --git a/po/es/noosfero.po b/po/es/noosfero.po
index 1af05b7..70cdf9c 100644
--- a/po/es/noosfero.po
+++ b/po/es/noosfero.po
@@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Project-Id-Version: noosfero 0.19.0\n"
-"POT-Creation-Date: 2009-08-03 12:50-0300\n"
+"POT-Creation-Date: 2009-08-03 13:06-0300\n"
"PO-Revision-Date: 2007-08-30 18:47-0300\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
@@ -5072,6 +5072,10 @@ msgid ""
"the homepage or to content inside it. Do you really want to change? "
msgstr ""
+#: app/views/profile_editor/_organization.rhtml:63
+msgid "Enable \"contact us\""
+msgstr ""
+
#: app/views/profile_editor/_organization.rhtml:65
msgid "Moderation options"
msgstr ""
diff --git a/po/fr/noosfero.po b/po/fr/noosfero.po
index 3856521..5fbb538 100644
--- a/po/fr/noosfero.po
+++ b/po/fr/noosfero.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: noosfero 0.19.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-08-03 12:50-0300\n"
+"POT-Creation-Date: 2009-08-03 13:06-0300\n"
"PO-Revision-Date: 2008-06-13 16:15-0300\n"
"Last-Translator: Raphael Rousseau \n"
"Language-Team: LANGUAGE \n"
@@ -5433,6 +5433,11 @@ msgid ""
"the homepage or to content inside it. Do you really want to change? "
msgstr ""
+#: app/views/profile_editor/_organization.rhtml:63
+#, fuzzy
+msgid "Enable \"contact us\""
+msgstr "Gérer les contacts."
+
#: app/views/profile_editor/_organization.rhtml:65
msgid "Moderation options"
msgstr "Options de modération"
diff --git a/po/hy/noosfero.po b/po/hy/noosfero.po
index 848217d..e07a982 100644
--- a/po/hy/noosfero.po
+++ b/po/hy/noosfero.po
@@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Project-Id-Version: noosfero 0.19.0\n"
-"POT-Creation-Date: 2009-08-03 12:50-0300\n"
+"POT-Creation-Date: 2009-08-03 13:06-0300\n"
"PO-Revision-Date: 2009-07-11 17:27-0300\n"
"Last-Translator: Anahit Minassian \n"
"Language-Team: LANGUAGE \n"
@@ -5523,6 +5523,32 @@ msgid ""
"the homepage or to content inside it. Do you really want to change? "
msgstr ""
+#: app/views/profile_editor/_organization.rhtml:63
+#, fuzzy
+msgid "Enable \"contact us\""
+msgstr ""
+"#-#-#-#-# noosfero.po.REMOTE.16110.po (noosfero 0.18.4) #-#-#-#-#\n"
+"#-#-#-#-# noosfero.po.LOCAL.16110.po (noosfero 0.18.4) #-#-#-#-#\n"
+"#-#-#-#-# noosfero.po.REMOTE.9201.po (noosfero 0.16.0) #-#-#-#-#\n"
+"#-#-#-#-# noosfero.po.LOCAL.9201.po (noosfero 0.15.0) #-#-#-#-#\n"
+"#-#-#-#-# noosfero.po.REMOTE.17090.po (noosfero 0.15.0) #-#-#-#-#\n"
+"#-#-#-#-# noosfero.po.LOCAL.17090.po (noosfero 0.15.0) #-#-#-#-#\n"
+"#-#-#-#-# noosfero.po.REMOTE.26849.po (noosfero 0.15.0) #-#-#-#-#\n"
+"#-#-#-#-# noosfero.po.LOCAL.26849.po (noosfero 0.14.0) #-#-#-#-#\n"
+"#-#-#-#-# noosfero.po.REMOTE.21532.po (noosfero 0.14.0) #-#-#-#-#\n"
+"#-#-#-#-# noosfero.po.LOCAL.21532.po (noosfero 0.13.0) #-#-#-#-#\n"
+"#-#-#-#-# noosfero.po.REMOTE.8544.po (noosfero 0.13.0) #-#-#-#-#\n"
+"#-#-#-#-# noosfero.po.LOCAL.8544.po (noosfero 0.13.0) #-#-#-#-#\n"
+"#-#-#-#-# noosfero.po.REMOTE.17206.po (noosfero 0.13.0) #-#-#-#-#\n"
+"#-#-#-#-# noosfero.po.LOCAL.17206.po (noosfero 0.13.0) #-#-#-#-#\n"
+"#-#-#-#-# noosfero.po.REMOTE.9928.po (noosfero 0.13.0) #-#-#-#-#\n"
+"#-#-#-#-# noosfero.po.LOCAL.9928.po (noosfero 0.13.0) #-#-#-#-#\n"
+"#-#-#-#-# noosfero.po.REMOTE.21758.po (noosfero 0.13.0) #-#-#-#-#\n"
+"#-#-#-#-# noosfero.po.LOCAL.21758.po (noosfero 0.13.0) #-#-#-#-#\n"
+"#-#-#-#-# noosfero.po.REMOTE.25844.po (noosfero 0.13.0) #-#-#-#-#\n"
+"#-#-#-#-# noosfero.po.LOCAL.25844.po (noosfero 0.11.0) #-#-#-#-#\n"
+"Կապ պահպանող անձ"
+
#: app/views/profile_editor/_organization.rhtml:65
msgid "Moderation options"
msgstr "Կառավարման հատկություններ"
diff --git a/po/it/noosfero.po b/po/it/noosfero.po
index 1af05b7..70cdf9c 100644
--- a/po/it/noosfero.po
+++ b/po/it/noosfero.po
@@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Project-Id-Version: noosfero 0.19.0\n"
-"POT-Creation-Date: 2009-08-03 12:50-0300\n"
+"POT-Creation-Date: 2009-08-03 13:06-0300\n"
"PO-Revision-Date: 2007-08-30 18:47-0300\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
@@ -5072,6 +5072,10 @@ msgid ""
"the homepage or to content inside it. Do you really want to change? "
msgstr ""
+#: app/views/profile_editor/_organization.rhtml:63
+msgid "Enable \"contact us\""
+msgstr ""
+
#: app/views/profile_editor/_organization.rhtml:65
msgid "Moderation options"
msgstr ""
diff --git a/po/nl/noosfero.po b/po/nl/noosfero.po
index 1af05b7..70cdf9c 100644
--- a/po/nl/noosfero.po
+++ b/po/nl/noosfero.po
@@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Project-Id-Version: noosfero 0.19.0\n"
-"POT-Creation-Date: 2009-08-03 12:50-0300\n"
+"POT-Creation-Date: 2009-08-03 13:06-0300\n"
"PO-Revision-Date: 2007-08-30 18:47-0300\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
@@ -5072,6 +5072,10 @@ msgid ""
"the homepage or to content inside it. Do you really want to change? "
msgstr ""
+#: app/views/profile_editor/_organization.rhtml:63
+msgid "Enable \"contact us\""
+msgstr ""
+
#: app/views/profile_editor/_organization.rhtml:65
msgid "Moderation options"
msgstr ""
diff --git a/po/noosfero.pot b/po/noosfero.pot
index 8130be4..7d49f3a 100644
--- a/po/noosfero.pot
+++ b/po/noosfero.pot
@@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Project-Id-Version: noosfero 0.19.0\n"
-"POT-Creation-Date: 2009-08-03 12:50-0300\n"
+"POT-Creation-Date: 2009-08-03 13:06-0300\n"
"PO-Revision-Date: 2007-08-30 18:47-0300\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
@@ -5072,6 +5072,10 @@ msgid ""
"the homepage or to content inside it. Do you really want to change? "
msgstr ""
+#: app/views/profile_editor/_organization.rhtml:63
+msgid "Enable \"contact us\""
+msgstr ""
+
#: app/views/profile_editor/_organization.rhtml:65
msgid "Moderation options"
msgstr ""
diff --git a/po/pt_BR/noosfero.po b/po/pt_BR/noosfero.po
index fe01ef4..09cce81 100644
--- a/po/pt_BR/noosfero.po
+++ b/po/pt_BR/noosfero.po
@@ -12,8 +12,8 @@
msgid ""
msgstr ""
"Project-Id-Version: noosfero 0.19.0\n"
-"POT-Creation-Date: 2009-08-03 12:50-0300\n"
-"PO-Revision-Date: 2009-08-03 12:51-0300\n"
+"POT-Creation-Date: 2009-08-03 13:06-0300\n"
+"PO-Revision-Date: 2009-08-03 13:20-0300\n"
"Last-Translator: Joenio Costa \n"
"Language-Team: LANGUAGE \n"
"MIME-Version: 1.0\n"
@@ -4530,7 +4530,7 @@ msgstr "Entrar nessa comunidade"
#: app/views/blocks/profile_info_actions/community.rhtml:16
#: app/views/blocks/profile_info_actions/enterprise.rhtml:8
msgid "Contact us"
-msgstr "Contacte-nos"
+msgstr "Fale conosco"
#: app/views/blocks/profile_info_actions/person.rhtml:5
msgid "Add friend"
@@ -5243,6 +5243,10 @@ msgstr ""
"Você está prestes a alterar o endereço, e isto vai quebrar links externos "
"para a homepage ou para conteúdo dentro dela. Você quer realmente mudar?"
+#: app/views/profile_editor/_organization.rhtml:63
+msgid "Enable \"contact us\""
+msgstr "Habilitar \"fale conosco\""
+
#: app/views/profile_editor/_organization.rhtml:65
msgid "Moderation options"
msgstr "Opções de moderação"
--
libgit2 0.21.2