Skip to content

Commit

Permalink
EWPP-3324: Add translations for the 'Collapse' string.
Browse files Browse the repository at this point in the history
  • Loading branch information
22Alexandra committed Jun 9, 2023
1 parent f7da2eb commit 1154305
Show file tree
Hide file tree
Showing 27 changed files with 79 additions and 10 deletions.
3 changes: 3 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 @@ -620,3 +620,6 @@ msgstr "Излъчването на живо приключи, но проява

msgid "@percentage% of the overall budget"
msgstr "@percentage% от общия бюджет"

msgid "Collapse"
msgstr "Свиване"
3 changes: 3 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 @@ -620,3 +620,6 @@ msgstr "Živé vysílání bylo ukončeno, nicméně akce stále probíhá."

msgid "@percentage% of the overall budget"
msgstr "@percentage % celkového rozpočtu"

msgid "Collapse"
msgstr "Sbalit"
3 changes: 3 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 @@ -620,3 +620,6 @@ msgstr "Livestreamingen er slut, men eventet kører stadig."

msgid "@percentage% of the overall budget"
msgstr "@percentage % af det samlede budget"

msgid "Collapse"
msgstr "Skjul"
3 changes: 3 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 @@ -620,3 +620,6 @@ msgstr "Der Livestream ist beendet, aber die Veranstaltung läuft noch."

msgid "@percentage% of the overall budget"
msgstr "@percentage % der Gesamtmittel"

msgid "Collapse"
msgstr "Einklappen"
3 changes: 3 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 @@ -620,3 +620,6 @@ msgstr "Η ζωντανή μετάδοση έληξε, αλλά η εκδήλω

msgid "@percentage% of the overall budget"
msgstr "@percentage % του συνολικού προϋπολογισμού"

msgid "Collapse"
msgstr "Σύμπτυξη"
3 changes: 3 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 @@ -620,3 +620,6 @@ msgstr "Ha finalizado la transmisión en directo, pero el acto está en marcha."

msgid "@percentage% of the overall budget"
msgstr "@percentage% de la dotación presupuestaria global"

msgid "Collapse"
msgstr "Contraer"
3 changes: 3 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 @@ -620,3 +620,6 @@ msgstr "Otseülekanne on lõppenud, kuid üritus jätkub."

msgid "@percentage% of the overall budget"
msgstr "@percentage% kogueelarvest"

msgid "Collapse"
msgstr "Ahenda"
3 changes: 3 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 @@ -620,3 +620,6 @@ msgstr "Suora lähetys on päättynyt, mutta tapahtuma jatkuu edelleen."

msgid "@percentage% of the overall budget"
msgstr "@percentage % kokonaisbudjetista"

msgid "Collapse"
msgstr "Supista"
3 changes: 3 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 @@ -620,3 +620,6 @@ msgstr "La retransmission en direct est terminée, mais l’événement se pours

msgid "@percentage% of the overall budget"
msgstr "@percentage % du budget global"

msgid "Collapse"
msgstr "Réduire"
3 changes: 3 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 @@ -620,3 +620,6 @@ msgstr "Tá an beoshruthú thart ach tá an imeacht fós ar siúl."

msgid "@percentage% of the overall budget"
msgstr "@percentage% den bhuiséad foriomlán"

msgid "Collapse"
msgstr "Leacaigh"
3 changes: 3 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 @@ -620,3 +620,6 @@ msgstr "Prijenos uživo je završio, ali događaj još traje."

msgid "@percentage% of the overall budget"
msgstr "@percentage % ukupnog proračuna"

msgid "Collapse"
msgstr "Sažmi"
3 changes: 3 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 @@ -620,3 +620,6 @@ msgstr "Az élő közvetítés befejeződött, de a rendezvény még tart."

msgid "@percentage% of the overall budget"
msgstr "A teljes költségvetés @percentage%-a"

msgid "Collapse"
msgstr "Elrejtés"
3 changes: 3 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 @@ -620,3 +620,6 @@ msgstr "La trasmissione livestream è terminata, ma l'evento è ancora in corso.

msgid "@percentage% of the overall budget"
msgstr "@percentage% del bilancio complessivo"

msgid "Collapse"
msgstr "Comprimi"
3 changes: 3 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 @@ -620,3 +620,6 @@ msgstr "Tiesioginė transliacija baigėsi, tačiau renginys tęsiasi."

msgid "@percentage% of the overall budget"
msgstr "@percentage % bendro biudžeto"

msgid "Collapse"
msgstr "Suskleisti"
3 changes: 3 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 @@ -620,3 +620,6 @@ msgstr "Tiešraide ir beigusies, bet pasākums turpinās."

msgid "@percentage% of the overall budget"
msgstr "@percentage % no kopējā budžeta"

msgid "Collapse"
msgstr "Sakļaut"
3 changes: 3 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 @@ -620,3 +620,6 @@ msgstr "Ix-xandira diretta fuq l-internet intemmet, iżda l-avveniment għadu g

msgid "@percentage% of the overall budget"
msgstr "@percentage% tal-baġit globali"

