From c7999c0b5f41d2bd4f3e92c8662b188aa1876ff7 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Wed, 9 Nov 2022 21:58:08 +0000 Subject: [PATCH 1/2] MNT Remove obsolete branch-alias --- composer.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index 2b1a6ce2..b4cfc9e6 100644 --- a/composer.json +++ b/composer.json @@ -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": [ { @@ -27,9 +30,6 @@ "minimum-stability": "dev", "prefer-stable": true, "extra": { - "branch-alias": { - "dev-master": "4.x-dev" - }, "expose": [ "client/styles" ] @@ -43,4 +43,4 @@ "Symbiote\\QueuedJobs\\Tests\\": "tests/" } } -} +} \ No newline at end of file From 9d53759328c094d33ac121ec05152239b9a865bd Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Thu, 10 Nov 2022 01:56:21 +0000 Subject: [PATCH 2/2] Update translations --- lang/ar.yml | 4 ++-- lang/de.yml | 9 +++++++ lang/en.yml | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++++ lang/eo.yml | 2 ++ lang/pl.yml | 61 ++++++++++++++++++++++++++++++++++++++++++++++ lang/ru.yml | 2 +- lang/sl.yml | 61 ++++++++++++++++++++++++++++++++++++++++++++++ lang/zh.yml | 10 ++++---- 8 files changed, 210 insertions(+), 8 deletions(-) create mode 100644 lang/pl.yml create mode 100644 lang/sl.yml diff --git a/lang/ar.yml b/lang/ar.yml index 271d6577..ebf91b49 100644 --- a/lang/ar.yml +++ b/lang/ar.yml @@ -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: الحالة @@ -33,7 +33,7 @@ ar: ScheduledExecution: EXECUTE_EVERY: 'قم بتنفيذ كل' EXECUTE_FREE: 'محددة (بصيغة إس تى آر تو تايم من التنفيذ الأول)' - ExecuteEveryDay: 'يوم' + ExecuteEveryDay: يوم ExecuteEveryFortnight: أسبوعان ExecuteEveryHour: ساعة ExecuteEveryMonth: شهر diff --git a/lang/de.yml b/lang/de.yml index d27be491..42e778b4 100644 --- a/lang/de.yml +++ b/lang/de.yml @@ -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: @@ -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' diff --git a/lang/en.yml b/lang/en.yml index 8bc0a655..b5f912e4 100644 --- a/lang/en.yml +++ b/lang/en.yml @@ -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' @@ -15,6 +75,7 @@ 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 @@ -22,12 +83,18 @@ en: 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)' @@ -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: diff --git a/lang/eo.yml b/lang/eo.yml index 15ede7e9..bc3dbfbf 100644 --- a/lang/eo.yml +++ b/lang/eo.yml @@ -57,3 +57,5 @@ eo: ScheduleTabTitle: Plano ScheduledExecutionJob: Title: 'Planita plenumo por {title}' + RunBuildTaskJob: + JOB_TITLE: 'Ruli je KonstruiTaskon' diff --git a/lang/pl.yml b/lang/pl.yml new file mode 100644 index 00000000..60d00633 --- /dev/null +++ b/lang/pl.yml @@ -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}' diff --git a/lang/ru.yml b/lang/ru.yml index a3ec9900..0324dee5 100644 --- a/lang/ru.yml +++ b/lang/ru.yml @@ -54,6 +54,6 @@ ru: ExecuteEveryYear: Год FIRST_EXECUTION: 'Первое исполнение' NEXT_RUN_DATE: 'Дата следующего исполнения' - ScheduleTabTitle: 'Расписание' + ScheduleTabTitle: Расписание ScheduledExecutionJob: Title: 'Запланировано исполнение {title}' diff --git a/lang/sl.yml b/lang/sl.yml new file mode 100644 index 00000000..9ec07dca --- /dev/null +++ b/lang/sl.yml @@ -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}' diff --git a/lang/zh.yml b/lang/zh.yml index 1271a74d..52a9ba3f 100644 --- a/lang/zh.yml +++ b/lang/zh.yml @@ -2,7 +2,7 @@ zh: CreateQueuedJobTask: Description: '用于创建一个排队作业的任务。将排队作业的类名作为 “name” 参数传递,欲设置作业的开始时间,可传递一个可选的 “start" 参数(由 strtotime 解析)。' DeleteObjectJob: - DELETE_JOB: '删除节点' + DELETE_JOB: 删除节点 DELETE_OBJ2: '删除 {title}' GenerateSitemapJob: REGENERATE: '重新生成谷歌网站地图 .xml 文件' @@ -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: 时