diff --git a/haproxy/errors/400.http b/haproxy/errors/400.http index 705af59..209f825 100644 --- a/haproxy/errors/400.http +++ b/haproxy/errors/400.http @@ -21,10 +21,12 @@ footer{font-size:x-small;margin-top:auto;padding:10px;text-align:center;border-t -

Bad Request.

+

+ %[var(txn.lang_json),json_query($.Bad Request\.)] +

diff --git a/haproxy/errors/403.http b/haproxy/errors/403.http index ab23403..8d46a2a 100644 --- a/haproxy/errors/403.http +++ b/haproxy/errors/403.http @@ -16,10 +16,12 @@ footer{font-size:x-small;margin-top:auto;padding:10px;text-align:center;border-t -

You look like a robot.

+

+ %[var(txn.lang_json),json_query($.You look like a robot\.)] +

diff --git a/haproxy/errors/408.http b/haproxy/errors/408.http index f235550..af0d24f 100644 --- a/haproxy/errors/408.http +++ b/haproxy/errors/408.http @@ -16,10 +16,12 @@ footer{font-size:x-small;margin-top:auto;padding:10px;text-align:center;border-t -

Request Time-out.

+

+ %[var(txn.lang_json),json_query($.Request Time-out\.)] +

diff --git a/haproxy/errors/429.http b/haproxy/errors/429.http index 0cfa634..49fc358 100644 --- a/haproxy/errors/429.http +++ b/haproxy/errors/429.http @@ -16,10 +16,12 @@ footer{font-size:x-small;margin-top:auto;padding:10px;text-align:center;border-t -

Slow down, you look like a robot.

+

+ %[var(txn.lang_json),json_query($."Slow down, you look like a robot.")] +

diff --git a/haproxy/errors/500.http b/haproxy/errors/500.http index 638f57d..5ff01b4 100644 --- a/haproxy/errors/500.http +++ b/haproxy/errors/500.http @@ -16,10 +16,12 @@ footer{font-size:x-small;margin-top:auto;padding:10px;text-align:center;border-t -

Internal Server Error, please try again later.

+

+ %[var(txn.lang_json),json_query($."Internal Server Error, please try again later\.")] +

diff --git a/haproxy/errors/502.http b/haproxy/errors/502.http index 9791062..08d2e22 100644 --- a/haproxy/errors/502.http +++ b/haproxy/errors/502.http @@ -16,10 +16,12 @@ footer{font-size:x-small;margin-top:auto;padding:10px;text-align:center;border-t -

Bad Gateway.

+

+ %[var(txn.lang_json),json_query($.Bad Gateway\.)] +

diff --git a/haproxy/errors/503.http b/haproxy/errors/503.http index 418cab9..f1a6a70 100644 --- a/haproxy/errors/503.http +++ b/haproxy/errors/503.http @@ -16,11 +16,15 @@ footer{font-size:x-small;margin-top:auto;padding:10px;text-align:center;border-t -

Service Unavailable.

-

Sorry, the backend is unreachable or down for essential maintenance. Try again soon!

+

+ %[var(txn.lang_json),json_query($.Service Unavailable\.)] +

+

+ %[var(txn.lang_json),json_query($."Sorry, the backend is unreachable or down for essential maintenance\. Try again soon!")] +

diff --git a/haproxy/errors/504.http b/haproxy/errors/504.http index 89357cb..d79efb5 100644 --- a/haproxy/errors/504.http +++ b/haproxy/errors/504.http @@ -16,11 +16,15 @@ footer{font-size:x-small;margin-top:auto;padding:10px;text-align:center;border-t -

Gateway Time-out.

-

Sorry, the backend is unreachable or down for essential maintenance. Try again soon!

+

+ %[var(txn.lang_json),json_query($.Gateway Time-out\.)] +

+

+ %[var(txn.lang_json),json_query($."Sorry, the backend is unreachable or down for essential maintenance\. Try again soon!")] +

diff --git a/src/locales/en-US.json b/src/locales/en-US.json index d5fc20a..4b00dc9 100644 --- a/src/locales/en-US.json +++ b/src/locales/en-US.json @@ -19,5 +19,14 @@ "Run this in a linux terminal (requires argon2 package installed):": "Run this in a linux terminal (requires argon2 package installed):", "Run this in a linux terminal (requires perl):": "Run this in a linux terminal (requires perl):", "Paste the script output into the box and submit:": "Paste the script output into the box and submit:", -"submit": "submit" +"submit": "submit", +"Bad Request.": "Bad Request.", +"You look like a robot.": "You look like a robot.", +"Request Time-out.": "Request Time-out.", +"Slow down, you look like a robot.": "Slow down, you look like a robot.", +"Internal Server Error, please try again later.": "Internal Server Error, please try again later.", +"Bad Gateway.": "Bad Gateway.", +"Service Unavailable.": "Service Unavailable.", +"Sorry, the backend is unreachable or down for essential maintenance. Try again soon!": "Sorry, the backend is unreachable or down for essential maintenance. Try again soon!", +"Gateway Time-out.": "Gateway Time-out." } diff --git a/src/locales/pt-BR.json b/src/locales/pt-BR.json index 27aa265..74e5c89 100644 --- a/src/locales/pt-BR.json +++ b/src/locales/pt-BR.json @@ -19,5 +19,14 @@ "Run this in a linux terminal (requires argon2 package installed):": "Corre isto num terminal linux (requer package argon2 instalada):", "Run this in a linux terminal (requires perl):": "Corre isto num terminal linux (requer perl):", "Paste the script output into the box and submit:": "Cola o output do script na caixa e envia:", -"submit": "enviar" +"submit": "enviar", +"Bad Request.": "Mau Pedido.", +"You look like a robot.": "Pareces um robô.", +"Request Time-out.": "Time-out de pedido.", +"Slow down, you look like a robot.": "Devagar, pareces um robô.", +"Internal Server Error, please try again later.": "Erro Interno do Servidor, por favor tenta outra vez mais tarde.", +"Bad Gateway.": "Má Porta", +"Service Unavailable.": "Serviço Indisponível", +"Sorry, the backend is unreachable or down for essential maintenance. Try again soon!": "Desculpa, o servidor não está acessível ou está em manutenção. Tenta outra vez em breve!", +"Gateway Time-out.": "Time-out de Porta" } diff --git a/src/locales/pt-PT.json b/src/locales/pt-PT.json index 27aa265..74e5c89 100644 --- a/src/locales/pt-PT.json +++ b/src/locales/pt-PT.json @@ -19,5 +19,14 @@ "Run this in a linux terminal (requires argon2 package installed):": "Corre isto num terminal linux (requer package argon2 instalada):", "Run this in a linux terminal (requires perl):": "Corre isto num terminal linux (requer perl):", "Paste the script output into the box and submit:": "Cola o output do script na caixa e envia:", -"submit": "enviar" +"submit": "enviar", +"Bad Request.": "Mau Pedido.", +"You look like a robot.": "Pareces um robô.", +"Request Time-out.": "Time-out de pedido.", +"Slow down, you look like a robot.": "Devagar, pareces um robô.", +"Internal Server Error, please try again later.": "Erro Interno do Servidor, por favor tenta outra vez mais tarde.", +"Bad Gateway.": "Má Porta", +"Service Unavailable.": "Serviço Indisponível", +"Sorry, the backend is unreachable or down for essential maintenance. Try again soon!": "Desculpa, o servidor não está acessível ou está em manutenção. Tenta outra vez em breve!", +"Gateway Time-out.": "Time-out de Porta" }