Skip to content

Commit

Permalink
Merge pull request #145 from openeuropa/EWPP-4171
Browse files Browse the repository at this point in the history
EWPP-4171: Update EDPS' href from EU footer.
  • Loading branch information
upchuk authored Mar 12, 2024
2 parents b1852c6 + 91e4983 commit d94d648
Show file tree
Hide file tree
Showing 27 changed files with 27 additions and 72 deletions.
4 changes: 2 additions & 2 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ services:
- DOCUMENT_ROOT=/test/oe_corporate_blocks
- COMPOSERVER=--2
mysql:
image: registry.fpfis.eu/fpfis/sql:percona-5.7
image: git.fpfis.tech.ec.europa.eu/fpfis/dependency_proxy/containers/percona:5.7
command: --innodb-log-file-size=1G --max_allowed_packet=1G --innodb-buffer-pool-size=512M --wait_timeout=3000 --net_write_timeout=3000 --log_error_verbosity=3
environment:
- MYSQL_ALLOW_EMPTY_PASSWORD=yes
selenium:
image: registry.fpfis.eu/fpfis/selenium:standalone-chrome-4.1.3-20220405
image: git.fpfis.tech.ec.europa.eu/fpfis/dependency_proxy/containers/selenium/standalone-chrome:4.1.3-20220405
shm_size: 2g
environment:
- DISPLAY=:99
Expand Down
2 changes: 1 addition & 1 deletion config/install/oe_corporate_blocks.eu_data.footer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ institution_links:
href: 'https://www.ombudsman.europa.eu/en/home'
-
label: 'European Data Protection Supervisor (EDPS)'
href: 'https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en'
href: 'https://www.edps.europa.eu/_en'
-
label: 'European Data Protection Board'
href: 'https://edpb.europa.eu/edpb_en'
Expand Down
18 changes: 18 additions & 0 deletions oe_corporate_blocks.post_update.php
Original file line number Diff line number Diff line change
Expand Up @@ -283,3 +283,21 @@ function oe_corporate_blocks_post_update_40007(): void {
$config->set('class_navigation', $class_navigation);
$config->save();
}

/**
* Update EDPS' href from EU footer.
*/
function oe_corporate_blocks_post_update_40008(): void {
$config = \Drupal::configFactory()->getEditable('oe_corporate_blocks.eu_data.footer');
$institution_links = $config->get('institution_links');
foreach ($institution_links as $key => $link) {
if (
$link['label'] === 'European Data Protection Supervisor (EDPS)' &&
$link['href'] === 'https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en'
) {
$institution_links[$key]['href'] = 'https://www.edps.europa.eu/_en';
}
}
$config->set('institution_links', $institution_links);
$config->save();
}
4 changes: 2 additions & 2 deletions tests/features/corporate-blocks.feature
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Feature: Corporate blocks feature
| European Economic and Social Committee (EESC) | http://www.eesc.europa.eu/?i=portal.en.home |
| European Committee of the Regions (CoR) | http://cor.europa.eu/en/ |
| European Investment Bank (EIB) | https://www.eib.org/en/index.htm |
| European Data Protection Supervisor (EDPS) | https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en |
| European Data Protection Supervisor (EDPS) | https://www.edps.europa.eu/_en |
| European Ombudsman | https://www.ombudsman.europa.eu/en/home |
| European Data Protection Board | https://edpb.europa.eu/edpb_en |
| European Personnel Selection Office | https://epso.europa.eu/en |
Expand Down Expand Up @@ -140,7 +140,7 @@ Feature: Corporate blocks feature
| Comité économique et social européen (CESE) | http://www.eesc.europa.eu/?i=portal.fr.home |
| Comité européen des régions (CdR) | https://cor.europa.eu/fr |
| Banque européenne d'investissement (BEI) | https://www.eib.org/fr/index.htm |
| Contrôleur européen de la protection des données | https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=fr |
| Contrôleur européen de la protection des données | https://www.edps.europa.eu/_fr |
| Médiateur européen | https://www.ombudsman.europa.eu/fr/home |
| Comité européen de la protection des données | https://edpb.europa.eu/edpb_fr |
| Office européen de sélection du personnel | https://epso.europa.eu/fr |
Expand Down
3 changes: 0 additions & 3 deletions translations/oe_corporate_blocks-bg.po
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,6 @@ msgstr "https://european-union.europa.eu/institutions-law-budget/institutions-an
msgid "European Data Protection Supervisor (EDPS)"
msgstr "Европейски надзорен орган по защита на данните (ЕНОЗД)"

msgid "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en"
msgstr "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=bg"

msgid "About this site"
msgstr "За този сайт"

Expand Down
3 changes: 0 additions & 3 deletions translations/oe_corporate_blocks-cs.po
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,6 @@ msgstr "Evropská investiční banka (EIB)"
msgid "European Data Protection Supervisor (EDPS)"
msgstr "Evropský inspektor ochrany údajů"

