foreman_discovery 16.3.1 → 17.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (96) 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 +6 -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/discovered_hosts/welcome.html.erb +1 -2
  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/app/views/foreman_discovery/debian_kexec.erb +1 -1
  17. data/app/views/foreman_discovery/redhat_kexec.erb +1 -1
  18. data/config/routes.rb +2 -0
  19. data/db/seeds.d/80_discovery_ui_notification.rb +11 -5
  20. data/lib/foreman_discovery/engine.rb +3 -7
  21. data/lib/foreman_discovery/version.rb +1 -1
  22. data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
  23. data/locale/ca/foreman_discovery.edit.po +136 -98
  24. data/locale/ca/foreman_discovery.po +36 -9
  25. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  26. data/locale/de/foreman_discovery.edit.po +148 -112
  27. data/locale/de/foreman_discovery.po +45 -18
  28. data/locale/en/LC_MESSAGES/foreman_discovery.mo +0 -0
  29. data/locale/en/foreman_discovery.edit.po +127 -91
  30. data/locale/en/foreman_discovery.po +31 -4
  31. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  32. data/locale/en_GB/foreman_discovery.edit.po +139 -109
  33. data/locale/en_GB/foreman_discovery.po +36 -9
  34. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  35. data/locale/es/foreman_discovery.edit.po +172 -140
  36. data/locale/es/foreman_discovery.po +70 -41
  37. data/locale/foreman_discovery.pot +142 -97
  38. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  39. data/locale/fr/foreman_discovery.edit.po +179 -147
  40. data/locale/fr/foreman_discovery.po +76 -49
  41. data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
  42. data/locale/gl/foreman_discovery.edit.po +133 -92
  43. data/locale/gl/foreman_discovery.po +32 -5
  44. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  45. data/locale/it/foreman_discovery.edit.po +147 -106
  46. data/locale/it/foreman_discovery.po +44 -17
  47. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  48. data/locale/ja/foreman_discovery.edit.po +182 -152
  49. data/locale/ja/foreman_discovery.po +79 -54
  50. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  51. data/locale/ko/foreman_discovery.edit.po +146 -105
  52. data/locale/ko/foreman_discovery.po +43 -16
  53. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  54. data/locale/pt_BR/foreman_discovery.edit.po +171 -136
  55. data/locale/pt_BR/foreman_discovery.po +69 -39
  56. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  57. data/locale/ru/foreman_discovery.edit.po +147 -106
  58. data/locale/ru/foreman_discovery.po +43 -16
  59. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  60. data/locale/sv_SE/foreman_discovery.edit.po +135 -94
  61. data/locale/sv_SE/foreman_discovery.po +34 -7
  62. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  63. data/locale/zh_CN/foreman_discovery.edit.po +217 -188
  64. data/locale/zh_CN/foreman_discovery.po +114 -90
  65. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  66. data/locale/zh_TW/foreman_discovery.edit.po +146 -105
  67. data/locale/zh_TW/foreman_discovery.po +43 -16
  68. data/package.json +7 -7
  69. data/test/functional/api/v2/discovered_hosts_controller_test.rb +9 -0
  70. data/test/functional/discovery_rules_controller_test.rb +6 -1
  71. data/test/integration/discovered_hosts_test.rb +53 -5
  72. data/test/test_helper_discovery.rb +5 -0
  73. data/test/unit/discovery_rule_test.rb +24 -2
  74. data/test/unit/fact_to_category_resolver_test.rb +41 -0
  75. data/test/unit/ui_notifications/destroy_host_test.rb +2 -9
  76. data/test/unit/ui_notifications/new_host_test.rb +3 -3
  77. data/webpack/__mocks__/foremanReact/common/I18n.js +3 -0
  78. data/webpack/__mocks__/foremanReact/common/helpers.js +1 -0
  79. data/webpack/__mocks__/foremanReact/common/index.js +5 -0
  80. data/webpack/__mocks__/foremanReact/components/common/EmptyState/DefaultEmptyState.js +69 -0
  81. data/webpack/__mocks__/foremanReact/components/common/EmptyState/EmptyStatePattern.js +77 -0
  82. data/webpack/__mocks__/foremanReact/components/common/EmptyState/EmptyStatePropTypes.js +29 -0
  83. data/webpack/__mocks__/foremanReact/components/common/EmptyState/index.js +5 -0
  84. data/webpack/index.js +9 -8
  85. data/webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/EmptyState.js +7 -7
  86. data/webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/__test__/EmptyState.test.js +12 -0
  87. data/webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/__test__/__snapshots__/EmptyState.test.js.snap +16 -0
  88. data/webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/index.js +1 -1
  89. data/webpack/src/ForemanDiscovery/DiscoveredHosts/index.js +3 -3
  90. data/webpack/src/ForemanDiscovery/DiscoveryRules/Components/EmptyState/EmptyState.js +34 -0
  91. data/webpack/src/ForemanDiscovery/DiscoveryRules/Components/EmptyState/index.js +1 -0
  92. data/webpack/src/ForemanDiscovery/DiscoveryRules/Components/__test__/EmptyState.test.js +19 -0
  93. data/webpack/src/ForemanDiscovery/DiscoveryRules/Components/__test__/__snapshots__/EmptyState.test.js.snap +22 -0
  94. data/webpack/src/ForemanDiscovery/DiscoveryRules/index.js +6 -0
  95. data/webpack/src/reducers.js +0 -2
  96. metadata +39 -17
