foreman_scc_manager 1.6.3 → 1.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -0
  3. data/Rakefile +1 -1
  4. data/app/controllers/api/v2/scc_accounts_controller.rb +159 -0
  5. data/app/controllers/api/v2/scc_products_controller.rb +64 -0
  6. data/app/models/scc_account.rb +2 -1
  7. data/app/models/scc_product.rb +1 -0
  8. data/app/views/api/v2/scc_accounts/base.json.rabl +5 -0
  9. data/app/views/api/v2/scc_accounts/index.json.rabl +4 -0
  10. data/app/views/api/v2/scc_accounts/main.json.rabl +5 -0
  11. data/app/views/api/v2/scc_accounts/show.json.rabl +4 -0
  12. data/app/views/api/v2/scc_products/base.json.rabl +5 -0
  13. data/app/views/api/v2/scc_products/index.json.rabl +4 -0
  14. data/app/views/api/v2/scc_products/main.json.rabl +5 -0
  15. data/app/views/api/v2/scc_products/show.json.rabl +5 -0
  16. data/config/routes.rb +30 -1
  17. data/lib/foreman_scc_manager/engine.rb +28 -9
  18. data/lib/foreman_scc_manager/version.rb +1 -1
  19. data/lib/tasks/rubocop.rake +0 -1
  20. data/locale/action_names.rb +5 -61
  21. data/locale/de/LC_MESSAGES/foreman_scc_manager.mo +0 -0
  22. data/locale/de/foreman_scc_manager.po +139 -210
  23. data/locale/en/LC_MESSAGES/foreman_scc_manager.mo +0 -0
  24. data/locale/en/foreman_scc_manager.po +129 -152
  25. data/locale/foreman_scc_manager.pot +120 -212
  26. data/test/controllers/api/v2/scc_accounts_test.rb +302 -0
  27. data/test/controllers/api/v2/scc_products_test.rb +40 -0
  28. data/test/features/sync_test.rb +3 -6
  29. data/test/{features → fixtures/files}/data_products_page1.json +0 -0
  30. data/test/{features → fixtures/files}/data_products_page2.json +0 -0
  31. data/test/fixtures/files/data_repositories.json +502 -0
  32. data/test/{features → fixtures/files}/data_subscriptions.json +0 -0
  33. data/test/models/scc_account_test.rb +4 -4
  34. data/test/models/scc_product_test.rb +2 -2
  35. data/test/test_plugin_helper.rb +2 -0
  36. metadata +25 -10
@@ -5,7 +5,7 @@
5
5
  #
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: foreman_scc_manager 1.0.0\n"
8
+ "Project-Id-Version: foreman_scc_manager 1.7.0\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
10
  "PO-Revision-Date: 2017-04-24 12:30+0000\n"
11
11
  "Last-Translator: ATIX AG <info@atix.de>\n"
@@ -17,249 +17,226 @@ msgstr ""
17
17
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
18
18
  "\n"
19
19
 
20
- msgid "Abstract async task"
20
+ #: ../app/controllers/api/v2/scc_accounts_controller.rb:15
21
+ msgid "List all scc_accounts"
21
22
  msgstr ""
22
23
 
23
- msgid "Action with sub plans"
24
+ #: ../app/controllers/api/v2/scc_accounts_controller.rb:24
25
+ msgid "Show scc_account"
24
26
  msgstr ""
25
27
 
26
- msgid "Actions"
27
- msgstr ""
28
-
29
- msgid "Add SCC account"
30
- msgstr "Add SCC account"
31
-
32
- msgid "Add SUSE Customer Center Account"
33
- msgstr "Add SUSE Customer Center Account"
34
-
35
- msgid "Add Sync Plan Products"
36
- msgstr ""
37
-
38
- msgid "Attach subscriptions"
39
- msgstr ""
40
-
41
- msgid "Auto attach subscriptions"
42
- msgstr ""
43
-
44
- msgid "Auto-attach subscriptions"
45
- msgstr ""
46
-
47
- msgid "Base URL"
48
- msgstr "Base URL"
49
-
50
- msgid "Configure capsule"
28
+ #: ../app/controllers/api/v2/scc_accounts_controller.rb:32
29
+ msgid "Name of the scc_account"
51
30
  msgstr ""
52
31
 
53
- msgid "Create"
32
+ #: ../app/controllers/api/v2/scc_accounts_controller.rb:33 ../app/controllers/api/v2/scc_accounts_controller.rb:64
33
+ msgid "Login id of scc_account"
54
34
  msgstr ""
55
35
 
56
- msgid "Create repos"
36
+ #: ../app/controllers/api/v2/scc_accounts_controller.rb:34 ../app/controllers/api/v2/scc_accounts_controller.rb:65
37
+ msgid "Password of scc_account"
57
38
  msgstr ""
58
39
 
59
- msgid "Delete"
40
+ #: ../app/controllers/api/v2/scc_accounts_controller.rb:35 ../app/controllers/api/v2/scc_accounts_controller.rb:66
41
+ msgid "URL of SUSE for scc_account"
60
42
  msgstr ""
61
43
 
62
- msgid "Delete %s?"
44
+ #: ../app/controllers/api/v2/scc_accounts_controller.rb:36
45
+ msgid "Interval for syncing scc_account"
63
46
  msgstr ""
64
47
 
65
- msgid "Delete Activation Key"
48
+ #: ../app/controllers/api/v2/scc_accounts_controller.rb:37
49
+ msgid "Last Sync time of scc_account"
66
50
  msgstr ""
67
51
 
68
- msgid "Delete Lifecycle Environment"
52
+ #: ../app/controllers/api/v2/scc_accounts_controller.rb:41
53
+ msgid "Create an scc_account"
69
54
  msgstr ""
70
55
 
71
- msgid "Delete Product"
56
+ #: ../app/controllers/api/v2/scc_accounts_controller.rb:48
57
+ msgid "Update scc_account"
72
58
  msgstr ""
73
59
 
74
- msgid "Destroy"
60
+ #: ../app/controllers/api/v2/scc_accounts_controller.rb:55
61
+ msgid "Delete scc_account"
75
62
  msgstr ""
76
63
 
77
- msgid "Destroy Content Host"
64
+ #: ../app/controllers/api/v2/scc_accounts_controller.rb:61 ../app/controllers/api/v2/scc_accounts_controller.rb:62
65
+ msgid "Test connection for scc_account"
78
66
  msgstr ""
79
67
 
80
- msgid "Disable"
68
+ #: ../app/controllers/api/v2/scc_accounts_controller.rb:89
69
+ msgid "Sync scc_account"
81
70
  msgstr ""
82
71
 
83
- msgid "Edit"
72
+ #: ../app/controllers/api/v2/scc_accounts_controller.rb:103
73
+ msgid "Bulk subscription of scc_products for scc_account"
84
74
  msgstr ""
85
75
 
86
- msgid "Edit %s"
76
+ #: ../app/controllers/api/v2/scc_products_controller.rb:15
77
+ msgid "List all products for scc_account"
87
78
  msgstr ""
88
79
 
89
- msgid "Enable"
80
+ #: ../app/controllers/api/v2/scc_products_controller.rb:24
81
+ msgid "Show an scc_account product"
90
82
  msgstr ""
91
83
 
92
- msgid "Errata mail"
84
+ #: ../app/controllers/api/v2/scc_products_controller.rb:29
85
+ msgid "Subscribe product"
93
86
  msgstr ""
94
87
 
95
- msgid "Export"
96
- msgstr ""
88
+ #: ../app/controllers/scc_accounts_controller.rb:64
89
+ msgid "Sync task started."
90
+ msgstr "Sync task started."
97
91
 
92
+ #: ../app/controllers/scc_accounts_controller.rb:66 ../app/controllers/scc_accounts_controller.rb:86
98
93
  msgid "Failed to add task to queue: %s"
99
94
  msgstr "Failed to add task to queue: %s"
100
95
 
101
- msgid "Filtered index content"
102
- msgstr ""
96
+ #: ../app/controllers/scc_accounts_controller.rb:68 ../app/controllers/scc_accounts_controller.rb:88
97
+ msgid "Lock on SCC account already taken: %s"
98
+ msgstr "Lock on SCC account already taken: %s"
103
99
 
104
- msgid ""
105
- "Foreman plugin to sync SUSE Customer Center products and repositories into "
106
- "Katello."
100
+ #: ../app/controllers/scc_accounts_controller.rb:81
101
+ msgid "Task to subscribe products started."
107
102
  msgstr ""
108
- "Foreman plugin to sync SUSE Customer Center products and repositories into "
109
- "Katello."
110
103
 
111
- msgid "Hypervisors"
104
+ #: ../app/controllers/scc_accounts_controller.rb:83
105
+ msgid "No products selected."
112
106
  msgstr ""
113
107
 
114
- msgid "Hypervisors update"
115
- msgstr ""
108
+ #: ../app/lib/actions/scc_manager/subscribe_product.rb:5
109
+ msgid "Product already subscribed!"
110
+ msgstr "Product already subscribed!"
116
111
 
