foreman_discovery 16.3.6 → 17.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (94) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/api/v2/discovered_hosts_controller.rb +1 -0
  3. data/app/controllers/discovered_hosts_controller.rb +24 -35
  4. data/app/controllers/discovery_rules_controller.rb +12 -1
  5. data/app/helpers/discovered_hosts_helper.rb +3 -4
  6. data/app/helpers/discovery_rules_helper.rb +1 -0
  7. data/app/models/discovery_rule.rb +10 -5
  8. data/app/services/foreman_discovery/fact_to_category_resolver.rb +106 -0
  9. data/app/services/foreman_discovery/ui_notifications/failed_discovery.rb +34 -0
  10. data/app/services/foreman_discovery/ui_notifications/new_host.rb +2 -1
  11. data/app/views/discovered_hosts/_discovered_hosts_list.html.erb +44 -40
  12. data/app/views/discovered_hosts/welcome.html.erb +1 -1
  13. data/app/views/discovery_rules/clone.erb +3 -0
  14. data/app/views/discovery_rules/index.html.erb +4 -0
  15. data/app/views/discovery_rules/welcome.html.erb +15 -0
  16. data/config/routes.rb +2 -0
  17. data/db/seeds.d/80_discovery_ui_notification.rb +11 -5
  18. data/lib/foreman_discovery/engine.rb +3 -7
  19. data/lib/foreman_discovery/version.rb +1 -1
  20. data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
  21. data/locale/ca/foreman_discovery.edit.po +44 -40
  22. data/locale/ca/foreman_discovery.po +36 -9
  23. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  24. data/locale/de/foreman_discovery.edit.po +42 -38
  25. data/locale/de/foreman_discovery.po +45 -18
  26. data/locale/en/LC_MESSAGES/foreman_discovery.mo +0 -0
  27. data/locale/en/foreman_discovery.edit.po +37 -29
  28. data/locale/en/foreman_discovery.po +31 -4
  29. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  30. data/locale/en_GB/foreman_discovery.edit.po +39 -35
  31. data/locale/en_GB/foreman_discovery.po +36 -9
  32. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  33. data/locale/es/foreman_discovery.edit.po +42 -38
  34. data/locale/es/foreman_discovery.po +70 -41
  35. data/locale/foreman_discovery.pot +142 -97
  36. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  37. data/locale/fr/foreman_discovery.edit.po +88 -84
  38. data/locale/fr/foreman_discovery.po +76 -49
  39. data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
  40. data/locale/gl/foreman_discovery.edit.po +42 -38
  41. data/locale/gl/foreman_discovery.po +32 -5
  42. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  43. data/locale/it/foreman_discovery.edit.po +42 -38
  44. data/locale/it/foreman_discovery.po +44 -17
  45. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  46. data/locale/ja/foreman_discovery.edit.po +74 -70
  47. data/locale/ja/foreman_discovery.po +79 -54
  48. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  49. data/locale/ko/foreman_discovery.edit.po +42 -38
  50. data/locale/ko/foreman_discovery.po +43 -16
  51. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  52. data/locale/pt_BR/foreman_discovery.edit.po +42 -38
  53. data/locale/pt_BR/foreman_discovery.po +69 -39
  54. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  55. data/locale/ru/foreman_discovery.edit.po +46 -42
  56. data/locale/ru/foreman_discovery.po +43 -16
  57. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  58. data/locale/sv_SE/foreman_discovery.edit.po +42 -38
  59. data/locale/sv_SE/foreman_discovery.po +34 -7
  60. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  61. data/locale/zh_CN/foreman_discovery.edit.po +90 -86
  62. data/locale/zh_CN/foreman_discovery.po +114 -90
  63. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  64. data/locale/zh_TW/foreman_discovery.edit.po +42 -38
  65. data/locale/zh_TW/foreman_discovery.po +43 -16
  66. data/package.json +6 -6
  67. data/test/functional/api/v2/discovered_hosts_controller_test.rb +9 -0
  68. data/test/functional/discovery_rules_controller_test.rb +6 -1
  69. data/test/integration/discovered_hosts_test.rb +53 -5
  70. data/test/test_helper_discovery.rb +5 -0
  71. data/test/unit/discovery_rule_test.rb +24 -2
  72. data/test/unit/fact_to_category_resolver_test.rb +41 -0
  73. data/test/unit/ui_notifications/destroy_host_test.rb +2 -9
  74. data/test/unit/ui_notifications/new_host_test.rb +3 -3
  75. data/webpack/__mocks__/foremanReact/common/I18n.js +3 -0
  76. data/webpack/__mocks__/foremanReact/common/helpers.js +1 -0
  77. data/webpack/__mocks__/foremanReact/common/index.js +5 -0
  78. data/webpack/__mocks__/foremanReact/components/common/EmptyState/DefaultEmptyState.js +69 -0
  79. data/webpack/__mocks__/foremanReact/components/common/EmptyState/EmptyStatePattern.js +77 -0
  80. data/webpack/__mocks__/foremanReact/components/common/EmptyState/EmptyStatePropTypes.js +29 -0
  81. data/webpack/__mocks__/foremanReact/components/common/EmptyState/index.js +5 -0
  82. data/webpack/index.js +9 -8
  83. data/webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/EmptyState.js +7 -7
  84. data/webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/__test__/EmptyState.test.js +12 -0
  85. data/webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/__test__/__snapshots__/EmptyState.test.js.snap +16 -0
  86. data/webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/index.js +1 -1
  87. data/webpack/src/ForemanDiscovery/DiscoveredHosts/index.js +3 -3
  88. data/webpack/src/ForemanDiscovery/DiscoveryRules/Components/EmptyState/EmptyState.js +34 -0
  89. data/webpack/src/ForemanDiscovery/DiscoveryRules/Components/EmptyState/index.js +1 -0
  90. data/webpack/src/ForemanDiscovery/DiscoveryRules/Components/__test__/EmptyState.test.js +19 -0
  91. data/webpack/src/ForemanDiscovery/DiscoveryRules/Components/__test__/__snapshots__/EmptyState.test.js.snap +22 -0
  92. data/webpack/src/ForemanDiscovery/DiscoveryRules/index.js +6 -0
  93. data/webpack/src/reducers.js +0 -2
  94. metadata +31 -9