@@ -2,7 +2,7 @@
2
2
  # This file is distributed under the same license as the foreman_discovery package.
3
3
  msgid ""
4
4
  msgstr ""
5
- "Project-Id-Version: foreman_discovery 16.2.0\n"
5
+ "Project-Id-Version: foreman_discovery 16.3.4\n"
6
6
  "Report-Msgid-Bugs-To: foreman-dev@googlegroups.com\n"
7
7
  "PO-Revision-Date: 2015-12-27 01:18+0000\n"
8
8
  "Last-Translator: \n"
@@ -15,9 +15,6 @@ msgstr ""
15
15
  msgid "%s - The following hosts are about to be changed"
16
16
  msgstr ""
17
17
 
18
- msgid "%s ago"
19
- msgstr ""
20
-
21
18
  msgid "%s discovered hosts were provisioned"
22
19
  msgstr ""
23
20
 
@@ -75,6 +72,12 @@ msgstr ""
75
72
  msgid "Clean all reported facts during provisioning (except discovery facts)"
76
73
  msgstr ""
77
74
 
75
+ msgid "Clone"
76
+ msgstr ""
77
+
78
+ msgid "Clone %s"
79
+ msgstr ""
80
+
78
81
  msgid "Collapse All"
79
82
  msgstr ""
80
83
 
@@ -140,9 +143,15 @@ msgstr[1] ""
140
143
  msgid "Discovered Hosts"
141
144
  msgstr ""
142
145
 
146
+ msgid "Discovered Rules"
147
+ msgstr ""
148
+
143
149
  msgid "Discovered host '%{host}' has all NICs filtered out, filter: %{filter}"
144
150
  msgstr ""
145
151
 
152
+ msgid "Discovered host reported from unknown subnet, communication will not be proxied."
153
+ msgstr ""
154
+
146
155
  msgid "Discovered host: %s"
147
156
  msgstr ""
148
157
 
@@ -155,6 +164,9 @@ msgstr ""
155
164
  msgid "Discovered hosts from Foreman server at %{foreman_url}"
156
165
  msgstr ""
157
166
 
167
+ msgid "Discovered hosts reported from unknown subnet are %s, communication will not be proxied."
168
+ msgstr ""
169
+
158
170
  msgid "Discovered hosts summary"
159
171
  msgstr ""
160
172
 
@@ -221,6 +233,9 @@ msgstr ""
221
233
  msgid "Enable rule '%s'?"
222
234
  msgstr ""
223
235
 
236
+ msgid "Error message goes here"
237
+ msgstr ""
238
+
224
239
  msgid "Error on existing NIC"
225
240
  msgstr ""
226
241
 
@@ -275,6 +290,9 @@ msgstr ""
275
290
  msgid "Failed to refresh facts for %{hostname} with error %{error_message}"
276
291
  msgstr ""
277
292
 
293
+ msgid "For more information please see "
294
+ msgstr ""
295
+
278
296
  msgid "Force DNS"
279
297
  msgstr ""
280
298
 
@@ -299,6 +317,9 @@ msgstr ""
299
317
  msgid "Host"
300
318
  msgstr ""
301
319
 
320
+ msgid "Host %s has been dicovered"
321
+ msgstr ""
322
+
302
323
  msgid "Host %{host} was provisioned with rule %{rule}"
303
324
  msgstr ""
304
325
 
@@ -477,6 +498,9 @@ msgstr ""
477
498
  msgid "New Discovery Rule"
478
499
  msgstr ""
479
500
 
501
+ msgid "New hosts"
502
+ msgstr ""
503
+
480
504
  msgid "New in the last 24 hours"
