foreman_docker 3.0.0 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +22 -22
  3. data/app/assets/javascripts/foreman_docker/image_step.js +36 -6
  4. data/app/controllers/api/v2/containers_controller.rb +13 -11
  5. data/app/controllers/containers/steps_controller.rb +8 -2
  6. data/app/controllers/containers_controller.rb +4 -3
  7. data/app/controllers/image_search_controller.rb +36 -79
  8. data/app/helpers/container_steps_helper.rb +21 -0
  9. data/app/models/concerns/foreman_docker/parameter_validators.rb +27 -4
  10. data/app/models/container.rb +9 -10
  11. data/app/models/docker_container_wizard_state.rb +2 -0
  12. data/app/models/docker_container_wizard_states/dns.rb +2 -8
  13. data/app/models/docker_container_wizard_states/environment.rb +4 -14
  14. data/app/models/docker_container_wizard_states/environment_variable.rb +2 -2
  15. data/app/models/docker_container_wizard_states/exposed_port.rb +2 -8
  16. data/app/models/docker_container_wizard_states/image.rb +30 -0
  17. data/app/models/docker_container_wizard_states/preliminary.rb +1 -1
  18. data/app/models/docker_parameter.rb +20 -0
  19. data/app/models/docker_registry.rb +6 -4
  20. data/app/models/environment_variable.rb +3 -3
  21. data/app/models/exposed_port.rb +4 -10
  22. data/app/models/foreman_docker/compute_resource_extensions.rb +11 -0
  23. data/app/models/foreman_docker/dns.rb +3 -9
  24. data/app/models/foreman_docker/docker.rb +1 -5
  25. data/app/models/service/containers.rb +15 -11
  26. data/app/models/service/registry_api.rb +87 -15
  27. data/app/services/foreman_docker/image_search.rb +92 -0
  28. data/app/views/containers/index.html.erb +1 -3
  29. data/app/views/containers/show.html.erb +1 -1
  30. data/app/views/containers/steps/_image_hub_tab.html.erb +39 -29
  31. data/app/views/containers/steps/_title.html.erb +1 -1
  32. data/app/views/containers/steps/preliminary.html.erb +1 -1
  33. data/app/views/foreman_docker/common_parameters/_dns_entry.html.erb +1 -1
  34. data/app/views/foreman_docker/common_parameters/_environment_variable.html.erb +1 -1
  35. data/app/views/foreman_docker/common_parameters/_exposed_port.html.erb +1 -1
  36. data/app/views/image_search/_repository_search_results.html.erb +1 -1
  37. data/app/views/registries/index.html.erb +1 -3
  38. data/app/views/registries/new.html.erb +1 -1
  39. data/db/migrate/20160605133025_create_docker_parameters.rb +13 -0
  40. data/db/migrate/20160605134652_move_parameters_to_docker_parameters.rb +27 -0
  41. data/lib/foreman_docker/engine.rb +6 -7
  42. data/lib/foreman_docker/version.rb +1 -1
  43. data/lib/tasks/test.rake +35 -0
  44. data/test/functionals/api/v2/containers_controller_test.rb +21 -0
  45. data/test/functionals/api/v2/registries_controller_test.rb +4 -3
  46. data/test/functionals/containers_controller_test.rb +5 -0
  47. data/test/functionals/containers_steps_controller_test.rb +74 -36
  48. data/test/functionals/image_search_controller_test.rb +166 -12
  49. data/test/integration/container_test.rb +1 -1
  50. data/test/test_plugin_helper.rb +10 -0
  51. data/test/units/container_test.rb +1 -1
  52. data/test/units/containers_service_test.rb +31 -9
  53. data/test/units/docker_container_wizard_states/image_test.rb +84 -0
  54. data/test/units/docker_registry_test.rb +27 -10
  55. data/test/units/foreman_docker/compute_resource_extensions_test.rb +10 -0
  56. data/test/units/image_search_service_test.rb +188 -0
  57. data/test/units/registry_api_test.rb +206 -12
  58. metadata +55 -36
  59. data/lib/foreman_docker/tasks/test.rake +0 -45
  60. data/locale/de/foreman_docker.edit.po +0 -631
  61. data/locale/de/foreman_docker.po.time_stamp +0 -0
  62. data/locale/es/foreman_docker.edit.po +0 -631
  63. data/locale/es/foreman_docker.po.time_stamp +0 -0
  64. data/locale/fr/foreman_docker.edit.po +0 -632
  65. data/locale/fr/foreman_docker.po.time_stamp +0 -0
  66. data/locale/it/foreman_docker.edit.po +0 -630
  67. data/locale/it/foreman_docker.po.time_stamp +0 -0
  68. data/locale/ja/foreman_docker.edit.po +0 -634
  69. data/locale/ja/foreman_docker.po.time_stamp +0 -0
  70. data/locale/ko/foreman_docker.edit.po +0 -629
  71. data/locale/ko/foreman_docker.po.time_stamp +0 -0
  72. data/locale/pt_BR/foreman_docker.edit.po +0 -631
  73. data/locale/pt_BR/foreman_docker.po.time_stamp +0 -0
  74. data/locale/ru/foreman_docker.edit.po +0 -630
  75. data/locale/ru/foreman_docker.po.time_stamp +0 -0
  76. data/locale/zh_CN/foreman_docker.edit.po +0 -628
  77. data/locale/zh_CN/foreman_docker.po.time_stamp +0 -0
  78. data/locale/zh_TW/foreman_docker.edit.po +0 -628
  79. data/locale/zh_TW/foreman_docker.po.time_stamp +0 -0
