foreman_scc_manager 5.1.0 → 5.3.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.
- checksums.yaml +4 -4
- data/app/assets/javascripts/foreman_scc_manager/locale/de/foreman_scc_manager.js +42 -9
- data/app/assets/javascripts/foreman_scc_manager/locale/el/foreman_scc_manager.js +42 -9
- data/app/assets/javascripts/foreman_scc_manager/locale/en/foreman_scc_manager.js +38 -5
- data/app/assets/javascripts/foreman_scc_manager/locale/fr/foreman_scc_manager.js +43 -10
- data/app/assets/javascripts/foreman_scc_manager/locale/ja/foreman_scc_manager.js +43 -10
- data/app/assets/javascripts/foreman_scc_manager/locale/ka/foreman_scc_manager.js +43 -10
- data/app/assets/javascripts/foreman_scc_manager/locale/ko/foreman_scc_manager.js +43 -10
- data/app/assets/javascripts/foreman_scc_manager/locale/zh_CN/foreman_scc_manager.js +43 -10
- data/app/controllers/api/v2/scc_accounts_controller.rb +2 -0
- data/app/controllers/scc_accounts_controller.rb +0 -3
- data/app/views/api/v2/scc_accounts/main.json.rabl +1 -1
- data/app/views/scc_accounts/index.html.erb +14 -33
- data/lib/foreman_scc_manager/version.rb +1 -1
- data/locale/de/LC_MESSAGES/foreman_scc_manager.mo +0 -0
- data/locale/de/foreman_scc_manager.po +46 -18
- data/locale/el/LC_MESSAGES/foreman_scc_manager.mo +0 -0
- data/locale/el/foreman_scc_manager.po +43 -15
- data/locale/en/LC_MESSAGES/foreman_scc_manager.mo +0 -0
- data/locale/en/foreman_scc_manager.po +38 -11
- data/locale/foreman_scc_manager.pot +105 -50
- data/locale/fr/LC_MESSAGES/foreman_scc_manager.mo +0 -0
- data/locale/fr/foreman_scc_manager.po +47 -19
- data/locale/ja/LC_MESSAGES/foreman_scc_manager.mo +0 -0
- data/locale/ja/foreman_scc_manager.po +47 -16
- data/locale/ka/LC_MESSAGES/foreman_scc_manager.mo +0 -0
- data/locale/ka/foreman_scc_manager.po +44 -21
- data/locale/ko/LC_MESSAGES/foreman_scc_manager.mo +0 -0
- data/locale/ko/foreman_scc_manager.po +46 -18
- data/locale/zh_CN/LC_MESSAGES/foreman_scc_manager.mo +0 -0
- data/locale/zh_CN/foreman_scc_manager.po +47 -17
- data/test/controllers/api/v2/scc_accounts_test.rb +30 -0
- data/test/fixtures/models/scc_accounts.yml +2 -0
- data/webpack/components/SCCAccountIndex/SCCAccountIndex.scss +26 -0
- data/webpack/components/SCCAccountIndex/SCCAccountIndex.test.js +291 -0
- data/webpack/components/SCCAccountIndex/SCCAccountIndexActions.js +205 -0
- data/webpack/components/SCCAccountIndex/SCCAccountIndexConstants.js +9 -0
- data/webpack/components/SCCAccountIndex/index.js +262 -0
- data/webpack/components/SCCProductPage/EmptySccProducts.js +10 -7
- data/webpack/components/SCCProductPage/components/SCCProductPicker/components/SCCGenericPicker/index.js +25 -11
- data/webpack/components/SCCProductPage/components/SCCProductPicker/components/SCCTreePicker/components/SCCRepoPicker/index.js +1 -1
- data/webpack/components/SCCProductPage/components/SCCProductPicker/styles.scss +8 -3
- data/webpack/components/SCCProductPage/sccProductPage.scss +5 -0
- data/webpack/index.js +6 -0
- metadata +8 -3
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
|
5
5
|
#
|
|
6
6
|
# Translators:
|
|
7
|
-
# Temuri Doghonadze <temuri.doghonadze@gmail.com>,
|
|
7
|
+
# Temuri Doghonadze <temuri.doghonadze@gmail.com>, 2025
|
|
8
8
|
#
|
|
9
9
|
msgid ""
|
|
10
10
|
msgstr ""
|
|
11
|
-
"Project-Id-Version: foreman_scc_manager 5.0
|
|
11
|
+
"Project-Id-Version: foreman_scc_manager 5.2.0\n"
|
|
12
12
|
"Report-Msgid-Bugs-To: \n"
|
|
13
13
|
"PO-Revision-Date: 2019-10-17 13:28+0000\n"
|
|
14
|
-
"Last-Translator: Temuri Doghonadze <temuri.doghonadze@gmail.com>,
|
|
14
|
+
"Last-Translator: Temuri Doghonadze <temuri.doghonadze@gmail.com>, 2025\n"
|
|
15
15
|
"Language-Team: Georgian (https://app.transifex.com/foreman/teams/114/ka/)\n"
|
|
16
16
|
"MIME-Version: 1.0\n"
|
|
17
17
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
@@ -37,6 +37,9 @@ msgstr "%s/%s"
|
|
|
37
37
|
msgid "Actions"
|
|
38
38
|
msgstr "ქმედებები"
|
|
39
39
|
|
|
40
|
+
msgid "Actions menu"
|
|
41
|
+
msgstr ""
|
|
42
|
+
|
|
40
43
|
msgid "Add SCC account"
|
|
41
44
|
msgstr "SCC ანგარიშის დამატება"
|
|
42
45
|
|
|
@@ -65,7 +68,7 @@ msgid "Bulk subscription of scc_products with individual repository selection fo
|
|
|
65
68
|
msgstr "Scc_account-ისთვის scc_products-ების მრავალი მინიჭება."
|
|
66
69
|
|
|
67
70
|
msgid "Cancel"
|
|
68
|
-
msgstr ""
|
|
71
|
+
msgstr "გაუქმება"
|
|
69
72
|
|
|
70
73
|
msgid "Collapse products"
|
|
71
74
|
msgstr "პროდუქტების ჩაკეცვა"
|
|
@@ -91,6 +94,12 @@ msgstr "Cron-ის გამოსახულება არასწორ
|
|
|
91
94
|
msgid "Date and time relative to which the sync interval is run"
|
|
92
95
|
msgstr "თარიღი და დრო იმ მომენტიდან, როცა სინქი ბოლოს გაეშვა"
|
|
93
96
|
|
|
97
|
+
msgid "Delete"
|
|
98
|
+
msgstr ""
|
|
99
|
+
|
|
100
|
+
msgid "Delete SCC Account"
|
|
101
|
+
msgstr ""
|
|
102
|
+
|
|
94
103
|
msgid "Delete scc_account"
|
|
95
104
|
msgstr "SCC_account-ის წაშლა"
|
|
96
105
|
|
|
@@ -112,6 +121,12 @@ msgstr "ამოცანის რიგში ჩამატების შ
|
|
|
112
121
|
msgid "Failed to create SCC account."
|
|
113
122
|
msgstr ""
|
|
114
123
|
|
|
124
|
+
msgid "Failed to delete SCC account."
|
|
125
|
+
msgstr ""
|
|
126
|
+
|
|
127
|
+
msgid "Failed to start sync task."
|
|
128
|
+
msgstr ""
|
|
129
|
+
|
|
115
130
|
msgid "Failed to update SCC account."
|
|
116
131
|
msgstr ""
|
|
117
132
|
|
|
@@ -173,11 +188,14 @@ msgid "Mirroring Policy"
|
|
|
173
188
|
msgstr "სარკისებრი ასლის წესი"
|
|
174
189
|
|
|
175
190
|
msgid "Name"
|
|
176
|
-
msgstr ""
|
|
191
|
+
msgstr "სახელი"
|
|
177
192
|
|
|
178
193
|
msgid "Name of the scc_account"
|
|
179
194
|
msgstr "SCC_account-ის სახელი"
|
|
180
195
|
|
|
196
|
+
msgid "No options available"
|
|
197
|
+
msgstr ""
|
|
198
|
+
|
|
181
199
|
msgid "None"
|
|
182
200
|
msgstr "არაფერი"
|
|
183
201
|
|
|
@@ -185,7 +203,7 @@ msgid "On Demand"
|
|
|
185
203
|
msgstr "საჭიროებისამებრ"
|
|
186
204
|
|
|
187
205
|
msgid "Password"
|
|
188
|
-
msgstr ""
|
|
206
|
+
msgstr "პაროლი"
|
|
189
207
|
|
|
190
208
|
msgid "Password of scc_account"
|
|
191
209
|
msgstr "SCC_account-ის პაროლი"
|
|
@@ -226,6 +244,9 @@ msgstr ""
|
|
|
226
244
|
msgid "SCC account created successfully."
|
|
227
245
|
msgstr ""
|
|
228
246
|
|
|
247
|
+
msgid "SCC account deleted successfully."
|
|
248
|
+
msgstr ""
|
|
249
|
+
|
|
229
250
|
msgid "SCC account updated successfully."
|
|
230
251
|
msgstr ""
|
|
231
252
|
|
|
@@ -247,12 +268,12 @@ msgstr "SUSE-ის გამოწერები"
|
|
|
247
268
|
msgid "Search"
|
|
248
269
|
msgstr "ძებნა"
|
|
249
270
|
|
|
271
|
+
msgid "Select Products"
|
|
272
|
+
msgstr ""
|
|
273
|
+
|
|
250
274
|
msgid "Select SUSE products"
|
|
251
275
|
msgstr "აირჩიეთ SUSE-ის პროდუქტები"
|
|
252
276
|
|
|
253
|
-
msgid "Select products"
|
|
254
|
-
msgstr "აირჩიეთ პროდუქტები"
|
|
255
|
-
|
|
256
277
|
msgid "Selected SUSE Products"
|
|
257
278
|
msgstr "არჩეული SUSE-ის პროდუქტები"
|
|
258
279
|
|
|
@@ -322,6 +343,9 @@ msgstr "სინქის ამოცანა გაეშვა."
|
|
|
322
343
|
msgid "Synchronize SUSE Account"
|
|
323
344
|
msgstr "SUSE-ის ანგარიშის სინქრონიზაცია"
|
|
324
345
|
|
|
346
|
+
msgid "Syncing..."
|
|
347
|
+
msgstr ""
|
|
348
|
+
|
|
325
349
|
msgid "Test Connection"
|
|
326
350
|
msgstr "შეერთების შემოწმება"
|
|
327
351
|
|
|
@@ -373,18 +397,8 @@ msgstr "გამოიყენეთ ეს პარამეტრი, თ
|
|
|
373
397
|
msgid "Use your 'Organization credentials' obtained from the SUSE Customer Center."
|
|
374
398
|
msgstr "გამოიყენეთ თქვენი 'ორგანიზაციის მომხმარებელი და პაროლი', რომელიც SUSE-ის მხარდაჭერის ცენტრიდან მიიღეთ."
|
|
375
399
|
|
|
376
|
-
msgid ""
|
|
377
|
-
|
|
378
|
-
"\n"
|
|
379
|
-
"If you delete your old SCC account, you CANNOT reuse existing repositories, products, content views, and composite content views.\n"
|
|
380
|
-
"\n"
|
|
381
|
-
"Really delete SCC account %s?"
|
|
382
|
-
msgstr ""
|
|
383
|
-
"გაფრთხილება: თუ გნებავთ, გადართოთ SCC ანგარიშები და შეინარჩუნოთ დასინქრონებული შემცველობა, არ წაშალოთ თქვენი ძველი SCC ანგარიში მაშინაც კი, როცა მას ვადა გაუვა. სჯობს მისი მომხმარებელი და პაროლი შეცვალოთ.\n"
|
|
384
|
-
"\n"
|
|
385
|
-
"თუ თქვენს ძველ SCC ანგარიშს წაშლით, არსებულ რეპოზიტორიებს, პროდუქტებს, შემცველობის ხედებს და კომპოზიტურ შემცველობის ხედებს ვეღარ გამოიყენებთ.\n"
|
|
386
|
-
"\n"
|
|
387
|
-
"მართლა წავშალო SCC ანგარიში %s?"
|
|
400
|
+
msgid "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\\n Do you Really want to delete this SCC account %acc_name?"
|
|
401
|
+
msgstr ""
|
|
388
402
|
|
|
389
403
|
msgid "YYYY-MM-DD"
|
|
390
404
|
msgstr ""
|
|
@@ -392,8 +406,17 @@ msgstr ""
|
|
|
392
406
|
msgid "You currently have no SUSE products selected. Search and add SUSE products in the section below."
|
|
393
407
|
msgstr "ამჟამად SUSE-ის პროდუქტები არჩეული არ გაქვთ. მოძებნეთ და დაამატეთ SUSE-ის პროდუქტები ქვედა სექციაში."
|
|
394
408
|
|
|
409
|
+
msgid "error"
|
|
410
|
+
msgstr ""
|
|
411
|
+
|
|
412
|
+
msgid "finished"
|
|
413
|
+
msgstr ""
|
|
414
|
+
|
|
395
415
|
msgid "never synced"
|
|
396
416
|
msgstr "სინქრონიზაცია არ მომხდარა"
|
|
397
417
|
|
|
398
418
|
msgid "no results"
|
|
399
419
|
msgstr ""
|
|
420
|
+
|
|
421
|
+
msgid "running"
|
|
422
|
+
msgstr ""
|
|
Binary file
|
|
@@ -5,17 +5,17 @@
|
|
|
5
5
|
#
|
|
6
6
|
# Translators:
|
|
7
7
|
# 0868a4d1af5275b3f70b0a6dac4c99a4, 2019
|
|
8
|
-
# Bryan Kearney <bryan.kearney@gmail.com>, 2022
|
|
9
8
|
# 진선재, 2022
|
|
10
|
-
#
|
|
9
|
+
# Ondřej Gajdušek, 2025
|
|
10
|
+
# Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarden.nl>, 2025
|
|
11
|
+
# Bryan Kearney <bryan.kearney@gmail.com>, 2025
|
|
11
12
|
#
|
|
12
13
|
msgid ""
|
|
13
14
|
msgstr ""
|
|
14
|
-
"Project-Id-Version: foreman_scc_manager 5.0
|
|
15
|
+
"Project-Id-Version: foreman_scc_manager 5.2.0\n"
|
|
15
16
|
"Report-Msgid-Bugs-To: \n"
|
|
16
17
|
"PO-Revision-Date: 2019-10-17 13:28+0000\n"
|
|
17
|
-
"Last-Translator:
|
|
18
|
-
"n.nl>, 2024\n"
|
|
18
|
+
"Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>, 2025\n"
|
|
19
19
|
"Language-Team: Korean (https://app.transifex.com/foreman/teams/114/ko/)\n"
|
|
20
20
|
"MIME-Version: 1.0\n"
|
|
21
21
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
@@ -41,6 +41,9 @@ msgstr ""
|
|
|
41
41
|
msgid "Actions"
|
|
42
42
|
msgstr "동작 "
|
|
43
43
|
|
|
44
|
+
msgid "Actions menu"
|
|
45
|
+
msgstr ""
|
|
46
|
+
|
|
44
47
|
msgid "Add SCC account"
|
|
45
48
|
msgstr ""
|
|
46
49
|
|
|
@@ -69,7 +72,7 @@ msgid "Bulk subscription of scc_products with individual repository selection fo
|
|
|
69
72
|
msgstr ""
|
|
70
73
|
|
|
71
74
|
msgid "Cancel"
|
|
72
|
-
msgstr ""
|
|
75
|
+
msgstr "취소 "
|
|
73
76
|
|
|
74
77
|
msgid "Collapse products"
|
|
75
78
|
msgstr ""
|
|
@@ -95,6 +98,12 @@ msgstr "Cron 표현식이 잘못되었습니다!"
|
|
|
95
98
|
msgid "Date and time relative to which the sync interval is run"
|
|
96
99
|
msgstr ""
|
|
97
100
|
|
|
101
|
+
msgid "Delete"
|
|
102
|
+
msgstr ""
|
|
103
|
+
|
|
104
|
+
msgid "Delete SCC Account"
|
|
105
|
+
msgstr ""
|
|
106
|
+
|
|
98
107
|
msgid "Delete scc_account"
|
|
99
108
|
msgstr ""
|
|
100
109
|
|
|
@@ -116,6 +125,12 @@ msgstr "대기열에 태스크를 추가하지 못했습니다: %s"
|
|
|
116
125
|
msgid "Failed to create SCC account."
|
|
117
126
|
msgstr ""
|
|
118
127
|
|
|
128
|
+
msgid "Failed to delete SCC account."
|
|
129
|
+
msgstr ""
|
|
130
|
+
|
|
131
|
+
msgid "Failed to start sync task."
|
|
132
|
+
msgstr ""
|
|
133
|
+
|
|
119
134
|
msgid "Failed to update SCC account."
|
|
120
135
|
msgstr ""
|
|
121
136
|
|
|
@@ -177,11 +192,14 @@ msgid "Mirroring Policy"
|
|
|
177
192
|
msgstr "미러링 정책"
|
|
178
193
|
|
|
179
194
|
msgid "Name"
|
|
180
|
-
msgstr ""
|
|
195
|
+
msgstr "이름 "
|
|
181
196
|
|
|
182
197
|
msgid "Name of the scc_account"
|
|
183
198
|
msgstr ""
|
|
184
199
|
|
|
200
|
+
msgid "No options available"
|
|
201
|
+
msgstr ""
|
|
202
|
+
|
|
185
203
|
msgid "None"
|
|
186
204
|
msgstr "없음 "
|
|
187
205
|
|
|
@@ -189,7 +207,7 @@ msgid "On Demand"
|
|
|
189
207
|
msgstr "주문형"
|
|
190
208
|
|
|
191
209
|
msgid "Password"
|
|
192
|
-
msgstr ""
|
|
210
|
+
msgstr "암호 "
|
|
193
211
|
|
|
194
212
|
msgid "Password of scc_account"
|
|
195
213
|
msgstr ""
|
|
@@ -230,6 +248,9 @@ msgstr ""
|
|
|
230
248
|
msgid "SCC account created successfully."
|
|
231
249
|
msgstr ""
|
|
232
250
|
|
|
251
|
+
msgid "SCC account deleted successfully."
|
|
252
|
+
msgstr ""
|
|
253
|
+
|
|
233
254
|
msgid "SCC account updated successfully."
|
|
234
255
|
msgstr ""
|
|
235
256
|
|
|
@@ -251,11 +272,11 @@ msgstr ""
|
|
|
251
272
|
msgid "Search"
|
|
252
273
|
msgstr "검색 "
|
|
253
274
|
|
|
254
|
-
msgid "Select
|
|
275
|
+
msgid "Select Products"
|
|
255
276
|
msgstr ""
|
|
256
277
|
|
|
257
|
-
msgid "Select products"
|
|
258
|
-
msgstr "
|
|
278
|
+
msgid "Select SUSE products"
|
|
279
|
+
msgstr ""
|
|
259
280
|
|
|
260
281
|
msgid "Selected SUSE Products"
|
|
261
282
|
msgstr ""
|
|
@@ -294,7 +315,7 @@ msgid "Starting the subscription task failed."
|
|
|
294
315
|
msgstr ""
|
|
295
316
|
|
|
296
317
|
msgid "Submit"
|
|
297
|
-
msgstr ""
|
|
318
|
+
msgstr "보내기"
|
|
298
319
|
|
|
299
320
|
msgid "Subscribe SCC Product"
|
|
300
321
|
msgstr ""
|
|
@@ -326,6 +347,9 @@ msgstr ""
|
|
|
326
347
|
msgid "Synchronize SUSE Account"
|
|
327
348
|
msgstr ""
|
|
328
349
|
|
|
350
|
+
msgid "Syncing..."
|
|
351
|
+
msgstr ""
|
|
352
|
+
|
|
329
353
|
msgid "Test Connection"
|
|
330
354
|
msgstr "연결 테스트 "
|
|
331
355
|
|
|
@@ -377,12 +401,7 @@ msgstr ""
|
|
|
377
401
|
msgid "Use your 'Organization credentials' obtained from the SUSE Customer Center."
|
|
378
402
|
msgstr ""
|
|
379
403
|
|
|
380
|
-
msgid ""
|
|
381
|
-
"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"
|
|
382
|
-
"\n"
|
|
383
|
-
"If you delete your old SCC account, you CANNOT reuse existing repositories, products, content views, and composite content views.\n"
|
|
384
|
-
"\n"
|
|
385
|
-
"Really delete SCC account %s?"
|
|
404
|
+
msgid "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\\n Do you Really want to delete this SCC account %acc_name?"
|
|
386
405
|
msgstr ""
|
|
387
406
|
|
|
388
407
|
msgid "YYYY-MM-DD"
|
|
@@ -391,8 +410,17 @@ msgstr ""
|
|
|
391
410
|
msgid "You currently have no SUSE products selected. Search and add SUSE products in the section below."
|
|
392
411
|
msgstr ""
|
|
393
412
|
|
|
413
|
+
msgid "error"
|
|
414
|
+
msgstr ""
|
|
415
|
+
|
|
416
|
+
msgid "finished"
|
|
417
|
+
msgstr ""
|
|
418
|
+
|
|
394
419
|
msgid "never synced"
|
|
395
420
|
msgstr ""
|
|
396
421
|
|
|
397
422
|
msgid "no results"
|
|
398
423
|
msgstr ""
|
|
424
|
+
|
|
425
|
+
msgid "running"
|
|
426
|
+
msgstr ""
|
|
Binary file
|
|
@@ -4,16 +4,18 @@
|
|
|
4
4
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
|
5
5
|
#
|
|
6
6
|
# Translators:
|
|
7
|
-
# tim123, 2019
|
|
8
|
-
# Bryan Kearney <bryan.kearney@gmail.com>, 2022
|
|
9
7
|
# Amit Upadhye <aupadhye@redhat.com>, 2022
|
|
8
|
+
# Bryan Kearney <bryan.kearney@gmail.com>, 2022
|
|
9
|
+
# Ondřej Gajdušek, 2025
|
|
10
|
+
# Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarden.nl>, 2025
|
|
11
|
+
# tim123, 2025
|
|
10
12
|
#
|
|
11
13
|
msgid ""
|
|
12
14
|
msgstr ""
|
|
13
|
-
"Project-Id-Version: foreman_scc_manager 5.0
|
|
15
|
+
"Project-Id-Version: foreman_scc_manager 5.2.0\n"
|
|
14
16
|
"Report-Msgid-Bugs-To: \n"
|
|
15
17
|
"PO-Revision-Date: 2019-10-17 13:28+0000\n"
|
|
16
|
-
"Last-Translator:
|
|
18
|
+
"Last-Translator: tim123, 2025\n"
|
|
17
19
|
"Language-Team: Chinese (China) (https://app.transifex.com/foreman/teams/114/zh"
|
|
18
20
|
"_CN/)\n"
|
|
19
21
|
"MIME-Version: 1.0\n"
|
|
@@ -40,6 +42,9 @@ msgstr ""
|
|
|
40
42
|
msgid "Actions"
|
|
41
43
|
msgstr "操作"
|
|
42
44
|
|
|
45
|
+
msgid "Actions menu"
|
|
46
|
+
msgstr ""
|
|
47
|
+
|
|
43
48
|
msgid "Add SCC account"
|
|
44
49
|
msgstr "添加 SCC 帐户"
|
|
45
50
|
|
|
@@ -68,7 +73,7 @@ msgid "Bulk subscription of scc_products with individual repository selection fo
|
|
|
68
73
|
msgstr ""
|
|
69
74
|
|
|
70
75
|
msgid "Cancel"
|
|
71
|
-
msgstr ""
|
|
76
|
+
msgstr "取消"
|
|
72
77
|
|
|
73
78
|
msgid "Collapse products"
|
|
74
79
|
msgstr ""
|
|
@@ -94,6 +99,12 @@ msgstr "Cron 表达式无效!"
|
|
|
94
99
|
msgid "Date and time relative to which the sync interval is run"
|
|
95
100
|
msgstr "运行同步间隔的日期和时间"
|
|
96
101
|
|
|
102
|
+
msgid "Delete"
|
|
103
|
+
msgstr ""
|
|
104
|
+
|
|
105
|
+
msgid "Delete SCC Account"
|
|
106
|
+
msgstr ""
|
|
107
|
+
|
|
97
108
|
msgid "Delete scc_account"
|
|
98
109
|
msgstr "删除 scc_account"
|
|
99
110
|
|
|
@@ -115,6 +126,12 @@ msgstr "向队列添加任务失败:%s"
|
|
|
115
126
|
msgid "Failed to create SCC account."
|
|
116
127
|
msgstr ""
|
|
117
128
|
|
|
129
|
+
msgid "Failed to delete SCC account."
|
|
130
|
+
msgstr ""
|
|
131
|
+
|
|
132
|
+
msgid "Failed to start sync task."
|
|
133
|
+
msgstr ""
|
|
134
|
+
|
|
118
135
|
msgid "Failed to update SCC account."
|
|
119
136
|
msgstr ""
|
|
120
137
|
|
|
@@ -176,11 +193,14 @@ msgid "Mirroring Policy"
|
|
|
176
193
|
msgstr "镜像策略"
|
|
177
194
|
|
|
178
195
|
msgid "Name"
|
|
179
|
-
msgstr ""
|
|
196
|
+
msgstr "名称"
|
|
180
197
|
|
|
181
198
|
msgid "Name of the scc_account"
|
|
182
199
|
msgstr "scc_account 的名称"
|
|
183
200
|
|
|
201
|
+
msgid "No options available"
|
|
202
|
+
msgstr ""
|
|
203
|
+
|
|
184
204
|
msgid "None"
|
|
185
205
|
msgstr "没有"
|
|
186
206
|
|
|
@@ -188,7 +208,7 @@ msgid "On Demand"
|
|
|
188
208
|
msgstr "按需"
|
|
189
209
|
|
|
190
210
|
msgid "Password"
|
|
191
|
-
msgstr ""
|
|
211
|
+
msgstr "密码"
|
|
192
212
|
|
|
193
213
|
msgid "Password of scc_account"
|
|
194
214
|
msgstr "scc_account 的密码"
|
|
@@ -229,6 +249,9 @@ msgstr ""
|
|
|
229
249
|
msgid "SCC account created successfully."
|
|
230
250
|
msgstr ""
|
|
231
251
|
|
|
252
|
+
msgid "SCC account deleted successfully."
|
|
253
|
+
msgstr ""
|
|
254
|
+
|
|
232
255
|
msgid "SCC account updated successfully."
|
|
233
256
|
msgstr ""
|
|
234
257
|
|
|
@@ -250,11 +273,11 @@ msgstr "SUSE 订阅"
|
|
|
250
273
|
msgid "Search"
|
|
251
274
|
msgstr ""
|
|
252
275
|
|
|
253
|
-
msgid "Select
|
|
276
|
+
msgid "Select Products"
|
|
254
277
|
msgstr ""
|
|
255
278
|
|
|
256
|
-
msgid "Select products"
|
|
257
|
-
msgstr "
|
|
279
|
+
msgid "Select SUSE products"
|
|
280
|
+
msgstr ""
|
|
258
281
|
|
|
259
282
|
msgid "Selected SUSE Products"
|
|
260
283
|
msgstr ""
|
|
@@ -293,7 +316,7 @@ msgid "Starting the subscription task failed."
|
|
|
293
316
|
msgstr ""
|
|
294
317
|
|
|
295
318
|
msgid "Submit"
|
|
296
|
-
msgstr ""
|
|
319
|
+
msgstr "提交"
|
|
297
320
|
|
|
298
321
|
msgid "Subscribe SCC Product"
|
|
299
322
|
msgstr "订阅 SCC 产品"
|
|
@@ -325,6 +348,9 @@ msgstr "同步任务已启动。"
|
|
|
325
348
|
msgid "Synchronize SUSE Account"
|
|
326
349
|
msgstr ""
|
|
327
350
|
|
|
351
|
+
msgid "Syncing..."
|
|
352
|
+
msgstr ""
|
|
353
|
+
|
|
328
354
|
msgid "Test Connection"
|
|
329
355
|
msgstr "测试连接"
|
|
330
356
|
|
|
@@ -376,12 +402,7 @@ msgstr "如果要在订阅时自动在 SUSE 产品中添加 GPG 密钥,请使
|
|
|
376
402
|
msgid "Use your 'Organization credentials' obtained from the SUSE Customer Center."
|
|
377
403
|
msgstr "使用从 SUSE 客户中心获取的\"组织凭据\"。"
|
|
378
404
|
|
|
379
|
-
msgid ""
|
|
380
|
-
"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"
|
|
381
|
-
"\n"
|
|
382
|
-
"If you delete your old SCC account, you CANNOT reuse existing repositories, products, content views, and composite content views.\n"
|
|
383
|
-
"\n"
|
|
384
|
-
"Really delete SCC account %s?"
|
|
405
|
+
msgid "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\\n Do you Really want to delete this SCC account %acc_name?"
|
|
385
406
|
msgstr ""
|
|
386
407
|
|
|
387
408
|
msgid "YYYY-MM-DD"
|
|
@@ -390,8 +411,17 @@ msgstr ""
|
|
|
390
411
|
msgid "You currently have no SUSE products selected. Search and add SUSE products in the section below."
|
|
391
412
|
msgstr ""
|
|
392
413
|
|
|
414
|
+
msgid "error"
|
|
415
|
+
msgstr ""
|
|
416
|
+
|
|
417
|
+
msgid "finished"
|
|
418
|
+
msgstr ""
|
|
419
|
+
|
|
393
420
|
msgid "never synced"
|
|
394
421
|
msgstr "从未同步"
|
|
395
422
|
|
|
396
423
|
msgid "no results"
|
|
397
424
|
msgstr ""
|
|
425
|
+
|
|
426
|
+
msgid "running"
|
|
427
|
+
msgstr ""
|
|
@@ -208,6 +208,36 @@ class Api::V2::SccAccountsControllerTest < ActionController::TestCase
|
|
|
208
208
|
assert_response :ok
|
|
209
209
|
end
|
|
210
210
|
|
|
211
|
+
test 'should update mirroring policy' do
|
|
212
|
+
account = scc_accounts(:one)
|
|
213
|
+
assert_equal 'mirror_content_only', account.mirroring_policy
|
|
214
|
+
put :update, params: { id: account.id, scc_account: { :mirroring_policy => 'additive' } }
|
|
215
|
+
assert_equal 'additive', assigns(:scc_account).mirroring_policy
|
|
216
|
+
assert_response :ok
|
|
217
|
+
end
|
|
218
|
+
|
|
219
|
+
test 'should refuse invalid mirroring policy' do
|
|
220
|
+
account = scc_accounts(:one)
|
|
221
|
+
put :update, params: { id: account.id, scc_account: { :mirroring_policy => 'invalid' } }
|
|
222
|
+
assert_response :unprocessable_entity
|
|
223
|
+
assert_equal 'Validation failed: Mirroring policy is not included in the list', JSON.parse(response.body)['error']
|
|
224
|
+
end
|
|
225
|
+
|
|
226
|
+
test 'should update download policy' do
|
|
227
|
+
account = scc_accounts(:one)
|
|
228
|
+
assert_equal 'on_demand', account.download_policy
|
|
229
|
+
put :update, params: { id: account.id, scc_account: { :download_policy => 'immediate' } }
|
|
230
|
+
assert_equal 'immediate', assigns(:scc_account).download_policy
|
|
231
|
+
assert_response :ok
|
|
232
|
+
end
|
|
233
|
+
|
|
234
|
+
test 'should refuse invalid download policy' do
|
|
235
|
+
account = scc_accounts(:one)
|
|
236
|
+
put :update, params: { id: account.id, scc_account: { :download_policy => 'invalid' } }
|
|
237
|
+
assert_response :unprocessable_entity
|
|
238
|
+
assert_equal 'Validation failed: Download policy is not included in the list', JSON.parse(response.body)['error']
|
|
239
|
+
end
|
|
240
|
+
|
|
211
241
|
test 'should refuse update scc_account with invalid interval' do
|
|
212
242
|
account = scc_accounts(:two)
|
|
213
243
|
put :update, params: { id: account.id, scc_account: { :interval => 'yearly' } }
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
.scc-account-add-container {
|
|
2
|
+
display: flex;
|
|
3
|
+
justify-content: flex-end;
|
|
4
|
+
margin-top: -8px;
|
|
5
|
+
margin-bottom: 8px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.scc-account-delete-warning {
|
|
9
|
+
background-color: #f9f9f9;
|
|
10
|
+
border-radius: 4px;
|
|
11
|
+
padding: 12px 16px;
|
|
12
|
+
white-space: pre-wrap;
|
|
13
|
+
overflow-x: auto;
|
|
14
|
+
font-size: 0.9rem;
|
|
15
|
+
max-height: 300px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.scc-account-actions {
|
|
19
|
+
display: flex;
|
|
20
|
+
gap: 8px;
|
|
21
|
+
align-items: center;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.pf-v5-c-page__main-section.pf-m-light {
|
|
25
|
+
margin-top: -1rem;
|
|
26
|
+
}
|