Skip to content

Comments

[5.0Beta1] Task titles#41603

Merged
HLeithner merged 4 commits intojoomla:5.0-devfrom
brianteeman:taskname
Sep 12, 2023
Merged

[5.0Beta1] Task titles#41603
HLeithner merged 4 commits intojoomla:5.0-devfrom
brianteeman:taskname

Conversation

@brianteeman
Copy link
Contributor

Simple PR to change the title of the three newly created tasks to real words (if possible).

As these are not translated strings it makes it easier for machine translators when real words are used

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

Simple PR to change the title of the three newly created tasks to real words (if possible).

As these are not translated strings it makes it easier for machine translators when real words are used
@HLeithner
Copy link
Member

That will not migration beta1 installations right?

@richard67
Copy link
Member

@brianteeman Shouldn't these be changed, too, if we go that way?

The 3 tasks which you have found are created with the deletion of the old, obsolete system plugin.

The 2 mentioned by me are created when the old system plugin continues to exist and only some of their parameters are moved to the new task, that's why those 2 are in the postflight.

@HLeithner Should we migrate the Beta 1 task titles with Beta 2? I'm not sure if it's worth the effort, as the titles are used only for title display and nothing else, i.e. not in any code for identifying a task. At least I don't remember having seen anything like that.

On the long run I think task titles should be translatable. No idea why that's not the case.

@alikon
Copy link
Contributor

alikon commented Sep 5, 2023

as long as this don't cost to us any extra effort from moving beta to beta, or whatever
fine for me

@richard67
Copy link
Member

I have tested this item ✅ successfully on 9f44be7

I don't think it needs an update SQL script to update the titles from beta 1 to beta 2.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/41603.

@alikon
Copy link
Contributor

alikon commented Sep 5, 2023

I have tested this item ✅ successfully on 9f44be7

cr


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/41603.

@alikon
Copy link
Contributor

alikon commented Sep 5, 2023

rtc


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/41603.

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Sep 5, 2023
@HLeithner
Copy link
Member

yes we should update from beta1 to beta2 the titles.

@richard67
Copy link
Member

richard67 commented Sep 5, 2023

yes we should update from beta1 to beta2 the titles.

@brianteeman Could you do that with a new update SQL script for each db type? Here my suggestion for MySQL. For PostgreSQL it just needs to change the names quotes.

UPDATE `#__scheduler_tasks` SET `title` = 'Delete Action Logs' WHERE `type` = 'delete.actionlogs' AND `title` = 'DeleteActionLogs';
UPDATE `#__scheduler_tasks` SET `title` = 'Privacy Consent' WHERE `type` = 'privacy.consent' AND `title` = 'PrivacyConsent';
UPDATE `#__scheduler_tasks` SET `title` = 'Rotate Logs' WHERE `type` = 'rotation.logs' AND `title` = 'RotateLogs';
UPDATE `#__scheduler_tasks` SET `title` = 'Session GC' WHERE `type` = 'session.gc' AND `title` = 'SessionGC';
UPDATE `#__scheduler_tasks` SET `title` = 'Update Notification' WHERE `type` = 'update.notification' AND `title` = 'UpdateNotification';

The type should be in the where condition to not accidentally update an unrelated task with that title, and the title is in the where condition in order not to update the title for that type when the user has already changed it to something else.

@brianteeman
Copy link
Contributor Author

will do that in the morning

@brianteeman
Copy link
Contributor Author

sql updates added

@richard67
Copy link
Member

Back to pending doe to changes (new update SQL).

@alikon Could you test again? Maybe this time also with updating a 5.0-dev to the update package or custom update URL from Drone. I will do that myself too in a minute or two.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/41603.

@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Sep 12, 2023
@richard67
Copy link
Member

I have tested this item ✅ successfully on 7ca4991


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/41603.

@HLeithner
Copy link
Member

can you please fix the merge conflict then it can be merged.

@richard67
Copy link
Member

can you please fix the merge conflict then it can be merged.

@HLeithner @brianteeman I've allowed myself to do that.

@HLeithner HLeithner merged commit 6be6419 into joomla:5.0-dev Sep 12, 2023
@brianteeman
Copy link
Contributor Author

thanks

@brianteeman brianteeman deleted the taskname branch September 12, 2023 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants