Notices that when you use titleSelect="COM_X_FIELD_X_LABEL" in a modal select XML it will never get translated as there is no Text::_() on the button in the code below.
One more thing is that if you don't set the titleSelect the title is empty as the sting value will always return true and Text::_('JSELECT') is never selected either.
Modal title should be translated.
Modal title is not translated.
phpversion: 8.2.11
server: nginx/1.23.1
version: Joomla! 5.0.3 Stable [ Kuboresha ] 20-February-2024 16:00 GMT
Labels |
Added:
No Code Attached Yet
|
Labels |
Added:
bug
|
Labels |
Added:
Information Required
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2024-08-02 20:54:42 |
Closed_By | ⇒ | Quy |
If you look at all the instances of this code you will see that Text:: is applied when the button is defined eg
joomla-cms/administrator/components/com_banners/src/View/Banners/HtmlView.php
Lines 197 to 204 in e26313a