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
@@ -10,9 +10,9 @@
10
10
  # Yulia <yulia.poyarkova@redhat.com>, 2016
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: Russian (http://www.transifex.com/foreman/foreman/language/ru/)"
18
18
  "\n"
@@ -27,9 +27,6 @@ msgstr ""
27
27
  msgid "%s - The following hosts are about to be changed"
28
28
  msgstr "%s — узлы будут изменены"
29
29
 
30
- msgid "%s ago"
31
- msgstr "%s назад"
32
-
33
30
  msgid "%s discovered hosts were provisioned"
34
31
  msgstr "Подготовлено узлов: %s"
35
32
 
@@ -40,7 +37,7 @@ msgid "A summary of discovered hosts"
40
37
  msgstr "Сводка состояния обнаруженных узлов"
41
38
 
42
39
  msgid "Action with sub plans"
43
- msgstr ""
40
+ msgstr "Действия с подпланами"
44
41
 
45
42
  msgid "Actions"
46
43
  msgstr "Действия"
@@ -87,6 +84,12 @@ msgstr ""
87
84
  msgid "Clean all reported facts during provisioning (except discovery facts)"
88
85
  msgstr ""
89
86
 
87
+ msgid "Clone"
88
+ msgstr ""
89
+
90
+ msgid "Clone %s"
91
+ msgstr ""
92
+
90
93
  msgid "Collapse All"
91
94
  msgstr "Свернуть все"
92
95
 
@@ -152,9 +155,15 @@ msgstr[1] ""
152
155
  msgid "Discovered Hosts"
153
156
  msgstr "Обнаруженные узлы"
154
157
 
158
+ msgid "Discovered Rules"
159
+ msgstr ""
160
+
155
161
  msgid "Discovered host '%{host}' has all NICs filtered out, filter: %{filter}"
156
162
  msgstr ""
157
163
 
164
+ msgid "Discovered host reported from unknown subnet, communication will not be proxied."
165
+ msgstr ""
166
+
158
167
  msgid "Discovered host: %s"
159
168
  msgstr "Обнаружен узел: %s"
160
169
 
@@ -167,6 +176,9 @@ msgstr "Выполняется перезагрузка обнаруженных
167
176
  msgid "Discovered hosts from Foreman server at %{foreman_url}"
168
177
  msgstr "Узлы, обнаруженные сервером Foreman %{foreman_url}"
169
178
 
179
+ msgid "Discovered hosts reported from unknown subnet are %s, communication will not be proxied."
180
+ msgstr ""
181
+
170
182
  msgid "Discovered hosts summary"
171
183
  msgstr "Сводка обнаруженных узлов"
172
184
 
@@ -233,6 +245,9 @@ msgstr "Включить"
233
245
  msgid "Enable rule '%s'?"
234
246
  msgstr "Включить правило «%s»?"
235
247
 
248
+ msgid "Error message goes here"
249
+ msgstr ""
250
+
236
251
  msgid "Error on existing NIC"
237
252
  msgstr ""
238
253
 
@@ -287,6 +302,9 @@ msgstr "Не удалось обновить факты %s"
287
302
  msgid "Failed to refresh facts for %{hostname} with error %{error_message}"
288
303
  msgstr "Не удалось обновить факты %{hostname}. Ошибка: %{error_message}"
289
304
 
305
+ msgid "For more information please see "
306
+ msgstr ""
307
+
290
308
  msgid "Force DNS"
291
309
  msgstr ""
292
310
 
@@ -311,6 +329,9 @@ msgstr "Основные"
311
329
  msgid "Host"
312
330
  msgstr "Узел"
313
331
 
332
+ msgid "Host %s has been dicovered"
333
+ msgstr ""
334
+
314
335
  msgid "Host %{host} was provisioned with rule %{rule}"
315
336
  msgstr "%{host} был подготовлен в соответствии с правилом %{rule}"
316
337
 
@@ -335,10 +356,10 @@ msgid "Host of type %s can not be rebooted"
335
356
  msgstr "Узел типа %s не может быть перезагружен"
336
357
 
337
358
  msgid "Host's owner type"
338
- msgstr ""
359
+ msgstr "Тип владельца узла"
339
360
 
340
361
  msgid "Host's parameters (array or indexed hash)"
341
- msgstr ""
362
+ msgstr "Параметры узла (массив или индексированный хэш)"
342
363
 
343
364
  msgid "Hostname facts"
344
365
  msgstr ""
@@ -389,10 +410,10 @@ msgid "Image API returned HTTP/%{code} with '%{body}"
389
410
  msgstr "API образа вернул ошибку HTTP/%{code}: '%{body}"
390
411
 
391
412
  msgid "Import Puppet classes"
392
- msgstr ""
413
+ msgstr "Импорт классов Puppet"
393
414
 
394
415
  msgid "Import facts"
395
- msgstr ""
416
+ msgstr "Импорт фактов"
396
417
 
397
418
  msgid "In addition to @host attribute function rand for random integers is available. Examples:"
398
419
  msgstr ""
@@ -482,7 +503,7 @@ msgid "Name"
482
503
  msgstr "Имя"
483
504
 
484
505
  msgid "Name of the parameter"
485
- msgstr ""
506
+ msgstr "Название параметра"
486
507
 
487
508
  msgid "Network"
488
509
  msgstr "Сеть"
@@ -493,6 +514,9 @@ msgstr ""
493
514
  msgid "New Discovery Rule"
494
515
  msgstr "Новое правило"
495
516
 
517
+ msgid "New hosts"
518
+ msgstr ""
519
+
496
520
  msgid "New in the last 24 hours"
497
521
  msgstr "Новое за последние 24 часа"
498
522
 
@@ -545,7 +569,7 @@ msgid "PXELinux template to be used when pinning a host to discovery"
545
569
  msgstr ""
546
570
 
547
571
  msgid "Parameter value"
548
- msgstr ""
572
+ msgstr "Значение параметра"
549
573
 
550
574
  msgid "Please Confirm"
551
575
  msgstr "Подтвердите"
@@ -611,7 +635,7 @@ msgid "Reloading kernel on %s"
611
635
  msgstr "Перезагрузка ядра на %s"
612
636
 
613
637
  msgid "Remote action:"
614
- msgstr ""
638
+ msgstr "Удаленное действие:"
615
639
 
616
640
  msgid "Reported in the last 7 days"
617
641
  msgstr "Были данные за последние 7 дней"
@@ -739,6 +763,9 @@ msgstr "не может содержать пробелов"
739
763
  msgid "defines a pattern to assign human-readable hostnames to the matching hosts"
740
764
  msgstr "шаблон для присвоения узлам понятных имен"
741
765
 
766
+ msgid "documentation"
767
+ msgstr ""
768
+
742
769
  msgid "enables to limit maximum amount of provisioned hosts per rule"
743
770
  msgstr "максимальное число узлов для указанного правила"
744
771
 
@@ -788,13 +815,13 @@ msgid "represents rule name shown to the users"
788
815
  msgstr "название правила, которое увидят пользователи"
789
816
 
790
817
  msgid "required if host is managed and custom partition has not been defined"
791
- msgstr ""
818
+ msgstr "требуется, если узел находится под управлением, но собственный раздел не был объявлен"
792
819
 
793
820
  msgid "required if host is managed and value is not inherited from host group"
794
- msgstr ""
821
+ msgstr "требуется, если узел уже контролируется, но значение не было унаследовано от группы узлов"
795
822
 
796
823
  msgid "required if not imaged based provisioning and host is managed and value is not inherited from host group"
797
- msgstr ""
824
+ msgstr "требуется, если подготовка управляемого узла осуществляется без участия образов и при этом значение не было унаследовано от группы узлов"
798
825
 
799
826
  msgid "required if value is not inherited from host group or default password in settings"
800
827
  msgstr "обязательно, если пароль не унаследован от группы узлов или заданного по умолчанию пароля"
@@ -8,9 +8,10 @@
8
8
  # johnny.westerlund <johnny.westerlund@gmail.com>, 2014
9
9
  msgid ""
10
10
  msgstr ""
11
- "Project-Id-Version: foreman_discovery 16.2.0\n"
11
+ "Project-Id-Version: foreman_discovery 16.3.4\n"
12
12
  "Report-Msgid-Bugs-To: \n"
13
- "PO-Revision-Date: 2020-05-26 17:21+0000\n"
13
+ "POT-Creation-Date: 2021-05-03 08:46+0200\n"
14
+ "PO-Revision-Date: 2021-01-25 08:35+0000\n"
14
15
  "Last-Translator: Transifex Bot <>\n"
15
16
  "Language-Team: Swedish (Sweden) (http://www.transifex.com/foreman/foreman/lang"
16
17
  "uage/sv_SE/)\n"
@@ -86,11 +87,11 @@ msgstr ""
86
87
 
87
88
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:73
88
89
  msgid "Name of the parameter"
89
- msgstr ""
90
+ msgstr "Parameterns namn"
90
91
 
91
92
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:74
92
93
  msgid "Parameter value"
93
- msgstr ""
94
+ msgstr "Parametervärde"
94
95
 
95
96
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:75
96
97
  msgid "Type of value"
@@ -116,51 +117,51 @@ msgstr ""
116
117
  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)"
