foreman_discovery 16.3.6 → 17.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (94) 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 +3 -4
  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/discovered_hosts/welcome.html.erb +1 -1
  13. data/app/views/discovery_rules/clone.erb +3 -0
  14. data/app/views/discovery_rules/index.html.erb +4 -0
  15. data/app/views/discovery_rules/welcome.html.erb +15 -0
  16. data/config/routes.rb +2 -0
  17. data/db/seeds.d/80_discovery_ui_notification.rb +11 -5
  18. data/lib/foreman_discovery/engine.rb +3 -7
  19. data/lib/foreman_discovery/version.rb +1 -1
  20. data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
  21. data/locale/ca/foreman_discovery.edit.po +44 -40
  22. data/locale/ca/foreman_discovery.po +36 -9
  23. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  24. data/locale/de/foreman_discovery.edit.po +42 -38
  25. data/locale/de/foreman_discovery.po +45 -18
  26. data/locale/en/LC_MESSAGES/foreman_discovery.mo +0 -0
  27. data/locale/en/foreman_discovery.edit.po +37 -29
  28. data/locale/en/foreman_discovery.po +31 -4
  29. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  30. data/locale/en_GB/foreman_discovery.edit.po +39 -35
  31. data/locale/en_GB/foreman_discovery.po +36 -9
  32. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  33. data/locale/es/foreman_discovery.edit.po +42 -38
  34. data/locale/es/foreman_discovery.po +70 -41
  35. data/locale/foreman_discovery.pot +142 -97
  36. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  37. data/locale/fr/foreman_discovery.edit.po +88 -84
  38. data/locale/fr/foreman_discovery.po +76 -49
  39. data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
  40. data/locale/gl/foreman_discovery.edit.po +42 -38
  41. data/locale/gl/foreman_discovery.po +32 -5
  42. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  43. data/locale/it/foreman_discovery.edit.po +42 -38
  44. data/locale/it/foreman_discovery.po +44 -17
  45. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  46. data/locale/ja/foreman_discovery.edit.po +74 -70
  47. data/locale/ja/foreman_discovery.po +79 -54
  48. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  49. data/locale/ko/foreman_discovery.edit.po +42 -38
  50. data/locale/ko/foreman_discovery.po +43 -16
  51. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  52. data/locale/pt_BR/foreman_discovery.edit.po +42 -38
  53. data/locale/pt_BR/foreman_discovery.po +69 -39
  54. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  55. data/locale/ru/foreman_discovery.edit.po +46 -42
  56. data/locale/ru/foreman_discovery.po +43 -16
  57. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  58. data/locale/sv_SE/foreman_discovery.edit.po +42 -38
  59. data/locale/sv_SE/foreman_discovery.po +34 -7
  60. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  61. data/locale/zh_CN/foreman_discovery.edit.po +90 -86
  62. data/locale/zh_CN/foreman_discovery.po +114 -90
  63. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  64. data/locale/zh_TW/foreman_discovery.edit.po +42 -38
  65. data/locale/zh_TW/foreman_discovery.po +43 -16
  66. data/package.json +6 -6
  67. data/test/functional/api/v2/discovered_hosts_controller_test.rb +9 -0
  68. data/test/functional/discovery_rules_controller_test.rb +6 -1
  69. data/test/integration/discovered_hosts_test.rb +53 -5
  70. data/test/test_helper_discovery.rb +5 -0
  71. data/test/unit/discovery_rule_test.rb +24 -2
  72. data/test/unit/fact_to_category_resolver_test.rb +41 -0
  73. data/test/unit/ui_notifications/destroy_host_test.rb +2 -9
  74. data/test/unit/ui_notifications/new_host_test.rb +3 -3
  75. data/webpack/__mocks__/foremanReact/common/I18n.js +3 -0
  76. data/webpack/__mocks__/foremanReact/common/helpers.js +1 -0
  77. data/webpack/__mocks__/foremanReact/common/index.js +5 -0
  78. data/webpack/__mocks__/foremanReact/components/common/EmptyState/DefaultEmptyState.js +69 -0
  79. data/webpack/__mocks__/foremanReact/components/common/EmptyState/EmptyStatePattern.js +77 -0
  80. data/webpack/__mocks__/foremanReact/components/common/EmptyState/EmptyStatePropTypes.js +29 -0
  81. data/webpack/__mocks__/foremanReact/components/common/EmptyState/index.js +5 -0
  82. data/webpack/index.js +9 -8
  83. data/webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/EmptyState.js +7 -7
  84. data/webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/__test__/EmptyState.test.js +12 -0
  85. data/webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/__test__/__snapshots__/EmptyState.test.js.snap +16 -0
  86. data/webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/index.js +1 -1
  87. data/webpack/src/ForemanDiscovery/DiscoveredHosts/index.js +3 -3
  88. data/webpack/src/ForemanDiscovery/DiscoveryRules/Components/EmptyState/EmptyState.js +34 -0
  89. data/webpack/src/ForemanDiscovery/DiscoveryRules/Components/EmptyState/index.js +1 -0
  90. data/webpack/src/ForemanDiscovery/DiscoveryRules/Components/__test__/EmptyState.test.js +19 -0
  91. data/webpack/src/ForemanDiscovery/DiscoveryRules/Components/__test__/__snapshots__/EmptyState.test.js.snap +22 -0
  92. data/webpack/src/ForemanDiscovery/DiscoveryRules/index.js +6 -0
  93. data/webpack/src/reducers.js +0 -2
  94. metadata +31 -9
