Skip to content

[4.0] [workflow] Translate title#30231

Merged
Quy merged 2 commits intojoomla:4.0-devfrom
infograf768:4.0_workflow_translation
Aug 1, 2020
Merged

[4.0] [workflow] Translate title#30231
Quy merged 2 commits intojoomla:4.0-devfrom
infograf768:4.0_workflow_translation

Conversation

@infograf768
Copy link
Copy Markdown
Member

@infograf768 infograf768 commented Jul 30, 2020

Pull Request for Issue #30229

Summary of Changes

Translating Workflow list items and stages when editing them, as done for custom admin menus

Testing Instructions

Patch and edit Basic workflow

administrator/index.php?option=com_workflow&view=workflow&layout=edit&id=1&extension=com_content.article

then edit Basic stage

administrator/index.php?option=com_workflow&view=stages&workflow_id=1&extension=com_content.article

Actual result BEFORE applying this Pull Request

As titles in db are lang constants, they are displayed as such. No translation is provided, although the translation is present in the list. The fact that these are constants is voluntary to cope with different languages.

Expected result AFTER applying this Pull Request

Screen Shot 2020-07-30 at 10 24 18

Screen Shot 2020-07-30 at 10 29 29

@infograf768
Copy link
Copy Markdown
Member Author

Note: we may consider to do the same for Transitions although none are provided by core as lang constants. For another patch after discussion

@infograf768
Copy link
Copy Markdown
Member Author

Modified "Title" to "Name" to fit with field label and column heading
Screen Shot 2020-07-30 at 10 57 28
Screen Shot 2020-07-30 at 10 56 13

@ChristineWk
Copy link
Copy Markdown

I have tested this item ✅ successfully on 710dfd9

4.0.0-beta4.dev


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

@richard67
Copy link
Copy Markdown
Member

I have tested this item ✅ successfully on 710dfd9


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

@richard67
Copy link
Copy Markdown
Member

RTC


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

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Jul 30, 2020
@Quy Quy added this to the Joomla 4.0 milestone Aug 1, 2020
@Quy Quy merged commit 11ec788 into joomla:4.0-dev Aug 1, 2020
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Aug 1, 2020
@infograf768 infograf768 deleted the 4.0_workflow_translation branch August 2, 2020 05:57
sakiss pushed a commit to sakiss/joomla-cms that referenced this pull request Oct 16, 2020
* [4.0] [workflow] Translate title

* Title => Name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Language Change This is for Translators

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants