foreman_discovery 22.0.2 → 23.0.0

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/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
@@ -5,7 +5,7 @@
5
5
  # Translators:
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: foreman_discovery 21.0.0\n"
8
+ "Project-Id-Version: foreman_discovery v22.0.4\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
10
  "PO-Revision-Date: 2013-11-15 17:25+0000\n"
11
11
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
@@ -30,7 +30,7 @@ msgid "A summary of discovered hosts"
30
30
  msgstr "发现主机概述"
31
31
 
32
32
  msgid "Action with sub plans"
33
- msgstr "有子計畫的動作"
33
+ msgstr "有子计划的操作"
34
34
 
35
35
  msgid "Actions"
36
36
  msgstr "操作"
@@ -39,7 +39,7 @@ msgid "Assign Location"
39
39
  msgstr "分配位置"
40
40
 
41
41
  msgid "Assign Organization"
42
- msgstr "分配机构"
42
+ msgstr "指定机构"
43
43
 
44
44
  msgid "Associated Hosts"
45
45
  msgstr "关联主机"
@@ -86,9 +86,6 @@ msgstr "克隆 %s"
86
86
  msgid "Collapse All"
87
87
  msgstr "全部折叠"
88
88
 
89
- msgid "Command line options for kexec during PXE-less provisioning."
90
- msgstr "在 PXE-less 置备过程中 kexec 的命令行选项。"
91
-
92
89
  msgid "Could not get facts from proxy %{url}: %{error}"
93
90
  msgstr "无法从代理 %{url} 获得详情:%{error}"
94
91
 
@@ -174,8 +171,8 @@ msgstr "从未知子网报告发现的主机为 %s,通信数据将不会被代
174
171
  msgid "Discovered hosts summary"
175
172
  msgstr "发现主机摘要"
176
173
 
177
- msgid "Discovery Kexec template"
178
- msgstr "发现 Kexec 模板"
174
+ msgid "Discovery"
175
+ msgstr "发现"
179
176
 
180
177
  msgid "Discovery Proxy"
181
178
  msgstr "发现代理服务器"
@@ -258,8 +255,8 @@ msgstr "对当前所有发现主机执行规则"
258
255
  msgid "Expected discovery_fact '%s' is missing, unable to detect primary interface and set hostname"
259
256
  msgstr "缺少期望的 discovery_fact '%s',无法检测主接口和设置主机名称"
260
257
 
261
- msgid "Extra facter columns to show in host lists (separate by comma)"
262
- msgstr "在主机列表中显示的额外 facter 列(用逗号隔开)"
258
+ msgid "Extra facter columns to show in host lists"
259
+ msgstr ""
263
260
 
264
261
  msgid "Fact + prefix"
265
262
  msgstr "Fact + 前缀"
@@ -303,6 +300,9 @@ msgstr "强制 DNS"
303
300
  msgid "Force DNS entries creation when provisioning discovered host"
304
301
  msgstr "置备发现主机时强制 DNS 条目创建"
305
302
 
303
+ msgid "Foreman Discovery"
304
+ msgstr ""
305
+
306
306
  msgid "Foreman discovered hosts summary"
307
307
  msgstr "Foreman 发现主机概述"
308
308
 
@@ -399,7 +399,7 @@ msgid "Import Puppet classes"
399
399
  msgstr "导入 Puppet 类"
400
400
 
401
401
  msgid "Import facts"
402
- msgstr "匯入詳情"
402
+ msgstr "导入事实"
403
403
 
404
404
  msgid "In addition to @host attribute function rand for random integers is available. Examples:"
405
405
  msgstr "除了 @host 属性函数之外,还提供随机整数 rand。"
@@ -443,8 +443,8 @@ msgstr "列出所有发现规则"
443
443
  msgid "List all fact values of a given discovered host"
444
444
  msgstr "列出给定发现主机的所有系统信息值"
445
445
 
