good_job 3.14.1 → 3.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +31 -0
  3. data/README.md +1 -1
  4. data/app/controllers/good_job/application_controller.rb +1 -0
  5. data/app/controllers/good_job/cron_entries_controller.rb +4 -4
  6. data/app/controllers/good_job/jobs_controller.rb +4 -4
  7. data/app/filters/good_job/base_filter.rb +1 -1
  8. data/app/helpers/good_job/application_helper.rb +11 -2
  9. data/app/models/good_job/base_execution.rb +44 -0
  10. data/app/models/good_job/execution.rb +3 -12
  11. data/app/models/good_job/job.rb +1 -34
  12. data/app/views/good_job/batches/_jobs.erb +18 -18
  13. data/app/views/good_job/batches/_table.erb +15 -15
  14. data/app/views/good_job/batches/index.html.erb +3 -3
  15. data/app/views/good_job/batches/show.html.erb +4 -4
  16. data/app/views/good_job/cron_entries/index.html.erb +15 -15
  17. data/app/views/good_job/cron_entries/show.html.erb +1 -1
  18. data/app/views/good_job/jobs/_executions.erb +7 -7
  19. data/app/views/good_job/jobs/_table.erb +29 -29
  20. data/app/views/good_job/jobs/index.html.erb +3 -3
  21. data/app/views/good_job/jobs/show.html.erb +14 -14
  22. data/app/views/good_job/processes/index.html.erb +8 -8
  23. data/app/views/good_job/shared/_filter.erb +12 -12
  24. data/app/views/good_job/shared/_navbar.erb +5 -4
  25. data/config/locales/de.yml +219 -0
  26. data/config/locales/en.yml +137 -0
  27. data/config/locales/es.yml +152 -5
  28. data/config/locales/fr.yml +140 -3
  29. data/config/locales/nl.yml +138 -1
  30. data/config/locales/ru.yml +140 -1
  31. data/config/locales/ua.yml +172 -57
  32. data/lib/good_job/version.rb +1 -1
  33. metadata +5 -4
  34. data/app/models/good_job/active_job_job.rb +0 -11
