diff --git a/src/constants/auth.ts b/src/constants/auth.ts index 009a6256..d48fb11d 100644 --- a/src/constants/auth.ts +++ b/src/constants/auth.ts @@ -19,5 +19,5 @@ export const AUTH = { RESEND_EMAIL_BUTTON: 'RESEND_EMAIL_BUTTON', BACK_BUTTON: 'BACK_BUTTON', SIGN_UP_SAVE_ACTIONS_LABEL: 'SIGN_UP_SAVE_ACTIONS_LABEL', - SIGN_UP_SAVE_ACTIONS_TOOLTIP: 'SIGN_UP_SAVE_ACTIONS_TOOLTIP' + SIGN_UP_SAVE_ACTIONS_TOOLTIP: 'SIGN_UP_SAVE_ACTIONS_TOOLTIP', }; diff --git a/src/constants/builder.ts b/src/constants/builder.ts index 1580c37c..41649c9e 100644 --- a/src/constants/builder.ts +++ b/src/constants/builder.ts @@ -95,8 +95,22 @@ export const BUILDER = { ITEM_METADATA_UPDATED_AT_TITLE: 'ITEM_METADATA_UPDATED_AT_TITLE', ITEM_SEARCH_NO_RESULTS_MESSAGE: 'ITEM_SEARCH_NO_RESULTS_MESSAGE', ITEM_SEARCH_PLACEHOLDER: 'ITEM_SEARCH_PLACEHOLDER', - ITEM_SETTINGS_CC_LICENSE_ALIKE_LABEL: 'ITEM_SETTINGS_CC_LICENSE_ALIKE_LABEL', - ITEM_SETTINGS_CC_LICENSE_ALLOW_LABEL: 'ITEM_SETTINGS_CC_LICENSE_ALLOW_LABEL', + ITEM_SETTINGS_CC_ATTRIBUTION_TITLE: 'ITEM_SETTINGS_CC_ATTRIBUTION_TITLE', + ITEM_SETTINGS_CC_REQUIRE_ATTRIBUTION_OPTION_LABEL: + 'ITEM_SETTINGS_CC_REQUIRE_ATTRIBUTION_OPTION_LABEL', + ITEM_SETTINGS_CC_CC0_OPTION_LABEL: 'ITEM_SETTINGS_CC_CC0_OPTION_LABEL', + ITEM_SETTINGS_CC_COMMERCIAL_TITLE: 'ITEM_SETTINGS_CC_COMMERCIAL_TITLE', + ITEM_SETTINGS_CC_ALLOW_COMMERCIAL_OPTION_LABEL: + 'ITEM_SETTINGS_CC_ALLOW_COMMERCIAL_OPTION_LABEL', + ITEM_SETTINGS_CC_DISALLOW_COMMERCIAL_OPTION_LABEL: + 'ITEM_SETTINGS_CC_DISALLOW_COMMERCIAL_OPTION_LABEL', + ITEM_SETTINGS_CC_REMIX_TITLE: 'ITEM_SETTINGS_CC_REMIX_TITLE', + ITEM_SETTINGS_CC_ALLOW_REMIX_OPTION_LABEL: + 'ITEM_SETTINGS_CC_ALLOW_REMIX_OPTION_LABEL', + ITEM_SETTINGS_CC_ALLOW_SHARE_ALIKE_REMIX_OPTION_LABEL: + 'ITEM_SETTINGS_CC_ALLOW_SHARE_ALIKE_REMIX_OPTION_LABEL', + ITEM_SETTINGS_CC_DISALLOW_REMIX_OPTION_LABEL: + 'ITEM_SETTINGS_CC_DISALLOW_REMIX_OPTION_LABEL', ITEM_SETTINGS_CC_LICENSE_INFORMATIONS: 'ITEM_SETTINGS_CC_LICENSE_INFORMATIONS', ITEM_SETTINGS_CC_LICENSE_LABEL: 'ITEM_SETTINGS_CC_LICENSE_LABEL', diff --git a/src/constants/library.ts b/src/constants/library.ts index d44530ee..0cbf5fa8 100644 --- a/src/constants/library.ts +++ b/src/constants/library.ts @@ -4,6 +4,7 @@ export const LIBRARY = { SHARE_FACEBOOK_MESSAGE: 'SHARE_FACEBOOK_MESSAGE', AUTHORSHIP_AUTHOR_TITLE: 'AUTHORSHIP_AUTHOR_TITLE', COLLECTION_ITEMS_EMPTY_MESSAGE: 'COLLECTION_ITEMS_EMPTY_MESSAGE', + COLLECTION_ITEMS_EMPTY_FOLDER_MESSAGE: 'COLLECTION_ITEMS_EMPTY_FOLDER_MESSAGE', COLLECTION_ITEMS_TITLE: 'COLLECTION_ITEMS_TITLE', COLLECTION_ITEMS_TOOLTIP_MESSAGE: 'COLLECTION_ITEMS_TOOLTIP_MESSAGE', SIGN_IN_MODAL_SIGN_IN_BUTTON: 'SIGN_IN_MODAL_SIGN_IN_BUTTON', @@ -74,4 +75,22 @@ export const LIBRARY = { VIEW_BUTTON_TOOLTIP: 'VIEW_BUTTON_TOOLTIP', OWN_ITEMS_LABEL: 'OWN_ITEMS_LABEL', SHARED_ITEMS_LABEL: 'SHARED_ITEMS_LABEL', + SUMMARY_DETAILS_TITLE: 'SUMMARY_DETAILS_TITLE', + SUMMARY_DETAILS_CREATED_AT_TITLE: 'SUMMARY_DETAILS_CREATED_AT_TITLE', + SUMMARY_DETAILS_UPDATED_AT_TITLE: 'SUMMARY_DETAILS_UPDATED_AT_TITLE', + SUMMARY_DETAILS_NO_LANGUAGES: 'SUMMARY_DETAILS_NO_LANGUAGES', + SUMMARY_DETAILS_NO_CATEGORIES: 'SUMMARY_DETAILS_NO_CATEGORIES', + SUMMARY_DETAILS_LICENSE_TITLE: 'SUMMARY_DETAILS_LICENSE_TITLE', + SUMMARY_DETAILS_EMPTY_LICENSE_TEXT: 'SUMMARY_DETAILS_EMPTY_LICENSE_TEXT', + SUMMARY_BROWSE_FILE_UPDATED: 'SUMMARY_BROWSE_FILE_UPDATED', + SUMMARY_BROWSE_FOLDER_CONTAINS: 'SUMMARY_BROWSE_FOLDER_CONTAINS', + SUMMARY_DESCRIPTION_SHOW_MORE: 'SUMMARY_DESCRIPTION_SHOW_MORE', + SUMMARY_DESCRIPTION_SHOW_LESS: 'SUMMARY_DESCRIPTION_SHOW_LESS', + SUMMARY_ITEMS_SHOW_MORE: 'SUMMARY_ITEMS_SHOW_MORE', + SUMMARY_ITEMS_SHOW_LESS: 'SUMMARY_ITEMS_SHOW_LESS', + SUMMARY_ACTIONS_PREVIEW_CONTENT: 'SUMMARY_ACTIONS_PREVIEW_CONTENT', + SUMMARY_ACTIONS_DOWNLOAD: 'SUMMARY_ACTIONS_DOWNLOAD', + SUMMARY_ACTIONS_COPY: 'SUMMARY_ACTIONS_COPY', + SUMMARY_ACTIONS_EMBED: 'SUMMARY_ACTIONS_EMBED', + SUMMARY_CONTENT_TITLE: 'SUMMARY_CONTENT_TITLE', }; diff --git a/src/langs/en/builder.json b/src/langs/en/builder.json index 2b93c262..10da696b 100644 --- a/src/langs/en/builder.json +++ b/src/langs/en/builder.json @@ -87,8 +87,16 @@ "ITEM_METADATA_UPDATED_AT_TITLE": "Updated At", "ITEM_SEARCH_NO_RESULTS_MESSAGE": "No search results found.", "ITEM_SEARCH_PLACEHOLDER": "Search…", - "ITEM_SETTINGS_CC_LICENSE_ALIKE_LABEL": "Only if others share alike", - "ITEM_SETTINGS_CC_LICENSE_ALLOW_LABEL": "Yes", + "ITEM_SETTINGS_CC_ATTRIBUTION_TITLE": "Do you want attribution for your work?", + "ITEM_SETTINGS_CC_REQUIRE_ATTRIBUTION_OPTION_LABEL": "Yes. Anyone using my work must include proper attribution.", + "ITEM_SETTINGS_CC_CC0_OPTION_LABEL": "No. Anyone can use my work, even without giving me attribution.", + "ITEM_SETTINGS_CC_COMMERCIAL_TITLE": "Do you want to allow others to use your work commercially?", + "ITEM_SETTINGS_CC_ALLOW_COMMERCIAL_OPTION_LABEL": "Yes. Others can use my work, even for commercial purposes.", + "ITEM_SETTINGS_CC_DISALLOW_COMMERCIAL_OPTION_LABEL": "No. Others can not use my work for commercial purposes.", + "ITEM_SETTINGS_CC_REMIX_TITLE": "Do you want to allow others to remix, adapt, or build upon your work?", + "ITEM_SETTINGS_CC_ALLOW_REMIX_OPTION_LABEL": "Yes. Others can remix, adapt, or build upon my work.", + "ITEM_SETTINGS_CC_ALLOW_SHARE_ALIKE_REMIX_OPTION_LABEL": "Yes, as long as others share alike in a compatible license.", + "ITEM_SETTINGS_CC_DISALLOW_REMIX_OPTION_LABEL": "No. Others may only use my work in unadapted form.", "ITEM_SETTINGS_CC_LICENSE_INFORMATIONS": "All content published on Graasp Library does not allow commercial use.\n Allow adaptations of your work to be shared?", "ITEM_SETTINGS_CC_LICENSE_LABEL": "Creative Commons License", "ITEM_SETTINGS_CC_LICENSE_MODAL_CONTENT": "Please verify that your item fits the CC License, and do not change to a more restricted option.", diff --git a/src/langs/en/library.json b/src/langs/en/library.json index 2436f1dd..d37b444e 100644 --- a/src/langs/en/library.json +++ b/src/langs/en/library.json @@ -7,6 +7,7 @@ "SHARE_FACEBOOK_MESSAGE": "Check out {{name}} on Graasp", "AUTHORSHIP_AUTHOR_TITLE": "Author", "COLLECTION_ITEMS_EMPTY_MESSAGE": "This collection is empty.", + "COLLECTION_ITEMS_EMPTY_FOLDER_MESSAGE": "This folder is empty.", "COLLECTION_ITEMS_TITLE": "Items", "COLLECTION_ITEMS_TOOLTIP_MESSAGE": "These are the items in this collection.", "SIGN_IN_MODAL_SIGN_IN_BUTTON": "Sign In", @@ -40,7 +41,7 @@ "COLLECTION_PLAYER_BUTTON": "View item in player", "ERROR_TITLE": "Error", "ERROR_RETURN_TO_HOME": "Return to Home", - "CONTRIBUTORS_TITLE": "Contributors", + "CONTRIBUTORS_TITLE": "with", "CONTRIBUTORS_TOOLTIP": "These are similar collections.", "SIMILAR_COLLECTIONS_TITLE": "Similar Collections", "EMPTY_COLLECTION_MESSAGE": "There are no collections available.", @@ -74,5 +75,26 @@ "SIGN_IN_MODAL_CLOSE_BUTTON_ARIA_LABEL": "Close Sign In Modal", "VIEW_BUTTON_TOOLTIP": "View item", "SHARED_ITEMS_LABEL": "Shared Items", - "OWN_ITEMS_LABEL": "Owned Items" + "OWN_ITEMS_LABEL": "Owned Items", + "SUMMARY_CONTENT_TITLE": "Content", + "SUMMARY_DETAILS_TITLE": "Details", + "SUMMARY_DETAILS_CREATED_AT_TITLE": "Created", + "SUMMARY_DETAILS_UPDATED_AT_TITLE": "Updated", + "SUMMARY_DETAILS_NO_LANGUAGES": "This item has no defined language.", + "SUMMARY_DETAILS_NO_CATEGORIES": "This item has no categories.", + "SUMMARY_DETAILS_LICENSE_TITLE": "License", + "SUMMARY_DETAILS_EMPTY_LICENSE_TEXT": "This item doesn't have a defined license.", + "SUMMARY_BROWSE_FILE_UPDATED": "Updated {{date}}", + "SUMMARY_BROWSE_FOLDER_CONTAINS_zero": "Empty Folder", + "SUMMARY_BROWSE_FOLDER_CONTAINS_one": "{{count}} File", + "SUMMARY_BROWSE_FOLDER_CONTAINS_other": "{{count}} Files", + "SUMMARY_DESCRIPTION_SHOW_MORE": "Show More", + "SUMMARY_DESCRIPTION_SHOW_LESS": "Show Less", + "SUMMARY_ITEMS_SHOW_LESS_one": "Hide {{count}} item", + "SUMMARY_ITEMS_SHOW_LESS_other": "Hide {{count}} items", + "SUMMARY_ITEMS_SHOW_MORE": "View {{count}} more", + "SUMMARY_ACTIONS_PREVIEW_CONTENT": "Preview", + "SUMMARY_ACTIONS_DOWNLOAD": "Download", + "SUMMARY_ACTIONS_COPY": "Copy", + "SUMMARY_ACTIONS_EMBED": "Embed" } diff --git a/src/langs/fr/library.json b/src/langs/fr/library.json index b71061ce..7f409281 100644 --- a/src/langs/fr/library.json +++ b/src/langs/fr/library.json @@ -5,6 +5,7 @@ "GUEST": "Invité", "SEARCH_RANGES_AUTHOR": "Auteur", "COLLECTION_ITEMS_EMPTY_MESSAGE": "Cette collection est vide.", + "COLLECTION_ITEMS_EMPTY_FOLDER_MESSAGE": "Ce dossier est vide.", "COLLECTION_ITEMS_TOOLTIP_MESSAGE": "Ce sont les éléments de cette collection.", "SIGN_IN_MODAL_SIGN_UP_BUTTON": "Créer un compte", "COPY_BUTTON_MODAL_TITLE": "Copier un Élément", @@ -24,10 +25,34 @@ "EMPTY_COLLECTION_MESSAGE": "Aucune collection disponible.", "COLLECTION_TAGS_TITLE": "Tags", "COPY_ITEM_MODAL_MY_ITEMS_ROOT": "My Items", + "CONTRIBUTORS_TITLE": "avec", "SEARCH_RANGE_LABEL": "Champ de recherche", "SEARCH_RANGES_ALL": "Tous", "SEARCH_RANGES_TITLE": "Titre", "SEARCH_RANGES_TAGS": "Tag", "SHARED_ITEMS_LABEL": "Éléments Partagés", - "OWN_ITEMS_LABEL": "Mes Éléments" + "OWN_ITEMS_LABEL": "Mes Éléments", + "COLLECTION_EMPTY_DESCRIPTION_TEXT": "Cet élément n'a pas de description.", + "SUMMARY_CONTENT_TITLE": "Contenu", + "SUMMARY_DETAILS_TITLE": "Détails", + "SUMMARY_DETAILS_CREATED_AT_TITLE": "Créé", + "SUMMARY_DETAILS_UPDATED_AT_TITLE": "Mis à jour", + "SUMMARY_DETAILS_NO_LANGUAGES": "Cet élément n'a pas de langue définie.", + "SUMMARY_DETAILS_NO_CATEGORIES": "Cet élément n'a pas de catégorie.", + "SUMMARY_DETAILS_LICENSE_TITLE": "Licence", + "SUMMARY_DETAILS_EMPTY_LICENSE_TEXT": "Cet élément n'a pas de licence définie.", + "SUMMARY_BROWSE_FILE_UPDATED": "Mis à jour {{date}}", + "SUMMARY_BROWSE_FOLDER_CONTAINS_zero": "Dossier vide", + "SUMMARY_BROWSE_FOLDER_CONTAINS_one": "{{count}} fichier", + "SUMMARY_BROWSE_FOLDER_CONTAINS_other": "{{count}} fichiers", + "SUMMARY_DESCRIPTION_SHOW_MORE": "Montrer Plus", + "SUMMARY_DESCRIPTION_SHOW_LESS": "Montrer Moins", + "SUMMARY_ITEMS_SHOW_LESS_one": "Cacher {{count}} élément", + "SUMMARY_ITEMS_SHOW_LESS_other": "Cacher {{count}} éléments", + "SUMMARY_ITEMS_SHOW_MORE_one": "Montrer {{count}} élément", + "SUMMARY_ITEMS_SHOW_MORE_other": "Montrer {{count}} éléments", + "SUMMARY_ACTIONS_PREVIEW_CONTENT": "Aperçu", + "SUMMARY_ACTIONS_DOWNLOAD": "Télécharger", + "SUMMARY_ACTIONS_COPY": "Copier", + "SUMMARY_ACTIONS_EMBED": "Intégrer" }