Skip to content

Commit

Permalink
Fixed Typos and mistranslations in GDPR mode (DSGVO Modus) (#757)
Browse files Browse the repository at this point in the history
Fixed Typo enviroment

Co-authored-by: Marc Kreidler <[email protected]>
  • Loading branch information
mkne and mkne authored Nov 8, 2024
1 parent 5b0ca8e commit 76ebd22
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions src/Controller/ToolsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down
2 changes: 1 addition & 1 deletion src/Entity/LogSystem/SecurityEventLogEntry.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Entity/LogSystem/UserLoginLogEntry.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Entity/LogSystem/UserLogoutLogEntry.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
6 changes: 3 additions & 3 deletions templates/tools/server_infos/_partdb.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</tr>
<tr>
<td>Symfony environment</td>
<td>{{ enviroment }} (Debug: {{ helper.boolean_badge(is_debug) }})</td>
<td>{{ environment }} (Debug: {{ helper.boolean_badge(is_debug) }})</td>
</tr>
<tr>
<td>Part-DB Instance name</td>
Expand Down Expand Up @@ -42,8 +42,8 @@
<td>{{ helper.boolean_badge(demo_mode) }}</td>
</tr>
<tr>
<td>GPDR Compliance Mode</td>
<td>{{ helper.boolean_badge(gpdr_compliance) }}</td>
<td>GDPR Compliance Mode</td>
<td>{{ helper.boolean_badge(gdpr_compliance) }}</td>
</tr>
<tr class="table-info">
<td colspan="2"><b>Users</b></td>
Expand Down
2 changes: 1 addition & 1 deletion translations/messages.cs.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -11196,7 +11196,7 @@ Element 3</target>
<unit id="9jOklgS" name="log.user_login.ip_anonymize_hint">
<segment state="translated">
<source>log.user_login.ip_anonymize_hint</source>
<target>Pokud poslední číslice IP adresy chybí, je povolen režim GPDR, ve kterém jsou IP adresy anynomizovány.</target>
<target>Pokud poslední číslice IP adresy chybí, je povolen režim GDPR, ve kterém jsou IP adresy anynomizovány.</target>
</segment>
</unit>
<unit id="kaMyDVi" name="log.user_not_allowed.unauthorized_access_attempt_to">
Expand Down
2 changes: 1 addition & 1 deletion translations/messages.da.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -11201,7 +11201,7 @@ Oversættelsen
<unit id="9jOklgS" name="log.user_login.ip_anonymize_hint">
<segment state="translated">
<source>log.user_login.ip_anonymize_hint</source>
<target>Hvis de sidste cifre i IP-adressen mangler, aktiveres DSGV-tilstanden, hvor IP-adresserne anonymiseres.</target>
<target>Hvis de sidste cifre i IP-adressen mangler, aktiveres databeskyttelsesforordningen mode, hvor IP-adresserne anonymiseres.</target>
</segment>
</unit>
<unit id="kaMyDVi" name="log.user_not_allowed.unauthorized_access_attempt_to">
Expand Down
2 changes: 1 addition & 1 deletion translations/messages.de.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -11192,7 +11192,7 @@ Element 3</target>
<unit id="sg8NMZk" name="log.user_login.ip_anonymize_hint">
<segment state="translated">
<source>log.user_login.ip_anonymize_hint</source>
<target>Wenn die letzten Stellen der IP-Adresse fehlen, dann ist der DSGV Modus aktiviert, bei dem IP-Adressen anonymisiert werden.</target>
<target>Wenn die letzten Stellen der IP-Adresse fehlen, dann ist der DSGVO Modus aktiviert, bei dem IP-Adressen anonymisiert werden.</target>
</segment>
</unit>
<unit id="K_LOvwj" name="log.user_not_allowed.unauthorized_access_attempt_to">
Expand Down
2 changes: 1 addition & 1 deletion translations/messages.en.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -11196,7 +11196,7 @@ Element 3</target>
<unit id="sg8NMZk" name="log.user_login.ip_anonymize_hint">
<segment state="translated">
<source>log.user_login.ip_anonymize_hint</source>
<target>If the last digits of the IP address are missing, then the GPDR mode is enabled, in which IP addresses are anynomized.</target>
<target>If the last digits of the IP address are missing, then the GDPR mode is enabled, in which IP addresses are anynomized.</target>
</segment>
</unit>
<unit id="K_LOvwj" name="log.user_not_allowed.unauthorized_access_attempt_to">
Expand Down
2 changes: 1 addition & 1 deletion translations/messages.pl.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -11192,7 +11192,7 @@ Element 3</target>
<unit id="sg8NMZk" name="log.user_login.ip_anonymize_hint">
<segment state="translated">
<source>log.user_login.ip_anonymize_hint</source>
<target>Jeśli brakuje ostatnich cyfr adresu IP, włączony jest tryb GPDR, w którym adresy IP są anonimowe.</target>
<target>Jeśli brakuje ostatnich cyfr adresu IP, włączony jest tryb GDPR, w którym adresy IP są anonimowe.</target>
</segment>
</unit>
<unit id="K_LOvwj" name="log.user_not_allowed.unauthorized_access_attempt_to">
Expand Down

0 comments on commit 76ebd22

Please sign in to comment.