@@ -0,0 +1,219 @@
1
+ ---
2
+ de:
3
+ good_job:
4
+ actions:
5
+ destroy: Zerstören
6
+ discard: Verwerfen
7
+ inspect: Prüfen
8
+ reschedule: Umplanen
9
+ retry: Wiederholen
10
+ batches:
11
+ index:
12
+ older_batches: Ältere Chargen
13
+ pending_migrations: GoodJob hat ausstehende Datenbankmigrationen.
14
+ title: Chargen
15
+ jobs:
16
+ actions:
17
+ confirm_destroy: Sind Sie sicher, dass Sie diesen Job zerstören wollen?
18
+ confirm_discard: Möchten Sie diesen Job wirklich verwerfen?
19
+ confirm_reschedule: Möchten Sie diesen Auftrag wirklich verschieben?
20
+ confirm_retry: Möchten Sie diesen Job wirklich wiederholen?
21
+ destroy: Zerstöre Job
22
+ discard: Auftrag verwerfen
23
+ reschedule: Auftrag neu planen
24
+ retry: Job wiederholen
25
+ title: Aktionen
26
+ no_jobs_found: Keine Jobs gefunden.
27
+ show:
28
+ attributes: Attribute
29
+ batched_jobs: Batch-Jobs
30
+ callback_jobs: Callback-Jobs
31
+ table:
32
+ no_batches_found: Keine Chargen gefunden.
33
+ cron_entries:
34
+ actions:
35
+ confirm_disable: Möchten Sie diesen Cron-Eintrag wirklich deaktivieren?
36
+ confirm_enable: Möchten Sie diesen Cron-Eintrag wirklich bestätigen?
37
+ confirm_enqueue: Möchten Sie diesen Cron-Eintrag wirklich in die Warteschlange stellen?
38
+ disable: Cron-Eintrag deaktivieren
39
+ enable: Cron-Eintrag aktivieren
40
+ enqueue: Cron-Eintrag jetzt einreihen
41
+ disable:
42
+ notice: Der Cron-Eintrag wurde deaktiviert.
43
+ enable:
44
+ notice: Cron-Eintrag wurde aktiviert.
45
+ enqueue:
46
+ notice: Cron-Eintrag wurde in die Warteschlange eingereiht.
47
+ index:
48
+ no_cron_schedules_found: Keine Cron-Zeitpläne gefunden.
49
+ title: Cron-Zeitpläne
50
+ pending_migrations: Erfordert ausstehende GoodJob-Datenbankmigration.
51
+ show:
52
+ cron_entry_key: Cron-Eingabetaste
53
+ datetime:
54
+ distance_in_words:
55
+ about_x_hours:
56
+ one: ca. 1 Stunde
57
+ other: ca. %{count} Stunden
58
+ about_x_months:
59
+ one: ca. 1 Monat
60
+ other: ca. %{count} Monate
61
+ about_x_years:
62
+ one: ca. 1 Jahr
63
+ other: ca. %{count} Jahre
64
+ almost_x_years:
65
+ one: fast 1 Jahr
66
+ other: fast %{count} Jahre
67
+ half_a_minute: eine halbe Minute
68
+ less_than_x_minutes:
69
+ one: weniger als eine Minute
70
+ other: weniger als %{count} Minuten
71
+ less_than_x_seconds:
72
+ one: weniger als eine Sekunde
73
+ other: weniger als %{count} Sekunden
74
+ over_x_years:
75
+ one: über 1 Jahr
76
+ other: über %{count} Jahre
77
+ x_days:
78
+ one: 1 Tag
79
+ other: "%{count} Tage"
80
+ x_minutes:
81
+ one: 1 Minute
82
+ other: "%{count} Minuten"
83
+ x_months:
84
+ one: 1 Monat
85
+ other: "%{count} Monate"
86
+ x_seconds:
87
+ one: 1 Sekunde
88
+ other: "%{count} Sekunden"
89
+ x_years:
90
+ one: 1 Jahr
91
+ other: "%{count} Jahre"
92
+ duration:
93
+ hours: "%{hour}h %{min}m"
94
+ less_than_10_seconds: "%{sec}s"
95
+ milliseconds: "%{ms}ms"
96
+ minutes: "%{min}m %{sec}s"
97
+ seconds: "%{sec}s"
98
+ helpers:
99
+ relative_time:
100
+ future: in %{time}
101
+ past: Vor %{time}
102
+ jobs:
103
+ actions:
104
+ confirm_destroy: Sind Sie sicher, dass Sie den Job zerstören wollen?
105
+ confirm_discard: Sind Sie sicher, dass Sie den Job verwerfen wollen?
106
+ confirm_reschedule: Möchten Sie den Auftrag wirklich verschieben?
107
+ confirm_retry: Möchten Sie den Job wirklich wiederholen?
108
+ destroy: Arbeit vernichten
109
+ discard: Auftrag verwerfen
110
+ reschedule: Auftrag neu planen
111
+ retry: Job wiederholen
112
+ destroy:
113
+ notice: Hiob wurde zerstört
114
+ discard:
115
+ notice: Auftrag wurde verworfen
116
+ executions:
117
+ error: Fehler
118
+ in_queue: in der Warteschlange
119
+ runtime: Laufzeit
120
+ title: Hinrichtungen
121
+ index:
122
+ job_pagination: Job-Paginierung
123
+ older_jobs: Ältere Berufe
124
+ reschedule:
125
+ notice: Auftrag wurde verschoben
126
+ retry:
127
+ notice: Auftrag wurde wiederholt
128
+ show:
129
+ jobs: Arbeitsplätze
130
+ table:
131
+ actions:
132
+ apply_to_all:
133
+ one: Bewerben Sie sich auf alle 1 Stelle.
134
+ other: Bewerben Sie sich auf alle %{count} Stellen.
135
+ confirm_destroy_all: Möchten Sie die ausgewählten Jobs wirklich löschen?
136
+ confirm_discard_all: Möchten Sie die ausgewählten Jobs wirklich verwerfen?
137
+ confirm_reschedule_all: Möchten Sie die ausgewählten Jobs wirklich neu planen?
138
+ confirm_retry_all: Möchten Sie die ausgewählten Jobs wirklich wiederholen?
139
+ destroy_all: Zerstöre alle
140
+ discard_all: Alle verwerfen
141
+ reschedule_all: Alles neu planen
142
+ retry_all: Alle wiederholen
143
+ title: Aktionen
144
+ no_jobs_found: Keine Jobs gefunden.
145
+ toggle_actions: Aktionen umschalten
146
+ toggle_all_jobs: Alle Jobs umschalten
147
+ models:
148
+ batch:
149
+ created: Erstellt
150
+ created_at: Hergestellt in
151
+ discarded: Verworfen
152
+ discarded_at: Abgelegt bei
153
+ enqueued: Eingereiht
154
+ enqueued_at: Eingereiht bei
155
+ finished: Fertig
156
+ finished_at: Fertig um
157
+ jobs: Arbeitsplätze
158
+ name: Name
159
+ cron:
160
+ class: Klasse
161
+ last_run: Letzter Lauf
162
+ next_scheduled: Als nächstes geplant
163
+ schedule: Zeitplan
164
+ job:
165
+ arguments: Argumente
166
+ attempts: Versuche
167
+ priority: Priorität
168
+ queue: Warteschlange
169
+ number:
170
+ format:
171
+ delimiter: "."
172
+ separator: ","
173
+ human:
174
+ decimal_units:
175
+ delimiter: "."
176
+ format: "%n%u"
177
+ precision: 3
178
+ separator: ","
179
+ units:
180
+ billion: B
181
+ million: M
182
+ quadrillion: Q
183
+ thousand: K
184
+ trillion: T
185
+ unit: ''
186
+ processes:
187
+ index:
188
+ no_good_job_processes_found: Keine GoodJob-Prozesse gefunden.
189
+ process: Verfahren
190
+ schedulers: Planer
191
+ started: Gestartet
192
+ title: Prozesse
193
+ shared:
194
+ filter:
195
+ all: Alle
196
+ all_jobs: Alle Jobs
197
+ all_queues: Alle Warteschlangen
198
+ clear: Klar
199
+ job_name: Berufsbezeichnung
200
+ placeholder: Suchen Sie nach Klasse, Job-ID, Jobparametern und Fehlertext.
201
+ queue_name: Warteschlangenname
202
+ search: Suchen
203
+ footer:
204
+ last_update_html: Zuletzt aktualisiert <time id="page-updated-at" datetime="%{time}">%{time}</time>
205
+ wording: Denk daran, auch du machst einen guten Job!
206
+ navbar:
207
+ batches: Batches
208
+ cron_schedules: Cron
209
+ jobs: Jobs
210
+ live_poll: Live Poll
211
+ name: "GoodJob 👍"
212
+ processes: Prozesse
213
+ status:
214
+ discarded: Ausrangiert
215
+ queued: In der Warteschlange
216
+ retried: Wiederholt
217
+ running: Laufend
218
+ scheduled: Geplant
219
+ succeeded: Erfolgreich
@@ -1,6 +1,55 @@
1
1
  ---
