Skip to content

Commit

Permalink
Add blocked text for the cta button
Browse files Browse the repository at this point in the history
on the material page
  • Loading branch information
spaceo committed Oct 5, 2023
1 parent da82eb4 commit 18a8c3b
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,11 +200,12 @@ public function work(string $wid): array {
'material-url' => self::materialUrl(),
'search-url' => self::searchResultUrl(),
// Text.
'availability-available-text' => $this->t('Available', [], ['context' => 'Work Page']),
'availability-unavailable-text' => $this->t('Unavailable', [], ['context' => 'Work Page']),
'already-reserved-text' => $this->t('Already reserved', [], ['context' => 'Work Page']),
'approve-reservation-text' => $this->t('Approve reservation', [], ['context' => 'Work Page']),
'audience-text' => $this->t('Audience', [], ['context' => 'Work Page']),
'availability-available-text' => $this->t('Available', [], ['context' => 'Work Page']),
'availability-unavailable-text' => $this->t('Unavailable', [], ['context' => 'Work Page']),
'blocked-button-text' => $this->t('Blocked', [], ['context' => 'Work Page']),
'cannot-see-review-text' => $this->t('The review is not accessible', [], ['context' => 'Work Page']),
'cant-reserve-text' => $this->t("Can't be reserved", [], ['context' => 'Work Page']),
'cant-view-review-text' => $this->t('Cannot view review', [], ['context' => 'Work Page']),
Expand Down

0 comments on commit 18a8c3b

Please sign in to comment.