foreman_discovery 16.1.4 → 16.3.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/api/v2/discovered_hosts_controller.rb +14 -8
  3. data/app/helpers/discovered_hosts_helper.rb +5 -0
  4. data/app/models/host/discovered.rb +11 -15
  5. data/app/models/setting/discovered.rb +3 -1
  6. data/app/services/foreman_discovery/host_fact_importer.rb +10 -0
  7. data/app/services/foreman_discovery/import_hooks/subnet_and_taxonomy.rb +2 -0
  8. data/app/views/api/v2/discovery_rules/create.json.rabl +3 -0
  9. data/app/views/discovered_hosts/welcome.html.erb +14 -9
  10. data/app/views/discovery_rules/index.html.erb +1 -1
  11. data/app/views/foreman_discovery/debian_kexec.erb +3 -2
  12. data/app/views/foreman_discovery/redhat_kexec.erb +3 -2
  13. data/extra/discover-host +3 -3
  14. data/lib/foreman_discovery/engine.rb +3 -2
  15. data/lib/foreman_discovery/version.rb +1 -1
  16. data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
  17. data/locale/ca/foreman_discovery.edit.po +104 -75
  18. data/locale/ca/foreman_discovery.po +25 -10
  19. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  20. data/locale/de/foreman_discovery.edit.po +111 -82
  21. data/locale/de/foreman_discovery.po +25 -10
  22. data/locale/en/LC_MESSAGES/foreman_discovery.mo +0 -0
  23. data/locale/en/foreman_discovery.edit.po +97 -73
  24. data/locale/en/foreman_discovery.po +25 -10
  25. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  26. data/locale/en_GB/foreman_discovery.edit.po +110 -81
  27. data/locale/en_GB/foreman_discovery.po +25 -10
  28. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  29. data/locale/es/foreman_discovery.edit.po +112 -83
  30. data/locale/es/foreman_discovery.po +25 -10
  31. data/locale/foreman_discovery.pot +137 -114
  32. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  33. data/locale/fr/foreman_discovery.edit.po +112 -83
  34. data/locale/fr/foreman_discovery.po +25 -10
  35. data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
  36. data/locale/gl/foreman_discovery.edit.po +103 -74
  37. data/locale/gl/foreman_discovery.po +25 -10
  38. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  39. data/locale/it/foreman_discovery.edit.po +110 -81
  40. data/locale/it/foreman_discovery.po +25 -10
  41. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  42. data/locale/ja/foreman_discovery.edit.po +112 -83
  43. data/locale/ja/foreman_discovery.po +25 -10
  44. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  45. data/locale/ko/foreman_discovery.edit.po +110 -81
  46. data/locale/ko/foreman_discovery.po +25 -10
  47. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  48. data/locale/pt_BR/foreman_discovery.edit.po +112 -83
  49. data/locale/pt_BR/foreman_discovery.po +25 -10
  50. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  51. data/locale/ru/foreman_discovery.edit.po +111 -82
  52. data/locale/ru/foreman_discovery.po +25 -10
  53. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  54. data/locale/sv_SE/foreman_discovery.edit.po +104 -75
  55. data/locale/sv_SE/foreman_discovery.po +25 -10
  56. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  57. data/locale/zh_CN/foreman_discovery.edit.po +112 -83
  58. data/locale/zh_CN/foreman_discovery.po +25 -10
  59. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  60. data/locale/zh_TW/foreman_discovery.edit.po +110 -81
  61. data/locale/zh_TW/foreman_discovery.po +25 -10
  62. data/package.json +39 -0
  63. data/test/facts/only-ipv6.json +205 -0
  64. data/test/facts/skylake-ipv6.json +223 -0
  65. data/test/functional/api/v2/settings_controller_test.rb +2 -2
  66. data/test/functional/discovered_hosts_controller_test.rb +1 -1
  67. data/test/functional/discovery_rules_controller_test.rb +1 -1
  68. data/test/unit/host_discovered_test.rb +0 -16
  69. data/webpack/index.js +18 -0
  70. data/webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/EmptyState.js +28 -0
  71. data/webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/index.js +1 -0
  72. data/webpack/src/ForemanDiscovery/DiscoveredHosts/index.js +6 -0
  73. data/webpack/src/reducers.js +7 -0
  74. metadata +21 -11
  75. data/test/facts/vmware-facter4-nolegacy.json +0 -402
@@ -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.1.3\n"
5
+ "Project-Id-Version: foreman_discovery 16.2.0\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"
@@ -318,6 +318,12 @@ msgstr[1] ""
318
318
  msgid "Host of type %s can not be rebooted"
319
319
  msgstr ""
320
320
 
321
+ msgid "Host's owner type"
322
+ msgstr ""
323
+
324
+ msgid "Host's parameters (array or indexed hash)"
325
+ msgstr ""
326
+
321
327
  msgid "Hostname facts"
322
328
  msgstr ""
323
329
 
@@ -405,9 +411,6 @@ msgstr ""
405
411
  msgid "Last Facts Upload"
406
412
  msgstr ""
407
413
 
408
- msgid "Learn more about this in the documentation."
409
- msgstr ""
410
-
411
414
  msgid "List all discovered hosts"
412
415
  msgstr ""
413
416
 
@@ -462,6 +465,9 @@ msgstr ""
462
465
  msgid "Name"
463
466
  msgstr ""
464
467
 
468
+ msgid "Name of the parameter"
469
+ msgstr ""
470
+
465
471
  msgid "Network"
466
472
  msgstr ""
467
473
 
