Commit 7041451bd662443b0c69db452ea7df799e665f0f

Authored by Victor Costa
2 parents a74b5d28 dc115f26

Merge branch 'master' into staging_rails4

po/es/noosfero.po
... ... @@ -7,35 +7,32 @@ msgid ""
7 7 msgstr ""
8 8 "Project-Id-Version: 1.3~rc2-8-g01ea9f7\n"
9 9 "POT-Creation-Date: 2015-11-04 12:36-0300\n"
10   -"PO-Revision-Date: 2015-09-17 08:39-0300\n"
11   -"Last-Translator: Ronnie Simon <ronniesimonf@gmail.com>\n"
12   -"Language-Team: Spanish <https://hosted.weblate.org/projects/noosfero/"
13   -"noosfero/es/>\n"
  10 +"PO-Revision-Date: 2015-11-29 18:45+0000\n"
  11 +"Last-Translator: María Vecino <mariavecino@ecoalternative.net>\n"
  12 +"Language-Team: Spanish "
  13 +"<https://hosted.weblate.org/projects/noosfero/noosfero/es/>\n"
14 14 "Language: es\n"
15 15 "MIME-Version: 1.0\n"
16 16 "Content-Type: text/plain; charset=UTF-8\n"
17 17 "Content-Transfer-Encoding: 8bit\n"
18 18 "Plural-Forms: nplurals=2; plural=n != 1;\n"
19   -"X-Generator: Weblate 2.4-dev\n"
  19 +"X-Generator: Weblate 2.5-dev\n"
20 20  
21 21 #: app/models/approve_comment.rb:17
22   -#, fuzzy
23 22 msgid "Anonymous"
24   -msgstr "Siglas"
  23 +msgstr "Anónimo"
25 24  
26 25 #: app/models/approve_comment.rb:25 app/models/approve_article.rb:31
27 26 msgid "Article removed."
28 27 msgstr "Artículo eliminado."
29 28  
30 29 #: app/models/approve_comment.rb:33
31   -#, fuzzy
32 30 msgid "New comment to article"
33   -msgstr "Artículos más comentados"
  31 +msgstr "Nuevo comentario para el artículo / entrada"
34 32  
35 33 #: app/models/approve_comment.rb:49 app/models/approve_comment.rb:51
36   -#, fuzzy
37 34 msgid "%{requestor} commented on the article: %{linked_subject}."
38   -msgstr "%{requestor} quiere publicar el artículo: %{linked_subject}."
  35 +msgstr "%{requestor} quiere comentar el artículo: %{linked_subject}."
39 36  
40 37 # borrado, exterminado, destruido?
41 38 #: app/models/approve_comment.rb:55 app/models/approve_article.rb:91
... ... @@ -43,17 +40,14 @@ msgid &quot;The article was removed.&quot;
43 40 msgstr "El artículo fue eliminado."
44 41  
45 42 #: app/models/approve_comment.rb:81
46   -#, fuzzy
47 43 msgid "%{requestor} wants to comment the article: %{article}."
48   -msgstr "% {} Solicitante quiere comentar el artículo:% {article}"
  44 +msgstr "% {requestor} quiere comentar el artículo:% {articule}"
49 45  
50 46 #: app/models/approve_comment.rb:83
51   -#, fuzzy
52 47 msgid "%{requestor} wanted to comment the article but it was removed."
53   -msgstr "%} Solicitante{} quiso publicar un articulo pero fue eliminado.%"
  48 +msgstr "% {requestor} quiso comentar un articulo pero fue eliminado."
54 49  
55 50 #: app/models/approve_comment.rb:89
56   -#, fuzzy
57 51 msgid ""
58 52 "You need to login on %{system} in order to approve or reject this comment."
59 53 msgstr ""
... ... @@ -72,14 +66,12 @@ msgstr &quot;&quot;
72 66 "%{commentasio} "
73 67  
74 68 #: app/models/approve_comment.rb:96
75   -#, fuzzy
76 69 msgid "Your request for comment the article \"%{article}\" was approved."
77   -msgstr "Tu solicitud para publicar el artículo \"%article}\" fue aprobada."
  70 +msgstr "Tu solicitud para comentar el artículo \"%{article}\" fue aprobada."
78 71  
79 72 #: app/models/approve_comment.rb:101
80   -#, fuzzy
81 73 msgid "Your request for commenting the article \"%{article}\" was rejected."
82   -msgstr "La solicitud para publicar tu artículo \"{articulo}\" fue rechazado."
  74 +msgstr "La solicitud para comentar tu artículo \"%{article}\" fue rechazado."
