Commit d9a3fdb3c1672f54545e9e415f25de660afbae44

Authored by Victor Costa
2 parents db70e092 d2220530

Merge branch 'master' into stable

Conflicts:
	app/helpers/article_helper.rb
	app/helpers/boxes_helper.rb
	app/models/article.rb
	app/models/block.rb
	app/views/content_viewer/view_page.html.erb
	db/schema.rb
	plugins/community_track/views/blocks/_track_list_more.html.erb
	plugins/community_track/views/box_organizer/community_track_plugin/_track_list_block.html.erb
	public/javascripts/article.js
	test/unit/block_test.rb
	test/unit/person_notifier_helper_test.rb
Showing 526 changed files with 17912 additions and 45003 deletions   Show diff stats

Too many changes.

To preserve performance only 100 of 526 files displayed.

INSTALL.https.md
1 -Setup Noosfero to use HTTPS  
2 -=========================== 1 +# Setup Noosfero to use HTTPS
3 2
4 This document assumes that you have a fully and clean Noosfero 3 This document assumes that you have a fully and clean Noosfero
5 installation as explained at the `INSTALL.md` file. 4 installation as explained at the `INSTALL.md` file.
6 5
7 -SSL certificate  
8 -+++++++++++++++ 6 +## Creating a self-signed SSL certificate
9 7
10 You should get a valid SSL certificate, but if you want to test 8 You should get a valid SSL certificate, but if you want to test
11 your setup before, you could generate a self-signed certificate 9 your setup before, you could generate a self-signed certificate
@@ -17,99 +15,106 @@ as below: @@ -17,99 +15,106 @@ as below:
17 # openssl req -new -x509 -nodes -sha1 -days $[10*365] -key noosfero.key > noosfero.cert 15 # openssl req -new -x509 -nodes -sha1 -days $[10*365] -key noosfero.key > noosfero.cert
18 # cat noosfero.key noosfero.cert > noosfero.pem 16 # cat noosfero.key noosfero.cert > noosfero.pem
19 17
  18 +## Web server configuration
  19 +
20 There are two ways of using SSL with Noosfero: 1) If you are not using 20 There are two ways of using SSL with Noosfero: 1) If you are not using
21 Varnish; and 2) If you are using Varnish. 21 Varnish; and 2) If you are using Varnish.
22 22
23 -1) If you are are not using Varnish  
24 -+++++++++++++++++++++++++++++++++++ 23 +### 1) If you are are not using Varnish
25 24
26 Simply do a redirect in apache to force all connections with SSL: 25 Simply do a redirect in apache to force all connections with SSL:
27 26
28 - <VirtualHost *:8080>  
29 - ServerName test.stoa.usp.br  
30 -  
31 - Redirect / https://example.com/  
32 - </VirtualHost> 27 +```
  28 +<VirtualHost *:8080>
  29 + ServerName test.stoa.usp.br
  30 + Redirect / https://example.com/
  31 +</VirtualHost>
  32 +```
33 33
34 And set a vhost to receive then: 34 And set a vhost to receive then:
35 35
36 - <VirtualHost *:443>  
37 - ServerName example.com  
38 -  
39 - SSLEngine On  
40 - SSLCertificateFile /etc/ssl/certs/cert.pem  
41 - SSLCertificateKeyFile /etc/ssl/private/cert.key  
42 -  
43 - Include /etc/noosfero/apache/virtualhost.conf  
44 - </VirtualHost> 36 +```
  37 +<VirtualHost *:443>
  38 + ServerName example.com
  39 + SSLEngine On
  40 + SSLCertificateFile /etc/ssl/certs/cert.pem
  41 + SSLCertificateKeyFile /etc/ssl/private/cert.key
  42 + Include /etc/noosfero/apache/virtualhost.conf
  43 +</VirtualHost>
  44 +```
45 45
46 Be aware that if you had configured varnish, the requests won't reach 46 Be aware that if you had configured varnish, the requests won't reach
47 it with this configuration. 47 it with this configuration.
48 48
49 -2) If you are using Varnish  
50 -+++++++++++++++++++++++++++  
51 -  
52 -Varnish isn't able to communicate with the SSL protocol, so we will  
53 -need some one who do this and Pound[1] can do the job. In order to  
54 -install it in Debian based systems: 49 +### 2) If you are using Varnish
55 50
56 - $ sudo apt-get install pound 51 +Varnish isn't able to communicate with the SSL protocol, so we will need some
  52 +one else who do this and [Pound](http://www.apsis.ch/pound) can do the job. In
  53 +order to install it in Debian based systems:
57 54
58 -Set Varnish to listen in other port than 80: 55 +```
  56 +$ sudo apt-get install pound
  57 +```
59 58
60 -/etc/defaults/varnish  
61 ---------------------- 59 +Set Varnish to listen in other port than 80 in `/etc/defaults/varnish`:
62 60
63 - DAEMON_OPTS="-a localhost:6081 \  
64 - -T localhost:6082 \  
65 - -f /etc/varnish/default.vcl \  
66 - -S /etc/varnish/secret \  
67 - -s file,/var/lib/varnish/$INSTANCE/varnish_storage.bin,1G" 61 +```
  62 +DAEMON_OPTS="-a localhost:6081 \
  63 + -T localhost:6082 \
  64 + -f /etc/varnish/default.vcl \
  65 + -S /etc/varnish/secret \
  66 + -s file,/var/lib/varnish/$INSTANCE/varnish_storage.bin,1G"
  67 +```
68 68
69 Configure Pound: 69 Configure Pound:
70 70
71 - # cp /usr/share/noosfero/etc/pound.cfg /etc/pound/  
72 -  
73 -Edit /etc/pound.cfg and set the IP and domain of your server. 71 +```
  72 +# cp /usr/share/noosfero/etc/pound.cfg /etc/pound/
  73 +```
74 74
75 -Configure Pound to start at system initialization: 75 +Edit `/etc/pound.cfg` and set the IP and domain of your server.
76 76
77 -/etc/default/pound 77 +Configure Pound to start at system initialization. At `/etc/default/pound`:
78 ------------------ 78 ------------------
79 79
80 - startup=1 80 +```
  81 +startup=1
  82 +```
81 83
82 -Set Apache to only listen to localhost: 84 +Set Apache to only listen to localhost, at `/etc/apache2/ports.conf`:
83 85
84 -/etc/apache2/ports.conf  
85 ------------------------  
86 -  
87 - Listen 127.0.0.1:8080 86 +```
  87 +Listen 127.0.0.1:8080
  88 +```
88 89
89 Restart the services: 90 Restart the services:
90 91
91 - $ sudo service apache2 restart  
92 - $ sudo service varnish restart 92 +```
  93 +$ sudo service apache2 restart
  94 +$ sudo service varnish restart
  95 +```
93 96
94 Start pound: 97 Start pound:
95 98
96 - $ sudo service pound start  
97 -  
98 -[1] http://www.apsis.ch/pound 99 +```
  100 +$ sudo service pound start
  101 +```
99 102
100 -Noosfero XMPP chat  
101 -++++++++++++++++++ 103 +## Noosfero XMPP chat
102 104
103 If you want to use chat over HTTPS, then you should add the domain 105 If you want to use chat over HTTPS, then you should add the domain
104 -and IP of your server in the /etc/hosts file, example: 106 +and IP of your server in the /etc/hosts file, example
105 107
106 -/etc/hosts  
107 ----------- 108 +`/etc/hosts:`
108 109
109 - 192.168.1.86 mydomain.example.com 110 +```
  111 +192.168.1.86 mydomain.example.com
  112 +```
110 113
111 -Also, it's recomended that you remove lines above from the file 114 +Also, it's recomended that you remove the lines below from the file
112 `/etc/apache2/sites-enabled/noosfero`: 115 `/etc/apache2/sites-enabled/noosfero`:
113 116
114 - RewriteEngine On  
115 - Include /usr/share/noosfero/util/chat/apache/xmpp.conf 117 +```
  118 +RewriteEngine On
  119 +Include /usr/share/noosfero/util/chat/apache/xmpp.conf
  120 +```
INSTALL.locales.md 0 → 100644
@@ -0,0 +1,29 @@ @@ -0,0 +1,29 @@
  1 +Using custom locales
  2 +====================
  3 +
  4 +Personalized translations go into the `config/custom_locales/` directory.
  5 +Custom locales can be identified by the rails environment, schema name in a
  6 +multitenancy setup or domain name until the first dot (e.g env1.coop.br for the
  7 +example below).
  8 +
  9 +Currently, the only filename prefix for the localization file which is
  10 +processed is "environment". For instance, a POT file would be called
  11 +"environment.pot".
  12 +
  13 +The structure of an environment named env1 with custom translations for both
  14 +Portuguese and Spanish and an environment named env2 with custom Russian
  15 +translation would be:
  16 +
  17 + config/
  18 + custom_locales/
  19 + env1/
  20 + environment.pot
  21 + pt/
  22 + environment.po
  23 + es/
  24 + environment.po
  25 + env2/
  26 + environment.pot
  27 + ru/
  28 + environment.po
  29 +
app/controllers/admin/admin_panel_controller.rb
@@ -71,4 +71,22 @@ class AdminPanelController &lt; AdminController @@ -71,4 +71,22 @@ class AdminPanelController &lt; AdminController
71 end 71 end
72 end 72 end
73 end 73 end
  74 +
  75 + def manage_organizations_status
  76 + scope = environment.organizations
  77 + @filter = params[:filter] || 'any'
  78 + @title = "Organization profiles"
  79 + @title = @title+" - "+@filter if @filter != 'any'
  80 +
  81 + if @filter == 'enabled'
  82 + scope = scope.visible
  83 + elsif @filter == 'disabled'
  84 + scope = scope.disabled
  85 + end
  86 +
  87 + scope = scope.order('name ASC')
  88 +
  89 + @q = params[:q]
  90 + @collection = find_by_contents(:organizations, scope, @q, {:per_page => 10, :page => params[:npage]})[:results]
  91 + end
74 end 92 end
app/controllers/admin/templates_controller.rb
@@ -41,17 +41,44 @@ class TemplatesController &lt; AdminController @@ -41,17 +41,44 @@ class TemplatesController &lt; AdminController
41 end 41 end
42 42
43 def set_community_as_default 43 def set_community_as_default
44 - set_as_default(Community.find(params[:template_id])) 44 + begin
  45 + community = environment.communities.find(params[:template_id])
  46 + rescue ActiveRecord::RecordNotFound
  47 + message = _('Community not found. The template could no be changed.')
  48 + community = nil
  49 + end
  50 +
  51 + message = _('%s defined as default') % community.name if set_as_default(community)
  52 + session[:notice] = message
  53 +
45 redirect_to :action => 'index' 54 redirect_to :action => 'index'
46 end 55 end
47 56
48 def set_person_as_default 57 def set_person_as_default
49 - set_as_default(Person.find(params[:template_id])) 58 + begin
  59 + person = environment.people.find(params[:template_id])
  60 + rescue ActiveRecord::RecordNotFound
  61 + message = _('Person not found. The template could no be changed.')
  62 + person = nil
  63 + end
  64 +
  65 + message = _('%s defined as default') % person.name if set_as_default(person)
  66 + session[:notice] = message
  67 +
50 redirect_to :action => 'index' 68 redirect_to :action => 'index'
51 end 69 end
52 70
53 def set_enterprise_as_default 71 def set_enterprise_as_default
54 - set_as_default(Enterprise.find(params[:template_id])) 72 + begin
  73 + enterprise = environment.enterprises.find(params[:template_id])
  74 + rescue ActiveRecord::RecordNotFound
  75 + message = _('Enterprise not found. The template could no be changed.')
  76 + enterprise = nil
  77 + end
  78 +
  79 + message = _('%s defined as default') % enterprise.name if set_as_default(enterprise)
  80 + session[:notice] = message
  81 +
55 redirect_to :action => 'index' 82 redirect_to :action => 'index'
56 end 83 end
57 84
app/controllers/application_controller.rb
@@ -132,6 +132,9 @@ class ApplicationController &lt; ActionController::Base @@ -132,6 +132,9 @@ class ApplicationController &lt; ActionController::Base
132 132
133 # TODO: move this logic somewhere else (Domain class?) 133 # TODO: move this logic somewhere else (Domain class?)
134 def detect_stuff_by_domain 134 def detect_stuff_by_domain
  135 + # Sets text domain based on request host for custom internationalization
  136 + FastGettext.text_domain = Domain.custom_locale(request.host)
  137 +
135 @domain = Domain.find_by_name(request.host) 138 @domain = Domain.find_by_name(request.host)
136 if @domain.nil? 139 if @domain.nil?
137 @environment = Environment.default 140 @environment = Environment.default
app/controllers/my_profile/cms_controller.rb
@@ -214,6 +214,7 @@ class CmsController &lt; MyProfileController @@ -214,6 +214,7 @@ class CmsController &lt; MyProfileController
214 if @errors.any? 214 if @errors.any?
215 render :action => 'upload_files', :parent_id => @parent_id 215 render :action => 'upload_files', :parent_id => @parent_id
216 else 216 else
  217 + session[:notice] = _('File(s) successfully uploaded')
217 if @back_to 218 if @back_to
218 redirect_to @back_to 219 redirect_to @back_to
219 elsif @parent 220 elsif @parent
app/controllers/my_profile/profile_design_controller.rb
@@ -3,7 +3,16 @@ class ProfileDesignController &lt; BoxOrganizerController @@ -3,7 +3,16 @@ class ProfileDesignController &lt; BoxOrganizerController
3 needs_profile 3 needs_profile
4 4
5 protect 'edit_profile_design', :profile 5 protect 'edit_profile_design', :profile
6 - 6 +
  7 + before_filter :protect_fixed_block, :only => [:save, :move_block]
  8 +
  9 + def protect_fixed_block
  10 + block = boxes_holder.blocks.find(params[:id].gsub(/^block-/, ''))
  11 + if block.fixed && !current_person.is_admin?
  12 + render_access_denied
  13 + end
  14 + end
  15 +
7 def available_blocks 16 def available_blocks
8 @available_blocks = [ ArticleBlock, TagsBlock, RecentDocumentsBlock, ProfileInfoBlock, LinkListBlock, MyNetworkBlock, FeedReaderBlock, ProfileImageBlock, LocationBlock, SlideshowBlock, ProfileSearchBlock, HighlightsBlock ] 17 @available_blocks = [ ArticleBlock, TagsBlock, RecentDocumentsBlock, ProfileInfoBlock, LinkListBlock, MyNetworkBlock, FeedReaderBlock, ProfileImageBlock, LocationBlock, SlideshowBlock, ProfileSearchBlock, HighlightsBlock ]
9 @available_blocks += plugins.dispatch(:extra_blocks) 18 @available_blocks += plugins.dispatch(:extra_blocks)
app/controllers/my_profile/profile_editor_controller.rb
@@ -78,10 +78,51 @@ class ProfileEditorController &lt; MyProfileController @@ -78,10 +78,51 @@ class ProfileEditorController &lt; MyProfileController
78 if request.post? 78 if request.post?
79 if @profile.destroy 79 if @profile.destroy
80 session[:notice] = _('The profile was deleted.') 80 session[:notice] = _('The profile was deleted.')
81 - redirect_to :controller => 'home' 81 + if(params[:return_to])
  82 + redirect_to params[:return_to]
  83 + else
  84 + redirect_to :controller => 'home'
  85 + end
82 else 86 else
83 session[:notice] = _('Could not delete profile') 87 session[:notice] = _('Could not delete profile')
84 end 88 end
85 end 89 end
86 end 90 end
  91 +
  92 + def deactivate_profile
  93 + if environment.admins.include?(current_person)
  94 + profile = environment.profiles.find(params[:id])
  95 + if profile.disable
  96 + profile.save
  97 + session[:notice] = _("The profile '#{profile.name}' was deactivated.")
  98 + else
  99 + session[:notice] = _('Could not deactivate profile.')
  100 + end
  101 + end
  102 +
  103 + redirect_to_previous_location
  104 + end
  105 +
  106 + def activate_profile
  107 + if environment.admins.include?(current_person)
  108 + profile = environment.profiles.find(params[:id])
  109 +
  110 + if profile.enable
  111 + session[:notice] = _("The profile '#{profile.name}' was activated.")
  112 + else
  113 + session[:notice] = _('Could not activate the profile.')
  114 + end
  115 + end
  116 +
  117 + redirect_to_previous_location
  118 + end
  119 +
  120 + protected
  121 +
  122 + def redirect_to_previous_location
  123 + back = request.referer
  124 + back = "/" if back.nil?
  125 +
  126 + redirect_to back
  127 + end
87 end 128 end
app/helpers/application_helper.rb
@@ -945,9 +945,9 @@ module ApplicationHelper @@ -945,9 +945,9 @@ module ApplicationHelper
945 # from Article model for an ArticleBlock. 945 # from Article model for an ArticleBlock.
946 def reference_to_article(text, article, anchor=nil) 946 def reference_to_article(text, article, anchor=nil)
947 if article.profile.domains.empty? 947 if article.profile.domains.empty?
948 - href = "/#{article.url[:profile]}/" 948 + href = "#{Noosfero.root}/#{article.url[:profile]}/"
949 else 949 else
950 - href = "http://#{article.profile.domains.first.name}/" 950 + href = "http://#{article.profile.domains.first.name}#{Noosfero.root}/"
951 end 951 end
952 href += article.url[:page].join('/') 952 href += article.url[:page].join('/')
953 href += '#' + anchor if anchor 953 href += '#' + anchor if anchor
app/helpers/article_helper.rb
@@ -77,23 +77,59 @@ module ArticleHelper @@ -77,23 +77,59 @@ module ArticleHelper
77 content_tag('div', 77 content_tag('div',
78 radio_button(:article, :published, false) + 78 radio_button(:article, :published, false) +
79 content_tag('label', _('Private'), :for => 'article_published_false', :id => "label_private") 79 content_tag('label', _('Private'), :for => 'article_published_false', :id => "label_private")
80 - ) + visibility_mode_options(article, tokenized_children)) 80 + ) +
  81 + privacity_exceptions(article, tokenized_children)
  82 + )
81 end 83 end
82 84
83 - def visibility_mode_options(article, tokenized_children)  
84 - (article.profile.community? ? content_tag('div', 85 + def privacity_exceptions(article, tokenized_children)
85 content_tag('div', 86 content_tag('div',
86 - radio_button(:article, :visibility_mode, 1) +  
87 - content_tag('label', _('For all community members'), :for => 'article_visibility_mode_1', :id => "label_private")) +  
88 content_tag('div', 87 content_tag('div',
89 - radio_button(:article, :visibility_mode, 0) +  
90 - content_tag('label', _('For community admins or specific users'), :for => 'article_visibility_mode_0', :id => "label_private")  
91 - ) +  
92 - (article.profile.community? ? content_tag('div',  
93 - content_tag('label', _('Fill in the search field to add the exception users to see this content'), :id => "text-input-search-exception-users") +  
94 - token_input_field_tag(:q, 'search-article-privacy-exceptions', {:action => 'search_article_privacy_exceptions'},  
95 - {:focus => false, :hint_text => _('Type in a search term for a user'), :pre_populate => tokenized_children})) :  
96 - ''), :style => 'padding-left: 15px;') : '' ) 88 + (
  89 + if article.profile
  90 + add_option_to_followers(article, tokenized_children)
  91 + else
  92 + ''
  93 + end
  94 + )
  95 + ),
  96 + :style => "margin-left:10px"
  97 + )
  98 + end
  99 +
  100 + def add_option_to_followers(article, tokenized_children)
  101 + label_message = article.profile.organization? ? _('For all community members') : _('For all your friends')
  102 +
  103 + check_box(
  104 + :article,
  105 + :show_to_followers,
  106 + {:class => "custom_privacy_option"}
  107 + ) +
  108 + content_tag(
  109 + 'label',
  110 + label_message,
  111 + :for => 'article_show_to_followers',
  112 + :id => 'label_show_to_followers'
  113 + ) +
  114 + (article.profile.community? ?
  115 + content_tag(
  116 + 'div',
  117 + content_tag(
  118 + 'label',
  119 + _('Fill in the search field to add the exception users to see this content'),
  120 + :id => "text-input-search-exception-users"
  121 + ) +
  122 + token_input_field_tag(
  123 + :q,
  124 + 'search-article-privacy-exceptions',
  125 + {:action => 'search_article_privacy_exceptions'},
  126 + {
  127 + :focus => false,
  128 + :hint_text => _('Type in a search term for a user'),
  129 + :pre_populate => tokenized_children
  130 + }
  131 + )
  132 + ) : '')
97 end 133 end
98 134
99 def prepare_to_token_input(array) 135 def prepare_to_token_input(array)
app/helpers/boxes_helper.rb
@@ -170,56 +170,58 @@ module BoxesHelper @@ -170,56 +170,58 @@ module BoxesHelper
170 else 170 else
171 "before-block-#{block.id}" 171 "before-block-#{block.id}"
172 end 172 end
173 -  
174 - content_tag('div', '&nbsp;', :id => id, :class => 'block-target' ) + drop_receiving_element(id, :url => { :action => 'add_or_move_block', :target => id }, :accept => box.acceptable_blocks, :hoverclass => 'block-target-hover') 173 + if block.nil? or modifiable?(block)
  174 + content_tag('div', '&nbsp;', :id => id, :class => 'block-target' ) + drop_receiving_element(id, :url => { :action => 'move_block', :target => id }, :accept => box.acceptable_blocks, :hoverclass => 'block-target-hover')
  175 + else
  176 + ""
  177 + end
175 end 178 end
176 179
177 # makes the given block draggable so it can be moved away. 180 # makes the given block draggable so it can be moved away.
178 def block_handle(block) 181 def block_handle(block)
179 - draggable_element("block-#{block.id}", :revert => true) 182 + modifiable?(block) ? draggable_element("block-#{block.id}", :revert => true) : ""
180 end 183 end
181 184
182 def block_edit_buttons(block) 185 def block_edit_buttons(block)
183 buttons = [] 186 buttons = []
184 nowhere = 'javascript: return false;' 187 nowhere = 'javascript: return false;'
185 188
186 - if block.first?  
187 - buttons << icon_button('up-disabled', _("Can't move up anymore."), nowhere)  
188 - else  
189 - buttons << icon_button('up', _('Move block up'), { :action => 'move_block_up', :id => block.id }, { :method => 'post' })  
190 - end 189 + if modifiable?(block)
  190 + if block.first?
  191 + buttons << icon_button('up-disabled', _("Can't move up anymore."), nowhere)
  192 + else
  193 + buttons << icon_button('up', _('Move block up'), { :action => 'move_block_up', :id => block.id }, { :method => 'post' })
  194 + end
191 195
192 - if block.last?  
193 - buttons << icon_button('down-disabled', _("Can't move down anymore."), nowhere)  
194 - else  
195 - buttons << icon_button(:down, _('Move block down'), { :action => 'move_block_down' ,:id => block.id }, { :method => 'post'})  
196 - end 196 + if block.last?
  197 + buttons << icon_button('down-disabled', _("Can't move down anymore."), nowhere)
  198 + else
  199 + buttons << icon_button(:down, _('Move block down'), { :action => 'move_block_down' ,:id => block.id }, { :method => 'post'})
  200 + end
197 201
198 - holder = block.owner  
199 - # move to opposite side  
200 - # FIXME too much hardcoded stuff  
201 - if holder.layout_template == 'default'  
202 - if block.box.position == 2 # area 2, left side => move to right side  
203 - buttons << icon_button('right', _('Move to the opposite side'), { :action => 'move_block', :target => 'end-of-box-' + holder.boxes[2].id.to_s, :id => block.id }, :method => 'post' )  
204 - elsif block.box.position == 3 # area 3, right side => move to left side  
205 - buttons << icon_button('left', _('Move to the opposite side'), { :action => 'move_block', :target => 'end-of-box-' + holder.boxes[1].id.to_s, :id => block.id }, :method => 'post' ) 202 + holder = block.owner
  203 + # move to opposite side
  204 + # FIXME too much hardcoded stuff
  205 + if holder.layout_template == 'default'
  206 + if block.box.position == 2 # area 2, left side => move to right side
  207 + buttons << icon_button('right', _('Move to the opposite side'), { :action => 'move_block', :target => 'end-of-box-' + holder.boxes[2].id.to_s, :id => block.id }, :method => 'post' )
  208 + elsif block.box.position == 3 # area 3, right side => move to left side
  209 + buttons << icon_button('left', _('Move to the opposite side'), { :action => 'move_block', :target => 'end-of-box-' + holder.boxes[1].id.to_s, :id => block.id }, :method => 'post' )
  210 + end
206 end 211 end
207 - end  
208 212
209 - if block.editable?  
210 - buttons << colorbox_icon_button(:edit, _('Edit'), { :action => 'edit', :id => block.id })  
211 - end 213 + if block.editable?
  214 + buttons << colorbox_icon_button(:edit, _('Edit'), { :action => 'edit', :id => block.id })
  215 + end
212 216
213 - if !block.main?  
214 - buttons << icon_button(:delete, _('Remove block'), { :action => 'remove', :id => block.id }, { :method => 'post', :confirm => _('Are you sure you want to remove this block?')})  
215 - buttons << icon_button(:clone, _('Clone'), { :action => 'clone_block', :id => block.id }, { :method => 'post' }) 217 + if !block.main?
  218 + buttons << icon_button(:delete, _('Remove block'), { :action => 'remove', :id => block.id }, { :method => 'post', :confirm => _('Are you sure you want to remove this block?')})
  219 + buttons << icon_button(:clone, _('Clone'), { :action => 'clone_block', :id => block.id }, { :method => 'post' })
  220 + end
216 end 221 end
217 222
218 - unless block.kind_of?(MainBlock)  
219 - buttons << link_to(content_tag('span', _('Help on this block')),  
220 - {:action => 'show_block_type_info', :type => block.class.name},  
221 - :class => "button icon-button icon-help colorbox",  
222 - :title => _('Help on this block')) 223 + if block.respond_to?(:help)
  224 + 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}")
223 end 225 end
224 226
225 if block.embedable? 227 if block.embedable?
@@ -251,5 +253,7 @@ module BoxesHelper @@ -251,5 +253,7 @@ module BoxesHelper
251 classes 253 classes
252 end 254 end
253 255
254 - 256 + def modifiable?(block)
  257 + return !block.fixed || environment.admins.include?(user)
  258 + end
255 end 259 end
app/helpers/content_viewer_helper.rb
@@ -45,7 +45,7 @@ module ContentViewerHelper @@ -45,7 +45,7 @@ module ContentViewerHelper
45 { article.environment.locales[translation.language] => { :href => url_for(translation.url) } } 45 { article.environment.locales[translation.language] => { :href => url_for(translation.url) } }
46 end 46 end
47 content_tag(:div, link_to(_('Translations'), '#', 47 content_tag(:div, link_to(_('Translations'), '#',
48 - :onmouseover => "toggleSubmenu(this, '#{_('Translations')}', #{links.to_json}); return false", 48 + :onmouseover => "toggleSubmenu(this, '#{_('Translations')}', #{CGI::escape_html(links.to_json)}); return false",
49 :class => 'article-translations-menu simplemenu-trigger up'), 49 :class => 'article-translations-menu simplemenu-trigger up'),
50 :class => 'article-translations') 50 :class => 'article-translations')
51 end 51 end
app/helpers/layout_helper.rb
@@ -9,6 +9,24 @@ module LayoutHelper @@ -9,6 +9,24 @@ module LayoutHelper
9 (!profile.nil? && profile.is_on_homepage?(request.path,@page) ? " profile-homepage" : "") 9 (!profile.nil? && profile.is_on_homepage?(request.path,@page) ? " profile-homepage" : "")
10 end 10 end
11 11
  12 + def html_tag_classes
  13 + [
  14 + body_classes, (
  15 + profile.blank? ? nil : [
  16 + 'profile-type-is-' + profile.class.name.downcase,
  17 + 'profile-name-is-' + profile.identifier,
  18 + ]
  19 + ), 'theme-' + current_theme,
  20 + @plugins.dispatch(:html_tag_classes).map do |content|
  21 + if content.respond_to?(:call)
  22 + instance_exec(&content)
  23 + else
  24 + content.html_safe
  25 + end
  26 + end
  27 + ].flatten.compact.join(' ')
  28 + end
  29 +
12 def noosfero_javascript 30 def noosfero_javascript
13 plugins_javascripts = @plugins.map { |plugin| [plugin.js_files].flatten.map { |js| plugin.class.public_path(js) } }.flatten 31 plugins_javascripts = @plugins.map { |plugin| [plugin.js_files].flatten.map { |js| plugin.class.public_path(js) } }.flatten
14 32
app/helpers/search_helper.rb
@@ -21,6 +21,12 @@ module SearchHelper @@ -21,6 +21,12 @@ module SearchHelper
21 'more_comments' => _('More comments') 21 'more_comments' => _('More comments')
22 } 22 }
23 23
  24 + COMMON_PROFILE_LIST_BLOCK = [
  25 + :enterprises,
  26 + :people,
  27 + :communities
  28 + ]
  29 +
24 # FIXME remove it after search_controler refactored 30 # FIXME remove it after search_controler refactored
25 include EventsHelper 31 include EventsHelper
26 32
@@ -94,7 +100,7 @@ module SearchHelper @@ -94,7 +100,7 @@ module SearchHelper
94 compact_link = display?(asset, :compact) ? (display == 'compact' ? _('Compact') : link_to(_('Compact'), params.merge(:display => 'compact'))) : nil 100 compact_link = display?(asset, :compact) ? (display == 'compact' ? _('Compact') : link_to(_('Compact'), params.merge(:display => 'compact'))) : nil
95 map_link = display?(asset, :map) ? (display == 'map' ? _('Map') : link_to(_('Map'), params.merge(:display => 'map'))) : nil 101 map_link = display?(asset, :map) ? (display == 'map' ? _('Map') : link_to(_('Map'), params.merge(:display => 'map'))) : nil
96 full_link = display?(asset, :full) ? (display == 'full' ? _('Full') : link_to(_('Full'), params.merge(:display => 'full'))) : nil 102 full_link = display?(asset, :full) ? (display == 'full' ? _('Full') : link_to(_('Full'), params.merge(:display => 'full'))) : nil
97 - content_tag('div', 103 + content_tag('div',
98 content_tag('strong', _('Display')) + ': ' + [compact_link, map_link, full_link].compact.join(' | ').html_safe, 104 content_tag('strong', _('Display')) + ': ' + [compact_link, map_link, full_link].compact.join(' | ').html_safe,
99 :class => 'search-customize-options' 105 :class => 'search-customize-options'
100 ) 106 )
app/models/article.rb
@@ -2,7 +2,14 @@ require &#39;hpricot&#39; @@ -2,7 +2,14 @@ require &#39;hpricot&#39;
2 2
3 class Article < ActiveRecord::Base 3 class Article < ActiveRecord::Base
4 4
5 - attr_accessible :name, :body, :abstract, :profile, :tag_list, :parent, :allow_members_to_edit, :translation_of_id, :language, :license_id, :parent_id, :display_posts_in_current_language, :category_ids, :posts_per_page, :moderate_comments, :accept_comments, :feed, :published, :source, :highlighted, :notify_comments, :display_hits, :slug, :external_feed_builder, :display_versions, :external_link, :image_builder, :published_at, :visibility_mode 5 + attr_accessible :name, :body, :abstract, :profile, :tag_list, :parent,
  6 + :allow_members_to_edit, :translation_of_id, :language,
  7 + :license_id, :parent_id, :display_posts_in_current_language,
  8 + :category_ids, :posts_per_page, :moderate_comments,
  9 + :accept_comments, :feed, :published, :source,
  10 + :highlighted, :notify_comments, :display_hits, :slug,
  11 + :external_feed_builder, :display_versions, :external_link,
  12 + :image_builder, :show_to_followers
6 13
7 acts_as_having_image 14 acts_as_having_image
8 15
@@ -58,10 +65,10 @@ class Article &lt; ActiveRecord::Base @@ -58,10 +65,10 @@ class Article &lt; ActiveRecord::Base
58 belongs_to :last_changed_by, :class_name => 'Person', :foreign_key => 'last_changed_by_id' 65 belongs_to :last_changed_by, :class_name => 'Person', :foreign_key => 'last_changed_by_id'
59 belongs_to :created_by, :class_name => 'Person', :foreign_key => 'created_by_id' 66 belongs_to :created_by, :class_name => 'Person', :foreign_key => 'created_by_id'
60 67
61 - has_many :comments, :class_name => 'Comment', :foreign_key => 'source_id', :dependent => :destroy, :order => 'comments.created_at asc', :include => [:author, :children] 68 + has_many :comments, :class_name => 'Comment', :foreign_key => 'source_id', :dependent => :destroy, :order => 'created_at asc'
62 69
63 has_many :article_categorizations, :conditions => [ 'articles_categories.virtual = ?', false ] 70 has_many :article_categorizations, :conditions => [ 'articles_categories.virtual = ?', false ]
64 - has_many :categories, :through => :article_categorizations, :include => [:environment] 71 + has_many :categories, :through => :article_categorizations
65 72
66 has_many :article_categorizations_including_virtual, :class_name => 'ArticleCategorization' 73 has_many :article_categorizations_including_virtual, :class_name => 'ArticleCategorization'
67 has_many :categories_including_virtual, :through => :article_categorizations_including_virtual, :source => :category 74 has_many :categories_including_virtual, :through => :article_categorizations_including_virtual, :source => :category
@@ -348,7 +355,7 @@ class Article &lt; ActiveRecord::Base @@ -348,7 +355,7 @@ class Article &lt; ActiveRecord::Base
348 def belongs_to_blog? 355 def belongs_to_blog?
349 self.parent and self.parent.blog? 356 self.parent and self.parent.blog?
350 end 357 end
351 - 358 +
352 def belongs_to_forum? 359 def belongs_to_forum?
353 self.parent and self.parent.forum? 360 self.parent and self.parent.forum?
354 end 361 end
@@ -460,6 +467,7 @@ class Article &lt; ActiveRecord::Base @@ -460,6 +467,7 @@ class Article &lt; ActiveRecord::Base
460 if self.parent && !self.parent.published? 467 if self.parent && !self.parent.published?
461 return false 468 return false
462 end 469 end
  470 +
463 true 471 true
464 else 472 else
465 false 473 false
@@ -475,7 +483,7 @@ class Article &lt; ActiveRecord::Base @@ -475,7 +483,7 @@ class Article &lt; ActiveRecord::Base
475 end 483 end
476 484
477 scope :published, :conditions => ['articles.published = ?', true] 485 scope :published, :conditions => ['articles.published = ?', true]
478 - scope :folders, lambda {|profile|{:conditions => ['articles.type IN (?)', profile.folder_types], :include => [:parent] }} 486 + scope :folders, lambda {|profile|{:conditions => ['articles.type IN (?)', profile.folder_types] }}
479 scope :no_folders, lambda {|profile|{:conditions => ['articles.type NOT IN (?)', profile.folder_types]}} 487 scope :no_folders, lambda {|profile|{:conditions => ['articles.type NOT IN (?)', profile.folder_types]}}
480 scope :galleries, :conditions => [ "articles.type IN ('Gallery')" ] 488 scope :galleries, :conditions => [ "articles.type IN ('Gallery')" ]
481 scope :images, :conditions => { :is_image => true } 489 scope :images, :conditions => { :is_image => true }
@@ -484,21 +492,24 @@ class Article &lt; ActiveRecord::Base @@ -484,21 +492,24 @@ class Article &lt; ActiveRecord::Base
484 492
485 scope :more_popular, :order => 'hits DESC' 493 scope :more_popular, :order => 'hits DESC'
486 scope :more_comments, :order => "comments_count DESC" 494 scope :more_comments, :order => "comments_count DESC"
487 - scope :more_recent, :order => "articles.created_at DESC" 495 + scope :more_recent, :order => "created_at DESC"
488 496
489 def self.display_filter(user, profile) 497 def self.display_filter(user, profile)
490 return {:conditions => ['articles.published = ?', true]} if !user 498 return {:conditions => ['articles.published = ?', true]} if !user
491 {:conditions => [" articles.published = ? OR 499 {:conditions => [" articles.published = ? OR
492 articles.last_changed_by_id = ? OR 500 articles.last_changed_by_id = ? OR
493 articles.profile_id = ? OR 501 articles.profile_id = ? OR
494 - ?",  
495 - true, user.id, user.id, user.has_permission?(:view_private_content, profile)] } 502 + ? OR articles.show_to_followers = ? AND ?",
  503 + true, user.id, user.id, user.has_permission?(:view_private_content, profile),
  504 + true, user.follows?(profile)]}
496 end 505 end
497 506
  507 +
498 def display_unpublished_article_to?(user) 508 def display_unpublished_article_to?(user)
499 user == author || allow_view_private_content?(user) || user == profile || 509 user == author || allow_view_private_content?(user) || user == profile ||
500 user.is_admin?(profile.environment) || user.is_admin?(profile) || 510 user.is_admin?(profile.environment) || user.is_admin?(profile) ||
501 - article_privacy_exceptions.include?(user) || (visibility_mode == 1 && user.is_member_of?(profile)) 511 + article_privacy_exceptions.include?(user) ||
  512 + (self.show_to_followers && user.follows?(profile))
502 end 513 end
503 514
504 def display_to?(user = nil) 515 def display_to?(user = nil)
@@ -656,8 +667,6 @@ class Article &lt; ActiveRecord::Base @@ -656,8 +667,6 @@ class Article &lt; ActiveRecord::Base
656 can_display_versions? && display_versions 667 can_display_versions? && display_versions
657 end 668 end
658 669
659 - settings_items :visibility_mode, :type => :integer, :default => 0  
660 -  
661 def get_version(version_number = nil) 670 def get_version(version_number = nil)
662 version_number ? versions.find(:first, :order => 'version', :offset => version_number - 1) : versions.earliest 671 version_number ? versions.find(:first, :order => 'version', :offset => version_number - 1) : versions.earliest
663 end 672 end
@@ -685,11 +694,6 @@ class Article &lt; ActiveRecord::Base @@ -685,11 +694,6 @@ class Article &lt; ActiveRecord::Base
685 person ? person.id : nil 694 person ? person.id : nil
686 end 695 end
687 696
688 - #FIXME make this test  
689 - def author_custom_image(size = :icon)  
690 - author ? author.profile_custom_image(size) : nil  
691 - end  
692 -  
693 def version_license(version_number = nil) 697 def version_license(version_number = nil)
694 return license if version_number.nil? 698 return license if version_number.nil?
695 profile.environment.licenses.find_by_id(get_version(version_number).license_id) 699 profile.environment.licenses.find_by_id(get_version(version_number).license_id)
@@ -730,12 +734,7 @@ class Article &lt; ActiveRecord::Base @@ -730,12 +734,7 @@ class Article &lt; ActiveRecord::Base
730 def body_images_paths 734 def body_images_paths
731 require 'uri' 735 require 'uri'
732 Hpricot(self.body.to_s).search('img[@src]').collect do |i| 736 Hpricot(self.body.to_s).search('img[@src]').collect do |i|
733 - begin  
734 - (self.profile && self.profile.environment) ? URI.join(self.profile.environment.top_url, URI.escape(i.attributes['src'], '[|]')).to_s : i.attributes['src']  
735 - rescue  
736 - # some uris are invalid but still visible on modern browsers (e.g.: uri with square brackets)  
737 - i.attributes['src']  
738 - end 737 + (self.profile && self.profile.environment) ? URI.join(self.profile.environment.top_url, URI.escape(i.attributes['src'])).to_s : i.attributes['src']
739 end 738 end
740 end 739 end
741 740
app/models/block.rb
1 class Block < ActiveRecord::Base 1 class Block < ActiveRecord::Base
2 2
3 - attr_accessible :title, :display, :limit, :box_id, :posts_per_page, :visualization_format, :language, :display_user, :box 3 + attr_accessible :title, :display, :limit, :box_id, :posts_per_page, :visualization_format, :language, :display_user, :box, :fixed
4 4
5 # to be able to generate HTML 5 # to be able to generate HTML
6 include ActionView::Helpers::UrlHelper 6 include ActionView::Helpers::UrlHelper
@@ -64,7 +64,7 @@ class Block &lt; ActiveRecord::Base @@ -64,7 +64,7 @@ class Block &lt; ActiveRecord::Base
64 end 64 end
65 65
66 def display_to_user?(user) 66 def display_to_user?(user)
67 - display_user == 'all' || (user.nil? && display_user == 'not_logged') || (user && display_user == 'logged') 67 + display_user == 'all' || (user.nil? && display_user == 'not_logged') || (user && display_user == 'logged') || (user && display_user == 'followers' && user.follows?(owner))
68 end 68 end
69 69
70 def display_always(context) 70 def display_always(context)
@@ -72,23 +72,18 @@ class Block &lt; ActiveRecord::Base @@ -72,23 +72,18 @@ class Block &lt; ActiveRecord::Base
72 end 72 end
73 73
74 def display_home_page_only(context) 74 def display_home_page_only(context)
75 - return context[:article] == owner.home_page if context[:article]  
76 -  
77 - if owner.kind_of?(Profile)  
78 - return owner.home_page.nil? && context[:request_path] == "/profile/#{owner.identifier}" 75 + if context[:article]
  76 + return context[:article] == owner.home_page
79 else 77 else
80 - return context[:request_path] == '/' 78 + return home_page_path?(context[:request_path])
81 end 79 end
82 end 80 end
83 81
84 def display_except_home_page(context) 82 def display_except_home_page(context)
85 - return context[:article] != owner.home_page if context[:article]  
86 -  
87 - if owner.kind_of?(Profile)  
88 - return (!owner.home_page.nil? && context[:request_path] != "/#{owner.identifier}") ||  
89 - (owner.home_page.nil? && context[:request_path] != "/profile/#{owner.identifier}") 83 + if context[:article]
  84 + return context[:article] != owner.home_page
90 else 85 else
91 - return context[:request_path] != '/' 86 + return !home_page_path?(context[:request_path])
92 end 87 end
93 end 88 end
94 89
@@ -115,13 +110,16 @@ class Block &lt; ActiveRecord::Base @@ -115,13 +110,16 @@ class Block &lt; ActiveRecord::Base
115 # * <tt>'all'</tt>: the block is always displayed 110 # * <tt>'all'</tt>: the block is always displayed
116 settings_items :language, :type => :string, :default => 'all' 111 settings_items :language, :type => :string, :default => 'all'
117 112
  113 + # The block can be configured to be fixed. Only can be edited by environment admins
  114 + settings_items :fixed, :type => :boolean, :default => false
  115 +
118 # returns the description of the block, used when the user sees a list of 116 # returns the description of the block, used when the user sees a list of
119 # blocks to choose one to include in the design. 117 # blocks to choose one to include in the design.
120 # 118 #
121 # Must be redefined in subclasses to match the description of each block 119 # Must be redefined in subclasses to match the description of each block
122 # type. 120 # type.
123 def self.description 121 def self.description
124 - ('dummy') 122 + '(dummy)'
125 end 123 end
126 124
127 # returns a short description of the block, used when the user sees a list of 125 # returns a short description of the block, used when the user sees a list of
@@ -142,13 +140,13 @@ class Block &lt; ActiveRecord::Base @@ -142,13 +140,13 @@ class Block &lt; ActiveRecord::Base
142 # This method can return several types of objects: 140 # This method can return several types of objects:
143 # 141 #
144 # * <tt>String</tt>: if the string starts with <tt>http://</tt> or <tt>https://</tt>, then it is assumed to be address of an IFRAME. Otherwise it's is used as regular HTML. 142 # * <tt>String</tt>: if the string starts with <tt>http://</tt> or <tt>https://</tt>, then it is assumed to be address of an IFRAME. Otherwise it's is used as regular HTML.
145 - # * <tt>Hash</tt>: the hash is used to build an URL that is used as the address for a IFRAME. 143 + # * <tt>Hash</tt>: the hash is used to build an URL that is used as the address for a IFRAME.
146 # * <tt>Proc</tt>: the Proc is evaluated in the scope of BoxesHelper. The 144 # * <tt>Proc</tt>: the Proc is evaluated in the scope of BoxesHelper. The
147 # block can then use <tt>render</tt>, <tt>link_to</tt>, etc. 145 # block can then use <tt>render</tt>, <tt>link_to</tt>, etc.
148 # 146 #
149 # The method can also return <tt>nil</tt>, which means "no content". 147 # The method can also return <tt>nil</tt>, which means "no content".
150 # 148 #
151 - # See BoxesHelper#extract_block_content for implementation details. 149 + # See BoxesHelper#extract_block_content for implementation details.
152 def content(args={}) 150 def content(args={})
153 "This is block number %d" % self.id 151 "This is block number %d" % self.id
154 end 152 end
@@ -239,6 +237,7 @@ class Block &lt; ActiveRecord::Base @@ -239,6 +237,7 @@ class Block &lt; ActiveRecord::Base
239 'all' => _('All users'), 237 'all' => _('All users'),
240 'logged' => _('Logged'), 238 'logged' => _('Logged'),
241 'not_logged' => _('Not logged'), 239 'not_logged' => _('Not logged'),
  240 + 'followers' => owner.class != Environment && owner.organization? ? _('Members') : _('Friends')
242 } 241 }
243 end 242 end
244 243
@@ -275,4 +274,26 @@ class Block &lt; ActiveRecord::Base @@ -275,4 +274,26 @@ class Block &lt; ActiveRecord::Base
275 self.position = block.position 274 self.position = block.position
276 end 275 end
277 276
  277 + def copy_from(block)
  278 + self.settings = block.settings
  279 + self.position = block.position
  280 + end
  281 +
  282 + private
  283 +
  284 + def home_page_path
  285 + home_page_url = Noosfero.root('/')
  286 +
  287 + if owner.kind_of?(Profile)
  288 + home_page_url += "profile/" if owner.home_page.nil?
  289 + home_page_url += owner.identifier
  290 + end
  291 +
  292 + return home_page_url
  293 + end
  294 +
  295 + def home_page_path? path
  296 + return path == home_page_path || path == (home_page_path + '/')
  297 + end
  298 +
278 end 299 end
app/models/blog.rb
@@ -53,7 +53,7 @@ class Blog &lt; Folder @@ -53,7 +53,7 @@ class Blog &lt; Folder
53 def prepare_external_feed 53 def prepare_external_feed
54 unless self.external_feed_data.nil? 54 unless self.external_feed_data.nil?
55 if self.external_feed(true) && self.external_feed.id == self.external_feed_data[:id].to_i 55 if self.external_feed(true) && self.external_feed.id == self.external_feed_data[:id].to_i
56 - self.external_feed.attributes = self.external_feed_data 56 + self.external_feed.attributes = self.external_feed_data.except(:id)
57 else 57 else
58 self.build_external_feed(self.external_feed_data, :without_protection => true) 58 self.build_external_feed(self.external_feed_data, :without_protection => true)
59 end 59 end
app/models/domain.rb
@@ -92,4 +92,11 @@ class Domain &lt; ActiveRecord::Base @@ -92,4 +92,11 @@ class Domain &lt; ActiveRecord::Base
92 @hosting = {} 92 @hosting = {}
93 end 93 end
94 94
  95 + # Detects a domain's custom text domain chain if available based on a domain
  96 + # served on multitenancy configuration or a registered domain.
  97 + def self.custom_locale(domainname)
  98 + domain = Noosfero::MultiTenancy.mapping[domainname] || domainname[/(.*?)\./,1]
  99 + FastGettext.translation_repositories.keys.include?(domain) ? domain : FastGettext.default_text_domain
  100 + end
  101 +
95 end 102 end
app/models/enterprise.rb
@@ -97,7 +97,12 @@ class Enterprise &lt; Organization @@ -97,7 +97,12 @@ class Enterprise &lt; Organization
97 self.tasks.where(:type => 'EnterpriseActivation').first 97 self.tasks.where(:type => 'EnterpriseActivation').first
98 end 98 end
99 99
100 - def enable(owner) 100 + def enable(owner = nil)
  101 + if owner.nil?
  102 + self.visible = true
  103 + return self.save
  104 + end
  105 +
101 return if enabled 106 return if enabled
102 # must be set first for the following to work 107 # must be set first for the following to work
103 self.enabled = true 108 self.enabled = true
app/models/environment.rb
@@ -283,6 +283,7 @@ class Environment &lt; ActiveRecord::Base @@ -283,6 +283,7 @@ class Environment &lt; ActiveRecord::Base
283 www.flickr.com 283 www.flickr.com
284 www.gmodules.com 284 www.gmodules.com
285 www.youtube.com 285 www.youtube.com
  286 + openstreetmap.org
286 ] + ('a' .. 'z').map{|i| "#{i}.yimg.com"} 287 ] + ('a' .. 'z').map{|i| "#{i}.yimg.com"}
287 288
288 settings_items :enabled_plugins, :type => Array, :default => Noosfero::Plugin.available_plugin_names 289 settings_items :enabled_plugins, :type => Array, :default => Noosfero::Plugin.available_plugin_names
app/models/external_feed.rb
@@ -10,7 +10,7 @@ class ExternalFeed &lt; ActiveRecord::Base @@ -10,7 +10,7 @@ class ExternalFeed &lt; ActiveRecord::Base
10 { :conditions => ['(fetched_at is NULL) OR (fetched_at < ?)', Time.now - FeedUpdater.update_interval] } 10 { :conditions => ['(fetched_at is NULL) OR (fetched_at < ?)', Time.now - FeedUpdater.update_interval] }
11 } 11 }
12 12
13 - attr_accessible :address, :enabled 13 + attr_accessible :address, :enabled, :only_once
14 14
15 def add_item(title, link, date, content) 15 def add_item(title, link, date, content)
16 return if content.blank? 16 return if content.blank?
app/models/product.rb
@@ -11,7 +11,7 @@ class Product &lt; ActiveRecord::Base @@ -11,7 +11,7 @@ class Product &lt; ActiveRecord::Base
11 11
12 SEARCH_DISPLAYS = %w[map full] 12 SEARCH_DISPLAYS = %w[map full]
13 13
14 - attr_accessible :name, :product_category, :highlighted, :price, :enterprise, :image_builder, :description, :available, :qualifiers, :unit_id, :discount, :inputs 14 + attr_accessible :name, :product_category, :highlighted, :price, :enterprise, :image_builder, :description, :available, :qualifiers, :unit_id, :discount, :inputs, :qualifiers_list
15 15
16 def self.default_search_display 16 def self.default_search_display
17 'full' 17 'full'
app/models/profile.rb
@@ -159,6 +159,7 @@ class Profile &lt; ActiveRecord::Base @@ -159,6 +159,7 @@ class Profile &lt; ActiveRecord::Base
159 end 159 end
160 160
161 scope :visible, :conditions => { :visible => true } 161 scope :visible, :conditions => { :visible => true }
  162 + scope :disabled, :conditions => { :visible => false }
162 scope :public, :conditions => { :visible => true, :public_profile => true } 163 scope :public, :conditions => { :visible => true, :public_profile => true }
163 164
164 # Subclasses must override this method 165 # Subclasses must override this method
@@ -813,7 +814,7 @@ private :generate_url, :url_options @@ -813,7 +814,7 @@ private :generate_url, :url_options
813 end 814 end
814 815
815 include Noosfero::Plugin::HotSpot 816 include Noosfero::Plugin::HotSpot
816 - 817 +
817 def folder_types 818 def folder_types
818 types = Article.folder_types 819 types = Article.folder_types
819 plugins.dispatch(:content_types).each {|type| 820 plugins.dispatch(:content_types).each {|type|
@@ -944,6 +945,13 @@ private :generate_url, :url_options @@ -944,6 +945,13 @@ private :generate_url, :url_options
944 end 945 end
945 946
946 def disable 947 def disable
  948 + self.visible = false
  949 + self.save
  950 + end
  951 +
  952 + def enable
  953 + self.visible = true
  954 + self.save
947 end 955 end
948 956
949 def control_panel_settings_button 957 def control_panel_settings_button
app/views/admin_panel/index.html.erb
@@ -21,6 +21,7 @@ @@ -21,6 +21,7 @@
21 <tr><td><%= link_to _('Users'), :controller => 'users' %></td></tr> 21 <tr><td><%= link_to _('Users'), :controller => 'users' %></td></tr>
22 <tr><td><%= link_to _('Profile templates'), :controller => 'templates' %></td></tr> 22 <tr><td><%= link_to _('Profile templates'), :controller => 'templates' %></td></tr>
23 <tr><td><%= link_to _('Fields'), :controller => 'features', :action => 'manage_fields' %></td></tr> 23 <tr><td><%= link_to _('Fields'), :controller => 'features', :action => 'manage_fields' %></td></tr>
  24 + <tr><td><%= link_to _('Manage organizations status'), :action => 'manage_organizations_status' %></td></tr>
24 </table> 25 </table>
25 26
26 27
app/views/admin_panel/manage_organizations_status.html.erb 0 → 100644
@@ -0,0 +1,69 @@ @@ -0,0 +1,69 @@
  1 +<h1><%= _('Manage organizations') %></h1>
  2 +
  3 +<%= form_tag( { :action => 'manage_organizations_status' }, :method => 'get', :class => 'users-search' ) do %>
  4 +
  5 + <div class="search-field">
  6 + <span class="formfield">
  7 + <%= text_field_tag 'q', @q, :title => _("Find profiles"), :style=>"width:85%" %>
  8 + </span>
  9 +
  10 + <%= submit_button(:search, _('Search')) %>
  11 + </div>
  12 +
  13 + <div class="environment-users-results-header">
  14 + <div id='environment-users-filter-title'><%= @title %></div>
  15 +
  16 + <div id="environment-users-filter-filter">
  17 + <strong><%= _("Filter by: ") %></strong>
  18 +
  19 + <select id="profile_filter_select">
  20 + <%= options_for_select([['Any', 'any'],["Disabled profiles", "disabled"], ["Enabled profiles", "enabled"]], @filter) %>
  21 + </select>
  22 + </div>
  23 + <div style="clear: both"></div>
  24 + </div>
  25 +
  26 + <table>
  27 + <colgroup>
  28 + <col width="80%">
  29 + <col width="20%">
  30 + </colgroup>
  31 +
  32 + <tr>
  33 + <th><%= _('Member') %></th>
  34 + <th><%= _('Actions') %></th>
  35 + </tr>
  36 +
  37 + <% @collection.each do |p| %>
  38 + <tr title="<%= p.name %>">
  39 + <td><%= link_to_profile p.short_name, p.identifier, :title => p.name %> </td>
  40 +
  41 + <td class='actions'>
  42 + <div class="members-buttons-cell">
  43 + <% if p.visible %>
  44 + <%= button_without_text :'deactivate-user', _('Deactivate'), {:controller => "profile_editor", :action => 'deactivate_profile', :profile => p.identifier, :id => p.id}, :confirm => _("Do you want to deactivate this profile ?") %>
  45 + <% else %>
  46 + <%= button_without_text :'activate-user', _('Activate'), {:controller => "profile_editor", :action => 'activate_profile', :profile => p.identifier, :id => p.id}, :confirm => _("Do you want to activate this profile ?") %>
  47 + <% end %>
  48 + <%= button_without_text :'delete', _('Remove'), {:controller => "profile_editor", :action => 'destroy_profile', :profile => p.identifier, :id => p.id, :return_to => "/admin/admin_panel/manage_organizations_status"}, :method => :post, :confirm => _("Do you want to deactivate this profile ?") %>
  49 + </div>
  50 + </td>
  51 + </tr>
  52 + <% end %>
  53 + </table>
  54 +
  55 +<% end %>
  56 +
  57 +<%= pagination_links @collection, {:param_name => 'npage', :page_links => true} %>
  58 +
  59 +<% button_bar do %>
  60 + <%= button :back, _('Back'), :controller => 'admin_panel' %>
  61 +<% end %>
  62 +
  63 +<script type="text/javascript">
  64 + jQuery(document).ready(function(){
  65 + jQuery("#profile_filter_select").change(function(){
  66 + document.location.href = '/admin/admin_panel/manage_organizations_status?filter='+this.value;
  67 + });
  68 + });
  69 +</script>
0 \ No newline at end of file 70 \ No newline at end of file
app/views/box_organizer/edit.html.erb
@@ -5,6 +5,12 @@ @@ -5,6 +5,12 @@
5 5
6 <%= labelled_form_field(_('Custom title for this block: '), text_field(:block, :title, :maxlength => 20)) %> 6 <%= labelled_form_field(_('Custom title for this block: '), text_field(:block, :title, :maxlength => 20)) %>
7 7
  8 + <% if environment.admins.include?(user) %>
  9 + <div class="fixed_block">
  10 + <%= labelled_check_box(_("Fixed"), "block[fixed]", value = "1", checked = @block.fixed) %>
  11 + </div>
  12 + <% end %>
  13 +
8 <%= render :partial => partial_for_class(@block.class) %> 14 <%= render :partial => partial_for_class(@block.class) %>
9 15
10 <div class="display"> 16 <div class="display">
app/views/cms/upload_files.html.erb
@@ -20,5 +20,10 @@ @@ -20,5 +20,10 @@
20 <h5><%= _('Uploading files to %s') % content_tag('code', @target) %></h5> 20 <h5><%= _('Uploading files to %s') % content_tag('code', @target) %></h5>
21 21
22 <%= form_for('uploaded_file', :url => { :action => 'upload_files' }, :html => {:multipart => true}) do |f| %> 22 <%= form_for('uploaded_file', :url => { :action => 'upload_files' }, :html => {:multipart => true}) do |f| %>
  23 +
  24 + <%= @plugins.dispatch(:upload_files_extra_fields, params[:parent_id]).collect { |content| instance_exec(&content) }.join("") %>
  25 +
23 <%= render :partial => 'upload_file_form', :locals => { :size => '45'} %> 26 <%= render :partial => 'upload_file_form', :locals => { :size => '45'} %>
24 -<% end %> 27 +
  28 +<% end %>
  29 +
app/views/content_viewer/_article_toolbar.rhtml
@@ -1,72 +0,0 @@ @@ -1,72 +0,0 @@
1 -<div<%= user && " class='logged-in'" %>>  
2 - <div id="article-actions">  
3 -  
4 -  
5 - <% if @page.allow_edit?(user) && !remove_content_button(:edit) %>  
6 - <% content = content_tag('span', label_for_edit_article(@page)) %>  
7 - <% url = profile.admin_url.merge({ :controller => 'cms', :action => 'edit', :id => @page.id }) %>  
8 - <%= expirable_button @page, :edit, content, url %>  
9 - <% end %>  
10 -  
11 - <% if @page != profile.home_page && !@page.has_posts? && @page.allow_delete?(user) && !remove_content_button(:delete)%>  
12 - <% content = content_tag( 'span', _('Delete') ) %>  
13 - <% url = profile.admin_url.merge({ :controller => 'cms', :action => 'destroy', :id => @page}) %>  
14 - <% options = {:method => :post, :confirm => delete_article_message(@page)} %>  
15 - <%= expirable_button @page, :delete, content, url, options %>  
16 - <% end %>  
17 -  
18 - <% if !@page.folder? && @page.allow_spread?(user) && !remove_content_button(:spread) %>  
19 - <% content = content_tag( 'span', _('Spread this') ) %>  
20 - <% url = nil %>  
21 - <% if profile.kind_of?(Person) %>  
22 - <% url = profile.admin_url.merge({ :controller => 'cms', :action => 'publish', :id => @page }) %>  
23 - <% elsif profile.kind_of?(Community) && environment.portal_community %>  
24 - <% url = profile.admin_url.merge({ :controller => 'cms', :action => 'publish_on_portal_community', :id => @page }) %>  
25 - <% end %>  
26 - <%= expirable_button @page, :spread, content, url if url %>  
27 - <% end %>  
28 -  
29 - <% if !@page.gallery? && (@page.allow_create?(user) || (@page.parent && @page.parent.allow_create?(user))) %>  
30 - <% if @page.translatable? && !@page.native_translation.language.blank? && !remove_content_button(:locale) %>  
31 - <% content = _('Add translation') %>  
32 - <% parent_id = (@page.folder? ? @page : (@page.parent.nil? ? nil : @page.parent)) %>  
33 - <% url = profile.admin_url.merge(:controller => 'cms', :action => 'new', :parent_id => parent_id, :type => @page.type, :article => { :translation_of_id => @page.native_translation.id })%>  
34 - <%= expirable_button @page, :locale, content, url %>  
35 - <% end %>  
36 -  
37 - <%= colorbox_button(:new, label_for_new_article(@page), profile.admin_url.merge(:controller => 'cms', :action => 'new', :parent_id => (@page.folder? ? @page : (@page.parent.nil? ? nil : @page.parent)))) unless remove_content_button(:new) %>  
38 - <% end %>  
39 -  
40 - <%  
41 - @plugins.dispatch(:article_toolbar_extra_buttons).each do |plugin_button| %>  
42 - <%= instance_eval(&plugin_button) %>  
43 - <% end %>  
44 -  
45 - <% if @page.accept_uploads? && @page.allow_create?(user) %>  
46 - <%= button('upload-file', _('Upload files'), profile.admin_url.merge(:controller => 'cms', :action => 'upload_files', :parent_id => (@page.folder? ? @page : @page.parent))) unless remove_content_button(:upload)%>  
47 - <% end %>  
48 -  
49 - <% if !@page.allow_create?(user) && profile.community? && (@page.blog? || @page.parent && @page.parent.blog?) && !remove_content_button(:suggest) %>  
50 - <% content = content_tag( 'span', _('Suggest an article') ) %>  
51 - <% url = profile.admin_url.merge({ :controller => 'cms', :action => 'suggest_an_article'}) %>  
52 - <% options = {:id => 'suggest-article-link'} %>  
53 - <%= expirable_button @page, :suggest, content, url, options %>  
54 - <% end %>  
55 -  
56 - <% if @page.display_versions? %>  
57 - <%= button(:clock, _('All versions'), {:controller => 'content_viewer', :profile => profile.identifier, :action => 'article_versions'}, :id => 'article-versions-link') %>  
58 - <% end %>  
59 -  
60 - <%= report_abuse(profile, :link, @page) %>  
61 -  
62 - </div>  
63 - <div id="article-header">  
64 - <% if @page.blog? and !@page.image.nil? %>  
65 - <div class="blog-cover"><%= image_tag(@page.image.public_filename())%></div>  
66 - <% end %>  
67 - <%= link_to(image_tag('icons-mime/rss-feed.png'), @page.feed.url, :class => 'blog-feed-link') if @page.has_posts? && @page.feed %>  
68 - <%= @plugins.dispatch(:article_header_extra_contents, @page).collect { |content| instance_eval(&content) }.join("") %>  
69 - <%= article_title(@page, :no_link => true) %>  
70 - <%= article_translations(@page) %>  
71 - </div>  
72 -</div>  
app/views/content_viewer/view_page.html.erb
@@ -70,37 +70,36 @@ @@ -70,37 +70,36 @@
70 70
71 <%= @plugins.dispatch(:article_extra_contents, @page).collect { |content| instance_exec(&content) }.join("") %> 71 <%= @plugins.dispatch(:article_extra_contents, @page).collect { |content| instance_exec(&content) }.join("") %>
72 72
73 -<div class="comments" id="comments_list">  
74 -  
75 - <% if @page.accept_comments? || (@comments_count.present? && @comments_count > 0) %> 73 +<% if @page.accept_comments? || @comments_count > 0 %>
  74 + <div class="comments" id="comments_list">
76 <h3 <%= 'class="no-comments-yet"' if @comments_count == 0 %>> 75 <h3 <%= 'class="no-comments-yet"' if @comments_count == 0 %>>
77 <%= display_number_of_comments(@comments_count) %> 76 <%= display_number_of_comments(@comments_count) %>
78 </h3> 77 </h3>
79 - <% end %>  
80 78
81 - <% if @comments.present? && @comments.count > 1 %>  
82 - <%= link_to(_('Post a comment'), '#', :class => 'display-comment-form', :id => 'top-post-comment-button', :onclick => "jQuery('#page-comment-form .display-comment-form').first().click();") if @page.accept_comments? %> 79 + <% if @comments.present? && @comments.count > 1 %>
  80 + <%= link_to(_('Post a comment'), '#', :class => 'display-comment-form', :id => 'top-post-comment-button', :onclick => "jQuery('#page-comment-form .display-comment-form').first().click();") if @page.accept_comments? %>
  81 +
  82 + <%= hidden_field_tag("page_url", url_for(:controller=>'content_viewer', :action=>'view_page', :profile=>profile.identifier, :page => @page.explode_path)) %>
  83 + <%= javascript_include_tag "comment_order.js" %>
  84 + <div class="comment-order">
  85 + <%= form_tag({:controller=>'content_viewer' , :action=>'view_page'}, {:method=>'get', :id=>"form_order"}) do %>
  86 + <%= select_tag 'comment_order', options_for_select({_('Oldest first')=>'oldest', _('Newest first')=>'newest'}, @comment_order) %>
  87 + <% end %>
  88 + </div>
  89 + <% end %>
83 90
84 - <%= hidden_field_tag("page_url", url_for(:controller=>'content_viewer', :action=>'view_page', :profile=>profile.identifier, :page => @page.explode_path)) %>  
85 - <%= javascript_include_tag "comment_order.js" %>  
86 - <div class="comment-order">  
87 - <%= form_tag({:controller=>'content_viewer' , :action=>'view_page'}, {:method=>'get', :id=>"form_order"}) do %>  
88 - <%= select_tag 'comment_order', options_for_select({_('Oldest first')=>'oldest', _('Newest first')=>'newest'}, @comment_order) %> 91 + <ul class="article-comments-list">
  92 + <% if @comments.present? %>
  93 + <%= render :partial => 'comment/comment', :collection => @comments %>
  94 + <%= pagination_links @comments, :param_name => 'comment_page' %>
89 <% end %> 95 <% end %>
90 - </div>  
91 - <% end %> 96 + </ul>
92 97
93 - <ul class="article-comments-list">  
94 - <% if @comments.present? %>  
95 - <%= render :partial => 'comment/comment', :collection => @comments %>  
96 - <%= pagination_links @comments, :param_name => 'comment_page' %> 98 + <% if @page.accept_comments? %>
  99 + <div id='page-comment-form' class='page-comment-form'><%= render :partial => 'comment/comment_form', :locals =>{:url => {:controller => :comment, :action => :create}, :display_link => true, :cancel_triggers_hide => true}%></div>
97 <% end %> 100 <% end %>
98 - </ul>  
99 -  
100 - <% if @page.accept_comments? %>  
101 - <div id='page-comment-form' class='page-comment-form'><%= render :partial => 'comment/comment_form', :locals =>{:url => {:controller => :comment, :action => :create}, :display_link => true, :cancel_triggers_hide => true}%></div>  
102 - <% end %>  
103 -</div><!-- end class="comments" --> 101 + </div><!-- end class="comments" -->
  102 +<% end %>
104 103
105 </div><!-- end id="article" --> 104 </div><!-- end id="article" -->
106 <%= add_zoom_to_article_images %> 105 <%= add_zoom_to_article_images %>
app/views/events/events.html.erb
@@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
3 <div id='agenda-toolbar'> 3 <div id='agenda-toolbar'>
4 <%= button :back, _('Back to %s') % profile.name, profile.url %> 4 <%= button :back, _('Back to %s') % profile.name, profile.url %>
5 <% if user && user.has_permission?('post_content', profile) %> 5 <% if user && user.has_permission?('post_content', profile) %>
6 - <%= button :new, _('New event'), myprofile_url(:controller => 'cms', :action => 'new', :type => 'Event') %> 6 + <%= button :new, _('New event'), myprofile_path(:controller => 'cms', :action => 'new', :type => 'Event') %>
7 <% end %> 7 <% end %>
8 </div> 8 </div>
9 9
app/views/layouts/application-ng.html.erb
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<%= html_language %>" lang="<%= html_language %>"> 2 +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<%= html_language %>" lang="<%= html_language %>" class="<%= h html_tag_classes %>">
3 <head> 3 <head>
4 <title><%= h page_title %></title> 4 <title><%= h page_title %></title>
5 <%= yield(:feeds) %> 5 <%= yield(:feeds) %>
app/views/layouts/application.html.erb
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<%= html_language %>" lang="<%= html_language %>"> 2 +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<%= html_language %>" lang="<%= html_language %>" class="<%= h html_tag_classes %>">
3 <head> 3 <head>
4 <title><%= h page_title %></title> 4 <title><%= h page_title %></title>
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
app/views/manage_products/_edit_info.html.erb
@@ -47,7 +47,7 @@ @@ -47,7 +47,7 @@
47 <%= button_to_function( 47 <%= button_to_function(
48 :add, 48 :add,
49 _('Add new qualifier'), 49 _('Add new qualifier'),
50 - "new_qualifier_row('#product-qualifiers-list', '#{escape_javascript(select_qualifiers(@product))}', '#{escape_javascript(remove_qualifier_button)}')" 50 + "new_qualifier_row('#product-qualifiers-list', '#{escape_javascript(CGI::escape_html(select_qualifiers(@product)))}', '#{escape_javascript(CGI::escape_html(remove_qualifier_button))}')"
51 ) %> 51 ) %>
52 <%= hidden_field_tag "product[qualifiers_list][nil]" %> 52 <%= hidden_field_tag "product[qualifiers_list][nil]" %>
53 <% end %> 53 <% end %>
app/views/profile_editor/edit.html.erb
1 <h1><%= _('Profile settings for %s') % profile.name %></h1> 1 <h1><%= _('Profile settings for %s') % profile.name %></h1>
2 2
  3 +<%= javascript_include_tag 'deactivate_profile' %>
3 <%= error_messages_for :profile_data %> 4 <%= error_messages_for :profile_data %>
4 5
5 <%= labelled_form_for :profile_data, :html => { :id => 'profile-data', :multipart => true } do |f| %> 6 <%= labelled_form_for :profile_data, :html => { :id => 'profile-data', :multipart => true } do |f| %>
@@ -70,6 +71,15 @@ @@ -70,6 +71,15 @@
70 <% if user && user.has_permission?('destroy_profile', profile) %> 71 <% if user && user.has_permission?('destroy_profile', profile) %>
71 <% button_bar(:id => 'delete-profile') do %> 72 <% button_bar(:id => 'delete-profile') do %>
72 <%= button(:remove, _('Delete profile'), {:action => :destroy_profile}) %> 73 <%= button(:remove, _('Delete profile'), {:action => :destroy_profile}) %>
  74 +
  75 + <% if environment.admins.include?(current_person) %>
  76 +
  77 + <% if profile.visible? %>
  78 + <%= button(:remove, _('Deactivate profile'), {:action => :deactivate_profile, :id=>profile.id}, :id=>'deactivate_profile_button', :data => {:confirm=>_("Are you sure you want to deactivate this profile?")}) %>
  79 + <% else %>
  80 + <%= button(:add, _('Activate profile'), {:action => :activate_profile, :id=>profile.id}, :data => {:confirm=>_("Are you sure you want to deactivate this profile?")}) %>
  81 + <% end %>
  82 + <% end %>
73 <% end %> 83 <% end %>
74 <% end %> 84 <% end %>
75 <% end %> 85 <% end %>
app/views/search/_display_results.html.erb
@@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
14 14
15 <% display = display_filter(name, params[:display]) %> 15 <% display = display_filter(name, params[:display]) %>
16 16
17 - <div class="search-results-innerbox search-results-type-<%= name.to_s.singularize %> <%= 'common-profile-list-block' if [:enterprises, :people, :communities].include?(name) %>"> 17 + <div class="search-results-innerbox search-results-type-<%= name.to_s.singularize %> <%= 'common-profile-list-block' if SearchHelper::COMMON_PROFILE_LIST_BLOCK.include?(name) %>">
18 <ul> 18 <ul>
19 <% search[:results].each do |hit| %> 19 <% search[:results].each do |hit| %>
20 <% partial = partial_for_class(hit.class, display) %> 20 <% partial = partial_for_class(hit.class, display) %>
config/initializers/passenger.rb
@@ -3,7 +3,7 @@ if defined? PhusionPassenger @@ -3,7 +3,7 @@ if defined? PhusionPassenger
3 # from http://russbrooks.com/2010/10/20/rails-cache-memcache-on-passenger-with-smart-spawning 3 # from http://russbrooks.com/2010/10/20/rails-cache-memcache-on-passenger-with-smart-spawning
4 PhusionPassenger.on_event :starting_worker_process do |forked| 4 PhusionPassenger.on_event :starting_worker_process do |forked|
5 if forked 5 if forked
6 - Rails.cache.instance_variable_get(:@data).reset if Rails.cache.class == ActiveSupport::Cache::MemCacheStore 6 + Rails.cache.instance_variable_get(:@data).reset if Rails.cache.class.name == 'ActiveSupport::Cache::MemCacheStore'
7 end 7 end
8 end 8 end
9 end 9 end
db/migrate/20150113131617_add_show_to_followers_for_article.rb 0 → 100644
@@ -0,0 +1,9 @@ @@ -0,0 +1,9 @@
  1 +class AddShowToFollowersForArticle < ActiveRecord::Migration
  2 + def up
  3 + add_column :articles, :show_to_followers, :boolean, :default => false
  4 + end
  5 +
  6 + def down
  7 + remove_column :articles, :show_to_followers
  8 + end
  9 +end
db/migrate/20150122165042_change_address_type_to_text_in_external_feed.rb 0 → 100644
@@ -0,0 +1,9 @@ @@ -0,0 +1,9 @@
  1 +class ChangeAddressTypeToTextInExternalFeed < ActiveRecord::Migration
  2 + def up
  3 + change_column :external_feeds, :address, :text
  4 + end
  5 +
  6 + def down
  7 + change_column :external_feeds, :address, :string
  8 + end
  9 +end
@@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@
11 # 11 #
12 # It's strongly recommended to check this file into your version control system. 12 # It's strongly recommended to check this file into your version control system.
13 13
14 -ActiveRecord::Schema.define(:version => 20140829153047) do 14 +ActiveRecord::Schema.define(:version => 20150113131617) do
15 15
16 create_table "abuse_reports", :force => true do |t| 16 create_table "abuse_reports", :force => true do |t|
17 t.integer "reporter_id" 17 t.integer "reporter_id"
@@ -149,6 +149,7 @@ ActiveRecord::Schema.define(:version =&gt; 20140829153047) do @@ -149,6 +149,7 @@ ActiveRecord::Schema.define(:version =&gt; 20140829153047) do
149 t.integer "spam_comments_count", :default => 0 149 t.integer "spam_comments_count", :default => 0
150 t.integer "author_id" 150 t.integer "author_id"
151 t.integer "created_by_id" 151 t.integer "created_by_id"
  152 + t.boolean "show_to_followers", :default => false
152 end 153 end
153 154
154 add_index "articles", ["comments_count"], :name => "index_articles_on_comments_count" 155 add_index "articles", ["comments_count"], :name => "index_articles_on_comments_count"
@@ -250,7 +251,6 @@ ActiveRecord::Schema.define(:version =&gt; 20140829153047) do @@ -250,7 +251,6 @@ ActiveRecord::Schema.define(:version =&gt; 20140829153047) do
250 t.string "source_type" 251 t.string "source_type"
251 t.string "user_agent" 252 t.string "user_agent"
252 t.string "referrer" 253 t.string "referrer"
253 - t.text "setting"  
254 end 254 end
255 255
256 add_index "comments", ["source_id", "spam"], :name => "index_comments_on_source_id_and_spam" 256 add_index "comments", ["source_id", "spam"], :name => "index_comments_on_source_id_and_spam"
@@ -309,14 +309,14 @@ ActiveRecord::Schema.define(:version =&gt; 20140829153047) do @@ -309,14 +309,14 @@ ActiveRecord::Schema.define(:version =&gt; 20140829153047) do
309 t.text "signup_welcome_text" 309 t.text "signup_welcome_text"
310 t.string "languages" 310 t.string "languages"
311 t.string "default_language" 311 t.string "default_language"
312 - t.string "redirection_after_signup", :default => "keep_on_same_page"  
313 t.string "noreply_email" 312 t.string "noreply_email"
  313 + t.string "redirection_after_signup", :default => "keep_on_same_page"
314 end 314 end
315 315
316 create_table "external_feeds", :force => true do |t| 316 create_table "external_feeds", :force => true do |t|
317 t.string "feed_title" 317 t.string "feed_title"
318 t.datetime "fetched_at" 318 t.datetime "fetched_at"
319 - t.string "address" 319 + t.text "address"
320 t.integer "blog_id", :null => false 320 t.integer "blog_id", :null => false
321 t.boolean "enabled", :default => true, :null => false 321 t.boolean "enabled", :default => true, :null => false
322 t.boolean "only_once", :default => true, :null => false 322 t.boolean "only_once", :default => true, :null => false
@@ -415,45 +415,6 @@ ActiveRecord::Schema.define(:version =&gt; 20140829153047) do @@ -415,45 +415,6 @@ ActiveRecord::Schema.define(:version =&gt; 20140829153047) do
415 add_index "national_regions", ["name"], :name => "name_index" 415 add_index "national_regions", ["name"], :name => "name_index"
416 add_index "national_regions", ["national_region_code"], :name => "code_index" 416 add_index "national_regions", ["national_region_code"], :name => "code_index"
417 417
418 - create_table "oauth_access_grants", :force => true do |t|  
419 - t.integer "resource_owner_id", :null => false  
420 - t.integer "application_id", :null => false  
421 - t.string "token", :null => false  
422 - t.integer "expires_in", :null => false  
423 - t.text "redirect_uri", :null => false  
424 - t.datetime "created_at", :null => false  
425 - t.datetime "revoked_at"  
426 - t.string "scopes"  
427 - end  
428 -  
429 - add_index "oauth_access_grants", ["token"], :name => "index_oauth_access_grants_on_token", :unique => true  
430 -  
431 - create_table "oauth_access_tokens", :force => true do |t|  
432 - t.integer "resource_owner_id"  
433 - t.integer "application_id"  
434 - t.string "token", :null => false  
435 - t.string "refresh_token"  
436 - t.integer "expires_in"  
437 - t.datetime "revoked_at"  
438 - t.datetime "created_at", :null => false  
439 - t.string "scopes"  
440 - end  
441 -  
442 - add_index "oauth_access_tokens", ["refresh_token"], :name => "index_oauth_access_tokens_on_refresh_token", :unique => true  
443 - add_index "oauth_access_tokens", ["resource_owner_id"], :name => "index_oauth_access_tokens_on_resource_owner_id"  
444 - add_index "oauth_access_tokens", ["token"], :name => "index_oauth_access_tokens_on_token", :unique => true  
445 -  
446 - create_table "oauth_applications", :force => true do |t|  
447 - t.string "name", :null => false  
448 - t.string "uid", :null => false  
449 - t.string "secret", :null => false  
450 - t.text "redirect_uri", :null => false  
451 - t.datetime "created_at", :null => false  
452 - t.datetime "updated_at", :null => false  
453 - end  
454 -  
455 - add_index "oauth_applications", ["uid"], :name => "index_oauth_applications_on_uid", :unique => true  
456 -  
457 create_table "price_details", :force => true do |t| 418 create_table "price_details", :force => true do |t|
458 t.decimal "price", :default => 0.0 419 t.decimal "price", :default => 0.0
459 t.integer "product_id" 420 t.integer "product_id"
@@ -504,21 +465,6 @@ ActiveRecord::Schema.define(:version =&gt; 20140829153047) do @@ -504,21 +465,6 @@ ActiveRecord::Schema.define(:version =&gt; 20140829153047) do
504 add_index "products", ["product_category_id"], :name => "index_products_on_product_category_id" 465 add_index "products", ["product_category_id"], :name => "index_products_on_product_category_id"
505 add_index "products", ["profile_id"], :name => "index_products_on_profile_id" 466 add_index "products", ["profile_id"], :name => "index_products_on_profile_id"
506 467
507 - create_table "profile_suggestions", :force => true do |t|  
508 - t.integer "person_id"  
509 - t.integer "suggestion_id"  
510 - t.string "suggestion_type"  
511 - t.text "categories"  
512 - t.boolean "enabled", :default => true  
513 - t.float "score", :default => 0.0  
514 - t.datetime "created_at", :null => false  
515 - t.datetime "updated_at", :null => false  
516 - end  
517 -  
518 - add_index "profile_suggestions", ["person_id"], :name => "index_profile_suggestions_on_person_id"  
519 - add_index "profile_suggestions", ["score"], :name => "index_profile_suggestions_on_score"  
520 - add_index "profile_suggestions", ["suggestion_id"], :name => "index_profile_suggestions_on_suggestion_id"  
521 -  
522 create_table "profiles", :force => true do |t| 468 create_table "profiles", :force => true do |t|
523 t.string "name" 469 t.string "name"
524 t.string "type" 470 t.string "type"
@@ -552,12 +498,11 @@ ActiveRecord::Schema.define(:version =&gt; 20140829153047) do @@ -552,12 +498,11 @@ ActiveRecord::Schema.define(:version =&gt; 20140829153047) do
552 t.boolean "is_template", :default => false 498 t.boolean "is_template", :default => false
553 t.integer "template_id" 499 t.integer "template_id"
554 t.string "redirection_after_login" 500 t.string "redirection_after_login"
555 - t.string "personal_website"  
556 - t.string "jabber_id"  
557 t.integer "friends_count", :default => 0, :null => false 501 t.integer "friends_count", :default => 0, :null => false
558 t.integer "members_count", :default => 0, :null => false 502 t.integer "members_count", :default => 0, :null => false
559 t.integer "activities_count", :default => 0, :null => false 503 t.integer "activities_count", :default => 0, :null => false
560 - t.integer "welcome_page_id" 504 + t.string "personal_website"
  505 + t.string "jabber_id"
561 end 506 end
562 507
563 add_index "profiles", ["activities_count"], :name => "index_profiles_on_activities_count" 508 add_index "profiles", ["activities_count"], :name => "index_profiles_on_activities_count"
@@ -626,31 +571,6 @@ ActiveRecord::Schema.define(:version =&gt; 20140829153047) do @@ -626,31 +571,6 @@ ActiveRecord::Schema.define(:version =&gt; 20140829153047) do
626 t.integer "context_id" 571 t.integer "context_id"
627 end 572 end
628 573
629 - create_table "search_term_occurrences", :force => true do |t|  
630 - t.integer "search_term_id"  
631 - t.datetime "created_at"  
632 - t.integer "total", :default => 0  
633 - t.integer "indexed", :default => 0  
634 - end  
635 -  
636 - add_index "search_term_occurrences", ["created_at"], :name => "index_search_term_occurrences_on_created_at"  
637 -  
638 - create_table "search_terms", :force => true do |t|  
639 - t.string "term"  
640 - t.integer "context_id"  
641 - t.string "context_type"  
642 - t.string "asset", :default => "all"  
643 - t.float "score", :default => 0.0  
644 - t.float "relevance_score", :default => 0.0  
645 - t.float "occurrence_score", :default => 0.0  
646 - end  
647 -  
648 - add_index "search_terms", ["asset"], :name => "index_search_terms_on_asset"  
649 - add_index "search_terms", ["occurrence_score"], :name => "index_search_terms_on_occurrence_score"  
650 - add_index "search_terms", ["relevance_score"], :name => "index_search_terms_on_relevance_score"  
651 - add_index "search_terms", ["score"], :name => "index_search_terms_on_score"  
652 - add_index "search_terms", ["term"], :name => "index_search_terms_on_term"  
653 -  
654 create_table "sessions", :force => true do |t| 574 create_table "sessions", :force => true do |t|
655 t.string "session_id", :null => false 575 t.string "session_id", :null => false
656 t.text "data" 576 t.text "data"
@@ -730,25 +650,23 @@ ActiveRecord::Schema.define(:version =&gt; 20140829153047) do @@ -730,25 +650,23 @@ ActiveRecord::Schema.define(:version =&gt; 20140829153047) do
730 create_table "users", :force => true do |t| 650 create_table "users", :force => true do |t|
731 t.string "login" 651 t.string "login"
732 t.string "email" 652 t.string "email"
733 - t.string "crypted_password", :limit => 40  
734 - t.string "salt", :limit => 40 653 + t.string "crypted_password", :limit => 40
  654 + t.string "salt", :limit => 40
735 t.datetime "created_at" 655 t.datetime "created_at"
736 t.datetime "updated_at" 656 t.datetime "updated_at"
737 t.string "remember_token" 657 t.string "remember_token"
738 t.datetime "remember_token_expires_at" 658 t.datetime "remember_token_expires_at"
739 t.text "terms_of_use" 659 t.text "terms_of_use"
740 - t.string "terms_accepted", :limit => 1 660 + t.string "terms_accepted", :limit => 1
741 t.integer "environment_id" 661 t.integer "environment_id"
742 t.string "password_type" 662 t.string "password_type"
743 - t.boolean "enable_email", :default => false  
744 - t.string "last_chat_status", :default => ""  
745 - t.string "chat_status", :default => "" 663 + t.boolean "enable_email", :default => false
  664 + t.string "last_chat_status", :default => ""
  665 + t.string "chat_status", :default => ""
746 t.datetime "chat_status_at" 666 t.datetime "chat_status_at"
747 - t.string "activation_code", :limit => 40 667 + t.string "activation_code", :limit => 40
748 t.datetime "activated_at" 668 t.datetime "activated_at"
749 t.string "return_to" 669 t.string "return_to"
750 - t.string "private_token"  
751 - t.datetime "private_token_generated_at"  
752 end 670 end
753 671
754 create_table "validation_infos", :force => true do |t| 672 create_table "validation_infos", :force => true do |t|
@@ -5,7 +5,7 @@ TimeOut 300 @@ -5,7 +5,7 @@ TimeOut 300
5 Control "/var/run/pound/poundctl.socket" 5 Control "/var/run/pound/poundctl.socket"
6 6
7 ListenHTTP 7 ListenHTTP
8 - Address 192.168.1.86 8 + Address 0.0.0.0
9 Port 80 9 Port 80
10 xHTTP 1 10 xHTTP 1
11 # uncomment code above if you are using chat 11 # uncomment code above if you are using chat
@@ -22,7 +22,7 @@ ListenHTTP @@ -22,7 +22,7 @@ ListenHTTP
22 End 22 End
23 23
24 ListenHTTPS 24 ListenHTTPS
25 - Address 192.168.1.86 25 + Address 0.0.0.0
26 Port 443 26 Port 443
27 Cert "/etc/noosfero/ssl/noosfero.pem" 27 Cert "/etc/noosfero/ssl/noosfero.pem"
28 Ciphers "ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4:HIGH:!MD5:!aNULL:!EDH:!AESGCM" 28 Ciphers "ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4:HIGH:!MD5:!aNULL:!EDH:!AESGCM"
features/edit_article.feature
@@ -47,6 +47,28 @@ Feature: edit article @@ -47,6 +47,28 @@ Feature: edit article
47 Then I should see "Access denied" 47 Then I should see "Access denied"
48 48
49 @selenium 49 @selenium
  50 + Scenario: Hide token field when show to members is activated
  51 + Given the following communities
  52 + | name | identifier | owner |
  53 + | Free Software | freesoftware | joaosilva |
  54 + And the following users
  55 + | login | name |
  56 + | mario | Mario Souto |
  57 + | maria | Maria Silva |
  58 + And "Mario Souto" is a member of "Free Software"
  59 + And "Maria Silva" is a member of "Free Software"
  60 + And I am on freesoftware's control panel
  61 + And I follow "Manage Content"
  62 + And I should see "New content"
  63 + And I follow "New content"
  64 + And I should see "Folder"
  65 + When I follow "Folder"
  66 + And I fill in "Title" with "My Folder"
  67 + And I choose "article_published_false"
  68 + And I check "article_show_to_followers"
  69 + Then I should not see "Fill in the search"
  70 +
  71 + @selenium
50 Scenario: show exception users field when you choose the private option 72 Scenario: show exception users field when you choose the private option
51 Given the following communities 73 Given the following communities
52 | name | identifier | owner | 74 | name | identifier | owner |
lib/noosfero/i18n.rb
@@ -4,15 +4,23 @@ class Object @@ -4,15 +4,23 @@ class Object
4 include FastGettext::Translation 4 include FastGettext::Translation
5 alias :gettext :_ 5 alias :gettext :_
6 alias :ngettext :n_ 6 alias :ngettext :n_
  7 + alias :c_ :_
  8 + alias :cN_ :N_
7 end 9 end
8 10
9 11
10 -custom_locale_dir = Rails.root.join('custom_locales', Rails.env) 12 +# Adds custom locales for a whole environment
  13 +custom_locale_dir = Rails.root.join('config', 'custom_locales', Rails.env)
11 repos = [] 14 repos = []
12 if File.exists?(custom_locale_dir) 15 if File.exists?(custom_locale_dir)
13 repos << FastGettext::TranslationRepository.build('environment', :type => 'po', :path => custom_locale_dir) 16 repos << FastGettext::TranslationRepository.build('environment', :type => 'po', :path => custom_locale_dir)
14 end 17 end
15 18
  19 +Dir.glob('{baseplugins,config/plugins}/*/locale') do |plugin_locale_dir|
  20 + plugin = File.basename(File.dirname(plugin_locale_dir))
  21 + repos << FastGettext::TranslationRepository.build(plugin, :type => 'mo', :path => plugin_locale_dir)
  22 +end
  23 +
16 # translations in place? 24 # translations in place?
17 locale_dir = Rails.root.join('locale') 25 locale_dir = Rails.root.join('locale')
18 if File.exists?(locale_dir) 26 if File.exists?(locale_dir)
@@ -22,3 +30,15 @@ end @@ -22,3 +30,15 @@ end
22 30
23 FastGettext.add_text_domain 'noosfero', :type => :chain, :chain => repos 31 FastGettext.add_text_domain 'noosfero', :type => :chain, :chain => repos
24 FastGettext.default_text_domain = 'noosfero' 32 FastGettext.default_text_domain = 'noosfero'
  33 +
  34 +# Adds custom locales for specific domains; Domains are identified by the
  35 +# sequence before the first dot, while tenants are identified by schema name
  36 +hosted_environments = Noosfero::MultiTenancy.mapping.values
  37 +hosted_environments += Domain.all.map { |domain| domain.name[/(.*?)\./,1] } if Domain.table_exists?
  38 +
  39 +hosted_environments.uniq.each do |env|
  40 + custom_locale_dir = Rails.root.join('config', 'custom_locales', env)
  41 + if File.exists?(custom_locale_dir)
  42 + FastGettext.add_text_domain(env, :type => :chain, :chain => [FastGettext::TranslationRepository.build('environment', :type => 'po', :path => custom_locale_dir)] + repos)
  43 + end
  44 +end
lib/noosfero/plugin.rb
@@ -439,6 +439,12 @@ class Noosfero::Plugin @@ -439,6 +439,12 @@ class Noosfero::Plugin
439 nil 439 nil
440 end 440 end
441 441
  442 + # -> Adds adicional fields to a view
  443 + # returns = proc block that creates html code
  444 + def upload_files_extra_fields(article)
  445 + nil
  446 + end
  447 +
442 # -> Adds fields to the signup form 448 # -> Adds fields to the signup form
443 # returns = proc that creates html code 449 # returns = proc that creates html code
444 def signup_extra_contents 450 def signup_extra_contents
@@ -582,6 +588,12 @@ class Noosfero::Plugin @@ -582,6 +588,12 @@ class Noosfero::Plugin
582 [] 588 []
583 end 589 end
584 590
  591 + # -> Adds css class to <html> tag
  592 + # returns = ['class1', 'class2']
  593 + def html_tag_classes
  594 + nil
  595 + end
  596 +
585 # -> Adds additional blocks to profiles and environments. 597 # -> Adds additional blocks to profiles and environments.
586 # Your plugin must implements a class method called 'extra_blocks' 598 # Your plugin must implements a class method called 'extra_blocks'
587 # that returns a hash with the following syntax. 599 # that returns a hash with the following syntax.
lib/tasks/gettext.rake
@@ -16,6 +16,14 @@ file makemo_stamp =&gt; Dir.glob(&#39;po/*/noosfero.po&#39;) do @@ -16,6 +16,14 @@ file makemo_stamp =&gt; Dir.glob(&#39;po/*/noosfero.po&#39;) do
16 mo_root: 'locale', 16 mo_root: 'locale',
17 ) 17 )
18 18
  19 + Dir.glob('plugins/*').each do |plugindir|
  20 + GetText.create_mofiles(
  21 + verbose: true,
  22 + po_root: File.join(plugindir, 'po'),
  23 + mo_root: File.join(plugindir, 'locale'),
  24 + )
  25 + end
  26 +
19 FileUtils.mkdir_p 'tmp' 27 FileUtils.mkdir_p 'tmp'
20 FileUtils.touch makemo_stamp 28 FileUtils.touch makemo_stamp
21 end 29 end
@@ -54,7 +62,6 @@ task :updatepo do @@ -54,7 +62,6 @@ task :updatepo do
54 'config/initializers/*.rb', 62 'config/initializers/*.rb',
55 'public/*.html.erb', 63 'public/*.html.erb',
56 'public/designs/themes/{base,noosfero,profile-base}/*.{rhtml,html.erb}', 64 'public/designs/themes/{base,noosfero,profile-base}/*.{rhtml,html.erb}',
57 - 'plugins/**/{controllers,models,lib,views}/**/*.{rhtml,html.erb,rb}',  
58 ].map { |pattern| Dir.glob(pattern) }.flatten 65 ].map { |pattern| Dir.glob(pattern) }.flatten
59 66
60 require 'gettext' 67 require 'gettext'
@@ -67,7 +74,33 @@ task :updatepo do @@ -67,7 +74,33 @@ task :updatepo do
67 po_root: 'po', 74 po_root: 'po',
68 } 75 }
69 ) 76 )
  77 +end
70 78
  79 +Dir.glob('plugins/*').each do |plugindir|
  80 + plugin = File.basename(plugindir)
  81 + task :updatepo => "updatepo:plugin:#{plugin}"
  82 +
  83 + desc "Extract strings from #{plugin} plugin"
  84 + task "updatepo:plugin:#{plugin}" do
  85 + files = Dir.glob("#{plugindir}/**/*.{rb,html.erb}")
  86 + po_root = File.join(plugindir, 'po')
  87 + require 'gettext'
  88 + require 'gettext/tools'
  89 + GetText.update_pofiles(
  90 + plugin,
  91 + files,
  92 + Noosfero::VERSION,
  93 + {
  94 + po_root: po_root,
  95 + }
  96 + )
  97 + plugin_pot = File.join(po_root, "#{plugin}.pot")
  98 + if File.exists?(plugin_pot) && system("LANG=C msgfmt --statistics --output /dev/null #{plugin_pot} 2>&1 | grep -q '^0 translated messages.'")
  99 + rm_f plugin_pot
  100 + end
  101 + sh 'find', po_root, '-type', 'd', '-empty', '-delete'
  102 + puts
  103 + end
71 end 104 end
72 105
73 task :checkpo do 106 task :checkpo do
plugins/anti_spam/po/de/anti_spam.po 0 → 100644
@@ -0,0 +1,41 @@ @@ -0,0 +1,41 @@
  1 +# German translation of noosfero.
  2 +# Copyright (C) 2009-2013 Josef Spillner
  3 +# Copyright (C) 2009, 2011 Ronny Kursawe
  4 +# This file is distributed under the same license as the noosfero package.
  5 +# Josef Spillner <josef.spillner@tu-dresden.de>, 2009.
  6 +#
  7 +msgid ""
  8 +msgstr ""
  9 +"Project-Id-Version: 1.0\n"
  10 +"POT-Creation-Date: 2015-01-15 11:00-0300\n"
  11 +"PO-Revision-Date: 2014-12-12 14:23+0200\n"
  12 +"Last-Translator: Michal Čihař <michal@cihar.com>\n"
  13 +"Language-Team: German <https://hosted.weblate.org/projects/noosfero/noosfero/"
  14 +"de/>\n"
  15 +"Language: de\n"
  16 +"MIME-Version: 1.0\n"
  17 +"Content-Type: text/plain; charset=UTF-8\n"
  18 +"Content-Transfer-Encoding: 8bit\n"
  19 +"Plural-Forms: nplurals=2; plural=n != 1;\n"
  20 +"X-Generator: Weblate 2.2-dev\n"
  21 +
  22 +#: plugins/anti_spam/lib/anti_spam_plugin.rb:8
  23 +#, fuzzy
  24 +msgid ""
  25 +"Tests comments and suggested articles against a spam checking service "
  26 +"compatible with the Akismet API"
  27 +msgstr ""
  28 +"Prüft Kommentare gegen einen Spam-Prüfdienst, welcher kompatibel mit der "
  29 +"Akismet-API ist"
  30 +
  31 +#: plugins/anti_spam/views/anti_spam_plugin_admin/index.html.erb:1
  32 +msgid "AntiSpam settings"
  33 +msgstr "Anti-Spam-Einstellungen"
  34 +
  35 +#: plugins/anti_spam/views/anti_spam_plugin_admin/index.html.erb:5
  36 +msgid "Host"
  37 +msgstr "Rechner"
  38 +
  39 +#: plugins/anti_spam/views/anti_spam_plugin_admin/index.html.erb:7
  40 +msgid "API key"
  41 +msgstr "API-Schlüssel"
plugins/anti_spam/po/pt/anti_spam.po 0 → 100644
@@ -0,0 +1,45 @@ @@ -0,0 +1,45 @@
  1 +# translation of noosfero.po to
  2 +# Krishnamurti Lelis Lima Vieira Nunes <krishna@colivre.coop.br>, 2007.
  3 +# noosfero - Brazilian Portuguese translation
  4 +# Copyright (C) 2007,
  5 +# Forum Brasileiro de Economia Solidaria <http://www.fbes.org.br/>
  6 +# Copyright (C) 2007,
  7 +# Ynternet.org Foundation <http://www.ynternet.org/>
  8 +# This file is distributed under the same license as noosfero itself.
  9 +# Joenio Costa <joenio@colivre.coop.br>, 2008.
  10 +#
  11 +#
  12 +msgid ""
  13 +msgstr ""
  14 +"Project-Id-Version: 1.0\n"
  15 +"POT-Creation-Date: 2015-01-15 11:00-0300\n"
  16 +"PO-Revision-Date: 2014-12-18 18:40-0200\n"
  17 +"Last-Translator: Luciano Prestes Cavalcanti <lucianopcbr@gmail.com>\n"
  18 +"Language-Team: Portuguese <https://hosted.weblate.org/projects/noosfero/"
  19 +"noosfero/pt/>\n"
  20 +"Language: pt\n"
  21 +"MIME-Version: 1.0\n"
  22 +"Content-Type: text/plain; charset=UTF-8\n"
  23 +"Content-Transfer-Encoding: 8bit\n"
  24 +"Plural-Forms: nplurals=2; plural=n != 1;\n"
  25 +"X-Generator: Weblate 2.0\n"
  26 +
  27 +#: plugins/anti_spam/lib/anti_spam_plugin.rb:8
  28 +msgid ""
  29 +"Tests comments and suggested articles against a spam checking service "
  30 +"compatible with the Akismet API"
  31 +msgstr ""
  32 +"Testa comentários e sugestões de artigo contra um serviço de verificação de "
  33 +"spams compatível com a API Akismet"
  34 +
  35 +#: plugins/anti_spam/views/anti_spam_plugin_admin/index.html.erb:1
  36 +msgid "AntiSpam settings"
  37 +msgstr "Configurações de AntiSpam"
  38 +
  39 +#: plugins/anti_spam/views/anti_spam_plugin_admin/index.html.erb:5
  40 +msgid "Host"
  41 +msgstr "Host"
  42 +
  43 +#: plugins/anti_spam/views/anti_spam_plugin_admin/index.html.erb:7
  44 +msgid "API key"
  45 +msgstr "Chave da API"
plugins/anti_spam/views/anti_spam_plugin_admin/index.html.erb
@@ -7,7 +7,7 @@ @@ -7,7 +7,7 @@
7 <%= labelled_form_field _('API key'), f.text_field(:api_key, :size => 40) %> 7 <%= labelled_form_field _('API key'), f.text_field(:api_key, :size => 40) %>
8 8
9 <% button_bar do %> 9 <% button_bar do %>
10 - <%= submit_button(:save, _('Save'), :cancel => {:controller => 'plugins', :action => 'index'}) %> 10 + <%= submit_button(:save, c_('Save'), :cancel => {:controller => 'plugins', :action => 'index'}) %>
11 <% end %> 11 <% end %>
12 12
13 <% end %> 13 <% end %>
plugins/breadcrumbs/lib/breadcrumbs_plugin/content_breadcrumbs_block.rb
@@ -61,7 +61,7 @@ class BreadcrumbsPlugin::ContentBreadcrumbsBlock &lt; Block @@ -61,7 +61,7 @@ class BreadcrumbsPlugin::ContentBreadcrumbsBlock &lt; Block
61 61
62 protected 62 protected
63 63
64 - CMS_ACTIONS = {:edit => _('Edit'), :upload_files => _('Upload Files'), :new => _('New')} 64 + CMS_ACTIONS = {:edit => c_('Edit'), :upload_files => _('Upload Files'), :new => c_('New')}
65 65
66 def cms_action(action) 66 def cms_action(action)
67 CMS_ACTIONS[action.to_sym] || action 67 CMS_ACTIONS[action.to_sym] || action
plugins/breadcrumbs/po/pt/breadcrumbs.po 0 → 100644
@@ -0,0 +1,49 @@ @@ -0,0 +1,49 @@
  1 +# translation of noosfero.po to
  2 +# Krishnamurti Lelis Lima Vieira Nunes <krishna@colivre.coop.br>, 2007.
  3 +# noosfero - Brazilian Portuguese translation
  4 +# Copyright (C) 2007,
  5 +# Forum Brasileiro de Economia Solidaria <http://www.fbes.org.br/>
  6 +# Copyright (C) 2007,
  7 +# Ynternet.org Foundation <http://www.ynternet.org/>
  8 +# This file is distributed under the same license as noosfero itself.
  9 +# Joenio Costa <joenio@colivre.coop.br>, 2008.
  10 +#
  11 +#
  12 +msgid ""
  13 +msgstr ""
  14 +"Project-Id-Version: 1.0\n"
  15 +"POT-Creation-Date: 2015-01-15 10:59-0300\n"
  16 +"PO-Revision-Date: 2014-12-18 18:40-0200\n"
  17 +"Last-Translator: Luciano Prestes Cavalcanti <lucianopcbr@gmail.com>\n"
  18 +"Language-Team: Portuguese <https://hosted.weblate.org/projects/noosfero/"
  19 +"noosfero/pt/>\n"
  20 +"Language: pt\n"
  21 +"MIME-Version: 1.0\n"
  22 +"Content-Type: text/plain; charset=UTF-8\n"
  23 +"Content-Transfer-Encoding: 8bit\n"
  24 +"Plural-Forms: nplurals=2; plural=n != 1;\n"
  25 +"X-Generator: Weblate 2.0\n"
  26 +
  27 +#: plugins/breadcrumbs/lib/breadcrumbs_plugin.rb:8
  28 +msgid "A plugin that add a block to display breadcrumbs."
  29 +msgstr "Um plugin que adiciona um bloco que mostra caminhos de pão."
  30 +
  31 +#: plugins/breadcrumbs/lib/breadcrumbs_plugin/content_breadcrumbs_block.rb:9
  32 +msgid "Content Breadcrumbs"
  33 +msgstr "Conteúdo de Caminho de Pão"
  34 +
  35 +#: plugins/breadcrumbs/lib/breadcrumbs_plugin/content_breadcrumbs_block.rb:13
  36 +msgid "This block displays breadcrumb trail."
  37 +msgstr "Esse bloco mostra o rastro de caminho de pão."
  38 +
  39 +#: plugins/breadcrumbs/lib/breadcrumbs_plugin/content_breadcrumbs_block.rb:56
  40 +msgid "Upload Files"
  41 +msgstr "Enviar Arquivos"
  42 +
  43 +#: plugins/breadcrumbs/views/box_organizer/breadcrumbs_plugin/_content_breadcrumbs_block.html.erb:2
  44 +msgid "Show cms action"
  45 +msgstr "Mostrar cms"
  46 +
  47 +#: plugins/breadcrumbs/views/box_organizer/breadcrumbs_plugin/_content_breadcrumbs_block.html.erb:3
  48 +msgid "Show profile"
  49 +msgstr "Mostrar perfil"
plugins/bsc/lib/bsc_plugin.rb
@@ -101,7 +101,7 @@ class BscPlugin &lt; Noosfero::Plugin @@ -101,7 +101,7 @@ class BscPlugin &lt; Noosfero::Plugin
101 else 101 else
102 content = lambda { product.enterprise.name } 102 content = lambda { product.enterprise.name }
103 end 103 end
104 - properties << { :name => _('Supplier'), :content => content } 104 + properties << { :name => c_('Supplier'), :content => content }
105 end 105 end
106 106
107 def profile_tabs 107 def profile_tabs
plugins/bsc/lib/bsc_plugin/bsc_helper.rb
@@ -4,9 +4,9 @@ module BscPlugin::BscHelper @@ -4,9 +4,9 @@ module BscPlugin::BscHelper
4 4
5 def token_input_field_tag(name, element_id, search_action, options = {}, text_field_options = {}, html_options = {}) 5 def token_input_field_tag(name, element_id, search_action, options = {}, text_field_options = {}, html_options = {})
6 options[:min_chars] ||= 3 6 options[:min_chars] ||= 3
7 - options[:hint_text] ||= _("Type in a search term")  
8 - options[:no_results_text] ||= _("No results")  
9 - options[:searching_text] ||= _("Searching...") 7 + options[:hint_text] ||= c_("Type in a search term")
  8 + options[:no_results_text] ||= c_("No results")
  9 + options[:searching_text] ||= c_("Searching...")
10 options[:search_delay] ||= 1000 10 options[:search_delay] ||= 1000
11 options[:prevent_duplicates] ||= true 11 options[:prevent_duplicates] ||= true
12 options[:backspace_delete_item] ||= false 12 options[:backspace_delete_item] ||= false
plugins/bsc/lib/bsc_plugin/contract.rb
@@ -43,7 +43,7 @@ class BscPlugin::Contract &lt; Noosfero::Plugin::ActiveRecord @@ -43,7 +43,7 @@ class BscPlugin::Contract &lt; Noosfero::Plugin::ActiveRecord
43 end 43 end
44 44
45 def self.names 45 def self.names
46 - [_('State'), _('Federal')] 46 + [c_('State'), _('Federal')]
47 end 47 end
48 end 48 end
49 49
plugins/bsc/po/de/bsc.po 0 → 100644
@@ -0,0 +1,370 @@ @@ -0,0 +1,370 @@
  1 +# German translation of noosfero.
  2 +# Copyright (C) 2009-2013 Josef Spillner
  3 +# Copyright (C) 2009, 2011 Ronny Kursawe
  4 +# This file is distributed under the same license as the noosfero package.
  5 +# Josef Spillner <josef.spillner@tu-dresden.de>, 2009.
  6 +#
  7 +msgid ""
  8 +msgstr ""
  9 +"Project-Id-Version: 1.0\n"
  10 +"POT-Creation-Date: 2015-01-15 10:59-0300\n"
  11 +"PO-Revision-Date: 2014-12-12 14:23+0200\n"
  12 +"Last-Translator: Michal Čihař <michal@cihar.com>\n"
  13 +"Language-Team: German <https://hosted.weblate.org/projects/noosfero/noosfero/"
  14 +"de/>\n"
  15 +"Language: de\n"
  16 +"MIME-Version: 1.0\n"
  17 +"Content-Type: text/plain; charset=UTF-8\n"
  18 +"Content-Transfer-Encoding: 8bit\n"
  19 +"Plural-Forms: nplurals=2; plural=n != 1;\n"
  20 +"X-Generator: Weblate 2.2-dev\n"
  21 +
  22 +#: plugins/bsc/lib/bsc_plugin.rb:10
  23 +msgid "Adds the Bsc feature"
  24 +msgstr "Fügt Unterstützung für Bsc hinzu"
  25 +
  26 +#: plugins/bsc/lib/bsc_plugin.rb:14
  27 +msgid "Create Bsc"
  28 +msgstr "Bsc erstellen"
  29 +
  30 +#: plugins/bsc/lib/bsc_plugin.rb:15
  31 +msgid "Validate Enterprises"
  32 +msgstr "Unternehmen bestätigen"
  33 +
  34 +#: plugins/bsc/lib/bsc_plugin.rb:20
  35 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:1
  36 +msgid "Manage associated enterprises"
  37 +msgstr "Verwalte verbundene Unternehmen"
  38 +
  39 +#: plugins/bsc/lib/bsc_plugin.rb:21 plugins/bsc/lib/bsc_plugin.rb:27
  40 +msgid "Transfer ownership"
  41 +msgstr "Eigentümerschaft übertragen"
  42 +
  43 +#: plugins/bsc/lib/bsc_plugin.rb:22
  44 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:1
  45 +msgid "Manage contracts"
  46 +msgstr "Verträge verwalten"
  47 +
  48 +#: plugins/bsc/lib/bsc_plugin.rb:98
  49 +msgid "Bsc"
  50 +msgstr "Bsc"
  51 +
  52 +#: plugins/bsc/lib/bsc_plugin.rb:109
  53 +#: plugins/bsc/views/shared/_fields.html.erb:53
  54 +msgid "Contact"
  55 +msgstr "Kontakt"
  56 +
  57 +#: plugins/bsc/lib/bsc_plugin/bsc.rb:28
  58 +msgid "Bsc info and settings"
  59 +msgstr "Bsc-Informationen und -Einstellungen"
  60 +
  61 +#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:10
  62 +msgid "BSC association"
  63 +msgstr "BSC-Zusammenschluss"
  64 +
  65 +#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:18
  66 +msgid "%{requestor} wants to associate this enterprise with %{linked_subject}."
  67 +msgstr ""
  68 +"%{requestor} möchte das Unternehmen %{linked_subject} mit %{linked_subject} "
  69 +"verknüpfen."
  70 +
  71 +#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:35
  72 +msgid "%{enterprise} accepted your request to associate it with %{bsc}."
  73 +msgstr "%{enterprise} hat Ihre Anfrage zur Verbindung mit %{bsc} akzeptiert."
  74 +
  75 +#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:39
  76 +msgid "%{enterprise} rejected your request to associate it with %{bsc}."
  77 +msgstr "%{enterprise} hat Ihre Anfrage zur Verbindung mit %{bsc} abgelehnt."
  78 +
  79 +#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:41
  80 +msgid ""
  81 +"Here is the reject explanation left by the administrator:\n"
  82 +"\n"
  83 +"%{reject_explanation}"
  84 +msgstr ""
  85 +"Hier ist der vom Administrator angegebene Grund der Ablehnung:\n"
  86 +"\n"
  87 +"%{reject_explanation}"
  88 +
  89 +#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:46
  90 +msgid "%{requestor} wants assoaciate %{bsc} as your BSC."
  91 +msgstr "%{requestor} möchte %{bsc} als Ihr BSC verknüpfen."
  92 +
  93 +#: plugins/bsc/lib/bsc_plugin/mailer.rb:7
  94 +msgid "[%s] Bsc management transferred to you."
  95 +msgstr "[%s] Die Verwaltung von Bsc wurde Ihnen übertragen."
  96 +
  97 +#: plugins/bsc/lib/bsc_plugin/contract.rb:33
  98 +msgid "Opened"
  99 +msgstr "Geöffnet"
  100 +
  101 +#: plugins/bsc/lib/bsc_plugin/contract.rb:33
  102 +msgid "Negotiating"
  103 +msgstr "Aushandlung"
  104 +
  105 +#: plugins/bsc/lib/bsc_plugin/contract.rb:33
  106 +msgid "Executing"
  107 +msgstr "Ausführung"
  108 +
  109 +#: plugins/bsc/lib/bsc_plugin/contract.rb:33
  110 +msgid "Closed"
  111 +msgstr "Geschlossen"
  112 +
  113 +#: plugins/bsc/lib/bsc_plugin/contract.rb:46
  114 +msgid "Federal"
  115 +msgstr "Föderal"
  116 +
  117 +#: plugins/bsc/lib/bsc_plugin/contract.rb:59
  118 +msgid "ProjectA"
  119 +msgstr "ProjektA"
  120 +
  121 +#: plugins/bsc/lib/bsc_plugin/contract.rb:59
  122 +msgid "ProjectB"
  123 +msgstr "ProjektB"
  124 +
  125 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:38
  126 +msgid "This Bsc associations were saved successfully."
  127 +msgstr "Diese Bsc-Verknüpfungen wurden erfolgreich gespeichert."
  128 +
  129 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:42
  130 +msgid "This Bsc associations couldn't be saved."
  131 +msgstr "Diese Bsc-Verknüpfung konnte nicht gespeichert werden."
  132 +
  133 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:71
  134 +msgid "Enterprise ownership transferred."
  135 +msgstr "Eigentümerschaft des Unternehmens übertragen."
  136 +
  137 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:85
  138 +msgid "Enterprise was created in association with %s."
  139 +msgstr "Das Unternehmen wurde in Zusammenhang mit %s angelegt."
  140 +
  141 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:117
  142 +msgid "Contract created."
  143 +msgstr "Vertrag erstellt."
  144 +
  145 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:120
  146 +msgid "Contract created but some products could not be added."
  147 +msgstr ""
  148 +"Der Vertrag wurde erstellt, aber einige Produkte konnten nicht hinzugefügt "
  149 +"werden."
  150 +
  151 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:131
  152 +msgid "Contract doesn't exists! Maybe it was already removed."
  153 +msgstr "Der Vertrag existiert nicht! Vielleicht wurde er bereits entfernt."
  154 +
  155 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:140
  156 +msgid "Could not edit such contract."
  157 +msgstr "Kann den Vertrag nicht verändern."
  158 +
  159 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:170
  160 +msgid "Contract edited."
  161 +msgstr "Vertrag geändert."
  162 +
  163 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:173
  164 +msgid "Contract edited but some products could not be added."
  165 +msgstr ""
  166 +"Vertrag geändert, aber einige Produkte konnten nicht hinzugefügt werden."
  167 +
  168 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:183
  169 +msgid "Contract removed."
  170 +msgstr "Vertrag entfernt."
  171 +
  172 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:185
  173 +msgid "Contract could not be removed. Sorry! ^^"
  174 +msgstr "Vertrag konnte nicht entfernt werden. Entschuldigung! ^^"
  175 +
  176 +#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:11
  177 +msgid "Your Bsc was created."
  178 +msgstr "Ihr Bsc wurde erstellt."
  179 +
  180 +#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:21
  181 +msgid "Enterprises validated."
  182 +msgstr "Unternehmen validiert."
  183 +
  184 +#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:24
  185 +msgid "Enterprise validations couldn't be saved."
  186 +msgstr "Die Unternehmensvalidierungen konnten nicht gespeichert werden."
  187 +
  188 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:4
  189 +msgid "Associations awaiting approval:"
  190 +msgstr "Assoziierungen, welche noch bestätigt werden müssen:"
  191 +
  192 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:16
  193 +#: plugins/bsc/views/bsc_plugin_admin/validate_enterprises.html.erb:5
  194 +msgid "Type in a search term for enterprise"
  195 +msgstr "Geben Sie einen Suchbegriff für Unternehmen ein"
  196 +
  197 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:19
  198 +msgid "Add new enterprise"
  199 +msgstr "Neues Unternehmen hinzufügen"
  200 +
  201 +#: plugins/bsc/views/bsc_plugin_myprofile/new_contract.html.erb:1
  202 +#: plugins/bsc/views/bsc_plugin_myprofile/edit_contract.html.erb:1
  203 +msgid "New contract"
  204 +msgstr "Neuer Vertrag"
  205 +
  206 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:6
  207 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:7
  208 +msgid "Client type"
  209 +msgstr "Typ des Kunden"
  210 +
  211 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:7
  212 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:8
  213 +msgid "Business type"
  214 +msgstr "Typ des Geschäfts"
  215 +
  216 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:10
  217 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:11
  218 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:5
  219 +msgid "Status"
  220 +msgstr "Status"
  221 +
  222 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:18
  223 +msgid "Type in search term for enterprise"
  224 +msgstr "Geben Sie den Suchbegriff für das Unternehmen ein"
  225 +
  226 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:23
  227 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:27
  228 +msgid "Quantity"
  229 +msgstr "Anzahl"
  230 +
  231 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:24
  232 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:28
  233 +msgid "Unit price"
  234 +msgstr "Stückpreis"
  235 +
  236 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:27
  237 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:38
  238 +msgid "Total"
  239 +msgstr "Gesamt"
  240 +
  241 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:31
  242 +msgid "Add new product"
  243 +msgstr "Neues Produkt hinzufügen"
  244 +
  245 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:35
  246 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:13
  247 +msgid "Supply period"
  248 +msgstr "Zulieferungszeitabschnitt"
  249 +
  250 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:57
  251 +msgid "Type in a search term for product"
  252 +msgstr "Geben Sie einen Suchbegriff für das Produkt ein"
  253 +
  254 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:5
  255 +#: plugins/bsc/views/shared/_fields.html.erb:5
  256 +msgid "Basic information"
  257 +msgstr "Basisinformationen"
  258 +
  259 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:12
  260 +msgid "Number of producers"
  261 +msgstr "Anzahl der Produzenten"
  262 +
  263 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:48
  264 +msgid "Annotations"
  265 +msgstr "Anmerkungen"
  266 +
  267 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:17
  268 +msgid "Sort by"
  269 +msgstr "Sortieren nach"
  270 +
  271 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:18
  272 +msgid "Date(newest first)"
  273 +msgstr "Datum (neueste zuerst)"
  274 +
  275 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:18
  276 +msgid "Date(oldest first)"
  277 +msgstr "Datum (älteste zuerst)"
  278 +
  279 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:19
  280 +msgid "Client name(A-Z)"
  281 +msgstr "Kundenname (A-Z)"
  282 +
  283 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:19
  284 +msgid "Client name(Z-A)"
  285 +msgstr "Kundenname (Z-A)"
  286 +
  287 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:24
  288 +msgid "There are no contracts at all."
  289 +msgstr "Sie haben noch keine Verträge."
  290 +
  291 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:35
  292 +msgid "Are you sure?"
  293 +msgstr "Sind Sie sicher?"
  294 +
  295 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:45
  296 +msgid "Create new contract"
  297 +msgstr "Einen neuen Vertrag erstellen"
  298 +
  299 +#: plugins/bsc/views/bsc_plugin_myprofile/_similar_enterprises.html.erb:2
  300 +msgid "Existing enterprises:"
  301 +msgstr "Existierende Unternehmen:"
  302 +
  303 +#: plugins/bsc/views/bsc_plugin_myprofile/_similar_enterprises.html.erb:3
  304 +msgid ""
  305 +"Were found %{count} enterprises with similar names on the same city, you can "
  306 +"decide to associate one of them or create the new enterprise confirming the "
  307 +"informations you typed in."
  308 +msgstr ""
  309 +"Wir haben %{count} Firmen mit ähnlichen Namen in der gleichen Stadt "
  310 +"gefunden. Sie können sich mit einer von diesen assoziieren oder eine neue "
  311 +"Firma unter Bestätigung der von Ihnen getätigten Angaben gründen."
  312 +
  313 +#: plugins/bsc/views/bsc_plugin_myprofile/_similar_enterprises.html.erb:20
  314 +msgid "Associate"
  315 +msgstr "Verknüpfen"
  316 +
  317 +#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:1
  318 +msgid "Transfer Ownership"
  319 +msgstr "Eigentümerschaft übertragen"
  320 +
  321 +#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:4
  322 +msgid ""
  323 +"This option allows you to transfer this enterprise's management to another "
  324 +"user. This action will remove all the current administrators. Be careful "
  325 +"when confirming this procedure."
  326 +msgstr ""
  327 +"Diese Option erlaubt Ihnen, die Verwaltung dieses Unternehmens an einen "
  328 +"anderen Benutzer zu übertragen. Diese Aktion wird alle derzeitigen "
  329 +"Administratoren entfernen. Seien Sie vorsichtig, bevor Sie diese Prozedur "
  330 +"ausführen."
  331 +
  332 +#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:8
  333 +msgid "Current administrators:"
  334 +msgstr "Aktuelle Administratoren:"
  335 +
  336 +#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:19
  337 +msgid "Administrator:"
  338 +msgstr "Administrator:"
  339 +
  340 +#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:22
  341 +msgid "Type in a search term for the new administrator"
  342 +msgstr "Geben Sie einen Suchbegriff für den neuen Administrator ein"
  343 +
  344 +#: plugins/bsc/views/shared/_fields.html.erb:39
  345 +msgid ""
  346 +"You are about to change the address, and this will break external links to "
  347 +"this bsc or to posts inside it. Do you really want to change?"
  348 +msgstr ""
  349 +"Sie sind dabei die Adresse zu ändern. Das unterbricht externe Verweise zum "
  350 +"Bsc und zu deren Inhalten. Wollen Sie wirklich die Adresse ändern?"
  351 +
  352 +#: plugins/bsc/views/bsc_plugin/mailer/admin_notification.html.erb:1
  353 +msgid "The management of %{bsc} was transferred to you."
  354 +msgstr "Die Verwaltung des %{bsc} wurde zu Ihnen transferiert."
  355 +
  356 +#: plugins/bsc/views/profile/_profile_tab.html.erb:2
  357 +msgid "Contact phone: "
  358 +msgstr "Kontakttelefonnummer: "
  359 +
  360 +#: plugins/bsc/views/profile/_profile_tab.html.erb:3
  361 +msgid "Email: "
  362 +msgstr "E-Mail: "
  363 +
  364 +#: plugins/bsc/views/bsc_plugin_admin/new.html.erb:2
  365 +msgid "BSC registration"
  366 +msgstr "BSC-Registrierung"
  367 +
  368 +#: plugins/bsc/views/bsc_plugin_admin/validate_enterprises.html.erb:1
  369 +msgid "Validate enterprises"
  370 +msgstr "Unternehmen validieren"
plugins/bsc/po/es/bsc.po 0 → 100644
@@ -0,0 +1,364 @@ @@ -0,0 +1,364 @@
  1 +# SOME DESCRIPTIVE TITLE.
  2 +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
  3 +# This file is distributed under the same license as the PACKAGE package.
  4 +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
  5 +#
  6 +msgid ""
  7 +msgstr ""
  8 +"Project-Id-Version: 1.0\n"
  9 +"POT-Creation-Date: 2015-01-15 10:59-0300\n"
  10 +"PO-Revision-Date: 2014-11-03 15:52+0200\n"
  11 +"Last-Translator: Michal Čihař <michal@cihar.com>\n"
  12 +"Language-Team: Spanish <https://hosted.weblate.org/projects/noosfero/"
  13 +"noosfero/es/>\n"
  14 +"Language: es\n"
  15 +"MIME-Version: 1.0\n"
  16 +"Content-Type: text/plain; charset=UTF-8\n"
  17 +"Content-Transfer-Encoding: 8bit\n"
  18 +"Plural-Forms: nplurals=2; plural=n != 1;\n"
  19 +"X-Generator: Weblate 2.0-dev\n"
  20 +
  21 +#: plugins/bsc/lib/bsc_plugin.rb:10
  22 +msgid "Adds the Bsc feature"
  23 +msgstr "Añade la característica Bsc"
  24 +
  25 +#: plugins/bsc/lib/bsc_plugin.rb:14
  26 +msgid "Create Bsc"
  27 +msgstr "Crear Bsc"
  28 +
  29 +#: plugins/bsc/lib/bsc_plugin.rb:15
  30 +msgid "Validate Enterprises"
  31 +msgstr "Validar empresas"
  32 +
  33 +#: plugins/bsc/lib/bsc_plugin.rb:20
  34 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:1
  35 +msgid "Manage associated enterprises"
  36 +msgstr "Administrar empresas asociadas"
  37 +
  38 +#: plugins/bsc/lib/bsc_plugin.rb:21 plugins/bsc/lib/bsc_plugin.rb:27
  39 +msgid "Transfer ownership"
  40 +msgstr "Transferir propiedad"
  41 +
  42 +#: plugins/bsc/lib/bsc_plugin.rb:22
  43 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:1
  44 +msgid "Manage contracts"
  45 +msgstr "Administrar contratos"
  46 +
  47 +#: plugins/bsc/lib/bsc_plugin.rb:98
  48 +msgid "Bsc"
  49 +msgstr "Bsc"
  50 +
  51 +#: plugins/bsc/lib/bsc_plugin.rb:109
  52 +#: plugins/bsc/views/shared/_fields.html.erb:53
  53 +msgid "Contact"
  54 +msgstr "Contacto"
  55 +
  56 +#: plugins/bsc/lib/bsc_plugin/bsc.rb:28
  57 +msgid "Bsc info and settings"
  58 +msgstr "Información y configuración de Bsc"
  59 +
  60 +#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:10
  61 +msgid "BSC association"
  62 +msgstr "Asociación BSC"
  63 +
  64 +#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:18
  65 +msgid "%{requestor} wants to associate this enterprise with %{linked_subject}."
  66 +msgstr "%{requestor} quiere asociar esta empresa con %{linked_subject}."
  67 +
  68 +#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:35
  69 +msgid "%{enterprise} accepted your request to associate it with %{bsc}."
  70 +msgstr "%{enterprrise} aceptó tu solicitud para asociarse con %{bsc}."
  71 +
  72 +#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:39
  73 +msgid "%{enterprise} rejected your request to associate it with %{bsc}."
  74 +msgstr "%{enterprise} rechazó tu solicitud para asociarse con %{bsc}."
  75 +
  76 +#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:41
  77 +msgid ""
  78 +"Here is the reject explanation left by the administrator:\n"
  79 +"\n"
  80 +"%{reject_explanation}"
  81 +msgstr ""
  82 +"Aquí está la explicación del rechazo dejada por el administrador:\n"
  83 +"\n"
  84 +"%{reject_explanation}"
  85 +
  86 +#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:46
  87 +msgid "%{requestor} wants assoaciate %{bsc} as your BSC."
  88 +msgstr "%{requestor} quire asociar %{bsc} como tu BSC."
  89 +
  90 +#: plugins/bsc/lib/bsc_plugin/mailer.rb:7
  91 +msgid "[%s] Bsc management transferred to you."
  92 +msgstr "[%s] administración de bsc transferida a ti"
  93 +
  94 +#: plugins/bsc/lib/bsc_plugin/contract.rb:33
  95 +msgid "Opened"
  96 +msgstr "Abierto"
  97 +
  98 +#: plugins/bsc/lib/bsc_plugin/contract.rb:33
  99 +msgid "Negotiating"
  100 +msgstr "Negociando"
  101 +
  102 +#: plugins/bsc/lib/bsc_plugin/contract.rb:33
  103 +msgid "Executing"
  104 +msgstr "Ejecutando"
  105 +
  106 +#: plugins/bsc/lib/bsc_plugin/contract.rb:33
  107 +msgid "Closed"
  108 +msgstr "Cerrado"
  109 +
  110 +#: plugins/bsc/lib/bsc_plugin/contract.rb:46
  111 +msgid "Federal"
  112 +msgstr "Federal"
  113 +
  114 +#: plugins/bsc/lib/bsc_plugin/contract.rb:59
  115 +msgid "ProjectA"
  116 +msgstr "Proyecto A"
  117 +
  118 +#: plugins/bsc/lib/bsc_plugin/contract.rb:59
  119 +msgid "ProjectB"
  120 +msgstr "Proyecto B"
  121 +
  122 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:38
  123 +msgid "This Bsc associations were saved successfully."
  124 +msgstr "Estas asociaciones Bsc fueron guardadas correctamente."
  125 +
  126 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:42
  127 +msgid "This Bsc associations couldn't be saved."
  128 +msgstr "Estas asociaciones Bsc no pudieron ser guardadas."
  129 +
  130 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:71
  131 +msgid "Enterprise ownership transferred."
  132 +msgstr "Propiedad de la empresa transferida."
  133 +
  134 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:85
  135 +msgid "Enterprise was created in association with %s."
  136 +msgstr "La empresa fue creada en asociación con %s."
  137 +
  138 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:117
  139 +msgid "Contract created."
  140 +msgstr "Contrato creado."
  141 +
  142 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:120
  143 +msgid "Contract created but some products could not be added."
  144 +msgstr "Contrato creado pero algunos productos no pudieron agregarse."
  145 +
  146 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:131
  147 +msgid "Contract doesn't exists! Maybe it was already removed."
  148 +msgstr "¡El contrato no existe! Quizás ya fue eliminado."
  149 +
  150 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:140
  151 +msgid "Could not edit such contract."
  152 +msgstr "No se puede editar tal contrato."
  153 +
  154 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:170
  155 +msgid "Contract edited."
  156 +msgstr "contrato editado."
  157 +
  158 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:173
  159 +msgid "Contract edited but some products could not be added."
  160 +msgstr "Contrato editado pero algunos productos no pueden ser agregados."
  161 +
  162 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:183
  163 +msgid "Contract removed."
  164 +msgstr "Contrato eliminado."
  165 +
  166 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:185
  167 +msgid "Contract could not be removed. Sorry! ^^"
  168 +msgstr "El contrato no puede ser eliminado. ¡Perdón! ^^"
  169 +
  170 +#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:11
  171 +msgid "Your Bsc was created."
  172 +msgstr "Tu Bsc fue creado."
  173 +
  174 +#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:21
  175 +msgid "Enterprises validated."
  176 +msgstr "Empresas validadas."
  177 +
  178 +#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:24
  179 +msgid "Enterprise validations couldn't be saved."
  180 +msgstr "Las validaciones de la empresa no pudieron guardarse."
  181 +
  182 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:4
  183 +msgid "Associations awaiting approval:"
  184 +msgstr "Asociaciones de espera de aprobación:"
  185 +
  186 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:16
  187 +#: plugins/bsc/views/bsc_plugin_admin/validate_enterprises.html.erb:5
  188 +msgid "Type in a search term for enterprise"
  189 +msgstr "Ingresa un término de búsqueda para la empresa"
  190 +
  191 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:19
  192 +msgid "Add new enterprise"
  193 +msgstr "Añadir nueva empresa"
  194 +
  195 +#: plugins/bsc/views/bsc_plugin_myprofile/new_contract.html.erb:1
  196 +#: plugins/bsc/views/bsc_plugin_myprofile/edit_contract.html.erb:1
  197 +msgid "New contract"
  198 +msgstr "Nuevo contrato"
  199 +
  200 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:6
  201 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:7
  202 +msgid "Client type"
  203 +msgstr "Tipo de cliente"
  204 +
  205 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:7
  206 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:8
  207 +msgid "Business type"
  208 +msgstr "Tipo de negocio"
  209 +
  210 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:10
  211 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:11
  212 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:5
  213 +msgid "Status"
  214 +msgstr "Estado"
  215 +
  216 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:18
  217 +msgid "Type in search term for enterprise"
  218 +msgstr "Ingresa un término de búsqueda para la empresa"
  219 +
  220 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:23
  221 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:27
  222 +msgid "Quantity"
  223 +msgstr "Cantidad"
  224 +
  225 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:24
  226 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:28
  227 +msgid "Unit price"
  228 +msgstr "Precio unitario"
  229 +
  230 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:27
  231 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:38
  232 +msgid "Total"
  233 +msgstr "Total"
  234 +
  235 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:31
  236 +msgid "Add new product"
  237 +msgstr "Añadir nuevo producto"
  238 +
  239 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:35
  240 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:13
  241 +msgid "Supply period"
  242 +msgstr "Período de suministro"
  243 +
  244 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:57
  245 +msgid "Type in a search term for product"
  246 +msgstr "Ingresa un término de búsqueda para el producto"
  247 +
  248 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:5
  249 +#: plugins/bsc/views/shared/_fields.html.erb:5
  250 +msgid "Basic information"
  251 +msgstr "Información básica"
  252 +
  253 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:12
  254 +msgid "Number of producers"
  255 +msgstr "Número de productores"
  256 +
  257 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:48
  258 +msgid "Annotations"
  259 +msgstr "Anotaciones"
  260 +
  261 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:17
  262 +msgid "Sort by"
  263 +msgstr "Ordenar por"
  264 +
  265 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:18
  266 +msgid "Date(newest first)"
  267 +msgstr "Fecha (más reciente primero)"
  268 +
  269 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:18
  270 +msgid "Date(oldest first)"
  271 +msgstr "Fecha (más antiguo primero)"
  272 +
  273 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:19
  274 +msgid "Client name(A-Z)"
  275 +msgstr "Nombre del cliente (A-Z)"
  276 +
  277 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:19
  278 +msgid "Client name(Z-A)"
  279 +msgstr "Nombre del cliente (Z-A)"
  280 +
  281 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:24
  282 +msgid "There are no contracts at all."
  283 +msgstr "No hay ningún contrato."
  284 +
  285 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:35
  286 +msgid "Are you sure?"
  287 +msgstr "¿Estás seguro?"
  288 +
  289 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:45
  290 +msgid "Create new contract"
  291 +msgstr "Crear nuevo contrato"
  292 +
  293 +#: plugins/bsc/views/bsc_plugin_myprofile/_similar_enterprises.html.erb:2
  294 +msgid "Existing enterprises:"
  295 +msgstr "Empresas existentes:"
  296 +
  297 +#: plugins/bsc/views/bsc_plugin_myprofile/_similar_enterprises.html.erb:3
  298 +msgid ""
  299 +"Were found %{count} enterprises with similar names on the same city, you can "
  300 +"decide to associate one of them or create the new enterprise confirming the "
  301 +"informations you typed in."
  302 +msgstr ""
  303 +"Fueron encontrados %{count} empresas con nombres similares en la misma "
  304 +"ciudad, puedes decidir asociar una de ellos o crear la nueva empresa "
  305 +"confirmando la información que escribiste."
  306 +
  307 +#: plugins/bsc/views/bsc_plugin_myprofile/_similar_enterprises.html.erb:20
  308 +msgid "Associate"
  309 +msgstr "Asociar"
  310 +
  311 +#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:1
  312 +msgid "Transfer Ownership"
  313 +msgstr "Transferir propiedad"
  314 +
  315 +#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:4
  316 +msgid ""
  317 +"This option allows you to transfer this enterprise's management to another "
  318 +"user. This action will remove all the current administrators. Be careful "
  319 +"when confirming this procedure."
  320 +msgstr ""
  321 +"Esta opción te permite transferir la administración de esta empresa a otro "
  322 +"usuario. Esta acción eliminará a todos los administradores actuales. Ten "
  323 +"cuidado cuando confirmes este proceso."
  324 +
  325 +#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:8
  326 +msgid "Current administrators:"
  327 +msgstr "Administradores actuales:"
  328 +
  329 +#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:19
  330 +msgid "Administrator:"
  331 +msgstr "Administrador:"
  332 +
  333 +#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:22
  334 +msgid "Type in a search term for the new administrator"
  335 +msgstr "Ingresa un término de búsqueda para el nuevo administrador"
  336 +
  337 +#: plugins/bsc/views/shared/_fields.html.erb:39
  338 +msgid ""
  339 +"You are about to change the address, and this will break external links to "
  340 +"this bsc or to posts inside it. Do you really want to change?"
  341 +msgstr ""
  342 +"Estás a punto de cambiar la dirección, y esto romperá los enlaces externos a "
  343 +"este bsc o a las publicaciones su interior. ¿Estás seguro que quieres "
  344 +"cambiarla?"
  345 +
  346 +#: plugins/bsc/views/bsc_plugin/mailer/admin_notification.html.erb:1
  347 +msgid "The management of %{bsc} was transferred to you."
  348 +msgstr "La administración de %{bsc} te fue transferido."
  349 +
  350 +#: plugins/bsc/views/profile/_profile_tab.html.erb:2
  351 +msgid "Contact phone: "
  352 +msgstr "Teléfono de contacto: "
  353 +
  354 +#: plugins/bsc/views/profile/_profile_tab.html.erb:3
  355 +msgid "Email: "
  356 +msgstr "Correo electrónico: "
  357 +
  358 +#: plugins/bsc/views/bsc_plugin_admin/new.html.erb:2
  359 +msgid "BSC registration"
  360 +msgstr "Registro de BSC"
  361 +
  362 +#: plugins/bsc/views/bsc_plugin_admin/validate_enterprises.html.erb:1
  363 +msgid "Validate enterprises"
  364 +msgstr "Validar empresas"
plugins/bsc/po/fr/bsc.po 0 → 100644
@@ -0,0 +1,412 @@ @@ -0,0 +1,412 @@
  1 +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
  2 +# This file is distributed under the same license as the PACKAGE package.
  3 +#
  4 +# , 2009.
  5 +msgid ""
  6 +msgstr ""
  7 +"Project-Id-Version: 1.0\n"
  8 +"Report-Msgid-Bugs-To: \n"
  9 +"POT-Creation-Date: 2015-01-15 10:59-0300\n"
  10 +"PO-Revision-Date: 2014-12-12 14:22+0200\n"
  11 +"Last-Translator: Michal Čihař <michal@cihar.com>\n"
  12 +"Language-Team: French <https://hosted.weblate.org/projects/noosfero/noosfero/"
  13 +"fr/>\n"
  14 +"Language: fr\n"
  15 +"MIME-Version: 1.0\n"
  16 +"Content-Type: text/plain; charset=UTF-8\n"
  17 +"Content-Transfer-Encoding: 8bit\n"
  18 +"Plural-Forms: nplurals=2; plural=n > 1;\n"
  19 +"X-Generator: Weblate 2.2-dev\n"
  20 +
  21 +#: plugins/bsc/lib/bsc_plugin.rb:10
  22 +#, fuzzy
  23 +msgid "Adds the Bsc feature"
  24 +msgstr "Autres fonctionnalités"
  25 +
  26 +#: plugins/bsc/lib/bsc_plugin.rb:14
  27 +#, fuzzy
  28 +msgid "Create Bsc"
  29 +msgstr "Créer"
  30 +
  31 +#: plugins/bsc/lib/bsc_plugin.rb:15
  32 +#, fuzzy
  33 +msgid "Validate Enterprises"
  34 +msgstr "Valider l'entreprise"
  35 +
  36 +#: plugins/bsc/lib/bsc_plugin.rb:20
  37 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:1
  38 +#, fuzzy
  39 +msgid "Manage associated enterprises"
  40 +msgstr "Gérer les entreprises"
  41 +
  42 +#: plugins/bsc/lib/bsc_plugin.rb:21 plugins/bsc/lib/bsc_plugin.rb:27
  43 +msgid "Transfer ownership"
  44 +msgstr ""
  45 +
  46 +#: plugins/bsc/lib/bsc_plugin.rb:22
  47 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:1
  48 +#, fuzzy
  49 +msgid "Manage contracts"
  50 +msgstr "Gérer les contacts."
  51 +
  52 +#: plugins/bsc/lib/bsc_plugin.rb:98
  53 +msgid "Bsc"
  54 +msgstr ""
  55 +
  56 +#: plugins/bsc/lib/bsc_plugin.rb:109
  57 +#: plugins/bsc/views/shared/_fields.html.erb:53
  58 +msgid "Contact"
  59 +msgstr "Contact "
  60 +
  61 +#: plugins/bsc/lib/bsc_plugin/bsc.rb:28
  62 +#, fuzzy
  63 +msgid "Bsc info and settings"
  64 +msgstr "Informations et paramètres"
  65 +
  66 +#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:10
  67 +#, fuzzy
  68 +msgid "BSC association"
  69 +msgstr "Informations de contact"
  70 +
  71 +#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:18
  72 +#, fuzzy
  73 +msgid "%{requestor} wants to associate this enterprise with %{linked_subject}."
  74 +msgstr "L'utilisateur «%{user}» veut activer l'adresse «%{email}»"
  75 +
  76 +#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:35
  77 +msgid "%{enterprise} accepted your request to associate it with %{bsc}."
  78 +msgstr ""
  79 +
  80 +#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:39
  81 +msgid "%{enterprise} rejected your request to associate it with %{bsc}."
  82 +msgstr ""
  83 +
  84 +#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:41
  85 +msgid ""
  86 +"Here is the reject explanation left by the administrator:\n"
  87 +"\n"
  88 +"%{reject_explanation}"
  89 +msgstr ""
  90 +
  91 +#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:46
  92 +#, fuzzy
  93 +msgid "%{requestor} wants assoaciate %{bsc} as your BSC."
  94 +msgstr "%s veut être votre contact."
  95 +
  96 +#: plugins/bsc/lib/bsc_plugin/mailer.rb:7
  97 +msgid "[%s] Bsc management transferred to you."
  98 +msgstr ""
  99 +
  100 +#: plugins/bsc/lib/bsc_plugin/contract.rb:33
  101 +#, fuzzy
  102 +msgid "Opened"
  103 +msgstr "ouvrir"
  104 +
  105 +#: plugins/bsc/lib/bsc_plugin/contract.rb:33
  106 +#, fuzzy
  107 +msgid "Negotiating"
  108 +msgstr "Paramètres"
  109 +
  110 +#: plugins/bsc/lib/bsc_plugin/contract.rb:33
  111 +#, fuzzy
  112 +msgid "Executing"
  113 +msgstr "Édition"
  114 +
  115 +#: plugins/bsc/lib/bsc_plugin/contract.rb:33
  116 +#, fuzzy
  117 +msgid "Closed"
  118 +msgstr "Fermer"
  119 +
  120 +#: plugins/bsc/lib/bsc_plugin/contract.rb:46
  121 +#, fuzzy
  122 +msgid "Federal"
  123 +msgstr "Tâche générique"
  124 +
  125 +#: plugins/bsc/lib/bsc_plugin/contract.rb:59
  126 +#, fuzzy
  127 +msgid "ProjectA"
  128 +msgstr "Produit"
  129 +
  130 +#: plugins/bsc/lib/bsc_plugin/contract.rb:59
  131 +#, fuzzy
  132 +msgid "ProjectB"
  133 +msgstr "Produit"
  134 +
  135 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:38
  136 +#, fuzzy
  137 +msgid "This Bsc associations were saved successfully."
  138 +msgstr "Fonctionnalités mises à jour avec succès."
  139 +
  140 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:42
  141 +#, fuzzy
  142 +msgid "This Bsc associations couldn't be saved."
  143 +msgstr "Ce fichier n'a pas pu être sauvegardé"
  144 +
  145 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:71
  146 +#, fuzzy
  147 +msgid "Enterprise ownership transferred."
  148 +msgstr "Page d'accueil de l'entreprise"
  149 +
  150 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:85
  151 +#, fuzzy
  152 +msgid "Enterprise was created in association with %s."
  153 +msgstr "Enregistrement de l'enterprise : \"%s\""
  154 +
  155 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:117
  156 +#, fuzzy
  157 +msgid "Contract created."
  158 +msgstr "Adresse électronique de contact"
  159 +
  160 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:120
  161 +msgid "Contract created but some products could not be added."
  162 +msgstr ""
  163 +
  164 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:131
  165 +msgid "Contract doesn't exists! Maybe it was already removed."
  166 +msgstr ""
  167 +
  168 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:140
  169 +#, fuzzy
  170 +msgid "Could not edit such contract."
  171 +msgstr "Impossible de mettre à jour le produit"
  172 +
  173 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:170
  174 +#, fuzzy
  175 +msgid "Contract edited."
  176 +msgstr "Adresse électronique de contact"
  177 +
  178 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:173
  179 +#, fuzzy
  180 +msgid "Contract edited but some products could not be added."
  181 +msgstr "Bloc d'information de profil"
  182 +
  183 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:183
  184 +#, fuzzy
  185 +msgid "Contract removed."
  186 +msgstr "Corps de l'article"
  187 +
  188 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:185
  189 +#, fuzzy
  190 +msgid "Contract could not be removed. Sorry! ^^"
  191 +msgstr "Bloc d'information de profil"
  192 +
  193 +#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:11
  194 +#, fuzzy
  195 +msgid "Your Bsc was created."
  196 +msgstr "Votre adresse e-mail %s vient d'être activée"
  197 +
  198 +#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:21
  199 +#, fuzzy
  200 +msgid "Enterprises validated."
  201 +msgstr "Validations d'entreprises"
  202 +
  203 +#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:24
  204 +#, fuzzy
  205 +msgid "Enterprise validations couldn't be saved."
  206 +msgstr "Validations d'entreprises"
  207 +
  208 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:4
  209 +msgid "Associations awaiting approval:"
  210 +msgstr ""
  211 +
  212 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:16
  213 +#: plugins/bsc/views/bsc_plugin_admin/validate_enterprises.html.erb:5
  214 +#, fuzzy
  215 +msgid "Type in a search term for enterprise"
  216 +msgstr "Désactiver la recherche d'entreprises"
  217 +
  218 +# (second try of this knid of contents)
  219 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:19
  220 +#, fuzzy
  221 +msgid "Add new enterprise"
  222 +msgstr "Une entreprise"
  223 +
  224 +#: plugins/bsc/views/bsc_plugin_myprofile/new_contract.html.erb:1
  225 +#: plugins/bsc/views/bsc_plugin_myprofile/edit_contract.html.erb:1
  226 +#, fuzzy
  227 +msgid "New contract"
  228 +msgstr "Tout le contenu"
  229 +
  230 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:6
  231 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:7
  232 +#, fuzzy
  233 +msgid "Client type"
  234 +msgstr "Type de contenu"
  235 +
  236 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:7
  237 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:8
  238 +#, fuzzy
  239 +msgid "Business type"
  240 +msgstr "Nom de fichier"
  241 +
  242 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:10
  243 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:11
  244 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:5
  245 +msgid "Status"
  246 +msgstr "Statut"
  247 +
  248 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:18
  249 +#, fuzzy
  250 +msgid "Type in search term for enterprise"
  251 +msgstr "Désactiver la recherche d'entreprises"
  252 +
  253 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:23
  254 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:27
  255 +#, fuzzy
  256 +msgid "Quantity"
  257 +msgstr "Qualité"
  258 +
  259 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:24
  260 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:28
  261 +#, fuzzy
  262 +msgid "Unit price"
  263 +msgstr "Distance :"
  264 +
  265 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:27
  266 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:38
  267 +#, fuzzy
  268 +msgid "Total"
  269 +msgstr "Pour : "
  270 +
  271 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:31
  272 +#, fuzzy
  273 +msgid "Add new product"
  274 +msgstr "Ajouter un produit"
  275 +
  276 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:35
  277 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:13
  278 +#, fuzzy
  279 +msgid "Supply period"
  280 +msgstr "Fournisseur : %s"
  281 +
  282 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:57
  283 +#, fuzzy
  284 +msgid "Type in a search term for product"
  285 +msgstr "Désactiver la recherche d'entreprises"
  286 +
  287 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:5
  288 +#: plugins/bsc/views/shared/_fields.html.erb:5
  289 +#, fuzzy
  290 +msgid "Basic information"
  291 +msgstr "Informations de contact"
  292 +
  293 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:12
  294 +#, fuzzy
  295 +msgid "Number of producers"
  296 +msgstr "Pas de produit"
  297 +
  298 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:48
  299 +#, fuzzy
  300 +msgid "Annotations"
  301 +msgstr "Message d'invitation :"
  302 +
  303 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:17
  304 +#, fuzzy
  305 +msgid "Sort by"
  306 +msgstr "Nouveau groupe"
  307 +
  308 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:18
  309 +msgid "Date(newest first)"
  310 +msgstr ""
  311 +
  312 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:18
  313 +msgid "Date(oldest first)"
  314 +msgstr ""
  315 +
  316 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:19
  317 +msgid "Client name(A-Z)"
  318 +msgstr ""
  319 +
  320 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:19
  321 +msgid "Client name(Z-A)"
  322 +msgstr ""
  323 +
  324 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:24
  325 +#, fuzzy
  326 +msgid "There are no contracts at all."
  327 +msgstr "Vous n'avez pas encore de contact."
  328 +
  329 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:35
  330 +msgid "Are you sure?"
  331 +msgstr ""
  332 +
  333 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:45
  334 +#, fuzzy
  335 +msgid "Create new contract"
  336 +msgstr "Créer un nouveau groupe"
  337 +
  338 +#: plugins/bsc/views/bsc_plugin_myprofile/_similar_enterprises.html.erb:2
  339 +#, fuzzy
  340 +msgid "Existing enterprises:"
  341 +msgstr "Éditer l'entreprise"
  342 +
  343 +#: plugins/bsc/views/bsc_plugin_myprofile/_similar_enterprises.html.erb:3
  344 +msgid ""
  345 +"Were found %{count} enterprises with similar names on the same city, you can "
  346 +"decide to associate one of them or create the new enterprise confirming the "
  347 +"informations you typed in."
  348 +msgstr ""
  349 +
  350 +#: plugins/bsc/views/bsc_plugin_myprofile/_similar_enterprises.html.erb:20
  351 +#, fuzzy
  352 +msgid "Associate"
  353 +msgstr "Activer"
  354 +
  355 +#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:1
  356 +msgid "Transfer Ownership"
  357 +msgstr ""
  358 +
  359 +#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:4
  360 +msgid ""
  361 +"This option allows you to transfer this enterprise's management to another "
  362 +"user. This action will remove all the current administrators. Be careful "
  363 +"when confirming this procedure."
  364 +msgstr ""
  365 +
  366 +#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:8
  367 +#, fuzzy
  368 +msgid "Current administrators:"
  369 +msgstr "Membres"
  370 +
  371 +#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:19
  372 +#, fuzzy
  373 +msgid "Administrator:"
  374 +msgstr "Interface d'administration"
  375 +
  376 +#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:22
  377 +msgid "Type in a search term for the new administrator"
  378 +msgstr ""
  379 +
  380 +#: plugins/bsc/views/shared/_fields.html.erb:39
  381 +#, fuzzy
  382 +msgid ""
  383 +"You are about to change the address, and this will break external links to "
  384 +"this bsc or to posts inside it. Do you really want to change?"
  385 +msgstr ""
  386 +"Vous êtes sur le point de modifier cette adresse, et cela risque de briser "
  387 +"les liens extérieurs menant à la page d'accueil ou le contenu du site lui-"
  388 +"même. Voulez-vous vraiment la modifier ?"
  389 +
  390 +#: plugins/bsc/views/bsc_plugin/mailer/admin_notification.html.erb:1
  391 +msgid "The management of %{bsc} was transferred to you."
  392 +msgstr ""
  393 +
  394 +#: plugins/bsc/views/profile/_profile_tab.html.erb:2
  395 +#, fuzzy
  396 +msgid "Contact phone: "
  397 +msgstr "Téléphone de contact :"
  398 +
  399 +#: plugins/bsc/views/profile/_profile_tab.html.erb:3
  400 +#, fuzzy
  401 +msgid "Email: "
  402 +msgstr "Courrier électronique : %s"
  403 +
  404 +#: plugins/bsc/views/bsc_plugin_admin/new.html.erb:2
  405 +#, fuzzy
  406 +msgid "BSC registration"
  407 +msgstr "Enregistrement de l'enterprise : \"%s\""
  408 +
  409 +#: plugins/bsc/views/bsc_plugin_admin/validate_enterprises.html.erb:1
  410 +#, fuzzy
  411 +msgid "Validate enterprises"
  412 +msgstr "Valider l'entreprise"
plugins/bsc/po/hy/bsc.po 0 → 100644
@@ -0,0 +1,404 @@ @@ -0,0 +1,404 @@
  1 +# SOME DESCRIPTIVE TITLE.
  2 +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
  3 +# This file is distributed under the same license as the PACKAGE package.
  4 +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
  5 +#
  6 +msgid ""
  7 +msgstr ""
  8 +"Project-Id-Version: 1.0\n"
  9 +"POT-Creation-Date: 2015-01-15 10:59-0300\n"
  10 +"PO-Revision-Date: 2009-10-26 16:20-0300\n"
  11 +"Last-Translator: Anahit Minassian <anahit.minassian@cooperation.net>\n"
  12 +"Language-Team: LANGUAGE <LL@li.org>\n"
  13 +"Language: hy\n"
  14 +"MIME-Version: 1.0\n"
  15 +"Content-Type: text/plain; charset=UTF-8\n"
  16 +"Content-Transfer-Encoding: 8bit\n"
  17 +"Plural-Forms: nplurals=2; plural=(n > 1);\n"
  18 +"X-Generator: Pootle 1.1.0\n"
  19 +
  20 +#: plugins/bsc/lib/bsc_plugin.rb:10
  21 +#, fuzzy
  22 +msgid "Adds the Bsc feature"
  23 +msgstr "Այլ առանձնահատկություն"
  24 +
  25 +#: plugins/bsc/lib/bsc_plugin.rb:14
  26 +#, fuzzy
  27 +msgid "Create Bsc"
  28 +msgstr "Ստեղծել"
  29 +
  30 +#: plugins/bsc/lib/bsc_plugin.rb:15
  31 +#, fuzzy
  32 +msgid "Validate Enterprises"
  33 +msgstr "Վավերացնել ձեռնարկությունը"
  34 +
  35 +#: plugins/bsc/lib/bsc_plugin.rb:20
  36 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:1
  37 +#, fuzzy
  38 +msgid "Manage associated enterprises"
  39 +msgstr "Մեկ ձեռնարկություն"
  40 +
  41 +#: plugins/bsc/lib/bsc_plugin.rb:21 plugins/bsc/lib/bsc_plugin.rb:27
  42 +msgid "Transfer ownership"
  43 +msgstr ""
  44 +
  45 +#: plugins/bsc/lib/bsc_plugin.rb:22
  46 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:1
  47 +#, fuzzy
  48 +msgid "Manage contracts"
  49 +msgstr "Կառավարել բովանդակությունը:"
  50 +
  51 +#: plugins/bsc/lib/bsc_plugin.rb:98
  52 +msgid "Bsc"
  53 +msgstr ""
  54 +
  55 +#: plugins/bsc/lib/bsc_plugin.rb:109
  56 +#: plugins/bsc/views/shared/_fields.html.erb:53
  57 +msgid "Contact"
  58 +msgstr ""
  59 +
  60 +#: plugins/bsc/lib/bsc_plugin/bsc.rb:28
  61 +#, fuzzy
  62 +msgid "Bsc info and settings"
  63 +msgstr "Անհանատական էջի տվյալների բաժին"
  64 +
  65 +#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:10
  66 +#, fuzzy
  67 +msgid "BSC association"
  68 +msgstr "Էլ. հասցե"
  69 +
  70 +#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:18
  71 +#, fuzzy
  72 +msgid "%{requestor} wants to associate this enterprise with %{linked_subject}."
  73 +msgstr "%s-ը ցանկանում է %s-ի անդամ դառնալ:"
  74 +
  75 +#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:35
  76 +msgid "%{enterprise} accepted your request to associate it with %{bsc}."
  77 +msgstr ""
  78 +
  79 +#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:39
  80 +msgid "%{enterprise} rejected your request to associate it with %{bsc}."
  81 +msgstr ""
  82 +
  83 +#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:41
  84 +msgid ""
  85 +"Here is the reject explanation left by the administrator:\n"
  86 +"\n"
  87 +"%{reject_explanation}"
  88 +msgstr ""
  89 +
  90 +#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:46
  91 +#, fuzzy
  92 +msgid "%{requestor} wants assoaciate %{bsc} as your BSC."
  93 +msgstr "%s ցանկանում է Ձեր ընկերը դառնալ"
  94 +
  95 +#: plugins/bsc/lib/bsc_plugin/mailer.rb:7
  96 +msgid "[%s] Bsc management transferred to you."
  97 +msgstr ""
  98 +
  99 +#: plugins/bsc/lib/bsc_plugin/contract.rb:33
  100 +#, fuzzy
  101 +msgid "Opened"
  102 +msgstr "բացել"
  103 +
  104 +#: plugins/bsc/lib/bsc_plugin/contract.rb:33
  105 +#, fuzzy
  106 +msgid "Negotiating"
  107 +msgstr "Պարամետրեր"
  108 +
  109 +#: plugins/bsc/lib/bsc_plugin/contract.rb:33
  110 +#, fuzzy
  111 +msgid "Executing"
  112 +msgstr "Փոփոխում"
  113 +
  114 +#: plugins/bsc/lib/bsc_plugin/contract.rb:33
  115 +#, fuzzy
  116 +msgid "Closed"
  117 +msgstr "Փակել"
  118 +
  119 +#: plugins/bsc/lib/bsc_plugin/contract.rb:46
  120 +#, fuzzy
  121 +msgid "Federal"
  122 +msgstr "Ընդհանուր առաջադրանք"
  123 +
  124 +#: plugins/bsc/lib/bsc_plugin/contract.rb:59
  125 +#, fuzzy
  126 +msgid "ProjectA"
  127 +msgstr "Արտադրանք"
  128 +
  129 +#: plugins/bsc/lib/bsc_plugin/contract.rb:59
  130 +#, fuzzy
  131 +msgid "ProjectB"
  132 +msgstr "Արտադրանք"
  133 +
  134 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:38
  135 +#, fuzzy
  136 +msgid "This Bsc associations were saved successfully."
  137 +msgstr "Առանձնահատկությունները հաջողությամբ թարմացված են:"
  138 +
  139 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:42
  140 +#, fuzzy
  141 +msgid "This Bsc associations couldn't be saved."
  142 +msgstr "Անհանատական էջի տվյալների բաժին"
  143 +
  144 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:71
  145 +#, fuzzy
  146 +msgid "Enterprise ownership transferred."
  147 +msgstr "Ձեռնարկության գլխավոր էջ"
  148 +
  149 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:85
  150 +#, fuzzy
  151 +msgid "Enterprise was created in association with %s."
  152 +msgstr "Ձեռնարկության գրանցում «%s»"
  153 +
  154 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:117
  155 +#, fuzzy
  156 +msgid "Contract created."
  157 +msgstr "էլ. հասցե"
  158 +
  159 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:120
  160 +msgid "Contract created but some products could not be added."
  161 +msgstr ""
  162 +
  163 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:131
  164 +msgid "Contract doesn't exists! Maybe it was already removed."
  165 +msgstr ""
  166 +
  167 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:140
  168 +#, fuzzy
  169 +msgid "Could not edit such contract."
  170 +msgstr "Արտադրանք թարմացնելն անհնար է"
  171 +
  172 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:170
  173 +#, fuzzy
  174 +msgid "Contract edited."
  175 +msgstr "էլ. հասցե"
  176 +
  177 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:173
  178 +#, fuzzy
  179 +msgid "Contract edited but some products could not be added."
  180 +msgstr "Անհանատական էջի տվյալների բաժին"
  181 +
  182 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:183
  183 +#, fuzzy
  184 +msgid "Contract removed."
  185 +msgstr "Բուն հոդված"
  186 +
  187 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:185
  188 +#, fuzzy
  189 +msgid "Contract could not be removed. Sorry! ^^"
  190 +msgstr "Անհանատական էջի տվյալների բաժին"
  191 +
  192 +#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:11
  193 +#, fuzzy
  194 +msgid "Your Bsc was created."
  195 +msgstr "%s վերացված է"
  196 +
  197 +#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:21
  198 +#, fuzzy
  199 +msgid "Enterprises validated."
  200 +msgstr "Ձեռնարկությունների վավերացում"
  201 +
  202 +#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:24
  203 +#, fuzzy
  204 +msgid "Enterprise validations couldn't be saved."
  205 +msgstr "Ձեռնարկությունների վավերացում"
  206 +
  207 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:4
  208 +msgid "Associations awaiting approval:"
  209 +msgstr ""
  210 +
  211 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:16
  212 +#: plugins/bsc/views/bsc_plugin_admin/validate_enterprises.html.erb:5
  213 +#, fuzzy
  214 +msgid "Type in a search term for enterprise"
  215 +msgstr "Դիզակտիվացնել ձեռնարկությունների որոնումը"
  216 +
  217 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:19
  218 +#, fuzzy
  219 +msgid "Add new enterprise"
  220 +msgstr "Մեկ ձեռնարկություն"
  221 +
  222 +#: plugins/bsc/views/bsc_plugin_myprofile/new_contract.html.erb:1
  223 +#: plugins/bsc/views/bsc_plugin_myprofile/edit_contract.html.erb:1
  224 +#, fuzzy
  225 +msgid "New contract"
  226 +msgstr "Ամբողջ բովանդակությունը"
  227 +
  228 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:6
  229 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:7
  230 +#, fuzzy
  231 +msgid "Client type"
  232 +msgstr "Բովանդակության տեսակ"
  233 +
  234 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:7
  235 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:8
  236 +#, fuzzy
  237 +msgid "Business type"
  238 +msgstr "Սեփականատիրոջ տեսակ"
  239 +
  240 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:10
  241 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:11
  242 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:5
  243 +msgid "Status"
  244 +msgstr "Կարգավիճակ"
  245 +
  246 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:18
  247 +#, fuzzy
  248 +msgid "Type in search term for enterprise"
  249 +msgstr "Դիզակտիվացնել ձեռնարկությունների որոնումը"
  250 +
  251 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:23
  252 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:27
  253 +#, fuzzy
  254 +msgid "Quantity"
  255 +msgstr "Որակ"
  256 +
  257 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:24
  258 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:28
  259 +#, fuzzy
  260 +msgid "Unit price"
  261 +msgstr "Հեռավորություն"
  262 +
  263 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:27
  264 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:38
  265 +msgid "Total"
  266 +msgstr ""
  267 +
  268 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:31
  269 +#, fuzzy
  270 +msgid "Add new product"
  271 +msgstr "Կառավարել արտադրանքը"
  272 +
  273 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:35
  274 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:13
  275 +#, fuzzy
  276 +msgid "Supply period"
  277 +msgstr "Առաքիչ %s"
  278 +
  279 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:57
  280 +#, fuzzy
  281 +msgid "Type in a search term for product"
  282 +msgstr "Դիզակտիվացնել ձեռնարկությունների որոնումը"
  283 +
  284 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:5
  285 +#: plugins/bsc/views/shared/_fields.html.erb:5
  286 +#, fuzzy
  287 +msgid "Basic information"
  288 +msgstr "Էլ. հասցե"
  289 +
  290 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:12
  291 +#, fuzzy
  292 +msgid "Number of producers"
  293 +msgstr "Արտադրանք չկա"
  294 +
  295 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:48
  296 +#, fuzzy
  297 +msgid "Annotations"
  298 +msgstr "Կառավարման վահանակ"
  299 +
  300 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:17
  301 +#, fuzzy
  302 +msgid "Sort by"
  303 +msgstr "Մեկ համայնք"
  304 +
  305 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:18
  306 +msgid "Date(newest first)"
  307 +msgstr ""
  308 +
  309 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:18
  310 +msgid "Date(oldest first)"
  311 +msgstr ""
  312 +
  313 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:19
  314 +msgid "Client name(A-Z)"
  315 +msgstr ""
  316 +
  317 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:19
  318 +msgid "Client name(Z-A)"
  319 +msgstr ""
  320 +
  321 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:24
  322 +msgid "There are no contracts at all."
  323 +msgstr ""
  324 +
  325 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:35
  326 +msgid "Are you sure?"
  327 +msgstr ""
  328 +
  329 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:45
  330 +#, fuzzy
  331 +msgid "Create new contract"
  332 +msgstr "Ստեղծել նոր համայնք"
  333 +
  334 +#: plugins/bsc/views/bsc_plugin_myprofile/_similar_enterprises.html.erb:2
  335 +#, fuzzy
  336 +msgid "Existing enterprises:"
  337 +msgstr "Մեկ ձեռնարկություն"
  338 +
  339 +#: plugins/bsc/views/bsc_plugin_myprofile/_similar_enterprises.html.erb:3
  340 +msgid ""
  341 +"Were found %{count} enterprises with similar names on the same city, you can "
  342 +"decide to associate one of them or create the new enterprise confirming the "
  343 +"informations you typed in."
  344 +msgstr ""
  345 +
  346 +#: plugins/bsc/views/bsc_plugin_myprofile/_similar_enterprises.html.erb:20
  347 +#, fuzzy
  348 +msgid "Associate"
  349 +msgstr "Ակտիվացնել"
  350 +
  351 +#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:1
  352 +msgid "Transfer Ownership"
  353 +msgstr ""
  354 +
  355 +#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:4
  356 +msgid ""
  357 +"This option allows you to transfer this enterprise's management to another "
  358 +"user. This action will remove all the current administrators. Be careful "
  359 +"when confirming this procedure."
  360 +msgstr ""
  361 +
  362 +#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:8
  363 +#, fuzzy
  364 +msgid "Current administrators:"
  365 +msgstr "Անդամներ"
  366 +
  367 +#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:19
  368 +#, fuzzy
  369 +msgid "Administrator:"
  370 +msgstr "Կառավարման վահանակ"
  371 +
  372 +#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:22
  373 +msgid "Type in a search term for the new administrator"
  374 +msgstr ""
  375 +
  376 +#: plugins/bsc/views/shared/_fields.html.erb:39
  377 +msgid ""
  378 +"You are about to change the address, and this will break external links to "
  379 +"this bsc or to posts inside it. Do you really want to change?"
  380 +msgstr ""
  381 +
  382 +#: plugins/bsc/views/bsc_plugin/mailer/admin_notification.html.erb:1
  383 +msgid "The management of %{bsc} was transferred to you."
  384 +msgstr ""
  385 +
  386 +#: plugins/bsc/views/profile/_profile_tab.html.erb:2
  387 +#, fuzzy
  388 +msgid "Contact phone: "
  389 +msgstr "Հեռախոս"
  390 +
  391 +#: plugins/bsc/views/profile/_profile_tab.html.erb:3
  392 +#, fuzzy
  393 +msgid "Email: "
  394 +msgstr "Էլ. հասցե"
  395 +
  396 +#: plugins/bsc/views/bsc_plugin_admin/new.html.erb:2
  397 +#, fuzzy
  398 +msgid "BSC registration"
  399 +msgstr "Ձեռնարկության գրանցում «%s»"
  400 +
  401 +#: plugins/bsc/views/bsc_plugin_admin/validate_enterprises.html.erb:1
  402 +#, fuzzy
  403 +msgid "Validate enterprises"
  404 +msgstr "Վավերացնել ձեռնարկությունը"
plugins/bsc/po/pt/bsc.po 0 → 100644
@@ -0,0 +1,370 @@ @@ -0,0 +1,370 @@
  1 +# translation of noosfero.po to
  2 +# Krishnamurti Lelis Lima Vieira Nunes <krishna@colivre.coop.br>, 2007.
  3 +# noosfero - Brazilian Portuguese translation
  4 +# Copyright (C) 2007,
  5 +# Forum Brasileiro de Economia Solidaria <http://www.fbes.org.br/>
  6 +# Copyright (C) 2007,
  7 +# Ynternet.org Foundation <http://www.ynternet.org/>
  8 +# This file is distributed under the same license as noosfero itself.
  9 +# Joenio Costa <joenio@colivre.coop.br>, 2008.
  10 +#
  11 +#
  12 +msgid ""
  13 +msgstr ""
  14 +"Project-Id-Version: 1.0\n"
  15 +"POT-Creation-Date: 2015-01-15 10:59-0300\n"
  16 +"PO-Revision-Date: 2014-12-18 18:40-0200\n"
  17 +"Last-Translator: Luciano Prestes Cavalcanti <lucianopcbr@gmail.com>\n"
  18 +"Language-Team: Portuguese <https://hosted.weblate.org/projects/noosfero/"
  19 +"noosfero/pt/>\n"
  20 +"Language: pt\n"
  21 +"MIME-Version: 1.0\n"
  22 +"Content-Type: text/plain; charset=UTF-8\n"
  23 +"Content-Transfer-Encoding: 8bit\n"
  24 +"Plural-Forms: nplurals=2; plural=n != 1;\n"
  25 +"X-Generator: Weblate 2.0\n"
  26 +
  27 +#: plugins/bsc/lib/bsc_plugin.rb:10
  28 +msgid "Adds the Bsc feature"
  29 +msgstr "Adiciona a funcionalidades Bsc"
  30 +
  31 +#: plugins/bsc/lib/bsc_plugin.rb:14
  32 +msgid "Create Bsc"
  33 +msgstr "Criar Bsc"
  34 +
  35 +#: plugins/bsc/lib/bsc_plugin.rb:15
  36 +msgid "Validate Enterprises"
  37 +msgstr "Validar empreendimentos"
  38 +
  39 +#: plugins/bsc/lib/bsc_plugin.rb:20
  40 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:1
  41 +msgid "Manage associated enterprises"
  42 +msgstr "Gerenciar empreendimentos associados"
  43 +
  44 +#: plugins/bsc/lib/bsc_plugin.rb:21 plugins/bsc/lib/bsc_plugin.rb:27
  45 +msgid "Transfer ownership"
  46 +msgstr "Transferir administração"
  47 +
  48 +#: plugins/bsc/lib/bsc_plugin.rb:22
  49 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:1
  50 +msgid "Manage contracts"
  51 +msgstr "Gerenciar contratos"
  52 +
  53 +#: plugins/bsc/lib/bsc_plugin.rb:98
  54 +msgid "Bsc"
  55 +msgstr "Bsc"
  56 +
  57 +#: plugins/bsc/lib/bsc_plugin.rb:109
  58 +#: plugins/bsc/views/shared/_fields.html.erb:53
  59 +msgid "Contact"
  60 +msgstr "Contato"
  61 +
  62 +#: plugins/bsc/lib/bsc_plugin/bsc.rb:28
  63 +msgid "Bsc info and settings"
  64 +msgstr "Informações e Configurações do Bsc"
  65 +
  66 +#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:10
  67 +msgid "BSC association"
  68 +msgstr "Associação de BSC"
  69 +
  70 +#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:18
  71 +msgid "%{requestor} wants to associate this enterprise with %{linked_subject}."
  72 +msgstr "%{requestor} quer associar este empreendimento com %{linked_subject}."
  73 +
  74 +#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:35
  75 +msgid "%{enterprise} accepted your request to associate it with %{bsc}."
  76 +msgstr "%{enterprise} aceitou seu pedido para associá-lo com %{bsc}."
  77 +
  78 +#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:39
  79 +msgid "%{enterprise} rejected your request to associate it with %{bsc}."
  80 +msgstr "%{enterprise} rejeitou seu pedido para associá-lo com %{bsc}."
  81 +
  82 +#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:41
  83 +msgid ""
  84 +"Here is the reject explanation left by the administrator:\n"
  85 +"\n"
  86 +"%{reject_explanation}"
  87 +msgstr ""
  88 +"Segue a explicação de rejeição deixada pelo administrador:\n"
  89 +"\n"
  90 +"%{reject_explanation}"
  91 +
  92 +#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:46
  93 +msgid "%{requestor} wants assoaciate %{bsc} as your BSC."
  94 +msgstr "%{requestor} quer associar %{bsc} como seu BSC."
  95 +
  96 +#: plugins/bsc/lib/bsc_plugin/mailer.rb:7
  97 +msgid "[%s] Bsc management transferred to you."
  98 +msgstr "[%s] Administração de Bsc transferida para você."
  99 +
  100 +#: plugins/bsc/lib/bsc_plugin/contract.rb:33
  101 +msgid "Opened"
  102 +msgstr "Aberto"
  103 +
  104 +#: plugins/bsc/lib/bsc_plugin/contract.rb:33
  105 +msgid "Negotiating"
  106 +msgstr "Em negociação"
  107 +
  108 +#: plugins/bsc/lib/bsc_plugin/contract.rb:33
  109 +msgid "Executing"
  110 +msgstr "Executando"
  111 +
  112 +#: plugins/bsc/lib/bsc_plugin/contract.rb:33
  113 +msgid "Closed"
  114 +msgstr "Fechado"
  115 +
  116 +#: plugins/bsc/lib/bsc_plugin/contract.rb:46
  117 +msgid "Federal"
  118 +msgstr "Federal"
  119 +
  120 +#: plugins/bsc/lib/bsc_plugin/contract.rb:59
  121 +msgid "ProjectA"
  122 +msgstr "ProjetoA"
  123 +
  124 +#: plugins/bsc/lib/bsc_plugin/contract.rb:59
  125 +msgid "ProjectB"
  126 +msgstr "ProjetoB"
  127 +
  128 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:38
  129 +msgid "This Bsc associations were saved successfully."
  130 +msgstr "As associações deste Bsc foram salvas com sucesso."
  131 +
  132 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:42
  133 +msgid "This Bsc associations couldn't be saved."
  134 +msgstr "As associações deste Bsc não puderam ser salvas."
  135 +
  136 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:71
  137 +msgid "Enterprise ownership transferred."
  138 +msgstr "A administração do empreendimento foi transferida."
  139 +
  140 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:85
  141 +msgid "Enterprise was created in association with %s."
  142 +msgstr "O empreendimento foi criado em associação com %s."
  143 +
  144 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:117
  145 +msgid "Contract created."
  146 +msgstr "O contrato foi criado."
  147 +
  148 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:120
  149 +msgid "Contract created but some products could not be added."
  150 +msgstr "O contrato foi criado mas alguns produtos não puderam ser adicionados."
  151 +
  152 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:131
  153 +msgid "Contract doesn't exists! Maybe it was already removed."
  154 +msgstr "O contrato não existe! Talvez ele já tenha sido removido."
  155 +
  156 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:140
  157 +msgid "Could not edit such contract."
  158 +msgstr "Não foi possível editar o contrato."
  159 +
  160 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:170
  161 +msgid "Contract edited."
  162 +msgstr "Contrato editado."
  163 +
  164 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:173
  165 +msgid "Contract edited but some products could not be added."
  166 +msgstr ""
  167 +"O contrato foi editado mas alguns produtos não puderam ser adicionados."
  168 +
  169 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:183
  170 +msgid "Contract removed."
  171 +msgstr "Contrato removido."
  172 +
  173 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:185
  174 +msgid "Contract could not be removed. Sorry! ^^"
  175 +msgstr "O contrato não pôde ser removido. Desculpa!"
  176 +
  177 +#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:11
  178 +msgid "Your Bsc was created."
  179 +msgstr "Seu Bsc foi criado."
  180 +
  181 +#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:21
  182 +msgid "Enterprises validated."
  183 +msgstr "Empreendimento validados."
  184 +
  185 +#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:24
  186 +msgid "Enterprise validations couldn't be saved."
  187 +msgstr "As validações de empreendimento não puderam ser salvas."
  188 +
  189 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:4
  190 +msgid "Associations awaiting approval:"
  191 +msgstr "Associações aguardando aprovação:"
  192 +
  193 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:16
  194 +#: plugins/bsc/views/bsc_plugin_admin/validate_enterprises.html.erb:5
  195 +msgid "Type in a search term for enterprise"
  196 +msgstr "Digite um termo de pesquisa para empreendimentos"
  197 +
  198 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:19
  199 +msgid "Add new enterprise"
  200 +msgstr "Adicionar novo empreendimento"
  201 +
  202 +#: plugins/bsc/views/bsc_plugin_myprofile/new_contract.html.erb:1
  203 +#: plugins/bsc/views/bsc_plugin_myprofile/edit_contract.html.erb:1
  204 +msgid "New contract"
  205 +msgstr "Novo contrato"
  206 +
  207 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:6
  208 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:7
  209 +msgid "Client type"
  210 +msgstr "Tipo de cliente"
  211 +
  212 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:7
  213 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:8
  214 +msgid "Business type"
  215 +msgstr "Tipo de negócio"
  216 +
  217 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:10
  218 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:11
  219 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:5
  220 +msgid "Status"
  221 +msgstr "Estado"
  222 +
  223 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:18
  224 +msgid "Type in search term for enterprise"
  225 +msgstr "Digite um termo de pesquisa para empreendimentos"
  226 +
  227 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:23
  228 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:27
  229 +msgid "Quantity"
  230 +msgstr "Quantidade"
  231 +
  232 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:24
  233 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:28
  234 +msgid "Unit price"
  235 +msgstr "Preço unitário"
  236 +
  237 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:27
  238 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:38
  239 +msgid "Total"
  240 +msgstr "Total"
  241 +
  242 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:31
  243 +msgid "Add new product"
  244 +msgstr "Adicionar novo produto"
  245 +
  246 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:35
  247 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:13
  248 +msgid "Supply period"
  249 +msgstr "Período de fornecimento"
  250 +
  251 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:57
  252 +msgid "Type in a search term for product"
  253 +msgstr "Digite um termo de pesquisa para produto"
  254 +
  255 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:5
  256 +#: plugins/bsc/views/shared/_fields.html.erb:5
  257 +msgid "Basic information"
  258 +msgstr "Informações Básicas"
  259 +
  260 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:12
  261 +msgid "Number of producers"
  262 +msgstr "Número de produtores"
  263 +
  264 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:48
  265 +msgid "Annotations"
  266 +msgstr "Anotações"
  267 +
  268 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:17
  269 +msgid "Sort by"
  270 +msgstr "Ordenar por"
  271 +
  272 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:18
  273 +msgid "Date(newest first)"
  274 +msgstr "Data(mais recentes primeiro)"
  275 +
  276 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:18
  277 +msgid "Date(oldest first)"
  278 +msgstr "Data(mais antigos primeiro)"
  279 +
  280 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:19
  281 +msgid "Client name(A-Z)"
  282 +msgstr "Nome do cliente(A-Z)"
  283 +
  284 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:19
  285 +msgid "Client name(Z-A)"
  286 +msgstr "Nome do cliente(Z-A)"
  287 +
  288 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:24
  289 +msgid "There are no contracts at all."
  290 +msgstr "Não há contratos."
  291 +
  292 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:35
  293 +msgid "Are you sure?"
  294 +msgstr "Você tem certeza?"
  295 +
  296 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:45
  297 +msgid "Create new contract"
  298 +msgstr "Criar novo contrato"
  299 +
  300 +#: plugins/bsc/views/bsc_plugin_myprofile/_similar_enterprises.html.erb:2
  301 +msgid "Existing enterprises:"
  302 +msgstr "Empreendimentos existentes:"
  303 +
  304 +#: plugins/bsc/views/bsc_plugin_myprofile/_similar_enterprises.html.erb:3
  305 +msgid ""
  306 +"Were found %{count} enterprises with similar names on the same city, you can "
  307 +"decide to associate one of them or create the new enterprise confirming the "
  308 +"informations you typed in."
  309 +msgstr ""
  310 +"Foram encontrados %{count} empreendimentos com nomes similares na mesma "
  311 +"cidade, você pode decidir associar um deles ou criar um novo empreendimento "
  312 +"confirmando as informações que você digitou."
  313 +
  314 +#: plugins/bsc/views/bsc_plugin_myprofile/_similar_enterprises.html.erb:20
  315 +msgid "Associate"
  316 +msgstr "Associar"
  317 +
  318 +#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:1
  319 +msgid "Transfer Ownership"
  320 +msgstr "Transferir administração"
  321 +
  322 +#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:4
  323 +msgid ""
  324 +"This option allows you to transfer this enterprise's management to another "
  325 +"user. This action will remove all the current administrators. Be careful "
  326 +"when confirming this procedure."
  327 +msgstr ""
  328 +"Esta opção permite transferir a administração do empreendimento para outro "
  329 +"usuário. Esta ação removerá todos os administradores atuais. Seja cuidadoso "
  330 +"ao confirmar este procedimento."
  331 +
  332 +#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:8
  333 +msgid "Current administrators:"
  334 +msgstr "Administradores atuais:"
  335 +
  336 +#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:19
  337 +msgid "Administrator:"
  338 +msgstr "Administradores:"
  339 +
  340 +#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:22
  341 +msgid "Type in a search term for the new administrator"
  342 +msgstr "Digite um termo de pesquisa para o novo adiministrador"
  343 +
  344 +#: plugins/bsc/views/shared/_fields.html.erb:39
  345 +msgid ""
  346 +"You are about to change the address, and this will break external links to "
  347 +"this bsc or to posts inside it. Do you really want to change?"
  348 +msgstr ""
  349 +"Você está prestes a alterar o endereço, e isto vai quebrar links externos "
  350 +"para esse bsc ou para artigos dentro dele. Você realmente deseja mudar?"
  351 +
  352 +#: plugins/bsc/views/bsc_plugin/mailer/admin_notification.html.erb:1
  353 +msgid "The management of %{bsc} was transferred to you."
  354 +msgstr "A adminstração de %{bsc} foi transferida para você."
  355 +
  356 +#: plugins/bsc/views/profile/_profile_tab.html.erb:2
  357 +msgid "Contact phone: "
  358 +msgstr "Telefone de contato: "
  359 +
  360 +#: plugins/bsc/views/profile/_profile_tab.html.erb:3
  361 +msgid "Email: "
  362 +msgstr "Email: "
  363 +
  364 +#: plugins/bsc/views/bsc_plugin_admin/new.html.erb:2
  365 +msgid "BSC registration"
  366 +msgstr "Registro de BSC"
  367 +
  368 +#: plugins/bsc/views/bsc_plugin_admin/validate_enterprises.html.erb:1
  369 +msgid "Validate enterprises"
  370 +msgstr "Validar empreendimentos"
plugins/bsc/po/ru/bsc.po 0 → 100644
@@ -0,0 +1,410 @@ @@ -0,0 +1,410 @@
  1 +# Russian translation of noosfero.
  2 +# Copyright (C) 2009 Anton Caceres
  3 +# This file is distributed under the same license as the noosfero package.
  4 +# Josef Spillner <josef.spillner@tu-dresden.de>, 2009.
  5 +#
  6 +msgid ""
  7 +msgstr ""
  8 +"Project-Id-Version: 1.0\n"
  9 +"POT-Creation-Date: 2015-01-15 10:59-0300\n"
  10 +"PO-Revision-Date: 2014-12-12 14:23+0200\n"
  11 +"Last-Translator: Michal Čihař <michal@cihar.com>\n"
  12 +"Language-Team: Russian <https://hosted.weblate.org/projects/noosfero/"
  13 +"noosfero/ru/>\n"
  14 +"Language: ru\n"
  15 +"MIME-Version: 1.0\n"
  16 +"Content-Type: text/plain; charset=UTF-8\n"
  17 +"Content-Transfer-Encoding: 8bit\n"
  18 +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
  19 +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
  20 +"X-Generator: Weblate 2.2-dev\n"
  21 +
  22 +#: plugins/bsc/lib/bsc_plugin.rb:10
  23 +#, fuzzy
  24 +msgid "Adds the Bsc feature"
  25 +msgstr "Системные возможности"
  26 +
  27 +#: plugins/bsc/lib/bsc_plugin.rb:14
  28 +#, fuzzy
  29 +msgid "Create Bsc"
  30 +msgstr "Создать"
  31 +
  32 +#: plugins/bsc/lib/bsc_plugin.rb:15
  33 +#, fuzzy
  34 +msgid "Validate Enterprises"
  35 +msgstr "Подтвердить компанию"
  36 +
  37 +#: plugins/bsc/lib/bsc_plugin.rb:20
  38 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:1
  39 +#, fuzzy
  40 +msgid "Manage associated enterprises"
  41 +msgstr "Verwalte Unternehmensfelder"
  42 +
  43 +#: plugins/bsc/lib/bsc_plugin.rb:21 plugins/bsc/lib/bsc_plugin.rb:27
  44 +msgid "Transfer ownership"
  45 +msgstr ""
  46 +
  47 +#: plugins/bsc/lib/bsc_plugin.rb:22
  48 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:1
  49 +#, fuzzy
  50 +msgid "Manage contracts"
  51 +msgstr "Управлять контактами"
  52 +
  53 +#: plugins/bsc/lib/bsc_plugin.rb:98
  54 +msgid "Bsc"
  55 +msgstr ""
  56 +
  57 +#: plugins/bsc/lib/bsc_plugin.rb:109
  58 +#: plugins/bsc/views/shared/_fields.html.erb:53
  59 +msgid "Contact"
  60 +msgstr "Контакт"
  61 +
  62 +#: plugins/bsc/lib/bsc_plugin/bsc.rb:28
  63 +#, fuzzy
  64 +msgid "Bsc info and settings"
  65 +msgstr "Инфо профиля и настройки"
  66 +
  67 +#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:10
  68 +#, fuzzy
  69 +msgid "BSC association"
  70 +msgstr "Основная информация"
  71 +
  72 +#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:18
  73 +#, fuzzy
  74 +msgid "%{requestor} wants to associate this enterprise with %{linked_subject}."
  75 +msgstr "'%{user} хочет активировать E-Mail '%{email}' "
  76 +
  77 +#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:35
  78 +msgid "%{enterprise} accepted your request to associate it with %{bsc}."
  79 +msgstr ""
  80 +
  81 +#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:39
  82 +msgid "%{enterprise} rejected your request to associate it with %{bsc}."
  83 +msgstr ""
  84 +
  85 +#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:41
  86 +msgid ""
  87 +"Here is the reject explanation left by the administrator:\n"
  88 +"\n"
  89 +"%{reject_explanation}"
  90 +msgstr ""
  91 +
  92 +#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:46
  93 +#, fuzzy
  94 +msgid "%{requestor} wants assoaciate %{bsc} as your BSC."
  95 +msgstr "%s хочет быть вашим другом"
  96 +
  97 +#: plugins/bsc/lib/bsc_plugin/mailer.rb:7
  98 +msgid "[%s] Bsc management transferred to you."
  99 +msgstr ""
  100 +
  101 +#: plugins/bsc/lib/bsc_plugin/contract.rb:33
  102 +#, fuzzy
  103 +msgid "Opened"
  104 +msgstr "открыть"
  105 +
  106 +#: plugins/bsc/lib/bsc_plugin/contract.rb:33
  107 +#, fuzzy
  108 +msgid "Negotiating"
  109 +msgstr "Настройки"
  110 +
  111 +#: plugins/bsc/lib/bsc_plugin/contract.rb:33
  112 +#, fuzzy
  113 +msgid "Executing"
  114 +msgstr "Редактирование"
  115 +
  116 +#: plugins/bsc/lib/bsc_plugin/contract.rb:33
  117 +#, fuzzy
  118 +msgid "Closed"
  119 +msgstr "Закрыть"
  120 +
  121 +#: plugins/bsc/lib/bsc_plugin/contract.rb:46
  122 +#, fuzzy
  123 +msgid "Federal"
  124 +msgstr "Основная задача"
  125 +
  126 +#: plugins/bsc/lib/bsc_plugin/contract.rb:59
  127 +#, fuzzy
  128 +msgid "ProjectA"
  129 +msgstr "Продукт"
  130 +
  131 +#: plugins/bsc/lib/bsc_plugin/contract.rb:59
  132 +#, fuzzy
  133 +msgid "ProjectB"
  134 +msgstr "Продукт"
  135 +
  136 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:38
  137 +#, fuzzy
  138 +msgid "This Bsc associations were saved successfully."
  139 +msgstr "Все файлы успешно обновлены"
  140 +
  141 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:42
  142 +#, fuzzy
  143 +msgid "This Bsc associations couldn't be saved."
  144 +msgstr "Файл не может быть сохранен"
  145 +
  146 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:71
  147 +#, fuzzy
  148 +msgid "Enterprise ownership transferred."
  149 +msgstr "Домашняя страница компании"
  150 +
  151 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:85
  152 +#, fuzzy
  153 +msgid "Enterprise was created in association with %s."
  154 +msgstr "Регистрация предприятия: \"%s\""
  155 +
  156 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:117
  157 +#, fuzzy
  158 +msgid "Contract created."
  159 +msgstr "Контактный email"
  160 +
  161 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:120
  162 +msgid "Contract created but some products could not be added."
  163 +msgstr ""
  164 +
  165 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:131
  166 +msgid "Contract doesn't exists! Maybe it was already removed."
  167 +msgstr ""
  168 +
  169 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:140
  170 +#, fuzzy
  171 +msgid "Could not edit such contract."
  172 +msgstr "Невозможно обновить продукт"
  173 +
  174 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:170
  175 +#, fuzzy
  176 +msgid "Contract edited."
  177 +msgstr "Контактный email"
  178 +
  179 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:173
  180 +#, fuzzy
  181 +msgid "Contract edited but some products could not be added."
  182 +msgstr "Блок персональной информации"
  183 +
  184 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:183
  185 +#, fuzzy
  186 +msgid "Contract removed."
  187 +msgstr "Тело статьи"
  188 +
  189 +#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:185
  190 +#, fuzzy
  191 +msgid "Contract could not be removed. Sorry! ^^"
  192 +msgstr "Блок персональной информации"
  193 +
  194 +#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:11
  195 +#, fuzzy
  196 +msgid "Your Bsc was created."
  197 +msgstr "Ваш E-Mail %s активирован"
  198 +
  199 +#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:21
  200 +#, fuzzy
  201 +msgid "Enterprises validated."
  202 +msgstr "Утвердители компаний"
  203 +
  204 +#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:24
  205 +#, fuzzy
  206 +msgid "Enterprise validations couldn't be saved."
  207 +msgstr "Утвердители компаний"
  208 +
  209 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:4
  210 +msgid "Associations awaiting approval:"
  211 +msgstr ""
  212 +
  213 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:16
  214 +#: plugins/bsc/views/bsc_plugin_admin/validate_enterprises.html.erb:5
  215 +#, fuzzy
  216 +msgid "Type in a search term for enterprise"
  217 +msgstr "Отключить поиск по компаниям"
  218 +
  219 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:19
  220 +#, fuzzy
  221 +msgid "Add new enterprise"
  222 +msgstr "Одна компания"
  223 +
  224 +#: plugins/bsc/views/bsc_plugin_myprofile/new_contract.html.erb:1
  225 +#: plugins/bsc/views/bsc_plugin_myprofile/edit_contract.html.erb:1
  226 +#, fuzzy
  227 +msgid "New contract"
  228 +msgstr "Весь контент"
  229 +
  230 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:6
  231 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:7
  232 +#, fuzzy
  233 +msgid "Client type"
  234 +msgstr "Тип контента"
  235 +
  236 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:7
  237 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:8
  238 +#, fuzzy
  239 +msgid "Business type"
  240 +msgstr "Название работы"
  241 +
  242 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:10
  243 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:11
  244 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:5
  245 +msgid "Status"
  246 +msgstr "Статус"
  247 +
  248 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:18
  249 +#, fuzzy
  250 +msgid "Type in search term for enterprise"
  251 +msgstr "Отключить поиск по компаниям"
  252 +
  253 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:23
  254 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:27
  255 +#, fuzzy
  256 +msgid "Quantity"
  257 +msgstr "Качество"
  258 +
  259 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:24
  260 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:28
  261 +#, fuzzy
  262 +msgid "Unit price"
  263 +msgstr "Прайс:"
  264 +
  265 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:27
  266 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:38
  267 +#, fuzzy
  268 +msgid "Total"
  269 +msgstr "Получатель:"
  270 +
  271 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:31
  272 +#, fuzzy
  273 +msgid "Add new product"
  274 +msgstr "Управление продуктами"
  275 +
  276 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:35
  277 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:13
  278 +#, fuzzy
  279 +msgid "Supply period"
  280 +msgstr "Поставщик: %s"
  281 +
  282 +#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:57
  283 +#, fuzzy
  284 +msgid "Type in a search term for product"
  285 +msgstr "Отключить поиск по компаниям"
  286 +
  287 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:5
  288 +#: plugins/bsc/views/shared/_fields.html.erb:5
  289 +msgid "Basic information"
  290 +msgstr "Основная информация"
  291 +
  292 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:12
  293 +#, fuzzy
  294 +msgid "Number of producers"
  295 +msgstr "Количество новостей"
  296 +
  297 +#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:48
  298 +#, fuzzy
  299 +msgid "Annotations"
  300 +msgstr "Текст приглашения"
  301 +
  302 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:17
  303 +#, fuzzy
  304 +msgid "Sort by"
  305 +msgstr "Отправлено %s."
  306 +
  307 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:18
  308 +msgid "Date(newest first)"
  309 +msgstr ""
  310 +
  311 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:18
  312 +msgid "Date(oldest first)"
  313 +msgstr ""
  314 +
  315 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:19
  316 +msgid "Client name(A-Z)"
  317 +msgstr ""
  318 +
  319 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:19
  320 +msgid "Client name(Z-A)"
  321 +msgstr ""
  322 +
  323 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:24
  324 +#, fuzzy
  325 +msgid "There are no contracts at all."
  326 +msgstr "У вас еще нет контактов"
  327 +
  328 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:35
  329 +msgid "Are you sure?"
  330 +msgstr ""
  331 +
  332 +#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:45
  333 +#, fuzzy
  334 +msgid "Create new contract"
  335 +msgstr "Создать новое сообщество"
  336 +
  337 +#: plugins/bsc/views/bsc_plugin_myprofile/_similar_enterprises.html.erb:2
  338 +#, fuzzy
  339 +msgid "Existing enterprises:"
  340 +msgstr "Unternehmen ändern"
  341 +
  342 +#: plugins/bsc/views/bsc_plugin_myprofile/_similar_enterprises.html.erb:3
  343 +msgid ""
  344 +"Were found %{count} enterprises with similar names on the same city, you can "
  345 +"decide to associate one of them or create the new enterprise confirming the "
  346 +"informations you typed in."
  347 +msgstr ""
  348 +
  349 +#: plugins/bsc/views/bsc_plugin_myprofile/_similar_enterprises.html.erb:20
  350 +#, fuzzy
  351 +msgid "Associate"
  352 +msgstr "Активировать"
  353 +
  354 +#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:1
  355 +msgid "Transfer Ownership"
  356 +msgstr ""
  357 +
  358 +#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:4
  359 +msgid ""
  360 +"This option allows you to transfer this enterprise's management to another "
  361 +"user. This action will remove all the current administrators. Be careful "
  362 +"when confirming this procedure."
  363 +msgstr ""
  364 +
  365 +#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:8
  366 +#, fuzzy
  367 +msgid "Current administrators:"
  368 +msgstr "Текущие участники"
  369 +
  370 +#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:19
  371 +#, fuzzy
  372 +msgid "Administrator:"
  373 +msgstr "Администраторы:"
  374 +
  375 +#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:22
  376 +msgid "Type in a search term for the new administrator"
  377 +msgstr ""
  378 +
  379 +#: plugins/bsc/views/shared/_fields.html.erb:39
  380 +#, fuzzy
  381 +msgid ""
  382 +"You are about to change the address, and this will break external links to "
  383 +"this bsc or to posts inside it. Do you really want to change?"
  384 +msgstr ""
  385 +"Вы собираетесь сменить адрес, это приведет к разрыву всех внешних ссылок, "
  386 +"ведущих на вашу страницу. Вы уверены?"
  387 +
  388 +#: plugins/bsc/views/bsc_plugin/mailer/admin_notification.html.erb:1
  389 +msgid "The management of %{bsc} was transferred to you."
  390 +msgstr ""
  391 +
  392 +#: plugins/bsc/views/profile/_profile_tab.html.erb:2
  393 +#, fuzzy
  394 +msgid "Contact phone: "
  395 +msgstr "Kontakttelefon:"
  396 +
  397 +#: plugins/bsc/views/profile/_profile_tab.html.erb:3
  398 +#, fuzzy
  399 +msgid "Email: "
  400 +msgstr "E-Mail: %s"
  401 +
  402 +#: plugins/bsc/views/bsc_plugin_admin/new.html.erb:2
  403 +#, fuzzy
  404 +msgid "BSC registration"
  405 +msgstr "Регистрация предприятия"
  406 +
  407 +#: plugins/bsc/views/bsc_plugin_admin/validate_enterprises.html.erb:1
  408 +#, fuzzy
  409 +msgid "Validate enterprises"
  410 +msgstr "Подтвердить компанию"
plugins/bsc/views/bsc_plugin_admin/new.html.erb
@@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@
5 <%= render :partial => 'shared/fields', :locals => {:f => f, :profile => @bsc} %> 5 <%= render :partial => 'shared/fields', :locals => {:f => f, :profile => @bsc} %>
6 6
7 <% button_bar do %> 7 <% button_bar do %>
8 - <%= submit_button('save', _('Save')) %>  
9 - <%= button('cancel', _('Cancel'), {:controller => 'admin_panel'}) %> 8 + <%= submit_button('save', c_('Save')) %>
  9 + <%= button('cancel', c_('Cancel'), {:controller => 'admin_panel'}) %>
10 <% end %> 10 <% end %>
11 <% end %> 11 <% end %>
plugins/bsc/views/bsc_plugin_admin/validate_enterprises.html.erb
@@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
6 :focus => true }) %> 6 :focus => true }) %>
7 7
8 <% button_bar do %> 8 <% button_bar do %>
9 - <%= submit_button('save', _('Save'))%>  
10 - <%= button('cancel', _('Cancel'), {:controller => 'admin_panel'})%> 9 + <%= submit_button('save', c_('Save'))%>
  10 + <%= button('cancel', c_('Cancel'), {:controller => 'admin_panel'})%>
11 <% end %> 11 <% end %>
12 <% end %> 12 <% end %>
plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb
@@ -10,7 +10,7 @@ @@ -10,7 +10,7 @@
10 <%= labelled_form_field(_('Status'), f.select(:status, BscPlugin::Contract::Status.types. 10 <%= labelled_form_field(_('Status'), f.select(:status, BscPlugin::Contract::Status.types.
11 map { |s| [BscPlugin::Contract::Status.names[s], s] })) %> 11 map { |s| [BscPlugin::Contract::Status.names[s], s] })) %>
12 <%= f.text_field(:number_of_producers, :size => 8, :id => 'bsc-plugin-contract-spinner') %> 12 <%= f.text_field(:number_of_producers, :size => 8, :id => 'bsc-plugin-contract-spinner') %>
13 - <%= _('Enterprises')+':' %> 13 + <%= c_('Enterprises')+':' %>
14 14
15 <% search_action = {:action => 'search_contract_enterprises', :profile => profile.identifier} %> 15 <% search_action = {:action => 'search_contract_enterprises', :profile => profile.identifier} %>
16 <%= token_input_field_tag(:enterprises, 'involved-enterprises', search_action, 16 <%= token_input_field_tag(:enterprises, 'involved-enterprises', search_action,
@@ -19,7 +19,7 @@ @@ -19,7 +19,7 @@
19 19
20 <table id="bsc-plugin-sales-table" class="alternate-colors"> 20 <table id="bsc-plugin-sales-table" class="alternate-colors">
21 <tr> 21 <tr>
22 - <th class="bsc-plugin-sales-products-column"><%= _('Products') %></th> 22 + <th class="bsc-plugin-sales-products-column"><%= c_('Products') %></th>
23 <th class="bsc-plugin-sales-quantity-column" ><%= _('Quantity') %></th> 23 <th class="bsc-plugin-sales-quantity-column" ><%= _('Quantity') %></th>
24 <th class="bsc-plugin-sales-price-column" ><%= _('Unit price') %></th> 24 <th class="bsc-plugin-sales-price-column" ><%= _('Unit price') %></th>
25 </tr> 25 </tr>
@@ -34,13 +34,13 @@ @@ -34,13 +34,13 @@
34 34
35 <%= labelled_form_field( _('Supply period'), 35 <%= labelled_form_field( _('Supply period'),
36 text_field_tag('contract[supply_start]', (@contract.supply_start ? @contract.supply_start.strftime("%Y-%m-%d") : nil), :id => 'from', :size => 9) + 36 text_field_tag('contract[supply_start]', (@contract.supply_start ? @contract.supply_start.strftime("%Y-%m-%d") : nil), :id => 'from', :size => 9) +
37 - _(' to ') + 37 + c_(' to ') +
38 text_field_tag('contract[supply_end]', (@contract.supply_end ? @contract.supply_end.strftime("%Y-%m-%d") : nil), :id => 'to', :size => 9) ) 38 text_field_tag('contract[supply_end]', (@contract.supply_end ? @contract.supply_end.strftime("%Y-%m-%d") : nil), :id => 'to', :size => 9) )
39 %> 39 %>
40 40
41 <%= f.text_area(:annotations, :rows => 5, :cols => 68) %> 41 <%= f.text_area(:annotations, :rows => 5, :cols => 68) %>
42 <% button_bar do%> 42 <% button_bar do%>
43 - <%= submit_button(:save, _('Save'), :cancel => {:action => 'manage_contracts'})%> 43 + <%= submit_button(:save, c_('Save'), :cancel => {:action => 'manage_contracts'})%>
44 <% end %> 44 <% end %>
45 <% end %> 45 <% end %>
46 46
@@ -55,8 +55,8 @@ @@ -55,8 +55,8 @@
55 BSCContracts.tokenInputOptions = { 55 BSCContracts.tokenInputOptions = {
56 minChars: 3, 56 minChars: 3,
57 hintText: <%= _('Type in a search term for product').to_json %>, 57 hintText: <%= _('Type in a search term for product').to_json %>,
58 - noResultsText: <%= _("No results").to_json %>,  
59 - searchingText: <%= _("Searching...").to_json %>, 58 + noResultsText: <%= c_("No results").to_json %>,
  59 + searchingText: <%= c_("Searching...").to_json %>,
60 searchDelay: 1000, 60 searchDelay: 1000,
61 preventDuplicates: true, 61 preventDuplicates: true,
62 backspaceDeleteItem: false, 62 backspaceDeleteItem: false,
plugins/bsc/views/bsc_plugin_myprofile/create_enterprise.html.erb
@@ -9,12 +9,12 @@ @@ -9,12 +9,12 @@
9 <%= required f.text_field 'name', :onchange => "updateUrlField(this, 'create_enterprise_identifier')", :size => 40 %> 9 <%= required f.text_field 'name', :onchange => "updateUrlField(this, 'create_enterprise_identifier')", :size => 40 %>
10 <%= render :partial => 'shared/organization_custom_fields', :locals => { :f => f, :object_name => :create_enterprise, :profile => @create_enterprise } %> 10 <%= render :partial => 'shared/organization_custom_fields', :locals => { :f => f, :object_name => :create_enterprise, :profile => @create_enterprise } %>
11 <p style="border-bottom: 2px solid #babdb6"></p> 11 <p style="border-bottom: 2px solid #babdb6"></p>
12 - <%= required labelled_form_field(_('Address'), content_tag('code', environment.top_url + "/" + text_field(:create_enterprise, 'identifier', :size => 26))) %> 12 + <%= required labelled_form_field(c_('Address'), content_tag('code', environment.top_url + "/" + text_field(:create_enterprise, 'identifier', :size => 26))) %>
13 <p style="border-bottom: 2px solid #babdb6"></p> 13 <p style="border-bottom: 2px solid #babdb6"></p>
14 <%= render :partial => 'similar_enterprises', :locals => {:bsc => profile}%> 14 <%= render :partial => 'similar_enterprises', :locals => {:bsc => profile}%>
15 15
16 <% button_bar do %> 16 <% button_bar do %>
17 - <%= submit_button('save', _('Save'), :cancel => {:controller => 'profile_editor', :profile => profile.identifier}) %> 17 + <%= submit_button('save', c_('Save'), :cancel => {:controller => 'profile_editor', :profile => profile.identifier}) %>
18 <% end %> 18 <% end %>
19 <% end %> 19 <% end %>
20 20
plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb
@@ -19,8 +19,8 @@ @@ -19,8 +19,8 @@
19 <%= button('add', _('Add new enterprise'), {:action => 'create_enterprise'}) %> 19 <%= button('add', _('Add new enterprise'), {:action => 'create_enterprise'}) %>
20 20
21 <% button_bar do %> 21 <% button_bar do %>
22 - <%= submit_button('save', _('Save'))%>  
23 - <%= button('cancel', _('Cancel'), {:controller => 'profile_editor'})%> 22 + <%= submit_button('save', c_('Save'))%>
  23 + <%= button('cancel', c_('Cancel'), {:controller => 'profile_editor'})%>
24 <% end %> 24 <% end %>
25 25
26 <% end %> 26 <% end %>
plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb
@@ -9,7 +9,7 @@ @@ -9,7 +9,7 @@
9 <br style="clear:both" /> 9 <br style="clear:both" />
10 <% end %> 10 <% end %>
11 <br style="clear:both" /> 11 <br style="clear:both" />
12 - <%= submit_button(:save, _('Filter')) %> 12 + <%= submit_button(:save, c_('Filter')) %>
13 </div> 13 </div>
14 14
15 <div id='bsc-plugin-contracts-results'> 15 <div id='bsc-plugin-contracts-results'>
@@ -31,8 +31,8 @@ @@ -31,8 +31,8 @@
31 <%= content_tag('i', show_date(contract.created_at)) %> 31 <%= content_tag('i', show_date(contract.created_at)) %>
32 </td> 32 </td>
33 <td class="links"> 33 <td class="links">
34 - <%= link_to(_('Edit'), :action => 'edit_contract', :contract_id => contract.id)%>  
35 - <%= link_to(_('Remove'), {:action => 'destroy_contract', :contract_id => contract.id}, :confirm => _('Are you sure?'))%> 34 + <%= link_to(c_('Edit'), :action => 'edit_contract', :contract_id => contract.id)%>
  35 + <%= link_to(c_('Remove'), {:action => 'destroy_contract', :contract_id => contract.id}, :confirm => _('Are you sure?'))%>
36 </td> 36 </td>
37 </tr> 37 </tr>
38 <% end %> 38 <% end %>
@@ -41,7 +41,7 @@ @@ -41,7 +41,7 @@
41 <% end %> 41 <% end %>
42 42
43 <% button_bar do %> 43 <% button_bar do %>
44 - <%= button(:back, _('Go back'), :controller => 'profile_editor') %> 44 + <%= button(:back, c_('Go back'), :controller => 'profile_editor') %>
45 <%= button(:new, _('Create new contract'), :action => 'new_contract')%> 45 <%= button(:new, _('Create new contract'), :action => 'new_contract')%>
46 <% end %> 46 <% end %>
47 </div> 47 </div>
plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb
@@ -26,7 +26,7 @@ @@ -26,7 +26,7 @@
26 <% end %> 26 <% end %>
27 27
28 <% button_bar do %> 28 <% button_bar do %>
29 - <%= submit_button('save', _('Save'))%>  
30 - <%= button('cancel', _('Cancel'), {:controller => 'profile_editor'})%> 29 + <%= submit_button('save', c_('Save'))%>
  30 + <%= button('cancel', c_('Cancel'), {:controller => 'profile_editor'})%>
31 <% end %> 31 <% end %>
32 <% end %> 32 <% end %>
plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb
@@ -6,8 +6,8 @@ @@ -6,8 +6,8 @@
6 </tr> 6 </tr>
7 <%= display_text_field(_('Client type'), BscPlugin::Contract::ClientType.names[@contract.client_type]) %> 7 <%= display_text_field(_('Client type'), BscPlugin::Contract::ClientType.names[@contract.client_type]) %>
8 <%= display_text_field(_('Business type'), BscPlugin::Contract::BusinessType.names[@contract.business_type]) %> 8 <%= display_text_field(_('Business type'), BscPlugin::Contract::BusinessType.names[@contract.business_type]) %>
9 - <%= display_text_field(_('State'), @contract.state) %>  
10 - <%= display_text_field(_('City'), @contract.city) %> 9 + <%= display_text_field(c_('State'), @contract.state) %>
  10 + <%= display_text_field(c_('City'), @contract.city) %>
11 <%= display_text_field(_('Status'), BscPlugin::Contract::Status.names[@contract.status]) %> 11 <%= display_text_field(_('Status'), BscPlugin::Contract::Status.names[@contract.status]) %>
12 <%= display_text_field(_('Number of producers'), @contract.number_of_producers) %> 12 <%= display_text_field(_('Number of producers'), @contract.number_of_producers) %>
13 <%= display_text_field(_('Supply period'), show_period(@contract.supply_start, @contract.supply_end, true)) %> 13 <%= display_text_field(_('Supply period'), show_period(@contract.supply_start, @contract.supply_end, true)) %>
@@ -15,7 +15,7 @@ @@ -15,7 +15,7 @@
15 15
16 <table class='bsc-fields-table' style="float: right;"> 16 <table class='bsc-fields-table' style="float: right;">
17 <tr> 17 <tr>
18 - <th colspan='2'><%= _('Enterprises') %></th> 18 + <th colspan='2'><%= c_('Enterprises') %></th>
19 </tr> 19 </tr>
20 <%= display_list_field(@contract.enterprises.map {|enterprise| link_to(enterprise.short_name(60), enterprise.url)}) %> 20 <%= display_list_field(@contract.enterprises.map {|enterprise| link_to(enterprise.short_name(60), enterprise.url)}) %>
21 </table> 21 </table>
@@ -23,7 +23,7 @@ @@ -23,7 +23,7 @@
23 <% if !@contract.sales.blank?%> 23 <% if !@contract.sales.blank?%>
24 <table id='bsc-plugin-sales-table' class="bsc-plugin-view-contract alternate-colors"> 24 <table id='bsc-plugin-sales-table' class="bsc-plugin-view-contract alternate-colors">
25 <tr> 25 <tr>
26 - <th><%= _('Product') %></th> 26 + <th><%= c_('Product') %></th>
27 <th align="center"><%= _('Quantity') %></th> 27 <th align="center"><%= _('Quantity') %></th>
28 <th><%= _('Unit price') %></th> 28 <th><%= _('Unit price') %></th>
29 </tr> 29 </tr>
@@ -51,5 +51,5 @@ @@ -51,5 +51,5 @@
51 <% end %> 51 <% end %>
52 52
53 <% button_bar do %> 53 <% button_bar do %>
54 - <%= button(:back, _('Go back'), :action => 'manage_contracts') %> 54 + <%= button(:back, c_('Go back'), :action => 'manage_contracts') %>
55 <% end %> 55 <% end %>
plugins/bsc/views/profile/_profile_tab.html.erb
1 <ul> 1 <ul>
2 <%= content_tag('li', content_tag('b', _('Contact phone: ')) + profile.contact_phone) if !profile.contact_phone.blank? %> 2 <%= content_tag('li', content_tag('b', _('Contact phone: ')) + profile.contact_phone) if !profile.contact_phone.blank? %>
3 <%= content_tag('li', content_tag('b', _('Email: ')) + profile.contact_email) if !profile.contact_email.blank? %> 3 <%= content_tag('li', content_tag('b', _('Email: ')) + profile.contact_email) if !profile.contact_email.blank? %>
4 - <%= content_tag('li', content_tag('b', _('Location: ')) + profile.state) if !profile.state.blank? %>  
5 - <%= content_tag('li', content_tag('b', _('Address: ')) + profile.address) if !profile.address.blank? %> 4 + <%= content_tag('li', content_tag('b', c_('Location: ')) + profile.state) if !profile.state.blank? %>
  5 + <%= content_tag('li', content_tag('b', c_('Address: ')) + profile.address) if !profile.address.blank? %>
6 </ul> 6 </ul>
plugins/bsc/views/shared/_fields.html.erb
@@ -35,11 +35,11 @@ @@ -35,11 +35,11 @@
35 text_field(:profile_data, :identifier, :onchange => "warn_value_change()", :size => 25) 35 text_field(:profile_data, :identifier, :onchange => "warn_value_change()", :size => 25)
36 ) + 36 ) +
37 content_tag('div', 37 content_tag('div',
38 - content_tag('strong', _('WARNING!')) + '&nbsp;' + 38 + content_tag('strong', c_('WARNING!')) + '&nbsp;' +
39 _("You are about to change the address, and this will break external links to this bsc or to posts inside it. Do you really want to change?") + 39 _("You are about to change the address, and this will break external links to this bsc or to posts inside it. Do you really want to change?") +
40 content_tag('div', 40 content_tag('div',
41 - button_to_function(:ok, _("Yes"), "confirm_change()") + ' ' +  
42 - button_to_function(:cancel, _('No'), 'no_change()') 41 + button_to_function(:ok, c_("Yes"), "confirm_change()") + ' ' +
  42 + button_to_function(:cancel, c_('No'), 'no_change()')
43 ), 43 ),
44 :id => 'identifier-change-confirmation', 44 :id => 'identifier-change-confirmation',
45 :class => 'change-confirmation', 45 :class => 'change-confirmation',
@@ -57,10 +57,10 @@ @@ -57,10 +57,10 @@
57 </fieldset> 57 </fieldset>
58 58
59 <fieldset> 59 <fieldset>
60 - <legend><%= _('Location')%></legend> 60 + <legend><%= c_('Location')%></legend>
61 <%= f.text_field(:address) %> 61 <%= f.text_field(:address) %>
62 <%= f.text_field(:zip_code) %> 62 <%= f.text_field(:zip_code) %>
63 <%= f.text_field(:city) %> 63 <%= f.text_field(:city) %>
64 <%= f.text_field(:state) %> 64 <%= f.text_field(:state) %>
65 - <%= select_country(_('Country'), :profile_data, 'country', {:class => 'type-select'}) %> 65 + <%= select_country(c_('Country'), :profile_data, 'country', {:class => 'type-select'}) %>
66 </fieldset> 66 </fieldset>
plugins/classify_members/README 0 → 100644
@@ -0,0 +1,7 @@ @@ -0,0 +1,7 @@
  1 +Classify Members
  2 +Plugin that allows the association of communities with types of user profiles to classify and highlight them within the environment.
  3 +
  4 + * In a school env we want to visit a profile and know it is a teacher or a student.
  5 + * In a enterprise env we want to view a forum comment and know it comes from a director or a lawyer.
  6 +
  7 +This plugin will allow the admin to select communities for classification. When the user enter in one of these communities, its profile pages comes with a community related class allowing the theme to adapt it. Also the picture block and other places where the user picture is displayed will have labels like "Teacher" or "Lawyer", also themable with css.
plugins/classify_members/controllers/classify_members_plugin_admin_controller.rb 0 → 100644
@@ -0,0 +1,12 @@ @@ -0,0 +1,12 @@
  1 +class ClassifyMembersPluginAdminController < PluginsController
  2 + def index
  3 + @settings ||= Noosfero::Plugin::Settings.new(
  4 + environment, ClassifyMembersPlugin, params[:settings]
  5 + )
  6 +
  7 + if request.post?
  8 + @settings.save!
  9 + redirect_to :controller => 'plugins', :action => 'index'
  10 + end
  11 + end
  12 +end
plugins/classify_members/lib/classify_members_plugin.rb 0 → 100644
@@ -0,0 +1,78 @@ @@ -0,0 +1,78 @@
  1 +class ClassifyMembersPlugin < Noosfero::Plugin
  2 + def self.plugin_name
  3 + _("Classify Members")
  4 + end
  5 +
  6 + def self.plugin_description
  7 + _("Allows the association of communities with types of user profiles to classify and highlight them within the environment.")
  8 + end
  9 +
  10 + def html_tag_classes
  11 + plugin = self
  12 + lambda do
  13 + if profile && profile.person?
  14 + plugin.find_community(profile).map do |community, community_label|
  15 + 'member-of-' + community.identifier
  16 + end
  17 + end
  18 + end
  19 + end
  20 +
  21 + def body_beginning
  22 + plugin = self
  23 + lambda do
  24 + if profile && profile.person?
  25 + javascript_tag("
  26 + jQuery(function(){
  27 + jQuery('<div class=\"cmm-member-tags\"><ul class=\"cmm-member-list\"></ul></div>').insertBefore(
  28 + '.profile-image-block .vcard .profile-info-options'
  29 + );
  30 + });\n" +
  31 + plugin.find_community(profile).map do |community, community_label|
  32 + "jQuery(function(){
  33 + jQuery('.cmm-member-list').prepend(
  34 + '<li>' + '#{link_to '<i></i>' + community_label,
  35 + {:profile => community.identifier, :controller => 'profile', :action => 'members'},
  36 + :class => 'member-of-' + community.identifier}' + '</li>'
  37 + );
  38 + });"
  39 + end.join("\n")
  40 + )
  41 + else
  42 + '<!-- ClassCommunityPlugin not in a profile -->'
  43 + end
  44 + end
  45 + end
  46 +
  47 + def settings
  48 + @settings ||= Noosfero::Plugin::Settings.new(
  49 + context.environment, ClassifyMembersPlugin
  50 + )
  51 + end
  52 +
  53 + def communities
  54 + communities = settings.communities
  55 +
  56 + return [] if communities.blank?
  57 +
  58 + communities.split(/\s*\n\s*/).map do |community|
  59 + community = community.split(/\s*:\s*/)
  60 + community[0] = Profile[community[0].to_s.strip]
  61 + community[1] = community[1].to_s.strip
  62 +
  63 + if community[0].blank?
  64 + nil
  65 + else
  66 + community[1] = community[0].name if community[1].blank?
  67 + community
  68 + end
  69 + end.compact
  70 + end
  71 +
  72 + def find_community(profile)
  73 + communities.map do |community|
  74 + profile.is_member_of?(community[0]) ? community : nil
  75 + end.compact
  76 + end
  77 +
  78 +end
plugins/classify_members/test/functional/classify_members_plugin_test.rb 0 → 100644
@@ -0,0 +1,45 @@ @@ -0,0 +1,45 @@
  1 +require File.dirname(__FILE__) + '/../../../../test/test_helper'
  2 +
  3 +# Re-raise errors caught by the controller.
  4 +class HomeController
  5 + def rescue_action(e)
  6 + raise e
  7 + end
  8 +end
  9 +
  10 +class ProfileControllerTest < ActionController::TestCase
  11 + def setup
  12 + @env = Environment.default
  13 + @env.enable_plugin('ClassifyMembersPlugin')
  14 +
  15 + @p1 = fast_create(Person, :environment_id => @env.id)
  16 + @p2 = fast_create(Person, :environment_id => @env.id)
  17 + @c1 = fast_create(Community, :environment_id => @env.id)
  18 + @c2 = fast_create(Community, :environment_id => @env.id)
  19 +
  20 + # Register cassification communities:
  21 + ClassifyMembersPlugin.new(self).settings.communities = "#{@c1.identifier}: Test-Tag"
  22 + @env.save!
  23 +
  24 + @c1.add_member @p1
  25 + @c2.add_member @p1
  26 + @c2.add_member @p2
  27 + end
  28 +
  29 + def environment
  30 + @env
  31 + end
  32 +
  33 + should 'add classification to the <html>' do
  34 + get :index, :profile => @p1.identifier
  35 +
  36 + assert_select 'html.member-of-' + @c1.identifier
  37 + assert_select 'html.member-of-' + @c2.identifier, false
  38 + end
  39 +
  40 + should 'not add classification to a non member' do
  41 + get :index, :profile=>@p2.identifier
  42 +
  43 + assert_select 'html.member-of-' + @c1.identifier, false
  44 + end
  45 +end
plugins/classify_members/test/unit/classify_members_plugin_test.rb 0 → 100644
@@ -0,0 +1,46 @@ @@ -0,0 +1,46 @@
  1 +require File.dirname(__FILE__) + '/../../../../test/test_helper'
  2 +
  3 +class ClassifyMembersPluginTest < ActiveSupport::TestCase
  4 + def setup
  5 + @env = fast_create(Environment)
  6 + @p1 = fast_create(Person, :environment_id => @env.id)
  7 + @c1 = fast_create(Community, :environment_id => @env.id)
  8 + @c2 = fast_create(Community, :environment_id => @env.id)
  9 + @c3 = fast_create(Community, :environment_id => @env.id)
  10 + @plugin = ClassifyMembersPlugin.new self
  11 + end
  12 +
  13 + def environment
  14 + @env
  15 + end
  16 +
  17 + should 'not crash for nil setting' do
  18 + assert_equal [], @plugin.find_community(@p1)
  19 + end
  20 +
  21 + should 'list all classification communities' do
  22 + @plugin.settings.communities = "
  23 + #{@c1.identifier}: Tag1
  24 + #{@c2.identifier}
  25 + "
  26 + @env.save!
  27 +
  28 + assert_equal [[@c1, 'Tag1'], [@c2, @c2.name]], @plugin.communities
  29 + end
  30 +
  31 + should 'list the classification communities for a person' do
  32 + @c1.add_member @p1
  33 + @c2.add_member @p1
  34 + @p1.stubs(:is_member_of?).returns(false)
  35 + @p1.stubs(:is_member_of?).with(@c1).returns(true)
  36 + @p1.stubs(:is_member_of?).with(@c2).returns(true)
  37 + @plugin.settings.communities = "
  38 + #{@c1.identifier}: Tag1
  39 + #{@c2.identifier}: Tag2
  40 + #{@c3.identifier}: Tag3
  41 + "
  42 + @env.save!
  43 +
  44 + assert_equal [[@c1, 'Tag1'], [@c2, 'Tag2']], @plugin.find_community(@p1)
  45 + end
  46 +end
plugins/classify_members/views/classify_members_plugin_admin/index.html.erb 0 → 100644
@@ -0,0 +1,22 @@ @@ -0,0 +1,22 @@
  1 +<h1><%= _("Classify Members Plugin's config") %></h1>
  2 +
  3 +<%= form_for(:settings) do |f| %>
  4 +
  5 + <%= labelled_form_field _('Communities to classify people:'), f.text_area(:communities) %>
  6 +
  7 + <p><%=
  8 + _('List of community identifiers and the applicable person label, line by line.')
  9 + %></p>
  10 +
  11 + <fieldset>
  12 + <legend><%=_('Example:')%></legend>
  13 + <%=_('teachers: Teacher')%> <br>
  14 + <%=_('office-lawyers: Lawyer')%> <br>
  15 + <%=_('salvador-ba: Soteropolitano')%>
  16 + </fieldset>
  17 +
  18 + <% button_bar do %>
  19 + <%= submit_button(:save, _('Save'), :cancel => {:controller => 'plugins', :action => 'index'}) %>
  20 + <% end %>
  21 +
  22 +<% end %>
plugins/comment_classification/po/de/comment_classification.po 0 → 100644
@@ -0,0 +1,230 @@ @@ -0,0 +1,230 @@
  1 +# German translation of noosfero.
  2 +# Copyright (C) 2009-2013 Josef Spillner
  3 +# Copyright (C) 2009, 2011 Ronny Kursawe
  4 +# This file is distributed under the same license as the noosfero package.
  5 +# Josef Spillner <josef.spillner@tu-dresden.de>, 2009.
  6 +#
  7 +msgid ""
  8 +msgstr ""
  9 +"Project-Id-Version: 1.0\n"
  10 +"POT-Creation-Date: 2015-01-15 10:59-0300\n"
  11 +"PO-Revision-Date: 2014-12-12 14:23+0200\n"
  12 +"Last-Translator: Michal Čihař <michal@cihar.com>\n"
  13 +"Language-Team: German <https://hosted.weblate.org/projects/noosfero/noosfero/"
  14 +"de/>\n"
  15 +"Language: de\n"
  16 +"MIME-Version: 1.0\n"
  17 +"Content-Type: text/plain; charset=UTF-8\n"
  18 +"Content-Transfer-Encoding: 8bit\n"
  19 +"Plural-Forms: nplurals=2; plural=n != 1;\n"
  20 +"X-Generator: Weblate 2.2-dev\n"
  21 +
  22 +#: plugins/comment_classification/lib/comment_classification_plugin.rb:11
  23 +#, fuzzy
  24 +msgid "A plugin that allow classification of comments."
  25 +msgstr "Ein Block, der Ihre Gruppen anzeigt"
  26 +
  27 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_labels_controller.rb:16
  28 +#, fuzzy
  29 +msgid "Label created"
  30 +msgstr "Lizenz erstellt"
  31 +
  32 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_labels_controller.rb:19
  33 +#, fuzzy
  34 +msgid "Label could not be created"
  35 +msgstr "Die Lizenz konnte nicht erstellt werden"
  36 +
  37 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_labels_controller.rb:31
  38 +#, fuzzy
  39 +msgid "Label updated"
  40 +msgstr "Letzte Änderung"
  41 +
  42 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_labels_controller.rb:34
  43 +#, fuzzy
  44 +msgid "Failed to edit label"
  45 +msgstr "Änderung der Aufgabe fehlgeschlagen"
  46 +
  47 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_labels_controller.rb:45
  48 +#, fuzzy
  49 +msgid "Label removed"
  50 +msgstr "Lizenz entfernt"
  51 +
  52 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_labels_controller.rb:47
  53 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_labels_controller.rb:50
  54 +#, fuzzy
  55 +msgid "Label could not be removed"
  56 +msgstr "Lizenz konnte nicht entfernt werden"
  57 +
  58 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_status_controller.rb:15
  59 +#, fuzzy
  60 +msgid "Status created"
  61 +msgstr "Vertrag erstellt."
  62 +
  63 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_status_controller.rb:18
  64 +#, fuzzy
  65 +msgid "Status could not be created"
  66 +msgstr "Das Formular konnte nicht erstellt werden"
  67 +
  68 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_status_controller.rb:29
  69 +#, fuzzy
  70 +msgid "Status updated"
  71 +msgstr "Startdatum"
  72 +
  73 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_status_controller.rb:32
  74 +#, fuzzy
  75 +msgid "Failed to edit status"
  76 +msgstr "Änderung der Aufgabe fehlgeschlagen"
  77 +
  78 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_status_controller.rb:43
  79 +#, fuzzy
  80 +msgid "Status removed"
  81 +msgstr "Vertrag entfernt."
  82 +
  83 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_status_controller.rb:45
  84 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_status_controller.rb:48
  85 +#, fuzzy
  86 +msgid "Status could not be removed"
  87 +msgstr "Das Formular konnte nicht entfernt werden"
  88 +
  89 +#: plugins/comment_classification/views/comment_classification_plugin_myprofile/_status_form.html.erb:6
  90 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:9
  91 +#: plugins/comment_classification/views/comment/comment_extra.html.erb:12
  92 +msgid "Status"
  93 +msgstr "Status"
  94 +
  95 +#: plugins/comment_classification/views/comment_classification_plugin_myprofile/_status_form.html.erb:7
  96 +#, fuzzy
  97 +msgid "Reason:"
  98 +msgstr "Grund"
  99 +
  100 +#: plugins/comment_classification/views/comment_classification_plugin_myprofile/add_status.html.erb:1
  101 +#, fuzzy
  102 +msgid "Status for comment"
  103 +msgstr "Spam auf Kommentaren"
  104 +
  105 +#: plugins/comment_classification/views/comment_classification_plugin_myprofile/add_status.html.erb:16
  106 +msgid ""
  107 +"<i>%{user}</i> added the status <i>%{status_name}</i> at <i>%{created_at}</"
  108 +"i>."
  109 +msgstr ""
  110 +
  111 +#: plugins/comment_classification/views/comment_classification_plugin_myprofile/add_status.html.erb:18
  112 +msgid "<i>Reason:</i> %s"
  113 +msgstr ""
  114 +
  115 +#: plugins/comment_classification/views/comment_classification_plugin_myprofile/add_status.html.erb:24
  116 +#: plugins/comment_classification/views/comment_classification_plugin_status/create.html.erb:1
  117 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:29
  118 +#, fuzzy
  119 +msgid "Add a new status"
  120 +msgstr "Neue Option hinzufügen"
  121 +
  122 +#: plugins/comment_classification/views/comment_classification_plugin_myprofile/index.html.erb:1
  123 +#, fuzzy
  124 +msgid "Manage comment classification"
  125 +msgstr "Verwaltungsinformationen"
  126 +
  127 +#: plugins/comment_classification/views/comment_classification_plugin_labels/_form.html.erb:6
  128 +#: plugins/comment_classification/views/comment_classification_plugin_status/_form.html.erb:6
  129 +msgid "Name"
  130 +msgstr ""
  131 +
  132 +#: plugins/comment_classification/views/comment_classification_plugin_labels/_form.html.erb:7
  133 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:10
  134 +msgid "Color"
  135 +msgstr ""
  136 +
  137 +#: plugins/comment_classification/views/comment_classification_plugin_labels/_form.html.erb:8
  138 +#, fuzzy
  139 +msgid "Enable this label?"
  140 +msgstr "Unternehmen aktivieren"
  141 +
  142 +#: plugins/comment_classification/views/comment_classification_plugin_labels/edit.html.erb:1
  143 +#, fuzzy
  144 +msgid "Editing label %s"
  145 +msgstr "Ändere %s"
  146 +
  147 +#: plugins/comment_classification/views/comment_classification_plugin_labels/create.html.erb:1
  148 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:29
  149 +#, fuzzy
  150 +msgid "Add a new label"
  151 +msgstr "Neues Feld hinzufügen"
  152 +
  153 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:1
  154 +#, fuzzy
  155 +msgid "Manage comments labels"
  156 +msgstr "Communityfelder verwalten"
  157 +
  158 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:5
  159 +#, fuzzy
  160 +msgid "(no label registered yet)"
  161 +msgstr "(bisher kein Produkt registriert)"
  162 +
  163 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:9
  164 +#: plugins/comment_classification/views/comment/comments_labels_select.html.erb:3
  165 +msgid "Label"
  166 +msgstr ""
  167 +
  168 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:11
  169 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:10
  170 +msgid "Enabled"
  171 +msgstr "Aktiviert"
  172 +
  173 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:12
  174 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:12
  175 +msgid "Actions"
  176 +msgstr ""
  177 +
  178 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:21
  179 +#, fuzzy
  180 +msgid "Are you sure you want to remove this label?"
  181 +msgstr "Sind Sie sicher, dass Sie diesen Block löschen wollen?"
  182 +
  183 +#: plugins/comment_classification/views/comment_classification_plugin_status/_form.html.erb:7
  184 +#, fuzzy
  185 +msgid "Enable this status?"
  186 +msgstr "\"Kontaktieren Sie uns\" aktivieren"
  187 +
  188 +#: plugins/comment_classification/views/comment_classification_plugin_status/edit.html.erb:1
  189 +#, fuzzy
  190 +msgid "Editing status %s"
  191 +msgstr "Ändere %s"
  192 +
  193 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:1
  194 +#, fuzzy
  195 +msgid "Manage comments status"
  196 +msgstr "Kontakte verwalten"
  197 +
  198 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:5
  199 +#, fuzzy
  200 +msgid "(no status registered yet)"
  201 +msgstr "(bisher kein Produkt registriert)"
  202 +
  203 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:11
  204 +#, fuzzy
  205 +msgid "Reason enabled?"
  206 +msgstr "facets|Nicht aktiviert"
  207 +
  208 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:21
  209 +#, fuzzy
  210 +msgid "Are you sure you want to remove this status?"
  211 +msgstr "Sind Sie sicher, dass Sie diesen Eintrag entfernen möchten?"
  212 +
  213 +#: plugins/comment_classification/views/comment/comments_labels_select.html.erb:3
  214 +msgid "[Select ...]"
  215 +msgstr ""
  216 +
  217 +#: plugins/comment_classification/views/comment_classification_plugin_admin/index.html.erb:1
  218 +#, fuzzy
  219 +msgid "Comments classification options"
  220 +msgstr "Moderationseinstellungen"
  221 +
  222 +#: plugins/comment_classification/views/comment_classification_plugin_admin/index.html.erb:4
  223 +#, fuzzy
  224 +msgid "Manage Labels"
  225 +msgstr "Felder verwalten"
  226 +
  227 +#: plugins/comment_classification/views/comment_classification_plugin_admin/index.html.erb:5
  228 +#, fuzzy
  229 +msgid "Manage Status"
  230 +msgstr "Kontakte verwalten"
plugins/comment_classification/po/es/comment_classification.po 0 → 100644
@@ -0,0 +1,233 @@ @@ -0,0 +1,233 @@
  1 +# SOME DESCRIPTIVE TITLE.
  2 +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
  3 +# This file is distributed under the same license as the PACKAGE package.
  4 +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
  5 +#
  6 +msgid ""
  7 +msgstr ""
  8 +"Project-Id-Version: 1.0\n"
  9 +"POT-Creation-Date: 2015-01-15 10:59-0300\n"
  10 +"PO-Revision-Date: 2014-11-03 15:52+0200\n"
  11 +"Last-Translator: Michal Čihař <michal@cihar.com>\n"
  12 +"Language-Team: Spanish <https://hosted.weblate.org/projects/noosfero/"
  13 +"noosfero/es/>\n"
  14 +"Language: es\n"
  15 +"MIME-Version: 1.0\n"
  16 +"Content-Type: text/plain; charset=UTF-8\n"
  17 +"Content-Transfer-Encoding: 8bit\n"
  18 +"Plural-Forms: nplurals=2; plural=n != 1;\n"
  19 +"X-Generator: Weblate 2.0-dev\n"
  20 +
  21 +#: plugins/comment_classification/lib/comment_classification_plugin.rb:11
  22 +#, fuzzy
  23 +msgid "A plugin that allow classification of comments."
  24 +msgstr "Un bloque que muestra tus grupos"
  25 +
  26 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_labels_controller.rb:16
  27 +#, fuzzy
  28 +msgid "Label created"
  29 +msgstr "Licencia"
  30 +
  31 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_labels_controller.rb:19
  32 +#, fuzzy
  33 +msgid "Label could not be created"
  34 +msgstr "%s no pudo ser actualizado"
  35 +
  36 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_labels_controller.rb:31
  37 +#, fuzzy
  38 +msgid "Label updated"
  39 +msgstr "Última actualización"
  40 +
  41 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_labels_controller.rb:34
  42 +#, fuzzy
  43 +msgid "Failed to edit label"
  44 +msgstr "No se pudo editar el rol"
  45 +
  46 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_labels_controller.rb:45
  47 +#, fuzzy
  48 +msgid "Label removed"
  49 +msgstr "Artículo eliminado."
  50 +
  51 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_labels_controller.rb:47
  52 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_labels_controller.rb:50
  53 +#, fuzzy
  54 +msgid "Label could not be removed"
  55 +msgstr "%s no pudo ser actualizado"
  56 +
  57 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_status_controller.rb:15
  58 +#, fuzzy
  59 +msgid "Status created"
  60 +msgstr "Contrato creado."
  61 +
  62 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_status_controller.rb:18
  63 +#, fuzzy
  64 +msgid "Status could not be created"
  65 +msgstr "%s no pudo ser actualizado"
  66 +
  67 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_status_controller.rb:29
  68 +#, fuzzy
  69 +msgid "Status updated"
  70 +msgstr "Fecha de inicio"
  71 +
  72 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_status_controller.rb:32
  73 +#, fuzzy
  74 +msgid "Failed to edit status"
  75 +msgstr "No se pudo editar el rol"
  76 +
  77 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_status_controller.rb:43
  78 +#, fuzzy
  79 +msgid "Status removed"
  80 +msgstr "Contrato eliminado."
  81 +
  82 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_status_controller.rb:45
  83 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_status_controller.rb:48
  84 +#, fuzzy
  85 +msgid "Status could not be removed"
  86 +msgstr "El contrato no puede ser eliminado. ¡Perdón! ^^"
  87 +
  88 +#: plugins/comment_classification/views/comment_classification_plugin_myprofile/_status_form.html.erb:6
  89 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:9
  90 +#: plugins/comment_classification/views/comment/comment_extra.html.erb:12
  91 +msgid "Status"
  92 +msgstr "Estado"
  93 +
  94 +#: plugins/comment_classification/views/comment_classification_plugin_myprofile/_status_form.html.erb:7
  95 +#, fuzzy
  96 +msgid "Reason:"
  97 +msgstr "Razón"
  98 +
  99 +#: plugins/comment_classification/views/comment_classification_plugin_myprofile/add_status.html.erb:1
  100 +#, fuzzy
  101 +msgid "Status for comment"
  102 +msgstr "sin comentarios"
  103 +
  104 +#: plugins/comment_classification/views/comment_classification_plugin_myprofile/add_status.html.erb:16
  105 +msgid ""
  106 +"<i>%{user}</i> added the status <i>%{status_name}</i> at <i>%{created_at}</"
  107 +"i>."
  108 +msgstr ""
  109 +
  110 +#: plugins/comment_classification/views/comment_classification_plugin_myprofile/add_status.html.erb:18
  111 +msgid "<i>Reason:</i> %s"
  112 +msgstr ""
  113 +
  114 +#: plugins/comment_classification/views/comment_classification_plugin_myprofile/add_status.html.erb:24
  115 +#: plugins/comment_classification/views/comment_classification_plugin_status/create.html.erb:1
  116 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:29
  117 +#, fuzzy
  118 +msgid "Add a new status"
  119 +msgstr "Añadir nuevo producto"
  120 +
  121 +#: plugins/comment_classification/views/comment_classification_plugin_myprofile/index.html.erb:1
  122 +#, fuzzy
  123 +msgid "Manage comment classification"
  124 +msgstr "Información de gestión"
  125 +
  126 +#: plugins/comment_classification/views/comment_classification_plugin_labels/_form.html.erb:6
  127 +#: plugins/comment_classification/views/comment_classification_plugin_status/_form.html.erb:6
  128 +msgid "Name"
  129 +msgstr ""
  130 +
  131 +#: plugins/comment_classification/views/comment_classification_plugin_labels/_form.html.erb:7
  132 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:10
  133 +msgid "Color"
  134 +msgstr ""
  135 +
  136 +#: plugins/comment_classification/views/comment_classification_plugin_labels/_form.html.erb:8
  137 +#, fuzzy
  138 +msgid "Enable this label?"
  139 +msgstr "Habilitar correo electrónico"
  140 +
  141 +#: plugins/comment_classification/views/comment_classification_plugin_labels/edit.html.erb:1
  142 +#, fuzzy
  143 +msgid "Editing label %s"
  144 +msgstr "Editando %s"
  145 +
  146 +#: plugins/comment_classification/views/comment_classification_plugin_labels/create.html.erb:1
  147 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:29
  148 +#, fuzzy
  149 +msgid "Add a new label"
  150 +msgstr "Agregar un archivo CSS"
  151 +
  152 +# pendiente
  153 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:1
  154 +#, fuzzy
  155 +msgid "Manage comments labels"
  156 +msgstr "Manejar los campos de la comunidad"
  157 +
  158 +# Le ponemos "no registrado" o "sin registrar"? O no especificado?
  159 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:5
  160 +#, fuzzy
  161 +msgid "(no label registered yet)"
  162 +msgstr "(producto no registrado aun)"
  163 +
  164 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:9
  165 +#: plugins/comment_classification/views/comment/comments_labels_select.html.erb:3
  166 +msgid "Label"
  167 +msgstr ""
  168 +
  169 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:11
  170 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:10
  171 +msgid "Enabled"
  172 +msgstr "Habilitado"
  173 +
  174 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:12
  175 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:12
  176 +msgid "Actions"
  177 +msgstr ""
  178 +
  179 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:21
  180 +#, fuzzy
  181 +msgid "Are you sure you want to remove this label?"
  182 +msgstr "¿Estás seguro de que deseas eliminar este bloque?"
  183 +
  184 +#: plugins/comment_classification/views/comment_classification_plugin_status/_form.html.erb:7
  185 +#, fuzzy
  186 +msgid "Enable this status?"
  187 +msgstr "Habilitar \"contáctanos\""
  188 +
  189 +#: plugins/comment_classification/views/comment_classification_plugin_status/edit.html.erb:1
  190 +#, fuzzy
  191 +msgid "Editing status %s"
  192 +msgstr "Editando %s"
  193 +
  194 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:1
  195 +#, fuzzy
  196 +msgid "Manage comments status"
  197 +msgstr "Administrar contactos"
  198 +
  199 +# Le ponemos "no registrado" o "sin registrar"? O no especificado?
  200 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:5
  201 +#, fuzzy
  202 +msgid "(no status registered yet)"
  203 +msgstr "(producto no registrado aun)"
  204 +
  205 +# habilitado o permitido? estaba o está?
  206 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:11
  207 +#, fuzzy
  208 +msgid "Reason enabled?"
  209 +msgstr "No habilitado"
  210 +
  211 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:21
  212 +#, fuzzy
  213 +msgid "Are you sure you want to remove this status?"
  214 +msgstr "¿Estás seguro de que deseas eliminar este elemento?"
  215 +
  216 +#: plugins/comment_classification/views/comment/comments_labels_select.html.erb:3
  217 +msgid "[Select ...]"
  218 +msgstr ""
  219 +
  220 +#: plugins/comment_classification/views/comment_classification_plugin_admin/index.html.erb:1
  221 +#, fuzzy
  222 +msgid "Comments classification options"
  223 +msgstr "Opciones de moderación"
  224 +
  225 +#: plugins/comment_classification/views/comment_classification_plugin_admin/index.html.erb:4
  226 +#, fuzzy
  227 +msgid "Manage Labels"
  228 +msgstr "Administrar campos"
  229 +
  230 +#: plugins/comment_classification/views/comment_classification_plugin_admin/index.html.erb:5
  231 +#, fuzzy
  232 +msgid "Manage Status"
  233 +msgstr "Administrar contactos"
plugins/comment_classification/po/fr/comment_classification.po 0 → 100644
@@ -0,0 +1,231 @@ @@ -0,0 +1,231 @@
  1 +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
  2 +# This file is distributed under the same license as the PACKAGE package.
  3 +#
  4 +# , 2009.
  5 +msgid ""
  6 +msgstr ""
  7 +"Project-Id-Version: 1.0\n"
  8 +"Report-Msgid-Bugs-To: \n"
  9 +"POT-Creation-Date: 2015-01-15 10:59-0300\n"
  10 +"PO-Revision-Date: 2014-12-12 14:22+0200\n"
  11 +"Last-Translator: Michal Čihař <michal@cihar.com>\n"
  12 +"Language-Team: French <https://hosted.weblate.org/projects/noosfero/noosfero/"
  13 +"fr/>\n"
  14 +"Language: fr\n"
  15 +"MIME-Version: 1.0\n"
  16 +"Content-Type: text/plain; charset=UTF-8\n"
  17 +"Content-Transfer-Encoding: 8bit\n"
  18 +"Plural-Forms: nplurals=2; plural=n > 1;\n"
  19 +"X-Generator: Weblate 2.2-dev\n"
  20 +
  21 +#: plugins/comment_classification/lib/comment_classification_plugin.rb:11
  22 +#, fuzzy
  23 +msgid "A plugin that allow classification of comments."
  24 +msgstr "Un bloc qui affiche vos groupes"
  25 +
  26 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_labels_controller.rb:16
  27 +#, fuzzy
  28 +msgid "Label created"
  29 +msgstr "Adresse électronique de contact"
  30 +
  31 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_labels_controller.rb:19
  32 +#, fuzzy
  33 +msgid "Label could not be created"
  34 +msgstr "Ce fichier n'a pas pu être sauvegardé"
  35 +
  36 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_labels_controller.rb:31
  37 +#, fuzzy
  38 +msgid "Label updated"
  39 +msgstr "Dernière mise à jour"
  40 +
  41 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_labels_controller.rb:34
  42 +#, fuzzy
  43 +msgid "Failed to edit label"
  44 +msgstr "Échec dans l'édition du rôle"
  45 +
  46 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_labels_controller.rb:45
  47 +#, fuzzy
  48 +msgid "Label removed"
  49 +msgstr "Corps de l'article"
  50 +
  51 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_labels_controller.rb:47
  52 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_labels_controller.rb:50
  53 +#, fuzzy
  54 +msgid "Label could not be removed"
  55 +msgstr "Ce fichier n'a pas pu être sauvegardé"
  56 +
  57 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_status_controller.rb:15
  58 +#, fuzzy
  59 +msgid "Status created"
  60 +msgstr "Adresse électronique de contact"
  61 +
  62 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_status_controller.rb:18
  63 +#, fuzzy
  64 +msgid "Status could not be created"
  65 +msgstr "Ce fichier n'a pas pu être sauvegardé"
  66 +
  67 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_status_controller.rb:29
  68 +#, fuzzy
  69 +msgid "Status updated"
  70 +msgstr "Date de début"
  71 +
  72 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_status_controller.rb:32
  73 +#, fuzzy
  74 +msgid "Failed to edit status"
  75 +msgstr "Échec dans l'édition du rôle"
  76 +
  77 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_status_controller.rb:43
  78 +#, fuzzy
  79 +msgid "Status removed"
  80 +msgstr "Corps de l'article"
  81 +
  82 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_status_controller.rb:45
  83 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_status_controller.rb:48
  84 +#, fuzzy
  85 +msgid "Status could not be removed"
  86 +msgstr "Ce fichier n'a pas pu être sauvegardé"
  87 +
  88 +#: plugins/comment_classification/views/comment_classification_plugin_myprofile/_status_form.html.erb:6
  89 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:9
  90 +#: plugins/comment_classification/views/comment/comment_extra.html.erb:12
  91 +msgid "Status"
  92 +msgstr "Statut"
  93 +
  94 +#: plugins/comment_classification/views/comment_classification_plugin_myprofile/_status_form.html.erb:7
  95 +#, fuzzy
  96 +msgid "Reason:"
  97 +msgstr "Région"
  98 +
  99 +#: plugins/comment_classification/views/comment_classification_plugin_myprofile/add_status.html.erb:1
  100 +#, fuzzy
  101 +msgid "Status for comment"
  102 +msgstr "Un commentaire"
  103 +
  104 +#: plugins/comment_classification/views/comment_classification_plugin_myprofile/add_status.html.erb:16
  105 +msgid ""
  106 +"<i>%{user}</i> added the status <i>%{status_name}</i> at <i>%{created_at}</"
  107 +"i>."
  108 +msgstr ""
  109 +
  110 +#: plugins/comment_classification/views/comment_classification_plugin_myprofile/add_status.html.erb:18
  111 +msgid "<i>Reason:</i> %s"
  112 +msgstr ""
  113 +
  114 +# (second try of this knid of contents)
  115 +#: plugins/comment_classification/views/comment_classification_plugin_myprofile/add_status.html.erb:24
  116 +#: plugins/comment_classification/views/comment_classification_plugin_status/create.html.erb:1
  117 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:29
  118 +#, fuzzy
  119 +msgid "Add a new status"
  120 +msgstr "Une entreprise"
  121 +
  122 +#: plugins/comment_classification/views/comment_classification_plugin_myprofile/index.html.erb:1
  123 +#, fuzzy
  124 +msgid "Manage comment classification"
  125 +msgstr "Information sur les dirigeants"
  126 +
  127 +#: plugins/comment_classification/views/comment_classification_plugin_labels/_form.html.erb:6
  128 +#: plugins/comment_classification/views/comment_classification_plugin_status/_form.html.erb:6
  129 +msgid "Name"
  130 +msgstr ""
  131 +
  132 +#: plugins/comment_classification/views/comment_classification_plugin_labels/_form.html.erb:7
  133 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:10
  134 +msgid "Color"
  135 +msgstr ""
  136 +
  137 +#: plugins/comment_classification/views/comment_classification_plugin_labels/_form.html.erb:8
  138 +#, fuzzy
  139 +msgid "Enable this label?"
  140 +msgstr "Activer l'entreprise"
  141 +
  142 +#: plugins/comment_classification/views/comment_classification_plugin_labels/edit.html.erb:1
  143 +#, fuzzy
  144 +msgid "Editing label %s"
  145 +msgstr "Édition de %s"
  146 +
  147 +# (second try of this knid of contents)
  148 +#: plugins/comment_classification/views/comment_classification_plugin_labels/create.html.erb:1
  149 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:29
  150 +#, fuzzy
  151 +msgid "Add a new label"
  152 +msgstr "Une entreprise"
  153 +
  154 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:1
  155 +#, fuzzy
  156 +msgid "Manage comments labels"
  157 +msgstr "Gérer les champs des groupes"
  158 +
  159 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:5
  160 +#, fuzzy
  161 +msgid "(no label registered yet)"
  162 +msgstr "(pas encore de matière brute enregistrée)"
  163 +
  164 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:9
  165 +#: plugins/comment_classification/views/comment/comments_labels_select.html.erb:3
  166 +msgid "Label"
  167 +msgstr ""
  168 +
  169 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:11
  170 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:10
  171 +msgid "Enabled"
  172 +msgstr "Activé"
  173 +
  174 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:12
  175 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:12
  176 +msgid "Actions"
  177 +msgstr ""
  178 +
  179 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:21
  180 +#, fuzzy
  181 +msgid "Are you sure you want to remove this label?"
  182 +msgstr "Êtes-vous sûr(e) que vous voulez retirer ce commentaire ?"
  183 +
  184 +#: plugins/comment_classification/views/comment_classification_plugin_status/_form.html.erb:7
  185 +#, fuzzy
  186 +msgid "Enable this status?"
  187 +msgstr "Gérer les contacts."
  188 +
  189 +#: plugins/comment_classification/views/comment_classification_plugin_status/edit.html.erb:1
  190 +#, fuzzy
  191 +msgid "Editing status %s"
  192 +msgstr "Édition de %s"
  193 +
  194 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:1
  195 +#, fuzzy
  196 +msgid "Manage comments status"
  197 +msgstr "Gérer les contacts."
  198 +
  199 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:5
  200 +#, fuzzy
  201 +msgid "(no status registered yet)"
  202 +msgstr "genre non enregistré"
  203 +
  204 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:11
  205 +#, fuzzy
  206 +msgid "Reason enabled?"
  207 +msgstr "%s n'était pas activé(e)"
  208 +
  209 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:21
  210 +#, fuzzy
  211 +msgid "Are you sure you want to remove this status?"
  212 +msgstr "Êtes-vous sûr(e) de vouloir ôter cet élément ?"
  213 +
  214 +#: plugins/comment_classification/views/comment/comments_labels_select.html.erb:3
  215 +msgid "[Select ...]"
  216 +msgstr ""
  217 +
  218 +#: plugins/comment_classification/views/comment_classification_plugin_admin/index.html.erb:1
  219 +#, fuzzy
  220 +msgid "Comments classification options"
  221 +msgstr "Options de modération"
  222 +
  223 +#: plugins/comment_classification/views/comment_classification_plugin_admin/index.html.erb:4
  224 +#, fuzzy
  225 +msgid "Manage Labels"
  226 +msgstr "Gérer les champs"
  227 +
  228 +#: plugins/comment_classification/views/comment_classification_plugin_admin/index.html.erb:5
  229 +#, fuzzy
  230 +msgid "Manage Status"
  231 +msgstr "Gérer les contacts."
plugins/comment_classification/po/hy/comment_classification.po 0 → 100644
@@ -0,0 +1,228 @@ @@ -0,0 +1,228 @@
  1 +# SOME DESCRIPTIVE TITLE.
  2 +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
  3 +# This file is distributed under the same license as the PACKAGE package.
  4 +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
  5 +#
  6 +msgid ""
  7 +msgstr ""
  8 +"Project-Id-Version: 1.0\n"
  9 +"POT-Creation-Date: 2015-01-15 10:59-0300\n"
  10 +"PO-Revision-Date: 2009-10-26 16:20-0300\n"
  11 +"Last-Translator: Anahit Minassian <anahit.minassian@cooperation.net>\n"
  12 +"Language-Team: LANGUAGE <LL@li.org>\n"
  13 +"Language: hy\n"
  14 +"MIME-Version: 1.0\n"
  15 +"Content-Type: text/plain; charset=UTF-8\n"
  16 +"Content-Transfer-Encoding: 8bit\n"
  17 +"Plural-Forms: nplurals=2; plural=(n > 1);\n"
  18 +"X-Generator: Pootle 1.1.0\n"
  19 +
  20 +#: plugins/comment_classification/lib/comment_classification_plugin.rb:11
  21 +#, fuzzy
  22 +msgid "A plugin that allow classification of comments."
  23 +msgstr "Ձեր խմբերը ցուցադրող բաժին"
  24 +
  25 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_labels_controller.rb:16
  26 +#, fuzzy
  27 +msgid "Label created"
  28 +msgstr "էլ. հասցե"
  29 +
  30 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_labels_controller.rb:19
  31 +#, fuzzy
  32 +msgid "Label could not be created"
  33 +msgstr "Սկզբնական նյութի թարմացումը ձախողված է"
  34 +
  35 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_labels_controller.rb:31
  36 +#, fuzzy
  37 +msgid "Label updated"
  38 +msgstr "Վերջինը թարմացվել է %s"
  39 +
  40 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_labels_controller.rb:34
  41 +#, fuzzy
  42 +msgid "Failed to edit label"
  43 +msgstr "Դերի փոփոխումը ձախողված է"
  44 +
  45 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_labels_controller.rb:45
  46 +#, fuzzy
  47 +msgid "Label removed"
  48 +msgstr "Բուն հոդված"
  49 +
  50 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_labels_controller.rb:47
  51 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_labels_controller.rb:50
  52 +#, fuzzy
  53 +msgid "Label could not be removed"
  54 +msgstr "Սկզբնական նյութի թարմացումը ձախողված է"
  55 +
  56 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_status_controller.rb:15
  57 +#, fuzzy
  58 +msgid "Status created"
  59 +msgstr "էլ. հասցե"
  60 +
  61 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_status_controller.rb:18
  62 +#, fuzzy
  63 +msgid "Status could not be created"
  64 +msgstr "Սկզբնական նյութի թարմացումը ձախողված է"
  65 +
  66 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_status_controller.rb:29
  67 +#, fuzzy
  68 +msgid "Status updated"
  69 +msgstr "Սկզբնաժամկետ"
  70 +
  71 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_status_controller.rb:32
  72 +#, fuzzy
  73 +msgid "Failed to edit status"
  74 +msgstr "Դերի փոփոխումը ձախողված է"
  75 +
  76 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_status_controller.rb:43
  77 +#, fuzzy
  78 +msgid "Status removed"
  79 +msgstr "Բուն հոդված"
  80 +
  81 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_status_controller.rb:45
  82 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_status_controller.rb:48
  83 +#, fuzzy
  84 +msgid "Status could not be removed"
  85 +msgstr "Սկզբնական նյութի թարմացումը ձախողված է"
  86 +
  87 +#: plugins/comment_classification/views/comment_classification_plugin_myprofile/_status_form.html.erb:6
  88 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:9
  89 +#: plugins/comment_classification/views/comment/comment_extra.html.erb:12
  90 +msgid "Status"
  91 +msgstr "Կարգավիճակ"
  92 +
  93 +#: plugins/comment_classification/views/comment_classification_plugin_myprofile/_status_form.html.erb:7
  94 +#, fuzzy
  95 +msgid "Reason:"
  96 +msgstr "Տարածաշրջան"
  97 +
  98 +#: plugins/comment_classification/views/comment_classification_plugin_myprofile/add_status.html.erb:1
  99 +#, fuzzy
  100 +msgid "Status for comment"
  101 +msgstr "Մեկ մեկնաբանություն"
  102 +
  103 +#: plugins/comment_classification/views/comment_classification_plugin_myprofile/add_status.html.erb:16
  104 +msgid ""
  105 +"<i>%{user}</i> added the status <i>%{status_name}</i> at <i>%{created_at}</"
  106 +"i>."
  107 +msgstr ""
  108 +
  109 +#: plugins/comment_classification/views/comment_classification_plugin_myprofile/add_status.html.erb:18
  110 +msgid "<i>Reason:</i> %s"
  111 +msgstr ""
  112 +
  113 +#: plugins/comment_classification/views/comment_classification_plugin_myprofile/add_status.html.erb:24
  114 +#: plugins/comment_classification/views/comment_classification_plugin_status/create.html.erb:1
  115 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:29
  116 +#, fuzzy
  117 +msgid "Add a new status"
  118 +msgstr "Մեկ ձեռնարկություն"
  119 +
  120 +#: plugins/comment_classification/views/comment_classification_plugin_myprofile/index.html.erb:1
  121 +#, fuzzy
  122 +msgid "Manage comment classification"
  123 +msgstr "Տեղեկություններ ղեկավարության մասին"
  124 +
  125 +#: plugins/comment_classification/views/comment_classification_plugin_labels/_form.html.erb:6
  126 +#: plugins/comment_classification/views/comment_classification_plugin_status/_form.html.erb:6
  127 +msgid "Name"
  128 +msgstr ""
  129 +
  130 +#: plugins/comment_classification/views/comment_classification_plugin_labels/_form.html.erb:7
  131 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:10
  132 +msgid "Color"
  133 +msgstr ""
  134 +
  135 +#: plugins/comment_classification/views/comment_classification_plugin_labels/_form.html.erb:8
  136 +#, fuzzy
  137 +msgid "Enable this label?"
  138 +msgstr "Ակտիվացնել ձեռնարկությունը"
  139 +
  140 +#: plugins/comment_classification/views/comment_classification_plugin_labels/edit.html.erb:1
  141 +#, fuzzy
  142 +msgid "Editing label %s"
  143 +msgstr "Փոփոխում %s"
  144 +
  145 +#: plugins/comment_classification/views/comment_classification_plugin_labels/create.html.erb:1
  146 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:29
  147 +#, fuzzy
  148 +msgid "Add a new label"
  149 +msgstr "Մեկ ձեռնարկություն"
  150 +
  151 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:1
  152 +#, fuzzy
  153 +msgid "Manage comments labels"
  154 +msgstr "Կառավարել ընկերներին"
  155 +
  156 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:5
  157 +#, fuzzy
  158 +msgid "(no label registered yet)"
  159 +msgstr "սեռը գրանցված չէ"
  160 +
  161 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:9
  162 +#: plugins/comment_classification/views/comment/comments_labels_select.html.erb:3
  163 +msgid "Label"
  164 +msgstr ""
  165 +
  166 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:11
  167 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:10
  168 +msgid "Enabled"
  169 +msgstr "Ակտիվացված է"
  170 +
  171 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:12
  172 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:12
  173 +msgid "Actions"
  174 +msgstr ""
  175 +
  176 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:21
  177 +#, fuzzy
  178 +msgid "Are you sure you want to remove this label?"
  179 +msgstr "Ցանկանո՞ւմ եք արդյոք հեռացնել այս մեկնաբանությունը:"
  180 +
  181 +#: plugins/comment_classification/views/comment_classification_plugin_status/_form.html.erb:7
  182 +#, fuzzy
  183 +msgid "Enable this status?"
  184 +msgstr "Հատկություններ ակտիվացնել/դիզակտիվացնել"
  185 +
  186 +#: plugins/comment_classification/views/comment_classification_plugin_status/edit.html.erb:1
  187 +#, fuzzy
  188 +msgid "Editing status %s"
  189 +msgstr "Փոփոխում %s"
  190 +
  191 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:1
  192 +#, fuzzy
  193 +msgid "Manage comments status"
  194 +msgstr "Կառավարել բովանդակությունը:"
  195 +
  196 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:5
  197 +#, fuzzy
  198 +msgid "(no status registered yet)"
  199 +msgstr "սեռը գրանցված չէ"
  200 +
  201 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:11
  202 +#, fuzzy
  203 +msgid "Reason enabled?"
  204 +msgstr "%s ակտիվացված չէ:"
  205 +
  206 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:21
  207 +#, fuzzy
  208 +msgid "Are you sure you want to remove this status?"
  209 +msgstr "Վստա՞ք եք, որ ցականում եք այն հեռացնել:"
  210 +
  211 +#: plugins/comment_classification/views/comment/comments_labels_select.html.erb:3
  212 +msgid "[Select ...]"
  213 +msgstr ""
  214 +
  215 +#: plugins/comment_classification/views/comment_classification_plugin_admin/index.html.erb:1
  216 +#, fuzzy
  217 +msgid "Comments classification options"
  218 +msgstr "Կառավարման հատկություններ"
  219 +
  220 +#: plugins/comment_classification/views/comment_classification_plugin_admin/index.html.erb:4
  221 +#, fuzzy
  222 +msgid "Manage Labels"
  223 +msgstr "Կառավարել անդամներին"
  224 +
  225 +#: plugins/comment_classification/views/comment_classification_plugin_admin/index.html.erb:5
  226 +#, fuzzy
  227 +msgid "Manage Status"
  228 +msgstr "Կառավարել բովանդակությունը:"
plugins/comment_classification/po/pt/comment_classification.po 0 → 100644
@@ -0,0 +1,205 @@ @@ -0,0 +1,205 @@
  1 +# translation of noosfero.po to
  2 +# Krishnamurti Lelis Lima Vieira Nunes <krishna@colivre.coop.br>, 2007.
  3 +# noosfero - Brazilian Portuguese translation
  4 +# Copyright (C) 2007,
  5 +# Forum Brasileiro de Economia Solidaria <http://www.fbes.org.br/>
  6 +# Copyright (C) 2007,
  7 +# Ynternet.org Foundation <http://www.ynternet.org/>
  8 +# This file is distributed under the same license as noosfero itself.
  9 +# Joenio Costa <joenio@colivre.coop.br>, 2008.
  10 +#
  11 +#
  12 +msgid ""
  13 +msgstr ""
  14 +"Project-Id-Version: 1.0\n"
  15 +"POT-Creation-Date: 2015-01-15 10:59-0300\n"
  16 +"PO-Revision-Date: 2014-12-18 18:40-0200\n"
  17 +"Last-Translator: Luciano Prestes Cavalcanti <lucianopcbr@gmail.com>\n"
  18 +"Language-Team: Portuguese <https://hosted.weblate.org/projects/noosfero/"
  19 +"noosfero/pt/>\n"
  20 +"Language: pt\n"
  21 +"MIME-Version: 1.0\n"
  22 +"Content-Type: text/plain; charset=UTF-8\n"
  23 +"Content-Transfer-Encoding: 8bit\n"
  24 +"Plural-Forms: nplurals=2; plural=n != 1;\n"
  25 +"X-Generator: Weblate 2.0\n"
  26 +
  27 +#: plugins/comment_classification/lib/comment_classification_plugin.rb:11
  28 +msgid "A plugin that allow classification of comments."
  29 +msgstr "Um plugin que permite a classificação de comentários."
  30 +
  31 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_labels_controller.rb:16
  32 +msgid "Label created"
  33 +msgstr "Marcador criado"
  34 +
  35 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_labels_controller.rb:19
  36 +msgid "Label could not be created"
  37 +msgstr "Marcador não pôde ser criado"
  38 +
  39 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_labels_controller.rb:31
  40 +msgid "Label updated"
  41 +msgstr "Marcador atualizado"
  42 +
  43 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_labels_controller.rb:34
  44 +msgid "Failed to edit label"
  45 +msgstr "Falhou em editar o marcador"
  46 +
  47 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_labels_controller.rb:45
  48 +msgid "Label removed"
  49 +msgstr "Marcador removido"
  50 +
  51 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_labels_controller.rb:47
  52 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_labels_controller.rb:50
  53 +msgid "Label could not be removed"
  54 +msgstr "Marcador não pode ser removido"
  55 +
  56 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_status_controller.rb:15
  57 +msgid "Status created"
  58 +msgstr "Status criado"
  59 +
  60 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_status_controller.rb:18
  61 +msgid "Status could not be created"
  62 +msgstr "Status não pôde ser criado"
  63 +
  64 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_status_controller.rb:29
  65 +msgid "Status updated"
  66 +msgstr "Status atualizado"
  67 +
  68 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_status_controller.rb:32
  69 +msgid "Failed to edit status"
  70 +msgstr "Falhou em editar o status"
  71 +
  72 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_status_controller.rb:43
  73 +msgid "Status removed"
  74 +msgstr "Status removido"
  75 +
  76 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_status_controller.rb:45
  77 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_status_controller.rb:48
  78 +msgid "Status could not be removed"
  79 +msgstr "Status não pôde ser removido"
  80 +
  81 +#: plugins/comment_classification/views/comment_classification_plugin_myprofile/_status_form.html.erb:6
  82 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:9
  83 +#: plugins/comment_classification/views/comment/comment_extra.html.erb:12
  84 +msgid "Status"
  85 +msgstr "Estado"
  86 +
  87 +#: plugins/comment_classification/views/comment_classification_plugin_myprofile/_status_form.html.erb:7
  88 +msgid "Reason:"
  89 +msgstr "Razão:"
  90 +
  91 +#: plugins/comment_classification/views/comment_classification_plugin_myprofile/add_status.html.erb:1
  92 +msgid "Status for comment"
  93 +msgstr "Status para comentário"
  94 +
  95 +#: plugins/comment_classification/views/comment_classification_plugin_myprofile/add_status.html.erb:16
  96 +msgid ""
  97 +"<i>%{user}</i> added the status <i>%{status_name}</i> at <i>%{created_at}</"
  98 +"i>."
  99 +msgstr ""
  100 +"<i>%{user}</i> adicionou o status <i>%{status_name}</i> às <i>%{created_at}</"
  101 +"i>."
  102 +
  103 +#: plugins/comment_classification/views/comment_classification_plugin_myprofile/add_status.html.erb:18
  104 +msgid "<i>Reason:</i> %s"
  105 +msgstr "<i>Razão:</i> %s"
  106 +
  107 +#: plugins/comment_classification/views/comment_classification_plugin_myprofile/add_status.html.erb:24
  108 +#: plugins/comment_classification/views/comment_classification_plugin_status/create.html.erb:1
  109 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:29
  110 +msgid "Add a new status"
  111 +msgstr "Adicionar novo status"
  112 +
  113 +#: plugins/comment_classification/views/comment_classification_plugin_myprofile/index.html.erb:1
  114 +msgid "Manage comment classification"
  115 +msgstr "Gerenciar classificação de comentário"
  116 +
  117 +#: plugins/comment_classification/views/comment_classification_plugin_labels/_form.html.erb:6
  118 +#: plugins/comment_classification/views/comment_classification_plugin_status/_form.html.erb:6
  119 +msgid "Name"
  120 +msgstr ""
  121 +
  122 +#: plugins/comment_classification/views/comment_classification_plugin_labels/_form.html.erb:7
  123 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:10
  124 +msgid "Color"
  125 +msgstr "Cor"
  126 +
  127 +#: plugins/comment_classification/views/comment_classification_plugin_labels/_form.html.erb:8
  128 +msgid "Enable this label?"
  129 +msgstr "Habilitar esse marcador?"
  130 +
  131 +#: plugins/comment_classification/views/comment_classification_plugin_labels/edit.html.erb:1
  132 +msgid "Editing label %s"
  133 +msgstr "Editando marcador %s"
  134 +
  135 +#: plugins/comment_classification/views/comment_classification_plugin_labels/create.html.erb:1
  136 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:29
  137 +msgid "Add a new label"
  138 +msgstr "Adicionar um novo marcador"
  139 +
  140 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:1
  141 +msgid "Manage comments labels"
  142 +msgstr "Gerenciar marcadores de comentários"
  143 +
  144 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:5
  145 +msgid "(no label registered yet)"
  146 +msgstr "(nenhum marcador registrado ainda)"
  147 +
  148 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:9
  149 +#: plugins/comment_classification/views/comment/comments_labels_select.html.erb:3
  150 +msgid "Label"
  151 +msgstr "Marcador"
  152 +
  153 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:11
  154 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:10
  155 +msgid "Enabled"
  156 +msgstr "Habilitado"
  157 +
  158 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:12
  159 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:12
  160 +msgid "Actions"
  161 +msgstr ""
  162 +
  163 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:21
  164 +msgid "Are you sure you want to remove this label?"
  165 +msgstr "Tem certeza que quer excluir este marcador?"
  166 +
  167 +#: plugins/comment_classification/views/comment_classification_plugin_status/_form.html.erb:7
  168 +msgid "Enable this status?"
  169 +msgstr "Habilitar esse status?"
  170 +
  171 +#: plugins/comment_classification/views/comment_classification_plugin_status/edit.html.erb:1
  172 +msgid "Editing status %s"
  173 +msgstr "Editando status %s"
  174 +
  175 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:1
  176 +msgid "Manage comments status"
  177 +msgstr "Gerenciar status de comentários"
  178 +
  179 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:5
  180 +msgid "(no status registered yet)"
  181 +msgstr "(nenhum status registrado ainda)"
  182 +
  183 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:11
  184 +msgid "Reason enabled?"
  185 +msgstr "Razão habilitada?"
  186 +
  187 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:21
  188 +msgid "Are you sure you want to remove this status?"
  189 +msgstr "Tem certeza de que quer excluir este status?"
  190 +
  191 +#: plugins/comment_classification/views/comment/comments_labels_select.html.erb:3
  192 +msgid "[Select ...]"
  193 +msgstr ""
  194 +
  195 +#: plugins/comment_classification/views/comment_classification_plugin_admin/index.html.erb:1
  196 +msgid "Comments classification options"
  197 +msgstr "Opções de classificação de comentários"
  198 +
  199 +#: plugins/comment_classification/views/comment_classification_plugin_admin/index.html.erb:4
  200 +msgid "Manage Labels"
  201 +msgstr "Gerenciar Marcadores"
  202 +
  203 +#: plugins/comment_classification/views/comment_classification_plugin_admin/index.html.erb:5
  204 +msgid "Manage Status"
  205 +msgstr "Gerenciar Status"
plugins/comment_classification/po/ru/comment_classification.po 0 → 100644
@@ -0,0 +1,230 @@ @@ -0,0 +1,230 @@
  1 +# Russian translation of noosfero.
  2 +# Copyright (C) 2009 Anton Caceres
  3 +# This file is distributed under the same license as the noosfero package.
  4 +# Josef Spillner <josef.spillner@tu-dresden.de>, 2009.
  5 +#
  6 +msgid ""
  7 +msgstr ""
  8 +"Project-Id-Version: 1.0\n"
  9 +"POT-Creation-Date: 2015-01-15 10:59-0300\n"
  10 +"PO-Revision-Date: 2014-12-12 14:23+0200\n"
  11 +"Last-Translator: Michal Čihař <michal@cihar.com>\n"
  12 +"Language-Team: Russian <https://hosted.weblate.org/projects/noosfero/"
  13 +"noosfero/ru/>\n"
  14 +"Language: ru\n"
  15 +"MIME-Version: 1.0\n"
  16 +"Content-Type: text/plain; charset=UTF-8\n"
  17 +"Content-Transfer-Encoding: 8bit\n"
  18 +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
  19 +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
  20 +"X-Generator: Weblate 2.2-dev\n"
  21 +
  22 +#: plugins/comment_classification/lib/comment_classification_plugin.rb:11
  23 +#, fuzzy
  24 +msgid "A plugin that allow classification of comments."
  25 +msgstr "Блок, отображающий группы"
  26 +
  27 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_labels_controller.rb:16
  28 +#, fuzzy
  29 +msgid "Label created"
  30 +msgstr "Контактный email"
  31 +
  32 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_labels_controller.rb:19
  33 +#, fuzzy
  34 +msgid "Label could not be created"
  35 +msgstr "Адрес не может быть сохранен"
  36 +
  37 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_labels_controller.rb:31
  38 +#, fuzzy
  39 +msgid "Label updated"
  40 +msgstr "Обновлено"
  41 +
  42 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_labels_controller.rb:34
  43 +#, fuzzy
  44 +msgid "Failed to edit label"
  45 +msgstr "Невозможно редактировать роль"
  46 +
  47 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_labels_controller.rb:45
  48 +#, fuzzy
  49 +msgid "Label removed"
  50 +msgstr "Тело статьи"
  51 +
  52 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_labels_controller.rb:47
  53 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_labels_controller.rb:50
  54 +#, fuzzy
  55 +msgid "Label could not be removed"
  56 +msgstr "Адрес не может быть сохранен"
  57 +
  58 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_status_controller.rb:15
  59 +#, fuzzy
  60 +msgid "Status created"
  61 +msgstr "Контактный email"
  62 +
  63 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_status_controller.rb:18
  64 +#, fuzzy
  65 +msgid "Status could not be created"
  66 +msgstr "Адрес не может быть сохранен"
  67 +
  68 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_status_controller.rb:29
  69 +#, fuzzy
  70 +msgid "Status updated"
  71 +msgstr "Дата начала"
  72 +
  73 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_status_controller.rb:32
  74 +#, fuzzy
  75 +msgid "Failed to edit status"
  76 +msgstr "Невозможно редактировать роль"
  77 +
  78 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_status_controller.rb:43
  79 +#, fuzzy
  80 +msgid "Status removed"
  81 +msgstr "Тело статьи"
  82 +
  83 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_status_controller.rb:45
  84 +#: plugins/comment_classification/controllers/admin/comment_classification_plugin_status_controller.rb:48
  85 +#, fuzzy
  86 +msgid "Status could not be removed"
  87 +msgstr "Адрес не может быть сохранен"
  88 +
  89 +#: plugins/comment_classification/views/comment_classification_plugin_myprofile/_status_form.html.erb:6
  90 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:9
  91 +#: plugins/comment_classification/views/comment/comment_extra.html.erb:12
  92 +msgid "Status"
  93 +msgstr "Статус"
  94 +
  95 +#: plugins/comment_classification/views/comment_classification_plugin_myprofile/_status_form.html.erb:7
  96 +#, fuzzy
  97 +msgid "Reason:"
  98 +msgstr "Регион"
  99 +
  100 +#: plugins/comment_classification/views/comment_classification_plugin_myprofile/add_status.html.erb:1
  101 +#, fuzzy
  102 +msgid "Status for comment"
  103 +msgstr "Комментарий"
  104 +
  105 +#: plugins/comment_classification/views/comment_classification_plugin_myprofile/add_status.html.erb:16
  106 +msgid ""
  107 +"<i>%{user}</i> added the status <i>%{status_name}</i> at <i>%{created_at}</"
  108 +"i>."
  109 +msgstr ""
  110 +
  111 +#: plugins/comment_classification/views/comment_classification_plugin_myprofile/add_status.html.erb:18
  112 +msgid "<i>Reason:</i> %s"
  113 +msgstr ""
  114 +
  115 +#: plugins/comment_classification/views/comment_classification_plugin_myprofile/add_status.html.erb:24
  116 +#: plugins/comment_classification/views/comment_classification_plugin_status/create.html.erb:1
  117 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:29
  118 +#, fuzzy
  119 +msgid "Add a new status"
  120 +msgstr "Одна компания"
  121 +
  122 +#: plugins/comment_classification/views/comment_classification_plugin_myprofile/index.html.erb:1
  123 +#, fuzzy
  124 +msgid "Manage comment classification"
  125 +msgstr "Информация о менеджменте"
  126 +
  127 +#: plugins/comment_classification/views/comment_classification_plugin_labels/_form.html.erb:6
  128 +#: plugins/comment_classification/views/comment_classification_plugin_status/_form.html.erb:6
  129 +msgid "Name"
  130 +msgstr ""
  131 +
  132 +#: plugins/comment_classification/views/comment_classification_plugin_labels/_form.html.erb:7
  133 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:10
  134 +msgid "Color"
  135 +msgstr ""
  136 +
  137 +#: plugins/comment_classification/views/comment_classification_plugin_labels/_form.html.erb:8
  138 +#, fuzzy
  139 +msgid "Enable this label?"
  140 +msgstr "Включить компанию"
  141 +
  142 +#: plugins/comment_classification/views/comment_classification_plugin_labels/edit.html.erb:1
  143 +#, fuzzy
  144 +msgid "Editing label %s"
  145 +msgstr "Редактирование %s"
  146 +
  147 +#: plugins/comment_classification/views/comment_classification_plugin_labels/create.html.erb:1
  148 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:29
  149 +#, fuzzy
  150 +msgid "Add a new label"
  151 +msgstr "Одна компания"
  152 +
  153 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:1
  154 +#, fuzzy
  155 +msgid "Manage comments labels"
  156 +msgstr "Управлять полями сообщества"
  157 +
  158 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:5
  159 +#, fuzzy
  160 +msgid "(no label registered yet)"
  161 +msgstr "(продукты не зарегистрированы)"
  162 +
  163 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:9
  164 +#: plugins/comment_classification/views/comment/comments_labels_select.html.erb:3
  165 +msgid "Label"
  166 +msgstr ""
  167 +
  168 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:11
  169 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:10
  170 +msgid "Enabled"
  171 +msgstr "Разрешено"
  172 +
  173 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:12
  174 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:12
  175 +msgid "Actions"
  176 +msgstr ""
  177 +
  178 +#: plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb:21
  179 +#, fuzzy
  180 +msgid "Are you sure you want to remove this label?"
  181 +msgstr "Вы уверены что хотите удалить блок?"
  182 +
  183 +#: plugins/comment_classification/views/comment_classification_plugin_status/_form.html.erb:7
  184 +#, fuzzy
  185 +msgid "Enable this status?"
  186 +msgstr "Активировать \"Контакты\""
  187 +
  188 +#: plugins/comment_classification/views/comment_classification_plugin_status/edit.html.erb:1
  189 +#, fuzzy
  190 +msgid "Editing status %s"
  191 +msgstr "Редактирование %s"
  192 +
  193 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:1
  194 +#, fuzzy
  195 +msgid "Manage comments status"
  196 +msgstr "Управлять контактами"
  197 +
  198 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:5
  199 +#, fuzzy
  200 +msgid "(no status registered yet)"
  201 +msgstr "(продукты не зарегистрированы)"
  202 +
  203 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:11
  204 +#, fuzzy
  205 +msgid "Reason enabled?"
  206 +msgstr "%s не позволено"
  207 +
  208 +#: plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb:21
  209 +#, fuzzy
  210 +msgid "Are you sure you want to remove this status?"
  211 +msgstr "Вы уверены что хотите удалить этот элемент?"
  212 +
  213 +#: plugins/comment_classification/views/comment/comments_labels_select.html.erb:3
  214 +msgid "[Select ...]"
  215 +msgstr ""
  216 +
  217 +#: plugins/comment_classification/views/comment_classification_plugin_admin/index.html.erb:1
  218 +#, fuzzy
  219 +msgid "Comments classification options"
  220 +msgstr "Опции модерации"
  221 +
  222 +#: plugins/comment_classification/views/comment_classification_plugin_admin/index.html.erb:4
  223 +#, fuzzy
  224 +msgid "Manage Labels"
  225 +msgstr "Управлять списком друзей"
  226 +
  227 +#: plugins/comment_classification/views/comment_classification_plugin_admin/index.html.erb:5
  228 +#, fuzzy
  229 +msgid "Manage Status"
  230 +msgstr "Управлять контактами"
plugins/comment_classification/views/comment_classification_plugin_labels/_form.html.erb
@@ -8,6 +8,6 @@ @@ -8,6 +8,6 @@
8 <%= labelled_form_field(f.check_box(:enabled) + _('Enable this label?'),'') %> 8 <%= labelled_form_field(f.check_box(:enabled) + _('Enable this label?'),'') %>
9 9
10 <% button_bar do %> 10 <% button_bar do %>
11 - <%= submit_button('save', _('Save'), :cancel => {:action => 'index'} ) %> 11 + <%= submit_button('save', c_('Save'), :cancel => {:action => 'index'} ) %>
12 <% end %> 12 <% end %>
13 <% end %> 13 <% end %>
plugins/comment_classification/views/comment_classification_plugin_labels/index.html.erb
@@ -17,8 +17,8 @@ @@ -17,8 +17,8 @@
17 <td><%= label.color %></td> 17 <td><%= label.color %></td>
18 <td><%= label.enabled %></td> 18 <td><%= label.enabled %></td>
19 <td> 19 <td>
20 - <%= button_without_text :edit, _('Edit'), {:action => 'edit', :id => label} %>  
21 - <%= button_without_text :delete, _('Remove'), {:action => 'destroy', :id => label}, :confirm => _('Are you sure you want to remove this label?') %> 20 + <%= button_without_text :edit, c_('Edit'), {:action => 'edit', :id => label} %>
  21 + <%= button_without_text :delete, c_('Remove'), {:action => 'destroy', :id => label}, :confirm => _('Are you sure you want to remove this label?') %>
22 </td> 22 </td>
23 </tr> 23 </tr>
24 <% end %> 24 <% end %>
@@ -27,6 +27,6 @@ @@ -27,6 +27,6 @@
27 27
28 <% button_bar do %> 28 <% button_bar do %>
29 <%= button(:add, _('Add a new label'), :action => 'create')%> 29 <%= button(:add, _('Add a new label'), :action => 'create')%>
30 - <%= button :back, _('Back to admin panel'), :controller => 'admin_panel' %> 30 + <%= button :back, c_('Back to admin panel'), :controller => 'admin_panel' %>
31 <% end %> 31 <% end %>
32 </div> 32 </div>
plugins/comment_classification/views/comment_classification_plugin_myprofile/_status_form.html.erb
@@ -7,6 +7,6 @@ @@ -7,6 +7,6 @@
7 <%= labelled_form_field(_('Reason:'), f.text_area(:reason, :rows => 5)) %> 7 <%= labelled_form_field(_('Reason:'), f.text_area(:reason, :rows => 5)) %>
8 8
9 <% button_bar do %> 9 <% button_bar do %>
10 - <%= submit_button('save', _('Save') ) %> 10 + <%= submit_button('save', c_('Save') ) %>
11 <% end %> 11 <% end %>
12 <% end %> 12 <% end %>
plugins/comment_classification/views/comment_classification_plugin_myprofile/add_status.html.erb
@@ -2,13 +2,13 @@ @@ -2,13 +2,13 @@
2 2
3 <div id='comment-classification-status-list'> 3 <div id='comment-classification-status-list'>
4 <% unless @comment.title.blank? %> 4 <% unless @comment.title.blank? %>
5 - <div class='comment-title'><%= _("Title: %s") % @comment.title %></div> 5 + <div class='comment-title'><%= c_("Title: %s") % @comment.title %></div>
6 <% end %> 6 <% end %>
7 7
8 - <b><%= _('Body:') %></b> 8 + <b><%= c_('Body:') %></b>
9 <p><%= @comment.body %></p> 9 <p><%= @comment.body %></p>
10 10
11 - <h2> <%= _("History") %> </h2> 11 + <h2> <%= c_("History") %> </h2>
12 12
13 <ul> 13 <ul>
14 <% @comment.comment_classification_plugin_comment_status_users.each do |relation| %> 14 <% @comment.comment_classification_plugin_comment_status_users.each do |relation| %>
plugins/comment_classification/views/comment_classification_plugin_status/_form.html.erb
@@ -8,6 +8,6 @@ @@ -8,6 +8,6 @@
8 <%#= labelled_form_field(f.check_box(:enable_reason) + _('This status allows reason?'),'') %> 8 <%#= labelled_form_field(f.check_box(:enable_reason) + _('This status allows reason?'),'') %>
9 9
10 <% button_bar do %> 10 <% button_bar do %>
11 - <%= submit_button('save', _('Save'), :cancel => {:action => 'index'} ) %> 11 + <%= submit_button('save', c_('Save'), :cancel => {:action => 'index'} ) %>
12 <% end %> 12 <% end %>
13 <% end %> 13 <% end %>
plugins/comment_classification/views/comment_classification_plugin_status/index.html.erb
@@ -17,8 +17,8 @@ @@ -17,8 +17,8 @@
17 <td><%= st.enabled %></td> 17 <td><%= st.enabled %></td>
18 <td><%= st.enable_reason %></td> 18 <td><%= st.enable_reason %></td>
19 <td> 19 <td>
20 - <%= button_without_text :edit, _('Edit'), {:action => 'edit', :id => st} %>  
21 - <%= button_without_text :delete, _('Remove'), {:action => 'destroy', :id => st}, :confirm => _('Are you sure you want to remove this status?') %> 20 + <%= button_without_text :edit, c_('Edit'), {:action => 'edit', :id => st} %>
  21 + <%= button_without_text :delete, c_('Remove'), {:action => 'destroy', :id => st}, :confirm => _('Are you sure you want to remove this status?') %>
22 </td> 22 </td>
23 </tr> 23 </tr>
24 <% end %> 24 <% end %>
@@ -27,6 +27,6 @@ @@ -27,6 +27,6 @@
27 27
28 <% button_bar do %> 28 <% button_bar do %>
29 <%= button(:add, _('Add a new status'), :action => 'create')%> 29 <%= button(:add, _('Add a new status'), :action => 'create')%>
30 - <%= button :back, _('Back to admin panel'), :controller => 'admin_panel' %> 30 + <%= button :back, c_('Back to admin panel'), :controller => 'admin_panel' %>
31 <% end %> 31 <% end %>
32 </div> 32 </div>
plugins/comment_group/po/pt/comment_group.po 0 → 100644
@@ -0,0 +1,33 @@ @@ -0,0 +1,33 @@
  1 +# translation of noosfero.po to
  2 +# Krishnamurti Lelis Lima Vieira Nunes <krishna@colivre.coop.br>, 2007.
  3 +# noosfero - Brazilian Portuguese translation
  4 +# Copyright (C) 2007,
  5 +# Forum Brasileiro de Economia Solidaria <http://www.fbes.org.br/>
  6 +# Copyright (C) 2007,
  7 +# Ynternet.org Foundation <http://www.ynternet.org/>
  8 +# This file is distributed under the same license as noosfero itself.
  9 +# Joenio Costa <joenio@colivre.coop.br>, 2008.
  10 +#
  11 +#
  12 +msgid ""
  13 +msgstr ""
  14 +"Project-Id-Version: 1.0\n"
  15 +"POT-Creation-Date: 2015-01-15 10:59-0300\n"
  16 +"PO-Revision-Date: 2014-12-18 18:40-0200\n"
  17 +"Last-Translator: Luciano Prestes Cavalcanti <lucianopcbr@gmail.com>\n"
  18 +"Language-Team: Portuguese <https://hosted.weblate.org/projects/noosfero/"
  19 +"noosfero/pt/>\n"
  20 +"Language: pt\n"
  21 +"MIME-Version: 1.0\n"
  22 +"Content-Type: text/plain; charset=UTF-8\n"
  23 +"Content-Transfer-Encoding: 8bit\n"
  24 +"Plural-Forms: nplurals=2; plural=n != 1;\n"
  25 +"X-Generator: Weblate 2.0\n"
  26 +
  27 +#: plugins/comment_group/lib/ext/article.rb:13
  28 +msgid "Not empty group comment cannot be removed"
  29 +msgstr "Grupo de comentário vazio não pode ser removido"
  30 +
  31 +#: plugins/comment_group/lib/comment_group_plugin.rb:8
  32 +msgid "A plugin that display comment groups."
  33 +msgstr "Um plugin que mostra grupos de comentários."
plugins/comment_group/views/comment_group_plugin_profile/view_comments.rjs
@@ -8,5 +8,5 @@ page.replace_html &quot;comment-count-#{@group_id}&quot;, @comments_count @@ -8,5 +8,5 @@ page.replace_html &quot;comment-count-#{@group_id}&quot;, @comments_count
8 if @no_more_pages 8 if @no_more_pages
9 page.replace_html "comments_list_group_#{@group_id}_more", "" 9 page.replace_html "comments_list_group_#{@group_id}_more", ""
10 else 10 else
11 - page.replace_html "comments_list_group_#{@group_id}_more", link_to_remote(_('More'), :url => { :profile => profile.identifier, :controller => 'comment_group_plugin_profile', :action => 'view_comments', :group_id => @group_id, :article_id => @article_id, :group_comment_page => @group_comment_page + 1}, :method => :get) 11 + page.replace_html "comments_list_group_#{@group_id}_more", link_to_remote(c_('More'), :url => { :profile => profile.identifier, :controller => 'comment_group_plugin_profile', :action => 'view_comments', :group_id => @group_id, :article_id => @article_id, :group_comment_page => @group_comment_page + 1}, :method => :get)
12 end 12 end
plugins/community_block/po/pt/community_block.po 0 → 100644
@@ -0,0 +1,37 @@ @@ -0,0 +1,37 @@
  1 +# translation of noosfero.po to
  2 +# Krishnamurti Lelis Lima Vieira Nunes <krishna@colivre.coop.br>, 2007.
  3 +# noosfero - Brazilian Portuguese translation
  4 +# Copyright (C) 2007,
  5 +# Forum Brasileiro de Economia Solidaria <http://www.fbes.org.br/>
  6 +# Copyright (C) 2007,
  7 +# Ynternet.org Foundation <http://www.ynternet.org/>
  8 +# This file is distributed under the same license as noosfero itself.
  9 +# Joenio Costa <joenio@colivre.coop.br>, 2008.
  10 +#
  11 +#
  12 +msgid ""
  13 +msgstr ""
  14 +"Project-Id-Version: 1.0\n"
  15 +"POT-Creation-Date: 2015-01-15 10:59-0300\n"
  16 +"PO-Revision-Date: 2014-12-18 18:40-0200\n"
  17 +"Last-Translator: Luciano Prestes Cavalcanti <lucianopcbr@gmail.com>\n"
  18 +"Language-Team: Portuguese <https://hosted.weblate.org/projects/noosfero/"
  19 +"noosfero/pt/>\n"
  20 +"Language: pt\n"
  21 +"MIME-Version: 1.0\n"
  22 +"Content-Type: text/plain; charset=UTF-8\n"
  23 +"Content-Transfer-Encoding: 8bit\n"
  24 +"Plural-Forms: nplurals=2; plural=n != 1;\n"
  25 +"X-Generator: Weblate 2.0\n"
  26 +
  27 +#: plugins/community_block/lib/community_block_plugin.rb:10
  28 +msgid "A plugin that adds a block to show community description"
  29 +msgstr "Um plugin que adiciona um bloco para mostrar descrição da comunidade"
  30 +
  31 +#: plugins/community_block/lib/community_block.rb:4
  32 +msgid "Community block"
  33 +msgstr "Bloco de comunidade"
  34 +
  35 +#: plugins/community_block/lib/community_block.rb:8
  36 +msgid "Help for Community Description Block."
  37 +msgstr "Ajuda para Bloco de Descrição de Comunidade."
plugins/community_block/views/community_block.html.erb
@@ -11,13 +11,13 @@ @@ -11,13 +11,13 @@
11 if logged_in? 11 if logged_in?
12 12
13 if profile.enable_contact? 13 if profile.enable_contact?
14 - links.push(_('Send an e-mail') => {:href => url_for({:controller => 'contact', :action => 'new', :profile => profile.identifier})}) 14 + links.push(c_('Send an e-mail') => {:href => url_for({:controller => 'contact', :action => 'new', :profile => profile.identifier})})
15 end 15 end
16 16
17 - links.push(_('Report abuse') => {:href => url_for({:controller => 'profile', :action => 'report_abuse', :profile => profile.identifier})}) 17 + links.push(c_('Report abuse') => {:href => url_for({:controller => 'profile', :action => 'report_abuse', :profile => profile.identifier})})
18 18
19 if !user.nil? && user.has_permission?('edit_profile', profile) 19 if !user.nil? && user.has_permission?('edit_profile', profile)
20 - links.push(_('Control panel') => {:href => url_for({:controller => 'profile_editor', :profile => profile.identifier})}) 20 + links.push(c_('Control panel') => {:href => url_for({:controller => 'profile_editor', :profile => profile.identifier})})
21 end %> 21 end %>
22 22
23 <%= link_to( 23 <%= link_to(
plugins/community_track/po/de/community_track.po 0 → 100644
@@ -0,0 +1,185 @@ @@ -0,0 +1,185 @@
  1 +# German translation of noosfero.
  2 +# Copyright (C) 2009-2013 Josef Spillner
  3 +# Copyright (C) 2009, 2011 Ronny Kursawe
  4 +# This file is distributed under the same license as the noosfero package.
  5 +# Josef Spillner <josef.spillner@tu-dresden.de>, 2009.
  6 +#
  7 +msgid ""
  8 +msgstr ""
  9 +"Project-Id-Version: 1.0\n"
  10 +"POT-Creation-Date: 2015-01-15 10:59-0300\n"
  11 +"PO-Revision-Date: 2014-12-12 14:23+0200\n"
  12 +"Last-Translator: Michal Čihař <michal@cihar.com>\n"
  13 +"Language-Team: German <https://hosted.weblate.org/projects/noosfero/noosfero/"
  14 +"de/>\n"
  15 +"Language: de\n"
  16 +"MIME-Version: 1.0\n"
  17 +"Content-Type: text/plain; charset=UTF-8\n"
  18 +"Content-Transfer-Encoding: 8bit\n"
  19 +"Plural-Forms: nplurals=2; plural=n != 1;\n"
  20 +"X-Generator: Weblate 2.2-dev\n"
  21 +
  22 +#: plugins/community_track/lib/community_track_plugin.rb:8
  23 +#, fuzzy
  24 +msgid "New kind of content for communities."
  25 +msgstr "Neue Art von Beiträgen für Organisationen."
  26 +
  27 +#: plugins/community_track/lib/community_track_plugin/step.rb:13
  28 +#, fuzzy
  29 +msgid "Step not allowed at this parent."
  30 +msgstr "Es ist Ihnen nicht erlaubt, diese Seite anzusehen."
  31 +
  32 +#: plugins/community_track/lib/community_track_plugin/step.rb:47
  33 +msgid "must be equal or after start date."
  34 +msgstr ""
  35 +
  36 +#: plugins/community_track/lib/community_track_plugin/step.rb:52
  37 +msgid "Step"
  38 +msgstr ""
  39 +
  40 +#: plugins/community_track/lib/community_track_plugin/step.rb:56
  41 +msgid "Defines a step."
  42 +msgstr ""
  43 +
  44 +#: plugins/community_track/lib/community_track_plugin/track_card_list_block.rb:4
  45 +msgid "Track Card List"
  46 +msgstr ""
  47 +
  48 +#: plugins/community_track/lib/community_track_plugin/track_card_list_block.rb:8
  49 +#, fuzzy
  50 +msgid "This block displays a list of most relevant tracks as cards."
  51 +msgstr "Dieser Block zeigt das Unternehmen, in dem der Nutzer arbeitet."
  52 +
  53 +#: plugins/community_track/lib/community_track_plugin/step_helper.rb:4
  54 +msgid "Closed"
  55 +msgstr "Geschlossen"
  56 +
  57 +#: plugins/community_track/lib/community_track_plugin/step_helper.rb:4
  58 +#, fuzzy
  59 +msgid "Join!"
  60 +msgstr "Betreten"
  61 +
  62 +#: plugins/community_track/lib/community_track_plugin/step_helper.rb:4
  63 +#: plugins/community_track/test/unit/community_track_plugin/step_helper_test.rb:33
  64 +msgid "Soon"
  65 +msgstr ""
  66 +
  67 +#: plugins/community_track/lib/community_track_plugin/track.rb:11
  68 +#, fuzzy
  69 +msgid "should not be blank."
  70 +msgstr "%s konnte nicht hochgeladen werden"
  71 +
  72 +#: plugins/community_track/lib/community_track_plugin/track.rb:19
  73 +msgid "Track"
  74 +msgstr ""
  75 +
  76 +#: plugins/community_track/lib/community_track_plugin/track.rb:23
  77 +msgid "Defines a track."
  78 +msgstr ""
  79 +
  80 +#: plugins/community_track/lib/community_track_plugin/track_list_block.rb:10
  81 +msgid "Track List"
  82 +msgstr ""
  83 +
  84 +#: plugins/community_track/lib/community_track_plugin/track_list_block.rb:14
  85 +#, fuzzy
  86 +msgid "This block displays a list of most relevant tracks."
  87 +msgstr "Dieser Block stellt eine Liste Ihrer Produkte dar."
  88 +
  89 +#: plugins/community_track/controllers/public/community_track_plugin_public_controller.rb:40
  90 +#, fuzzy
  91 +msgid "Select one community to proceed"
  92 +msgstr "Community-Vorlage anlegen"
  93 +
  94 +#: plugins/community_track/views/content_viewer/step.html.erb:13
  95 +#: plugins/community_track/views/content_viewer/step.html.erb:19
  96 +msgid "Tool"
  97 +msgstr ""
  98 +
  99 +#: plugins/community_track/views/content_viewer/step.html.erb:15
  100 +#: plugins/community_track/views/content_viewer/_step_item.html.erb:23
  101 +#, fuzzy
  102 +msgid "Create %s"
  103 +msgstr "Bsc erstellen"
  104 +
  105 +#: plugins/community_track/views/content_viewer/track.html.erb:9
  106 +#: plugins/community_track/views/blocks/_track.html.erb:12
  107 +msgid "Steps"
  108 +msgstr ""
  109 +
  110 +#: plugins/community_track/views/content_viewer/track.html.erb:16
  111 +msgid "Reorder Steps"
  112 +msgstr ""
  113 +
  114 +#: plugins/community_track/views/content_viewer/track.html.erb:17
  115 +msgid "Save Order"
  116 +msgstr ""
  117 +
  118 +#: plugins/community_track/views/content_viewer/track.html.erb:35
  119 +#, fuzzy
  120 +msgid "Hidden Steps"
  121 +msgstr "Versteckt"
  122 +
  123 +#: plugins/community_track/views/content_viewer/_step_item.html.erb:16
  124 +msgid "Tool: "
  125 +msgstr ""
  126 +
  127 +#: plugins/community_track/views/content_viewer/_step_item.html.erb:32
  128 +#, fuzzy
  129 +msgid "View"
  130 +msgstr "Zeige alle"
  131 +
  132 +#: plugins/community_track/views/box_organizer/community_track_plugin/_track_list_block.html.erb:3
  133 +msgid "Show more at another page"
  134 +msgstr ""
  135 +
  136 +#: plugins/community_track/views/box_organizer/community_track_plugin/_track_list_block.html.erb:4
  137 +#, fuzzy
  138 +msgid "Select Categories"
  139 +msgstr "Produktkategorien"
  140 +
  141 +#: plugins/community_track/views/community_track_plugin_public/select_community.html.erb:3
  142 +#, fuzzy
  143 +msgid "Select Community"
  144 +msgstr "Community"
  145 +
  146 +#: plugins/community_track/views/community_track_plugin_public/select_community.html.erb:39
  147 +#, fuzzy
  148 +msgid "New Track"
  149 +msgstr "Neuer Vertrag"
  150 +
  151 +#: plugins/community_track/views/community_track_plugin_public/all_tracks.html.erb:1
  152 +msgid "Tracks"
  153 +msgstr ""
  154 +
  155 +#: plugins/community_track/views/cms/community_track_plugin/_track.html.erb:13
  156 +msgid "Goals:"
  157 +msgstr ""
  158 +
  159 +#: plugins/community_track/views/cms/community_track_plugin/_track.html.erb:14
  160 +#, fuzzy
  161 +msgid "Expected Results:"
  162 +msgstr "Suchresultate"
  163 +
  164 +#: plugins/community_track/views/cms/community_track_plugin/_step.html.erb:7
  165 +msgid "Period"
  166 +msgstr "Intervall"
  167 +
  168 +#: plugins/community_track/views/cms/community_track_plugin/_step.html.erb:15
  169 +#, fuzzy
  170 +msgid "Tool type"
  171 +msgstr "Ordnertyp"
  172 +
  173 +#: plugins/community_track/views/cms/community_track_plugin/_step.html.erb:19
  174 +#, fuzzy
  175 +msgid "Hidden Step"
  176 +msgstr "Versteckt"
  177 +
  178 +#: plugins/community_track/views/blocks/_track_card.html.erb:25
  179 +msgid "hits"
  180 +msgstr ""
  181 +
  182 +#: plugins/community_track/views/blocks/_track_list_more.html.erb:5
  183 +#, fuzzy
  184 +msgid "View All"
  185 +msgstr "Zeige alle"
plugins/community_track/po/es/community_track.po 0 → 100644
@@ -0,0 +1,184 @@ @@ -0,0 +1,184 @@
  1 +# SOME DESCRIPTIVE TITLE.
  2 +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
  3 +# This file is distributed under the same license as the PACKAGE package.
  4 +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
  5 +#
  6 +msgid ""
  7 +msgstr ""
  8 +"Project-Id-Version: 1.0\n"
  9 +"POT-Creation-Date: 2015-01-15 10:59-0300\n"
  10 +"PO-Revision-Date: 2014-11-03 15:52+0200\n"
  11 +"Last-Translator: Michal Čihař <michal@cihar.com>\n"
  12 +"Language-Team: Spanish <https://hosted.weblate.org/projects/noosfero/"
  13 +"noosfero/es/>\n"
  14 +"Language: es\n"
  15 +"MIME-Version: 1.0\n"
  16 +"Content-Type: text/plain; charset=UTF-8\n"
  17 +"Content-Transfer-Encoding: 8bit\n"
  18 +"Plural-Forms: nplurals=2; plural=n != 1;\n"
  19 +"X-Generator: Weblate 2.0-dev\n"
  20 +
  21 +#: plugins/community_track/lib/community_track_plugin.rb:8
  22 +#, fuzzy
  23 +msgid "New kind of content for communities."
  24 +msgstr "Deshabilitar búsqueda por organizaciones"
  25 +
  26 +#: plugins/community_track/lib/community_track_plugin/step.rb:13
  27 +#, fuzzy
  28 +msgid "Step not allowed at this parent."
  29 +msgstr "No tienes permitido ver esta página."
  30 +
  31 +#: plugins/community_track/lib/community_track_plugin/step.rb:47
  32 +msgid "must be equal or after start date."
  33 +msgstr ""
  34 +
  35 +#: plugins/community_track/lib/community_track_plugin/step.rb:52
  36 +msgid "Step"
  37 +msgstr ""
  38 +
  39 +#: plugins/community_track/lib/community_track_plugin/step.rb:56
  40 +msgid "Defines a step."
  41 +msgstr ""
  42 +
  43 +#: plugins/community_track/lib/community_track_plugin/track_card_list_block.rb:4
  44 +msgid "Track Card List"
  45 +msgstr ""
  46 +
  47 +#: plugins/community_track/lib/community_track_plugin/track_card_list_block.rb:8
  48 +#, fuzzy
  49 +msgid "This block displays a list of most relevant tracks as cards."
  50 +msgstr "Este bloque muestra las empresas donde este usuario trabaja."
  51 +
  52 +#: plugins/community_track/lib/community_track_plugin/step_helper.rb:4
  53 +msgid "Closed"
  54 +msgstr "Cerrado"
  55 +
  56 +#: plugins/community_track/lib/community_track_plugin/step_helper.rb:4
  57 +#, fuzzy
  58 +msgid "Join!"
  59 +msgstr "Unirse"
  60 +
  61 +#: plugins/community_track/lib/community_track_plugin/step_helper.rb:4
  62 +#: plugins/community_track/test/unit/community_track_plugin/step_helper_test.rb:33
  63 +msgid "Soon"
  64 +msgstr ""
  65 +
  66 +#: plugins/community_track/lib/community_track_plugin/track.rb:11
  67 +#, fuzzy
  68 +msgid "should not be blank."
  69 +msgstr "%s no pudo ser actualizado"
  70 +
  71 +#: plugins/community_track/lib/community_track_plugin/track.rb:19
  72 +msgid "Track"
  73 +msgstr ""
  74 +
  75 +#: plugins/community_track/lib/community_track_plugin/track.rb:23
  76 +msgid "Defines a track."
  77 +msgstr ""
  78 +
  79 +#: plugins/community_track/lib/community_track_plugin/track_list_block.rb:10
  80 +msgid "Track List"
  81 +msgstr ""
  82 +
  83 +#: plugins/community_track/lib/community_track_plugin/track_list_block.rb:14
  84 +#, fuzzy
  85 +msgid "This block displays a list of most relevant tracks."
  86 +msgstr "Este bloque presenta una lista de tus productos."
  87 +
  88 +#: plugins/community_track/controllers/public/community_track_plugin_public_controller.rb:40
  89 +#, fuzzy
  90 +msgid "Select one community to proceed"
  91 +msgstr "Editar plantilla de comunidad"
  92 +
  93 +#: plugins/community_track/views/content_viewer/step.html.erb:13
  94 +#: plugins/community_track/views/content_viewer/step.html.erb:19
  95 +msgid "Tool"
  96 +msgstr ""
  97 +
  98 +#: plugins/community_track/views/content_viewer/step.html.erb:15
  99 +#: plugins/community_track/views/content_viewer/_step_item.html.erb:23
  100 +#, fuzzy
  101 +msgid "Create %s"
  102 +msgstr "Crear Bsc"
  103 +
  104 +#: plugins/community_track/views/content_viewer/track.html.erb:9
  105 +#: plugins/community_track/views/blocks/_track.html.erb:12
  106 +msgid "Steps"
  107 +msgstr ""
  108 +
  109 +#: plugins/community_track/views/content_viewer/track.html.erb:16
  110 +msgid "Reorder Steps"
  111 +msgstr ""
  112 +
  113 +#: plugins/community_track/views/content_viewer/track.html.erb:17
  114 +msgid "Save Order"
  115 +msgstr ""
  116 +
  117 +#: plugins/community_track/views/content_viewer/track.html.erb:35
  118 +#, fuzzy
  119 +msgid "Hidden Steps"
  120 +msgstr "Oculto"
  121 +
  122 +#: plugins/community_track/views/content_viewer/_step_item.html.erb:16
  123 +msgid "Tool: "
  124 +msgstr ""
  125 +
  126 +#: plugins/community_track/views/content_viewer/_step_item.html.erb:32
  127 +#, fuzzy
  128 +msgid "View"
  129 +msgstr "Ver todos"
  130 +
  131 +#: plugins/community_track/views/box_organizer/community_track_plugin/_track_list_block.html.erb:3
  132 +msgid "Show more at another page"
  133 +msgstr ""
  134 +
  135 +#: plugins/community_track/views/box_organizer/community_track_plugin/_track_list_block.html.erb:4
  136 +#, fuzzy
  137 +msgid "Select Categories"
  138 +msgstr "Categorías de los productos"
  139 +
  140 +#: plugins/community_track/views/community_track_plugin_public/select_community.html.erb:3
  141 +#, fuzzy
  142 +msgid "Select Community"
  143 +msgstr "Comunidad"
  144 +
  145 +#: plugins/community_track/views/community_track_plugin_public/select_community.html.erb:39
  146 +#, fuzzy
  147 +msgid "New Track"
  148 +msgstr "Nuevo contrato"
  149 +
  150 +#: plugins/community_track/views/community_track_plugin_public/all_tracks.html.erb:1
  151 +msgid "Tracks"
  152 +msgstr ""
  153 +
  154 +#: plugins/community_track/views/cms/community_track_plugin/_track.html.erb:13
  155 +msgid "Goals:"
  156 +msgstr ""
  157 +
  158 +#: plugins/community_track/views/cms/community_track_plugin/_track.html.erb:14
  159 +#, fuzzy
  160 +msgid "Expected Results:"
  161 +msgstr "Buscar resultados"
  162 +
  163 +#: plugins/community_track/views/cms/community_track_plugin/_step.html.erb:7
  164 +msgid "Period"
  165 +msgstr ""
  166 +
  167 +#: plugins/community_track/views/cms/community_track_plugin/_step.html.erb:15
  168 +#, fuzzy
  169 +msgid "Tool type"
  170 +msgstr "Tipo de etiquetable"
  171 +
  172 +#: plugins/community_track/views/cms/community_track_plugin/_step.html.erb:19
  173 +#, fuzzy
  174 +msgid "Hidden Step"
  175 +msgstr "Oculto"
  176 +
  177 +#: plugins/community_track/views/blocks/_track_card.html.erb:25
  178 +msgid "hits"
  179 +msgstr ""
  180 +
  181 +#: plugins/community_track/views/blocks/_track_list_more.html.erb:5
  182 +#, fuzzy
  183 +msgid "View All"
  184 +msgstr "Ver todos"
plugins/community_track/po/pt/community_track.po 0 → 100644
@@ -0,0 +1,173 @@ @@ -0,0 +1,173 @@
  1 +# translation of noosfero.po to
  2 +# Krishnamurti Lelis Lima Vieira Nunes <krishna@colivre.coop.br>, 2007.
  3 +# noosfero - Brazilian Portuguese translation
  4 +# Copyright (C) 2007,
  5 +# Forum Brasileiro de Economia Solidaria <http://www.fbes.org.br/>
  6 +# Copyright (C) 2007,
  7 +# Ynternet.org Foundation <http://www.ynternet.org/>
  8 +# This file is distributed under the same license as noosfero itself.
  9 +# Joenio Costa <joenio@colivre.coop.br>, 2008.
  10 +#
  11 +#
  12 +msgid ""
  13 +msgstr ""
  14 +"Project-Id-Version: 1.0\n"
  15 +"POT-Creation-Date: 2015-01-15 10:59-0300\n"
  16 +"PO-Revision-Date: 2014-12-18 18:40-0200\n"
  17 +"Last-Translator: Luciano Prestes Cavalcanti <lucianopcbr@gmail.com>\n"
  18 +"Language-Team: Portuguese <https://hosted.weblate.org/projects/noosfero/"
  19 +"noosfero/pt/>\n"
  20 +"Language: pt\n"
  21 +"MIME-Version: 1.0\n"
  22 +"Content-Type: text/plain; charset=UTF-8\n"
  23 +"Content-Transfer-Encoding: 8bit\n"
  24 +"Plural-Forms: nplurals=2; plural=n != 1;\n"
  25 +"X-Generator: Weblate 2.0\n"
  26 +
  27 +#: plugins/community_track/lib/community_track_plugin.rb:8
  28 +msgid "New kind of content for communities."
  29 +msgstr "Novo tipo de conteúdo para comunidades."
  30 +
  31 +#: plugins/community_track/lib/community_track_plugin/step.rb:13
  32 +msgid "Step not allowed at this parent."
  33 +msgstr "Passo não permitido nesse pai."
  34 +
  35 +#: plugins/community_track/lib/community_track_plugin/step.rb:47
  36 +msgid "must be equal or after start date."
  37 +msgstr "deve ser igual ou após a data de ínicio."
  38 +
  39 +#: plugins/community_track/lib/community_track_plugin/step.rb:52
  40 +msgid "Step"
  41 +msgstr "Passo"
  42 +
  43 +#: plugins/community_track/lib/community_track_plugin/step.rb:56
  44 +msgid "Defines a step."
  45 +msgstr "Define uma etapa."
  46 +
  47 +#: plugins/community_track/lib/community_track_plugin/track_card_list_block.rb:4
  48 +msgid "Track Card List"
  49 +msgstr "Lista de Cartas da Trilha"
  50 +
  51 +#: plugins/community_track/lib/community_track_plugin/track_card_list_block.rb:8
  52 +msgid "This block displays a list of most relevant tracks as cards."
  53 +msgstr "Este bloco apresenta a lista das trilhas mais relevantes como cartas."
  54 +
  55 +#: plugins/community_track/lib/community_track_plugin/step_helper.rb:4
  56 +msgid "Closed"
  57 +msgstr "Fechado"
  58 +
  59 +#: plugins/community_track/lib/community_track_plugin/step_helper.rb:4
  60 +msgid "Join!"
  61 +msgstr "Entrar!"
  62 +
  63 +#: plugins/community_track/lib/community_track_plugin/step_helper.rb:4
  64 +#: plugins/community_track/test/unit/community_track_plugin/step_helper_test.rb:33
  65 +msgid "Soon"
  66 +msgstr "Logo"
  67 +
  68 +#: plugins/community_track/lib/community_track_plugin/track.rb:11
  69 +msgid "should not be blank."
  70 +msgstr "não deve ser nulo."
  71 +
  72 +#: plugins/community_track/lib/community_track_plugin/track.rb:19
  73 +msgid "Track"
  74 +msgstr "Trilha"
  75 +
  76 +#: plugins/community_track/lib/community_track_plugin/track.rb:23
  77 +msgid "Defines a track."
  78 +msgstr "Define uma trilha."
  79 +
  80 +#: plugins/community_track/lib/community_track_plugin/track_list_block.rb:10
  81 +msgid "Track List"
  82 +msgstr "Lista de Trilhas"
  83 +
  84 +#: plugins/community_track/lib/community_track_plugin/track_list_block.rb:14
  85 +msgid "This block displays a list of most relevant tracks."
  86 +msgstr "Este bloco apresenta a lista das trilhas mais relevantes."
  87 +
  88 +#: plugins/community_track/controllers/public/community_track_plugin_public_controller.rb:40
  89 +msgid "Select one community to proceed"
  90 +msgstr "Selecione uma comunidade para prosseguir"
  91 +
  92 +#: plugins/community_track/views/content_viewer/step.html.erb:13
  93 +#: plugins/community_track/views/content_viewer/step.html.erb:19
  94 +msgid "Tool"
  95 +msgstr "Ferramenta"
  96 +
  97 +#: plugins/community_track/views/content_viewer/step.html.erb:15
  98 +#: plugins/community_track/views/content_viewer/_step_item.html.erb:23
  99 +msgid "Create %s"
  100 +msgstr "Criar %s"
  101 +
  102 +#: plugins/community_track/views/content_viewer/track.html.erb:9
  103 +#: plugins/community_track/views/blocks/_track.html.erb:12
  104 +msgid "Steps"
  105 +msgstr "Passos"
  106 +
  107 +#: plugins/community_track/views/content_viewer/track.html.erb:16
  108 +msgid "Reorder Steps"
  109 +msgstr "Reordenar Passos"
  110 +
  111 +#: plugins/community_track/views/content_viewer/track.html.erb:17
  112 +msgid "Save Order"
  113 +msgstr "Salvar Ordem"
  114 +
  115 +#: plugins/community_track/views/content_viewer/track.html.erb:35
  116 +msgid "Hidden Steps"
  117 +msgstr "Passos Ocultos"
  118 +
  119 +#: plugins/community_track/views/content_viewer/_step_item.html.erb:16
  120 +msgid "Tool: "
  121 +msgstr "Ferramenta: "
  122 +
  123 +#: plugins/community_track/views/content_viewer/_step_item.html.erb:32
  124 +msgid "View"
  125 +msgstr "Ver"
  126 +
  127 +#: plugins/community_track/views/box_organizer/community_track_plugin/_track_list_block.html.erb:3
  128 +msgid "Show more at another page"
  129 +msgstr "Mostrar mais em outra página"
  130 +
  131 +#: plugins/community_track/views/box_organizer/community_track_plugin/_track_list_block.html.erb:4
  132 +msgid "Select Categories"
  133 +msgstr "Selecionar Categorias"
  134 +
  135 +#: plugins/community_track/views/community_track_plugin_public/select_community.html.erb:3
  136 +msgid "Select Community"
  137 +msgstr "Selecionar Comunidade"
  138 +
  139 +#: plugins/community_track/views/community_track_plugin_public/select_community.html.erb:39
  140 +msgid "New Track"
  141 +msgstr "Nova Trilha"
  142 +
  143 +#: plugins/community_track/views/community_track_plugin_public/all_tracks.html.erb:1
  144 +msgid "Tracks"
  145 +msgstr "Trilhas"
  146 +
  147 +#: plugins/community_track/views/cms/community_track_plugin/_track.html.erb:13
  148 +msgid "Goals:"
  149 +msgstr "Metas:"
  150 +
  151 +#: plugins/community_track/views/cms/community_track_plugin/_track.html.erb:14
  152 +msgid "Expected Results:"
  153 +msgstr "Resultados Esperados:"
  154 +
  155 +#: plugins/community_track/views/cms/community_track_plugin/_step.html.erb:7
  156 +msgid "Period"
  157 +msgstr "Período"
  158 +
  159 +#: plugins/community_track/views/cms/community_track_plugin/_step.html.erb:15
  160 +msgid "Tool type"
  161 +msgstr "Tipo de ferramenta"
  162 +
  163 +#: plugins/community_track/views/cms/community_track_plugin/_step.html.erb:19
  164 +msgid "Hidden Step"
  165 +msgstr "Passo Oculto"
  166 +
  167 +#: plugins/community_track/views/blocks/_track_card.html.erb:25
  168 +msgid "hits"
  169 +msgstr "acessos"
  170 +
  171 +#: plugins/community_track/views/blocks/_track_list_more.html.erb:5
  172 +msgid "View All"
  173 +msgstr "Ver Todos(as)"
plugins/community_track/views/blocks/_track_card.html.erb
@@ -18,7 +18,7 @@ @@ -18,7 +18,7 @@
18 <div class="track_stats"> 18 <div class="track_stats">
19 <div class="comments"> 19 <div class="comments">
20 <span class="counter"><%= "#{track_card.comments_count}" %></span> 20 <span class="counter"><%= "#{track_card.comments_count}" %></span>
21 - <span class="label"><%= _('comments') %></span> 21 + <span class="label"><%= c_('comments') %></span>
22 </div> 22 </div>
23 <div class="hits"> 23 <div class="hits">
24 <span class="counter"><%= "#{track_card.hits}" %></span> 24 <span class="counter"><%= "#{track_card.hits}" %></span>
plugins/community_track/views/blocks/_track_list_more.html.erb
@@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
6 </div> 6 </div>
7 <% else %> 7 <% else %>
8 <div class="more"> 8 <div class="more">
9 - <%= link_to_remote(_('More'), :url => {:id => block.id, :controller => 'community_track_plugin_public', :action => 'view_tracks', :page => page, :per_page => per_page, :force_same_page => force_same_page}, :method => :get) %> 9 + <%= link_to_remote(c_('More'), :url => {:id => block.id, :controller => 'community_track_plugin_public', :action => 'view_tracks', :page => page, :per_page => per_page, :force_same_page => force_same_page}, :method => :get) %>
10 </div> 10 </div>
11 <% end %> 11 <% end %>
12 </div> 12 </div>
plugins/community_track/views/box_organizer/community_track_plugin/_track_list_block.html.erb
1 <div id='edit-track-list-block'> 1 <div id='edit-track-list-block'>
2 - <%= labelled_form_field _('Limit of items'), text_field(:block, :limit, :size => 3) %> 2 + <%= labelled_form_field c_('Limit of items'), text_field(:block, :limit, :size => 3) %>
3 3
4 - <%= labelled_form_field _('Order'), 4 + <%= labelled_form_field c_('Order'),
5 select(:block, :order, 5 select(:block, :order,
6 options_for_select(CommunityTrackPlugin::TrackListBlock.order_options, :selected => @block.order)) %> 6 options_for_select(CommunityTrackPlugin::TrackListBlock.order_options, :selected => @block.order)) %>
7 7
plugins/community_track/views/cms/community_track_plugin/_track.html.erb
@@ -4,7 +4,7 @@ @@ -4,7 +4,7 @@
4 <%= render :file => 'shared/tiny_mce' %> 4 <%= render :file => 'shared/tiny_mce' %>
5 5
6 <div> 6 <div>
7 - <%= required labelled_form_field(_('Title'), text_field(:article, 'name', :size => '64', :maxlength => 150)) %> 7 + <%= required labelled_form_field(c_('Title'), text_field(:article, 'name', :size => '64', :maxlength => 150)) %>
8 </div> 8 </div>
9 9
10 <%= render :partial => 'shared/lead_and_body', :locals => {:tiny_mce => true, :body_label => 'Description:'} %> 10 <%= render :partial => 'shared/lead_and_body', :locals => {:tiny_mce => true, :body_label => 'Description:'} %>
plugins/community_track/views/community_track_plugin_public/select_community.html.erb
@@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@
13 <% end %> 13 <% end %>
14 14
15 <% button_bar do %> 15 <% button_bar do %>
16 - <%= button(:add, _('Create a new community'), :controller => 'memberships', :action => 'new_community', :profile => user.identifier, :back_to => @back_to) %> 16 + <%= button(:add, c_('Create a new community'), :controller => 'memberships', :action => 'new_community', :profile => user.identifier, :back_to => @back_to) %>
17 <% end %> 17 <% end %>
18 18
19 <%= form_tag({:controller => 'community_track_plugin_public', :action => 'select_community', :profile => user.identifier}) do %> 19 <%= form_tag({:controller => 'community_track_plugin_public', :action => 'select_community', :profile => user.identifier}) do %>
plugins/community_track/views/content_viewer/_step_item.html.erb
@@ -35,7 +35,7 @@ @@ -35,7 +35,7 @@
35 <%= expirable_button step_item, :edit, content, url %> 35 <%= expirable_button step_item, :edit, content, url %>
36 <% end %> 36 <% end %>
37 <% if step_item.accept_uploads? && step_item.allow_create?(user) %> 37 <% if step_item.accept_uploads? && step_item.allow_create?(user) %>
38 - <%= button('upload-file', _('Upload files'), profile.admin_url.merge(:controller => 'cms', :action => 'upload_files', :parent_id => step_item)) unless remove_content_button(:upload)%> 38 + <%= button('upload-file', c_('Upload files'), profile.admin_url.merge(:controller => 'cms', :action => 'upload_files', :parent_id => step_item)) unless remove_content_button(:upload)%>
39 <% end %> 39 <% end %>
40 </div> 40 </div>
41 </li> 41 </li>
plugins/community_track/views/content_viewer/step.html.erb
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 <div class="event-info"> 2 <div class="event-info">
3 <ul class="event-data"> 3 <ul class="event-data">
4 <li class="event-dates"> 4 <li class="event-dates">
5 - <span><%= _('When:') %></span><%= show_period(step.start_date, step.end_date) %> 5 + <span><%= c_('When:') %></span><%= show_period(step.start_date, step.end_date) %>
6 </li> 6 </li>
7 </ul> 7 </ul>
8 </div> 8 </div>