117
- msgid "Import Puppet classes"
118
- msgstr ""
112
+ #: ../app/lib/actions/scc_manager/subscribe_product.rb:35 action_names.rb:21
113
+ msgid "Subscribe SCC Product"
114
+ msgstr "Subscribe SCC Product"
119
115
 
120
- msgid "Import facts"
121
- msgstr ""
116
+ #: ../app/lib/actions/scc_manager/sync.rb:27 action_names.rb:22
117
+ msgid "Sync SUSE subscriptions"
118
+ msgstr "Sync SUSE subscriptions"
122
119
 
123
- msgid "Incremental Update"
120
+ #: ../app/lib/actions/scc_manager/sync_plan_account_repositories.rb:31
121
+ msgid "Update SUSE repositories %s"
124
122
  msgstr ""
125
123
 
126
- msgid "Incremental Update of 0 Content View Version(s) "
124
+ #: ../app/lib/actions/scc_manager/sync_plan_account_repositories.rb:31
125
+ msgid "Unknown"
127
126
  msgstr ""
128
127
 
129
- msgid "Index content"
128
+ #: ../app/lib/actions/scc_manager/sync_plan_account_repositories.rb:33 action_names.rb:71
129
+ msgid "Update SUSE repositories"
130
130
  msgstr ""
131
131
 
132
- msgid "Index errata"
133
- msgstr ""
132
+ #: ../app/lib/actions/scc_manager/sync_products.rb:34 action_names.rb:72
133
+ msgid "Sync SUSE subscriptions (Products)"
134
+ msgstr "Sync SUSE subscriptions (Products)"
134
135
 
135
- msgid "Index package groups"
136
- msgstr ""
136
+ #: ../app/lib/actions/scc_manager/sync_repositories.rb:33 action_names.rb:73
137
+ msgid "Sync SUSE subscriptions (Repositories)"
138
+ msgstr "Sync SUSE subscriptions (Repositories)"
137
139
 
138
- msgid "Install Applicable Errata"
140
+ #: ../app/models/scc_account.rb:59
141
+ msgid "never synced"
139
142
  msgstr ""
140
143
 
141
- msgid "Install erratum"
144
+ #: ../app/models/scc_account.rb:106
145
+ msgid "Interval cannot be nil"
142
146
  msgstr ""
143
147
 
144
- msgid "Install package"
148
+ #: ../app/models/scc_account.rb:113
149
+ msgid "Interval not set correctly"
145
150
  msgstr ""
146
151
 
147
- msgid "Install package group"
152
+ #: ../app/models/scc_account.rb:118
153
+ msgid "Cron expression is not valid!"
148
154
  msgstr ""
149
155
 
150
- msgid "Last synced"
151
- msgstr "Last synced"
152
-
153
- msgid "Lock on SCC account already taken: %s"
154
- msgstr "Lock on SCC account already taken: %s"
155
-
156
- msgid "Package Profile Update"
156
+ #: ../app/models/scc_account_sync_plan_task_group.rb:5
157
+ msgid "SUSE Subscription"
157
158
  msgstr ""
158
159
 
159
- msgid "Please sync your SUSE subscriptions first."
160
- msgstr "Please sync your SUSE subscriptions first."
161
-
162
- msgid "Product Create"
160
+ #: ../app/views/scc_account_sync_plan_task_groups/_scc_account_sync_plan_task_groups.html.erb:1
161
+ msgid "SUSE Subscription: "
163
162
  msgstr ""
164
163
 
165
- msgid "Product already subscribed!"
166
- msgstr "Product already subscribed!"
164
+ #: ../app/views/scc_accounts/_form.html.erb:6
165
+ msgid "SUSE Customer Center account"
166
+ msgstr "SUSE Customer Center account"
167
167
 
168
- msgid "Products"
168
+ #: ../app/views/scc_accounts/_form.html.erb:13
169
+ msgid "Use your 'Organization credentials' obtained from the SUSE Customer Center."
169
170
  msgstr ""
170
171
 
171
- msgid "Promotion"
172
- msgstr ""
172
+ #: ../app/views/scc_accounts/_form.html.erb:15
173
+ msgid "Base URL"
174
+ msgstr "Base URL"
173
175
 
174
- msgid "Publish"
176
+ #: ../app/views/scc_accounts/_form.html.erb:16
177
+ msgid "Interval"
175
178
  msgstr ""
176
179
 
177
- msgid "Register Host"
180
+ #: ../app/views/scc_accounts/_form.html.erb:17
181
+ msgid "Sync Date"
178
182
  msgstr ""
179
183
 
180
- msgid "Reindex subscriptions"
181
- msgstr ""
184
+ #: ../app/views/scc_accounts/_form.html.erb:24
185
+ msgid "Test Connection"
186
+ msgstr "Test Connection"
182
187
 
