From 76ebd22eab1e5e12c3270823cf7a74d932831a9e Mon Sep 17 00:00:00 2001 From: Marc Date: Fri, 8 Nov 2024 23:22:18 +0100 Subject: [PATCH] Fixed Typos and mistranslations in GDPR mode (DSGVO Modus) (#757) Fixed Typo enviroment Co-authored-by: Marc Kreidler --- src/Controller/ToolsController.php | 4 ++-- src/Entity/LogSystem/SecurityEventLogEntry.php | 2 +- src/Entity/LogSystem/UserLoginLogEntry.php | 2 +- src/Entity/LogSystem/UserLogoutLogEntry.php | 2 +- templates/tools/server_infos/_partdb.html.twig | 6 +++--- translations/messages.cs.xlf | 2 +- translations/messages.da.xlf | 2 +- translations/messages.de.xlf | 2 +- translations/messages.en.xlf | 2 +- translations/messages.pl.xlf | 2 +- 10 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/Controller/ToolsController.php b/src/Controller/ToolsController.php index 78e149e33..dbcb91a1a 100644 --- a/src/Controller/ToolsController.php +++ b/src/Controller/ToolsController.php @@ -61,10 +61,10 @@ public function systemInfos(GitVersionInfo $versionInfo, DBInfoHelper $DBInfoHel 'default_theme' => $this->getParameter('partdb.global_theme'), 'enabled_locales' => $this->getParameter('partdb.locale_menu'), 'demo_mode' => $this->getParameter('partdb.demo_mode'), - 'gpdr_compliance' => $this->getParameter('partdb.gdpr_compliance'), + 'gdpr_compliance' => $this->getParameter('partdb.gdpr_compliance'), 'use_gravatar' => $this->getParameter('partdb.users.use_gravatar'), 'email_password_reset' => $this->getParameter('partdb.users.email_pw_reset'), - 'enviroment' => $this->getParameter('kernel.environment'), + 'environment' => $this->getParameter('kernel.environment'), 'is_debug' => $this->getParameter('kernel.debug'), 'email_sender' => $this->getParameter('partdb.mail.sender_email'), 'email_sender_name' => $this->getParameter('partdb.mail.sender_name'), diff --git a/src/Entity/LogSystem/SecurityEventLogEntry.php b/src/Entity/LogSystem/SecurityEventLogEntry.php index ffcfd6a58..1b65ca0b5 100644 --- a/src/Entity/LogSystem/SecurityEventLogEntry.php +++ b/src/Entity/LogSystem/SecurityEventLogEntry.php @@ -127,7 +127,7 @@ public function getIPAddress(): string * Sets the IP address used to log in the user. * * @param string $ip the IP address used to log in the user - * @param bool $anonymize Anonymize the IP address (remove last block) to be GPDR compliant + * @param bool $anonymize Anonymize the IP address (remove last block) to be GDPR compliant * * @return $this */ diff --git a/src/Entity/LogSystem/UserLoginLogEntry.php b/src/Entity/LogSystem/UserLoginLogEntry.php index c9e6bc21c..db62eb01b 100644 --- a/src/Entity/LogSystem/UserLoginLogEntry.php +++ b/src/Entity/LogSystem/UserLoginLogEntry.php @@ -52,7 +52,7 @@ public function getIPAddress(): string * Sets the IP address used to log in the user. * * @param string $ip the IP address used to log in the user - * @param bool $anonymize Anonymize the IP address (remove last block) to be GPDR compliant + * @param bool $anonymize Anonymize the IP address (remove last block) to be GDPR compliant * * @return $this */ diff --git a/src/Entity/LogSystem/UserLogoutLogEntry.php b/src/Entity/LogSystem/UserLogoutLogEntry.php index ba52de876..275b1d4e5 100644 --- a/src/Entity/LogSystem/UserLogoutLogEntry.php +++ b/src/Entity/LogSystem/UserLogoutLogEntry.php @@ -49,7 +49,7 @@ public function getIPAddress(): string * Sets the IP address used to log in the user. * * @param string $ip the IP address used to log in the user - * @param bool $anonymize Anonymize the IP address (remove last block) to be GPDR compliant + * @param bool $anonymize Anonymize the IP address (remove last block) to be GDPR compliant * * @return $this */ diff --git a/templates/tools/server_infos/_partdb.html.twig b/templates/tools/server_infos/_partdb.html.twig index 52d19c939..ca2b82a8c 100644 --- a/templates/tools/server_infos/_partdb.html.twig +++ b/templates/tools/server_infos/_partdb.html.twig @@ -11,7 +11,7 @@ Symfony environment - {{ enviroment }} (Debug: {{ helper.boolean_badge(is_debug) }}) + {{ environment }} (Debug: {{ helper.boolean_badge(is_debug) }}) Part-DB Instance name @@ -42,8 +42,8 @@ {{ helper.boolean_badge(demo_mode) }} - GPDR Compliance Mode - {{ helper.boolean_badge(gpdr_compliance) }} + GDPR Compliance Mode + {{ helper.boolean_badge(gdpr_compliance) }} Users diff --git a/translations/messages.cs.xlf b/translations/messages.cs.xlf index 19b3e3f4b..bde090df5 100644 --- a/translations/messages.cs.xlf +++ b/translations/messages.cs.xlf @@ -11196,7 +11196,7 @@ Element 3 log.user_login.ip_anonymize_hint - Pokud poslední číslice IP adresy chybí, je povolen režim GPDR, ve kterém jsou IP adresy anynomizovány. + Pokud poslední číslice IP adresy chybí, je povolen režim GDPR, ve kterém jsou IP adresy anynomizovány. diff --git a/translations/messages.da.xlf b/translations/messages.da.xlf index bc6f7db53..d72589864 100644 --- a/translations/messages.da.xlf +++ b/translations/messages.da.xlf @@ -11201,7 +11201,7 @@ Oversættelsen log.user_login.ip_anonymize_hint - Hvis de sidste cifre i IP-adressen mangler, aktiveres DSGV-tilstanden, hvor IP-adresserne anonymiseres. + Hvis de sidste cifre i IP-adressen mangler, aktiveres databeskyttelsesforordningen mode, hvor IP-adresserne anonymiseres. diff --git a/translations/messages.de.xlf b/translations/messages.de.xlf index a9e9f313a..0386e0b1a 100644 --- a/translations/messages.de.xlf +++ b/translations/messages.de.xlf @@ -11192,7 +11192,7 @@ Element 3 log.user_login.ip_anonymize_hint - Wenn die letzten Stellen der IP-Adresse fehlen, dann ist der DSGV Modus aktiviert, bei dem IP-Adressen anonymisiert werden. + Wenn die letzten Stellen der IP-Adresse fehlen, dann ist der DSGVO Modus aktiviert, bei dem IP-Adressen anonymisiert werden. diff --git a/translations/messages.en.xlf b/translations/messages.en.xlf index 82c3003b0..de8531aa1 100644 --- a/translations/messages.en.xlf +++ b/translations/messages.en.xlf @@ -11196,7 +11196,7 @@ Element 3 log.user_login.ip_anonymize_hint - If the last digits of the IP address are missing, then the GPDR mode is enabled, in which IP addresses are anynomized. + If the last digits of the IP address are missing, then the GDPR mode is enabled, in which IP addresses are anynomized. diff --git a/translations/messages.pl.xlf b/translations/messages.pl.xlf index d20d1b9e0..5b0384100 100644 --- a/translations/messages.pl.xlf +++ b/translations/messages.pl.xlf @@ -11192,7 +11192,7 @@ Element 3 log.user_login.ip_anonymize_hint - Jeśli brakuje ostatnich cyfr adresu IP, włączony jest tryb GPDR, w którym adresy IP są anonimowe. + Jeśli brakuje ostatnich cyfr adresu IP, włączony jest tryb GDPR, w którym adresy IP są anonimowe.