msgid "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en"
msgstr "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=cs"

msgid "European Ombudsman"
msgstr "Evropský veřejný ochránce práv"

Expand Down
3 changes: 0 additions & 3 deletions translations/oe_corporate_blocks-da.po
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,6 @@ msgstr "Den Europæiske Investeringsbank (EIB)"
msgid "European Data Protection Supervisor (EDPS)"
msgstr "Den Europæiske Tilsynsførende for Databeskyttelse (EDPS)"

msgid "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en"
msgstr "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=da"

msgid "European Ombudsman"
msgstr "Den europæiske ombudsmand"

Expand Down
4 changes: 2 additions & 2 deletions translations/oe_corporate_blocks-de.po
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ msgstr "https://www.eib.org/de/index.htm"
msgid "European Data Protection Supervisor (EDPS)"
msgstr "Europäischer Datenschutzbeauftragter (EDSB)"

msgid "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en"
msgstr "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=de"
msgid "https://www.edps.europa.eu/_en"
msgstr "https://www.edps.europa.eu/_de"

msgid "European Ombudsman"
msgstr "Europäischer Bürgerbeauftragter"
Expand Down
3 changes: 0 additions & 3 deletions translations/oe_corporate_blocks-el.po
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,6 @@ msgstr "Ευρωπαϊκή Τράπεζα Επενδύσεων (ΕΤΕ)"
msgid "European Data Protection Supervisor (EDPS)"
msgstr "Ευρωπαίος Επόπτης Προστασίας Δεδομένων (ΕΕΠΔ)"

msgid "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en"
msgstr "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=el"

msgid "European Ombudsman"
msgstr "Ευρωπαίος Διαμεσολαβητής"

Expand Down
3 changes: 0 additions & 3 deletions translations/oe_corporate_blocks-es.po
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,6 @@ msgstr "Banco Europeo de Inversiones (BEI)"
msgid "European Data Protection Supervisor (EDPS)"
msgstr "Supervisor Europeo de Protección de Datos (SEPD)"

msgid "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en"
msgstr "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=el"

msgid "European Ombudsman"
msgstr "Defensor del Pueblo Europeo"

Expand Down
3 changes: 0 additions & 3 deletions translations/oe_corporate_blocks-et.po
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,6 @@ msgstr "Euroopa Investeerimispank"
msgid "European Data Protection Supervisor (EDPS)"
msgstr "Euroopa Andmekaitseinspektor"

msgid "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en"
msgstr "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=et"

msgid "European Ombudsman"
msgstr "Euroopa Ombudsman"

Expand Down
3 changes: 0 additions & 3 deletions translations/oe_corporate_blocks-fi.po
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,6 @@ msgstr "Euroopan investointipankki (EIP)"
msgid "European Data Protection Supervisor (EDPS)"
msgstr "Euroopan tietosuojavaltuutettu"

msgid "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en"
msgstr "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=fi"

msgid "European Ombudsman"
msgstr "Euroopan oikeusasiamies"

Expand Down
4 changes: 2 additions & 2 deletions translations/oe_corporate_blocks-fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ msgstr "https://www.eib.org/fr/index.htm"
msgid "European Data Protection Supervisor (EDPS)"
msgstr "Contrôleur européen de la protection des données"

msgid "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en"
msgstr "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=fr"
msgid "https://www.edps.europa.eu/_en"
msgstr "https://www.edps.europa.eu/_fr"

msgid "European Ombudsman"
msgstr "Médiateur européen"
Expand Down
3 changes: 0 additions & 3 deletions translations/oe_corporate_blocks-ga.po
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,6 @@ msgstr "An Banc Eorpach Infheistíochta (BEI)"
msgid "European Data Protection Supervisor (EDPS)"
msgstr "An Maoirseoir Eorpach ar Chosaint Sonraí (MECS)"

msgid "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en"
msgstr "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=ga"

msgid "European Ombudsman"
msgstr "An tOmbudsman Eorpach"

Expand Down
3 changes: 0 additions & 3 deletions translations/oe_corporate_blocks-hr.po
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,6 @@ msgstr "Europska investicijska banka (EIB)"
msgid "European Data Protection Supervisor (EDPS)"
msgstr "Europski nadzornik za zaštitu podataka (EDPS)"

msgid "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en"
msgstr "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=hr"

msgid "European Ombudsman"
msgstr "Europski ombudsman"

Expand Down
3 changes: 0 additions & 3 deletions translations/oe_corporate_blocks-hu.po
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,6 @@ msgstr "Európai Beruházási Bank (EBB)"
msgid "European Data Protection Supervisor (EDPS)"
msgstr "Európai adatvédelmi biztos"

msgid "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en"
msgstr "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=hu"

msgid "European Ombudsman"
msgstr "Európai ombudsman"