183
- msgid "Remove Content"
188
+ #: ../app/views/scc_accounts/edit.html.erb:1
189
+ msgid "Edit %s"
184
190
  msgstr ""
185
191
 
186
- msgid "Remove Version"
187
- msgstr ""
192
+ #: ../app/views/scc_accounts/index.html.erb:2
193
+ msgid "SUSE subscriptions"
194
+ msgstr "SUSE subscriptions"
188
195
 
189
- msgid "Remove Versions and Associations"
190
- msgstr ""
196
+ #: ../app/views/scc_accounts/index.html.erb:3
197
+ msgid "Add SCC account"
198
+ msgstr "Add SCC account"
191
199
 
192
- msgid "Remove from Environment"
200
+ #: ../app/views/scc_accounts/index.html.erb:9
201
+ msgid "Products"
193
202
  msgstr ""
194
203
 
195
- msgid "Remove package"
196
- msgstr ""
204
+ #: ../app/views/scc_accounts/index.html.erb:10
205
+ msgid "Last synced"
206
+ msgstr "Last synced"
197
207
 
198
- msgid "Remove package group"
208
+ #: ../app/views/scc_accounts/index.html.erb:11
209
+ msgid "Actions"
199
210
  msgstr ""
200
211
 
201
- msgid "Remove subscriptions"
212
+ #: ../app/views/scc_accounts/index.html.erb:24
213
+ msgid "Select products"
202
214
  msgstr ""
203
215
 
204
- msgid "SUSE Customer Center"
205
- msgstr "SUSE Customer Center"
206
-
207
- msgid "SUSE Customer Center account"
208
- msgstr "SUSE Customer Center account"
209
-
210
- msgid "SUSE Subscriptions"
211
- msgstr "SUSE Subscriptions"
212
-
213
- msgid "SUSE subscriptions"
214
- msgstr "SUSE subscriptions"
215
-
216
- msgid "Subscribe SCC Product"
217
- msgstr "Subscribe SCC Product"
218
-
216
+ #: ../app/views/scc_accounts/index.html.erb:25
219
217
  msgid "Sync"
220
218
  msgstr "Sync"
221
219
 
222
- msgid "Sync SUSE subscriptions"
223
- msgstr "Sync SUSE subscriptions"
224
-
225
- msgid "Sync SUSE subscriptions (Products)"
226
- msgstr "Sync SUSE subscriptions (Products)"
227
-
228
- msgid "Sync SUSE subscriptions (Repositories)"
229
- msgstr "Sync SUSE subscriptions (Repositories)"
230
-
231
- msgid "Sync task started."
232
- msgstr "Sync task started."
233
-
234
- msgid "Synchronize"
235
- msgstr "Synchronize"
236
-
237
- msgid "Synchronize capsule content"
238
- msgstr ""
239
-
240
- msgid "Test Connection"
241
- msgstr "Test Connection"
242
-
243
- msgid "Unregister Host"
244
- msgstr ""
245
-
246
- msgid "Update"
247
- msgstr ""
248
-
249
- msgid "Update Sync Plan"
220
+ #: ../app/views/scc_accounts/index.html.erb:28
221
+ msgid "Delete %s?"
250
222
  msgstr ""
251
223
 
252
- msgid "Update Sync Plan Products"
253
- msgstr ""
224
+ #: ../app/views/scc_accounts/new.html.erb:1
225
+ msgid "Add SUSE Customer Center Account"
226
+ msgstr "Add SUSE Customer Center Account"
254
227
 
255
- msgid "Update for host"
256
- msgstr ""
228
+ #: ../app/views/scc_accounts/show.html.erb:25
229
+ msgid "SUSE Customer Center"
230
+ msgstr "SUSE Customer Center"
257
231
 
258
- msgid "Update package"
259
- msgstr ""
232
+ #: ../app/views/scc_accounts/show.html.erb:36
233
+ msgid "Please sync your SUSE subscriptions first."
234
+ msgstr "Please sync your SUSE subscriptions first."
260
235
 
261
- msgid "Upload errata into"
262
- msgstr ""
236
+ #: ../lib/foreman_scc_manager/engine.rb:64
237
+ msgid "SUSE Subscriptions"
238
+ msgstr "SUSE Subscriptions"
263
239
 
264
- msgid "Upload into"
265
- msgstr ""
240
+ #: gemspec.rb:2
241
+ msgid "Foreman plugin to sync SUSE Customer Center products and repositories into Katello."
242
+ msgstr "Foreman plugin to sync SUSE Customer Center products and repositories into Katello."
@@ -8,8 +8,8 @@ msgid ""
8
8
  msgstr ""