83 75  
84 76 #: app/models/approve_comment.rb:103
85 77 msgid ""
... ... @@ -195,7 +187,6 @@ msgid &quot;%{requestor} invited you to join %{community}.&quot;
195 187 msgstr "%{requestor} te invitó a unirte a %{community}."
196 188  
197 189 #: app/models/invite_member.rb:45
198   -#, fuzzy
199 190 msgid "%{requestor} is inviting you to join \"%{community}\" on %{system}."
200 191 msgstr "%{requestor} te invitó a unirte a %{community}."
201 192  
... ... @@ -224,9 +215,8 @@ msgid &quot;Search for enterprises and products&quot;
224 215 msgstr "Buscar por empresa y productos"
225 216  
226 217 #: app/models/sellers_search_block.rb:10
227   -#, fuzzy
228 218 msgid "Products/Enterprises search"
229   -msgstr "Productos/Búsqueda de empresas"
  219 +msgstr "Búsqueda de productos/empresas"
230 220  
231 221 #: app/models/sellers_search_block.rb:14
232 222 msgid "Search for sellers"
... ... @@ -277,9 +267,8 @@ msgid &quot;File&quot;
277 267 msgstr "Archivo"
278 268  
279 269 #: app/models/uploaded_file.rb:68
280   -#, fuzzy
281 270 msgid "{fn} of uploaded file was larger than the maximum size of %{size}"
282   -msgstr "%{fn} del archivo subido fue más grande que el tamaño máximo de 5.0 MB"
  271 +msgstr "%{fn} del archivo subido es más grande que el tamaño máximo de %{size}"
283 272  
284 273 #: app/models/uploaded_file.rb:95
285 274 msgid "Uploaded file"
... ... @@ -336,23 +325,20 @@ msgid &quot;Acronym&quot;
336 325 msgstr "Siglas"
337 326  
338 327 #: app/models/category.rb:8
339   -#, fuzzy
340 328 msgid "Abbreviation"
341   -msgstr "Invitación"
  329 +msgstr "Abreviatura"
342 330  
343 331 #: app/models/category.rb:9 app/models/article.rb:20
344 332 msgid "Slug"
345 333 msgstr ""
346 334  
347 335 #: app/models/category.rb:12
348   -#, fuzzy
349 336 msgid "{fn} cannot be like that."
350 337 msgstr "%{fn} no puede ser de esta forma."
351 338  
352 339 #: app/models/category.rb:14
353   -#, fuzzy
354 340 msgid "{fn} is already being used by another category."
355   -msgstr "%{fn} ya está siendo usado por otra categoría."
  341 +msgstr "{fn} ya está siendo usado por otra categoría."
356 342  
357 343 #: app/models/environment.rb:41
358 344 msgid "View environment admin panel"
... ... @@ -383,24 +369,20 @@ msgid &quot;Manage environment users&quot;
383 369 msgstr "Administrar usuarios del entorno"
384 370  
385 371 #: app/models/environment.rb:48
386   -#, fuzzy
387 372 msgid "Manage environment organizations"
388   -msgstr "Administrar validadores del entorno"
  373 +msgstr "Administrar organizaciones medioambientales"
389 374  
390 375 #: app/models/environment.rb:49
391   -#, fuzzy
392 376 msgid "Manage environment templates"
393 377 msgstr "Administrar plantillas de medio ambiente"
394 378  
395 379 #: app/models/environment.rb:50
396   -#, fuzzy
397 380 msgid "Manage environment licenses"
398 381 msgstr "Gestionar licencias de medio ambiente"
399 382  
400 383 #: app/models/environment.rb:51
401   -#, fuzzy
402 384 msgid "Manage environment trusted sites"
403   -msgstr "Administrar sitios de ambiente de confianza"
  385 +msgstr "Administrar sitios medioambientales de confianza"
404 386  
405 387 #: app/models/environment.rb:52 app/models/profile.rb:78
406 388 #: app/views/templates/index.html.erb:34
... ... @@ -472,7 +454,6 @@ msgid &quot;Disable the categories menu&quot;
472 454 msgstr "Desactivar el menú de categorías"
473 455  
474 456 #: app/models/environment.rb:128
475   -#, fuzzy
476 457 msgid "Disable state/city select for contact form"
477 458 msgstr ""
478 459 "Desactivar la selección estatal/municipal para el formulario de contacto"
... ... @@ -486,12 +467,10 @@ msgid &quot;Disable contact for groups/communities&quot;
486 467 msgstr "Deshabilitar contacto con grupos"
487 468  
488 469 #: app/models/environment.rb:131
489   -#, fuzzy
490 470 msgid "Forbid users of removing profiles"
491   -msgstr "El perfil no puede ser eliminado"
  471 +msgstr "Impedir a usuarios eliminar el perfil"