117
118
  msgstr ""
118
119
 
119
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:129
120
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:130
120
121
  msgid "Execute rules against a discovered host"
121
122
  msgstr ""
122
123
 
123
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:135 ../app/controllers/discovered_hosts_controller.rb:160
124
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:136 ../app/controllers/discovered_hosts_controller.rb:157
124
125
  msgid "Host %{host} was provisioned with rule %{rule}"
125
126
  msgstr ""
126
127
 
127
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:138
128
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:139
128
129
  msgid "Unable to provision %{host}: %{errors}"
129
130
  msgstr ""
130
131
 
131
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:144 ../app/controllers/discovered_hosts_controller.rb:167
132
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:145 ../app/controllers/discovered_hosts_controller.rb:164
132
133
  msgid "No rule found for host %s"
133
134
  msgstr ""
134
135
 
135
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:151
136
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:152
136
137
  msgid "Execute rules against all currently discovered hosts"
137
138
  msgstr ""
138
139
 
139
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:155 ../app/controllers/discovered_hosts_controller.rb:173
140
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:156 ../app/controllers/discovered_hosts_controller.rb:170
140
141
  msgid "Errors during auto provisioning: %s"
141
142
  msgstr ""
142
143
 
143
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:158 ../app/controllers/discovered_hosts_controller.rb:176
144
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:159 ../app/controllers/discovered_hosts_controller.rb:173
144
145
  msgid "No discovered hosts to provision"
