Skip to content

Commit

Permalink
Corrected translation from 'Go to eReolen' to 'Go to Material'
Browse files Browse the repository at this point in the history
The translation key 'material-details-go-to-ereolen' has been updated to 'material-details-go-to-material' following changes made in: danskernesdigitalebibliotek/dpl-react#1565.

Additionally, the 'ereolen-my-page-url' has been removed, as it no longer links to eReolen from the loans page.
  • Loading branch information
kasperbirch1 committed Dec 3, 2024
1 parent 5c811e1 commit c70bb31
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ public function build() {
"expiration-warning-days-before-config" => $generalSettings->get('expiration_warning_days_before_config') ?? GeneralSettings::EXPIRATION_WARNING_DAYS_BEFORE_CONFIG,

// Urls.
'ereolen-my-page-url' => dpl_react_apps_format_app_url($generalSettings->get('ereolen_my_page_url'), GeneralSettings::EREOLEN_MY_PAGE_URL),
'material-overdue-url' => Url::fromRoute('dpl_loans.list', [], ['absolute' => TRUE])->toString(),

// Texts.
Expand Down
2 changes: 1 addition & 1 deletion web/modules/custom/dpl_react_apps/dpl_react_apps.module
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ function dpl_react_apps_texts(): array {
'material-by-author' => t("By", [], ['context' => 'Global']),
'material-details-close-modal-aria-label' => t('Close material details modal', [], ['context' => 'Global']),
'material-details-digital-due-date-label' => t("Expires", [], ['context' => 'Global']),
'material-details-go-to-ereolen' => t("Go to eReolen", [], ['context' => 'Global']),
'material-details-go-to-material' => t('Go to material', [], ['context' => 'Global']),
'material-details-link-to-page-with-fees' => t('Read more about fees', [], ['context' => 'Global']),
'material-details-loan-date-label' => t('Loan date', [], ['context' => 'Global']),
'material-details-material-number-label' => t('Material Item Number', [], ['context' => 'Global']),
Expand Down

0 comments on commit c70bb31

Please sign in to comment.