error page translations (and fix code for 504.pug)

merge-requests/341/head
Thomas Lynch 1 year ago
parent 1cc2d1da81
commit ad4ec77757
  1. 9
      locales/en.json
  2. 9
      locales/pt.json
  3. 2
      views/pages/404.pug
  4. 4
      views/pages/500.pug
  5. 4
      views/pages/502.pug
  6. 4
      views/pages/503.pug
  7. 4
      views/pages/504.pug

@ -74,6 +74,11 @@
"⊖ Thread has reached reply limit.": "⊖ Thread has reached reply limit.",
"24h time": "24h time",
"2FA Code": "2FA Code",
"404 Not Found": "404 Not Found",
"500 Internal Server Error": "500 Internal Server Error",
"502 Bad Gateway": "502 Bad Gateway",
"503 Service Unavailable": "503 Service Unavailable",
"504 Gateway Timeout": "504 Gateway Timeout",
"6 digits": "6 digits",
"a-zA-Z0-9-_ only": "a-zA-Z0-9-_ only",
"Ability to create new boards.": "Ability to create new boards.",
@ -548,6 +553,10 @@
"Tegaki": "Tegaki",
"Tegaki Size": "Tegaki Size",
"The active layer is not visible.": "The active layer is not visible.",
"The server acting as a gateway or proxy did not get a response in time from the upstream server.": "The server acting as a gateway or proxy did not get a response in time from the upstream server.",
"The server acting as a gateway or proxy received an invalid response from the upstream server.": "The server acting as a gateway or proxy received an invalid response from the upstream server.",
"The server encountered an error and was unable to fulfill your request.": "The server encountered an error and was unable to fulfill your request.",
"The server is currently unable to handle the request due to a temporary overload or scheduled maintenance.": "The server is currently unable to handle the request due to a temporary overload or scheduled maintenance.",
"Theme": "Theme",
"There are currently %s public boards, %s in total. Sitewide, %s posts have been made in the last day, %s in the last hour, %s in total.": "There are currently %s public boards, %s in total. Sitewide, %s posts have been made in the last day, %s in the last hour, %s in total.",
"There are currently %s sites and %s boards in the known webring. Across all webring boards, %s posts have been made in the last hour, %s in total.": "There are currently %s sites and %s boards in the known webring. Across all webring boards, %s posts have been made in the last hour, %s in total.",

@ -74,6 +74,11 @@
"⊖ Thread has reached reply limit.": "⊖ O fio foi trancado.",
"24h time": "Hora 24h",
"2FA Code": "Código 2FA",
"404 Not Found": "404 Não encontrado",
"500 Internal Server Error": "500 Erro Interno",
"502 Bad Gateway": "502 Bad Gateway",
"503 Service Unavailable": "503 Service Unavailable",
"504 Gateway Timeout": "504 Gateway Timeout",
"6 digits": "6 digitos",
"a-zA-Z0-9-_ only": "a-zA-Z0-9-_ apenas",
"Ability to create new boards.": "Ability to create new boards.",
@ -547,6 +552,10 @@
"Tegaki": "Tegaki",
"Tegaki Size": "Tegaki",
"The active layer is not visible.": "A camada activa não está visível.",
"The server acting as a gateway or proxy did not get a response in time from the upstream server.": "The server acting as a gateway or proxy did not get a response in time from the upstream server.",
"The server acting as a gateway or proxy received an invalid response from the upstream server.": "The server acting as a gateway or proxy received an invalid response from the upstream server.",
"The server encountered an error and was unable to fulfill your request.": "O servidor encontrou um erro e não conseguiu completar o teu pedido.",
"The server is currently unable to handle the request due to a temporary overload or scheduled maintenance.": "The server is currently unable to handle the request due to a temporary overload or scheduled maintenance.",
"Theme": "Tema",
"There are currently %s public boards, %s in total. Sitewide, %s posts have been made in the last day, %s in the last hour, %s in total.": "Existem %s tábuas públicas, %s no total. Foram feitas %s publicações no último dia, %s na última hora, %s no total.",
"There are currently %s sites and %s boards in the known webring. Across all webring boards, %s posts have been made in the last hour, %s in total.": "There are currently %s sites and %s boards in the known webring. Across all webring boards, %s posts have been made in the last hour, %s in total.",

@ -1,4 +1,4 @@
extends ../layout.pug
block content
h1.board-title 404 Not Found
h1.board-title #{__('404 Not Found')}

@ -1,6 +1,6 @@
extends ../layout.pug
block content
h1.board-title 500 Internal Server Error
h1.board-title #{__('500 Internal Server Error')}
.col.flex-center.mv-10
p The server encountered an error and was unable to fulfill your request.
p #{__('The server encountered an error and was unable to fulfill your request.')}

@ -1,6 +1,6 @@
extends ../layout.pug
block content
h1.board-title 502 Bad Gateway
h1.board-title #{__('502 Bad Gateway')}
.col.flex-center.mv-10
p The server acting as a gateway or proxy received an invalid response from the upstream server.
p #{__('The server acting as a gateway or proxy received an invalid response from the upstream server.')}

@ -1,6 +1,6 @@
extends ../layout.pug
block content
h1.board-title 503 Service Unavailable
h1.board-title #{__('503 Service Unavailable')}
.col.flex-center.mv-10
p The server is currently unable to handle the request due to a temporary overload or scheduled maintenance.
p #{__('The server is currently unable to handle the request due to a temporary overload or scheduled maintenance.')}

@ -1,6 +1,6 @@
extends ../layout.pug
block content
h1.board-title 502 Bad Gateway
h1.board-title #{__('504 Gateway Timeout')}
.col.flex-center.mv-10
p The server acting as a gateway or proxy did not get a response in time from the upstream server.
p #{__('The server acting as a gateway or proxy did not get a response in time from the upstream server.')}

Loading…
Cancel
Save