9
9
  "Project-Id-Version: foreman_scc_manager 1.0.0\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2017-04-25 08:29+0000\n"
12
- "PO-Revision-Date: 2017-04-25 08:29+0000\n"
11
+ "POT-Creation-Date: 2019-11-12 12:27+0000\n"
12
+ "PO-Revision-Date: 2019-11-12 12:27+0000\n"
13
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
15
  "Language: \n"
@@ -18,324 +18,232 @@ msgstr ""
18
18
  "Content-Transfer-Encoding: 8bit\n"
19
19
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
20
20
 
21
- #: ../app/controllers/scc_accounts_controller.rb:68
22
- msgid "Sync task started."
23
- msgstr ""
24
-
25
- #: ../app/controllers/scc_accounts_controller.rb:70
26
- msgid "Failed to add task to queue: %s"
27
- msgstr ""
28
-
29
- #: ../app/controllers/scc_accounts_controller.rb:72
30
- msgid "Lock on SCC account already taken: %s"
31
- msgstr ""
32
-
33
- #: ../app/lib/actions/scc_manager/subscribe_product.rb:5
34
- msgid "Product already subscribed!"
35
- msgstr ""
36
-
37
- #: ../app/lib/actions/scc_manager/subscribe_product.rb:36 action_names.rb:55
38
- msgid "Subscribe SCC Product"
39
- msgstr ""
40
-
41
- #: ../app/lib/actions/scc_manager/sync.rb:26 action_names.rb:44
42
- msgid "Sync SUSE subscriptions"
43
- msgstr ""
44
-
45
- #: ../app/lib/actions/scc_manager/sync_products.rb:28 action_names.rb:50
46
- msgid "Sync SUSE subscriptions (Products)"
47
- msgstr ""
48
-
49
- #: ../app/lib/actions/scc_manager/sync_repositories.rb:27 action_names.rb:54
50
- msgid "Sync SUSE subscriptions (Repositories)"
51
- msgstr ""
52
-
53
- #: ../app/views/scc_accounts/_form.html.erb:8
54
- msgid "SUSE Customer Center account"
55
- msgstr ""
56
-
57
- #: ../app/views/scc_accounts/_form.html.erb:17
58
- msgid "Base URL"
59
- msgstr ""
60
-
61
- #: ../app/views/scc_accounts/_form.html.erb:22
62
- msgid "Test Connection"
63
- msgstr ""
64
-
65
- #: ../app/views/scc_accounts/edit.html.erb:1
66
- msgid "Edit %s"
67
- msgstr ""
68
-
69
- #: ../app/views/scc_accounts/index.html.erb:4
70
- msgid "SUSE subscriptions"
71
- msgstr ""
72
-
73
- #: ../app/views/scc_accounts/index.html.erb:5
74
- msgid "Add SCC account"
75
- msgstr ""
76
-
77
- #: ../app/views/scc_accounts/index.html.erb:11
78
- msgid "Products"
79
- msgstr ""
80
-
81
- #: ../app/views/scc_accounts/index.html.erb:12
82
- msgid "Last synced"
83
- msgstr ""
84
-
85
- #: ../app/views/scc_accounts/index.html.erb:13
86
- msgid "Actions"
21
+ #: ../app/controllers/api/v2/scc_accounts_controller.rb:15
22
+ msgid "List all scc_accounts"
87
23
  msgstr ""
88
24
 
89
- #: ../app/views/scc_accounts/index.html.erb:27
90
- msgid "Sync"
91
- msgstr ""
92
-
93
- #: ../app/views/scc_accounts/index.html.erb:29
94
- msgid "Edit"
95
- msgstr ""
96
-
97
- #: ../app/views/scc_accounts/index.html.erb:32
98
- msgid "Delete %s?"
99
- msgstr ""
100
-
101
- #: ../app/views/scc_accounts/new.html.erb:1
102
- msgid "Add SUSE Customer Center Account"
25
+ #: ../app/controllers/api/v2/scc_accounts_controller.rb:24
26
+ msgid "Show scc_account"
103
27
  msgstr ""
104
28
 
105
- #: ../app/views/scc_accounts/show.html.erb:26
106
- msgid "SUSE Customer Center"
29
+ #: ../app/controllers/api/v2/scc_accounts_controller.rb:32
30
+ msgid "Name of the scc_account"
107
31
  msgstr ""
108
32
 