481
505
  msgstr ""
482
506
 
@@ -723,6 +747,9 @@ msgstr ""
723
747
  msgid "defines a pattern to assign human-readable hostnames to the matching hosts"
724
748
  msgstr ""
725
749
 
750
+ msgid "documentation"
751
+ msgstr ""
752
+
726
753
  msgid "enables to limit maximum amount of provisioned hosts per rule"
727
754
  msgstr ""
728
755
 
@@ -10,9 +10,10 @@
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
+ "POT-Creation-Date: 2021-05-03 08:46+0200\n"
16
+ "PO-Revision-Date: 2021-01-25 08:35+0000\n"
16
17
  "Last-Translator: Transifex Bot <>\n"
17
18
  "Language-Team: English (United Kingdom) (http://www.transifex.com/foreman/fore"
18
19
  "man/language/en_GB/)\n"
@@ -118,51 +119,51 @@ msgstr "Upload facts for a host, creating the host if required"
118
119
  msgid "hash containing facts for the host with minimum set of facts: discovery_bootif, macaddress_eth0, ipaddress, ipaddress_eth0, interfaces: eth0 (example in case primary interface is named eth0)"
119
120
  msgstr "hash containing facts for the host with minimum set of facts: discovery_bootif, macaddress_eth0, ipaddress, ipaddress_eth0, interfaces: eth0 (example in case primary interface is named eth0)"
120
121
 
121
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:129
122
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:130
122
123
  msgid "Execute rules against a discovered host"
123
124
  msgstr "Execute rules against a discovered host"
124
125
 
125
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:135 ../app/controllers/discovered_hosts_controller.rb:160
126
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:136 ../app/controllers/discovered_hosts_controller.rb:157
126
127
  msgid "Host %{host} was provisioned with rule %{rule}"
127
128
  msgstr "Host %{host} was provisioned with rule %{rule}"
128
129
 
129
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:138
130
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:139
130
131
  msgid "Unable to provision %{host}: %{errors}"
131
132
  msgstr "Unable to provision %{host}: %{errors}"
132
133
 
133
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:144 ../app/controllers/discovered_hosts_controller.rb:167
134
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:145 ../app/controllers/discovered_hosts_controller.rb:164
134
135
  msgid "No rule found for host %s"
135
136
  msgstr "No rule found for host %s"
136
137
 
137
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:151
138
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:152
138
139
  msgid "Execute rules against all currently discovered hosts"
139
140
  msgstr "Execute rules against all currently discovered hosts"
140
141
 
141
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:155 ../app/controllers/discovered_hosts_controller.rb:173
142
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:156 ../app/controllers/discovered_hosts_controller.rb:170
142
143
  msgid "Errors during auto provisioning: %s"
143
144
  msgstr "Errors during auto provisioning: %s"
144
145
 
145
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:158 ../app/controllers/discovered_hosts_controller.rb:176
146
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:159 ../app/controllers/discovered_hosts_controller.rb:173
146
147
  msgid "No discovered hosts to provision"
147
148
  msgstr "No discovered hosts to provision"
148
149
 
149
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:180
150
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:181
150
151
  msgid "%s discovered hosts were provisioned"
151
152
  msgstr "%s discovered hosts were provisioned"
152
153
 
153
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:191
154
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:192
154
155
  msgid "Refreshing the facts of a discovered host"
155
156
  msgstr "Refreshing the facts of a discovered host"
156
157
 
157
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:200
158
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:201
158
159
  msgid "Rebooting a discovered host"
159
160
  msgstr "Rebooting a discovered host"
160
161
 
161
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:209
162
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:210
162
163
  msgid "Rebooting all discovered hosts"
163
164
  msgstr "Rebooting all discovered hosts"
164
165
 
165
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:220 ../app/controllers/discovered_hosts_controller.rb:129
166
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:221 ../app/controllers/discovered_hosts_controller.rb:126
166
167
  msgid "Discovered hosts are rebooting now"
167
168
  msgstr "Discovered hosts are rebooting now"
168
169
 
@@ -242,119 +243,95 @@ msgstr "Errors during reboot: %s"
242
243
  msgid "No discovered hosts to reboot"
243
244
  msgstr "No discovered hosts to reboot"
244
245
 
245
- #: ../app/controllers/discovered_hosts_controller.rb:63
246
+ #: ../app/controllers/discovered_hosts_controller.rb:60
246
247
  msgid "Successfully provisioned %s"
247
248
  msgstr "Successfully provisioned %s"
248
249
 