145
146
  msgstr ""
146
147
 
147
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:180
148
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:181
148
149
  msgid "%s discovered hosts were provisioned"
149
150
  msgstr ""
150
151
 
151
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:191
152
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:192
152
153
  msgid "Refreshing the facts of a discovered host"
153
154
  msgstr ""
154
155
 
155
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:200
156
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:201
156
157
  msgid "Rebooting a discovered host"
157
158
  msgstr ""
158
159
 
159
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:209
160
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:210
160
161
  msgid "Rebooting all discovered hosts"
161
162
  msgstr ""
162
163
 
163
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:220 ../app/controllers/discovered_hosts_controller.rb:129
164
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:221 ../app/controllers/discovered_hosts_controller.rb:126
164
165
  msgid "Discovered hosts are rebooting now"
165
166
  msgstr ""
166
167
 
@@ -240,119 +241,95 @@ msgstr ""
240
241
  msgid "No discovered hosts to reboot"
241
242
  msgstr ""
242
243
 
243
- #: ../app/controllers/discovered_hosts_controller.rb:63
244
+ #: ../app/controllers/discovered_hosts_controller.rb:60
244
245
  msgid "Successfully provisioned %s"
245
246
  msgstr ""
246
247
 
247
- #: ../app/controllers/discovered_hosts_controller.rb:97
248
+ #: ../app/controllers/discovered_hosts_controller.rb:94
248
249
  msgid "Facts refreshed for %s"
249
250
  msgstr "Fakta uppdaterade för %s"
250
251
 
251
- #: ../app/controllers/discovered_hosts_controller.rb:99
252
+ #: ../app/controllers/discovered_hosts_controller.rb:96
252
253
  msgid "Failed to refresh facts for %s"
253
254
  msgstr "Misslyckades med att uppdatera fakta för %s"
254
255
 
255
- #: ../app/controllers/discovered_hosts_controller.rb:102
256
+ #: ../app/controllers/discovered_hosts_controller.rb:99
256
257
  msgid "Failed to refresh facts for %{hostname} with error %{error_message}"
257
258
  msgstr ""
258
259
 
