User tests: Successful: Unsuccessful:
The asset title being created is COM_WORKFLOW_DEFAULT_WORKFLOW but it should be "Joomla Default"
The data in this table is used in the debug permissions view.
PR for #23794
Status | New | ⇒ | Pending |
Category | ⇒ | SQL Installation Postgresql |
Sorry I don't understand your comment.
If you create a new workflow with language constant as title, it will appear untranslated in debug permissions view anyways. The same is true for workflow stages and component names.
See:
#23794 (comment)
the issue is not only for that string.
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-02-23 10:23:33 |
Closed_By | ⇒ | brianteeman | |
Labels |
Added:
?
|
To solve this specific issue and most other not translated, we need to add
Factory::getLanguage()->load('com_workflow', JPATH_ADMINISTRATOR); in
/administrator/components/com_users/Model/DebuguserModel.php`
populate state method
as well as add <?php echo $this->escape(Text::_($item->title)); ?>
in
administrator/components/com_users/tmpl/debuguser/default.php
It will not translate all assets possible, but many.
If anyone interested I can make PR
In fact, will do patch as we also need to add some new strings in com_users.ini to cope for all the Unpublished, Published, etc.
No, it shouldn't be translated. If you create a new workflow, its title won't be translated.