31
0
mirror of https://github.com/joomla-extensions/patchtester.git synced 2024-09-28 20:49:00 +00:00

JText missing global namespace reference (Fix #67)

This commit is contained in:
Michael Babker 2015-02-23 08:19:38 -05:00
parent 8cfae1e2e8
commit 11c412e1e9
2 changed files with 4 additions and 4 deletions

View File

@ -165,7 +165,7 @@ class PullModel extends \JModelBase
if (!$files) if (!$files)
{ {
// TODO - Should be a better way to enqueue messages without needing the application... // TODO - Should be a better way to enqueue messages without needing the application...
\JFactory::getApplication()->enqueueMessage(JText::_('COM_PATCHTESTER_NO_FILES_TO_PATCH', 'message')); \JFactory::getApplication()->enqueueMessage(\JText::_('COM_PATCHTESTER_NO_FILES_TO_PATCH', 'message'));
return true; return true;
} }
@ -275,7 +275,7 @@ class PullModel extends \JModelBase
if (!$files) if (!$files)
{ {
throw new \RuntimeException(sprintf(JText::_('%s - Error retrieving table data (%s)'), __METHOD__, htmlentities($table->data))); throw new \RuntimeException(sprintf(\JText::_('%s - Error retrieving table data (%s)'), __METHOD__, htmlentities($table->data)));
} }
jimport('joomla.filesystem.file'); jimport('joomla.filesystem.file');

View File

@ -14,7 +14,7 @@ JHtml::_('script', 'com_patchtester/fetcher.js', false, true);
?> ?>
<div id="patchtester-container"> <div id="patchtester-container">
<h1 id="patchtester-progress-header"><?php echo JText::_('COM_PATCHTESTER_FETCH_INITIALIZING'); ?></h1> <h1 id="patchtester-progress-header"><?php echo \JText::_('COM_PATCHTESTER_FETCH_INITIALIZING'); ?></h1>
<p id="patchtester-progress-message"><?php echo JText::_('COM_PATCHTESTER_FETCH_INITIALIZING_DESCRIPTION'); ?></p> <p id="patchtester-progress-message"><?php echo \JText::_('COM_PATCHTESTER_FETCH_INITIALIZING_DESCRIPTION'); ?></p>
<input id="patchtester-token" type="hidden" name="<?php echo JFactory::getSession()->getFormToken(); ?>" value="1" /> <input id="patchtester-token" type="hidden" name="<?php echo JFactory::getSession()->getFormToken(); ?>" value="1" />
</div> </div>