109
- #: ../app/views/scc_accounts/show.html.erb:37
110
- msgid "Please sync your SUSE subscriptions first."
33
+ #: ../app/controllers/api/v2/scc_accounts_controller.rb:33
34
+ #: ../app/controllers/api/v2/scc_accounts_controller.rb:64
35
+ msgid "Login id of scc_account"
111
36
  msgstr ""
112
37
 
113
- #: ../lib/foreman_scc_manager/engine.rb:38
114
- msgid "SUSE Subscriptions"
38
+ #: ../app/controllers/api/v2/scc_accounts_controller.rb:34
39
+ #: ../app/controllers/api/v2/scc_accounts_controller.rb:65
40
+ msgid "Password of scc_account"
115
41
  msgstr ""
116
42
 
117
- #: action_names.rb:2
118
- msgid "Delete Lifecycle Environment"
43
+ #: ../app/controllers/api/v2/scc_accounts_controller.rb:35
44
+ #: ../app/controllers/api/v2/scc_accounts_controller.rb:66
45
+ msgid "URL of SUSE for scc_account"
119
46
  msgstr ""
120
47
 
121
- #: action_names.rb:3
122
- msgid "Destroy Content Host"
48
+ #: ../app/controllers/api/v2/scc_accounts_controller.rb:36
49
+ msgid "Interval for syncing scc_account"
123
50
  msgstr ""
124
51
 
125
- #: action_names.rb:4
126
- msgid "Hypervisors"
52
+ #: ../app/controllers/api/v2/scc_accounts_controller.rb:37
53
+ msgid "Last Sync time of scc_account"
127
54
  msgstr ""
128
55
 
129
- #: action_names.rb:5
130
- msgid "Hypervisors update"
56
+ #: ../app/controllers/api/v2/scc_accounts_controller.rb:41
57
+ msgid "Create an scc_account"
131
58
  msgstr ""
132
59
 
133
- #: action_names.rb:6
134
- msgid "Install package"
60
+ #: ../app/controllers/api/v2/scc_accounts_controller.rb:48
61
+ msgid "Update scc_account"
135
62
  msgstr ""
136
63
 
137
- #: action_names.rb:7
138
- msgid "Remove package"
64
+ #: ../app/controllers/api/v2/scc_accounts_controller.rb:55
65
+ msgid "Delete scc_account"
139
66
  msgstr ""
140
67
 
141
- #: action_names.rb:8
142
- msgid "Update for host"
68
+ #: ../app/controllers/api/v2/scc_accounts_controller.rb:61
69
+ #: ../app/controllers/api/v2/scc_accounts_controller.rb:62
70
+ msgid "Test connection for scc_account"
143
71
  msgstr ""
144
72
 
145
- #: action_names.rb:9
146
- msgid "Install Applicable Errata"
73
+ #: ../app/controllers/api/v2/scc_accounts_controller.rb:89
74
+ msgid "Sync scc_account"
147
75
  msgstr ""
148
76
 
149
- #: action_names.rb:10
150
- msgid "Update package"
77
+ #: ../app/controllers/api/v2/scc_accounts_controller.rb:103
78
+ msgid "Bulk subscription of scc_products for scc_account"
151
79
  msgstr ""
152
80
 
153
- #: action_names.rb:11
154
- msgid "Update"
81
+ #: ../app/controllers/api/v2/scc_products_controller.rb:15
82
+ msgid "List all products for scc_account"
155
83
  msgstr ""
156
84
 
157
- #: action_names.rb:12
158
- msgid "Install package group"
85
+ #: ../app/controllers/api/v2/scc_products_controller.rb:24
86
+ msgid "Show an scc_account product"
159
87
  msgstr ""
160
88
 
161
- #: action_names.rb:13
162
- msgid "Package Profile Update"
89
+ #: ../app/controllers/api/v2/scc_products_controller.rb:29
90
+ msgid "Subscribe product"
163
91
  msgstr ""
164
92
 
165
- #: action_names.rb:14
166
- msgid "Configure capsule"
167
- msgstr ""
168
-
169
- #: action_names.rb:15
170
- msgid "Auto-attach subscriptions"
171
- msgstr ""
172
-
173
- #: action_names.rb:16
174
- msgid "Create repos"
175
- msgstr ""
176
-
177
- #: action_names.rb:17
178
- msgid "Create"
179
- msgstr ""
180
-
181
- #: action_names.rb:18
182
- msgid "Remove package group"
183
- msgstr ""
184
-
185
- #: action_names.rb:19
186
- msgid "Install erratum"
187
- msgstr ""
188
-
189
- #: action_names.rb:20
190
- msgid "Register Host"
93
+ #: ../app/controllers/scc_accounts_controller.rb:64
94
+ msgid "Sync task started."
191
95
  msgstr ""