@@ -4,16 +4,19 @@
4
4
  #
5
5
  # Translators:
6
6
  # 0868a4d1af5275b3f70b0a6dac4c99a4, 2014
7
+ # 0868a4d1af5275b3f70b0a6dac4c99a4, 2014
8
+ # Junior Alvim <alvin@intechne.com.br>, 2014
7
9
  # Junior Alvim <alvin@intechne.com.br>, 2014
8
10
  # Luiz Henrique Vasconcelos <luizvasconceloss@yahoo.com.br>, 2014
11
+ # Luiz Henrique Vasconcelos <luizvasconceloss@yahoo.com.br>, 2014
9
12
  # Luiz Henrique Vasconcelos <luizvasconceloss@yahoo.com.br>, 2014-2015
10
13
  # Valeria S Silva <valeriassilva@live.com>, 2015
11
14
  msgid ""
12
15
  msgstr ""
13
- "Project-Id-Version: foreman_discovery 16.2.0\n"
16
+ "Project-Id-Version: foreman_discovery 16.3.4\n"
14
17
  "Report-Msgid-Bugs-To: \n"
15
- "PO-Revision-Date: 2020-05-26 17:21+0000\n"
16
- "Last-Translator: Transifex Bot <>\n"
18
+ "PO-Revision-Date: 2021-01-25 08:35+0000\n"
19
+ "Last-Translator: Amit Upadhye <aupadhye@redhat.com>\n"
17
20
  "Language-Team: Portuguese (Brazil) (http://www.transifex.com/foreman/foreman/l"
18
21
  "anguage/pt_BR/)\n"
19
22
  "MIME-Version: 1.0\n"
@@ -25,9 +28,6 @@ msgstr ""
25
28
  msgid "%s - The following hosts are about to be changed"
26
29
  msgstr "%s - Os hosts a seguir devem ser modificados em breve"
27
30
 
28
- msgid "%s ago"
29
- msgstr "%s atrás"
30
-
31
31
  msgid "%s discovered hosts were provisioned"
32
32
  msgstr "%s hosts descobertos foram provisionados"
33
33
 
@@ -38,7 +38,7 @@ msgid "A summary of discovered hosts"
38
38
  msgstr "Um resumo de hosts descobertos"
39
39
 
40
40
  msgid "Action with sub plans"
41
- msgstr ""
41
+ msgstr "Ação com subplanos "
42
42
 
43
43
  msgid "Actions"
44
44
  msgstr "Ações"
@@ -71,7 +71,7 @@ msgid "Automatically reboot or kexec discovered host during provisioning"
71
71
  msgstr "Automaticamente reinicializar o host descoberto durante o provisioamento ou executar kexec nele"
72
72
 
