foreman_scc_manager 2.2.3 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/app/assets/javascripts/foreman_scc_manager/locale/de/foreman_scc_manager.js +592 -0
  4. data/app/assets/javascripts/foreman_scc_manager/locale/el/foreman_scc_manager.js +592 -0
  5. data/app/assets/javascripts/foreman_scc_manager/locale/en/foreman_scc_manager.js +592 -0
  6. data/app/assets/javascripts/foreman_scc_manager/locale/fr/foreman_scc_manager.js +592 -0
  7. data/app/assets/javascripts/foreman_scc_manager/locale/ja/foreman_scc_manager.js +592 -0
  8. data/app/assets/javascripts/foreman_scc_manager/locale/ka/foreman_scc_manager.js +592 -0
  9. data/app/assets/javascripts/foreman_scc_manager/locale/zh_CN/foreman_scc_manager.js +592 -0
  10. data/app/controllers/api/v2/scc_accounts_controller.rb +21 -17
  11. data/app/controllers/api/v2/scc_products_controller.rb +2 -2
  12. data/app/controllers/scc_accounts_controller.rb +14 -8
  13. data/app/lib/actions/scc_manager/subscribe_product.rb +14 -14
  14. data/app/lib/actions/scc_manager/sync_products.rb +6 -6
  15. data/app/lib/actions/scc_manager/sync_repositories.rb +5 -5
  16. data/app/models/scc_account.rb +2 -2
  17. data/app/models/scc_product.rb +4 -4
  18. data/app/views/api/v2/scc_products/main.json.rabl +1 -1
  19. data/db/migrate/20200520281300_fix_scc_permissions.rb +1 -1
  20. data/db/migrate/20210713092440_add_permissions.rb +1 -1
  21. data/db/migrate/20220429102717_populate_scc_katello_repositories.rb +1 -0
  22. data/lib/foreman_scc_manager/engine.rb +41 -46
  23. data/lib/foreman_scc_manager/version.rb +1 -1
  24. data/lib/tasks/rubocop.rake +2 -2
  25. data/lib/tasks/setup_authentication_token.rake +1 -1
  26. data/locale/Makefile +8 -10
  27. data/locale/fr/LC_MESSAGES/foreman_scc_manager.mo +0 -0
  28. data/locale/fr/foreman_scc_manager.po +601 -0
  29. data/package.json +12 -15
  30. data/test/controllers/api/v2/scc_accounts_test.rb +21 -21
  31. data/test/controllers/scc_accounts_controller_test.rb +9 -9
  32. data/test/features/sync_test.rb +9 -9
  33. data/test/fixtures/models/scc_repositories.yml +1 -1
  34. data/test/models/scc_account_test.rb +3 -3
  35. data/test/models/scc_product_test.rb +1 -1
  36. data/test/support/fixtures_support.rb +1 -1
  37. data/test/test_plugin_helper.rb +4 -4
  38. data/webpack/components/SCCProductPage/components/SCCProductPicker/components/SCCTreePicker/components/SCCRepoPicker/index.js +8 -8
  39. data/webpack/components/SCCProductPage/components/SCCProductPicker/components/SCCTreePicker/index.js +4 -12
  40. data/webpack/components/SCCProductPage/components/SCCProductView/components/SCCRepoView/index.js +4 -4
  41. metadata +14 -20
  42. data/locale/action_names.rb +0 -88