192
96
 
193
- #: action_names.rb:21
194
- msgid "Remove subscriptions"
97
+ #: ../app/controllers/scc_accounts_controller.rb:66
98
+ #: ../app/controllers/scc_accounts_controller.rb:86
99
+ msgid "Failed to add task to queue: %s"
195
100
  msgstr ""
196
101
 
197
- #: action_names.rb:22
198
- msgid "Unregister Host"
102
+ #: ../app/controllers/scc_accounts_controller.rb:68
103
+ #: ../app/controllers/scc_accounts_controller.rb:88
104
+ msgid "Lock on SCC account already taken: %s"
199
105
  msgstr ""
200
106
 
201
- #: action_names.rb:23
202
- msgid "Delete Activation Key"
107
+ #: ../app/controllers/scc_accounts_controller.rb:81
108
+ msgid "Task to subscribe products started."
203
109
  msgstr ""
204
110
 
205
- #: action_names.rb:24
206
- msgid "Abstract async task"
111
+ #: ../app/controllers/scc_accounts_controller.rb:83
112
+ msgid "No products selected."
207
113
  msgstr ""
208
114
 
209
- #: action_names.rb:25
210
- msgid "Incremental Update"
115
+ #: ../app/lib/actions/scc_manager/subscribe_product.rb:5
116
+ msgid "Product already subscribed!"
211
117
  msgstr ""
212
118
 
213
- #: action_names.rb:26
214
- msgid "Destroy"
119
+ #: ../app/lib/actions/scc_manager/subscribe_product.rb:35 action_names.rb:21
120
+ msgid "Subscribe SCC Product"
215
121
  msgstr ""
216
122
 
217
- #: action_names.rb:27
218
- msgid "Synchronize capsule content"
123
+ #: ../app/lib/actions/scc_manager/sync.rb:27 action_names.rb:22
124
+ msgid "Sync SUSE subscriptions"
219
125
  msgstr ""
220
126
 
221
- #: action_names.rb:28
222
- msgid "Product Create"
127
+ #: ../app/lib/actions/scc_manager/sync_plan_account_repositories.rb:31
128
+ msgid "Update SUSE repositories %s"
223
129
  msgstr ""
224
130
 
225
- #: action_names.rb:29
226
- msgid "Export"
131
+ #: ../app/lib/actions/scc_manager/sync_plan_account_repositories.rb:31
132
+ msgid "Unknown"
227
133
  msgstr ""
228
134
 
229
- #: action_names.rb:30
230
- msgid "Delete Product"
135
+ #: ../app/lib/actions/scc_manager/sync_plan_account_repositories.rb:33
136
+ #: action_names.rb:71
137
+ msgid "Update SUSE repositories"
231
138
  msgstr ""
232
139
 
233
- #: action_names.rb:31
234
- msgid "Delete"
140
+ #: ../app/lib/actions/scc_manager/sync_products.rb:34 action_names.rb:72
141
+ msgid "Sync SUSE subscriptions (Products)"
235
142
  msgstr ""
236
143
 
237
- #: action_names.rb:32
238
- msgid "Auto attach subscriptions"
144
+ #: ../app/lib/actions/scc_manager/sync_repositories.rb:33 action_names.rb:73
145
+ msgid "Sync SUSE subscriptions (Repositories)"
239
146
  msgstr ""
240
147
 
241
- #: action_names.rb:33
242
- msgid "Reindex subscriptions"
148
+ #: ../app/models/scc_account.rb:59
149
+ msgid "never synced"
243
150
  msgstr ""
244
151
 
245
- #: action_names.rb:34
246
- msgid "Errata mail"
152
+ #: ../app/models/scc_account.rb:106
153
+ msgid "Interval cannot be nil"
247
154
  msgstr ""
248
155
 
249
- #: action_names.rb:35
250
- msgid "Attach subscriptions"
156
+ #: ../app/models/scc_account.rb:113
157
+ msgid "Interval not set correctly"
251
158
  msgstr ""
252
159
 
253
- #: action_names.rb:36
254
- msgid "Incremental Update of 0 Content View Version(s) "
160
+ #: ../app/models/scc_account.rb:118
161
+ msgid "Cron expression is not valid!"
255
162
  msgstr ""
256
163
 
257
- #: action_names.rb:37
258
- msgid "Import Puppet classes"
164
+ #: ../app/models/scc_account_sync_plan_task_group.rb:5
165
+ msgid "SUSE Subscription"
259
166
  msgstr ""
260
167
 