249
- #: ../app/controllers/discovered_hosts_controller.rb:97
250
+ #: ../app/controllers/discovered_hosts_controller.rb:94
250
251
  msgid "Facts refreshed for %s"
251
252
  msgstr "Facts refreshed for %s"
252
253
 
253
- #: ../app/controllers/discovered_hosts_controller.rb:99
254
+ #: ../app/controllers/discovered_hosts_controller.rb:96
254
255
  msgid "Failed to refresh facts for %s"
255
256
  msgstr "Failed to refresh facts for %s"
256
257
 
257
- #: ../app/controllers/discovered_hosts_controller.rb:102
258
+ #: ../app/controllers/discovered_hosts_controller.rb:99
258
259
  msgid "Failed to refresh facts for %{hostname} with error %{error_message}"
259
260
  msgstr "Failed to refresh facts for %{hostname} with error %{error_message}"
260
261
 
261
- #: ../app/controllers/discovered_hosts_controller.rb:109
262
+ #: ../app/controllers/discovered_hosts_controller.rb:106
262
263
  msgid "Host of type %s can not be rebooted"
263
264
  msgstr "Host of type %s can not be rebooted"
264
265
 
265
- #: ../app/controllers/discovered_hosts_controller.rb:113
266
+ #: ../app/controllers/discovered_hosts_controller.rb:110
266
267
  msgid "Rebooting host %s"
267
268
  msgstr "Rebooting host %s"
268
269
 
269
- #: ../app/controllers/discovered_hosts_controller.rb:115
270
+ #: ../app/controllers/discovered_hosts_controller.rb:112
270
271
  msgid "Failed to reboot host %s"
271
272
  msgstr "Failed to reboot host %s"
272
273
 
273
- #: ../app/controllers/discovered_hosts_controller.rb:118
274
+ #: ../app/controllers/discovered_hosts_controller.rb:115
274
275
  msgid "Failed to reboot host %{hostname} with error %{error_message}"
275
276
  msgstr "Failed to reboot host %{hostname} with error %{error_message}"
276
277
 
277
- #: ../app/controllers/discovered_hosts_controller.rb:132
278
+ #: ../app/controllers/discovered_hosts_controller.rb:129
278
279
  msgid "Failed to reboot hosts with error %s"
279
280
  msgstr "Failed to reboot hosts with error %s"
280
281
 
281
- #: ../app/controllers/discovered_hosts_controller.rb:150
282
+ #: ../app/controllers/discovered_hosts_controller.rb:147
282
283
  msgid "Destroyed selected hosts"
283
284
  msgstr "Destroyed selected hosts"
284
285
 
285
- #: ../app/controllers/discovered_hosts_controller.rb:152
286
+ #: ../app/controllers/discovered_hosts_controller.rb:149
286
287
  msgid "The following hosts were not deleted: %s"
287
288
  msgstr "The following hosts were not deleted: %s"
288
289
 
289
- #: ../app/controllers/discovered_hosts_controller.rb:164
290
+ #: ../app/controllers/discovered_hosts_controller.rb:161
290
291
  msgid "Failed to auto provision host %s: %s"
291
292
  msgstr "Failed to auto provision host %s: %s"
292
293
 
293
- #: ../app/controllers/discovered_hosts_controller.rb:192
294
+ #: ../app/controllers/discovered_hosts_controller.rb:189
294
295
  msgid "Discovered hosts are provisioning now"
295
296
  msgstr "Discovered hosts are provisioning now"
296
297
 
297
- #: ../app/controllers/discovered_hosts_controller.rb:226
298
- msgid "Highlights"
299
- msgstr "Highlights"
300
-
301
- #: ../app/controllers/discovered_hosts_controller.rb:226
302
- msgid "Storage"
303
- msgstr "Storage"
304
-
305
- #: ../app/controllers/discovered_hosts_controller.rb:226
306
- msgid "Hardware"
307
- msgstr "Hardware"
308
-
309
- #: ../app/controllers/discovered_hosts_controller.rb:226
310
- msgid "Network"
311
- msgstr "Network"
312
-
313
- #: ../app/controllers/discovered_hosts_controller.rb:226
314
- msgid "Software"
315
- msgstr "Software"
316
-
317
- #: ../app/controllers/discovered_hosts_controller.rb:226
318
- msgid "IPMI"
319
- msgstr "IPMI"
298
+ #: ../app/controllers/discovered_hosts_controller.rb:270
299
+ msgid "Discovered host reported from unknown subnet, communication will not be proxied."
300
+ msgstr ""
320
301
 