2
2
  en:
3
3
  good_job:
4
+ actions:
5
+ destroy: Destroy
6
+ discard: Discard
7
+ inspect: Inspect
8
+ reschedule: Reschedule
9
+ retry: Retry
10
+ batches:
11
+ index:
12
+ older_batches: Older batches
13
+ pending_migrations: GoodJob has pending database migrations.
14
+ title: Batches
15
+ jobs:
16
+ actions:
17
+ confirm_destroy: Are you sure you want to destroy this job?
18
+ confirm_discard: Are you sure you want to discard this job?
19
+ confirm_reschedule: Are you sure you want to reschedule this job?
20
+ confirm_retry: Are you sure you want to retry this job?
21
+ destroy: Destroy Job
22
+ discard: Discard Job
23
+ reschedule: Reschedule Job
24
+ retry: Retry Job
25
+ title: Actions
26
+ no_jobs_found: No jobs found.
27
+ show:
28
+ attributes: Attributes
29
+ batched_jobs: Batched Jobs
30
+ callback_jobs: Callback Jobs
31
+ table:
32
+ no_batches_found: No batches found.
33
+ cron_entries:
34
+ actions:
35
+ confirm_disable: Are you sure you want to disable this cron entry?
36
+ confirm_enable: Are you sure you want to confirm this cron entry?
37
+ confirm_enqueue: Are you sure you want to enqueue this cron entry?
38
+ disable: Disable cron entry
39
+ enable: Enable cron entry
40
+ enqueue: Enqueue cron entry now
41
+ disable:
42
+ notice: Cron entry has been disabled.
43
+ enable:
44
+ notice: Cron entry has been enabled.
45
+ enqueue:
46
+ notice: Cron entry has been enqueued.
47
+ index:
48
+ no_cron_schedules_found: No cron schedules found.
49
+ title: Cron Schedules
50
+ pending_migrations: Requires pending GoodJob database migration.
51
+ show:
52
+ cron_entry_key: Cron Entry Key
4
53
  datetime:
