foreman_bootdisk 18.1.0 → 19.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (98) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/foreman_bootdisk/disks_controller.rb +49 -2
  3. data/config/routes.rb +1 -0
  4. data/db/migrate/20140522185700_change_templatekind_to_bootdisk.rb +3 -11
  5. data/lib/foreman_bootdisk/engine.rb +4 -2
  6. data/lib/foreman_bootdisk/version.rb +1 -1
  7. data/locale/ca/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  8. data/locale/ca/foreman_bootdisk.edit.po +393 -0
  9. data/locale/ca/foreman_bootdisk.po +7 -1
  10. data/locale/ca/foreman_bootdisk.po.time_stamp +0 -0
  11. data/locale/de/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  12. data/locale/de/foreman_bootdisk.edit.po +398 -0
  13. data/locale/de/foreman_bootdisk.po +7 -1
  14. data/locale/de/foreman_bootdisk.po.time_stamp +0 -0
  15. data/locale/en/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  16. data/locale/en/foreman_bootdisk.edit.po +388 -0
  17. data/locale/en/foreman_bootdisk.po +7 -1
  18. data/locale/en/foreman_bootdisk.po.time_stamp +0 -0
  19. data/locale/en_GB/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  20. data/locale/en_GB/foreman_bootdisk.edit.po +394 -0
  21. data/locale/en_GB/foreman_bootdisk.po +7 -1
  22. data/locale/en_GB/foreman_bootdisk.po.time_stamp +0 -0
  23. data/locale/es/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  24. data/locale/es/foreman_bootdisk.edit.po +394 -0
  25. data/locale/es/foreman_bootdisk.po +7 -1
  26. data/locale/es/foreman_bootdisk.po.time_stamp +0 -0
  27. data/locale/foreman_bootdisk.pot +27 -14
  28. data/locale/fr/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  29. data/locale/fr/foreman_bootdisk.edit.po +394 -0
  30. data/locale/fr/foreman_bootdisk.po +7 -1
  31. data/locale/fr/foreman_bootdisk.po.time_stamp +0 -0
  32. data/locale/it/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  33. data/locale/it/foreman_bootdisk.edit.po +391 -0
  34. data/locale/it/foreman_bootdisk.po +7 -1
  35. data/locale/it/foreman_bootdisk.po.time_stamp +0 -0
  36. data/locale/ja/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  37. data/locale/ja/foreman_bootdisk.edit.po +393 -0
  38. data/locale/ja/foreman_bootdisk.po +12 -6
  39. data/locale/ja/foreman_bootdisk.po.time_stamp +0 -0
  40. data/locale/ko/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  41. data/locale/ko/foreman_bootdisk.edit.po +390 -0
  42. data/locale/ko/foreman_bootdisk.po +7 -1
  43. data/locale/ko/foreman_bootdisk.po.time_stamp +0 -0
  44. data/locale/pt_BR/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  45. data/locale/pt_BR/foreman_bootdisk.edit.po +394 -0
  46. data/locale/pt_BR/foreman_bootdisk.po +7 -1
  47. data/locale/pt_BR/foreman_bootdisk.po.time_stamp +0 -0
  48. data/locale/ru/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  49. data/locale/ru/foreman_bootdisk.edit.po +395 -0
  50. data/locale/ru/foreman_bootdisk.po +7 -1
  51. data/locale/ru/foreman_bootdisk.po.time_stamp +0 -0
  52. data/locale/sv_SE/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  53. data/locale/sv_SE/foreman_bootdisk.edit.po +392 -0
  54. data/locale/sv_SE/foreman_bootdisk.po +7 -1
  55. data/locale/sv_SE/foreman_bootdisk.po.time_stamp +0 -0
  56. data/locale/zh_CN/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  57. data/locale/zh_CN/foreman_bootdisk.edit.po +391 -0
  58. data/locale/zh_CN/foreman_bootdisk.po +12 -6
  59. data/locale/zh_CN/foreman_bootdisk.po.time_stamp +0 -0
  60. data/locale/zh_TW/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  61. data/locale/zh_TW/foreman_bootdisk.edit.po +391 -0
  62. data/locale/zh_TW/foreman_bootdisk.po +7 -1
  63. data/locale/zh_TW/foreman_bootdisk.po.time_stamp +0 -0
  64. data/package.json +42 -0
  65. data/webpack/__mocks__/foremanReact/common/HOC.js +30 -0
  66. data/webpack/__mocks__/foremanReact/common/I18n.js +7 -0
  67. data/webpack/__mocks__/foremanReact/common/helpers.js +7 -0
  68. data/webpack/__mocks__/foremanReact/common/urlHelpers.js +8 -0
  69. data/webpack/__mocks__/foremanReact/constants.js +24 -0
  70. data/webpack/__mocks__/foremanReact/redux/API/APISelectors.js +6 -0
  71. data/webpack/__mocks__/foremanReact/redux/API/index.js +10 -0
  72. data/webpack/global_index.js +12 -0
  73. data/webpack/global_test_setup.js +11 -0
  74. data/webpack/index.js +0 -0
  75. data/webpack/src/extensions/constants.js +2 -0
  76. data/webpack/src/extensions/host/HostBootdiskButtons.js +71 -0
  77. data/webpack/src/extensions/host/HostBootdiskButtonsSelectors.js +27 -0
  78. data/webpack/src/extensions/host/__tests__/HostBootdiskButtonsSelectors.test.js +66 -0
  79. data/webpack/src/extensions/host/__tests__/__snapshots__/HostBootdiskButtonsSelectors.test.js.snap +30 -0
  80. metadata +46 -20
  81. data/.github/workflows/rubocop.yaml +0 -19
  82. data/.tx/config +0 -8
  83. data/AUTHORS +0 -34
  84. data/release-gem +0 -84
  85. data/test/functional/foreman_bootdisk/api/v2/disks_controller_test.rb +0 -97
  86. data/test/functional/foreman_bootdisk/api/v2/subnet_disks_controller_test.rb +0 -37
  87. data/test/functional/foreman_bootdisk/disks_controller_test.rb +0 -97
  88. data/test/functional/foreman_bootdisk/subnet_disks_controller_test.rb +0 -51
  89. data/test/models/host/managed_test.rb +0 -26
  90. data/test/test_plugin_helper.rb +0 -72
  91. data/test/unit/access_permissions_test.rb +0 -10
  92. data/test/unit/concerns/compute_resources/vmware_test.rb +0 -83
  93. data/test/unit/concerns/host_test.rb +0 -84
  94. data/test/unit/concerns/orchestration/compute_test.rb +0 -69
  95. data/test/unit/foreman_bootdisk/renderer_test.rb +0 -36
  96. data/test/unit/foreman_bootdisk/scope/bootdisk_test.rb +0 -31
  97. data/test/unit/foreman_bootdisk/scope/full_host_bootdisk_test.rb +0 -30
  98. data/test/unit/iso_generator_test.rb +0 -74
