From 30303a3ad0d0f31d93c25f42bfd10d70e8277b72 Mon Sep 17 00:00:00 2001 From: Minteck Date: Sat, 10 Dec 2022 22:27:08 +0100 Subject: Update --- pages/debug.inc | 68 +++++++++++++++++++++++++++++---------------------------- 1 file changed, 35 insertions(+), 33 deletions(-) (limited to 'pages/debug.inc') diff --git a/pages/debug.inc b/pages/debug.inc index e316a6f..1327af5 100644 --- a/pages/debug.inc +++ b/pages/debug.inc @@ -1,18 +1,20 @@ "General info about $systemName", - "members" => "Members in the $systemName", - "fronters" => "Current fronter(s) in the $systemName", - "switches" => "Switch history from the $systemName", - default => "$type in $systemName", + "general" => $lang["debug"]["general"] . " $systemName", + "members" => $lang["debug"]["members"] . " $systemName", + "fronters" => $lang["debug"]["fronters"] . " $systemName", + "switches" => $lang["debug"]["switches"] . " $systemName", + default => "$type " . $lang["debug"]["in"] . " $systemName", }; } @@ -35,9 +37,9 @@ function itemToName(string $item): string { $member = getSystemMember($system, $id) ?? [ "name" => $id, "display_name" => $id, "id" => $id ]; if ($member["name"] === "unknown") { - return "Unknown (" . $systemName . ")'s images"; + return str_replace("%1", $lang["debug"]["unknown"] . " (" . $systemName . ")", $lang["debug"]["images"]); } else { - return getMiniName($member["display_name"] ?? $member["name"]) . "'s images"; + return str_replace("%1", getMiniName($member["display_name"] ?? $member["name"]), $lang["debug"]["images"]); } } @@ -51,32 +53,32 @@ function itemToName(string $item): string {
-

Data updater debugging

-

This page provides debugging information to troubleshoot unexpectedly long update times or reported failures.

+

+

360): ?>

- The data is not updated periodically anymore. +

- This can be due to multiple things: +
    -
  • the data updater has been disabled temporarily for maintenance;
  • -
  • the data updater cannot start on the server;
  • -
  • the server was down for an extended period of time
  • +
  • +
  • +
- If you are an administrator and think this is not normal, you may investigate the issue. +
-

General information

+

-

Processing times

+

$time): ?>%">
@@ -86,11 +88,11 @@ function itemToName(string $item): string { -

Reported failures

+

-

The data updater has not reported any update failure in the last run.

+

-

The following files have failed to update:

+