5
54
  distance_in_words:
6
55
  about_x_hours:
@@ -46,6 +95,77 @@ en:
46
95
  milliseconds: "%{ms}ms"
47
96
  minutes: "%{min}m %{sec}s"
48
97
  seconds: "%{sec}s"
98
+ helpers:
99
+ relative_time:
100
+ future: in %{time}
101
+ past: "%{time} ago"
102
+ jobs:
103
+ actions:
104
+ confirm_destroy: Are you sure you want to destroy the job?
105
+ confirm_discard: Are you usure you want to discard the job?
106
+ confirm_reschedule: Are you sure you want to reschedule the job?
107
+ confirm_retry: Are you sure you want to retry the job?
108
+ destroy: Destroy job
109
+ discard: Discard job
110
+ reschedule: Reschedule job
111
+ retry: Retry job
112
+ destroy:
113
+ notice: Job has been destroyed
114
+ discard:
115
+ notice: Job has been discarded
116
+ executions:
117
+ error: Error
118
+ in_queue: in queue
119
+ runtime: runtime
120
+ title: Executions
121
+ index:
122
+ job_pagination: Job pagination
123
+ older_jobs: Older jobs
124
+ reschedule:
125
+ notice: Job has been rescheduled
126
+ retry:
127
+ notice: Job has been retried
128
+ show:
129
+ jobs: Jobs
130
+ table:
131
+ actions:
132
+ apply_to_all:
133
+ one: Apply to all 1 job.
134
+ other: Apply to all %{count} jobs.
135
+ confirm_destroy_all: Are you sure you want to destroy the selected jobs?
136
+ confirm_discard_all: Are you usure you want to discard the selected jobs?
137
+ confirm_reschedule_all: Are you sure you want to reschedule the selected jobs?
138
+ confirm_retry_all: Are you sure you want to retry the selected jobs?
139
+ destroy_all: Destroy all
140
+ discard_all: Discard all
141
+ reschedule_all: Reschedule all
142
+ retry_all: Retry all
143
+ title: Actions
144
+ no_jobs_found: No jobs found.
145
+ toggle_actions: Toggle Actions
146
+ toggle_all_jobs: Toggle all jobs
147
+ models:
148
+ batch:
149
+ created: Created
150
+ created_at: Created at
151
+ discarded: Discarded
152
+ discarded_at: Discarded at
153
+ enqueued: Enqueued
154
+ enqueued_at: Enqueued at
155
+ finished: Finished
156
+ finished_at: Finished at
157
+ jobs: Jobs
158
+ name: Name
159
+ cron:
160
+ class: Class
161
+ last_run: Last run
162
+ next_scheduled: Next scheduled
163
+ schedule: Schedule
164
+ job:
165
+ arguments: Arguments
166
+ attempts: Attempts
167
+ priority: Priority
168
+ queue: Queue
49
169
  number:
50
170
  format:
51
171
  delimiter: ","
@@ -63,11 +183,28 @@ en:
63
183
  thousand: K
64
184
  trillion: T
65
185
  unit: ''
186
+ processes:
187
+ index:
188
+ no_good_job_processes_found: No GoodJob processes found.
189
+ process: Process
190
+ schedulers: Schedulers
191
+ started: Started
192
+ title: Processes
66
193
  shared:
