Skip to content

Commit

Permalink
Merge pull request #706 from reload/fix/translations
Browse files Browse the repository at this point in the history
Provide all translation texts to all react apps
  • Loading branch information
Adamik10 authored Nov 29, 2023
2 parents 9b4d5b3 + b3b5dae commit 2f9a629
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/apps/favorites-list/FavoritesList.dev.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,16 @@ export default {
defaultValue: "/work/:workid",
control: { type: "text" }
},
availabilityAvailableText: {
name: "Availability: available text",
defaultValue: "Available",
control: { type: "text" }
},
availabilityUnavailableText: {
name: "Availability: unavailable text",
defaultValue: "Unavailable",
control: { type: "text" }
},
favoritesListMaterialsText: {
defaultValue: "@count materials",
control: { type: "text" }
Expand Down
2 changes: 2 additions & 0 deletions src/apps/favorites-list/FavoritesList.entry.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ interface FavoritesListConfigEntryProps {
fbsBaseUrlConfig: string;
}
interface FavoritesListTextEntryProps {
availabilityAvailableText: string;
availabilityUnavailableText: string;
favoritesListMaterialsText: string;
favoritesListHeaderText: string;
byAuthorText: string;
Expand Down
1 change: 1 addition & 0 deletions src/apps/loan-list/list/loan-list.entry.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export interface LoanListEntryUrlProps {
}

interface LoanListEntryTextProps {
groupModalGoToMaterialAriaLabelText: string;
loanListAriaLabelListButtonText: string;
loanListAriaLabelStackButtonText: string;
loanListDigitalLoansEmptyListText: string;
Expand Down

0 comments on commit 2f9a629

Please sign in to comment.