321
- #: ../app/controllers/discovered_hosts_controller.rb:226
322
- msgid "Miscellaneous"
323
- msgstr "Miscellaneous"
302
+ #: ../app/controllers/discovered_hosts_controller.rb:275
303
+ msgid "Discovered hosts reported from unknown subnet are %s, communication will not be proxied."
304
+ msgstr ""
324
305
 
325
- #: ../app/controllers/discovered_hosts_controller.rb:304
306
+ #: ../app/controllers/discovered_hosts_controller.rb:289
326
307
  msgid "No hosts were found with that id or name"
327
308
  msgstr "No hosts were found with that id or name"
328
309
 
329
- #: ../app/controllers/discovered_hosts_controller.rb:308
310
+ #: ../app/controllers/discovered_hosts_controller.rb:293
330
311
  msgid "No hosts selected"
331
312
  msgstr "No hosts selected"
332
313
 
333
- #: ../app/controllers/discovered_hosts_controller.rb:314
314
+ #: ../app/controllers/discovered_hosts_controller.rb:299
334
315
  msgid "Something went wrong while selecting hosts - %s"
335
316
  msgstr "Something went wrong while selecting hosts - %s"
336
317
 
337
- #: ../app/controllers/discovery_rules_controller.rb:68
318
+ #: ../app/controllers/discovery_rules_controller.rb:79
338
319
  msgid "Rule enabled"
339
320
  msgstr "Rule enabled"
340
321
 
341
- #: ../app/controllers/discovery_rules_controller.rb:68
322
+ #: ../app/controllers/discovery_rules_controller.rb:79
342
323
  msgid "Rule disabled"
343
324
  msgstr "Rule disabled"
344
325
 
345
- #: ../app/helpers/discovered_hosts_helper.rb:10
346
- msgid "%s ago"
347
- msgstr "%s ago"
348
-
349
- #: ../app/helpers/discovered_hosts_helper.rb:14 ../app/helpers/discovered_hosts_helper.rb:29 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:37
326
+ #: ../app/helpers/discovered_hosts_helper.rb:14 ../app/helpers/discovered_hosts_helper.rb:29 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:40
350
327
  msgid "Auto Provision"
351
328
  msgstr "Auto Provision"
352
329
 
353
- #: ../app/helpers/discovered_hosts_helper.rb:15 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:38
330
+ #: ../app/helpers/discovered_hosts_helper.rb:15 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:41
354
331
  msgid "Refresh facts"
355
332
  msgstr "Refresh facts"
356
333
 
357
- #: ../app/helpers/discovered_hosts_helper.rb:16 ../app/helpers/discovered_hosts_helper.rb:30 ../app/models/setting/discovered.rb:24 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:39
334
+ #: ../app/helpers/discovered_hosts_helper.rb:16 ../app/helpers/discovered_hosts_helper.rb:30 ../app/models/setting/discovered.rb:24 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:42
358
335
  msgid "Reboot"
359
336
  msgstr "Reboot"
360
337
 
@@ -366,7 +343,7 @@ msgstr "Back"
366
343
  msgid "Select Action"
367
344
  msgstr "Select Action"
368
345
 
369
- #: ../app/helpers/discovered_hosts_helper.rb:23 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:40
346
+ #: ../app/helpers/discovered_hosts_helper.rb:23 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:43
370
347
  msgid "Delete %s?"
371
348
  msgstr "Delete %s?"
372
349
 
@@ -431,6 +408,10 @@ msgid "Enable rule '%s'?"
431
408
  msgstr "Enable rule '%s'?"
432
409
 
433
410
  #: ../app/helpers/discovery_rules_helper.rb:33
411
+ msgid "Clone"
412
+ msgstr ""
413
+
414
+ #: ../app/helpers/discovery_rules_helper.rb:34
434
415
  msgid "Delete rule '%s'?"
435
416
  msgstr "Delete rule '%s'?"
436
417
 
@@ -454,13 +435,13 @@ msgstr "must start with a letter or ERB."
454
435
  msgid "must be present."
455
436
  msgstr "must be present."
456
437
 
457
- #: ../app/models/discovery_rule.rb:52
438
+ #: ../app/models/discovery_rule.rb:57
458
439
  msgid "Host group organization %s must also be associated to the discovery rule"
459
440
  msgid_plural "Host group organizations %s must also be associated to the discovery rule"
460
441
  msgstr[0] "Host group organisation %s must also be associated to the discovery rule"
461
442
  msgstr[1] "Host group organisations %s must also be associated to the discovery rule"
