foreman_discovery 16.3.5 → 17.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/api/v2/discovered_hosts_controller.rb +1 -0
  3. data/app/controllers/discovered_hosts_controller.rb +24 -35
  4. data/app/controllers/discovery_rules_controller.rb +12 -1
  5. data/app/helpers/discovered_hosts_helper.rb +1 -1
  6. data/app/helpers/discovery_rules_helper.rb +1 -0
  7. data/app/models/discovery_rule.rb +10 -5
  8. data/app/services/foreman_discovery/fact_to_category_resolver.rb +106 -0
  9. data/app/services/foreman_discovery/ui_notifications/failed_discovery.rb +34 -0
  10. data/app/services/foreman_discovery/ui_notifications/new_host.rb +2 -1
  11. data/app/views/discovered_hosts/_discovered_hosts_list.html.erb +44 -40
  12. data/app/views/discovery_rules/clone.erb +3 -0
  13. data/app/views/discovery_rules/index.html.erb +4 -0
  14. data/app/views/discovery_rules/welcome.html.erb +15 -0
  15. data/app/views/foreman_discovery/debian_kexec.erb +1 -1
  16. data/app/views/foreman_discovery/redhat_kexec.erb +1 -1
  17. data/config/routes.rb +2 -0
  18. data/db/seeds.d/80_discovery_ui_notification.rb +11 -5
  19. data/lib/foreman_discovery/engine.rb +3 -7
  20. data/lib/foreman_discovery/version.rb +1 -1
  21. data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
  22. data/locale/ca/foreman_discovery.edit.po +103 -70
  23. data/locale/ca/foreman_discovery.po +36 -9
  24. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  25. data/locale/de/foreman_discovery.edit.po +109 -76
  26. data/locale/de/foreman_discovery.po +45 -18
  27. data/locale/en/LC_MESSAGES/foreman_discovery.mo +0 -0
  28. data/locale/en/foreman_discovery.edit.po +98 -66
  29. data/locale/en/foreman_discovery.po +31 -4
  30. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  31. data/locale/en_GB/foreman_discovery.edit.po +107 -74
  32. data/locale/en_GB/foreman_discovery.po +36 -9
  33. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  34. data/locale/es/foreman_discovery.edit.po +109 -76
  35. data/locale/es/foreman_discovery.po +70 -41
  36. data/locale/foreman_discovery.pot +142 -97
  37. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  38. data/locale/fr/foreman_discovery.edit.po +151 -118
  39. data/locale/fr/foreman_discovery.po +76 -49
  40. data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
  41. data/locale/gl/foreman_discovery.edit.po +101 -68
  42. data/locale/gl/foreman_discovery.po +32 -5
  43. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  44. data/locale/it/foreman_discovery.edit.po +107 -74
  45. data/locale/it/foreman_discovery.po +44 -17
  46. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  47. data/locale/ja/foreman_discovery.edit.po +136 -103
  48. data/locale/ja/foreman_discovery.po +79 -54
  49. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  50. data/locale/ko/foreman_discovery.edit.po +107 -74
  51. data/locale/ko/foreman_discovery.po +43 -16
  52. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  53. data/locale/pt_BR/foreman_discovery.edit.po +109 -76
  54. data/locale/pt_BR/foreman_discovery.po +69 -39
  55. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  56. data/locale/ru/foreman_discovery.edit.po +112 -79
  57. data/locale/ru/foreman_discovery.po +43 -16
  58. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  59. data/locale/sv_SE/foreman_discovery.edit.po +101 -68
  60. data/locale/sv_SE/foreman_discovery.po +34 -7
  61. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  62. data/locale/zh_CN/foreman_discovery.edit.po +153 -120
  63. data/locale/zh_CN/foreman_discovery.po +114 -90
  64. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  65. data/locale/zh_TW/foreman_discovery.edit.po +107 -74
  66. data/locale/zh_TW/foreman_discovery.po +43 -16
  67. data/package.json +6 -6
  68. data/test/functional/api/v2/discovered_hosts_controller_test.rb +9 -0
  69. data/test/functional/discovery_rules_controller_test.rb +6 -1
  70. data/test/integration/discovered_hosts_test.rb +53 -5
  71. data/test/test_helper_discovery.rb +5 -0
  72. data/test/unit/discovery_rule_test.rb +24 -2
  73. data/test/unit/fact_to_category_resolver_test.rb +41 -0
  74. data/test/unit/ui_notifications/destroy_host_test.rb +2 -9
  75. data/test/unit/ui_notifications/new_host_test.rb +3 -3
  76. data/webpack/__mocks__/foremanReact/common/I18n.js +3 -0
  77. data/webpack/__mocks__/foremanReact/common/helpers.js +1 -0
  78. data/webpack/__mocks__/foremanReact/common/index.js +5 -0
  79. data/webpack/__mocks__/foremanReact/components/common/EmptyState/DefaultEmptyState.js +69 -0
  80. data/webpack/__mocks__/foremanReact/components/common/EmptyState/EmptyStatePattern.js +77 -0
  81. data/webpack/__mocks__/foremanReact/components/common/EmptyState/EmptyStatePropTypes.js +29 -0
  82. data/webpack/__mocks__/foremanReact/components/common/EmptyState/index.js +5 -0
  83. data/webpack/index.js +9 -8
  84. data/webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/EmptyState.js +7 -7
  85. data/webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/__test__/EmptyState.test.js +12 -0
  86. data/webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/__test__/__snapshots__/EmptyState.test.js.snap +16 -0
  87. data/webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/index.js +1 -1
  88. data/webpack/src/ForemanDiscovery/DiscoveredHosts/index.js +3 -3
  89. data/webpack/src/ForemanDiscovery/DiscoveryRules/Components/EmptyState/EmptyState.js +34 -0
  90. data/webpack/src/ForemanDiscovery/DiscoveryRules/Components/EmptyState/index.js +1 -0
  91. data/webpack/src/ForemanDiscovery/DiscoveryRules/Components/__test__/EmptyState.test.js +19 -0
  92. data/webpack/src/ForemanDiscovery/DiscoveryRules/Components/__test__/__snapshots__/EmptyState.test.js.snap +22 -0
  93. data/webpack/src/ForemanDiscovery/DiscoveryRules/index.js +6 -0
  94. data/webpack/src/reducers.js +0 -2
  95. metadata +32 -10
