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

138 cc translation #141

Merged
merged 21 commits into from
May 1, 2023
Merged
Show file tree
Hide file tree
Changes from 15 commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
056fa12
feat: add CC attribution translation keys
clementcharmillot Mar 18, 2023
7bada57
feat: add translation for builder's CC selector
clementcharmillot Mar 18, 2023
0c4054f
feat: add translation for builder's CC selector
clementcharmillot Mar 18, 2023
cbe53d8
fix: copy-paste mistake
clementcharmillot Mar 18, 2023
1f7aae7
feat: add CC english translations
clementcharmillot Mar 18, 2023
7cd2bb7
fix: copy-paste mistake
clementcharmillot Mar 18, 2023
472b7d4
feat: add builder's CC translations
clementcharmillot Mar 18, 2023
68479c0
Merge branch '138-cc-translation' of github.com:graasp/graasp-transla…
clementcharmillot Mar 18, 2023
ba435dd
feat: add library translation
clementcharmillot Apr 4, 2023
a61f5d2
fix: add missing translation
clementcharmillot Apr 4, 2023
d7b99cc
fix: add missing translation
clementcharmillot Apr 4, 2023
86c7543
feat: add french library translation
clementcharmillot Apr 4, 2023
a1d6e72
fix: add missing translation
clementcharmillot Apr 4, 2023
0b205fa
fix: add a translation
clementcharmillot Apr 4, 2023
2c558d5
fix: add missing translation keys
clementcharmillot Apr 4, 2023
b8477fe
fix: add missing translation and remove symbol +-
clementcharmillot Apr 20, 2023
bfbb250
fix: change contributor title to match new design
clementcharmillot Apr 21, 2023
e1e8277
feat: add missing licence text
clementcharmillot Apr 21, 2023
80c2b88
fix: use US spelling of license for consistency
clementcharmillot Apr 21, 2023
6e59421
feat: add message for empty subitem
clementcharmillot Apr 26, 2023
aac3442
fix: address review comments
clementcharmillot Apr 30, 2023
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 src/constants/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
};
18 changes: 16 additions & 2 deletions src/constants/builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
16 changes: 16 additions & 0 deletions src/constants/library.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,20 @@ 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_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',
};
12 changes: 10 additions & 2 deletions src/langs/en/builder.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down
21 changes: 20 additions & 1 deletion src/langs/en/library.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,24 @@
"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_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_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",
spaenleh marked this conversation as resolved.
Show resolved Hide resolved
"SUMMARY_ACTIONS_PREVIEW_CONTENT": "Preview Content",
spaenleh marked this conversation as resolved.
Show resolved Hide resolved
"SUMMARY_ACTIONS_DOWNLOAD": "Download",
"SUMMARY_ACTIONS_COPY": "Copy",
"SUMMARY_ACTIONS_EMBED": "Embed"
}
22 changes: 21 additions & 1 deletion src/langs/fr/library.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,25 @@
"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_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 language défini.",
spaenleh marked this conversation as resolved.
Show resolved Hide resolved
"SUMMARY_DETAILS_NO_CATEGORIES": "Cet élément n'a pas de catégorie.",
"SUMMARY_DETAILS_LICENSE_TITLE": "Licence",
"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": "+ Montrer {{count}} éléments",
spaenleh marked this conversation as resolved.
Show resolved Hide resolved
"SUMMARY_ACTIONS_PREVIEW_CONTENT": "Aperçu du contenu",
spaenleh marked this conversation as resolved.
Show resolved Hide resolved
"SUMMARY_ACTIONS_DOWNLOAD": "Télécharger",
"SUMMARY_ACTIONS_COPY": "Copier",
"SUMMARY_ACTIONS_EMBED": "Intégrer"
}