@@ -10,10 +10,10 @@
10
10
  # Lukáš Zapletal, 2015
11
11
  msgid ""
12
12
  msgstr ""
13
- "Project-Id-Version: foreman_discovery 16.3.4\n"
13
+ "Project-Id-Version: foreman_discovery 17.1.0\n"
14
14
  "Report-Msgid-Bugs-To: \n"
15
- "POT-Creation-Date: 2021-05-03 08:46+0200\n"
16
- "PO-Revision-Date: 2021-01-25 08:35+0000\n"
15
+ "POT-Creation-Date: 2021-09-20 17:25+0200\n"
16
+ "PO-Revision-Date: 2021-05-03 08:28+0000\n"
17
17
  "Last-Translator: Transifex Bot <>\n"
18
18
  "Language-Team: English (United Kingdom) (http://www.transifex.com/foreman/fore"
19
19
  "man/language/en_GB/)\n"
@@ -123,7 +123,7 @@ msgstr "hash containing facts for the host with minimum set of facts: discovery_
123
123
  msgid "Execute rules against a discovered host"
124
124
  msgstr "Execute rules against a discovered host"
125
125
 
126
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:136 ../app/controllers/discovered_hosts_controller.rb:157
126
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:136 ../app/controllers/discovered_hosts_controller.rb:160
127
127
  msgid "Host %{host} was provisioned with rule %{rule}"
128
128
  msgstr "Host %{host} was provisioned with rule %{rule}"
129
129
 
@@ -131,7 +131,7 @@ msgstr "Host %{host} was provisioned with rule %{rule}"
131
131
  msgid "Unable to provision %{host}: %{errors}"
132
132
  msgstr "Unable to provision %{host}: %{errors}"
133
133
 
134
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:145 ../app/controllers/discovered_hosts_controller.rb:164
134
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:145 ../app/controllers/discovered_hosts_controller.rb:167
135
135
  msgid "No rule found for host %s"
136
136
  msgstr "No rule found for host %s"
137
137
 
@@ -139,11 +139,11 @@ msgstr "No rule found for host %s"
139
139
  msgid "Execute rules against all currently discovered hosts"
140
140
  msgstr "Execute rules against all currently discovered hosts"
141
141
 
142
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:156 ../app/controllers/discovered_hosts_controller.rb:170
142
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:156 ../app/controllers/discovered_hosts_controller.rb:173
143
143
  msgid "Errors during auto provisioning: %s"
144
144
  msgstr "Errors during auto provisioning: %s"
145
145
 
146
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:159 ../app/controllers/discovered_hosts_controller.rb:173
146
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:159 ../app/controllers/discovered_hosts_controller.rb:176
147
147
  msgid "No discovered hosts to provision"
148
148
  msgstr "No discovered hosts to provision"
149
149
 
@@ -163,7 +163,7 @@ msgstr "Rebooting a discovered host"
163
163
  msgid "Rebooting all discovered hosts"
164
164
  msgstr "Rebooting all discovered hosts"
165
165
 
166
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:221 ../app/controllers/discovered_hosts_controller.rb:126
166
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:221 ../app/controllers/discovered_hosts_controller.rb:129
167
167
  msgid "Discovered hosts are rebooting now"
168
168
  msgstr "Discovered hosts are rebooting now"
169
169
 
@@ -243,75 +243,75 @@ msgstr "Errors during reboot: %s"
243
243
  msgid "No discovered hosts to reboot"
244
244
  msgstr "No discovered hosts to reboot"
245
245
 
