now working again
Signed-off-by: Omar Sánchez Pizarro <omar.sanchez@pistacero.net>
This commit is contained in:
37
app/strings.py
Normal file
37
app/strings.py
Normal file
@@ -0,0 +1,37 @@
|
||||
tnv_string = "Tn-V"
|
||||
tnd_string = "Tn-D"
|
||||
|
||||
conditional_response = [{
|
||||
"text": "fichado",
|
||||
"text2": "fichar",
|
||||
"emoji": "🕐🏢🏃♂️🏡"
|
||||
},{
|
||||
"text": "desfichado",
|
||||
"text2": "desfichar",
|
||||
"emoji": "🏡🏃♂️🏢🕐"
|
||||
}]
|
||||
|
||||
user_agent = "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36"
|
||||
tn_u = "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36"
|
||||
|
||||
responses = {
|
||||
"check successful": "Has %s correctamente a las %s",
|
||||
}
|
||||
|
||||
messages = {
|
||||
"waiting": "Esperando %s segundos para %s en un minuto aleatorio",
|
||||
"debug": "Corriendo en modo debug. No se realizará ninguna acción",
|
||||
"success": "🟢🕐 %s correctamente a las %s",
|
||||
}
|
||||
|
||||
errors = {
|
||||
"login": "🟥🕐 Error al iniciar sesión: %s",
|
||||
"get_checks": "🟥🕐 Error al obtener los checks: %s",
|
||||
"post_checks": "🟥🕐 Error al hacer check: %s - %s",
|
||||
"no_valid_worker": "🟥🕐 El trabajador no ha podido ser identificado",
|
||||
"check_failed": "🟥🕐 No se ha podido fichar, la web no ha devuelto 200 OK",
|
||||
"check_already_done": "🟥🕐 Ya se ha realizado este marcaje antes a las %s",
|
||||
"calendar_check": "🟥🕐 Comprobación de calendario: %s",
|
||||
"general_error": "🟥🕐 Error: %s",
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user