259
- #: ../app/controllers/discovered_hosts_controller.rb:109
260
+ #: ../app/controllers/discovered_hosts_controller.rb:106
260
261
  msgid "Host of type %s can not be rebooted"
261
262
  msgstr ""
262
263
 
263
- #: ../app/controllers/discovered_hosts_controller.rb:113
264
+ #: ../app/controllers/discovered_hosts_controller.rb:110
264
265
  msgid "Rebooting host %s"
265
266
  msgstr ""
266
267
 
267
- #: ../app/controllers/discovered_hosts_controller.rb:115
268
+ #: ../app/controllers/discovered_hosts_controller.rb:112
268
269
  msgid "Failed to reboot host %s"
269
270
  msgstr ""
270
271
 
271
- #: ../app/controllers/discovered_hosts_controller.rb:118
272
+ #: ../app/controllers/discovered_hosts_controller.rb:115
272
273
  msgid "Failed to reboot host %{hostname} with error %{error_message}"
273
274
  msgstr ""
274
275
 
275
- #: ../app/controllers/discovered_hosts_controller.rb:132
276
+ #: ../app/controllers/discovered_hosts_controller.rb:129
276
277
  msgid "Failed to reboot hosts with error %s"
277
278
  msgstr ""
278
279
 
279
- #: ../app/controllers/discovered_hosts_controller.rb:150
280
+ #: ../app/controllers/discovered_hosts_controller.rb:147
280
281
  msgid "Destroyed selected hosts"
281
282
  msgstr "Förstör markerade värdar"
282
283
 
283
- #: ../app/controllers/discovered_hosts_controller.rb:152
284
+ #: ../app/controllers/discovered_hosts_controller.rb:149
284
285
  msgid "The following hosts were not deleted: %s"
285
286
  msgstr "Följande värdar raderades inte: %s"
286
287
 
287
- #: ../app/controllers/discovered_hosts_controller.rb:164
288
+ #: ../app/controllers/discovered_hosts_controller.rb:161
288
289
  msgid "Failed to auto provision host %s: %s"
289
290
  msgstr ""
290
291
 
291
- #: ../app/controllers/discovered_hosts_controller.rb:192
292
+ #: ../app/controllers/discovered_hosts_controller.rb:189
292
293
  msgid "Discovered hosts are provisioning now"
293
294
  msgstr ""
294
295
 
295
- #: ../app/controllers/discovered_hosts_controller.rb:226
296
- msgid "Highlights"
296
+ #: ../app/controllers/discovered_hosts_controller.rb:270
297
+ msgid "Discovered host reported from unknown subnet, communication will not be proxied."
297
298
  msgstr ""
298
299
 
299
- #: ../app/controllers/discovered_hosts_controller.rb:226
300
- msgid "Storage"
300
+ #: ../app/controllers/discovered_hosts_controller.rb:275
301
+ msgid "Discovered hosts reported from unknown subnet are %s, communication will not be proxied."
301
302
  msgstr ""
302
303
 
303
- #: ../app/controllers/discovered_hosts_controller.rb:226
304
- msgid "Hardware"
305
- msgstr ""
306
-
307
- #: ../app/controllers/discovered_hosts_controller.rb:226
308
- msgid "Network"
309
- msgstr ""
310
-
311
- #: ../app/controllers/discovered_hosts_controller.rb:226
312
- msgid "Software"
313
- msgstr ""
314
-
315
- #: ../app/controllers/discovered_hosts_controller.rb:226
316
- msgid "IPMI"
317
- msgstr ""
318
-
319
- #: ../app/controllers/discovered_hosts_controller.rb:226
320
- msgid "Miscellaneous"
321
- msgstr ""
322
-
323
- #: ../app/controllers/discovered_hosts_controller.rb:304
304
+ #: ../app/controllers/discovered_hosts_controller.rb:289
324
305
  msgid "No hosts were found with that id or name"
325
306
  msgstr "Inga värdar med det idt eller namnet hittades"
326
307
 
327
- #: ../app/controllers/discovered_hosts_controller.rb:308
308
+ #: ../app/controllers/discovered_hosts_controller.rb:293
328
309
  msgid "No hosts selected"
329
310
  msgstr "Inga värdar markerade"
330
311
 