@@ -0,0 +1,592 @@
1
+ locales['foreman_scc_manager'] = locales['foreman_scc_manager'] || {}; locales['foreman_scc_manager']['ja'] = {
2
+ "domain": "foreman_scc_manager",
3
+ "locale_data": {
4
+ "foreman_scc_manager": {
5
+ "": {
6
+ "Project-Id-Version": "foreman_scc_manager 1.0.0",
7
+ "Report-Msgid-Bugs-To": "",
8
+ "PO-Revision-Date": "2019-10-17 13:28+0000",
9
+ "Last-Translator": "Amit Upadhye <aupadhye@redhat.com>, 2022",
10
+ "Language-Team": "Japanese (https://www.transifex.com/foreman/teams/114/ja/)",
11
+ "MIME-Version": "1.0",
12
+ "Content-Type": "text/plain; charset=UTF-8",
13
+ "Content-Transfer-Encoding": "8bit",
14
+ "Language": "ja",
15
+ "Plural-Forms": "nplurals=1; plural=0;",
16
+ "lang": "ja",
17
+ "domain": "foreman_scc_manager",
18
+ "plural_forms": "nplurals=1; plural=0;"
19
+ },
20
+ "List all scc_accounts": [
21
+ "全 scc_accounts の一覧表示"
22
+ ],
23
+ "Show scc_account": [
24
+ "scc_account の表示"
25
+ ],
26
+ "Name of the scc_account": [
27
+ "scc_account の名前"
28
+ ],
29
+ "Login id of scc_account": [
30
+ "scc_account のログイン ID"
31
+ ],
32
+ "Password of scc_account": [
33
+ "scc_account のパスワード"
34
+ ],
35
+ "URL of SUSE for scc_account": [
36
+ "scc_account の SUSE の URL"
37
+ ],
38
+ "Interval for syncing scc_account": [
39
+ "scc_account の同期間隔"
40
+ ],
41
+ "The default download policy for repositories which were created using this SCC Account.": [
42
+ ""
43
+ ],
44
+ "The default mirroring policy for repositories which were created using this SCC Account.": [
45
+ ""
46
+ ],
47
+ "Date and time relative to which the sync interval is run": [
48
+ "同期の実行関連の日時"
49
+ ],
50
+ "Associated GPG key of scc_account": [
51
+ "scc_account の関連付けられた GPG キー"
52
+ ],
53
+ "Create an scc_account": [
54
+ "scc_account の作成"
55
+ ],
56
+ "Update scc_account": [
57
+ "scc_account の更新"
58
+ ],
59
+ "Delete scc_account": [
60
+ "scc_account の削除"
61
+ ],
62
+ "Test connection for scc_account": [
63
+ "scc_account のテスト接続"
64
+ ],
65
+ "Sync scc_account": [
66
+ "scc_account の同期"
67
+ ],
68
+ "Bulk subscription of scc_products for scc_account": [
69
+ "scc_account の scc_products の一括サブスクリプション"
70
+ ],
71
+ "Bulk subscription of scc_products with individual repository selection for scc_account.": [
72
+ ""
73
+ ],
74
+ "The selected products cannot be found for this SCC account.": [
75
+ ""
76
+ ],
77
+ "List products for an scc_account": [
78
+ ""
79
+ ],
80
+ "Show subscribed products only": [
81
+ ""
82
+ ],
83
+ "Show an scc_account product": [
84
+ "scc_account 製品の表示"
85
+ ],
86
+ "Subscribe product": [
87
+ "製品のサブスクライブ"
88
+ ],
89
+ "Sync task started.": [
90
+ "同期タスクが開始されました。"
91
+ ],
92
+ "Failed to add task to queue: %s": [
93
+ "タスクをキューに追加できませんでした: %s"
94
+ ],
95
+ "Lock on SCC account already taken: %s": [
96
+ "すでに取得されている SCC アカウントのロック: %s"
97
+ ],
98
+ "Task to subscribe products started.": [
99
+ "製品サブスクライブのタスクを開始しました。"
100
+ ],
101
+ "No products selected.": [
102
+ "製品が選択されていません。"
103
+ ],
104
+ "Subscribe SCC Product": [
105
+ "SCC 製品のサブスクライブ"
106
+ ],
107
+ "Sync SUSE subscriptions": [
108
+ "SUSE サブスクリプションの同期"
109
+ ],
110
+ "Update SUSE repositories %s": [
111
+ "SUSE リポジトリー %s の更新"
112
+ ],
113
+ "Unknown": [
114
+ "不明"
115
+ ],
116
+ "Update SUSE repositories": [
117
+ "SUSE リポジトリーの更新"
118
+ ],
119
+ "Sync SUSE subscriptions (Products)": [
120
+ "SUSE サブスクリプションの同期 (製品)"
121
+ ],
122
+ "Sync SUSE subscriptions (Repositories)": [
123
+ "SUSE サブスクリプションの同期 (リポジトリー)"
124
+ ],
125
+ "never synced": [
126
+ "同期なし"
127
+ ],
128
+ "Interval cannot be nil": [
129
+ "間隔を nil にすることはできません"
130
+ ],
131
+ "Interval not set correctly": [
132
+ "間隔が正しく設定されていません"
133
+ ],
134
+ "Cron expression is not valid!": [
135
+ "cron 式が無効です!"
136
+ ],
137
+ "On Demand": [
138
+ ""
139
+ ],
140
+ "Immediate": [
141
+ ""
142
+ ],
143
+ "Additive": [
144
+ ""
145
+ ],
146
+ "Content Only": [
147
+ ""
148
+ ],
149
+ "SUSE Subscription": [
150
+ "SUSE サブスクリプション"
151
+ ],
152
+ "SUSE Subscription: ": [
153
+ "SUSE サブスクリプション: "
154
+ ],
155
+ "SUSE Customer Center account": [
156
+ "SUSE Customer Center アカウント"
157
+ ],
158
+ "Use your 'Organization credentials' obtained from the SUSE Customer Center.": [
159
+ "SUSE Customer Center から取得した「組織の認証情報」を使用します。"
160
+ ],
161
+ "Base URL": [
162
+ "ベース URL"
163
+ ],
164
+ "Sync interval": [
165
+ "同期間隔"
166
+ ],
167
+ "The sync interval is used to periodically update the SCC authentication tokens of any imported products.": [
168
+ "同期の間隔は、インポートされた製品の SCC 認証トークンを定期更新するのに使用されます。"
169
+ ],
170
+ "Sync Date": [
171
+ "同期日"
172
+ ],
173
+ "None": [
174
+ "なし"
175
+ ],
176
+ "Use GPG key for SUSE products": [
177
+ "SUSE 製品に GPG キーを使用する"
178
+ ],
179
+ "Use this setting if you want to automatically add a GPG key to your SUSE products upon subscription. You can change this setting in the 'Content' > 'Products' menu, later.": [
180
+ "サブスクリプション時に SUSE 製品に自動追加する場合は、この設定を使用します。この設定は、後で「Content」 >「Products」メニューから変更できます。"
181
+ ],
182
+ "Download Policy": [
183
+ ""
184
+ ],
185
+ "Mirroring Policy": [
186
+ ""
187
+ ],
188
+ "Test Connection": [
189
+ "テスト接続"
190
+ ],
191
+ "Edit %s": [
192
+ "%s の編集"
193
+ ],
194
+ "SUSE subscriptions": [
195
+ "SUSE サブスクリプション"
196
+ ],
197
+ "Add SCC account": [
198
+ "SCC アカウントの追加"
199
+ ],
200
+ "Products": [
201
+ "製品"
202
+ ],
203
+ "Last synced": [
204
+ "最終同期"
205
+ ],
206
+ "Actions": [
207
+ "アクション"
208
+ ],
209
+ "Select products": [
210
+ "製品の選択"
211
+ ],
212
+ "Sync": [
213
+ "同期"
214
+ ],
215
+ "WARNING: If you want to switch SCC accounts and retain the synchronized content, DO NOT delete your old SCC account, even if it is expired. Please change the login and password of your SCC account, instead.\\n\\nIf you delete your old SCC account, you CANNOT reuse existing repositories, products, content views, and composite content views.\\n\\nReally delete SCC account %s?": [
216
+ ""
217
+ ],
218
+ "Add SUSE Customer Center Account": [
219
+ "SUSE Customer Center アカウントの追加"
220
+ ],
221
+ "Product Selection for Account %s": [
222
+ "アカウントの製品選択 %s"
223
+ ],
224
+ "SUSE Subscriptions": [
225
+ "SUSE サブスクリプション"
226
+ ],
227
+ "Please synchronize your SUSE account before you can subscribe to SUSE products.": [
228
+ ""
229
+ ],
230
+ "SUSE Customer Center": [
231
+ "SUSE Customer Center"
232
+ ],
233
+ "Synchronize SUSE Account": [
234
+ ""
235
+ ],
236
+ "The subscription task has been started successfully": [
237
+ ""
238
+ ],
239
+ "Starting the subscription task failed.": [
240
+ ""
241
+ ],
242
+ "Failed to add task to queue.": [
243
+ ""
244
+ ],
245
+ "%s/%s": [
246
+ ""
247
+ ],
248
+ "Filter repositories": [
249
+ ""
250
+ ],
251
+ "If this option is enabled, debug and source pool repositories are automatically selected if you select a product. This option is disabled by default. It applies for unselected products, only. Already selected products are not filtered.": [
252
+ ""
253
+ ],
254
+ "Include Debug and Source Pool repositories": [
255
+ ""
256
+ ],
257
+ "Add product(s)": [
258
+ ""
259
+ ],
260
+ " -- Select Product --": [
261
+ ""
262
+ ],
263
+ " -- Select Version --": [
264
+ ""
265
+ ],
266
+ " -- Select Architecture --": [
267
+ ""
268
+ ],
269
+ "Select SUSE products": [
270
+ ""
271
+ ],
272
+ "Search": [
273
+ ""
274
+ ],
275
+ "Reset Selection": [
276
+ ""
277
+ ],
278
+ "Summary of SCC product subscription": [
279
+ ""
280
+ ],
281
+ "The subscription task with id ": [
282
+ ""
283
+ ],
284
+ " has started successfully.": [
285
+ ""
286
+ ],
287
+ "The following products will be imported:": [
288
+ ""
289
+ ],
290
+ "Go to Repository page": [
291
+ ""
292
+ ],
293
+ "Repository not imported": [
294
+ ""
295
+ ],
296
+ "Please check your SUSE subscription": [
297
+ ""
298
+ ],
299
+ "Repositories (%s/%s)": [
300
+ ""
301
+ ],
302
+ "Go to Product page": [
303
+ ""
304
+ ],
305
+ "Add more sub products to Product tree": [
306
+ ""
307
+ ],
308
+ "Show currently added repositories": [
309
+ ""
310
+ ],
311
+ "Selected SUSE Products": [
312
+ ""
313
+ ],
314
+ "You currently have no SUSE products selected. Search and add SUSE products in the section below.": [
315
+ ""
316
+ ],
317
+ "Show all subscription tasks": [
318
+ ""
319
+ ],
320
+ "Show last product subscription task": [
321
+ ""
322
+ ],
323
+ "Expand products": [
324
+ ""
325
+ ],
326
+ "Collapse products": [
327
+ ""
328
+ ],
329
+ "Collapse/Expand": [
330
+ ""
331
+ ],
332
+ "Show all products": [
333
+ ""
334
+ ],
335
+ "Show only subscribed products": [
336
+ ""
337
+ ],
338
+ "Show/Hide unsubscribed": [
339
+ ""
340
+ ],
341
+ "Import": [
342
+ ""
343
+ ],
344
+ "Export Repository": [
345
+ ""
346
+ ],
347
+ "Export Library": [
348
+ ""
349
+ ],
350
+ "Generate host applicability": [
351
+ ""
352
+ ],
353
+ "Bulk generate applicability for hosts": [
354
+ ""
355
+ ],
356
+ "Generate repository applicability": [
357
+ ""
358
+ ],
359
+ "Synchronize smart proxy": [
360
+ ""
361
+ ],
362
+ "Sync capsule": [
363
+ ""
364
+ ],
365
+ "Update CDN Configuration": [
366
+ ""
367
+ ],
368
+ "Update": [
369
+ ""
370
+ ],
371
+ "Delete": [
372
+ ""
373
+ ],
374
+ "Errata mail": [
375
+ ""
376
+ ],
377
+ "Incremental Update of Content View Version(s) ": [
378
+ ""
379
+ ],
380
+ "Import facts": [
381
+ ""
382
+ ],
383
+ "Import Puppet classes": [
384
+ ""
385
+ ],
386
+ "Abstract async task": [
387
+ ""
388
+ ],
389
+ "Syncable export": [
390
+ ""
391
+ ],
392
+ "Export": [
393
+ ""
394
+ ],
395
+ "Copy version units to library": [
396
+ ""
397
+ ],
398
+ "Create Syncable Export History": [
399
+ ""
400
+ ],
401
+ "Create Import History": [
402
+ ""
403
+ ],
404
+ "Create": [
405
+ ""
406
+ ],
407
+ "Delete Activation Key": [
408
+ ""
409
+ ],
410
+ "Create Export History": [
411
+ ""
412
+ ],
413
+ "Agent action": [
414
+ ""
415
+ ],
416
+ "Create Alternate Content Source": [
417
+ ""
418
+ ],
419
+ "Destroy Alternate Content Source": [
420
+ ""
421
+ ],
422
+ "Refresh Alternate Content Source": [
423
+ ""
424
+ ],
425
+ "Update Alternate Content Source": [
426
+ ""
427
+ ],
428
+ "Action with sub plans": [
429
+ ""
430
+ ],
431
+ "Abstract": [
432
+ ""
433
+ ],
434
+ "Remove from Environment": [
435
+ ""
436
+ ],
437
+ "Promote": [
438
+ ""
439
+ ],
440
+ "Promotion to Environment": [
441
+ ""
442
+ ],
443
+ "Publish": [
444
+ ""
445
+ ],
446
+ "Remove Versions and Associations": [
447
+ ""
448
+ ],
449
+ "Remove Version": [
450
+ ""
451
+ ],
452
+ "Import Content View Version": [
453
+ ""
454
+ ],
455
+ "Import Default Content View": [
456
+ ""
457
+ ],
458
+ "Import Repository": [
459
+ ""
460
+ ],
461
+ "Incremental Update": [
462
+ ""
463
+ ],
464
+ "Republish Version Repositories": [
465
+ ""
466
+ ],
467
+ "Delete Lifecycle Environment": [
468
+ ""
469
+ ],
470
+ "Publish Lifecycle Environment Repositories": [
471
+ ""
472
+ ],
473
+ "Attach subscriptions": [
474
+ ""
475
+ ],
476
+ "Auto attach subscriptions": [
477
+ ""
478
+ ],
479
+ "Destroy Content Host": [
480
+ ""
481
+ ],
482
+ "Install Applicable Errata": [
483
+ ""
484
+ ],
485
+ "Hypervisors": [
486
+ ""
487
+ ],
488
+ "Hypervisors update": [
489
+ ""
490
+ ],
491
+ "Remove subscriptions": [
492
+ ""
493
+ ],
494
+ "Combined Profile Update": [
495
+ ""
496
+ ],
497
+ "Update Content Overrides": [
498
+ ""
499
+ ],
500
+ "Update for host": [
501
+ ""
502
+ ],
503
+ "Update release version for host": [
504
+ ""
505
+ ],
506
+ "Updating System Purpose for host": [
507
+ ""
508
+ ],
509
+ "Package Profile Update": [
510
+ ""
511
+ ],
512
+ "Destroy": [
513
+ ""
514
+ ],
515
+ "Run Sync Plan:": [
516
+ ""
517
+ ],
518
+ "Enable": [
519
+ ""
520
+ ],
521
+ "Disable": [
522
+ ""
523
+ ],
524
+ "Verify checksum": [
525
+ ""
526
+ ],
527
+ "Create Package Group": [
528
+ ""
529
+ ],
530
+ "Upload into": [
531
+ ""
532
+ ],
533
+ "Update redhat repository": [
534
+ ""
535
+ ],
536
+ "Update http proxy details": [
537
+ ""
538
+ ],
539
+ "Update content urls": [
540
+ ""
541
+ ],
542
+ "Discover": [
543
+ ""
544
+ ],
545
+ "Synchronize": [
546
+ ""
547
+ ],
548
+ "Remove Content": [
549
+ ""
550
+ ],
551
+ "Instance update": [
552
+ ""
553
+ ],
554
+ "Index package groups": [
555
+ ""
556
+ ],
557
+ "Index module streams": [
558
+ ""
559
+ ],
560
+ "Index errata": [
561
+ ""
562
+ ],
563
+ "Index content": [
564
+ ""
565
+ ],
566
+ "Filtered index content": [
567
+ ""
568
+ ],
569
+ "Fetch pxe files": [
570
+ ""
571
+ ],
572
+ "Delete Package Group": [
573
+ ""
574
+ ],
575
+ "Update http proxy": [
576
+ ""
577
+ ],
578
+ "Reindex subscriptions": [
579
+ ""
580
+ ],
581
+ "Delete Product": [
582
+ ""
583
+ ],
584
+ "Product Create": [
585
+ ""
586
+ ],
587
+ "Foreman plugin to sync SUSE Customer Center products and repositories into Katello.": [
588
+ "Foreman プラグインで SUSE Customer Center の製品およびリポジトリーを Katello に同期します。"
589
+ ]
590
+ }
591
+ }
592
+ };