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 availability text for the work app #387

Merged
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
2 changes: 1 addition & 1 deletion .lagoon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ environments:
schedule: "M/30 * * * *"
command: drush locale-check && drush locale-update
service: cli
pr-384:
pr-387:
cronjobs:
- name: drush cron
schedule: "M/15 * * * *"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ public function search(): array {
'search-url' => self::searchResultUrl(),
// Text.
'add-more-filters-text' => $this->t('+ more filters', [], ['context' => 'Search Result']),
'available-text' => $this->t('Available', [], ['context' => 'Search Result']),
'availability-available-text' => $this->t('Available', [], ['context' => 'Search Result']),
'availability-unavailable-text' => $this->t('Unavailable', [], ['context' => 'Search Result']),
'by-author-text' => $this->t('By', [], ['context' => 'Search Result']),
'clear-all-text' => $this->t('Clear all', [], ['context' => 'Search Result']),
'et-al-text' => $this->t('et. al.', [], ['context' => 'Search Result']),
Expand Down Expand Up @@ -143,7 +144,6 @@ public function search(): array {
'showing-results-for-text' => $this->t('Showing results for "@query"', [], ['context' => 'Search Result']),
'showing-text' => $this->t('Showing', [], ['context' => 'Search Result']),
'subject-number-text' => $this->t('Subject number', [], ['context' => 'Search Result']),
'unavailable-text' => $this->t('Unavailable', [], ['context' => 'Search Result']),
// Add external API base urls.
] + self::externalApiBaseUrls();

Expand Down Expand Up @@ -200,10 +200,11 @@ 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']),
'available-text' => $this->t('Available', [], ['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 Expand Up @@ -366,7 +367,6 @@ public function work(string $wid): array {
'try-agin-button-text' => $this->t('Try again', [], ['context' => 'Work Page']),
'two-months-text' => $this->t('2 months', [], ['context' => 'Work Page']),
'type-text' => $this->t('Type', [], ['context' => 'Work Page']),
'unavailable-text' => $this->t('Unavailable', [], ['context' => 'Work Page']),
'we-have-shopped-text' => $this->t('In stock:', [], ['context' => 'Work Page']),
'you-have-borrowed-text' => $this->t('You have borrowed', [], ['context' => 'Work Page']),
// Add external API base urls.
Expand Down
Loading