No untranslated strings
2 untranslated strings
COM_WORKFLOW_STAGE_FORM_NEW
→ code and language mismatch #32060joomla-cms/administrator/language/en-GB/com_workflow.ini
Lines 77 to 78 in 882fa86
JGLOBAL_FIELDSET_NOTIFICATION
→ missing fieldset labelJoomla: 4.1.1-rc3-dev
PHP: 8.1.1
DB: 10.4.22-MariaDB
Labels |
Added:
No Code Attached Yet
|
The date of the release is irrelevant to the fix
The date of the release is irrelevant to the fix
It is not in this case. It is easier at this stage to modify the code as anyway the RC code is to be modified just before release to cope with security.
I suggest you think a bit further before writing.
and thats why we had such crap code all over the place that we now have to fix.
it's the aria-label
its easy to miss in the report but
Stage - New
Transition - New & Edit
Ah, ok, thanks. If someone could make a PR today, I can get it in for the 4.1.1 release.
Ah, ok, thanks. If someone could make a PR today, I can get it in for the 4.1.1 release.
@bembelimen PR for changing it in the PHP file? Or for adding a new language string in the language file?
And what about the 2nd error with the missing fieldset label? The discussion above was only about the first error.
Fix the language files
So be more clear:
it would be nice to have two PRs, one adding the strings to the language files, one fixing the label.
@bembelimen For point 1 see #37393 . With the missing label (point 2) I do not see any issue. It looks like it should here:
For the second point I see no issue. Even without a label, the tab title and the legend of the fieldset have the right value and are translated well.
And I see many other places where we have fieldsets without label.
But if I should add one, I would use text "COM_WORKFLOW_NOTIFICATION_FIELDSET_LABEL" because that's the text of the workflow notification plugin, and when that id disabled the notifications tab in the transition edit is not shown.
@brianteeman What do you think? Is that necessary and is it right?
@brianteeman We already have a string for that in the workflow notifications plugin. See PR #37394 .
yes - sorry. multitasking and failing
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-03-28 14:20:50 |
Closed_By | ⇒ | richard67 |
Error only for one string
COM_WORKFLOW_STAGE_FORM_ADD="Add Stage"
Easier to modify code to use
ADD
instead ofNEW
as release is tomorrow Tuesday 29<form action="<?php echo Route::_('index.php?option=com_workflow&view=stage&workflow_id=' . $input->getCmd('workflow_id') . '&extension=' . $input->getCmd('extension') . '&layout=' . $layout . $tmpl . '&id=' . (int) $this->item->id); ?>" method="post" name="adminForm" id="workflow-form" aria-label="<?php echo Text::_('COM_WORKFLOW_STAGE_FORM_' . ((int) $this->item->id === 0 ? 'ADD' : 'EDIT'), true); ?>" class="form-validate">