73
73
  msgid "Back"
74
- msgstr "Voltar"
74
+ msgstr "Retornar"
75
75
 
76
76
  msgid "CPUs"
77
77
  msgstr "CPUs"
@@ -85,6 +85,12 @@ msgstr "Limpar todos fatos"
85
85
  msgid "Clean all reported facts during provisioning (except discovery facts)"
86
86
  msgstr "Limpar todos os fatos relatados durante o provisionamento (exceto fatos do Discovery)"
87
87
 
88
+ msgid "Clone"
89
+ msgstr ""
90
+
91
+ msgid "Clone %s"
92
+ msgstr ""
93
+
88
94
  msgid "Collapse All"
89
95
  msgstr "Recolher todos"
90
96
 
@@ -116,10 +122,10 @@ msgid "DHCP filename option (Grub2 or PXELinux by default)"
116
122
  msgstr "Opção do nome de arquivo DHCP (Grub2 ou PXELinux por padrão)"
117
123
 
118
124
  msgid "Delete"
119
- msgstr "Remover"
125
+ msgstr "Excluir"
120
126
 
121
127
  msgid "Delete %s?"
122
- msgstr "Remover %s?"
128
+ msgstr "Remover %s"
123
129
 
124
130
  msgid "Delete a discovered host"
125
131
  msgstr "Excluir um host descoberto"
@@ -144,15 +150,21 @@ msgstr "Desabilitar regra '%s'?"
144
150
 
145
151
  msgid "Discovered Host"
146
152
  msgid_plural "Discovered Hosts"
147
- msgstr[0] ""
148
- msgstr[1] ""
153
+ msgstr[0] "Host descoberto"
154
+ msgstr[1] "Hosts descobertos"
149
155
 
150
156
  msgid "Discovered Hosts"
151
157
  msgstr "Hosts descobertos"
152
158
 
159
+ msgid "Discovered Rules"
160
+ msgstr ""
161
+
153
162
  msgid "Discovered host '%{host}' has all NICs filtered out, filter: %{filter}"
154
163
  msgstr "O host '%{host}' descoberto tem todas as NICs filtradas. Filtro: %{filter}"
155
164
 
165
+ msgid "Discovered host reported from unknown subnet, communication will not be proxied."
166
+ msgstr ""
167
+
156
168
  msgid "Discovered host: %s"
157
169
  msgstr "Host descoberto: %s"
158
170
 
@@ -165,6 +177,9 @@ msgstr "Hosts descobertos estão reinicializando agora"
165
177
  msgid "Discovered hosts from Foreman server at %{foreman_url}"
166
178
  msgstr "Hosts descobertos pelo servidor do Foreman em %{foreman_url}"
167
179
 
180
+ msgid "Discovered hosts reported from unknown subnet are %s, communication will not be proxied."
181
+ msgstr ""
182
+
168
183
  msgid "Discovered hosts summary"
169
184
  msgstr "Resumo de hosts descobertos"
170
185
 
@@ -231,6 +246,9 @@ msgstr "Habilitar"
231
246
  msgid "Enable rule '%s'?"
232
247
  msgstr "Habilitar regra '%s'?"
233
248
 
249
+ msgid "Error message goes here"
250
+ msgstr ""
251
+
234
252
  msgid "Error on existing NIC"
235
253
  msgstr "Erro na NIC existente"
236
254
 
@@ -285,6 +303,9 @@ msgstr "Falha ao atualizar fatos para %s"
285
303
  msgid "Failed to refresh facts for %{hostname} with error %{error_message}"
286
304
  msgstr "Falha ao atualizar fatos para %{hostname} com erro %{error_message}"
287
305
 
306
+ msgid "For more information please see "
307
+ msgstr ""
308
+
288
309
  msgid "Force DNS"
289
310
  msgstr "Forçar DNS"
290
311
 
@@ -307,7 +328,10 @@ msgid "Highlights"
307
328
  msgstr "Destaques"
308
329
 
309
330
  msgid "Host"
310
- msgstr "Host"
331
+ msgstr "Máquina"
332
+
333
+ msgid "Host %s has been dicovered"
334
+ msgstr ""
311
335
 
312
336
  msgid "Host %{host} was provisioned with rule %{rule}"
313
337
  msgstr "Host %{host} foi provisionado com a regra %{rule}"
@@ -317,22 +341,22 @@ msgstr "Grupo de Host"
317
341
 
318
342
  msgid "Host group location %s must also be associated to the discovery rule"