446
- msgid "List of facts to use for the hostname (separated by comma, first wins)"
447
- msgstr "用于主机名的详情列表(用逗号隔开,第一个有最高优先级)"
446
+ msgid "List of facts to use for the hostname (first wins)"
447
+ msgstr ""
448
448
 
449
449
  msgid "Location"
450
450
  msgstr "位置"
@@ -489,7 +489,7 @@ msgid "Name"
489
489
  msgstr "名称"
490
490
 
491
491
  msgid "Name of the parameter"
492
- msgstr "参数名"
492
+ msgstr "参数名称"
493
493
 
494
494
  msgid "Network"
495
495
  msgstr "网络"
@@ -507,7 +507,7 @@ msgid "New in the last 24 hours"
507
507
  msgstr "在最近 24 小时之内新建"
508
508
 
509
509
  msgid "No Discovery Rules found in this context. Create Discovery Rules to perform automated provisioning on Discovered Hosts"
510
- msgstr ""
510
+ msgstr "在此上下文中没有发现规则。创建发现规则以在发现的主机上执行自动化调配"
511
511
 
512
512
  msgid "No discovered hosts available"
513
513
  msgstr "没有可用的发现主机"
@@ -516,7 +516,7 @@ msgid "No discovered hosts for the selected period"
516
516
  msgstr "选定时间段内没有发现主机"
517
517
 
518
518
  msgid "No discovered hosts found in this context. This page shows discovered bare-metal or virtual nodes waiting to be provisioned."
519
- msgstr ""
519
+ msgstr "此上下文中未找到发现的主机。此页显示了等待置备的发现裸机或虚拟节点。"
520
520
 
521
521
  msgid "No discovered hosts to provision"
522
522
  msgstr "没有要置备的发现主机"
@@ -545,6 +545,18 @@ msgstr "没有超过 7 天的报告"
545
545
  msgid "One or more hosts have been discovered"
546
546
  msgstr "已发现一个或多个主机"
547
547
 
548
+ msgid "One or more hosts with failed discovery due to error: %s"
549
+ msgstr ""
550
+
551
+ msgid "Option 'url' must be provided"
552
+ msgstr ""
553
+
554
+ msgid "Option 'url' must be valid URI: %s"
555
+ msgstr ""
556
+
557
+ msgid "Options must be hash"
558
+ msgstr ""
559
+
548
560
  msgid "Organization"
549
561
  msgstr "机构"
550
562
 
@@ -750,7 +762,7 @@ msgid "Update a rule"
750
762
  msgstr "更新规则"
751
763
 
752
764
  msgid "Upload facts for a host, creating the host if required"
753
- msgstr "上载主机的事实,并根据需要创建主机"
765
+ msgstr "为主机上传 fact,需要时会创建主机"
754
766
 
755
767
  msgid "When creating hostname patterns, make sure the resulting host names are unique."
756
768
  msgstr "创建主机名模式时,确保生成的主机名是唯一的。"
@@ -816,10 +828,10 @@ msgid "required if host is managed and custom partition has not been defined"
816
828
  msgstr "如果已管理主机,且未定义自定义分区,则需填写。"
817
829
 
818
830
  msgid "required if host is managed and value is not inherited from host group"
819
- msgstr "如果主机是受管的,值没有从主机组继承时需要"
831
+ msgstr "如果主机是受管的,且值没有从主机组继承,则是必需的"
820
832
 
821
833
  msgid "required if not imaged based provisioning and host is managed and value is not inherited from host group"
822
- msgstr "如果不是基于置备镜像,主机是受管的,值没有从主机组继承时需要"
834
+ msgstr "如果不是基于置备镜像的,主机是受管的,且值没有从主机组继承,则是必需的"
823
835
 
824
836
  msgid "required if value is not inherited from host group or default password in settings"
825
837
  msgstr "如果数值不是从主机组或设置中的默认密码继承,则需要。"