Added support for detecting if UDS Client is launched correctly

This commit is contained in:
Adolfo Gómez García 2021-04-30 11:13:52 +02:00
parent 2b5543905a
commit 07738e3dc2
9 changed files with 18 additions and 18 deletions

View File

@ -93,7 +93,7 @@ MIT
core-js
MIT
Copyright (c) 2014-2020 Denis Pushkarev
Copyright (c) 2014-2021 Denis Pushkarev
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -11,22 +11,21 @@ gettext("Service is in maintenance");
gettext("This service is currently not accessible due to schedule restrictions.");
gettext("Launcher");
gettext("Service is in maintenance and cannot be launched");
gettext("This service is currently not accesible due to schedule restrictions.");
gettext("Release service: ");
gettext("Reset service: ");
gettext("Service released");
gettext("Service reseted");
gettext("Are you sure?");
gettext("seconds");
gettext("Please wait until the service is launched.");
gettext("Error");
gettext("Service ready");
gettext("UDS Client not launching");
gettext("UDS Client Download");
gettext("Error launching service");
gettext("Please wait until the service is launched.");
gettext("Error");
gettext("Launching service");
gettext("Please wait until the service is launched.");
gettext("Remember that you will need the UDS client on your platform to access the service.");
gettext("Error launching service");
gettext("Please wait until the service is launched.");
gettext("Your connection is being prepared. It will open on a new window when ready.");
gettext("The service is now being prepared. (It is at #).'.replace('#', '' + data.running + '%");
gettext("Please, try again in a few moments.");
gettext("Error launching service");
// HTML
gettext("You can access UDS Open Source code at");
gettext("UDS has been developed using these components:");

File diff suppressed because one or more lines are too long

View File

@ -158,6 +158,7 @@ def udsJs(request: 'ExtendedHttpRequest') -> str:
'galleryImage': reverse('webapi.galleryImage', kwargs={'idImage': 'param1'}),
'transportIcon': reverse('webapi.transportIcon', kwargs={'idTrans': 'param1'}),
'static': static(''),
'clientDownload': reverse('page.client-download'),
# Launcher URL if exists
'launch': request.session.get('launch', ''),
}