Skip to content

Commit 99ea2e7

Browse files
authored
[5.4] Remove last uses of JText (#46473)
1 parent 18ccd81 commit 99ea2e7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

administrator/components/com_content/src/View/Articles/HtmlView.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ protected function addToolbar()
203203
->buttonClass('text-center py-2 h3');
204204

205205
$cmd = "Joomla.submitbutton('articles.runTransition');";
206-
$messages = "{error: [Joomla.JText._('JLIB_HTML_PLEASE_MAKE_A_SELECTION_FROM_THE_LIST')]}";
206+
$messages = "{error: [Joomla.Text._('JLIB_HTML_PLEASE_MAKE_A_SELECTION_FROM_THE_LIST')]}";
207207
$alert = 'Joomla.renderMessages(' . $messages . ')';
208208
$cmd = 'if (document.adminForm.boxchecked.value == 0) { ' . $alert . ' } else { ' . $cmd . ' }';
209209

administrator/components/com_content/src/View/Featured/HtmlView.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ protected function addToolbar()
158158
->buttonClass('text-center py-2 h3');
159159

160160
$cmd = "Joomla.submitbutton('articles.runTransition');";
161-
$messages = "{error: [Joomla.JText._('JLIB_HTML_PLEASE_MAKE_A_SELECTION_FROM_THE_LIST')]}";
161+
$messages = "{error: [Joomla.Text._('JLIB_HTML_PLEASE_MAKE_A_SELECTION_FROM_THE_LIST')]}";
162162
$alert = 'Joomla.renderMessages(' . $messages . ')';
163163
$cmd = 'if (document.adminForm.boxchecked.value == 0) { ' . $alert . ' } else { ' . $cmd . ' }';
164164

0 commit comments

Comments
 (0)