319
343
  msgid_plural "Host group locations %s must also be associated to the discovery rule"
320
- msgstr[0] ""
321
- msgstr[1] ""
344
+ msgstr[0] "O local do grupo de hosts %s deve também estar associado à regra do Discovery"
345
+ msgstr[1] "Os locais do grupo de hosts %s também devem estar associados à regra do Discovery"
322
346
 
323
347
  msgid "Host group organization %s must also be associated to the discovery rule"
324
348
  msgid_plural "Host group organizations %s must also be associated to the discovery rule"
325
- msgstr[0] ""
326
- msgstr[1] ""
349
+ msgstr[0] "A organização do grupo de hosts %s deve também estar associada à regra do Discovery"
350
+ msgstr[1] "As organizações do grupo de hosts %s também devem estar associadas à regra do Discovery"
327
351
 
328
352
  msgid "Host of type %s can not be rebooted"
329
353
  msgstr "Tipo de host %s não pode ser reinicializado"
330
354
 
331
355
  msgid "Host's owner type"
332
- msgstr ""
356
+ msgstr "Tipo de proprietário do host"
333
357
 
334
358
  msgid "Host's parameters (array or indexed hash)"
335
- msgstr ""
359
+ msgstr "Parâmetros do host (matriz ou hash indexado)"
336
360
 
337
361
  msgid "Hostname facts"
338
362
  msgstr "Fatos do nome do host"
@@ -365,7 +389,7 @@ msgid "IP address"
365
389
  msgstr "Endereco de IP"
366
390
 
367
391
  msgid "IPAM must be configured for subnet '%s'"
368
- msgstr ""
392
+ msgstr "O IPAM deve ser configurado para a sub-rede '%s'"
369
393
 
370
394
  msgid "IPMI"
371
395
  msgstr "IPMI"
@@ -383,10 +407,10 @@ msgid "Image API returned HTTP/%{code} with '%{body}"
383
407
  msgstr "API da imagem retornou HTTP/%{code} com '%{body}"
384
408
 
385
409
  msgid "Import Puppet classes"
386
- msgstr ""
410
+ msgstr "Importar classes de Puppet"
387
411
 
388
412
  msgid "Import facts"
389
- msgstr ""
413
+ msgstr "Importar fatos"
390
414
 
391
415
  msgid "In addition to @host attribute function rand for random integers is available. Examples:"
392
416
  msgstr "Além do atributo @host, a função rand para inteiros aleatórios está disponível. Exemplos:"
@@ -422,7 +446,7 @@ msgid "Last Facts Upload"
422
446
  msgstr "Carregamento dos últimos fatos"
423
447
 
424
448
  msgid "List all discovered hosts"
425
- msgstr "Listar todos os hosts descobertos"
449
+ msgstr "Listar todos os hosts decobertos"
426
450
 
427
451
  msgid "List all discovery rules"
428
452
  msgstr "Listar todas as regras do Discovery"
@@ -437,7 +461,7 @@ msgid "Location"
437
461
  msgstr "Local"
438
462
 
439
463
  msgid "Locations"
440
- msgstr "Localizações"
464
+ msgstr "Locais"
441
465
 
442
466
  msgid "Lock PXE"
443
467
  msgstr "Bloquear PXE"
@@ -464,19 +488,19 @@ msgid "Memory"
464
488
  msgstr "Memória"
465
489
 
466
490
  msgid "Miscellaneous"
467
- msgstr "Geral"
491
+ msgstr "Diversos"
468
492
 
469
493
  msgid "Model"
470
- msgstr "Modelo"
494
+ msgstr "Modelar"
471
495
 
472
496
  msgid "N/A"
473
- msgstr "N/A"
497
+ msgstr "N/D"
474
498
 
475
499
  msgid "Name"
476
500
  msgstr "Nome"
477
501
 
478
502
  msgid "Name of the parameter"
479
- msgstr ""
503
+ msgstr "Nome do parâmetro"
480
504
 
481
505
  msgid "Network"
482
506
  msgstr "Rede"
@@ -487,6 +511,9 @@ msgstr "Fatos de rede"
487
511
  msgid "New Discovery Rule"
488
512
  msgstr "Nova regra do Discovery"
489
513
 
514
+ msgid "New hosts"
515
+ msgstr ""
516
+
490
517
  msgid "New in the last 24 hours"
491
518
  msgstr "Novo nas últimas 24 horas"
492
519
 
@@ -539,7 +566,7 @@ msgid "PXELinux template to be used when pinning a host to discovery"
539
566
  msgstr "Modelo PXELinux a ser usado para fixar um host no Discovery"
