foreman_discovery 16.3.1 → 17.0.1
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/controllers/api/v2/discovered_hosts_controller.rb +1 -0
- data/app/controllers/discovered_hosts_controller.rb +24 -35
- data/app/controllers/discovery_rules_controller.rb +12 -1
- data/app/helpers/discovered_hosts_helper.rb +6 -1
- data/app/helpers/discovery_rules_helper.rb +1 -0
- data/app/models/discovery_rule.rb +10 -5
- data/app/services/foreman_discovery/fact_to_category_resolver.rb +106 -0
- data/app/services/foreman_discovery/ui_notifications/failed_discovery.rb +34 -0
- data/app/services/foreman_discovery/ui_notifications/new_host.rb +2 -1
- data/app/views/discovered_hosts/_discovered_hosts_list.html.erb +44 -40
- data/app/views/discovered_hosts/welcome.html.erb +1 -2
- data/app/views/discovery_rules/clone.erb +3 -0
- data/app/views/discovery_rules/index.html.erb +4 -0
- data/app/views/discovery_rules/welcome.html.erb +15 -0
- data/app/views/foreman_discovery/debian_kexec.erb +1 -1
- data/app/views/foreman_discovery/redhat_kexec.erb +1 -1
- data/config/routes.rb +2 -0
- data/db/seeds.d/80_discovery_ui_notification.rb +11 -5
- data/lib/foreman_discovery/engine.rb +3 -7
- 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 +136 -98
- data/locale/ca/foreman_discovery.po +36 -9
- data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/de/foreman_discovery.edit.po +148 -112
- data/locale/de/foreman_discovery.po +45 -18
- data/locale/en/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/en/foreman_discovery.edit.po +127 -91
- data/locale/en/foreman_discovery.po +31 -4
- data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/en_GB/foreman_discovery.edit.po +139 -109
- data/locale/en_GB/foreman_discovery.po +36 -9
- data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/es/foreman_discovery.edit.po +172 -140
- data/locale/es/foreman_discovery.po +70 -41
- data/locale/foreman_discovery.pot +142 -97
- data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/fr/foreman_discovery.edit.po +179 -147
- data/locale/fr/foreman_discovery.po +76 -49
- data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/gl/foreman_discovery.edit.po +133 -92
- data/locale/gl/foreman_discovery.po +32 -5
- data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/it/foreman_discovery.edit.po +147 -106
- data/locale/it/foreman_discovery.po +44 -17
- data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/ja/foreman_discovery.edit.po +182 -152
- data/locale/ja/foreman_discovery.po +79 -54
- data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/ko/foreman_discovery.edit.po +146 -105
- data/locale/ko/foreman_discovery.po +43 -16
- data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/pt_BR/foreman_discovery.edit.po +171 -136
- data/locale/pt_BR/foreman_discovery.po +69 -39
- data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/ru/foreman_discovery.edit.po +147 -106
- data/locale/ru/foreman_discovery.po +43 -16
- data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/sv_SE/foreman_discovery.edit.po +135 -94
- data/locale/sv_SE/foreman_discovery.po +34 -7
- data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/zh_CN/foreman_discovery.edit.po +217 -188
- data/locale/zh_CN/foreman_discovery.po +114 -90
- data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
- data/locale/zh_TW/foreman_discovery.edit.po +146 -105
- data/locale/zh_TW/foreman_discovery.po +43 -16
- data/package.json +7 -7
- data/test/functional/api/v2/discovered_hosts_controller_test.rb +9 -0
- data/test/functional/discovery_rules_controller_test.rb +6 -1
- data/test/integration/discovered_hosts_test.rb +53 -5
- data/test/test_helper_discovery.rb +5 -0
- data/test/unit/discovery_rule_test.rb +24 -2
- data/test/unit/fact_to_category_resolver_test.rb +41 -0
- data/test/unit/ui_notifications/destroy_host_test.rb +2 -9
- data/test/unit/ui_notifications/new_host_test.rb +3 -3
- data/webpack/__mocks__/foremanReact/common/I18n.js +3 -0
- data/webpack/__mocks__/foremanReact/common/helpers.js +1 -0
- data/webpack/__mocks__/foremanReact/common/index.js +5 -0
- data/webpack/__mocks__/foremanReact/components/common/EmptyState/DefaultEmptyState.js +69 -0
- data/webpack/__mocks__/foremanReact/components/common/EmptyState/EmptyStatePattern.js +77 -0
- data/webpack/__mocks__/foremanReact/components/common/EmptyState/EmptyStatePropTypes.js +29 -0
- data/webpack/__mocks__/foremanReact/components/common/EmptyState/index.js +5 -0
- data/webpack/index.js +9 -8
- data/webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/EmptyState.js +7 -7
- data/webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/__test__/EmptyState.test.js +12 -0
- data/webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/__test__/__snapshots__/EmptyState.test.js.snap +16 -0
- data/webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/index.js +1 -1
- data/webpack/src/ForemanDiscovery/DiscoveredHosts/index.js +3 -3
- data/webpack/src/ForemanDiscovery/DiscoveryRules/Components/EmptyState/EmptyState.js +34 -0
- data/webpack/src/ForemanDiscovery/DiscoveryRules/Components/EmptyState/index.js +1 -0
- data/webpack/src/ForemanDiscovery/DiscoveryRules/Components/__test__/EmptyState.test.js +19 -0
- data/webpack/src/ForemanDiscovery/DiscoveryRules/Components/__test__/__snapshots__/EmptyState.test.js.snap +22 -0
- data/webpack/src/ForemanDiscovery/DiscoveryRules/index.js +6 -0
- data/webpack/src/reducers.js +0 -2
- metadata +39 -17
Binary file
|
@@ -5,9 +5,10 @@
|
|
5
5
|
# Translators:
|
6
6
|
msgid ""
|
7
7
|
msgstr ""
|
8
|
-
"Project-Id-Version: foreman_discovery 16.
|
8
|
+
"Project-Id-Version: foreman_discovery 16.3.4\n"
|
9
9
|
"Report-Msgid-Bugs-To: \n"
|
10
|
-
"
|
10
|
+
"POT-Creation-Date: 2021-05-03 08:46+0200\n"
|
11
|
+
"PO-Revision-Date: 2021-01-25 08:35+0000\n"
|
11
12
|
"Last-Translator: Transifex Bot <>\n"
|
12
13
|
"Language-Team: Chinese (Taiwan) (http://www.transifex.com/foreman/foreman/lang"
|
13
14
|
"uage/zh_TW/)\n"
|
@@ -55,7 +56,7 @@ msgstr ""
|
|
55
56
|
|
56
57
|
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:54 ../app/controllers/api/v2/discovered_hosts_controller.rb:57 ../app/controllers/api/v2/discovered_hosts_controller.rb:58 ../app/controllers/api/v2/discovered_hosts_controller.rb:61 ../app/controllers/api/v2/discovered_hosts_controller.rb:64
|
57
58
|
msgid "required if host is managed and value is not inherited from host group"
|
58
|
-
msgstr ""
|
59
|
+
msgstr "若主機是個受管理的主機,並且值不是由主機群組所繼承的話便需要"
|
59
60
|
|
60
61
|
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:55
|
61
62
|
msgid "not required if using a subnet with DHCP proxy"
|
@@ -67,27 +68,27 @@ msgstr ""
|
|
67
68
|
|
68
69
|
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:62
|
69
70
|
msgid "required if not imaged based provisioning and host is managed and value is not inherited from host group"
|
70
|
-
msgstr ""
|
71
|
+
msgstr "若不是基於映像檔的佈建,而主機受管理並且值並非由主機群組所繼承的話便需要"
|
71
72
|
|
72
73
|
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:63
|
73
74
|
msgid "required if host is managed and custom partition has not been defined"
|
74
|
-
msgstr ""
|
75
|
+
msgstr "若主機是個受管理的主機,並且尚未定義自訂分割區的話便需要"
|
75
76
|
|
76
77
|
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:69
|
77
78
|
msgid "Host's owner type"
|
78
|
-
msgstr ""
|
79
|
+
msgstr "主機的擁有者類型"
|
79
80
|
|
80
81
|
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:72
|
81
82
|
msgid "Host's parameters (array or indexed hash)"
|
82
|
-
msgstr ""
|
83
|
+
msgstr "主機參數(陣列或索引過的雜湊)"
|
83
84
|
|
84
85
|
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:73
|
85
86
|
msgid "Name of the parameter"
|
86
|
-
msgstr ""
|
87
|
+
msgstr "參數名稱"
|
87
88
|
|
88
89
|
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:74
|
89
90
|
msgid "Parameter value"
|
90
|
-
msgstr ""
|
91
|
+
msgstr "參數值"
|
91
92
|
|
92
93
|
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:75
|
93
94
|
msgid "Type of value"
|
@@ -113,51 +114,51 @@ msgstr "上傳主機的詳情,並視需求建立主機"
|
|
113
114
|
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)"
|
114
115
|
msgstr ""
|
115
116
|
|
116
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
117
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:130
|
117
118
|
msgid "Execute rules against a discovered host"
|
118
119
|
msgstr ""
|
119
120
|
|
120
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
121
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:136 ../app/controllers/discovered_hosts_controller.rb:157
|
121
122
|
msgid "Host %{host} was provisioned with rule %{rule}"
|
122
123
|
msgstr ""
|
123
124
|
|
124
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
125
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:139
|
125
126
|
msgid "Unable to provision %{host}: %{errors}"
|
126
127
|
msgstr ""
|
127
128
|
|
128
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
129
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:145 ../app/controllers/discovered_hosts_controller.rb:164
|
129
130
|
msgid "No rule found for host %s"
|
130
131
|
msgstr ""
|
131
132
|
|
132
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
133
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:152
|
133
134
|
msgid "Execute rules against all currently discovered hosts"
|
134
135
|
msgstr ""
|
135
136
|
|
136
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
137
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:156 ../app/controllers/discovered_hosts_controller.rb:170
|
137
138
|
msgid "Errors during auto provisioning: %s"
|
138
139
|
msgstr ""
|
139
140
|
|
140
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
141
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:159 ../app/controllers/discovered_hosts_controller.rb:173
|
141
142
|
msgid "No discovered hosts to provision"
|
142
143
|
msgstr ""
|
143
144
|
|
144
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
145
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:181
|
145
146
|
msgid "%s discovered hosts were provisioned"
|
146
147
|
msgstr ""
|
147
148
|
|
148
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
149
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:192
|
149
150
|
msgid "Refreshing the facts of a discovered host"
|
150
151
|
msgstr ""
|
151
152
|
|
152
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
153
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:201
|
153
154
|
msgid "Rebooting a discovered host"
|
154
155
|
msgstr ""
|
155
156
|
|
156
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
157
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:210
|
157
158
|
msgid "Rebooting all discovered hosts"
|
158
159
|
msgstr ""
|
159
160
|
|
160
|
-
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:
|
161
|
+
#: ../app/controllers/api/v2/discovered_hosts_controller.rb:221 ../app/controllers/discovered_hosts_controller.rb:126
|
161
162
|
msgid "Discovered hosts are rebooting now"
|
162
163
|
msgstr ""
|
163
164
|
|
@@ -237,119 +238,95 @@ msgstr ""
|
|
237
238
|
msgid "No discovered hosts to reboot"
|
238
239
|
msgstr ""
|
239
240
|
|
240
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
241
|
+
#: ../app/controllers/discovered_hosts_controller.rb:60
|
241
242
|
msgid "Successfully provisioned %s"
|
242
243
|
msgstr ""
|
243
244
|
|
244
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
245
|
+
#: ../app/controllers/discovered_hosts_controller.rb:94
|
245
246
|
msgid "Facts refreshed for %s"
|
246
247
|
msgstr "%s 的詳情已刷新"
|
247
248
|
|
248
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
249
|
+
#: ../app/controllers/discovered_hosts_controller.rb:96
|
249
250
|
msgid "Failed to refresh facts for %s"
|
250
251
|
msgstr "刷新 %s 的詳情失敗"
|
251
252
|
|
252
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
253
|
+
#: ../app/controllers/discovered_hosts_controller.rb:99
|
253
254
|
msgid "Failed to refresh facts for %{hostname} with error %{error_message}"
|
254
255
|
msgstr ""
|
255
256
|
|
256
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
257
|
+
#: ../app/controllers/discovered_hosts_controller.rb:106
|
257
258
|
msgid "Host of type %s can not be rebooted"
|
258
259
|
msgstr ""
|
259
260
|
|
260
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
261
|
+
#: ../app/controllers/discovered_hosts_controller.rb:110
|
261
262
|
msgid "Rebooting host %s"
|
262
263
|
msgstr ""
|
263
264
|
|
264
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
265
|
+
#: ../app/controllers/discovered_hosts_controller.rb:112
|
265
266
|
msgid "Failed to reboot host %s"
|
266
267
|
msgstr ""
|
267
268
|
|
268
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
269
|
+
#: ../app/controllers/discovered_hosts_controller.rb:115
|
269
270
|
msgid "Failed to reboot host %{hostname} with error %{error_message}"
|
270
271
|
msgstr ""
|
271
272
|
|
272
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
273
|
+
#: ../app/controllers/discovered_hosts_controller.rb:129
|
273
274
|
msgid "Failed to reboot hosts with error %s"
|
274
275
|
msgstr ""
|
275
276
|
|
276
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
277
|
+
#: ../app/controllers/discovered_hosts_controller.rb:147
|
277
278
|
msgid "Destroyed selected hosts"
|
278
279
|
msgstr "刪除選擇的主機"
|
279
280
|
|
280
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
281
|
+
#: ../app/controllers/discovered_hosts_controller.rb:149
|
281
282
|
msgid "The following hosts were not deleted: %s"
|
282
283
|
msgstr "下列主機尚未刪除:%s"
|
283
284
|
|
284
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
285
|
+
#: ../app/controllers/discovered_hosts_controller.rb:161
|
285
286
|
msgid "Failed to auto provision host %s: %s"
|
286
287
|
msgstr ""
|
287
288
|
|
288
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
289
|
+
#: ../app/controllers/discovered_hosts_controller.rb:189
|
289
290
|
msgid "Discovered hosts are provisioning now"
|
290
291
|
msgstr ""
|
291
292
|
|
292
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
293
|
-
msgid "
|
293
|
+
#: ../app/controllers/discovered_hosts_controller.rb:270
|
294
|
+
msgid "Discovered host reported from unknown subnet, communication will not be proxied."
|
294
295
|
msgstr ""
|
295
296
|
|
296
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
297
|
-
msgid "
|
298
|
-
msgstr "
|
299
|
-
|
300
|
-
#: ../app/controllers/discovered_hosts_controller.rb:226
|
301
|
-
msgid "Hardware"
|
302
|
-
msgstr "硬體"
|
303
|
-
|
304
|
-
#: ../app/controllers/discovered_hosts_controller.rb:226
|
305
|
-
msgid "Network"
|
306
|
-
msgstr "網路"
|
307
|
-
|
308
|
-
#: ../app/controllers/discovered_hosts_controller.rb:226
|
309
|
-
msgid "Software"
|
310
|
-
msgstr "軟體"
|
311
|
-
|
312
|
-
#: ../app/controllers/discovered_hosts_controller.rb:226
|
313
|
-
msgid "IPMI"
|
314
|
-
msgstr "IPMI"
|
315
|
-
|
316
|
-
#: ../app/controllers/discovered_hosts_controller.rb:226
|
317
|
-
msgid "Miscellaneous"
|
318
|
-
msgstr "雜項"
|
297
|
+
#: ../app/controllers/discovered_hosts_controller.rb:275
|
298
|
+
msgid "Discovered hosts reported from unknown subnet are %s, communication will not be proxied."
|
299
|
+
msgstr ""
|
319
300
|
|
320
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
301
|
+
#: ../app/controllers/discovered_hosts_controller.rb:289
|
321
302
|
msgid "No hosts were found with that id or name"
|
322
303
|
msgstr "沒有找到擁有此 ID 或名稱的主機"
|
323
304
|
|
324
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
305
|
+
#: ../app/controllers/discovered_hosts_controller.rb:293
|
325
306
|
msgid "No hosts selected"
|
326
307
|
msgstr "未選擇主機"
|
327
308
|
|
328
|
-
#: ../app/controllers/discovered_hosts_controller.rb:
|
309
|
+
#: ../app/controllers/discovered_hosts_controller.rb:299
|
329
310
|
msgid "Something went wrong while selecting hosts - %s"
|
330
311
|
msgstr "選擇主機時發生了錯誤 - %s"
|
331
312
|
|
332
|
-
#: ../app/controllers/discovery_rules_controller.rb:
|
313
|
+
#: ../app/controllers/discovery_rules_controller.rb:79
|
333
314
|
msgid "Rule enabled"
|
334
315
|
msgstr ""
|
335
316
|
|
336
|
-
#: ../app/controllers/discovery_rules_controller.rb:
|
317
|
+
#: ../app/controllers/discovery_rules_controller.rb:79
|
337
318
|
msgid "Rule disabled"
|
338
319
|
msgstr ""
|
339
320
|
|
340
|
-
#: ../app/helpers/discovered_hosts_helper.rb:
|
341
|
-
msgid "%s ago"
|
342
|
-
msgstr "%s 之前"
|
343
|
-
|
344
|
-
#: ../app/helpers/discovered_hosts_helper.rb:14 ../app/helpers/discovered_hosts_helper.rb:29 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:37
|
321
|
+
#: ../app/helpers/discovered_hosts_helper.rb:14 ../app/helpers/discovered_hosts_helper.rb:29 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:40
|
345
322
|
msgid "Auto Provision"
|
346
323
|
msgstr ""
|
347
324
|
|
348
|
-
#: ../app/helpers/discovered_hosts_helper.rb:15 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
325
|
+
#: ../app/helpers/discovered_hosts_helper.rb:15 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:41
|
349
326
|
msgid "Refresh facts"
|
350
327
|
msgstr "刷新詳情"
|
351
328
|
|
352
|
-
#: ../app/helpers/discovered_hosts_helper.rb:16 ../app/helpers/discovered_hosts_helper.rb:30 ../app/models/setting/discovered.rb:24 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
329
|
+
#: ../app/helpers/discovered_hosts_helper.rb:16 ../app/helpers/discovered_hosts_helper.rb:30 ../app/models/setting/discovered.rb:24 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:42
|
353
330
|
msgid "Reboot"
|
354
331
|
msgstr "重新開機"
|
355
332
|
|
@@ -361,7 +338,7 @@ msgstr "上一步"
|
|
361
338
|
msgid "Select Action"
|
362
339
|
msgstr "選擇動作"
|
363
340
|
|
364
|
-
#: ../app/helpers/discovered_hosts_helper.rb:23 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
341
|
+
#: ../app/helpers/discovered_hosts_helper.rb:23 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:43
|
365
342
|
msgid "Delete %s?"
|
366
343
|
msgstr "刪除 %s?"
|
367
344
|
|
@@ -426,6 +403,10 @@ msgid "Enable rule '%s'?"
|
|
426
403
|
msgstr ""
|
427
404
|
|
428
405
|
#: ../app/helpers/discovery_rules_helper.rb:33
|
406
|
+
msgid "Clone"
|
407
|
+
msgstr ""
|
408
|
+
|
409
|
+
#: ../app/helpers/discovery_rules_helper.rb:34
|
429
410
|
msgid "Delete rule '%s'?"
|
430
411
|
msgstr ""
|
431
412
|
|
@@ -449,13 +430,13 @@ msgstr ""
|
|
449
430
|
msgid "must be present."
|
450
431
|
msgstr ""
|
451
432
|
|
452
|
-
#: ../app/models/discovery_rule.rb:
|
433
|
+
#: ../app/models/discovery_rule.rb:57
|
453
434
|
msgid "Host group organization %s must also be associated to the discovery rule"
|
454
435
|
msgid_plural "Host group organizations %s must also be associated to the discovery rule"
|
455
436
|
msgstr[0] ""
|
456
437
|
msgstr[1] ""
|
457
438
|
|
458
|
-
#: ../app/models/discovery_rule.rb:
|
439
|
+
#: ../app/models/discovery_rule.rb:61
|
459
440
|
msgid "Host group location %s must also be associated to the discovery rule"
|
460
441
|
msgid_plural "Host group locations %s must also be associated to the discovery rule"
|
461
442
|
msgstr[0] ""
|
@@ -725,6 +706,34 @@ msgstr ""
|
|
725
706
|
msgid "Unable to find primary NIC with %{mac} specified via '%{fact}', NIC filter: %{filter}"
|
726
707
|
msgstr ""
|
727
708
|
|
709
|
+
#: ../app/services/foreman_discovery/fact_to_category_resolver.rb:7
|
710
|
+
msgid "Highlights"
|
711
|
+
msgstr ""
|
712
|
+
|
713
|
+
#: ../app/services/foreman_discovery/fact_to_category_resolver.rb:8
|
714
|
+
msgid "Storage"
|
715
|
+
msgstr "儲存裝置"
|
716
|
+
|
717
|
+
#: ../app/services/foreman_discovery/fact_to_category_resolver.rb:9
|
718
|
+
msgid "Hardware"
|
719
|
+
msgstr "硬體"
|
720
|
+
|
721
|
+
#: ../app/services/foreman_discovery/fact_to_category_resolver.rb:10
|
722
|
+
msgid "Network"
|
723
|
+
msgstr "網路"
|
724
|
+
|
725
|
+
#: ../app/services/foreman_discovery/fact_to_category_resolver.rb:11
|
726
|
+
msgid "Software"
|
727
|
+
msgstr "軟體"
|
728
|
+
|
729
|
+
#: ../app/services/foreman_discovery/fact_to_category_resolver.rb:12
|
730
|
+
msgid "IPMI"
|
731
|
+
msgstr "IPMI"
|
732
|
+
|
733
|
+
#: ../app/services/foreman_discovery/fact_to_category_resolver.rb:13
|
734
|
+
msgid "Miscellaneous"
|
735
|
+
msgstr "雜項"
|
736
|
+
|
728
737
|
#: ../app/services/foreman_discovery/host_converter.rb:47
|
729
738
|
msgid "IPAM must be configured for subnet '%s'"
|
730
739
|
msgstr ""
|
@@ -737,6 +746,10 @@ msgstr ""
|
|
737
746
|
msgid "Image API processing error: %{msg} (HTTP/%{code}, body: %{body})"
|
738
747
|
msgstr ""
|
739
748
|
|
749
|
+
#: ../app/services/foreman_discovery/ui_notifications/new_host.rb:22
|
750
|
+
msgid "Host %s has been dicovered"
|
751
|
+
msgstr ""
|
752
|
+
|
740
753
|
#: ../app/views/dashboard/_discovery_widget.html.erb:5
|
741
754
|
msgid "Discovered Host"
|
742
755
|
msgid_plural "Discovered Hosts"
|
@@ -751,15 +764,15 @@ msgstr ""
|
|
751
764
|
msgid "Host"
|
752
765
|
msgstr "主機"
|
753
766
|
|
754
|
-
#: ../app/views/dashboard/_discovery_widget_host_list.html.erb:4 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
767
|
+
#: ../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
|
755
768
|
msgid "Model"
|
756
769
|
msgstr "型號"
|
757
770
|
|
758
|
-
#: ../app/views/dashboard/_discovery_widget_host_list.html.erb:5 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
771
|
+
#: ../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
|
759
772
|
msgid "CPUs"
|
760
773
|
msgstr "CPU"
|
761
774
|
|
762
|
-
#: ../app/views/dashboard/_discovery_widget_host_list.html.erb:6 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
775
|
+
#: ../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
|
763
776
|
msgid "Memory"
|
764
777
|
msgstr "記憶體"
|
765
778
|
|
@@ -771,59 +784,59 @@ msgstr ""
|
|
771
784
|
msgid "Create Host"
|
772
785
|
msgstr ""
|
773
786
|
|
774
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
787
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:5
|
775
788
|
msgid "Select all items in this page"
|
776
789
|
msgstr "選擇這頁中的所有項目"
|
777
790
|
|
778
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
791
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:5
|
779
792
|
msgid "items selected. Uncheck to Clear"
|
780
793
|
msgstr "已選取項目。反選以清除"
|
781
794
|
|
782
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
795
|
+
#: ../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
|
783
796
|
msgid "Name"
|
784
797
|
msgstr "名稱"
|
785
798
|
|
786
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
799
|
+
#: ../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
|
787
800
|
msgid "IP Address"
|
788
801
|
msgstr "IP 位址"
|
789
802
|
|
790
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
803
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:11
|
791
804
|
msgid "Disk Count"
|
792
805
|
msgstr ""
|
793
806
|
|
794
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
807
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:12
|
795
808
|
msgid "Disks Size"
|
796
809
|
msgstr ""
|
797
810
|
|
798
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
811
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:16 ../app/views/discovered_hosts/_selected_hosts.html.erb:9 ../app/views/discovery_rules/index.html.erb:11
|
799
812
|
msgid "Location"
|
800
813
|
msgstr "位置"
|
801
814
|
|
802
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
815
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:17 ../app/views/discovered_hosts/_selected_hosts.html.erb:10 ../app/views/discovery_rules/index.html.erb:12
|
803
816
|
msgid "Organization"
|
804
817
|
msgstr "組織"
|
805
818
|
|
806
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
819
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:18
|
807
820
|
msgid "Subnet"
|
808
821
|
msgstr "子網路"
|
809
822
|
|
810
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
823
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:19
|
811
824
|
msgid "Last Facts Upload"
|
812
825
|
msgstr ""
|
813
826
|
|
814
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
827
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:20 ../app/views/discovery_rules/index.html.erb:14
|
815
828
|
msgid "Actions"
|
816
829
|
msgstr "動作"
|
817
830
|
|
818
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
831
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:55
|
819
832
|
msgid "Please Confirm"
|
820
833
|
msgstr "請確認"
|
821
834
|
|
822
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
835
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:61
|
823
836
|
msgid "Cancel"
|
824
837
|
msgstr "取消"
|
825
838
|
|
826
|
-
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:
|
839
|
+
#: ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:62
|
827
840
|
msgid "Submit"
|
828
841
|
msgstr "提交"
|
829
842
|
|
@@ -959,6 +972,10 @@ msgstr ""
|
|
959
972
|
msgid "Hostnames must not start with numbers. A good approach is to use unique information provided by facter (MAC address, BIOS or serial ID)."
|
960
973
|
msgstr ""
|
961
974
|
|
975
|
+
#: ../app/views/discovery_rules/clone.erb:1
|
976
|
+
msgid "Clone %s"
|
977
|
+
msgstr ""
|
978
|
+
|
962
979
|
#: ../app/views/discovery_rules/edit.html.erb:1
|
963
980
|
msgid "Edit %s"
|
964
981
|
msgstr "編輯 %s"
|
@@ -967,7 +984,7 @@ msgstr "編輯 %s"
|
|
967
984
|
msgid "Discovery Rules"
|
968
985
|
msgstr ""
|
969
986
|
|
970
|
-
#: ../app/views/discovery_rules/index.html.erb:2
|
987
|
+
#: ../app/views/discovery_rules/index.html.erb:2 ../webpack/src/ForemanDiscovery/DiscoveryRules/Components/EmptyState/EmptyState.js:9
|
971
988
|
msgid "Create Rule"
|
972
989
|
msgstr ""
|
973
990
|
|
@@ -991,7 +1008,7 @@ msgstr "主機群組"
|
|
991
1008
|
msgid "Hosts/Limit"
|
992
1009
|
msgstr ""
|
993
1010
|
|
994
|
-
#: ../app/views/discovery_rules/index.html.erb:
|
1011
|
+
#: ../app/views/discovery_rules/index.html.erb:13
|
995
1012
|
msgid "DiscoveryRule|Enabled"
|
996
1013
|
msgstr ""
|
997
1014
|
|
@@ -999,6 +1016,10 @@ msgstr ""
|
|
999
1016
|
msgid "New Discovery Rule"
|
1000
1017
|
msgstr ""
|
1001
1018
|
|
1019
|
+
#: ../app/views/discovery_rules/welcome.html.erb:8
|
1020
|
+
msgid "Discovered Rules"
|
1021
|
+
msgstr ""
|
1022
|
+
|
1002
1023
|
#: ../db/seeds.d/50_discovery_templates.rb:5
|
1003
1024
|
msgid "Command line options for kexec during PXE-less provisioning."
|
1004
1025
|
msgstr ""
|
@@ -1008,8 +1029,8 @@ msgid "A summary of discovered hosts"
|
|
1008
1029
|
msgstr ""
|
1009
1030
|
|
1010
1031
|
#: ../db/seeds.d/80_discovery_ui_notification.rb:4
|
1011
|
-
msgid "
|
1012
|
-
msgstr "
|
1032
|
+
msgid "New hosts"
|
1033
|
+
msgstr ""
|
1013
1034
|
|
1014
1035
|
#: ../db/seeds.d/80_discovery_ui_notification.rb:6
|
1015
1036
|
msgid "One or more hosts have been discovered"
|
@@ -1019,34 +1040,54 @@ msgstr ""
|
|
1019
1040
|
msgid "Details"
|
1020
1041
|
msgstr "詳細資料"
|
1021
1042
|
|
1022
|
-
#: ../
|
1043
|
+
#: ../db/seeds.d/80_discovery_ui_notification.rb:18
|
1044
|
+
msgid "Hosts"
|
1045
|
+
msgstr "主機"
|
1046
|
+
|
1047
|
+
#: ../db/seeds.d/80_discovery_ui_notification.rb:20
|
1048
|
+
msgid "Error message goes here"
|
1049
|
+
msgstr ""
|
1050
|
+
|
1051
|
+
#: ../lib/foreman_discovery/engine.rb:176
|
1023
1052
|
msgid "Discovery Kexec template"
|
1024
1053
|
msgstr ""
|
1025
1054
|
|
1026
|
-
#: ../lib/foreman_discovery/engine.rb:
|
1055
|
+
#: ../lib/foreman_discovery/engine.rb:185
|
1027
1056
|
msgid "Discovery Proxy"
|
1028
1057
|
msgstr ""
|
1029
1058
|
|
1030
|
-
#: ../lib/foreman_discovery/engine.rb:
|
1059
|
+
#: ../lib/foreman_discovery/engine.rb:186
|
1031
1060
|
msgid "Discovery Proxy to use within this subnet for managing connection to discovered hosts"
|
1032
1061
|
msgstr ""
|
1033
1062
|
|
1034
|
-
#: ../lib/foreman_discovery/engine.rb:
|
1063
|
+
#: ../lib/foreman_discovery/engine.rb:187
|
1035
1064
|
msgid "ID of Discovery Proxy to use within this subnet for managing connection to discovered hosts"
|
1036
1065
|
msgstr ""
|
1037
1066
|
|
1067
|
+
#: ../webpack/__mocks__/foremanReact/components/common/EmptyState/EmptyStatePattern.js:33
|
1068
|
+
msgid "For more information please see "
|
1069
|
+
msgstr ""
|
1070
|
+
|
1071
|
+
#: ../webpack/__mocks__/foremanReact/components/common/EmptyState/EmptyStatePattern.js:34
|
1072
|
+
msgid "documentation"
|
1073
|
+
msgstr ""
|
1074
|
+
|
1038
1075
|
#: action_names.rb:2
|
1039
1076
|
msgid "Remote action:"
|
1040
|
-
msgstr ""
|
1077
|
+
msgstr "遠端動作:"
|
1041
1078
|
|
1042
1079
|
#: action_names.rb:3
|
1043
1080
|
msgid "Import Puppet classes"
|
1044
|
-
msgstr ""
|
1081
|
+
msgstr "匯入 Puppet 類別"
|
1045
1082
|
|
1046
1083
|
#: action_names.rb:4
|
1047
|
-
msgid "
|
1048
|
-
msgstr ""
|
1084
|
+
msgid "Import facts"
|
1085
|
+
msgstr "匯入詳情"
|
1049
1086
|
|
1050
1087
|
#: action_names.rb:5
|
1051
|
-
msgid "
|
1052
|
-
msgstr ""
|
1088
|
+
msgid "Action with sub plans"
|
1089
|
+
msgstr "有子計畫的動作"
|
1090
|
+
|
1091
|
+
#: ../app/helpers/discovered_hosts_helper.rb:10
|
1092
|
+
#~ msgid "%s ago"
|
1093
|
+
#~ msgstr "%s 之前"
|