@@ -4,15 +4,17 @@
4
4
  #
5
5
  # Translators:
6
6
  # elobato <elobatocs@gmail.com>, 2015
7
+ # elobato <elobatocs@gmail.com>, 2015
7
8
  # francis <hackgo@gmail.com>, 2013-2014
9
+ # Sergio Ocón-Cárdenas <sergio.ocon@redhat.com>, 2014
8
10
  # Sergio Ocón-Cárdenas <sergio.ocon@redhat.com>, 2014-2015
9
11
  # Sergio Ocón-Cárdenas <sergio.ocon@redhat.com>, 2014
10
12
  msgid ""
11
13
  msgstr ""
12
- "Project-Id-Version: foreman_discovery 16.2.0\n"
14
+ "Project-Id-Version: foreman_discovery 16.3.4\n"
13
15
  "Report-Msgid-Bugs-To: \n"
14
- "PO-Revision-Date: 2020-05-26 17:21+0000\n"
15
- "Last-Translator: Transifex Bot <>\n"
16
+ "PO-Revision-Date: 2021-01-25 08:35+0000\n"
17
+ "Last-Translator: Amit Upadhye <aupadhye@redhat.com>\n"
16
18
  "Language-Team: Spanish (http://www.transifex.com/foreman/foreman/language/es/)"
17
19
  "\n"
18
20
  "MIME-Version: 1.0\n"
@@ -24,9 +26,6 @@ msgstr ""
24
26
  msgid "%s - The following hosts are about to be changed"
25
27
  msgstr "%s - Los siguientes equipos están a punto de ser modificados"
26
28
 
27
- msgid "%s ago"
28
- msgstr "Hace %s"
29
-
30
29
  msgid "%s discovered hosts were provisioned"
31
30
  msgstr "Se aprovisionaron %s hosts detectados"
32
31
 
@@ -37,7 +36,7 @@ msgid "A summary of discovered hosts"
37
36
  msgstr "Resumen de los hosts detectados"
38
37
 
39
38
  msgid "Action with sub plans"
40
- msgstr ""
39
+ msgstr "Acción con subplanes"
41
40
 
42
41
  msgid "Actions"
43
42
  msgstr "Acciones"
@@ -84,8 +83,14 @@ msgstr "Eliminar todos los eventos"
84
83
  msgid "Clean all reported facts during provisioning (except discovery facts)"
85
84
  msgstr "Eliminar todos los eventos informados durante el aprovisionamiento (excepto los eventos de detección)"
86
85
 
86
+ msgid "Clone"
87
+ msgstr ""
88
+
89
+ msgid "Clone %s"
90
+ msgstr ""
91
+
87
92
  msgid "Collapse All"
