Closed (duplicate)
Project:
Ultimate Cron
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
28 Apr 2020 at 13:02 UTC
Updated:
2 Apr 2026 at 15:45 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
ankithashettyReplaced t() calls with $this->t() in the following patch, please review.
Thank you.
Comment #4
dipesh_goswamiHi,
I am reviewing your patch.
Thanks
Comment #5
dipesh_goswamiHi,
Your patch does not applied for me (shown below):
Comment #6
solideogloria commentedComment #7
sandeepsingh199 commentedYahh.. patch #2 is not applied for me as well , so I have again re-rolling the same patch #2 for 9.4 and 9.5. please check again and validate.
Comment #8
sandeepsingh199 commentedfixed #7 issue.
Comment #9
sandeepsingh199 commentedComment #10
solideogloria commentedI think you missed one in CronJobFormTest.php
Maybe check again that there aren't any other t() calls that you missed.
Comment #11
sandeepsingh199 commentedthanks @solideogloria for point out the bug, I have Fixed that and attaching patch same.
Comment #13
solideogloria commentedI found several more that should be
$this->t(). I found them by applying the previous patch then search for the regex(?<!->)\bt\(The specific files with missed calls were GeneralSettingsForm.php, LauncherSettingsForm.php, LoggerSettingsForm.php, LogEntry.php, and DatabaseLogger.php
See the merge request.
Here's a patch if you need it: https://git.drupalcode.org/project/ultimate_cron/-/merge_requests/25.patch
Comment #14
solideogloria commented