Skip to content

Commit

Permalink
Merge pull request #932 from openeuropa/EWPP-1312
Browse files Browse the repository at this point in the history
EWPP-1312: Translate "I have read and agree with the data protection terms" string
  • Loading branch information
upchuk authored Sep 22, 2021
2 parents 6ffad81 + 954d0c7 commit f82a354
Show file tree
Hide file tree
Showing 25 changed files with 146 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"openeuropa/oe_paragraphs": "dev-master",
"openeuropa/oe_search": "~1.0",
"openeuropa/oe_webtools": "~1.10",
"openeuropa/oe_contact_forms": "~1.0",
"openeuropa/oe_contact_forms": "dev-master",
"openeuropa/rdf_skos": "~1.0",
"openeuropa/task-runner-drupal-project-symlink": "^1.0",
"phpunit/phpunit": "~6.0",
Expand Down
9 changes: 7 additions & 2 deletions modules/oe_theme_contact_forms/oe_theme_contact_forms.module
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,16 @@ function oe_theme_contact_forms_form_contact_message_form_alter(&$form, FormStat

// Add ecl link classes to the privacy link.
$privacy_policy = $contact_form->getThirdPartySetting('oe_contact_forms', 'privacy_policy');
$privacy_link = Link::fromTextAndUrl('data protection terms', Url::fromUri($privacy_policy, [
$privacy_link = Link::fromTextAndUrl(t('data protection terms'), Url::fromUri($privacy_policy, [
'absolute' => TRUE,
'attributes' => [
'target' => '_blank',
'class' => ['ecl-u-ml-2xs', 'ecl-link', 'ecl-link--default'],
'class' => [
'ecl-u-ml-2xs',
'ecl-u-mr-2xs',
'ecl-link',
'ecl-link--default',
],
],
]));

Expand Down
6 changes: 6 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-bg.po
Original file line number Diff line number Diff line change
Expand Up @@ -515,3 +515,9 @@ msgstr "Час на проявата"

msgid "Name"
msgstr "Име"

msgid "I have read and agree with the @link"
msgstr "Прочетох и съм съгласен с условията за @link"

msgid "data protection terms"
msgstr "защита на данните"
6 changes: 6 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-cs.po
Original file line number Diff line number Diff line change
Expand Up @@ -515,3 +515,9 @@ msgstr "Datum a hodina"

msgid "Name"
msgstr "Jméno/Název"

msgid "I have read and agree with the @link"
msgstr "Obeznámil(a) jsem se s podmínkami, které se týkají @link"

msgid "data protection terms"
msgstr "ochrany údajů"
6 changes: 6 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-da.po
Original file line number Diff line number Diff line change
Expand Up @@ -515,3 +515,9 @@ msgstr "Tidspunkt for arrangementet"

msgid "Name"
msgstr "Navn"

msgid "I have read and agree with the @link"
msgstr "Jeg har læst og accepterer bestemmelserne om @link"

msgid "data protection terms"
msgstr "databeskyttelse"
6 changes: 6 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-de.po
Original file line number Diff line number Diff line change
Expand Up @@ -515,3 +515,9 @@ msgstr "Zeit"

msgid "Name"
msgstr "Name"

msgid "I have read and agree with the @link"
msgstr "Ich habe die @link gelesen und bin damit einverstanden"

msgid "data protection terms"
msgstr "Datenschutzbestimmungen"
6 changes: 6 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-el.po
Original file line number Diff line number Diff line change
Expand Up @@ -515,3 +515,9 @@ msgstr "Διαδικτυακή ώρα"

msgid "Name"
msgstr "Όνομα"

msgid "I have read and agree with the @link"
msgstr "Διάβασα τους @link και συμφωνώ"

msgid "data protection terms"
msgstr "όρους προστασίας δεδομένων"
6 changes: 6 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-es.po
Original file line number Diff line number Diff line change
Expand Up @@ -515,3 +515,9 @@ msgstr "Tiempo en línea"

msgid "Name"
msgstr "Nombre"

msgid "I have read and agree with the @link"
msgstr "He leído y acepto las @link"

msgid "data protection terms"
msgstr "condiciones de protección de datos"
6 changes: 6 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-et.po
Original file line number Diff line number Diff line change
Expand Up @@ -515,3 +515,9 @@ msgstr "Veebiaeg"

msgid "Name"
msgstr "Nimi"

msgid "I have read and agree with the @link"
msgstr "Olen tutvunud ja nõustun @link"

msgid "data protection terms"
msgstr "isikuandmete kaitse põhimõtetega"
6 changes: 6 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-fi.po
Original file line number Diff line number Diff line change
Expand Up @@ -515,3 +515,9 @@ msgstr "Verkkotapahtuman ajankohta"

msgid "Name"
msgstr "Nimi"

msgid "I have read and agree with the @link"
msgstr "Olen lukenut @link ja hyväksyn sen ehdot"

msgid "data protection terms"
msgstr "tietosuojaselosteen"
6 changes: 6 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -515,3 +515,9 @@ msgstr "Horaire de l’événement en ligne"

msgid "Name"
msgstr "Nom"

msgid "I have read and agree with the @link"
msgstr "J'ai lu et j'accepte les @link"

msgid "data protection terms"
msgstr "conditions relatives à la protection des données"
6 changes: 6 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-ga.po
Original file line number Diff line number Diff line change
Expand Up @@ -515,3 +515,9 @@ msgstr "Am an imeachta ar líne"

msgid "Name"
msgstr "Ainm"

msgid "I have read and agree with the @link"
msgstr "Tá na @link léite agam agus glacaim leo"

msgid "data protection terms"
msgstr "téarmaí cosanta sonraí"
6 changes: 6 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-hr.po
Original file line number Diff line number Diff line change
Expand Up @@ -515,3 +515,9 @@ msgstr "Internetsko vrijeme"

msgid "Name"
msgstr "Ime"

msgid "I have read and agree with the @link"
msgstr "Pročitao sam i prihvaćam @link"

msgid "data protection terms"
msgstr "uvjete zaštite podataka"
6 changes: 6 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-hu.po
Original file line number Diff line number Diff line change
Expand Up @@ -515,3 +515,9 @@ msgstr "Az esemény időpontja"

msgid "Name"
msgstr "Név"

msgid "I have read and agree with the @link"
msgstr "Elolvastam az @link és egyetértek vele"

msgid "data protection terms"
msgstr "adatvédelmi nyilatkozatot,"
6 changes: 6 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-it.po
Original file line number Diff line number Diff line change
Expand Up @@ -515,3 +515,9 @@ msgstr "Ora online"

msgid "Name"
msgstr "Nome"

msgid "I have read and agree with the @link"
msgstr "Ho letto e accetto le @link"

msgid "data protection terms"
msgstr "condizioni relative alla protezione dei dati"
6 changes: 6 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-lt.po
Original file line number Diff line number Diff line change
Expand Up @@ -515,3 +515,9 @@ msgstr "Renginio laikas"

msgid "Name"
msgstr "Vardas, pavardė (pavadinimas)"

msgid "I have read and agree with the @link"
msgstr "@link perskaičiau ir su jomis sutinku"

msgid "data protection terms"
msgstr "Duomenų apsaugos sąlygas"
6 changes: 6 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-lv.po
Original file line number Diff line number Diff line change
Expand Up @@ -515,3 +515,9 @@ msgstr "Laiks"

msgid "Name"
msgstr "Nosaukums"

msgid "I have read and agree with the @link"
msgstr "Esmu izlasījis @link un tiem piekrītu"

msgid "data protection terms"
msgstr "datu aizsardzības noteikumus"
6 changes: 6 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-mt.po
Original file line number Diff line number Diff line change
Expand Up @@ -515,3 +515,9 @@ msgstr "Ħin online"

msgid "Name"
msgstr "Isem"

msgid "I have read and agree with the @link"
msgstr "Qrajt u naqbel @link"

msgid "data protection terms"
msgstr "mat-termini tal-protezzjoni tad-data"
6 changes: 6 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-nl.po
Original file line number Diff line number Diff line change
Expand Up @@ -515,3 +515,9 @@ msgstr "Online-tijd"

msgid "Name"
msgstr "Naam"

msgid "I have read and agree with the @link"
msgstr "Ik heb de @link gelezen en ga ermee akkoord"

msgid "data protection terms"
msgstr "privacyverklaring"
6 changes: 6 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-pl.po
Original file line number Diff line number Diff line change
Expand Up @@ -515,3 +515,9 @@ msgstr "Data i godzina"

msgid "Name"
msgstr "Imię i nazwisko / Nazwa"

msgid "I have read and agree with the @link"
msgstr "Przeczytałem(-am) i akceptuję @link"

msgid "data protection terms"
msgstr "warunki ochrony danych"
6 changes: 6 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-pt-pt.po
Original file line number Diff line number Diff line change
Expand Up @@ -515,3 +515,9 @@ msgstr "Tempo em linha"

msgid "Name"
msgstr "Nome"

msgid "I have read and agree with the @link"
msgstr "Li e concordo com as @link"

msgid "data protection terms"
msgstr "condições aplicáveis em matéria de proteção de dados"
6 changes: 6 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-ro.po
Original file line number Diff line number Diff line change
Expand Up @@ -515,3 +515,9 @@ msgstr "Momentul la care are loc evenimentul online"

msgid "Name"
msgstr "Nume"

msgid "I have read and agree with the @link"
msgstr "Am citit și sunt de acord cu @link"

msgid "data protection terms"
msgstr "prevederile referitoare la protecția datelor"
6 changes: 6 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-sk.po
Original file line number Diff line number Diff line change
Expand Up @@ -515,3 +515,9 @@ msgstr "Čas"

msgid "Name"
msgstr "Meno/Názov"

msgid "I have read and agree with the @link"
msgstr "Prečítal/a som si podmienky @link a súhlasím s nimi"

msgid "data protection terms"
msgstr "ochrany údajov"
6 changes: 6 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-sl.po
Original file line number Diff line number Diff line change
Expand Up @@ -515,3 +515,9 @@ msgstr "Spletni čas"

msgid "Name"
msgstr "Ime"

msgid "I have read and agree with the @link"
msgstr "Prebral/-a sem pogoje o @link in se strinjam z njimi"

msgid "data protection terms"
msgstr "varstvu podatkov"
6 changes: 6 additions & 0 deletions modules/oe_theme_helper/translations/oe_theme_helper-sv.po
Original file line number Diff line number Diff line change
Expand Up @@ -515,3 +515,9 @@ msgstr "Tid för evenemanget"

msgid "Name"
msgstr "Namn"

msgid "I have read and agree with the @link"
msgstr "Jag har läst och godkänner villkoren för @link"

msgid "data protection terms"
msgstr "skydd av personuppgifter"

0 comments on commit f82a354

Please sign in to comment.