foreman_discovery 22.0.2 → 23.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/foreman_discovery/locale/ca/foreman_discovery.js +847 -0
  3. data/app/assets/javascripts/foreman_discovery/locale/cs_CZ/foreman_discovery.js +847 -0
  4. data/app/assets/javascripts/foreman_discovery/locale/de/foreman_discovery.js +847 -0
  5. data/app/assets/javascripts/foreman_discovery/locale/en/foreman_discovery.js +846 -0
  6. data/app/assets/javascripts/foreman_discovery/locale/en_GB/foreman_discovery.js +847 -0
  7. data/app/assets/javascripts/foreman_discovery/locale/es/foreman_discovery.js +850 -0
  8. data/app/assets/javascripts/foreman_discovery/locale/fr/foreman_discovery.js +850 -0
  9. data/app/assets/javascripts/foreman_discovery/locale/gl/foreman_discovery.js +847 -0
  10. data/app/assets/javascripts/foreman_discovery/locale/it/foreman_discovery.js +847 -0
  11. data/app/assets/javascripts/foreman_discovery/locale/ja/foreman_discovery.js +844 -0
  12. data/app/assets/javascripts/foreman_discovery/locale/ka/foreman_discovery.js +847 -0
  13. data/app/assets/javascripts/foreman_discovery/locale/ko/foreman_discovery.js +847 -0
  14. data/app/assets/javascripts/foreman_discovery/locale/pt_BR/foreman_discovery.js +850 -0
  15. data/app/assets/javascripts/foreman_discovery/locale/ru/foreman_discovery.js +851 -0
  16. data/app/assets/javascripts/foreman_discovery/locale/sv_SE/foreman_discovery.js +847 -0
  17. data/app/assets/javascripts/foreman_discovery/locale/zh_CN/foreman_discovery.js +844 -0
  18. data/app/assets/javascripts/foreman_discovery/locale/zh_TW/foreman_discovery.js +847 -0
  19. data/app/controllers/discovered_hosts_controller.rb +5 -1
  20. data/app/helpers/discovered_hosts_helper.rb +9 -2
  21. data/app/models/host/discovered.rb +3 -3
  22. data/app/services/foreman_discovery/import_hooks/lock_templates.rb +1 -1
  23. data/app/services/foreman_discovery/node_api/node_resource.rb +5 -5
  24. data/app/services/foreman_discovery/ui_notifications/failed_discovery.rb +1 -1
  25. data/app/views/discovered_hosts/_discovered_host.html.erb +1 -1
  26. data/app/views/discovered_hosts/_discovered_hosts_list.html.erb +1 -1
  27. data/db/migrate/20221102065954_fix_discovery_settings_category_to_dsl.rb +1 -1
  28. data/db/migrate/20221102075151_migrate_discovery_hostname_and_fact_column_to_array.rb +13 -0
  29. data/extra/discover-host +1 -1
  30. data/lib/foreman_discovery/engine.rb +8 -20
  31. data/lib/foreman_discovery/version.rb +1 -1
  32. data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
  33. data/locale/ca/foreman_discovery.edit.po +1122 -0
  34. data/locale/ca/foreman_discovery.po +22 -10
  35. data/locale/cs_CZ/LC_MESSAGES/foreman_discovery.mo +0 -0
  36. data/locale/cs_CZ/foreman_discovery.edit.po +1120 -0
  37. data/locale/cs_CZ/foreman_discovery.po +846 -0
  38. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  39. data/locale/de/foreman_discovery.edit.po +1129 -0
  40. data/locale/de/foreman_discovery.po +22 -10
  41. data/locale/en/LC_MESSAGES/foreman_discovery.mo +0 -0
  42. data/locale/en/foreman_discovery.edit.po +1115 -0
  43. data/locale/en/foreman_discovery.po +19 -7
  44. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  45. data/locale/en_GB/foreman_discovery.edit.po +1125 -0
  46. data/locale/en_GB/foreman_discovery.po +22 -10
  47. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  48. data/locale/es/foreman_discovery.edit.po +1130 -0
  49. data/locale/es/foreman_discovery.po +81 -65
  50. data/locale/foreman_discovery.pot +231 -211
  51. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  52. data/locale/fr/foreman_discovery.edit.po +1126 -0
  53. data/locale/fr/foreman_discovery.po +35 -19
  54. data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
  55. data/locale/gl/foreman_discovery.edit.po +1120 -0
  56. data/locale/gl/foreman_discovery.po +19 -7
  57. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  58. data/locale/it/foreman_discovery.edit.po +1123 -0
  59. data/locale/it/foreman_discovery.po +21 -8
  60. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  61. data/locale/ja/foreman_discovery.edit.po +1119 -0
  62. data/locale/ja/foreman_discovery.po +34 -22
  63. data/locale/ka/LC_MESSAGES/foreman_discovery.mo +0 -0
  64. data/locale/ka/foreman_discovery.edit.po +1120 -0
  65. data/locale/ka/foreman_discovery.po +846 -0
  66. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  67. data/locale/ko/foreman_discovery.edit.po +1119 -0
  68. data/locale/ko/foreman_discovery.po +20 -8
  69. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  70. data/locale/pt_BR/foreman_discovery.edit.po +1132 -0
  71. data/locale/pt_BR/foreman_discovery.po +61 -45
  72. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  73. data/locale/ru/foreman_discovery.edit.po +1131 -0
  74. data/locale/ru/foreman_discovery.po +21 -9
  75. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  76. data/locale/sv_SE/foreman_discovery.edit.po +1123 -0
  77. data/locale/sv_SE/foreman_discovery.po +19 -7
  78. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  79. data/locale/zh_CN/foreman_discovery.edit.po +1117 -0
  80. data/locale/zh_CN/foreman_discovery.po +31 -19
  81. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  82. data/locale/zh_TW/foreman_discovery.edit.po +1120 -0
  83. data/locale/zh_TW/foreman_discovery.po +19 -7
  84. data/package.json +0 -1
  85. data/test/functional/api/v2/fact_value_extensions_test.rb +1 -1
  86. data/test/functional/discovered_hosts_controller_test.rb +1 -1
  87. data/test/migrations/20221102075151_migrate_discovery_hostname_and_fact_column_to_array_test.rb +75 -0
  88. data/test/migrations/20221102075151_migrate_discovery_hostname_and_fact_column_to_array_test.rb.orig +81 -0
  89. data/test/test_helper_discovery.rb +1 -1
  90. data/test/unit/discovery_attribute_set_test.rb +1 -1
  91. data/test/unit/host_discovered_test.rb +3 -3
  92. data/webpack/src/ForemanDiscovery/DiscoveryRules/Components/EmptyState/EmptyState.js +1 -1
  93. metadata +50 -8
  94. data/app/models/setting/discovered.rb +0 -22
