* More work done on Email->send_email() to, well, actually send email (which it isn't doing yet, but it's close).
* Updated Words->key() to include the bad key name when no entry for the requested key exists in the words.xml file.
Signed-off-by: Digimer <digimer@alteeve.ca>
<keyname="alert_message_0001">The scan agent: [#!variable!agent_name!#] timed out! It was given: [#!variable!timeout!#] seconds to run, but it didn't return, so it was terminated.</key>
<keyname="alert_message_0001">The scan agent: [#!variable!agent_name!#] timed out! It was given: [#!variable!timeout!#] seconds to run, but it didn't return, so it was terminated.</key>
<keyname="alert_message_0002">ScanCore has started.</key>
<!-- Branded strings reskinners may wish to change. -->
<!-- Branded strings reskinners may wish to change. -->
<keyname="brand_0001">Alteeve</key>
<keyname="brand_0001">Alteeve</key>
@ -47,7 +48,7 @@ This alert email was sent from the machine:
It was generated by #!string!brand_0004!#, which is part of the #!string!brand_0002!# Intelligent Availability platform running on the host above.
It was generated by #!string!brand_0004!#, which is part of the #!string!brand_0002!# Intelligent Availability platform running on the host above.
This email was *not* sent by #!string!scancore_brand_0001!#. If you do not know why you are receiving this email, please speak to your system's administrator.
This email was *not* sent by #!string!brand_0001!#. If you do not know why you are receiving this email, please speak to your system's administrator.
If you need any assistance, please feel free to contact #!string!brand_0001!# (https://alteeve.com) and we will do our best to assist.
If you need any assistance, please feel free to contact #!string!brand_0001!# (https://alteeve.com) and we will do our best to assist.
</key>
</key>
@ -228,6 +229,7 @@ The error was:
</key>
</key>
<keyname="error_0141">There appears to be no mail server in the database with the UUID: [#!variable!uuid!#].</key>
<keyname="error_0141">There appears to be no mail server in the database with the UUID: [#!variable!uuid!#].</key>
<keyname="error_0142">There alert level: [#!variable!alert_level!#] is invalid. Valid values are '1' / 'critical', '2' / 'warning, '3' / 'notice', and '4' / 'info'.</key>
<keyname="error_0142">There alert level: [#!variable!alert_level!#] is invalid. Valid values are '1' / 'critical', '2' / 'warning, '3' / 'notice', and '4' / 'info'.</key>
<keyname="error_0143">Failed to write the email alert file: [#!variable!file!#]! Unable to process the alert. Check the logs above for possible reasons for the error.</key>
<!-- Table headers -->
<!-- Table headers -->
<keyname="header_0001">Current Network Interfaces and States</key>
<keyname="header_0001">Current Network Interfaces and States</key>
@ -1038,6 +1040,8 @@ The file: [#!variable!file!#] needs to be updated. The difference is:
<keyname="log_0538">This IS the database queries are read from.</key>
<keyname="log_0538">This IS the database queries are read from.</key>
<keyname="log_0539">This is NOT the database queries are read from.</key>
<keyname="log_0539">This is NOT the database queries are read from.</key>
<keyname="log_0540">This host UUID is: [#!variable!uuid!#] and the database identifier is: [#!variable!identifier!#].</key>
<keyname="log_0540">This host UUID is: [#!variable!uuid!#] and the database identifier is: [#!variable!identifier!#].</key>
<keyname="log_0541">Writing out alert email to: [#!variable!file!#].</key>
<keyname="log_0542">Sending email to: [#!variable!to!#].</key>
<!-- Messages for users (less technical than log entries), though sometimes used for logs, too. -->
<!-- Messages for users (less technical than log entries), though sometimes used for logs, too. -->
<keyname="message_0001">The host name: [#!variable!target!#] does not resolve to an IP address.</key>
<keyname="message_0001">The host name: [#!variable!target!#] does not resolve to an IP address.</key>
@ -1307,7 +1311,6 @@ About to try to download aproximately: [#!variable!packages!#] packages needed t
</key><!-- Translation note: System->update_hosts() looks for '##] anvil-daemon [##' to know if this alert was added to /etc/hosts. As such, please retain that exact string in your translation. -->
</key><!-- Translation note: System->update_hosts() looks for '##] anvil-daemon [##' to know if this alert was added to /etc/hosts. As such, please retain that exact string in your translation. -->
<keyname="message_0178">Hosts added or updated by the #!string!brand_0002!# on: [#!variable!date!#]:</key>
<keyname="message_0178">Hosts added or updated by the #!string!brand_0002!# on: [#!variable!date!#]:</key>
<keyname="message_0179">ScanCore has started.</key>
<!-- Success messages shown to the user -->
<!-- Success messages shown to the user -->
<keyname="ok_0001">Saved the mail server information successfully!</key>
<keyname="ok_0001">Saved the mail server information successfully!</key>
@ -1535,7 +1538,7 @@ If you are comfortable that the target has changed for a known reason, you can s
<keyname="striker_0196">Recipient's Email</key>
<keyname="striker_0196">Recipient's Email</key>
<keyname="striker_0197">The email that alerts are sent to.</key>
<keyname="striker_0197">The email that alerts are sent to.</key>
<keyname="striker_0198">The language the user will receive alerts in.</key>
<keyname="striker_0198">The language the user will receive alerts in.</key>
<keyname="striker_0199">Does the user want imperial or metric units?</key>
<keyname="striker_0199"></key><!-- free -->
<keyname="striker_0200">The alert level used for new (and existing) #!string!brand_0006!# systems.</key>
<keyname="striker_0200">The alert level used for new (and existing) #!string!brand_0006!# systems.</key>
<keyname="striker_0202">This puts the host into network mapping mode. In this most, most functions are disabled and the link status of network interfaces are closely monitored.</key>
<keyname="striker_0202">This puts the host into network mapping mode. In this most, most functions are disabled and the link status of network interfaces are closely monitored.</key>