246
- #: ../app/controllers/discovered_hosts_controller.rb:60
246
+ #: ../app/controllers/discovered_hosts_controller.rb:63
247
247
  msgid "Successfully provisioned %s"
248
248
  msgstr "Successfully provisioned %s"
249
249
 
250
- #: ../app/controllers/discovered_hosts_controller.rb:94
250
+ #: ../app/controllers/discovered_hosts_controller.rb:97
251
251
  msgid "Facts refreshed for %s"
252
252
  msgstr "Facts refreshed for %s"
253
253
 
254
- #: ../app/controllers/discovered_hosts_controller.rb:96
254
+ #: ../app/controllers/discovered_hosts_controller.rb:99
255
255
  msgid "Failed to refresh facts for %s"
256
256
  msgstr "Failed to refresh facts for %s"
257
257
 
258
- #: ../app/controllers/discovered_hosts_controller.rb:99
258
+ #: ../app/controllers/discovered_hosts_controller.rb:102
259
259
  msgid "Failed to refresh facts for %{hostname} with error %{error_message}"
260
260
  msgstr "Failed to refresh facts for %{hostname} with error %{error_message}"
261
261
 
262
- #: ../app/controllers/discovered_hosts_controller.rb:106
262
+ #: ../app/controllers/discovered_hosts_controller.rb:109
263
263
  msgid "Host of type %s can not be rebooted"
264
264
  msgstr "Host of type %s can not be rebooted"
265
265
 
266
- #: ../app/controllers/discovered_hosts_controller.rb:110
266
+ #: ../app/controllers/discovered_hosts_controller.rb:113
267
267
  msgid "Rebooting host %s"
268
268
  msgstr "Rebooting host %s"
269
269
 
270
- #: ../app/controllers/discovered_hosts_controller.rb:112
270
+ #: ../app/controllers/discovered_hosts_controller.rb:115
271
271
  msgid "Failed to reboot host %s"
272
272
  msgstr "Failed to reboot host %s"
273
273
 
274
- #: ../app/controllers/discovered_hosts_controller.rb:115
274
+ #: ../app/controllers/discovered_hosts_controller.rb:118
275
275
  msgid "Failed to reboot host %{hostname} with error %{error_message}"
276
276
  msgstr "Failed to reboot host %{hostname} with error %{error_message}"
277
277
 
278
- #: ../app/controllers/discovered_hosts_controller.rb:129
278
+ #: ../app/controllers/discovered_hosts_controller.rb:132
279
279
  msgid "Failed to reboot hosts with error %s"
280
280
  msgstr "Failed to reboot hosts with error %s"
281
281
 
282
- #: ../app/controllers/discovered_hosts_controller.rb:147
282
+ #: ../app/controllers/discovered_hosts_controller.rb:150
283
283
  msgid "Destroyed selected hosts"
284
284
  msgstr "Destroyed selected hosts"
285
285
 
286
- #: ../app/controllers/discovered_hosts_controller.rb:149
286
+ #: ../app/controllers/discovered_hosts_controller.rb:152
287
287
  msgid "The following hosts were not deleted: %s"
288
288
  msgstr "The following hosts were not deleted: %s"
289
289
 
290
- #: ../app/controllers/discovered_hosts_controller.rb:161
290
+ #: ../app/controllers/discovered_hosts_controller.rb:164
291
291
  msgid "Failed to auto provision host %s: %s"
292
292
  msgstr "Failed to auto provision host %s: %s"
293
293
 
294
- #: ../app/controllers/discovered_hosts_controller.rb:189
294
+ #: ../app/controllers/discovered_hosts_controller.rb:192
295
295
  msgid "Discovered hosts are provisioning now"
296
296
  msgstr "Discovered hosts are provisioning now"
297
297
 
298
- #: ../app/controllers/discovered_hosts_controller.rb:270
298
+ #: ../app/controllers/discovered_hosts_controller.rb:277
299
299
  msgid "Discovered host reported from unknown subnet, communication will not be proxied."
300
300
  msgstr ""
301
301
 
302
- #: ../app/controllers/discovered_hosts_controller.rb:275
302
+ #: ../app/controllers/discovered_hosts_controller.rb:282
303
303
  msgid "Discovered hosts reported from unknown subnet are %s, communication will not be proxied."
304
304
  msgstr ""
305
305
 
306
- #: ../app/controllers/discovered_hosts_controller.rb:289
306
+ #: ../app/controllers/discovered_hosts_controller.rb:296
307
307
  msgid "No hosts were found with that id or name"
308
308
  msgstr "No hosts were found with that id or name"
309
309
 