msgid "Collapse"
msgstr "Ikkollassa"
3 changes: 3 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 @@ -620,3 +620,6 @@ msgstr "De livestream is beëindigd, maar het evenement is nog gaande."

msgid "@percentage% of the overall budget"
msgstr "@percentage% van de totale begroting"

msgid "Collapse"
msgstr "Inklappen"
3 changes: 3 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 @@ -620,3 +620,6 @@ msgstr "Wydarzenie nadal trwa, ale nie jest już transmitowane na żywo."

msgid "@percentage% of the overall budget"
msgstr "@percentage% łącznego budżetu"

msgid "Collapse"
msgstr "Zwiń"
3 changes: 3 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 @@ -620,3 +620,6 @@ msgstr "A transmissão em direto terminou, mas o evento prossegue."

msgid "@percentage% of the overall budget"
msgstr "@percentage% do orçamento global"

msgid "Collapse"
msgstr "Fechar"
3 changes: 3 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 @@ -620,3 +620,6 @@ msgstr "Transmisia în direct s-a încheiat, dar evenimentul este în curs de de

msgid "@percentage% of the overall budget"
msgstr "@percentage% din bugetul total"

msgid "Collapse"
msgstr "Restrângeți"
3 changes: 3 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 @@ -620,3 +620,6 @@ msgstr "Živé vysielanie sa skončilo, ale podujatie prebieha."

msgid "@percentage% of the overall budget"
msgstr "@percentage% celkového rozpočtu"

msgid "Collapse"
msgstr "Zbaliť"
3 changes: 3 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 @@ -620,3 +620,6 @@ msgstr "Prenos v živo se je končal, vendar dogodek še poteka."

msgid "@percentage% of the overall budget"
msgstr "@percentage % celotnega proračuna"

msgid "Collapse"
msgstr "Skrči"
3 changes: 3 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 @@ -620,3 +620,6 @@ msgstr "Direktsändningen är slut, men evenemanget pågår fortfarande."

msgid "@percentage% of the overall budget"
msgstr "@percentage % av den totala budgeten"

msgid "Collapse"
msgstr "Dölj"
4 changes: 2 additions & 2 deletions templates/patterns/gallery/gallery.ui_patterns.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,12 @@ gallery:
description: "Whether the 'See all' link is shown or all items are shown."
preview: true
escape: false
url:
footer_link_url:
type: "Url"
label: "URL"
description: "Footer link url."
preview: "http://example.com"
label:
footer_link_label:
type: "text"
label: "Link text"
description: "Footer link text."
Expand Down
6 changes: 3 additions & 3 deletions templates/patterns/gallery/pattern-gallery.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
{% set _items = _items|merge([_item]) %}
{% endfor %}

{% if url is not empty %}
{% if footer_link_url is not empty %}
{% set footer_link = {
'link': {
'label': label|default('Further media items'|t),
'path': url,
'label': footer_link_label|default('Further media items'|t),
'path': footer_link_url,
},
'icon': {
'path': ecl_icon_path,
Expand Down
6 changes: 3 additions & 3 deletions tests/src/Kernel/Paragraphs/ParagraphsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public function testListItem(): void {
$picture_element = $crawler->filter('article.ecl-card picture.ecl-card__picture');
$this->assertCount(1, $picture_element);
$this->assertStringContainsString(
file_url_transform_relative(file_create_url($image->getFileUri())),
\Drupal::service('file_url_generator')->generateString($image->getFileUri()),
$picture_element->filter('img.ecl-card__image')->attr('src')
);

Expand Down Expand Up @@ -281,7 +281,7 @@ public function testListItem(): void {
$picture_element = $crawler->filter('article.ecl-content-item > picture.ecl-content-item__picture--left img.ecl-content-item__image');
$this->assertCount(1, $picture_element);
$this->assertStringContainsString(
file_url_transform_relative(file_create_url($image->getFileUri())),
\Drupal::service('file_url_generator')->generateString($image->getFileUri()),
$picture_element->attr('src')
);
$this->assertEquals('Druplicon', $picture_element->attr('alt'));
Expand Down Expand Up @@ -315,7 +315,7 @@ public function testListItem(): void {
$picture_element = $crawler->filter('article.ecl-content-item > picture.ecl-content-item__picture--right img.ecl-content-item__image');
$this->assertCount(1, $picture_element);
$this->assertStringContainsString(
file_url_transform_relative(file_create_url($image->getFileUri())),
\Drupal::service('file_url_generator')->generateString($image->getFileUri()),
$picture_element->attr('src')
);
$this->assertEquals('Druplicon', $picture_element->attr('alt'));
Expand Down
4 changes: 2 additions & 2 deletions tests/src/Kernel/fixtures/rendering.yml
Original file line number Diff line number Diff line change
Expand Up @@ -863,8 +863,8 @@
meta: 'Copyright © 2021, Author and Licence'
source: 'https://loremflickr.com/800/600/lisbon'
media_type: 'image'
url: 'http://example.com'
label: 'Further media items'
footer_link_url: 'http://example.com'
footer_link_label: 'Further media items'
visible_items: 1
assertions:
count:
Expand Down

0 comments on commit 1154305

Please sign in to comment.