tag with class 'formfield'
def display_form_field(label, html_for_field)
- content_tag('div', content_tag('div', content_tag('label', label)) +html_for_field, :class => 'formfield')
+ content_tag('div', content_tag('div', content_tag('label', label)) + html_for_field, :class => 'formfield')
+ end
+
+ def display_submit_tag(label)
+ content_tag('p', submit_tag( label, :class => 'submit'), :class => 'submitline')
end
alias_method :labelled_form_field, :display_form_field
diff --git a/app/models/enterprises_block.rb b/app/models/enterprises_block.rb
deleted file mode 100644
index 4be4ac8..0000000
--- a/app/models/enterprises_block.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-class EnterprisesBlock < Design::Block
-
- def content
-
- lambda do
- content_tag(
- 'ul',
- Enterprise.find(:all).map do |p|
- content_tag(
- 'li',
- link_to_homepage(content_tag('span', p.name), p.identifier)
- )
- end.join("\n"),
- :class => 'enterprises_list_block'
- )
- end
-
- end
-
-end
diff --git a/app/models/image.rb b/app/models/image.rb
new file mode 100644
index 0000000..e11c36c
--- /dev/null
+++ b/app/models/image.rb
@@ -0,0 +1,11 @@
+class Image < ActiveRecord::Base
+ belongs_to :owner, :polymorphic => true
+
+ has_attachment :content_type => :image,
+ :storage => :file_system,
+ :max_size => 500.kilobytes,
+ :resize_to => '320x200>',
+ :thumbnails => { :thumb => '100x100>' }
+
+ validates_as_attachment
+end
diff --git a/app/models/list_block.rb b/app/models/list_block.rb
deleted file mode 100644
index 47a806e..0000000
--- a/app/models/list_block.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-class ListBlock < Design::Block
-
- def content
-
- lambda do
- content_tag(
- 'ul',
- Person.find(:all).map do |p|
- content_tag(
- 'li',
- link_to_homepage(content_tag('span', p.name), p.identifier)
- )
- end.join("\n"),
- :class => 'people_list_block'
- )
- end
-
- end
-
-end
diff --git a/app/models/product.rb b/app/models/product.rb
index fba6b57..2159856 100644
--- a/app/models/product.rb
+++ b/app/models/product.rb
@@ -5,4 +5,20 @@ class Product < ActiveRecord::Base
validates_presence_of :name
validates_uniqueness_of :name, :scope => :enterprise_id
validates_numericality_of :price, :allow_nil => true
+
+ has_one :image, :as => :owner
+
+ after_update :save_image
+
+ def image_builder=(img)
+ if image && image.id == img[:id]
+ image.attributes = img
+ else
+ build_image(img)
+ end
+ end
+
+ def save_image
+ image.save if image
+ end
end
diff --git a/app/models/profile.rb b/app/models/profile.rb
index ea905c3..ed8dc9b 100644
--- a/app/models/profile.rb
+++ b/app/models/profile.rb
@@ -45,6 +45,8 @@ class Profile < ActiveRecord::Base
has_many :articles
belongs_to :home_page, :class_name => Article.name, :foreign_key => 'home_page_id'
+ has_one :image, :as => :owner
+
def top_level_articles(reload = false)
if reload
@top_level_articles = nil
diff --git a/app/views/account/signup.rhtml b/app/views/account/signup.rhtml
index ca861de..adbf48a 100644
--- a/app/views/account/signup.rhtml
+++ b/app/views/account/signup.rhtml
@@ -18,5 +18,5 @@
<% end %>
-
<%= submit_tag 'Sign up', {:class => 'submit'} %>
+<%= display_submit_tag _('Sign up') %>
<% end -%>
diff --git a/app/views/categories/_form.rhtml b/app/views/categories/_form.rhtml
index e7a146e..007d240 100644
--- a/app/views/categories/_form.rhtml
+++ b/app/views/categories/_form.rhtml
@@ -13,6 +13,6 @@
<%= select_color_for_category %>
<%= f.text_field 'name' %>
- <%= submit_tag _('Save') %>
+ <%= display_submit_tag _('Save') %>
<%= link_to _('Cancel'), :action => 'index' %>
<% end %>
diff --git a/app/views/environment_role_manager/change_role.rhtml b/app/views/environment_role_manager/change_role.rhtml
index f9523d1..6b93c29 100644
--- a/app/views/environment_role_manager/change_role.rhtml
+++ b/app/views/environment_role_manager/change_role.rhtml
@@ -8,6 +8,6 @@
<% end %>
<%= hidden_field_tag 'person', @admin.id %>
- <%= submit_tag _('Save changes') %>
+ <%= display_submit_tag _('Save changes') %>
<%= link_to _('Cancel'), :action => 'index' %>
<% end %>
diff --git a/app/views/environment_role_manager/make_admin.rhtml b/app/views/environment_role_manager/make_admin.rhtml
index 8c3efcd..507de09 100644
--- a/app/views/environment_role_manager/make_admin.rhtml
+++ b/app/views/environment_role_manager/make_admin.rhtml
@@ -9,5 +9,5 @@
<% @roles.each do |r| %>
<%= labelled_form_field(r.name, (check_box_tag "roles[]", r.id)) %>
<% end %>
-<%= submit_tag _('Make') %>
+<%= display_submit_tag _('Make') %>
<% end %>
diff --git a/app/views/manage_products/_form.rhtml b/app/views/manage_products/_form.rhtml
index 033a0c3..0fe3032 100644
--- a/app/views/manage_products/_form.rhtml
+++ b/app/views/manage_products/_form.rhtml
@@ -1,9 +1,10 @@
<%= error_messages_for :product %>
-<% form_for :product, @product, :url => {:action => mode} do |f| %>
- <%= _('Name:') %> <%= f.text_field :name %>
- <%= _('Price:') %> <%= f.text_field :price %>
- <%= _('Description:') %>
<%= f.text_area :description %>
- <%= _('Category:') %> <%= f.select :product_category_id,ProductCategory.find(:all).map{|pc|[pc.name,pc.id]}, {:include_blank => true} %>
- <%= submit_tag mode == 'new' ? _('Create product') : _('Save changes') %>
+<% form_for :product, @product, :html => {:multipart => true }, :url => {:action => mode} do |f| %>
+ <%= display_form_field( _('Name:'), f.text_field(:name) ) %>
+ <%= display_form_field( _('Price:'), f.text_field(:price) ) %>
+ <%= display_form_field( _('Description:'), f.text_area(:description) ) %>
+ <%= display_form_field( _('Image:'), file_field_tag( "product[image_builder][uploaded_data]" ) ) %>
+ <%= display_form_field( _('category:'), f.select( :product_category_id,ProductCategory.find(:all).map{|pc|[pc.name,pc.id]}, {:include_blank => true} )) %>
+ <%= display_submit_tag(mode == 'new' ? _('Create product') : _('Save changes')) %>
<% end %>
diff --git a/app/views/manage_products/show.rhtml b/app/views/manage_products/show.rhtml
index 4509b35..85fbe20 100644
--- a/app/views/manage_products/show.rhtml
+++ b/app/views/manage_products/show.rhtml
@@ -1,5 +1,6 @@
<%= @product.name %>
+
<%= image_tag @product.image.public_filename %>
<%= _('Price: ') %> <%= @product.price %>
<%= _('Description: ') %> <%= @product.description %>
<%= _('Category: ') %> <%= @product.product_category ? @product.product_category.name : _('Uncategorized product') %>
diff --git a/app/views/profile_editor/change_image.rhtml b/app/views/profile_editor/change_image.rhtml
new file mode 100644
index 0000000..75e10cb
--- /dev/null
+++ b/app/views/profile_editor/change_image.rhtml
@@ -0,0 +1,4 @@
+<% form_for :image, @image, :html => { :multipart => true }, :url => { :action => 'change_image'} do |f| %>
+ <%= display_form_field(_('Image'), f.file_field( :uploaded_data ) ) %>
+ <%= display_submit_tag(_('Upload')) %>
+<% end %>
diff --git a/app/views/profile_editor/index.rhtml b/app/views/profile_editor/index.rhtml
index a8b28fe..469d078 100644
--- a/app/views/profile_editor/index.rhtml
+++ b/app/views/profile_editor/index.rhtml
@@ -1,5 +1,7 @@
<%= _('My profile') %>
+<%= link_to (@profile.image ? image_tag( @profile.image.public_filename(:thumb)) : _('Put image')), :action => 'change_image' %>
+
<%= display_profile_info(profile) %>
diff --git a/app/views/profile_members/change_role.rhtml b/app/views/profile_members/change_role.rhtml
index 58c6e6c..4212c77 100644
--- a/app/views/profile_members/change_role.rhtml
+++ b/app/views/profile_members/change_role.rhtml
@@ -9,6 +9,6 @@
<% end %>
<%= hidden_field_tag 'person', @member.id %>
- <%= submit_tag _('Save changes') %>
+ <%= display_submit_tag _('Save changes') %>
<%= link_to _('Cancel'), :action => 'index' %>
<% end %>
diff --git a/app/views/role/_form.rhtml b/app/views/role/_form.rhtml
index a496108..87a603b 100644
--- a/app/views/role/_form.rhtml
+++ b/app/views/role/_form.rhtml
@@ -9,6 +9,6 @@
<%= labelled_form_field(permission_name(p), (check_box_tag "role[permissions][]", p, @role.has_permission?(p))) %>
<% end %>
- <%= submit_tag (mode == :edit) ? _('Save changes') : _('Create role')%>
+ <%= display_submit_tag (mode == :edit) ? _('Save changes') : _('Create role')%>
<%= link_to _('Cancel'), :action => 'index' %>
<% end %>
diff --git a/config/routes.rb b/config/routes.rb
index 8ab67b9..9a4959e 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -67,7 +67,7 @@ ActionController::Routing::Routes.draw do |map|
## Test controllers.
## FIXME: this should not be needed
######################################################
- map.connect 'test/:controller/:action/:id', :controller => /.*test.*/
+ map.connect 'test/:controller/:action/:id' #, :controller => /.*test.*/
# *content viewing*
# XXX this route must come last so other routes have priority over it.
diff --git a/db/migrate/016_create_products.rb b/db/migrate/016_create_products.rb
index d90a1f6..27626f2 100644
--- a/db/migrate/016_create_products.rb
+++ b/db/migrate/016_create_products.rb
@@ -6,6 +6,7 @@ class CreateProducts < ActiveRecord::Migration
t.column :name, :string
t.column :price, :decimal
t.column :description, :text
+ t.column :image, :string
end
end
diff --git a/db/migrate/017_create_images.rb b/db/migrate/017_create_images.rb
new file mode 100644
index 0000000..8a8f92c
--- /dev/null
+++ b/db/migrate/017_create_images.rb
@@ -0,0 +1,20 @@
+class CreateImages < ActiveRecord::Migration
+ def self.up
+ create_table :images do |t|
+ t.column :owner_type, :string
+ t.column :owner_id, :integer
+
+ t.column :parent_id, :integer
+ t.column :content_type, :string
+ t.column :filename, :string
+ t.column :thumbnail, :string
+ t.column :size, :integer
+ t.column :width, :integer
+ t.column :height, :integer
+ end
+ end
+
+ def self.down
+ drop_table :images
+ end
+end
diff --git a/po/noosfero.pot b/po/noosfero.pot
index 67572d4..178518b 100644
--- a/po/noosfero.pot
+++ b/po/noosfero.pot
@@ -6,8 +6,8 @@
#, fuzzy
msgid ""
msgstr ""
-"Project-Id-Version: noosfero 0.3.0\n"
-"POT-Creation-Date: 2007-11-09 19:03-0300\n"
+"Project-Id-Version: noosfero 0.4.0\n"
+"POT-Creation-Date: 2007-11-27 13:39-0300\n"
"PO-Revision-Date: 2007-08-30 18:47-0300\n"
"Last-Translator: FULL NAME
\n"
"Language-Team: LANGUAGE \n"
@@ -16,94 +16,121 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
-#: app/design_blocks/favourite_links/controllers/favourite_links_controller.rb:22
-msgid "Manage Links"
+#: app/design_blocks/enterprises_block/models/enterprises_block.rb:12
+msgid "Enterprises Block"
+msgstr ""
+
+#: app/design_blocks/list_block/models/list_block.rb:12
+msgid "List Block"
msgstr ""
-#: app/design_blocks/favourite_links/controllers/favourite_links_controller.rb:23
+#: app/design_blocks/favorite_links/controllers/favorite_links_controller.rb:4
#: app/views/role/index.rhtml:6 app/views/content_viewer/view_page.rhtml:7
-#: app/views/manage_tags/_a_tag.rhtml:3 app/views/profile_editor/index.rhtml:6
-#: app/views/profile_editor/index.rhtml:8
-#: app/views/categories/_category.rhtml:8
+#: app/views/manage_tags/_a_tag.rhtml:3 app/views/categories/_category.rhtml:8
msgid "Edit"
msgstr ""
-#: app/design_blocks/favourite_links/models/favourite_links.rb:4
-#: app/design_blocks/favourite_links/views/manage_links.rhtml:3
-msgid "Favourite Links"
+#: app/design_blocks/favorite_links/controllers/favorite_links_controller.rb:5
+msgid "Manage Links"
msgstr ""
-#: app/controllers/environment_admin/manage_tags_controller.rb:26
+#: app/design_blocks/favorite_links/models/favorite_links.rb:4
+#: app/design_blocks/favorite_links_profile/models/favorite_links_profile.rb:4
+#: app/design_blocks/favorite_links/views/manage_links.rhtml:3
+msgid "Favorite Links"
+msgstr ""
+
+#: app/controllers/admin/manage_tags_controller.rb:26
msgid "Tag was successfully created."
msgstr ""
-#: app/controllers/environment_admin/manage_tags_controller.rb:44
+#: app/controllers/admin/manage_tags_controller.rb:44
msgid "Tag was successfully updated."
msgstr ""
-#: app/controllers/environment_admin/manage_tags_controller.rb:56
+#: app/controllers/admin/manage_tags_controller.rb:56
msgid "Tag was successfuly destroyed"
msgstr ""
-#: app/controllers/environment_admin/manage_tags_controller.rb:65
+#: app/controllers/admin/manage_tags_controller.rb:65
msgid "Tag was successfuly approved"
msgstr ""
-#: app/controllers/environment_admin/role_controller.rb:21
+#: app/controllers/admin/role_controller.rb:21
msgid "Failed to create role"
msgstr ""
-#: app/controllers/environment_admin/role_controller.rb:35
-#: app/controllers/environment_admin/role_controller.rb:45
+#: app/controllers/admin/role_controller.rb:35
+#: app/controllers/admin/role_controller.rb:45
msgid "Failed to edit role"
msgstr ""
-#: app/controllers/environment_admin/features_controller.rb:13
+#: app/controllers/admin/features_controller.rb:13
msgid "Features updated successfully."
msgstr ""
-#: app/controllers/environment_admin/environment_role_manager_controller.rb:17
-#: app/controllers/profile_admin/profile_members_controller.rb:17
+#: app/controllers/admin/environment_role_manager_controller.rb:17
+#: app/controllers/my_profile/profile_members_controller.rb:17
msgid "Roles successfuly updated"
msgstr ""
-#: app/controllers/environment_admin/environment_role_manager_controller.rb:19
-#: app/controllers/profile_admin/profile_members_controller.rb:19
+#: app/controllers/admin/environment_role_manager_controller.rb:19
+#: app/controllers/my_profile/profile_members_controller.rb:19
msgid "Couldn't change the roles"
msgstr ""
-#: app/controllers/environment_admin/environment_role_manager_controller.rb:45
-#: app/controllers/environment_admin/environment_role_manager_controller.rb:55
+#: app/controllers/admin/environment_role_manager_controller.rb:45
+#: app/controllers/admin/environment_role_manager_controller.rb:55
msgid "Member succefully unassociated"
msgstr ""
-#: app/controllers/environment_admin/environment_role_manager_controller.rb:47
-#: app/controllers/environment_admin/environment_role_manager_controller.rb:57
+#: app/controllers/admin/environment_role_manager_controller.rb:47
+#: app/controllers/admin/environment_role_manager_controller.rb:57
msgid "Failed to unassociate member"
msgstr ""
-#: app/controllers/profile_admin_controller.rb:17
-msgid "This action is not available for \"%s\"."
-msgstr ""
-
-#: app/controllers/profile_admin/enterprise_editor_controller.rb:21
+#: app/controllers/my_profile/enterprise_editor_controller.rb:21
msgid "Could not update the enterprise"
msgstr ""
-#: app/controllers/profile_admin/enterprise_editor_controller.rb:31
+#: app/controllers/my_profile/enterprise_editor_controller.rb:31
msgid "Enterprise sucessfully erased from the system"
msgstr ""
-#: app/controllers/profile_admin/membership_editor_controller.rb:25
+#: app/controllers/my_profile/membership_editor_controller.rb:25
msgid ""
"The enterprise was successfully created, the validation entity will cotact "
"you as soon as your enterprise is approved"
msgstr ""
-#: app/controllers/profile_admin/membership_editor_controller.rb:28
+#: app/controllers/my_profile/membership_editor_controller.rb:28
msgid "Enterprise was not created"
msgstr ""
+#: app/controllers/my_profile/manage_products_controller.rb:19
+msgid "Product succesfully created"
+msgstr ""
+
+#: app/controllers/my_profile/manage_products_controller.rb:22
+msgid "Could not create the product"
+msgstr ""
+
+#: app/controllers/my_profile/manage_products_controller.rb:31
+msgid "Product succesfully updated"
+msgstr ""
+
+#: app/controllers/my_profile/manage_products_controller.rb:34
+msgid "Could not update the product"
+msgstr ""
+
+#: app/controllers/my_profile/manage_products_controller.rb:42
+msgid "Product succesfully removed"
+msgstr ""
+
+#: app/controllers/my_profile/manage_products_controller.rb:45
+msgid "Could not remove the product"
+msgstr ""
+
#: app/controllers/public/account_controller.rb:25
msgid "Logged in successfully"
msgstr ""
@@ -128,6 +155,38 @@ msgstr ""
msgid "The supplied current password is incorrect."
msgstr ""
+#: app/controllers/my_profile_controller.rb:17
+msgid "This action is not available for \"%s\"."
+msgstr ""
+
+#: app/models/product.rb:-
+msgid "product"
+msgstr ""
+
+#: app/models/product.rb:-
+msgid "Product|Enterprise"
+msgstr ""
+
+#: app/models/product.rb:-
+msgid "Product|Product category"
+msgstr ""
+
+#: app/models/product.rb:-
+msgid "Product|Name"
+msgstr ""
+
+#: app/models/product.rb:-
+msgid "Product|Price"
+msgstr ""
+
+#: app/models/product.rb:-
+msgid "Product|Description"
+msgstr ""
+
+#: app/models/product.rb:-
+msgid "Product|Image"
+msgstr ""
+
#: app/models/validation_info.rb:-
msgid "validation info"
msgstr ""
@@ -231,7 +290,51 @@ msgstr ""
msgid "Profile|Region"
msgstr ""
-#: app/models/profile.rb:7 app/helpers/application_helper.rb:199
+#: app/models/profile.rb:-
+msgid "article"
+msgstr ""
+
+#: app/models/profile.rb:-
+msgid "Article|Name"
+msgstr ""
+
+#: app/models/profile.rb:-
+msgid "Article|Slug"
+msgstr ""
+
+#: app/models/profile.rb:-
+msgid "Article|Path"
+msgstr ""
+
+#: app/models/profile.rb:-
+msgid "Article|Parent"
+msgstr ""
+
+#: app/models/profile.rb:-
+msgid "Article|Body"
+msgstr ""
+
+#: app/models/profile.rb:-
+msgid "Article|Profile"
+msgstr ""
+
+#: app/models/profile.rb:-
+msgid "Article|Updated on"
+msgstr ""
+
+#: app/models/profile.rb:-
+msgid "Article|Created on"
+msgstr ""
+
+#: app/models/profile.rb:-
+msgid "Article|Version"
+msgstr ""
+
+#: app/models/profile.rb:-
+msgid "Article|Lock version"
+msgstr ""
+
+#: app/models/profile.rb:7 app/helpers/application_helper.rb:188
msgid "Edit profile"
msgstr ""
@@ -251,7 +354,7 @@ msgstr ""
msgid "Edit profile design"
msgstr ""
-#: app/models/profile.rb:63
+#: app/models/profile.rb:59
msgid "An existing profile cannot be renamed."
msgstr ""
@@ -389,6 +492,10 @@ msgstr ""
msgid "%{fn} must not start with www."
msgstr ""
+#: app/models/image.rb:-
+msgid "image"
+msgstr ""
+
#: app/models/friendship.rb:-
msgid "friendship"
msgstr ""
@@ -757,369 +864,108 @@ msgstr ""
msgid "Close"
msgstr ""
-#: app/helpers/application_helper.rb:117 app/helpers/application_helper.rb:134
-msgid "My account"
+#: app/helpers/application_helper.rb:117 app/helpers/application_helper.rb:127
+#: app/views/profile_editor/index.rhtml:1
+msgid "My profile"
msgstr ""
#: app/helpers/application_helper.rb:118
msgid "My Enterprises"
msgstr ""
-#: app/helpers/application_helper.rb:119 app/helpers/application_helper.rb:137
+#: app/helpers/application_helper.rb:119 app/helpers/application_helper.rb:130
#: app/views/environment_role_manager/make_admin.rhtml:4
msgid "Admin"
msgstr ""
-#: app/helpers/application_helper.rb:120
-msgid "About"
-msgstr ""
-
-#: app/helpers/application_helper.rb:126
-msgid "about"
-msgstr ""
-
-#: app/helpers/application_helper.rb:138 app/helpers/application_helper.rb:168
+#: app/helpers/application_helper.rb:131 app/helpers/application_helper.rb:157
msgid "Logout"
msgstr ""
-#: app/helpers/application_helper.rb:142 app/helpers/application_helper.rb:160
+#: app/helpers/application_helper.rb:135 app/helpers/application_helper.rb:149
#: app/views/account/login.rhtml:1
msgid "Login"
msgstr ""
-#: app/helpers/application_helper.rb:164
+#: app/helpers/application_helper.rb:153
msgid "Not a user yet? Register now!"
msgstr ""
-#: app/helpers/application_helper.rb:182
+#: app/helpers/application_helper.rb:171
msgid "Features"
msgstr ""
-#: app/helpers/application_helper.rb:183
+#: app/helpers/application_helper.rb:172
msgid "Edit visual"
msgstr ""
-#: app/helpers/application_helper.rb:184
+#: app/helpers/application_helper.rb:173
msgid "Manage categories"
msgstr ""
-#: app/helpers/application_helper.rb:185
+#: app/helpers/application_helper.rb:174
msgid "Manage permissions"
msgstr ""
-#: app/helpers/application_helper.rb:186
+#: app/helpers/application_helper.rb:175
msgid "Manage validators"
msgstr ""
-#: app/helpers/application_helper.rb:192
+#: app/helpers/application_helper.rb:181
msgid "New enterprise"
msgstr ""
-#: app/helpers/application_helper.rb:198 app/helpers/application_helper.rb:207
+#: app/helpers/application_helper.rb:187 app/helpers/application_helper.rb:196
msgid "Edit visual design"
msgstr ""
-#: app/helpers/application_helper.rb:200 app/helpers/application_helper.rb:209
+#: app/helpers/application_helper.rb:189 app/helpers/application_helper.rb:198
msgid "Manage content"
msgstr ""
-#: app/helpers/application_helper.rb:208
+#: app/helpers/application_helper.rb:197
msgid "Edit informations"
msgstr ""
-#: app/helpers/application_helper.rb:216
+#: app/helpers/application_helper.rb:205
#: app/views/account/new_password.rhtml:13
#: app/views/account/change_password.rhtml:1
#: app/views/account/change_password.rhtml:14
msgid "Change password"
msgstr ""
-#: app/helpers/application_helper.rb:222
-msgid "Report bug"
-msgstr ""
-
-#: app/helpers/application_helper.rb:228
+#: app/helpers/application_helper.rb:211
msgid "Change template"
msgstr ""
-#: app/helpers/application_helper.rb:229
+#: app/helpers/application_helper.rb:212
msgid "Change block theme"
msgstr ""
-#: app/helpers/application_helper.rb:230
+#: app/helpers/application_helper.rb:213
msgid "Change icon theme"
msgstr ""
-#: app/helpers/application_helper.rb:268
-msgid "accessibility"
-msgstr ""
-
-#: app/helpers/application_helper.rb:271
-msgid "Accessibility"
-msgstr ""
-
-#: app/helpers/application_helper.rb:276
+#: app/helpers/application_helper.rb:219
#: app/views/region_validators/region.rhtml:22
#: app/views/manage_tags/_search_box.rhtml:4
#: app/views/membership_editor/index.rhtml:4
msgid "Search"
msgstr ""
-#: app/helpers/application_helper.rb:277
+#: app/helpers/application_helper.rb:220
msgid " "
msgstr ""
-#: app/helpers/application_helper.rb:287
+#: app/helpers/application_helper.rb:230
msgid "%s, version %s"
msgstr ""
-#: app/helpers/application_helper.rb:365
-msgid "No Filter at all"
-msgstr ""
-
-#: app/helpers/application_helper.rb:366
-msgid "RDoc filter"
-msgstr ""
-
-#: app/helpers/application_helper.rb:367
-msgid "Simple"
-msgstr ""
-
-#: app/helpers/application_helper.rb:368
-msgid "Textile"
-msgstr ""
-
-#: app/views/cms/new.rhtml:2
-msgid "New Page"
-msgstr ""
-
-#: app/views/cms/_page_list_item.rhtml:6
-msgid "%d revision"
-msgstr ""
-
-#: app/views/cms/_page_list_item.rhtml:6
-msgid "%d revisions"
-msgstr ""
-
-#: app/views/cms/_page_list_item.rhtml:7
-msgid "add child document"
-msgstr ""
-
-#: app/views/cms/_page_list_item.rhtml:7
-msgid "Add a child to '%s'"
-msgstr ""
-
-#: app/views/cms/_page_list_item.rhtml:8
-msgid "reorder children"
-msgstr ""
-
-#: app/views/cms/_page_list_item.rhtml:8
-msgid "finished reordering"
-msgstr ""
-
-#: app/views/cms/_page_list_item.rhtml:8
-msgid "Reorder children of '%s'"
-msgstr ""
-
-#: app/views/cms/_page_list_item.rhtml:9
-msgid "delete"
-msgstr ""
-
-#: app/views/cms/_page_list_item.rhtml:9
-msgid "This will delete this page, and any children. Are you sure?"
-msgstr ""
-
-#: app/views/cms/_page_list_item.rhtml:9
-msgid "Delete page '%s' and all it's children"
-msgstr ""
-
-#: app/views/cms/_page_list_item.rhtml:26
-msgid "DRAG"
-msgstr ""
-
-#: app/views/cms/_form.rhtml:27
-#: app/design_blocks/favourite_links/views/add_link.rhtml:6
-#: app/design_blocks/favourite_links/views/edit.rhtml:7
-msgid "Title"
-msgstr ""
-
-#: app/views/cms/_form.rhtml:28
-msgid "More..."
-msgstr ""
-
-#: app/views/cms/_form.rhtml:28
-msgid "Less..."
-msgstr ""
-
-#: app/views/cms/_form.rhtml:32
-msgid "Slug"
-msgstr ""
-
-#: app/views/cms/_form.rhtml:38
-msgid "Keywords"
-msgstr ""
-
-#: app/views/cms/_form.rhtml:45
-msgid "Parent"
-msgstr ""
-
-#: app/views/cms/_form.rhtml:47
-msgid "%s is a root page"
-msgstr ""
-
-#: app/views/cms/_form.rhtml:55
-msgid "Content"
-msgstr ""
-
-#: app/views/cms/_form.rhtml:61
-msgid "Filter"
+#: app/views/cms/view.rhtml:23
+msgid "New subitem"
msgstr ""
-#: app/views/cms/_form.rhtml:63
-msgid "Converts plain text into HTML"
-msgstr ""
-
-#: app/views/cms/_form.rhtml:69
-msgid "Created"
-msgstr ""
-
-#: app/views/cms/_form.rhtml:78
-msgid "One revision"
-msgid_plural "%d revisions"
-msgstr[0] ""
-msgstr[1] ""
-
-#: app/views/cms/_form.rhtml:84
-msgid "Loading preview ..."
-msgstr ""
-
-#: app/views/cms/_form.rhtml:85
-msgid "Save Changes"
-msgstr ""
-
-#: app/views/cms/_form.rhtml:85
-msgid "Create Page"
-msgstr ""
-
-#: app/views/cms/_form.rhtml:87
-msgid "Revert"
-msgstr ""
-
-#: app/views/cms/_form.rhtml:90
-msgid ""
-"Changes detected. You will lose all the updates you have made if you "
-"proceed..."
-msgstr ""
-
-#: app/views/cms/_form.rhtml:90 app/views/cms/delete.rhtml:16
-#: app/views/cms/versions.rhtml:25 app/views/role/_form.rhtml:13
-#: app/views/profile_members/change_role.rhtml:13
-#: app/views/enterprise_editor/edit.rhtml:8 app/views/manage_tags/new.rhtml:6
-#: app/views/manage_tags/edit.rhtml:6
-#: app/views/membership_editor/new_enterprise.rhtml:13
-#: app/views/enterprise_registration/basic_information.rhtml:33
-#: app/views/environment_role_manager/change_role.rhtml:12
-#: app/views/categories/_form.rhtml:17
-msgid "Cancel"
-msgstr ""
-
-#: app/views/cms/_form.rhtml:96
-msgid "Page Preview"
-msgstr ""
-
-#: app/views/cms/_form.rhtml:98
-msgid "Loading Preview..."
-msgstr ""
-
-#: app/views/cms/_form.rhtml:103
-msgid "Close Preview"
-msgstr ""
-
-#: app/views/cms/_form.rhtml:103 app/views/cms/versions.rhtml:24
-msgid "or"
-msgstr ""
-
-#: app/views/cms/_form.rhtml:103
-msgid "Back to top"
-msgstr ""
-
-#: app/views/cms/reorder.rhtml:1
-msgid "Reorder Pages"
-msgstr ""
-
-#: app/views/cms/reorder.rhtml:3
-msgid "\"%s\" child pages:"
-msgstr ""
-
-#: app/views/cms/reorder.rhtml:19
-msgid "Move Up"
-msgstr ""
-
-#: app/views/cms/reorder.rhtml:20
-msgid "Move Down"
-msgstr ""
-
-#: app/views/cms/reorder.rhtml:29
-msgid "Finished"
-msgstr ""
-
-#: app/views/cms/delete.rhtml:6
-msgid "Are you sure you want to delete the page titled \"%s\"?"
-msgstr ""
-
-#: app/views/cms/delete.rhtml:8
-msgid "It has %s child pages that will also be deleted..."
-msgstr ""
-
-#: app/views/cms/delete.rhtml:14
-msgid "Yes, Delete The Page"
-msgstr ""
-
-#: app/views/cms/versions.rhtml:1
-msgid "Page Revisions"
-msgstr ""
-
-#: app/views/cms/versions.rhtml:7
-msgid "View Version:"
-msgstr ""
-
-#: app/views/cms/versions.rhtml:11
-msgid "Version %s"
-msgstr ""
-
-#: app/views/cms/versions.rhtml:14 app/views/cms/versions.rhtml:35
-msgid "Title:"
-msgstr ""
-
-#: app/views/cms/versions.rhtml:15 app/views/cms/versions.rhtml:36
-msgid "Slug:"
-msgstr ""
-
-#: app/views/cms/versions.rhtml:17 app/views/cms/versions.rhtml:38
-msgid "Keywords:"
-msgstr ""
-
-#: app/views/cms/versions.rhtml:23
-msgid "Set As Current Version"
-msgstr ""
-
-#: app/views/cms/versions.rhtml:32
-msgid "Current Version"
-msgstr ""
-
-#: app/views/cms/edit.rhtml:2
-msgid "Edit Page"
-msgstr ""
-
-#: app/views/cms/index.rhtml:2
-msgid "Clear Page Cache"
-msgstr ""
-
-#: app/views/cms/index.rhtml:6
-msgid "Articles"
-msgstr ""
-
-#: app/views/cms/index.rhtml:17
+#: app/views/cms/view.rhtml:25
msgid "New article"
msgstr ""
@@ -1133,6 +979,7 @@ msgstr ""
#: app/views/role/_form.rhtml:12
#: app/views/profile_members/change_role.rhtml:12
+#: app/views/manage_products/_form.rhtml:11
#: app/views/features/_features_table.rhtml:15
#: app/views/environment_role_manager/change_role.rhtml:11
msgid "Save changes"
@@ -1142,6 +989,17 @@ msgstr ""
msgid "Create role"
msgstr ""
+#: app/views/role/_form.rhtml:13
+#: app/views/profile_members/change_role.rhtml:13
+#: app/views/enterprise_editor/edit.rhtml:8 app/views/manage_tags/new.rhtml:6
+#: app/views/manage_tags/edit.rhtml:6
+#: app/views/membership_editor/new_enterprise.rhtml:13
+#: app/views/enterprise_registration/basic_information.rhtml:33
+#: app/views/environment_role_manager/change_role.rhtml:12
+#: app/views/categories/_form.rhtml:17
+msgid "Cancel"
+msgstr ""
+
#: app/views/role/show.rhtml:3
msgid "Permissions"
msgstr ""
@@ -1250,6 +1108,74 @@ msgstr[1] ""
msgid "Validators by Region"
msgstr ""
+#: app/views/manage_products/new.rhtml:1
+#: app/views/manage_products/index.rhtml:3
+msgid "New product"
+msgstr ""
+
+#: app/views/manage_products/_form.rhtml:4
+msgid "Name:"
+msgstr ""
+
+#: app/views/manage_products/_form.rhtml:5
+msgid "Price:"
+msgstr ""
+
+#: app/views/manage_products/_form.rhtml:6
+msgid "Description:"
+msgstr ""
+
+#: app/views/manage_products/_form.rhtml:7
+msgid "Category:"
+msgstr ""
+
+#: app/views/manage_products/_form.rhtml:9
+msgid "Image:"
+msgstr ""
+
+#: app/views/manage_products/_form.rhtml:11
+msgid "Create product"
+msgstr ""
+
+#: app/views/manage_products/show.rhtml:4
+#: app/views/manage_products/index.rhtml:7
+msgid "Price: "
+msgstr ""
+
+#: app/views/manage_products/show.rhtml:5
+msgid "Description: "
+msgstr ""
+
+#: app/views/manage_products/show.rhtml:6
+msgid "Category: "
+msgstr ""
+
+#: app/views/manage_products/show.rhtml:6
+msgid "Uncategorized product"
+msgstr ""
+
+#: app/views/manage_products/show.rhtml:8
+#: app/views/manage_products/index.rhtml:8
+msgid "edit"
+msgstr ""
+
+#: app/views/manage_products/show.rhtml:9
+#: app/views/manage_products/index.rhtml:9
+msgid "destroy"
+msgstr ""
+
+#: app/views/manage_products/show.rhtml:11
+msgid "back"
+msgstr ""
+
+#: app/views/manage_products/edit.rhtml:1
+msgid "Editing"
+msgstr ""
+
+#: app/views/manage_products/index.rhtml:1
+msgid "Listing products"
+msgstr ""
+
#: app/views/content_viewer/view_page.rhtml:4
#: app/views/manage_tags/list.rhtml:17
msgid "Up"
@@ -1260,14 +1186,14 @@ msgstr ""
msgid "There is no such page: %s"
msgstr ""
-#: app/views/layouts/application.rhtml:29
-#: app/views/layouts/comatose_admin.rhtml:29
+#: app/views/layouts/application.rhtml:33
+#: app/views/layouts/comatose_admin.rhtml:33
msgid "Image for Loading..."
msgstr ""
-#: app/views/layouts/application.rhtml:34
-#: app/views/layouts/comatose_admin.rhtml:34
-msgid "Go Content"
+#: app/views/layouts/application.rhtml:39
+#: app/views/layouts/comatose_admin.rhtml:39
+msgid "Go to content"
msgstr ""
#: app/views/layouts/not_found.rhtml:5
@@ -1664,7 +1590,11 @@ msgid "Password"
msgstr ""
#: app/views/account/login.rhtml:20
-msgid "I forgot my password"
+msgid "I forgot my password!"
+msgstr ""
+
+#: app/views/account/login.rhtml:24
+msgid "I want to be an user!"
msgstr ""
#: app/views/account/password_recovery_sent.rhtml:1
@@ -1842,10 +1772,6 @@ msgstr ""
msgid "Access denied"
msgstr ""
-#: app/views/shared/categories_menu.rhtml:5
-msgid "Home"
-msgstr ""
-
#: app/views/profile_editor/person_info.rhtml:1
msgid "Edit person info"
msgstr ""
@@ -1856,23 +1782,40 @@ msgstr ""
#: app/views/profile_editor/person_info.rhtml:11
#: app/views/categories/_form.rhtml:16
-#: app/design_blocks/favourite_links/views/add_link.rhtml:10
-#: app/design_blocks/favourite_links/views/edit.rhtml:26
+#: app/design_blocks/favorite_links/views/add_link.rhtml:10
+#: app/design_blocks/favorite_links/views/edit.rhtml:26
msgid "Save"
msgstr ""
-#: app/views/profile_editor/index.rhtml:1
-msgid "My profile"
+#: app/views/profile_editor/index.rhtml:8
+msgid "Edit Profile"
msgstr ""
-#: app/views/profile_editor/index.rhtml:13
+#: app/views/profile_editor/index.rhtml:10
+#: app/views/profile_editor/index.rhtml:21
msgid "Edit Visual Design"
msgstr ""
-#: app/views/profile_editor/index.rhtml:15
+#: app/views/profile_editor/index.rhtml:12
+msgid "Manage Content"
+msgstr ""
+
+#: app/views/profile_editor/index.rhtml:14
+msgid "Change Password"
+msgstr ""
+
+#: app/views/profile_editor/index.rhtml:16
+msgid "Manage Products"
+msgstr ""
+
+#: app/views/profile_editor/index.rhtml:22
msgid "Menage content"
msgstr ""
+#: app/views/profile_editor/index.rhtml:25
+msgid "My organizations"
+msgstr ""
+
#: app/views/enterprise_registration/basic_information.rhtml:27
msgid "Management information"
msgstr ""
@@ -1937,7 +1880,7 @@ msgid "Add subcategory"
msgstr ""
#: app/views/categories/_category.rhtml:9
-#: app/design_blocks/favourite_links/views/manage_links.rhtml:18
+#: app/design_blocks/favorite_links/views/manage_links.rhtml:18
msgid "Remove"
msgstr ""
@@ -1957,33 +1900,38 @@ msgstr ""
msgid "Categories"
msgstr ""
-#: app/design_blocks/favourite_links/views/add_link.rhtml:1
-#: app/design_blocks/favourite_links/views/edit.rhtml:2
-msgid "Editing Favourite Links"
+#: app/design_blocks/favorite_links/views/add_link.rhtml:1
+#: app/design_blocks/favorite_links/views/edit.rhtml:2
+msgid "Editing Favorite Links"
+msgstr ""
+
+#: app/design_blocks/favorite_links/views/add_link.rhtml:6
+#: app/design_blocks/favorite_links/views/edit.rhtml:7
+msgid "Title"
msgstr ""
-#: app/design_blocks/favourite_links/views/manage_links.rhtml:4
+#: app/design_blocks/favorite_links/views/manage_links.rhtml:4
msgid "Add Link"
msgstr ""
-#: app/design_blocks/favourite_links/views/manage_links.rhtml:8
-#: app/design_blocks/favourite_links/views/index.rhtml:3
+#: app/design_blocks/favorite_links/views/manage_links.rhtml:8
+#: app/design_blocks/favorite_links/views/index.rhtml:4
msgid "Previous"
msgstr ""
-#: app/design_blocks/favourite_links/views/manage_links.rhtml:11
-#: app/design_blocks/favourite_links/views/index.rhtml:6
+#: app/design_blocks/favorite_links/views/manage_links.rhtml:11
+#: app/design_blocks/favorite_links/views/index.rhtml:7
msgid "Next"
msgstr ""
-#: app/design_blocks/favourite_links/views/edit.rhtml:12
+#: app/design_blocks/favorite_links/views/edit.rhtml:12
msgid "Display header?"
msgstr ""
-#: app/design_blocks/favourite_links/views/edit.rhtml:17
+#: app/design_blocks/favorite_links/views/edit.rhtml:17
msgid "Display title?"
msgstr ""
-#: app/design_blocks/favourite_links/views/edit.rhtml:22
+#: app/design_blocks/favorite_links/views/edit.rhtml:22
msgid "Max number of links"
msgstr ""
diff --git a/po/pt_BR/noosfero.po b/po/pt_BR/noosfero.po
index 59920af..34278d5 100644
--- a/po/pt_BR/noosfero.po
+++ b/po/pt_BR/noosfero.po
@@ -8,8 +8,8 @@
# This file is distributed under the same license as noosfero itself.
msgid ""
msgstr ""
-"Project-Id-Version: noosfero 0.3.0\n"
-"POT-Creation-Date: 2007-11-09 19:03-0300\n"
+"Project-Id-Version: noosfero 0.4.0\n"
+"POT-Creation-Date: 2007-11-27 13:39-0300\n"
"PO-Revision-Date: 2007-11-09 19:17-0300\n"
"Last-Translator: Rafael Tavares Bomfim \n"
"Language-Team: \n"
@@ -19,85 +19,90 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: Pootle 1.0.2\n"
-#: app/design_blocks/favourite_links/controllers/favourite_links_controller.rb:22
-msgid "Manage Links"
-msgstr "Gerenciar Links"
+#: app/design_blocks/enterprises_block/models/enterprises_block.rb:12
+#, fuzzy
+msgid "Enterprises Block"
+msgstr "Meus Empreendimentos"
+
+#: app/design_blocks/list_block/models/list_block.rb:12
+msgid "List Block"
+msgstr "Bloco de Lista"
-#: app/design_blocks/favourite_links/controllers/favourite_links_controller.rb:23
+#: app/design_blocks/favorite_links/controllers/favorite_links_controller.rb:4
#: app/views/role/index.rhtml:6 app/views/content_viewer/view_page.rhtml:7
-#: app/views/manage_tags/_a_tag.rhtml:3 app/views/profile_editor/index.rhtml:6
-#: app/views/profile_editor/index.rhtml:8
-#: app/views/categories/_category.rhtml:8
+#: app/views/manage_tags/_a_tag.rhtml:3 app/views/categories/_category.rhtml:8
msgid "Edit"
msgstr "Editar"
-#: app/design_blocks/favourite_links/models/favourite_links.rb:4
-#: app/design_blocks/favourite_links/views/manage_links.rhtml:3
-msgid "Favourite Links"
+#: app/design_blocks/favorite_links/controllers/favorite_links_controller.rb:5
+msgid "Manage Links"
+msgstr "Gerenciar Links"
+
+#: app/design_blocks/favorite_links/models/favorite_links.rb:4
+#: app/design_blocks/favorite_links_profile/models/favorite_links_profile.rb:4
+#: app/design_blocks/favorite_links/views/manage_links.rhtml:3
+#, fuzzy
+msgid "Favorite Links"
msgstr "Links Favoritos"
-#: app/controllers/environment_admin/manage_tags_controller.rb:26
+#: app/controllers/admin/manage_tags_controller.rb:26
msgid "Tag was successfully created."
msgstr "Marcador criado com sucesso."
-#: app/controllers/environment_admin/manage_tags_controller.rb:44
+#: app/controllers/admin/manage_tags_controller.rb:44
msgid "Tag was successfully updated."
msgstr "Marcador alterado com sucesso"
-#: app/controllers/environment_admin/manage_tags_controller.rb:56
+#: app/controllers/admin/manage_tags_controller.rb:56
msgid "Tag was successfuly destroyed"
msgstr "Marcador removido com sucesso"
-#: app/controllers/environment_admin/manage_tags_controller.rb:65
+#: app/controllers/admin/manage_tags_controller.rb:65
msgid "Tag was successfuly approved"
msgstr "Marcador aprovado com sucesso"
-#: app/controllers/environment_admin/role_controller.rb:21
+#: app/controllers/admin/role_controller.rb:21
msgid "Failed to create role"
msgstr "Falhou em criar papel"
-#: app/controllers/environment_admin/role_controller.rb:35
-#: app/controllers/environment_admin/role_controller.rb:45
+#: app/controllers/admin/role_controller.rb:35
+#: app/controllers/admin/role_controller.rb:45
msgid "Failed to edit role"
msgstr "Falhou em editar papel"
-#: app/controllers/environment_admin/features_controller.rb:13
+#: app/controllers/admin/features_controller.rb:13
msgid "Features updated successfully."
msgstr "Funcionalidades alterada com sucesso"
-#: app/controllers/environment_admin/environment_role_manager_controller.rb:17
-#: app/controllers/profile_admin/profile_members_controller.rb:17
+#: app/controllers/admin/environment_role_manager_controller.rb:17
+#: app/controllers/my_profile/profile_members_controller.rb:17
msgid "Roles successfuly updated"
msgstr "Papéis alterado com sucesso"
-#: app/controllers/environment_admin/environment_role_manager_controller.rb:19
-#: app/controllers/profile_admin/profile_members_controller.rb:19
+#: app/controllers/admin/environment_role_manager_controller.rb:19
+#: app/controllers/my_profile/profile_members_controller.rb:19
msgid "Couldn't change the roles"
msgstr "Não pôde modificar os papéis"
-#: app/controllers/environment_admin/environment_role_manager_controller.rb:45
-#: app/controllers/environment_admin/environment_role_manager_controller.rb:55
+#: app/controllers/admin/environment_role_manager_controller.rb:45
+#: app/controllers/admin/environment_role_manager_controller.rb:55
msgid "Member succefully unassociated"
msgstr "Membro desassociado com sucesso"
-#: app/controllers/environment_admin/environment_role_manager_controller.rb:47
-#: app/controllers/environment_admin/environment_role_manager_controller.rb:57
+#: app/controllers/admin/environment_role_manager_controller.rb:47
+#: app/controllers/admin/environment_role_manager_controller.rb:57
msgid "Failed to unassociate member"
msgstr "Falhou em desassociar membro"
-#: app/controllers/profile_admin_controller.rb:17
-msgid "This action is not available for \"%s\"."
-msgstr "Esta ação não está disponível para \"%s\"."
-
-#: app/controllers/profile_admin/enterprise_editor_controller.rb:21
+#: app/controllers/my_profile/enterprise_editor_controller.rb:21
msgid "Could not update the enterprise"
msgstr "Não pôde modificar o empreendimento"
-#: app/controllers/profile_admin/enterprise_editor_controller.rb:31
+#: app/controllers/my_profile/enterprise_editor_controller.rb:31
msgid "Enterprise sucessfully erased from the system"
msgstr "Empreendimento ativado com sucesso"
-#: app/controllers/profile_admin/membership_editor_controller.rb:25
+#: app/controllers/my_profile/membership_editor_controller.rb:25
msgid ""
"The enterprise was successfully created, the validation entity will cotact "
"you as soon as your enterprise is approved"
@@ -105,10 +110,40 @@ msgstr ""
"O empreendimento foi criado com sucesso, a entidade de validação irá entrar "
"em contato com você assim que seu empreendimento for aprovado"
-#: app/controllers/profile_admin/membership_editor_controller.rb:28
+#: app/controllers/my_profile/membership_editor_controller.rb:28
msgid "Enterprise was not created"
msgstr "Empreendimento não foi criado"
+#: app/controllers/my_profile/manage_products_controller.rb:19
+#, fuzzy
+msgid "Product succesfully created"
+msgstr "Marcador criado com sucesso."
+
+#: app/controllers/my_profile/manage_products_controller.rb:22
+#, fuzzy
+msgid "Could not create the product"
+msgstr "Não pôde modificar os papéis"
+
+#: app/controllers/my_profile/manage_products_controller.rb:31
+#, fuzzy
+msgid "Product succesfully updated"
+msgstr "Papéis alterado com sucesso"
+
+#: app/controllers/my_profile/manage_products_controller.rb:34
+#, fuzzy
+msgid "Could not update the product"
+msgstr "Não pôde modificar o empreendimento"
+
+#: app/controllers/my_profile/manage_products_controller.rb:42
+#, fuzzy
+msgid "Product succesfully removed"
+msgstr "Marcador aprovado com sucesso"
+
+#: app/controllers/my_profile/manage_products_controller.rb:45
+#, fuzzy
+msgid "Could not remove the product"
+msgstr "Não pôde modificar o empreendimento"
+
#: app/controllers/public/account_controller.rb:25
msgid "Logged in successfully"
msgstr "Login bem sucedido"
@@ -133,6 +168,42 @@ msgstr "Sua senha foi alterada com sucesso!"
msgid "The supplied current password is incorrect."
msgstr "A senha informada está incorreta"
+#: app/controllers/my_profile_controller.rb:17
+msgid "This action is not available for \"%s\"."
+msgstr "Esta ação não está disponível para \"%s\"."
+
+#: app/models/product.rb:-
+msgid "product"
+msgstr ""
+
+#: app/models/product.rb:-
+#, fuzzy
+msgid "Product|Enterprise"
+msgstr "Editar empreendimento"
+
+#: app/models/product.rb:-
+#, fuzzy
+msgid "Product|Product category"
+msgstr "Categoria do Produto"
+
+#: app/models/product.rb:-
+#, fuzzy
+msgid "Product|Name"
+msgstr "Nome"
+
+#: app/models/product.rb:-
+msgid "Product|Price"
+msgstr ""
+
+#: app/models/product.rb:-
+msgid "Product|Description"
+msgstr ""
+
+#: app/models/product.rb:-
+#, fuzzy
+msgid "Product|Image"
+msgstr "Categoria do Produto"
+
#: app/models/validation_info.rb:-
msgid "validation info"
msgstr "informação de validação"
@@ -239,7 +310,61 @@ msgstr "Usuário"
msgid "Profile|Region"
msgstr "Região"
-#: app/models/profile.rb:7 app/helpers/application_helper.rb:199
+#: app/models/profile.rb:-
+#, fuzzy
+msgid "article"
+msgstr "Artigos"
+
+#: app/models/profile.rb:-
+#, fuzzy
+msgid "Article|Name"
+msgstr "Nome"
+
+#: app/models/profile.rb:-
+#, fuzzy
+msgid "Article|Slug"
+msgstr "Artigos"
+
+#: app/models/profile.rb:-
+#, fuzzy
+msgid "Article|Path"
+msgstr "Artigos"
+
+#: app/models/profile.rb:-
+#, fuzzy
+msgid "Article|Parent"
+msgstr "Artigos"
+
+#: app/models/profile.rb:-
+#, fuzzy
+msgid "Article|Body"
+msgstr "Artigos"
+
+#: app/models/profile.rb:-
+#, fuzzy
+msgid "Article|Profile"
+msgstr "Artigos"
+
+#: app/models/profile.rb:-
+#, fuzzy
+msgid "Article|Updated on"
+msgstr "Atualizado em"
+
+#: app/models/profile.rb:-
+#, fuzzy
+msgid "Article|Created on"
+msgstr "Criado em"
+
+#: app/models/profile.rb:-
+#, fuzzy
+msgid "Article|Version"
+msgstr "Artigos"
+
+#: app/models/profile.rb:-
+msgid "Article|Lock version"
+msgstr ""
+
+#: app/models/profile.rb:7 app/helpers/application_helper.rb:188
msgid "Edit profile"
msgstr "perfil"
@@ -259,7 +384,7 @@ msgstr "Conteúdo da postagem"
msgid "Edit profile design"
msgstr "Editar design de perfil"
-#: app/models/profile.rb:63
+#: app/models/profile.rb:59
msgid "An existing profile cannot be renamed."
msgstr "Um perfil existente não pode ser renomeado"
@@ -399,6 +524,10 @@ msgstr ""
msgid "%{fn} must not start with www."
msgstr "%{fn} não pode iniciar com www"
+#: app/models/image.rb:-
+msgid "image"
+msgstr ""
+
#: app/models/friendship.rb:-
msgid "friendship"
msgstr "amizade"
@@ -783,371 +912,108 @@ msgstr "Ajuda"
msgid "Close"
msgstr "Fechar"
-#: app/helpers/application_helper.rb:117 app/helpers/application_helper.rb:134
-msgid "My account"
-msgstr "Minha conta"
+#: app/helpers/application_helper.rb:117 app/helpers/application_helper.rb:127
+#: app/views/profile_editor/index.rhtml:1
+msgid "My profile"
+msgstr "Meu perfil"
#: app/helpers/application_helper.rb:118
msgid "My Enterprises"
msgstr "Meus Empreendimentos"
-#: app/helpers/application_helper.rb:119 app/helpers/application_helper.rb:137
+#: app/helpers/application_helper.rb:119 app/helpers/application_helper.rb:130
#: app/views/environment_role_manager/make_admin.rhtml:4
msgid "Admin"
msgstr "Administrador"
-#: app/helpers/application_helper.rb:120
-msgid "About"
-msgstr "Sobre"
-
-#: app/helpers/application_helper.rb:126
-msgid "about"
-msgstr "sobre"
-
-#: app/helpers/application_helper.rb:138 app/helpers/application_helper.rb:168
+#: app/helpers/application_helper.rb:131 app/helpers/application_helper.rb:157
msgid "Logout"
msgstr "Sair"
-#: app/helpers/application_helper.rb:142 app/helpers/application_helper.rb:160
+#: app/helpers/application_helper.rb:135 app/helpers/application_helper.rb:149
#: app/views/account/login.rhtml:1
msgid "Login"
msgstr "Entrar"
-#: app/helpers/application_helper.rb:164
+#: app/helpers/application_helper.rb:153
msgid "Not a user yet? Register now!"
msgstr "Ainda não é usuário? Registre-se agora!"
-#: app/helpers/application_helper.rb:182
+#: app/helpers/application_helper.rb:171
msgid "Features"
msgstr "Funcionalidades"
-#: app/helpers/application_helper.rb:183
+#: app/helpers/application_helper.rb:172
msgid "Edit visual"
msgstr "Editar visual"
-#: app/helpers/application_helper.rb:184
+#: app/helpers/application_helper.rb:173
msgid "Manage categories"
msgstr "Gerenciar categorias"
-#: app/helpers/application_helper.rb:185
+#: app/helpers/application_helper.rb:174
msgid "Manage permissions"
msgstr "Gerenciar permissões"
-#: app/helpers/application_helper.rb:186
+#: app/helpers/application_helper.rb:175
msgid "Manage validators"
msgstr "Gerenciar validadores"
-#: app/helpers/application_helper.rb:192
+#: app/helpers/application_helper.rb:181
msgid "New enterprise"
msgstr "Novo empreendimento"
-#: app/helpers/application_helper.rb:198 app/helpers/application_helper.rb:207
+#: app/helpers/application_helper.rb:187 app/helpers/application_helper.rb:196
msgid "Edit visual design"
msgstr "Editar aparência"
-#: app/helpers/application_helper.rb:200 app/helpers/application_helper.rb:209
+#: app/helpers/application_helper.rb:189 app/helpers/application_helper.rb:198
msgid "Manage content"
msgstr "Gerenciar conteúdo"
-#: app/helpers/application_helper.rb:208
+#: app/helpers/application_helper.rb:197
msgid "Edit informations"
msgstr "Editar informações"
-#: app/helpers/application_helper.rb:216
+#: app/helpers/application_helper.rb:205
#: app/views/account/new_password.rhtml:13
#: app/views/account/change_password.rhtml:1
#: app/views/account/change_password.rhtml:14
msgid "Change password"
msgstr "Alterar senha"
-#: app/helpers/application_helper.rb:222
-msgid "Report bug"
-msgstr "Reportar bug"
-
-#: app/helpers/application_helper.rb:228
+#: app/helpers/application_helper.rb:211
msgid "Change template"
msgstr "Mudar template"
-#: app/helpers/application_helper.rb:229
+#: app/helpers/application_helper.rb:212
msgid "Change block theme"
msgstr "Mude o tema de bloco"
-#: app/helpers/application_helper.rb:230
+#: app/helpers/application_helper.rb:213
msgid "Change icon theme"
msgstr "Mudar tema do ícone"
-#: app/helpers/application_helper.rb:268
-msgid "accessibility"
-msgstr "acessibilidade"
-
-#: app/helpers/application_helper.rb:271
-msgid "Accessibility"
-msgstr "Acessibilidade"
-
-#: app/helpers/application_helper.rb:276
+#: app/helpers/application_helper.rb:219
#: app/views/region_validators/region.rhtml:22
#: app/views/manage_tags/_search_box.rhtml:4
#: app/views/membership_editor/index.rhtml:4
msgid "Search"
msgstr "Busca"
-#: app/helpers/application_helper.rb:277
+#: app/helpers/application_helper.rb:220
msgid " "
msgstr " "
-#: app/helpers/application_helper.rb:287
+#: app/helpers/application_helper.rb:230
msgid "%s, version %s"
msgstr "%s, versão %s"
-#: app/helpers/application_helper.rb:365
-msgid "No Filter at all"
-msgstr "Sem qualquer filtro"
-
-#: app/helpers/application_helper.rb:366
-msgid "RDoc filter"
-msgstr "Filtro RDoc"
-
-#: app/helpers/application_helper.rb:367
-msgid "Simple"
-msgstr "Simples"
-
-#: app/helpers/application_helper.rb:368
-msgid "Textile"
-msgstr "Textile"
-
-#: app/views/cms/new.rhtml:2
-msgid "New Page"
-msgstr "Nova Página"
-
-#: app/views/cms/_page_list_item.rhtml:6
-msgid "%d revision"
-msgstr "%d revisão"
-
-#: app/views/cms/_page_list_item.rhtml:6
-msgid "%d revisions"
-msgstr "%d revisões"
-
-#: app/views/cms/_page_list_item.rhtml:7
-msgid "add child document"
-msgstr "adicionar document filho"
-
-#: app/views/cms/_page_list_item.rhtml:7
-msgid "Add a child to '%s'"
-msgstr "Adicionar um filho a '%s'"
-
-#: app/views/cms/_page_list_item.rhtml:8
-msgid "reorder children"
-msgstr "reordenar filhos"
-
-#: app/views/cms/_page_list_item.rhtml:8
-msgid "finished reordering"
-msgstr "ordenação terminada"
-
-#: app/views/cms/_page_list_item.rhtml:8
-msgid "Reorder children of '%s'"
-msgstr "Reordenar filhos de '%s'"
-
-#: app/views/cms/_page_list_item.rhtml:9
-msgid "delete"
-msgstr "excluir"
-
-#: app/views/cms/_page_list_item.rhtml:9
-msgid "This will delete this page, and any children. Are you sure?"
-msgstr "Isto vai excluir esta página, e qualquer filho. Tem certeza?"
-
-#: app/views/cms/_page_list_item.rhtml:9
-msgid "Delete page '%s' and all it's children"
-msgstr "Excluir página '%s' e todos seus filhos"
-
-#: app/views/cms/_page_list_item.rhtml:26
-msgid "DRAG"
-msgstr "ARRASTE"
-
-#: app/views/cms/_form.rhtml:27
-#: app/design_blocks/favourite_links/views/add_link.rhtml:6
-#: app/design_blocks/favourite_links/views/edit.rhtml:7
-msgid "Title"
-msgstr "Título"
-
-#: app/views/cms/_form.rhtml:28
-msgid "More..."
-msgstr "Mais..."
-
-#: app/views/cms/_form.rhtml:28
-msgid "Less..."
-msgstr "Menos..."
-
-#: app/views/cms/_form.rhtml:32
-msgid "Slug"
-msgstr "Atalho"
-
-#: app/views/cms/_form.rhtml:38
-msgid "Keywords"
-msgstr "Palvras-chave"
-
-#: app/views/cms/_form.rhtml:45
-msgid "Parent"
-msgstr "Pai"
-
-#: app/views/cms/_form.rhtml:47
-msgid "%s is a root page"
-msgstr "%s é uma página raiz"
-
-#: app/views/cms/_form.rhtml:55
-msgid "Content"
-msgstr "Conteúdo"
-
-#: app/views/cms/_form.rhtml:61
-msgid "Filter"
-msgstr "Filtro"
-
-#: app/views/cms/_form.rhtml:63
-msgid "Converts plain text into HTML"
-msgstr "Converte texto plano em HTML"
-
-#: app/views/cms/_form.rhtml:69
-msgid "Created"
-msgstr "Criado"
-
-#: app/views/cms/_form.rhtml:78
-msgid "One revision"
-msgid_plural "%d revisions"
-msgstr[0] "Uma revisão"
-msgstr[1] "%d revisões"
-
-#: app/views/cms/_form.rhtml:84
-msgid "Loading preview ..."
-msgstr "Carregando pré-visualização ..."
-
-#: app/views/cms/_form.rhtml:85
-msgid "Save Changes"
-msgstr "Salvar Mudanças"
-
-#: app/views/cms/_form.rhtml:85
-msgid "Create Page"
-msgstr "Criar Página"
-
-#: app/views/cms/_form.rhtml:87
-msgid "Revert"
-msgstr "Reverter"
-
-#: app/views/cms/_form.rhtml:90
-msgid ""
-"Changes detected. You will lose all the updates you have made if you "
-"proceed..."
+#: app/views/cms/view.rhtml:23
+msgid "New subitem"
msgstr ""
-"Mudanças detectadas. Você vai perder todas as atualizações que você fez se "
-"continuar..."
-
-#: app/views/cms/_form.rhtml:90 app/views/cms/delete.rhtml:16
-#: app/views/cms/versions.rhtml:25 app/views/role/_form.rhtml:13
-#: app/views/profile_members/change_role.rhtml:13
-#: app/views/enterprise_editor/edit.rhtml:8 app/views/manage_tags/new.rhtml:6
-#: app/views/manage_tags/edit.rhtml:6
-#: app/views/membership_editor/new_enterprise.rhtml:13
-#: app/views/enterprise_registration/basic_information.rhtml:33
-#: app/views/environment_role_manager/change_role.rhtml:12
-#: app/views/categories/_form.rhtml:17
-msgid "Cancel"
-msgstr "Cancelar"
-
-#: app/views/cms/_form.rhtml:96
-msgid "Page Preview"
-msgstr "Pré-visualização da página"
-
-#: app/views/cms/_form.rhtml:98
-msgid "Loading Preview..."
-msgstr "Carregando Pré-visualzação..."
-
-#: app/views/cms/_form.rhtml:103
-msgid "Close Preview"
-msgstr "Fechar Pré-visualzação"
-
-#: app/views/cms/_form.rhtml:103 app/views/cms/versions.rhtml:24
-msgid "or"
-msgstr "ou"
-
-#: app/views/cms/_form.rhtml:103
-msgid "Back to top"
-msgstr "Voltar ao topo"
-
-#: app/views/cms/reorder.rhtml:1
-msgid "Reorder Pages"
-msgstr "Rordenar Páginas"
-
-#: app/views/cms/reorder.rhtml:3
-msgid "\"%s\" child pages:"
-msgstr "\"%s\" páginas filhas:"
-
-#: app/views/cms/reorder.rhtml:19
-msgid "Move Up"
-msgstr "Mover para cima"
-#: app/views/cms/reorder.rhtml:20
-msgid "Move Down"
-msgstr "Mover para baixo"
-
-#: app/views/cms/reorder.rhtml:29
-msgid "Finished"
-msgstr "Terminado"
-
-#: app/views/cms/delete.rhtml:6
-msgid "Are you sure you want to delete the page titled \"%s\"?"
-msgstr "Tem certeza que quer excluir a página intitulada \"%s\"?"
-
-#: app/views/cms/delete.rhtml:8
-msgid "It has %s child pages that will also be deleted..."
-msgstr "Existem %s páginas filhas que também serão excluídas..."
-
-#: app/views/cms/delete.rhtml:14
-msgid "Yes, Delete The Page"
-msgstr "Sim, Excluir A Página"
-
-#: app/views/cms/versions.rhtml:1
-msgid "Page Revisions"
-msgstr "Revisões da Página"
-
-#: app/views/cms/versions.rhtml:7
-msgid "View Version:"
-msgstr "Ver Versão:"
-
-#: app/views/cms/versions.rhtml:11
-msgid "Version %s"
-msgstr "Versão %s"
-
-#: app/views/cms/versions.rhtml:14 app/views/cms/versions.rhtml:35
-msgid "Title:"
-msgstr "Título:"
-
-#: app/views/cms/versions.rhtml:15 app/views/cms/versions.rhtml:36
-msgid "Slug:"
-msgstr "Atalho:"
-
-#: app/views/cms/versions.rhtml:17 app/views/cms/versions.rhtml:38
-msgid "Keywords:"
-msgstr "Palavras-chaves"
-
-#: app/views/cms/versions.rhtml:23
-msgid "Set As Current Version"
-msgstr "Tornar versão atual"
-
-#: app/views/cms/versions.rhtml:32
-msgid "Current Version"
-msgstr "Versão Atual"
-
-#: app/views/cms/edit.rhtml:2
-msgid "Edit Page"
-msgstr "Editar Página"
-
-#: app/views/cms/index.rhtml:2
-msgid "Clear Page Cache"
-msgstr "Limpar cache de páginas"
-
-#: app/views/cms/index.rhtml:6
-msgid "Articles"
-msgstr "Artigos"
-
-#: app/views/cms/index.rhtml:17
+#: app/views/cms/view.rhtml:25
msgid "New article"
msgstr "Novo artigo"
@@ -1161,6 +1027,7 @@ msgstr "Permissões: "
#: app/views/role/_form.rhtml:12
#: app/views/profile_members/change_role.rhtml:12
+#: app/views/manage_products/_form.rhtml:11
#: app/views/features/_features_table.rhtml:15
#: app/views/environment_role_manager/change_role.rhtml:11
msgid "Save changes"
@@ -1170,6 +1037,17 @@ msgstr "Salvar alterações"
msgid "Create role"
msgstr "Criar papel"
+#: app/views/role/_form.rhtml:13
+#: app/views/profile_members/change_role.rhtml:13
+#: app/views/enterprise_editor/edit.rhtml:8 app/views/manage_tags/new.rhtml:6
+#: app/views/manage_tags/edit.rhtml:6
+#: app/views/membership_editor/new_enterprise.rhtml:13
+#: app/views/enterprise_registration/basic_information.rhtml:33
+#: app/views/environment_role_manager/change_role.rhtml:12
+#: app/views/categories/_form.rhtml:17
+msgid "Cancel"
+msgstr "Cancelar"
+
#: app/views/role/show.rhtml:3
msgid "Permissions"
msgstr "Permissões"
@@ -1280,6 +1158,85 @@ msgstr[1] "%{num} validadores."
msgid "Validators by Region"
msgstr "Validadores por região"
+#: app/views/manage_products/new.rhtml:1
+#: app/views/manage_products/index.rhtml:3
+#, fuzzy
+msgid "New product"
+msgstr "Novo papel"
+
+#: app/views/manage_products/_form.rhtml:4
+#, fuzzy
+msgid "Name:"
+msgstr "Nome"
+
+#: app/views/manage_products/_form.rhtml:5
+msgid "Price:"
+msgstr ""
+
+#: app/views/manage_products/_form.rhtml:6
+msgid "Description:"
+msgstr ""
+
+#: app/views/manage_products/_form.rhtml:7
+#, fuzzy
+msgid "Category:"
+msgstr "Categoria: %s"
+
+#: app/views/manage_products/_form.rhtml:9
+msgid "Image:"
+msgstr ""
+
+#: app/views/manage_products/_form.rhtml:11
+#, fuzzy
+msgid "Create product"
+msgstr "Criar papel"
+
+#: app/views/manage_products/show.rhtml:4
+#: app/views/manage_products/index.rhtml:7
+msgid "Price: "
+msgstr ""
+
+#: app/views/manage_products/show.rhtml:5
+#, fuzzy
+msgid "Description: "
+msgstr "Permissões: "
+
+#: app/views/manage_products/show.rhtml:6
+#, fuzzy
+msgid "Category: "
+msgstr "Categoria: %s"
+
+#: app/views/manage_products/show.rhtml:6
+msgid "Uncategorized product"
+msgstr ""
+
+#: app/views/manage_products/show.rhtml:8
+#: app/views/manage_products/index.rhtml:8
+#, fuzzy
+msgid "edit"
+msgstr "Editar"
+
+#: app/views/manage_products/show.rhtml:9
+#: app/views/manage_products/index.rhtml:9
+#, fuzzy
+msgid "destroy"
+msgstr "Destruir"
+
+#: app/views/manage_products/show.rhtml:11
+#, fuzzy
+msgid "back"
+msgstr "Voltar"
+
+#: app/views/manage_products/edit.rhtml:1
+#, fuzzy
+msgid "Editing"
+msgstr "Editando %s"
+
+#: app/views/manage_products/index.rhtml:1
+#, fuzzy
+msgid "Listing products"
+msgstr "Listando tags"
+
#: app/views/content_viewer/view_page.rhtml:4
#: app/views/manage_tags/list.rhtml:17
msgid "Up"
@@ -1290,15 +1247,16 @@ msgstr "Acima"
msgid "There is no such page: %s"
msgstr "Não há página: %s"
-#: app/views/layouts/application.rhtml:29
-#: app/views/layouts/comatose_admin.rhtml:29
+#: app/views/layouts/application.rhtml:33
+#: app/views/layouts/comatose_admin.rhtml:33
msgid "Image for Loading..."
msgstr "Imagem para Carregamento..."
-#: app/views/layouts/application.rhtml:34
-#: app/views/layouts/comatose_admin.rhtml:34
-msgid "Go Content"
-msgstr "Conteúdo"
+#: app/views/layouts/application.rhtml:39
+#: app/views/layouts/comatose_admin.rhtml:39
+#, fuzzy
+msgid "Go to content"
+msgstr "Conteúdo da postagem"
#: app/views/layouts/not_found.rhtml:5
msgid "Page not found"
@@ -1711,9 +1669,14 @@ msgid "Password"
msgstr "Senha"
#: app/views/account/login.rhtml:20
-msgid "I forgot my password"
+#, fuzzy
+msgid "I forgot my password!"
msgstr "Eu esqueci a minha senha"
+#: app/views/account/login.rhtml:24
+msgid "I want to be an user!"
+msgstr ""
+
#: app/views/account/password_recovery_sent.rhtml:1
#: app/views/account/forgot_password.rhtml:1
msgid "Password recovery"
@@ -1907,10 +1870,6 @@ msgstr ""
msgid "Access denied"
msgstr "Acesso negado"
-#: app/views/shared/categories_menu.rhtml:5
-msgid "Home"
-msgstr "Início"
-
#: app/views/profile_editor/person_info.rhtml:1
msgid "Edit person info"
msgstr "Editar dados pessoais"
@@ -1921,23 +1880,45 @@ msgstr "Informação de contato"
#: app/views/profile_editor/person_info.rhtml:11
#: app/views/categories/_form.rhtml:16
-#: app/design_blocks/favourite_links/views/add_link.rhtml:10
-#: app/design_blocks/favourite_links/views/edit.rhtml:26
+#: app/design_blocks/favorite_links/views/add_link.rhtml:10
+#: app/design_blocks/favorite_links/views/edit.rhtml:26
msgid "Save"
msgstr "Salvar"
-#: app/views/profile_editor/index.rhtml:1
-msgid "My profile"
-msgstr "Meu perfil"
+#: app/views/profile_editor/index.rhtml:8
+#, fuzzy
+msgid "Edit Profile"
+msgstr "perfil"
-#: app/views/profile_editor/index.rhtml:13
+#: app/views/profile_editor/index.rhtml:10
+#: app/views/profile_editor/index.rhtml:21
msgid "Edit Visual Design"
msgstr "Editar Aparência"
-#: app/views/profile_editor/index.rhtml:15
+#: app/views/profile_editor/index.rhtml:12
+#, fuzzy
+msgid "Manage Content"
+msgstr "Gerenciar conteúdo"
+
+#: app/views/profile_editor/index.rhtml:14
+#, fuzzy
+msgid "Change Password"
+msgstr "Alterar senha"
+
+#: app/views/profile_editor/index.rhtml:16
+#, fuzzy
+msgid "Manage Products"
+msgstr "Gerenciar o seu conteúdo"
+
+#: app/views/profile_editor/index.rhtml:22
msgid "Menage content"
msgstr "Garenciar conteúdo"
+#: app/views/profile_editor/index.rhtml:25
+#, fuzzy
+msgid "My organizations"
+msgstr "informação da organização"
+
#: app/views/enterprise_registration/basic_information.rhtml:27
msgid "Management information"
msgstr "Gerenciamento de informação"
@@ -2008,7 +1989,7 @@ msgid "Add subcategory"
msgstr "Adicionar subcategoria"
#: app/views/categories/_category.rhtml:9
-#: app/design_blocks/favourite_links/views/manage_links.rhtml:18
+#: app/design_blocks/favorite_links/views/manage_links.rhtml:18
msgid "Remove"
msgstr "Remover"
@@ -2028,39 +2009,237 @@ msgstr "Editando %s"
msgid "Categories"
msgstr "Categorias"
-#: app/design_blocks/favourite_links/views/add_link.rhtml:1
-#: app/design_blocks/favourite_links/views/edit.rhtml:2
-msgid "Editing Favourite Links"
+#: app/design_blocks/favorite_links/views/add_link.rhtml:1
+#: app/design_blocks/favorite_links/views/edit.rhtml:2
+#, fuzzy
+msgid "Editing Favorite Links"
msgstr "Editar Links Favoritos"
-#: app/design_blocks/favourite_links/views/manage_links.rhtml:4
+#: app/design_blocks/favorite_links/views/add_link.rhtml:6
+#: app/design_blocks/favorite_links/views/edit.rhtml:7
+msgid "Title"
+msgstr "Título"
+
+#: app/design_blocks/favorite_links/views/manage_links.rhtml:4
msgid "Add Link"
msgstr "Adicionar Link"
-#: app/design_blocks/favourite_links/views/manage_links.rhtml:8
-#: app/design_blocks/favourite_links/views/index.rhtml:3
+#: app/design_blocks/favorite_links/views/manage_links.rhtml:8
+#: app/design_blocks/favorite_links/views/index.rhtml:4
msgid "Previous"
msgstr "Anterior"
-#: app/design_blocks/favourite_links/views/manage_links.rhtml:11
-#: app/design_blocks/favourite_links/views/index.rhtml:6
+#: app/design_blocks/favorite_links/views/manage_links.rhtml:11
+#: app/design_blocks/favorite_links/views/index.rhtml:7
msgid "Next"
msgstr "Próximo"
-#: app/design_blocks/favourite_links/views/edit.rhtml:12
+#: app/design_blocks/favorite_links/views/edit.rhtml:12
msgid "Display header?"
msgstr "Mostrar menu?"
-#: app/design_blocks/favourite_links/views/edit.rhtml:17
+#: app/design_blocks/favorite_links/views/edit.rhtml:17
msgid "Display title?"
msgstr "Mostrar título?"
-#: app/design_blocks/favourite_links/views/edit.rhtml:22
+#: app/design_blocks/favorite_links/views/edit.rhtml:22
msgid "Max number of links"
msgstr "Número máximo de links"
-#~ msgid "List Block"
-#~ msgstr "Bloco de Lista"
+#~ msgid "My account"
+#~ msgstr "Minha conta"
+
+#~ msgid "About"
+#~ msgstr "Sobre"
+
+#~ msgid "about"
+#~ msgstr "sobre"
+
+#~ msgid "Report bug"
+#~ msgstr "Reportar bug"
+
+#~ msgid "accessibility"
+#~ msgstr "acessibilidade"
+
+#~ msgid "Accessibility"
+#~ msgstr "Acessibilidade"
+
+#~ msgid "No Filter at all"
+#~ msgstr "Sem qualquer filtro"
+
+#~ msgid "RDoc filter"
+#~ msgstr "Filtro RDoc"
+
+#~ msgid "Simple"
+#~ msgstr "Simples"
+
+#~ msgid "Textile"
+#~ msgstr "Textile"
+
+#~ msgid "New Page"
+#~ msgstr "Nova Página"
+
+#~ msgid "%d revision"
+#~ msgstr "%d revisão"
+
+#~ msgid "%d revisions"
+#~ msgstr "%d revisões"
+
+#~ msgid "add child document"
+#~ msgstr "adicionar document filho"
+
+#~ msgid "Add a child to '%s'"
+#~ msgstr "Adicionar um filho a '%s'"
+
+#~ msgid "reorder children"
+#~ msgstr "reordenar filhos"
+
+#~ msgid "finished reordering"
+#~ msgstr "ordenação terminada"
+
+#~ msgid "Reorder children of '%s'"
+#~ msgstr "Reordenar filhos de '%s'"
+
+#~ msgid "delete"
+#~ msgstr "excluir"
+
+#~ msgid "This will delete this page, and any children. Are you sure?"
+#~ msgstr "Isto vai excluir esta página, e qualquer filho. Tem certeza?"
+
+#~ msgid "Delete page '%s' and all it's children"
+#~ msgstr "Excluir página '%s' e todos seus filhos"
+
+#~ msgid "DRAG"
+#~ msgstr "ARRASTE"
+
+#~ msgid "More..."
+#~ msgstr "Mais..."
+
+#~ msgid "Less..."
+#~ msgstr "Menos..."
+
+#~ msgid "Slug"
+#~ msgstr "Atalho"
+
+#~ msgid "Keywords"
+#~ msgstr "Palvras-chave"
+
+#~ msgid "Parent"
+#~ msgstr "Pai"
+
+#~ msgid "%s is a root page"
+#~ msgstr "%s é uma página raiz"
+
+#~ msgid "Content"
+#~ msgstr "Conteúdo"
+
+#~ msgid "Filter"
+#~ msgstr "Filtro"
+
+#~ msgid "Converts plain text into HTML"
+#~ msgstr "Converte texto plano em HTML"
+
+#~ msgid "Created"
+#~ msgstr "Criado"
+
+#~ msgid "One revision"
+#~ msgid_plural "%d revisions"
+#~ msgstr[0] "Uma revisão"
+#~ msgstr[1] "%d revisões"
+
+#~ msgid "Loading preview ..."
+#~ msgstr "Carregando pré-visualização ..."
+
+#~ msgid "Save Changes"
+#~ msgstr "Salvar Mudanças"
+
+#~ msgid "Create Page"
+#~ msgstr "Criar Página"
+
+#~ msgid "Revert"
+#~ msgstr "Reverter"
+
+#~ msgid ""
+#~ "Changes detected. You will lose all the updates you have made if you "
+#~ "proceed..."
+#~ msgstr ""
+#~ "Mudanças detectadas. Você vai perder todas as atualizações que você fez "
+#~ "se continuar..."
+
+#~ msgid "Page Preview"
+#~ msgstr "Pré-visualização da página"
+
+#~ msgid "Loading Preview..."
+#~ msgstr "Carregando Pré-visualzação..."
+
+#~ msgid "Close Preview"
+#~ msgstr "Fechar Pré-visualzação"
+
+#~ msgid "or"
+#~ msgstr "ou"
+
+#~ msgid "Back to top"
+#~ msgstr "Voltar ao topo"
+
+#~ msgid "Reorder Pages"
+#~ msgstr "Rordenar Páginas"
+
+#~ msgid "\"%s\" child pages:"
+#~ msgstr "\"%s\" páginas filhas:"
+
+#~ msgid "Move Up"
+#~ msgstr "Mover para cima"
+
+#~ msgid "Move Down"
+#~ msgstr "Mover para baixo"
+
+#~ msgid "Finished"
+#~ msgstr "Terminado"
+
+#~ msgid "Are you sure you want to delete the page titled \"%s\"?"
+#~ msgstr "Tem certeza que quer excluir a página intitulada \"%s\"?"
+
+#~ msgid "It has %s child pages that will also be deleted..."
+#~ msgstr "Existem %s páginas filhas que também serão excluídas..."
+
+#~ msgid "Yes, Delete The Page"
+#~ msgstr "Sim, Excluir A Página"
+
+#~ msgid "Page Revisions"
+#~ msgstr "Revisões da Página"
+
+#~ msgid "View Version:"
+#~ msgstr "Ver Versão:"
+
+#~ msgid "Version %s"
+#~ msgstr "Versão %s"
+
+#~ msgid "Title:"
+#~ msgstr "Título:"
+
+#~ msgid "Slug:"
+#~ msgstr "Atalho:"
+
+#~ msgid "Keywords:"
+#~ msgstr "Palavras-chaves"
+
+#~ msgid "Set As Current Version"
+#~ msgstr "Tornar versão atual"
+
+#~ msgid "Current Version"
+#~ msgstr "Versão Atual"
+
+#~ msgid "Edit Page"
+#~ msgstr "Editar Página"
+
+#~ msgid "Clear Page Cache"
+#~ msgstr "Limpar cache de páginas"
+
+#~ msgid "Go Content"
+#~ msgstr "Conteúdo"
+
+#~ msgid "Home"
+#~ msgstr "Início"
#~ msgid "Link Block"
#~ msgstr "Bloco de Link"
diff --git a/public/designs/templates/default/stylesheets/style.css b/public/designs/templates/default/stylesheets/style.css
index 7fce759..ac3edb7 100644
--- a/public/designs/templates/default/stylesheets/style.css
+++ b/public/designs/templates/default/stylesheets/style.css
@@ -111,3 +111,9 @@ div#notice .button a {
div#notice .button a:hover {
background-color: #ffd;
}
+
+
+#design_editor .design_box{
+ border: 1px solid black;
+ height: 400px;
+}
diff --git a/test/fixtures/images.yml b/test/fixtures/images.yml
new file mode 100644
index 0000000..b49c4eb
--- /dev/null
+++ b/test/fixtures/images.yml
@@ -0,0 +1,5 @@
+# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
+one:
+ id: 1
+two:
+ id: 2
diff --git a/test/unit/image_test.rb b/test/unit/image_test.rb
new file mode 100644
index 0000000..499d844
--- /dev/null
+++ b/test/unit/image_test.rb
@@ -0,0 +1,10 @@
+require File.dirname(__FILE__) + '/../test_helper'
+
+class ImageTest < Test::Unit::TestCase
+ fixtures :images
+
+ # Replace this with your real tests.
+ def test_truth
+ assert true
+ end
+end
--
libgit2 0.21.2