Skip to content
This repository was archived by the owner on Sep 19, 2022. It is now read-only.

Commit 45d3add

Browse files
author
Dominik František Bučík
authored
Changed translation for privacy policy link (#159)
1 parent 1b52256 commit 45d3add

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,17 @@ All notable changes to this project will be documented in this file.
55
#### Added
66
- Added possibility to add custom texts to the TEST_SP warning page.
77

8+
#### Changed
9+
- Use translation for privacy policy document block on consent screen from module Perun
10+
811
#### Fixed
912
- Fixed bad check in NagiosStatusConnector.php
1013

1114
## [v5.0.0]
1215
#### Added
1316
- Added extended PerunEntitlements
1417

15-
### Changed
18+
#### Changed
1619
- Refactored Disco page. See the config template for example configuration.
1720
- Obtaining the data from Nagios is done through SSH instead of a certificate and calling an API
1821

dictionaries/consent.definition.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,9 @@
3434
"displayname": {
3535
"en": "Person's name",
3636
"cs": "Jméno uživatele"
37+
},
38+
"consent_privacypolicy": {
39+
"en": "Privacy policy for the service",
40+
"cs": "Zásady zpracování osobních údajů"
3741
}
3842
}

themes/perun/consent/consentform.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
}
9797

9898
if ($this->data['sppp'] !== false) {
99-
echo "<p>" . htmlspecialchars($this->t('{consent:consent:consent_privacypolicy}')) . " ";
99+
echo "<p>" . htmlspecialchars($this->t('{perun:consent:consent_privacypolicy}')) . " ";
100100
echo "<a target='_blank' href='" . htmlspecialchars($this->data['sppp']) . "'>" . $dstName . "</a>";
101101
echo "</p>";
102102
}

0 commit comments

Comments
 (0)