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

feat: add library homepage translations #160

Merged
merged 4 commits into from
Jun 14, 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
6 changes: 6 additions & 0 deletions src/constants/library.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
export const LIBRARY = {
GRAASP_LIBRARY: 'GRAASP_LIBRARY',
GRAASP_LIBRARY_DESCRIPTION: 'GRAASP_LIBRARY_DESCRIPTION',
SHARE_TWITTER_MESSAGE: 'SHARE_TWITTER_MESSAGE',
SHARE_FACEBOOK_SUBJECT: 'SHARE_FACEBOOK_SUBJECT',
SHARE_FACEBOOK_MESSAGE: 'SHARE_FACEBOOK_MESSAGE',
Expand Down Expand Up @@ -30,6 +32,7 @@ export const LIBRARY = {
'ALL_COLLECTIONS_SELECTION_BY_CATEGORIES_TITLE',
HEADER_MY_LISTS: 'HEADER_MY_LISTS',
HEADER_ALL_COLLECTIONS: 'HEADER_ALL_COLLECTIONS',
SEARCH_PAGE_TITLE: 'SEARCH_PAGE_TITLE',
SEARCH_RANGE_LABEL: 'SEARCH_RANGE_LABEL',
SEARCH_RANGES_ALL: 'SEARCH_RANGES_ALL',
SEARCH_RANGES_TITLE: 'SEARCH_RANGES_TITLE',
Expand All @@ -55,6 +58,9 @@ export const LIBRARY = {
HOME_TITLE: 'HOME_TITLE',
HOME_MORE_COLLECTIONS_TITLE: 'HOME_MORE_COLLECTIONS_TITLE',
HOME_GRAASPER_COLLECTIONS_TITLE: 'HOME_GRAASPER_COLLECTIONS_TITLE',
HOME_POPULAR_THIS_WEEK_COLLECTIONS_TITLE:
'HOME_POPULAR_THIS_WEEK_COLLECTIONS_TITLE',
HOME_MOST_LIKED_COLLECTIONS_TITLE: 'HOME_MOST_LIKED_COLLECTIONS_TITLE',
MY_LISTS_MY_FAVORITES_TAB: 'MY_LISTS_MY_FAVORITES_TAB',
MY_LISTS_MY_PUBLISHMENTS_TAB: 'MY_LISTS_MY_PUBLISHMENTS_TAB',
MY_LISTS_MY_LIKES_TAB: 'MY_LISTS_MY_LIKES_TAB',
Expand Down
1 change: 1 addition & 0 deletions src/langs/de/library.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"ALL_COLLECTIONS_CLEAR_SELECTION_BUTTON": "Auswahl löschen",
"ALL_COLLECTIONS_SELECTION_BY_CATEGORIES_TITLE": "Sammlungen in ausgewählten Kategorien",
"HEADER_MY_LISTS": "Meine Listen",
"SEARCH_PAGE_TITLE": "Graasp Suche",
"SEARCH_RANGE_LABEL": "Suchbereich",
"SEARCH_RANGES_ALL": "Alle",
"SEARCH_RANGES_TITLE": "Titel",
Expand Down
3 changes: 3 additions & 0 deletions src/langs/en/library.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"ALL_COLLECTIONS_CLEAR_SELECTION_BUTTON": "Clear Selection",
"ALL_COLLECTIONS_SELECTION_BY_CATEGORIES_TITLE": "Collections in Selected Categories",
"HEADER_MY_LISTS": "My Lists",
"SEARCH_PAGE_TITLE": "Search Graasp",
"SEARCH_RANGE_LABEL": "Search Range",
"SEARCH_RANGES_ALL": "All",
"SEARCH_RANGES_TITLE": "Title",
Expand All @@ -56,6 +57,8 @@
"HOME_TITLE": "Browse Open Educational Resources",
"HOME_MORE_COLLECTIONS_TITLE": "Discover",
"HOME_GRAASPER_COLLECTIONS_TITLE": "Graasp Selection",
"HOME_POPULAR_THIS_WEEK_COLLECTIONS_TITLE": "Popular this Week",
"HOME_MOST_LIKED_COLLECTIONS_TITLE": "Most liked",
"MY_LISTS_MY_FAVORITES_TAB": "My Favorites",
"MY_LISTS_MY_PUBLISHMENTS_TAB": "My Publishments",
"MY_LISTS_MY_LIKES_TAB": "My Likes",
Expand Down
5 changes: 5 additions & 0 deletions src/langs/fr/library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"COPY_LINK_BUTTON_TOOLTIP": "Copier le lien",
"GRAASP_LIBRARY": "Graasp Library",
"GRAASP_LIBRARY_DESCRIPTION": "Graasp Library est une plateforme de partage de ressources éducatives libres.",
"HOME_TITLE": "Découvrez des ressources libres pour l'éducation",
"GUEST": "Invité",
"SEARCH_RANGES_AUTHOR": "Auteur",
Expand All @@ -21,11 +22,15 @@
"ALL_COLLECTIONS_TITLE": "Toutes les Collections",
"HEADER_ALL_COLLECTIONS": "Toutes les Collections",
"HEADER_MY_LISTS": "Mes Listes",
"HOME_GRAASPER_COLLECTIONS_TITLE": "Selection Graasp",
"HOME_POPULAR_THIS_WEEK_COLLECTIONS_TITLE": "Populaires cette semaine",
"HOME_MOST_LIKED_COLLECTIONS_TITLE": "Les plus aimées",
"ALL_COLLECTIONS_OPEN_MENU": "Ouvrir le Menu",
"EMPTY_COLLECTION_MESSAGE": "Aucune collection disponible.",
"COLLECTION_TAGS_TITLE": "Tags",
"COPY_ITEM_MODAL_MY_ITEMS_ROOT": "My Items",
"CONTRIBUTORS_TITLE": "avec",
"SEARCH_PAGE_TITLE": "Recherche Graasp",
"SEARCH_RANGE_LABEL": "Champ de recherche",
"SEARCH_RANGES_ALL": "Tous",
"SEARCH_RANGES_TITLE": "Titre",
Expand Down