Customize email alert when display is back online

Asked by Imrail

Hi all

I configure my Xibo server to send alert email when the displays are offline. All works ok.
I translate the message that says "Display XXX with ID 20 was last seen at 2011-06-14 15:12:28." to spanish but I can't find the code that modify this message "Display XXX with ID 20 is now back online."

Where can I find this code?

Thx

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
Imrail
Solved:
Last query:
Last reply:
Revision history for this message
Dan Garner (dangarner) said :
#1

Although the maintenance.php file is translated there doesnt appear to be a way to tell it which language to translate into at the moment.... which is a bug.

You can edit the message directly in the source as a workaround. It is in maintenance.php on line #196

Revision history for this message
Alex Harrington (alexharrington) said :
#2
Revision history for this message
Imrail (liquidvillarrubia) said :
#3

Thx Dan and Alex,just what I needed

Revision history for this message
Dan Garner (dangarner) said :
#4

I think you want to pay more attention to Alex rather than myself - as he wrote this bit ;-)

I think the bug still applies as there is no setting available for passing a lang parameter into the SOAP service either.

@Alex - Perhaps a DB setting "MAINTENANCE_DEFAULT_LANGUAGE" ?