88
- msgstr "Colapsó todo"
93
+ msgstr "Contraer todo"
89
94
 
90
95
  msgid "Command line options for kexec during PXE-less provisioning."
91
96
  msgstr "Opciones de la línea de comandos para kexec durante el aprovisionamiento sin PXE."
@@ -133,25 +138,31 @@ msgid "Destroyed selected hosts"
133
138
  msgstr "Eliminados equipos seleccionados"
134
139
 
135
140
  msgid "Details"
136
- msgstr "Información"
141
+ msgstr "Detalles"
137
142
 
138
143
  msgid "Disable"
139
- msgstr "Inhabilitar"
144
+ msgstr "Deshabilitar"
140
145
 
141
146
  msgid "Disable rule '%s'?"
142
147
  msgstr "¿Deshabilitar regla '%s'?"
143
148
 
144
149
  msgid "Discovered Host"
145
150
  msgid_plural "Discovered Hosts"
146
- msgstr[0] ""
147
- msgstr[1] ""
151
+ msgstr[0] "Host detectado"
152
+ msgstr[1] "Hosts detectados"
148
153
 
149
154
  msgid "Discovered Hosts"
150
155
  msgstr "Hosts detectados"
151
156
 
157
+ msgid "Discovered Rules"
158
+ msgstr ""
159
+
152
160
  msgid "Discovered host '%{host}' has all NICs filtered out, filter: %{filter}"
153
161
  msgstr "El host detectado '%{host}' tiene todas las NIC filtradas, filtro: %{filter}"
154
162
 
163
+ msgid "Discovered host reported from unknown subnet, communication will not be proxied."
164
+ msgstr ""
165
+
155
166
  msgid "Discovered host: %s"
156
167
  msgstr "Equipo descubierto: %s"
157
168
 
@@ -164,6 +175,9 @@ msgstr "Se están reiniciando ahora los hosts detectados"
164
175
  msgid "Discovered hosts from Foreman server at %{foreman_url}"
165
176
  msgstr "Hosts detectados desde el servidor de Foreman en %{foreman_url}"
166
177
 
178
+ msgid "Discovered hosts reported from unknown subnet are %s, communication will not be proxied."
179
+ msgstr ""
180
+
167
181
  msgid "Discovered hosts summary"
168
182
  msgstr "Resumen de hosts detectados"
169
183
 
@@ -225,11 +239,14 @@ msgid "Edit %s"
225
239
  msgstr "Editar %s"
226
240
 
227
241
  msgid "Enable"
228
- msgstr "Activar"
242
+ msgstr "Habilitar"
229
243
 
230
244
  msgid "Enable rule '%s'?"
231
245
  msgstr "¿Habilitar regla '%s'?"
232
246
 
247
+ msgid "Error message goes here"
248
+ msgstr ""
249
+
233
250
  msgid "Error on existing NIC"
234
251
  msgstr "Error en la NIC existente"
235
252
 
@@ -284,6 +301,9 @@ msgstr "Fallo al refrescar datos para %s"
284
301
  msgid "Failed to refresh facts for %{hostname} with error %{error_message}"
285
302
  msgstr "Ocurrió un error al actualizar los eventos de %{hostname} con el error %{error_message}"
286
303
 
304
+ msgid "For more information please see "
305
+ msgstr ""
306
+
287
307
  msgid "Force DNS"
288
308
  msgstr "Forzar DNS"
289
309
 
@@ -306,7 +326,10 @@ msgid "Highlights"
306
326
  msgstr "Aspectos destacados"
307
327
 
308
328
  msgid "Host"
309
- msgstr "Host"
329
+ msgstr "host"
330
+
331
+ msgid "Host %s has been dicovered"
332
+ msgstr ""
310
333
 
311
334
  msgid "Host %{host} was provisioned with rule %{rule}"
312
335
  msgstr "El host %{host} se aprovisionó con la regla %{rule}"
@@ -316,22 +339,22 @@ msgstr "Grupo de Equipo"
316
339
 
317
340
  msgid "Host group location %s must also be associated to the discovery rule"
318
341
  msgid_plural "Host group locations %s must also be associated to the discovery rule"
319
- msgstr[0] ""
320
- msgstr[1] ""
342
+ msgstr[0] "La ubicación del grupo de host %s debe estar asociada también con la regla de detección"
343
+ msgstr[1] "Las ubicaciones del grupo de host %s deben estar asociadas también con la regla de detección"
321
344
 
322
345
  msgid "Host group organization %s must also be associated to the discovery rule"
323
346
  msgid_plural "Host group organizations %s must also be associated to the discovery rule"
