diff --git a/dictionaries/consent.php b/dictionaries/consent.php index bfc8ed7073967c3d0bf68a4f293d723c1ee79e36..6707b6d0d2f601957c323dd9dc655b47ef10ac8f 100644 --- a/dictionaries/consent.php +++ b/dictionaries/consent.php @@ -164,6 +164,12 @@ $lang = array( 'hr' => 'prikaži/sakrij atribute', 'hu' => 'attribútumok mutatása/elrejtése', ), + 'noconsent_title' => array ( + 'en' => 'No consent given', + ), + 'noconsent_text' => array ( + 'en' => 'You did not give consent for transfering your attributes to the service provider.', + ), ); diff --git a/templates/default/noconsent.php b/templates/default/noconsent.php index dac22d765925c219d93b51e9904a538b32c0f1a4..40e4f5e166cbf61dde7ab9d14a424f8aa7fcbc49 100644 --- a/templates/default/noconsent.php +++ b/templates/default/noconsent.php @@ -1,5 +1,5 @@ <?php - $this->data['header'] = 'No consent was given'; + $this->data['header'] = $this->t('{consent:noconsent_title}');; $this->data['icon'] = 'bomb_l.png'; $this->includeAtTemplateBase('includes/header.php'); ?> @@ -7,10 +7,7 @@ <div id="content"> - <h2><?php echo $this->data['title']; ?></h2> - - -You did not accept to give consent. - + <h2><?php echo($this->data['header']); ?></h2> + <p><?php echo($this->t('{consent:noconsent_text}')); ?></p> <?php $this->includeAtTemplateBase('includes/footer.php'); ?> \ No newline at end of file