@@ -480,9 +486,6 @@ msgstr ""
480
486
  msgid "No discovered hosts for the selected period"
481
487
  msgstr ""
482
488
 
483
- msgid "No discovered hosts found in this context."
484
- msgstr ""
485
-
486
489
  msgid "No discovered hosts to provision"
487
490
  msgstr ""
488
491
 
@@ -525,6 +528,9 @@ msgstr ""
525
528
  msgid "PXELinux template to be used when pinning a host to discovery"
526
529
  msgstr ""
527
530
 
531
+ msgid "Parameter value"
532
+ msgstr ""
533
+
528
534
  msgid "Please Confirm"
529
535
  msgstr ""
530
536
 
@@ -672,15 +678,15 @@ msgstr ""
672
678
  msgid "This might take a while, as all hosts, facts and reports will be destroyed as well"
673
679
  msgstr ""
674
680
 
675
- msgid "This page shows discovered bare-metal or virtual nodes waiting to be provisioned."
676
- msgstr ""
677
-
678
681
  msgid "Type"
679
682
  msgstr ""
680
683
 
681
684
  msgid "Type of name generator"
682
685
  msgstr ""
683
686
 
687
+ msgid "Type of value"
688
+ msgstr ""
689
+
684
690
  msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
685
691
  msgstr ""
686
692
 
@@ -765,6 +771,15 @@ msgstr ""
765
771
  msgid "represents rule name shown to the users"
766
772
  msgstr ""
767
773
 
774
+ msgid "required if host is managed and custom partition has not been defined"
775
+ msgstr ""
776
+
777
+ msgid "required if host is managed and value is not inherited from host group"
778
+ msgstr ""
779
+
780
+ msgid "required if not imaged based provisioning and host is managed and value is not inherited from host group"
781
+ msgstr ""
782
+
768
783
  msgid "required if value is not inherited from host group or default password in settings"
769
784
  msgstr ""
770
785
 
@@ -12,7 +12,8 @@ msgid ""
12
12
  msgstr ""
13
13
  "Project-Id-Version: foreman_discovery 16.3.4\n"
14
14
  "Report-Msgid-Bugs-To: \n"
15
- "PO-Revision-Date: 2020-10-29 17:16+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,110 +243,86 @@ 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:72
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:72
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
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"
@@ -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"
@@ -800,11 +813,11 @@ msgstr "Disk Count"
800
813
  msgid "Disks Size"
801
814
  msgstr "Disks Size"
802
815
 
803
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:16 ../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:17 ../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
 
@@ -816,7 +829,7 @@ msgstr "Subnet"
816
829
  msgid "Last Facts Upload"
817
830
  msgstr "Last Facts Upload"
818
831
 
819
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:20 ../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
 
@@ -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"
@@ -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
 
@@ -1017,8 +1034,8 @@ msgid "A summary of discovered hosts"
1017
1034
  msgstr "A summary of discovered hosts"
1018
1035
 
1019
1036
  #: ../db/seeds.d/80_discovery_ui_notification.rb:4
1020
- msgid "Hosts"
1021
- msgstr "Hosts"
1037
+ msgid "New hosts"
1038
+ msgstr ""
1022
1039
 
1023
1040
  #: ../db/seeds.d/80_discovery_ui_notification.rb:6
1024
1041
  msgid "One or more hosts have been discovered"
@@ -1028,19 +1045,27 @@ msgstr "One or more hosts have been discovered"
1028
1045
  msgid "Details"
1029
1046
  msgstr "Details"
1030
1047
 
1031
- #: ../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
1032
1057
  msgid "Discovery Kexec template"
1033
1058
  msgstr "Discovery Kexec template"
1034
1059
 
1035
- #: ../lib/foreman_discovery/engine.rb:189
1060
+ #: ../lib/foreman_discovery/engine.rb:185
1036
1061
  msgid "Discovery Proxy"
1037
1062
  msgstr "Discovery Proxy"
1038
1063
 
1039
- #: ../lib/foreman_discovery/engine.rb:190
1064
+ #: ../lib/foreman_discovery/engine.rb:186
1040
1065
  msgid "Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1041
1066
  msgstr "Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1042
1067
 
1043
- #: ../lib/foreman_discovery/engine.rb:191
1068
+ #: ../lib/foreman_discovery/engine.rb:187
1044
1069
  msgid "ID of Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1045
1070
  msgstr "ID of Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1046
1071
 
@@ -1053,17 +1078,21 @@ msgid "documentation"
1053
1078
  msgstr ""
1054
1079
 
1055
1080
  #: action_names.rb:2
1056
- msgid "Action with sub plans"
1057
- msgstr "Action with sub plans"
1081
+ msgid "Remote action:"
1082
+ msgstr "Remote action:"
1058
1083
 
1059
1084
  #: action_names.rb:3
1060
- msgid "Import facts"
1061
- msgstr "Import facts"
1062
-
1063
- #: action_names.rb:4
1064
1085
  msgid "Import Puppet classes"
1065
1086
  msgstr "Import Puppet classes"
1066
1087
 
1088
+ #: action_names.rb:4
1089
+ msgid "Import facts"
1090
+ msgstr "Import facts"
1091
+
1067
1092
  #: action_names.rb:5
1068
- msgid "Remote action:"
1069
- msgstr "Remote action:"
1093
+ msgid "Action with sub plans"
1094
+ msgstr "Action with sub plans"
1095
+
1096
+ #: ../app/helpers/discovered_hosts_helper.rb:10
1097
+ #~ msgid "%s ago"
1098
+ #~ msgstr "%s ago"