summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics/lang
diff options
context:
space:
mode:
authorSimon Rettberg2021-02-18 16:26:47 +0100
committerSimon Rettberg2021-02-18 16:26:47 +0100
commit1b5ecd7071f96555c62689878381eecb6e93c994 (patch)
treecb30a40fccd767342d5a72c543a9d7f0f6c9f295 /modules-available/statistics/lang
parent[statistics] Store ID45 live stats (diff)
downloadslx-admin-1b5ecd7071f96555c62689878381eecb6e93c994.tar.gz
slx-admin-1b5ecd7071f96555c62689878381eecb6e93c994.tar.xz
slx-admin-1b5ecd7071f96555c62689878381eecb6e93c994.zip
[statistics] Add soft-delete feature: Resets a client's IP and location
Soft-deleting a client doesn't remove its entire data and usage history from the database, but just resets IP and location, so it doesn't appear in its former location anymore. In case a client is removed from a room, this declutters the client statistics. Once the client boots again, location and and IP address will be updated again.
Diffstat (limited to 'modules-available/statistics/lang')
-rw-r--r--modules-available/statistics/lang/de/messages.json1
-rw-r--r--modules-available/statistics/lang/de/template-tags.json2
-rw-r--r--modules-available/statistics/lang/en/messages.json1
-rw-r--r--modules-available/statistics/lang/en/template-tags.json2
4 files changed, 6 insertions, 0 deletions
diff --git a/modules-available/statistics/lang/de/messages.json b/modules-available/statistics/lang/de/messages.json
index 65ddc2c7..e1688cbf 100644
--- a/modules-available/statistics/lang/de/messages.json
+++ b/modules-available/statistics/lang/de/messages.json
@@ -1,4 +1,5 @@
{
+ "cleared-n-machines": "{{0}} Clients zur\u00fcckgesetzt",
"deleted-n-machines": "{{0}} Clients gel\u00f6scht",
"ignored-both-in-use": "Rechnerpaar ignoriert, da beide noch in Betrieb zu sein scheinen. ({{0}} und {{1}})",
"invalid-cidr-notion": "Ung\u00fcltiges CIDR-Format: {{0}}",
diff --git a/modules-available/statistics/lang/de/template-tags.json b/modules-available/statistics/lang/de/template-tags.json
index d152390f..43665a78 100644
--- a/modules-available/statistics/lang/de/template-tags.json
+++ b/modules-available/statistics/lang/de/template-tags.json
@@ -90,6 +90,7 @@
"lang_replaceMachinesHeading": "Rechner ersetzen",
"lang_replaceNew": "Alter Rechner",
"lang_replaceOld": "Neuer Rechner",
+ "lang_resetClearIp": "IP-Adresse zur\u00fccksetzen",
"lang_roomplan": "Raumplan",
"lang_runMode": "Betriebsmodus",
"lang_runmodeMachines": "Mit besonderem Betriebsmodus",
@@ -100,6 +101,7 @@
"lang_shutdown": "Herunterfahren",
"lang_shutdownConfirm": "Ausgew\u00e4hlte Rechner wirklich herunterfahren?",
"lang_sockets": "Sockel",
+ "lang_sureClearIp": "Die IP-Adresse der ausgew\u00e4hlten Rechner wird auf 0.0.0.0 gesetzt, wodurch die Zuordnung zum aktuellen Raum aufgehoben wird.\r\nDie Rechner bleiben mit ihren sonstigen Daten in der Datenbank vorhanden, und sobald ein Rechner das n\u00e4chste mal startet, wird die IP-Adresse wieder aktualisiert. Diese Funktion ist dann n\u00fctzlich, wenn einige Rechner in einem Raum abgebaut wurden, und in der Zukunft in einem anderen Raum wieder aufgebaut werden sollen. Durch zur\u00fccksetzen der IP-Adresse werden die Rechner in der Zwischenzeit nicht mehr im alten Raum angezeigt, was die \u00dcbersicht verbessern kann, bleiben aber \u00fcber ihre sonstigen Merkmale weiterhin in den Statistiken aufsuchbar.",
"lang_sureDeletePermanent": "M\u00f6chten Sie diese(n) Rechner wirklich unwiderruflich aus der Datenbank entfernen?\r\n\r\nWichtig: L\u00f6schen verhindert nicht, dass ein Rechner nach erneutem Starten von bwLehrpool wieder in die Datenbank aufgenommen wird.",
"lang_sureReplaceNoUndo": "Wollen Sie die Daten der ausgew\u00e4hlten Rechner \u00fcbertragen? Diese Aktion kann nicht r\u00fcckg\u00e4ngig gemacht werden.",
"lang_swap": "Swap",
diff --git a/modules-available/statistics/lang/en/messages.json b/modules-available/statistics/lang/en/messages.json
index 922fe111..e4974923 100644
--- a/modules-available/statistics/lang/en/messages.json
+++ b/modules-available/statistics/lang/en/messages.json
@@ -1,4 +1,5 @@
{
+ "cleared-n-machines": "Reset {{0}} clients",
"deleted-n-machines": "Deleted {{0}} clients",
"ignored-both-in-use": "Ignoring machine pair as both still seem to be in use. ({{0}} and {{1}})",
"invalid-cidr-notion": "Invalid CIDR argument: {{0}}",
diff --git a/modules-available/statistics/lang/en/template-tags.json b/modules-available/statistics/lang/en/template-tags.json
index 6a9b0623..3fcbc049 100644
--- a/modules-available/statistics/lang/en/template-tags.json
+++ b/modules-available/statistics/lang/en/template-tags.json
@@ -90,6 +90,7 @@
"lang_replaceMachinesHeading": "Replace machines",
"lang_replaceNew": "Old machine",
"lang_replaceOld": "New machine",
+ "lang_resetClearIp": "Reset IP address",
"lang_roomplan": "Location",
"lang_runMode": "Mode of operation",
"lang_runmodeMachines": "With special mode of operation",
@@ -100,6 +101,7 @@
"lang_shutdown": "Shutdown",
"lang_shutdownConfirm": "Shutdown selected machines?",
"lang_sockets": "Sockets",
+ "lang_sureClearIp": "The IP address of the selected machine(s) is set to 0.0.0.0, which removes the assignment to the current room\/location.\r\nThe computers otherwise remain in the database, and as soon as a computer starts the next time, the IP address is updated again. This function is useful if some computers have been removed from one room and are to be set up in another room in the future. By resetting the IP address now, those machines are no longer displayed in the old room, which de-clutters the list view, but they remain searchable in the statistics via their other characteristics.",
"lang_sureDeletePermanent": "Are your sure you want to delete the selected machine(s) from the database? This cannot be undone.\r\n\r\nNote: Deleting machines from the database does not prevent booting up bwLehrpool again, which would recreate their respective database entries.",
"lang_sureReplaceNoUndo": "Are you sure you want to replace the selected machine pairs? This action cannot be undone.",
"lang_swap": "swap",