324
- msgstr[0] ""
325
- msgstr[1] ""
347
+ msgstr[0] "La organización del grupo de host %s debe estar asociada también con la regla de detección"
348
+ msgstr[1] "Las organizaciones del grupo de host %s deben estar asociadas también con la regla de detección"
326
349
 
327
350
  msgid "Host of type %s can not be rebooted"
328
351
  msgstr "No es posible reiniciar el tipo de host %s"
329
352
 
330
353
  msgid "Host's owner type"
331
- msgstr ""
354
+ msgstr "Tipo de propietario de host"
332
355
 
333
356
  msgid "Host's parameters (array or indexed hash)"
334
- msgstr ""
357
+ msgstr "Parámetros del host (array o hash indexado)"
335
358
 
336
359
  msgid "Hostname facts"
337
360
  msgstr "Eventos del nombre de host"
@@ -364,7 +387,7 @@ msgid "IP address"
364
387
  msgstr "Dirección IP"
365
388
 
366
389
  msgid "IPAM must be configured for subnet '%s'"
367
- msgstr ""
390
+ msgstr "El IPAM debe ser configurado para la subred '%s'"
368
391
 
369
392
  msgid "IPMI"
370
393
  msgstr "IPMI"
@@ -382,10 +405,10 @@ msgid "Image API returned HTTP/%{code} with '%{body}"
382
405
  msgstr "La API de la imagen arrojó HTTP/%{code} with '%{body}"
383
406
 
384
407
  msgid "Import Puppet classes"
385
- msgstr ""
408
+ msgstr "Importar clases Puppet"
386
409
 
387
410
  msgid "Import facts"
388
- msgstr ""
411
+ msgstr "Importar datos"
389
412
 
390
413
  msgid "In addition to @host attribute function rand for random integers is available. Examples:"
391
414
  msgstr "Además del atributo @host, la función aleatoria para los números enteros aleatorizados se encuentra disponible. Ejemplos:"
@@ -433,7 +456,7 @@ msgid "List of facts to use for the hostname (separated by comma, first wins)"
433
456
  msgstr "Mostrar los eventos que deben utilizarse para el nombre de host (separados por comas, los primeros son los más importantes)"
434
457
 
435
458
  msgid "Location"
436
- msgstr "Lugares"
459
+ msgstr "Ubicación"
437
460
 
438
461
  msgid "Locations"
439
462
  msgstr "Ubicaciones"
@@ -463,19 +486,19 @@ msgid "Memory"
463
486
  msgstr "Memoria"
464
487
 
465
488
  msgid "Miscellaneous"
466
- msgstr "Miscelánea"
489
+ msgstr "Misceláneo"
467
490
 
468
491
  msgid "Model"
469
- msgstr "Modelo"
492
+ msgstr "Modelado"
470
493
 
471
494
  msgid "N/A"
472
- msgstr "N/A"
495
+ msgstr "N/C"
473
496
 
474
497
  msgid "Name"
475
498
  msgstr "Nombre"
476
499
 
477
500
  msgid "Name of the parameter"
478
- msgstr ""
501
+ msgstr "Nombre del parámetro"
479
502
 
480
503
  msgid "Network"
481
504
  msgstr "Red"
@@ -486,6 +509,9 @@ msgstr "Eventos de red"
486
509
  msgid "New Discovery Rule"
487
510
  msgstr "Nueva regla de detección"
488
511
 
512
+ msgid "New hosts"
513
+ msgstr ""
514
+
489
515
  msgid "New in the last 24 hours"
490
516
  msgstr "Nuevo en las últimas 24 horas"
491
517
 
@@ -505,7 +531,7 @@ msgid "No hostgroup associated with rule '%s'"
505
531
  msgstr "No hay grupo de host asociado con la regla '%s'"
506
532
 
507
533
  msgid "No hosts selected"
508
- msgstr "Ningún equipo seleccionado"
534
+ msgstr "Ningún host seleccionado"
509
535
 
510
536
  msgid "No hosts were found with that id or name"
511
537
  msgstr "No se han encontrado equipos con ese id o nombre"
@@ -538,16 +564,16 @@ msgid "PXELinux template to be used when pinning a host to discovery"
538
564
  msgstr "Debe utilizarse la plantilla PXELinux para adjuntar un host a la detección"
539
565
 
540
566
  msgid "Parameter value"
541
- msgstr ""
567
+ msgstr "Valor del parámetro"
542
568
 
543
569
  msgid "Please Confirm"
544
- msgstr "Confirme, por favor"
570
+ msgstr "Confirmar"
545
571
 