540
567
 
541
568
  msgid "Parameter value"
542
- msgstr ""
569
+ msgstr "Valor do parâmetro"
543
570
 
544
571
  msgid "Please Confirm"
545
572
  msgstr "Por favor confirme"
@@ -548,7 +575,7 @@ msgid "Primary"
548
575
  msgstr "Primário"
549
576
 
550
577
  msgid "Provision"
551
- msgstr "Configuração"
578
+ msgstr "Provisão"
552
579
 
553
580
  msgid "Provision %s"
554
581
  msgstr "Provisionar %s"
@@ -605,7 +632,7 @@ msgid "Reloading kernel on %s"
605
632
  msgstr "Recarregando kernel no %s"
606
633
 
607
634
  msgid "Remote action:"
608
- msgstr ""
635
+ msgstr "Ação remota:"
609
636
 
610
637
  msgid "Reported in the last 7 days"
611
638
  msgstr "Relatado nos últimos sete dias"
@@ -656,10 +683,10 @@ msgid "Storage facts"
656
683
  msgstr "Fatos de armazenamento"
657
684
 
658
685
  msgid "Submit"
659
- msgstr "Submeter"
686
+ msgstr "Enviar"
660
687
 
661
688
  msgid "Subnet"
662
- msgstr "Subrede"
689
+ msgstr "Suberede"
663
690
 
664
691
  msgid "Successfully provisioned %s"
665
692
  msgstr "%s provisionado com êxito"
@@ -695,7 +722,7 @@ msgid "Type of name generator"
695
722
  msgstr "Tipo de gerador de nomes"
696
723
 
697
724
  msgid "Type of value"
698
- msgstr ""
725
+ msgstr "Tipo de valor"
699
726
 
700
727
  msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
701
728
  msgstr "UUID a rastrear o status de tarefas de orquestração, GET /api/orchestration/:UUID/tasks"
@@ -710,10 +737,10 @@ msgid "Unable to perform %{action} on %{ips}"
710
737
  msgstr ""
711
738
 
712
739
  msgid "Unable to perform kexec on %{name} (%{url}): %{msg}"
713
- msgstr ""
740
+ msgstr "Não foi possível executar kexec em %{name} (%{url}): %{msg}"
714
741
 
715
742
  msgid "Unable to perform reboot on %{name} (%{url}): %{msg}"
716
- msgstr ""
743
+ msgstr "Não foi possível realizar a reinicialização em %{name} (%{url}): %{msg}"
717
744
 
718
745
  msgid "Unable to provision %{host}: %{errors}"
719
746
  msgstr "Não foi possível provisionar %{host}: %{errors}"
@@ -733,6 +760,9 @@ msgstr "não pode conter espaços em branco."
733
760
  msgid "defines a pattern to assign human-readable hostnames to the matching hosts"
734
761
  msgstr "define um padrão para atribuir nomes de hosts legíveis aos hosts correspondentes"
735
762
 
763
+ msgid "documentation"
764
+ msgstr "documentação"
765
+
736
766
  msgid "enables to limit maximum amount of provisioned hosts per rule"
737
767
  msgstr "habilita para limitar a quantidade máxima de hosts provisionados por regra"
738
768
 
@@ -782,13 +812,13 @@ msgid "represents rule name shown to the users"
782
812
  msgstr "representa nome da regra exibido para os usuários"
783
813
 
784
814
  msgid "required if host is managed and custom partition has not been defined"
785
- msgstr ""
815
+ msgstr "requerido se o host é gerenciado e uma partição customizada não foi definida"
786
816
 
787
817
  msgid "required if host is managed and value is not inherited from host group"
788
- msgstr ""
818
+ msgstr "necessário se o host é gerenciado e valor não é herdado do grupo de host"
789
819
 
790
820
  msgid "required if not imaged based provisioning and host is managed and value is not inherited from host group"
791
- msgstr ""
821
+ msgstr "solicitado se o provisionamento não for baseado em imagem, o host for gerenciado e o valor não for herdado do grupo de host"
792
822
 
793
823
  msgid "required if value is not inherited from host group or default password in settings"
794
824
  msgstr "obrigatório se o valor não for herdado do grupo de hosts ou da senha padrão nas configurações"
@@ -10,11 +10,11 @@
10
10
  # Yulia <yulia.poyarkova@redhat.com>, 2016
11
11
  msgid ""
12
12
  msgstr ""