331
- #: ../app/controllers/discovered_hosts_controller.rb:314
312
+ #: ../app/controllers/discovered_hosts_controller.rb:299
332
313
  msgid "Something went wrong while selecting hosts - %s"
333
314
  msgstr "Något blev fel vid markering av värdar - %s"
334
315
 
335
- #: ../app/controllers/discovery_rules_controller.rb:68
316
+ #: ../app/controllers/discovery_rules_controller.rb:79
336
317
  msgid "Rule enabled"
337
318
  msgstr ""
338
319
 
339
- #: ../app/controllers/discovery_rules_controller.rb:68
320
+ #: ../app/controllers/discovery_rules_controller.rb:79
340
321
  msgid "Rule disabled"
341
322
  msgstr ""
342
323
 
343
- #: ../app/helpers/discovered_hosts_helper.rb:10
344
- msgid "%s ago"
345
- msgstr "%s sedan"
346
-
347
- #: ../app/helpers/discovered_hosts_helper.rb:14 ../app/helpers/discovered_hosts_helper.rb:29 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:37
324
+ #: ../app/helpers/discovered_hosts_helper.rb:14 ../app/helpers/discovered_hosts_helper.rb:29 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:40
348
325
  msgid "Auto Provision"
349
326
  msgstr ""
350
327
 
351
- #: ../app/helpers/discovered_hosts_helper.rb:15 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:38
328
+ #: ../app/helpers/discovered_hosts_helper.rb:15 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:41
352
329
  msgid "Refresh facts"
353
330
  msgstr "Uppdatera fakta"
354
331
 
355
- #: ../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
332
+ #: ../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
356
333
  msgid "Reboot"
357
334
  msgstr ""
358
335
 
@@ -364,7 +341,7 @@ msgstr ""
364
341
  msgid "Select Action"
365
342
  msgstr "Välj Åtgärd"
366
343
 
367
- #: ../app/helpers/discovered_hosts_helper.rb:23 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:40
344
+ #: ../app/helpers/discovered_hosts_helper.rb:23 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:43
368
345
  msgid "Delete %s?"
369
346
  msgstr "Radera %s?"
370
347
 
@@ -429,6 +406,10 @@ msgid "Enable rule '%s'?"
429
406
  msgstr ""
430
407
 
431
408
  #: ../app/helpers/discovery_rules_helper.rb:33
409
+ msgid "Clone"
410
+ msgstr ""
411
+
412
+ #: ../app/helpers/discovery_rules_helper.rb:34
432
413
  msgid "Delete rule '%s'?"
433
414
  msgstr ""
434
415
 
@@ -452,13 +433,13 @@ msgstr ""
452
433
  msgid "must be present."
453
434
  msgstr ""
454
435
 
455
- #: ../app/models/discovery_rule.rb:52
436
+ #: ../app/models/discovery_rule.rb:57
456
437
  msgid "Host group organization %s must also be associated to the discovery rule"
457
438
  msgid_plural "Host group organizations %s must also be associated to the discovery rule"
458
439
  msgstr[0] ""
459
440
  msgstr[1] ""
460
441
 
461
- #: ../app/models/discovery_rule.rb:56
442
+ #: ../app/models/discovery_rule.rb:61
462
443
  msgid "Host group location %s must also be associated to the discovery rule"
463
444
  msgid_plural "Host group locations %s must also be associated to the discovery rule"
464
445
  msgstr[0] ""
@@ -728,6 +709,34 @@ msgstr ""
728
709
  msgid "Unable to find primary NIC with %{mac} specified via '%{fact}', NIC filter: %{filter}"
729
710
  msgstr ""
730
711
 
712
+ #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:7
713
+ msgid "Highlights"
714
+ msgstr ""
715
+
716
+ #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:8
717
+ msgid "Storage"
718
+ msgstr ""
719
+
720
+ #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:9
721
+ msgid "Hardware"
722
+ msgstr ""
723
+
724
+ #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:10
725
+ msgid "Network"
726
+ msgstr ""
727
+
728
+ #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:11
729
+ msgid "Software"
730
+ msgstr ""
731
+
732
+ #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:12
733
+ msgid "IPMI"
734
+ msgstr ""
735
+
736
+ #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:13
737
+ msgid "Miscellaneous"
738
+ msgstr ""
739
+
731
740
  #: ../app/services/foreman_discovery/host_converter.rb:47