194
+ filter:
195
+ all: All
196
+ all_jobs: All jobs
197
+ all_queues: All queues
198
+ clear: Clear
199
+ job_name: Job name
200
+ placeholder: Search by class, job id, job params, and error text.
201
+ queue_name: Queue name
202
+ search: Search
67
203
  footer:
68
204
  last_update_html: Last updated <time id="page-updated-at" datetime="%{time}">%{time}</time>
69
205
  wording: Remember, you're doing a Good Job too!
70
206
  navbar:
207
+ batches: Batches
71
208
  cron_schedules: Cron
72
209
  jobs: Jobs
73
210
  live_poll: Live Poll
@@ -1,6 +1,55 @@
1
1
  ---
2
2
  es:
3
3
  good_job:
4
+ actions:
5
+ destroy: Eliminar
6
+ discard: Descartar
7
+ inspect: Inspeccionar
8
+ reschedule: Reprogramar
9
+ retry: Reintentar
10
+ batches:
11
+ index:
12
+ older_batches: Batches anteriores
13
+ pending_migrations: GoodJob tiene migraciones pendientes.
14
+ title: Batches
15
+ jobs:
16
+ actions:
17
+ confirm_destroy: "¿Estás seguro que querés eliminar esta tarea?"
18
+ confirm_discard: "¿Estás seguro que querés descartar esta tarea?"
19
+ confirm_reschedule: "¿Estás seguro que querés reprogramar esta tarea?"
20
+ confirm_retry: "¿Estás seguro que querés reintentar esta tarea?"
21
+ destroy: Eliminar tarea
22
+ discard: Descartar tarea
23
+ reschedule: Reprogramar tarea
24
+ retry: Reintentar tarea
25
+ title: Acciones
26
+ no_jobs_found: No hay tareas.
27
+ show:
28
+ attributes: Atributos
29
+ batched_jobs: Batched Jobs
30
+ callback_jobs: Callback Jobs
31
+ table:
32
+ no_batches_found: No hay batches.
33
+ cron_entries:
34
+ actions:
35
+ confirm_disable: "¿Estás seguro que querés deshabilitar esta tarea programada?"
36
+ confirm_enable: "¿Estás seguro que querés confirmar esta tarea programada?"
37
+ confirm_enqueue: "¿Estás seguro que querés encolar esta tarea programada?"
38
+ disable: Deshabilitar tarea programada
39
+ enable: Habilitar tarea programada
40
+ enqueue: Encolar tarea programada ahora
41
+ disable:
42
+ notice: La tarea programada ha sido deshabilitada.
43
+ enable:
44
+ notice: La tarea programada ha sido habilitada.
45
+ enqueue:
46
+ notice: La tarea programada ha sido encolada.
47
+ index:
48
+ no_cron_schedules_found: No hay tareas programadas.
49
+ title: Tareas Programadas
50
+ pending_migrations: Require las migraciones de GoodJob pendientes.
51
+ show:
52
+ cron_entry_key: Cron Entry Key
4
53
  datetime:
5
54
  distance_in_words:
6
55
  about_x_hours:
@@ -46,6 +95,77 @@ es:
46
95
  milliseconds: "%{ms}ms"
47
96
  minutes: "%{min}m %{sec}s"
48
97
  seconds: "%{sec}s"