13
- "Project-Id-Version: foreman_discovery 16.3.4\n"
13
+ "Project-Id-Version: foreman_discovery 17.1.0\n"
14
14
  "Report-Msgid-Bugs-To: \n"
15
- "POT-Creation-Date: 2021-05-03 08:46+0200\n"
16
- "PO-Revision-Date: 2021-01-25 08:35+0000\n"
17
- "Last-Translator: Transifex Bot <>\n"
15
+ "POT-Creation-Date: 2021-09-20 17:25+0200\n"
16
+ "PO-Revision-Date: 2021-08-13 20:22+0000\n"
17
+ "Last-Translator: Pavel Ershov <yosho1@yandex.ru>\n"
18
18
  "Language-Team: Russian (http://www.transifex.com/foreman/foreman/language/ru/)"
19
19
  "\n"
20
20
  "MIME-Version: 1.0\n"
@@ -99,7 +99,7 @@ msgstr "Значение параметра"
99
99
 
100
100
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:75
101
101
  msgid "Type of value"
102
- msgstr ""
102
+ msgstr "Тип значения"
103
103
 
104
104
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:82
105
105
  msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
@@ -125,7 +125,7 @@ msgstr "хэш с минимальным набором фактов узла: d
125
125
  msgid "Execute rules against a discovered host"
126
126
  msgstr "Применить правила к обнаруженному узлу"
127
127
 
128
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:136 ../app/controllers/discovered_hosts_controller.rb:157
128
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:136 ../app/controllers/discovered_hosts_controller.rb:160
129
129
  msgid "Host %{host} was provisioned with rule %{rule}"
130
130
  msgstr "%{host} был подготовлен в соответствии с правилом %{rule}"
131
131
 
@@ -133,7 +133,7 @@ msgstr "%{host} был подготовлен в соответствии с п
133
133
  msgid "Unable to provision %{host}: %{errors}"
134
134
  msgstr "Не удалось подготовить %{host}: %{errors}"
135
135
 
136
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:145 ../app/controllers/discovered_hosts_controller.rb:164
136
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:145 ../app/controllers/discovered_hosts_controller.rb:167
137
137
  msgid "No rule found for host %s"
138
138
  msgstr "Нет правил для %s"
139
139
 
@@ -141,11 +141,11 @@ msgstr "Нет правил для %s"
141
141
  msgid "Execute rules against all currently discovered hosts"
142
142
  msgstr "Применить правила ко всем обнаруженным узлам"
143
143
 
144
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:156 ../app/controllers/discovered_hosts_controller.rb:170
144
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:156 ../app/controllers/discovered_hosts_controller.rb:173
145
145
  msgid "Errors during auto provisioning: %s"
146
146
  msgstr "Ошибки при автоматической подготовке: %s"
147
147
 
148
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:159 ../app/controllers/discovered_hosts_controller.rb:173
148
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:159 ../app/controllers/discovered_hosts_controller.rb:176
149
149
  msgid "No discovered hosts to provision"
150
150
  msgstr "Нет обнаруженных узлов"
151
151
 
@@ -165,7 +165,7 @@ msgstr "Перезагрузка обнаруженного узла"
165
165
  msgid "Rebooting all discovered hosts"
166
166
  msgstr "Перезагрузка всех обнаруженных узлов"
167
167
 
168
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:221 ../app/controllers/discovered_hosts_controller.rb:126
168
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:221 ../app/controllers/discovered_hosts_controller.rb:129
169
169
  msgid "Discovered hosts are rebooting now"
170
170
  msgstr "Выполняется перезагрузка обнаруженных узлов"
171
171
 
@@ -245,75 +245,75 @@ msgstr "Ошибки при перезагрузке: %s"
245
245
  msgid "No discovered hosts to reboot"
246
246
  msgstr "Нет узлов для перезагрузки"
247
247
 
248
- #: ../app/controllers/discovered_hosts_controller.rb:60
248
+ #: ../app/controllers/discovered_hosts_controller.rb:63
249
249
  msgid "Successfully provisioned %s"
250
250
  msgstr ""
251
251
 
252
- #: ../app/controllers/discovered_hosts_controller.rb:94
252
+ #: ../app/controllers/discovered_hosts_controller.rb:97
253
253
  msgid "Facts refreshed for %s"
254
254
  msgstr "Факты %s были обновлены"
255
255
 
256
- #: ../app/controllers/discovered_hosts_controller.rb:96
256
+ #: ../app/controllers/discovered_hosts_controller.rb:99
257
257
  msgid "Failed to refresh facts for %s"