310
- #: ../app/controllers/discovered_hosts_controller.rb:293
310
+ #: ../app/controllers/discovered_hosts_controller.rb:300
311
311
  msgid "No hosts selected"
312
312
  msgstr "No hosts selected"
313
313
 
314
- #: ../app/controllers/discovered_hosts_controller.rb:299
314
+ #: ../app/controllers/discovered_hosts_controller.rb:306
315
315
  msgid "Something went wrong while selecting hosts - %s"
316
316
  msgstr "Something went wrong while selecting hosts - %s"
317
317
 
@@ -475,23 +475,23 @@ msgstr "Invalid facts: hash does not contain a valid value for any of the facts
475
475
  msgid "Facts could not be imported"
476
476
  msgstr "Facts could not be imported"
477
477
 
478
- #: ../app/models/host/discovered.rb:146
478
+ #: ../app/models/host/discovered.rb:155
479
479
  msgid "Could not get facts from proxy %{url}: %{error}"
480
480
  msgstr "Could not get facts from proxy %{url}: %{error}"
481
481
 
482
- #: ../app/models/host/discovered.rb:160
482
+ #: ../app/models/host/discovered.rb:173
483
483
  msgid "Unable to perform reboot on %{name} (%{url}): %{msg}"
484
484
  msgstr ""
485
485
 
486
- #: ../app/models/host/discovered.rb:164 ../app/models/host/discovered.rb:183
486
+ #: ../app/models/host/discovered.rb:177 ../app/models/host/discovered.rb:200
487
487
  msgid "Unable to perform %{action} on %{ips}"
488
488
  msgstr ""
489
489
 
490
- #: ../app/models/host/discovered.rb:179
490
+ #: ../app/models/host/discovered.rb:196
491
491
  msgid "Unable to perform kexec on %{name} (%{url}): %{msg}"
492
492
  msgstr ""
493
493
 
494
- #: ../app/models/host/discovered.rb:203
494
+ #: ../app/models/host/discovered.rb:220
495
495
  msgid "Invalid hostname: Could not normalize the hostname"
496
496
  msgstr "Invalid hostname: Could not normalise the hostname"
497
497
 
@@ -699,6 +699,14 @@ msgstr "Discovery hostname naming pattern"
699
699
  msgid "Type of name generator"
700
700
  msgstr "Type of name generator"
701
701
 
702
+ #: ../app/models/setting/discovered.rb:40
703
+ msgid "Prefer IPv6 to IPv4 when calling discovered nodes"
704
+ msgstr ""
705
+
706
+ #: ../app/models/setting/discovered.rb:40
707
+ msgid "Prefer IPv6"
708
+ msgstr ""
709
+
702
710
  #: ../app/services/foreman_discovery/fact_parser.rb:4
703
711
  msgid "Discovery fact parser does not work with non-discovery host '%{host}'"
704
712
  msgstr "Discovery fact parser does not work with non-discovery host '%{host}'"
@@ -1092,7 +1100,3 @@ msgstr "Import facts"
1092
1100
  #: action_names.rb:5
1093
1101
  msgid "Action with sub plans"
1094
1102
  msgstr "Action with sub plans"
1095
-
1096
- #: ../app/helpers/discovered_hosts_helper.rb:10
1097
- #~ msgid "%s ago"
1098
- #~ msgstr "%s ago"
@@ -10,9 +10,9 @@
10
10
  # Lukáš Zapletal, 2015
11
11
  msgid ""
12
12
  msgstr ""
13
- "Project-Id-Version: foreman_discovery 16.2.0\n"
13
+ "Project-Id-Version: foreman_discovery 16.3.4\n"
14
14
  "Report-Msgid-Bugs-To: \n"
15
- "PO-Revision-Date: 2020-05-26 17:21+0000\n"
15
+ "PO-Revision-Date: 2021-01-25 08:35+0000\n"
16
16
  "Last-Translator: Transifex Bot <>\n"
17
17
  "Language-Team: English (United Kingdom) (http://www.transifex.com/foreman/fore"
18
18
  "man/language/en_GB/)\n"
@@ -25,9 +25,6 @@ msgstr ""
25
25
  msgid "%s - The following hosts are about to be changed"
26
26
  msgstr "%s - The following hosts are about to be changed"
27
27
 
28
- msgid "%s ago"
29
- msgstr "%s ago"
30
-
31
28
  msgid "%s discovered hosts were provisioned"
32
29
  msgstr "%s discovered hosts were provisioned"
33
30
 
@@ -38,7 +35,7 @@ msgid "A summary of discovered hosts"
38
35
  msgstr "A summary of discovered hosts"