File without changes
@@ -1,628 +0,0 @@
1
- # Leah Liu <lliu@redhat.com>, 2015. #zanata
2
- msgid ""
3
- msgstr ""
4
- "Project-Id-Version: version 0.0.1\n"
5
- "Report-Msgid-Bugs-To: \n"
6
- "PO-Revision-Date: 2015-04-27 01:21+0000\n"
7
- "Last-Translator: Leah Liu <lliu@redhat.com>\n"
8
- "Language-Team: Chinese (China)\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "Language: zh-CN\n"
13
- "Plural-Forms: nplurals=1; plural=0\n"
14
- "X-Generator: Zanata 3.6.0\n"
15
-
16
- #: ../app/controllers/api/v2/containers_controller.rb:13
17
- msgid "List all containers"
18
- msgstr "列出所有容器"
19
-
20
- #: ../app/controllers/api/v2/containers_controller.rb:15
21
- msgid "List all containers on a compute resource"
22
- msgstr ""
23
-
24
- #: ../app/controllers/api/v2/containers_controller.rb:29
25
- msgid "Show a container"
26
- msgstr "显示容器"
27
-
28
- #: ../app/controllers/api/v2/containers_controller.rb:31
29
- msgid "Show container on a compute resource"
30
- msgstr ""
31
-
32
- #: ../app/controllers/api/v2/containers_controller.rb:43
33
- msgid "Registry this container will have to use to get the image"
34
- msgstr ""
35
-
36
- #: ../app/controllers/api/v2/containers_controller.rb:46
37
- msgid "Name of the repository to use to create the container. e.g. centos"
38
- msgstr ""
39
-
40
- #: ../app/controllers/api/v2/containers_controller.rb:49
41
- msgid "Tag to use to create the container. e.g. latest"
42
- msgstr ""
43
-
44
- #: ../app/controllers/api/v2/containers_controller.rb:60
45
- msgid "The capsule this container will have to use to get the image. Relevant for images retrieved from katello registry."
46
- msgstr ""
47
-
48
- #: ../app/controllers/api/v2/containers_controller.rb:66
49
- msgid "Create a container"
50
- msgstr "生成容器"
51
-
52
- #: ../app/controllers/api/v2/containers_controller.rb:68
53
- msgid "Create container on a compute resource"
54
- msgstr ""
55
-
56
- #: ../app/controllers/api/v2/containers_controller.rb:84
57
- msgid "Wrong attributes: %s"
58
- msgstr "错误属性:%s"
59
-
60
- #: ../app/controllers/api/v2/containers_controller.rb:88
61
- msgid "Delete a container"
62
- msgstr "删除容器"
63
-
64
- #: ../app/controllers/api/v2/containers_controller.rb:90
65
- msgid "Delete container on a compute resource"
66
- msgstr ""
67
-
68
- #: ../app/controllers/api/v2/containers_controller.rb:98
69
- msgid "Show container logs"
70
- msgstr "显示容器日志"
71
-
72
- #: ../app/controllers/api/v2/containers_controller.rb:100
73
- msgid "Show logs from a container on a compute resource"
74
- msgstr ""
75
-
76
- #: ../app/controllers/api/v2/containers_controller.rb:105
77
- msgid "Number of lines to tail. Default: 100"
78
- msgstr "查看的行数。默认为 100。"
79
-
80
- #: ../app/controllers/api/v2/containers_controller.rb:114
81
- msgid "Run power operation on a container"
82
- msgstr "在容器中运行电源操作"
83
-
84
- #: ../app/controllers/api/v2/containers_controller.rb:116
85
- msgid "Run power operation on a container on a compute resource"
86
- msgstr ""
87
-
88
- #: ../app/controllers/api/v2/containers_controller.rb:121
89
- msgid "power action, valid actions are (start), (stop), (status)"
90
- msgstr "电源操作,有效操作为 (start), (stop), (status)"
91
-
92
- #: ../app/controllers/api/v2/containers_controller.rb:134
93
- msgid "Unknown method: available power operations are %s"
94
- msgstr "未知方法:可用电源操作为 %s"
95
-
96
- #: ../app/controllers/api/v2/registries_controller.rb:22
97
- msgid "List all docker registries"
98
- msgstr ""
99
-
100
- #: ../app/controllers/api/v2/registries_controller.rb:29
101
- msgid "Show a docker registry"
102
- msgstr ""
103
-
104
- #: ../app/controllers/api/v2/registries_controller.rb:34
105
- msgid "Create a docker registry"
106
- msgstr ""
107
-
108
- #: ../app/controllers/api/v2/registries_controller.rb:41
109
- msgid "Update a docker registry"
110
- msgstr ""
111
-
112
- #: ../app/controllers/api/v2/registries_controller.rb:48
113
- msgid "Delete a docker registry"
114
- msgstr ""
115
-
116
- #: ../app/controllers/containers_controller.rb:25
117
- msgid "Container %s is being deleted."
118
- msgstr "要删除容器 %s。"
119
-
120
- #: ../app/controllers/containers_controller.rb:44
121
- msgid "%{container} commit was successful"
122
- msgstr ""
123
-
124
- #: ../app/controllers/containers_controller.rb:47
125
- msgid "Failed to commit %{container}: %{e}"
126
- msgstr "提交 %{container}: %{e} 失败"
127
-
128
- # translation auto-copied from project Satellite6 Foreman, version 6.1, document foreman
129
- #: ../app/controllers/containers_controller.rb:60
130
- msgid "%{vm} is now %{vm_state}"
131
- msgstr "%{vm} 状态为 %{vm_state}"
132
-
133
- # translation auto-copied from project Satellite6 Foreman, version 6.1, document foreman
134
- #: ../app/controllers/containers_controller.rb:64
135
- msgid "failed to %{action} %{vm}"
136
- msgstr "%{action} %{vm} 失败"
137
-
138
- # translation auto-copied from project Satellite6 Foreman, version 6.1, document foreman, author Leah Liu
139
- #: ../app/controllers/containers_controller.rb:69
140
- msgid "Error - %{message}"
141
- msgstr "错误 - %{message}"
142
-
143
- #: ../app/controllers/image_search_controller.rb:62
144
- msgid "An error occured during repository search: '%s'"
145
- msgstr "搜索储存库时出错: '%s'"
146
-
147
- #: ../app/helpers/container_steps_helper.rb:12 ../app/views/registries/_form.html.erb:4
148
- msgid "Registry"
149
- msgstr "注册"
150
-
151
- #: ../app/helpers/container_steps_helper.rb:16
152
- msgid "Select a registry"
153
- msgstr "选择注册"
154
-
155
- # translation auto-copied from project Satellite6 Hammer CLI Foreman, version 6.1, document hammer-cli-foreman
156
- #: ../app/helpers/container_steps_helper.rb:22 ../app/views/compute_resources_vms/form/_docker.html.erb:6 ../app/views/compute_resources_vms/index/_docker.html.erb:5 ../app/views/containers/_list.html.erb:6
157
- msgid "Image"
158
- msgstr "介质"
159
-
160
- #: ../app/helpers/container_steps_helper.rb:22
161
- msgid "Environment"
162
- msgstr ""
163
-
164
- #: ../app/helpers/container_steps_helper.rb:22
165
- msgid "Configuration"
166
- msgstr ""
167
-
168
- #: ../app/helpers/container_steps_helper.rb:22
169
- msgid "Preliminary"
170
- msgstr ""
171
-
172
- #: ../app/helpers/containers_helper.rb:34
173
- msgid "Commit"
174
- msgstr "提交"
175
-
176
- # translation auto-copied from project Satellite6 Foreman Discovery, version 6.1, document foreman_discovery
177
- #: ../app/helpers/containers_helper.rb:43 ../app/views/containers/_list.html.erb:36 ../app/views/registries/index.html.erb:23
178
- msgid "Delete %s?"
179
- msgstr "是否删除 %s?"
180
-
181
- # translation auto-copied from project Satellite6 Foreman, version 6.1, document foreman
182
- #: ../app/helpers/containers_helper.rb:71
183
- msgid "Are you sure you want to power %{act} %{vm}?"
184
- msgstr "您确定要打开 %{act} %{vm} 吗?"
185
-
186
- #: ../app/models/concerns/fog_extensions/fogdocker/server.rb:39
187
- msgid "%{cores} cores and %{memory} memory"
188
- msgstr ""
189
-
190
- #: ../app/models/container.rb:61
191
- msgid "Docker/Container"
192
- msgstr "Docker/容器"
193
-
194
- #: ../app/models/docker_registry.rb:39
195
- msgid "Docker/Registry"
196
- msgstr "Docker/注册"
197
-
198
- #: ../app/models/docker_registry.rb:50
199
- msgid "Unable to log in to this Docker Registry - %s"
200
- msgstr ""
201
-
202
- #: ../app/models/foreman_docker/docker.rb:140
203
- msgid "Error creating communicating with Docker. Check the Foreman logs: %s"
204
- msgstr "创建与 Docker 的沟通时出错。请查看 Foreman 日志:%s"
205
-
206
- #: ../app/models/service/containers.rb:101
207
- msgid "Could not start container"
208
- msgstr ""
209
-
210
- #: ../app/views/compute_resources/form/_docker.html.erb:1
211
- msgid "e.g. https://docker.example.com:4243 or unix:///var/run/docker.sock"
212
- msgstr "例如:https://docker.example.com:4243 or unix:///var/run/docker.sock"
213
-
214
- # translation auto-copied from project Satellite6 Foreman, version 6.1, document foreman
215
- #: ../app/views/compute_resources/form/_docker.html.erb:7
216
- msgid "Test Connection"
217
- msgstr "测试连接"
218
-
219
- # translation auto-copied from project Satellite6 Hammer CLI Foreman, version 6.1, document hammer-cli-foreman
220
- #: ../app/views/compute_resources/show/_docker.html.erb:2 ../app/views/registries/index.html.erb:9
221
- msgid "URL"
222
- msgstr "链接"
223
-
224
- # translation auto-copied from project Satellite6 Foreman, version 6.1, document foreman
225
- #: ../app/views/compute_resources_vms/form/_docker.html.erb:10
226
- msgid "Cores"
227
- msgstr "Cores"
228
-
229
- # translation auto-copied from project Satellite6 Foreman Discovery, version 6.1, document foreman_discovery
230
- #: ../app/views/compute_resources_vms/form/_docker.html.erb:11 ../app/views/compute_resources_vms/index/_docker.html.erb:7 ../app/views/compute_resources_vms/show/_docker.html.erb:22 ../app/views/containers/show.html.erb:39 ../app/views/containers/steps/configuration.html.erb:15
231
- msgid "Memory"
232
- msgstr "内存"
233
-
234
- # translation auto-copied from project nautilus, version 3.8.2, document nautilus
235
- #: ../app/views/compute_resources_vms/form/_docker.html.erb:13 ../app/views/compute_resources_vms/show/_docker.html.erb:26 ../app/views/containers/_list.html.erb:7 ../app/views/containers/show.html.erb:43
236
- msgid "Command"
237
- msgstr "命令"
238
-
239
- # translation auto-copied from project Satellite6 Foreman, version 6.1, document foreman
240
- #: ../app/views/compute_resources_vms/form/_docker.html.erb:15
241
- msgid "Power ON this machine"
242
- msgstr "开启本机"
243
-
244
- # translation auto-copied from project Satellite6 Foreman, version 6.1, document foreman
245
- #: ../app/views/compute_resources_vms/form/_docker.html.erb:15
246
- msgid "Start"
247
- msgstr "起始"
248
-
249
- # translation auto-copied from project Satellite6 Katello, version 6.1, document katello
250
- #: ../app/views/compute_resources_vms/index/_docker.html.erb:4 ../app/views/compute_resources_vms/show/_docker.html.erb:6 ../app/views/containers/_list.html.erb:4 ../app/views/containers/show.html.erb:11 ../app/views/registries/index.html.erb:8
251
- msgid "Name"
252
- msgstr "名称"
253
-
254
- # translation auto-copied from project Satellite6 Foreman Discovery, version 6.1, document foreman_discovery
255
- #: ../app/views/compute_resources_vms/index/_docker.html.erb:6
256
- msgid "CPUs"
257
- msgstr "处理器"
258
-
259
- # translation auto-copied from project Satellite6 Hammer CLI Foreman, version 6.1, document hammer-cli-foreman
260
- #: ../app/views/compute_resources_vms/index/_docker.html.erb:8 ../app/views/containers/_list.html.erb:5
261
- msgid "Status"
262
- msgstr "状态"
263
-
264
- # translation auto-copied from project Satellite6 Hammer CLI Foreman, version 6.1, document hammer-cli-foreman
265
- #: ../app/views/compute_resources_vms/index/_docker.html.erb:9
266
- msgid "Power"
267
- msgstr "开启"
268
-
269
- # translation auto-copied from project Satellite6 Foreman, version 6.1, document foreman
270
- #: ../app/views/compute_resources_vms/show/_docker.html.erb:4 ../app/views/containers/show.html.erb:9
271
- msgid "Properties"
272
- msgstr "属性"
273
-
274
- # translation auto-copied from project Satellite6 Foreman Discovery, version 6.1, document foreman_discovery
275
- #: ../app/views/compute_resources_vms/show/_docker.html.erb:10 ../app/views/containers/show.html.erb:23
276
- msgid "IP Address"
277
- msgstr "IP地址"
278
-
279
- #: ../app/views/compute_resources_vms/show/_docker.html.erb:14 ../app/views/containers/show.html.erb:27 ../app/views/containers/steps/configuration.html.erb:12
280
- msgid "CPU shares"
281
- msgstr "CPU 共享"
282
-
283
- # translation auto-copied from project Satellite6 Hammer CLI Foreman, version 6.1, document hammer-cli-foreman
284
- #: ../app/views/compute_resources_vms/show/_docker.html.erb:18 ../app/views/containers/show.html.erb:35
285
- msgid "UUID"
286
- msgstr "UUID"
287
-
288
- #: ../app/views/compute_resources_vms/show/_docker.html.erb:30 ../app/views/containers/show.html.erb:47
289
- msgid "Exposed ports"
290
- msgstr "暴露的端口"
291
-
292
- # translation auto-copied from project Satellite6 Foreman, version 6.1, document foreman
293
- #: ../app/views/compute_resources_vms/show/_docker.html.erb:35 ../app/views/containers/_list.html.erb:9 ../app/views/containers/show.html.erb:89
294
- msgid "Running on"
295
- msgstr "运行中"
296
-
297
- #: ../app/views/containers/_list.html.erb:8
298
- msgid "Uptime"
299
- msgstr "运行时间"
300
-
301
- # translation auto-copied from project Satellite6 Hammer CLI Foreman, version 6.1, document hammer-cli-foreman
302
- #: ../app/views/containers/_list.html.erb:10
303
- msgid "Managed"
304
- msgstr "已管理"
305
-
306
- #: ../app/views/containers/_list.html.erb:11
307
- msgid "Action"
308
- msgstr ""
309
-
310
- # translation auto-copied from project Satellite6 Katello, version 6.1, document katello
311
- #: ../app/views/containers/_list.html.erb:27
312
- msgid "No"
313
- msgstr "否"
314
-
315
- # translation auto-copied from project Satellite6 Katello, version 6.1, document katello
316
- #: ../app/views/containers/_list.html.erb:27
317
- msgid "Yes"
318
- msgstr "是"
319
-
320
- #: ../app/views/containers/index.html.erb:1 ../lib/foreman_docker/engine.rb:47
321
- msgid "Containers"
322
- msgstr "容器"
323
-
324
- #: ../app/views/containers/index.html.erb:3 ../app/views/containers/steps/_title.html.erb:1 ../lib/foreman_docker/engine.rb:52
325
- msgid "New container"
326
- msgstr "新容器"
327
-
328
- #: ../app/views/containers/index.html.erb:27
329
- msgid "Error connecting with the compute resource: <strong> %s </strong>"
330
- msgstr "与这个计算资源有关的错误:<strong> %s </strong>"
331
-
332
- #: ../app/views/containers/show.html.erb:15
333
- msgid "Image Repository"
334
- msgstr "映像库"
335
-
336
- #: ../app/views/containers/show.html.erb:19
337
- msgid "Image Tag"
338
- msgstr "映像标签"
339
-
340
- #: ../app/views/containers/show.html.erb:31
341
- msgid "CPU set"
342
- msgstr ""
343
-
344
- #: ../app/views/containers/show.html.erb:61 ../app/views/containers/steps/environment.html.erb:16
345
- msgid "DNS"
346
- msgstr ""
347
-
348
- #: ../app/views/containers/show.html.erb:69
349
- msgid "Environment Variables"
350
- msgstr "环境变量"
351
-
352
- # translation auto-copied from project gnome-system-monitor, version 3.8.2.1, document gnome-system-monitor
353
- #: ../app/views/containers/show.html.erb:103
354
- msgid "Processes"
355
- msgstr "进程"
356
-
357
- # translation auto-copied from project Satellite6 Hammer CLI Foreman, version 6.1, document hammer-cli-foreman
358
- #: ../app/views/containers/show.html.erb:107
359
- msgid "Logs"
360
- msgstr "日志"
361
-
362
- # translation auto-copied from project Satellite6 Foreman, version 6.1, document foreman
363
- #: ../app/views/containers/show.html.erb:139
364
- msgid "Notice"
365
- msgstr "注意"
366
-
367
- #: ../app/views/containers/show.html.erb:141
368
- msgid "Your container is stopped."
369
- msgstr "您的容器已停止。"
370
-
371
- #: ../app/views/containers/show.html.erb:142
372
- msgid "Please turn on your container to see processes running, logs, and more."
373
- msgstr "请打开容器查看运行的进程、日志及其他信息。"
374
-
375
- #: ../app/views/containers/show.html.erb:153
376
- msgid "Commit this container state"
377
- msgstr "提交这个容器的状态"
378
-
379
- #: ../app/views/containers/show.html.erb:160
380
- msgid "Repo"
381
- msgstr "库"
382
-
383
- #: ../app/views/containers/show.html.erb:162
384
- msgid "docker/my-committed-image"
385
- msgstr "docker/my-committed-image"
386
-
387
- # translation auto-copied from project shotwell-core, version 0.14.1, document shotwell-core
388
- #: ../app/views/containers/show.html.erb:165
389
- msgid "Tag"
390
- msgstr "标签"
391
-
392
- #: ../app/views/containers/show.html.erb:167
393
- msgid "latest"
394
- msgstr "最新"
395
-
396
- # translation auto-copied from project Satellite6 Foreman, version 6.1, document foreman
397
- #: ../app/views/containers/show.html.erb:170
398
- msgid "Author"
399
- msgstr "作者"
400
-
401
- #: ../app/views/containers/show.html.erb:172
402
- msgid "Foreman user <foremaner@example.org>"
403
- msgstr ""
404
-
405
- # translation auto-copied from project Satellite6 Hammer CLI Foreman, version 6.1, document hammer-cli-foreman
406
- #: ../app/views/containers/show.html.erb:175
407
- msgid "Comment"
408
- msgstr "注释"
409
-
410
- #: ../app/views/containers/show.html.erb:177
411
- msgid "Description of the commit"
412
- msgstr "提交描述"
413
-
414
- # translation auto-copied from project Satellite6 Foreman Discovery, version 6.1, document foreman_discovery
415
- #: ../app/views/containers/show.html.erb:180 ../app/views/containers/steps/_form_buttons.html.erb:4
416
- msgid "Cancel"
417
- msgstr "取消"
418
-
419
- # translation auto-copied from project Satellite6 Foreman Discovery, version 6.1, document foreman_discovery
420
- #: ../app/views/containers/show.html.erb:182 ../app/views/containers/steps/_form_buttons.html.erb:14
421
- msgid "Submit"
422
- msgstr "提交"
423
-
424
- # translation auto-copied from project Satellite6 Foreman Bootdisk, version 6.1, document foreman_bootdisk
425
- #: ../app/views/containers/steps/_form_buttons.html.erb:8
426
- msgid "Back"
427
- msgstr "后退"
428
-
429
- # translation auto-copied from project subscription-manager, version 1.10.10, document keys
430
- #: ../app/views/containers/steps/_form_buttons.html.erb:16
431
- msgid "Next"
432
- msgstr "下一步"
433
-
434
- # translation auto-copied from project Satellite6 Hammer CLI Foreman, version 6.1, document hammer-cli-foreman
435
- #: ../app/views/containers/steps/_image_hub_tab.html.erb:15
436
- msgid "Search"
437
- msgstr "搜"
438
-
439
- #: ../app/views/containers/steps/_image_hub_tab.html.erb:24
440
- msgid "Find your favorite container, e.g. centos"
441
- msgstr ""
442
-
443
- #: ../app/views/containers/steps/configuration.html.erb:3
444
- msgid "Basic options"
445
- msgstr "基本选项"
446
-
447
- #: ../app/views/containers/steps/configuration.html.erb:8
448
- msgid "Compute options"
449
- msgstr "计算选项"
450
-
451
- #: ../app/views/containers/steps/configuration.html.erb:9
452
- msgid "CPU sets"
453
- msgstr "CPU 集合"
454
-
455
- #: ../app/views/containers/steps/configuration.html.erb:11
456
- msgid "learn more about CPU sets"
457
- msgstr "了解更多 CPU 集合"
458
-
459
- #: ../app/views/containers/steps/configuration.html.erb:14
460
- msgid "learn more about CPU shares"
461
- msgstr "了解更多 CPU 共享"
462
-
463
- #: ../app/views/containers/steps/environment.html.erb:5
464
- msgid "Shell"
465
- msgstr "Shell"
466
-
467
- # translation auto-copied from project gnome-contacts, version 3.8.2, document gnome-contacts
468
- #: ../app/views/containers/steps/environment.html.erb:6
469
- msgid "TTY"
470
- msgstr "电传打字机"
471
-
472
- #: ../app/views/containers/steps/environment.html.erb:6
473
- msgid "Allocate a pseudo-tty"
474
- msgstr "分配 pseudo-tty"
475
-
476
- #: ../app/views/containers/steps/environment.html.erb:7
477
- msgid "Attach STDIN"
478
- msgstr "附加 STDIN"
479
-
480
- #: ../app/views/containers/steps/environment.html.erb:8
481
- msgid "Attach STDOUT"
482
- msgstr "附加 STDOUT"
483
-
484
- #: ../app/views/containers/steps/environment.html.erb:9
485
- msgid "Attach STDERR"
486
- msgstr "附加 STDERR"
487
-
488
- #: ../app/views/containers/steps/environment.html.erb:12
489
- msgid "Environment variables"
490
- msgstr "环境变量"
491
-
492
- #: ../app/views/containers/steps/environment.html.erb:14
493
- msgid "Exposed Ports"
494
- msgstr ""
495
-
496
- #: ../app/views/containers/steps/environment.html.erb:22
497
- msgid "Run?"
498
- msgstr ""
499
-
500
- #: ../app/views/containers/steps/environment.html.erb:23
501
- msgid "If selected, the container will start after it is created"
502
- msgstr ""
503
-
504
- #: ../app/views/containers/steps/image.html.erb:9
505
- msgid "Content View"
506
- msgstr ""
507
-
508
- #: ../app/views/containers/steps/image.html.erb:15
509
- msgid "Docker hub"
510
- msgstr "Docker 集线器"
511
-
512
- #: ../app/views/containers/steps/image.html.erb:19
513
- msgid "External registry"
514
- msgstr "外部注册"
515
-
516
- # translation auto-copied from project Satellite6 Foreman, version 6.1, document foreman
517
- #: ../app/views/containers/steps/preliminary.html.erb:6
518
- msgid "Compute resource"
519
- msgstr "计算机资源"
520
-
521
- #: ../app/views/containers/steps/preliminary.html.erb:19
522
- msgid "Resource selection"
523
- msgstr "资源选择"
524
-
525
- #: ../app/views/containers/steps/preliminary.html.erb:20
526
- msgid "Where do you want to deploy your container?:"
527
- msgstr "您要在哪里部署您的容器?:"
528
-
529
- # translation auto-copied from project Satellite6 Foreman, version 6.1, document foreman
530
- #: ../app/views/containers/steps/preliminary.html.erb:22
531
- msgid "Deploy on"
532
- msgstr "部署到"
533
-
534
- #: ../app/views/containers/steps/preliminary.html.erb:25
535
- msgid "You need a Docker compute resource in order to create containers. Please %s and try again."
536
- msgstr "您需要一个 Docker 计算资源方可生成容器。请 %s,并再试一次。"
537
-
538
- #: ../app/views/foreman_docker/common_parameters/_dns.erb:8
539
- msgid "Add DNS"
540
- msgstr ""
541
-
542
- #: ../app/views/foreman_docker/common_parameters/_dns_entry.html.erb:3
543
- msgid "DNS e.g. 8.8.8.8"
544
- msgstr ""
545
-
546
- #: ../app/views/foreman_docker/common_parameters/_environment_variable.html.erb:3
547
- msgid "Name, e.g. PING_HOST"
548
- msgstr ""
549
-
550
- #: ../app/views/foreman_docker/common_parameters/_environment_variable.html.erb:5
551
- msgid "Value, e.g. example.org"
552
- msgstr ""
553
-
554
- #: ../app/views/foreman_docker/common_parameters/_environment_variables.html.erb:8
555
- msgid "Add environment variable"
556
- msgstr "添加环境变量"
557
-
558
- #: ../app/views/foreman_docker/common_parameters/_exposed_port.html.erb:3
559
- msgid "Port number e.g. 22"
560
- msgstr ""
561
-
562
- #: ../app/views/foreman_docker/common_parameters/_exposed_ports.erb:8
563
- msgid "Add Exposed Port"
564
- msgstr ""
565
-
566
- #: ../app/views/images/form/_docker.html.erb:1
567
- msgid "The user that is used to ssh into the instance, normally docker-user, ubuntu, root etc"
568
- msgstr "用来 ssh 入该实例的用户,通常为 cloud-user, ubuntu, root 等等。"
569
-
570
- # translation auto-copied from project Satellite6 Foreman, version 6.1, document foreman
571
- #: ../app/views/images/form/_docker.html.erb:2
572
- msgid "Password to authenticate with - used for SSH finish step."
573
- msgstr "用于认证的密码 - 用于 SSH 完成步骤。"
574
-
575
- #: ../app/views/images/form/_docker.html.erb:4
576
- msgid "Does this image support user data input?"
577
- msgstr "这个映像是否支持用户数据输入?"
578
-
579
- # translation auto-copied from project Satellite6 Hammer CLI Foreman, version 6.1, document hammer-cli-foreman
580
- #: ../app/views/registries/_form.html.erb:6
581
- msgid "Locations"
582
- msgstr "位置"
583
-
584
- # translation auto-copied from project Satellite6 Hammer CLI Foreman, version 6.1, document hammer-cli-foreman
585
- #: ../app/views/registries/_form.html.erb:9
586
- msgid "Organizations"
587
- msgstr "机构"
588
-
589
- #: ../app/views/registries/_form.html.erb:17
590
- msgid "Description of the registry"
591
- msgstr ""
592
-
593
- #: ../app/views/registries/_form.html.erb:18
594
- msgid "Username used to access the registry"
595
- msgstr "访问注册的用户名"
596
-
597
- #: ../app/views/registries/_form.html.erb:19
598
- msgid "Password used for authentication to the registry"
599
- msgstr "用来授权注册的密码"
600
-
601
- #: ../app/views/registries/edit.html.erb:1
602
- msgid "Edit Registry"
603
- msgstr "编辑注册"
604
-
605
- #: ../app/views/registries/index.html.erb:1 ../lib/foreman_docker/engine.rb:55
606
- msgid "Registries"
607
- msgstr "注册"
608
-
609
- #: ../app/views/registries/index.html.erb:3
610
- msgid "New registry"
611
- msgstr ""
612
-
613
- # translation auto-copied from project Satellite6 Hammer CLI Foreman, version 6.1, document hammer-cli-foreman
614
- #: ../app/views/registries/index.html.erb:10
615
- msgid "Description"
616
- msgstr "描述"
617
-
618
- #: ../app/views/registries/index.html.erb:11
619
- msgid "Actions"
620
- msgstr ""
621
-
622
- #: ../app/views/registries/new.html.erb:1
623
- msgid "New Registry"
624
- msgstr "新注册"
625
-
626
- #: ../lib/foreman_docker/engine.rb:49
627
- msgid "All containers"
628
- msgstr "所有容器"