258
258
  msgstr "Не удалось обновить факты %s"
259
259
 
260
- #: ../app/controllers/discovered_hosts_controller.rb:99
260
+ #: ../app/controllers/discovered_hosts_controller.rb:102
261
261
  msgid "Failed to refresh facts for %{hostname} with error %{error_message}"
262
262
  msgstr "Не удалось обновить факты %{hostname}. Ошибка: %{error_message}"
263
263
 
264
- #: ../app/controllers/discovered_hosts_controller.rb:106
264
+ #: ../app/controllers/discovered_hosts_controller.rb:109
265
265
  msgid "Host of type %s can not be rebooted"
266
266
  msgstr "Узел типа %s не может быть перезагружен"
267
267
 
268
- #: ../app/controllers/discovered_hosts_controller.rb:110
268
+ #: ../app/controllers/discovered_hosts_controller.rb:113
269
269
  msgid "Rebooting host %s"
270
270
  msgstr "Перезагрузка %s"
271
271
 
272
- #: ../app/controllers/discovered_hosts_controller.rb:112
272
+ #: ../app/controllers/discovered_hosts_controller.rb:115
273
273
  msgid "Failed to reboot host %s"
274
274
  msgstr "Не удалось перезагрузить %s"
275
275
 
276
- #: ../app/controllers/discovered_hosts_controller.rb:115
276
+ #: ../app/controllers/discovered_hosts_controller.rb:118
277
277
  msgid "Failed to reboot host %{hostname} with error %{error_message}"
278
278
  msgstr "Не удалось перезагрузить %{hostname}. Ошибка: %{error_message}"
279
279
 
280
- #: ../app/controllers/discovered_hosts_controller.rb:129
280
+ #: ../app/controllers/discovered_hosts_controller.rb:132
281
281
  msgid "Failed to reboot hosts with error %s"
282
282
  msgstr "Не удалось перезагрузить узлы. Ошибка: %s"
283
283
 
284
- #: ../app/controllers/discovered_hosts_controller.rb:147
284
+ #: ../app/controllers/discovered_hosts_controller.rb:150
285
285
  msgid "Destroyed selected hosts"
286
286
  msgstr "Узлы удалены"
287
287
 
288
- #: ../app/controllers/discovered_hosts_controller.rb:149
288
+ #: ../app/controllers/discovered_hosts_controller.rb:152
289
289
  msgid "The following hosts were not deleted: %s"
290
290
  msgstr "Узлы не были удалены: %s"
291
291
 
292
- #: ../app/controllers/discovered_hosts_controller.rb:161
292
+ #: ../app/controllers/discovered_hosts_controller.rb:164
293
293
  msgid "Failed to auto provision host %s: %s"
294
294
  msgstr "Не удалось автоматически подготовить узел %s: %s"
295
295
 
296
- #: ../app/controllers/discovered_hosts_controller.rb:189
296
+ #: ../app/controllers/discovered_hosts_controller.rb:192
297
297
  msgid "Discovered hosts are provisioning now"
298
298
  msgstr "Выполняется подготовка обнаруженных узлов"
299
299
 
300
- #: ../app/controllers/discovered_hosts_controller.rb:270
300
+ #: ../app/controllers/discovered_hosts_controller.rb:277
301
301
  msgid "Discovered host reported from unknown subnet, communication will not be proxied."
302
302
  msgstr ""
303
303
 
304
- #: ../app/controllers/discovered_hosts_controller.rb:275
304
+ #: ../app/controllers/discovered_hosts_controller.rb:282
305
305
  msgid "Discovered hosts reported from unknown subnet are %s, communication will not be proxied."
306
306
  msgstr ""
307
307
 
308
- #: ../app/controllers/discovered_hosts_controller.rb:289
308
+ #: ../app/controllers/discovered_hosts_controller.rb:296
309
309
  msgid "No hosts were found with that id or name"
310
310
  msgstr "Нет узла с таким идентификатором или именем"
311
311
 
312
- #: ../app/controllers/discovered_hosts_controller.rb:293
312
+ #: ../app/controllers/discovered_hosts_controller.rb:300
313
313
  msgid "No hosts selected"
314
314
  msgstr "Не выбран узел"
315
315
 
316
- #: ../app/controllers/discovered_hosts_controller.rb:299
316
+ #: ../app/controllers/discovered_hosts_controller.rb:306
317
317
  msgid "Something went wrong while selecting hosts - %s"
318
318
  msgstr "Непредвиденное поведение при выборе узлов: %s"