492 472  
493 473 #: app/models/environment.rb:133
494   -#, fuzzy
495 474 msgid "Enable products for enterprises"
496 475 msgstr "Desactivar los productos para empresas"
497 476  
... ... @@ -559,9 +538,8 @@ msgid &quot;Admin must approve creation of communities&quot;
559 538 msgstr "Un administrador debe aprobar las nuevas comunidades"
560 539  
561 540 #: app/models/environment.rb:151
562   -#, fuzzy
563 541 msgid "Admin must approve registration of new users"
564   -msgstr "Un administrador debe aprobar las nuevas comunidades"
  542 +msgstr "El administrador debe aprobar el registro de nuevos usuarios"
565 543  
566 544 #: app/models/environment.rb:152
567 545 msgid "Show a balloon with profile links when a profile image is clicked"
... ... @@ -584,9 +562,8 @@ msgid &quot;Skip e-mail confirmation for new users&quot;
584 562 msgstr "Omitir confirmación de correo electrónico para nuevos usuarios"
585 563  
586 564 #: app/models/environment.rb:157
587   -#, fuzzy
588 565 msgid "Send welcome e-mail to new users"
589   -msgstr "Enviar correo electrónico a los usuarios"
  566 +msgstr "Enviar correo electrónico de bienvenida a los usuarios"
590 567  
591 568 #: app/models/environment.rb:158
592 569 msgid "Allow users to set the page to redirect after login"
... ... @@ -597,24 +574,24 @@ msgstr &quot;&quot;
597 574 #: app/models/environment.rb:159
598 575 msgid "Display on menu the list of communities the user can manage"
599 576 msgstr ""
  577 +"Desplegar en menú la lista de Comunidades que el usuario puede gestionar"
600 578  
601 579 #: app/models/environment.rb:160
602 580 msgid "Display on menu the list of enterprises the user can manage"
603 581 msgstr ""
  582 +"Desplegar en el menú la lista de empresas que el usuario puede gestionar"
604 583  
605 584 #: app/models/environment.rb:161
606   -#, fuzzy
607 585 msgid "Show content only to members"
608   -msgstr "Nuevo contenido"
  586 +msgstr "Enseñar contenido sólo a usuarios"
609 587  
610 588 #: app/models/environment.rb:163
611   -#, fuzzy
612 589 msgid "Enable appearance editing by users"
613   -msgstr "Desactivar la edición de encabezado y pie de página para los usuarios"
  590 +msgstr "Desactivar la edición de apariencia para los usuarios"
614 591  
615 592 #: app/models/environment.rb:169
616 593 msgid "Stays on the same page the user was before login."
617   -msgstr ""
  594 +msgstr "Permanecer en la misma página en la que el usuario se identificó."
618 595  
619 596 #: app/models/environment.rb:170 app/models/environment.rb:182
620 597 msgid "Redirects the user to the environment homepage."
... ... @@ -10358,9 +10335,8 @@ msgid &quot;Method Not Allowed&quot;
10358 10335 msgstr ""
10359 10336  
10360 10337 #: lib/file_presenter.rb:65
10361   -#, fuzzy
10362 10338 msgid "File (%s)"
10363   -msgstr "Precio (%s)"
  10339 +msgstr "Archivo (%s)"
10364 10340  
10365 10341 #: lib/feed_writer.rb:12
10366 10342 msgid "Feed"
... ...
test/functional/application_controller_test.rb
... ... @@ -485,7 +485,12 @@ class ApplicationControllerTest &lt; ActionController::TestCase
485 485 Noosfero::MultiTenancy.expects(:on?).returns(true)
486 486 Noosfero::MultiTenancy.expects(:mapping).returns({ 'schema1.com' => 'schema1' }).at_least_once
487 487 exception = assert_raise(ActiveRecord::StatementInvalid) { get :index }
488   - assert_match /SET search_path TO schema1/, exception.message
  488 +
  489 + # we have switched to a new database schema; depending on the PostgreSQL
  490 + # version, we will receive either an error message because the schema
  491 + # does not exist, or an error saying that whatever table we need can't be
  492 + # found.
  493 + assert_match /(SET search_path TO schema1|PG::UndefinedTable)/, exception.message
489 494 end
490 495  
491 496 should 'not change postgresql schema if multitenancy is off' do
... ...
test/functional/profile_controller_test.rb
... ... @@ -873,11 +873,11 @@ class ProfileControllerTest &lt; ActionController::TestCase
873 873 assert_template 'index'
874 874 end
875 875  
876   - should 'the network activity be paginated on communities' do
  876 + should 'paginate the network activity listing on communities' do
877 877 community = fast_create(Community)
878 878 40.times{ fast_create(ActionTrackerNotification, :profile_id => community.id, :action_tracker_id => fast_create(ActionTracker::Record, :user_id => profile.id)) }
879 879 get :index, :profile => community.identifier
880   - assert_equal 15, assigns(:network_activities).size
  880 + assert_equal 15, assigns(:network_activities).to_a.size
881 881 end
882 882  
883 883 should 'the self activity not crashes with user not logged in' do
... ...