98
+ helpers:
99
+ relative_time:
100
+ future: en %{time}
101
+ past: "%{time} atrás"
102
+ jobs:
103
+ actions:
104
+ confirm_destroy: "¿Estás seguro que querés eliminar esta tarea?"
105
+ confirm_discard: "¿Estás seguro que querés descartar esta tarea?"
106
+ confirm_reschedule: "¿Estás seguro que querés reprogramar esta tarea?"
107
+ confirm_retry: "¿Estás seguro que querés reintentar esta tarea?"
108
+ destroy: Eliminar tarea
109
+ discard: Descartar tarea
110
+ reschedule: Reprogramar tarea
111
+ retry: Reiuntentar tarea
112
+ destroy:
113
+ notice: La tarea ha sido eliminada
114
+ discard:
115
+ notice: La tarea ha sido descartada
116
+ executions:
117
+ error: Error
118
+ in_queue: en cola
119
+ runtime: en ejecución
120
+ title: Ejecuciones
121
+ index:
122
+ job_pagination: Paginación de tareas
123
+ older_jobs: Tareas anteriores
124
+ reschedule:
125
+ notice: La tarea ha sido reprogramada
126
+ retry:
127
+ notice: La tarea ha sido reintentada
128
+ show:
129
+ jobs: Tareas
130
+ table:
131
+ actions:
132
+ apply_to_all:
133
+ one: Aplicar a 1 tarea.
134
+ other: Aplicar a %{count} tareas.
135
+ confirm_destroy_all: "¿Estás seguro que querés eliminar las tareas seleccionadas?"
136
+ confirm_discard_all: "¿Estás seguro que querés descartar las tareas seleccionadas?"
137
+ confirm_reschedule_all: "¿Estás seguro que querés reprogramar las tareas seleccionadas?"
138
+ confirm_retry_all: "¿Estás seguro que querés reintentar las tareas seleccionadas?"
139
+ destroy_all: Eliminar todas
140
+ discard_all: Descartar todas
141
+ reschedule_all: Reprogramar todas
142
+ retry_all: Reintentar todas
143
+ title: Acciones
144
+ no_jobs_found: No hay tareas.
145
+ toggle_actions: Conmutar acciones
146
+ toggle_all_jobs: Conmutar todas las tareas
147
+ models:
148
+ batch:
149
+ created: Creado
150
+ created_at: Fecha de creación
151
+ discarded: Descartado
152
+ discarded_at: Fecha de descarte
153
+ enqueued: Encolado
154
+ enqueued_at: Fecha de encolado
155
+ finished: Finalizado
156
+ finished_at: Fecha de finalización
157
+ jobs: Tareas
158
+ name: Nombre
159
+ cron:
160
+ class: Clase
161
+ last_run: Última ejecución
162
+ next_scheduled: Próxima ejecución
163
+ schedule: Cronograma
164
+ job:
165
+ arguments: Argumentos
166
+ attempts: Intentos
167
+ priority: Prioridad
168
+ queue: Cola
49
169
  number:
50
170
  format:
51
171
  delimiter: " "
@@ -63,20 +183,47 @@ es:
63
183
  thousand: k
64
184
  trillion: T
65
185
  unit: ''
186
+ processes:
187
+ index:
188
+ no_good_job_processes_found: No hay procesos de GoodJob.
189
+ process: Proceso
190
+ schedulers: Schedulers
191
+ started: Iniciado
192
+ title: Procesos
66
193
  shared:
194
+ filter:
195
+ all: Todas
196
+ all_jobs: Todas las tareas
197
+ all_queues: Todas las colas
198
+ clear: Limpiar
199
+ job_name: Nombre de la tarea
200
+ placeholder: Buscar por clase, id de tarea, parámetros y mensaje de error.
201
+ queue_name: Nombre de la cola
202
+ search: Buscar
67
203
  footer:
68
204
  last_update_html: Última actualización <time id="page-updated-at" datetime="%{time}">%{time}</time>
69
205
  wording: "¡Recuerda, también tú estás haciendo un buen trabajo!"
70
206
  navbar:
207
+ batches: Batches
71
208
  cron_schedules: Cron
72
209
  jobs: Tareas
73
210
  live_poll: En vivo
74
211
  name: "GoodJob 👍"
75
212
  processes: Procesos
76
213
  status:
77
- discarded: Descartado
78
- queued: Puesto en cola
79
- retried: reintentado
214
+ discarded:
215
+ one: Descartada
216
+ other: Descartadas
217
+ queued:
218
+ one: Encolada
219
+ other: Encoladas
220
+ retried:
221
+ one: Reintentada
222
+ other: Reintentadas
80
223
  running: Corriendo
81
- scheduled: Programado
82
- succeeded: Acierto
224
+ scheduled:
225
+ one: Programada
226
+ other: Programadas
227
+ succeeded:
228
+ one: Exitosa
229
+ other: Exitosas