diff --git a/app/models/region.rb b/app/models/region.rb index a8693c1..4d0f52f 100644 --- a/app/models/region.rb +++ b/app/models/region.rb @@ -1,6 +1,8 @@ # Region is a special type of category that is related to geographical issues. class Region < Category - has_and_belongs_to_many :validators, :class_name => Organization.name, :join_table => :region_validators + has_and_belongs_to_many :validators, :class_name => 'Organization', :join_table => :region_validators + + require_dependency 'enterprise' # enterprises can also be validators # searches for organizations that could become validators for this region. # search is passed as is to ferret's find_by_contents on Organizatio diff --git a/po/pt_BR/noosfero.po b/po/pt_BR/noosfero.po index 69c25c2..11982df 100644 --- a/po/pt_BR/noosfero.po +++ b/po/pt_BR/noosfero.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: noosfero 0.11.0\n" "POT-Creation-Date: 2008-09-10 12:05-0300\n" -"PO-Revision-Date: 2008-09-10 12:41-0300\n" +"PO-Revision-Date: 2008-09-11 18:09-0300\n" "Last-Translator: Joenio Costa \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" @@ -1481,7 +1481,7 @@ msgstr "Endereço: %s" #: app/models/create_enterprise.rb:155 msgid "Legal form: %s" -msgstr "Formulário Legal: %s" +msgstr "Forma legal: %s" #: app/models/create_enterprise.rb:156 msgid "Foundation Year: %d" -- libgit2 0.21.2