@@ -7,7 +7,7 @@
7
7
  # caifti <caifti@gmail.com>, 2014
8
8
  msgid ""
9
9
  msgstr ""
10
- "Project-Id-Version: foreman_discovery 21.0.0\n"
10
+ "Project-Id-Version: foreman_discovery v22.0.4\n"
11
11
  "Report-Msgid-Bugs-To: \n"
12
12
  "PO-Revision-Date: 2013-11-15 17:25+0000\n"
13
13
  "Last-Translator: caifti <caifti@gmail.com>, 2014\n"
@@ -17,7 +17,8 @@ msgstr ""
17
17
  "Content-Type: text/plain; charset=UTF-8\n"
18
18
  "Content-Transfer-Encoding: 8bit\n"
19
19
  "Language: it\n"
20
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
20
+ "Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 :"
21
+ " 2;\n"
21
22
 
22
23
  msgid "%s - The following hosts are about to be changed"
23
24
  msgstr "%s - I seguenti host stanno per essere modificati"
@@ -88,9 +89,6 @@ msgstr "Clona %s"
88
89
  msgid "Collapse All"
89
90
  msgstr "Comprimi tutto"
90
91
 
91
- msgid "Command line options for kexec during PXE-less provisioning."
92
- msgstr ""
93
-
94
92
  msgid "Could not get facts from proxy %{url}: %{error}"
95
93
  msgstr "Impossibile ottenere gli eventi dal proxy %{url}: %{error}"
96
94
 
@@ -177,7 +175,7 @@ msgstr ""
177
175
  msgid "Discovered hosts summary"
178
176
  msgstr ""
179
177
 
180
- msgid "Discovery Kexec template"
178
+ msgid "Discovery"
181
179
  msgstr ""
182
180
 
183
181
  msgid "Discovery Proxy"
@@ -261,7 +259,7 @@ msgstr "Esegui le regole nei confronti degli host attualemente rilevati"
261
259
  msgid "Expected discovery_fact '%s' is missing, unable to detect primary interface and set hostname"
262
260
  msgstr ""
263
261
 
264
- msgid "Extra facter columns to show in host lists (separate by comma)"
262
+ msgid "Extra facter columns to show in host lists"
265
263
  msgstr ""
266
264
 
267
265
  msgid "Fact + prefix"
@@ -306,6 +304,9 @@ msgstr ""
306
304
  msgid "Force DNS entries creation when provisioning discovered host"
307
305
  msgstr ""
308
306
 
307
+ msgid "Foreman Discovery"
308
+ msgstr ""
309
+
309
310
  msgid "Foreman discovered hosts summary"
310
311
  msgstr ""
311
312
 
@@ -448,7 +449,7 @@ msgstr "Elenca tutte le regole per la scoperta"
448
449
  msgid "List all fact values of a given discovered host"
449
450
  msgstr ""
450
451
 
451
- msgid "List of facts to use for the hostname (separated by comma, first wins)"
452
+ msgid "List of facts to use for the hostname (first wins)"
452
453
  msgstr ""
453
454
 
454
455
  msgid "Location"
@@ -550,6 +551,18 @@ msgstr ""
550
551
  msgid "One or more hosts have been discovered"
551
552
  msgstr ""
552
553
 
554
+ msgid "One or more hosts with failed discovery due to error: %s"
555
+ msgstr ""
556
+
557
+ msgid "Option 'url' must be provided"
558
+ msgstr ""
559
+
560
+ msgid "Option 'url' must be valid URI: %s"
561
+ msgstr ""
562
+
563
+ msgid "Options must be hash"
564
+ msgstr ""
565
+
553
566
  msgid "Organization"
554
567
  msgstr "Organizzazione"
555
568