Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing translations to dpl react apps controller #561

Merged
merged 5 commits into from
Dec 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,11 @@ public function build() {
'fee-details-modal-close-modal-aria-label-text' => $this->t("Close fee details modal", [], ['context' => 'Fees list (Aria)']),
'fee-details-modal-description-text' => $this->t("Modal containing information about this element or group of elements fees", [], ['context' => 'Fees list']),
'fee-details-modal-screen-reader-text' => $this->t("A modal containing details about a fee", [], ['context' => 'Fees list']),
'fee-list-already-paid-info-text' => $this->t("Already paid? It can take up to 72 hours register the transaction.", [], ['context' => 'Fees list']),
'fee-list-body-text' => $feesConfig->get('fee_list_body_text') ?? DplFeesSettings::FEE_LIST_BODY_TEXT,
'fee-list-days-text' => $this->t("Days", [], ['context' => 'Fees list']),
'fee-list-headline-text' => $this->t("Fees & replacement costs", [], ['context' => 'Fees list']),
'fee-lits-material-number-text' => $this->t("#", [], ['context' => 'Fees list']),
'fee-payment-modal-body-text' => $this->t("You will be redirected to Mit Betalingsoverblik.", [], ['context' => 'Fees list']),
'fee-payment-modal-cancel-text' => $this->t("Cancel", [], ['context' => 'Fees list']),
'fee-payment-modal-goto-text' => $this->t("Go to Mit Betalingsoverblik", [], ['context' => 'Fees list']),
Expand All @@ -98,7 +100,7 @@ public function build() {
'pre-payment-type-change-date-text' => $this->t("BEFORE 27/10 2020", [], ['context' => 'Fees list']),
'terms-of-trade-text' => $feesConfig->get('terms_of_trade_text') ?? DplFeesSettings::TERMS_OF_TRADE_TEXT,
'total-fee-amount-text' => $this->t("Fee", [], ['context' => 'Fees list']),
'total-text' => $this->t("Total", [], ['context' => 'Fees list']),
'total-text' => $this->t("Total: @total", [], ['context' => 'Fees list']),
'turned-in-text' => $this->t("Turned in @date", [], ['context' => 'Fees list']),
'unpaid-fees-first-headline-text' => $this->t("Unsettled debt 1", [], ['context' => 'Fees list']),
'unpaid-fees-second-headline-text' => $this->t("Unsettled debt 2", [], ['context' => 'Fees list']),
Expand Down
1 change: 1 addition & 0 deletions web/modules/custom/dpl_react_apps/dpl_react_apps.module
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ function dpl_react_apps_texts(): array {
'modal-reservation-form-no-interest-after-header-title' => t('Change interest deadline', [], ['context' => 'Global']),
'modal-reservation-form-pickup-header-title' => t('Choose pickup library', [], ['context' => 'Global']),
'modal-reservation-form-pickup-header-description' => t('Decide at which library you want to pickup the material.', [], ['context' => 'Global']),
'multiselect-all-option' => t('All', [], ['context' => 'Global']),
'no-search-result' => t('Your search has 0 results', [], ['context' => 'Global']),
'number-description' => t('nr.', [], ['context' => 'Global']),
'one-month' => t('1 month', [], ['context' => 'Global']),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,10 @@ public function work(string $wid): array {
'order-digital-copy-error-description-text' => $this->t('An error occurred while ordering the digital copy. Please try again later.', [], ['context' => 'Work Page']),
'order-digital-copy-error-title-text' => $this->t('Error ordering digital copy', [], ['context' => 'Work Page']),
'order-digital-copy-feedback-button-text' => $this->t('Close', [], ['context' => 'Work Page']),
'order-digital-copy-feedback-borchk-user-no-longer-exist-on-agency-text' => $this->t('Borchk user no longer exists on agency', [], ['context' => 'Work Page']),
'order-digital-copy-feedback-borchk-user-not-verified-text' => $this->t('Borchk user not verified', [], ['context' => 'Work Page']),
'order-digital-copy-feedback-error-municipalityagencyid-not-found-text' => $this->t('Error municipality agency ID not found', [], ['context' => 'Work Page']),
'order-digital-copy-feedback-unknown-user-text' => $this->t('Unknown user', [], ['context' => 'Work Page']),
'order-digital-copy-feedback-ok-text' => $this->t('The digital copy has been ordered. You will receive an email when the digital copy is ready.', [], ['context' => 'Work Page']),
'order-digital-copy-feedback-title-text' => $this->t('Digital copy receipt', [], ['context' => 'Work Page']),
'order-digital-copy-modal-close-modal-aria-label-text' => $this->t('Close Order digital copy modal', [], ['context' => 'Work Page']),
Expand Down
Loading