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.
- checksums.yaml +4 -4
- data/app/assets/javascripts/foreman_discovery/locale/ca/foreman_discovery.js +847 -0
- data/app/assets/javascripts/foreman_discovery/locale/cs_CZ/foreman_discovery.js +847 -0
- data/app/assets/javascripts/foreman_discovery/locale/de/foreman_discovery.js +847 -0
- data/app/assets/javascripts/foreman_discovery/locale/en/foreman_discovery.js +846 -0
- data/app/assets/javascripts/foreman_discovery/locale/en_GB/foreman_discovery.js +847 -0
- data/app/assets/javascripts/foreman_discovery/locale/es/foreman_discovery.js +850 -0
- data/app/assets/javascripts/foreman_discovery/locale/fr/foreman_discovery.js +850 -0
- data/app/assets/javascripts/foreman_discovery/locale/gl/foreman_discovery.js +847 -0
- data/app/assets/javascripts/foreman_discovery/locale/it/foreman_discovery.js +847 -0
- data/app/assets/javascripts/foreman_discovery/locale/ja/foreman_discovery.js +844 -0
- data/app/assets/javascripts/foreman_discovery/locale/ka/foreman_discovery.js +847 -0
- data/app/assets/javascripts/foreman_discovery/locale/ko/foreman_discovery.js +847 -0
- data/app/assets/javascripts/foreman_discovery/locale/pt_BR/foreman_discovery.js +850 -0
- data/app/assets/javascripts/foreman_discovery/locale/ru/foreman_discovery.js +851 -0
- data/app/assets/javascripts/foreman_discovery/locale/sv_SE/foreman_discovery.js +847 -0
- data/app/assets/javascripts/foreman_discovery/locale/zh_CN/foreman_discovery.js +844 -0
- data/app/assets/javascripts/foreman_discovery/locale/zh_TW/foreman_discovery.js +847 -0
- data/app/controllers/discovered_hosts_controller.rb +5 -1
- data/app/helpers/discovered_hosts_helper.rb +9 -2
- data/app/models/host/discovered.rb +3 -3
- data/app/services/foreman_discovery/import_hooks/lock_templates.rb +1 -1
- data/app/services/foreman_discovery/node_api/node_resource.rb +5 -5
- data/app/services/foreman_discovery/ui_notifications/failed_discovery.rb +1 -1
- data/app/views/discovered_hosts/_discovered_host.html.erb +1 -1
- data/app/views/discovered_hosts/_discovered_hosts_list.html.erb +1 -1
- data/db/migrate/20221102065954_fix_discovery_settings_category_to_dsl.rb +1 -1
- data/db/migrate/20221102075151_migrate_discovery_hostname_and_fact_column_to_array.rb +13 -0
- data/extra/discover-host +1 -1
- data/lib/foreman_discovery/engine.rb +8 -20
- data/lib/foreman_discovery/version.rb +1 -1
- data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/ca/foreman_discovery.edit.po +1122 -0
- data/locale/ca/foreman_discovery.po +22 -10
- data/locale/cs_CZ/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/cs_CZ/foreman_discovery.edit.po +1120 -0
- data/locale/cs_CZ/foreman_discovery.po +846 -0
- data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/de/foreman_discovery.edit.po +1129 -0
- data/locale/de/foreman_discovery.po +22 -10
- data/locale/en/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/en/foreman_discovery.edit.po +1115 -0
- data/locale/en/foreman_discovery.po +19 -7
- data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/en_GB/foreman_discovery.edit.po +1125 -0
- data/locale/en_GB/foreman_discovery.po +22 -10
- data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/es/foreman_discovery.edit.po +1130 -0
- data/locale/es/foreman_discovery.po +81 -65
- data/locale/foreman_discovery.pot +231 -211
- data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/fr/foreman_discovery.edit.po +1126 -0
- data/locale/fr/foreman_discovery.po +35 -19
- data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/gl/foreman_discovery.edit.po +1120 -0
- data/locale/gl/foreman_discovery.po +19 -7
- data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/it/foreman_discovery.edit.po +1123 -0
- data/locale/it/foreman_discovery.po +21 -8
- data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/ja/foreman_discovery.edit.po +1119 -0
- data/locale/ja/foreman_discovery.po +34 -22
- data/locale/ka/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/ka/foreman_discovery.edit.po +1120 -0
- data/locale/ka/foreman_discovery.po +846 -0
- data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/ko/foreman_discovery.edit.po +1119 -0
- data/locale/ko/foreman_discovery.po +20 -8
- data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/pt_BR/foreman_discovery.edit.po +1132 -0
- data/locale/pt_BR/foreman_discovery.po +61 -45
- data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/ru/foreman_discovery.edit.po +1131 -0
- data/locale/ru/foreman_discovery.po +21 -9
- data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/sv_SE/foreman_discovery.edit.po +1123 -0
- data/locale/sv_SE/foreman_discovery.po +19 -7
- data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/zh_CN/foreman_discovery.edit.po +1117 -0
- data/locale/zh_CN/foreman_discovery.po +31 -19
- data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/zh_TW/foreman_discovery.edit.po +1120 -0
- data/locale/zh_TW/foreman_discovery.po +19 -7
- data/package.json +0 -1
- data/test/functional/api/v2/fact_value_extensions_test.rb +1 -1
- data/test/functional/discovered_hosts_controller_test.rb +1 -1
- data/test/migrations/20221102075151_migrate_discovery_hostname_and_fact_column_to_array_test.rb +75 -0
- data/test/migrations/20221102075151_migrate_discovery_hostname_and_fact_column_to_array_test.rb.orig +81 -0
- data/test/test_helper_discovery.rb +1 -1
- data/test/unit/discovery_attribute_set_test.rb +1 -1
- data/test/unit/host_discovered_test.rb +3 -3
- data/webpack/src/ForemanDiscovery/DiscoveryRules/Components/EmptyState/EmptyState.js +1 -1
- metadata +50 -8
- 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
|
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
|
178
|
-
msgstr "发现
|
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
|
262
|
-
msgstr "
|
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 (
|
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 "如果数值不是从主机组或设置中的默认密码继承,则需要。"
|
Binary file
|