Joomla CMS [#25565] "Language string failed to load" showing up when sending an email #392

Merged
merged 1 commit into from Sep 25, 2011
View
10 libraries/phpmailer/language/phpmailer.lang-joomla.php
@@ -4,8 +4,6 @@
* English Version
*/
-$PHPMAILER_LANG = array();
-
$PHPMAILER_LANG["provide_address"] = JText::_('PHPMAILER_PROVIDE_ADDRESS');
$PHPMAILER_LANG["mailer_not_supported"] = JText::_('PHPMAILER_MAILER_IS_NOT_SUPPORTED');
$PHPMAILER_LANG["execute"] = JText::_('PHPMAILER_EXECUTE');
@@ -18,4 +16,10 @@
$PHPMAILER_LANG["file_access"] = JText::_('PHPMAILER_FILE_ACCESS');
$PHPMAILER_LANG["file_open"] = JText::_('PHPMAILER_FILE_OPEN');
$PHPMAILER_LANG["encoding"] = JText::_('PHPMAILER_ENCODING');
-$PHPMAILER_LANG["signing"] = JText::_('PHPMAILER_SIGNING_ERROR');
+$PHPMAILER_LANG["signing"] = JText::_('PHPMAILER_SIGNING_ERROR');
+$PHPMAILER_LANG['smtp_error'] = JText::_('PHPMAILER_SMTP_ERROR');
+$PHPMAILER_LANG['empty_message'] = JText::_('PHPMAILER_EMPTY_MESSAGE');
+$PHPMAILER_LANG['invalid_address'] = JText::_('PHPMAILER_INVALID_ADDRESS');
+$PHPMAILER_LANG['variable_set'] = JText::_('PHPMAILER_VARIABLE_SET');
+$PHPMAILER_LANG['smtp_connect_failed'] = JText::_('PHPMAILER_SMTP_CONNECT_FAILED');
+$PHPMAILER_LANG['tls'] = JText::_('PHPMAILER_TLS');