Commit 51717a46987bde1e2576a0fe64d2968938a84f7f
1 parent
972acdcb
Exists in
master
and in
29 other branches
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 | 1 | # Region is a special type of category that is related to geographical issues. |
| 2 | 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 | 7 | # searches for organizations that could become validators for this region. |
| 6 | 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 "" |
| 13 | 13 | msgstr "" |
| 14 | 14 | "Project-Id-Version: noosfero 0.11.0\n" |
| 15 | 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 | 17 | "Last-Translator: Joenio Costa <joenio@colivre.coop.br>\n" |
| 18 | 18 | "Language-Team: LANGUAGE <LL@li.org>\n" |
| 19 | 19 | "MIME-Version: 1.0\n" |
| ... | ... | @@ -1481,7 +1481,7 @@ msgstr "Endereço: %s" |
| 1481 | 1481 | |
| 1482 | 1482 | #: app/models/create_enterprise.rb:155 |
| 1483 | 1483 | msgid "Legal form: %s" |
| 1484 | -msgstr "Formulário Legal: %s" | |
| 1484 | +msgstr "Forma legal: %s" | |
| 1485 | 1485 | |
| 1486 | 1486 | #: app/models/create_enterprise.rb:156 |
| 1487 | 1487 | msgid "Foundation Year: %d" | ... | ... |