39
36
 
40
37
  msgid "Action with sub plans"
41
- msgstr ""
38
+ msgstr "Action with sub plans"
42
39
 
43
40
  msgid "Actions"
44
41
  msgstr "Actions"
@@ -85,6 +82,12 @@ msgstr "Clean all facts"
85
82
  msgid "Clean all reported facts during provisioning (except discovery facts)"
86
83
  msgstr "Clean all reported facts during provisioning (except discovery facts)"
87
84
 
85
+ msgid "Clone"
86
+ msgstr ""
87
+
88
+ msgid "Clone %s"
89
+ msgstr ""
90
+
88
91
  msgid "Collapse All"
89
92
  msgstr "Collapse All"
90
93
 
@@ -150,9 +153,15 @@ msgstr[1] ""
150
153
  msgid "Discovered Hosts"
151
154
  msgstr "Discovered Hosts"
152
155
 
156
+ msgid "Discovered Rules"
157
+ msgstr ""
158
+
153
159
  msgid "Discovered host '%{host}' has all NICs filtered out, filter: %{filter}"
154
160
  msgstr "Discovered host '%{host}' has all NICs filtered out, filter: %{filter}"
155
161
 
162
+ msgid "Discovered host reported from unknown subnet, communication will not be proxied."
163
+ msgstr ""
164
+
156
165
  msgid "Discovered host: %s"
157
166
  msgstr "Discovered host: %s"
158
167
 
@@ -165,6 +174,9 @@ msgstr "Discovered hosts are rebooting now"
165
174
  msgid "Discovered hosts from Foreman server at %{foreman_url}"
166
175
  msgstr "Discovered hosts from Foreman server at %{foreman_url}"
167
176
 
177
+ msgid "Discovered hosts reported from unknown subnet are %s, communication will not be proxied."
178
+ msgstr ""
179
+
168
180
  msgid "Discovered hosts summary"
169
181
  msgstr "Discovered hosts summary"
170
182
 
@@ -231,6 +243,9 @@ msgstr "Enable"
231
243
  msgid "Enable rule '%s'?"
232
244
  msgstr "Enable rule '%s'?"
233
245
 
246
+ msgid "Error message goes here"
247
+ msgstr ""
248
+
234
249
  msgid "Error on existing NIC"
235
250
  msgstr "Error on existing NIC"
236
251
 
@@ -285,6 +300,9 @@ msgstr "Failed to refresh facts for %s"
285
300
  msgid "Failed to refresh facts for %{hostname} with error %{error_message}"
286
301
  msgstr "Failed to refresh facts for %{hostname} with error %{error_message}"
287
302
 
303
+ msgid "For more information please see "
304
+ msgstr ""
305
+
288
306
  msgid "Force DNS"
289
307
  msgstr "Force DNS"
290
308
 
@@ -309,6 +327,9 @@ msgstr "Highlights"
309
327
  msgid "Host"
310
328
  msgstr "Host"
311
329
 
330
+ msgid "Host %s has been dicovered"
331
+ msgstr ""
332
+
312
333
  msgid "Host %{host} was provisioned with rule %{rule}"
313
334
  msgstr "Host %{host} was provisioned with rule %{rule}"
314
335
 
@@ -383,10 +404,10 @@ msgid "Image API returned HTTP/%{code} with '%{body}"
383
404
  msgstr "Image API returned HTTP/%{code} with '%{body}"
384
405
 
385
406
  msgid "Import Puppet classes"
386
- msgstr ""
407
+ msgstr "Import Puppet classes"
387
408
 
388
409
  msgid "Import facts"
389
- msgstr ""
410
+ msgstr "Import facts"
390
411
 
391
412
  msgid "In addition to @host attribute function rand for random integers is available. Examples:"
392
413
  msgstr "In addition to @host attribute function rand for random integers is available. Examples:"
@@ -487,6 +508,9 @@ msgstr "Network facts"
487
508
  msgid "New Discovery Rule"
488
509
  msgstr "New Discovery Rule"
489
510
 
511
+ msgid "New hosts"
512
+ msgstr ""
513
+
490
514
  msgid "New in the last 24 hours"
491
515
  msgstr "New in the last 24 hours"
492
516
 
@@ -605,7 +629,7 @@ msgid "Reloading kernel on %s"
605
629
  msgstr "Reloading kernel on %s"
606
630
 
607
631
  msgid "Remote action:"
608
- msgstr ""
632
+ msgstr "Remote action:"
609
633
 
610
634
  msgid "Reported in the last 7 days"
