Skip to content

Commit

Permalink
Merge branch '4' into 5
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Feb 2, 2023
2 parents 6041b10 + 769332d commit c37d75c
Show file tree
Hide file tree
Showing 9 changed files with 215 additions and 10 deletions.
7 changes: 5 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
"name": "symbiote/silverstripe-queuedjobs",
"description": "A framework for defining and running background jobs in a queued manner",
"type": "silverstripe-vendormodule",
"keywords": ["silverstripe", "jobs"],
"keywords": [
"silverstripe",
"jobs"
],
"license": "BSD-3-Clause",
"authors": [
{
Expand Down Expand Up @@ -40,4 +43,4 @@
"Symbiote\\QueuedJobs\\Tests\\": "tests/"
}
}
}
}
4 changes: 2 additions & 2 deletions lang/ar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ ar:
STALLED_JOB_MSG: 'وظيفة باسم s% تبين أنها تعطلت. قد تم توقفها, من فضلك سجل الدخول لكى تتحقق منها'
TABLE_ADDE: 'تمت إضافته'
TABLE_MESSAGES: رسالة
TABLE_NUM_PROCESSED: 'تم'
TABLE_NUM_PROCESSED: تم
TABLE_STARTED: 'تم البدأ'
TABLE_START_AFTER: 'ابدأ بعد'
TABLE_STATUS: الحالة
Expand All @@ -33,7 +33,7 @@ ar:
ScheduledExecution:
EXECUTE_EVERY: 'قم بتنفيذ كل'
EXECUTE_FREE: 'محددة (بصيغة إس تى آر تو تايم من التنفيذ الأول)'
ExecuteEveryDay: 'يوم'
ExecuteEveryDay: يوم
ExecuteEveryFortnight: أسبوعان
ExecuteEveryHour: ساعة
ExecuteEveryMonth: شهر
Expand Down
9 changes: 9 additions & 0 deletions lang/de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ de:
TABLE_STATUS: Status
TABLE_TITLE: Titel
TABLE_TOTAL: Insgesamt
JOB_TYPE_PARAMS: 'Konstruktor-Parameter für die Joberstellung'
MEMORY_RELEASE: 'Job gibt Speicher frei und wartet (1%s verwendet)'
TIME_LIMIT: 'Die Warteschlange hat das Zeitlimit überschritten und wird neu gestartet'
QueuedJobsAdmin:
MENUTITLE: Aufträge
ScheduledExecution:
Expand All @@ -50,3 +53,9 @@ de:
ScheduleTabTitle: Planen
ScheduledExecutionJob:
Title: 'Geplante Ausführung für {title}'
CleanupJob:
Title: 'Bereinigt alte Aufträge aus der Datenbank'
CreateQueuedJobTask:
Description: 'Ein Task um geplante Aufträge zu erstellen. Parameter sind: "name". Name der Klasse, "start" (optional): Startzeit für den Auftrag, im strtotime Format'
RunBuildTaskJob:
JOB_TITLE: 'BuildTask {task} ausführen'
69 changes: 69 additions & 0 deletions lang/en.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,64 @@
en:
CleanupJob:
Title: 'Clean up old jobs from the database'
CreateQueuedJobTask:
Description: 'A task used to create a queued job. Pass the queued job class name as the "name" parameter, pass an optional "start" parameter (parseable by strtotime) to set a start time for the job.'
DeleteObjectJob:
DELETE_JOB: 'Delete node'
DELETE_OBJ2: 'Delete {title}'
GenerateSitemapJob:
REGENERATE: 'Regenerate Google sitemap .xml file'
ProcessJobQueueTask:
Description: 'Used via a cron job to execute queued jobs that need to be run.'
PublishItemsJob:
Title: 'Publish items beneath {title}'
QueuedJobDescriptor:
PLURALNAME: 'Queued Job Descriptors'
SINGULARNAME: 'Queued Job Descriptor'
QueuedJobRule:
PLURALNAME: 'Queued Job Rules'
SINGULARNAME: 'Queued Job Rule'
QueuedJobs:
CREATE_JOB_TYPE: 'Create job of type'
CREATE_NEW_JOB: 'Create new job'
JOB_EXCEPT: 'Job caused exception %s in %s at line %s'
JOB_PAUSED: 'Job paused at %s'
JOB_STALLED: 'Job stalled after %s attempts - please check'
JOB_TYPE: 'Job Type'
JOB_TYPE_PARAMS: 'Constructor parameters for job creation'
JobsFieldTitle: Jobs
MEMORY_RELEASE: 'Job releasing memory and waiting (%s used)'
STALLED_JOB: 'Stalled job'
STALLED_JOB_MSG: 'A job named %s appears to have stalled. It has been paused, please login to check it'
START_JOB_TIME: 'Start job at'
TABLE_ADDE: Added
TABLE_MESSAGES: Message
TABLE_NUM_PROCESSED: Done
TABLE_STARTED: Started
TABLE_START_AFTER: 'Start After'
TABLE_STATUS: Status
TABLE_TITLE: Title
TABLE_TOTAL: Total
TIME_LIMIT: 'Queue has passed time limit and will restart before continuing'
QueuedJobsAdmin:
MENUTITLE: Jobs
RunBuildTaskJob:
JOB_TITLE: 'Run BuildTask {task}'
ScheduledExecution:
EXECUTE_EVERY: 'Execute every'
EXECUTE_FREE: 'Scheduled (in strtotime format from first execution)'
ExecuteEveryDay: Day
ExecuteEveryFortnight: Fortnight
ExecuteEveryHour: Hour
ExecuteEveryMinute: Minute
ExecuteEveryMonth: Month
ExecuteEveryWeek: Week
ExecuteEveryYear: Year
FIRST_EXECUTION: 'First Execution'
NEXT_RUN_DATE: 'Next run date'
ScheduleTabTitle: Schedule
ScheduledExecutionJob:
Title: 'Scheduled execution for {title}'
Symbiote\QueuedJobs\Controllers\QueuedJobsAdmin:
CREATE_JOB_TYPE: 'Create job of type'
CREATE_NEW_JOB: 'Create new job'
Expand All @@ -15,19 +75,26 @@ en:
other: '{count} Queued Job Descriptors'
SINGULARNAME: 'Queued Job Descriptor'
TABLE_ADDE: Added
TABLE_FINISHED: Finished
TABLE_MESSAGES: Message
TABLE_NUM_PROCESSED: Done
TABLE_STARTED: Started
TABLE_START_AFTER: 'Start After'
TABLE_STATUS: Status
TABLE_TITLE: Title
TABLE_TOTAL: Total
TYPE_IMMEDIATE: Immediate
TYPE_LARGE: Large
TYPE_QUEUED: Queued
Symbiote\QueuedJobs\DataObjects\QueuedJobRule:
PLURALNAME: 'Queued Job Rules'
PLURALS:
one: 'A Queued Job Rule'
other: '{count} Queued Job Rules'
SINGULARNAME: 'Queued Job Rule'
Symbiote\QueuedJobs\Extensions\MaintenanceLockExtension:
LOCK_DESCRIPTION: 'Enable maintenance lock to prevent new queued jobs from being started'
LOCK_ENABLED: 'Maintenance Lock Enabled'
Symbiote\QueuedJobs\Extensions\ScheduledExecutionExtension:
EXECUTE_EVERY: 'Execute every'
EXECUTE_FREE: 'Scheduled (in strtotime format from first execution)'
Expand Down Expand Up @@ -61,6 +128,8 @@ en:
STALLED_JOB_MSG: 'A job named {name} appears to have stalled. It has been paused, please login to check it'
STALLED_JOB_RESTART_MSG: 'A job named {name} appears to have stalled. It will be stopped and restarted, please login to make sure it has continued'
TIME_LIMIT: 'Queue has passed time limit and will restart before continuing'
Symbiote\QueuedJobs\Tasks\CheckJobHealthTask:
Description: 'A task used to check the health of jobs that are "running". Pass a specific queue as the "queue" parameter or otherwise the "Queued" queue will be checked'
Symbiote\QueuedJobs\Tasks\CreateQueuedJobTask:
Description: 'A task used to create a queued job. Pass the queued job class name as the "name" parameter, pass an optional "start" parameter (parseable by strtotime) to set a start time for the job.'
Symbiote\QueuedJobs\Tasks\ProcessJobQueueTask:
Expand Down
2 changes: 2 additions & 0 deletions lang/eo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,5 @@ eo:
ScheduleTabTitle: Plano
ScheduledExecutionJob:
Title: 'Planita plenumo por {title}'
RunBuildTaskJob:
JOB_TITLE: 'Ruli je KonstruiTaskon'
61 changes: 61 additions & 0 deletions lang/pl.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
pl:
CleanupJob:
Title: 'Wyczyść stare zadania z bazy danych'
CreateQueuedJobTask:
Description: 'Zadanie zostało użyte do utworzenia zadania w kolejce. Przekaż kolejkę nazw klasy zadania jako parametr "nazwa", przekazuj opcjonalny parametr "start" (analizowany przez strtotime), aby ustawić czas rozpoczęcia zadania.'
DeleteObjectJob:
DELETE_JOB: 'Usuń węzeł'
DELETE_OBJ2: 'Usuń {title}'
GenerateSitemapJob:
REGENERATE: 'Ponownie wygeneruj plik .xml mapy witryny'
ProcessJobQueueTask:
Description: 'Używane przez zadanie cron do uruchamiania zadań oczekujących w kolejce, które należy uruchomić.'
PublishItemsJob:
Title: 'Opublikuj poniższe elementy {title}'
QueuedJobDescriptor:
PLURALNAME: 'Zadania w kolejce'
SINGULARNAME: 'Zadanie w kolejce'
QueuedJobRule:
PLURALNAME: 'Kolejkowe reguły zadań'
SINGULARNAME: 'Kolejkowa reguła zadania'
QueuedJobs:
CREATE_JOB_TYPE: 'Utwórz zadanie typu'
CREATE_NEW_JOB: 'Utwórz nowe zadanie'
JOB_EXCEPT: 'Zadanie spowodowało wyjątek %s w %s w linii %s'
JOB_PAUSED: 'Zadanie zostało wstrzymane via %s'
JOB_STALLED: 'Zadanie wstrzymane po %s próbach - proszę sprawdzić'
JOB_TYPE: 'Typ zadania'
JOB_TYPE_PARAMS: 'Parametry konstruktora dla tworzenia zadania'
JobsFieldTitle: Zadania
MEMORY_RELEASE: 'Pamięć zwalniająca zadania i oczekująca (%s użyto)'
STALLED_JOB: 'Zawieszenie zadania'
STALLED_JOB_MSG: 'Wydaje się, że zadanie o nazwie %s zawiesiło się. Zostało wstrzymane, zaloguj się, aby to sprawdzić'
START_JOB_TIME: 'Rozpocznij zadanie o'
TABLE_ADDE: Dodano
TABLE_MESSAGES: Komunikat
TABLE_NUM_PROCESSED: Gotowe
TABLE_STARTED: Rozpoczęty
TABLE_START_AFTER: 'Zacznij po'
TABLE_STATUS: Status
TABLE_TITLE: Tytuł
TABLE_TOTAL: Razem
TIME_LIMIT: 'Kolejka przekroczyła limit czasu i zostanie wznowiona przed kontynuowaniem'
QueuedJobsAdmin:
MENUTITLE: Zadania
RunBuildTaskJob:
JOB_TITLE: 'Uruchom narzędzie {task}'
ScheduledExecution:
EXECUTE_EVERY: 'Wykonaj każdy'
EXECUTE_FREE: 'Zaplanowane (w formacie strtotime od pierwszego wykonania)'
ExecuteEveryDay: Dzień
ExecuteEveryFortnight: 'Dwa tygodnie'
ExecuteEveryHour: Godzina
ExecuteEveryMinute: Minuta
ExecuteEveryMonth: Miesiąc
ExecuteEveryWeek: Tydzień
ExecuteEveryYear: Rok
FIRST_EXECUTION: 'Pierwsze wykonanie'
NEXT_RUN_DATE: 'Następna data uruchomienia'
ScheduleTabTitle: Harmonogram
ScheduledExecutionJob:
Title: 'Zaplanowane wykonanie dla {title}'
2 changes: 1 addition & 1 deletion lang/ru.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ ru:
ExecuteEveryYear: Год
FIRST_EXECUTION: 'Первое исполнение'
NEXT_RUN_DATE: 'Дата следующего исполнения'
ScheduleTabTitle: 'Расписание'
ScheduleTabTitle: Расписание
ScheduledExecutionJob:
Title: 'Запланировано исполнение {title}'
61 changes: 61 additions & 0 deletions lang/sl.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
sl:
CleanupJob:
Title: 'Odstrani zastarele naloge iz baze'
CreateQueuedJobTask:
Description: 'Procedura za ustvarjanje novih naročenih nalog. Vnesite naziv naročene naloge v "name" in opcijsko še termin za zagon naloge v "start" (strtotime).'
DeleteObjectJob:
DELETE_JOB: 'Izbriši nalogo'
DELETE_OBJ2: 'Izbriši {title}'
GenerateSitemapJob:
REGENERATE: 'Ponovno zgeneriraj sitemap.xml za Google '
ProcessJobQueueTask:
Description: 'Uporablja ''cron job'' za izvedbo naročenih nalog, ki morajo biti izvedene.'
PublishItemsJob:
Title: 'Objavi elemente pod {title}'
QueuedJobDescriptor:
PLURALNAME: 'Definicije naročenih nalog'
SINGULARNAME: 'Definicija naročene naloge'
QueuedJobRule:
PLURALNAME: 'Pravila naročenih nalog'
SINGULARNAME: 'Pravilo naročene naloge'
QueuedJobs:
CREATE_JOB_TYPE: 'Ustvari nalogo tipa'
CREATE_NEW_JOB: 'Ustvari novo nalogo'
JOB_EXCEPT: 'Naloga je naletela na izjemo %s v %s v vrstici %s'
JOB_PAUSED: 'Naloga je bila ustavljena na %s'
JOB_STALLED: 'Naloga je zastala po %s poskusih - prosimo, preverite'
JOB_TYPE: 'Tip naloge'
JOB_TYPE_PARAMS: 'Parametri za vzpostavitev naloge'
JobsFieldTitle: Naloge
MEMORY_RELEASE: 'Čakam, da naloga sprosti spomin (%s uporabljenega)'
STALLED_JOB: 'Zastale naloge'
STALLED_JOB_MSG: 'Naročena naloga %s je zastala, zato smo ustavili njeno izvajanje. Preverite stanje.'
START_JOB_TIME: 'Izvedi nalogo ob'
TABLE_ADDE: Dodano
TABLE_MESSAGES: Sporočila
TABLE_NUM_PROCESSED: Zaključeno
TABLE_STARTED: Sproženo
TABLE_START_AFTER: 'Izvedi nalogo po'
TABLE_STATUS: Status
TABLE_TITLE: Naziv
TABLE_TOTAL: Skupaj
TIME_LIMIT: 'Naročena naloga je presegla časovno omejite, zato se mora ponovno zagnati.'
QueuedJobsAdmin:
MENUTITLE: Naloge
RunBuildTaskJob:
JOB_TITLE: 'Ustvari nalogo za {task}'
ScheduledExecution:
EXECUTE_EVERY: 'Izvedi vsakih'
EXECUTE_FREE: 'Naročeno za (v formatu strtotime od prve izvedbe)'
ExecuteEveryDay: dni
ExecuteEveryFortnight: 'dva tedna'
ExecuteEveryHour: ur
ExecuteEveryMinute: minut
ExecuteEveryMonth: mesecev
ExecuteEveryWeek: tednov
ExecuteEveryYear: let
FIRST_EXECUTION: 'Izvedeno prvič'
NEXT_RUN_DATE: 'Datum naslednje izvedbe'
ScheduleTabTitle: 'Urnik izvajanja'
ScheduledExecutionJob:
Title: 'Naročena izvedba za {title}'
10 changes: 5 additions & 5 deletions lang/zh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ zh:
CreateQueuedJobTask:
Description: '用于创建一个排队作业的任务。将排队作业的类名作为 “name” 参数传递,欲设置作业的开始时间,可传递一个可选的 “start" 参数(由 strtotime 解析)。'
DeleteObjectJob:
DELETE_JOB: '删除节点'
DELETE_JOB: 删除节点
DELETE_OBJ2: '删除 {title}'
GenerateSitemapJob:
REGENERATE: '重新生成谷歌网站地图 .xml 文件'
Expand All @@ -20,19 +20,19 @@ zh:
MEMORY_RELEASE: '工作正在释放内存并等待(%s 已用)'
STALLED_JOB: 呆滞任务
STALLED_JOB_MSG: '名为 %s 的工作似乎停滞不前。它已暂停,请登录查看'
TABLE_ADDE: '已添加'
TABLE_ADDE: 已添加
TABLE_MESSAGES: 消息
TABLE_NUM_PROCESSED: 完成
TABLE_STARTED: 已开始
TABLE_START_AFTER: 开始于
TABLE_STATUS: 状态
TABLE_TITLE: '标题'
TABLE_TOTAL: '全部'
TABLE_TITLE: 标题
TABLE_TOTAL: 全部
QueuedJobsAdmin:
MENUTITLE: 作业
ScheduledExecution:
EXECUTE_EVERY: 执行每
EXECUTE_FREE: '已调度(以首次执行的时间戳格式显示)'
EXECUTE_FREE: 已调度(以首次执行的时间戳格式显示)
ExecuteEveryDay:
ExecuteEveryFortnight: 两周
ExecuteEveryHour:
Expand Down

0 comments on commit c37d75c

Please sign in to comment.