Commit 878b67a8acccb058224d1bb06c730671e4340b63

Authored by Leandro Santos
2 parents c96fe96a 73a8a59f

merging with master

Showing 587 changed files with 42440 additions and 11248 deletions   Show diff stats

Too many changes.

To preserve performance only 100 of 587 files displayed.

.gitmodules
... ... @@ -7,9 +7,6 @@
7 7 [submodule "plugins/gamification"]
8 8 path = plugins/gamification
9 9 url = https://gitlab.com/noosfero-plugins/gamification.git
10   -[submodule "plugins/comment_paragraph"]
11   - path = plugins/comment_paragraph
12   - url = https://gitlab.com/noosfero-plugins/comment-paragraph.git
13 10 [submodule "plugins/notification"]
14 11 path = plugins/notification
15 12 url = https://gitlab.com/noosfero-plugins/notification.git
... ...
.travis.yml
... ... @@ -37,9 +37,6 @@ cache: bundler
37 37  
38 38 before_script:
39 39 - mkdir -p tmp/{pids,cache} log
40   -# workaround for plugins with Gemfile
41   - - perl -pi -e 's/cat .+ > \$gemfile/echo "source \\"https:\/\/rubygems.org\\"" > \$gemfile && cat \$source\/Gemfile >> \$gemfile/' script/noosfero-plugins
42   - - perl -pi -e 's/--local --quiet/install --jobs=3 --retry=3/' script/noosfero-plugins
43 40 - script/noosfero-plugins disableall
44 41 - bundle exec rake makemo &>/dev/null
45 42 # database
... ... @@ -54,7 +51,7 @@ env:
54 51 - TASK=test:integration
55 52 - TASK=cucumber
56 53 - TASK=selenium
57   - - TASK=test:noosfero_plugins
  54 + - TASK=test:noosfero_plugins BUNDLE_OPTS=install
58 55  
59 56 script:
60 57 - bundle exec rake $TASK
... ...
AUTHORS.md
... ... @@ -64,6 +64,7 @@ Isaac Canan <isaac@intelletto.com.br>
64 64 Italo Valcy <italo@dcc.ufba.br>
65 65 Jefferson Fernandes <jeffs.fernandes@gmail.com>
66 66 Jérôme Jutteau <j.jutteau@gmail.com>
  67 +Jéssica Cristina <jessica.cris1127@gmail.com>
67 68 João Machini
68 69 João M. M. da Silva <jaodsilv@linux.ime.usp.br>
69 70 Joenio Costa <joenio@colivre.coop.br>
... ... @@ -115,6 +116,7 @@ Renan Costa &lt;renan2727@hotmail.com&gt;
115 116 Renan Teruo <renanteruoc@gmail.com>
116 117 Rodrigo Medeiros <rodrigo.mss01@gmail.com>
117 118 Rodrigo Souto <rodrigo@colivre.coop.br>
  119 +Ronnie Simon <ronniesimonf@gmail.com>
118 120 Ronny Kursawe <kursawe.ronny@googlemail.com>
119 121 Samuel R. C. Vale <srcvale@holoscopio.com>
120 122 Simião Carvalho <simiaosimis@gmail.com>
... ... @@ -128,7 +130,7 @@ TWS &lt;tablettws@gmail.com&gt;
128 130 Valessio Brito <contato@valessiobrito.com.br>
129 131 Victor Costa <vfcosta@gmail.com>
130 132 Victor Hugo Alves de Carvalho <victorhugodf.ac@gmail.com>
131   -Victor Matias Navarro <victor.matias.navarro@gmail.com>
  133 +Victor Navarro <victor.matias.navarro@gmail.com>
132 134 Vinicius Cubas Brand <viniciuscb@gmail.com>
133 135 Vitor Barbosa <vitornga15@gmail.com>
134 136 Wilton Rodrigues <braynwilton@gmail.com>
... ...
app/controllers/application_controller.rb
... ... @@ -9,7 +9,7 @@ class ApplicationController &lt; ActionController::Base
9 9 before_filter :allow_cross_domain_access
10 10  
11 11 before_filter :login_from_cookie
12   - before_filter :login_required, :if => :private_environment?
  12 + before_filter :require_login_for_environment, :if => :private_environment?
13 13  
14 14 before_filter :verify_members_whitelist, :if => [:private_environment?, :user]
15 15 before_filter :log_user
... ... @@ -19,6 +19,10 @@ class ApplicationController &lt; ActionController::Base
19 19 end
20 20 before_filter :redirect_to_current_user
21 21  
  22 + def require_login_for_environment
  23 + login_required
  24 + end
  25 +
22 26 def verify_members_whitelist
23 27 render_access_denied unless user.is_admin? || environment.in_whitelist?(user)
24 28 end
... ...
app/controllers/public/account_controller.rb
... ... @@ -2,7 +2,7 @@ class AccountController &lt; ApplicationController
2 2  
3 3 no_design_blocks
4 4  
5   - before_filter :login_required, :only => [:activation_question, :accept_terms, :activate_enterprise, :change_password]
  5 + before_filter :login_required, :require_login_for_environment, :only => [:activation_question, :accept_terms, :activate_enterprise, :change_password]
6 6 before_filter :redirect_if_logged_in, :only => [:login, :signup]
7 7 before_filter :protect_from_bots, :only => :signup
8 8  
... ...
app/controllers/public/content_viewer_controller.rb
... ... @@ -43,7 +43,10 @@ class ContentViewerController &lt; ApplicationController
43 43 end
44 44  
45 45 # At this point the page will be showed
46   - @page.hit unless user_is_a_bot? || already_visited?(@page)
  46 +
  47 + unless user_is_a_bot? || already_visited?(@page)
  48 + Noosfero::Scheduler::Defer.later{ @page.hit }
  49 + end
47 50  
48 51 @page = FilePresenter.for @page
49 52  
... ...
app/controllers/public/search_controller.rb
... ... @@ -180,22 +180,24 @@ class SearchController &lt; PublicController
180 180 end
181 181 end
182 182  
183   - AVAILABLE_SEARCHES = ActiveSupport::OrderedHash[
184   - :articles, _('Contents'),
185   - :people, _('People'),
186   - :communities, _('Communities'),
187   - :enterprises, _('Enterprises'),
188   - :products, _('Products and Services'),
189   - :events, _('Events'),
190   - ]
  183 + def available_searches
  184 + @available_searches ||= ActiveSupport::OrderedHash[
  185 + :articles, _('Contents'),
  186 + :people, _('People'),
  187 + :communities, _('Communities'),
  188 + :enterprises, _('Enterprises'),
  189 + :products, _('Products and Services'),
  190 + :events, _('Events'),
  191 + ]
  192 + end
191 193  
192 194 def load_search_assets
193   - if AVAILABLE_SEARCHES.keys.include?(params[:action].to_sym) && environment.enabled?("disable_asset_#{params[:action]}")
  195 + if available_searches.keys.include?(params[:action].to_sym) && environment.enabled?("disable_asset_#{params[:action]}")
194 196 render_not_found
195 197 return
196 198 end
197 199  
198   - @enabled_searches = AVAILABLE_SEARCHES.select {|key, name| environment.disabled?("disable_asset_#{key}") }
  200 + @enabled_searches = available_searches.select {|key, name| environment.disabled?("disable_asset_#{key}") }
199 201 @searching = {}
200 202 @titles = {}
201 203 @enabled_searches.each do |key, name|
... ... @@ -207,7 +209,7 @@ class SearchController &lt; PublicController
207 209  
208 210 def load_order
209 211 @order = 'more_recent'
210   - if AVAILABLE_SEARCHES.keys.include?(@asset.to_sym)
  212 + if available_searches.keys.include?(@asset.to_sym)
211 213 available_orders = asset_class(@asset)::SEARCH_FILTERS[:order]
212 214 @order = params[:order] if available_orders.include?(params[:order])
213 215 end
... ...
app/helpers/application_helper.rb
... ... @@ -1133,7 +1133,7 @@ module ApplicationHelper
1133 1133 alias :browse_communities_menu :search_communities_menu
1134 1134  
1135 1135 def pagination_links(collection, options={})
1136   - options = {:previous_label => '&laquo; ' + _('Previous'), :next_label => _('Next') + ' &raquo;'}.merge(options)
  1136 + options = {:previous_label => content_tag(:span, '&laquo; ', :class => 'previous-arrow') + _('Previous'), :next_label => _('Next') + content_tag(:span, ' &raquo;', :class => 'next-arrow'), :inner_window => 1, :outer_window => 0 }.merge(options)
1137 1137 will_paginate(collection, options)
1138 1138 end
1139 1139  
... ... @@ -1319,7 +1319,12 @@ module ApplicationHelper
1319 1319 options[:class] = (options[:class] || '') + ' disabled'
1320 1320 content_tag('a', '&nbsp;'+content_tag('span', content), options)
1321 1321 else
1322   - link_to content, url, options
  1322 + if options[:modal]
  1323 + options.delete(:modal)
  1324 + modal_link_to content, url, options
  1325 + else
  1326 + link_to content, url, options
  1327 + end
1323 1328 end
1324 1329 end
1325 1330  
... ...
app/helpers/article_helper.rb
... ... @@ -23,13 +23,11 @@ module ArticleHelper
23 23 ) :
24 24 '') +
25 25  
26   - (article.parent && article.parent.forum? && controller.action_name == 'new' ?
27   - hidden_field_tag('article[accept_comments]', 1) :
28 26 content_tag(
29 27 'div',
30 28 check_box(:article, :accept_comments) +
31 29 content_tag('label', (article.parent && article.parent.forum? ? _('This topic is opened for replies') : _('I want to receive comments about this article')), :for => 'article_accept_comments')
32   - )) +
  30 + ) +
33 31  
34 32 content_tag(
35 33 'div',
... ...
app/helpers/blog_helper.rb
... ... @@ -24,10 +24,8 @@ module BlogHelper
24 24 end
25 25  
26 26 def list_posts(articles, conf = { format: 'full', paginate: true })
27   - pagination = will_paginate(articles, {
  27 + pagination = pagination_links(articles, {
28 28 :param_name => 'npage',
29   - :previous_label => _('&laquo; Newer posts'),
30   - :next_label => _('Older posts &raquo;'),
31 29 :params => {:action=>"view_page",
32 30 :page=>articles.first.parent.path.split('/'),
33 31 :controller=>"content_viewer"}
... ...
app/helpers/cms_helper.rb
... ... @@ -9,11 +9,6 @@ module CmsHelper
9 9 mime_type.gsub('/', '_').gsub('-', '')
10 10 end
11 11  
12   - def pagination_links(collection, options={})
13   - options = {:previous_label => '&laquo; ', :next_label => ' &raquo;', :page_links => false}.merge(options)
14   - will_paginate(collection, options)
15   - end
16   -
17 12 attr_reader :environment
18 13  
19 14 def options_for_article(article, tokenized_children=nil)
... ... @@ -35,7 +30,7 @@ module CmsHelper
35 30 end
36 31  
37 32 def display_spread_button(article)
38   - expirable_button article, :spread, _('Spread this'), {:action => 'publish', :id => article.id}, {:class => 'colorbox'}
  33 + expirable_button article, :spread, _('Spread this'), {:action => 'publish', :id => article.id}, {:modal => true}
39 34 end
40 35  
41 36 def display_delete_button(article)
... ...
app/helpers/forum_helper.rb
... ... @@ -10,10 +10,8 @@ module ForumHelper
10 10 end
11 11  
12 12 def list_forum_posts(articles)
13   - pagination = will_paginate(articles, {
14   - :param_name => 'npage',
15   - :previous_label => _('&laquo; Newer posts'),
16   - :next_label => _('Older posts &raquo;')
  13 + pagination = pagination_links(articles, {
  14 + :param_name => 'npage'
17 15 })
18 16 content = [content_tag('tr',
19 17 content_tag('th', _('Discussion topic')) +
... ...
app/helpers/search_helper.rb
... ... @@ -5,24 +5,21 @@ module SearchHelper
5 5 BLOCKS_SEARCH_LIMIT = 24
6 6 MULTIPLE_SEARCH_LIMIT = 8
7 7  
8   - FILTERS_TRANSLATIONS = {
9   - :order => _('Order'),
10   - :display => _('Display')
11   - }
12   -
13   - FILTERS_OPTIONS_TRANSLATION = {
14   - :order => {
15   - 'more_popular' => _('More popular'),
16   - 'more_active' => _('More active'),
17   - 'more_recent' => _('More recent'),
18   - 'more_comments' => _('More comments')
19   - },
20   - :display => {
21   - 'map' => _('Map'),
22   - 'full' => _('Full'),
23   - 'compact' => _('Compact')
  8 + def filters_options_translation
  9 + @filters_options_translation ||= {
  10 + :order => {
  11 + 'more_popular' => _('More popular'),
  12 + 'more_active' => _('More active'),
  13 + 'more_recent' => _('More recent'),
  14 + 'more_comments' => _('More comments')
  15 + },
  16 + :display => {
  17 + 'map' => _('Map'),
  18 + 'full' => _('Full'),
  19 + 'compact' => _('Compact')
  20 + }
24 21 }
25   - }
  22 + end
26 23  
27 24 COMMON_PROFILE_LIST_BLOCK = [
28 25 :enterprises,
... ... @@ -100,7 +97,7 @@ module SearchHelper
100 97 if options.size <= 1
101 98 return
102 99 else
103   - options = options.map {|option| [FILTERS_OPTIONS_TRANSLATION[name][option], option]}
  100 + options = options.map {|option| [filters_options_translation[name][option], option]}
104 101 options = options_for_select(options, :selected => (params[name] || default))
105 102 select_tag(name, options)
106 103 end
... ...
app/models/add_member.rb
... ... @@ -29,8 +29,10 @@ class AddMember &lt; Task
29 29 end
30 30  
31 31 def information
32   - {:message => _("%{requestor} wants to be a member of '%{organization}'."),
33   - variables: {requestor: requestor.name, organization: organization.name}}
  32 + requestor_email = " (#{requestor.email})" if requestor.may_display_field_to?("email")
  33 +
  34 + {:message => _("%{requestor}%{requestor_email} wants to be a member of '%{organization}'."),
  35 + variables: {requestor: requestor.name, requestor_email: requestor_email, organization: organization.name}}
34 36 end
35 37  
36 38 def accept_details
... ... @@ -46,7 +48,9 @@ class AddMember &lt; Task
46 48 end
47 49  
48 50 def target_notification_description
49   - _("%{requestor} wants to be a member of '%{organization}'.") % {:requestor => requestor.name, :organization => organization.name}
  51 + requestor_email = " (#{requestor.email})" if requestor.may_display_field_to?("email")
  52 +
  53 + _("%{requestor}%{requestor_email} wants to be a member of '%{organization}'.") % {:requestor => requestor.name, :requestor_email => requestor_email, :organization => organization.name}
50 54 end
51 55  
52 56 def target_notification_message
... ...
app/models/article.rb
... ... @@ -812,7 +812,7 @@ class Article &lt; ActiveRecord::Base
812 812 end
813 813  
814 814 def first_image
815   - img = ( image.present? && { 'src' => image.public_filename } ) ||
  815 + img = ( image.present? && { 'src' => File.join([Noosfero.root, image.public_filename].join) } ) ||
816 816 Nokogiri::HTML.fragment(self.lead.to_s).css('img[src]').first ||
817 817 Nokogiri::HTML.fragment(self.body.to_s).search('img').first
818 818 img.nil? ? '' : img['src']
... ...
app/models/favorite_enterprises_block.rb
... ... @@ -16,7 +16,7 @@ class FavoriteEnterprisesBlock &lt; ProfileListBlock
16 16 owner = self.owner
17 17 return '' unless owner.kind_of?(Person)
18 18 proc do
19   - link_to _('View all'), :profile => owner.identifier, :controller => 'profile', :action => 'favorite_enterprises'
  19 + link_to _('enterprises|View all'), {:profile => owner.identifier, :controller => 'profile', :action => 'favorite_enterprises'}, :class => 'view-all'
20 20 end
21 21 end
22 22  
... ...
app/models/highlights_block.rb
... ... @@ -12,7 +12,9 @@ class HighlightsBlock &lt; Block
12 12 block.images.each do |i|
13 13 i[:image_id] = i[:image_id].to_i
14 14 i[:position] = i[:position].to_i
15   - i[:address] = Noosfero.root + i[:address] unless Noosfero.root.nil?
  15 + if !Noosfero.root.nil? and !i[:address].start_with?(Noosfero.root + '/')
  16 + i[:address] = Noosfero.root + i[:address]
  17 + end
16 18 begin
17 19 file = UploadedFile.find(i[:image_id])
18 20 i[:image_src] = file.public_filename
... ...
app/views/api/playground.html.erb
1 1 <h1>API Playground</h1>
2 2  
3 3 <script>
  4 +<% prefix = Noosfero::API::API.prefix %>
  5 +var prefix = <%= prefix.to_json %>;
4 6 var endpoints = <%=
5 7 endpoints.map do |endpoint|
6 8 app = endpoint.options[:app].to_s
... ... @@ -13,8 +15,8 @@ endpoints.map do |endpoint|
13 15 end
14 16 end
15 17 end.flatten.compact.sort{|a,b|
16   - a[:path]=='/api/v1/login' ? -1 :
17   - b[:path]=='/api/v1/login' ? 1 :
  18 + a[:path]=="#{prefix}/v1/login" ? -1 :
  19 + b[:path]=="#{prefix}/v1/login" ? 1 :
18 20 a[:path] <=> b[:path]
19 21 }.to_json %>;
20 22 </script>
... ... @@ -33,4 +35,4 @@ end.flatten.compact.sort{|a,b|
33 35 </div>
34 36 <pre id="api-response" class="empty"></pre>
35 37  
36   -<script src="/javascripts/api-playground.js"></script>
  38 +<%= javascript_include_tag 'api-playground' %>
... ...
app/views/blocks/highlights.html.erb
... ... @@ -4,7 +4,7 @@
4 4 <div class='highlights-container'>
5 5 <% block.featured_images.each do |img| %>
6 6 <a href="<%= img[:address] %>" title="<%= img[:title] %>" class="highlights-image-link">
7   - <%= content_tag :img, nil, :src => img[:image_src], :alt => img[:title] %>
  7 + <%= image_tag [Noosfero.root, img[:image_src]].join, alt: img[:title] %>
8 8 <p class="highlights-label"><%= img[:title] %></p>
9 9 </a>
10 10 <% end %>
... ...
app/views/cms/_published_media_items.html.erb
... ... @@ -4,7 +4,7 @@
4 4 <div class='section-title'>
5 5 <h3><%= header %></h3>
6 6 <% if @recent_files[key].total_pages > 1 %>
7   - <%= link_to(_('View all'), {:controller => 'cms', :action => 'view_all_media', :profile => profile.identifier, :key => key}, :class => 'view-all colorbox', 'data-key' => key) %>
  7 + <%= modal_link_to(_('View all'), {:controller => 'cms', :action => 'view_all_media', :profile => profile.identifier, :key => key}, { :class => 'view-all', 'data-key' => key }) %>
8 8 <% end %>
9 9 </div>
10 10 <%= render :partial => "cms/media_panel/list_published_media_items", :locals => { key: key, show_pagination_links: false } %>
... ...
app/views/cms/media_panel/_image.html.erb
1 1 <div class="item image" data-item="span" title="<%= @file.name %>">
2 2 <span>
3   - <img src="<%= @file.public_filename(:uploaded) %>"/>
  3 + <%= image_tag(@file.public_filename(:uploaded)) %>
4 4 </span>
5 5 <div class="controls image-controls">
6 6 <a class="button icon-add add-to-text" href="#"><span><%= _('Add to the text') %></span></a>
... ...
app/views/content_viewer/_article_toolbar.html.erb
... ... @@ -18,7 +18,7 @@
18 18  
19 19 <% if @page.allow_spread?(user) && !remove_content_button(:spread, @page) %>
20 20 <% url = profile.admin_url.merge({ :controller => 'cms', :action => 'publish', :id => @page.id }) %>
21   - <%= expirable_button @page, :spread, content_tag( 'span', _('Spread this') ), url, {:class => 'colorbox'} if url %>
  21 + <%= expirable_button @page, :spread, content_tag( 'span', _('Spread this') ), url, {:modal => true} if url %>
22 22 <% end %>
23 23  
24 24 <% if !@page.gallery? && (@page.allow_create?(user) || (@page.parent && @page.parent.allow_create?(user))) %>
... ...
app/views/profile_editor/index.html.erb
... ... @@ -28,7 +28,7 @@
28 28  
29 29 <%= control_panel_button(_('Manage Content'), 'cms', :controller => 'cms') %>
30 30  
31   - <%= control_panel_button(_('Manage Roles'), 'roles', :controller => 'profile_roles') %>
  31 + <%= control_panel_button(_('Manage Roles'), 'roles', :controller => 'profile_roles') if profile.organization? %>
32 32  
33 33 <% unless profile.enterprise? %>
34 34 <%= case profile.blogs.count
... ...
debian/changelog
1   -noosfero (1.3~0.0) UNRELEASED; urgency=medium
  1 +noosfero (1.3~rc1) wheezy-test; urgency=medium
2 2  
3   - * Noosfero 1.3 ALPHA 0
  3 + * Noosfero 1.3 RC1
4 4  
5   - -- Antonio Terceiro <terceiro@debian.org> Wed, 09 Sep 2015 21:27:05 -0300
  5 + -- Antonio Terceiro <terceiro@colivre.coop.br> Fri, 09 Oct 2015 10:24:13 -0300
6 6  
7 7 noosfero (1.2) wheezy; urgency=low
8 8  
... ...
etc/init.d/noosfero
... ... @@ -7,7 +7,7 @@
7 7 # Should-Stop: postgresql
8 8 # Default-Start: 2 3 4 5
9 9 # Default-Stop: 0 1 6
10   -# Short-Description: Example initscript
  10 +# Short-Description: Noosfero
11 11 # Description: This file should be used to construct scripts to be
12 12 # placed in /etc/init.d.
13 13 ### END INIT INFO
... ...
features/step_definitions/web_steps.rb
... ... @@ -163,6 +163,14 @@ Then /^(?:|I )should not see \/([^\/]*)\/(?: within &quot;([^&quot;]*)&quot;)?$/ do |regexp, se
163 163 end
164 164 end
165 165  
  166 +Then /^(?:|I )should not see "([^"]*)" within any "([^"]*)"?$/ do |text, selector|
  167 + if page.respond_to? :should
  168 + page.should have_no_css(selector, :text => text)
  169 + else
  170 + assert page.has_no_css?(selector, :text => text)
  171 + end
  172 +end
  173 +
166 174 Then /^the "([^"]*)" field(?: within "([^"]*)")? should contain "([^"]*)"$/ do |field, selector, value|
167 175 with_scope(selector) do
168 176 field = find_field(field)
... ...
lib/code_numbering.rb 0 → 100644
... ... @@ -0,0 +1,58 @@
  1 +module CodeNumbering
  2 + module ClassMethods
  3 + def code_numbering field, options = {}
  4 + class_attribute :code_numbering_field
  5 + class_attribute :code_numbering_options
  6 +
  7 + self.code_numbering_field = field
  8 + self.code_numbering_options = options
  9 +
  10 + before_create :create_code_numbering
  11 +
  12 + include CodeNumbering::InstanceMethods
  13 + end
  14 + end
  15 +
  16 + module InstanceMethods
  17 +
  18 + def code
  19 + self.attributes[self.code_numbering_field.to_s]
  20 + end
  21 +
  22 + def code_scope
  23 + scope = self.code_numbering_options[:scope]
  24 + case scope
  25 + when Symbol
  26 + self.send scope
  27 + when Proc
  28 + instance_exec &scope
  29 + else
  30 + self.class
  31 + end
  32 + end
  33 +
  34 + def code_maximum
  35 + self.code_scope.maximum(self.code_numbering_field) || 0
  36 + end
  37 +
  38 + def create_code_numbering
  39 + max = self.code_numbering_options[:start].to_i - 1 if self.code_numbering_options[:start]
  40 + max = self.code_maximum
  41 + self.send "#{self.code_numbering_field}=", max+1
  42 + end
  43 +
  44 + def reset_scope_code_numbering
  45 + max = self.code_numbering_options[:start].to_i - 1 if self.code_numbering_options[:start]
  46 + max ||= 1
  47 +
  48 + self.code_scope.order(:created_at).each do |record|
  49 + record.update_column self.code_numbering_field, max
  50 + max += 1
  51 + end
  52 + self.reload
  53 + end
  54 +
  55 + end
  56 +end
  57 +
  58 +ActiveRecord::Base.extend CodeNumbering::ClassMethods
... ...
lib/noosfero/api/api.rb
... ... @@ -35,7 +35,7 @@ module Noosfero
35 35 after { set_session_cookie }
36 36  
37 37 version 'v1'
38   - prefix "api"
  38 + prefix [ENV['RAILS_RELATIVE_URL_ROOT'], "api"].compact.join('/')
39 39 format :json
40 40 content_type :txt, "text/plain"
41 41  
... ...
lib/noosfero/version.rb
1 1 module Noosfero
2 2 PROJECT = 'noosfero'
3   - VERSION = '1.3~0.0'
  3 + VERSION = '1.3~rc1'
4 4 end
5 5  
6 6 root = File.expand_path(File.dirname(__FILE__) + '/../..')
... ...
lib/split_datetime.rb 0 → 100644
... ... @@ -0,0 +1,72 @@
  1 +
  2 +module SplitDatetime
  3 +
  4 + class << self
  5 + def nil_time
  6 + Time.parse "#{Time.now.hour}:0:0"
  7 + end
  8 + def nil_date
  9 + Date.today
  10 + end
  11 +
  12 + def to_time datetime
  13 + datetime = self.nil_time if datetime.blank?
  14 + datetime.to_formatted_s :time
  15 + end
  16 + def to_date datetime
  17 + datetime = self.nil_date if datetime.blank?
  18 + datetime.strftime '%d/%m/%Y'
  19 + end
  20 + def set_time datetime, value
  21 + value = if value.blank?
  22 + self.nil_time
  23 + elsif value.kind_of? String
  24 + Time.parse value
  25 + else
  26 + value.to_time
  27 + end
  28 + datetime = self.nil_date if datetime.blank?
  29 +
  30 + Time.mktime(datetime.year, datetime.month, datetime.day, value.hour, value.min, value.sec).to_datetime
  31 + end
  32 + def set_date datetime, value
  33 + value = if value.blank?
  34 + self.nil_date
  35 + elsif value.kind_of? String
  36 + DateTime.strptime value, '%d/%m/%Y'
  37 + else
  38 + value.to_time
  39 + end
  40 + datetime = nil_time if datetime.blank?
  41 +
  42 + Time.mktime(value.year, value.month, value.day, datetime.hour, datetime.min, datetime.sec).to_datetime
  43 + end
  44 + end
  45 +
  46 + module SplitMethods
  47 +
  48 + def split_datetime attr
  49 + define_method "#{attr}_time" do
  50 + datetime = send attr
  51 + SplitDatetime.to_time datetime
  52 + end
  53 + define_method "#{attr}_date" do
  54 + datetime = send attr
  55 + SplitDatetime.to_date datetime
  56 + end
  57 + define_method "#{attr}_time=" do |value|
  58 + datetime = send attr
  59 + send "#{attr}=", SplitDatetime.set_time(datetime, value)
  60 + end
  61 + define_method "#{attr}_date=" do |value|
  62 + datetime = send attr
  63 + send "#{attr}=", SplitDatetime.set_date(datetime, value)
  64 + end
  65 + end
  66 +
  67 + end
  68 +
  69 +end
  70 +
  71 +Class.extend SplitDatetime::SplitMethods
  72 +ActiveRecord::Base.extend SplitDatetime::SplitMethods
... ...
lib/tasks/backup.rake
... ... @@ -18,15 +18,17 @@ backup_dirs = [
18 18 desc "Creates a backup of the database and uploaded files"
19 19 task :backup => :check_backup_support do
20 20 dirs = backup_dirs.select { |d| File.exists?(d) }
  21 + rails_env = ENV["RAILS_ENV"] || 'production'
21 22  
22 23 backup_name = Time.now.strftime('%Y-%m-%d-%R')
23 24 backup_file = File.join('tmp/backup', backup_name) + '.tar.gz'
24 25 mkdir_p 'tmp/backup'
25 26 dump = File.join('tmp/backup', backup_name) + '.sql'
26 27  
27   - database = $config['production']['database']
28   - host = $config['production']['host']
29   - sh "pg_dump -h #{host} #{database} > #{dump}"
  28 + database = $config[rails_env]['database']
  29 + host = $config[rails_env]['host']
  30 + host = host && "-h #{host}" || ""
  31 + sh "pg_dump #{host} #{database} > #{dump}"
30 32  
31 33 sh 'tar', 'chaf', backup_file, dump, *dirs
32 34 rm_f dump
... ... @@ -51,6 +53,7 @@ end
51 53 desc "Restores a backup created previousy with \`rake backup\`"
52 54 task :restore => :check_backup_support do
53 55 backup = ENV["BACKUP"]
  56 + rails_env = ENV["RAILS_ENV"] || 'production'
54 57 unless backup
55 58 puts "usage: rake restore BACKUP=/path/to/backup"
56 59 exit 1
... ... @@ -80,17 +83,18 @@ task :restore =&gt; :check_backup_support do
80 83 end
81 84 dump = dumps.first
82 85  
83   - database = $config['production']['database']
84   - username = $config['production']['username']
85   - host = $config['production']['host']
  86 + database = $config[rails_env]['database']
  87 + username = $config[rails_env]['username']
  88 + host = $config[rails_env]['host']
  89 + host = host && "-h #{host}" || ""
86 90  
87 91 puts "WARNING: backups should be restored to an empty database, otherwise"
88 92 puts "data from the backup may not be loaded properly."
89 93 puts
90 94 puts 'You can remove the existing database and create a new one with:'
91 95 puts
92   - puts "$ sudo -u postgres dropdb -h #{host} #{database}"
93   - puts "$ sudo -u postgres createdb -h #{host} #{database} --owner #{username}"
  96 + puts "$ sudo -u postgres dropdb #{host} #{database}"
  97 + puts "$ sudo -u postgres createdb #{host} #{database} --owner #{username}"
94 98 puts
95 99 print "Are you sure you want to continue (y/N)? "
96 100 response = $stdin.gets.strip
... ... @@ -100,10 +104,39 @@ task :restore =&gt; :check_backup_support do
100 104 end
101 105  
102 106 sh 'tar', 'xaf', backup
103   - sh "rails dbconsole production < #{dump}"
  107 + sh "rails dbconsole #{rails_env} < #{dump}"
104 108 rm_f dump
105 109  
106 110 puts "****************************************************"
107 111 puts "Backup restored!"
108 112 puts "****************************************************"
109 113 end
  114 +
  115 +desc 'Removes emails from database'
  116 +task 'restore:remove_emails' => :environment do
  117 + connection = ActiveRecord::Base.connection
  118 + [
  119 + "UPDATE users SET email = concat('user', id, '@localhost.localdomain')",
  120 + "UPDATE environments SET contact_email = concat('environment', id, '@localhost.localdomain')",
  121 + ].each do |update|
  122 + puts update
  123 + connection.execute(update)
  124 + end
  125 +
  126 + profiles = connection.execute("select id, data from profiles")
  127 + profiles.each do |profile|
  128 + if profile['data']
  129 + data = YAML.load(profile['data'])
  130 + if data[:contact_email] && data[:contact_email] !~ /@localhost.localdomain$/
  131 + data[:contact_email] = ['profile', profile['id'], '@localhost.localdomain'].join
  132 + sql = Environment.send(:sanitize_sql, [
  133 + "UPDATE profiles SET data = ? WHERE id = ?",
  134 + YAML.dump(data),
  135 + profile['id'],
  136 + ])
  137 + puts sql
  138 + connection.execute(sql)
  139 + end
  140 + end
  141 + end
  142 +end
... ...
lib/tasks/plugins_tests.rake
... ... @@ -8,6 +8,7 @@ $broken_plugins = %w[
8 8  
9 9 @all_plugins = Dir.glob('plugins/*').map { |f| File.basename(f) } - ['template']
10 10 @all_plugins.sort!
  11 +
11 12 @all_tasks = [:units, :functionals, :integration, :cucumber, :selenium]
12 13  
13 14 def enabled_plugins
... ...
plugins/bsc/controllers/bsc_plugin_admin_controller.rb
... ... @@ -1,37 +0,0 @@
1   -class BscPluginAdminController < AdminController
2   -
3   - include BscPlugin::BscHelper
4   -
5   - def new
6   - @bsc = BscPlugin::Bsc.new(params[:profile_data])
7   - if request.post? && @bsc.valid?
8   - @bsc.user = current_user
9   - @bsc.save!
10   - @bsc.add_admin(user)
11   - session[:notice] = _('Your Bsc was created.')
12   - redirect_to :controller => 'profile_editor', :profile => @bsc.identifier
13   - end
14   - end
15   -
16   - def save_validations
17   - enterprises = [Enterprise.find(params[:q].split(','))].flatten
18   -
19   - begin
20   - enterprises.each { |enterprise| enterprise.validated = true ; enterprise.save! }
21   - session[:notice] = _('Enterprises validated.')
22   - redirect_to :controller => 'admin_panel'
23   - rescue Exception => ex
24   - session[:notice] = _('Enterprise validations couldn\'t be saved.')
25   - logger.info ex
26   - redirect_to :action => 'validate_enterprises'
27   - end
28   - end
29   -
30   - def search_enterprise
31   - render :text => Enterprise.not_validated.find(:all, :conditions => ["type <> 'BscPlugin::Bsc' AND (name LIKE ? OR identifier LIKE ?)", "%#{params[:q]}%", "%#{params[:q]}%"]).
32   - map {|enterprise| {:id => enterprise.id, :name => enterprise.name} }.
33   - to_json
34   - end
35   -
36   -end
37   -
plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb
... ... @@ -1,215 +0,0 @@
1   -class BscPluginMyprofileController < MyProfileController
2   -
3   - include BscPlugin::BscHelper
4   -
5   - def manage_associated_enterprises
6   - @associated_enterprises = profile.enterprises
7   - @pending_enterprises = profile.enterprise_requests.pending.map(&:enterprise)
8   - end
9   -
10   - def search_enterprise
11   - render :text => environment.enterprises.find(:all, :conditions => ["type <> 'BscPlugin::Bsc' AND (LOWER(name) LIKE ? OR LOWER(identifier) LIKE ?) AND (identifier NOT LIKE ?)", "%#{params[:q]}%", "%#{params[:q]}%", "%_template"]).
12   - select { |enterprise| enterprise.bsc.nil? && !profile.already_requested?(enterprise)}.
13   - map {|enterprise| {:id => enterprise.id, :name => enterprise.name} }.
14   - to_json
15   - end
16   -
17   - def save_associations
18   - enterprises = [Enterprise.find(params[:q].split(','))].flatten
19   - to_remove = profile.enterprises - enterprises
20   - to_add = enterprises - profile.enterprises
21   -
22   - to_remove.each do |enterprise|
23   - enterprise.bsc = nil
24   - enterprise.save!
25   - profile.enterprises.delete(enterprise)
26   - end
27   -
28   - to_add.each do |enterprise|
29   - if enterprise.enabled
30   - BscPlugin::AssociateEnterprise.create!(:requestor => user, :target => enterprise, :bsc => profile)
31   - else
32   - enterprise.bsc = profile
33   - enterprise.save!
34   - profile.enterprises << enterprise
35   - end
36   - end
37   -
38   - session[:notice] = _('This Bsc associations were saved successfully.')
39   - begin
40   - redirect_to :controller => 'profile_editor'
41   - rescue Exception => ex
42   - session[:notice] = _('This Bsc associations couldn\'t be saved.')
43   - logger.info ex
44   - redirect_to :action => 'manage_associated_enterprises'
45   - end
46   - end
47   -
48   - def similar_enterprises
49   - name = params[:name]
50   - city = params[:city]
51   -
52   - result = []
53   - if !name.blank?
54   - enterprises = (profile.environment.enterprises - profile.enterprises).select { |enterprise| enterprise.bsc_id.nil? && enterprise.city == city && enterprise.name.downcase.include?(name.downcase)}
55   - result = enterprises.inject(result) {|result, enterprise| result << [enterprise.id, enterprise.name]}
56   - end
57   - render :text => result.to_json
58   - end
59   -
60   - def transfer_ownership
61   - role = Profile::Roles.admin(profile.environment.id)
62   - @roles = [role]
63   - if request.post?
64   - person = Person.find(params['q_'+role.key])
65   -
66   - profile.admins.map { |admin| profile.remove_admin(admin) }
67   - profile.add_admin(person)
68   -
69   - BscPlugin::Mailer.deliver_admin_notification(person, profile)
70   -
71   - session[:notice] = _('Enterprise ownership transferred.')
72   - redirect_to :controller => 'profile_editor'
73   - end
74   - end
75   -
76   - def create_enterprise
77   - @create_enterprise = CreateEnterprise.new(params[:create_enterprise])
78   - @create_enterprise.requestor = user
79   - @create_enterprise.target = environment
80   - @create_enterprise.bsc_id = profile.id
81   - @create_enterprise.enabled = true
82   - @create_enterprise.validated = false
83   - if request.post? && @create_enterprise.valid?
84   - @create_enterprise.perform
85   - session[:notice] = _('Enterprise was created in association with %s.') % profile.name
86   - redirect_to :controller => 'profile_editor', :profile => @create_enterprise.identifier
87   - end
88   - end
89   -
90   - def manage_contracts
91   - self.class.no_design_blocks
92   - @sorting = params[:sorting] || 'created_at asc'
93   - sorted_by = @sorting.split(' ').first
94   - sort_direction = @sorting.split(' ').last
95   - @status = params[:status] || BscPlugin::Contract::Status.types.map { |s| s.to_s }
96   - @contracts = profile.contracts.
97   - status(@status).
98   - sorted_by(sorted_by, sort_direction).
99   - paginate(:per_page => contracts_per_page, :page => params[:page])
100   - end
101   -
102   - def new_contract
103   - if !request.post?
104   - @contract = BscPlugin::Contract.new
105   - else
106   - @contract = BscPlugin::Contract.new(params[:contract])
107   - @contract.bsc = profile
108   - sales = params[:sales] ? params[:sales].map {|key, value| value} : []
109   - sales.reject! {|sale| sale[:product_id].blank?}
110   -
111   - if @contract.save!
112   - enterprises_ids = params[:enterprises] || ''
113   - enterprises_ids.split(',').each { |id| @contract.enterprises << Enterprise.find(id) }
114   - @failed_sales = @contract.save_sales(sales)
115   -
116   - if @failed_sales.blank?
117   - session[:notice] = _('Contract created.')
118   - redirect_to :action => 'manage_contracts'
119   - else
120   - session[:notice] = _('Contract created but some products could not be added.')
121   - redirect_to :action => 'edit_contract', :contract_id => @contract.id
122   - end
123   - end
124   - end
125   - end
126   -
127   - def view_contract
128   - begin
129   - @contract = BscPlugin::Contract.find(params[:contract_id])
130   - rescue
131   - session[:notice] = _('Contract doesn\'t exists! Maybe it was already removed.')
132   - redirect_to :action => 'manage_contracts'
133   - end
134   - end
135   -
136   - def edit_contract
137   - begin
138   - @contract = BscPlugin::Contract.find(params[:contract_id])
139   - rescue
140   - session[:notice] = _('Could not edit such contract.')
141   - redirect_to :action => 'manage_contracts'
142   - end
143   - if request.post? && @contract.update_attributes(params[:contract])
144   -
145   - # updating associated enterprises
146   - enterprises_ids = params[:enterprises] || ''
147   - enterprises = [Enterprise.find(enterprises_ids.split(','))].flatten
148   - to_remove = @contract.enterprises - enterprises
149   - to_add = enterprises - @contract.enterprises
150   - to_remove.each { |enterprise| @contract.enterprises.delete(enterprise)}
151   - to_add.each { |enterprise| @contract.enterprises << enterprise }
152   -
153   - # updating sales
154   - sales = params[:sales] ? params[:sales].map {|key, value| value} : []
155   - sales.reject! {|sale| sale[:product_id].blank?}
156   - products = [Product.find(sales.map { |sale| sale[:product_id] })].flatten
157   - to_remove = @contract.products - products
158   - to_keep = sales.select { |sale| @contract.products.include?(Product.find(sale[:product_id])) }
159   -
160   - to_keep.each do |sale_attrs|
161   - sale = @contract.sales.find_by_product_id(sale_attrs[:product_id])
162   - sale.update_attributes!(sale_attrs)
163   - sales.delete(sale_attrs)
164   - end
165   -
166   - to_remove.each { |product| @contract.sales.find_by_product_id(product.id).destroy }
167   - @failed_sales = @contract.save_sales(sales)
168   -
169   - if @failed_sales.blank?
170   - session[:notice] = _('Contract edited.')
171   - redirect_to :action => 'manage_contracts'
172   - else
173   - session[:notice] = _('Contract edited but some products could not be added.')
174   - redirect_to :action => 'edit_contract', :contract_id => @contract.id
175   - end
176   - end
177   - end
178   -
179   - def destroy_contract
180   - begin
181   - contract = BscPlugin::Contract.find(params[:contract_id])
182   - contract.destroy
183   - session[:notice] = _('Contract removed.')
184   - rescue
185   - session[:notice] = _('Contract could not be removed. Sorry! ^^')
186   - end
187   - redirect_to :action => 'manage_contracts'
188   - end
189   -
190   - def search_contract_enterprises
191   - render :text => profile.enterprises.find(:all, :conditions => ["(LOWER(name) LIKE ? OR LOWER(identifier) LIKE ?)", "%#{params[:enterprises]}%", "%#{params[:enterprises]}%"]).
192   - map {|enterprise| {:id => enterprise.id, :name => enterprise.short_name(60)} }.
193   - to_json
194   - end
195   -
196   - def search_sale_product
197   - query = params[:sales].map {|key, value| value}[0][:product_id]
198   - enterprises = (params[:enterprises] || []).split(',')
199   - enterprises = enterprises.blank? ? -1 : enterprises
200   - added_products = (params[:added_products] || []).split(',')
201   - added_products = added_products.blank? ? -1 : added_products
202   - render :text => Product.find(:all, :conditions => ["LOWER(name) LIKE ? AND profile_id IN (?) AND id NOT IN (?)", "%#{query}%", enterprises, added_products]).
203   - map {|product| { :id => product.id,
204   - :name => short_text(product_display_name(product), 60),
205   - :sale_id => params[:sale_id],
206   - :product_price => product.price || 0 }}.
207   - to_json
208   - end
209   -
210   - private
211   -
212   - def contracts_per_page
213   - 15
214   - end
215   -end
plugins/bsc/db/migrate/20110609143043_add_bsc_to_enterprise.rb
... ... @@ -1,9 +0,0 @@
1   -class AddBscToEnterprise < ActiveRecord::Migration
2   - def self.up
3   - add_column :profiles, :bsc_id, :integer
4   - end
5   -
6   - def self.down
7   - remove_column :profiles, :bsc_id
8   - end
9   -end
plugins/bsc/db/migrate/20110610145112_add_bsc_fields.rb
... ... @@ -1,9 +0,0 @@
1   -class AddBscFields < ActiveRecord::Migration
2   - def self.up
3   - add_column :profiles, :company_name, :string
4   - end
5   -
6   - def self.down
7   - remove_column :profiles, :company_name
8   - end
9   -end
plugins/bsc/db/migrate/20110614183624_add_bsc_to_tasks.rb
... ... @@ -1,9 +0,0 @@
1   -class AddBscToTasks < ActiveRecord::Migration
2   - def self.up
3   - add_column :tasks, :bsc_id, :integer
4   - end
5   -
6   - def self.down
7   - remove_column :tasks, :bsc_id
8   - end
9   -end
plugins/bsc/db/migrate/20111018201143_create_bsc_plugin_sale.rb
... ... @@ -1,15 +0,0 @@
1   -class CreateBscPluginSale < ActiveRecord::Migration
2   - def self.up
3   - create_table :bsc_plugin_sales do |t|
4   - t.references :product, :null => false
5   - t.references :contract, :null => false
6   - t.integer :quantity, :null => false
7   - t.decimal :price
8   - t.timestamps
9   - end
10   - end
11   -
12   - def self.down
13   - drop_table :bsc_plugin_sales
14   - end
15   -end
plugins/bsc/db/migrate/20111018201220_create_bsc_plugin_contracts_enterprises.rb
... ... @@ -1,12 +0,0 @@
1   -class CreateBscPluginContractsEnterprises < ActiveRecord::Migration
2   - def self.up
3   - create_table :bsc_plugin_contracts_enterprises, :id => false do |t|
4   - t.references :contract
5   - t.references :enterprise
6   - end
7   - end
8   -
9   - def self.down
10   - drop_table :bsc_plugin_contracts_enterprises
11   - end
12   -end
plugins/bsc/db/migrate/20111018201239_create_bsc_plugin_contract.rb
... ... @@ -1,22 +0,0 @@
1   -class CreateBscPluginContract < ActiveRecord::Migration
2   - def self.up
3   - create_table :bsc_plugin_contracts do |t|
4   - t.string :client_name
5   - t.integer :client_type
6   - t.integer :business_type
7   - t.string :state
8   - t.string :city
9   - t.integer :status, :default => 0
10   - t.integer :number_of_producers, :default => 0
11   - t.datetime :supply_start
12   - t.datetime :supply_end
13   - t.text :annotations
14   - t.references :bsc
15   - t.timestamps
16   - end
17   - end
18   -
19   - def self.down
20   - drop_table :bsc_plugin_contracts
21   - end
22   -end
plugins/bsc/features/bsc.feature
... ... @@ -1,164 +0,0 @@
1   -Feature: bsc
2   -
3   - Background:
4   - Given "Bsc" plugin is enabled
5   -
6   - Scenario: display link to bsc creation on admin panel when bsc plugin active
7   - Given I am logged in as admin
8   - When I am on the environment control panel
9   - Then I should see "Create Bsc"
10   - When "Bsc" plugin is disabled
11   - And I am on the environment control panel
12   - Then I should not see "Create Bsc"
13   -
14   - Scenario: be able to create a bsc
15   - Given I am logged in as admin
16   - And I am on the environment control panel
17   - And I follow "Create Bsc"
18   - And I fill in the following:
19   - | Business name | Sample Bsc |
20   - | Company name | Sample Bsc |
21   - | profile_data_identifier | sample-identifier |
22   - | Cnpj | 07.970.746/0001-77 |
23   - When I press "Save"
24   - Then there should be a profile named "Sample Bsc"
25   -
26   - Scenario: display a button on bsc control panel to manage associated enterprises
27   - Given the folllowing "bsc" from "bsc_plugin"
28   - | business_name | identifier | company_name | cnpj |
29   - | Bsc Test | bsc-test | Bsc Test Ltda | 94.132.024/0001-48 |
30   - And I am logged in as admin
31   - When I am on Bsc Test's control panel
32   - Then I should see "Manage associated enterprises"
33   -
34   - Scenario: display a button on bsc control panel to transfer ownership
35   - Given the folllowing "bsc" from "bsc_plugin"
36   - | business_name | identifier | company_name | cnpj |
37   - | Bsc Test | bsc-test | Bsc Test Ltda | 94.132.024/0001-48 |
38   - And I am logged in as admin
39   - When I am on Bsc Test's control panel
40   - Then I should see "Transfer ownership"
41   -
42   - Scenario: create a new enterprise already associated with a bsc
43   - Given the following user
44   - | login | name |
45   - | pedro-silva | Pedro Silva |
46   - And the folllowing "bsc" from "bsc_plugin"
47   - | business_name | identifier | company_name | cnpj | owner |
48   - | Bsc Test | bsc-test | Bsc Test Ltda | 94.132.024/0001-48 | pedro-silva |
49   - And organization_approval_method is "none" on environment
50   - And I am logged in as "pedro-silva"
51   - And I am on Bsc Test's control panel
52   - And I follow "Manage associated enterprises"
53   - And I follow "Add new enterprise"
54   - And I fill in the following:
55   - | Name | Associated Enterprise |
56   - | Address | associated-enterprise |
57   - When I press "Save"
58   - Then "Associated Enterprise" should be associated with "Bsc Test"
59   -
60   - Scenario: do not display "add new product" button
61   - Given the following user
62   - | login | name |
63   - | pedro-silva | Pedro Silva |
64   - And the folllowing "bsc" from "bsc_plugin"
65   - | business_name | identifier | company_name | cnpj | owner |
66   - | Bsc Test | bsc-test | Bsc Test Ltda | 94.132.024/0001-48 | pedro-silva |
67   - And feature "disable_products_for_enterprises" is disabled on environment
68   - And I am logged in as "pedro-silva"
69   - And I am on Bsc Test's control panel
70   - When I follow "Manage Products/Services"
71   - Then I should not see "New product or service"
72   -
73   - Scenario: display bsc's enterprises' products name on the bsc catalog
74   - Given the following user
75   - | login | name |
76   - | pedro-silva | Pedro Silva |
77   - And the folllowing "bsc" from "bsc_plugin"
78   - | business_name | identifier | company_name | cnpj | owner |
79   - | Bsc Test | bsc-test | Bsc Test Ltda | 94.132.024/0001-48 | pedro-silva |
80   - And the following enterprise
81   - | identifier | name |
82   - | sample-enterprise | Sample Enterprise |
83   - And the following product_category
84   - | name |
85   - | bike |
86   - And the following products
87   - | owner | category | name |
88   - | sample-enterprise | bike | Master Bike |
89   - And "Sample Enterprise" is associated with "Bsc Test"
90   - And I am logged in as "pedro-silva"
91   - When I go to Bsc Test's products page
92   - Then I should see "Master Bike"
93   - And I should see "Sample Enterprise"
94   -
95   - Scenario: display enterprise name linked only if person is member of any Bsc
96   - Given the folllowing "bsc" from "bsc_plugin"
97   - | business_name | identifier | company_name | cnpj |
98   - | Bsc Test | bsc-test | Bsc Test Ltda | 94.132.024/0001-48 |
99   - | Another Bsc | another-bsc | Another Bsc Test Ltda | 07.970.746/0001-77 |
100   - And the following enterprise
101   - | identifier | name |
102   - | sample-enterprise | Sample Enterprise |
103   - And the following product_category
104   - | name |
105   - | bike |
106   - And the following products
107   - | owner | category | name |
108   - | sample-enterprise | bike | Master Bike |
109   - And "Sample Enterprise" is associated with "Bsc Test"
110   - And the folllowing "bsc" from "bsc_plugin"
111   - | business_name | identifier | company_name | cnpj |
112   - And the following user
113   - | login | name |
114   - | pedro | Pedro Souto |
115   - | maria | Maria Souto |
116   - And pedro is member of another-bsc
117   - And I am logged in as "pedro"
118   - When I go to Bsc Test's products page
119   - Then I should see "Sample Enterprise"
120   - And I should see "Sample Enterprise" within "a.bsc-catalog-enterprise-link"
121   - But I am logged in as "maria"
122   - When I go to Bsc Test's products page
123   - Then I should see "Sample Enterprise"
124   - #TODO -> test that it's not a link
125   -
126   - Scenario: allow only environment administrators to delete bsc profile
127   - Given the folllowing "bsc" from "bsc_plugin"
128   - | business_name | identifier | company_name | cnpj |
129   - | Bsc Test | bsc-test | Bsc Test Ltda | 94.132.024/0001-48 |
130   - And the following user
131   - | login | name |
132   - | pedro | Pedro Souto |
133   - And "Pedro Souto" is admin of "Bsc Test"
134   - And I am logged in as "pedro"
135   - And I am on Bsc Test's control panel
136   - And I follow "Bsc info and settings"
137   - When I follow "Delete profile"
138   - Then I should see "Access denied"
139   - And "Bsc Test" profile should exist
140   - But I am logged in as admin
141   - And I am on Bsc Test's control panel
142   - And I follow "Bsc info and settings"
143   - When I follow "Delete profile"
144   - Then I should see "Deleting profile Bsc Test"
145   - And I follow "Yes, I am sure"
146   - Then "Bsc Test" profile should not exist
147   -
148   - # Like we can believe that selenium is going to work...
149   - @selenium
150   - Scenario: list already associated enterprises on manage associated enterprises
151   - Given the folllowing "bsc" from "bsc_plugin"
152   - | business_name | identifier | company_name | cnpj |
153   - | Bsc Test | bsc-test | Bsc Test Ltda | 94.132.024/0001-48 |
154   - And the following enterprises
155   - | identifier | name |
156   - | enterprise-1 | Enterprise 1 |
157   - | enterprise-2 | Enterprise 2 |
158   - And "Enterprise 1" is associated with "Bsc Test"
159   - And "Enterprise 2" is associated with "Bsc Test"
160   - And I am logged in as admin
161   - And I am on Bsc Test's control panel
162   - When I follow "Manage associated enterprises"
163   - Then I should see "Enterprise 1"
164   - And I should see "Enterprise 2"
plugins/bsc/features/contract.feature
... ... @@ -1,21 +0,0 @@
1   -Feature: Bsc contract
2   -As a Bsc admin
3   -I would like to register a contract
4   -In order to make negotiations
5   -
6   - Background:
7   - Given "Bsc" plugin is enabled
8   - And the folllowing "bsc" from "bsc_plugin"
9   - | business_name | identifier | company_name | cnpj |
10   - | Bsc Test | bsc-test | Bsc Test Ltda | 94.132.024/0001-48 |
11   - And I am logged in as admin
12   -
13   - Scenario: be able see the manage contracts button only if the profile is a Bsc
14   - Given the following community
15   - | name | identifier |
16   - | Sample Community | sample-community |
17   - When I am on Sample Community's control panel
18   - Then I should not see "Manage contracts"
19   - But I am on Bsc Test's control panel
20   - Then I should see "Manage contracts"
21   -
plugins/bsc/install.rb
... ... @@ -1 +0,0 @@
1   -raise "Not ready yet"
plugins/bsc/lib/bsc_plugin.rb
... ... @@ -1,130 +0,0 @@
1   -class BscPlugin < Noosfero::Plugin
2   -
3   - Bsc
4   -
5   - def self.plugin_name
6   - "Bsc"
7   - end
8   -
9   - def self.plugin_description
10   - _("Adds the Bsc feature")
11   - end
12   -
13   - def admin_panel_links
14   - [{:title => _('Create Bsc'), :url => {:controller => 'bsc_plugin_admin', :action => 'new'}},
15   - {:title => _('Validate Enterprises'), :url => {:controller => 'bsc_plugin_admin', :action => 'validate_enterprises'}} ]
16   - end
17   -
18   - def control_panel_buttons
19   - buttons = []
20   - buttons << {:title => _("Manage associated enterprises"), :icon => 'bsc-enterprises', :url => {:controller => 'bsc_plugin_myprofile', :action => 'manage_associated_enterprises'}} if bsc?(context.profile)
21   - buttons << {:title => _('Transfer ownership'), :icon => 'transfer-enterprise-ownership', :url => {:controller => 'bsc_plugin_myprofile', :action => 'transfer_ownership'}} if context.profile.enterprise?
22   - buttons << {:title => _("Manage contracts"), :icon => '', :url => {:controller => 'bsc_plugin_myprofile', :action => 'manage_contracts'}} if bsc?(context.profile)
23   - buttons
24   - end
25   -
26   - def manage_members_extra_buttons
27   - {:title => _('Transfer ownership'), :icon => '', :url => {:controller => 'bsc_plugin_myprofile', :action => 'transfer_enterprises_management'}} if context.profile.enterprise?
28   - end
29   -
30   - def stylesheet?
31   - true
32   - end
33   -
34   - def catalog_list_item_extras(product)
35   - if bsc?(context.profile)
36   - enterprise = product.enterprise
37   - if is_member_of_any_bsc?(context.user)
38   - lambda {link_to(enterprise.short_name, enterprise.url, :class => 'bsc-catalog-enterprise-link')}
39   - else
40   - lambda {enterprise.short_name}
41   - end
42   - end
43   - end
44   -
45   - def profile_controller_filters
46   - if profile
47   - special_enterprise = profile.enterprise? && !profile.validated && profile.bsc
48   - is_member_of_any_bsc = is_member_of_any_bsc?(context.user)
49   - block = lambda {
50   - render_access_denied if special_enterprise && !is_member_of_any_bsc
51   - }
52   -
53   - [{ :type => 'before_filter', :method_name => 'bsc_access', :block => block }]
54   - else
55   - []
56   - end
57   - end
58   -
59   - def content_viewer_controller_filters
60   - if profile
61   - special_enterprise = profile.enterprise? && !profile.validated && profile.bsc
62   - is_member_of_any_bsc = is_member_of_any_bsc?(context.user)
63   - block = lambda {
64   - render_access_denied if special_enterprise && !is_member_of_any_bsc
65   - }
66   -
67   - [{ :type => 'before_filter', :method_name => 'bsc_access', :block => block }]
68   - else
69   - []
70   - end
71   - end
72   -
73   - def profile_editor_controller_filters
74   - if context.user
75   - is_not_admin = !context.environment.admins.include?(context.user)
76   - [{ :type => 'before_filter',
77   - :method_name => 'bsc_destroy_access',
78   - :options => {:only => :destroy_profile},
79   - :block => lambda { render_access_denied if is_not_admin } }]
80   - else
81   - []
82   - end
83   - end
84   -
85   - def manage_products_controller_filters
86   - if bsc?(profile)
87   - [{ :type => 'before_filter',
88   - :method_name => 'manage_products_bsc_destroy_access',
89   - :options => {:only => :destroy},
90   - :block => lambda { render_access_denied } }]
91   - else
92   - []
93   - end
94   - end
95   -
96   - def asset_product_properties(product)
97   - properties = []
98   - properties << { :name => _('Bsc'), :content => lambda { link_to(product.bsc.name, product.bsc.url) } } if product.bsc
99   - if product.enterprise.validated || is_member_of_any_bsc?(context.user)
100   - content = lambda { link_to_homepage(product.enterprise.name, product.enterprise.identifier) }
101   - else
102   - content = lambda { product.enterprise.name }
103   - end
104   - properties << { :name => c_('Supplier'), :content => content }
105   - end
106   -
107   - def profile_tabs
108   - if bsc?(context.profile)
109   - { :title => _("Contact"),
110   - :id => 'bsc-contact',
111   - :content => lambda { render :partial => 'profile_tab' },
112   - :start => true }
113   - end
114   - end
115   -
116   - private
117   -
118   - def bsc?(profile)
119   - profile.kind_of?(BscPlugin::Bsc)
120   - end
121   -
122   - def is_member_of_any_bsc?(user)
123   - BscPlugin::Bsc.all.any? { |bsc| bsc.members.include?(user) }
124   - end
125   -
126   - def profile
127   - context.environment.profiles.find_by_identifier(context.params[:profile])
128   - end
129   -
130   -end
plugins/bsc/lib/bsc_plugin/associate_enterprise.rb
... ... @@ -1,45 +0,0 @@
1   -class BscPlugin::AssociateEnterprise < Task
2   -
3   - alias :enterprise :target
4   -
5   - belongs_to :bsc, :class_name => 'BscPlugin::Bsc'
6   -
7   - validates_presence_of :bsc
8   -
9   - def title
10   - _("BSC association")
11   - end
12   -
13   - def linked_subject
14   - {:text => bsc.name, :url => bsc.url}
15   - end
16   -
17   - def information
18   - {:message => _('%{requestor} wants to associate this enterprise with %{linked_subject}.')}
19   - end
20   -
21   - def icon
22   - src = bsc.image ? bsc.image.public_filename(:minor) : '/images/icons-app/enterprise-minor.png'
23   - {:type => :defined_image, :src => src, :name => bsc.name}
24   - end
25   -
26   - def perform
27   - bsc.enterprises << enterprise
28   - end
29   -
30   - def task_finished_message
31   - _('%{enterprise} accepted your request to associate it with %{bsc}.') % {:enterprise => enterprise.name, :bsc => bsc.name}
32   - end
33   -
34   - def task_cancelled_message
35   - message = _("%{enterprise} rejected your request to associate it with %{bsc}.") % {:enterprise => enterprise.name, :bsc => bsc.name}
36   - if !reject_explanation.blank?
37   - message += " " + _("Here is the reject explanation left by the administrator:\n\n%{reject_explanation}") % {:reject_explanation => reject_explanation}
38   - end
39   - end
40   -
41   - def target_notification_message
42   - _('%{requestor} wants assoaciate %{bsc} as your BSC.') % {:requestor => requestor.name, :enterprise => enterprise.name, :bsc => bsc.name}
43   - end
44   -
45   -end
plugins/bsc/lib/bsc_plugin/bsc.rb
... ... @@ -1,39 +0,0 @@
1   -class BscPlugin::Bsc < Enterprise
2   -
3   - has_many :enterprises
4   - has_many :enterprise_requests, :class_name => 'BscPlugin::AssociateEnterprise'
5   - has_many :products, :finder_sql => 'select * from products where profile_id in (#{enterprises.map(&:id).join(",")})'
6   - has_many :contracts, :class_name => 'BscPlugin::Contract'
7   -
8   - validates_presence_of :nickname
9   - validates_presence_of :company_name
10   - validates_presence_of :cnpj
11   - validates_uniqueness_of :nickname
12   - validates_uniqueness_of :company_name
13   - validates_uniqueness_of :cnpj
14   -
15   - before_validation do |bsc|
16   - bsc.name = bsc.business_name || 'Sample name'
17   - end
18   -
19   - def already_requested?(enterprise)
20   - enterprise_requests.pending.map(&:enterprise).include?(enterprise)
21   - end
22   -
23   - def enterprises_to_token_input
24   - enterprises.map { |enterprise| {:id => enterprise.id, :name => enterprise.name} }
25   - end
26   -
27   - def control_panel_settings_button
28   - {:title => _('Bsc info and settings'), :icon => 'edit-profile-enterprise'}
29   - end
30   -
31   - def create_product?
32   - false
33   - end
34   -
35   - def self.identification
36   - 'Bsc'
37   - end
38   -
39   -end
plugins/bsc/lib/bsc_plugin/bsc_helper.rb
... ... @@ -1,76 +0,0 @@
1   -module BscPlugin::BscHelper
2   - include ActionView::Helpers::FormTagHelper
3   - include ActionView::Helpers::TextHelper
4   -
5   - def token_input_field_tag(name, element_id, search_action, options = {}, text_field_options = {}, html_options = {})
6   - options[:min_chars] ||= 3
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
11   - options[:prevent_duplicates] ||= true
12   - options[:backspace_delete_item] ||= false
13   - options[:focus] ||= false
14   - options[:avoid_enter] ||= true
15   - options[:on_result] ||= 'null'
16   - options[:on_add] ||= 'null'
17   - options[:on_delete] ||= 'null'
18   - options[:on_ready] ||= 'null'
19   -
20   - result = text_field_tag(name, nil, text_field_options.merge(html_options.merge({:id => element_id})))
21   - result +=
22   - "
23   - <script type='text/javascript'>
24   - jQuery('##{element_id}')
25   - .tokenInput('#{url_for(search_action)}', {
26   - minChars: #{options[:min_chars].to_json},
27   - prePopulate: #{options[:pre_populate].to_json},
28   - hintText: #{options[:hint_text].to_json},
29   - noResultsText: #{options[:no_results_text].to_json},
30   - searchingText: #{options[:searching_text].to_json},
31   - searchDelay: #{options[:serach_delay].to_json},
32   - preventDuplicates: #{options[:prevent_duplicates].to_json},
33   - backspaceDeleteItem: #{options[:backspace_delete_item].to_json},
34   - queryParam: #{name.to_json},
35   - tokenLimit: #{options[:token_limit].to_json},
36   - onResult: #{options[:on_result]},
37   - onAdd: #{options[:on_add]},
38   - onDelete: #{options[:on_delete]},
39   - onReady: #{options[:on_ready]},
40   - })
41   - "
42   - result += options[:focus] ? ".focus();" : ";"
43   - if options[:avoid_enter]
44   - result += "jQuery('#token-input-#{element_id}')
45   - .live('keydown', function(event){
46   - if(event.keyCode == '13') return false;
47   - });"
48   - end
49   - result += "</script>"
50   - result
51   - end
52   -
53   - def product_display_name(product)
54   - "#{product.name} (#{product.enterprise.name})"
55   - end
56   -
57   - def display_text_field(name, value, options={:display_nil => false, :nil_symbol => '---'})
58   - value = value.to_s
59   - if !value.blank? || options[:display_nil]
60   - value = value.blank? ? options[:nil_symbol] : value
61   - content_tag('tr', content_tag('td', name+': ', :class => 'bsc-field-label') + content_tag('td', value, :class => 'bsc-field-value'))
62   - end
63   - end
64   -
65   - def display_list_field(list, options={:nil_symbol => '---'})
66   - list.map do |item|
67   - item = item.blank? ? options[:nil_symbol] : item
68   - content_tag('tr', content_tag('td', item, :class => 'bsc-field-value'))
69   - end.join
70   - end
71   -
72   - def short_text(name, chars = 40)
73   - truncate name, :length => chars, :omission => '...'
74   - end
75   -
76   -end
plugins/bsc/lib/bsc_plugin/contract.rb
... ... @@ -1,84 +0,0 @@
1   -class BscPlugin::Contract < Noosfero::Plugin::ActiveRecord
2   - validates_presence_of :bsc, :client_name
3   -
4   - has_many :sales, :class_name => 'BscPlugin::Sale'
5   - has_many :products, :through => :sales
6   - has_and_belongs_to_many :enterprises, :join_table => 'bsc_plugin_contracts_enterprises'
7   -
8   - belongs_to :bsc, :class_name => 'BscPlugin::Bsc'
9   -
10   - named_scope :status, lambda { |status_list| status_list.blank? ? {} : {:conditions => ['status in (?)', status_list]} }
11   - named_scope :sorted_by, lambda { |sorter, direction| {:order => "#{sorter} #{direction}"} }
12   -
13   - before_create do |contract|
14   - contract.created_at ||= Time.now.utc
15   - contract.updated_at ||= Time.now.utc
16   - end
17   -
18   - before_update do |contract|
19   - contract.updated_at ||= Time.now.utc
20   - end
21   -
22   - module Status
23   - OPENED = 0
24   - NEGOTIATING = 1
25   - EXECUTING = 2
26   - CLOSED = 3
27   -
28   - def self.types
29   - [OPENED, NEGOTIATING, EXECUTING, CLOSED]
30   - end
31   -
32   - def self.names
33   - [_('Opened'), _('Negotiating'), _('Executing'), _('Closed')]
34   - end
35   - end
36   -
37   - module ClientType
38   - STATE = 0
39   - FEDERAL = 1
40   -
41   - def self.types
42   - [STATE, FEDERAL]
43   - end
44   -
45   - def self.names
46   - [c_('State'), _('Federal')]
47   - end
48   - end
49   -
50   - module BusinessType
51   - PROJECTA = 0
52   - PROJECTB = 1
53   -
54   - def self.types
55   - [PROJECTA, PROJECTB]
56   - end
57   -
58   - def self.names
59   - [_('ProjectA'), _('ProjectB')]
60   - end
61   - end
62   -
63   - def enterprises_to_token_input
64   - enterprises.map { |enterprise| {:id => enterprise.id, :name => enterprise.name} }
65   - end
66   -
67   - def save_sales(sales)
68   - failed_sales = {}
69   - sales.each do |sale|
70   - sale.merge!({:contract_id => id})
71   - begin
72   - BscPlugin::Sale.create!(sale)
73   - rescue Exception => exception
74   - name = Product.find(sale[:product_id]).name
75   - failed_sales[exception.clean_message] ? failed_sales[exception.clean_message] << name : failed_sales[exception.clean_message] = [name]
76   - end
77   - end
78   - failed_sales
79   - end
80   -
81   - def total_price
82   - sales.inject(0) {|result, sale| sale.price*sale.quantity + result}
83   - end
84   -end
plugins/bsc/lib/bsc_plugin/ext/enterprise.rb
... ... @@ -1,13 +0,0 @@
1   -require_dependency 'enterprise'
2   -
3   -class Enterprise
4   - belongs_to :bsc, :class_name => 'BscPlugin::Bsc'
5   - has_and_belongs_to_many :contracts, :class_name => 'BscPlugin::Contract', :join_table => 'bsc_plugin_contracts_enterprises'
6   -
7   - FIELDS << 'bsc_id'
8   - FIELDS << 'enabled'
9   - FIELDS << 'validated'
10   -
11   - named_scope :validated, :conditions => {:validated => true}
12   - named_scope :not_validated, :conditions => {:validated => false}
13   -end
plugins/bsc/lib/bsc_plugin/ext/product.rb
... ... @@ -1,25 +0,0 @@
1   -require_dependency 'product'
2   -
3   -class Product
4   -
5   - has_many :sales, :class_name => 'BscPlugin::Sale'
6   - has_many :contracts, :through => :sales, :class_name => 'BscPlugin::Contract'
7   -
8   - def bsc
9   - enterprise.bsc if enterprise
10   - end
11   -
12   - def display_supplier_on_search?
13   - false
14   - end
15   -
16   - def action_tracker_user
17   - return self.enterprise if self.enterprise.validated
18   -
19   - if self.enterprise.bsc
20   - self.enterprise.bsc
21   - else
22   - self.enterprise
23   - end
24   - end
25   -end
plugins/bsc/lib/bsc_plugin/mailer.rb
... ... @@ -1,11 +0,0 @@
1   -class BscPlugin::Mailer < Noosfero::Plugin::MailerBase
2   -
3   - def admin_notification(admin, bsc)
4   - domain = bsc.hostname || bsc.environment.default_hostname
5   - recipients admin.contact_email
6   - from 'no-reply@' + domain
7   - subject _("[%s] Bsc management transferred to you.") % bsc.name
8   - content_type 'text/html'
9   - body :bsc => bsc
10   - end
11   -end
plugins/bsc/lib/bsc_plugin/sale.rb
... ... @@ -1,19 +0,0 @@
1   -class BscPlugin::Sale < Noosfero::Plugin::ActiveRecord
2   - validates_presence_of :product, :contract
3   - validates_uniqueness_of :product_id, :scope => :contract_id
4   - validates_numericality_of :quantity, :only_integer => true, :greater_than_or_equal_to => 0
5   - validates_numericality_of :price, :allow_nil => true
6   -
7   - belongs_to :product
8   - belongs_to :contract, :class_name => 'BscPlugin::Contract'
9   -
10   - before_create do |sale|
11   - sale.price ||= sale.product.price || 0
12   - sale.created_at ||= Time.now.utc
13   - sale.updated_at ||= Time.now.utc
14   - end
15   -
16   - before_update do |contract|
17   - contract.updated_at ||= Time.now.utc
18   - end
19   -end
plugins/bsc/po/bsc.pot
... ... @@ -1,351 +0,0 @@
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   -#, fuzzy
7   -msgid ""
8   -msgstr ""
9   -"Project-Id-Version: 1.1-882-g0c116ba\n"
10   -"POT-Creation-Date: 2015-09-25 15:42-0000\n"
11   -"PO-Revision-Date: 2015-08-06 17:21-0300\n"
12   -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13   -"Language-Team: LANGUAGE <LL@li.org>\n"
14   -"Language: \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=INTEGER; plural=EXPRESSION;\n"
19   -
20   -#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:11
21   -msgid "Your Bsc was created."
22   -msgstr ""
23   -
24   -#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:21
25   -msgid "Enterprises validated."
26   -msgstr ""
27   -
28   -#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:24
29   -msgid "Enterprise validations couldn't be saved."
30   -msgstr ""
31   -
32   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:38
33   -msgid "This Bsc associations were saved successfully."
34   -msgstr ""
35   -
36   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:42
37   -msgid "This Bsc associations couldn't be saved."
38   -msgstr ""
39   -
40   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:71
41   -msgid "Enterprise ownership transferred."
42   -msgstr ""
43   -
44   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:85
45   -msgid "Enterprise was created in association with %s."
46   -msgstr ""
47   -
48   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:117
49   -msgid "Contract created."
50   -msgstr ""
51   -
52   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:120
53   -msgid "Contract created but some products could not be added."
54   -msgstr ""
55   -
56   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:131
57   -msgid "Contract doesn't exists! Maybe it was already removed."
58   -msgstr ""
59   -
60   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:140
61   -msgid "Could not edit such contract."
62   -msgstr ""
63   -
64   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:170
65   -msgid "Contract edited."
66   -msgstr ""
67   -
68   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:173
69   -msgid "Contract edited but some products could not be added."
70   -msgstr ""
71   -
72   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:183
73   -msgid "Contract removed."
74   -msgstr ""
75   -
76   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:185
77   -msgid "Contract could not be removed. Sorry! ^^"
78   -msgstr ""
79   -
80   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:10
81   -msgid "BSC association"
82   -msgstr ""
83   -
84   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:18
85   -msgid "%{requestor} wants to associate this enterprise with %{linked_subject}."
86   -msgstr ""
87   -
88   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:35
89   -msgid "%{enterprise} accepted your request to associate it with %{bsc}."
90   -msgstr ""
91   -
92   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:39
93   -msgid "%{enterprise} rejected your request to associate it with %{bsc}."
94   -msgstr ""
95   -
96   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:41
97   -msgid ""
98   -"Here is the reject explanation left by the administrator:\n"
99   -"\n"
100   -"%{reject_explanation}"
101   -msgstr ""
102   -
103   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:46
104   -msgid "%{requestor} wants assoaciate %{bsc} as your BSC."
105   -msgstr ""
106   -
107   -#: plugins/bsc/lib/bsc_plugin/mailer.rb:7
108   -msgid "[%s] Bsc management transferred to you."
109   -msgstr ""
110   -
111   -#: plugins/bsc/lib/bsc_plugin/bsc.rb:28
112   -msgid "Bsc info and settings"
113   -msgstr ""
114   -
115   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
116   -msgid "Opened"
117   -msgstr ""
118   -
119   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
120   -msgid "Negotiating"
121   -msgstr ""
122   -
123   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
124   -msgid "Executing"
125   -msgstr ""
126   -
127   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
128   -msgid "Closed"
129   -msgstr ""
130   -
131   -#: plugins/bsc/lib/bsc_plugin/contract.rb:46
132   -msgid "Federal"
133   -msgstr ""
134   -
135   -#: plugins/bsc/lib/bsc_plugin/contract.rb:59
136   -msgid "ProjectA"
137   -msgstr ""
138   -
139   -#: plugins/bsc/lib/bsc_plugin/contract.rb:59
140   -msgid "ProjectB"
141   -msgstr ""
142   -
143   -#: plugins/bsc/lib/bsc_plugin.rb:10
144   -msgid "Adds the Bsc feature"
145   -msgstr ""
146   -
147   -#: plugins/bsc/lib/bsc_plugin.rb:14
148   -msgid "Create Bsc"
149   -msgstr ""
150   -
151   -#: plugins/bsc/lib/bsc_plugin.rb:15
152   -msgid "Validate Enterprises"
153   -msgstr ""
154   -
155   -#: plugins/bsc/lib/bsc_plugin.rb:20
156   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:1
157   -msgid "Manage associated enterprises"
158   -msgstr ""
159   -
160   -#: plugins/bsc/lib/bsc_plugin.rb:21 plugins/bsc/lib/bsc_plugin.rb:27
161   -msgid "Transfer ownership"
162   -msgstr ""
163   -
164   -#: plugins/bsc/lib/bsc_plugin.rb:22
165   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:1
166   -msgid "Manage contracts"
167   -msgstr ""
168   -
169   -#: plugins/bsc/lib/bsc_plugin.rb:98
170   -msgid "Bsc"
171   -msgstr ""
172   -
173   -#: plugins/bsc/lib/bsc_plugin.rb:109
174   -#: plugins/bsc/views/shared/_fields.html.erb:53
175   -msgid "Contact"
176   -msgstr ""
177   -
178   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:5
179   -#: plugins/bsc/views/shared/_fields.html.erb:5
180   -msgid "Basic information"
181   -msgstr ""
182   -
183   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:7
184   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:6
185   -msgid "Client type"
186   -msgstr ""
187   -
188   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:8
189   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:7
190   -msgid "Business type"
191   -msgstr ""
192   -
193   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:11
194   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:5
195   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:10
196   -msgid "Status"
197   -msgstr ""
198   -
199   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:12
200   -msgid "Number of producers"
201   -msgstr ""
202   -
203   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:13
204   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:35
205   -msgid "Supply period"
206   -msgstr ""
207   -
208   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:27
209   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:23
210   -msgid "Quantity"
211   -msgstr ""
212   -
213   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:28
214   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:24
215   -msgid "Unit price"
216   -msgstr ""
217   -
218   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:38
219   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:27
220   -msgid "Total"
221   -msgstr ""
222   -
223   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:48
224   -msgid "Annotations"
225   -msgstr ""
226   -
227   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:4
228   -msgid "Associations awaiting approval:"
229   -msgstr ""
230   -
231   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:16
232   -#: plugins/bsc/views/bsc_plugin_admin/validate_enterprises.html.erb:5
233   -msgid "Type in a search term for enterprise"
234   -msgstr ""
235   -
236   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:19
237   -msgid "Add new enterprise"
238   -msgstr ""
239   -
240   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:17
241   -msgid "Sort by"
242   -msgstr ""
243   -
244   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:18
245   -msgid "Date(newest first)"
246   -msgstr ""
247   -
248   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:18
249   -msgid "Date(oldest first)"
250   -msgstr ""
251   -
252   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:19
253   -msgid "Client name(A-Z)"
254   -msgstr ""
255   -
256   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:19
257   -msgid "Client name(Z-A)"
258   -msgstr ""
259   -
260   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:24
261   -msgid "There are no contracts at all."
262   -msgstr ""
263   -
264   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:35
265   -msgid "Are you sure?"
266   -msgstr ""
267   -
268   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:45
269   -msgid "Create new contract"
270   -msgstr ""
271   -
272   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:18
273   -msgid "Type in search term for enterprise"
274   -msgstr ""
275   -
276   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:31
277   -msgid "Add new product"
278   -msgstr ""
279   -
280   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:57
281   -msgid "Type in a search term for product"
282   -msgstr ""
283   -
284   -#: plugins/bsc/views/bsc_plugin_myprofile/new_contract.html.erb:1
285   -#: plugins/bsc/views/bsc_plugin_myprofile/edit_contract.html.erb:1
286   -msgid "New contract"
287   -msgstr ""
288   -
289   -#: plugins/bsc/views/bsc_plugin_myprofile/_similar_enterprises.html.erb:2
290   -msgid "Existing enterprises:"
291   -msgstr ""
292   -
293   -#: plugins/bsc/views/bsc_plugin_myprofile/_similar_enterprises.html.erb:3
294   -msgid ""
295   -"Were found %{count} enterprises with similar names on the same city, you can "
296   -"decide to associate one of them or create the new enterprise confirming the "
297   -"informations you typed in."
298   -msgstr ""
299   -
300   -#: plugins/bsc/views/bsc_plugin_myprofile/_similar_enterprises.html.erb:20
301   -msgid "Associate"
302   -msgstr ""
303   -
304   -#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:1
305   -msgid "Transfer Ownership"
306   -msgstr ""
307   -
308   -#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:4
309   -msgid ""
310   -"This option allows you to transfer this enterprise's management to another "
311   -"user. This action will remove all the current administrators. Be careful "
312   -"when confirming this procedure."
313   -msgstr ""
314   -
315   -#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:8
316   -msgid "Current administrators:"
317   -msgstr ""
318   -
319   -#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:19
320   -msgid "Administrator:"
321   -msgstr ""
322   -
323   -#: plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb:22
324   -msgid "Type in a search term for the new administrator"
325   -msgstr ""
326   -
327   -#: plugins/bsc/views/bsc_plugin/mailer/admin_notification.html.erb:1
328   -msgid "The management of %{bsc} was transferred to you."
329   -msgstr ""
330   -
331   -#: plugins/bsc/views/shared/_fields.html.erb:39
332   -msgid ""
333   -"You are about to change the address, and this will break external links to "
334   -"this bsc or to posts inside it. Do you really want to change?"
335   -msgstr ""
336   -
337   -#: plugins/bsc/views/bsc_plugin_admin/new.html.erb:2
338   -msgid "BSC registration"
339   -msgstr ""
340   -
341   -#: plugins/bsc/views/bsc_plugin_admin/validate_enterprises.html.erb:1
342   -msgid "Validate enterprises"
343   -msgstr ""
344   -
345   -#: plugins/bsc/views/profile/_profile_tab.html.erb:2
346   -msgid "Contact phone: "
347   -msgstr ""
348   -
349   -#: plugins/bsc/views/profile/_profile_tab.html.erb:3
350   -msgid "Email: "
351   -msgstr ""
plugins/bsc/po/de/bsc.po
... ... @@ -1,370 +0,0 @@
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.1-882-g0c116ba\n"
10   -"POT-Creation-Date: 2015-09-25 15:42-0000\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/controllers/bsc_plugin_admin_controller.rb:11
23   -msgid "Your Bsc was created."
24   -msgstr "Ihr Bsc wurde erstellt."
25   -
26   -#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:21
27   -msgid "Enterprises validated."
28   -msgstr "Unternehmen validiert."
29   -
30   -#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:24
31   -msgid "Enterprise validations couldn't be saved."
32   -msgstr "Die Unternehmensvalidierungen konnten nicht gespeichert werden."
33   -
34   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:38
35   -msgid "This Bsc associations were saved successfully."
36   -msgstr "Diese Bsc-Verknüpfungen wurden erfolgreich gespeichert."
37   -
38   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:42
39   -msgid "This Bsc associations couldn't be saved."
40   -msgstr "Diese Bsc-Verknüpfung konnte nicht gespeichert werden."
41   -
42   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:71
43   -msgid "Enterprise ownership transferred."
44   -msgstr "Eigentümerschaft des Unternehmens übertragen."
45   -
46   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:85
47   -msgid "Enterprise was created in association with %s."
48   -msgstr "Das Unternehmen wurde in Zusammenhang mit %s angelegt."
49   -
50   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:117
51   -msgid "Contract created."
52   -msgstr "Vertrag erstellt."
53   -
54   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:120
55   -msgid "Contract created but some products could not be added."
56   -msgstr ""
57   -"Der Vertrag wurde erstellt, aber einige Produkte konnten nicht hinzugefügt "
58   -"werden."
59   -
60   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:131
61   -msgid "Contract doesn't exists! Maybe it was already removed."
62   -msgstr "Der Vertrag existiert nicht! Vielleicht wurde er bereits entfernt."
63   -
64   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:140
65   -msgid "Could not edit such contract."
66   -msgstr "Kann den Vertrag nicht verändern."
67   -
68   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:170
69   -msgid "Contract edited."
70   -msgstr "Vertrag geändert."
71   -
72   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:173
73   -msgid "Contract edited but some products could not be added."
74   -msgstr ""
75   -"Vertrag geändert, aber einige Produkte konnten nicht hinzugefügt werden."
76   -
77   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:183
78   -msgid "Contract removed."
79   -msgstr "Vertrag entfernt."
80   -
81   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:185
82   -msgid "Contract could not be removed. Sorry! ^^"
83   -msgstr "Vertrag konnte nicht entfernt werden. Entschuldigung! ^^"
84   -
85   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:10
86   -msgid "BSC association"
87   -msgstr "BSC-Zusammenschluss"
88   -
89   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:18
90   -msgid "%{requestor} wants to associate this enterprise with %{linked_subject}."
91   -msgstr ""
92   -"%{requestor} möchte das Unternehmen %{linked_subject} mit %{linked_subject} "
93   -"verknüpfen."
94   -
95   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:35
96   -msgid "%{enterprise} accepted your request to associate it with %{bsc}."
97   -msgstr "%{enterprise} hat Ihre Anfrage zur Verbindung mit %{bsc} akzeptiert."
98   -
99   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:39
100   -msgid "%{enterprise} rejected your request to associate it with %{bsc}."
101   -msgstr "%{enterprise} hat Ihre Anfrage zur Verbindung mit %{bsc} abgelehnt."
102   -
103   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:41
104   -msgid ""
105   -"Here is the reject explanation left by the administrator:\n"
106   -"\n"
107   -"%{reject_explanation}"
108   -msgstr ""
109   -"Hier ist der vom Administrator angegebene Grund der Ablehnung:\n"
110   -"\n"
111   -"%{reject_explanation}"
112   -
113   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:46
114   -msgid "%{requestor} wants assoaciate %{bsc} as your BSC."
115   -msgstr "%{requestor} möchte %{bsc} als Ihr BSC verknüpfen."
116   -
117   -#: plugins/bsc/lib/bsc_plugin/mailer.rb:7
118   -msgid "[%s] Bsc management transferred to you."
119   -msgstr "[%s] Die Verwaltung von Bsc wurde Ihnen übertragen."
120   -
121   -#: plugins/bsc/lib/bsc_plugin/bsc.rb:28
122   -msgid "Bsc info and settings"
123   -msgstr "Bsc-Informationen und -Einstellungen"
124   -
125   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
126   -msgid "Opened"
127   -msgstr "Geöffnet"
128   -
129   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
130   -msgid "Negotiating"
131   -msgstr "Aushandlung"
132   -
133   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
134   -msgid "Executing"
135   -msgstr "Ausführung"
136   -
137   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
138   -msgid "Closed"
139   -msgstr "Geschlossen"
140   -
141   -#: plugins/bsc/lib/bsc_plugin/contract.rb:46
142   -msgid "Federal"
143   -msgstr "Föderal"
144   -
145   -#: plugins/bsc/lib/bsc_plugin/contract.rb:59
146   -msgid "ProjectA"
147   -msgstr "ProjektA"
148   -
149   -#: plugins/bsc/lib/bsc_plugin/contract.rb:59
150   -msgid "ProjectB"
151   -msgstr "ProjektB"
152   -
153   -#: plugins/bsc/lib/bsc_plugin.rb:10
154   -msgid "Adds the Bsc feature"
155   -msgstr "Fügt Unterstützung für Bsc hinzu"
156   -
157   -#: plugins/bsc/lib/bsc_plugin.rb:14
158   -msgid "Create Bsc"
159   -msgstr "Bsc erstellen"
160   -
161   -#: plugins/bsc/lib/bsc_plugin.rb:15
162   -msgid "Validate Enterprises"
163   -msgstr "Unternehmen bestätigen"
164   -
165   -#: plugins/bsc/lib/bsc_plugin.rb:20
166   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:1
167   -msgid "Manage associated enterprises"
168   -msgstr "Verwalte verbundene Unternehmen"
169   -
170   -#: plugins/bsc/lib/bsc_plugin.rb:21 plugins/bsc/lib/bsc_plugin.rb:27
171   -msgid "Transfer ownership"
172   -msgstr "Eigentümerschaft übertragen"
173   -
174   -#: plugins/bsc/lib/bsc_plugin.rb:22
175   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:1
176   -msgid "Manage contracts"
177   -msgstr "Verträge verwalten"
178   -
179   -#: plugins/bsc/lib/bsc_plugin.rb:98
180   -msgid "Bsc"
181   -msgstr "Bsc"
182   -
183   -#: plugins/bsc/lib/bsc_plugin.rb:109
184   -#: plugins/bsc/views/shared/_fields.html.erb:53
185   -msgid "Contact"
186   -msgstr "Kontakt"
187   -
188   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:5
189   -#: plugins/bsc/views/shared/_fields.html.erb:5
190   -msgid "Basic information"
191   -msgstr "Basisinformationen"
192   -
193   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:7
194   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:6
195   -msgid "Client type"
196   -msgstr "Typ des Kunden"
197   -
198   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:8
199   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:7
200   -msgid "Business type"
201   -msgstr "Typ des Geschäfts"
202   -
203   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:11
204   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:5
205   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:10
206   -msgid "Status"
207   -msgstr "Status"
208   -
209   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:12
210   -msgid "Number of producers"
211   -msgstr "Anzahl der Produzenten"
212   -
213   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:13
214   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:35
215   -msgid "Supply period"
216   -msgstr "Zulieferungszeitabschnitt"
217   -
218   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:27
219   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:23
220   -msgid "Quantity"
221   -msgstr "Anzahl"
222   -
223   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:28
224   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:24
225   -msgid "Unit price"
226   -msgstr "Stückpreis"
227   -
228   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:38
229   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:27
230   -msgid "Total"
231   -msgstr "Gesamt"
232   -
233   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:48
234   -msgid "Annotations"
235   -msgstr "Anmerkungen"
236   -
237   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:4
238   -msgid "Associations awaiting approval:"
239   -msgstr "Assoziierungen, welche noch bestätigt werden müssen:"
240   -
241   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:16
242   -#: plugins/bsc/views/bsc_plugin_admin/validate_enterprises.html.erb:5
243   -msgid "Type in a search term for enterprise"
244   -msgstr "Geben Sie einen Suchbegriff für Unternehmen ein"
245   -
246   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:19
247   -msgid "Add new enterprise"
248   -msgstr "Neues Unternehmen hinzufügen"
249   -
250   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:17
251   -msgid "Sort by"
252   -msgstr "Sortieren nach"
253   -
254   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:18
255   -msgid "Date(newest first)"
256   -msgstr "Datum (neueste zuerst)"
257   -
258   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:18
259   -msgid "Date(oldest first)"
260   -msgstr "Datum (älteste zuerst)"
261   -
262   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:19
263   -msgid "Client name(A-Z)"
264   -msgstr "Kundenname (A-Z)"
265   -
266   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:19
267   -msgid "Client name(Z-A)"
268   -msgstr "Kundenname (Z-A)"
269   -
270   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:24
271   -msgid "There are no contracts at all."
272   -msgstr "Sie haben noch keine Verträge."
273   -
274   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:35
275   -msgid "Are you sure?"
276   -msgstr "Sind Sie sicher?"
277   -
278   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:45
279   -msgid "Create new contract"
280   -msgstr "Einen neuen Vertrag erstellen"
281   -
282   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:18
283   -msgid "Type in search term for enterprise"
284   -msgstr "Geben Sie den Suchbegriff für das Unternehmen ein"
285   -
286   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:31
287   -msgid "Add new product"
288   -msgstr "Neues Produkt hinzufügen"
289   -
290   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:57
291   -msgid "Type in a search term for product"
292   -msgstr "Geben Sie einen Suchbegriff für das Produkt ein"
293   -
294   -#: plugins/bsc/views/bsc_plugin_myprofile/new_contract.html.erb:1
295   -#: plugins/bsc/views/bsc_plugin_myprofile/edit_contract.html.erb:1
296   -msgid "New contract"
297   -msgstr "Neuer Vertrag"
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/bsc_plugin/mailer/admin_notification.html.erb:1
345   -msgid "The management of %{bsc} was transferred to you."
346   -msgstr "Die Verwaltung des %{bsc} wurde zu Ihnen transferiert."
347   -
348   -#: plugins/bsc/views/shared/_fields.html.erb:39
349   -msgid ""
350   -"You are about to change the address, and this will break external links to "
351   -"this bsc or to posts inside it. Do you really want to change?"
352   -msgstr ""
353   -"Sie sind dabei die Adresse zu ändern. Das unterbricht externe Verweise zum "
354   -"Bsc und zu deren Inhalten. Wollen Sie wirklich die Adresse ändern?"
355   -
356   -#: plugins/bsc/views/bsc_plugin_admin/new.html.erb:2
357   -msgid "BSC registration"
358   -msgstr "BSC-Registrierung"
359   -
360   -#: plugins/bsc/views/bsc_plugin_admin/validate_enterprises.html.erb:1
361   -msgid "Validate enterprises"
362   -msgstr "Unternehmen validieren"
363   -
364   -#: plugins/bsc/views/profile/_profile_tab.html.erb:2
365   -msgid "Contact phone: "
366   -msgstr "Kontakttelefonnummer: "
367   -
368   -#: plugins/bsc/views/profile/_profile_tab.html.erb:3
369   -msgid "Email: "
370   -msgstr "E-Mail: "
plugins/bsc/po/es/bsc.po
... ... @@ -1,364 +0,0 @@
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.1-882-g0c116ba\n"
9   -"POT-Creation-Date: 2015-09-25 15:42-0000\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/controllers/bsc_plugin_admin_controller.rb:11
22   -msgid "Your Bsc was created."
23   -msgstr "Tu Bsc fue creado."
24   -
25   -#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:21
26   -msgid "Enterprises validated."
27   -msgstr "Empresas validadas."
28   -
29   -#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:24
30   -msgid "Enterprise validations couldn't be saved."
31   -msgstr "Las validaciones de la empresa no pudieron guardarse."
32   -
33   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:38
34   -msgid "This Bsc associations were saved successfully."
35   -msgstr "Estas asociaciones Bsc fueron guardadas correctamente."
36   -
37   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:42
38   -msgid "This Bsc associations couldn't be saved."
39   -msgstr "Estas asociaciones Bsc no pudieron ser guardadas."
40   -
41   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:71
42   -msgid "Enterprise ownership transferred."
43   -msgstr "Propiedad de la empresa transferida."
44   -
45   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:85
46   -msgid "Enterprise was created in association with %s."
47   -msgstr "La empresa fue creada en asociación con %s."
48   -
49   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:117
50   -msgid "Contract created."
51   -msgstr "Contrato creado."
52   -
53   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:120
54   -msgid "Contract created but some products could not be added."
55   -msgstr "Contrato creado pero algunos productos no pudieron agregarse."
56   -
57   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:131
58   -msgid "Contract doesn't exists! Maybe it was already removed."
59   -msgstr "¡El contrato no existe! Quizás ya fue eliminado."
60   -
61   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:140
62   -msgid "Could not edit such contract."
63   -msgstr "No se puede editar tal contrato."
64   -
65   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:170
66   -msgid "Contract edited."
67   -msgstr "contrato editado."
68   -
69   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:173
70   -msgid "Contract edited but some products could not be added."
71   -msgstr "Contrato editado pero algunos productos no pueden ser agregados."
72   -
73   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:183
74   -msgid "Contract removed."
75   -msgstr "Contrato eliminado."
76   -
77   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:185
78   -msgid "Contract could not be removed. Sorry! ^^"
79   -msgstr "El contrato no puede ser eliminado. ¡Perdón! ^^"
80   -
81   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:10
82   -msgid "BSC association"
83   -msgstr "Asociación BSC"
84   -
85   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:18
86   -msgid "%{requestor} wants to associate this enterprise with %{linked_subject}."
87   -msgstr "%{requestor} quiere asociar esta empresa con %{linked_subject}."
88   -
89   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:35
90   -msgid "%{enterprise} accepted your request to associate it with %{bsc}."
91   -msgstr "%{enterprrise} aceptó tu solicitud para asociarse con %{bsc}."
92   -
93   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:39
94   -msgid "%{enterprise} rejected your request to associate it with %{bsc}."
95   -msgstr "%{enterprise} rechazó tu solicitud para asociarse con %{bsc}."
96   -
97   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:41
98   -msgid ""
99   -"Here is the reject explanation left by the administrator:\n"
100   -"\n"
101   -"%{reject_explanation}"
102   -msgstr ""
103   -"Aquí está la explicación del rechazo dejada por el administrador:\n"
104   -"\n"
105   -"%{reject_explanation}"
106   -
107   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:46
108   -msgid "%{requestor} wants assoaciate %{bsc} as your BSC."
109   -msgstr "%{requestor} quire asociar %{bsc} como tu BSC."
110   -
111   -#: plugins/bsc/lib/bsc_plugin/mailer.rb:7
112   -msgid "[%s] Bsc management transferred to you."
113   -msgstr "[%s] administración de bsc transferida a ti"
114   -
115   -#: plugins/bsc/lib/bsc_plugin/bsc.rb:28
116   -msgid "Bsc info and settings"
117   -msgstr "Información y configuración de Bsc"
118   -
119   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
120   -msgid "Opened"
121   -msgstr "Abierto"
122   -
123   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
124   -msgid "Negotiating"
125   -msgstr "Negociando"
126   -
127   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
128   -msgid "Executing"
129   -msgstr "Ejecutando"
130   -
131   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
132   -msgid "Closed"
133   -msgstr "Cerrado"
134   -
135   -#: plugins/bsc/lib/bsc_plugin/contract.rb:46
136   -msgid "Federal"
137   -msgstr "Federal"
138   -
139   -#: plugins/bsc/lib/bsc_plugin/contract.rb:59
140   -msgid "ProjectA"
141   -msgstr "Proyecto A"
142   -
143   -#: plugins/bsc/lib/bsc_plugin/contract.rb:59
144   -msgid "ProjectB"
145   -msgstr "Proyecto B"
146   -
147   -#: plugins/bsc/lib/bsc_plugin.rb:10
148   -msgid "Adds the Bsc feature"
149   -msgstr "Añade la característica Bsc"
150   -
151   -#: plugins/bsc/lib/bsc_plugin.rb:14
152   -msgid "Create Bsc"
153   -msgstr "Crear Bsc"
154   -
155   -#: plugins/bsc/lib/bsc_plugin.rb:15
156   -msgid "Validate Enterprises"
157   -msgstr "Validar empresas"
158   -
159   -#: plugins/bsc/lib/bsc_plugin.rb:20
160   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:1
161   -msgid "Manage associated enterprises"
162   -msgstr "Administrar empresas asociadas"
163   -
164   -#: plugins/bsc/lib/bsc_plugin.rb:21 plugins/bsc/lib/bsc_plugin.rb:27
165   -msgid "Transfer ownership"
166   -msgstr "Transferir propiedad"
167   -
168   -#: plugins/bsc/lib/bsc_plugin.rb:22
169   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:1
170   -msgid "Manage contracts"
171   -msgstr "Administrar contratos"
172   -
173   -#: plugins/bsc/lib/bsc_plugin.rb:98
174   -msgid "Bsc"
175   -msgstr "Bsc"
176   -
177   -#: plugins/bsc/lib/bsc_plugin.rb:109
178   -#: plugins/bsc/views/shared/_fields.html.erb:53
179   -msgid "Contact"
180   -msgstr "Contacto"
181   -
182   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:5
183   -#: plugins/bsc/views/shared/_fields.html.erb:5
184   -msgid "Basic information"
185   -msgstr "Información básica"
186   -
187   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:7
188   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:6
189   -msgid "Client type"
190   -msgstr "Tipo de cliente"
191   -
192   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:8
193   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:7
194   -msgid "Business type"
195   -msgstr "Tipo de negocio"
196   -
197   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:11
198   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:5
199   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:10
200   -msgid "Status"
201   -msgstr "Estado"
202   -
203   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:12
204   -msgid "Number of producers"
205   -msgstr "Número de productores"
206   -
207   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:13
208   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:35
209   -msgid "Supply period"
210   -msgstr "Período de suministro"
211   -
212   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:27
213   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:23
214   -msgid "Quantity"
215   -msgstr "Cantidad"
216   -
217   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:28
218   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:24
219   -msgid "Unit price"
220   -msgstr "Precio unitario"
221   -
222   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:38
223   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:27
224   -msgid "Total"
225   -msgstr "Total"
226   -
227   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:48
228   -msgid "Annotations"
229   -msgstr "Anotaciones"
230   -
231   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:4
232   -msgid "Associations awaiting approval:"
233   -msgstr "Asociaciones de espera de aprobación:"
234   -
235   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:16
236   -#: plugins/bsc/views/bsc_plugin_admin/validate_enterprises.html.erb:5
237   -msgid "Type in a search term for enterprise"
238   -msgstr "Ingresa un término de búsqueda para la empresa"
239   -
240   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:19
241   -msgid "Add new enterprise"
242   -msgstr "Añadir nueva empresa"
243   -
244   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:17
245   -msgid "Sort by"
246   -msgstr "Ordenar por"
247   -
248   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:18
249   -msgid "Date(newest first)"
250   -msgstr "Fecha (más reciente primero)"
251   -
252   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:18
253   -msgid "Date(oldest first)"
254   -msgstr "Fecha (más antiguo primero)"
255   -
256   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:19
257   -msgid "Client name(A-Z)"
258   -msgstr "Nombre del cliente (A-Z)"
259   -
260   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:19
261   -msgid "Client name(Z-A)"
262   -msgstr "Nombre del cliente (Z-A)"
263   -
264   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:24
265   -msgid "There are no contracts at all."
266   -msgstr "No hay ningún contrato."
267   -
268   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:35
269   -msgid "Are you sure?"
270   -msgstr "¿Estás seguro?"
271   -
272   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:45
273   -msgid "Create new contract"
274   -msgstr "Crear nuevo contrato"
275   -
276   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:18
277   -msgid "Type in search term for enterprise"
278   -msgstr "Ingresa un término de búsqueda para la empresa"
279   -
280   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:31
281   -msgid "Add new product"
282   -msgstr "Añadir nuevo producto"
283   -
284   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:57
285   -msgid "Type in a search term for product"
286   -msgstr "Ingresa un término de búsqueda para el producto"
287   -
288   -#: plugins/bsc/views/bsc_plugin_myprofile/new_contract.html.erb:1
289   -#: plugins/bsc/views/bsc_plugin_myprofile/edit_contract.html.erb:1
290   -msgid "New contract"
291   -msgstr "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/bsc_plugin/mailer/admin_notification.html.erb:1
338   -msgid "The management of %{bsc} was transferred to you."
339   -msgstr "La administración de %{bsc} te fue transferido."
340   -
341   -#: plugins/bsc/views/shared/_fields.html.erb:39
342   -msgid ""
343   -"You are about to change the address, and this will break external links to "
344   -"this bsc or to posts inside it. Do you really want to change?"
345   -msgstr ""
346   -"Estás a punto de cambiar la dirección, y esto romperá los enlaces externos a "
347   -"este bsc o a las publicaciones su interior. ¿Estás seguro que quieres "
348   -"cambiarla?"
349   -
350   -#: plugins/bsc/views/bsc_plugin_admin/new.html.erb:2
351   -msgid "BSC registration"
352   -msgstr "Registro de BSC"
353   -
354   -#: plugins/bsc/views/bsc_plugin_admin/validate_enterprises.html.erb:1
355   -msgid "Validate enterprises"
356   -msgstr "Validar empresas"
357   -
358   -#: plugins/bsc/views/profile/_profile_tab.html.erb:2
359   -msgid "Contact phone: "
360   -msgstr "Teléfono de contacto: "
361   -
362   -#: plugins/bsc/views/profile/_profile_tab.html.erb:3
363   -msgid "Email: "
364   -msgstr "Correo electrónico: "
plugins/bsc/po/fr/bsc.po
... ... @@ -1,412 +0,0 @@
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.1-882-g0c116ba\n"
8   -"Report-Msgid-Bugs-To: \n"
9   -"POT-Creation-Date: 2015-09-25 15:42-0000\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/controllers/bsc_plugin_admin_controller.rb:11
22   -#, fuzzy
23   -msgid "Your Bsc was created."
24   -msgstr "Votre adresse e-mail %s vient d'être activée"
25   -
26   -#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:21
27   -#, fuzzy
28   -msgid "Enterprises validated."
29   -msgstr "Validations d'entreprises"
30   -
31   -#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:24
32   -#, fuzzy
33   -msgid "Enterprise validations couldn't be saved."
34   -msgstr "Validations d'entreprises"
35   -
36   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:38
37   -#, fuzzy
38   -msgid "This Bsc associations were saved successfully."
39   -msgstr "Fonctionnalités mises à jour avec succès."
40   -
41   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:42
42   -#, fuzzy
43   -msgid "This Bsc associations couldn't be saved."
44   -msgstr "Ce fichier n'a pas pu être sauvegardé"
45   -
46   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:71
47   -#, fuzzy
48   -msgid "Enterprise ownership transferred."
49   -msgstr "Page d'accueil de l'entreprise"
50   -
51   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:85
52   -#, fuzzy
53   -msgid "Enterprise was created in association with %s."
54   -msgstr "Enregistrement de l'enterprise : \"%s\""
55   -
56   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:117
57   -#, fuzzy
58   -msgid "Contract created."
59   -msgstr "Adresse électronique de contact"
60   -
61   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:120
62   -msgid "Contract created but some products could not be added."
63   -msgstr ""
64   -
65   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:131
66   -msgid "Contract doesn't exists! Maybe it was already removed."
67   -msgstr ""
68   -
69   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:140
70   -#, fuzzy
71   -msgid "Could not edit such contract."
72   -msgstr "Impossible de mettre à jour le produit"
73   -
74   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:170
75   -#, fuzzy
76   -msgid "Contract edited."
77   -msgstr "Adresse électronique de contact"
78   -
79   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:173
80   -#, fuzzy
81   -msgid "Contract edited but some products could not be added."
82   -msgstr "Bloc d'information de profil"
83   -
84   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:183
85   -#, fuzzy
86   -msgid "Contract removed."
87   -msgstr "Corps de l'article"
88   -
89   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:185
90   -#, fuzzy
91   -msgid "Contract could not be removed. Sorry! ^^"
92   -msgstr "Bloc d'information de profil"
93   -
94   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:10
95   -#, fuzzy
96   -msgid "BSC association"
97   -msgstr "Informations de contact"
98   -
99   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:18
100   -#, fuzzy
101   -msgid "%{requestor} wants to associate this enterprise with %{linked_subject}."
102   -msgstr "L'utilisateur «%{user}» veut activer l'adresse «%{email}»"
103   -
104   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:35
105   -msgid "%{enterprise} accepted your request to associate it with %{bsc}."
106   -msgstr ""
107   -
108   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:39
109   -msgid "%{enterprise} rejected your request to associate it with %{bsc}."
110   -msgstr ""
111   -
112   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:41
113   -msgid ""
114   -"Here is the reject explanation left by the administrator:\n"
115   -"\n"
116   -"%{reject_explanation}"
117   -msgstr ""
118   -
119   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:46
120   -#, fuzzy
121   -msgid "%{requestor} wants assoaciate %{bsc} as your BSC."
122   -msgstr "%s veut être votre contact."
123   -
124   -#: plugins/bsc/lib/bsc_plugin/mailer.rb:7
125   -msgid "[%s] Bsc management transferred to you."
126   -msgstr ""
127   -
128   -#: plugins/bsc/lib/bsc_plugin/bsc.rb:28
129   -#, fuzzy
130   -msgid "Bsc info and settings"
131   -msgstr "Informations et paramètres"
132   -
133   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
134   -#, fuzzy
135   -msgid "Opened"
136   -msgstr "ouvrir"
137   -
138   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
139   -#, fuzzy
140   -msgid "Negotiating"
141   -msgstr "Paramètres"
142   -
143   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
144   -#, fuzzy
145   -msgid "Executing"
146   -msgstr "Édition"
147   -
148   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
149   -#, fuzzy
150   -msgid "Closed"
151   -msgstr "Fermer"
152   -
153   -#: plugins/bsc/lib/bsc_plugin/contract.rb:46
154   -#, fuzzy
155   -msgid "Federal"
156   -msgstr "Tâche générique"
157   -
158   -#: plugins/bsc/lib/bsc_plugin/contract.rb:59
159   -#, fuzzy
160   -msgid "ProjectA"
161   -msgstr "Produit"
162   -
163   -#: plugins/bsc/lib/bsc_plugin/contract.rb:59
164   -#, fuzzy
165   -msgid "ProjectB"
166   -msgstr "Produit"
167   -
168   -#: plugins/bsc/lib/bsc_plugin.rb:10
169   -#, fuzzy
170   -msgid "Adds the Bsc feature"
171   -msgstr "Autres fonctionnalités"
172   -
173   -#: plugins/bsc/lib/bsc_plugin.rb:14
174   -#, fuzzy
175   -msgid "Create Bsc"
176   -msgstr "Créer"
177   -
178   -#: plugins/bsc/lib/bsc_plugin.rb:15
179   -#, fuzzy
180   -msgid "Validate Enterprises"
181   -msgstr "Valider l'entreprise"
182   -
183   -#: plugins/bsc/lib/bsc_plugin.rb:20
184   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:1
185   -#, fuzzy
186   -msgid "Manage associated enterprises"
187   -msgstr "Gérer les entreprises"
188   -
189   -#: plugins/bsc/lib/bsc_plugin.rb:21 plugins/bsc/lib/bsc_plugin.rb:27
190   -msgid "Transfer ownership"
191   -msgstr ""
192   -
193   -#: plugins/bsc/lib/bsc_plugin.rb:22
194   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:1
195   -#, fuzzy
196   -msgid "Manage contracts"
197   -msgstr "Gérer les contacts."
198   -
199   -#: plugins/bsc/lib/bsc_plugin.rb:98
200   -msgid "Bsc"
201   -msgstr ""
202   -
203   -#: plugins/bsc/lib/bsc_plugin.rb:109
204   -#: plugins/bsc/views/shared/_fields.html.erb:53
205   -msgid "Contact"
206   -msgstr "Contact "
207   -
208   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:5
209   -#: plugins/bsc/views/shared/_fields.html.erb:5
210   -#, fuzzy
211   -msgid "Basic information"
212   -msgstr "Informations de contact"
213   -
214   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:7
215   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:6
216   -#, fuzzy
217   -msgid "Client type"
218   -msgstr "Type de contenu"
219   -
220   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:8
221   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:7
222   -#, fuzzy
223   -msgid "Business type"
224   -msgstr "Nom de fichier"
225   -
226   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:11
227   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:5
228   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:10
229   -msgid "Status"
230   -msgstr "Statut"
231   -
232   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:12
233   -#, fuzzy
234   -msgid "Number of producers"
235   -msgstr "Pas de produit"
236   -
237   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:13
238   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:35
239   -#, fuzzy
240   -msgid "Supply period"
241   -msgstr "Fournisseur : %s"
242   -
243   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:27
244   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:23
245   -#, fuzzy
246   -msgid "Quantity"
247   -msgstr "Qualité"
248   -
249   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:28
250   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:24
251   -#, fuzzy
252   -msgid "Unit price"
253   -msgstr "Distance :"
254   -
255   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:38
256   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:27
257   -#, fuzzy
258   -msgid "Total"
259   -msgstr "Pour : "
260   -
261   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:48
262   -#, fuzzy
263   -msgid "Annotations"
264   -msgstr "Message d'invitation :"
265   -
266   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:4
267   -msgid "Associations awaiting approval:"
268   -msgstr ""
269   -
270   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:16
271   -#: plugins/bsc/views/bsc_plugin_admin/validate_enterprises.html.erb:5
272   -#, fuzzy
273   -msgid "Type in a search term for enterprise"
274   -msgstr "Désactiver la recherche d'entreprises"
275   -
276   -# (second try of this knid of contents)
277   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:19
278   -#, fuzzy
279   -msgid "Add new enterprise"
280   -msgstr "Une entreprise"
281   -
282   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:17
283   -#, fuzzy
284   -msgid "Sort by"
285   -msgstr "Nouveau groupe"
286   -
287   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:18
288   -msgid "Date(newest first)"
289   -msgstr ""
290   -
291   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:18
292   -msgid "Date(oldest first)"
293   -msgstr ""
294   -
295   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:19
296   -msgid "Client name(A-Z)"
297   -msgstr ""
298   -
299   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:19
300   -msgid "Client name(Z-A)"
301   -msgstr ""
302   -
303   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:24
304   -#, fuzzy
305   -msgid "There are no contracts at all."
306   -msgstr "Vous n'avez pas encore de contact."
307   -
308   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:35
309   -msgid "Are you sure?"
310   -msgstr ""
311   -
312   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:45
313   -#, fuzzy
314   -msgid "Create new contract"
315   -msgstr "Créer un nouveau groupe"
316   -
317   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:18
318   -#, fuzzy
319   -msgid "Type in search term for enterprise"
320   -msgstr "Désactiver la recherche d'entreprises"
321   -
322   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:31
323   -#, fuzzy
324   -msgid "Add new product"
325   -msgstr "Ajouter un produit"
326   -
327   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:57
328   -#, fuzzy
329   -msgid "Type in a search term for product"
330   -msgstr "Désactiver la recherche d'entreprises"
331   -
332   -#: plugins/bsc/views/bsc_plugin_myprofile/new_contract.html.erb:1
333   -#: plugins/bsc/views/bsc_plugin_myprofile/edit_contract.html.erb:1
334   -#, fuzzy
335   -msgid "New contract"
336   -msgstr "Tout le contenu"
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/bsc_plugin/mailer/admin_notification.html.erb:1
381   -msgid "The management of %{bsc} was transferred to you."
382   -msgstr ""
383   -
384   -#: plugins/bsc/views/shared/_fields.html.erb:39
385   -#, fuzzy
386   -msgid ""
387   -"You are about to change the address, and this will break external links to "
388   -"this bsc or to posts inside it. Do you really want to change?"
389   -msgstr ""
390   -"Vous êtes sur le point de modifier cette adresse, et cela risque de briser "
391   -"les liens extérieurs menant à la page d'accueil ou le contenu du site lui-"
392   -"même. Voulez-vous vraiment la modifier ?"
393   -
394   -#: plugins/bsc/views/bsc_plugin_admin/new.html.erb:2
395   -#, fuzzy
396   -msgid "BSC registration"
397   -msgstr "Enregistrement de l'enterprise : \"%s\""
398   -
399   -#: plugins/bsc/views/bsc_plugin_admin/validate_enterprises.html.erb:1
400   -#, fuzzy
401   -msgid "Validate enterprises"
402   -msgstr "Valider l'entreprise"
403   -
404   -#: plugins/bsc/views/profile/_profile_tab.html.erb:2
405   -#, fuzzy
406   -msgid "Contact phone: "
407   -msgstr "Téléphone de contact :"
408   -
409   -#: plugins/bsc/views/profile/_profile_tab.html.erb:3
410   -#, fuzzy
411   -msgid "Email: "
412   -msgstr "Courrier électronique : %s"
plugins/bsc/po/hy/bsc.po
... ... @@ -1,404 +0,0 @@
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.1-882-g0c116ba\n"
9   -"POT-Creation-Date: 2015-09-25 15:42-0000\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/controllers/bsc_plugin_admin_controller.rb:11
21   -#, fuzzy
22   -msgid "Your Bsc was created."
23   -msgstr "%s վերացված է"
24   -
25   -#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:21
26   -#, fuzzy
27   -msgid "Enterprises validated."
28   -msgstr "Ձեռնարկությունների վավերացում"
29   -
30   -#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:24
31   -#, fuzzy
32   -msgid "Enterprise validations couldn't be saved."
33   -msgstr "Ձեռնարկությունների վավերացում"
34   -
35   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:38
36   -#, fuzzy
37   -msgid "This Bsc associations were saved successfully."
38   -msgstr "Առանձնահատկությունները հաջողությամբ թարմացված են:"
39   -
40   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:42
41   -#, fuzzy
42   -msgid "This Bsc associations couldn't be saved."
43   -msgstr "Անհանատական էջի տվյալների բաժին"
44   -
45   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:71
46   -#, fuzzy
47   -msgid "Enterprise ownership transferred."
48   -msgstr "Ձեռնարկության գլխավոր էջ"
49   -
50   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:85
51   -#, fuzzy
52   -msgid "Enterprise was created in association with %s."
53   -msgstr "Ձեռնարկության գրանցում «%s»"
54   -
55   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:117
56   -#, fuzzy
57   -msgid "Contract created."
58   -msgstr "էլ. հասցե"
59   -
60   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:120
61   -msgid "Contract created but some products could not be added."
62   -msgstr ""
63   -
64   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:131
65   -msgid "Contract doesn't exists! Maybe it was already removed."
66   -msgstr ""
67   -
68   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:140
69   -#, fuzzy
70   -msgid "Could not edit such contract."
71   -msgstr "Արտադրանք թարմացնելն անհնար է"
72   -
73   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:170
74   -#, fuzzy
75   -msgid "Contract edited."
76   -msgstr "էլ. հասցե"
77   -
78   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:173
79   -#, fuzzy
80   -msgid "Contract edited but some products could not be added."
81   -msgstr "Անհանատական էջի տվյալների բաժին"
82   -
83   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:183
84   -#, fuzzy
85   -msgid "Contract removed."
86   -msgstr "Բուն հոդված"
87   -
88   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:185
89   -#, fuzzy
90   -msgid "Contract could not be removed. Sorry! ^^"
91   -msgstr "Անհանատական էջի տվյալների բաժին"
92   -
93   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:10
94   -#, fuzzy
95   -msgid "BSC association"
96   -msgstr "Էլ. հասցե"
97   -
98   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:18
99   -#, fuzzy
100   -msgid "%{requestor} wants to associate this enterprise with %{linked_subject}."
101   -msgstr "%s-ը ցանկանում է %s-ի անդամ դառնալ:"
102   -
103   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:35
104   -msgid "%{enterprise} accepted your request to associate it with %{bsc}."
105   -msgstr ""
106   -
107   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:39
108   -msgid "%{enterprise} rejected your request to associate it with %{bsc}."
109   -msgstr ""
110   -
111   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:41
112   -msgid ""
113   -"Here is the reject explanation left by the administrator:\n"
114   -"\n"
115   -"%{reject_explanation}"
116   -msgstr ""
117   -
118   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:46
119   -#, fuzzy
120   -msgid "%{requestor} wants assoaciate %{bsc} as your BSC."
121   -msgstr "%s ցանկանում է Ձեր ընկերը դառնալ"
122   -
123   -#: plugins/bsc/lib/bsc_plugin/mailer.rb:7
124   -msgid "[%s] Bsc management transferred to you."
125   -msgstr ""
126   -
127   -#: plugins/bsc/lib/bsc_plugin/bsc.rb:28
128   -#, fuzzy
129   -msgid "Bsc info and settings"
130   -msgstr "Անհանատական էջի տվյալների բաժին"
131   -
132   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
133   -#, fuzzy
134   -msgid "Opened"
135   -msgstr "բացել"
136   -
137   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
138   -#, fuzzy
139   -msgid "Negotiating"
140   -msgstr "Պարամետրեր"
141   -
142   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
143   -#, fuzzy
144   -msgid "Executing"
145   -msgstr "Փոփոխում"
146   -
147   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
148   -#, fuzzy
149   -msgid "Closed"
150   -msgstr "Փակել"
151   -
152   -#: plugins/bsc/lib/bsc_plugin/contract.rb:46
153   -#, fuzzy
154   -msgid "Federal"
155   -msgstr "Ընդհանուր առաջադրանք"
156   -
157   -#: plugins/bsc/lib/bsc_plugin/contract.rb:59
158   -#, fuzzy
159   -msgid "ProjectA"
160   -msgstr "Արտադրանք"
161   -
162   -#: plugins/bsc/lib/bsc_plugin/contract.rb:59
163   -#, fuzzy
164   -msgid "ProjectB"
165   -msgstr "Արտադրանք"
166   -
167   -#: plugins/bsc/lib/bsc_plugin.rb:10
168   -#, fuzzy
169   -msgid "Adds the Bsc feature"
170   -msgstr "Այլ առանձնահատկություն"
171   -
172   -#: plugins/bsc/lib/bsc_plugin.rb:14
173   -#, fuzzy
174   -msgid "Create Bsc"
175   -msgstr "Ստեղծել"
176   -
177   -#: plugins/bsc/lib/bsc_plugin.rb:15
178   -#, fuzzy
179   -msgid "Validate Enterprises"
180   -msgstr "Վավերացնել ձեռնարկությունը"
181   -
182   -#: plugins/bsc/lib/bsc_plugin.rb:20
183   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:1
184   -#, fuzzy
185   -msgid "Manage associated enterprises"
186   -msgstr "Մեկ ձեռնարկություն"
187   -
188   -#: plugins/bsc/lib/bsc_plugin.rb:21 plugins/bsc/lib/bsc_plugin.rb:27
189   -msgid "Transfer ownership"
190   -msgstr ""
191   -
192   -#: plugins/bsc/lib/bsc_plugin.rb:22
193   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:1
194   -#, fuzzy
195   -msgid "Manage contracts"
196   -msgstr "Կառավարել բովանդակությունը:"
197   -
198   -#: plugins/bsc/lib/bsc_plugin.rb:98
199   -msgid "Bsc"
200   -msgstr ""
201   -
202   -#: plugins/bsc/lib/bsc_plugin.rb:109
203   -#: plugins/bsc/views/shared/_fields.html.erb:53
204   -msgid "Contact"
205   -msgstr ""
206   -
207   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:5
208   -#: plugins/bsc/views/shared/_fields.html.erb:5
209   -#, fuzzy
210   -msgid "Basic information"
211   -msgstr "Էլ. հասցե"
212   -
213   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:7
214   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:6
215   -#, fuzzy
216   -msgid "Client type"
217   -msgstr "Բովանդակության տեսակ"
218   -
219   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:8
220   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:7
221   -#, fuzzy
222   -msgid "Business type"
223   -msgstr "Սեփականատիրոջ տեսակ"
224   -
225   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:11
226   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:5
227   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:10
228   -msgid "Status"
229   -msgstr "Կարգավիճակ"
230   -
231   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:12
232   -#, fuzzy
233   -msgid "Number of producers"
234   -msgstr "Արտադրանք չկա"
235   -
236   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:13
237   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:35
238   -#, fuzzy
239   -msgid "Supply period"
240   -msgstr "Առաքիչ %s"
241   -
242   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:27
243   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:23
244   -#, fuzzy
245   -msgid "Quantity"
246   -msgstr "Որակ"
247   -
248   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:28
249   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:24
250   -#, fuzzy
251   -msgid "Unit price"
252   -msgstr "Հեռավորություն"
253   -
254   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:38
255   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:27
256   -msgid "Total"
257   -msgstr ""
258   -
259   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:48
260   -#, fuzzy
261   -msgid "Annotations"
262   -msgstr "Կառավարման վահանակ"
263   -
264   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:4
265   -msgid "Associations awaiting approval:"
266   -msgstr ""
267   -
268   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:16
269   -#: plugins/bsc/views/bsc_plugin_admin/validate_enterprises.html.erb:5
270   -#, fuzzy
271   -msgid "Type in a search term for enterprise"
272   -msgstr "Դիզակտիվացնել ձեռնարկությունների որոնումը"
273   -
274   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:19
275   -#, fuzzy
276   -msgid "Add new enterprise"
277   -msgstr "Մեկ ձեռնարկություն"
278   -
279   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:17
280   -#, fuzzy
281   -msgid "Sort by"
282   -msgstr "Մեկ համայնք"
283   -
284   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:18
285   -msgid "Date(newest first)"
286   -msgstr ""
287   -
288   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:18
289   -msgid "Date(oldest first)"
290   -msgstr ""
291   -
292   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:19
293   -msgid "Client name(A-Z)"
294   -msgstr ""
295   -
296   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:19
297   -msgid "Client name(Z-A)"
298   -msgstr ""
299   -
300   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:24
301   -msgid "There are no contracts at all."
302   -msgstr ""
303   -
304   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:35
305   -msgid "Are you sure?"
306   -msgstr ""
307   -
308   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:45
309   -#, fuzzy
310   -msgid "Create new contract"
311   -msgstr "Ստեղծել նոր համայնք"
312   -
313   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:18
314   -#, fuzzy
315   -msgid "Type in search term for enterprise"
316   -msgstr "Դիզակտիվացնել ձեռնարկությունների որոնումը"
317   -
318   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:31
319   -#, fuzzy
320   -msgid "Add new product"
321   -msgstr "Կառավարել արտադրանքը"
322   -
323   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:57
324   -#, fuzzy
325   -msgid "Type in a search term for product"
326   -msgstr "Դիզակտիվացնել ձեռնարկությունների որոնումը"
327   -
328   -#: plugins/bsc/views/bsc_plugin_myprofile/new_contract.html.erb:1
329   -#: plugins/bsc/views/bsc_plugin_myprofile/edit_contract.html.erb:1
330   -#, fuzzy
331   -msgid "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/bsc_plugin/mailer/admin_notification.html.erb:1
377   -msgid "The management of %{bsc} was transferred to you."
378   -msgstr ""
379   -
380   -#: plugins/bsc/views/shared/_fields.html.erb:39
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   -#: plugins/bsc/views/bsc_plugin_admin/new.html.erb:2
387   -#, fuzzy
388   -msgid "BSC registration"
389   -msgstr "Ձեռնարկության գրանցում «%s»"
390   -
391   -#: plugins/bsc/views/bsc_plugin_admin/validate_enterprises.html.erb:1
392   -#, fuzzy
393   -msgid "Validate enterprises"
394   -msgstr "Վավերացնել ձեռնարկությունը"
395   -
396   -#: plugins/bsc/views/profile/_profile_tab.html.erb:2
397   -#, fuzzy
398   -msgid "Contact phone: "
399   -msgstr "Հեռախոս"
400   -
401   -#: plugins/bsc/views/profile/_profile_tab.html.erb:3
402   -#, fuzzy
403   -msgid "Email: "
404   -msgstr "Էլ. հասցե"
plugins/bsc/po/pt/bsc.po
... ... @@ -1,370 +0,0 @@
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.1-882-g0c116ba\n"
15   -"POT-Creation-Date: 2015-09-25 15:42-0000\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/controllers/bsc_plugin_admin_controller.rb:11
28   -msgid "Your Bsc was created."
29   -msgstr "Seu Bsc foi criado."
30   -
31   -#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:21
32   -msgid "Enterprises validated."
33   -msgstr "Empreendimento validados."
34   -
35   -#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:24
36   -msgid "Enterprise validations couldn't be saved."
37   -msgstr "As validações de empreendimento não puderam ser salvas."
38   -
39   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:38
40   -msgid "This Bsc associations were saved successfully."
41   -msgstr "As associações deste Bsc foram salvas com sucesso."
42   -
43   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:42
44   -msgid "This Bsc associations couldn't be saved."
45   -msgstr "As associações deste Bsc não puderam ser salvas."
46   -
47   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:71
48   -msgid "Enterprise ownership transferred."
49   -msgstr "A administração do empreendimento foi transferida."
50   -
51   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:85
52   -msgid "Enterprise was created in association with %s."
53   -msgstr "O empreendimento foi criado em associação com %s."
54   -
55   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:117
56   -msgid "Contract created."
57   -msgstr "O contrato foi criado."
58   -
59   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:120
60   -msgid "Contract created but some products could not be added."
61   -msgstr "O contrato foi criado mas alguns produtos não puderam ser adicionados."
62   -
63   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:131
64   -msgid "Contract doesn't exists! Maybe it was already removed."
65   -msgstr "O contrato não existe! Talvez ele já tenha sido removido."
66   -
67   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:140
68   -msgid "Could not edit such contract."
69   -msgstr "Não foi possível editar o contrato."
70   -
71   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:170
72   -msgid "Contract edited."
73   -msgstr "Contrato editado."
74   -
75   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:173
76   -msgid "Contract edited but some products could not be added."
77   -msgstr ""
78   -"O contrato foi editado mas alguns produtos não puderam ser adicionados."
79   -
80   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:183
81   -msgid "Contract removed."
82   -msgstr "Contrato removido."
83   -
84   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:185
85   -msgid "Contract could not be removed. Sorry! ^^"
86   -msgstr "O contrato não pôde ser removido. Desculpa!"
87   -
88   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:10
89   -msgid "BSC association"
90   -msgstr "Associação de BSC"
91   -
92   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:18
93   -msgid "%{requestor} wants to associate this enterprise with %{linked_subject}."
94   -msgstr "%{requestor} quer associar este empreendimento com %{linked_subject}."
95   -
96   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:35
97   -msgid "%{enterprise} accepted your request to associate it with %{bsc}."
98   -msgstr "%{enterprise} aceitou seu pedido para associá-lo com %{bsc}."
99   -
100   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:39
101   -msgid "%{enterprise} rejected your request to associate it with %{bsc}."
102   -msgstr "%{enterprise} rejeitou seu pedido para associá-lo com %{bsc}."
103   -
104   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:41
105   -msgid ""
106   -"Here is the reject explanation left by the administrator:\n"
107   -"\n"
108   -"%{reject_explanation}"
109   -msgstr ""
110   -"Segue a explicação de rejeição deixada pelo administrador:\n"
111   -"\n"
112   -"%{reject_explanation}"
113   -
114   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:46
115   -msgid "%{requestor} wants assoaciate %{bsc} as your BSC."
116   -msgstr "%{requestor} quer associar %{bsc} como seu BSC."
117   -
118   -#: plugins/bsc/lib/bsc_plugin/mailer.rb:7
119   -msgid "[%s] Bsc management transferred to you."
120   -msgstr "[%s] Administração de Bsc transferida para você."
121   -
122   -#: plugins/bsc/lib/bsc_plugin/bsc.rb:28
123   -msgid "Bsc info and settings"
124   -msgstr "Informações e Configurações do Bsc"
125   -
126   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
127   -msgid "Opened"
128   -msgstr "Aberto"
129   -
130   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
131   -msgid "Negotiating"
132   -msgstr "Em negociação"
133   -
134   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
135   -msgid "Executing"
136   -msgstr "Executando"
137   -
138   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
139   -msgid "Closed"
140   -msgstr "Fechado"
141   -
142   -#: plugins/bsc/lib/bsc_plugin/contract.rb:46
143   -msgid "Federal"
144   -msgstr "Federal"
145   -
146   -#: plugins/bsc/lib/bsc_plugin/contract.rb:59
147   -msgid "ProjectA"
148   -msgstr "ProjetoA"
149   -
150   -#: plugins/bsc/lib/bsc_plugin/contract.rb:59
151   -msgid "ProjectB"
152   -msgstr "ProjetoB"
153   -
154   -#: plugins/bsc/lib/bsc_plugin.rb:10
155   -msgid "Adds the Bsc feature"
156   -msgstr "Adiciona a funcionalidades Bsc"
157   -
158   -#: plugins/bsc/lib/bsc_plugin.rb:14
159   -msgid "Create Bsc"
160   -msgstr "Criar Bsc"
161   -
162   -#: plugins/bsc/lib/bsc_plugin.rb:15
163   -msgid "Validate Enterprises"
164   -msgstr "Validar empreendimentos"
165   -
166   -#: plugins/bsc/lib/bsc_plugin.rb:20
167   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:1
168   -msgid "Manage associated enterprises"
169   -msgstr "Gerenciar empreendimentos associados"
170   -
171   -#: plugins/bsc/lib/bsc_plugin.rb:21 plugins/bsc/lib/bsc_plugin.rb:27
172   -msgid "Transfer ownership"
173   -msgstr "Transferir administração"
174   -
175   -#: plugins/bsc/lib/bsc_plugin.rb:22
176   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:1
177   -msgid "Manage contracts"
178   -msgstr "Gerenciar contratos"
179   -
180   -#: plugins/bsc/lib/bsc_plugin.rb:98
181   -msgid "Bsc"
182   -msgstr "Bsc"
183   -
184   -#: plugins/bsc/lib/bsc_plugin.rb:109
185   -#: plugins/bsc/views/shared/_fields.html.erb:53
186   -msgid "Contact"
187   -msgstr "Contato"
188   -
189   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:5
190   -#: plugins/bsc/views/shared/_fields.html.erb:5
191   -msgid "Basic information"
192   -msgstr "Informações Básicas"
193   -
194   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:7
195   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:6
196   -msgid "Client type"
197   -msgstr "Tipo de cliente"
198   -
199   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:8
200   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:7
201   -msgid "Business type"
202   -msgstr "Tipo de negócio"
203   -
204   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:11
205   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:5
206   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:10
207   -msgid "Status"
208   -msgstr "Estado"
209   -
210   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:12
211   -msgid "Number of producers"
212   -msgstr "Número de produtores"
213   -
214   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:13
215   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:35
216   -msgid "Supply period"
217   -msgstr "Período de fornecimento"
218   -
219   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:27
220   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:23
221   -msgid "Quantity"
222   -msgstr "Quantidade"
223   -
224   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:28
225   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:24
226   -msgid "Unit price"
227   -msgstr "Preço unitário"
228   -
229   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:38
230   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:27
231   -msgid "Total"
232   -msgstr "Total"
233   -
234   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:48
235   -msgid "Annotations"
236   -msgstr "Anotações"
237   -
238   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:4
239   -msgid "Associations awaiting approval:"
240   -msgstr "Associações aguardando aprovação:"
241   -
242   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:16
243   -#: plugins/bsc/views/bsc_plugin_admin/validate_enterprises.html.erb:5
244   -msgid "Type in a search term for enterprise"
245   -msgstr "Digite um termo de pesquisa para empreendimentos"
246   -
247   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:19
248   -msgid "Add new enterprise"
249   -msgstr "Adicionar novo empreendimento"
250   -
251   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:17
252   -msgid "Sort by"
253   -msgstr "Ordenar por"
254   -
255   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:18
256   -msgid "Date(newest first)"
257   -msgstr "Data(mais recentes primeiro)"
258   -
259   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:18
260   -msgid "Date(oldest first)"
261   -msgstr "Data(mais antigos primeiro)"
262   -
263   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:19
264   -msgid "Client name(A-Z)"
265   -msgstr "Nome do cliente(A-Z)"
266   -
267   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:19
268   -msgid "Client name(Z-A)"
269   -msgstr "Nome do cliente(Z-A)"
270   -
271   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:24
272   -msgid "There are no contracts at all."
273   -msgstr "Não há contratos."
274   -
275   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:35
276   -msgid "Are you sure?"
277   -msgstr "Você tem certeza?"
278   -
279   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:45
280   -msgid "Create new contract"
281   -msgstr "Criar novo contrato"
282   -
283   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:18
284   -msgid "Type in search term for enterprise"
285   -msgstr "Digite um termo de pesquisa para empreendimentos"
286   -
287   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:31
288   -msgid "Add new product"
289   -msgstr "Adicionar novo produto"
290   -
291   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:57
292   -msgid "Type in a search term for product"
293   -msgstr "Digite um termo de pesquisa para produto"
294   -
295   -#: plugins/bsc/views/bsc_plugin_myprofile/new_contract.html.erb:1
296   -#: plugins/bsc/views/bsc_plugin_myprofile/edit_contract.html.erb:1
297   -msgid "New contract"
298   -msgstr "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/bsc_plugin/mailer/admin_notification.html.erb:1
345   -msgid "The management of %{bsc} was transferred to you."
346   -msgstr "A adminstração de %{bsc} foi transferida para você."
347   -
348   -#: plugins/bsc/views/shared/_fields.html.erb:39
349   -msgid ""
350   -"You are about to change the address, and this will break external links to "
351   -"this bsc or to posts inside it. Do you really want to change?"
352   -msgstr ""
353   -"Você está prestes a alterar o endereço, e isto vai quebrar links externos "
354   -"para esse bsc ou para artigos dentro dele. Você realmente deseja mudar?"
355   -
356   -#: plugins/bsc/views/bsc_plugin_admin/new.html.erb:2
357   -msgid "BSC registration"
358   -msgstr "Registro de BSC"
359   -
360   -#: plugins/bsc/views/bsc_plugin_admin/validate_enterprises.html.erb:1
361   -msgid "Validate enterprises"
362   -msgstr "Validar empreendimentos"
363   -
364   -#: plugins/bsc/views/profile/_profile_tab.html.erb:2
365   -msgid "Contact phone: "
366   -msgstr "Telefone de contato: "
367   -
368   -#: plugins/bsc/views/profile/_profile_tab.html.erb:3
369   -msgid "Email: "
370   -msgstr "Email: "
plugins/bsc/po/ru/bsc.po
... ... @@ -1,410 +0,0 @@
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.1-882-g0c116ba\n"
9   -"POT-Creation-Date: 2015-09-25 15:42-0000\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/controllers/bsc_plugin_admin_controller.rb:11
23   -#, fuzzy
24   -msgid "Your Bsc was created."
25   -msgstr "Ваш E-Mail %s активирован"
26   -
27   -#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:21
28   -#, fuzzy
29   -msgid "Enterprises validated."
30   -msgstr "Утвердители компаний"
31   -
32   -#: plugins/bsc/controllers/bsc_plugin_admin_controller.rb:24
33   -#, fuzzy
34   -msgid "Enterprise validations couldn't be saved."
35   -msgstr "Утвердители компаний"
36   -
37   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:38
38   -#, fuzzy
39   -msgid "This Bsc associations were saved successfully."
40   -msgstr "Все файлы успешно обновлены"
41   -
42   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:42
43   -#, fuzzy
44   -msgid "This Bsc associations couldn't be saved."
45   -msgstr "Файл не может быть сохранен"
46   -
47   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:71
48   -#, fuzzy
49   -msgid "Enterprise ownership transferred."
50   -msgstr "Домашняя страница компании"
51   -
52   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:85
53   -#, fuzzy
54   -msgid "Enterprise was created in association with %s."
55   -msgstr "Регистрация предприятия: \"%s\""
56   -
57   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:117
58   -#, fuzzy
59   -msgid "Contract created."
60   -msgstr "Контактный email"
61   -
62   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:120
63   -msgid "Contract created but some products could not be added."
64   -msgstr ""
65   -
66   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:131
67   -msgid "Contract doesn't exists! Maybe it was already removed."
68   -msgstr ""
69   -
70   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:140
71   -#, fuzzy
72   -msgid "Could not edit such contract."
73   -msgstr "Невозможно обновить продукт"
74   -
75   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:170
76   -#, fuzzy
77   -msgid "Contract edited."
78   -msgstr "Контактный email"
79   -
80   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:173
81   -#, fuzzy
82   -msgid "Contract edited but some products could not be added."
83   -msgstr "Блок персональной информации"
84   -
85   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:183
86   -#, fuzzy
87   -msgid "Contract removed."
88   -msgstr "Тело статьи"
89   -
90   -#: plugins/bsc/controllers/bsc_plugin_myprofile_controller.rb:185
91   -#, fuzzy
92   -msgid "Contract could not be removed. Sorry! ^^"
93   -msgstr "Блок персональной информации"
94   -
95   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:10
96   -#, fuzzy
97   -msgid "BSC association"
98   -msgstr "Основная информация"
99   -
100   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:18
101   -#, fuzzy
102   -msgid "%{requestor} wants to associate this enterprise with %{linked_subject}."
103   -msgstr "'%{user} хочет активировать E-Mail '%{email}' "
104   -
105   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:35
106   -msgid "%{enterprise} accepted your request to associate it with %{bsc}."
107   -msgstr ""
108   -
109   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:39
110   -msgid "%{enterprise} rejected your request to associate it with %{bsc}."
111   -msgstr ""
112   -
113   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:41
114   -msgid ""
115   -"Here is the reject explanation left by the administrator:\n"
116   -"\n"
117   -"%{reject_explanation}"
118   -msgstr ""
119   -
120   -#: plugins/bsc/lib/bsc_plugin/associate_enterprise.rb:46
121   -#, fuzzy
122   -msgid "%{requestor} wants assoaciate %{bsc} as your BSC."
123   -msgstr "%s хочет быть вашим другом"
124   -
125   -#: plugins/bsc/lib/bsc_plugin/mailer.rb:7
126   -msgid "[%s] Bsc management transferred to you."
127   -msgstr ""
128   -
129   -#: plugins/bsc/lib/bsc_plugin/bsc.rb:28
130   -#, fuzzy
131   -msgid "Bsc info and settings"
132   -msgstr "Инфо профиля и настройки"
133   -
134   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
135   -#, fuzzy
136   -msgid "Opened"
137   -msgstr "открыть"
138   -
139   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
140   -#, fuzzy
141   -msgid "Negotiating"
142   -msgstr "Настройки"
143   -
144   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
145   -#, fuzzy
146   -msgid "Executing"
147   -msgstr "Редактирование"
148   -
149   -#: plugins/bsc/lib/bsc_plugin/contract.rb:33
150   -#, fuzzy
151   -msgid "Closed"
152   -msgstr "Закрыть"
153   -
154   -#: plugins/bsc/lib/bsc_plugin/contract.rb:46
155   -#, fuzzy
156   -msgid "Federal"
157   -msgstr "Основная задача"
158   -
159   -#: plugins/bsc/lib/bsc_plugin/contract.rb:59
160   -#, fuzzy
161   -msgid "ProjectA"
162   -msgstr "Продукт"
163   -
164   -#: plugins/bsc/lib/bsc_plugin/contract.rb:59
165   -#, fuzzy
166   -msgid "ProjectB"
167   -msgstr "Продукт"
168   -
169   -#: plugins/bsc/lib/bsc_plugin.rb:10
170   -#, fuzzy
171   -msgid "Adds the Bsc feature"
172   -msgstr "Системные возможности"
173   -
174   -#: plugins/bsc/lib/bsc_plugin.rb:14
175   -#, fuzzy
176   -msgid "Create Bsc"
177   -msgstr "Создать"
178   -
179   -#: plugins/bsc/lib/bsc_plugin.rb:15
180   -#, fuzzy
181   -msgid "Validate Enterprises"
182   -msgstr "Подтвердить компанию"
183   -
184   -#: plugins/bsc/lib/bsc_plugin.rb:20
185   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:1
186   -#, fuzzy
187   -msgid "Manage associated enterprises"
188   -msgstr "Verwalte Unternehmensfelder"
189   -
190   -#: plugins/bsc/lib/bsc_plugin.rb:21 plugins/bsc/lib/bsc_plugin.rb:27
191   -msgid "Transfer ownership"
192   -msgstr ""
193   -
194   -#: plugins/bsc/lib/bsc_plugin.rb:22
195   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:1
196   -#, fuzzy
197   -msgid "Manage contracts"
198   -msgstr "Управлять контактами"
199   -
200   -#: plugins/bsc/lib/bsc_plugin.rb:98
201   -msgid "Bsc"
202   -msgstr ""
203   -
204   -#: plugins/bsc/lib/bsc_plugin.rb:109
205   -#: plugins/bsc/views/shared/_fields.html.erb:53
206   -msgid "Contact"
207   -msgstr "Контакт"
208   -
209   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:5
210   -#: plugins/bsc/views/shared/_fields.html.erb:5
211   -msgid "Basic information"
212   -msgstr "Основная информация"
213   -
214   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:7
215   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:6
216   -#, fuzzy
217   -msgid "Client type"
218   -msgstr "Тип контента"
219   -
220   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:8
221   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:7
222   -#, fuzzy
223   -msgid "Business type"
224   -msgstr "Название работы"
225   -
226   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:11
227   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:5
228   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:10
229   -msgid "Status"
230   -msgstr "Статус"
231   -
232   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:12
233   -#, fuzzy
234   -msgid "Number of producers"
235   -msgstr "Количество новостей"
236   -
237   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:13
238   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:35
239   -#, fuzzy
240   -msgid "Supply period"
241   -msgstr "Поставщик: %s"
242   -
243   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:27
244   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:23
245   -#, fuzzy
246   -msgid "Quantity"
247   -msgstr "Качество"
248   -
249   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:28
250   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:24
251   -#, fuzzy
252   -msgid "Unit price"
253   -msgstr "Прайс:"
254   -
255   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:38
256   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:27
257   -#, fuzzy
258   -msgid "Total"
259   -msgstr "Получатель:"
260   -
261   -#: plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb:48
262   -#, fuzzy
263   -msgid "Annotations"
264   -msgstr "Текст приглашения"
265   -
266   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:4
267   -msgid "Associations awaiting approval:"
268   -msgstr ""
269   -
270   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:16
271   -#: plugins/bsc/views/bsc_plugin_admin/validate_enterprises.html.erb:5
272   -#, fuzzy
273   -msgid "Type in a search term for enterprise"
274   -msgstr "Отключить поиск по компаниям"
275   -
276   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb:19
277   -#, fuzzy
278   -msgid "Add new enterprise"
279   -msgstr "Одна компания"
280   -
281   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:17
282   -#, fuzzy
283   -msgid "Sort by"
284   -msgstr "Отправлено %s."
285   -
286   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:18
287   -msgid "Date(newest first)"
288   -msgstr ""
289   -
290   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:18
291   -msgid "Date(oldest first)"
292   -msgstr ""
293   -
294   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:19
295   -msgid "Client name(A-Z)"
296   -msgstr ""
297   -
298   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:19
299   -msgid "Client name(Z-A)"
300   -msgstr ""
301   -
302   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:24
303   -#, fuzzy
304   -msgid "There are no contracts at all."
305   -msgstr "У вас еще нет контактов"
306   -
307   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:35
308   -msgid "Are you sure?"
309   -msgstr ""
310   -
311   -#: plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb:45
312   -#, fuzzy
313   -msgid "Create new contract"
314   -msgstr "Создать новое сообщество"
315   -
316   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:18
317   -#, fuzzy
318   -msgid "Type in search term for enterprise"
319   -msgstr "Отключить поиск по компаниям"
320   -
321   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:31
322   -#, fuzzy
323   -msgid "Add new product"
324   -msgstr "Управление продуктами"
325   -
326   -#: plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb:57
327   -#, fuzzy
328   -msgid "Type in a search term for product"
329   -msgstr "Отключить поиск по компаниям"
330   -
331   -#: plugins/bsc/views/bsc_plugin_myprofile/new_contract.html.erb:1
332   -#: plugins/bsc/views/bsc_plugin_myprofile/edit_contract.html.erb:1
333   -#, fuzzy
334   -msgid "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/bsc_plugin/mailer/admin_notification.html.erb:1
380   -msgid "The management of %{bsc} was transferred to you."
381   -msgstr ""
382   -
383   -#: plugins/bsc/views/shared/_fields.html.erb:39
384   -#, fuzzy
385   -msgid ""
386   -"You are about to change the address, and this will break external links to "
387   -"this bsc or to posts inside it. Do you really want to change?"
388   -msgstr ""
389   -"Вы собираетесь сменить адрес, это приведет к разрыву всех внешних ссылок, "
390   -"ведущих на вашу страницу. Вы уверены?"
391   -
392   -#: plugins/bsc/views/bsc_plugin_admin/new.html.erb:2
393   -#, fuzzy
394   -msgid "BSC registration"
395   -msgstr "Регистрация предприятия"
396   -
397   -#: plugins/bsc/views/bsc_plugin_admin/validate_enterprises.html.erb:1
398   -#, fuzzy
399   -msgid "Validate enterprises"
400   -msgstr "Подтвердить компанию"
401   -
402   -#: plugins/bsc/views/profile/_profile_tab.html.erb:2
403   -#, fuzzy
404   -msgid "Contact phone: "
405   -msgstr "Kontakttelefon:"
406   -
407   -#: plugins/bsc/views/profile/_profile_tab.html.erb:3
408   -#, fuzzy
409   -msgid "Email: "
410   -msgstr "E-Mail: %s"
plugins/bsc/public/contracts.js
... ... @@ -1,86 +0,0 @@
1   -var BSCContracts = {};
2   -
3   -(function($){
4   - BSCContracts.onDelete = function(item){
5   - $('.token-input-dropdown').hide();
6   - $('#bsc-plugin-row-'+item.sale_id.toString()).remove();
7   - BSCContracts.updateTotal();
8   - };
9   -
10   - BSCContracts.onAdd = function(item){
11   - var quantity = $('#bsc-plugin-sale-'+item.sale_id.toString()+'-quantity');
12   - var price = $('#bsc-plugin-sale-'+item.sale_id.toString()+'-price');
13   - quantity.addClass('required');
14   - price.addClass('required');
15   - quantity.val(1);
16   - price.val(item.product_price);
17   - BSCContracts.updateTotal();
18   - };
19   -
20   - BSCContracts.newID = function(){
21   - if ( !this.idNum ) this.idNum = 0;
22   - return this.idNum++;
23   - };
24   -
25   - BSCContracts.newProductLine = function(item){
26   - var id = this.newID();
27   - var tr = $('<tr class="bsc-plugin-sales-product" id="bsc-plugin-row-'+id+'"></tr>');
28   - var tds = $('<td></td><td></td><td>'+this.currencyUnit+'</td>').appendTo(tr);
29   - var input = $('<input name="sales['+id+'][product_id]" class="search-product-field"/>').appendTo(tds[0]);
30   - var searchUrl = this.searchUrl
31   - .replace('ENTERPRISES', $('#involved-enterprises').val())
32   - .replace('SALE_ID', id)
33   - .replace('ADDED_PRODUCTS', $.map($('.search-product-field'), function(item){return item.value}).join(','));
34   - var prePopulation = [];
35   - var quantity = '';
36   - var price = '';
37   - var required = '';
38   - if(item) {
39   - item.sale_id = id;
40   - prePopulation = [item];
41   - quantity = item.quantity;
42   - price = item.product_price;
43   - required = 'required';
44   - }
45   - var opts = $.extend( { prePopulate: prePopulation, queryParam: input[0].name }, this.tokenInputOptions );
46   -
47   - input.keydown(function(event){ if(event.keyCode == '13') return false })
48   - .tokenInput(searchUrl, opts);
49   - $('#bsc-plugin-contract-total-row').before(tr);
50   - $('<input id="bsc-plugin-sale-'+id+'-quantity" class="bsc-plugin-sales-quantity '+required+' digits" name="sales['+id+'][quantity]" align="center" size="8" value="'+quantity+'"/>').appendTo(tds[1]);
51   - $('<input id="bsc-plugin-sale-'+id+'-price" class="bsc-plugin-sales-price '+required+' number" name="sales['+id+'][price]" value="'+price+'"/>').appendTo(tds[2]);
52   - };
53   -
54   - BSCContracts.prePopulate = function(items){
55   - $(items).each(function(index, item){BSCContracts.newProductLine(item)});
56   - }
57   -
58   - BSCContracts.updateTotal = function(){
59   - var total = 0;
60   - var quantity = 0;
61   - var price = 0;
62   - $('.bsc-plugin-sales-product').each(function(index){
63   - quantity = $('#' + $(this).attr('id') + " .bsc-plugin-sales-quantity").val();
64   - price = $('#'+$(this).attr('id') + " .bsc-plugin-sales-price").val();
65   - total += quantity*price;
66   - });
67   - $('#bsc-plugin-sales-total-value').text(BSCContracts.currencyUnit+' '+total);
68   - }
69   -
70   - $(".bsc-plugin-sales-price, .bsc-plugin-sales-quantity").live('change', function(e){
71   - BSCContracts.updateTotal();
72   - });
73   -
74   - $("#bsc-plugin-add-new-product").click(function(){
75   - var last = $('.search-product-field:last');
76   - if(!last.val() && last.size() != 0){
77   - last.focus();
78   - return false;
79   - }
80   - var next_id = parseInt(last.attr('data-sale-id'))+1;
81   - var enterprises = $('#involved-enterprises').val().replace(/,/g,'-');
82   - BSCContracts.newProductLine();
83   - return false;
84   - });
85   -
86   -})(jQuery);
plugins/bsc/public/datepicker.js
... ... @@ -1,14 +0,0 @@
1   -var dates = jQuery( "#from, #to" ).datepicker({
2   - defaultDate: "+1w",
3   - changeMonth: true,
4   - dateFormat: 'yy-mm-dd',
5   - onSelect: function( selectedDate ) {
6   - var option = this.id == "from" ? "minDate" : "maxDate",
7   - instance = jQuery( this ).data( "datepicker" ),
8   - date = jQuery.datepicker.parseDate(
9   - instance.settings.dateFormat ||
10   - jQuery.datepicker._defaults.dateFormat,
11   - selectedDate, instance.settings );
12   - dates.not( this ).datepicker( "option", option, date );
13   - }
14   -});
plugins/bsc/public/images/manage-bsc-enterprises-icon.png

978 Bytes

plugins/bsc/public/images/manage-bsc-enterprises.gif

2.05 KB

plugins/bsc/public/images/manage-bsc-enterprises.png

3.84 KB

plugins/bsc/public/images/manage-bsc-enterprises.svg
... ... @@ -1,1309 +0,0 @@
1   -<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2   -<svg
3   - xmlns:dc="http://purl.org/dc/elements/1.1/"
4   - xmlns:cc="http://creativecommons.org/ns#"
5   - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
6   - xmlns:svg="http://www.w3.org/2000/svg"
7   - xmlns="http://www.w3.org/2000/svg"
8   - xmlns:xlink="http://www.w3.org/1999/xlink"
9   - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
10   - xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
11   - width="48"
12   - height="48"
13   - overflow="visible"
14   - enable-background="new 0 0 128 129.396"
15   - xml:space="preserve"
16   - id="svg2"
17   - sodipodi:version="0.32"
18   - inkscape:version="0.47 r22583"
19   - sodipodi:docname="BSC.svg"
20   - version="1.0"
21   - inkscape:export-filename="/home/tigert/My Downloads/go-home.png"
22   - inkscape:export-xdpi="90.000000"
23   - inkscape:export-ydpi="90.000000"><metadata
24   - id="metadata367"><rdf:RDF><cc:Work
25   - rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
26   - rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><cc:license
27   - rdf:resource="http://creativecommons.org/licenses/by-sa/2.0/" /><dc:title /><dc:creator><cc:Agent><dc:title>Jakub Steiner</dc:title></cc:Agent></dc:creator><dc:source>http://jimmac.musichall.cz</dc:source><dc:subject><rdf:Bag><rdf:li>home</rdf:li><rdf:li>return</rdf:li><rdf:li>go</rdf:li><rdf:li>default</rdf:li><rdf:li>user</rdf:li><rdf:li>directory</rdf:li></rdf:Bag></dc:subject><dc:contributor><cc:Agent><dc:title>Tuomas Kuosmanen</dc:title></cc:Agent></dc:contributor></cc:Work><cc:License
28   - rdf:about="http://creativecommons.org/licenses/by-sa/2.0/"><cc:permits
29   - rdf:resource="http://web.resource.org/cc/Reproduction" /><cc:permits
30   - rdf:resource="http://web.resource.org/cc/Distribution" /><cc:requires
31   - rdf:resource="http://web.resource.org/cc/Notice" /><cc:requires
32   - rdf:resource="http://web.resource.org/cc/Attribution" /><cc:permits
33   - rdf:resource="http://web.resource.org/cc/DerivativeWorks" /><cc:requires
34   - rdf:resource="http://web.resource.org/cc/ShareAlike" /></cc:License></rdf:RDF></metadata><defs
35   - id="defs365"><linearGradient
36   - inkscape:collect="always"
37   - id="linearGradient3177"><stop
38   - style="stop-color:#729fcf;stop-opacity:1"
39   - offset="0"
40   - id="stop3179" /><stop
41   - style="stop-color:#204a87;stop-opacity:1"
42   - offset="1"
43   - id="stop3181" /></linearGradient><linearGradient
44   - id="linearGradient3171"><stop
45   - id="stop3173"
46   - offset="0"
47   - style="stop-color:#d3d7cf;stop-opacity:1" /><stop
48   - id="stop3175"
49   - offset="1"
50   - style="stop-color:#888a85;stop-opacity:1" /></linearGradient><linearGradient
51   - inkscape:collect="always"
52   - id="linearGradient5161"><stop
53   - style="stop-color:#c17d11;stop-opacity:1;"
54   - offset="0"
55   - id="stop5163" /><stop
56   - style="stop-color:#8f5902;stop-opacity:1"
57   - offset="1"
58   - id="stop5165" /></linearGradient><linearGradient
59   - inkscape:collect="always"
60   - id="linearGradient3771"><stop
61   - style="stop-color:#ffffff;stop-opacity:1;"
62   - offset="0"
63   - id="stop3773" /><stop
64   - style="stop-color:#ffffff;stop-opacity:0;"
65   - offset="1"
66   - id="stop3775" /></linearGradient><linearGradient
67   - gradientTransform="matrix(0.314683,0.000000,0.000000,0.314683,4.128264,3.742874)"
68   - y2="59.7995"
69   - x2="48.046001"
70   - y1="117.5205"
71   - x1="80.223602"
72   - gradientUnits="userSpaceOnUse"
73   - id="linearGradient3736">
74   - <stop
75   - id="stop3738"
76   - style="stop-color:#CCCCCC"
77   - offset="0" />
78   - <stop
79   - id="stop3740"
80   - style="stop-color:#FFFFFF"
81   - offset="0.81071424" />
82   - <midPointStop
83   - id="midPointStop3742"
84   - style="stop-color:#CCCCCC"
85   - offset="0" />
86   - <midPointStop
87   - id="midPointStop3744"
88   - style="stop-color:#CCCCCC"
89   - offset="0.5" />
90   - <midPointStop
91   - id="midPointStop3746"
92   - style="stop-color:#FFFFFF"
93   - offset="0.9831" />
94   - </linearGradient><inkscape:perspective
95   - sodipodi:type="inkscape:persp3d"
96   - inkscape:vp_x="0 : 24 : 1"
97   - inkscape:vp_y="0 : 1000 : 0"
98   - inkscape:vp_z="48 : 24 : 1"
99   - inkscape:persp3d-origin="24 : 16 : 1"
100   - id="perspective92" /><linearGradient
101   - inkscape:collect="always"
102   - id="linearGradient5060"><stop
103   - style="stop-color:black;stop-opacity:1;"
104   - offset="0"
105   - id="stop5062" /><stop
106   - style="stop-color:black;stop-opacity:0;"
107   - offset="1"
108   - id="stop5064" /></linearGradient><linearGradient
109   - id="linearGradient5048"><stop
110   - style="stop-color:black;stop-opacity:0;"
111   - offset="0"
112   - id="stop5050" /><stop
113   - id="stop5056"
114   - offset="0.5"
115   - style="stop-color:black;stop-opacity:1;" /><stop
116   - style="stop-color:black;stop-opacity:0;"
117   - offset="1"
118   - id="stop5052" /></linearGradient><linearGradient
119   - id="linearGradient2406"><stop
120   - style="stop-color:#7c7e79;stop-opacity:1;"
121   - offset="0"
122   - id="stop2408" /><stop
123   - id="stop2414"
124   - offset="0.1724138"
125   - style="stop-color:#848681;stop-opacity:1;" /><stop
126   - style="stop-color:#898c86;stop-opacity:1;"
127   - offset="1"
128   - id="stop2410" /></linearGradient><linearGradient
129   - inkscape:collect="always"
130   - id="linearGradient2390"><stop
131   - style="stop-color:#919191;stop-opacity:1;"
132   - offset="0"
133   - id="stop2392" /><stop
134   - style="stop-color:#919191;stop-opacity:0;"
135   - offset="1"
136   - id="stop2394" /></linearGradient><linearGradient
137   - inkscape:collect="always"
138   - id="linearGradient2378"><stop
139   - style="stop-color:#575757;stop-opacity:1;"
140   - offset="0"
141   - id="stop2380" /><stop
142   - style="stop-color:#575757;stop-opacity:0;"
143   - offset="1"
144   - id="stop2382" /></linearGradient><linearGradient
145   - inkscape:collect="always"
146   - id="linearGradient2368"><stop
147   - style="stop-color:#ffffff;stop-opacity:1;"
148   - offset="0"
149   - id="stop2370" /><stop
150   - style="stop-color:#ffffff;stop-opacity:0;"
151   - offset="1"
152   - id="stop2372" /></linearGradient><linearGradient
153   - inkscape:collect="always"
154   - id="linearGradient2349"><stop
155   - style="stop-color:#000000;stop-opacity:1;"
156   - offset="0"
157   - id="stop2351" /><stop
158   - style="stop-color:#000000;stop-opacity:0;"
159   - offset="1"
160   - id="stop2353" /></linearGradient><linearGradient
161   - id="linearGradient2341"><stop
162   - id="stop2343"
163   - offset="0"
164   - style="stop-color:#000000;stop-opacity:1;" /><stop
165   - id="stop2345"
166   - offset="1"
167   - style="stop-color:#000000;stop-opacity:0;" /></linearGradient><linearGradient
168   - id="linearGradient2329"><stop
169   - style="stop-color:#000000;stop-opacity:0.18556701;"
170   - offset="0"
171   - id="stop2331" /><stop
172   - style="stop-color:#ffffff;stop-opacity:1;"
173   - offset="1"
174   - id="stop2333" /></linearGradient><linearGradient
175   - inkscape:collect="always"
176   - id="linearGradient2319"><stop
177   - style="stop-color:#000000;stop-opacity:1;"
178   - offset="0"
179   - id="stop2321" /><stop
180   - style="stop-color:#000000;stop-opacity:0;"
181   - offset="1"
182   - id="stop2323" /></linearGradient><linearGradient
183   - id="linearGradient2307"><stop
184   - style="stop-color:#edd400;stop-opacity:1;"
185   - offset="0"
186   - id="stop2309" /><stop
187   - style="stop-color:#998800;stop-opacity:1;"
188   - offset="1"
189   - id="stop2311" /></linearGradient><linearGradient
190   - inkscape:collect="always"
191   - id="linearGradient2299"><stop
192   - style="stop-color:#ffffff;stop-opacity:1;"
193   - offset="0"
194   - id="stop2301" /><stop
195   - style="stop-color:#ffffff;stop-opacity:0;"
196   - offset="1"
197   - id="stop2303" /></linearGradient><linearGradient
198   - id="XMLID_2_"
199   - gradientUnits="userSpaceOnUse"
200   - x1="80.223602"
201   - y1="117.5205"
202   - x2="48.046001"
203   - y2="59.7995"
204   - gradientTransform="matrix(0.314683,0.000000,0.000000,0.314683,4.128264,3.742874)">
205   - <stop
206   - offset="0"
207   - style="stop-color:#CCCCCC"
208   - id="stop17" />
209   - <stop
210   - offset="0.9831"
211   - style="stop-color:#FFFFFF"
212   - id="stop19" />
213   - <midPointStop
214   - offset="0"
215   - style="stop-color:#CCCCCC"
216   - id="midPointStop48" />
217   - <midPointStop
218   - offset="0.5"
219   - style="stop-color:#CCCCCC"
220   - id="midPointStop50" />
221   - <midPointStop
222   - offset="0.9831"
223   - style="stop-color:#FFFFFF"
224   - id="midPointStop52" />
225   - </linearGradient><linearGradient
226   - id="XMLID_39_"
227   - gradientUnits="userSpaceOnUse"
228   - x1="64.387703"
229   - y1="65.124001"
230   - x2="64.387703"
231   - y2="35.569"
232   - gradientTransform="matrix(0.354101,0.000000,0.000000,0.354101,1.638679,-8.364921e-2)">
233   - <stop
234   - offset="0"
235   - style="stop-color:#FFFFFF"
236   - id="stop336" />
237   - <stop
238   - offset="0.8539"
239   - style="stop-color:#FF6200"
240   - id="stop338" />
241   - <stop
242   - offset="1"
243   - style="stop-color:#F25D00"
244   - id="stop340" />
245   - <midPointStop
246   - offset="0"
247   - style="stop-color:#FFFFFF"
248   - id="midPointStop335" />
249   - <midPointStop
250   - offset="0.5"
251   - style="stop-color:#FFFFFF"
252   - id="midPointStop337" />
253   - <midPointStop
254   - offset="0.8539"
255   - style="stop-color:#FF6200"
256   - id="midPointStop339" />
257   - <midPointStop
258   - offset="0.5"
259   - style="stop-color:#FF6200"
260   - id="midPointStop341" />
261   - <midPointStop
262   - offset="1"
263   - style="stop-color:#F25D00"
264   - id="midPointStop343" />
265   - </linearGradient><radialGradient
266   - inkscape:collect="always"
267   - xlink:href="#linearGradient2307"
268   - id="radialGradient2313"
269   - cx="19.985598"
270   - cy="36.77816"
271   - fx="19.985598"
272   - fy="36.77816"
273   - r="1.0821035"
274   - gradientTransform="matrix(1.125263,0,0,0.982744,-4.428678,0.565787)"
275   - gradientUnits="userSpaceOnUse" /><radialGradient
276   - inkscape:collect="always"
277   - xlink:href="#linearGradient2319"
278   - id="radialGradient2325"
279   - cx="20.443665"
280   - cy="37.425829"
281   - fx="20.443665"
282   - fy="37.425829"
283   - r="1.0821035"
284   - gradientTransform="matrix(1.125263,0,0,0.982744,-4.428678,0.731106)"
285   - gradientUnits="userSpaceOnUse" /><radialGradient
286   - inkscape:collect="always"
287   - xlink:href="#linearGradient2349"
288   - id="radialGradient2355"
289   - cx="24.023088"
290   - cy="40.56913"
291   - fx="24.023088"
292   - fy="40.56913"
293   - r="16.28684"
294   - gradientTransform="matrix(1.000000,0.000000,0.000000,0.431250,1.157278e-15,23.07369)"
295   - gradientUnits="userSpaceOnUse" /><linearGradient
296   - inkscape:collect="always"
297   - xlink:href="#linearGradient2390"
298   - id="linearGradient2396"
299   - x1="30.603519"
300   - y1="37.337803"
301   - x2="30.603519"
302   - y2="36.112415"
303   - gradientUnits="userSpaceOnUse"
304   - gradientTransform="matrix(1.263867,0,0,0.859794,-6.499556,8.390924)" /><linearGradient
305   - inkscape:collect="always"
306   - xlink:href="#linearGradient5048"
307   - id="linearGradient3710"
308   - gradientUnits="userSpaceOnUse"
309   - gradientTransform="matrix(2.774389,0,0,1.969706,-1892.179,-872.8854)"
310   - x1="302.85715"
311   - y1="366.64789"
312   - x2="302.85715"
313   - y2="609.50507" /><radialGradient
314   - inkscape:collect="always"
315   - xlink:href="#linearGradient5060"
316   - id="radialGradient3712"
317   - gradientUnits="userSpaceOnUse"
318   - gradientTransform="matrix(2.774389,0,0,1.969706,-1891.633,-872.8854)"
319   - cx="605.71429"
320   - cy="486.64789"
321   - fx="605.71429"
322   - fy="486.64789"
323   - r="117.14286" /><radialGradient
324   - inkscape:collect="always"
325   - xlink:href="#linearGradient5060"
326   - id="radialGradient3714"
327   - gradientUnits="userSpaceOnUse"
328   - gradientTransform="matrix(-2.774389,0,0,1.969706,112.7623,-872.8854)"
329   - cx="605.71429"
330   - cy="486.64789"
331   - fx="605.71429"
332   - fy="486.64789"
333   - r="117.14286" /><linearGradient
334   - inkscape:collect="always"
335   - xlink:href="#XMLID_2_"
336   - id="linearGradient3716"
337   - gradientUnits="userSpaceOnUse"
338   - gradientTransform="matrix(0.336922,0,0,0.166888,-42.01712,15.46151)"
339   - x1="52.006104"
340   - y1="166.1331"
341   - x2="14.049017"
342   - y2="-42.218513" /><linearGradient
343   - inkscape:collect="always"
344   - xlink:href="#linearGradient2329"
345   - id="linearGradient3718"
346   - gradientUnits="userSpaceOnUse"
347   - gradientTransform="matrix(0.898789,0,0,1.071914,-59.521975,-2.080838)"
348   - x1="17.602522"
349   - y1="26.057423"
350   - x2="17.682528"
351   - y2="32.654099" /><radialGradient
352   - inkscape:collect="always"
353   - xlink:href="#linearGradient2378"
354   - id="radialGradient3720"
355   - gradientUnits="userSpaceOnUse"
356   - gradientTransform="matrix(1.125263,-3.585417e-8,4.269819e-8,1.340059,-63.006704,1.355395)"
357   - cx="24.195112"
358   - cy="10.577631"
359   - fx="24.195112"
360   - fy="10.577631"
361   - r="15.242914" /><linearGradient
362   - inkscape:collect="always"
363   - xlink:href="#linearGradient2406"
364   - id="linearGradient3722"
365   - gradientUnits="userSpaceOnUse"
366   - gradientTransform="matrix(0.888785,0,0,1.08932,-57.58901,-1.524336)"
367   - x1="17.850183"
368   - y1="28.939463"
369   - x2="19.040216"
370   - y2="41.03223" /><radialGradient
371   - inkscape:collect="always"
372   - xlink:href="#linearGradient2319"
373   - id="radialGradient3724"
374   - gradientUnits="userSpaceOnUse"
375   - gradientTransform="matrix(1.125263,0,0,0.982744,-63.428678,0.731106)"
376   - cx="20.443665"
377   - cy="37.425829"
378   - fx="20.443665"
379   - fy="37.425829"
380   - r="1.0821035" /><radialGradient
381   - inkscape:collect="always"
382   - xlink:href="#linearGradient2307"
383   - id="radialGradient3726"
384   - gradientUnits="userSpaceOnUse"
385   - gradientTransform="matrix(1.125263,0,0,0.982744,-63.428678,0.565787)"
386   - cx="19.985598"
387   - cy="36.77816"
388   - fx="19.985598"
389   - fy="36.77816"
390   - r="1.0821035" /><linearGradient
391   - inkscape:collect="always"
392   - xlink:href="#XMLID_39_"
393   - id="linearGradient3728"
394   - gradientUnits="userSpaceOnUse"
395   - gradientTransform="matrix(0.354101,0,0,0.354101,-58.361321,-0.08364921)"
396   - x1="64.387703"
397   - y1="65.124001"
398   - x2="64.387703"
399   - y2="35.569" /><radialGradient
400   - inkscape:collect="always"
401   - xlink:href="#linearGradient2299"
402   - id="radialGradient3730"
403   - gradientUnits="userSpaceOnUse"
404   - gradientTransform="matrix(4.100086,0,0,4.201322,-85.41506,-78.53967)"
405   - cx="7.5326638"
406   - cy="24.202574"
407   - fx="7.5326638"
408   - fy="24.202574"
409   - r="8.2452128" /><radialGradient
410   - inkscape:collect="always"
411   - xlink:href="#linearGradient2341"
412   - id="radialGradient3732"
413   - gradientUnits="userSpaceOnUse"
414   - gradientTransform="matrix(4.100086,0,0,-4.201322,-65.198109,105.3535)"
415   - cx="11.68129"
416   - cy="19.554111"
417   - fx="11.68129"
418   - fy="19.554111"
419   - r="8.2452126" /><radialGradient
420   - inkscape:collect="always"
421   - xlink:href="#linearGradient2368"
422   - id="radialGradient3734"
423   - gradientUnits="userSpaceOnUse"
424   - gradientTransform="matrix(3.751495,0,0,3.147818,-142.00907,-65.70704)"
425   - cx="29.913452"
426   - cy="30.442923"
427   - fx="29.913452"
428   - fy="30.442923"
429   - r="4.0018832" /><linearGradient
430   - inkscape:collect="always"
431   - xlink:href="#linearGradient3736"
432   - id="linearGradient4355"
433   - gradientUnits="userSpaceOnUse"
434   - gradientTransform="matrix(0.336922,0.000000,0.000000,0.166888,17.98288,15.46151)"
435   - x1="49.023571"
436   - y1="173.99986"
437   - x2="19.343113"
438   - y2="-5.7614088" /><radialGradient
439   - inkscape:collect="always"
440   - xlink:href="#linearGradient2378"
441   - id="radialGradient4379"
442   - gradientUnits="userSpaceOnUse"
443   - gradientTransform="matrix(-2.7847815e-8,0.91845951,-1.1152723,-3.3815205e-8,39.60096,1.4161083)"
444   - cx="28.399611"
445   - cy="15.333439"
446   - fx="28.399611"
447   - fy="15.333439"
448   - r="15.242914" /><radialGradient
449   - inkscape:collect="always"
450   - xlink:href="#linearGradient2341"
451   - id="radialGradient4473"
452   - gradientUnits="userSpaceOnUse"
453   - gradientTransform="matrix(-2.0618025,-2.0407128e-7,-3.2411324e-7,3.2746279,61.522713,-37.078328)"
454   - cx="11.651313"
455   - cy="20.026194"
456   - fx="11.651313"
457   - fy="20.026194"
458   - r="8.2452126" /><radialGradient
459   - inkscape:collect="always"
460   - xlink:href="#linearGradient2299"
461   - id="radialGradient4657"
462   - gradientUnits="userSpaceOnUse"
463   - gradientTransform="matrix(3.39591,-4.6697806e-7,4.6697814e-7,3.3959105,-19.762019,-53.978222)"
464   - cx="8.027895"
465   - cy="24.287516"
466   - fx="8.027895"
467   - fy="24.287516"
468   - r="8.2452128" /><linearGradient
469   - inkscape:collect="always"
470   - xlink:href="#linearGradient2329"
471   - id="linearGradient4661"
472   - gradientUnits="userSpaceOnUse"
473   - gradientTransform="matrix(0.67409175,0,0,0.92339382,5.1085187,4.2256015)"
474   - x1="15.415529"
475   - y1="23.833527"
476   - x2="16.899008"
477   - y2="33.219193" /><linearGradient
478   - inkscape:collect="always"
479   - xlink:href="#linearGradient3771"
480   - id="linearGradient4665"
481   - gradientUnits="userSpaceOnUse"
482   - gradientTransform="translate(-1,1)"
483   - x1="26.5"
484   - y1="36.5"
485   - x2="24.5"
486   - y2="28.5" /><radialGradient
487   - inkscape:collect="always"
488   - xlink:href="#linearGradient2368"
489   - id="radialGradient4669"
490   - gradientUnits="userSpaceOnUse"
491   - gradientTransform="matrix(0.11004748,1.8133708,-1.8164852,0.18222563,79.460078,-26.062392)"
492   - cx="29.913452"
493   - cy="30.442923"
494   - fx="29.913452"
495   - fy="30.442923"
496   - r="4.0018832" /><radialGradient
497   - inkscape:collect="always"
498   - xlink:href="#linearGradient5060"
499   - id="radialGradient4693"
500   - gradientUnits="userSpaceOnUse"
501   - gradientTransform="matrix(-2.6052648,0,0,1.9930785,128.02878,-872.62632)"
502   - cx="605.71429"
503   - cy="486.64789"
504   - fx="605.71429"
505   - fy="486.64789"
506   - r="117.14286" /><linearGradient
507   - inkscape:collect="always"
508   - xlink:href="#linearGradient5048"
509   - id="linearGradient4697"
510   - gradientUnits="userSpaceOnUse"
511   - gradientTransform="matrix(2.3780477,0,0,1.969706,-1808.0185,-845.99583)"
512   - x1="304.19855"
513   - y1="357.48697"
514   - x2="304.19855"
515   - y2="603.21515" /><radialGradient
516   - inkscape:collect="always"
517   - xlink:href="#linearGradient5060"
518   - id="radialGradient4701"
519   - gradientUnits="userSpaceOnUse"
520   - gradientTransform="matrix(2.6052656,0,0,1.9930785,-2039.1167,-872.62632)"
521   - cx="605.71429"
522   - cy="486.64789"
523   - fx="605.71429"
524   - fy="486.64789"
525   - r="117.14286" /><linearGradient
526   - inkscape:collect="always"
527   - xlink:href="#linearGradient5048"
528   - id="linearGradient4765"
529   - gradientUnits="userSpaceOnUse"
530   - gradientTransform="matrix(2.3780477,0,0,1.969706,-1808.0185,-845.99583)"
531   - x1="304.19855"
532   - y1="357.48697"
533   - x2="304.19855"
534   - y2="603.21515" /><radialGradient
535   - inkscape:collect="always"
536   - xlink:href="#linearGradient5060"
537   - id="radialGradient4767"
538   - gradientUnits="userSpaceOnUse"
539   - gradientTransform="matrix(2.6052656,0,0,1.9930785,-2039.1167,-872.62632)"
540   - cx="605.71429"
541   - cy="486.64789"
542   - fx="605.71429"
543   - fy="486.64789"
544   - r="117.14286" /><radialGradient
545   - inkscape:collect="always"
546   - xlink:href="#linearGradient5060"
547   - id="radialGradient4769"
548   - gradientUnits="userSpaceOnUse"
549   - gradientTransform="matrix(-2.6052648,0,0,1.9930785,128.02878,-872.62632)"
550   - cx="605.71429"
551   - cy="486.64789"
552   - fx="605.71429"
553   - fy="486.64789"
554   - r="117.14286" /><linearGradient
555   - inkscape:collect="always"
556   - xlink:href="#linearGradient3736"
557   - id="linearGradient4771"
558   - gradientUnits="userSpaceOnUse"
559   - gradientTransform="matrix(0.336922,0,0,0.166888,17.98288,15.46151)"
560   - x1="49.023571"
561   - y1="173.99986"
562   - x2="19.343113"
563   - y2="-5.7614088" /><linearGradient
564   - inkscape:collect="always"
565   - xlink:href="#linearGradient2329"
566   - id="linearGradient4773"
567   - gradientUnits="userSpaceOnUse"
568   - gradientTransform="matrix(0.67409175,0,0,0.92339382,5.1085187,4.2256015)"
569   - x1="15.415529"
570   - y1="23.833527"
571   - x2="16.899008"
572   - y2="33.219193" /><radialGradient
573   - inkscape:collect="always"
574   - xlink:href="#linearGradient2319"
575   - id="radialGradient4775"
576   - gradientUnits="userSpaceOnUse"
577   - gradientTransform="matrix(1.125263,0,0,0.982744,-4.428678,0.731106)"
578   - cx="20.443665"
579   - cy="37.425829"
580   - fx="20.443665"
581   - fy="37.425829"
582   - r="1.0821035" /><radialGradient
583   - inkscape:collect="always"
584   - xlink:href="#linearGradient2307"
585   - id="radialGradient4777"
586   - gradientUnits="userSpaceOnUse"
587   - gradientTransform="matrix(1.125263,0,0,0.982744,-4.428678,0.565787)"
588   - cx="19.985598"
589   - cy="36.77816"
590   - fx="19.985598"
591   - fy="36.77816"
592   - r="1.0821035" /><radialGradient
593   - inkscape:collect="always"
594   - xlink:href="#linearGradient2368"
595   - id="radialGradient4779"
596   - gradientUnits="userSpaceOnUse"
597   - gradientTransform="matrix(0.11004748,1.8133708,-1.8164852,0.18222563,79.460078,-26.062392)"
598   - cx="29.913452"
599   - cy="30.442923"
600   - fx="29.913452"
601   - fy="30.442923"
602   - r="4.0018832" /><linearGradient
603   - inkscape:collect="always"
604   - xlink:href="#linearGradient3771"
605   - id="linearGradient4781"
606   - gradientUnits="userSpaceOnUse"
607   - gradientTransform="translate(-1,1)"
608   - x1="26.5"
609   - y1="36.5"
610   - x2="24.5"
611   - y2="28.5" /><radialGradient
612   - inkscape:collect="always"
613   - xlink:href="#linearGradient2378"
614   - id="radialGradient4783"
615   - gradientUnits="userSpaceOnUse"
616   - gradientTransform="matrix(-2.7847815e-8,0.91845951,-1.1152723,-3.3815205e-8,39.60096,1.4161083)"
617   - cx="28.399611"
618   - cy="15.333439"
619   - fx="28.399611"
620   - fy="15.333439"
621   - r="15.242914" /><radialGradient
622   - inkscape:collect="always"
623   - xlink:href="#linearGradient2299"
624   - id="radialGradient4785"
625   - gradientUnits="userSpaceOnUse"
626   - gradientTransform="matrix(3.39591,-4.6697806e-7,4.6697814e-7,3.3959105,-19.762019,-53.978222)"
627   - cx="8.027895"
628   - cy="24.287516"
629   - fx="8.027895"
630   - fy="24.287516"
631   - r="8.2452128" /><radialGradient
632   - inkscape:collect="always"
633   - xlink:href="#linearGradient2341"
634   - id="radialGradient4787"
635   - gradientUnits="userSpaceOnUse"
636   - gradientTransform="matrix(-2.0618025,-2.0407128e-7,-3.2411324e-7,3.2746279,61.522713,-37.078328)"
637   - cx="11.651313"
638   - cy="20.026194"
639   - fx="11.651313"
640   - fy="20.026194"
641   - r="8.2452126" /><linearGradient
642   - inkscape:collect="always"
643   - xlink:href="#linearGradient5048"
644   - id="linearGradient5003"
645   - gradientUnits="userSpaceOnUse"
646   - gradientTransform="matrix(2.3780477,0,0,1.969706,-1808.0185,-845.99583)"
647   - x1="304.19855"
648   - y1="357.48697"
649   - x2="304.19855"
650   - y2="603.21515" /><radialGradient
651   - inkscape:collect="always"
652   - xlink:href="#linearGradient5060"
653   - id="radialGradient5005"
654   - gradientUnits="userSpaceOnUse"
655   - gradientTransform="matrix(2.6052656,0,0,1.9930785,-2039.1167,-872.62632)"
656   - cx="605.71429"
657   - cy="486.64789"
658   - fx="605.71429"
659   - fy="486.64789"
660   - r="117.14286" /><radialGradient
661   - inkscape:collect="always"
662   - xlink:href="#linearGradient5060"
663   - id="radialGradient5007"
664   - gradientUnits="userSpaceOnUse"
665   - gradientTransform="matrix(-2.6052648,0,0,1.9930785,128.02878,-872.62632)"
666   - cx="605.71429"
667   - cy="486.64789"
668   - fx="605.71429"
669   - fy="486.64789"
670   - r="117.14286" /><linearGradient
671   - inkscape:collect="always"
672   - xlink:href="#linearGradient3736"
673   - id="linearGradient5009"
674   - gradientUnits="userSpaceOnUse"
675   - gradientTransform="matrix(0.336922,0,0,0.166888,17.98288,15.46151)"
676   - x1="49.023571"
677   - y1="173.99986"
678   - x2="19.343113"
679   - y2="-5.7614088" /><linearGradient
680   - inkscape:collect="always"
681   - xlink:href="#linearGradient2329"
682   - id="linearGradient5011"
683   - gradientUnits="userSpaceOnUse"
684   - gradientTransform="matrix(0.67409175,0,0,0.92339382,5.1085187,4.2256015)"
685   - x1="15.415529"
686   - y1="23.833527"
687   - x2="16.899008"
688   - y2="33.219193" /><radialGradient
689   - inkscape:collect="always"
690   - xlink:href="#linearGradient2319"
691   - id="radialGradient5013"
692   - gradientUnits="userSpaceOnUse"
693   - gradientTransform="matrix(1.125263,0,0,0.982744,-4.428678,0.731106)"
694   - cx="20.443665"
695   - cy="37.425829"
696   - fx="20.443665"
697   - fy="37.425829"
698   - r="1.0821035" /><radialGradient
699   - inkscape:collect="always"
700   - xlink:href="#linearGradient2307"
701   - id="radialGradient5015"
702   - gradientUnits="userSpaceOnUse"
703   - gradientTransform="matrix(1.125263,0,0,0.982744,-4.428678,2.0807369)"
704   - cx="19.985598"
705   - cy="36.77816"
706   - fx="19.985598"
707   - fy="36.77816"
708   - r="1.0821035" /><radialGradient
709   - inkscape:collect="always"
710   - xlink:href="#linearGradient2368"
711   - id="radialGradient5017"
712   - gradientUnits="userSpaceOnUse"
713   - gradientTransform="matrix(0.11004748,1.8133708,-1.8164852,0.18222563,79.460078,-26.062392)"
714   - cx="29.913452"
715   - cy="30.442923"
716   - fx="29.913452"
717   - fy="30.442923"
718   - r="4.0018832" /><linearGradient
719   - inkscape:collect="always"
720   - xlink:href="#linearGradient3771"
721   - id="linearGradient5019"
722   - gradientUnits="userSpaceOnUse"
723   - gradientTransform="translate(-1,1)"
724   - x1="26.5"
725   - y1="36.5"
726   - x2="24.5"
727   - y2="28.5" /><radialGradient
728   - inkscape:collect="always"
729   - xlink:href="#linearGradient2378"
730   - id="radialGradient5021"
731   - gradientUnits="userSpaceOnUse"
732   - gradientTransform="matrix(-2.7847815e-8,0.91845951,-1.1152723,-3.3815205e-8,39.60096,1.4161083)"
733   - cx="28.399611"
734   - cy="15.333439"
735   - fx="28.399611"
736   - fy="15.333439"
737   - r="15.242914" /><radialGradient
738   - inkscape:collect="always"
739   - xlink:href="#linearGradient2299"
740   - id="radialGradient5023"
741   - gradientUnits="userSpaceOnUse"
742   - gradientTransform="matrix(3.39591,-4.6697806e-7,4.6697814e-7,3.3959105,-19.762019,-53.978222)"
743   - cx="8.027895"
744   - cy="24.287516"
745   - fx="8.027895"
746   - fy="24.287516"
747   - r="8.2452128" /><radialGradient
748   - inkscape:collect="always"
749   - xlink:href="#linearGradient2341"
750   - id="radialGradient5025"
751   - gradientUnits="userSpaceOnUse"
752   - gradientTransform="matrix(-2.0618025,-2.0407128e-7,-3.2411324e-7,3.2746279,61.522713,-37.078328)"
753   - cx="11.651313"
754   - cy="20.026194"
755   - fx="11.651313"
756   - fy="20.026194"
757   - r="8.2452126" /><linearGradient
758   - inkscape:collect="always"
759   - xlink:href="#linearGradient5048"
760   - id="linearGradient5077"
761   - gradientUnits="userSpaceOnUse"
762   - gradientTransform="matrix(2.1515669,0,0,1.969706,-1773.1654,-845.99583)"
763   - x1="304.19855"
764   - y1="357.48697"
765   - x2="304.19855"
766   - y2="603.21515" /><radialGradient
767   - inkscape:collect="always"
768   - xlink:href="#linearGradient5060"
769   - id="radialGradient5079"
770   - gradientUnits="userSpaceOnUse"
771   - gradientTransform="matrix(2.6052656,0,0,1.9930785,-2131.7867,-872.62632)"
772   - cx="605.71429"
773   - cy="486.64789"
774   - fx="605.71429"
775   - fy="486.64789"
776   - r="117.14286" /><radialGradient
777   - inkscape:collect="always"
778   - xlink:href="#linearGradient5060"
779   - id="radialGradient5081"
780   - gradientUnits="userSpaceOnUse"
781   - gradientTransform="matrix(-2.6052648,0,0,1.9930785,128.02878,-872.62632)"
782   - cx="605.71429"
783   - cy="486.64789"
784   - fx="605.71429"
785   - fy="486.64789"
786   - r="117.14286" /><linearGradient
787   - inkscape:collect="always"
788   - xlink:href="#linearGradient3736"
789   - id="linearGradient5083"
790   - gradientUnits="userSpaceOnUse"
791   - gradientTransform="matrix(0.336922,0,0,0.166888,17.98288,15.46151)"
792   - x1="49.023571"
793   - y1="173.99986"
794   - x2="19.343113"
795   - y2="-5.7614088" /><linearGradient
796   - inkscape:collect="always"
797   - xlink:href="#linearGradient2329"
798   - id="linearGradient5085"
799   - gradientUnits="userSpaceOnUse"
800   - gradientTransform="matrix(0.59919267,0,0,0.92339382,6.9853499,4.2256015)"
801   - x1="15.415529"
802   - y1="23.833527"
803   - x2="16.899008"
804   - y2="33.219193" /><radialGradient
805   - inkscape:collect="always"
806   - xlink:href="#linearGradient2319"
807   - id="radialGradient5087"
808   - gradientUnits="userSpaceOnUse"
809   - gradientTransform="matrix(1.125263,0,0,0.982744,-4.428678,0.731106)"
810   - cx="20.443665"
811   - cy="37.425829"
812   - fx="20.443665"
813   - fy="37.425829"
814   - r="1.0821035" /><radialGradient
815   - inkscape:collect="always"
816   - xlink:href="#linearGradient2368"
817   - id="radialGradient5091"
818   - gradientUnits="userSpaceOnUse"
819   - gradientTransform="matrix(0.11004748,1.8133708,-1.8164852,0.18222563,79.460078,-26.062392)"
820   - cx="29.913452"
821   - cy="30.442923"
822   - fx="29.913452"
823   - fy="30.442923"
824   - r="4.0018832" /><linearGradient
825   - inkscape:collect="always"
826   - xlink:href="#linearGradient3771"
827   - id="linearGradient5093"
828   - gradientUnits="userSpaceOnUse"
829   - gradientTransform="translate(-1,1)"
830   - x1="26.5"
831   - y1="36.5"
832   - x2="24.5"
833   - y2="28.5" /><radialGradient
834   - inkscape:collect="always"
835   - xlink:href="#linearGradient2378"
836   - id="radialGradient5095"
837   - gradientUnits="userSpaceOnUse"
838   - gradientTransform="matrix(-2.7847815e-8,0.91845951,-1.1152723,-3.3815205e-8,39.60096,1.4161083)"
839   - cx="29.48839"
840   - cy="15.333439"
841   - fx="29.48839"
842   - fy="15.333439"
843   - r="15.242914" /><radialGradient
844   - inkscape:collect="always"
845   - xlink:href="#linearGradient2299"
846   - id="radialGradient5097"
847   - gradientUnits="userSpaceOnUse"
848   - gradientTransform="matrix(3.39591,-4.6697806e-7,4.6697814e-7,3.3959105,-19.762019,-52.978222)"
849   - cx="8.027895"
850   - cy="24.287516"
851   - fx="8.027895"
852   - fy="24.287516"
853   - r="8.2452128" /><radialGradient
854   - inkscape:collect="always"
855   - xlink:href="#linearGradient2341"
856   - id="radialGradient5099"
857   - gradientUnits="userSpaceOnUse"
858   - gradientTransform="matrix(-2.0618025,-2.0407128e-7,-3.2411324e-7,3.2746279,61.522713,-36.078328)"
859   - cx="11.651313"
860   - cy="20.026194"
861   - fx="11.651313"
862   - fy="20.026194"
863   - r="8.2452126" /><linearGradient
864   - inkscape:collect="always"
865   - xlink:href="#linearGradient3177"
866   - id="linearGradient3259"
867   - gradientUnits="userSpaceOnUse"
868   - x1="25.621262"
869   - y1="33.817276"
870   - x2="28.5"
871   - y2="36.5" /><linearGradient
872   - inkscape:collect="always"
873   - xlink:href="#linearGradient5048"
874   - id="linearGradient3297"
875   - gradientUnits="userSpaceOnUse"
876   - gradientTransform="matrix(2.1515669,0,0,1.969706,-1773.1654,-845.99583)"
877   - x1="304.19855"
878   - y1="357.48697"
879   - x2="304.19855"
880   - y2="603.21515" /><radialGradient
881   - inkscape:collect="always"
882   - xlink:href="#linearGradient5060"
883   - id="radialGradient3299"
884   - gradientUnits="userSpaceOnUse"
885   - gradientTransform="matrix(2.6052656,0,0,1.9930785,-2131.7867,-872.62632)"
886   - cx="605.71429"
887   - cy="486.64789"
888   - fx="605.71429"
889   - fy="486.64789"
890   - r="117.14286" /><radialGradient
891   - inkscape:collect="always"
892   - xlink:href="#linearGradient5060"
893   - id="radialGradient3301"
894   - gradientUnits="userSpaceOnUse"
895   - gradientTransform="matrix(-2.6052648,0,0,1.9930785,128.02878,-872.62632)"
896   - cx="605.71429"
897   - cy="486.64789"
898   - fx="605.71429"
899   - fy="486.64789"
900   - r="117.14286" /><linearGradient
901   - inkscape:collect="always"
902   - xlink:href="#linearGradient3736"
903   - id="linearGradient3303"
904   - gradientUnits="userSpaceOnUse"
905   - gradientTransform="matrix(0.336922,0,0,0.166888,17.98288,15.46151)"
906   - x1="49.023571"
907   - y1="173.99986"
908   - x2="19.343113"
909   - y2="-5.7614088" /><linearGradient
910   - inkscape:collect="always"
911   - xlink:href="#linearGradient2329"
912   - id="linearGradient3305"
913   - gradientUnits="userSpaceOnUse"
914   - gradientTransform="matrix(0.59919267,0,0,0.92339382,6.9853499,4.2256015)"
915   - x1="15.415529"
916   - y1="23.833527"
917   - x2="16.899008"
918   - y2="33.219193" /><radialGradient
919   - inkscape:collect="always"
920   - xlink:href="#linearGradient2319"
921   - id="radialGradient3307"
922   - gradientUnits="userSpaceOnUse"
923   - gradientTransform="matrix(1.125263,0,0,0.982744,-4.428678,0.731106)"
924   - cx="20.443665"
925   - cy="37.425829"
926   - fx="20.443665"
927   - fy="37.425829"
928   - r="1.0821035" /><linearGradient
929   - inkscape:collect="always"
930   - xlink:href="#linearGradient5161"
931   - id="linearGradient3309"
932   - gradientUnits="userSpaceOnUse"
933   - x1="17.5"
934   - y1="35.5"
935   - x2="20.5"
936   - y2="39.5" /><radialGradient
937   - inkscape:collect="always"
938   - xlink:href="#linearGradient3171"
939   - id="radialGradient3311"
940   - gradientUnits="userSpaceOnUse"
941   - gradientTransform="matrix(1.125263,0,0,0.982744,-4.3489438,1.0441923)"
942   - cx="19.985598"
943   - cy="36.77816"
944   - fx="19.985598"
945   - fy="36.77816"
946   - r="1.0821035" /><linearGradient
947   - inkscape:collect="always"
948   - xlink:href="#linearGradient3771"
949   - id="linearGradient3315"
950   - gradientUnits="userSpaceOnUse"
951   - gradientTransform="translate(-1,1)"
952   - x1="26.5"
953   - y1="36.5"
954   - x2="24.5"
955   - y2="28.5" /><radialGradient
956   - inkscape:collect="always"
957   - xlink:href="#linearGradient2378"
958   - id="radialGradient3317"
959   - gradientUnits="userSpaceOnUse"
960   - gradientTransform="matrix(-2.7847815e-8,0.91845951,-1.1152723,-3.3815205e-8,39.60096,1.4161083)"
961   - cx="29.48839"
962   - cy="15.333439"
963   - fx="29.48839"
964   - fy="15.333439"
965   - r="15.242914" /><radialGradient
966   - inkscape:collect="always"
967   - xlink:href="#linearGradient2299"
968   - id="radialGradient3319"
969   - gradientUnits="userSpaceOnUse"
970   - gradientTransform="matrix(3.39591,-4.6697806e-7,4.6697814e-7,3.3959105,-19.762019,-52.978222)"
971   - cx="8.027895"
972   - cy="24.287516"
973   - fx="8.027895"
974   - fy="24.287516"
975   - r="8.2452128" /><radialGradient
976   - inkscape:collect="always"
977   - xlink:href="#linearGradient2341"
978   - id="radialGradient3321"
979   - gradientUnits="userSpaceOnUse"
980   - gradientTransform="matrix(-2.0618025,-2.0407128e-7,-3.2411324e-7,3.2746279,61.522713,-36.078328)"
981   - cx="11.651313"
982   - cy="20.026194"
983   - fx="11.651313"
984   - fy="20.026194"
985   - r="8.2452126" /><inkscape:perspective
986   - id="perspective3331"
987   - inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
988   - inkscape:vp_z="1 : 0.5 : 1"
989   - inkscape:vp_y="0 : 1000 : 0"
990   - inkscape:vp_x="0 : 0.5 : 1"
991   - sodipodi:type="inkscape:persp3d" /><radialGradient
992   - inkscape:collect="always"
993   - xlink:href="#linearGradient2368-5"
994   - id="radialGradient5017-4"
995   - gradientUnits="userSpaceOnUse"
996   - gradientTransform="matrix(0.11004748,1.8133708,-1.8164852,0.18222563,79.460078,-26.062392)"
997   - cx="29.913452"
998   - cy="30.442923"
999   - fx="29.913452"
1000   - fy="30.442923"
1001   - r="4.001883" /><linearGradient
1002   - inkscape:collect="always"
1003   - id="linearGradient2368-5"><stop
1004   - style="stop-color:#ffffff;stop-opacity:1;"
1005   - offset="0"
1006   - id="stop2370-2" /><stop
1007   - style="stop-color:#ffffff;stop-opacity:0;"
1008   - offset="1"
1009   - id="stop2372-0" /></linearGradient><radialGradient
1010   - r="4.001883"
1011   - fy="30.442923"
1012   - fx="29.913452"
1013   - cy="30.442923"
1014   - cx="29.913452"
1015   - gradientTransform="matrix(0.11004748,1.8133708,-1.8164852,0.18222563,79.460083,-26.062392)"
1016   - gradientUnits="userSpaceOnUse"
1017   - id="radialGradient3340"
1018   - xlink:href="#linearGradient2368-5"
1019   - inkscape:collect="always" /><inkscape:perspective
1020   - id="perspective4157"
1021   - inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
1022   - inkscape:vp_z="1 : 0.5 : 1"
1023   - inkscape:vp_y="0 : 1000 : 0"
1024   - inkscape:vp_x="0 : 0.5 : 1"
1025   - sodipodi:type="inkscape:persp3d" /><radialGradient
1026   - inkscape:collect="always"
1027   - xlink:href="#linearGradient2307-6"
1028   - id="radialGradient5015-8"
1029   - gradientUnits="userSpaceOnUse"
1030   - gradientTransform="matrix(1.125263,0,0,0.982744,-4.428678,2.0807369)"
1031   - cx="20.09285"
1032   - cy="35.716652"
1033   - fx="20.09285"
1034   - fy="35.716652"
1035   - r="1.0821035" /><linearGradient
1036   - id="linearGradient2307-6"><stop
1037   - style="stop-color:#edd400;stop-opacity:1;"
1038   - offset="0"
1039   - id="stop2309-3" /><stop
1040   - style="stop-color:#998800;stop-opacity:1;"
1041   - offset="1"
1042   - id="stop2311-5" /></linearGradient><radialGradient
1043   - r="1.0821035"
1044   - fy="36.77816"
1045   - fx="19.985598"
1046   - cy="36.77816"
1047   - cx="19.985598"
1048   - gradientTransform="matrix(1.125263,0,0,0.982744,-21.672305,-35.366438)"
1049   - gradientUnits="userSpaceOnUse"
1050   - id="radialGradient4166"
1051   - xlink:href="#linearGradient2307-6"
1052   - inkscape:collect="always" /></defs><sodipodi:namedview
1053   - inkscape:cy="24"
1054   - inkscape:cx="24"
1055   - inkscape:zoom="12.541667"
1056   - inkscape:window-height="827"
1057   - inkscape:window-width="1440"
1058   - inkscape:pageshadow="2"
1059   - inkscape:pageopacity="0.0"
1060   - borderopacity="0.21568627"
1061   - bordercolor="#666666"
1062   - pagecolor="#ffffff"
1063   - id="base"
1064   - inkscape:showpageshadow="false"
1065   - inkscape:window-x="0"
1066   - inkscape:window-y="25"
1067   - inkscape:current-layer="svg2"
1068   - fill="#555753"
1069   - showgrid="true"
1070   - stroke="#a40000"
1071   - showguides="true"
1072   - inkscape:guide-bbox="true"
1073   - inkscape:snap-grids="true"
1074   - inkscape:window-maximized="1"><inkscape:grid
1075   - type="xygrid"
1076   - id="grid3670"
1077   - empspacing="5"
1078   - visible="true"
1079   - enabled="true"
1080   - snapvisiblegridlinesonly="true"
1081   - originx="0.5px"
1082   - originy="0.5px" /></sodipodi:namedview>
1083   -
1084   -<g
1085   - transform="translate(15,-6)"
1086   - id="use5027"><g
1087   - transform="matrix(0.02158196,0,0,0.01859457,39.12251,27.63767)"
1088   - id="g3263"
1089   - style="display:inline"><rect
1090   - style="opacity:0.40206185;color:#000000;fill:url(#linearGradient3297);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible"
1091   - id="rect3265"
1092   - width="880.36487"
1093   - height="484.0123"
1094   - x="-1442.0613"
1095   - y="-141.85165" /><path
1096   - style="opacity:0.40206185;color:#000000;fill:url(#radialGradient3299);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible"
1097   - d="m -561.69644,-141.85163 c 0,0 0,484.00662 0,484.00662 134.16473,0.91119 324.34504,-108.44127 324.34497,-242.03439 0,-133.593226 -149.71775,-241.97221 -324.34497,-241.97223 z"
1098   - id="path3267"
1099   - sodipodi:nodetypes="cccc" /><path
1100   - sodipodi:nodetypes="cccc"
1101   - id="path3269"
1102   - d="m -1442.0613,-141.85163 c 0,0 0,484.00662 0,484.00662 -134.1648,0.91119 -324.345,-108.44127 -324.345,-242.03439 0,-133.593226 149.7177,-241.97221 324.345,-241.97223 z"
1103   - style="opacity:0.40206185;color:#000000;fill:url(#radialGradient3301);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible" /></g><g
1104   - id="g3271"
1105   - transform="translate(-5.9999999,-13)"><path
1106   - style="color:#000000;fill:url(#linearGradient3303);fill-opacity:1;fill-rule:nonzero;stroke:#757575;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible"
1107   - d="m 35.5,26.5 0,16 c 0,0.905333 -0.160268,1 -1,1 l -22,0 c -0.839733,0 -1,-0.09467 -1,-1 l 0,-16 24,0 z"
1108   - id="path3273"
1109   - sodipodi:nodetypes="ccccccc" /><path
1110   - sodipodi:nodetypes="ccccc"
1111   - id="path3277"
1112   - d="m 34.5,26.5 0,16 -22,0 0,-16 22,0 z"
1113   - style="opacity:0.35;color:#000000;fill:none;stroke:#ffffff;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible" /><rect
1114   - style="color:#000000;fill:#3465a4;fill-opacity:1;fill-rule:nonzero;stroke:#757575;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible"
1115   - id="rect3285"
1116   - width="7"
1117   - height="6"
1118   - x="24.5"
1119   - y="32.5" /><rect
1120   - y="31.5"
1121   - x="23.5"
1122   - height="8"
1123   - width="9"
1124   - id="rect3287"
1125   - style="opacity:0.5;color:#000000;fill:none;stroke:url(#linearGradient3315);stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible"
1126   - ry="1"
1127   - rx="1" /><path
1128   - clip-rule="evenodd"
1129   - d="m 12.5,31.5 0,5 13,-6 9,5 0,-4 -10,-7 -12,7 z"
1130   - id="path3289"
1131   - style="opacity:0.20000000000000001;fill:url(#radialGradient3317);fill-opacity:1;fill-rule:evenodd"
1132   - sodipodi:nodetypes="ccccccc" /><path
1133   - style="fill:#ef2929;stroke:#a40000;stroke-linecap:round;stroke-linejoin:round"
1134   - id="path3291"
1135   - d="m 8.4999999,27.5 -1e-7,5 1.5,2 14.5000002,-7 12.5,7 1.5,-2 0,-5 -14,-8 -16.0000001,8 z"
1136   - sodipodi:nodetypes="ccccccccc" /><path
1137   - style="opacity:0.40909089;color:#000000;fill:url(#radialGradient3319);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible"
1138   - d="m 9.0215946,27.818937 -10e-8,4 L 24.5,24.5 l 0,-4.318937 -15.4784054,7.637874 z"
1139   - id="path3293"
1140   - sodipodi:nodetypes="ccccc" /><path
1141   - sodipodi:nodetypes="ccccc"
1142   - id="path3295"
1143   - d="m 24.5,24.5 0,-4.318937 13.478405,7.637874 0,4 L 24.5,24.5 z"
1144   - style="opacity:0.13636367;color:#000000;fill:url(#radialGradient3321);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible" /><path
1145   - style="opacity:0.39772728;color:#000000;fill:url(#radialGradient3340);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.99999958;marker:none;visibility:visible;display:inline;overflow:visible"
1146   - d="m 25,36.954984 c 2.841896,0.362925 3.37612,-1.584298 6,-1.701594 L 31,33 l -6,0 0,3.954959 0,2.5e-5 z"
1147   - id="rect2363-2"
1148   - sodipodi:nodetypes="cccccc" /></g></g><g
1149   - id="g4807"
1150   - transform="translate(-1.9999999,-1.0000001)"><g
1151   - style="display:inline"
1152   - id="g4729"
1153   - transform="matrix(0.02158196,0,0,0.01859457,39.12251,28.63767)"><rect
1154   - y="-141.85165"
1155   - x="-1442.0613"
1156   - height="484.0123"
1157   - width="880.36487"
1158   - id="rect4731"
1159   - style="opacity:0.40206185;color:#000000;fill:url(#linearGradient5077);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible" /><path
1160   - sodipodi:nodetypes="cccc"
1161   - id="path4733"
1162   - d="m -561.69644,-141.85163 c 0,0 0,484.00662 0,484.00662 134.16473,0.91119 324.34504,-108.44127 324.34497,-242.03439 0,-133.593226 -149.71775,-241.97221 -324.34497,-241.97223 z"
1163   - style="opacity:0.40206185;color:#000000;fill:url(#radialGradient5079);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible" /><path
1164   - style="opacity:0.40206185;color:#000000;fill:url(#radialGradient5081);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible"
1165   - d="m -1442.0613,-141.85163 c 0,0 0,484.00662 0,484.00662 -134.1648,0.91119 -324.345,-108.44127 -324.345,-242.03439 0,-133.593226 149.7177,-241.97221 324.345,-241.97223 z"
1166   - id="path4735"
1167   - sodipodi:nodetypes="cccc" /></g><g
1168   - transform="translate(-5.9999999,-13)"
1169   - id="g4737"><path
1170   - sodipodi:nodetypes="ccccccc"
1171   - id="path4739"
1172   - d="m 35.5,26.5 0,17 c 0,0.905333 -0.160268,1 -1,1 l -22,0 c -0.839733,0 -1,-0.09467 -1,-1 l 0,-17 24,0 z"
1173   - style="color:#000000;fill:url(#linearGradient5083);fill-opacity:1;fill-rule:nonzero;stroke:#757575;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible" /><path
1174   - sodipodi:nodetypes="ccccc"
1175   - clip-rule="evenodd"
1176   - d="M 22,31 21.969511,44 14.074317,44 14,31 l 8,0 z"
1177   - id="path4741"
1178   - style="fill:url(#linearGradient5085);fill-opacity:1;fill-rule:evenodd" /><path
1179   - style="opacity:0.35;color:#000000;fill:none;stroke:#ffffff;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible"
1180   - d="m 34.5,26.5 0,17 -22,0 0,-17 22,0 z"
1181   - id="path4743"
1182   - sodipodi:nodetypes="ccccc" /><path
1183   - clip-rule="evenodd"
1184   - d="m 18.576856,36.44767 c 0.67279,0 1.216616,0.474605 1.216616,1.058507 0,0.589811 -0.543826,1.068355 -1.216616,1.068355 -0.672272,0 -1.218686,-0.478544 -1.218686,-1.068355 5.15e-4,-0.583902 0.546414,-1.058507 1.218686,-1.058507 z"
1185   - id="path4745"
1186   - style="opacity:0.40909089;fill:url(#radialGradient5087);fill-opacity:1;fill-rule:evenodd" /><rect
1187   - y="32"
1188   - x="15"
1189   - height="12"
1190   - width="6"
1191   - id="rect4747"
1192   - style="color:#000000;fill:#8f5902;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /><path
1193   - style="color:#000000;fill:url(#radialGradient5015-8);fill-opacity:1;fill-rule:evenodd;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
1194   - id="path4749"
1195   - d="m 18.542048,36.410633 c 0.672789,0 1.216615,0.474605 1.216615,1.058507 0,0.589809 -0.543826,1.068353 -1.216615,1.068353 -0.672273,0 -1.218687,-0.478544 -1.218687,-1.068353 5.15e-4,-0.583902 0.546414,-1.058507 1.218687,-1.058507 z"
1196   - clip-rule="evenodd" /><rect
1197   - y="32.5"
1198   - x="24.5"
1199   - height="6.999999"
1200   - width="8"
1201   - id="rect4751"
1202   - style="color:#000000;fill:url(#linearGradient3259);fill-opacity:1;fill-rule:nonzero;stroke:#757575;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible" /><rect
1203   - rx="1"
1204   - ry="1"
1205   - style="opacity:0.5;color:#000000;fill:none;stroke:url(#linearGradient5093);stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible"
1206   - id="rect4755"
1207   - width="10"
1208   - height="9"
1209   - x="23.5"
1210   - y="31.5" /><path
1211   - sodipodi:nodetypes="ccccccc"
1212   - style="opacity:0.20000000000000001;fill:url(#radialGradient5095);fill-opacity:1;fill-rule:evenodd"
1213   - id="path4757"
1214   - d="m 12.5,31.5 0,5 13,-6 9,5 0,-5 -10,-6 -12,7 z"
1215   - clip-rule="evenodd" /><path
1216   - sodipodi:nodetypes="ccccccccc"
1217   - d="m 8.4999999,27.5 -1e-7,5 1.5,2 14.5000002,-7 12.5,7 1.5,-2 0,-5 -14,-8 -16.0000001,8 z"
1218   - id="path4759"
1219   - style="fill:#ef2929;stroke:#a40000;stroke-linecap:round;stroke-linejoin:round" /><path
1220   - sodipodi:nodetypes="ccccc"
1221   - id="path4761"
1222   - d="m 9.0215946,27.818937 -10e-8,4 L 24.5,24.5 l 0,-4.318937 -15.4784054,7.637874 z"
1223   - style="opacity:0.40909089;color:#000000;fill:url(#radialGradient5097);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible" /><path
1224   - style="opacity:0.13636367;color:#000000;fill:url(#radialGradient5099);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible"
1225   - d="m 24.5,24.5 0,-4.318937 13.478405,7.637874 0,4 L 24.5,24.5 z"
1226   - id="path4763"
1227   - sodipodi:nodetypes="ccccc" /></g></g><g
1228   - id="g3829"
1229   - transform="translate(2.0000001,0)"><g
1230   - transform="matrix(0.02158196,0,0,0.01859457,44.12251,41.63767)"
1231   - id="g5022"
1232   - style="display:inline"><rect
1233   - style="opacity:0.40206185;color:#000000;fill:url(#linearGradient5003);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible"
1234   - id="rect4173"
1235   - width="973.03491"
1236   - height="484.0123"
1237   - x="-1442.0613"
1238   - y="-141.85165" /><path
1239   - style="opacity:0.40206185;color:#000000;fill:url(#radialGradient5005);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible"
1240   - d="m -469.02645,-141.85163 c 0,0 0,484.00662 0,484.00662 134.16473,0.91119 324.34504,-108.44127 324.34497,-242.03439 0,-133.593226 -149.71775,-241.97221 -324.34497,-241.97223 z"
1241   - id="path5058"
1242   - sodipodi:nodetypes="cccc" /><path
1243   - sodipodi:nodetypes="cccc"
1244   - id="path5018"
1245   - d="m -1442.0613,-141.85163 c 0,0 0,484.00662 0,484.00662 -134.1648,0.91119 -324.345,-108.44127 -324.345,-242.03439 0,-133.593226 149.7177,-241.97221 324.345,-241.97223 z"
1246   - style="opacity:0.40206185;color:#000000;fill:url(#radialGradient5007);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible" /></g><g
1247   - id="g3812"><path
1248   - style="color:#000000;fill:url(#linearGradient5009);fill-opacity:1;fill-rule:nonzero;stroke:#757575;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible"
1249   - d="m 36.5,25.5 0,18 c 0,0.905333 -0.160268,1 -1,1 l -24,0 c -0.839733,0 -1,-0.09467 -1,-1 l 0,-18 26,0 z"
1250   - id="rect1512"
1251   - sodipodi:nodetypes="ccccccc" /><path
1252   - style="fill:url(#linearGradient5011);fill-opacity:1;fill-rule:evenodd"
1253   - id="path2327"
1254   - d="M 22,31 21.9657,44 13.083607,44 13,31 l 9,0 z"
1255   - clip-rule="evenodd"
1256   - sodipodi:nodetypes="ccccc" /><path
1257   - sodipodi:nodetypes="ccccc"
1258   - id="path2357"
1259   - d="m 35.5,25.5 0,18 -24,0 0,-18 24,0 z"
1260   - style="opacity:0.35;color:#000000;fill:none;stroke:#ffffff;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible" /><path
1261   - style="opacity:0.40909089;fill:url(#radialGradient5013);fill-opacity:1;fill-rule:evenodd"
1262   - id="path2315"
1263   - d="m 18.576856,36.44767 c 0.67279,0 1.216616,0.474605 1.216616,1.058507 0,0.589811 -0.543826,1.068355 -1.216616,1.068355 -0.672272,0 -1.218686,-0.478544 -1.218686,-1.068355 5.15e-4,-0.583902 0.546414,-1.058507 1.218686,-1.058507 z"
1264   - clip-rule="evenodd" /><rect
1265   - style="color:#000000;fill:#8f5902;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
1266   - id="rect3851"
1267   - width="7"
1268   - height="12"
1269   - x="14"
1270   - y="32" /><path
1271   - clip-rule="evenodd"
1272   - d="m 18.462314,37.447175 c 0.672789,0 1.216615,0.474605 1.216615,1.058507 0,0.589809 -0.543826,1.068353 -1.216615,1.068353 -0.672273,0 -1.218687,-0.478544 -1.218687,-1.068353 5.15e-4,-0.583902 0.546414,-1.058507 1.218687,-1.058507 z"
1273   - id="path217"
1274   - style="fill:url(#radialGradient5015);fill-opacity:1;fill-rule:evenodd" /><rect
1275   - style="color:#000000;fill:#3465a4;fill-opacity:1;fill-rule:nonzero;stroke:#757575;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible"
1276   - id="rect3263"
1277   - width="8"
1278   - height="6.999999"
1279   - x="24.5"
1280   - y="32.5" /><path
1281   - style="opacity:0.39772728;color:#000000;fill:url(#radialGradient5017);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.99999958;marker:none;visibility:visible;display:inline;overflow:visible"
1282   - d="m 25.014716,36.954984 c 2.841896,0.362925 4.341979,-1.584298 6.965859,-1.701594 L 32,33 l -7,0 0.01472,3.954959 -4e-6,2.5e-5 z"
1283   - id="rect2363"
1284   - sodipodi:nodetypes="cccccc" /><rect
1285   - y="31.5"
1286   - x="23.5"
1287   - height="9"
1288   - width="10"
1289   - id="rect3748"
1290   - style="opacity:0.5;color:#000000;fill:none;stroke:url(#linearGradient5019);stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible"
1291   - ry="1"
1292   - rx="1" /><path
1293   - clip-rule="evenodd"
1294   - d="m 11.5,31.5 0,5 14,-7 10,6 0,-4 -11,-7 -13,7 z"
1295   - id="path23"
1296   - style="opacity:0.2;fill:url(#radialGradient5021);fill-opacity:1;fill-rule:evenodd"
1297   - sodipodi:nodetypes="ccccccc" /><path
1298   - style="fill:#ef2929;stroke:#a40000;stroke-linecap:round;stroke-linejoin:round"
1299   - id="path362"
1300   - d="m 7.5,26.5 0,6 1.5,2 15.5,-8 13.5,8 1.5,-2 0,-6 -15,-9 -17,9 z"
1301   - sodipodi:nodetypes="ccccccccc" /><path
1302   - style="opacity:0.40909089;color:#000000;fill:url(#radialGradient5023);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible"
1303   - d="m 7.9418605,26.898671 0,5 L 24.5,23.5 l 0,-5.318937 -16.5581395,8.717608 z"
1304   - id="path1536"
1305   - sodipodi:nodetypes="ccccc" /><path
1306   - sodipodi:nodetypes="ccccc"
1307   - id="path2337"
1308   - d="m 24.5,23.5 0,-5.318937 14.558139,8.637874 0,5 L 24.5,23.5 z"
1309   - style="opacity:0.13636367;color:#000000;fill:url(#radialGradient5025);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible" /></g></g></svg>
1310 0 \ No newline at end of file
plugins/bsc/public/images/transfer-ownership.png

3.99 KB

plugins/bsc/public/images/transfer-ownership.svg
... ... @@ -1,1965 +0,0 @@
1   -<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2   -<!-- Created with Inkscape (http://www.inkscape.org/) -->
3   -
4   -<svg
5   - xmlns:dc="http://purl.org/dc/elements/1.1/"
6   - xmlns:cc="http://creativecommons.org/ns#"
7   - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8   - xmlns:svg="http://www.w3.org/2000/svg"
9   - xmlns="http://www.w3.org/2000/svg"
10   - xmlns:xlink="http://www.w3.org/1999/xlink"
11   - xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
12   - xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
13   - width="48"
14   - height="48"
15   - id="svg2"
16   - version="1.1"
17   - inkscape:version="0.47 r22583"
18   - sodipodi:docname="Ícone BSC 2.svg"
19   - inkscape:export-filename="/home/caiosba/Colivre/Documentos/Ícones BSC 2.png"
20   - inkscape:export-xdpi="90"
21   - inkscape:export-ydpi="90">
22   - <defs
23   - id="defs4">
24   - <inkscape:perspective
25   - sodipodi:type="inkscape:persp3d"
26   - inkscape:vp_x="0 : 526.18109 : 1"
27   - inkscape:vp_y="0 : 1000 : 0"
28   - inkscape:vp_z="744.09448 : 526.18109 : 1"
29   - inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
30   - id="perspective10" />
31   - <linearGradient
32   - id="linearGradient5036">
33   - <stop
34   - id="stop5038"
35   - offset="0"
36   - style="stop-color:#f5f5f5;stop-opacity:0.09;" />
37   - <stop
38   - style="stop-color:#ffffff;stop-opacity:0.89999998;"
39   - offset="0.2631579"
40   - id="stop5044" />
41   - <stop
42   - id="stop5088"
43   - offset="0.74792242"
44   - style="stop-color:#c7c7c7;stop-opacity:0.46000001;" />
45   - <stop
46   - id="stop5040"
47   - offset="1"
48   - style="stop-color:#ffffff;stop-opacity:0.78039217;" />
49   - </linearGradient>
50   - <linearGradient
51   - id="linearGradient5058">
52   - <stop
53   - id="stop5060"
54   - offset="0"
55   - style="stop-color:#959791;stop-opacity:1;" />
56   - <stop
57   - style="stop-color:#f8f8f8;stop-opacity:1;"
58   - offset="0.5"
59   - id="stop5066" />
60   - <stop
61   - id="stop5062"
62   - offset="1"
63   - style="stop-color:#8c8c8c;stop-opacity:1;" />
64   - </linearGradient>
65   - <linearGradient
66   - id="linearGradient5068">
67   - <stop
68   - id="stop5070"
69   - offset="0"
70   - style="stop-color:#ffffff;stop-opacity:1;" />
71   - <stop
72   - style="stop-color:#ffffff;stop-opacity:0.69;"
73   - offset="0.32894737"
74   - id="stop5078" />
75   - <stop
76   - style="stop-color:#c2c2c2;stop-opacity:0.34;"
77   - offset="0.65789473"
78   - id="stop5076" />
79   - <stop
80   - id="stop5072"
81   - offset="1"
82   - style="stop-color:#ffffff;stop-opacity:0;" />
83   - </linearGradient>
84   - <linearGradient
85   - id="linearGradient2966">
86   - <stop
87   - id="stop2968"
88   - offset="0"
89   - style="stop-color:#ffd1d1;stop-opacity:1;" />
90   - <stop
91   - style="stop-color:#ff1d1d;stop-opacity:1;"
92   - offset="0.5"
93   - id="stop3006" />
94   - <stop
95   - id="stop2970"
96   - offset="1"
97   - style="stop-color:#6f0000;stop-opacity:1;" />
98   - </linearGradient>
99   - <linearGradient
100   - id="linearGradient2974">
101   - <stop
102   - id="stop2976"
103   - offset="0"
104   - style="stop-color:#c1c1c1;stop-opacity:1;" />
105   - <stop
106   - id="stop2978"
107   - offset="1"
108   - style="stop-color:#acacac;stop-opacity:1;" />
109   - </linearGradient>
110   - <linearGradient
111   - id="linearGradient2994">
112   - <stop
113   - id="stop2996"
114   - offset="0"
115   - style="stop-color:#000000;stop-opacity:1;" />
116   - <stop
117   - id="stop2998"
118   - offset="1"
119   - style="stop-color:#c9c9c9;stop-opacity:1;" />
120   - </linearGradient>
121   - <linearGradient
122   - id="linearGradient9910">
123   - <stop
124   - id="stop9912"
125   - offset="0"
126   - style="stop-color:#729fcf;stop-opacity:1;" />
127   - <stop
128   - style="stop-color:#a5bfda;stop-opacity:1;"
129   - offset="0.31578946"
130   - id="stop9918" />
131   - <stop
132   - id="stop9914"
133   - offset="1"
134   - style="stop-color:#376ca4;stop-opacity:1;" />
135   - </linearGradient>
136   - <linearGradient
137   - id="linearGradient9920">
138   - <stop
139   - style="stop-color:#5b90c8;stop-opacity:1;"
140   - offset="0"
141   - id="stop9922" />
142   - <stop
143   - id="stop9924"
144   - offset="0.31578946"
145   - style="stop-color:#8fb0d1;stop-opacity:1;" />
146   - <stop
147   - style="stop-color:#34679d;stop-opacity:1;"
148   - offset="1"
149   - id="stop9926" />
150   - </linearGradient>
151   - <inkscape:perspective
152   - id="perspective90"
153   - inkscape:persp3d-origin="24 : 16 : 1"
154   - inkscape:vp_z="48 : 24 : 1"
155   - inkscape:vp_y="0 : 1000 : 0"
156   - inkscape:vp_x="0 : 24 : 1"
157   - sodipodi:type="inkscape:persp3d" />
158   - <linearGradient
159   - id="linearGradient7121">
160   - <stop
161   - id="stop7123"
162   - offset="0"
163   - style="stop-color:#ffffff;stop-opacity:1;" />
164   - <stop
165   - id="stop7125"
166   - offset="1"
167   - style="stop-color:#8ae234;stop-opacity:1" />
168   - </linearGradient>
169   - <inkscape:perspective
170   - id="perspective27321"
171   - inkscape:persp3d-origin="24 : 16 : 1"
172   - inkscape:vp_z="48 : 24 : 1"
173   - inkscape:vp_y="0 : 1000 : 0"
174   - inkscape:vp_x="0 : 24 : 1"
175   - sodipodi:type="inkscape:persp3d" />
176   - <linearGradient
177   - y2="50.939667"
178   - x2="45.380436"
179   - y1="45.264122"
180   - x1="46.834816"
181   - gradientUnits="userSpaceOnUse"
182   - id="linearGradient7186"
183   - xlink:href="#linearGradient2871"
184   - inkscape:collect="always" />
185   - <linearGradient
186   - y2="26.649363"
187   - x2="53.588623"
188   - y1="23.667896"
189   - x1="18.935766"
190   - gradientUnits="userSpaceOnUse"
191   - id="linearGradient7184"
192   - xlink:href="#linearGradient2402"
193   - inkscape:collect="always" />
194   - <linearGradient
195   - y2="50.939667"
196   - x2="45.380436"
197   - y1="45.264122"
198   - x1="46.834816"
199   - gradientUnits="userSpaceOnUse"
200   - id="linearGradient7182"
201   - xlink:href="#linearGradient2871"
202   - inkscape:collect="always" />
203   - <linearGradient
204   - y2="20.60858"
205   - x2="15.984863"
206   - y1="36.061237"
207   - x1="62.513836"
208   - gradientUnits="userSpaceOnUse"
209   - id="linearGradient7180"
210   - xlink:href="#linearGradient2380"
211   - inkscape:collect="always" />
212   - <linearGradient
213   - gradientTransform="matrix(-1,0,0,-1,47.93934,50.02474)"
214   - y2="23.554308"
215   - x2="22.374878"
216   - y1="13.604306"
217   - x1="13.435029"
218   - gradientUnits="userSpaceOnUse"
219   - id="linearGradient7189"
220   - xlink:href="#linearGradient7179"
221   - inkscape:collect="always" />
222   - <linearGradient
223   - gradientUnits="userSpaceOnUse"
224   - y2="23.554308"
225   - x2="22.374878"
226   - y1="13.604306"
227   - x1="13.435029"
228   - id="linearGradient7185"
229   - xlink:href="#linearGradient7179"
230   - inkscape:collect="always" />
231   - <linearGradient
232   - id="linearGradient1322">
233   - <stop
234   - style="stop-color:#729fcf"
235   - offset="0.0000000"
236   - id="stop1324" />
237   - <stop
238   - style="stop-color:#5187d6;stop-opacity:1.0000000;"
239   - offset="1.0000000"
240   - id="stop1326" />
241   - </linearGradient>
242   - <linearGradient
243   - id="linearGradient2316">
244   - <stop
245   - id="stop2318"
246   - offset="0"
247   - style="stop-color:#000000;stop-opacity:1;" />
248   - <stop
249   - id="stop2320"
250   - offset="1"
251   - style="stop-color:#ffffff;stop-opacity:0.65979379;" />
252   - </linearGradient>
253   - <linearGradient
254   - id="linearGradient7179"
255   - inkscape:collect="always">
256   - <stop
257   - id="stop7181"
258   - offset="0"
259   - style="stop-color:#ffffff;stop-opacity:1;" />
260   - <stop
261   - id="stop7183"
262   - offset="1"
263   - style="stop-color:#ffffff;stop-opacity:0;" />
264   - </linearGradient>
265   - <linearGradient
266   - y2="26.048164"
267   - x2="52.854095"
268   - y1="26.048164"
269   - x1="5.9649177"
270   - gradientUnits="userSpaceOnUse"
271   - id="linearGradient1491"
272   - xlink:href="#linearGradient2797"
273   - inkscape:collect="always" />
274   - <linearGradient
275   - id="linearGradient2797"
276   - inkscape:collect="always">
277   - <stop
278   - id="stop2799"
279   - offset="0"
280   - style="stop-color:#ffffff;stop-opacity:1;" />
281   - <stop
282   - id="stop2801"
283   - offset="1"
284   - style="stop-color:#ffffff;stop-opacity:0;" />
285   - </linearGradient>
286   - <linearGradient
287   - y2="26.048164"
288   - x2="52.854095"
289   - y1="26.048164"
290   - x1="5.9649177"
291   - gradientUnits="userSpaceOnUse"
292   - id="linearGradient1493"
293   - xlink:href="#linearGradient2797"
294   - inkscape:collect="always" />
295   - <linearGradient
296   - id="linearGradient2402">
297   - <stop
298   - id="stop2404"
299   - offset="0"
300   - style="stop-color:#729fcf;stop-opacity:1;" />
301   - <stop
302   - id="stop2406"
303   - offset="1"
304   - style="stop-color:#528ac5;stop-opacity:1;" />
305   - </linearGradient>
306   - <linearGradient
307   - id="linearGradient2871"
308   - inkscape:collect="always">
309   - <stop
310   - id="stop2873"
311   - offset="0"
312   - style="stop-color:#3465a4;stop-opacity:1;" />
313   - <stop
314   - id="stop2875"
315   - offset="1"
316   - style="stop-color:#3465a4;stop-opacity:1" />
317   - </linearGradient>
318   - <linearGradient
319   - gradientTransform="translate(-48.77039,-5.765705)"
320   - gradientUnits="userSpaceOnUse"
321   - y2="24.842253"
322   - x2="37.124462"
323   - y1="30.748846"
324   - x1="32.647972"
325   - id="linearGradient2696"
326   - xlink:href="#linearGradient2690"
327   - inkscape:collect="always" />
328   - <linearGradient
329   - id="linearGradient2690"
330   - inkscape:collect="always">
331   - <stop
332   - id="stop2692"
333   - offset="0"
334   - style="stop-color:#c4d7eb;stop-opacity:1;" />
335   - <stop
336   - id="stop2694"
337   - offset="1"
338   - style="stop-color:#c4d7eb;stop-opacity:0;" />
339   - </linearGradient>
340   - <linearGradient
341   - gradientTransform="translate(-48.77039,-5.765705)"
342   - gradientUnits="userSpaceOnUse"
343   - y2="24.842253"
344   - x2="37.124462"
345   - y1="31.455952"
346   - x1="36.713837"
347   - id="linearGradient2688"
348   - xlink:href="#linearGradient2682"
349   - inkscape:collect="always" />
350   - <linearGradient
351   - id="linearGradient2682">
352   - <stop
353   - id="stop2684"
354   - offset="0"
355   - style="stop-color:#3977c3;stop-opacity:1;" />
356   - <stop
357   - id="stop2686"
358   - offset="1"
359   - style="stop-color:#89aedc;stop-opacity:0;" />
360   - </linearGradient>
361   - <linearGradient
362   - id="linearGradient2380">
363   - <stop
364   - id="stop2382"
365   - offset="0"
366   - style="stop-color:#b9cfe7;stop-opacity:1" />
367   - <stop
368   - id="stop2384"
369   - offset="1"
370   - style="stop-color:#729fcf;stop-opacity:1" />
371   - </linearGradient>
372   - <linearGradient
373   - y2="19.115122"
374   - x2="15.419417"
375   - y1="10.612206"
376   - x1="13.478554"
377   - gradientTransform="translate(-48.30498,-6.043298)"
378   - gradientUnits="userSpaceOnUse"
379   - id="linearGradient1486"
380   - xlink:href="#linearGradient2831"
381   - inkscape:collect="always" />
382   - <linearGradient
383   - id="linearGradient2831">
384   - <stop
385   - id="stop2833"
386   - offset="0"
387   - style="stop-color:#3465a4;stop-opacity:1;" />
388   - <stop
389   - style="stop-color:#5b86be;stop-opacity:1;"
390   - offset="0.33333334"
391   - id="stop2855" />
392   - <stop
393   - id="stop2835"
394   - offset="1"
395   - style="stop-color:#83a8d8;stop-opacity:0;" />
396   - </linearGradient>
397   - <linearGradient
398   - y2="26.194071"
399   - x2="37.065414"
400   - y1="29.729605"
401   - x1="37.128052"
402   - gradientTransform="matrix(-1,0,0,-1,-1.24248,40.0817)"
403   - gradientUnits="userSpaceOnUse"
404   - id="linearGradient1488"
405   - xlink:href="#linearGradient2847"
406   - inkscape:collect="always" />
407   - <linearGradient
408   - id="linearGradient2847"
409   - inkscape:collect="always">
410   - <stop
411   - id="stop2849"
412   - offset="0"
413   - style="stop-color:#3465a4;stop-opacity:1;" />
414   - <stop
415   - id="stop2851"
416   - offset="1"
417   - style="stop-color:#3465a4;stop-opacity:0;" />
418   - </linearGradient>
419   - <radialGradient
420   - r="15.644737"
421   - fy="36.421127"
422   - fx="24.837126"
423   - cy="36.421127"
424   - cx="24.837126"
425   - gradientTransform="matrix(1,0,0,0.536723,0,16.87306)"
426   - gradientUnits="userSpaceOnUse"
427   - id="radialGradient1503"
428   - xlink:href="#linearGradient8662"
429   - inkscape:collect="always" />
430   - <linearGradient
431   - id="linearGradient8662"
432   - inkscape:collect="always">
433   - <stop
434   - id="stop8664"
435   - offset="0"
436   - style="stop-color:#000000;stop-opacity:1;" />
437   - <stop
438   - id="stop8666"
439   - offset="1"
440   - style="stop-color:#000000;stop-opacity:0;" />
441   - </linearGradient>
442   - <linearGradient
443   - id="linearGradient7916">
444   - <stop
445   - id="stop7918"
446   - offset="0"
447   - style="stop-color:#ffffff;stop-opacity:1;" />
448   - <stop
449   - id="stop7920"
450   - offset="1.0000000"
451   - style="stop-color:#ffffff;stop-opacity:0.34020618;" />
452   - </linearGradient>
453   - <inkscape:perspective
454   - id="perspective70"
455   - inkscape:persp3d-origin="24 : 16 : 1"
456   - inkscape:vp_z="48 : 24 : 1"
457   - inkscape:vp_y="0 : 1000 : 0"
458   - inkscape:vp_x="0 : 24 : 1"
459   - sodipodi:type="inkscape:persp3d" />
460   - <linearGradient
461   - y2="50.939667"
462   - x2="45.380436"
463   - y1="45.264122"
464   - x1="46.834816"
465   - gradientUnits="userSpaceOnUse"
466   - id="linearGradient7186-5"
467   - xlink:href="#linearGradient2871-7"
468   - inkscape:collect="always" />
469   - <linearGradient
470   - y2="26.649363"
471   - x2="53.588623"
472   - y1="23.667896"
473   - x1="18.935766"
474   - gradientUnits="userSpaceOnUse"
475   - id="linearGradient7184-5"
476   - xlink:href="#linearGradient2402-4"
477   - inkscape:collect="always" />
478   - <linearGradient
479   - y2="50.939667"
480   - x2="45.380436"
481   - y1="45.264122"
482   - x1="46.834816"
483   - gradientUnits="userSpaceOnUse"
484   - id="linearGradient7182-1"
485   - xlink:href="#linearGradient2871-7"
486   - inkscape:collect="always" />
487   - <linearGradient
488   - y2="20.60858"
489   - x2="15.984863"
490   - y1="36.061237"
491   - x1="62.513836"
492   - gradientUnits="userSpaceOnUse"
493   - id="linearGradient7180-4"
494   - xlink:href="#linearGradient2380-9"
495   - inkscape:collect="always" />
496   - <linearGradient
497   - gradientTransform="matrix(-1,0,0,-1,47.93934,50.02474)"
498   - y2="23.554308"
499   - x2="22.374878"
500   - y1="13.604306"
501   - x1="13.435029"
502   - gradientUnits="userSpaceOnUse"
503   - id="linearGradient7189-5"
504   - xlink:href="#linearGradient7179-1"
505   - inkscape:collect="always" />
506   - <linearGradient
507   - gradientUnits="userSpaceOnUse"
508   - y2="23.554308"
509   - x2="22.374878"
510   - y1="13.604306"
511   - x1="13.435029"
512   - id="linearGradient7185-1"
513   - xlink:href="#linearGradient7179-1"
514   - inkscape:collect="always" />
515   - <linearGradient
516   - id="linearGradient1322-5">
517   - <stop
518   - style="stop-color:#729fcf"
519   - offset="0.0000000"
520   - id="stop1324-3" />
521   - <stop
522   - style="stop-color:#5187d6;stop-opacity:1.0000000;"
523   - offset="1.0000000"
524   - id="stop1326-9" />
525   - </linearGradient>
526   - <linearGradient
527   - id="linearGradient2316-6">
528   - <stop
529   - id="stop2318-0"
530   - offset="0"
531   - style="stop-color:#000000;stop-opacity:1;" />
532   - <stop
533   - id="stop2320-8"
534   - offset="1"
535   - style="stop-color:#ffffff;stop-opacity:0.65979379;" />
536   - </linearGradient>
537   - <linearGradient
538   - id="linearGradient7179-1"
539   - inkscape:collect="always">
540   - <stop
541   - id="stop7181-7"
542   - offset="0"
543   - style="stop-color:#ffffff;stop-opacity:1;" />
544   - <stop
545   - id="stop7183-0"
546   - offset="1"
547   - style="stop-color:#ffffff;stop-opacity:0;" />
548   - </linearGradient>
549   - <linearGradient
550   - y2="26.048164"
551   - x2="52.854095"
552   - y1="26.048164"
553   - x1="5.9649177"
554   - gradientUnits="userSpaceOnUse"
555   - id="linearGradient1491-9"
556   - xlink:href="#linearGradient2797-9"
557   - inkscape:collect="always" />
558   - <linearGradient
559   - id="linearGradient2797-9"
560   - inkscape:collect="always">
561   - <stop
562   - id="stop2799-7"
563   - offset="0"
564   - style="stop-color:#ffffff;stop-opacity:1;" />
565   - <stop
566   - id="stop2801-4"
567   - offset="1"
568   - style="stop-color:#ffffff;stop-opacity:0;" />
569   - </linearGradient>
570   - <linearGradient
571   - y2="26.048164"
572   - x2="52.854095"
573   - y1="26.048164"
574   - x1="5.9649177"
575   - gradientUnits="userSpaceOnUse"
576   - id="linearGradient1493-7"
577   - xlink:href="#linearGradient2797-9"
578   - inkscape:collect="always" />
579   - <linearGradient
580   - id="linearGradient2402-4">
581   - <stop
582   - id="stop2404-6"
583   - offset="0"
584   - style="stop-color:#729fcf;stop-opacity:1;" />
585   - <stop
586   - id="stop2406-3"
587   - offset="1"
588   - style="stop-color:#528ac5;stop-opacity:1;" />
589   - </linearGradient>
590   - <linearGradient
591   - id="linearGradient2871-7"
592   - inkscape:collect="always">
593   - <stop
594   - id="stop2873-5"
595   - offset="0"
596   - style="stop-color:#3465a4;stop-opacity:1;" />
597   - <stop
598   - id="stop2875-6"
599   - offset="1"
600   - style="stop-color:#3465a4;stop-opacity:1" />
601   - </linearGradient>
602   - <linearGradient
603   - gradientTransform="translate(-48.77039,-5.765705)"
604   - gradientUnits="userSpaceOnUse"
605   - y2="24.842253"
606   - x2="37.124462"
607   - y1="30.748846"
608   - x1="32.647972"
609   - id="linearGradient2696-9"
610   - xlink:href="#linearGradient2690-0"
611   - inkscape:collect="always" />
612   - <linearGradient
613   - id="linearGradient2690-0"
614   - inkscape:collect="always">
615   - <stop
616   - id="stop2692-2"
617   - offset="0"
618   - style="stop-color:#c4d7eb;stop-opacity:1;" />
619   - <stop
620   - id="stop2694-2"
621   - offset="1"
622   - style="stop-color:#c4d7eb;stop-opacity:0;" />
623   - </linearGradient>
624   - <linearGradient
625   - gradientTransform="translate(-48.77039,-5.765705)"
626   - gradientUnits="userSpaceOnUse"
627   - y2="24.842253"
628   - x2="37.124462"
629   - y1="31.455952"
630   - x1="36.713837"
631   - id="linearGradient2688-1"
632   - xlink:href="#linearGradient2682-8"
633   - inkscape:collect="always" />
634   - <linearGradient
635   - id="linearGradient2682-8">
636   - <stop
637   - id="stop2684-0"
638   - offset="0"
639   - style="stop-color:#3977c3;stop-opacity:1;" />
640   - <stop
641   - id="stop2686-8"
642   - offset="1"
643   - style="stop-color:#89aedc;stop-opacity:0;" />
644   - </linearGradient>
645   - <linearGradient
646   - id="linearGradient2380-9">
647   - <stop
648   - id="stop2382-6"
649   - offset="0"
650   - style="stop-color:#b9cfe7;stop-opacity:1" />
651   - <stop
652   - id="stop2384-4"
653   - offset="1"
654   - style="stop-color:#729fcf;stop-opacity:1" />
655   - </linearGradient>
656   - <linearGradient
657   - y2="19.115122"
658   - x2="15.419417"
659   - y1="10.612206"
660   - x1="13.478554"
661   - gradientTransform="translate(-48.30498,-6.043298)"
662   - gradientUnits="userSpaceOnUse"
663   - id="linearGradient1486-1"
664   - xlink:href="#linearGradient2831-1"
665   - inkscape:collect="always" />
666   - <linearGradient
667   - id="linearGradient2831-1">
668   - <stop
669   - id="stop2833-6"
670   - offset="0"
671   - style="stop-color:#3465a4;stop-opacity:1;" />
672   - <stop
673   - style="stop-color:#5b86be;stop-opacity:1;"
674   - offset="0.33333334"
675   - id="stop2855-6" />
676   - <stop
677   - id="stop2835-2"
678   - offset="1"
679   - style="stop-color:#83a8d8;stop-opacity:0;" />
680   - </linearGradient>
681   - <linearGradient
682   - y2="26.194071"
683   - x2="37.065414"
684   - y1="29.729605"
685   - x1="37.128052"
686   - gradientTransform="matrix(-1,0,0,-1,-1.24248,40.0817)"
687   - gradientUnits="userSpaceOnUse"
688   - id="linearGradient1488-5"
689   - xlink:href="#linearGradient2847-4"
690   - inkscape:collect="always" />
691   - <linearGradient
692   - id="linearGradient2847-4"
693   - inkscape:collect="always">
694   - <stop
695   - id="stop2849-0"
696   - offset="0"
697   - style="stop-color:#3465a4;stop-opacity:1;" />
698   - <stop
699   - id="stop2851-8"
700   - offset="1"
701   - style="stop-color:#3465a4;stop-opacity:0;" />
702   - </linearGradient>
703   - <radialGradient
704   - r="15.644737"
705   - fy="36.421127"
706   - fx="24.837126"
707   - cy="36.421127"
708   - cx="24.837126"
709   - gradientTransform="matrix(1,0,0,0.536723,0,16.87306)"
710   - gradientUnits="userSpaceOnUse"
711   - id="radialGradient1503-0"
712   - xlink:href="#linearGradient8662-1"
713   - inkscape:collect="always" />
714   - <linearGradient
715   - id="linearGradient8662-1"
716   - inkscape:collect="always">
717   - <stop
718   - id="stop8664-1"
719   - offset="0"
720   - style="stop-color:#000000;stop-opacity:1;" />
721   - <stop
722   - id="stop8666-7"
723   - offset="1"
724   - style="stop-color:#000000;stop-opacity:0;" />
725   - </linearGradient>
726   - <linearGradient
727   - id="linearGradient7916-1">
728   - <stop
729   - id="stop7918-7"
730   - offset="0"
731   - style="stop-color:#ffffff;stop-opacity:1;" />
732   - <stop
733   - id="stop7920-1"
734   - offset="1.0000000"
735   - style="stop-color:#ffffff;stop-opacity:0.34020618;" />
736   - </linearGradient>
737   - <inkscape:perspective
738   - id="perspective70-5"
739   - inkscape:persp3d-origin="24 : 16 : 1"
740   - inkscape:vp_z="48 : 24 : 1"
741   - inkscape:vp_y="0 : 1000 : 0"
742   - inkscape:vp_x="0 : 24 : 1"
743   - sodipodi:type="inkscape:persp3d" />
744   - <inkscape:perspective
745   - id="perspective29237"
746   - inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
747   - inkscape:vp_z="1 : 0.5 : 1"
748   - inkscape:vp_y="0 : 1000 : 0"
749   - inkscape:vp_x="0 : 0.5 : 1"
750   - sodipodi:type="inkscape:persp3d" />
751   - <linearGradient
752   - inkscape:collect="always"
753   - id="linearGradient6998-2">
754   - <stop
755   - style="stop-color:#000000;stop-opacity:1;"
756   - offset="0"
757   - id="stop7000-7" />
758   - <stop
759   - style="stop-color:#000000;stop-opacity:0;"
760   - offset="1"
761   - id="stop7002-1" />
762   - </linearGradient>
763   - <radialGradient
764   - inkscape:collect="always"
765   - xlink:href="#linearGradient6998-2"
766   - id="radialGradient29477"
767   - gradientUnits="userSpaceOnUse"
768   - gradientTransform="matrix(1,0,0,0.3222749,0,20.728756)"
769   - cx="19.688505"
770   - cy="30.585787"
771   - fx="19.688505"
772   - fy="30.585787"
773   - r="4.6624851" />
774   - <radialGradient
775   - inkscape:collect="always"
776   - xlink:href="#linearGradient6998-2"
777   - id="radialGradient29479"
778   - gradientUnits="userSpaceOnUse"
779   - gradientTransform="matrix(1,0,0,0.3222749,0,20.728756)"
780   - cx="19.688505"
781   - cy="30.585787"
782   - fx="19.688505"
783   - fy="30.585787"
784   - r="4.6624851" />
785   - <linearGradient
786   - y2="35.739632"
787   - x2="21.408455"
788   - y1="36.390400"
789   - x1="22.686766"
790   - gradientTransform="matrix(-0.977685,0.210075,0.210075,0.977685,41.80576,-11.11866)"
791   - gradientUnits="userSpaceOnUse"
792   - id="linearGradient4374"
793   - xlink:href="#linearGradient4356"
794   - inkscape:collect="always" />
795   - <linearGradient
796   - y2="36.217758"
797   - x2="22.626925"
798   - y1="35.817974"
799   - x1="20.661695"
800   - gradientTransform="matrix(0.983375,0.181588,-0.181588,0.983375,-7.072120,-9.824920)"
801   - gradientUnits="userSpaceOnUse"
802   - id="linearGradient4372"
803   - xlink:href="#linearGradient4356"
804   - inkscape:collect="always" />
805   - <radialGradient
806   - gradientUnits="userSpaceOnUse"
807   - gradientTransform="matrix(1.000000,0.000000,0.000000,0.681917,0.000000,8.233773)"
808   - r="13.565360"
809   - fy="19.836468"
810   - fx="16.214741"
811   - cy="19.836468"
812   - cx="16.214741"
813   - id="radialGradient4350"
814   - xlink:href="#linearGradient4344"
815   - inkscape:collect="always" />
816   - <linearGradient
817   - gradientTransform="translate(-13.12500,-7.000000)"
818   - y2="35.803486"
819   - x2="30.935921"
820   - y1="29.553486"
821   - x1="30.935921"
822   - gradientUnits="userSpaceOnUse"
823   - id="linearGradient4332"
824   - xlink:href="#linearGradient3824"
825   - inkscape:collect="always" />
826   - <linearGradient
827   - y2="35.803486"
828   - x2="30.935921"
829   - y1="29.553486"
830   - x1="30.935921"
831   - gradientTransform="translate(-12.41789,-7.000000)"
832   - gradientUnits="userSpaceOnUse"
833   - id="linearGradient4326"
834   - xlink:href="#linearGradient3824"
835   - inkscape:collect="always" />
836   - <linearGradient
837   - gradientTransform="translate(0.707108,0.000000)"
838   - y2="35.803486"
839   - x2="30.935921"
840   - y1="29.553486"
841   - x1="30.935921"
842   - gradientUnits="userSpaceOnUse"
843   - id="linearGradient4175"
844   - xlink:href="#linearGradient3824"
845   - inkscape:collect="always" />
846   - <radialGradient
847   - gradientUnits="userSpaceOnUse"
848   - r="9.1620579"
849   - fy="17.064077"
850   - fx="29.344931"
851   - cy="17.064077"
852   - cx="29.344931"
853   - id="radialGradient3806"
854   - xlink:href="#linearGradient3800"
855   - inkscape:collect="always" />
856   - <linearGradient
857   - id="linearGradient3800">
858   - <stop
859   - id="stop3802"
860   - offset="0.0000000"
861   - style="stop-color:#f4d9b1;stop-opacity:1.0000000;" />
862   - <stop
863   - id="stop3804"
864   - offset="1.0000000"
865   - style="stop-color:#df9725;stop-opacity:1.0000000;" />
866   - </linearGradient>
867   - <linearGradient
868   - id="linearGradient3816"
869   - inkscape:collect="always">
870   - <stop
871   - id="stop3818"
872   - offset="0"
873   - style="stop-color:#000000;stop-opacity:1;" />
874   - <stop
875   - id="stop3820"
876   - offset="1"
877   - style="stop-color:#000000;stop-opacity:0;" />
878   - </linearGradient>
879   - <linearGradient
880   - id="linearGradient3824">
881   - <stop
882   - id="stop3826"
883   - offset="0"
884   - style="stop-color:#ffffff;stop-opacity:1;" />
885   - <stop
886   - id="stop3828"
887   - offset="1.0000000"
888   - style="stop-color:#c9c9c9;stop-opacity:1.0000000;" />
889   - </linearGradient>
890   - <linearGradient
891   - id="linearGradient4163">
892   - <stop
893   - id="stop4165"
894   - offset="0.0000000"
895   - style="stop-color:#3b74bc;stop-opacity:1.0000000;" />
896   - <stop
897   - id="stop4167"
898   - offset="1.0000000"
899   - style="stop-color:#2d5990;stop-opacity:1.0000000;" />
900   - </linearGradient>
901   - <linearGradient
902   - id="linearGradient4338">
903   - <stop
904   - style="stop-color:#e9b15e;stop-opacity:1.0000000;"
905   - offset="0.0000000"
906   - id="stop4340" />
907   - <stop
908   - style="stop-color:#966416;stop-opacity:1.0000000;"
909   - offset="1.0000000"
910   - id="stop4342" />
911   - </linearGradient>
912   - <linearGradient
913   - id="linearGradient4344">
914   - <stop
915   - id="stop4346"
916   - offset="0"
917   - style="stop-color:#727e0a;stop-opacity:1;" />
918   - <stop
919   - id="stop4348"
920   - offset="1.0000000"
921   - style="stop-color:#5b6508;stop-opacity:1.0000000;" />
922   - </linearGradient>
923   - <linearGradient
924   - id="linearGradient4356"
925   - inkscape:collect="always">
926   - <stop
927   - id="stop4358"
928   - offset="0"
929   - style="stop-color:#000000;stop-opacity:1;" />
930   - <stop
931   - id="stop4360"
932   - offset="1"
933   - style="stop-color:#000000;stop-opacity:0;" />
934   - </linearGradient>
935   - <inkscape:perspective
936   - id="perspective72"
937   - inkscape:persp3d-origin="24 : 16 : 1"
938   - inkscape:vp_z="48 : 24 : 1"
939   - inkscape:vp_y="0 : 1000 : 0"
940   - inkscape:vp_x="0 : 24 : 1"
941   - sodipodi:type="inkscape:persp3d" />
942   - <radialGradient
943   - inkscape:collect="always"
944   - xlink:href="#linearGradient3816"
945   - id="radialGradient4243"
946   - gradientUnits="userSpaceOnUse"
947   - cx="31.112698"
948   - cy="19.008621"
949   - fx="31.112698"
950   - fy="19.008621"
951   - r="8.6620579" />
952   - <radialGradient
953   - inkscape:collect="always"
954   - xlink:href="#linearGradient3800"
955   - id="radialGradient4251"
956   - gradientUnits="userSpaceOnUse"
957   - gradientTransform="matrix(0.787998,0,0,0.787998,6.221198,3.617627)"
958   - cx="29.344931"
959   - cy="17.064077"
960   - fx="29.344931"
961   - fy="17.064077"
962   - r="9.1620579" />
963   - <radialGradient
964   - inkscape:collect="always"
965   - xlink:href="#linearGradient3816"
966   - id="radialGradient4257"
967   - gradientUnits="userSpaceOnUse"
968   - cx="31.112698"
969   - cy="19.008621"
970   - fx="31.112698"
971   - fy="19.008621"
972   - r="8.6620579" />
973   - <radialGradient
974   - inkscape:collect="always"
975   - xlink:href="#linearGradient3816"
976   - id="radialGradient4261"
977   - gradientUnits="userSpaceOnUse"
978   - cx="31.112698"
979   - cy="19.008621"
980   - fx="31.112698"
981   - fy="19.008621"
982   - r="8.6620579" />
983   - <radialGradient
984   - inkscape:collect="always"
985   - xlink:href="#linearGradient4338"
986   - id="radialGradient4263"
987   - gradientUnits="userSpaceOnUse"
988   - gradientTransform="matrix(0.787998,0,0,0.787998,6.221198,3.617627)"
989   - cx="29.344931"
990   - cy="17.064077"
991   - fx="29.344931"
992   - fy="17.064077"
993   - r="9.1620579" />
994   - <linearGradient
995   - inkscape:collect="always"
996   - xlink:href="#linearGradient4356"
997   - id="linearGradient4272"
998   - gradientUnits="userSpaceOnUse"
999   - gradientTransform="matrix(-0.977685,0.210075,0.210075,0.977685,40.096379,991.52674)"
1000   - x1="22.686766"
1001   - y1="36.390400"
1002   - x2="21.408455"
1003   - y2="35.739632" />
1004   - <linearGradient
1005   - inkscape:collect="always"
1006   - xlink:href="#linearGradient4356"
1007   - id="linearGradient4275"
1008   - gradientUnits="userSpaceOnUse"
1009   - gradientTransform="matrix(0.95236899,-0.304949,0.304949,0.95236899,-24.109161,1001.0625)"
1010   - x1="20.661695"
1011   - y1="35.817974"
1012   - x2="22.626925"
1013   - y2="36.217758" />
1014   - <linearGradient
1015   - inkscape:collect="always"
1016   - xlink:href="#linearGradient3824"
1017   - id="linearGradient4278"
1018   - gradientUnits="userSpaceOnUse"
1019   - gradientTransform="translate(-14.127271,995.6454)"
1020   - x1="30.935921"
1021   - y1="29.553486"
1022   - x2="30.935921"
1023   - y2="35.803486" />
1024   - <radialGradient
1025   - inkscape:collect="always"
1026   - xlink:href="#linearGradient4344"
1027   - id="radialGradient4287"
1028   - gradientUnits="userSpaceOnUse"
1029   - gradientTransform="matrix(1,0,0,0.681917,-1.7093807,1010.8792)"
1030   - cx="16.214741"
1031   - cy="19.836468"
1032   - fx="16.214741"
1033   - fy="19.836468"
1034   - r="13.565360" />
1035   - <radialGradient
1036   - inkscape:collect="always"
1037   - xlink:href="#linearGradient4338"
1038   - id="radialGradient4300"
1039   - gradientUnits="userSpaceOnUse"
1040   - gradientTransform="matrix(0.787998,0,0,0.787998,6.221198,3.617627)"
1041   - cx="29.344931"
1042   - cy="17.064077"
1043   - fx="29.344931"
1044   - fy="17.064077"
1045   - r="9.1620579" />
1046   - <radialGradient
1047   - inkscape:collect="always"
1048   - xlink:href="#linearGradient4163"
1049   - id="radialGradient4318"
1050   - gradientUnits="userSpaceOnUse"
1051   - gradientTransform="matrix(1.297564,0,0,0.884831,-4.2342547,1013.4195)"
1052   - cx="28.089741"
1053   - cy="27.203083"
1054   - fx="28.089741"
1055   - fy="27.203083"
1056   - r="13.565360" />
1057   - <radialGradient
1058   - inkscape:collect="always"
1059   - xlink:href="#linearGradient3816"
1060   - id="radialGradient4321"
1061   - gradientUnits="userSpaceOnUse"
1062   - cx="31.112698"
1063   - cy="19.008621"
1064   - fx="31.112698"
1065   - fy="19.008621"
1066   - r="8.6620579" />
1067   - <inkscape:perspective
1068   - id="perspective4984"
1069   - inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
1070   - inkscape:vp_z="1 : 0.5 : 1"
1071   - inkscape:vp_y="0 : 1000 : 0"
1072   - inkscape:vp_x="0 : 0.5 : 1"
1073   - sodipodi:type="inkscape:persp3d" />
1074   - <linearGradient
1075   - id="linearGradient5048">
1076   - <stop
1077   - style="stop-color:black;stop-opacity:0;"
1078   - offset="0"
1079   - id="stop5050" />
1080   - <stop
1081   - id="stop5056"
1082   - offset="0.5"
1083   - style="stop-color:black;stop-opacity:1;" />
1084   - <stop
1085   - style="stop-color:black;stop-opacity:0;"
1086   - offset="1"
1087   - id="stop5052" />
1088   - </linearGradient>
1089   - <linearGradient
1090   - id="linearGradient259">
1091   - <stop
1092   - id="stop260"
1093   - offset="0.0000000"
1094   - style="stop-color:#fafafa;stop-opacity:1.0000000;" />
1095   - <stop
1096   - id="stop261"
1097   - offset="1.0000000"
1098   - style="stop-color:#bbbbbb;stop-opacity:1.0000000;" />
1099   - </linearGradient>
1100   - <linearGradient
1101   - id="linearGradient269">
1102   - <stop
1103   - id="stop270"
1104   - offset="0.0000000"
1105   - style="stop-color:#a3a3a3;stop-opacity:1.0000000;" />
1106   - <stop
1107   - id="stop271"
1108   - offset="1.0000000"
1109   - style="stop-color:#4c4c4c;stop-opacity:1.0000000;" />
1110   - </linearGradient>
1111   - <linearGradient
1112   - id="linearGradient15662">
1113   - <stop
1114   - id="stop15664"
1115   - offset="0.0000000"
1116   - style="stop-color:#ffffff;stop-opacity:1.0000000;" />
1117   - <stop
1118   - id="stop15666"
1119   - offset="1.0000000"
1120   - style="stop-color:#f8f8f8;stop-opacity:1.0000000;" />
1121   - </linearGradient>
1122   - <linearGradient
1123   - inkscape:collect="always"
1124   - id="linearGradient5866">
1125   - <stop
1126   - style="stop-color:#000000;stop-opacity:1;"
1127   - offset="0"
1128   - id="stop5868" />
1129   - <stop
1130   - style="stop-color:#000000;stop-opacity:0;"
1131   - offset="1"
1132   - id="stop5870" />
1133   - </linearGradient>
1134   - <linearGradient
1135   - id="linearGradient2598">
1136   - <stop
1137   - style="stop-color:#859dbc;stop-opacity:1;"
1138   - offset="0"
1139   - id="stop2600" />
1140   - <stop
1141   - style="stop-color:#547299;stop-opacity:1;"
1142   - offset="1"
1143   - id="stop2602" />
1144   - </linearGradient>
1145   - <linearGradient
1146   - inkscape:collect="always"
1147   - id="linearGradient4404">
1148   - <stop
1149   - style="stop-color:#ffffff;stop-opacity:1;"
1150   - offset="0"
1151   - id="stop4406" />
1152   - <stop
1153   - style="stop-color:#ffffff;stop-opacity:0;"
1154   - offset="1"
1155   - id="stop4408" />
1156   - </linearGradient>
1157   - <linearGradient
1158   - id="linearGradient5897">
1159   - <stop
1160   - style="stop-color:#000000;stop-opacity:0.0000000;"
1161   - offset="0.0000000"
1162   - id="stop5899" />
1163   - <stop
1164   - id="stop5905"
1165   - offset="0.50000000"
1166   - style="stop-color:#000000;stop-opacity:0.56701028;" />
1167   - <stop
1168   - style="stop-color:#000000;stop-opacity:0.0000000;"
1169   - offset="1.0000000"
1170   - id="stop5901" />
1171   - </linearGradient>
1172   - <linearGradient
1173   - id="linearGradient2590">
1174   - <stop
1175   - style="stop-color:#ffffff;stop-opacity:1;"
1176   - offset="0"
1177   - id="stop2592" />
1178   - <stop
1179   - style="stop-color:#ffffff;stop-opacity:0;"
1180   - offset="1"
1181   - id="stop2594" />
1182   - </linearGradient>
1183   - <linearGradient
1184   - inkscape:collect="always"
1185   - id="linearGradient2906">
1186   - <stop
1187   - style="stop-color:#ffffff;stop-opacity:1;"
1188   - offset="0"
1189   - id="stop2908" />
1190   - <stop
1191   - style="stop-color:#ffffff;stop-opacity:0;"
1192   - offset="1"
1193   - id="stop2910" />
1194   - </linearGradient>
1195   - <linearGradient
1196   - inkscape:collect="always"
1197   - xlink:href="#linearGradient2896"
1198   - id="linearGradient2902"
1199   - x1="14.584077"
1200   - y1="1.6392649"
1201   - x2="14.552828"
1202   - y2="2.4912448"
1203   - gradientUnits="userSpaceOnUse"
1204   - gradientTransform="matrix(1,0,0,1.594214,0,-0.790249)" />
1205   - <linearGradient
1206   - inkscape:collect="always"
1207   - id="linearGradient2896">
1208   - <stop
1209   - style="stop-color:#000000;stop-opacity:1;"
1210   - offset="0"
1211   - id="stop2898" />
1212   - <stop
1213   - style="stop-color:#000000;stop-opacity:0;"
1214   - offset="1"
1215   - id="stop2900" />
1216   - </linearGradient>
1217   - <linearGradient
1218   - inkscape:collect="always"
1219   - xlink:href="#linearGradient2896"
1220   - id="linearGradient5356"
1221   - gradientUnits="userSpaceOnUse"
1222   - gradientTransform="matrix(0.35541046,-0.09680687,0.16161446,0.54106498,4.9107799,1029.1036)"
1223   - x1="14.584077"
1224   - y1="1.6392649"
1225   - x2="14.552828"
1226   - y2="2.4912448" />
1227   - <linearGradient
1228   - inkscape:collect="always"
1229   - xlink:href="#linearGradient2906"
1230   - id="linearGradient5359"
1231   - gradientUnits="userSpaceOnUse"
1232   - gradientTransform="matrix(0.35541046,-0.09680687,0.12011148,0.40211819,4.9170956,1029.1248)"
1233   - x1="13.354311"
1234   - y1="1.4866425"
1235   - x2="14.075844"
1236   - y2="2.4017651" />
1237   - <linearGradient
1238   - inkscape:collect="always"
1239   - xlink:href="#linearGradient2590"
1240   - id="linearGradient5362"
1241   - gradientUnits="userSpaceOnUse"
1242   - gradientTransform="matrix(0.46898152,-0.12774141,0.12979691,0.43454379,2.9741905,1030.0125)"
1243   - x1="19.970377"
1244   - y1="6.1167107"
1245   - x2="19.970377"
1246   - y2="2.53125" />
1247   - <linearGradient
1248   - inkscape:collect="always"
1249   - xlink:href="#linearGradient5897"
1250   - id="linearGradient5365"
1251   - gradientUnits="userSpaceOnUse"
1252   - gradientTransform="matrix(0.48606741,0,0,0.75585752,-291.56104,989.60553)"
1253   - x1="19"
1254   - y1="9.7738247"
1255   - x2="19"
1256   - y2="15.635596" />
1257   - <linearGradient
1258   - inkscape:collect="always"
1259   - xlink:href="#linearGradient4404"
1260   - id="linearGradient5368"
1261   - gradientUnits="userSpaceOnUse"
1262   - gradientTransform="matrix(-0.46898152,0.12774141,0.1380797,0.46227355,19.308685,1025.339)"
1263   - x1="16.8125"
1264   - y1="1.875"
1265   - x2="16.8125"
1266   - y2="4.71875" />
1267   - <linearGradient
1268   - inkscape:collect="always"
1269   - xlink:href="#linearGradient2598"
1270   - id="linearGradient5371"
1271   - gradientUnits="userSpaceOnUse"
1272   - gradientTransform="matrix(0.46898152,-0.12774141,0.13168827,0.44087584,3.7514528,1029.219)"
1273   - x1="18.431311"
1274   - y1="19.119474"
1275   - x2="18.402472"
1276   - y2="4.2702327" />
1277   - <linearGradient
1278   - inkscape:collect="always"
1279   - xlink:href="#linearGradient5866"
1280   - id="linearGradient5374"
1281   - gradientUnits="userSpaceOnUse"
1282   - gradientTransform="matrix(0.43511303,-0.11851629,0.12998141,0.43516148,5.1497806,1029.4257)"
1283   - x1="19.452349"
1284   - y1="13.174174"
1285   - x2="19.685436"
1286   - y2="27.095339" />
1287   - <radialGradient
1288   - inkscape:collect="always"
1289   - xlink:href="#linearGradient15662"
1290   - id="radialGradient5394"
1291   - gradientUnits="userSpaceOnUse"
1292   - gradientTransform="matrix(0.35842521,0,0,0.36658484,-288.74498,994.99084)"
1293   - cx="8.1435566"
1294   - cy="7.2678967"
1295   - fx="8.1435566"
1296   - fy="7.2678967"
1297   - r="38.158695" />
1298   - <radialGradient
1299   - inkscape:collect="always"
1300   - xlink:href="#linearGradient259"
1301   - id="radialGradient5397"
1302   - gradientUnits="userSpaceOnUse"
1303   - gradientTransform="matrix(0.353806,0,0,0.37006743,-289.95036,994.73776)"
1304   - cx="33.966679"
1305   - cy="35.736916"
1306   - fx="33.966679"
1307   - fy="35.736916"
1308   - r="86.70845" />
1309   - <radialGradient
1310   - inkscape:collect="always"
1311   - xlink:href="#linearGradient269"
1312   - id="radialGradient5399"
1313   - gradientUnits="userSpaceOnUse"
1314   - gradientTransform="matrix(0.35667183,0,0,0.36709384,-288.71505,994.96754)"
1315   - cx="8.824419"
1316   - cy="3.7561285"
1317   - fx="8.824419"
1318   - fy="3.7561285"
1319   - r="37.751713" />
1320   - <radialGradient
1321   - inkscape:collect="always"
1322   - xlink:href="#linearGradient4163"
1323   - id="radialGradient6182"
1324   - gradientUnits="userSpaceOnUse"
1325   - gradientTransform="matrix(1.297564,0,0,0.884831,-4.2342547,1013.4195)"
1326   - cx="28.089741"
1327   - cy="27.203083"
1328   - fx="28.089741"
1329   - fy="27.203083"
1330   - r="13.565360" />
1331   - <radialGradient
1332   - inkscape:collect="always"
1333   - xlink:href="#linearGradient3816"
1334   - id="radialGradient6184"
1335   - gradientUnits="userSpaceOnUse"
1336   - cx="31.112698"
1337   - cy="19.008621"
1338   - fx="31.112698"
1339   - fy="19.008621"
1340   - r="8.6620579" />
1341   - <radialGradient
1342   - inkscape:collect="always"
1343   - xlink:href="#linearGradient3800"
1344   - id="radialGradient6186"
1345   - gradientUnits="userSpaceOnUse"
1346   - gradientTransform="matrix(0.787998,0,0,0.787998,6.221198,3.617627)"
1347   - cx="29.344931"
1348   - cy="17.064077"
1349   - fx="29.344931"
1350   - fy="17.064077"
1351   - r="9.1620579" />
1352   - <radialGradient
1353   - inkscape:collect="always"
1354   - xlink:href="#linearGradient3816"
1355   - id="radialGradient6197"
1356   - gradientUnits="userSpaceOnUse"
1357   - cx="31.112698"
1358   - cy="19.008621"
1359   - fx="31.112698"
1360   - fy="19.008621"
1361   - r="8.6620579" />
1362   - <radialGradient
1363   - inkscape:collect="always"
1364   - xlink:href="#linearGradient4163"
1365   - id="radialGradient6199"
1366   - gradientUnits="userSpaceOnUse"
1367   - gradientTransform="matrix(1.297564,0,0,0.884831,-4.2342547,1013.4195)"
1368   - cx="28.089741"
1369   - cy="27.203083"
1370   - fx="28.089741"
1371   - fy="27.203083"
1372   - r="13.565360" />
1373   - <radialGradient
1374   - inkscape:collect="always"
1375   - xlink:href="#linearGradient3816"
1376   - id="radialGradient6201"
1377   - gradientUnits="userSpaceOnUse"
1378   - cx="31.112698"
1379   - cy="19.008621"
1380   - fx="31.112698"
1381   - fy="19.008621"
1382   - r="8.6620579" />
1383   - <radialGradient
1384   - inkscape:collect="always"
1385   - xlink:href="#linearGradient3800"
1386   - id="radialGradient6203"
1387   - gradientUnits="userSpaceOnUse"
1388   - gradientTransform="matrix(0.787998,0,0,0.787998,6.221198,3.617627)"
1389   - cx="29.344931"
1390   - cy="17.064077"
1391   - fx="29.344931"
1392   - fy="17.064077"
1393   - r="9.1620579" />
1394   - <radialGradient
1395   - inkscape:collect="always"
1396   - xlink:href="#linearGradient3816"
1397   - id="radialGradient6242"
1398   - gradientUnits="userSpaceOnUse"
1399   - cx="31.112698"
1400   - cy="19.008621"
1401   - fx="31.112698"
1402   - fy="19.008621"
1403   - r="8.6620579" />
1404   - <radialGradient
1405   - inkscape:collect="always"
1406   - xlink:href="#linearGradient4344"
1407   - id="radialGradient6244"
1408   - gradientUnits="userSpaceOnUse"
1409   - gradientTransform="matrix(1,0,0,0.681917,-1.7093807,1010.8792)"
1410   - cx="16.214741"
1411   - cy="19.836468"
1412   - fx="16.214741"
1413   - fy="19.836468"
1414   - r="13.565360" />
1415   - <radialGradient
1416   - inkscape:collect="always"
1417   - xlink:href="#linearGradient3816"
1418   - id="radialGradient6246"
1419   - gradientUnits="userSpaceOnUse"
1420   - cx="31.112698"
1421   - cy="19.008621"
1422   - fx="31.112698"
1423   - fy="19.008621"
1424   - r="8.6620579" />
1425   - <radialGradient
1426   - inkscape:collect="always"
1427   - xlink:href="#linearGradient4338"
1428   - id="radialGradient6248"
1429   - gradientUnits="userSpaceOnUse"
1430   - gradientTransform="matrix(0.787998,0,0,0.787998,6.221198,3.617627)"
1431   - cx="29.344931"
1432   - cy="17.064077"
1433   - fx="29.344931"
1434   - fy="17.064077"
1435   - r="9.1620579" />
1436   - <linearGradient
1437   - inkscape:collect="always"
1438   - xlink:href="#linearGradient3824"
1439   - id="linearGradient6250"
1440   - gradientUnits="userSpaceOnUse"
1441   - gradientTransform="translate(-14.127271,995.6454)"
1442   - x1="30.935921"
1443   - y1="29.553486"
1444   - x2="30.935921"
1445   - y2="35.803486" />
1446   - <linearGradient
1447   - inkscape:collect="always"
1448   - xlink:href="#linearGradient4356"
1449   - id="linearGradient6252"
1450   - gradientUnits="userSpaceOnUse"
1451   - gradientTransform="matrix(0.95236899,-0.304949,0.304949,0.95236899,-24.109161,1001.0625)"
1452   - x1="20.661695"
1453   - y1="35.817974"
1454   - x2="22.626925"
1455   - y2="36.217758" />
1456   - <linearGradient
1457   - inkscape:collect="always"
1458   - xlink:href="#linearGradient4356"
1459   - id="linearGradient6254"
1460   - gradientUnits="userSpaceOnUse"
1461   - gradientTransform="matrix(-0.977685,0.210075,0.210075,0.977685,40.096379,991.52674)"
1462   - x1="22.686766"
1463   - y1="36.390400"
1464   - x2="21.408455"
1465   - y2="35.739632" />
1466   - <radialGradient
1467   - inkscape:collect="always"
1468   - xlink:href="#linearGradient259"
1469   - id="radialGradient6256"
1470   - gradientUnits="userSpaceOnUse"
1471   - gradientTransform="matrix(0.353806,0,0,0.37006743,-289.95036,994.73776)"
1472   - cx="33.966679"
1473   - cy="35.736916"
1474   - fx="33.966679"
1475   - fy="35.736916"
1476   - r="86.70845" />
1477   - <radialGradient
1478   - inkscape:collect="always"
1479   - xlink:href="#linearGradient269"
1480   - id="radialGradient6258"
1481   - gradientUnits="userSpaceOnUse"
1482   - gradientTransform="matrix(0.35667183,0,0,0.36709384,-288.71505,994.96754)"
1483   - cx="8.824419"
1484   - cy="3.7561285"
1485   - fx="8.824419"
1486   - fy="3.7561285"
1487   - r="37.751713" />
1488   - <radialGradient
1489   - inkscape:collect="always"
1490   - xlink:href="#linearGradient15662"
1491   - id="radialGradient6260"
1492   - gradientUnits="userSpaceOnUse"
1493   - gradientTransform="matrix(0.35842521,0,0,0.36658484,-288.74498,994.99084)"
1494   - cx="8.1435566"
1495   - cy="7.2678967"
1496   - fx="8.1435566"
1497   - fy="7.2678967"
1498   - r="38.158695" />
1499   - <linearGradient
1500   - inkscape:collect="always"
1501   - xlink:href="#linearGradient2906"
1502   - id="linearGradient6262"
1503   - gradientUnits="userSpaceOnUse"
1504   - gradientTransform="matrix(0.35541046,-0.09680687,0.12011148,0.40211819,4.9170956,1029.1248)"
1505   - x1="13.354311"
1506   - y1="1.4866425"
1507   - x2="14.075844"
1508   - y2="2.4017651" />
1509   - <linearGradient
1510   - inkscape:collect="always"
1511   - xlink:href="#linearGradient2896"
1512   - id="linearGradient6264"
1513   - gradientUnits="userSpaceOnUse"
1514   - gradientTransform="matrix(0.35541046,-0.09680687,0.16161446,0.54106498,4.9107799,1029.1036)"
1515   - x1="14.584077"
1516   - y1="1.6392649"
1517   - x2="14.552828"
1518   - y2="2.4912448" />
1519   - <radialGradient
1520   - inkscape:collect="always"
1521   - xlink:href="#linearGradient4338"
1522   - id="radialGradient6266"
1523   - gradientUnits="userSpaceOnUse"
1524   - gradientTransform="matrix(0.787998,0,0,0.787998,6.221198,3.617627)"
1525   - cx="29.344931"
1526   - cy="17.064077"
1527   - fx="29.344931"
1528   - fy="17.064077"
1529   - r="9.1620579" />
1530   - <radialGradient
1531   - inkscape:collect="always"
1532   - xlink:href="#linearGradient4163"
1533   - id="radialGradient6275"
1534   - gradientUnits="userSpaceOnUse"
1535   - gradientTransform="matrix(1.297564,0,0,0.884831,-4.2342547,1013.4195)"
1536   - cx="28.089741"
1537   - cy="27.203083"
1538   - fx="28.089741"
1539   - fy="27.203083"
1540   - r="13.565360" />
1541   - <radialGradient
1542   - inkscape:collect="always"
1543   - xlink:href="#linearGradient3816"
1544   - id="radialGradient6277"
1545   - gradientUnits="userSpaceOnUse"
1546   - cx="31.112698"
1547   - cy="19.008621"
1548   - fx="31.112698"
1549   - fy="19.008621"
1550   - r="8.6620579" />
1551   - <radialGradient
1552   - inkscape:collect="always"
1553   - xlink:href="#linearGradient3800"
1554   - id="radialGradient6279"
1555   - gradientUnits="userSpaceOnUse"
1556   - gradientTransform="matrix(0.787998,0,0,0.787998,6.221198,3.617627)"
1557   - cx="29.344931"
1558   - cy="17.064077"
1559   - fx="29.344931"
1560   - fy="17.064077"
1561   - r="9.1620579" />
1562   - <radialGradient
1563   - inkscape:collect="always"
1564   - xlink:href="#linearGradient4163"
1565   - id="radialGradient6286"
1566   - gradientUnits="userSpaceOnUse"
1567   - gradientTransform="matrix(1.297564,0,0,0.884831,-6.8592547,1012.4195)"
1568   - cx="28.089741"
1569   - cy="27.203083"
1570   - fx="28.089741"
1571   - fy="27.203083"
1572   - r="13.565360" />
1573   - <radialGradient
1574   - inkscape:collect="always"
1575   - xlink:href="#linearGradient3800"
1576   - id="radialGradient6300"
1577   - gradientUnits="userSpaceOnUse"
1578   - gradientTransform="matrix(0.787998,0,0,0.787998,6.221198,3.617627)"
1579   - cx="29.344931"
1580   - cy="17.064077"
1581   - fx="29.344931"
1582   - fy="17.064077"
1583   - r="9.1620579" />
1584   - </defs>
1585   - <sodipodi:namedview
1586   - id="base"
1587   - pagecolor="#ffffff"
1588   - bordercolor="#666666"
1589   - borderopacity="1.0"
1590   - inkscape:pageopacity="0.0"
1591   - inkscape:pageshadow="2"
1592   - inkscape:zoom="15.729167"
1593   - inkscape:cx="24"
1594   - inkscape:cy="23.872848"
1595   - inkscape:document-units="px"
1596   - inkscape:current-layer="layer1"
1597   - showgrid="false"
1598   - inkscape:window-width="1280"
1599   - inkscape:window-height="975"
1600   - inkscape:window-x="0"
1601   - inkscape:window-y="0"
1602   - inkscape:window-maximized="1" />
1603   - <metadata
1604   - id="metadata7">
1605   - <rdf:RDF>
1606   - <cc:Work
1607   - rdf:about="">
1608   - <dc:format>image/svg+xml</dc:format>
1609   - <dc:type
1610   - rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
1611   - <dc:title></dc:title>
1612   - </cc:Work>
1613   - </rdf:RDF>
1614   - </metadata>
1615   - <g
1616   - inkscape:label="Camada 1"
1617   - inkscape:groupmode="layer"
1618   - id="layer1"
1619   - transform="translate(0,-1004.3622)">
1620   - <g
1621   - id="g6205"
1622   - transform="translate(-0.25,-0.625)">
1623   - <path
1624   - transform="matrix(1.77551,0,0,0.959183,-39.087601,1014.4169)"
1625   - sodipodi:type="arc"
1626   - style="color:#000000;fill:url(#radialGradient6242);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;marker:none;visibility:visible;display:inline;overflow:visible"
1627   - id="path4177"
1628   - sodipodi:cx="31.112698"
1629   - sodipodi:cy="19.008621"
1630   - sodipodi:rx="8.6620579"
1631   - sodipodi:ry="8.6620579"
1632   - d="m 39.774755,19.008621 c 0,4.783923 -3.878135,8.662058 -8.662057,8.662058 -4.783923,0 -8.662058,-3.878135 -8.662058,-8.662058 0,-4.783922 3.878135,-8.662058 8.662058,-8.662058 4.783922,0 8.662057,3.878136 8.662057,8.662058 z" />
1633   - <path
1634   - style="color:#000000;fill:url(#radialGradient6244);fill-opacity:1;fill-rule:evenodd;stroke:#404604;stroke-width:1px;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible"
1635   - d="m 11.151793,1037.2814 10.606602,0 c 3.005204,0 5.980484,-1.1019 7.071067,-4.2426 1.035639,-2.9825 0.176777,-8.6621 -6.540737,-13.2583 l -12.5511457,0 c -6.717514,4.2427 -7.556991,10.0449 -6.010407,13.4351 1.575595,3.4538 4.24264,4.0658 7.4246207,4.0658 z"
1636   - id="path2329"
1637   - sodipodi:nodetypes="cczcczc" />
1638   - <path
1639   - sodipodi:nodetypes="cccc"
1640   - id="path3812"
1641   - d="m 16.222986,1022.4322 c 0,0 -2.151323,1.6603 -1.965991,3.6605 -2.041226,-1.8008 -2.099873,-5.2515 -2.099873,-5.2515 l 4.065864,1.591 z"
1642   - style="color:#000000;fill:#9db029;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;marker:none;visibility:visible;display:inline;overflow:visible" />
1643   - <path
1644   - sodipodi:nodetypes="cczcczc"
1645   - id="path3838"
1646   - d="m 11.257258,1036.2172 10.31667,0 c 2.639723,0 5.253161,-0.9679 6.211112,-3.7266 0.909689,-2.6198 -0.09472,-7.6086 -5.995279,-11.6459 l -11.524725,0 c -5.9005567,3.7267 -6.8879397,8.8233 -5.5294457,11.8011 1.383978,3.0338 3.726667,3.5714 6.5216677,3.5714 z"
1647   - style="opacity:0.21518986;color:#000000;fill:none;stroke:#ffffff;stroke-width:0.99999976px;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible" />
1648   - <path
1649   - style="color:#000000;fill:#9db029;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;marker:none;visibility:visible;display:inline;overflow:visible"
1650   - d="m 17.201414,1022.4322 c 0,0 2.151323,1.6603 1.965991,3.6605 2.041226,-1.8008 2.099873,-5.2515 2.099873,-5.2515 l -4.065864,1.591 z"
1651   - id="path3810"
1652   - sodipodi:nodetypes="cccc" />
1653   - <path
1654   - d="m 39.774755,19.008621 c 0,4.783923 -3.878135,8.662058 -8.662057,8.662058 -4.783923,0 -8.662058,-3.878135 -8.662058,-8.662058 0,-4.783922 3.878135,-8.662058 8.662058,-8.662058 4.783922,0 8.662057,3.878136 8.662057,8.662058 z"
1655   - sodipodi:ry="8.6620579"
1656   - sodipodi:rx="8.6620579"
1657   - sodipodi:cy="19.008621"
1658   - sodipodi:cx="31.112698"
1659   - id="path3814"
1660   - style="color:#000000;fill:url(#radialGradient6246);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;marker:none;visibility:visible;display:inline;overflow:visible"
1661   - sodipodi:type="arc"
1662   - transform="translate(-14.959381,999.1454)" />
1663   - <g
1664   - id="g4290">
1665   - <path
1666   - transform="translate(-14.834381,995.6454)"
1667   - d="m 39.774755,19.008621 c 0,4.783923 -3.878135,8.662058 -8.662057,8.662058 -4.783923,0 -8.662058,-3.878135 -8.662058,-8.662058 0,-4.783922 3.878135,-8.662058 8.662058,-8.662058 4.783922,0 8.662057,3.878136 8.662057,8.662058 z"
1668   - sodipodi:ry="8.6620579"
1669   - sodipodi:rx="8.6620579"
1670   - sodipodi:cy="19.008621"
1671   - sodipodi:cx="31.112698"
1672   - id="path2327"
1673   - style="color:#000000;fill:url(#radialGradient6248);fill-opacity:1;fill-rule:evenodd;stroke:#6f4709;stroke-width:1px;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible"
1674   - sodipodi:type="arc" />
1675   - <path
1676   - transform="matrix(0.877095,0,0,0.877095,-11.010454,997.98167)"
1677   - sodipodi:type="arc"
1678   - style="opacity:0.12658231;color:#000000;fill:none;stroke:#ffffff;stroke-width:1.14012825px;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible"
1679   - id="path3834"
1680   - sodipodi:cx="31.112698"
1681   - sodipodi:cy="19.008621"
1682   - sodipodi:rx="8.6620579"
1683   - sodipodi:ry="8.6620579"
1684   - d="m 39.774755,19.008621 c 0,4.783923 -3.878135,8.662058 -8.662057,8.662058 -4.783923,0 -8.662058,-3.878135 -8.662058,-8.662058 0,-4.783922 3.878135,-8.662058 8.662058,-8.662058 4.783922,0 8.662057,3.878136 8.662057,8.662058 z" />
1685   - </g>
1686   - <path
1687   - style="color:#000000;fill:url(#linearGradient6250);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;marker:none;visibility:visible;display:inline;overflow:visible"
1688   - d="m 20.874513,1029.68 4.24264,0 -2.474873,-2.2981 -0.53033,0.7072 -0.530331,-0.5304 -0.707106,2.1213 z"
1689   - id="path4173" />
1690   - <path
1691   - style="opacity:0.22784807;color:#000000;fill:url(#linearGradient6252);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;marker:none;visibility:visible;display:inline;overflow:visible"
1692   - d="m 10.187502,1031.9428 c -1.3569797,0.1098 -2.4699596,-0.7834 -2.4699596,-0.7834 -1.1826865,-3.9834 -0.053718,-7.9677 -0.053718,-7.9677 0,0 1.0230233,6.7272 2.5236776,8.7511 z"
1693   - id="path4368"
1694   - sodipodi:nodetypes="cccc" />
1695   - <path
1696   - sodipodi:nodetypes="cccc"
1697   - id="path4370"
1698   - d="m 25.74428,1035.3888 c 1.231251,-0.581 1.80438,-2.0023 1.80438,-2.0023 -0.95912,-4.043 -3.976149,-6.8428 -3.976149,-6.8428 0,0 2.464593,6.3426 2.171769,8.8451 z"
1699   - style="opacity:0.22784807;color:#000000;fill:url(#linearGradient6254);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;marker:none;visibility:visible;display:inline;overflow:visible" />
1700   - <rect
1701   - transform="matrix(0.96484871,-0.26280595,0.28620224,0.95816923,0,0)"
1702   - rx="0.42326209"
1703   - ry="0.40700412"
1704   - y="996.03387"
1705   - x="-287.51788"
1706   - height="14.54507"
1707   - width="12.846511"
1708   - id="rect15391"
1709   - style="color:#000000;fill:url(#radialGradient6256);fill-opacity:1;fill-rule:nonzero;stroke:url(#radialGradient6258);stroke-width:1.00014806;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:block;overflow:visible" />
1710   - <rect
1711   - transform="matrix(0.96484871,-0.26280595,0.28620224,0.95816923,0,0)"
1712   - rx="0.054903328"
1713   - ry="0.052794438"
1714   - y="996.38843"
1715   - x="-287.14862"
1716   - height="13.824175"
1717   - width="12.132636"
1718   - id="rect15660"
1719   - style="color:#000000;fill:none;stroke:url(#radialGradient6260);stroke-width:0.36121485;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dashoffset:0;marker:none;visibility:visible;display:block;overflow:visible" />
1720   - <path
1721   - sodipodi:nodetypes="cc"
1722   - id="path15672"
1723   - d="m 9.6371294,1030.1227 3.8428056,12.8652"
1724   - style="fill:none;stroke:#000000;stroke-width:0.35702735;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.01754384;display:inline" />
1725   - <path
1726   - sodipodi:nodetypes="cc"
1727   - id="path15674"
1728   - d="m 9.9424741,1029.8656 3.8540689,12.903"
1729   - style="fill:none;stroke:#ffffff;stroke-width:0.36116153;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.20467828;display:inline" />
1730   - <g
1731   - transform="matrix(0.35541046,-0.09680687,0.10137564,0.33939294,4.9908869,1029.3718)"
1732   - id="g2188">
1733   - <rect
1734   - ry="0.065390877"
1735   - rx="0.13778631"
1736   - y="9"
1737   - x="15.999994"
1738   - height="1"
1739   - width="20.000006"
1740   - id="rect15686"
1741   - style="color:#000000;fill:#9b9b9b;fill-opacity:0.54970757;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:block;overflow:visible" />
1742   - <rect
1743   - ry="0.065390877"
1744   - rx="0.13778631"
1745   - y="11"
1746   - x="15.999994"
1747   - height="1"
1748   - width="20.000006"
1749   - id="rect15688"
1750   - style="color:#000000;fill:#9b9b9b;fill-opacity:0.54970757;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:block;overflow:visible" />
1751   - <rect
1752   - ry="0.065390877"
1753   - rx="0.13778631"
1754   - y="13"
1755   - x="15.999994"
1756   - height="1"
1757   - width="20.000006"
1758   - id="rect15690"
1759   - style="color:#000000;fill:#9b9b9b;fill-opacity:0.54970757;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:block;overflow:visible" />
1760   - <rect
1761   - ry="0.065390877"
1762   - rx="0.13778631"
1763   - y="15"
1764   - x="15.999994"
1765   - height="1"
1766   - width="20.000006"
1767   - id="rect15692"
1768   - style="color:#000000;fill:#9b9b9b;fill-opacity:0.54970757;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:block;overflow:visible" />
1769   - <rect
1770   - ry="0.065390877"
1771   - rx="0.13778631"
1772   - y="17"
1773   - x="15.999994"
1774   - height="1"
1775   - width="20.000006"
1776   - id="rect15694"
1777   - style="color:#000000;fill:#9b9b9b;fill-opacity:0.54970757;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:block;overflow:visible" />
1778   - <rect
1779   - ry="0.065390877"
1780   - rx="0.13778631"
1781   - y="19"
1782   - x="15.999994"
1783   - height="1"
1784   - width="20.000006"
1785   - id="rect15696"
1786   - style="color:#000000;fill:#9b9b9b;fill-opacity:0.54970757;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:block;overflow:visible" />
1787   - <rect
1788   - ry="0.065390877"
1789   - rx="0.13778631"
1790   - y="21"
1791   - x="15.999994"
1792   - height="1"
1793   - width="20.000006"
1794   - id="rect15698"
1795   - style="color:#000000;fill:#9b9b9b;fill-opacity:0.54970757;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:block;overflow:visible" />
1796   - <rect
1797   - ry="0.065390877"
1798   - rx="0.13778631"
1799   - y="23"
1800   - x="15.999994"
1801   - height="1"
1802   - width="20.000006"
1803   - id="rect15700"
1804   - style="color:#000000;fill:#9b9b9b;fill-opacity:0.54970757;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:block;overflow:visible" />
1805   - <rect
1806   - ry="0.065390877"
1807   - rx="0.062003858"
1808   - y="25"
1809   - x="15.999986"
1810   - height="1"
1811   - width="9.0000057"
1812   - id="rect15732"
1813   - style="color:#000000;fill:#9b9b9b;fill-opacity:0.54970757;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:block;overflow:visible" />
1814   - <rect
1815   - ry="0.065390877"
1816   - rx="0.13778631"
1817   - y="29"
1818   - x="15.999986"
1819   - height="1"
1820   - width="20.000006"
1821   - id="rect15736"
1822   - style="color:#000000;fill:#9b9b9b;fill-opacity:0.54970757;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:block;overflow:visible" />
1823   - <rect
1824   - ry="0.065390877"
1825   - rx="0.13778631"
1826   - y="31"
1827   - x="15.999986"
1828   - height="1"
1829   - width="20.000006"
1830   - id="rect15738"
1831   - style="color:#000000;fill:#9b9b9b;fill-opacity:0.54970757;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:block;overflow:visible" />
1832   - <rect
1833   - ry="0.065390877"
1834   - rx="0.13778631"
1835   - y="33"
1836   - x="15.999986"
1837   - height="1"
1838   - width="20.000006"
1839   - id="rect15740"
1840   - style="color:#000000;fill:#9b9b9b;fill-opacity:0.54970757;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:block;overflow:visible" />
1841   - <rect
1842   - ry="0.065390877"
1843   - rx="0.13778631"
1844   - y="35"
1845   - x="15.999986"
1846   - height="1"
1847   - width="20.000006"
1848   - id="rect15742"
1849   - style="color:#000000;fill:#9b9b9b;fill-opacity:0.54970757;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:block;overflow:visible" />
1850   - <rect
1851   - ry="0.065390877"
1852   - rx="0.096450485"
1853   - y="37"
1854   - x="15.999986"
1855   - height="1"
1856   - width="14.000014"
1857   - id="rect15744"
1858   - style="color:#000000;fill:#9b9b9b;fill-opacity:0.54970757;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:block;overflow:visible" />
1859   - </g>
1860   - <path
1861   - sodipodi:nodetypes="cccc"
1862   - id="path2894"
1863   - d="m 10.77767,1029.241 -0.310195,-0.9816 c -0.7572021,0.2062 -0.5578178,0.8619 -0.459453,1.1912 l 0.769647,-0.2096 z"
1864   - style="opacity:0.48295456;color:#000000;fill:url(#linearGradient6262);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.10533953;marker:none;visibility:visible;display:inline;overflow:visible" />
1865   - <path
1866   - style="opacity:0.35795456;color:#000000;fill:url(#linearGradient6264);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.10533953;marker:none;visibility:visible;display:inline;overflow:visible"
1867   - d="m 10.77767,1029.241 -0.229976,-0.7131 c -0.8149432,0.2286 -0.539672,0.9227 -0.539672,0.9227 l 0.769647,-0.2096 z"
1868   - id="path2904"
1869   - sodipodi:nodetypes="cccc" />
1870   - <path
1871   - transform="matrix(0.41151985,0,0,0.41151985,-5.6291758,1025.7467)"
1872   - d="m 39.774755,19.008621 c 0,4.783923 -3.878135,8.662058 -8.662057,8.662058 -4.783923,0 -8.662058,-3.878135 -8.662058,-8.662058 0,-4.783922 3.878135,-8.662058 8.662058,-8.662058 4.783922,0 8.662057,3.878136 8.662057,8.662058 z"
1873   - sodipodi:ry="8.6620579"
1874   - sodipodi:rx="8.6620579"
1875   - sodipodi:cy="19.008621"
1876   - sodipodi:cx="31.112698"
1877   - id="path4296"
1878   - style="color:#000000;fill:url(#radialGradient6266);fill-opacity:1;fill-rule:evenodd;stroke:#6f4709;stroke-width:2.43001652;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible"
1879   - sodipodi:type="arc" />
1880   - <path
1881   - transform="matrix(0.360942,0,0,0.360942,-4.0555539,1026.7081)"
1882   - sodipodi:type="arc"
1883   - style="opacity:0.12658231;color:#000000;fill:none;stroke:#ffffff;stroke-width:2.77052832;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible"
1884   - id="path4298"
1885   - sodipodi:cx="31.112698"
1886   - sodipodi:cy="19.008621"
1887   - sodipodi:rx="8.6620579"
1888   - sodipodi:ry="8.6620579"
1889   - d="m 39.774755,19.008621 c 0,4.783923 -3.878135,8.662058 -8.662057,8.662058 -4.783923,0 -8.662058,-3.878135 -8.662058,-8.662058 0,-4.783922 3.878135,-8.662058 8.662058,-8.662058 4.783922,0 8.662057,3.878136 8.662057,8.662058 z" />
1890   - </g>
1891   - <path
1892   - transform="matrix(0.42405721,0,0,0.42405721,8.1654039,1030.3792)"
1893   - sodipodi:type="arc"
1894   - style="color:#000000;fill:url(#radialGradient6300);fill-opacity:1;fill-rule:evenodd;stroke:#c17d11;stroke-width:2.35817238;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible"
1895   - id="path6296"
1896   - sodipodi:cx="31.112698"
1897   - sodipodi:cy="19.008621"
1898   - sodipodi:rx="8.6620579"
1899   - sodipodi:ry="8.6620579"
1900   - d="m 39.774755,19.008621 c 0,4.783923 -3.878135,8.662058 -8.662057,8.662058 -4.783923,0 -8.662058,-3.878135 -8.662058,-8.662058 0,-4.783922 3.878135,-8.662058 8.662058,-8.662058 4.783922,0 8.662057,3.878136 8.662057,8.662058 z" />
1901   - <path
1902   - d="m 39.774755,19.008621 c 0,4.783923 -3.878135,8.662058 -8.662057,8.662058 -4.783923,0 -8.662058,-3.878135 -8.662058,-8.662058 0,-4.783922 3.878135,-8.662058 8.662058,-8.662058 4.783922,0 8.662057,3.878136 8.662057,8.662058 z"
1903   - sodipodi:ry="8.6620579"
1904   - sodipodi:rx="8.6620579"
1905   - sodipodi:cy="19.008621"
1906   - sodipodi:cx="31.112698"
1907   - id="path6298"
1908   - style="opacity:0.19620254000000001;color:#000000;fill:none;stroke:#ffffff;stroke-width:2.68861682;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible"
1909   - sodipodi:type="arc"
1910   - transform="matrix(0.37193846,0,0,0.37193846,9.7869677,1031.3699)" />
1911   - <path
1912   - d="m 39.774755,19.008621 c 0,4.783923 -3.878135,8.662058 -8.662057,8.662058 -4.783923,0 -8.662058,-3.878135 -8.662058,-8.662058 0,-4.783922 3.878135,-8.662058 8.662058,-8.662058 4.783922,0 8.662057,3.878136 8.662057,8.662058 z"
1913   - sodipodi:ry="8.6620579"
1914   - sodipodi:rx="8.6620579"
1915   - sodipodi:cy="19.008621"
1916   - sodipodi:cx="31.112698"
1917   - id="path4306"
1918   - style="color:#000000;fill:url(#radialGradient6197);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;marker:none;visibility:visible;display:inline;overflow:visible"
1919   - sodipodi:type="arc"
1920   - transform="matrix(1.77551,0,0,0.583984,-23.12897,1035.6326)" />
1921   - <path
1922   - sodipodi:nodetypes="cczcczc"
1923   - id="path4308"
1924   - d="m 27.485424,1049.115 10.606602,0 c 3.005204,0 5.980484,-1.1019 7.071067,-4.2426 1.035639,-2.9825 0.176777,-8.6621 -6.540737,-13.2583 l -12.551146,0 c -6.717514,4.2427 -7.556991,10.0449 -6.010407,13.4351 1.575595,3.4538 4.24264,4.0658 7.424621,4.0658 z"
1925   - style="color:#000000;fill:url(#radialGradient6286);fill-opacity:1;fill-rule:evenodd;stroke:#204a87;stroke-width:1px;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible" />
1926   - <path
1927   - style="opacity:0.21518986;color:#000000;fill:none;stroke:#ffffff;stroke-width:0.99999976px;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible"
1928   - d="m 27.414112,1048.0729 10.493447,-0.022 c 2.639723,0 5.253161,-0.9679 6.211112,-3.7266 0.909689,-2.6198 -0.09472,-7.6086 -5.995279,-11.6459 l -11.524725,-0.243 c -5.900557,3.7266 -7.04262,8.8232 -5.662029,12.0441 1.380592,3.221 3.395211,3.5714 6.477474,3.5935 z"
1929   - id="path4314"
1930   - sodipodi:nodetypes="cczcczc" />
1931   - <path
1932   - transform="translate(1.3742503,1010.979)"
1933   - sodipodi:type="arc"
1934   - style="color:#000000;fill:url(#radialGradient6277);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;marker:none;visibility:visible;display:inline;overflow:visible"
1935   - id="path4318"
1936   - sodipodi:cx="31.112698"
1937   - sodipodi:cy="19.008621"
1938   - sodipodi:rx="8.6620579"
1939   - sodipodi:ry="8.6620579"
1940   - d="m 39.774755,19.008621 c 0,4.783923 -3.878135,8.662058 -8.662057,8.662058 -4.783923,0 -8.662058,-3.878135 -8.662058,-8.662058 0,-4.783922 3.878135,-8.662058 8.662058,-8.662058 4.783922,0 8.662057,3.878136 8.662057,8.662058 z" />
1941   - <g
1942   - id="g6288">
1943   - <path
1944   - transform="translate(1.4992503,1007.479)"
1945   - sodipodi:type="arc"
1946   - style="color:#000000;fill:url(#radialGradient6279);fill-opacity:1;fill-rule:evenodd;stroke:#c17d11;stroke-width:1px;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible"
1947   - id="path4320"
1948   - sodipodi:cx="31.112698"
1949   - sodipodi:cy="19.008621"
1950   - sodipodi:rx="8.6620579"
1951   - sodipodi:ry="8.6620579"
1952   - d="m 39.774755,19.008621 c 0,4.783923 -3.878135,8.662058 -8.662057,8.662058 -4.783923,0 -8.662058,-3.878135 -8.662058,-8.662058 0,-4.783922 3.878135,-8.662058 8.662058,-8.662058 4.783922,0 8.662057,3.878136 8.662057,8.662058 z" />
1953   - <path
1954   - d="m 39.774755,19.008621 c 0,4.783923 -3.878135,8.662058 -8.662057,8.662058 -4.783923,0 -8.662058,-3.878135 -8.662058,-8.662058 0,-4.783922 3.878135,-8.662058 8.662058,-8.662058 4.783922,0 8.662057,3.878136 8.662057,8.662058 z"
1955   - sodipodi:ry="8.6620579"
1956   - sodipodi:rx="8.6620579"
1957   - sodipodi:cy="19.008621"
1958   - sodipodi:cx="31.112698"
1959   - id="path4322"
1960   - style="opacity:0.19620254;color:#000000;fill:none;stroke:#ffffff;stroke-width:1.14012825px;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible"
1961   - sodipodi:type="arc"
1962   - transform="matrix(0.877095,0,0,0.877095,5.3231773,1009.8153)" />
1963   - </g>
1964   - </g>
1965   -</svg>
plugins/bsc/public/spinner.js
... ... @@ -1,5 +0,0 @@
1   -jQuery('#bsc-plugin-contract-spinner').spinner({
2   - min: 0,
3   - increment: 'fast',
4   - mouseWheel: true,
5   -});
plugins/bsc/public/style.css
... ... @@ -1,182 +0,0 @@
1   -@import url(jquery.ui.spinner/ui.spinner.css);
2   -
3   -.controller-profile_editor a.control-panel-bsc-enterprises {background-image: url(/plugins/bsc/images/manage-bsc-enterprises.png)}
4   -.controller-profile_editor .msie6 a.control-panel-bsc-enterprises {background-image: url(/plugins/bsc/images/manage-bsc-enterprises.gif)}
5   -
6   -.controller-profile_editor a.control-panel-transfer-enterprise-ownership {background-image: url(/plugins/bsc/images/transfer-ownership.png)}
7   -
8   -.ui-spinner-up{
9   - height: 6.5px !important;
10   -}
11   -
12   -.ui-spinner-down{
13   - height: 8.5px !important;
14   -}
15   -
16   -.ui-icon-triangle-1-n {
17   - margin-top: -4px !important;
18   -}
19   -
20   -.ui-icon-triangle-1-s {
21   - margin-left: -1px !important;
22   - margin-top: -3.5px !important;
23   -}
24   -
25   -.icon-menu-bsc {
26   - background-image: url(/plugins/bsc/images/manage-bsc-enterprises-icon.png);
27   -}
28   -
29   -#content .token-input-list {
30   - margin-bottom: 30px;
31   -}
32   -
33   -#bsc-plugin-sorter {
34   - text-align: right;
35   - margin: 3px 0px;
36   -}
37   -
38   -#bsc-plugin-sales-table th,
39   -#bsc-plugin-sales-table td {
40   - border: 1px solid #000;
41   - border-collapse: collapse;
42   - padding: 0px
43   -}
44   -
45   -#content #bsc-plugin-sales-table td .token-input-list{
46   - margin-bottom: 0px;
47   -}
48   -
49   -#bsc-plugin-sales-table {
50   - border: 1px solid #000;
51   - border-collapse: collapse;
52   -}
53   -
54   -#bsc-plugin-sales-table th {
55   - background-color: #cdcdcd;
56   - padding: 0px 10px;
57   -}
58   -
59   -.alternate-colors tr:nth-child(odd),
60   -.alternate-colors tr:nth-child(odd):hover td {
61   - background-color: #f4f4f4;
62   -}
63   -
64   -.alternate-colors tr:nth-child(even),
65   -.alternate-colors tr:nth-child(even):hover td {
66   - background-color: #fff;
67   -}
68   -
69   -#bsc-plugin-sales-table input.error{
70   - background-color: #F8DBDD;
71   - border: 1px solid #f5697c;
72   - margin-left: 2px;
73   -}
74   -
75   -.bsc-plugin-sales-price {
76   - width: 75%;
77   -}
78   -
79   -.bsc-plugin-sales-products-column {
80   - width: 70%;
81   -}
82   -
83   -.bsc-plugin-sales-quantity-column {
84   - width: 10%;
85   - text-align: center;
86   -}
87   -
88   -.bsc-plugin-sales-price-column {
89   - width: 18%;
90   -}
91   -
92   -#bsc-plugin-sales-add-new-row {
93   - padding: 0px 10px;
94   -}
95   -
96   -#bsc-plugin-manage-contracts-table a {
97   - color: #555753;
98   -}
99   -
100   -#bsc-plugin-manage-contracts-table {
101   - border:none;
102   -}
103   -#bsc-plugin-manage-contracts-table td {
104   - padding: 5px 10px;
105   -}
106   -
107   -#bsc-plugin-manage-contracts-table td.links {
108   - text-align: right;
109   -}
110   -
111   -#bsc-plugin-contracts-filter {
112   - float: left;
113   - width: 20%;
114   - height: 100%;
115   -}
116   -
117   -
118   -#bsc-plugin-contracts-results {
119   - float: left;
120   - width: 80%;
121   -}
122   -
123   -#bsc-plugin-contract-total-string,
124   -#bsc-plugin-contract-total {
125   - text-align: right;
126   -}
127   -
128   -.bsc-fields-table {
129   - border: collapse;
130   - width: 49%;
131   -}
132   -
133   -.bsc-fields-table th{
134   - font-size: 14px;
135   - padding: 0px;
136   -}
137   -
138   -.bsc-fields-table td {
139   - border: none;
140   - padding: 0px;
141   -}
142   -
143   -.bsc-fields-table tr:hover td {
144   - background-color: transparent;
145   -}
146   -
147   -.bsc-field-label {
148   - font-weight: bold;
149   -}
150   -
151   -.bsc-full-table {
152   - margin: 3px 0px;
153   -}
154   -
155   -.bsc-plugin-view-contract {
156   - margin-top: 10px;
157   -}
158   -
159   -.bsc-plugin-view-contract td {
160   - padding: 2px 10px !important;
161   -}
162   -
163   -.bsc-plugin-total {
164   - font-weight: bold;
165   -}
166   -
167   -.bsc-plugin-annotation {
168   - background-color: #eeeeec;
169   - margin: 10px 0px;
170   - padding: 5px 10px;
171   - border-radius: 5px;
172   -}
173   -
174   -.bsc-plugin-annotation-title {
175   - font-weight: bold;
176   - font-size: 15px;
177   - margin-bottom: 5px;
178   -}
179   -
180   -.bsc-plugin-annotation-content {
181   - font-style: italic;
182   -}
plugins/bsc/public/validation.js
... ... @@ -1,4 +0,0 @@
1   -jQuery("#bsc-plugin-sales-form").validate({
2   - errorPlacement: function(error, element){element.attr('title', error.text())}
3   -});
4   -
plugins/bsc/test/functional/bsc_plugin_admin_controller_test.rb
... ... @@ -1,81 +0,0 @@
1   -require File.dirname(__FILE__) + '/../../../../test/test_helper'
2   -require File.dirname(__FILE__) + '/../../controllers/bsc_plugin_admin_controller'
3   -
4   -# Re-raise errors caught by the controller.
5   -class BscPluginAdminController; def rescue_action(e) raise e end; end
6   -
7   -class BscPluginAdminControllerTest < ActionController::TestCase
8   -
9   - VALID_CNPJ = '94.132.024/0001-48'
10   -
11   - def setup
12   - @controller = BscPluginAdminController.new
13   - @request = ActionController::TestRequest.new
14   - @response = ActionController::TestResponse.new
15   - user_login = create_admin_user(Environment.default)
16   - login_as(user_login)
17   - @admin = User[user_login].person
18   - e = Environment.default
19   - e.enabled_plugins = ['BscPlugin']
20   - e.save!
21   - end
22   -
23   - attr_accessor :admin
24   -
25   - should 'create a new bsc' do
26   - assert_difference BscPlugin::Bsc, :count, 1 do
27   - post :new, :profile_data => {:business_name => 'Sample Bsc', :identifier => 'sample-bsc', :company_name => 'Sample Bsc Ltda.', :cnpj => VALID_CNPJ}
28   - end
29   -
30   - assert_redirected_to :controller => 'profile_editor', :profile => 'sample-bsc'
31   - end
32   -
33   - should 'not create an invalid bsc' do
34   - assert_difference BscPlugin::Bsc, :count, 0 do
35   - post :new, :profile_data => {:business_name => 'Sample Bsc', :identifier => 'sample-bsc', :company_name => 'Sample Bsc Ltda.', :cnpj => '29837492304'}
36   - end
37   -
38   - assert_response 200
39   - end
40   -
41   - should 'set the current user as the bsc admin' do
42   - name = 'Sample Bsc'
43   - post :new, :profile_data => {:business_name => name, :identifier => 'sample-bsc', :company_name => 'Sample Bsc Ltda.', :cnpj => VALID_CNPJ}
44   - bsc = BscPlugin::Bsc.find_by_name(name)
45   - assert_includes bsc.admins, admin
46   - end
47   -
48   - should 'list correct enterprises on search' do
49   - # Should list if: not validated AND (name matches OR identifier matches) AND not bsc
50   - e1 = Enterprise.create!(:name => 'Sample Enterprise 1', :identifier => 'bli', :validated => false)
51   - e2 = Enterprise.create!(:name => 'Bla', :identifier => 'sample-enterprise-6', :validated => false)
52   - e3 = Enterprise.create!(:name => 'Blo', :identifier => 'blo', :validated => false)
53   - e4 = BscPlugin::Bsc.create!(:business_name => "Sample Bsc", :identifier => 'sample-bsc', :company_name => 'Sample Bsc Ltda.', :cnpj => VALID_CNPJ, :validated => false)
54   - e5 = Enterprise.create!(:name => 'Sample Enterprise 5', :identifier => 'sample-enterprise-5')
55   - e5.validated = true
56   - e5.save!
57   -
58   - get :search_enterprise, :q => 'sampl'
59   -
60   - assert_match /#{e1.name}/, @response.body
61   - assert_match /#{e2.name}/, @response.body
62   - assert_no_match /#{e3.name}/, @response.body
63   - assert_no_match /#{e4.name}/, @response.body
64   - assert_no_match /#{e5.name}/, @response.body
65   - end
66   -
67   - should 'save validations' do
68   - e1 = fast_create(Enterprise, :validated => false)
69   - e2 = fast_create(Enterprise, :validated => false)
70   - e3 = fast_create(Enterprise, :validated => false)
71   -
72   - post :save_validations, :q => "#{e1.id},#{e2.id}"
73   - e1.reload
74   - e2.reload
75   - e3.reload
76   -
77   - assert e1.validated
78   - assert e2.validated
79   - refute e3.validated
80   - end
81   -end
plugins/bsc/test/functional/bsc_plugin_myprofile_controller_test.rb
... ... @@ -1,322 +0,0 @@
1   -require File.dirname(__FILE__) + '/../../../../test/test_helper'
2   -require File.dirname(__FILE__) + '/../../controllers/bsc_plugin_myprofile_controller'
3   -
4   -# Re-raise errors caught by the controller.
5   -class BscPluginMyprofileController; def rescue_action(e) raise e end; end
6   -
7   -class BscPluginMyprofileControllerTest < ActionController::TestCase
8   -
9   - VALID_CNPJ = '94.132.024/0001-48'
10   -
11   - def setup
12   - @controller = BscPluginMyprofileController.new
13   - @request = ActionController::TestRequest.new
14   - @response = ActionController::TestResponse.new
15   - @bsc = BscPlugin::Bsc.create!({:business_name => 'Sample Bsc', :identifier => 'sample-bsc', :company_name => 'Sample Bsc Ltda.', :cnpj => VALID_CNPJ})
16   - @admin = create_user('admin').person
17   - @bsc.add_admin(@admin)
18   - login_as(@admin.user.login)
19   - e = Environment.default
20   - e.enabled_plugins = ['BscPlugin']
21   - e.save!
22   - end
23   -
24   - attr_accessor :admin, :bsc
25   -
26   - should 'list enterprises on search' do
27   - # Should list if match name
28   - e1 = Enterprise.create!(:name => 'sample enterprise 1', :identifier => 'sample-enterprise-1')
29   - # Should be case insensitive
30   - e2 = Enterprise.create!(:name => 'SaMpLe eNtErPrIsE 2', :identifier => 'sample-enterprise-2')
31   - # Should not list if don't match name
32   - e3 = Enterprise.create!(:name => 'blo', :identifier => 'blo')
33   - # Should not list if is has a bsc
34   - e4 = Enterprise.create!(:name => 'sample enterprise 4', :identifier => 'sample-enterprise-4', :bsc => bsc)
35   - # Should not list if is enabled
36   - e5 = Enterprise.create!(:name => 'sample enterprise 5', :identifier => 'sample-enterprise-5', :enabled => true)
37   - BscPlugin::AssociateEnterprise.create!(:requestor => admin, :target => e5, :bsc => bsc)
38   - # Should search by identifier
39   - e6 = Enterprise.create!(:name => 'Bla', :identifier => 'sample-enterprise-6')
40   -
41   - get :search_enterprise, :profile => bsc.identifier, :q => 'sampl'
42   -
43   - assert_match /#{e1.name}/, @response.body
44   - assert_match /#{e2.name}/, @response.body
45   - assert_no_match /#{e3.name}/, @response.body
46   - assert_no_match /#{e4.name}/, @response.body
47   - assert_no_match /#{e5.name}/, @response.body
48   - assert_no_match /#{bsc.name}/, @response.body
49   - assert_match /#{e6.name}/, @response.body
50   - end
51   -
52   - should 'do not list profiles template on search' do
53   - e1 = Enterprise.create!(:name => 'Sample Enterprise 1', :identifier => 'sample-enterprise-1')
54   - e2 = Enterprise.create!(:name => 'Sample Enterprise 2', :identifier => 'sample-enterprise-2')
55   - t1 = Enterprise.create!(:name => 'Enterprise template', :identifier => 'enterprise_template')
56   - t2 = Enterprise.create!(:name => 'Inactive enterprise template', :identifier => 'inactive_enterprise_template')
57   -
58   - get :search_enterprise, :profile => bsc.identifier, :q => 'ent'
59   -
60   - assert_no_match /#{t1.name}/, @response.body
61   - assert_no_match /#{t2.name}/, @response.body
62   - end
63   -
64   - should 'save associations' do
65   - e1 = fast_create(Enterprise, :enabled => false)
66   - e2 = fast_create(Enterprise, :enabled => false)
67   -
68   - post :save_associations, :profile => bsc.identifier, :q => "#{e1.id},#{e2.id}"
69   - e1.reload
70   - e2.reload
71   - assert_equal e1.bsc, bsc
72   - assert_equal e2.bsc, bsc
73   -
74   - post :save_associations, :profile => bsc.identifier, :q => "#{e1.id}"
75   - e1.reload
76   - e2.reload
77   - assert_equal e1.bsc, bsc
78   - assert_not_equal e2.bsc, bsc
79   - end
80   -
81   - should 'create a task to the enabled enterprise instead of associating it' do
82   - e = fast_create(Enterprise, :enabled => true)
83   -
84   - assert_difference BscPlugin::AssociateEnterprise, :count, 1 do
85   - post :save_associations, :profile => bsc.identifier, :q => "#{e.id}"
86   - bsc.reload
87   - assert_not_includes bsc.enterprises, e
88   - end
89   - end
90   -
91   - should 'transfer ownership' do
92   - p1 = create_user('p1').person
93   - p2 = create_user('p2').person
94   - p3 = create_user('p3').person
95   -
96   - role = Profile::Roles.admin(bsc.environment.id)
97   -
98   - bsc.add_admin(p1)
99   - bsc.add_admin(p2)
100   -
101   - post :transfer_ownership, :profile => bsc.identifier, 'q_'+role.key => "#{p3.id}"
102   -
103   - assert_response :redirect
104   -
105   - assert_not_includes bsc.admins, p1
106   - assert_not_includes bsc.admins, p2
107   - assert_includes bsc.admins, p3
108   - end
109   -
110   - should 'create enterprise' do
111   - assert_difference Enterprise, :count, 1 do
112   - post :create_enterprise, :profile => bsc.identifier, :create_enterprise => {:name => 'Test Bsc', :identifier => 'test-bsc'}
113   - end
114   -
115   - enterprise = Enterprise.find_by_identifier('test-bsc')
116   -
117   - assert_equal true, enterprise.enabled
118   - assert_equal false, enterprise.validated
119   - assert_equal enterprise.bsc, bsc
120   - end
121   -
122   - should 'fecth contracts filtered by status' do
123   - contract0 = BscPlugin::Contract.create!(:bsc => bsc, :status => 0, :client_name => 'Marvin')
124   - contract1 = BscPlugin::Contract.create!(:bsc => bsc, :status => 1, :client_name => 'Marvin')
125   - contract2 = BscPlugin::Contract.create!(:bsc => bsc, :status => 2, :client_name => 'Marvin')
126   - contract3 = BscPlugin::Contract.create!(:bsc => bsc, :status => 3, :client_name => 'Marvin')
127   -
128   - get :manage_contracts, :profile => bsc.identifier, :status => ['1', '3']
129   -
130   - assert_not_includes assigns(:contracts), contract0
131   - assert_includes assigns(:contracts), contract1
132   - assert_not_includes assigns(:contracts), contract2
133   - assert_includes assigns(:contracts), contract3
134   - end
135   -
136   - should 'manage contracts should have all status marked by default' do
137   - get :manage_contracts, :profile => bsc.identifier
138   - assert_equal assigns(:status), BscPlugin::Contract::Status.types.map { |s| s.to_s }
139   - end
140   -
141   - should 'fetch contracts sorted accordingly' do
142   - contract0 = BscPlugin::Contract.create!(:bsc => bsc, :created_at => 1.day.ago, :client_name => 'Eva')
143   - contract1 = BscPlugin::Contract.create!(:bsc => bsc, :created_at => 2.day.ago, :client_name => 'Adam')
144   - contract2 = BscPlugin::Contract.create!(:bsc => bsc, :created_at => 3.day.ago, :client_name => 'Marvin')
145   -
146   - by_date = [contract2, contract1, contract0]
147   - by_name = [contract1, contract0, contract2]
148   -
149   - get :manage_contracts, :profile => bsc.identifier, :sorting => 'created_at asc'
150   - assert_equal by_date, assigns(:contracts)
151   -
152   - get :manage_contracts, :profile => bsc.identifier, :sorting => 'created_at desc'
153   - assert_equal by_date.reverse, assigns(:contracts)
154   -
155   - get :manage_contracts, :profile => bsc.identifier, :sorting => 'client_name asc'
156   - assert_equal by_name, assigns(:contracts)
157   -
158   - get :manage_contracts, :profile => bsc.identifier, :sorting => 'client_name desc'
159   - assert_equal by_name.reverse, assigns(:contracts)
160   - end
161   -
162   - should 'limit the contracts to defined per page' do
163   - BscPlugin::Contract.create!(:bsc => bsc, :client_name => 'Marvin')
164   - BscPlugin::Contract.create!(:bsc => bsc, :client_name => 'Marvin')
165   -
166   - @controller.stubs(:contracts_per_page).returns(1)
167   -
168   - get :manage_contracts, :profile => bsc.identifier
169   -
170   - assert_equal 1, assigns(:contracts).count
171   - end
172   -
173   - should 'destroy contract' do
174   - contract = BscPlugin::Contract.create!(:bsc => bsc, :client_name => 'Marvin')
175   -
176   - assert_difference BscPlugin::Contract, :count, -1 do
177   - get :destroy_contract, :profile => bsc.identifier, :contract_id => contract.id
178   - end
179   -
180   - assert_raise ActiveRecord::RecordNotFound do
181   - BscPlugin::Contract.find(contract.id)
182   - end
183   - end
184   -
185   - should 'not crash if trying to destroy a contract that does not exists' do
186   - assert_nothing_raised do
187   - get :destroy_contract, :profile => bsc.identifier, :contract_id => -1
188   - end
189   - assert_redirected_to :action => 'manage_contracts'
190   - end
191   -
192   - should 'not crash if trying to edit a contract that does not exists' do
193   - assert_nothing_raised do
194   - get :edit_contract, :profile => bsc.identifier, :contract_id => -1
195   - end
196   - assert_redirected_to :action => 'manage_contracts'
197   - end
198   -
199   - should 'create contract associating the enterprises' do
200   - enterprise1 = fast_create(Enterprise)
201   - enterprise2 = fast_create(Enterprise)
202   -
203   - post :new_contract, :profile => bsc.identifier, :enterprises => "#{enterprise1.id},#{enterprise2.id}", :contract => {:bsc => bsc, :client_name => 'Marvin'}
204   -
205   - bsc.reload
206   - contract = bsc.contracts.last
207   -
208   - assert_includes contract.enterprises, enterprise1
209   - assert_includes contract.enterprises, enterprise2
210   - end
211   -
212   - should 'edit contract adding or removing enterprises accordingly' do
213   - enterprise1 = fast_create(Enterprise)
214   - enterprise2 = fast_create(Enterprise)
215   - enterprise3 = fast_create(Enterprise)
216   - contract = BscPlugin::Contract.create!(:bsc => bsc, :client_name => 'Marvin')
217   - contract.enterprises << enterprise1
218   - contract.enterprises << enterprise2
219   -
220   - post :edit_contract, :profile => bsc.identifier, :contract_id => contract.id, :enterprises => "#{enterprise2.id},#{enterprise3.id}", :contract => {:bsc => bsc}
221   - contract.reload
222   -
223   - assert_not_includes contract.enterprises, enterprise1
224   - assert_includes contract.enterprises, enterprise2
225   - assert_includes contract.enterprises, enterprise3
226   - end
227   -
228   - should 'not crash if there is no enterprises on create' do
229   - assert_nothing_raised do
230   - post :new_contract, :profile => bsc.identifier, :contract => {:bsc => bsc, :client_name => 'Marvin'}
231   - end
232   - end
233   -
234   - should 'create contract with associated sales' do
235   - product1 = fast_create(Product, :price => 2.50)
236   - product2 = fast_create(Product)
237   - sale1 = {:product_id => product1.id, :quantity => 2}
238   - sale2 = {:product_id => product2.id, :quantity => 5, :price => 3.50}
239   - sales = {1 => sale1, 2 => sale2}
240   -
241   - post :new_contract, :profile => bsc.identifier, :sales => sales, :contract => {:bsc => bsc, :client_name => 'Marvin'}
242   -
243   - bsc.reload
244   - contract = bsc.contracts.last
245   -
246   - assert_includes contract.products, product1
247   - assert_includes contract.products, product2
248   -
249   - assert_equal sale1[:quantity], contract.sales.find_by_product_id(sale1[:product_id]).quantity
250   - assert_equal sale2[:quantity], contract.sales.find_by_product_id(sale2[:product_id]).quantity
251   - assert_equal sale2[:price], contract.sales.find_by_product_id(sale2[:product_id]).price
252   - end
253   -
254   - should 'edit contract adding or removing sales accordingly' do
255   - product1 = fast_create(Product)
256   - product2 = fast_create(Product)
257   - product3 = fast_create(Product)
258   - contract = BscPlugin::Contract.create!(:bsc => bsc, :client_name => 'Marvin')
259   - BscPlugin::Sale.create!(:product => product1, :contract => contract, :quantity => 1)
260   - BscPlugin::Sale.create!(:product => product2, :contract => contract, :quantity => 1)
261   - sales = {1 => {:product_id => product2.id, :quantity => 1}, 2 => {:product_id => product3.id, :quantity => 1}}
262   -
263   - post :edit_contract, :profile => bsc.identifier, :contract_id => contract.id, :sales => sales , :contract => {:bsc => bsc}
264   - contract.reload
265   -
266   - assert_not_includes contract.products, product1
267   - assert_includes contract.products, product2
268   - assert_includes contract.products, product3
269   - end
270   -
271   - should 'edit sales informations' do
272   - product1 = fast_create(Product)
273   - product2 = fast_create(Product)
274   - contract = BscPlugin::Contract.create!(:bsc => bsc, :client_name => 'Marvin')
275   - sale1 = BscPlugin::Sale.create!(:product => product1, :contract => contract, :quantity => 1, :price => 1.0)
276   - sale2 = BscPlugin::Sale.create!(:product => product2, :contract => contract, :quantity => 2, :price => 2.0)
277   - sale2.save!
278   - sales = {1 => {:product_id => product1.id, :quantity => 3, :price => 5.0}, 2 => {:product_id => product2.id, :quantity => 4, :price => 10.0}}
279   -
280   - post :edit_contract, :profile => bsc.identifier, :contract_id => contract.id, :sales => sales , :contract => {:bsc => bsc}
281   -
282   - sale1.reload
283   - sale2.reload
284   -
285   - assert_equal 3, sale1.quantity
286   - assert_equal 5.0, sale1.price
287   - assert_equal 4, sale2.quantity
288   - assert_equal 10.0, sale2.price
289   - end
290   -
291   - should 'redirect to edit contract if some sale could not be created' do
292   - product = fast_create(Product)
293   - # sale without quantity
294   - sales = {1 => {:product_id => product.id, :price => 1.50}}
295   -
296   - post :new_contract, :profile => bsc.identifier, :sales => sales, :contract => {:bsc => bsc, :client_name => 'Marvin'}
297   -
298   - bsc.reload
299   - contract = bsc.contracts.last
300   -
301   - assert_redirected_to :action => 'edit_contract', :contract_id => contract.id
302   - end
303   -
304   - should 'search for products from the invoved enterprises' do
305   - # product1 fits
306   - # product2 doesn't fits because its in added_products
307   - # product3 doesn't fits because its enterprise is in enterprises
308   - enterprise1 = fast_create(Enterprise)
309   - enterprise2 = fast_create(Enterprise)
310   - enterprise3 = fast_create(Enterprise)
311   - product1 = fast_create(Product, :profile_id => enterprise1.id, :name => 'Black Bycicle')
312   - product2 = fast_create(Product, :profile_id => enterprise2.id, :name => 'Black Guitar')
313   - product3 = fast_create(Product, :profile_id => enterprise3.id, :name => 'Black Notebook')
314   -
315   - get :search_sale_product, :profile => bsc.identifier, :enterprises => [enterprise1.id,enterprise2.id].join(','), :added_products => [product2.id].join(','),:sales => {1 => {:product_id => 'black'}}
316   -
317   - assert_match /#{product1.name}/, @response.body
318   - assert_no_match /#{product2.name}/, @response.body
319   - assert_no_match /#{product3.name}/, @response.body
320   - end
321   -end
322   -
plugins/bsc/test/unit/bsc_plugin/associate_enterprise_test.rb
... ... @@ -1,52 +0,0 @@
1   -require File.dirname(__FILE__) + '/../../../../../test/test_helper'
2   -
3   -class BscPlugin::AssociateEnterpriseTest < ActiveSupport::TestCase
4   - VALID_CNPJ = '94.132.024/0001-48'
5   -
6   - def setup
7   - @enterprise = fast_create(Enterprise)
8   - @person = create_user('user').person
9   - @bsc = BscPlugin::Bsc.create!(:business_name => 'Sample Bsc', :company_name => 'Sample Bsc Ltda.', :identifier => 'sample-bsc', :cnpj => VALID_CNPJ)
10   - end
11   -
12   - attr_accessor :enterprise, :person, :bsc
13   -
14   - should 'associate enteprise with bsc after perform' do
15   - task = BscPlugin::AssociateEnterprise.create!(:requestor => person, :target => enterprise, :bsc => bsc)
16   - task.perform
17   - bsc.reload
18   -
19   - assert_includes bsc.enterprises, enterprise
20   - end
21   -
22   - should 'notify enterprise when some bsc create the request' do
23   - enterprise.contact_email = 'enterprise@bsc.org'
24   - enterprise.save!
25   - assert_difference ActionMailer::Base.deliveries, :count, 1 do
26   - BscPlugin::AssociateEnterprise.create!(:requestor => person, :target => enterprise, :bsc => bsc)
27   - end
28   - assert_includes ActionMailer::Base.deliveries.last.to, enterprise.contact_email
29   - end
30   -
31   - should 'notify requestor when some enterprise reject the request' do
32   - person.email = 'person@bsc.org'
33   - person.save!
34   - task = BscPlugin::AssociateEnterprise.create!(:requestor => person, :target => enterprise, :bsc => bsc)
35   - assert_difference ActionMailer::Base.deliveries, :count, 1 do
36   - task.cancel
37   - end
38   - assert_includes ActionMailer::Base.deliveries.last.to, person.contact_email
39   - end
40   -
41   - should 'notify requestor when some enterprise accept the request' do
42   - person.email = 'person@bsc.org'
43   - person.save!
44   - task = BscPlugin::AssociateEnterprise.create!(:requestor => person, :target => enterprise, :bsc => bsc)
45   - assert_difference ActionMailer::Base.deliveries, :count, 1 do
46   - task.finish
47   - end
48   - assert_includes ActionMailer::Base.deliveries.last.to, person.contact_email
49   - end
50   -
51   -end
52   -
plugins/bsc/test/unit/bsc_plugin/bsc_test.rb
... ... @@ -1,82 +0,0 @@
1   -require File.dirname(__FILE__) + '/../../../../../test/test_helper'
2   -
3   -class BscPlugin::BscTest < ActiveSupport::TestCase
4   - VALID_CNPJ = '94.132.024/0001-48'
5   -
6   - def setup
7   - @bsc = BscPlugin::Bsc.create!(:business_name => 'Sample Bsc', :company_name => 'Sample Bsc', :identifier => 'sample-bsc', :cnpj => VALID_CNPJ)
8   - end
9   -
10   - attr_accessor :bsc
11   -
12   - should 'validate presence of cnpj' do
13   - bsc = BscPlugin::Bsc.new()
14   - bsc.valid?
15   -
16   - assert bsc.errors.invalid?(:cnpj)
17   - end
18   -
19   - should 'validate uniqueness of cnpj' do
20   - bsc1 = bsc
21   - bsc2 = BscPlugin::Bsc.new(:cnpj => VALID_CNPJ)
22   - bsc2.valid?
23   - assert bsc2.errors.invalid?(:cnpj)
24   - end
25   -
26   - should 'have many enterprises' do
27   - e1 = Enterprise.new(:name => 'Enterprise1', :identifier => 'enterprise1')
28   - e2 = Enterprise.new(:name => 'Enterprise2', :identifier => 'enterprise2')
29   - bsc.enterprises << e1
30   - bsc.enterprises << e2
31   - bsc.save!
32   -
33   - assert_equal e1.bsc, bsc
34   - assert_equal e2.bsc, bsc
35   - end
36   -
37   - should 'verify already requested enterprises' do
38   - e1 = fast_create(Enterprise)
39   - e2 = fast_create(Enterprise)
40   - task = BscPlugin::AssociateEnterprise.new(:target => e1, :bsc => bsc)
41   - bsc.enterprise_requests.stubs(:pending).returns([task])
42   -
43   - assert bsc.already_requested?(e1)
44   - refute bsc.already_requested?(e2)
45   - end
46   -
47   - should 'return associated enterprises products' do
48   - e1 = fast_create(Enterprise)
49   - e2 = fast_create(Enterprise)
50   - category = fast_create(ProductCategory)
51   -
52   - p1 = fast_create(Product, :product_category_id => category.id)
53   - p2 = fast_create(Product, :product_category_id => category.id)
54   - p3 = fast_create(Product, :product_category_id => category.id)
55   -
56   - e1.products << p1
57   - e1.products << p2
58   - e2.products << p3
59   -
60   - bsc.enterprises << e1
61   - bsc.enterprises << e2
62   -
63   - bsc.reload
64   -
65   - assert_includes bsc.products, p1
66   - assert_includes bsc.products, p2
67   - assert_includes bsc.products, p3
68   - end
69   -
70   - should 'not be able to create product' do
71   - refute bsc.create_product?
72   - end
73   -
74   - should 'have many contracts' do
75   - contract1 = BscPlugin::Contract.create!(:bsc => bsc, :client_name => 'Marvin')
76   - contract2 = BscPlugin::Contract.create!(:bsc => bsc, :client_name => 'Marvin')
77   -
78   - assert_includes bsc.contracts, contract1
79   - assert_includes bsc.contracts, contract2
80   - end
81   -
82   -end
plugins/bsc/test/unit/bsc_plugin/contract_test.rb
... ... @@ -1,107 +0,0 @@
1   -require File.dirname(__FILE__) + '/../../../../../test/test_helper'
2   -
3   -class BscPlugin::ContractTest < ActiveSupport::TestCase
4   - def setup
5   - @contract = BscPlugin::Contract.new(:bsc => BscPlugin::Bsc.new, :client_name => 'Marvin')
6   - end
7   -
8   - attr_accessor :contract
9   -
10   - should 'validates presence of bsc' do
11   - contract.bsc = nil
12   - contract.valid?
13   - assert contract.errors.invalid?(:bsc)
14   -
15   - contract.bsc = BscPlugin::Bsc.new
16   - contract.valid?
17   - refute contract.errors.invalid?(:bsc)
18   - end
19   -
20   - should 'associate contract with products through sales' do
21   - contract.save!
22   - product1 = fast_create(Product)
23   - product2 = fast_create(Product)
24   - sale1 = BscPlugin::Sale.create!(:product => product1, :contract => contract, :quantity => 3)
25   - sale2 = BscPlugin::Sale.create!(:product => product2, :contract => contract, :quantity => 5)
26   -
27   - assert_includes contract.products, product1
28   - assert_includes contract.products, product2
29   - end
30   -
31   - should 'have many enterprises' do
32   - contract.save!
33   - enterprise1 = fast_create(Enterprise)
34   - contract.enterprises << enterprise1
35   - enterprise2 = fast_create(Enterprise)
36   - contract.enterprises << enterprise2
37   -
38   - assert_includes contract.enterprises, enterprise1
39   - assert_includes contract.enterprises, enterprise2
40   - end
41   -
42   - should 'filter contracts by status' do
43   - bsc = BscPlugin::Bsc.new
44   - opened = BscPlugin::Contract::Status::OPENED
45   - negotiating = BscPlugin::Contract::Status::NEGOTIATING
46   - executing = BscPlugin::Contract::Status::EXECUTING
47   - closed = BscPlugin::Contract::Status::CLOSED
48   - contract1 = BscPlugin::Contract.create!(:bsc => bsc, :status => opened, :client_name => 'Marvin')
49   - contract2 = BscPlugin::Contract.create!(:bsc => bsc, :status => negotiating, :client_name => 'Marvin')
50   - contract3 = BscPlugin::Contract.create!(:bsc => bsc, :status => executing, :client_name => 'Marvin')
51   - contract4 = BscPlugin::Contract.create!(:bsc => bsc, :status => closed, :client_name => 'Marvin')
52   -
53   - opened_and_executing = BscPlugin::Contract.status([opened, executing])
54   - negotiating_and_closed = BscPlugin::Contract.status([negotiating, closed])
55   - all = BscPlugin::Contract.status([])
56   -
57   - assert_includes opened_and_executing, contract1
58   - assert_not_includes opened_and_executing, contract2
59   - assert_includes opened_and_executing, contract3
60   - assert_not_includes opened_and_executing, contract4
61   -
62   - assert_not_includes negotiating_and_closed, contract1
63   - assert_includes negotiating_and_closed, contract2
64   - assert_not_includes negotiating_and_closed, contract3
65   - assert_includes negotiating_and_closed, contract4
66   -
67   - assert_includes all, contract1
68   - assert_includes all, contract2
69   - assert_includes all, contract3
70   - assert_includes all, contract4
71   - end
72   -
73   - should 'sort contracts by date' do
74   - bsc = BscPlugin::Bsc.new
75   - contract1 = BscPlugin::Contract.create!(:bsc => bsc, :created_at => 2.day.ago, :client_name => 'Marvin')
76   - contract2 = BscPlugin::Contract.create!(:bsc => bsc, :created_at => 1.day.ago, :client_name => 'Marvin')
77   - contract3 = BscPlugin::Contract.create!(:bsc => bsc, :created_at => 3.day.ago, :client_name => 'Marvin')
78   -
79   - assert_equal [contract3, contract1, contract2], BscPlugin::Contract.sorted_by('created_at', 'asc')
80   - end
81   -
82   - should 'sort contracts by client name' do
83   - bsc = BscPlugin::Bsc.new
84   - contract1 = BscPlugin::Contract.create!(:bsc => bsc, :client_name => 'Marvim')
85   - contract2 = BscPlugin::Contract.create!(:bsc => bsc, :client_name => 'Adam')
86   - contract3 = BscPlugin::Contract.create!(:bsc => bsc, :client_name => 'Eva')
87   -
88   - assert_equal [contract2, contract3, contract1], BscPlugin::Contract.sorted_by('client_name', 'asc')
89   - end
90   -
91   - should 'return contract total price' do
92   - contract.save!
93   - price1 = 1
94   - quantity1 = 3
95   - price2 = 2
96   - quantity2 = 5
97   - total = price1*quantity1 + price2*quantity2
98   - product1 = fast_create(Product, :price => price1)
99   - product2 = fast_create(Product, :price => price2)
100   - sale1 = BscPlugin::Sale.create!(:product => product1, :contract => contract, :quantity => quantity1)
101   - sale2 = BscPlugin::Sale.create!(:product => product2, :contract => contract, :quantity => quantity2)
102   -
103   - contract.reload
104   -
105   - assert_equal total, contract.total_price
106   - end
107   -end
plugins/bsc/test/unit/bsc_plugin/sale_test.rb
... ... @@ -1,86 +0,0 @@
1   -require File.dirname(__FILE__) + '/../../../../../test/test_helper'
2   -
3   -class BscPlugin::SaleTest < ActiveSupport::TestCase
4   - def setup
5   - @sale = BscPlugin::Sale.new
6   - end
7   -
8   - attr_accessor :sale
9   -
10   - should 'validate presence of product and contract' do
11   - sale.valid?
12   -
13   - assert sale.errors.invalid?(:product)
14   - assert sale.errors.invalid?(:contract)
15   -
16   - product = Product.new
17   - contract = BscPlugin::Contract.new
18   - sale.product = product
19   - sale.contract = contract
20   -
21   - refute sale.errors.invalid?(product)
22   - refute sale.errors.invalid?(contract)
23   - end
24   -
25   - should 'validate uniqueness of product and contract composed' do
26   - product = fast_create(Product)
27   - contract = BscPlugin::Contract.create!(:bsc => BscPlugin::Bsc.new, :client_name => 'Marvin')
28   - sale1 = BscPlugin::Sale.create!(:product => product, :contract => contract, :quantity => 1)
29   - sale2 = BscPlugin::Sale.new(:product => product, :contract => contract, :quantity => 1)
30   - sale2.valid?
31   -
32   - assert sale2.errors.invalid?(:product_id)
33   - end
34   -
35   - should 'validate quantity as a positive integer' do
36   - sale.quantity = -1
37   - sale.valid?
38   - assert sale.errors.invalid?(:quantity)
39   -
40   - sale.quantity = 1.5
41   - sale.valid?
42   - assert sale.errors.invalid?(:quantity)
43   -
44   - sale.quantity = 3
45   - sale.valid?
46   - refute sale.errors.invalid?(:quantity)
47   - end
48   -
49   - should 'set default price as product price if no price indicated' do
50   - product = fast_create(Product, :price => 3.50)
51   - contract = BscPlugin::Contract.create!(:bsc => BscPlugin::Bsc.new, :client_name => 'Marvin')
52   - sale.product = product
53   - sale.contract = contract
54   - sale.quantity = 1
55   - sale.save!
56   -
57   - assert_equal product.price, sale.price
58   - end
59   -
60   - should 'not overwrite with the product price if price informed' do
61   - product = fast_create(Product, :price => 3.50)
62   - contract = BscPlugin::Contract.create!(:bsc => BscPlugin::Bsc.new, :client_name => 'Marvin')
63   - sale.product = product
64   - sale.contract = contract
65   - sale.quantity = 1
66   - sale.price = 2.50
67   - sale.save!
68   -
69   - assert_equal 2.50, sale.price
70   - end
71   -
72   - should 'have default value for price' do
73   - product1 = fast_create(Product, :price => 1)
74   - product2 = fast_create(Product, :price => 1)
75   - product3 = fast_create(Product)
76   - contract = BscPlugin::Contract.create!(:bsc => BscPlugin::Bsc.new, :client_name => 'Marvin')
77   - sale1 = BscPlugin::Sale.create!(:price => 2, :product => product1, :contract => contract, :quantity => 1)
78   - sale2 = BscPlugin::Sale.create!(:product => product2, :contract => contract, :quantity => 1)
79   - sale3 = BscPlugin::Sale.create!(:product => product3, :contract => contract, :quantity => 1)
80   -
81   - assert_equal 2, sale1.price
82   - assert_equal 1, sale2.price
83   - assert_equal 0, sale3.price
84   - end
85   -end
86   -
plugins/bsc/test/unit/bsc_plugin_test.rb
... ... @@ -1,34 +0,0 @@
1   -require File.dirname(__FILE__) + '/../../../../test/test_helper'
2   -
3   -class BscPluginTest < ActiveSupport::TestCase
4   -
5   - VALID_CNPJ = '94.132.024/0001-48'
6   -
7   - should 'add profile controller filter correctly' do
8   - bsc_plugin = BscPlugin.new
9   - person = fast_create(Person)
10   - context = mock()
11   - context.stubs(:profile).returns(person)
12   - context.stubs(:params).returns({:profile => person.identifier})
13   - context.stubs(:user).returns(person)
14   - context.stubs(:environment).returns(person.environment)
15   - bsc_plugin.stubs(:context).returns(context)
16   -
17   - assert_nil bsc_plugin.profile_controller_filters.first[:block].call
18   - assert_nil bsc_plugin.content_viewer_controller_filters.first[:block].call
19   -
20   - enterprise = fast_create(Enterprise, :validated => false)
21   - enterprise.bsc = BscPlugin::Bsc.create!({:business_name => 'Sample Bsc', :identifier => 'sample-bsc', :company_name => 'Sample Bsc Ltda.', :cnpj => VALID_CNPJ})
22   - enterprise.save!
23   - context.stubs(:profile).returns(enterprise)
24   - context.stubs(:params).returns({:profile => enterprise.identifier})
25   - context.stubs(:environment).returns(enterprise.environment)
26   -
27   - assert_raise NameError do
28   - bsc_plugin.profile_controller_filters.first[:block].call
29   - end
30   - assert_raise NameError do
31   - bsc_plugin.content_viewer_controller_filters.first[:block].call
32   - end
33   - end
34   -end
plugins/bsc/test/unit/ext/enterprise_test.rb
... ... @@ -1,38 +0,0 @@
1   -require File.dirname(__FILE__) + '/../../../../../test/test_helper'
2   -
3   -class EnterpriseTest < ActiveSupport::TestCase
4   - VALID_CNPJ = '94.132.024/0001-48'
5   -
6   - def setup
7   - @bsc = BscPlugin::Bsc.create!({:business_name => 'Sample Bsc', :identifier => 'sample-bsc', :company_name => 'Sample Bsc Ltda.', :cnpj => VALID_CNPJ})
8   - end
9   -
10   - attr_accessor :bsc
11   -
12   - should 'belongs to a bsc' do
13   - enterprise = fast_create(Enterprise, :bsc_id => bsc.id)
14   - assert_equal bsc, enterprise.bsc
15   - end
16   -
17   - should 'return correct enterprises on validated and not validated namedscopes' do
18   - validated_enterprise = fast_create(Enterprise, :validated => true)
19   - not_validated_enterprise = fast_create(Enterprise, :validated => false)
20   -
21   - assert_includes Enterprise.validated, validated_enterprise
22   - assert_not_includes Enterprise.validated, not_validated_enterprise
23   - assert_not_includes Enterprise.not_validated, validated_enterprise
24   - assert_includes Enterprise.not_validated, not_validated_enterprise
25   - end
26   -
27   - should 'be involved with many contracts' do
28   - enterprise = fast_create(Enterprise)
29   - contract1 = BscPlugin::Contract.create!(:bsc => bsc, :client_name => 'Marvin')
30   - contract2 = BscPlugin::Contract.create!(:bsc => bsc, :client_name => 'Marvin')
31   - enterprise.contracts << contract1
32   - enterprise.contracts << contract2
33   -
34   - assert_includes enterprise.contracts, contract1
35   - assert_includes enterprise.contracts, contract2
36   - end
37   -end
38   -
plugins/bsc/test/unit/ext/product_test.rb
... ... @@ -1,24 +0,0 @@
1   -require File.dirname(__FILE__) + '/../../../../../test/test_helper'
2   -
3   -class ProductTest < ActiveSupport::TestCase
4   - VALID_CNPJ = '94.132.024/0001-48'
5   -
6   - should 'return have bsc' do
7   - bsc = BscPlugin::Bsc.create!({:business_name => 'Sample Bsc', :identifier => 'sample-bsc', :company_name => 'Sample Bsc Ltda.', :cnpj => VALID_CNPJ})
8   - enterprise = fast_create(Enterprise, :bsc_id => bsc.id)
9   - product = fast_create(Product, :profile_id => enterprise.id)
10   -
11   - assert_equal bsc, product.bsc
12   - end
13   -
14   - should 'have contracts through sales' do
15   - product = fast_create(Product)
16   - contract1 = BscPlugin::Contract.create!(:bsc => BscPlugin::Bsc.new, :client_name => 'Marvin')
17   - contract2 = BscPlugin::Contract.create!(:bsc => BscPlugin::Bsc.new, :client_name => 'Marvin')
18   - sale1 = BscPlugin::Sale.create!(:product => product, :contract => contract1, :quantity => 3)
19   - sale2 = BscPlugin::Sale.create!(:product => product, :contract => contract2, :quantity => 5)
20   -
21   - assert_includes product.contracts, contract1
22   - assert_includes product.contracts, contract2
23   - end
24   -end
plugins/bsc/views/bsc_plugin/mailer/admin_notification.html.erb
... ... @@ -1 +0,0 @@
1   -<%= _('The management of %{bsc} was transferred to you.') % {:bsc => @bsc.name}%>
plugins/bsc/views/bsc_plugin_admin/new.html.erb
... ... @@ -1,11 +0,0 @@
1   -<%= error_messages_for :bsc %>
2   -<h1><%= _('BSC registration') %></h1>
3   -
4   -<%= labelled_form_for :profile_data, @bsc do |f| %>
5   - <%= render :partial => 'shared/fields', :locals => {:f => f, :profile => @bsc} %>
6   -
7   - <% button_bar do %>
8   - <%= submit_button('save', c_('Save')) %>
9   - <%= button('cancel', c_('Cancel'), {:controller => 'admin_panel'}) %>
10   - <% end %>
11   -<% end %>
plugins/bsc/views/bsc_plugin_admin/validate_enterprises.html.erb
... ... @@ -1,12 +0,0 @@
1   -<h1><%= _('Validate enterprises') %></h1>
2   -
3   -<% form_tag :action => 'save_validations' do %>
4   - <%= token_input_field_tag(:q, 'search-enterprises', {:action => 'search_enterprise'},
5   - { :hint_text => _('Type in a search term for enterprise'),
6   - :focus => true }) %>
7   -
8   - <% button_bar do %>
9   - <%= submit_button('save', c_('Save'))%>
10   - <%= button('cancel', c_('Cancel'), {:controller => 'admin_panel'})%>
11   - <% end %>
12   -<% end %>
plugins/bsc/views/bsc_plugin_myprofile/_contract_form.html.erb
... ... @@ -1,83 +0,0 @@
1   -<%= error_messages_for :contract %>
2   -
3   -<%= labelled_form_for :contract, :html => {:id => 'bsc-plugin-sales-form'} do |f| %>
4   - <%= hidden_field_tag :contract_id, @contract.id %>
5   - <%= required f.text_field(:client_name) %>
6   - <%= labelled_form_field(_('Client type'), f.select(:client_type, BscPlugin::Contract::ClientType.types.map{|type| [BscPlugin::Contract::ClientType.names[type], type]}))%>
7   - <%= labelled_form_field(_('Business type'), f.select(:business_type, BscPlugin::Contract::BusinessType.types.map{|type| [BscPlugin::Contract::BusinessType.names[type], type]}))%>
8   - <%= f.text_field(:state) %>
9   - <%= f.text_field(:city) %>
10   - <%= labelled_form_field(_('Status'), f.select(:status, BscPlugin::Contract::Status.types.
11   - map { |s| [BscPlugin::Contract::Status.names[s], s] })) %>
12   - <%= f.text_field(:number_of_producers, :size => 8, :id => 'bsc-plugin-contract-spinner') %>
13   - <%= c_('Enterprises')+':' %>
14   -
15   - <% search_action = {:action => 'search_contract_enterprises', :profile => profile.identifier} %>
16   - <%= token_input_field_tag(:enterprises, 'involved-enterprises', search_action,
17   - { :pre_populate => @contract.enterprises_to_token_input,
18   - :hint_text => _('Type in search term for enterprise') }) %>
19   -
20   - <table id="bsc-plugin-sales-table" class="alternate-colors">
21   - <tr>
22   - <th class="bsc-plugin-sales-products-column"><%= c_('Products') %></th>
23   - <th class="bsc-plugin-sales-quantity-column" ><%= _('Quantity') %></th>
24   - <th class="bsc-plugin-sales-price-column" ><%= _('Unit price') %></th>
25   - </tr>
26   - <tr id='bsc-plugin-contract-total-row'>
27   - <td id="bsc-plugin-contract-total-string" colspan="2" ><strong><%= _('Total')%></strong></td>
28   - <td id="bsc-plugin-contract-total"><strong id='bsc-plugin-sales-total-value'><%= float_to_currency(@contract.total_price)%></strong></td>
29   - </tr>
30   - <tr>
31   - <td colspan="3" class="bsc-plugin-sales-add-new-row"><%= link_to(_('Add new product'), {}, :id => 'bsc-plugin-add-new-product', 'data-bsc' => profile.identifier) %></td>
32   - </tr>
33   - </table>
34   -
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) +
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) )
39   - %>
40   -
41   - <%= f.text_area(:annotations, :rows => 5, :cols => 68) %>
42   - <% button_bar do%>
43   - <%= submit_button(:save, c_('Save'), :cancel => {:action => 'manage_contracts'})%>
44   - <% end %>
45   -<% end %>
46   -
47   -<% scripts = %w{/plugins/bsc/jquery.ui.spinner/ui.spinner.js
48   - /plugins/bsc/contracts /plugins/bsc/datepicker
49   - /plugins/bsc/spinner} %>
50   -<% scripts.each do |script|%>
51   - <%= javascript_include_tag script %>
52   -<% end %>
53   -
54   -<script>
55   - BSCContracts.tokenInputOptions = {
56   - minChars: 3,
57   - hintText: <%= _('Type in a search term for product').to_json %>,
58   - noResultsText: <%= c_("No results").to_json %>,
59   - searchingText: <%= c_("Searching...").to_json %>,
60   - searchDelay: 1000,
61   - preventDuplicates: true,
62   - backspaceDeleteItem: false,
63   - tokenLimit: 1,
64   - onDelete: BSCContracts.onDelete,
65   - onAdd: BSCContracts.onAdd
66   - };
67   - BSCContracts.searchUrl = <%= url_for(
68   - :action => 'search_sale_product',
69   - :profile => profile.identifier,
70   - :enterprises => 'ENTERPRISES',
71   - :sale_id => 'SALE_ID',
72   - :added_products => 'ADDED_PRODUCTS',
73   - :escape => true).to_json %>.replace(/amp;/g,"");
74   - BSCContracts.currencyUnit = <%= profile.environment.currency_unit.to_json %>;
75   - BSCContracts.prePopulate( <%= @contract.sales.map{|sale| {
76   - :id => sale.product_id,
77   - :name => short_text(product_display_name(sale.product), 60),
78   - :product_price => sale.price || sale.product.price || 0,
79   - :quantity => sale.quantity}}.to_json
80   - %>);
81   -</script>
82   -
83   -<%= javascript_include_tag '/plugins/bsc/validation' %>
plugins/bsc/views/bsc_plugin_myprofile/_similar_enterprises.html.erb
... ... @@ -1,48 +0,0 @@
1   -<div id="similar-enterprises" style="display: none; border-bottom: 2px solid #babdb6;">
2   - <p><b><%= _('Existing enterprises:') %></b></p>
3   - <p><i style="text-align: center;"><%= _('Were found %{count} enterprises with similar names on the same city, you can decide to associate one of them or create the new enterprise confirming the informations you typed in.') % {:count => content_tag('span', '', :id => 'similar-enterprises-count')} %></i></p>
4   - <ul id="create-enterprise-similar-enterprises"></ul>
5   - <% query = bsc.enterprises.map(&:id).join(',') %>
6   - <script type="text/javascript">
7   - update_enterprises = function(enterprises){
8   - var association_url = <%= url_for({:controller => 'bsc_plugin_myprofile', :action => 'save_associations', :profile => bsc.identifier}).to_json %>;
9   - jQuery('#create-enterprise-similar-enterprises').empty();
10   - jQuery.each(enterprises, function(index, enterprise){
11   - var id = enterprise[0]
12   - var name = enterprise[1]
13   - var query = <%= query.to_json %>;
14   - if(query)
15   - query += ',';
16   - query += id.toString();
17   - query = '?q='+query;
18   - var url = association_url + query;
19   - jQuery('#create-enterprise-similar-enterprises').append(
20   - '<li>' + name + ' - <a href="' + url +'">' + <%= _('Associate').to_json %> + '</a></li>'
21   - );
22   - });
23   - if (jQuery(enterprises).length > 0){
24   - jQuery('#similar-enterprises-count').text(jQuery(enterprises).length.toString());
25   - jQuery('#similar-enterprises').fadeIn();
26   - }
27   - else
28   - jQuery('#similar-enterprises').fadeOut();
29   - }
30   - jQuery('#create_enterprise_name,#create_enterprise_city').change(function() {
31   - var parameters = {};
32   - if(jQuery('#create_enterprise_name').length)
33   - parameters.name = jQuery('#create_enterprise_name').val();
34   - if(jQuery('#create_enterprise_city').length)
35   - parameters.city = jQuery('#create_enterprise_city').val();
36   -
37   - jQuery.ajax({
38   - url: <%= url_for({:controller => 'bsc_plugin_myprofile', :action => 'similar_enterprises', :profile => bsc.identifier}).to_json %>,
39   - dataType: 'json',
40   - data: parameters,
41   - success: function(data){ update_enterprises(data); },
42   - error: function(ajax, stat, errorThrown) {
43   - alert(stat+': '+errorThrown);
44   - }
45   - });
46   - });
47   - </script>
48   -</div>
plugins/bsc/views/bsc_plugin_myprofile/create_enterprise.html.erb
... ... @@ -1,21 +0,0 @@
1   -<%= error_messages_for 'create_enterprise' %>
2   -
3   -<h1><%= __('Enterprise registration') %></h1>
4   -
5   -<%= required_fields_message %>
6   -
7   -<%= labelled_form_for(:create_enterprise) do |f| %>
8   -
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 } %>
11   - <p style="border-bottom: 2px solid #babdb6"></p>
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>
14   - <%= render :partial => 'similar_enterprises', :locals => {:bsc => profile}%>
15   -
16   - <% button_bar do %>
17   - <%= submit_button('save', c_('Save'), :cancel => {:controller => 'profile_editor', :profile => profile.identifier}) %>
18   - <% end %>
19   -<% end %>
20   -
21   -
plugins/bsc/views/bsc_plugin_myprofile/edit_contract.html.erb
... ... @@ -1,3 +0,0 @@
1   -<h1><%= _("New contract") %></h1>
2   -<%= render :partial => 'contract_form', :locals => {:url => {:action => 'update_contract'}}%>
3   -
plugins/bsc/views/bsc_plugin_myprofile/manage_associated_enterprises.html.erb
... ... @@ -1,26 +0,0 @@
1   -<h1><%= _('Manage associated enterprises') %></h1>
2   -
3   -<% if !@pending_enterprises.blank? %>
4   - <%= _('Associations awaiting approval:') %>
5   - <ul>
6   - <% @pending_enterprises.each do |enterprise| %>
7   - <li><%= enterprise.name %></li>
8   - <% end %>
9   - </ul>
10   -<% end %>
11   -
12   -<% form_tag :action => 'save_associations' do %>
13   - <% search_action = {:action => 'search_enterprise', :profile => profile.identifier} %>
14   - <%= token_input_field_tag(:q, 'search-enterprises', search_action,
15   - { :pre_populate => profile.enterprises_to_token_input,
16   - :hint_text => _('Type in a search term for enterprise'),
17   - :focus => true }) %>
18   -
19   - <%= button('add', _('Add new enterprise'), {:action => 'create_enterprise'}) %>
20   -
21   - <% button_bar do %>
22   - <%= submit_button('save', c_('Save'))%>
23   - <%= button('cancel', c_('Cancel'), {:controller => 'profile_editor'})%>
24   - <% end %>
25   -
26   -<% end %>
plugins/bsc/views/bsc_plugin_myprofile/manage_contracts.html.erb
... ... @@ -1,49 +0,0 @@
1   -<h1><%= _('Manage contracts') %></h1>
2   -
3   -<% form_tag({}, {:id => "bsc-plugin-contracts-form"}) do %>
4   - <div id="bsc-plugin-contracts-filter">
5   - <h2><%= _('Status') %></h2>
6   - <% BscPlugin::Contract::Status.types.each do |status| %>
7   - <%= check_box_tag('status[]', status, @status.include?(status.to_s), :id => 'status-checkbox-'+status.to_s) %>
8   - <%= content_tag('label', BscPlugin::Contract::Status.names[status], :for => 'status-checkbox-'+status.to_s) %>
9   - <br style="clear:both" />
10   - <% end %>
11   - <br style="clear:both" />
12   - <%= submit_button(:save, c_('Filter')) %>
13   - </div>
14   -
15   - <div id='bsc-plugin-contracts-results'>
16   - <div id="bsc-plugin-sorter">
17   - <%= labelled_select(_('Sort by')+' ', :sorting, :first, :last, @sorting,
18   - [['created_at asc', _('Date(newest first)')], ['created_at desc', _('Date(oldest first)')],
19   - ['client_name asc', _('Client name(A-Z)')], ['client_name desc', _('Client name(Z-A)')]],
20   - :onchange => "jQuery('#bsc-plugin-contracts-form').submit()") %>
21   - </div>
22   -
23   - <% if @contracts.blank? %>
24   - <%= content_tag('em', _('There are no contracts at all.'))%>
25   - <% else %>
26   - <table id="bsc-plugin-manage-contracts-table" class="alternate-colors">
27   - <% @contracts.each do |contract| %>
28   - <tr>
29   - <td>
30   - <%= link_to(content_tag('b', contract.client_name ), :action => 'view_contract', :contract_id => contract.id) %> <br />
31   - <%= content_tag('i', show_date(contract.created_at)) %>
32   - </td>
33   - <td class="links">
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>
37   - </tr>
38   - <% end %>
39   - </table>
40   - <%= pagination_links @contracts %>
41   - <% end %>
42   -
43   - <% button_bar do %>
44   - <%= button(:back, c_('Go back'), :controller => 'profile_editor') %>
45   - <%= button(:new, _('Create new contract'), :action => 'new_contract')%>
46   - <% end %>
47   - </div>
48   -<% end %>
49   -<br style="clear:both" />
plugins/bsc/views/bsc_plugin_myprofile/new_contract.html.erb
... ... @@ -1,2 +0,0 @@
1   -<h1><%= _("New contract") %></h1>
2   -<%= render :partial => 'contract_form.html.erb', :locals => {:url => {:action => 'create_contract'}}%>
plugins/bsc/views/bsc_plugin_myprofile/transfer_ownership.html.erb
... ... @@ -1,32 +0,0 @@
1   -<h1><%= _('Transfer Ownership') %></h1>
2   -
3   -<div id='last-admin-message' style="margin-bottom: 20px;">
4   - <%= _('This option allows you to transfer this enterprise\'s management to another user. This action will remove all the current administrators. Be careful when confirming this procedure.') %>
5   -</div>
6   -
7   -<% if !profile.admins.blank? %>
8   - <%= _('Current administrators:') %>
9   - <ul style="list-style-type: none;">
10   - <% profile.admins.each do |admin| %>
11   - <li><%= link_to(profile_image(admin, :icon, :style => 'margin-right: 3px;'), admin.url) + link_to(admin.name, admin.url, :style => 'margin-top: -3px;') %></li>
12   - <% end %>
13   - </ul>
14   -<% end %>
15   -
16   -
17   -<% form_tag do %>
18   - <% @roles.each do |role|%>
19   - <%= content_tag('b', _('Administrator:')) %>
20   - <% search_action = {:controller => 'profile_members', :action => 'search_user', :role => role.id, :profile => profile.identifier} %>
21   - <%= token_input_field_tag('q_'+role.key, 'search_'+role.key, search_action,
22   - { :hint_text => _('Type in a search term for the new administrator'),
23   - :focus => true,
24   - :token_limit => 1}) %>
25   -
26   - <% end %>
27   -
28   - <% button_bar do %>
29   - <%= submit_button('save', c_('Save'))%>
30   - <%= button('cancel', c_('Cancel'), {:controller => 'profile_editor'})%>
31   - <% end %>
32   -<% end %>
plugins/bsc/views/bsc_plugin_myprofile/view_contract.html.erb
... ... @@ -1,55 +0,0 @@
1   -<h1><%= @contract.client_name %></h1>
2   -
3   -<table class='bsc-fields-table' style="float: left;">
4   - <tr>
5   - <th colspan='2'><%= _('Basic information') %></th>
6   - </tr>
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]) %>
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]) %>
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)) %>
14   -</table>
15   -
16   -<table class='bsc-fields-table' style="float: right;">
17   - <tr>
18   - <th colspan='2'><%= c_('Enterprises') %></th>
19   - </tr>
20   - <%= display_list_field(@contract.enterprises.map {|enterprise| link_to(enterprise.short_name(60), enterprise.url)}) %>
21   -</table>
22   -
23   -<% if !@contract.sales.blank?%>
24   - <table id='bsc-plugin-sales-table' class="bsc-plugin-view-contract alternate-colors">
25   - <tr>
26   - <th><%= c_('Product') %></th>
27   - <th align="center"><%= _('Quantity') %></th>
28   - <th><%= _('Unit price') %></th>
29   - </tr>
30   - <% @contract.sales.each do |sale| %>
31   - <tr>
32   - <td><%= short_text(product_display_name(Product.find(sale.product_id)), 110) %></td>
33   - <td align="center"><%= sale.quantity %></td>
34   - <td align="right"><%= float_to_currency(sale.price) %></td>
35   - </tr>
36   - <% end %>
37   - <tr>
38   - <td id="bsc-plugin-contract-total-string" class="bsc-plugin-total" colspan='2'><%= _('Total')%></td>
39   - <td id="bsc-plugin-contract-total" class="bsc-plugin-total"><%= float_to_currency(@contract.total_price) %></td>
40   - </tr>
41   - </table>
42   -<% end %>
43   -
44   -<br style="clear: both" />
45   -
46   -<% if !@contract.annotations.blank? %>
47   - <div class="bsc-plugin-annotation">
48   - <div class="bsc-plugin-annotation-title"><%= _("Annotations") %></div>
49   - <div class="bsc-plugin-annotation-content"><%= @contract.annotations %></div>
50   - </div>
51   -<% end %>
52   -
53   -<% button_bar do %>
54   - <%= button(:back, c_('Go back'), :action => 'manage_contracts') %>
55   -<% end %>
plugins/bsc/views/profile/_profile_tab.html.erb
... ... @@ -1,6 +0,0 @@
1   -<ul>
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? %>
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>
plugins/bsc/views/profile_editor/bsc_plugin/_bsc.html.erb
... ... @@ -1,2 +0,0 @@
1   -<%= render :partial => 'shared/fields', :locals => {:f => f, :profile => profile} %>
2   -<%= render :partial => 'moderation', :locals => { :profile => profile } %>
plugins/bsc/views/shared/_fields.html.erb
... ... @@ -1,66 +0,0 @@
1   -<!-- This line should be uncommented when bsc is merged with the former plugin -->
2   -<%# extend FormerPlugin::FieldHelper %>
3   -
4   -<fieldset>
5   - <legend><%= _('Basic information')%></legend>
6   - <%= required f.text_field(:business_name, :onchange => "updateUrlField(this, 'profile_data_identifier')") %>
7   - <%= required f.text_field(:company_name) %>
8   - <%= required f.text_field(:cnpj) %>
9   - <!-- This line should be uncommented when bsc is merged with the former plugin -->
10   - <%#= widgets_for_form(f, :bsc_fields) %>
11   -
12   - <script type="text/javascript">
13   - function submit_button(index) {
14   - return jQuery("#profile_data_identifier")[0].form.select("input.submit")[index];
15   - }
16   - function warn_value_change() {
17   - show_warning('bsc-formitem', "identifier-change-confirmation");
18   - disable_button(submit_button(0));
19   - }
20   - function confirm_change() {
21   - enable_button(submit_button(0));
22   - hide_warning('identifier-change-confirmation');
23   - }
24   - function no_change() {
25   - jQuery("#profile_data_identifier").val(jQuery("#old_bsc_identifier").val());
26   - enable_button(submit_button(0));
27   - hide_warning('identifier-change-confirmation');
28   - }
29   - </script>
30   -
31   - <%= hidden_field_tag 'old_bsc_identifier', profile.identifier %>
32   - <div id="bsc-formitem">
33   - <%= content_tag('code',
34   - top_url + '/ ' +
35   - text_field(:profile_data, :identifier, :onchange => "warn_value_change()", :size => 25)
36   - ) +
37   - content_tag('div',
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?") +
40   - content_tag('div',
41   - button_to_function(:ok, c_("Yes"), "confirm_change()") + ' ' +
42   - button_to_function(:cancel, c_('No'), 'no_change()')
43   - ),
44   - :id => 'identifier-change-confirmation',
45   - :class => 'change-confirmation',
46   - :style => 'display: none;'
47   - )
48   - %>
49   - </div>
50   -</fieldset>
51   -
52   -<fieldset>
53   - <legend><%= _('Contact')%></legend>
54   - <%= f.text_field(:contact_email) %>
55   - <%= f.text_field(:organization_website) %>
56   - <%= f.text_field(:contact_phone) %>
57   -</fieldset>
58   -
59   -<fieldset>
60   - <legend><%= c_('Location')%></legend>
61   - <%= f.text_field(:address) %>
62   - <%= f.text_field(:zip_code) %>
63   - <%= f.text_field(:city) %>
64   - <%= f.text_field(:state) %>
65   - <%= select_country(c_('Country'), :profile_data, 'country', {:class => 'type-select'}) %>
66   -</fieldset>
plugins/comment_paragraph
... ... @@ -1 +0,0 @@
1   -Subproject commit 934756d1a39e0643d64867a80c3962dfc3bd7092
plugins/custom_forms/lib/custom_forms_plugin/answer.rb
... ... @@ -14,10 +14,14 @@ class CustomFormsPlugin::Answer &lt; ActiveRecord::Base
14 14 end
15 15 end
16 16  
17   - def to_s
18   - return value if value.blank? || field.alternatives.blank?
  17 + def to_text_list
  18 + return [value] if value.blank? || field.alternatives.blank?
19 19 selected = value.split(',')
20   - field.alternatives.select {|alt| selected.include? alt.id.to_s }.map(&:label).join(';')
  20 + field.alternatives.select {|alt| selected.include? alt.id.to_s }.map(&:label)
  21 + end
  22 +
  23 + def to_s
  24 + to_text_list.join(';')
21 25 end
22 26 end
23 27  
... ...
plugins/custom_forms/lib/custom_forms_plugin/helper.rb
... ... @@ -69,12 +69,13 @@ module CustomFormsPlugin::Helper
69 69 end
70 70  
71 71 def display_custom_field(field, submission, form)
  72 + sanitized_name = ActionView::Base.white_list_sanitizer.sanitize field.name
72 73 answer = submission.answers.select{|answer| answer.field == field}.first
73 74 field_tag = send("display_#{type_for_options(field.class)}",field, answer, form)
74 75 if field.mandatory? && submission.id.nil?
75   - required(labelled_form_field(field.name, field_tag))
  76 + required(labelled_form_field(sanitized_name, field_tag))
76 77 else
77   - labelled_form_field(field.name, field_tag)
  78 + labelled_form_field(sanitized_name, field_tag)
78 79 end
79 80 end
80 81  
... ...
plugins/custom_forms/lib/custom_forms_plugin/submission.rb
... ... @@ -49,6 +49,14 @@ class CustomFormsPlugin::Submission &lt; Noosfero::Plugin::ActiveRecord
49 49 self.answers
50 50 end
51 51  
  52 + def q_and_a
  53 + qa = {}
  54 + form.fields.each do |f|
  55 + self.answers.select{|a| a.field == f}.map{|answer| qa[f] = answer }
  56 + end
  57 + qa
  58 + end
  59 +
52 60 protected
53 61  
54 62 def check_answers
... ...
plugins/custom_forms/public/field.js
... ... @@ -40,7 +40,7 @@ var customFormsPlugin = {
40 40 if (confirm(confirmMsg)) {
41 41 fb = jQuery(button).closest('.field-box');
42 42 jQuery('input.destroy-field', fb).val(1);
43   - jQuery('> div', fb).slideUp({easing:'linear', complete:function(){fb.slideUp({easing:'linear', duration:250})}});
  43 + jQuery(fb).slideUp(600, 'linear');
44 44 }
45 45 },
46 46  
... ...
plugins/custom_forms/public/style.css
... ... @@ -89,3 +89,32 @@ tr.addition-buttons {
89 89 border: 1px solid #BBB;
90 90 border-radius: 4px;
91 91 }
  92 +
  93 +#custom-forms-plugin_submission .notify {
  94 + padding: 8px;
  95 + color: rgba(0,0,0,0.5);
  96 +}
  97 +
  98 +#custom-forms-plugin_submission-view th {
  99 + border: none;
  100 + text-align: right;
  101 +}
  102 +#custom-forms-plugin_submission-view td {
  103 + padding: 5px 0;
  104 +}
  105 +
  106 +#custom-forms-plugin_submission-view td img {
  107 + vertical-align: middle;
  108 +}
  109 +
  110 +#custom-forms-plugin_submission-view td ul {
  111 + padding: 0;
  112 + margin: 0;
  113 +}
  114 +#custom-forms-plugin_submission-view td li {
  115 + list-style: none;
  116 + background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><rect x="3.5" y="3.5" width="10" height="10" fill="black" stroke="black" fill-opacity="0.2" opacity="0.4" ry="1"/><path d="M 4,5 8.5,13 16,0 8.5,8.5 z"/></svg>') no-repeat 0 50%;
  117 + padding: 0 0 0 20px;
  118 + margin: 0;
  119 +}
  120 +
... ...