462
443
 
463
- #: ../app/models/discovery_rule.rb:56
444
+ #: ../app/models/discovery_rule.rb:61
464
445
  msgid "Host group location %s must also be associated to the discovery rule"
465
446
  msgid_plural "Host group locations %s must also be associated to the discovery rule"
466
447
  msgstr[0] "Host group location %s must also be associated to the discovery rule"
@@ -730,6 +711,34 @@ msgstr "Discovered host '%{host}' has all NICs filtered out, filter: %{filter}"
730
711
  msgid "Unable to find primary NIC with %{mac} specified via '%{fact}', NIC filter: %{filter}"
731
712
  msgstr "Unable to find primary NIC with %{mac} specified via '%{fact}', NIC filter: %{filter}"
732
713
 
714
+ #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:7
715
+ msgid "Highlights"
716
+ msgstr "Highlights"
717
+
718
+ #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:8
719
+ msgid "Storage"
720
+ msgstr "Storage"
721
+
722
+ #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:9
723
+ msgid "Hardware"
724
+ msgstr "Hardware"
725
+
726
+ #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:10
727
+ msgid "Network"
728
+ msgstr "Network"
729
+
730
+ #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:11
731
+ msgid "Software"
732
+ msgstr "Software"
733
+
734
+ #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:12
735
+ msgid "IPMI"
736
+ msgstr "IPMI"
737
+
738
+ #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:13
739
+ msgid "Miscellaneous"
740
+ msgstr "Miscellaneous"
741
+
733
742
  #: ../app/services/foreman_discovery/host_converter.rb:47
734
743
  msgid "IPAM must be configured for subnet '%s'"
735
744
  msgstr "IPAM must be configured for subnet '%s'"
@@ -742,6 +751,10 @@ msgstr "Image API returned HTTP/%{code} with '%{body}"
742
751
  msgid "Image API processing error: %{msg} (HTTP/%{code}, body: %{body})"
743
752
  msgstr "Image API processing error: %{msg} (HTTP/%{code}, body: %{body})"
744
753
 
754
+ #: ../app/services/foreman_discovery/ui_notifications/new_host.rb:22
755
+ msgid "Host %s has been dicovered"
756
+ msgstr ""
757
+
745
758
  #: ../app/views/dashboard/_discovery_widget.html.erb:5
746
759
  msgid "Discovered Host"
747
760
  msgid_plural "Discovered Hosts"
@@ -756,15 +769,15 @@ msgstr "No discovered hosts available"
756
769
  msgid "Host"
757
770
  msgstr "Host"
758
771
 
759
- #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:4 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:6 ../app/views/discovered_hosts/_selected_hosts.html.erb:8 ../app/views/discovered_mailer/discovered_summary.html.erb:18 ../app/views/discovered_mailer/discovered_summary.text.erb:10
772
+ #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:4 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:7 ../app/views/discovered_hosts/_selected_hosts.html.erb:8 ../app/views/discovered_mailer/discovered_summary.html.erb:18 ../app/views/discovered_mailer/discovered_summary.text.erb:10
760
773
  msgid "Model"
761
774
  msgstr "Model"
762
775
 
763
- #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:5 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:8 ../app/views/discovered_mailer/discovered_summary.html.erb:20 ../app/views/discovered_mailer/discovered_summary.text.erb:12
776
+ #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:5 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:9 ../app/views/discovered_mailer/discovered_summary.html.erb:20 ../app/views/discovered_mailer/discovered_summary.text.erb:12
764
777
  msgid "CPUs"
765
778
  msgstr "CPUs"
766
779
 
767
- #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:6 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:9 ../app/views/discovered_mailer/discovered_summary.html.erb:21 ../app/views/discovered_mailer/discovered_summary.text.erb:13
780
+ #: ../app/views/dashboard/_discovery_widget_host_list.html.erb:6 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:10 ../app/views/discovered_mailer/discovered_summary.html.erb:21 ../app/views/discovered_mailer/discovered_summary.text.erb:13
768
781
  msgid "Memory"
769
782
  msgstr "Memory"
770
783
 
@@ -776,59 +789,59 @@ msgstr "Customise Host"
776
789
  msgid "Create Host"
777
790
  msgstr "Create Host"
778
791
 
779
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:4
792
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:5
780
793
  msgid "Select all items in this page"
781
794
  msgstr "Select all items in this page"
782
795
 
783
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:4
796
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:5
784
797
  msgid "items selected. Uncheck to Clear"
785
798
  msgstr "items selected. Uncheck to Clear"
786
799
 