546
572
  msgid "Primary"
547
573
  msgstr "Primario"
548
574
 
549
575
  msgid "Provision"
550
- msgstr "Aprovisionamiento"
576
+ msgstr "Aprovisionar"
551
577
 
552
578
  msgid "Provision %s"
553
579
  msgstr "Aprovisionar %s"
@@ -604,7 +630,7 @@ msgid "Reloading kernel on %s"
604
630
  msgstr "Recargando el kernel en %s"
605
631
 
606
632
  msgid "Remote action:"
607
- msgstr ""
633
+ msgstr "Acción remota:"
608
634
 
609
635
  msgid "Reported in the last 7 days"
610
636
  msgstr "Informado en los últimos 7 días"
@@ -643,7 +669,7 @@ msgid "Software facts"
643
669
  msgstr "Eventos de software"
644
670
 
645
671
  msgid "Something went wrong while selecting hosts - %s"
646
- msgstr "Algo ha fallado al seleccionar equipos - %s"
672
+ msgstr "Algo ha fallado al seleccionar hosts - %s"
647
673
 
648
674
  msgid "Specify target hostname template pattern in the same syntax as in Provisioning Templates (ERB)."
649
675
  msgstr "Especificar el patrón de la plantilla del nombre de host de destino con la misma sintaxis que en las Plantillas de aprovisionamiento (ERB)."
@@ -655,7 +681,7 @@ msgid "Storage facts"
655
681
  msgstr "Eventos de almacenamiento"
656
682
 
657
683
  msgid "Submit"
658
- msgstr "Introducir"
684
+ msgstr "Enviar"
659
685
 
660
686
  msgid "Subnet"
661
687
  msgstr "Subred"
@@ -694,7 +720,7 @@ msgid "Type of name generator"
694
720
  msgstr "Tipo de generador de nombre"
695
721
 
696
722
  msgid "Type of value"
697
- msgstr ""
723
+ msgstr "Tipo de valor"
698
724
 
699
725
  msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
700
726
  msgstr "UUID para seguir el estado de la tarea de orquestación, GET /api/orchestration/:UUID/tasks"
@@ -709,10 +735,10 @@ msgid "Unable to perform %{action} on %{ips}"
709
735
  msgstr ""
710
736
 
711
737
  msgid "Unable to perform kexec on %{name} (%{url}): %{msg}"
712
- msgstr ""
738
+ msgstr "No es posible ejecutar kexec en %{name} (%{url}): %{msg}"
713
739
 
714
740
  msgid "Unable to perform reboot on %{name} (%{url}): %{msg}"
715
- msgstr ""
741
+ msgstr "No se puede realizar el reinicio en %{name} (%{url}): %{msg}"
716
742
 
717
743
  msgid "Unable to provision %{host}: %{errors}"
718
744
  msgstr "No es posible aprovisionar %{host}: %{errors}"
@@ -732,6 +758,9 @@ msgstr "no puede incluir espacios en blanco."
732
758
  msgid "defines a pattern to assign human-readable hostnames to the matching hosts"
733
759
  msgstr "define un patrón para asignarles a los hosts coincidentes nombres de hosts aptos para la lectura humana"
734
760
 
761
+ msgid "documentation"
762
+ msgstr "documentación"
763
+
735
764
  msgid "enables to limit maximum amount of provisioned hosts per rule"
736
765
  msgstr "se habilita para limitar la cantidad máxima de hosts aprovisionados por regla"
737
766
 
@@ -781,13 +810,13 @@ msgid "represents rule name shown to the users"
781
810
  msgstr "representa el nombre de la regla que se les muestra a los usuarios"
782
811
 
783
812
  msgid "required if host is managed and custom partition has not been defined"
784
- msgstr ""
813
+ msgstr "obligatorio si el host está administrado y no se han definido particiones personalizadas"
785
814
 
786
815
  msgid "required if host is managed and value is not inherited from host group"
787
- msgstr ""
816
+ msgstr "obligatorio si los hosts están administrados y el valor no se ha heredado de un grupo de hosts"
788
817
 
789
818
  msgid "required if not imaged based provisioning and host is managed and value is not inherited from host group"
790
- msgstr ""
819
+ msgstr "obligatorio si el aprovisionamiento no se basa en imágenes, el host está administrado y el valor no se hereda de un grupo de hosts"
791
820
 
792
821
  msgid "required if value is not inherited from host group or default password in settings"
793
822
  msgstr "es necesario si el valor no se hereda del grupo del host o de la contraseña predeterminada en las configuraciones"