Commit 243ecd040e371f4513eb20ebd69eacf0c9586d2a
Exists in
master
and in
29 other branches
Merge branch 'stable'
Conflicts: po/de/noosfero.po po/pt/noosfero.po
Showing
26 changed files
with
215 additions
and
125 deletions
Show diff stats
app/controllers/public/account_controller.rb
@@ -57,7 +57,6 @@ class AccountController < ApplicationController | @@ -57,7 +57,6 @@ class AccountController < ApplicationController | ||
57 | @terms_of_use = environment.terms_of_use | 57 | @terms_of_use = environment.terms_of_use |
58 | @user.person_data = params[:profile_data] | 58 | @user.person_data = params[:profile_data] |
59 | @person = Person.new(params[:profile_data]) | 59 | @person = Person.new(params[:profile_data]) |
60 | - @person.name = @user.login | ||
61 | @person.environment = @user.environment | 60 | @person.environment = @user.environment |
62 | if request.post? && params[self.icaptcha_field].blank? | 61 | if request.post? && params[self.icaptcha_field].blank? |
63 | @user.signup! | 62 | @user.signup! |
app/helpers/boxes_helper.rb
@@ -206,7 +206,7 @@ module BoxesHelper | @@ -206,7 +206,7 @@ module BoxesHelper | ||
206 | end | 206 | end |
207 | 207 | ||
208 | if block.respond_to?(:help) | 208 | if block.respond_to?(:help) |
209 | - buttons << thickbox_inline_popup_icon(:help, _('Help on this block'), "help-on-box-#{block.id}") << content_tag('div', content_tag('h2', _('Help')) + content_tag('div', block.help, :style => 'margin-bottom: 1em;') + thickbox_close_button(_('Close')), :style => 'display: none;', :id => "help-on-box-#{block.id}") | 209 | + buttons << thickbox_inline_popup_icon(:help, _('Help on this block'), {}, "help-on-box-#{block.id}") << content_tag('div', content_tag('h2', _('Help')) + content_tag('div', block.help, :style => 'margin-bottom: 1em;') + thickbox_close_button(_('Close')), :style => 'display: none;', :id => "help-on-box-#{block.id}") |
210 | end | 210 | end |
211 | 211 | ||
212 | content_tag('div', buttons.join("\n") + tag('br', :style => 'clear: left'), :class => 'button-bar') | 212 | content_tag('div', buttons.join("\n") + tag('br', :style => 'clear: left'), :class => 'button-bar') |
app/helpers/thickbox_helper.rb
1 | module ThickboxHelper | 1 | module ThickboxHelper |
2 | - def thickbox_inline_popup_link(title, id, options = {}) | ||
3 | - link_to(title, "#TB_inline?height=300&width=500&inlineId=#{id}&modal=true", {:class => 'thickbox'}.merge(options)) | 2 | + def thickbox_inline_popup_link(title, url, id, options = {}) |
3 | + link_to(title, url_for(url) + "#TB_inline?height=300&width=500&inlineId=#{id}&modal=true", {:class => 'thickbox'}.merge(options)) | ||
4 | end | 4 | end |
5 | - def thickbox_inline_popup_icon(type, title, id, options = {}) | ||
6 | - icon_button(type, title, "#TB_inline?height=300&width=500&inlineId=#{id}&modal=true", {:class => "thickbox"}.merge(options)) | 5 | + def thickbox_inline_popup_icon(type, title, url, id, options = {}) |
6 | + icon_button(type, title, url_for(url) + "#TB_inline?height=300&width=500&inlineId=#{id}&modal=true", {:class => "thickbox"}.merge(options)) | ||
7 | end | 7 | end |
8 | def thickbox_close_button(title) | 8 | def thickbox_close_button(title) |
9 | button_to_function(:close, title, 'tb_remove();') | 9 | button_to_function(:close, title, 'tb_remove();') |
app/models/comment.rb
@@ -17,7 +17,7 @@ class Comment < ActiveRecord::Base | @@ -17,7 +17,7 @@ class Comment < ActiveRecord::Base | ||
17 | end | 17 | end |
18 | end | 18 | end |
19 | 19 | ||
20 | - xss_terminate :only => [ :body, :title ] | 20 | + xss_terminate :only => [ :body, :title, :name ] |
21 | 21 | ||
22 | def author_name | 22 | def author_name |
23 | if author | 23 | if author |
app/models/feed_reader_block.rb
@@ -69,6 +69,7 @@ class FeedReaderBlock < Block | @@ -69,6 +69,7 @@ class FeedReaderBlock < Block | ||
69 | def clear | 69 | def clear |
70 | self.feed_items = [] | 70 | self.feed_items = [] |
71 | self.feed_title = nil | 71 | self.feed_title = nil |
72 | + self.error_message = nil | ||
72 | end | 73 | end |
73 | def finish_fetch | 74 | def finish_fetch |
74 | self.fetched_at = Time.now | 75 | self.fetched_at = Time.now |
app/models/google_maps.rb
@@ -15,11 +15,13 @@ class GoogleMaps | @@ -15,11 +15,13 @@ class GoogleMaps | ||
15 | end | 15 | end |
16 | 16 | ||
17 | def enabled?(domain) | 17 | def enabled?(domain) |
18 | - !Domain.find_by_name(domain).google_maps_key.nil? | 18 | + domain = Domain.find_by_name(domain) |
19 | + domain ? !domain.google_maps_key.nil? : false | ||
19 | end | 20 | end |
20 | 21 | ||
21 | - def key(domain) | ||
22 | - Domain.find_by_name(domain).google_maps_key || '' | 22 | + def key(domainname) |
23 | + domain = Domain.find_by_name(domainname) | ||
24 | + domain && domain.google_maps_key || '' | ||
23 | end | 25 | end |
24 | 26 | ||
25 | def initial_zoom | 27 | def initial_zoom |
app/models/person.rb
@@ -184,14 +184,6 @@ class Person < Profile | @@ -184,14 +184,6 @@ class Person < Profile | ||
184 | ] | 184 | ] |
185 | end | 185 | end |
186 | 186 | ||
187 | - def name | ||
188 | - if !self[:name].blank? | ||
189 | - self[:name] | ||
190 | - else | ||
191 | - self.user ? self.user.login : nil | ||
192 | - end | ||
193 | - end | ||
194 | - | ||
195 | has_and_belongs_to_many :favorite_enterprises, :class_name => 'Enterprise', :join_table => 'favorite_enteprises_people' | 187 | has_and_belongs_to_many :favorite_enterprises, :class_name => 'Enterprise', :join_table => 'favorite_enteprises_people' |
196 | 188 | ||
197 | def email_domain | 189 | def email_domain |
app/views/cms/view.rhtml
@@ -36,9 +36,9 @@ | @@ -36,9 +36,9 @@ | ||
36 | <td> | 36 | <td> |
37 | <%= image_tag 'icons-mime/gnome-folder.png' %> | 37 | <%= image_tag 'icons-mime/gnome-folder.png' %> |
38 | <% if @article.parent %> | 38 | <% if @article.parent %> |
39 | - <%= link_to '.. (parent folder)', :action => 'view', :id => @article.parent.id %> | 39 | + <%= link_to '.. (' + _('parent folder') + ')', :action => 'view', :id => @article.parent.id %> |
40 | <% else %> | 40 | <% else %> |
41 | - <%= link_to '.. (parent folder)', :action => 'index' %> | 41 | + <%= link_to '.. (' + _('parent folder') + ')', :action => 'index' %> |
42 | <% end %> | 42 | <% end %> |
43 | </td> | 43 | </td> |
44 | <td><%= Folder.short_description %></td> | 44 | <td><%= Folder.short_description %></td> |
app/views/layouts/application-ng.rhtml
@@ -67,7 +67,7 @@ | @@ -67,7 +67,7 @@ | ||
67 | <% end %> | 67 | <% end %> |
68 | <%= link_to('<i class="icon-menu-logout"></i><strong>' + _('Logout') + '</strong>', { :controller => 'account', :action => 'logout'} , :id => "logout", :title => _("Leave the system")) %> | 68 | <%= link_to('<i class="icon-menu-logout"></i><strong>' + _('Logout') + '</strong>', { :controller => 'account', :action => 'logout'} , :id => "logout", :title => _("Leave the system")) %> |
69 | <% else %> | 69 | <% else %> |
70 | - <%= _('%s or %s') % [thickbox_inline_popup_link('<i class="icon-menu-login"></i><strong>' + _('Login') + '</strong>', 'inlineLoginBox', :id => 'link_login', :help => _('Click here to enter your username and password and be recognized by the system.')), link_to('<strong>' + _('Register') + '</strong>', :controller => 'account', :action => 'signup') ] %> | 70 | + <%= _('%s or %s') % [thickbox_inline_popup_link('<i class="icon-menu-login"></i><strong>' + _('Login') + '</strong>', login_url, 'inlineLoginBox', :id => 'link_login', :help => _('Click here to enter your username and password and be recognized by the system.')), link_to('<strong>' + _('Register') + '</strong>', :controller => 'account', :action => 'signup') ] %> |
71 | <div id='inlineLoginBox' style='display: none;'> | 71 | <div id='inlineLoginBox' style='display: none;'> |
72 | <%= render :file => 'account/login' %> | 72 | <%= render :file => 'account/login' %> |
73 | <center><%= thickbox_close_button _('Close') %></center> | 73 | <center><%= thickbox_close_button _('Close') %></center> |
app/views/profile_editor/_person_form.rhtml
1 | <% @person ||= @profile %> | 1 | <% @person ||= @profile %> |
2 | 2 | ||
3 | -<%= required labelled_form_field(_('Full name'), text_field(:profile_data, :name)) %> | 3 | +<%= required f.text_field(:name) %> |
4 | 4 | ||
5 | <% optional_field(@person, 'nickname') do %> | 5 | <% optional_field(@person, 'nickname') do %> |
6 | <%= f.text_field(:nickname, :maxlength => 16, :size => 30) %> | 6 | <%= f.text_field(:nickname, :maxlength => 16, :size => 30) %> |
app/views/shared/user_menu.rhtml
@@ -62,7 +62,7 @@ | @@ -62,7 +62,7 @@ | ||
62 | <% if theme_option( :menu_login ) == 'full_form' %> | 62 | <% if theme_option( :menu_login ) == 'full_form' %> |
63 | <%= render :file => 'account/login_block' %> | 63 | <%= render :file => 'account/login_block' %> |
64 | <% else %> | 64 | <% else %> |
65 | - <%= thickbox_inline_popup_link('<span class="icon-menu-login"></span>'+ _('Login'), 'inlineLoginBox', :id => 'link_login', :help => _('Click here to enter your username and password and be recognized by the system.')) %> | 65 | + <%= thickbox_inline_popup_link('<span class="icon-menu-login"></span>'+ _('Login'), login_url, 'inlineLoginBox', :id => 'link_login', :help => _('Click here to enter your username and password and be recognized by the system.')) %> |
66 | <div id='inlineLoginBox' style='display: none;'> | 66 | <div id='inlineLoginBox' style='display: none;'> |
67 | <%= render :file => 'account/login' %> | 67 | <%= render :file => 'account/login' %> |
68 | <center><%= thickbox_close_button _('Close') %></center> | 68 | <center><%= thickbox_close_button _('Close') %></center> |
@@ -0,0 +1,11 @@ | @@ -0,0 +1,11 @@ | ||
1 | +class FixPeopleWithoutNames < ActiveRecord::Migration | ||
2 | + def self.up | ||
3 | + select_all("SELECT name, identifier FROM profiles WHERE name = '' or name IS NULL").each do |profile| | ||
4 | + update("UPDATE profiles SET name = '%s' WHERE identifier = '%s'" % [profile['identifier'], profile['identifier']]) | ||
5 | + end | ||
6 | + end | ||
7 | + | ||
8 | + def self.down | ||
9 | + say("Nothing to undo (cannot recover the data)") | ||
10 | + end | ||
11 | +end |
features/join_community.feature
@@ -53,7 +53,7 @@ Feature: join a community | @@ -53,7 +53,7 @@ Feature: join a community | ||
53 | | Username | joseoliveira | | 53 | | Username | joseoliveira | |
54 | | Password | 123456 | | 54 | | Password | 123456 | |
55 | | Password confirmation | 123456 | | 55 | | Password confirmation | 123456 | |
56 | - | Full name | Jose Oliveira | | 56 | + | Name | Jose Oliveira | |
57 | And I press "Sign up" | 57 | And I press "Sign up" |
58 | And I should see "Are you sure you want to join Sample Community?" | 58 | And I should see "Are you sure you want to join Sample Community?" |
59 | When I press "Yes, I want to join" | 59 | When I press "Yes, I want to join" |
features/signup.feature
@@ -11,7 +11,7 @@ Feature: signup | @@ -11,7 +11,7 @@ Feature: signup | ||
11 | And I fill in "Username" with "josesilva" | 11 | And I fill in "Username" with "josesilva" |
12 | And I fill in "Password" with "secret" | 12 | And I fill in "Password" with "secret" |
13 | And I fill in "Password confirmation" with "secret" | 13 | And I fill in "Password confirmation" with "secret" |
14 | - And I fill in "Full name" with "José da Silva" | 14 | + And I fill in "Name" with "José da Silva" |
15 | And I press "Sign up" | 15 | And I press "Sign up" |
16 | Then I should see "Thanks for signing up!" | 16 | Then I should see "Thanks for signing up!" |
17 | 17 | ||
@@ -22,3 +22,25 @@ Feature: signup | @@ -22,3 +22,25 @@ Feature: signup | ||
22 | Given I am logged in as "joaosilva" | 22 | Given I am logged in as "joaosilva" |
23 | And I go to signup page | 23 | And I go to signup page |
24 | Then I should be on Joao Silva's control panel | 24 | Then I should be on Joao Silva's control panel |
25 | + | ||
26 | + Scenario: user cannot register without a name | ||
27 | + Given I am on the homepage | ||
28 | + And I follow "Login" | ||
29 | + And I follow "I want to participate" | ||
30 | + And I fill in "e-Mail" with "josesilva@example.com" | ||
31 | + And I fill in "Username" with "josesilva" | ||
32 | + And I fill in "Password" with "secret" | ||
33 | + And I fill in "Password confirmation" with "secret" | ||
34 | + And I press "Sign up" | ||
35 | + Then I should see "Name can't be blank" | ||
36 | + | ||
37 | + Scenario: user cannot change his name to empty string | ||
38 | + Given the following users | ||
39 | + | login | name | | ||
40 | + | joaosilva | Joao Silva | | ||
41 | + Given I am logged in as "joaosilva" | ||
42 | + And I am on Joao Silva's control panel | ||
43 | + And I follow "Profile Info and settings" | ||
44 | + And I fill in "Name" with "" | ||
45 | + When I press "Save" | ||
46 | + Then I should see "Name can't be blank" |
lib/noosfero.rb
1 | module Noosfero | 1 | module Noosfero |
2 | PROJECT = 'noosfero' | 2 | PROJECT = 'noosfero' |
3 | - VERSION = '0.21.3' | 3 | + VERSION = '0.21.4' |
4 | 4 | ||
5 | def self.pattern_for_controllers_in_directory(dir) | 5 | def self.pattern_for_controllers_in_directory(dir) |
6 | disjunction = controllers_in_directory(dir).join('|') | 6 | disjunction = controllers_in_directory(dir).join('|') |
po/de/noosfero.po
@@ -6,9 +6,9 @@ | @@ -6,9 +6,9 @@ | ||
6 | # | 6 | # |
7 | msgid "" | 7 | msgid "" |
8 | msgstr "" | 8 | msgstr "" |
9 | -"Project-Id-Version: noosfero 0.21.0\n" | ||
10 | -"POT-Creation-Date: 2009-12-11 16:30-0300\n" | ||
11 | -"PO-Revision-Date: 2010-01-13 14:40-0300\n" | 9 | +"Project-Id-Version: noosfero 0.21.3\n" |
10 | +"POT-Creation-Date: 2010-01-13 13:04-0300\n" | ||
11 | +"PO-Revision-Date: 2010-01-20 13:44-0300\n" | ||
12 | "Last-Translator: Ronny Kursawe <kursawe.ronny@googlemail.com>\n" | 12 | "Last-Translator: Ronny Kursawe <kursawe.ronny@googlemail.com>\n" |
13 | "Language-Team: German <de@li.org>\n" | 13 | "Language-Team: German <de@li.org>\n" |
14 | "MIME-Version: 1.0\n" | 14 | "MIME-Version: 1.0\n" |
@@ -1157,40 +1157,40 @@ msgstr "Community-Felder nicht erfolgreich aktualisiert" | @@ -1157,40 +1157,40 @@ msgstr "Community-Felder nicht erfolgreich aktualisiert" | ||
1157 | msgid "You are not allowed to view this content. You can contact the owner of this profile to request access then." | 1157 | msgid "You are not allowed to view this content. You can contact the owner of this profile to request access then." |
1158 | msgstr "Es ist Ihnen nicht erlaubt diesen Inhalt anzusehen. Sie können den Besitzer dieses Profiles kontaktieren und um Erlaubnis fragen." | 1158 | msgstr "Es ist Ihnen nicht erlaubt diesen Inhalt anzusehen. Sie können den Besitzer dieses Profiles kontaktieren und um Erlaubnis fragen." |
1159 | 1159 | ||
1160 | -#: app/controllers/public/content_viewer_controller.rb:112 | 1160 | +#: app/controllers/public/content_viewer_controller.rb:115 |
1161 | msgid "Comment succesfully deleted" | 1161 | msgid "Comment succesfully deleted" |
1162 | msgstr "Kommentar erfolgreich gelöscht" | 1162 | msgstr "Kommentar erfolgreich gelöscht" |
1163 | 1163 | ||
1164 | -#: app/controllers/public/account_controller.rb:30 | 1164 | +#: app/controllers/public/account_controller.rb:31 |
1165 | msgid "Logged in successfully" | 1165 | msgid "Logged in successfully" |
1166 | msgstr "Erfolgreich angemeldet" | 1166 | msgstr "Erfolgreich angemeldet" |
1167 | 1167 | ||
1168 | -#: app/controllers/public/account_controller.rb:33 | 1168 | +#: app/controllers/public/account_controller.rb:34 |
1169 | msgid "Incorrect username or password" | 1169 | msgid "Incorrect username or password" |
1170 | msgstr "Falscher User-Name oder falsches Passwort" | 1170 | msgstr "Falscher User-Name oder falsches Passwort" |
1171 | 1171 | ||
1172 | -#: app/controllers/public/account_controller.rb:71 | 1172 | +#: app/controllers/public/account_controller.rb:72 |
1173 | #, fuzzy | 1173 | #, fuzzy |
1174 | msgid "Thanks for signing up!" | 1174 | msgid "Thanks for signing up!" |
1175 | msgstr "Vielen Dank!" | 1175 | msgstr "Vielen Dank!" |
1176 | 1176 | ||
1177 | -#: app/controllers/public/account_controller.rb:110 | 1177 | +#: app/controllers/public/account_controller.rb:111 |
1178 | msgid "You have been logged out." | 1178 | msgid "You have been logged out." |
1179 | msgstr "Sie haben sich abgemeldet." | 1179 | msgstr "Sie haben sich abgemeldet." |
1180 | 1180 | ||
1181 | -#: app/controllers/public/account_controller.rb:121 | 1181 | +#: app/controllers/public/account_controller.rb:122 |
1182 | msgid "Your password has been changed successfully!" | 1182 | msgid "Your password has been changed successfully!" |
1183 | msgstr "Ihr Passwort wurde erfolgreich geändert!" | 1183 | msgstr "Ihr Passwort wurde erfolgreich geändert!" |
1184 | 1184 | ||
1185 | -#: app/controllers/public/account_controller.rb:124 | 1185 | +#: app/controllers/public/account_controller.rb:125 |
1186 | msgid "The supplied current password is incorrect." | 1186 | msgid "The supplied current password is incorrect." |
1187 | msgstr "Das übermittelte aktuelle Passwort ist falsch." | 1187 | msgstr "Das übermittelte aktuelle Passwort ist falsch." |
1188 | 1188 | ||
1189 | -#: app/controllers/public/account_controller.rb:226 | 1189 | +#: app/controllers/public/account_controller.rb:227 |
1190 | msgid "Available!" | 1190 | msgid "Available!" |
1191 | msgstr "Verfügbar!" | 1191 | msgstr "Verfügbar!" |
1192 | 1192 | ||
1193 | -#: app/controllers/public/account_controller.rb:229 | 1193 | +#: app/controllers/public/account_controller.rb:230 |
1194 | msgid "Unavailable!" | 1194 | msgid "Unavailable!" |
1195 | msgstr "Nicht verfügbar!" | 1195 | msgstr "Nicht verfügbar!" |
1196 | 1196 | ||
@@ -2229,14 +2229,17 @@ msgstr "Tags werden erstellt, wenn Sie diese ihrem Inhalt hinzufügen. <p/> " | @@ -2229,14 +2229,17 @@ msgstr "Tags werden erstellt, wenn Sie diese ihrem Inhalt hinzufügen. <p/> " | ||
2229 | msgid "tags|View all" | 2229 | msgid "tags|View all" |
2230 | msgstr "Tags|zeige alle" | 2230 | msgstr "Tags|zeige alle" |
2231 | 2231 | ||
2232 | -#: app/models/add_friend.rb:21 | ||
2233 | -#: app/models/invite_friend.rb:45 | 2232 | +#: app/models/add_friend.rb:23 app/models/invite_friend.rb:45 |
2234 | msgid "%s wants to be your friend." | 2233 | msgid "%s wants to be your friend." |
2235 | msgstr "%s möchte Ihr Freund werden." | 2234 | msgstr "%s möchte Ihr Freund werden." |
2236 | 2235 | ||
2237 | -#: app/models/add_friend.rb:30 | ||
2238 | -msgid "You need to login to %{system} in order to accept %{requestor} as your friend." | ||
2239 | -msgstr "Sie müssen bei %{system} angemeldet sein, um %{requestor} alsIhren Freund zu akzeptieren." | 2236 | +#: app/models/add_friend.rb:32 |
2237 | +msgid "" | ||
2238 | +"You need to login to %{system} in order to accept %{requestor} as your " | ||
2239 | +"friend." | ||
2240 | +msgstr "" | ||
2241 | +"Sie müssen bei %{system} angemeldet sein, um %{requestor} alsIhren Freund zu " | ||
2242 | +"akzeptieren." | ||
2240 | 2243 | ||
2241 | #: app/models/friends_block.rb:4 | 2244 | #: app/models/friends_block.rb:4 |
2242 | msgid "A block that displays your friends" | 2245 | msgid "A block that displays your friends" |
@@ -3043,6 +3046,10 @@ msgstr "bestätigt" | @@ -3043,6 +3046,10 @@ msgstr "bestätigt" | ||
3043 | msgid "domain" | 3046 | msgid "domain" |
3044 | msgstr "domain" | 3047 | msgstr "domain" |
3045 | 3048 | ||
3049 | +#: app/models/domain.rb:- | ||
3050 | +msgid "Google maps key" | ||
3051 | +msgstr "" | ||
3052 | + | ||
3046 | #: app/models/domain.rb:13 | 3053 | #: app/models/domain.rb:13 |
3047 | msgid "%{fn} must be composed only of lowercase latters (a to z), numbers (0 to 9) and \"_\"" | 3054 | msgid "%{fn} must be composed only of lowercase latters (a to z), numbers (0 to 9) and \"_\"" |
3048 | msgstr "%{fn} darf nur kleine Buchstaben (a to z) und Zahlen (0 to 9) enthalten" | 3055 | msgstr "%{fn} darf nur kleine Buchstaben (a to z) und Zahlen (0 to 9) enthalten" |
@@ -3542,6 +3549,11 @@ msgstr "Aktueller Ordner:" | @@ -3542,6 +3549,11 @@ msgstr "Aktueller Ordner:" | ||
3542 | msgid "Actions" | 3549 | msgid "Actions" |
3543 | msgstr "Aktionen" | 3550 | msgstr "Aktionen" |
3544 | 3551 | ||
3552 | +#: app/views/cms/view.rhtml:39 app/views/cms/view.rhtml:41 | ||
3553 | +#, fuzzy | ||
3554 | +msgid "parent folder" | ||
3555 | +msgstr "Aktueller Ordner:" | ||
3556 | + | ||
3545 | #: app/views/cms/view.rhtml:60 | 3557 | #: app/views/cms/view.rhtml:60 |
3546 | msgid "Properties" | 3558 | msgid "Properties" |
3547 | msgstr "Eigenschaften" | 3559 | msgstr "Eigenschaften" |
po/fr/noosfero.po
@@ -4,9 +4,9 @@ | @@ -4,9 +4,9 @@ | ||
4 | # , 2009. | 4 | # , 2009. |
5 | msgid "" | 5 | msgid "" |
6 | msgstr "" | 6 | msgstr "" |
7 | -"Project-Id-Version: noosfero 0.21.0\n" | 7 | +"Project-Id-Version: noosfero 0.21.3\n" |
8 | "Report-Msgid-Bugs-To: \n" | 8 | "Report-Msgid-Bugs-To: \n" |
9 | -"POT-Creation-Date: 2009-12-11 16:30-0300\n" | 9 | +"POT-Creation-Date: 2010-01-13 13:04-0300\n" |
10 | "PO-Revision-Date: 2009-12-04 18:46-0300\n" | 10 | "PO-Revision-Date: 2009-12-04 18:46-0300\n" |
11 | "Last-Translator: Jean-Claude Bulliard <jcb@bulliard-consulting.com>\n" | 11 | "Last-Translator: Jean-Claude Bulliard <jcb@bulliard-consulting.com>\n" |
12 | "Language-Team: American English <kde-i18n-doc@kde.org>\n" | 12 | "Language-Team: American English <kde-i18n-doc@kde.org>\n" |
@@ -1144,39 +1144,39 @@ msgstr "" | @@ -1144,39 +1144,39 @@ msgstr "" | ||
1144 | "Vous n'êtes pas autorisé(e) à voir ce contenu. Vous pouvez contacter son " | 1144 | "Vous n'êtes pas autorisé(e) à voir ce contenu. Vous pouvez contacter son " |
1145 | "propriétaire pour lui en demander l'accès. " | 1145 | "propriétaire pour lui en demander l'accès. " |
1146 | 1146 | ||
1147 | -#: app/controllers/public/content_viewer_controller.rb:112 | 1147 | +#: app/controllers/public/content_viewer_controller.rb:115 |
1148 | msgid "Comment succesfully deleted" | 1148 | msgid "Comment succesfully deleted" |
1149 | msgstr "Le commentaire a bien été effacé" | 1149 | msgstr "Le commentaire a bien été effacé" |
1150 | 1150 | ||
1151 | -#: app/controllers/public/account_controller.rb:30 | 1151 | +#: app/controllers/public/account_controller.rb:31 |
1152 | msgid "Logged in successfully" | 1152 | msgid "Logged in successfully" |
1153 | msgstr "Connexion réussie" | 1153 | msgstr "Connexion réussie" |
1154 | 1154 | ||
1155 | -#: app/controllers/public/account_controller.rb:33 | 1155 | +#: app/controllers/public/account_controller.rb:34 |
1156 | msgid "Incorrect username or password" | 1156 | msgid "Incorrect username or password" |
1157 | msgstr "Identifiant ou mot de passe incorrect" | 1157 | msgstr "Identifiant ou mot de passe incorrect" |
1158 | 1158 | ||
1159 | -#: app/controllers/public/account_controller.rb:71 | 1159 | +#: app/controllers/public/account_controller.rb:72 |
1160 | msgid "Thanks for signing up!" | 1160 | msgid "Thanks for signing up!" |
1161 | msgstr "Merci de vous être inscrit(e) !" | 1161 | msgstr "Merci de vous être inscrit(e) !" |
1162 | 1162 | ||
1163 | -#: app/controllers/public/account_controller.rb:110 | 1163 | +#: app/controllers/public/account_controller.rb:111 |
1164 | msgid "You have been logged out." | 1164 | msgid "You have been logged out." |
1165 | msgstr "Vous avez été déconnecté(e)." | 1165 | msgstr "Vous avez été déconnecté(e)." |
1166 | 1166 | ||
1167 | -#: app/controllers/public/account_controller.rb:121 | 1167 | +#: app/controllers/public/account_controller.rb:122 |
1168 | msgid "Your password has been changed successfully!" | 1168 | msgid "Your password has been changed successfully!" |
1169 | msgstr "Votre mot de passe a bien été modifié !" | 1169 | msgstr "Votre mot de passe a bien été modifié !" |
1170 | 1170 | ||
1171 | -#: app/controllers/public/account_controller.rb:124 | 1171 | +#: app/controllers/public/account_controller.rb:125 |
1172 | msgid "The supplied current password is incorrect." | 1172 | msgid "The supplied current password is incorrect." |
1173 | msgstr "Le mot de passe actuel fourni est incorrect." | 1173 | msgstr "Le mot de passe actuel fourni est incorrect." |
1174 | 1174 | ||
1175 | -#: app/controllers/public/account_controller.rb:226 | 1175 | +#: app/controllers/public/account_controller.rb:227 |
1176 | msgid "Available!" | 1176 | msgid "Available!" |
1177 | msgstr "Disponible !" | 1177 | msgstr "Disponible !" |
1178 | 1178 | ||
1179 | -#: app/controllers/public/account_controller.rb:229 | 1179 | +#: app/controllers/public/account_controller.rb:230 |
1180 | msgid "Unavailable!" | 1180 | msgid "Unavailable!" |
1181 | msgstr "Indisponible" | 1181 | msgstr "Indisponible" |
1182 | 1182 | ||
@@ -2222,11 +2222,11 @@ msgstr "" | @@ -2222,11 +2222,11 @@ msgstr "" | ||
2222 | msgid "tags|View all" | 2222 | msgid "tags|View all" |
2223 | msgstr "Voir tout" | 2223 | msgstr "Voir tout" |
2224 | 2224 | ||
2225 | -#: app/models/add_friend.rb:21 app/models/invite_friend.rb:45 | 2225 | +#: app/models/add_friend.rb:23 app/models/invite_friend.rb:45 |
2226 | msgid "%s wants to be your friend." | 2226 | msgid "%s wants to be your friend." |
2227 | msgstr "%s veut être votre contact." | 2227 | msgstr "%s veut être votre contact." |
2228 | 2228 | ||
2229 | -#: app/models/add_friend.rb:30 | 2229 | +#: app/models/add_friend.rb:32 |
2230 | msgid "" | 2230 | msgid "" |
2231 | "You need to login to %{system} in order to accept %{requestor} as your " | 2231 | "You need to login to %{system} in order to accept %{requestor} as your " |
2232 | "friend." | 2232 | "friend." |
@@ -3085,6 +3085,10 @@ msgstr "Validé(e)" | @@ -3085,6 +3085,10 @@ msgstr "Validé(e)" | ||
3085 | msgid "domain" | 3085 | msgid "domain" |
3086 | msgstr "domaine" | 3086 | msgstr "domaine" |
3087 | 3087 | ||
3088 | +#: app/models/domain.rb:- | ||
3089 | +msgid "Google maps key" | ||
3090 | +msgstr "" | ||
3091 | + | ||
3088 | #: app/models/domain.rb:13 | 3092 | #: app/models/domain.rb:13 |
3089 | msgid "" | 3093 | msgid "" |
3090 | "%{fn} must be composed only of lowercase latters (a to z), numbers (0 to 9) " | 3094 | "%{fn} must be composed only of lowercase latters (a to z), numbers (0 to 9) " |
@@ -3607,6 +3611,11 @@ msgstr "Catégorie courante :" | @@ -3607,6 +3611,11 @@ msgstr "Catégorie courante :" | ||
3607 | msgid "Actions" | 3611 | msgid "Actions" |
3608 | msgstr "Actions" | 3612 | msgstr "Actions" |
3609 | 3613 | ||
3614 | +#: app/views/cms/view.rhtml:39 app/views/cms/view.rhtml:41 | ||
3615 | +#, fuzzy | ||
3616 | +msgid "parent folder" | ||
3617 | +msgstr "Catégorie courante :" | ||
3618 | + | ||
3610 | #: app/views/cms/view.rhtml:60 | 3619 | #: app/views/cms/view.rhtml:60 |
3611 | msgid "Properties" | 3620 | msgid "Properties" |
3612 | msgstr "Propriétés" | 3621 | msgstr "Propriétés" |
po/hy/noosfero.po
@@ -5,8 +5,8 @@ | @@ -5,8 +5,8 @@ | ||
5 | # | 5 | # |
6 | msgid "" | 6 | msgid "" |
7 | msgstr "" | 7 | msgstr "" |
8 | -"Project-Id-Version: noosfero 0.21.0\n" | ||
9 | -"POT-Creation-Date: 2009-12-11 16:30-0300\n" | 8 | +"Project-Id-Version: noosfero 0.21.3\n" |
9 | +"POT-Creation-Date: 2010-01-13 13:04-0300\n" | ||
10 | "PO-Revision-Date: 2009-10-26 16:20-0300\n" | 10 | "PO-Revision-Date: 2009-10-26 16:20-0300\n" |
11 | "Last-Translator: Anahit Minassian <anahit.minassian@cooperation.net>\n" | 11 | "Last-Translator: Anahit Minassian <anahit.minassian@cooperation.net>\n" |
12 | "Language-Team: LANGUAGE <LL@li.org>\n" | 12 | "Language-Team: LANGUAGE <LL@li.org>\n" |
@@ -1132,39 +1132,39 @@ msgid "" | @@ -1132,39 +1132,39 @@ msgid "" | ||
1132 | "profile to request access then." | 1132 | "profile to request access then." |
1133 | msgstr "" | 1133 | msgstr "" |
1134 | 1134 | ||
1135 | -#: app/controllers/public/content_viewer_controller.rb:112 | 1135 | +#: app/controllers/public/content_viewer_controller.rb:115 |
1136 | msgid "Comment succesfully deleted" | 1136 | msgid "Comment succesfully deleted" |
1137 | msgstr "Մեկնաբանությունը հաջողությամբ հեռացված է:" | 1137 | msgstr "Մեկնաբանությունը հաջողությամբ հեռացված է:" |
1138 | 1138 | ||
1139 | -#: app/controllers/public/account_controller.rb:30 | 1139 | +#: app/controllers/public/account_controller.rb:31 |
1140 | msgid "Logged in successfully" | 1140 | msgid "Logged in successfully" |
1141 | msgstr "Հաջողությամբ մուտք եք գործել" | 1141 | msgstr "Հաջողությամբ մուտք եք գործել" |
1142 | 1142 | ||
1143 | -#: app/controllers/public/account_controller.rb:33 | 1143 | +#: app/controllers/public/account_controller.rb:34 |
1144 | msgid "Incorrect username or password" | 1144 | msgid "Incorrect username or password" |
1145 | msgstr "Մասնակցի սխալ անուն կամ սխալ գաղտնաբառ" | 1145 | msgstr "Մասնակցի սխալ անուն կամ սխալ գաղտնաբառ" |
1146 | 1146 | ||
1147 | -#: app/controllers/public/account_controller.rb:71 | 1147 | +#: app/controllers/public/account_controller.rb:72 |
1148 | msgid "Thanks for signing up!" | 1148 | msgid "Thanks for signing up!" |
1149 | msgstr "Շնորհակալություն գրանցվելու համար:" | 1149 | msgstr "Շնորհակալություն գրանցվելու համար:" |
1150 | 1150 | ||
1151 | -#: app/controllers/public/account_controller.rb:110 | 1151 | +#: app/controllers/public/account_controller.rb:111 |
1152 | msgid "You have been logged out." | 1152 | msgid "You have been logged out." |
1153 | msgstr "Դուք համակարգից դուրս եք եկել:" | 1153 | msgstr "Դուք համակարգից դուրս եք եկել:" |
1154 | 1154 | ||
1155 | -#: app/controllers/public/account_controller.rb:121 | 1155 | +#: app/controllers/public/account_controller.rb:122 |
1156 | msgid "Your password has been changed successfully!" | 1156 | msgid "Your password has been changed successfully!" |
1157 | msgstr "Ձեր գաղտնաբառը բարեհաջող փոխված է:" | 1157 | msgstr "Ձեր գաղտնաբառը բարեհաջող փոխված է:" |
1158 | 1158 | ||
1159 | -#: app/controllers/public/account_controller.rb:124 | 1159 | +#: app/controllers/public/account_controller.rb:125 |
1160 | msgid "The supplied current password is incorrect." | 1160 | msgid "The supplied current password is incorrect." |
1161 | msgstr "Ներկայիս գաղտաբառը սխալ է:" | 1161 | msgstr "Ներկայիս գաղտաբառը սխալ է:" |
1162 | 1162 | ||
1163 | -#: app/controllers/public/account_controller.rb:226 | 1163 | +#: app/controllers/public/account_controller.rb:227 |
1164 | msgid "Available!" | 1164 | msgid "Available!" |
1165 | msgstr "" | 1165 | msgstr "" |
1166 | 1166 | ||
1167 | -#: app/controllers/public/account_controller.rb:229 | 1167 | +#: app/controllers/public/account_controller.rb:230 |
1168 | msgid "Unavailable!" | 1168 | msgid "Unavailable!" |
1169 | msgstr "" | 1169 | msgstr "" |
1170 | 1170 | ||
@@ -2181,11 +2181,11 @@ msgstr "" | @@ -2181,11 +2181,11 @@ msgstr "" | ||
2181 | msgid "tags|View all" | 2181 | msgid "tags|View all" |
2182 | msgstr "Տեսնել բոլորին" | 2182 | msgstr "Տեսնել բոլորին" |
2183 | 2183 | ||
2184 | -#: app/models/add_friend.rb:21 app/models/invite_friend.rb:45 | 2184 | +#: app/models/add_friend.rb:23 app/models/invite_friend.rb:45 |
2185 | msgid "%s wants to be your friend." | 2185 | msgid "%s wants to be your friend." |
2186 | msgstr "" | 2186 | msgstr "" |
2187 | 2187 | ||
2188 | -#: app/models/add_friend.rb:30 | 2188 | +#: app/models/add_friend.rb:32 |
2189 | msgid "" | 2189 | msgid "" |
2190 | "You need to login to %{system} in order to accept %{requestor} as your " | 2190 | "You need to login to %{system} in order to accept %{requestor} as your " |
2191 | "friend." | 2191 | "friend." |
@@ -3024,6 +3024,10 @@ msgstr "Վավերացված է" | @@ -3024,6 +3024,10 @@ msgstr "Վավերացված է" | ||
3024 | msgid "domain" | 3024 | msgid "domain" |
3025 | msgstr "տիրույթ" | 3025 | msgstr "տիրույթ" |
3026 | 3026 | ||
3027 | +#: app/models/domain.rb:- | ||
3028 | +msgid "Google maps key" | ||
3029 | +msgstr "" | ||
3030 | + | ||
3027 | #: app/models/domain.rb:13 | 3031 | #: app/models/domain.rb:13 |
3028 | msgid "" | 3032 | msgid "" |
3029 | "%{fn} must be composed only of lowercase latters (a to z), numbers (0 to 9) " | 3033 | "%{fn} must be composed only of lowercase latters (a to z), numbers (0 to 9) " |
@@ -3536,6 +3540,11 @@ msgstr "Ներկայիս կատեգորիա" | @@ -3536,6 +3540,11 @@ msgstr "Ներկայիս կատեգորիա" | ||
3536 | msgid "Actions" | 3540 | msgid "Actions" |
3537 | msgstr "Գործողություններ" | 3541 | msgstr "Գործողություններ" |
3538 | 3542 | ||
3543 | +#: app/views/cms/view.rhtml:39 app/views/cms/view.rhtml:41 | ||
3544 | +#, fuzzy | ||
3545 | +msgid "parent folder" | ||
3546 | +msgstr "Ներկայիս կատեգորիա" | ||
3547 | + | ||
3539 | #: app/views/cms/view.rhtml:60 | 3548 | #: app/views/cms/view.rhtml:60 |
3540 | msgid "Properties" | 3549 | msgid "Properties" |
3541 | msgstr "Հատկություններ" | 3550 | msgstr "Հատկություններ" |
po/noosfero.pot
@@ -6,8 +6,8 @@ | @@ -6,8 +6,8 @@ | ||
6 | #, fuzzy | 6 | #, fuzzy |
7 | msgid "" | 7 | msgid "" |
8 | msgstr "" | 8 | msgstr "" |
9 | -"Project-Id-Version: noosfero 0.21.0\n" | ||
10 | -"POT-Creation-Date: 2009-12-11 16:30-0300\n" | 9 | +"Project-Id-Version: noosfero 0.21.3\n" |
10 | +"POT-Creation-Date: 2010-01-13 13:04-0300\n" | ||
11 | "PO-Revision-Date: 2007-08-30 18:47-0300\n" | 11 | "PO-Revision-Date: 2007-08-30 18:47-0300\n" |
12 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | 12 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
13 | "Language-Team: LANGUAGE <LL@li.org>\n" | 13 | "Language-Team: LANGUAGE <LL@li.org>\n" |
@@ -1115,39 +1115,39 @@ msgid "" | @@ -1115,39 +1115,39 @@ msgid "" | ||
1115 | "profile to request access then." | 1115 | "profile to request access then." |
1116 | msgstr "" | 1116 | msgstr "" |
1117 | 1117 | ||
1118 | -#: app/controllers/public/content_viewer_controller.rb:112 | 1118 | +#: app/controllers/public/content_viewer_controller.rb:115 |
1119 | msgid "Comment succesfully deleted" | 1119 | msgid "Comment succesfully deleted" |
1120 | msgstr "" | 1120 | msgstr "" |
1121 | 1121 | ||
1122 | -#: app/controllers/public/account_controller.rb:30 | 1122 | +#: app/controllers/public/account_controller.rb:31 |
1123 | msgid "Logged in successfully" | 1123 | msgid "Logged in successfully" |
1124 | msgstr "" | 1124 | msgstr "" |
1125 | 1125 | ||
1126 | -#: app/controllers/public/account_controller.rb:33 | 1126 | +#: app/controllers/public/account_controller.rb:34 |
1127 | msgid "Incorrect username or password" | 1127 | msgid "Incorrect username or password" |
1128 | msgstr "" | 1128 | msgstr "" |
1129 | 1129 | ||
1130 | -#: app/controllers/public/account_controller.rb:71 | 1130 | +#: app/controllers/public/account_controller.rb:72 |
1131 | msgid "Thanks for signing up!" | 1131 | msgid "Thanks for signing up!" |
1132 | msgstr "" | 1132 | msgstr "" |
1133 | 1133 | ||
1134 | -#: app/controllers/public/account_controller.rb:110 | 1134 | +#: app/controllers/public/account_controller.rb:111 |
1135 | msgid "You have been logged out." | 1135 | msgid "You have been logged out." |
1136 | msgstr "" | 1136 | msgstr "" |
1137 | 1137 | ||
1138 | -#: app/controllers/public/account_controller.rb:121 | 1138 | +#: app/controllers/public/account_controller.rb:122 |
1139 | msgid "Your password has been changed successfully!" | 1139 | msgid "Your password has been changed successfully!" |
1140 | msgstr "" | 1140 | msgstr "" |
1141 | 1141 | ||
1142 | -#: app/controllers/public/account_controller.rb:124 | 1142 | +#: app/controllers/public/account_controller.rb:125 |
1143 | msgid "The supplied current password is incorrect." | 1143 | msgid "The supplied current password is incorrect." |
1144 | msgstr "" | 1144 | msgstr "" |
1145 | 1145 | ||
1146 | -#: app/controllers/public/account_controller.rb:226 | 1146 | +#: app/controllers/public/account_controller.rb:227 |
1147 | msgid "Available!" | 1147 | msgid "Available!" |
1148 | msgstr "" | 1148 | msgstr "" |
1149 | 1149 | ||
1150 | -#: app/controllers/public/account_controller.rb:229 | 1150 | +#: app/controllers/public/account_controller.rb:230 |
1151 | msgid "Unavailable!" | 1151 | msgid "Unavailable!" |
1152 | msgstr "" | 1152 | msgstr "" |
1153 | 1153 | ||
@@ -2121,11 +2121,11 @@ msgstr "" | @@ -2121,11 +2121,11 @@ msgstr "" | ||
2121 | msgid "tags|View all" | 2121 | msgid "tags|View all" |
2122 | msgstr "" | 2122 | msgstr "" |
2123 | 2123 | ||
2124 | -#: app/models/add_friend.rb:21 app/models/invite_friend.rb:45 | 2124 | +#: app/models/add_friend.rb:23 app/models/invite_friend.rb:45 |
2125 | msgid "%s wants to be your friend." | 2125 | msgid "%s wants to be your friend." |
2126 | msgstr "" | 2126 | msgstr "" |
2127 | 2127 | ||
2128 | -#: app/models/add_friend.rb:30 | 2128 | +#: app/models/add_friend.rb:32 |
2129 | msgid "" | 2129 | msgid "" |
2130 | "You need to login to %{system} in order to accept %{requestor} as your " | 2130 | "You need to login to %{system} in order to accept %{requestor} as your " |
2131 | "friend." | 2131 | "friend." |
@@ -2925,6 +2925,10 @@ msgstr "" | @@ -2925,6 +2925,10 @@ msgstr "" | ||
2925 | msgid "domain" | 2925 | msgid "domain" |
2926 | msgstr "" | 2926 | msgstr "" |
2927 | 2927 | ||
2928 | +#: app/models/domain.rb:- | ||
2929 | +msgid "Google maps key" | ||
2930 | +msgstr "" | ||
2931 | + | ||
2928 | #: app/models/domain.rb:13 | 2932 | #: app/models/domain.rb:13 |
2929 | msgid "" | 2933 | msgid "" |
2930 | "%{fn} must be composed only of lowercase latters (a to z), numbers (0 to 9) " | 2934 | "%{fn} must be composed only of lowercase latters (a to z), numbers (0 to 9) " |
@@ -3418,6 +3422,10 @@ msgstr "" | @@ -3418,6 +3422,10 @@ msgstr "" | ||
3418 | msgid "Actions" | 3422 | msgid "Actions" |
3419 | msgstr "" | 3423 | msgstr "" |
3420 | 3424 | ||
3425 | +#: app/views/cms/view.rhtml:39 app/views/cms/view.rhtml:41 | ||
3426 | +msgid "parent folder" | ||
3427 | +msgstr "" | ||
3428 | + | ||
3421 | #: app/views/cms/view.rhtml:60 | 3429 | #: app/views/cms/view.rhtml:60 |
3422 | msgid "Properties" | 3430 | msgid "Properties" |
3423 | msgstr "" | 3431 | msgstr "" |
po/pt/noosfero.po
@@ -11,9 +11,9 @@ | @@ -11,9 +11,9 @@ | ||
11 | # | 11 | # |
12 | msgid "" | 12 | msgid "" |
13 | msgstr "" | 13 | msgstr "" |
14 | -"Project-Id-Version: noosfero 0.21.0\n" | ||
15 | -"POT-Creation-Date: 2009-12-11 16:30-0300\n" | ||
16 | -"PO-Revision-Date: 2009-12-28 19:12-0300\n" | 14 | +"Project-Id-Version: noosfero 0.21.3\n" |
15 | +"POT-Creation-Date: 2010-01-13 13:04-0300\n" | ||
16 | +"PO-Revision-Date: 2010-01-20 13:44-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" |
@@ -1127,39 +1127,39 @@ msgstr "" | @@ -1127,39 +1127,39 @@ msgstr "" | ||
1127 | "Você não tem permissão de visualizar este conteúdo. Você pode contactar o " | 1127 | "Você não tem permissão de visualizar este conteúdo. Você pode contactar o " |
1128 | "dono deste perfil e pedir acesso." | 1128 | "dono deste perfil e pedir acesso." |
1129 | 1129 | ||
1130 | -#: app/controllers/public/content_viewer_controller.rb:112 | 1130 | +#: app/controllers/public/content_viewer_controller.rb:115 |
1131 | msgid "Comment succesfully deleted" | 1131 | msgid "Comment succesfully deleted" |
1132 | msgstr "Comentário removido com sucesso" | 1132 | msgstr "Comentário removido com sucesso" |
1133 | 1133 | ||
1134 | -#: app/controllers/public/account_controller.rb:30 | 1134 | +#: app/controllers/public/account_controller.rb:31 |
1135 | msgid "Logged in successfully" | 1135 | msgid "Logged in successfully" |
1136 | msgstr "Login bem sucedido" | 1136 | msgstr "Login bem sucedido" |
1137 | 1137 | ||
1138 | -#: app/controllers/public/account_controller.rb:33 | 1138 | +#: app/controllers/public/account_controller.rb:34 |
1139 | msgid "Incorrect username or password" | 1139 | msgid "Incorrect username or password" |
1140 | msgstr "Nome ou senha incorreto" | 1140 | msgstr "Nome ou senha incorreto" |
1141 | 1141 | ||
1142 | -#: app/controllers/public/account_controller.rb:71 | 1142 | +#: app/controllers/public/account_controller.rb:72 |
1143 | msgid "Thanks for signing up!" | 1143 | msgid "Thanks for signing up!" |
1144 | msgstr "Obrigado por se registrar!" | 1144 | msgstr "Obrigado por se registrar!" |
1145 | 1145 | ||
1146 | -#: app/controllers/public/account_controller.rb:110 | 1146 | +#: app/controllers/public/account_controller.rb:111 |
1147 | msgid "You have been logged out." | 1147 | msgid "You have been logged out." |
1148 | msgstr "Você saiu do sistema." | 1148 | msgstr "Você saiu do sistema." |
1149 | 1149 | ||
1150 | -#: app/controllers/public/account_controller.rb:121 | 1150 | +#: app/controllers/public/account_controller.rb:122 |
1151 | msgid "Your password has been changed successfully!" | 1151 | msgid "Your password has been changed successfully!" |
1152 | msgstr "Sua senha foi alterada com sucesso!" | 1152 | msgstr "Sua senha foi alterada com sucesso!" |
1153 | 1153 | ||
1154 | -#: app/controllers/public/account_controller.rb:124 | 1154 | +#: app/controllers/public/account_controller.rb:125 |
1155 | msgid "The supplied current password is incorrect." | 1155 | msgid "The supplied current password is incorrect." |
1156 | msgstr "A senha informada está incorreta" | 1156 | msgstr "A senha informada está incorreta" |
1157 | 1157 | ||
1158 | -#: app/controllers/public/account_controller.rb:226 | 1158 | +#: app/controllers/public/account_controller.rb:227 |
1159 | msgid "Available!" | 1159 | msgid "Available!" |
1160 | msgstr "Disponível!" | 1160 | msgstr "Disponível!" |
1161 | 1161 | ||
1162 | -#: app/controllers/public/account_controller.rb:229 | 1162 | +#: app/controllers/public/account_controller.rb:230 |
1163 | msgid "Unavailable!" | 1163 | msgid "Unavailable!" |
1164 | msgstr "Não disponível!" | 1164 | msgstr "Não disponível!" |
1165 | 1165 | ||
@@ -2168,11 +2168,11 @@ msgstr "" | @@ -2168,11 +2168,11 @@ msgstr "" | ||
2168 | msgid "tags|View all" | 2168 | msgid "tags|View all" |
2169 | msgstr "Ver todos(as)" | 2169 | msgstr "Ver todos(as)" |
2170 | 2170 | ||
2171 | -#: app/models/add_friend.rb:21 app/models/invite_friend.rb:45 | 2171 | +#: app/models/add_friend.rb:23 app/models/invite_friend.rb:45 |
2172 | msgid "%s wants to be your friend." | 2172 | msgid "%s wants to be your friend." |
2173 | msgstr "%s quer ser seu(sua) amigo(a)." | 2173 | msgstr "%s quer ser seu(sua) amigo(a)." |
2174 | 2174 | ||
2175 | -#: app/models/add_friend.rb:30 | 2175 | +#: app/models/add_friend.rb:32 |
2176 | msgid "" | 2176 | msgid "" |
2177 | "You need to login to %{system} in order to accept %{requestor} as your " | 2177 | "You need to login to %{system} in order to accept %{requestor} as your " |
2178 | "friend." | 2178 | "friend." |
@@ -2999,6 +2999,10 @@ msgstr "Validado" | @@ -2999,6 +2999,10 @@ msgstr "Validado" | ||
2999 | msgid "domain" | 2999 | msgid "domain" |
3000 | msgstr "domínio" | 3000 | msgstr "domínio" |
3001 | 3001 | ||
3002 | +#: app/models/domain.rb:- | ||
3003 | +msgid "Google maps key" | ||
3004 | +msgstr "" | ||
3005 | + | ||
3002 | #: app/models/domain.rb:13 | 3006 | #: app/models/domain.rb:13 |
3003 | msgid "" | 3007 | msgid "" |
3004 | "%{fn} must be composed only of lowercase latters (a to z), numbers (0 to 9) " | 3008 | "%{fn} must be composed only of lowercase latters (a to z), numbers (0 to 9) " |
@@ -3513,6 +3517,10 @@ msgstr "Pasta atual:" | @@ -3513,6 +3517,10 @@ msgstr "Pasta atual:" | ||
3513 | msgid "Actions" | 3517 | msgid "Actions" |
3514 | msgstr "Ações" | 3518 | msgstr "Ações" |
3515 | 3519 | ||
3520 | +#: app/views/cms/view.rhtml:39 app/views/cms/view.rhtml:41 | ||
3521 | +msgid "parent folder" | ||
3522 | +msgstr "pasta superior" | ||
3523 | + | ||
3516 | #: app/views/cms/view.rhtml:60 | 3524 | #: app/views/cms/view.rhtml:60 |
3517 | msgid "Properties" | 3525 | msgid "Properties" |
3518 | msgstr "Características" | 3526 | msgstr "Características" |
po/ru/noosfero.po
@@ -5,8 +5,8 @@ | @@ -5,8 +5,8 @@ | ||
5 | # | 5 | # |
6 | msgid "" | 6 | msgid "" |
7 | msgstr "" | 7 | msgstr "" |
8 | -"Project-Id-Version: noosfero 0.21.0\n" | ||
9 | -"POT-Creation-Date: 2009-12-11 16:30-0300\n" | 8 | +"Project-Id-Version: noosfero 0.21.3\n" |
9 | +"POT-Creation-Date: 2010-01-13 13:04-0300\n" | ||
10 | "PO-Revision-Date: 2009-10-09 13:28+0100\n" | 10 | "PO-Revision-Date: 2009-10-09 13:28+0100\n" |
11 | "Last-Translator: Anton <anton.c@live.com>\n" | 11 | "Last-Translator: Anton <anton.c@live.com>\n" |
12 | "Language-Team: German <de@li.org>\n" | 12 | "Language-Team: German <de@li.org>\n" |
@@ -1120,39 +1120,39 @@ msgid "" | @@ -1120,39 +1120,39 @@ msgid "" | ||
1120 | "profile to request access then." | 1120 | "profile to request access then." |
1121 | msgstr "Вы не можете просматривать данный контент. Обратитесь к автору." | 1121 | msgstr "Вы не можете просматривать данный контент. Обратитесь к автору." |
1122 | 1122 | ||
1123 | -#: app/controllers/public/content_viewer_controller.rb:112 | 1123 | +#: app/controllers/public/content_viewer_controller.rb:115 |
1124 | msgid "Comment succesfully deleted" | 1124 | msgid "Comment succesfully deleted" |
1125 | msgstr "Комментарий успешно удален" | 1125 | msgstr "Комментарий успешно удален" |
1126 | 1126 | ||
1127 | -#: app/controllers/public/account_controller.rb:30 | 1127 | +#: app/controllers/public/account_controller.rb:31 |
1128 | msgid "Logged in successfully" | 1128 | msgid "Logged in successfully" |
1129 | msgstr "Успешный логин" | 1129 | msgstr "Успешный логин" |
1130 | 1130 | ||
1131 | -#: app/controllers/public/account_controller.rb:33 | 1131 | +#: app/controllers/public/account_controller.rb:34 |
1132 | msgid "Incorrect username or password" | 1132 | msgid "Incorrect username or password" |
1133 | msgstr "Неправильное имя или пароль" | 1133 | msgstr "Неправильное имя или пароль" |
1134 | 1134 | ||
1135 | -#: app/controllers/public/account_controller.rb:71 | 1135 | +#: app/controllers/public/account_controller.rb:72 |
1136 | msgid "Thanks for signing up!" | 1136 | msgid "Thanks for signing up!" |
1137 | msgstr "Спасибо за регистрацию!" | 1137 | msgstr "Спасибо за регистрацию!" |
1138 | 1138 | ||
1139 | -#: app/controllers/public/account_controller.rb:110 | 1139 | +#: app/controllers/public/account_controller.rb:111 |
1140 | msgid "You have been logged out." | 1140 | msgid "You have been logged out." |
1141 | msgstr "Вы произвели выход" | 1141 | msgstr "Вы произвели выход" |
1142 | 1142 | ||
1143 | -#: app/controllers/public/account_controller.rb:121 | 1143 | +#: app/controllers/public/account_controller.rb:122 |
1144 | msgid "Your password has been changed successfully!" | 1144 | msgid "Your password has been changed successfully!" |
1145 | msgstr "Ваш пароль успешно изменен" | 1145 | msgstr "Ваш пароль успешно изменен" |
1146 | 1146 | ||
1147 | -#: app/controllers/public/account_controller.rb:124 | 1147 | +#: app/controllers/public/account_controller.rb:125 |
1148 | msgid "The supplied current password is incorrect." | 1148 | msgid "The supplied current password is incorrect." |
1149 | msgstr "Пароль неверный" | 1149 | msgstr "Пароль неверный" |
1150 | 1150 | ||
1151 | -#: app/controllers/public/account_controller.rb:226 | 1151 | +#: app/controllers/public/account_controller.rb:227 |
1152 | msgid "Available!" | 1152 | msgid "Available!" |
1153 | msgstr "Свободно!" | 1153 | msgstr "Свободно!" |
1154 | 1154 | ||
1155 | -#: app/controllers/public/account_controller.rb:229 | 1155 | +#: app/controllers/public/account_controller.rb:230 |
1156 | msgid "Unavailable!" | 1156 | msgid "Unavailable!" |
1157 | msgstr "Занято" | 1157 | msgstr "Занято" |
1158 | 1158 | ||
@@ -2161,11 +2161,11 @@ msgstr "" | @@ -2161,11 +2161,11 @@ msgstr "" | ||
2161 | msgid "tags|View all" | 2161 | msgid "tags|View all" |
2162 | msgstr "Просмотреть все" | 2162 | msgstr "Просмотреть все" |
2163 | 2163 | ||
2164 | -#: app/models/add_friend.rb:21 app/models/invite_friend.rb:45 | 2164 | +#: app/models/add_friend.rb:23 app/models/invite_friend.rb:45 |
2165 | msgid "%s wants to be your friend." | 2165 | msgid "%s wants to be your friend." |
2166 | msgstr "%s хочет быть вашим другом" | 2166 | msgstr "%s хочет быть вашим другом" |
2167 | 2167 | ||
2168 | -#: app/models/add_friend.rb:30 | 2168 | +#: app/models/add_friend.rb:32 |
2169 | msgid "" | 2169 | msgid "" |
2170 | "You need to login to %{system} in order to accept %{requestor} as your " | 2170 | "You need to login to %{system} in order to accept %{requestor} as your " |
2171 | "friend." | 2171 | "friend." |
@@ -3006,6 +3006,10 @@ msgstr "Действительность" | @@ -3006,6 +3006,10 @@ msgstr "Действительность" | ||
3006 | msgid "domain" | 3006 | msgid "domain" |
3007 | msgstr "домен" | 3007 | msgstr "домен" |
3008 | 3008 | ||
3009 | +#: app/models/domain.rb:- | ||
3010 | +msgid "Google maps key" | ||
3011 | +msgstr "" | ||
3012 | + | ||
3009 | #: app/models/domain.rb:13 | 3013 | #: app/models/domain.rb:13 |
3010 | msgid "" | 3014 | msgid "" |
3011 | "%{fn} must be composed only of lowercase latters (a to z), numbers (0 to 9) " | 3015 | "%{fn} must be composed only of lowercase latters (a to z), numbers (0 to 9) " |
@@ -3508,6 +3512,11 @@ msgstr "Текущая папка:" | @@ -3508,6 +3512,11 @@ msgstr "Текущая папка:" | ||
3508 | msgid "Actions" | 3512 | msgid "Actions" |
3509 | msgstr "Действия" | 3513 | msgstr "Действия" |
3510 | 3514 | ||
3515 | +#: app/views/cms/view.rhtml:39 app/views/cms/view.rhtml:41 | ||
3516 | +#, fuzzy | ||
3517 | +msgid "parent folder" | ||
3518 | +msgstr "Текущая папка:" | ||
3519 | + | ||
3511 | #: app/views/cms/view.rhtml:60 | 3520 | #: app/views/cms/view.rhtml:60 |
3512 | msgid "Properties" | 3521 | msgid "Properties" |
3513 | msgstr "Свойства" | 3522 | msgstr "Свойства" |
test/factories.rb
@@ -107,7 +107,7 @@ module Noosfero::Factory | @@ -107,7 +107,7 @@ module Noosfero::Factory | ||
107 | :environment_id => environment_id, | 107 | :environment_id => environment_id, |
108 | }.merge(options) | 108 | }.merge(options) |
109 | user = fast_insert_with_timestamps(User, data) | 109 | user = fast_insert_with_timestamps(User, data) |
110 | - person = fast_insert_with_timestamps(Person, { :type => 'Person', :identifier => name, :user_id => user.id, :environment_id => environment_id }.merge(person_options)) | 110 | + person = fast_insert_with_timestamps(Person, { :type => 'Person', :identifier => name, :name => name, :user_id => user.id, :environment_id => environment_id }.merge(person_options)) |
111 | homepage = fast_insert_with_timestamps(TextileArticle, { :type => 'TextileArticle', :name => 'homepage', :slug => 'homepage', :path => 'homepage', :profile_id => person.id }) | 111 | homepage = fast_insert_with_timestamps(TextileArticle, { :type => 'TextileArticle', :name => 'homepage', :slug => 'homepage', :path => 'homepage', :profile_id => person.id }) |
112 | fast_update(person, {:home_page_id => homepage.id}) | 112 | fast_update(person, {:home_page_id => homepage.id}) |
113 | box = fast_insert(Box, { :owner_type => "Profile", :owner_id => person.id, :position => 1}) | 113 | box = fast_insert(Box, { :owner_type => "Profile", :owner_id => person.id, :position => 1}) |
test/unit/comment_test.rb
@@ -179,4 +179,12 @@ class CommentTest < Test::Unit::TestCase | @@ -179,4 +179,12 @@ class CommentTest < Test::Unit::TestCase | ||
179 | assert comment.url[:view] | 179 | assert comment.url[:view] |
180 | end | 180 | end |
181 | 181 | ||
182 | + should 'not fill fields with javascript' do | ||
183 | + owner = create_user('testuser').person | ||
184 | + article = owner.articles.create!(:name => 'test', :body => '...') | ||
185 | + javascript = "<script>alert('XSS')</script>" | ||
186 | + comment = article.comments.create!(:article => article, :name => javascript, :title => javascript, :body => javascript, :email => 'cracker@test.org') | ||
187 | + assert_no_match(/<script>/, comment.name) | ||
188 | + end | ||
189 | + | ||
182 | end | 190 | end |
test/unit/google_maps_test.rb
@@ -44,4 +44,12 @@ class GoogleMapsTest < Test::Unit::TestCase | @@ -44,4 +44,12 @@ class GoogleMapsTest < Test::Unit::TestCase | ||
44 | assert_equal 'http://maps.google.com/maps?file=api&v=2&key=DOMAIN_KEY', GoogleMaps.api_url(domain.name) | 44 | assert_equal 'http://maps.google.com/maps?file=api&v=2&key=DOMAIN_KEY', GoogleMaps.api_url(domain.name) |
45 | assert_equal 'http://maps.google.com/maps?file=api&v=2&key=DIFFERENT_DOMAIN_KEY', GoogleMaps.api_url(other_domain.name) | 45 | assert_equal 'http://maps.google.com/maps?file=api&v=2&key=DIFFERENT_DOMAIN_KEY', GoogleMaps.api_url(other_domain.name) |
46 | end | 46 | end |
47 | + | ||
48 | + should 'not crash without a domain' do | ||
49 | + Domain.delete_all | ||
50 | + assert_nothing_raised do | ||
51 | + GoogleMaps.key('example.com') | ||
52 | + end | ||
53 | + end | ||
54 | + | ||
47 | end | 55 | end |
test/unit/person_test.rb
@@ -270,18 +270,6 @@ class PersonTest < Test::Unit::TestCase | @@ -270,18 +270,6 @@ class PersonTest < Test::Unit::TestCase | ||
270 | assert_equal 'José', p.name | 270 | assert_equal 'José', p.name |
271 | end | 271 | end |
272 | 272 | ||
273 | - should 'fallback to login when person_info is not present' do | ||
274 | - p = create_user('randomhacker').person | ||
275 | - p.name = nil | ||
276 | - assert_equal 'randomhacker', p.name | ||
277 | - end | ||
278 | - | ||
279 | - should 'fallback to login when name is blank' do | ||
280 | - p = create_user('randomhacker').person | ||
281 | - p.name = '' | ||
282 | - assert_equal 'randomhacker', p.name | ||
283 | - end | ||
284 | - | ||
285 | should 'have favorite enterprises' do | 273 | should 'have favorite enterprises' do |
286 | p = create_user('test_person').person | 274 | p = create_user('test_person').person |
287 | e = Enterprise.create!(:name => 'test_ent', :identifier => 'test_ent') | 275 | e = Enterprise.create!(:name => 'test_ent', :identifier => 'test_ent') |
test/unit/thickbox_helper_test.rb
@@ -3,14 +3,18 @@ require File.dirname(__FILE__) + '/../test_helper' | @@ -3,14 +3,18 @@ require File.dirname(__FILE__) + '/../test_helper' | ||
3 | class ThickboxHelperTest < Test::Unit::TestCase | 3 | class ThickboxHelperTest < Test::Unit::TestCase |
4 | include ThickboxHelper | 4 | include ThickboxHelper |
5 | 5 | ||
6 | + def url_for(url) | ||
7 | + url | ||
8 | + end | ||
9 | + | ||
6 | should 'create thickbox links correcly' do | 10 | should 'create thickbox links correcly' do |
7 | - expects(:link_to).with('Title', '#TB_inline?height=300&width=500&inlineId=inlineLoginBox&modal=true', :class => 'thickbox') | ||
8 | - thickbox_inline_popup_link('Title', 'inlineLoginBox') | 11 | + expects(:link_to).with('Title', '/url#TB_inline?height=300&width=500&inlineId=inlineLoginBox&modal=true', :class => 'thickbox') |
12 | + thickbox_inline_popup_link('Title', '/url', 'inlineLoginBox') | ||
9 | end | 13 | end |
10 | 14 | ||
11 | should 'pass along extra options' do | 15 | should 'pass along extra options' do |
12 | expects(:link_to).with('Title', anything, :class => 'thickbox', :id => 'lalala', :title => 'lelele') | 16 | expects(:link_to).with('Title', anything, :class => 'thickbox', :id => 'lalala', :title => 'lelele') |
13 | - thickbox_inline_popup_link('Title', 'inlineLoginBox', :id => 'lalala', :title => 'lelele') | 17 | + thickbox_inline_popup_link('Title', '/url', 'inlineLoginBox', :id => 'lalala', :title => 'lelele') |
14 | end | 18 | end |
15 | 19 | ||
16 | should 'generate close button' do | 20 | should 'generate close button' do |