@@ -0,0 +1,391 @@
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the foreman_bootdisk package.
4
+ #
5
+ # Translators:
6
+ msgid ""
7
+ msgstr ""
8
+ "Project-Id-Version: foreman_bootdisk 18.1.0\n"
9
+ "Report-Msgid-Bugs-To: \n"
10
+ "POT-Creation-Date: 2021-11-30 18:05+0100\n"
11
+ "PO-Revision-Date: 2021-11-25 10:30+0000\n"
12
+ "Last-Translator: Amit Upadhye <aupadhye@redhat.com>\n"
13
+ "Language-Team: Chinese (China) (http://www.transifex.com/foreman/foreman/langu"
14
+ "age/zh_CN/)\n"
15
+ "MIME-Version: 1.0\n"
16
+ "Content-Type: text/plain; charset=UTF-8\n"
17
+ "Content-Transfer-Encoding: 8bit\n"
18
+ "Language: zh_CN\n"
19
+ "Plural-Forms: nplurals=1; plural=0;\n"
20
+
21
+ #: ../app/controllers/concerns/allowed_actions.rb:7
22
+ msgid "This type of bootdisk is not allowed. Please contact administrator."
23
+ msgstr "不允许使用这种类型的引导盘。请与管理员联系。"
24
+
25
+ #: ../app/controllers/foreman_bootdisk/api/v2/disks_controller.rb:21 ../app/views/foreman_bootdisk/disks/help.html.erb:1
26
+ msgid "Boot disks"
27
+ msgstr "引导盘"
28
+
29
+ #: ../app/controllers/foreman_bootdisk/api/v2/disks_controller.rb:24
30
+ msgid "Download generic image"
31
+ msgstr "下载通用镜像"
32
+
33
+ #: ../app/controllers/foreman_bootdisk/api/v2/disks_controller.rb:33
34
+ msgid "Download host image"
35
+ msgstr "下载主机镜像"
36
+
37
+ #: ../app/controllers/foreman_bootdisk/api/v2/disks_controller.rb:34
38
+ msgid "True for full, false for basic reusable image"
39
+ msgstr "True 全部,false 代表基本的可重复使用的镜像"
40
+
41
+ #: ../app/controllers/foreman_bootdisk/api/v2/disks_controller.rb:46 ../app/controllers/foreman_bootdisk/disks_controller.rb:126 ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:90
42
+ msgid "Host is not in build mode"
43
+ msgstr "主机不在构建模式中"
44
+
45
+ #: ../app/controllers/foreman_bootdisk/api/v2/subnet_disks_controller.rb:23
46
+ msgid "Subnet boot disks"
47
+ msgstr "子网引导磁盘"
48
+
49
+ #: ../app/controllers/foreman_bootdisk/api/v2/subnet_disks_controller.rb:26
50
+ msgid "Download subnet generic image"
51
+ msgstr "下载子网通用镜像"
52
+
53
+ #: ../app/controllers/foreman_bootdisk/api/v2/subnet_disks_controller.rb:30 ../app/controllers/foreman_bootdisk/subnet_disks_controller.rb:15
54
+ msgid "TFTP feature not enabled for subnet %s"
55
+ msgstr "没有为子网 %s 启用 TFTP 功能"
56
+
57
+ #: ../app/controllers/foreman_bootdisk/disks_controller.rb:63
58
+ msgid "Host is not in build mode."
59
+ msgstr "主机不在构建模式。"
60
+
61
+ #: ../app/controllers/foreman_bootdisk/disks_controller.rb:95 ../app/helpers/concerns/foreman_bootdisk/pretty_error.rb:8
62
+ msgid "Failed to render boot disk template"
63
+ msgstr "未能提供引导磁盘模板"
64
+
65
+ #: ../app/controllers/foreman_bootdisk/disks_controller.rb:120 ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:66
66
+ msgid "Host '%s' image"
67
+ msgstr "主机 '%s' 镜像"
68
+
69
+ #: ../app/controllers/foreman_bootdisk/disks_controller.rb:120 ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:76 ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:86
70
+ msgid "Full host '%s' image"
71
+ msgstr "完整主机 '%s' 镜像"
72
+
73
+ #: ../app/controllers/foreman_bootdisk/disks_controller.rb:132
74
+ msgid "Boot disk help"
75
+ msgstr ""
76
+
77
+ #: ../app/helpers/bootdisk_links_helper.rb:27
78
+ msgid "Boot disk Help"
79
+ msgstr "引导磁盘帮助"
80
+
81
+ #: ../app/helpers/bootdisk_links_helper.rb:40 ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:20 ../app/models/setting/bootdisk.rb:30 ../webpack/src/extensions/host/HostBootdiskButtons.js:65
82
+ msgid "Boot disk"
83
+ msgstr "引导磁盘"
84
+
85
+ #: ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:21 ../webpack/src/extensions/host/HostBootdiskButtons.js:54
86
+ msgid "Boot disk download not available for %s architecture"
87
+ msgstr "引导磁盘下载不适用于 %s 架构"
88
+
89
+ #: ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:30
90
+ msgid "Subnet '%s' generic image"
91
+ msgstr "子网 '%s' 通用镜像"
92
+
93
+ #: ../app/helpers/concerns/foreman_bootdisk/subnets_helper_ext.rb:10
94
+ msgid "Subnet generic image"
95
+ msgstr "子网通用镜像"
96
+
97
+ #: ../app/helpers/concerns/foreman_bootdisk/subnets_helper_ext.rb:27 ../app/views/foreman_bootdisk/disks/help.html.erb:35
98
+ msgid "Generic image"
99
+ msgstr "通用镜像"
100
+
101
+ #: ../app/models/concerns/foreman_bootdisk/host_ext.rb:12 ../app/services/foreman_bootdisk/renderer.rb:53 ../app/services/foreman_bootdisk/renderer.rb:60
102
+ msgid "Unable to find template specified by %s setting"
103
+ msgstr "找不到由 %s 设置指定的模板"
104
+
105
+ #: ../app/models/concerns/foreman_bootdisk/orchestration/compute.rb:30
106
+ msgid "Generating ISO image for %s"
107
+ msgstr "为 %s 生成的 ISO 镜像"
108
+
109
+ #: ../app/models/concerns/foreman_bootdisk/orchestration/compute.rb:32
110
+ msgid "Upload ISO image to datastore for %s"
111
+ msgstr "为 %s 将 ISO 镜像上传至数据存储"
112
+
113
+ #: ../app/models/concerns/foreman_bootdisk/orchestration/compute.rb:34
114
+ msgid "Attach ISO image to CDROM drive for %s"
115
+ msgstr "为 %s 将 ISO 镜像附加至 CDROM 驱动"
116
+
117
+ #: ../app/models/concerns/foreman_bootdisk/orchestration/compute.rb:38
118
+ msgid "Detach ISO image from CDROM drive for %s"
119
+ msgstr "为 %s 从 CDROM 驱动取消附加 ISO 镜像"
120
+
121
+ #: ../app/models/concerns/foreman_bootdisk/orchestration/compute.rb:73
122
+ msgid "Failed to generate ISO image for instance %{name}: %{message}"
123
+ msgstr "为实例 %{name} 生成 ISO 镜像:%{message}"
124
+
125
+ #: ../app/models/concerns/foreman_bootdisk/orchestration/compute.rb:82
126
+ msgid "Failed to upload ISO image for instance %{name}: %{message}"
127
+ msgstr "为实例 %{name} 上传 ISO 镜像失败:%{message}"
128
+
129
+ #: ../app/models/concerns/foreman_bootdisk/orchestration/compute.rb:91
130
+ msgid "Failed to attach ISO image to CDROM drive of instance %{name}: %{message}"
131
+ msgstr "将 ISO 镜像附加到实例 %{name} 的 CDROM 驱动失败:%{message}"
132
+
133
+ #: ../app/models/concerns/foreman_bootdisk/orchestration/compute.rb:100
134
+ msgid "Failed to detach ISO image from CDROM drive of instance %{name}: %{message}"
135
+ msgstr "未能成功将 ISO 镜像从实例 %{name} 的 CDROM 驱动中断开:%{message}"
136
+
137
+ #: ../app/models/setting/bootdisk.rb:13
138
+ msgid "Path to directory containing iPXE images"
139
+ msgstr "到包含 iPXE 镜像的目录的路径"
140
+
141
+ #: ../app/models/setting/bootdisk.rb:13
142
+ msgid "iPXE directory"
143
+ msgstr "iPXE 目录"
144
+
145
+ #: ../app/models/setting/bootdisk.rb:14
146
+ msgid "Path to directory containing isolinux images"
147
+ msgstr "到包含 isolinux 镜像目录的路径"
148
+
149
+ #: ../app/models/setting/bootdisk.rb:14
150
+ msgid "ISOLINUX directory"
151
+ msgstr "ISOLINUX 目录"
152
+
153
+ #: ../app/models/setting/bootdisk.rb:15
154
+ msgid "Path to directory containing syslinux images"
155
+ msgstr "包含 syslinux 镜像的目录的路径"
156
+
157
+ #: ../app/models/setting/bootdisk.rb:15
158
+ msgid "SYSLINUX directory"
159
+ msgstr "SYSLINUX 目录"
160
+
161
+ #: ../app/models/setting/bootdisk.rb:16
162
+ msgid "Path to directory containing grubx64.efi and shimx64.efi"
163
+ msgstr "包含 grubx64.efi 和 shimx64.efi 的目录的路径"
164
+
165
+ #: ../app/models/setting/bootdisk.rb:16
166
+ msgid "Grub2 directory"
167
+ msgstr "Grub2 目录"
168
+
169
+ #: ../app/models/setting/bootdisk.rb:17
170
+ msgid "iPXE template to use for host-specific boot disks"
171
+ msgstr "特定于主机的引导磁盘使用的 iPXE 模板"
172
+
173
+ #: ../app/models/setting/bootdisk.rb:18
174
+ msgid "Host image template"
175
+ msgstr "主机镜像模板"
176
+
177
+ #: ../app/models/setting/bootdisk.rb:19
178
+ msgid "iPXE template to use for generic host boot disks"
179
+ msgstr "通用主机引导磁盘使用的 iPXE 模板"
180
+
181
+ #: ../app/models/setting/bootdisk.rb:20
182
+ msgid "Generic image template"
183
+ msgstr "通用镜像模板"
184
+
185
+ #: ../app/models/setting/bootdisk.rb:21
186
+ msgid "Grub2 template to use for generic EFI host boot disks"
187
+ msgstr "通用 EFI 主机启动磁盘使用的 Grub2 模板"
188
+
189
+ #: ../app/models/setting/bootdisk.rb:22
190
+ msgid "Generic Grub2 EFI image template"
191
+ msgstr "通用 Grub2 EFI 镜像模板"
192
+
193
+ #: ../app/models/setting/bootdisk.rb:23
194
+ msgid "Command to generate ISO image, use genisoimage or mkisofs"
195
+ msgstr "创建 ISO 镜像的命令,使用 genisoimage 或 mkisofs"
196
+
197
+ #: ../app/models/setting/bootdisk.rb:23
198
+ msgid "ISO generation command"
199
+ msgstr "ISO 生成命令"
200
+
201
+ #: ../app/models/setting/bootdisk.rb:24
202
+ msgid "Installation media files will be cached for full host images"
203
+ msgstr "安装介质文件将被缓存用于完整主机镜像"
204
+
205
+ #: ../app/models/setting/bootdisk.rb:24
206
+ msgid "Installation media caching"
207
+ msgstr "安装介质缓存"
208
+
209
+ #: ../app/models/setting/bootdisk.rb:25
210
+ msgid "List of allowed bootdisk types, remove type to disable it"
211
+ msgstr "允许的启动盘类型列表,删除类型以将其禁用"
212
+
213
+ #: ../app/models/setting/bootdisk.rb:25
214
+ msgid "Allowed bootdisk types"
215
+ msgstr "允许的启动盘类型"
216
+
217
+ #: ../app/services/foreman_bootdisk/iso_generator.rb:16
218
+ msgid "Host is not in build mode, so the template cannot be rendered"
219
+ msgstr "主机没有处于构建模式,因此模板不能被处理"
220
+
221
+ #: ../app/services/foreman_bootdisk/iso_generator.rb:42
222
+ msgid "Unable to generate disk template, %{kind} template not found."
223
+ msgstr "无法生成磁盘模板,未找到 %{kind} 模板。"
224
+
225
+ #: ../app/services/foreman_bootdisk/iso_generator.rb:52
226
+ msgid "Unable to generate disk %{kind} template: %{error}"
227
+ msgstr "无法生成磁盘 %{kind} 模板 : %{error}"
228
+
229
+ #: ../app/services/foreman_bootdisk/iso_generator.rb:94
230
+ msgid "Please ensure the isolinux/syslinux package(s) are installed."
231
+ msgstr "请确保已安装了 isolinux/syslinux 软件包。"
232
+
233
+ #: ../app/services/foreman_bootdisk/iso_generator.rb:111
234
+ msgid "Please ensure the ipxe-bootimgs package is installed."
235
+ msgstr "请确保已安装了 ipxe-bootimgs 软件包。"
236
+
237
+ #: ../app/services/foreman_bootdisk/iso_generator.rb:128
238
+ msgid "Creating new image failed, install truncate utility"
239
+ msgstr "创建新镜像失败,安装截断实用程序"
240
+
241
+ #: ../app/services/foreman_bootdisk/iso_generator.rb:129
242
+ msgid "Failed to format the ESP image via mkfs.msdos"
243
+ msgstr "无法通过 mkfs.msdos 格式化 ESP 镜像"
244
+
245
+ #: ../app/services/foreman_bootdisk/iso_generator.rb:130 ../app/services/foreman_bootdisk/iso_generator.rb:131
246
+ msgid "Failed to create a directory within the ESP image"
247
+ msgstr "无法在 ESP 镜像中创建目录"
248
+
249
+ #: ../app/services/foreman_bootdisk/iso_generator.rb:137
250
+ msgid "Ensure %{file} is readable (or update \"Grub2 directory\" setting)"
251
+ msgstr "确保 %{file} 是可读的(或更新 \"Grub2 directory\" 设置)"
252
+
253
+ #: ../app/services/foreman_bootdisk/iso_generator.rb:138
254
+ msgid "Unable to mcopy %{file}"
255
+ msgstr "无法 mcopy %{file}"
256
+
257
+ #: ../app/services/foreman_bootdisk/iso_generator.rb:160
258
+ msgid "ISO build failed"
259
+ msgstr "ISO 构建失败"
260
+
261
+ #: ../app/services/foreman_bootdisk/iso_generator.rb:163
262
+ msgid "ISO hybrid conversion failed: %s"
263
+ msgstr "ISO 混合转换失败:%s"
264
+
265
+ #: ../app/views/foreman_bootdisk/disks/help.html.erb:2
266
+ msgid "Back"
267
+ msgstr "返回"
268
+
269
+ #: ../app/views/foreman_bootdisk/disks/help.html.erb:6
270
+ msgid "Various types of boot disks can be created to provision hosts without the need for PXE services. Boot disks can be attached to the host (physical or virtual) which boots from the disk, contacts Foreman and begins the OS installation."
271
+ msgstr "可以创建不同类型的启动磁盘来置备主机,而无需 PXE 服务。引导磁盘可以附加到主机(物理或虚拟),该主机从磁盘引导,联系 Foreman 并开始进行 OS 安装。"
272
+
273
+ #: ../app/views/foreman_bootdisk/disks/help.html.erb:9
274
+ msgid "All images are usable as either ISOs or as disk images, including being written to a USB disk with `dd`."
275
+ msgstr "所有镜像都可用作 ISO 或磁盘镜像,包括使用 `dd` 写入 USB 磁盘。"
276
+
277
+ #: ../app/views/foreman_bootdisk/disks/help.html.erb:12
278
+ msgid "Host images"
279
+ msgstr "主机镜像"
280
+
281
+ #: ../app/views/foreman_bootdisk/disks/help.html.erb:14
282
+ msgid "These images are used for host. You can find them at host detail page."
283
+ msgstr "这些镜像用于主机。您可以在主机详细信息页上找到它们。"
284
+
285
+ #: ../app/views/foreman_bootdisk/disks/help.html.erb:17
286
+ msgid "Host image"
287
+ msgstr "主机镜像"
288
+
289
+ #: ../app/views/foreman_bootdisk/disks/help.html.erb:19
290
+ msgid "Per-host images contain data about a particular host registered in Foreman and set up fully static networking, avoiding the requirement for DHCP. After networking is configured, they chainload from Foreman, picking up the current OS configuration and build state from the server."
291
+ msgstr "每个主机镜像包含有关在 Foreman 中注册的特定主机的数据,并建立了完全静态的网络连接,从而可以不需要 DHCP。配置网络后,他们从 Foreman 进行链加载,选择当前的 OS 配置并从服务器构建状态。"
292
+
293
+ #: ../app/views/foreman_bootdisk/disks/help.html.erb:22
294
+ msgid "Once chainloaded, the OS bootloader and installer are downloaded directly from the installation media configured in Foreman, and the provisioning script (kickstart/preseed) is downloaded from Foreman."
295
+ msgstr "链式加载后,将直接从 Foreman 中配置的安装介质中下载 OS Bootloader 和安装程序,并从 Foreman 中下载预配置脚本(kickstart / preseed)。"
296
+
297
+ #: ../app/views/foreman_bootdisk/disks/help.html.erb:25
298
+ msgid "Full host image"
299
+ msgstr "完整的主机镜像"
300
+
301
+ #: ../app/views/foreman_bootdisk/disks/help.html.erb:27
302
+ msgid "A variant of the per-host image which contains the OS bootloader embedded inside the disk. This may be useful if chainloading fails on certain hardware, but has the downside that the image must be regenerated for any change in the OS, bootloader or PXELinux templates."
303
+ msgstr "单个主机镜像的变体,其磁盘内包含 OS 引导装载程序。当某些硬件上的连锁装载失败之时,这可能有用,但是也存在缺点,即 OS、引导状态程序或 PXELinux 模板发生任何变化时都必须重新生成该镜像。"
304
+
305
+ #: ../app/views/foreman_bootdisk/disks/help.html.erb:30
306
+ msgid "Generic images"
307
+ msgstr "通用镜像"
308
+
309
+ #: ../app/views/foreman_bootdisk/disks/help.html.erb:32
310
+ msgid "These images are more generic than previous images. You can find them at subnet index page."
311
+ msgstr "这些镜像比以前的镜像更通用。您可以在子网索引页面找到它们。"
312
+
313
+ #: ../app/views/foreman_bootdisk/disks/help.html.erb:37
314
+ msgid "Generic images are a reusable disk image that works for any host registered in Foreman. It requires a basic DHCP and DNS service to function and contact the server, but does not require DHCP reservations or static IP addresses."
315
+ msgstr "通用镜像是可重复使用的磁盘镜像,适用于在 Foreman 中注册的任何主机。它需要基本的 DHCP 和 DNS 服务才能正常工作并与服务器联系,但不需要 DHCP 保留或静态 IP 地址。"
316
+
317
+ #: ../app/views/foreman_bootdisk/disks/help.html.erb:40
318
+ msgid "The OS install continues using the installation media configured in Foreman, and it will typically configure static networking, depending on how the OS iPXE template is configured."
319
+ msgstr "操作系统将继续使用 Foreman 中配置的安装介质进行安装,并且通常将配置静态网络,具体取决于 OS iPXE 模板的配置方式。"
320
+
321
+ #: ../app/views/foreman_bootdisk/disks/help.html.erb:43
322
+ msgid "Subnet image"
323
+ msgstr "子网镜像"
324
+
325
+ #: ../app/views/foreman_bootdisk/disks/help.html.erb:45
326
+ msgid "Subnet images are similar to generic images, but chain-loading is done via the TFTP Smart Proxy assigned to the Subnet of the host. The smart proxy must have the \"Templates\" module enabled and configured."
327
+ msgstr "子网镜像与通用镜像类似,但是链式加载是通过分配给主机子网的 TFTP 智能代理完成的。智能代理必须启用并配置了 “Templates” 模块。"
328
+
329
+ #: ../app/views/foreman_bootdisk/disks/help.html.erb:48
330
+ msgid "This image is generic for all hosts with a provisioning NIC on that subnet."
331
+ msgstr "该镜像对于该子网上具有配置 NIC 的所有主机都是通用的。"
332
+
333
+ #: ../app/views/foreman_bootdisk/disks/help.html.erb:51
334
+ msgid "* - These bootdisk types were disabled, you can enable them in Administer - Settings."
335
+ msgstr "* - 这些 bootdisk 类型已被禁用,您可以在 Administer - Settings 中启用它们。"
336
+
337
+ #: ../app/views/foreman_bootdisk/host.erb:9
338
+ msgid "Host has no provisioning interface defined"
339
+ msgstr "主机没有定义的置备接口"
340
+
341
+ #: ../app/views/foreman_bootdisk/host.erb:10
342
+ msgid "Host has no IPv4 or IPv6 address defined"
343
+ msgstr "主机没有定义的 IPv4 或 IPv6 地址"
344
+
345
+ #: ../app/views/foreman_bootdisk/host.erb:11
346
+ msgid "Host has no subnet defined"
347
+ msgstr "主机没有定义的子网"
348
+
349
+ #: ../app/views/foreman_bootdisk/host.erb:12
350
+ msgid "Host has no domain defined"
351
+ msgstr "主机没有定义的域"
352
+
353
+ #: ../app/views/foreman_bootdisk/host.erb:19
354
+ msgid "Host bootdisk does not work with static IPv6"
355
+ msgstr "主机启动盘不适用于静态 IPv6"
356
+
357
+ #: ../app/views/foreman_bootdisk/host.erb:21
358
+ msgid "Both IP and Subnet must be set"
359
+ msgstr "必须设置 IP 和子网"
360
+
361
+ #: ../lib/foreman_bootdisk/engine.rb:60
362
+ msgid "Boot disk based"
363
+ msgstr "基于引导磁盘"
364
+
365
+ #: ../lib/foreman_bootdisk/engine.rb:61
366
+ msgid "Boot disk embedded template"
367
+ msgstr "引导磁盘内嵌的模板"
368
+
369
+ #: ../webpack/src/extensions/host/HostBootdiskButtons.js:59
370
+ msgid "Not available"
371
+ msgstr ""
372
+
373
+ #: action_names.rb:2
374
+ msgid "Remote action:"
375
+ msgstr "远程操作:"
376
+
377
+ #: action_names.rb:3
378
+ msgid "Import Puppet classes"
379
+ msgstr "导入 Puppet 类"
380
+
381
+ #: action_names.rb:4
382
+ msgid "Import facts"
383
+ msgstr "匯入詳情"
384
+
385
+ #: action_names.rb:5
386
+ msgid "Action with sub plans"
387
+ msgstr "有子计划的操作"
388
+
389
+ #: gemspec.rb:4
390
+ msgid "Plugin for Foreman that creates iPXE-based boot disks to provision hosts without the need for PXE infrastructure."
391
+ msgstr "能建立基於 iPXE 的開機磁碟的 Foreman 外掛程式,以在不需要 PXE 設備的情況下佈建主機。"
@@ -5,10 +5,10 @@
5
5
  # Translators:
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: foreman_bootdisk 18.0.0\n"
8
+ "Project-Id-Version: foreman_bootdisk 18.1.0\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
- "PO-Revision-Date: 2021-09-24 07:25+0000\n"
11
- "Last-Translator: Transifex Bot <>\n"
10
+ "PO-Revision-Date: 2021-11-25 10:30+0000\n"
11
+ "Last-Translator: Amit Upadhye <aupadhye@redhat.com>\n"
12
12
  "Language-Team: Chinese (China) (http://www.transifex.com/foreman/foreman/langu"