732
741
  msgid "IPAM must be configured for subnet '%s'"
733
742
  msgstr ""
@@ -740,6 +749,10 @@ msgstr ""
740
749
  msgid "Image API processing error: %{msg} (HTTP/%{code}, body: %{body})"
741
750
  msgstr ""
742
751
 
752
+ #: ../app/services/foreman_discovery/ui_notifications/new_host.rb:22
753
+ msgid "Host %s has been dicovered"
754
+ msgstr ""
755
+
743
756
  #: ../app/views/dashboard/_discovery_widget.html.erb:5
744
757
  msgid "Discovered Host"
745
758
  msgid_plural "Discovered Hosts"
@@ -754,15 +767,15 @@ msgstr ""
754
767
  msgid "Host"
755
768
  msgstr "Värd"
756
769
 
757
- #: ../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
770
+ #: ../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
758
771
  msgid "Model"
759
772
  msgstr "Modell"
760
773
 
761
- #: ../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
774
+ #: ../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
762
775
  msgid "CPUs"
763
776
  msgstr "CPUer"
764
777
 
765
- #: ../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
778
+ #: ../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
766
779
  msgid "Memory"
767
780
  msgstr "Minne"
768
781
 
@@ -774,59 +787,59 @@ msgstr ""
774
787
  msgid "Create Host"
775
788
  msgstr ""
776
789
 
777
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:4
790
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:5
778
791
  msgid "Select all items in this page"
779
792
  msgstr "Markera alla valbara på denna sida"
780
793
 
781
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:4
794
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:5
782
795
  msgid "items selected. Uncheck to Clear"
783
796
  msgstr "poster markerade. Avmarkera för att rensa"
784
797
 
785
- #: ../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
798
+ #: ../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
786
799
  msgid "Name"
787
800
  msgstr "Namn"
788
801
 
789
- #: ../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
802
+ #: ../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
790
803
  msgid "IP Address"
791
804
  msgstr "IPadress"
792
805
 
793
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:10
806
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:11
794
807
  msgid "Disk Count"
795
808
  msgstr ""
796
809
 
797
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:11
810
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:12
798
811
  msgid "Disks Size"
799
812
  msgstr ""
800
813
 
801
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:15 ../app/views/discovered_hosts/_selected_hosts.html.erb:9
814
+ #: ../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
802
815
  msgid "Location"
803
816
  msgstr "Lokation"
804
817
 
805
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:16 ../app/views/discovered_hosts/_selected_hosts.html.erb:10
818
+ #: ../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
806
819
  msgid "Organization"
807
820
  msgstr "Organisation"
808
821
 
809
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:17
822
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:18
810
823
  msgid "Subnet"
811
824
  msgstr "Subnät"
812
825
 
813
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:18
826
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:19
814
827
  msgid "Last Facts Upload"
815
828
  msgstr ""
816
829
 
817
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:19 ../app/views/discovery_rules/index.html.erb:12
830
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:20 ../app/views/discovery_rules/index.html.erb:14
818
831
  msgid "Actions"
819
832
  msgstr "Åtgärder"
820
833
 
821
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:51
834
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:55
822
835
  msgid "Please Confirm"
823
836
  msgstr "Var god, bekräfta"
824
837
 
825
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:57
838
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:61
826
839
  msgid "Cancel"
827
840
  msgstr "Avbryt"
828
841
 
829
- #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:58
842
+ #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:62
830
843
  msgid "Submit"
831
844
  msgstr "Sänd"
832
845
 
@@ -962,6 +975,10 @@ msgstr ""
962
975
  msgid "Hostnames must not start with numbers. A good approach is to use unique information provided by facter (MAC address, BIOS or serial ID)."
963
976
  msgstr ""
964
977
 
978
+ #: ../app/views/discovery_rules/clone.erb:1
979
+ msgid "Clone %s"
980
+ msgstr ""
981
+
965
982
  #: ../app/views/discovery_rules/edit.html.erb:1
966
983
  msgid "Edit %s"
967
984
  msgstr "Redigera %s"
@@ -970,7 +987,7 @@ msgstr "Redigera %s"
970
987
  msgid "Discovery Rules"
971
988
  msgstr ""
972
989
 