Expand Down
3 changes: 0 additions & 3 deletions translations/oe_corporate_blocks-it.po
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,6 @@ msgstr "Banca europea per gli investimenti (BEI)"
msgid "European Data Protection Supervisor (EDPS)"
msgstr "Garante europeo della protezione dei dati (GEPD)"

msgid "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en"
msgstr "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=it"

msgid "European Ombudsman"
msgstr "Mediatore europeo"

Expand Down
3 changes: 0 additions & 3 deletions translations/oe_corporate_blocks-lt.po
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,6 @@ msgstr "Europos investicijų bankas (EIB)"
msgid "European Data Protection Supervisor (EDPS)"
msgstr "Europos duomenų apsaugos priežiūros pareigūnas (EDAPP)"

msgid "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en"
msgstr "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=lt"

msgid "European Ombudsman"
msgstr "Europos ombudsmenas"

Expand Down
3 changes: 0 additions & 3 deletions translations/oe_corporate_blocks-lv.po
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,6 @@ msgstr "Eiropas Investīciju banka (EIB)"
msgid "European Data Protection Supervisor (EDPS)"
msgstr "Eiropas Datu aizsardzības uzraudzītājs (EDAU)"

msgid "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en"
msgstr "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=lv"

msgid "European Ombudsman"
msgstr "Eiropas Ombuds"

Expand Down
3 changes: 0 additions & 3 deletions translations/oe_corporate_blocks-mt.po
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,6 @@ msgstr "Il-Bank Ewropew tal-Investiment (BEI)"
msgid "European Data Protection Supervisor (EDPS)"
msgstr "Kontrollur Ewropew għall-Protezzjoni tad-Data (KEPD)"

msgid "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en"
msgstr "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=mt"

msgid "European Ombudsman"
msgstr "L-Ombudsman Ewropew"

Expand Down
3 changes: 0 additions & 3 deletions translations/oe_corporate_blocks-nl.po
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,6 @@ msgstr "Europese Investeringsbank (EIB)"
msgid "European Data Protection Supervisor (EDPS)"
msgstr "Europese Toezichthouder voor gegevensbescherming (EDPS)"

msgid "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en"
msgstr "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=nl"

msgid "European Ombudsman"
msgstr "Europese Ombudsman"

Expand Down
3 changes: 0 additions & 3 deletions translations/oe_corporate_blocks-pl.po
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,6 @@ msgstr "Europejski Bank Inwestycyjny (EBI)"
msgid "European Data Protection Supervisor (EDPS)"
msgstr "Europejski Inspektor Ochrony Danych (EIOD)"

msgid "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en"
msgstr "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=pl"

msgid "European Ombudsman"
msgstr "Europejski Rzecznik Praw Obywatelskich"

Expand Down
3 changes: 0 additions & 3 deletions translations/oe_corporate_blocks-pt-pt.po
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,6 @@ msgstr "Banco Europeu de Investimento (BEI)"
msgid "European Data Protection Supervisor (EDPS)"
msgstr "Autoridade Europeia para a Proteção de Dados (AEPD)"

msgid "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en"
msgstr "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=pt"

msgid "European Ombudsman"
msgstr "Provedor de Justiça Europeu"

Expand Down
3 changes: 0 additions & 3 deletions translations/oe_corporate_blocks-ro.po
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,6 @@ msgstr "Banca Europeană de Investiții (BEI)"
msgid "European Data Protection Supervisor (EDPS)"
msgstr "Autoritatea Europeană pentru Protecția Datelor (AEPD)"

msgid "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en"
msgstr "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=ro"

msgid "European Ombudsman"
msgstr "Ombudsmanul European"

Expand Down
3 changes: 0 additions & 3 deletions translations/oe_corporate_blocks-sk.po
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,6 @@ msgstr "Európska investičná banka (EIB)"
msgid "European Data Protection Supervisor (EDPS)"
msgstr "Európsky dozorný úradník pre ochranu údajov (EDPS)"

msgid "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en"
msgstr "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=sk"

msgid "European Ombudsman"
msgstr "Európsky ombudsman"

Expand Down
3 changes: 0 additions & 3 deletions translations/oe_corporate_blocks-sl.po
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,6 @@ msgstr "Evropska investicijska banka (EIB)"
msgid "European Data Protection Supervisor (EDPS)"
msgstr "Evropski nadzornik za varstvo podatkov"

msgid "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en"
msgstr "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=sl"

msgid "European Ombudsman"
msgstr "Evropski varuh človekovih pravic"

Expand Down
3 changes: 0 additions & 3 deletions translations/oe_corporate_blocks-sv.po
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,6 @@ msgstr "Europeiska investeringsbanken"
msgid "European Data Protection Supervisor (EDPS)"
msgstr "Europeiska datatillsynsmannen"

msgid "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=en"
msgstr "https://secure.edps.europa.eu/EDPSWEB/edps/EDPS?lang=sv"

msgid "European Ombudsman"
msgstr "Europeiska ombudsmannen"

Expand Down

0 comments on commit d94d648

Please sign in to comment.