13
13
  "age/zh_CN/)\n"
14
14
  "MIME-Version: 1.0\n"
@@ -18,7 +18,7 @@ msgstr ""
18
18
  "Plural-Forms: nplurals=1; plural=0;\n"
19
19
 
20
20
  msgid "* - These bootdisk types were disabled, you can enable them in Administer - Settings."
21
- msgstr ""
21
+ msgstr "* - 这些 bootdisk 类型已被禁用,您可以在 Administer - Settings 中启用它们。"
22
22
 
23
23
  msgid "A variant of the per-host image which contains the OS bootloader embedded inside the disk. This may be useful if chainloading fails on certain hardware, but has the downside that the image must be regenerated for any change in the OS, bootloader or PXELinux templates."
24
24
  msgstr "单个主机镜像的变体,其磁盘内包含 OS 引导装载程序。当某些硬件上的连锁装载失败之时,这可能有用,但是也存在缺点,即 OS、引导状态程序或 PXELinux 模板发生任何变化时都必须重新生成该镜像。"
@@ -53,6 +53,9 @@ msgstr "引导磁盘下载不适用于 %s 架构"
53
53
  msgid "Boot disk embedded template"
54
54
  msgstr "引导磁盘内嵌的模板"
55
55
 
56
+ msgid "Boot disk help"
57
+ msgstr ""
58
+
56
59
  msgid "Boot disks"
