From c409d6e2fa4c3881f57423bcec2f58779d6ed81e Mon Sep 17 00:00:00 2001 From: Kasper Birch Date: Wed, 20 Nov 2024 10:26:40 +0100 Subject: [PATCH] Add translations for `Reader` --- .../dpl_react_apps/src/Controller/DplReactAppsController.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/modules/custom/dpl_react_apps/src/Controller/DplReactAppsController.php b/web/modules/custom/dpl_react_apps/src/Controller/DplReactAppsController.php index aeff344fb..86a556955 100644 --- a/web/modules/custom/dpl_react_apps/src/Controller/DplReactAppsController.php +++ b/web/modules/custom/dpl_react_apps/src/Controller/DplReactAppsController.php @@ -380,6 +380,7 @@ public function work(string $wid): array { 'online-limit-month-audiobook-info-text' => $this->t('You have borrowed @count out of @limit possible audio-books this month', [], ['context' => 'Work Page']), 'online-limit-month-ebook-info-text' => $this->t('You have borrowed @count out of @limit possible e-books this month', [], ['context' => 'Work Page']), 'online-limit-month-info-text' => $this->t('You have borrowed @count out of @limit possible e-books this month', [], ['context' => 'Work Page']), + 'online-material-teaser-text' => $this->t('Try e-book', [], ['context' => 'Work Page']), 'open-order-not-owned-ill-loc-text' => $this->t('Your material has been ordered from another library', [], ['context' => 'Work Page']), 'open-order-owned-own-catalogue-text' => $this->t('Item available, order through the librarys catalogue', [], ['context' => 'Work Page']), 'open-order-owned-wrong-mediumtype-text' => $this->t('Item available but medium type not accepted', [], ['context' => 'Work Page']), @@ -415,6 +416,7 @@ public function work(string $wid): array { 'rating-is-text' => $this->t('Rating of this item is', [], ['context' => 'Work Page']), 'rating-text' => $this->t('out of', [], ['context' => 'Work Page']), 'read-article-text' => $this->t('Read article', [], ['context' => 'Work Page']), + 'reader-modal-description-text' => $this->t('modal for Reader', [], ['context' => 'Work Page']), 'receive-email-when-material-ready-text' => $this->t('Receive mail when the material is ready', [], ['context' => 'Work Page']), 'receive-sms-when-material-ready-text' => $this->t('Receive SMS when the material is ready', [], ['context' => 'Work Page']), 'reservable-from-another-library-text' => $this->t('Ordered from another library', [], ['context' => 'Work Page']), @@ -500,4 +502,4 @@ public static function externalApiBaseUrls(): array { return $urls; } -} +} \ No newline at end of file