Commit 51717a46987bde1e2576a0fe64d2968938a84f7f

Authored by MoisesMachado
1 parent 972acdcb

ActionItem681: fixed

git-svn-id: https://svn.colivre.coop.br/svn/noosfero/branches/0.11.x@2512 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 2 changed files with 5 additions and 3 deletions   Show diff stats
app/models/region.rb
1 # Region is a special type of category that is related to geographical issues. 1 # Region is a special type of category that is related to geographical issues.
2 class Region < Category 2 class Region < Category
3 - has_and_belongs_to_many :validators, :class_name => Organization.name, :join_table => :region_validators 3 + has_and_belongs_to_many :validators, :class_name => 'Organization', :join_table => :region_validators
  4 +
  5 + require_dependency 'enterprise' # enterprises can also be validators
4 6
5 # searches for organizations that could become validators for this region. 7 # searches for organizations that could become validators for this region.
6 # <tt>search</tt> is passed as is to ferret's find_by_contents on Organizatio 8 # <tt>search</tt> is passed as is to ferret's find_by_contents on Organizatio
po/pt_BR/noosfero.po
@@ -13,7 +13,7 @@ msgid &quot;&quot; @@ -13,7 +13,7 @@ msgid &quot;&quot;
13 msgstr "" 13 msgstr ""
14 "Project-Id-Version: noosfero 0.11.0\n" 14 "Project-Id-Version: noosfero 0.11.0\n"
15 "POT-Creation-Date: 2008-09-10 12:05-0300\n" 15 "POT-Creation-Date: 2008-09-10 12:05-0300\n"
16 -"PO-Revision-Date: 2008-09-10 12:41-0300\n" 16 +"PO-Revision-Date: 2008-09-11 18:09-0300\n"
17 "Last-Translator: Joenio Costa <joenio@colivre.coop.br>\n" 17 "Last-Translator: Joenio Costa <joenio@colivre.coop.br>\n"
18 "Language-Team: LANGUAGE <LL@li.org>\n" 18 "Language-Team: LANGUAGE <LL@li.org>\n"
19 "MIME-Version: 1.0\n" 19 "MIME-Version: 1.0\n"
@@ -1481,7 +1481,7 @@ msgstr &quot;Endereço: %s&quot; @@ -1481,7 +1481,7 @@ msgstr &quot;Endereço: %s&quot;
1481 1481
1482 #: app/models/create_enterprise.rb:155 1482 #: app/models/create_enterprise.rb:155
1483 msgid "Legal form: %s" 1483 msgid "Legal form: %s"
1484 -msgstr "Formulário Legal: %s" 1484 +msgstr "Forma legal: %s"
1485 1485
1486 #: app/models/create_enterprise.rb:156 1486 #: app/models/create_enterprise.rb:156
1487 msgid "Foundation Year: %d" 1487 msgid "Foundation Year: %d"