Skip to content

Commit caff4cb

Browse files
authored
[4][com_joomlaupdate] untraslated warning strings (#34804)
* 1st Load com_installer's language * cs
1 parent a8c023f commit caff4cb

File tree

1 file changed

+5
-5
lines changed
  • administrator/components/com_joomlaupdate/src/View/Upload

1 file changed

+5
-5
lines changed

administrator/components/com_joomlaupdate/src/View/Upload/HtmlView.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@ class HtmlView extends BaseHtmlView
6161
*/
6262
public function display($tpl = null)
6363
{
64+
// Load com_installer's language
65+
$language = Factory::getLanguage();
66+
$language->load('com_installer', JPATH_ADMINISTRATOR, 'en-GB', false, true);
67+
$language->load('com_installer', JPATH_ADMINISTRATOR, null, true);
68+
6469
$this->updateInfo = $this->get('UpdateInformation');
6570
$this->selfUpdateAvailable = $this->get('CheckForSelfUpdate');
6671

@@ -69,11 +74,6 @@ public function display($tpl = null)
6974
$this->warnings = $this->get('Items', 'warnings');
7075
}
7176

72-
// Load com_installer's language
73-
$language = Factory::getLanguage();
74-
$language->load('com_installer', JPATH_ADMINISTRATOR, 'en-GB', false, true);
75-
$language->load('com_installer', JPATH_ADMINISTRATOR, null, true);
76-
7777
$this->addToolbar();
7878

7979
// Render the view.

0 commit comments

Comments
 (0)