787
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:5 ../app/views/discovered_hosts/_selected_hosts.html.erb:7 ../app/views/discovered_mailer/discovered_summary.html.erb:17 ../app/views/discovered_mailer/discovered_summary.text.erb:9
800
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:6 ../app/views/discovered_hosts/_selected_hosts.html.erb:7 ../app/views/discovered_mailer/discovered_summary.html.erb:17 ../app/views/discovered_mailer/discovered_summary.text.erb:9
788
801
  msgid "Name"
789
802
  msgstr "Name"
790
803
 
791
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:7 ../app/views/discovered_mailer/discovered_summary.html.erb:19 ../app/views/discovered_mailer/discovered_summary.text.erb:11
804
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:8 ../app/views/discovered_mailer/discovered_summary.html.erb:19 ../app/views/discovered_mailer/discovered_summary.text.erb:11
792
805
  msgid "IP Address"
793
806
  msgstr "IP Address"
794
807
 
795
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:10
808
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:11
796
809
  msgid "Disk Count"
797
810
  msgstr "Disk Count"
798
811
 
799
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:11
812
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:12
800
813
  msgid "Disks Size"
801
814
  msgstr "Disks Size"
802
815
 
803
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:15 ../app/views/discovered_hosts/_selected_hosts.html.erb:9
816
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:16 ../app/views/discovered_hosts/_selected_hosts.html.erb:9 ../app/views/discovery_rules/index.html.erb:11
804
817
  msgid "Location"
805
818
  msgstr "Location"
806
819
 
807
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:16 ../app/views/discovered_hosts/_selected_hosts.html.erb:10
820
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:17 ../app/views/discovered_hosts/_selected_hosts.html.erb:10 ../app/views/discovery_rules/index.html.erb:12
808
821
  msgid "Organization"
809
822
  msgstr "Organisation"
810
823
 
811
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:17
824
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:18
812
825
  msgid "Subnet"
813
826
  msgstr "Subnet"
814
827
 
815
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:18
828
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:19
816
829
  msgid "Last Facts Upload"
817
830
  msgstr "Last Facts Upload"
818
831
 
819
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:19 ../app/views/discovery_rules/index.html.erb:12
832
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:20 ../app/views/discovery_rules/index.html.erb:14
820
833
  msgid "Actions"
821
834
  msgstr "Actions"
822
835
 
823
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:51
836
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:55
824
837
  msgid "Please Confirm"
825
838
  msgstr "Please Confirm"
826
839
 
827
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:57
840
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:61
828
841
  msgid "Cancel"
829
842
  msgstr "Cancel"
830
843
 
831
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:58
844
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:62
832
845
  msgid "Submit"
833
846
  msgstr "Submit"
834
847
 
@@ -964,6 +977,10 @@ msgstr "When creating hostname patterns, make sure the resulting host names are
964
977
  msgid "Hostnames must not start with numbers. A good approach is to use unique information provided by facter (MAC address, BIOS or serial ID)."
965
978
  msgstr "Hostnames must not start with numbers. A good approach is to use unique information provided by facter (MAC address, BIOS or serial ID)."
966
979
 
980
+ #: ../app/views/discovery_rules/clone.erb:1
981
+ msgid "Clone %s"
982
+ msgstr ""
983
+
967
984
  #: ../app/views/discovery_rules/edit.html.erb:1
968
985
  msgid "Edit %s"
969
986
  msgstr "Edit %s"
@@ -972,7 +989,7 @@ msgstr "Edit %s"
972
989
  msgid "Discovery Rules"
973
990
  msgstr "Discovery Rules"
974
991
 
975
- #: ../app/views/discovery_rules/index.html.erb:2
992
+ #: ../app/views/discovery_rules/index.html.erb:2 ../webpack/src/ForemanDiscovery/DiscoveryRules/Components/EmptyState/EmptyState.js:9
976
993
  msgid "Create Rule"
977
994
  msgstr "Create Rule"
978
995
 
@@ -996,7 +1013,7 @@ msgstr "Host Group"
996
1013
  msgid "Hosts/Limit"
997
1014
  msgstr "Hosts/Limit"
998
1015
 
999
- #: ../app/views/discovery_rules/index.html.erb:11
1016
+ #: ../app/views/discovery_rules/index.html.erb:13
1000
1017
  msgid "DiscoveryRule|Enabled"
1001
1018
  msgstr "Enabled"
1002
1019
 
@@ -1004,6 +1021,10 @@ msgstr "Enabled"
1004
1021
  msgid "New Discovery Rule"
