foreman_discovery 11.0.0 → 12.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/app/controllers/api/v2/discovered_hosts_controller.rb +1 -2
- data/app/controllers/concerns/foreman/controller/discovered_extensions.rb +1 -1
- data/app/controllers/discovered_hosts_controller.rb +21 -11
- data/app/controllers/foreman_discovery/concerns/hosts_controller_extensions.rb +1 -1
- data/app/helpers/discovered_hosts_helper.rb +9 -11
- data/app/models/discovery_rule.rb +3 -0
- data/app/models/host/discovered.rb +59 -19
- data/app/models/setting/discovered.rb +1 -0
- data/app/services/foreman_discovery/fact_parser.rb +6 -2
- data/app/services/foreman_discovery/ui_notifications/new_host.rb +3 -1
- data/app/views/dashboard/_discovery_widget_host_list.html.erb +1 -1
- data/app/views/discovered_hosts/_discovered_hosts_list.html.erb +2 -3
- data/app/views/discovered_hosts/_selected_hosts.html.erb +1 -1
- data/app/views/discovered_hosts/index.html.erb +0 -2
- data/app/views/discovered_hosts/multiple_auto_provision.html.erb +4 -0
- data/app/views/discovered_hosts/multiple_reboot.html.erb +4 -0
- data/app/views/discovered_hosts/show.html.erb +27 -15
- data/app/views/discovery_rules/_form.html.erb +9 -3
- data/app/views/discovery_rules/edit.html.erb +1 -1
- data/app/views/discovery_rules/index.html.erb +2 -2
- data/app/views/foreman_discovery/debian_kexec.erb +1 -1
- data/app/views/foreman_discovery/redhat_kexec.erb +1 -1
- data/config/as_deprecation_whitelist.yaml +395 -0
- data/config/routes.rb +7 -5
- data/db/migrate/20171222120314_add_constraints_on_discovery_rules_hostgroups.rb +10 -0
- data/db/migrate/20180412124505_add_priority_score_to_discovery_rules.rb +24 -0
- data/extra/discover-host +7 -5
- data/extra/discovery/simple-bond.json +167 -0
- data/lib/foreman_discovery/engine.rb +9 -3
- 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 +148 -221
- data/locale/ca/foreman_discovery.po +25 -19
- data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/de/foreman_discovery.edit.po +147 -221
- data/locale/de/foreman_discovery.po +26 -20
- data/locale/en/foreman_discovery.edit.po +106 -98
- data/locale/en/foreman_discovery.po +24 -18
- data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/en_GB/foreman_discovery.edit.po +149 -222
- data/locale/en_GB/foreman_discovery.po +26 -20
- data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/es/foreman_discovery.edit.po +149 -222
- data/locale/es/foreman_discovery.po +26 -20
- data/locale/foreman_discovery.pot +115 -103
- data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/fr/foreman_discovery.edit.po +147 -221
- data/locale/fr/foreman_discovery.po +26 -20
- data/locale/gl/foreman_discovery.edit.po +147 -220
- data/locale/gl/foreman_discovery.po +24 -18
- data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/it/foreman_discovery.edit.po +148 -221
- data/locale/it/foreman_discovery.po +25 -19
- data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/ja/foreman_discovery.edit.po +149 -222
- data/locale/ja/foreman_discovery.po +26 -20
- data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/ko/foreman_discovery.edit.po +149 -221
- data/locale/ko/foreman_discovery.po +26 -20
- data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/pt_BR/foreman_discovery.edit.po +149 -222
- data/locale/pt_BR/foreman_discovery.po +26 -20
- data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/ru/foreman_discovery.edit.po +152 -223
- data/locale/ru/foreman_discovery.po +26 -20
- data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/sv_SE/foreman_discovery.edit.po +147 -220
- data/locale/sv_SE/foreman_discovery.po +24 -18
- data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/zh_CN/foreman_discovery.edit.po +155 -224
- data/locale/zh_CN/foreman_discovery.po +26 -20
- data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/zh_TW/foreman_discovery.edit.po +151 -222
- data/locale/zh_TW/foreman_discovery.po +26 -20
- data/test/functional/api/v2/discovered_hosts_controller_test.rb +2 -0
- data/test/functional/api/v2/discovery_rules_controller_test.rb +96 -9
- data/test/functional/api/v2/settings_controller_test.rb +22 -0
- data/test/functional/discovered_hosts_controller_test.rb +20 -21
- data/test/functional/discovery_rules_controller_test.rb +5 -4
- data/test/integration/discovered_hosts_test.rb +20 -10
- data/test/models/setting_test.rb +11 -0
- data/test/test_helper_discovery.rb +1 -0
- data/test/unit/discovered_extensions_test.rb +2 -13
- data/test/unit/discovery_rule_test.rb +87 -1
- data/test/unit/fact_parser_test.rb +2 -2
- data/test/unit/host_discovered_test.rb +60 -28
- data/test/unit/ui_notifications/destroy_host_test.rb +14 -4
- data/test/unit/ui_notifications/new_host_test.rb +8 -1
- metadata +22 -4
@@ -47,9 +47,6 @@ msgstr ""
|
|
47
47
|
msgid "Auto Provision"
|
48
48
|
msgstr ""
|
49
49
|
|
50
|
-
msgid "Auto Provision All"
|
51
|
-
msgstr ""
|
52
|
-
|
53
50
|
msgid "Auto provisioning"
|
54
51
|
msgstr ""
|
55
52
|
|
@@ -77,6 +74,9 @@ msgstr ""
|
|
77
74
|
msgid "Clean all reported facts during provisioning (except discovery facts)"
|
78
75
|
msgstr ""
|
79
76
|
|
77
|
+
msgid "Collapse All"
|
78
|
+
msgstr ""
|
79
|
+
|
80
80
|
msgid "Could not get facts from proxy %{url}: %{error}"
|
81
81
|
msgstr ""
|
82
82
|
|
@@ -98,6 +98,9 @@ msgstr ""
|
|
98
98
|
msgid "DHCP filename option (Grub2 or PXELinux by default)"
|
99
99
|
msgstr ""
|
100
100
|
|
101
|
+
msgid "Delete"
|
102
|
+
msgstr ""
|
103
|
+
|
101
104
|
msgid "Delete %s?"
|
102
105
|
msgstr "Radera %s?"
|
103
106
|
|
@@ -107,9 +110,6 @@ msgstr ""
|
|
107
110
|
msgid "Delete a rule"
|
108
111
|
msgstr ""
|
109
112
|
|
110
|
-
msgid "Delete hosts"
|
111
|
-
msgstr "Radera värdar"
|
112
|
-
|
113
113
|
msgid "Delete rule '%s'?"
|
114
114
|
msgstr ""
|
115
115
|
|
@@ -128,6 +128,9 @@ msgstr ""
|
|
128
128
|
msgid "Discovered Hosts"
|
129
129
|
msgstr "Hittade värdar"
|
130
130
|
|
131
|
+
msgid "Discovered host '%{host}' has all NICs filtered out, filter: %{filter}"
|
132
|
+
msgstr ""
|
133
|
+
|
131
134
|
msgid "Discovered host: %s"
|
132
135
|
msgstr "Hittade värdar: %s"
|
133
136
|
|
@@ -158,6 +161,9 @@ msgstr ""
|
|
158
161
|
msgid "Discovery Rules"
|
159
162
|
msgstr ""
|
160
163
|
|
164
|
+
msgid "Discovery fact parser does not work with non-discovery host '%{host}'"
|
165
|
+
msgstr ""
|
166
|
+
|
161
167
|
msgid "Discovery location"
|
162
168
|
msgstr ""
|
163
169
|
|
@@ -191,10 +197,13 @@ msgstr ""
|
|
191
197
|
msgid "Disks size"
|
192
198
|
msgstr ""
|
193
199
|
|
200
|
+
msgid "Do not allow to discover existing managed host matching MAC of a provisioning NIC (errors out early)"
|
201
|
+
msgstr ""
|
202
|
+
|
194
203
|
msgid "Domain will be appended automatically. A hostname based on MAC address will be used when left blank."
|
195
204
|
msgstr ""
|
196
205
|
|
197
|
-
msgid "Edit
|
206
|
+
msgid "Edit %s"
|
198
207
|
msgstr ""
|
199
208
|
|
200
209
|
msgid "Enable"
|
@@ -203,6 +212,9 @@ msgstr ""
|
|
203
212
|
msgid "Enable rule '%s'?"
|
204
213
|
msgstr ""
|
205
214
|
|
215
|
+
msgid "Error on existing NIC"
|
216
|
+
msgstr ""
|
217
|
+
|
206
218
|
msgid "Errors during auto provisioning: %s"
|
207
219
|
msgstr ""
|
208
220
|
|
@@ -215,9 +227,6 @@ msgstr ""
|
|
215
227
|
msgid "Execute rules against all currently discovered hosts"
|
216
228
|
msgstr ""
|
217
229
|
|
218
|
-
msgid "Expand All"
|
219
|
-
msgstr ""
|
220
|
-
|
221
230
|
msgid "Expected discovery_fact '%s' is missing, unable to detect primary interface and set hostname"
|
222
231
|
msgstr ""
|
223
232
|
|
@@ -510,9 +519,6 @@ msgstr ""
|
|
510
519
|
msgid "Reboot"
|
511
520
|
msgstr ""
|
512
521
|
|
513
|
-
msgid "Reboot All"
|
514
|
-
msgstr ""
|
515
|
-
|
516
522
|
msgid "Rebooting %s"
|
517
523
|
msgstr "Startar om %s"
|
518
524
|
|
@@ -645,13 +651,10 @@ msgstr ""
|
|
645
651
|
msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
|
646
652
|
msgstr ""
|
647
653
|
|
648
|
-
msgid "Unable to
|
649
|
-
msgstr ""
|
650
|
-
|
651
|
-
msgid "Unable to detect primary interface using MAC '%{mac}' specified by discovery_fact '%{fact}'"
|
654
|
+
msgid "Unable to find a discovery rule, no host provided (check permissions)"
|
652
655
|
msgstr ""
|
653
656
|
|
654
|
-
msgid "Unable to find
|
657
|
+
msgid "Unable to find primary NIC with %{mac} specified via '%{fact}', NIC filter: %{filter}"
|
655
658
|
msgstr ""
|
656
659
|
|
657
660
|
msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
|
@@ -696,6 +699,9 @@ msgstr "poster markerade. Avmarkera för att rensa"
|
|
696
699
|
msgid "location ID for provisioned hosts"
|
697
700
|
msgstr ""
|
698
701
|
|
702
|
+
msgid "must be present."
|
703
|
+
msgstr ""
|
704
|
+
|
699
705
|
msgid "must start with a letter or ERB."
|
700
706
|
msgstr ""
|
701
707
|
|
Binary file
|
@@ -1,16 +1,16 @@
|
|
1
1
|
# SOME DESCRIPTIVE TITLE.
|
2
2
|
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
3
3
|
# This file is distributed under the same license as the foreman_discovery package.
|
4
|
-
#
|
4
|
+
#
|
5
5
|
# Translators:
|
6
6
|
msgid ""
|
7
7
|
msgstr ""
|
8
8
|
"Project-Id-Version: foreman_discovery 10.0.0\n"
|
9
9
|
"Report-Msgid-Bugs-To: \n"
|
10
|
-
"POT-Creation-Date: 2017-12-11 10:28+0100\n"
|
11
10
|
"PO-Revision-Date: 2018-01-05 19:26+0000\n"
|
12
11
|
"Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>\n"
|
13
|
-
"Language-Team: Chinese (China) (http://www.transifex.com/foreman/foreman/
|
12
|
+
"Language-Team: Chinese (China) (http://www.transifex.com/foreman/foreman/langu"
|
13
|
+
"age/zh_CN/)\n"
|
14
14
|
"MIME-Version: 1.0\n"
|
15
15
|
"Content-Type: text/plain; charset=UTF-8\n"
|
16
16
|
"Content-Transfer-Encoding: 8bit\n"
|
@@ -21,23 +21,19 @@ msgstr ""
|
|
21
21
|
msgid "List all discovered hosts"
|
22
22
|
msgstr "列出所有发现主机"
|
23
23
|
|
24
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:17
|
25
|
-
#: ../app/controllers/api/v2/discovery_rules_controller.rb:15
|
24
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:17 ../app/controllers/api/v2/discovery_rules_controller.rb:15
|
26
25
|
msgid "filter results"
|
27
26
|
msgstr "过滤结果"
|
28
27
|
|
29
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:18
|
30
|
-
#: ../app/controllers/api/v2/discovery_rules_controller.rb:16
|
28
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:18 ../app/controllers/api/v2/discovery_rules_controller.rb:16
|
31
29
|
msgid "sort results"
|
32
30
|
msgstr "结果排序"
|
33
31
|
|
34
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:19
|
35
|
-
#: ../app/controllers/api/v2/discovery_rules_controller.rb:17
|
32
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:19 ../app/controllers/api/v2/discovery_rules_controller.rb:17
|
36
33
|
msgid "paginate results"
|
37
34
|
msgstr "编页结果"
|
38
35
|
|
39
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:20
|
40
|
-
#: ../app/controllers/api/v2/discovery_rules_controller.rb:18
|
36
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:20 ../app/controllers/api/v2/discovery_rules_controller.rb:18
|
41
37
|
msgid "number of entries per request"
|
42
38
|
msgstr "每个请求中的条目数"
|
43
39
|
|
@@ -45,8 +41,7 @@ msgstr "每个请求中的条目数"
|
|
45
41
|
msgid "Show a discovered host"
|
46
42
|
msgstr "显示一个发现主机"
|
47
43
|
|
48
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:37
|
49
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:79
|
44
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:37 ../app/controllers/api/v2/discovered_hosts_controller.rb:79
|
50
45
|
msgid "DHCP filename option (Grub2 or PXELinux by default)"
|
51
46
|
msgstr "DHCP 文件名选项(默认为 Grub2 或 PXELinux)"
|
52
47
|
|
@@ -67,14 +62,11 @@ msgid "not required if it's a virtual machine"
|
|
67
62
|
msgstr "如果是虚拟机,则不需要"
|
68
63
|
|
69
64
|
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:76
|
70
|
-
msgid ""
|
71
|
-
"UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
|
65
|
+
msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
|
72
66
|
msgstr "用来跟踪业务流程任务状态的 UUID,GET /api/orchestration/:UUID/tasks"
|
73
67
|
|
74
68
|
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:78
|
75
|
-
msgid ""
|
76
|
-
"required if value is not inherited from host group or default password in "
|
77
|
-
"settings"
|
69
|
+
msgid "required if value is not inherited from host group or default password in settings"
|
78
70
|
msgstr "如果数值不是从主机组或设置中的默认密码继承,则需要。"
|
79
71
|
|
80
72
|
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:89
|
@@ -86,62 +78,54 @@ msgid "Upload facts for a host, creating the host if required"
|
|
86
78
|
msgstr "上传主机的系统详情,如需要,请创建主机。"
|
87
79
|
|
88
80
|
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:97
|
89
|
-
msgid ""
|
90
|
-
"hash containing facts for the host with minimum set of facts: "
|
91
|
-
"discovery_bootif, macaddress_eth0, ipaddress, ipaddress_eth0, interfaces: "
|
92
|
-
"eth0 (example in case primary interface is named eth0)"
|
81
|
+
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)"
|
93
82
|
msgstr "hash 包含具备最小详情集合的主机的详情:discovery_bootif、macaddress_eth0、ipaddress、ipaddress_eth0、interfaces: eth0(主接口名为 eth0 的示例)"
|
94
83
|
|
95
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
84
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:116
|
96
85
|
msgid "Execute rules against a discovered host"
|
97
86
|
msgstr "对发现主机执行规则"
|
98
87
|
|
99
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
100
|
-
#: ../app/controllers/discovered_hosts_controller.rb:150
|
88
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:122 ../app/controllers/discovered_hosts_controller.rb:159
|
101
89
|
msgid "Host %{host} was provisioned with rule %{rule}"
|
102
90
|
msgstr "主机 %{host} 置备了规则 %{rule}"
|
103
91
|
|
104
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
92
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:125
|
105
93
|
msgid "Unable to provision %{host}: %{errors}"
|
106
94
|
msgstr "无法置备 %{host}:%{errors}"
|
107
95
|
|
108
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
109
|
-
#: ../app/controllers/discovered_hosts_controller.rb:157
|
96
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:131 ../app/controllers/discovered_hosts_controller.rb:166
|
110
97
|
msgid "No rule found for host %s"
|
111
98
|
msgstr "没有为主机 %s 找到规则"
|
112
99
|
|
113
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
100
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:138
|
114
101
|
msgid "Execute rules against all currently discovered hosts"
|
115
102
|
msgstr "对当前所有发现主机执行规则"
|
116
103
|
|
117
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
118
|
-
#: ../app/controllers/discovered_hosts_controller.rb:163
|
104
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:142 ../app/controllers/discovered_hosts_controller.rb:172
|
119
105
|
msgid "Errors during auto provisioning: %s"
|
120
106
|
msgstr "自动置备期间出错:%s"
|
121
107
|
|
122
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
123
|
-
#: ../app/controllers/discovered_hosts_controller.rb:166
|
108
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:145 ../app/controllers/discovered_hosts_controller.rb:175
|
124
109
|
msgid "No discovered hosts to provision"
|
125
110
|
msgstr "没有要置备的发现主机"
|
126
111
|
|
127
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
112
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:167
|
128
113
|
msgid "%s discovered hosts were provisioned"
|
129
114
|
msgstr "已置备 %s 发现主机"
|
130
115
|
|
131
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
116
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:178
|
132
117
|
msgid "Refreshing the facts of a discovered host"
|
133
118
|
msgstr "刷新发现主机的详情"
|
134
119
|
|
135
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
120
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:187
|
136
121
|
msgid "Rebooting a discovered host"
|
137
122
|
msgstr "重启发现主机"
|
138
123
|
|
139
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
124
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:196
|
140
125
|
msgid "Rebooting all discovered hosts"
|
141
126
|
msgstr "重启所有发现主机"
|
142
127
|
|
143
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
144
|
-
#: ../app/controllers/discovered_hosts_controller.rb:125
|
128
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:207 ../app/controllers/discovered_hosts_controller.rb:128
|
145
129
|
msgid "Discovered hosts are rebooting now"
|
146
130
|
msgstr "现在正在重启发现主机"
|
147
131
|
|
@@ -166,8 +150,7 @@ msgid "the hostgroup that is used to auto provision a host"
|
|
166
150
|
msgstr "用于自动置备主机的主机组"
|
167
151
|
|
168
152
|
#: ../app/controllers/api/v2/discovery_rules_controller.rb:35
|
169
|
-
msgid ""
|
170
|
-
"defines a pattern to assign human-readable hostnames to the matching hosts"
|
153
|
+
msgid "defines a pattern to assign human-readable hostnames to the matching hosts"
|
171
154
|
msgstr "定义向匹配主机分配人类可读的主机名称的模式"
|
172
155
|
|
173
156
|
#: ../app/controllers/api/v2/discovery_rules_controller.rb:36
|
@@ -175,8 +158,7 @@ msgid "enables to limit maximum amount of provisioned hosts per rule"
|
|
175
158
|
msgstr "支持根据规则限制置备主机的最大数量"
|
176
159
|
|
177
160
|
#: ../app/controllers/api/v2/discovery_rules_controller.rb:37
|
178
|
-
msgid ""
|
179
|
-
"puts the rules in order, low numbers go first. Must be greater then zero"
|
161
|
+
msgid "puts the rules in order, low numbers go first. Must be greater then zero"
|
180
162
|
msgstr "按顺序排列规则,低数值优先。必须大于 0"
|
181
163
|
|
182
164
|
#: ../app/controllers/api/v2/discovery_rules_controller.rb:38
|
@@ -223,95 +205,95 @@ msgstr "重启期间出错:%s"
|
|
223
205
|
msgid "No discovered hosts to reboot"
|
224
206
|
msgstr "没有要重启的发现主机"
|
225
207
|
|
226
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
208
|
+
#: ../app/controllers/discovered_hosts_controller.rb:63
|
227
209
|
msgid "Successfully provisioned %s"
|
228
210
|
msgstr "已成功置备 %s"
|
229
211
|
|
230
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
212
|
+
#: ../app/controllers/discovered_hosts_controller.rb:96
|
231
213
|
msgid "Facts refreshed for %s"
|
232
214
|
msgstr "为 %s 刷新详情"
|
233
215
|
|
234
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
216
|
+
#: ../app/controllers/discovered_hosts_controller.rb:98
|
235
217
|
msgid "Failed to refresh facts for %s"
|
236
218
|
msgstr "为 %s 刷新详情失败"
|
237
219
|
|
238
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
220
|
+
#: ../app/controllers/discovered_hosts_controller.rb:101
|
239
221
|
msgid "Failed to refresh facts for %{hostname} with error %{error_message}"
|
240
222
|
msgstr "为 %{hostname} 刷新详情失败,发生错误 %{error_message} "
|
241
223
|
|
242
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
224
|
+
#: ../app/controllers/discovered_hosts_controller.rb:108
|
243
225
|
msgid "Host of type %s can not be rebooted"
|
244
226
|
msgstr "%s 类型的主机不能重启"
|
245
227
|
|
246
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
228
|
+
#: ../app/controllers/discovered_hosts_controller.rb:112
|
247
229
|
msgid "Rebooting host %s"
|
248
230
|
msgstr "正在重启主机 %s"
|
249
231
|
|
250
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
232
|
+
#: ../app/controllers/discovered_hosts_controller.rb:114
|
251
233
|
msgid "Failed to reboot host %s"
|
252
234
|
msgstr "无法重启主机 %s"
|
253
235
|
|
254
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
236
|
+
#: ../app/controllers/discovered_hosts_controller.rb:117
|
255
237
|
msgid "Failed to reboot host %{hostname} with error %{error_message}"
|
256
238
|
msgstr "无法重启主机 %{hostname},发生错误 %{error_message}"
|
257
239
|
|
258
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
240
|
+
#: ../app/controllers/discovered_hosts_controller.rb:131
|
259
241
|
msgid "Failed to reboot hosts with error %s"
|
260
242
|
msgstr "无法重启主机,发生错误 %s"
|
261
243
|
|
262
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
244
|
+
#: ../app/controllers/discovered_hosts_controller.rb:149
|
263
245
|
msgid "Destroyed selected hosts"
|
264
246
|
msgstr "消除所选主机"
|
265
247
|
|
266
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
248
|
+
#: ../app/controllers/discovered_hosts_controller.rb:151
|
267
249
|
msgid "The following hosts were not deleted: %s"
|
268
250
|
msgstr "未删除以下主机:%s"
|
269
251
|
|
270
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
252
|
+
#: ../app/controllers/discovered_hosts_controller.rb:163
|
271
253
|
msgid "Failed to auto provision host %s: %s"
|
272
254
|
msgstr "无法自动置备主机 %s:%s"
|
273
255
|
|
274
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
256
|
+
#: ../app/controllers/discovered_hosts_controller.rb:191
|
275
257
|
msgid "Discovered hosts are provisioning now"
|
276
258
|
msgstr "现在发现主机正在置备"
|
277
259
|
|
278
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
260
|
+
#: ../app/controllers/discovered_hosts_controller.rb:223
|
279
261
|
msgid "Highlights"
|
280
262
|
msgstr "亮点"
|
281
263
|
|
282
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
264
|
+
#: ../app/controllers/discovered_hosts_controller.rb:223
|
283
265
|
msgid "Storage"
|
284
266
|
msgstr "存储"
|
285
267
|
|
286
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
268
|
+
#: ../app/controllers/discovered_hosts_controller.rb:223
|
287
269
|
msgid "Hardware"
|
288
270
|
msgstr "硬件"
|
289
271
|
|
290
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
272
|
+
#: ../app/controllers/discovered_hosts_controller.rb:223
|
291
273
|
msgid "Network"
|
292
274
|
msgstr "网络"
|
293
275
|
|
294
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
276
|
+
#: ../app/controllers/discovered_hosts_controller.rb:223
|
295
277
|
msgid "Software"
|
296
278
|
msgstr "软件"
|
297
279
|
|
298
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
280
|
+
#: ../app/controllers/discovered_hosts_controller.rb:223
|
299
281
|
msgid "IPMI"
|
300
282
|
msgstr "IPMI"
|
301
283
|
|
302
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
284
|
+
#: ../app/controllers/discovered_hosts_controller.rb:223
|
303
285
|
msgid "Miscellaneous"
|
304
286
|
msgstr "杂项"
|
305
287
|
|
306
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
288
|
+
#: ../app/controllers/discovered_hosts_controller.rb:301
|
307
289
|
msgid "No hosts were found with that id or name"
|
308
290
|
msgstr "未找到符合此 id 或者名称的主机"
|
309
291
|
|
310
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
292
|
+
#: ../app/controllers/discovered_hosts_controller.rb:305
|
311
293
|
msgid "No hosts selected"
|
312
294
|
msgstr "未选择任何主机"
|
313
295
|
|
314
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
296
|
+
#: ../app/controllers/discovered_hosts_controller.rb:311
|
315
297
|
msgid "Something went wrong while selecting hosts - %s"
|
316
298
|
msgstr "选择主机时出错 - %s"
|
317
299
|
|
@@ -327,19 +309,15 @@ msgstr "已禁用规则"
|
|
327
309
|
msgid "%s ago"
|
328
310
|
msgstr "%s 前"
|
329
311
|
|
330
|
-
#: ../app/helpers/discovered_hosts_helper.rb:14
|
331
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:46
|
312
|
+
#: ../app/helpers/discovered_hosts_helper.rb:14 ../app/helpers/discovered_hosts_helper.rb:29 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:46
|
332
313
|
msgid "Auto Provision"
|
333
314
|
msgstr "自动置备"
|
334
315
|
|
335
|
-
#: ../app/helpers/discovered_hosts_helper.rb:15
|
336
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:47
|
316
|
+
#: ../app/helpers/discovered_hosts_helper.rb:15 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:47
|
337
317
|
msgid "Refresh facts"
|
338
318
|
msgstr "刷新详情"
|
339
319
|
|
340
|
-
#: ../app/helpers/discovered_hosts_helper.rb:16
|
341
|
-
#: ../app/models/setting/discovered.rb:23
|
342
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:48
|
320
|
+
#: ../app/helpers/discovered_hosts_helper.rb:16 ../app/helpers/discovered_hosts_helper.rb:30 ../app/models/setting/discovered.rb:23 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:48
|
343
321
|
msgid "Reboot"
|
344
322
|
msgstr "重启"
|
345
323
|
|
@@ -347,62 +325,51 @@ msgstr "重启"
|
|
347
325
|
msgid "Back"
|
348
326
|
msgstr "后退"
|
349
327
|
|
350
|
-
#: ../app/helpers/discovered_hosts_helper.rb:21
|
351
|
-
#: ../app/helpers/discovered_hosts_helper.rb:37
|
328
|
+
#: ../app/helpers/discovered_hosts_helper.rb:21 ../app/helpers/discovered_hosts_helper.rb:35
|
352
329
|
msgid "Select Action"
|
353
330
|
msgstr "选择动作"
|
354
331
|
|
355
|
-
#: ../app/helpers/discovered_hosts_helper.rb:23
|
356
|
-
msgid "Expand All"
|
357
|
-
msgstr "展开全部"
|
358
|
-
|
359
|
-
#: ../app/helpers/discovered_hosts_helper.rb:27
|
360
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:49
|
332
|
+
#: ../app/helpers/discovered_hosts_helper.rb:23 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:49
|
361
333
|
msgid "Delete %s?"
|
362
334
|
msgstr "删除 %s"
|
363
335
|
|
364
|
-
#: ../app/helpers/discovered_hosts_helper.rb:
|
365
|
-
msgid "Delete hosts"
|
366
|
-
msgstr "删除主机"
|
367
|
-
|
368
|
-
#: ../app/helpers/discovered_hosts_helper.rb:34
|
336
|
+
#: ../app/helpers/discovered_hosts_helper.rb:31
|
369
337
|
msgid "Assign Organization"
|
370
338
|
msgstr "指定机构"
|
371
339
|
|
372
|
-
#: ../app/helpers/discovered_hosts_helper.rb:
|
340
|
+
#: ../app/helpers/discovered_hosts_helper.rb:32
|
373
341
|
msgid "Assign Location"
|
374
342
|
msgstr "指定位置"
|
375
343
|
|
376
|
-
#: ../app/helpers/discovered_hosts_helper.rb:
|
344
|
+
#: ../app/helpers/discovered_hosts_helper.rb:33
|
345
|
+
msgid "Delete"
|
346
|
+
msgstr ""
|
347
|
+
|
348
|
+
#: ../app/helpers/discovered_hosts_helper.rb:37
|
377
349
|
msgid "%s - The following hosts are about to be changed"
|
378
350
|
msgstr "%s - 要更改以下主机"
|
379
351
|
|
380
|
-
#: ../app/helpers/discovered_hosts_helper.rb:
|
381
|
-
#: ../app/views/dashboard/_discovery_widget_host.html.erb:2
|
352
|
+
#: ../app/helpers/discovered_hosts_helper.rb:46 ../app/views/dashboard/_discovery_widget_host.html.erb:2
|
382
353
|
msgid "N/A"
|
383
354
|
msgstr "N/A"
|
384
355
|
|
385
|
-
#: ../app/helpers/discovered_hosts_helper.rb:
|
356
|
+
#: ../app/helpers/discovered_hosts_helper.rb:58
|
386
357
|
msgid "New in the last 24 hours"
|
387
358
|
msgstr "在最近 24 小时之内新建"
|
388
359
|
|
389
|
-
#: ../app/helpers/discovered_hosts_helper.rb:
|
360
|
+
#: ../app/helpers/discovered_hosts_helper.rb:62
|
390
361
|
msgid "Not reported in more than 7 days"
|
391
362
|
msgstr " 超过 7 天没有报告"
|
392
363
|
|
393
|
-
#: ../app/helpers/discovered_hosts_helper.rb:
|
364
|
+
#: ../app/helpers/discovered_hosts_helper.rb:66
|
394
365
|
msgid "Reported in the last 7 days"
|
395
366
|
msgstr "最近 7 天内报告"
|
396
367
|
|
397
|
-
#: ../app/helpers/discovered_hosts_helper.rb:
|
368
|
+
#: ../app/helpers/discovered_hosts_helper.rb:90
|
398
369
|
msgid "Provision"
|
399
370
|
msgstr "供应"
|
400
371
|
|
401
|
-
#: ../app/helpers/discovery_rules_helper.rb:26
|
402
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:2
|
403
|
-
#: ../app/views/discovered_hosts/welcome.html.erb:1
|
404
|
-
#: ../app/views/discovered_hosts/welcome.html.erb:6
|
405
|
-
#: ../lib/foreman_discovery/engine.rb:166
|
372
|
+
#: ../app/helpers/discovery_rules_helper.rb:26 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:2 ../app/views/discovered_hosts/welcome.html.erb:1 ../app/views/discovered_hosts/welcome.html.erb:6 ../lib/foreman_discovery/engine.rb:173
|
406
373
|
msgid "Discovered Hosts"
|
407
374
|
msgstr "发现主机"
|
408
375
|
|
@@ -438,64 +405,61 @@ msgstr "必须指定一个启用了电子邮件的用户"
|
|
438
405
|
msgid "Discovered hosts summary"
|
439
406
|
msgstr "发现主机摘要"
|
440
407
|
|
441
|
-
#: ../app/models/discovery_rule.rb:
|
408
|
+
#: ../app/models/discovery_rule.rb:10
|
442
409
|
msgid "can't contain white spaces."
|
443
410
|
msgstr "不能包含空格。"
|
444
411
|
|
445
|
-
#: ../app/models/discovery_rule.rb:
|
412
|
+
#: ../app/models/discovery_rule.rb:12
|
446
413
|
msgid "must start with a letter or ERB."
|
447
414
|
msgstr "必须以字母或 ERB 开始。"
|
448
415
|
|
449
|
-
#: ../app/models/discovery_rule.rb:
|
450
|
-
msgid ""
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
416
|
+
#: ../app/models/discovery_rule.rb:15
|
417
|
+
msgid "must be present."
|
418
|
+
msgstr ""
|
419
|
+
|
420
|
+
#: ../app/models/discovery_rule.rb:48
|
421
|
+
msgid "Host group organization %s must also be associated to the discovery rule"
|
422
|
+
msgid_plural "Host group organizations %s must also be associated to the discovery rule"
|
423
|
+
msgstr[0] ""
|
424
|
+
"主机组机构 %s 也必须与发现规则关联\n"
|
425
|
+
"主机组机构 %s 也必须与发现规则关联"
|
455
426
|
|
456
|
-
#: ../app/models/discovery_rule.rb:
|
427
|
+
#: ../app/models/discovery_rule.rb:54
|
457
428
|
msgid "Host group location %s must also be associated to the discovery rule"
|
458
|
-
msgid_plural ""
|
459
|
-
|
460
|
-
|
429
|
+
msgid_plural "Host group locations %s must also be associated to the discovery rule"
|
430
|
+
msgstr[0] ""
|
431
|
+
"主机组位置 %s 也必须与发现规则关联\n"
|
432
|
+
"主机组位置 %s 也必须与发现规则关联"
|
461
433
|
|
462
|
-
#: ../app/models/host/discovered.rb:
|
434
|
+
#: ../app/models/host/discovered.rb:51
|
463
435
|
msgid "Invalid facts, must be a Hash"
|
464
436
|
msgstr "无效详情,必须是 Hash"
|
465
437
|
|
466
|
-
#: ../app/models/host/discovered.rb:
|
467
|
-
msgid ""
|
468
|
-
"Expected discovery_fact '%s' is missing, unable to detect primary interface "
|
469
|
-
"and set hostname"
|
438
|
+
#: ../app/models/host/discovered.rb:56
|
439
|
+
msgid "Expected discovery_fact '%s' is missing, unable to detect primary interface and set hostname"
|
470
440
|
msgstr "期望的 discovery_fact '%s' 缺失,无法检测主接口和设置主机名称"
|
471
441
|
|
472
|
-
#: ../app/models/host/discovered.rb:
|
473
|
-
msgid ""
|
474
|
-
"Invalid facts: hash does not contain a valid value for any of the facts in "
|
475
|
-
"the discovery_hostname setting: %s"
|
442
|
+
#: ../app/models/host/discovered.rb:63
|
443
|
+
msgid "Invalid facts: hash does not contain a valid value for any of the facts in the discovery_hostname setting: %s"
|
476
444
|
msgstr "无效详情:hash 不包含 discovery_hostname 设置中任何详情的有效值:%s"
|
477
445
|
|
478
|
-
#: ../app/models/host/discovered.rb:
|
446
|
+
#: ../app/models/host/discovered.rb:89
|
479
447
|
msgid "Facts could not be imported"
|
480
448
|
msgstr "无法导入详情"
|
481
449
|
|
482
|
-
#: ../app/models/host/discovered.rb:
|
483
|
-
msgid "Unable to assign subnet, primary interface is missing IP address"
|
484
|
-
msgstr "无法分配子网,主接口缺少 IP 地址"
|
485
|
-
|
486
|
-
#: ../app/models/host/discovered.rb:190
|
450
|
+
#: ../app/models/host/discovered.rb:212
|
487
451
|
msgid "Could not get facts from proxy %{url}: %{error}"
|
488
452
|
msgstr "无法从代理 %{url} 获得详情:%{error}"
|
489
453
|
|
490
|
-
#: ../app/models/host/discovered.rb:
|
454
|
+
#: ../app/models/host/discovered.rb:220
|
491
455
|
msgid "Unable to reboot %{name} via %{url}: %{msg}"
|
492
456
|
msgstr "无法通过 %{url} 重启 %{name} :%{msg}"
|
493
457
|
|
494
|
-
#: ../app/models/host/discovered.rb:
|
458
|
+
#: ../app/models/host/discovered.rb:228
|
495
459
|
msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
|
496
460
|
msgstr "无法通过 %{url} 在 %{name} 上执行 kexec:%{msg}"
|
497
461
|
|
498
|
-
#: ../app/models/host/discovered.rb:
|
462
|
+
#: ../app/models/host/discovered.rb:247
|
499
463
|
msgid "Invalid hostname: Could not normalize the hostname"
|
500
464
|
msgstr "无效的主机名:无法标准化主机名"
|
501
465
|
|
@@ -548,9 +512,7 @@ msgid "Hostname facts"
|
|
548
512
|
msgstr "主机名详情"
|
549
513
|
|
550
514
|
#: ../app/models/setting/discovered.rb:22
|
551
|
-
msgid ""
|
552
|
-
"Automatically provision newly discovered hosts, according to the "
|
553
|
-
"provisioning rules"
|
515
|
+
msgid "Automatically provision newly discovered hosts, according to the provisioning rules"
|
554
516
|
msgstr "根据置备规则,自动置备新发现主机"
|
555
517
|
|
556
518
|
#: ../app/models/setting/discovered.rb:22
|
@@ -626,9 +588,7 @@ msgid "IPMI facts"
|
|
626
588
|
msgstr "IPMI 详情"
|
627
589
|
|
628
590
|
#: ../app/models/setting/discovered.rb:32
|
629
|
-
msgid ""
|
630
|
-
"Automatically generate PXE configuration to pin a newly discovered host to "
|
631
|
-
"discovery"
|
591
|
+
msgid "Automatically generate PXE configuration to pin a newly discovered host to discovery"
|
632
592
|
msgstr "自动生成 PXE 配置,以将新发现主机固定至发现"
|
633
593
|
|
634
594
|
#: ../app/models/setting/discovered.rb:32
|
@@ -667,27 +627,41 @@ msgstr "置备发现主机时强制 DNS 条目创建"
|
|
667
627
|
msgid "Force DNS"
|
668
628
|
msgstr "强制 DNS"
|
669
629
|
|
670
|
-
#: ../app/models/setting/discovered.rb:
|
630
|
+
#: ../app/models/setting/discovered.rb:37
|
631
|
+
msgid "Do not allow to discover existing managed host matching MAC of a provisioning NIC (errors out early)"
|
632
|
+
msgstr ""
|
633
|
+
|
634
|
+
#: ../app/models/setting/discovered.rb:37
|
635
|
+
msgid "Error on existing NIC"
|
636
|
+
msgstr ""
|
637
|
+
|
638
|
+
#: ../app/models/setting/discovered.rb:44
|
671
639
|
msgid "The default location to place discovered hosts in"
|
672
640
|
msgstr "找到主机的默认位置"
|
673
641
|
|
674
|
-
#: ../app/models/setting/discovered.rb:
|
642
|
+
#: ../app/models/setting/discovered.rb:44
|
675
643
|
msgid "Discovery location"
|
676
644
|
msgstr "发现位置"
|
677
645
|
|
678
|
-
#: ../app/models/setting/discovered.rb:
|
646
|
+
#: ../app/models/setting/discovered.rb:52
|
679
647
|
msgid "The default organization to place discovered hosts in"
|
680
648
|
msgstr "找到主机的默认机构"
|
681
649
|
|
682
|
-
#: ../app/models/setting/discovered.rb:
|
650
|
+
#: ../app/models/setting/discovered.rb:52
|
683
651
|
msgid "Discovery organization"
|
684
652
|
msgstr "发现机构"
|
685
653
|
|
686
|
-
#: ../app/services/foreman_discovery/fact_parser.rb:
|
687
|
-
msgid ""
|
688
|
-
|
689
|
-
|
690
|
-
|
654
|
+
#: ../app/services/foreman_discovery/fact_parser.rb:4
|
655
|
+
msgid "Discovery fact parser does not work with non-discovery host '%{host}'"
|
656
|
+
msgstr ""
|
657
|
+
|
658
|
+
#: ../app/services/foreman_discovery/fact_parser.rb:6
|
659
|
+
msgid "Discovered host '%{host}' has all NICs filtered out, filter: %{filter}"
|
660
|
+
msgstr ""
|
661
|
+
|
662
|
+
#: ../app/services/foreman_discovery/fact_parser.rb:12
|
663
|
+
msgid "Unable to find primary NIC with %{mac} specified via '%{fact}', NIC filter: %{filter}"
|
664
|
+
msgstr ""
|
691
665
|
|
692
666
|
#: ../app/services/foreman_discovery/node_api/node_resource.rb:75
|
693
667
|
msgid "Image API returned HTTP/%{code} with '%{body}"
|
@@ -705,25 +679,15 @@ msgstr "没有可用的发现主机"
|
|
705
679
|
msgid "Host"
|
706
680
|
msgstr "主机"
|
707
681
|
|
708
|
-
#: ../app/views/dashboard/_discovery_widget_host_list.html.erb:4
|
709
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:7
|
710
|
-
#: ../app/views/discovered_hosts/_selected_hosts.html.erb:8
|
711
|
-
#: ../app/views/discovered_mailer/discovered_summary.html.erb:18
|
712
|
-
#: ../app/views/discovered_mailer/discovered_summary.text.erb:10
|
682
|
+
#: ../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
|
713
683
|
msgid "Model"
|
714
684
|
msgstr "型号"
|
715
685
|
|
716
|
-
#: ../app/views/dashboard/_discovery_widget_host_list.html.erb:5
|
717
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:9
|
718
|
-
#: ../app/views/discovered_mailer/discovered_summary.html.erb:20
|
719
|
-
#: ../app/views/discovered_mailer/discovered_summary.text.erb:12
|
686
|
+
#: ../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
|
720
687
|
msgid "CPUs"
|
721
688
|
msgstr "CPU"
|
722
689
|
|
723
|
-
#: ../app/views/dashboard/_discovery_widget_host_list.html.erb:6
|
724
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:10
|
725
|
-
#: ../app/views/discovered_mailer/discovered_summary.html.erb:21
|
726
|
-
#: ../app/views/discovered_mailer/discovered_summary.text.erb:13
|
690
|
+
#: ../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
|
727
691
|
msgid "Memory"
|
728
692
|
msgstr "内存"
|
729
693
|
|
@@ -743,16 +707,11 @@ msgstr "选择本页中的所有项目"
|
|
743
707
|
msgid "items selected. Uncheck to Clear"
|
744
708
|
msgstr "已选择项目。取消选择清除。"
|
745
709
|
|
746
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:6
|
747
|
-
#: ../app/views/discovered_hosts/_selected_hosts.html.erb:7
|
748
|
-
#: ../app/views/discovered_mailer/discovered_summary.html.erb:17
|
749
|
-
#: ../app/views/discovered_mailer/discovered_summary.text.erb:9
|
710
|
+
#: ../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
|
750
711
|
msgid "Name"
|
751
712
|
msgstr "名称"
|
752
713
|
|
753
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:8
|
754
|
-
#: ../app/views/discovered_mailer/discovered_summary.html.erb:19
|
755
|
-
#: ../app/views/discovered_mailer/discovered_summary.text.erb:11
|
714
|
+
#: ../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
|
756
715
|
msgid "IP Address"
|
757
716
|
msgstr "IP 地址"
|
758
717
|
|
@@ -764,13 +723,11 @@ msgstr "磁盘计数"
|
|
764
723
|
msgid "Disks Size"
|
765
724
|
msgstr "磁盘大小"
|
766
725
|
|
767
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:17
|
768
|
-
#: ../app/views/discovered_hosts/_selected_hosts.html.erb:10
|
726
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:17 ../app/views/discovered_hosts/_selected_hosts.html.erb:10
|
769
727
|
msgid "Location"
|
770
728
|
msgstr "位置"
|
771
729
|
|
772
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:20
|
773
|
-
#: ../app/views/discovered_hosts/_selected_hosts.html.erb:13
|
730
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:20 ../app/views/discovered_hosts/_selected_hosts.html.erb:13
|
774
731
|
msgid "Organization"
|
775
732
|
msgstr "机构"
|
776
733
|
|
@@ -798,18 +755,8 @@ msgstr "提交"
|
|
798
755
|
msgid "Provision %s"
|
799
756
|
msgstr "置备 %s"
|
800
757
|
|
801
|
-
#: ../app/views/discovered_hosts/index.html.erb:2
|
802
|
-
msgid "Reboot All"
|
803
|
-
msgstr "全部重启"
|
804
|
-
|
805
|
-
#: ../app/views/discovered_hosts/index.html.erb:3
|
806
|
-
msgid "Auto Provision All"
|
807
|
-
msgstr "全部自动置备"
|
808
|
-
|
809
758
|
#: ../app/views/discovered_hosts/multiple_destroy.html.erb:3
|
810
|
-
msgid ""
|
811
|
-
"This might take a while, as all hosts, facts and reports will be destroyed "
|
812
|
-
"as well"
|
759
|
+
msgid "This might take a while, as all hosts, facts and reports will be destroyed as well"
|
813
760
|
msgstr "这需要一些时间,因为同时还要删除所有主机、详情及报告。"
|
814
761
|
|
815
762
|
#: ../app/views/discovered_hosts/select_multiple_location.html.erb:5
|
@@ -824,34 +771,36 @@ msgstr "选择机构"
|
|
824
771
|
msgid "Discovered host: %s"
|
825
772
|
msgstr "找到的主机:%s"
|
826
773
|
|
827
|
-
#: ../app/views/discovered_hosts/show.html.erb:
|
774
|
+
#: ../app/views/discovered_hosts/show.html.erb:37
|
828
775
|
msgid "Interfaces"
|
829
776
|
msgstr "接口"
|
830
777
|
|
831
|
-
#: ../app/views/discovered_hosts/show.html.erb:
|
778
|
+
#: ../app/views/discovered_hosts/show.html.erb:44
|
832
779
|
msgid "Type"
|
833
780
|
msgstr "类型"
|
834
781
|
|
835
|
-
#: ../app/views/discovered_hosts/show.html.erb:
|
782
|
+
#: ../app/views/discovered_hosts/show.html.erb:45
|
836
783
|
msgid "Identifier"
|
837
784
|
msgstr "身份标识"
|
838
785
|
|
839
|
-
#: ../app/views/discovered_hosts/show.html.erb:
|
786
|
+
#: ../app/views/discovered_hosts/show.html.erb:46
|
840
787
|
msgid "MAC address"
|
841
788
|
msgstr "MAC 地址"
|
842
789
|
|
843
|
-
#: ../app/views/discovered_hosts/show.html.erb:
|
790
|
+
#: ../app/views/discovered_hosts/show.html.erb:47
|
844
791
|
msgid "IP address"
|
845
792
|
msgstr "IP 地址"
|
846
793
|
|
794
|
+
#: ../app/views/discovered_hosts/show.html.erb:66
|
795
|
+
msgid "Collapse All"
|
796
|
+
msgstr ""
|
797
|
+
|
847
798
|
#: ../app/views/discovered_hosts/welcome.html.erb:7
|
848
799
|
msgid "No discovered hosts found in this context."
|
849
800
|
msgstr ""
|
850
801
|
|
851
802
|
#: ../app/views/discovered_hosts/welcome.html.erb:8
|
852
|
-
msgid ""
|
853
|
-
"This page shows discovered bare-metal or virtual nodes waiting to be "
|
854
|
-
"provisioned."
|
803
|
+
msgid "This page shows discovered bare-metal or virtual nodes waiting to be provisioned."
|
855
804
|
msgstr ""
|
856
805
|
|
857
806
|
#: ../app/views/discovered_hosts/welcome.html.erb:9
|
@@ -866,23 +815,19 @@ msgstr "来自 Foreman 的 发现主机概述报告"
|
|
866
815
|
msgid "<b>Foreman</b> Discovered hosts summary"
|
867
816
|
msgstr "<b>Foreman</b> 发现主机概述"
|
868
817
|
|
869
|
-
#: ../app/views/discovered_mailer/discovered_summary.html.erb:10
|
870
|
-
#: ../app/views/discovered_mailer/discovered_summary.text.erb:5
|
818
|
+
#: ../app/views/discovered_mailer/discovered_summary.html.erb:10 ../app/views/discovered_mailer/discovered_summary.text.erb:5
|
871
819
|
msgid "Summary from %{time} ago to %{now}"
|
872
820
|
msgstr "从 %{time} 前到 %{now} 的概述"
|
873
821
|
|
874
|
-
#: ../app/views/discovered_mailer/discovered_summary.html.erb:11
|
875
|
-
#: ../app/views/discovered_mailer/discovered_summary.text.erb:3
|
822
|
+
#: ../app/views/discovered_mailer/discovered_summary.html.erb:11 ../app/views/discovered_mailer/discovered_summary.text.erb:3
|
876
823
|
msgid "Discovered hosts from Foreman server at %{foreman_url}"
|
877
824
|
msgstr "来自 %{foreman_url} Foreman 服务器的发现主机"
|
878
825
|
|
879
|
-
#: ../app/views/discovered_mailer/discovered_summary.html.erb:22
|
880
|
-
#: ../app/views/discovered_mailer/discovered_summary.text.erb:14
|
826
|
+
#: ../app/views/discovered_mailer/discovered_summary.html.erb:22 ../app/views/discovered_mailer/discovered_summary.text.erb:14
|
881
827
|
msgid "Disk count"
|
882
828
|
msgstr "磁盘计数"
|
883
829
|
|
884
|
-
#: ../app/views/discovered_mailer/discovered_summary.html.erb:23
|
885
|
-
#: ../app/views/discovered_mailer/discovered_summary.text.erb:15
|
830
|
+
#: ../app/views/discovered_mailer/discovered_summary.html.erb:23 ../app/views/discovered_mailer/discovered_summary.text.erb:15
|
886
831
|
msgid "Disks size"
|
887
832
|
msgstr "磁盘大小"
|
888
833
|
|
@@ -931,38 +876,28 @@ msgid "Rule priority (lower integer means higher priority)"
|
|
931
876
|
msgstr "规则优先级(整数越小,优先级越高)"
|
932
877
|
|
933
878
|
#: ../app/views/discovery_rules/_template_inline.erb:2
|
934
|
-
msgid ""
|
935
|
-
"Specify target hostname template pattern in the same syntax as in "
|
936
|
-
"Provisioning Templates (ERB)."
|
879
|
+
msgid "Specify target hostname template pattern in the same syntax as in Provisioning Templates (ERB)."
|
937
880
|
msgstr "以与置备模板 (ERB) 中相同的语法指定目标主机名模板模式。"
|
938
881
|
|
939
882
|
#: ../app/views/discovery_rules/_template_inline.erb:4
|
940
|
-
msgid ""
|
941
|
-
"Domain will be appended automatically. A hostname based on MAC address will "
|
942
|
-
"be used when left blank."
|
883
|
+
msgid "Domain will be appended automatically. A hostname based on MAC address will be used when left blank."
|
943
884
|
msgstr "域将自动附加。留空时将使用基于 MAC 地址的主机名。"
|
944
885
|
|
945
886
|
#: ../app/views/discovery_rules/_template_inline.erb:5
|
946
|
-
msgid ""
|
947
|
-
"In addition to @host attribute function rand for random integers is "
|
948
|
-
"available. Examples:"
|
887
|
+
msgid "In addition to @host attribute function rand for random integers is available. Examples:"
|
949
888
|
msgstr "除了 @host 属性函数之外,还提供随机整数 rand。"
|
950
889
|
|
951
890
|
#: ../app/views/discovery_rules/_template_inline.erb:8
|
952
|
-
msgid ""
|
953
|
-
"When creating hostname patterns, make sure the resulting host names are "
|
954
|
-
"unique."
|
891
|
+
msgid "When creating hostname patterns, make sure the resulting host names are unique."
|
955
892
|
msgstr "创建主机名模式时,确保生成的主机名是唯一的。"
|
956
893
|
|
957
894
|
#: ../app/views/discovery_rules/_template_inline.erb:9
|
958
|
-
msgid ""
|
959
|
-
"Hostnames must not start with numbers. A good approach is to use unique "
|
960
|
-
"information provided by facter (MAC address, BIOS or serial ID)."
|
895
|
+
msgid "Hostnames must not start with numbers. A good approach is to use unique information provided by facter (MAC address, BIOS or serial ID)."
|
961
896
|
msgstr "主机名不得以数字开始。一种好方法是使用 facter 提供的独特信息(MAC 地址、BIOS 或序列 ID)。"
|
962
897
|
|
963
898
|
#: ../app/views/discovery_rules/edit.html.erb:1
|
964
|
-
msgid "Edit
|
965
|
-
msgstr "
|
899
|
+
msgid "Edit %s"
|
900
|
+
msgstr ""
|
966
901
|
|
967
902
|
#: ../app/views/discovery_rules/index.html.erb:1
|
968
903
|
msgid "Discovery Rules"
|
@@ -1016,30 +951,26 @@ msgstr "已发现一个或多个主机"
|
|
1016
951
|
msgid "Details"
|
1017
952
|
msgstr "详情"
|
1018
953
|
|
1019
|
-
#: ../lib/foreman_discovery/engine.rb:
|
954
|
+
#: ../lib/foreman_discovery/engine.rb:158
|
1020
955
|
msgid "Discovered hosts"
|
1021
956
|
msgstr "找到的主机"
|
1022
957
|
|
1023
|
-
#: ../lib/foreman_discovery/engine.rb:
|
958
|
+
#: ../lib/foreman_discovery/engine.rb:163
|
1024
959
|
msgid "Discovery rules"
|
1025
960
|
msgstr "发现规则"
|
1026
961
|
|
1027
|
-
#: ../lib/foreman_discovery/engine.rb:
|
962
|
+
#: ../lib/foreman_discovery/engine.rb:179
|
1028
963
|
msgid "Discovery Kexec template"
|
1029
964
|
msgstr "发现 Kexec 模板"
|
1030
965
|
|
1031
|
-
#: ../lib/foreman_discovery/engine.rb:
|
966
|
+
#: ../lib/foreman_discovery/engine.rb:188
|
1032
967
|
msgid "Discovery Proxy"
|
1033
968
|
msgstr "发现代理服务器"
|
1034
969
|
|
1035
|
-
#: ../lib/foreman_discovery/engine.rb:
|
1036
|
-
msgid ""
|
1037
|
-
"Discovery Proxy to use within this subnet for managing connection to "
|
1038
|
-
"discovered hosts"
|
970
|
+
#: ../lib/foreman_discovery/engine.rb:189
|
971
|
+
msgid "Discovery Proxy to use within this subnet for managing connection to discovered hosts"
|
1039
972
|
msgstr "本子网内用于管理到发现主机的连接的发现代理服务器"
|
1040
973
|
|
1041
|
-
#: ../lib/foreman_discovery/engine.rb:
|
1042
|
-
msgid ""
|
1043
|
-
"ID of Discovery Proxy to use within this subnet for managing connection to "
|
1044
|
-
"discovered hosts"
|
974
|
+
#: ../lib/foreman_discovery/engine.rb:190
|
975
|
+
msgid "ID of Discovery Proxy to use within this subnet for managing connection to discovered hosts"
|
1045
976
|
msgstr "本子网内用于管理到发现主机的连接的发现代理服务器 ID"
|