611
635
  msgstr "Reported in the last 7 days"
@@ -733,6 +757,9 @@ msgstr "can't contain white spaces."
733
757
  msgid "defines a pattern to assign human-readable hostnames to the matching hosts"
734
758
  msgstr "defines a pattern to assign human-readable hostnames to the matching hosts"
735
759
 
760
+ msgid "documentation"
761
+ msgstr ""
762
+
736
763
  msgid "enables to limit maximum amount of provisioned hosts per rule"
737
764
  msgstr "enables to limit maximum amount of provisioned hosts per rule"
738
765
 
@@ -11,11 +11,11 @@
11
11
  # Sergio Ocón-Cárdenas <sergio.ocon@redhat.com>, 2014
12
12
  msgid ""
13
13
  msgstr ""
14
- "Project-Id-Version: foreman_discovery 16.3.4\n"
14
+ "Project-Id-Version: foreman_discovery 17.1.0\n"
15
15
  "Report-Msgid-Bugs-To: \n"
16
- "POT-Creation-Date: 2021-05-03 08:46+0200\n"
17
- "PO-Revision-Date: 2021-01-25 08:35+0000\n"
18
- "Last-Translator: Amit Upadhye <aupadhye@redhat.com>\n"
16
+ "POT-Creation-Date: 2021-09-20 17:25+0200\n"
17
+ "PO-Revision-Date: 2021-05-03 08:29+0000\n"
18
+ "Last-Translator: Lukáš Zapletal\n"
19
19
  "Language-Team: Spanish (http://www.transifex.com/foreman/foreman/language/es/)"
20
20
  "\n"
21
21
  "MIME-Version: 1.0\n"
@@ -124,7 +124,7 @@ msgstr "hash que contiene eventos correspondientes al host con un conjunto míni
124
124
  msgid "Execute rules against a discovered host"
125
125
  msgstr "Ejecutar reglas en función de un host detectado"
126
126
 
127
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:136 ../app/controllers/discovered_hosts_controller.rb:157
127
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:136 ../app/controllers/discovered_hosts_controller.rb:160
128
128
  msgid "Host %{host} was provisioned with rule %{rule}"
129
129
  msgstr "El host %{host} se aprovisionó con la regla %{rule}"
130
130
 
@@ -132,7 +132,7 @@ msgstr "El host %{host} se aprovisionó con la regla %{rule}"
132
132
  msgid "Unable to provision %{host}: %{errors}"
133
133
  msgstr "No es posible aprovisionar %{host}: %{errors}"
134
134
 
135
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:145 ../app/controllers/discovered_hosts_controller.rb:164
135
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:145 ../app/controllers/discovered_hosts_controller.rb:167
136
136
  msgid "No rule found for host %s"
137
137
  msgstr "No se halló una regla para el host %s"
138
138
 
@@ -140,11 +140,11 @@ msgstr "No se halló una regla para el host %s"
140
140
  msgid "Execute rules against all currently discovered hosts"
141
141
  msgstr "Ejecutar reglas contra todos los hosts detectados actualmente"
142
142
 
143
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:156 ../app/controllers/discovered_hosts_controller.rb:170
143
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:156 ../app/controllers/discovered_hosts_controller.rb:173
144
144
  msgid "Errors during auto provisioning: %s"
145
145
  msgstr "Errores durante el autoaprovisionamiento: %s"
146
146
 
147
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:159 ../app/controllers/discovered_hosts_controller.rb:173
147
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:159 ../app/controllers/discovered_hosts_controller.rb:176
148
148
  msgid "No discovered hosts to provision"
149
149
  msgstr "No hay hosts detectados para aprovisionar"
150
150
 
@@ -164,7 +164,7 @@ msgstr "Reiniciando un host detectado"
164
164
  msgid "Rebooting all discovered hosts"
165
165
  msgstr "Reiniciando todos los hosts detectados"
166
166
 
167
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:221 ../app/controllers/discovered_hosts_controller.rb:126
167
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:221 ../app/controllers/discovered_hosts_controller.rb:129
168
168
  msgid "Discovered hosts are rebooting now"
169
169
  msgstr "Se están reiniciando ahora los hosts detectados"
170
170
 
@@ -244,75 +244,75 @@ msgstr "Errores durante el reinicio: %s"
244
244
  msgid "No discovered hosts to reboot"
245
245
  msgstr "No se detectaron hosts para reiniciar"
246
246
 
247
- #: ../app/controllers/discovered_hosts_controller.rb:60
247
+ #: ../app/controllers/discovered_hosts_controller.rb:63
248
248
  msgid "Successfully provisioned %s"