261
- #: action_names.rb:38
262
- msgid "Import facts"
168
+ #:
169
+ #: ../app/views/scc_account_sync_plan_task_groups/_scc_account_sync_plan_task_groups.html.erb:1
170
+ msgid "SUSE Subscription: "
263
171
  msgstr ""
264
172
 
265
- #: action_names.rb:39
266
- msgid "Filtered index content"
173
+ #: ../app/views/scc_accounts/_form.html.erb:6
174
+ msgid "SUSE Customer Center account"
267
175
  msgstr ""
268
176
 
269
- #: action_names.rb:40
270
- msgid "Upload into"
177
+ #: ../app/views/scc_accounts/_form.html.erb:13
178
+ msgid "Use your 'Organization credentials' obtained from the SUSE Customer Center."
271
179
  msgstr ""
272
180
 
273
- #: action_names.rb:41
274
- msgid "Action with sub plans"
181
+ #: ../app/views/scc_accounts/_form.html.erb:15
182
+ msgid "Base URL"
275
183
  msgstr ""
276
184
 
277
- #: action_names.rb:42
278
- msgid "Upload errata into"
185
+ #: ../app/views/scc_accounts/_form.html.erb:16
186
+ msgid "Interval"
279
187
  msgstr ""
280
188
 
281
- #: action_names.rb:43
282
- msgid "Remove from Environment"
189
+ #: ../app/views/scc_accounts/_form.html.erb:17
190
+ msgid "Sync Date"
283
191
  msgstr ""
284
192
 
285
- #: action_names.rb:45
286
- msgid "Enable"
193
+ #: ../app/views/scc_accounts/_form.html.erb:24
194
+ msgid "Test Connection"
287
195
  msgstr ""
288
196
 
289
- #: action_names.rb:46
290
- msgid "Index errata"
197
+ #: ../app/views/scc_accounts/edit.html.erb:1
198
+ msgid "Edit %s"
291
199
  msgstr ""
292
200
 
293
- #: action_names.rb:47
294
- msgid "Remove Version"
201
+ #: ../app/views/scc_accounts/index.html.erb:2
202
+ msgid "SUSE subscriptions"
295
203
  msgstr ""
296
204
 
297
- #: action_names.rb:48
298
- msgid "Index package groups"
205
+ #: ../app/views/scc_accounts/index.html.erb:3
206
+ msgid "Add SCC account"
299
207
  msgstr ""
300
208
 
301
- #: action_names.rb:49
302
- msgid "Add Sync Plan Products"
209
+ #: ../app/views/scc_accounts/index.html.erb:9
210
+ msgid "Products"
303
211
  msgstr ""
304
212
 
305
- #: action_names.rb:51
306
- msgid "Remove Content"
213
+ #: ../app/views/scc_accounts/index.html.erb:10
214
+ msgid "Last synced"
307
215
  msgstr ""
308
216
 
309
- #: action_names.rb:52
310
- msgid "Index content"
217
+ #: ../app/views/scc_accounts/index.html.erb:11
218
+ msgid "Actions"
311
219
  msgstr ""
312
220
 
313
- #: action_names.rb:53
314
- msgid "Disable"
221
+ #: ../app/views/scc_accounts/index.html.erb:24
222
+ msgid "Select products"
315
223
  msgstr ""
316
224
 
317
- #: action_names.rb:56
318
- msgid "Remove Versions and Associations"
225
+ #: ../app/views/scc_accounts/index.html.erb:25
226
+ msgid "Sync"
319
227
  msgstr ""
320
228
 
321
- #: action_names.rb:57
322
- msgid "Synchronize"
229
+ #: ../app/views/scc_accounts/index.html.erb:28
230
+ msgid "Delete %s?"
323
231
  msgstr ""
324
232
 
325
- #: action_names.rb:58
326
- msgid "Publish"
233
+ #: ../app/views/scc_accounts/new.html.erb:1
234
+ msgid "Add SUSE Customer Center Account"
327
235
  msgstr ""
328
236
 
329
- #: action_names.rb:59
330
- msgid "Update Sync Plan Products"
237
+ #: ../app/views/scc_accounts/show.html.erb:25
238
+ msgid "SUSE Customer Center"
331
239
  msgstr ""
332
240
 
333
- #: action_names.rb:60
334
- msgid "Promotion"
241
+ #: ../app/views/scc_accounts/show.html.erb:36
242
+ msgid "Please sync your SUSE subscriptions first."
335
243
  msgstr ""
336
244
 
337
- #: action_names.rb:61
338
- msgid "Update Sync Plan"
245
+ #: ../lib/foreman_scc_manager/engine.rb:64
246
+ msgid "SUSE Subscriptions"
339
247
  msgstr ""
340
248
 
341
249
  #: gemspec.rb:2