Language Change Updates Requested Maintainers Checked PR-5.1-dev Pending

User tests: Successful: Unsuccessful:

avatar artur-stepien
artur-stepien
31 May 2023

Summary of Changes

This pull requests detaches workflow dropdown inputs from com_content component. It is required or other components using Workflows would require using COM_CONTENT translations or its translation prefix.

Testing Instructions

To test it fully you would require to build a custom component running workflows. Easiest is to check if Workflow input in Article Edit view and Articles list in administration still have the translation like previously:

  • Run Translation
  • Workflow Stage

Actual result BEFORE applying this Pull Request

obraz
obraz

Expected result AFTER applying this Pull Request

The inputs marked in screens above should have the same translation before and after patch.

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

avatar joomla-cms-bot joomla-cms-bot - change - 31 May 2023
Category Administration Language & Strings Layout Libraries
avatar artur-stepien artur-stepien - open - 31 May 2023
avatar artur-stepien artur-stepien - change - 31 May 2023
Status New Pending
avatar artur-stepien artur-stepien - change - 1 Jun 2023
Labels Added: Language Change PR-4.3-dev
avatar artur-stepien artur-stepien - change - 1 Jun 2023
The description was changed
avatar artur-stepien artur-stepien - edited - 1 Jun 2023
avatar artur-stepien artur-stepien - change - 1 Jun 2023
The description was changed
avatar artur-stepien artur-stepien - edited - 1 Jun 2023
avatar artur-stepien artur-stepien - change - 6 Jul 2023
Labels Added: bug
avatar artur-stepien
artur-stepien - comment - 10 Jul 2023

@Quy @richard67 Willing to check this out? It was created over a month ago.

avatar laoneo
laoneo - comment - 17 Aug 2023

Thanks for the pr, I'v rebased it to 5.0 so it will get more attention for the pizza bugs and fun.

avatar Quy
Quy - comment - 3 Sep 2023

Should the Article Edit view use the new constant?

40694

avatar artur-stepien
artur-stepien - comment - 6 Sep 2023

Should the Article Edit view use the new constant?

Should, that's why there is a change in layouts/joomla/button/transition-button.php and libraries/src/MVC/Model/WorkflowBehaviorTrait.php and from what I saw it affected the com_content. I will test it again and let you know.

avatar ceford
ceford - comment - 13 Sep 2023

Tested but waiting for the outcome of previous comment.


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

avatar artur-stepien
artur-stepien - comment - 13 Sep 2023

Tested but waiting for the outcome of previous comment.
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/40694.

I will try to find the time for this tomorrow.

avatar HLeithner HLeithner - change - 5 Oct 2023
Title
Move 2 worflows input fields translations to global constants to separate from com_content
[5.1] Move 2 worflows input fields translations to global constants to separate from com_content
avatar HLeithner HLeithner - edited - 5 Oct 2023
avatar rdeutz
rdeutz - comment - 11 Oct 2023

This needs documentaion in the release notes for the situation someone has an overwrite for the language tag.

avatar LadySolveig LadySolveig - change - 21 Oct 2023
Labels Added: Feature Documentation Required ? Maintainers Checked PR-5.0-dev
Removed: bug PR-4.3-dev
avatar artur-stepien artur-stepien - change - 19 Jan 2024
Labels Added: Updates Requested PR-5.1-dev
Removed: Documentation Required ?
avatar joomla-cms-bot joomla-cms-bot - change - 19 Jan 2024
Category Administration Language & Strings Layout Libraries Unit Tests Repository Administration com_admin com_content com_contenthistory com_fields com_finder com_installer com_joomlaupdate com_media NPM Change JavaScript com_menus com_messages
avatar Hackwar
Hackwar - comment - 21 Feb 2024

Can you make the requested change so that we can test it during PBF next saturday?

avatar Hackwar
Hackwar - comment - 21 Feb 2024

Actually, the PR seems to be broken right now, since it was rebased.

avatar artur-stepien artur-stepien - change - 21 Feb 2024
Labels Added: Unit/System Tests NPM Resource Changed
Removed: Language Change
avatar joomla-cms-bot joomla-cms-bot - change - 21 Feb 2024
Category Administration Unit Tests Repository com_admin com_content com_contenthistory com_fields com_finder com_installer com_joomlaupdate com_media NPM Change JavaScript com_menus com_messages Administration Language & Strings Layout Libraries
avatar bembelimen bembelimen - change - 4 Mar 2024
Labels Added: Language Change
Removed: Unit/System Tests NPM Resource Changed
avatar Quy Quy - change - 23 Mar 2024
Labels Removed: Feature PR-5.0-dev
avatar Quy
Quy - comment - 25 Mar 2024

Should, that's why there is a change in layouts/joomla/button/transition-button.php and libraries/src/MVC/Model/WorkflowBehaviorTrait.php and from what I saw it affected the com_content. I will test it again and let you know.

This still needs to be changed.

avatar HLeithner
HLeithner - comment - 24 Apr 2024

This pull request has been automatically rebased to 5.2-dev.

avatar HLeithner HLeithner - change - 24 Apr 2024
Title
[5.1] Move 2 worflows input fields translations to global constants to separate from com_content
[5.2] Move 2 worflows input fields translations to global constants to separate from com_content
avatar HLeithner HLeithner - edited - 24 Apr 2024
avatar HLeithner
HLeithner - comment - 2 Sep 2024

This pull request has been automatically rebased to 5.3-dev.

avatar HLeithner HLeithner - change - 2 Sep 2024
Title
[5.2] Move 2 worflows input fields translations to global constants to separate from com_content
[5.3] Move 2 worflows input fields translations to global constants to separate from com_content
avatar HLeithner HLeithner - edited - 2 Sep 2024

Add a Comment

Login with GitHub to post a comment