249
249
  msgstr "Se aprovisionó correctamente %s"
250
250
 
251
- #: ../app/controllers/discovered_hosts_controller.rb:94
251
+ #: ../app/controllers/discovered_hosts_controller.rb:97
252
252
  msgid "Facts refreshed for %s"
253
253
  msgstr "Datos actualizados para %s"
254
254
 
255
- #: ../app/controllers/discovered_hosts_controller.rb:96
255
+ #: ../app/controllers/discovered_hosts_controller.rb:99
256
256
  msgid "Failed to refresh facts for %s"
257
257
  msgstr "Fallo al refrescar datos para %s"
258
258
 
259
- #: ../app/controllers/discovered_hosts_controller.rb:99
259
+ #: ../app/controllers/discovered_hosts_controller.rb:102
260
260
  msgid "Failed to refresh facts for %{hostname} with error %{error_message}"
261
261
  msgstr "Ocurrió un error al actualizar los eventos de %{hostname} con el error %{error_message}"
262
262
 
263
- #: ../app/controllers/discovered_hosts_controller.rb:106
263
+ #: ../app/controllers/discovered_hosts_controller.rb:109
264
264
  msgid "Host of type %s can not be rebooted"
265
265
  msgstr "No es posible reiniciar el tipo de host %s"
266
266
 
267
- #: ../app/controllers/discovered_hosts_controller.rb:110
267
+ #: ../app/controllers/discovered_hosts_controller.rb:113
268
268
  msgid "Rebooting host %s"
269
269
  msgstr "Reiniciando el host %s"
270
270
 
271
- #: ../app/controllers/discovered_hosts_controller.rb:112
271
+ #: ../app/controllers/discovered_hosts_controller.rb:115
272
272
  msgid "Failed to reboot host %s"
273
273
  msgstr "Ocurrió un error al reiniciar el host %s"
274
274
 
275
- #: ../app/controllers/discovered_hosts_controller.rb:115
275
+ #: ../app/controllers/discovered_hosts_controller.rb:118
276
276
  msgid "Failed to reboot host %{hostname} with error %{error_message}"
277
277
  msgstr "Ocurrió un error al reiniciar el host %{hostname} con el error %{error_message}"
278
278
 
279
- #: ../app/controllers/discovered_hosts_controller.rb:129
279
+ #: ../app/controllers/discovered_hosts_controller.rb:132
280
280
  msgid "Failed to reboot hosts with error %s"
281
281
  msgstr "Ocurrió un error al reiniciar los hosts con el error %s"
282
282
 
283
- #: ../app/controllers/discovered_hosts_controller.rb:147
283
+ #: ../app/controllers/discovered_hosts_controller.rb:150
284
284
  msgid "Destroyed selected hosts"
285
285
  msgstr "Eliminados equipos seleccionados"
286
286
 
287
- #: ../app/controllers/discovered_hosts_controller.rb:149
287
+ #: ../app/controllers/discovered_hosts_controller.rb:152
288
288
  msgid "The following hosts were not deleted: %s"
289
289
  msgstr "Los siguientes equipos no han sido eliminados: %s"
290
290
 
291
- #: ../app/controllers/discovered_hosts_controller.rb:161
291
+ #: ../app/controllers/discovered_hosts_controller.rb:164
292
292
  msgid "Failed to auto provision host %s: %s"
293
293
  msgstr "Ocurrió un error al autoaprovisionar el host %s: %s"
294
294
 
295
- #: ../app/controllers/discovered_hosts_controller.rb:189
295
+ #: ../app/controllers/discovered_hosts_controller.rb:192
296
296
  msgid "Discovered hosts are provisioning now"
297
297
  msgstr "Los hosts detectados se están aprovisionando ahora"
298
298
 
299
- #: ../app/controllers/discovered_hosts_controller.rb:270
299
+ #: ../app/controllers/discovered_hosts_controller.rb:277
300
300
  msgid "Discovered host reported from unknown subnet, communication will not be proxied."
301
301
  msgstr ""
302
302
 
303
- #: ../app/controllers/discovered_hosts_controller.rb:275
303
+ #: ../app/controllers/discovered_hosts_controller.rb:282
304
304
  msgid "Discovered hosts reported from unknown subnet are %s, communication will not be proxied."
305
305
  msgstr ""
306
306
 
307
- #: ../app/controllers/discovered_hosts_controller.rb:289
307
+ #: ../app/controllers/discovered_hosts_controller.rb:296
308
308
  msgid "No hosts were found with that id or name"
309
309
  msgstr "No se han encontrado equipos con ese id o nombre"
310
310
 
311
- #: ../app/controllers/discovered_hosts_controller.rb:293
311
+ #: ../app/controllers/discovered_hosts_controller.rb:300
312
312
  msgid "No hosts selected"
313
313
  msgstr "Ningún host seleccionado"
314
314
 
315
- #: ../app/controllers/discovered_hosts_controller.rb:299
315
+ #: ../app/controllers/discovered_hosts_controller.rb:306
316
316
  msgid "Something went wrong while selecting hosts - %s"
317
317
  msgstr "Algo ha fallado al seleccionar hosts - %s"
318
318
 
@@ -410,7 +410,7 @@ msgstr "¿Habilitar regla '%s'?"
410
410
 
411
411
  #: ../app/helpers/discovery_rules_helper.rb:33
412
412
  msgid "Clone"
413
- msgstr ""
413
+ msgstr "Clonar"
414
414
 
415
415
  #: ../app/helpers/discovery_rules_helper.rb:34
416
416
  msgid "Delete rule '%s'?"
@@ -476,23 +476,23 @@ msgstr "Eventos inválidos: el hash no contiene un valor válido para ninguno de
476
476
  msgid "Facts could not be imported"
477
477
  msgstr "No se pudieron importar los eventos"
478
478
 
479
- #: ../app/models/host/discovered.rb:146
479
+ #: ../app/models/host/discovered.rb:155
480
480
  msgid "Could not get facts from proxy %{url}: %{error}"
481
481
  msgstr "No pudieron obtenerse los eventos del proxy %{url}: %{error}"
482
482
 
483
- #: ../app/models/host/discovered.rb:160
483
+ #: ../app/models/host/discovered.rb:173
484
484
  msgid "Unable to perform reboot on %{name} (%{url}): %{msg}"
485
485
  msgstr "No se puede realizar el reinicio en %{name} (%{url}): %{msg}"
486
486
 
487
- #: ../app/models/host/discovered.rb:164 ../app/models/host/discovered.rb:183
487
+ #: ../app/models/host/discovered.rb:177 ../app/models/host/discovered.rb:200
488
488
  msgid "Unable to perform %{action} on %{ips}"
489
489
  msgstr ""
490
490
 
491
- #: ../app/models/host/discovered.rb:179
491
+ #: ../app/models/host/discovered.rb:196
492
492
  msgid "Unable to perform kexec on %{name} (%{url}): %{msg}"
493
493
  msgstr "No es posible ejecutar kexec en %{name} (%{url}): %{msg}"
494
494
 
495
- #: ../app/models/host/discovered.rb:203
495
+ #: ../app/models/host/discovered.rb:220
496
496
  msgid "Invalid hostname: Could not normalize the hostname"
497
497
  msgstr "Nombre de host inválido: no es posible normalizar el nombre de host"
498
498
 
@@ -700,6 +700,14 @@ msgstr "Detección de patrón de definición de nombre de host"
700
700
  msgid "Type of name generator"
701
701
  msgstr "Tipo de generador de nombre"
702
702
 
703
+ #: ../app/models/setting/discovered.rb:40
704
+ msgid "Prefer IPv6 to IPv4 when calling discovered nodes"
705
+ msgstr ""
706
+
707
+ #: ../app/models/setting/discovered.rb:40
708
+ msgid "Prefer IPv6"
709
+ msgstr ""
710
+
703
711
  #: ../app/services/foreman_discovery/fact_parser.rb:4
704
712
  msgid "Discovery fact parser does not work with non-discovery host '%{host}'"
705
713
  msgstr "El analizador de hechos de detección no funciona con el host de no detección '%{host}'"
@@ -980,7 +988,7 @@ msgstr "Los nombres de hosts no deben comenzar con números. Una buena estrategi
980
988
 
981
989
  #: ../app/views/discovery_rules/clone.erb:1
982
990
  msgid "Clone %s"
983
- msgstr ""
991
+ msgstr "Clonar %s"
984
992
 
985
993
  #: ../app/views/discovery_rules/edit.html.erb:1
986
994
  msgid "Edit %s"
@@ -1093,7 +1101,3 @@ msgstr "Importar datos"
1093
1101
  #: action_names.rb:5
1094
1102
  msgid "Action with sub plans"
1095
1103
  msgstr "Acción con subplanes"
1096
-
1097
- #: ../app/helpers/discovered_hosts_helper.rb:10
1098
- #~ msgid "%s ago"
1099
- #~ msgstr "Hace %s"