973
- #: ../app/views/discovery_rules/index.html.erb:2
990
+ #: ../app/views/discovery_rules/index.html.erb:2 ../webpack/src/ForemanDiscovery/DiscoveryRules/Components/EmptyState/EmptyState.js:9
974
991
  msgid "Create Rule"
975
992
  msgstr ""
976
993
 
@@ -994,7 +1011,7 @@ msgstr ""
994
1011
  msgid "Hosts/Limit"
995
1012
  msgstr ""
996
1013
 
997
- #: ../app/views/discovery_rules/index.html.erb:11
1014
+ #: ../app/views/discovery_rules/index.html.erb:13
998
1015
  msgid "DiscoveryRule|Enabled"
999
1016
  msgstr ""
1000
1017
 
@@ -1002,6 +1019,10 @@ msgstr ""
1002
1019
  msgid "New Discovery Rule"
1003
1020
  msgstr ""
1004
1021
 
1022
+ #: ../app/views/discovery_rules/welcome.html.erb:8
1023
+ msgid "Discovered Rules"
1024
+ msgstr ""
1025
+
1005
1026
  #: ../db/seeds.d/50_discovery_templates.rb:5
1006
1027
  msgid "Command line options for kexec during PXE-less provisioning."
1007
1028
  msgstr ""
@@ -1011,7 +1032,7 @@ msgid "A summary of discovered hosts"
1011
1032
  msgstr ""
1012
1033
 
1013
1034
  #: ../db/seeds.d/80_discovery_ui_notification.rb:4
1014
- msgid "Hosts"
1035
+ msgid "New hosts"
1015
1036
  msgstr ""
1016
1037
 
1017
1038
  #: ../db/seeds.d/80_discovery_ui_notification.rb:6
@@ -1022,22 +1043,38 @@ msgstr ""
1022
1043
  msgid "Details"
1023
1044
  msgstr ""
1024
1045
 
1025
- #: ../lib/foreman_discovery/engine.rb:180
1046
+ #: ../db/seeds.d/80_discovery_ui_notification.rb:18
1047
+ msgid "Hosts"
1048
+ msgstr ""
1049
+
1050
+ #: ../db/seeds.d/80_discovery_ui_notification.rb:20
1051
+ msgid "Error message goes here"
1052
+ msgstr ""
1053
+
1054
+ #: ../lib/foreman_discovery/engine.rb:176
1026
1055
  msgid "Discovery Kexec template"
1027
1056
  msgstr ""
1028
1057
 
1029
- #: ../lib/foreman_discovery/engine.rb:189
1058
+ #: ../lib/foreman_discovery/engine.rb:185
1030
1059
  msgid "Discovery Proxy"
1031
1060
  msgstr ""
1032
1061
 
1033
- #: ../lib/foreman_discovery/engine.rb:190
1062
+ #: ../lib/foreman_discovery/engine.rb:186
1034
1063
  msgid "Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1035
1064
  msgstr ""
1036
1065
 
1037
- #: ../lib/foreman_discovery/engine.rb:191
1066
+ #: ../lib/foreman_discovery/engine.rb:187
1038
1067
  msgid "ID of Discovery Proxy to use within this subnet for managing connection to discovered hosts"
1039
1068
  msgstr ""
1040
1069
 
1070
+ #: ../webpack/__mocks__/foremanReact/components/common/EmptyState/EmptyStatePattern.js:33
1071
+ msgid "For more information please see "
1072
+ msgstr ""
1073
+
1074
+ #: ../webpack/__mocks__/foremanReact/components/common/EmptyState/EmptyStatePattern.js:34
1075
+ msgid "documentation"
1076
+ msgstr ""
1077
+
1041
1078
  #: action_names.rb:2
1042
1079
  msgid "Remote action:"
1043
1080
  msgstr ""
@@ -1047,9 +1084,13 @@ msgid "Import Puppet classes"
1047
1084
  msgstr ""
1048
1085
 
1049
1086
  #: action_names.rb:4
1050
- msgid "Action with sub plans"
1087
+ msgid "Import facts"
1051
1088
  msgstr ""
1052
1089
 
1053
1090
  #: action_names.rb:5
1054
- msgid "Import facts"
1091
+ msgid "Action with sub plans"
1055
1092
  msgstr ""
1093
+
1094
+ #: ../app/helpers/discovered_hosts_helper.rb:10
1095
+ #~ msgid "%s ago"
1096
+ #~ msgstr "%s sedan"