319
319
 
@@ -411,7 +411,7 @@ msgstr "Включить правило «%s»?"
411
411
 
412
412
  #: ../app/helpers/discovery_rules_helper.rb:33
413
413
  msgid "Clone"
414
- msgstr ""
414
+ msgstr "Клонировать"
415
415
 
416
416
  #: ../app/helpers/discovery_rules_helper.rb:34
417
417
  msgid "Delete rule '%s'?"
@@ -481,23 +481,23 @@ msgstr "Недействительные факты: строка не соде
481
481
  msgid "Facts could not be imported"
482
482
  msgstr ""
483
483
 
484
- #: ../app/models/host/discovered.rb:146
484
+ #: ../app/models/host/discovered.rb:155
485
485
  msgid "Could not get facts from proxy %{url}: %{error}"
486
486
  msgstr "Не удалось получить факты с %{url}: %{error}"
487
487
 
488
- #: ../app/models/host/discovered.rb:160
488
+ #: ../app/models/host/discovered.rb:173
489
489
  msgid "Unable to perform reboot on %{name} (%{url}): %{msg}"
490
490
  msgstr ""
491
491
 
492
- #: ../app/models/host/discovered.rb:164 ../app/models/host/discovered.rb:183
492
+ #: ../app/models/host/discovered.rb:177 ../app/models/host/discovered.rb:200
493
493
  msgid "Unable to perform %{action} on %{ips}"
494
494
  msgstr ""
495
495
 
496
- #: ../app/models/host/discovered.rb:179
496
+ #: ../app/models/host/discovered.rb:196
497
497
  msgid "Unable to perform kexec on %{name} (%{url}): %{msg}"
498
498
  msgstr ""
499
499
 
500
- #: ../app/models/host/discovered.rb:203
500
+ #: ../app/models/host/discovered.rb:220
501
501
  msgid "Invalid hostname: Could not normalize the hostname"
502
502
  msgstr "Не удалось нормализовать имя узла"
503
503
 
@@ -705,6 +705,14 @@ msgstr ""
705
705
  msgid "Type of name generator"
706
706
  msgstr ""
707
707
 
708
+ #: ../app/models/setting/discovered.rb:40
709
+ msgid "Prefer IPv6 to IPv4 when calling discovered nodes"
710
+ msgstr ""
711
+
712
+ #: ../app/models/setting/discovered.rb:40
713
+ msgid "Prefer IPv6"
714
+ msgstr ""
715
+
708
716
  #: ../app/services/foreman_discovery/fact_parser.rb:4
709
717
  msgid "Discovery fact parser does not work with non-discovery host '%{host}'"
710
718
  msgstr ""
@@ -793,7 +801,7 @@ msgstr ""
793
801
 
794
802
  #: ../app/views/discovered_hosts/_discovered_host_modal.html.erb:24
795
803
  msgid "Create Host"
796
- msgstr ""
804
+ msgstr "Создать Узел"
797
805
 
798
806
  #: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:5
799
807
  msgid "Select all items in this page"
@@ -985,7 +993,7 @@ msgstr ""
985
993
 
986
994
  #: ../app/views/discovery_rules/clone.erb:1
987
995
  msgid "Clone %s"
988
- msgstr ""
996
+ msgstr "Клонировать %s"
989
997
 
990
998
  #: ../app/views/discovery_rules/edit.html.erb:1
991
999
  msgid "Edit %s"
@@ -1077,11 +1085,11 @@ msgstr ""
1077
1085
 
1078
1086
  #: ../webpack/__mocks__/foremanReact/components/common/EmptyState/EmptyStatePattern.js:33
1079
1087
  msgid "For more information please see "
1080
- msgstr ""
1088
+ msgstr "За подробной информацией обратитесь к"
1081
1089
 
1082
1090
  #: ../webpack/__mocks__/foremanReact/components/common/EmptyState/EmptyStatePattern.js:34
1083
1091
  msgid "documentation"
1084
- msgstr ""
1092
+ msgstr "документация"
1085
1093
 
1086
1094
  #: action_names.rb:2
1087
1095
  msgid "Remote action:"
@@ -1098,7 +1106,3 @@ msgstr "Импорт фактов"
1098
1106
  #: action_names.rb:5
1099
1107
  msgid "Action with sub plans"
1100
1108
  msgstr "Действия с подпланами"
1101
-
1102
- #: ../app/helpers/discovered_hosts_helper.rb:10
1103
- #~ msgid "%s ago"
1104
- #~ msgstr "%s назад"