57
60
  msgstr "引导盘"
58
61
 
@@ -159,13 +162,13 @@ msgid "Host images"
159
162
  msgstr "主机镜像"
160
163
 
161
164
  msgid "Host is not in build mode"
162
- msgstr ""
165
+ msgstr "主机不在构建模式中"
163
166
 
164
167
  msgid "Host is not in build mode, so the template cannot be rendered"
165
168
  msgstr "主机没有处于构建模式,因此模板不能被处理"
166
169
 
167
170
  msgid "Host is not in build mode."
168
- msgstr ""
171
+ msgstr "主机不在构建模式。"
169
172
 
170
173
  msgid "ISO build failed"
171
174
  msgstr "ISO 构建失败"
@@ -194,6 +197,9 @@ msgstr "安装介质文件将被缓存用于完整主机镜像"
194
197
  msgid "List of allowed bootdisk types, remove type to disable it"
195
198
  msgstr "允许的启动盘类型列表,删除类型以将其禁用"
196
199
 
200
+ msgid "Not available"
201
+ msgstr ""
202
+
197
203
  msgid "Once chainloaded, the OS bootloader and installer are downloaded directly from the installation media configured in Foreman, and the provisioning script (kickstart/preseed) is downloaded from Foreman."
198
204
  msgstr "链式加载后,将直接从 Foreman 中配置的安装介质中下载 OS Bootloader 和安装程序,并从 Foreman 中下载预配置脚本(kickstart / preseed)。"
199
205
 
File without changes