1005
1022
  msgstr "New Discovery Rule"
1006
1023
 
1024
+ #: ../app/views/discovery_rules/welcome.html.erb:8
1025
+ msgid "Discovered Rules"
1026
+ msgstr ""
1027
+
1007
1028
  #: ../db/seeds.d/50_discovery_templates.rb:5
1008
1029
  msgid "Command line options for kexec during PXE-less provisioning."
1009
1030
  msgstr "Command line options for kexec during PXE-less provisioning."
@@ -1013,8 +1034,8 @@ msgid "A summary of discovered hosts"
1013
1034
  msgstr "A summary of discovered hosts"
1014
1035
 
1015
1036
  #: ../db/seeds.d/80_discovery_ui_notification.rb:4
1016
- msgid "Hosts"
1017
- msgstr "Hosts"
1037
+ msgid "New hosts"
1038
+ msgstr ""
1018
1039
 
1019
1040
  #: ../db/seeds.d/80_discovery_ui_notification.rb:6
1020
1041
  msgid "One or more hosts have been discovered"
@@ -1024,45 +1045,54 @@ msgstr "One or more hosts have been discovered"
1024
1045
  msgid "Details"
1025
1046
  msgstr "Details"
1026
1047
 
1027
- #: ../lib/foreman_discovery/engine.rb:180
1048
+ #: ../db/seeds.d/80_discovery_ui_notification.rb:18
1049
+ msgid "Hosts"
1050
+ msgstr "Hosts"
1051
+
1052
+ #: ../db/seeds.d/80_discovery_ui_notification.rb:20
1053
+ msgid "Error message goes here"
1054
+ msgstr ""
1055
+
1056
+ #: ../lib/foreman_discovery/engine.rb:176
1028
1057
  msgid "Discovery Kexec template"
1029
1058
  msgstr "Discovery Kexec template"
1030
1059
 
1031
- #: ../lib/foreman_discovery/engine.rb:189
1060
+ #: ../lib/foreman_discovery/engine.rb:185
1032
1061
  msgid "Discovery Proxy"
1033
1062
  msgstr "Discovery Proxy"
1034
1063
 
1035
- #: ../lib/foreman_discovery/engine.rb:190
1064
+ #: ../lib/foreman_discovery/engine.rb:186
1036
1065
  msgid "Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1037
1066
  msgstr "Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1038
1067
 
1039
- #: ../lib/foreman_discovery/engine.rb:191
1068
+ #: ../lib/foreman_discovery/engine.rb:187
1040
1069
  msgid "ID of Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1041
1070
  msgstr "ID of Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1042
1071
 
1072
+ #: ../webpack/__mocks__/foremanReact/components/common/EmptyState/EmptyStatePattern.js:33
1073
+ msgid "For more information please see "
1074
+ msgstr ""
1075
+
1076
+ #: ../webpack/__mocks__/foremanReact/components/common/EmptyState/EmptyStatePattern.js:34
1077
+ msgid "documentation"
1078
+ msgstr ""
1079
+
1043
1080
  #: action_names.rb:2
1044
1081
  msgid "Remote action:"
1045
- msgstr ""
1082
+ msgstr "Remote action:"
1046
1083
 
1047
1084
  #: action_names.rb:3
1048
1085
  msgid "Import Puppet classes"
1049
- msgstr ""
1086
+ msgstr "Import Puppet classes"
1050
1087
 
1051
1088
  #: action_names.rb:4
1052
- msgid "Action with sub plans"
1053
- msgstr ""
1089
+ msgid "Import facts"
1090
+ msgstr "Import facts"
1054
1091
 
1055
1092
  #: action_names.rb:5
1056
- msgid "Import facts"
1057
- msgstr ""
1093
+ msgid "Action with sub plans"
1094
+ msgstr "Action with sub plans"
1058
1095
 
1059
- #~ msgid "Learn more about this in the documentation."
1060
- #~ msgstr "Learn more about this in the documentation."
1061
- #~ msgid "No discovered hosts found in this context."
1062
- #~ msgstr "No discovered hosts found in this context."
1063
- #~ msgid ""
1064
- #~ "This page shows discovered bare-metal or virtual nodes waiting to be provision"
1065
- #~ "ed."
1066
- #~ msgstr ""
1067
- #~ "This page shows discovered bare-metal or virtual nodes waiting to be provision"
1068
- #~ "ed."
1096
+ #: ../app/helpers/discovered_hosts_helper.rb:10
1097
+ #~ msgid "%s ago"
1098
+ #~ msgstr "%s ago"