Skip to content

Commit

Permalink
Update strings following UX writing review
Browse files Browse the repository at this point in the history
  • Loading branch information
marcellamaki committed Aug 26, 2024
1 parent 7f689c3 commit 4b5251d
Show file tree
Hide file tree
Showing 11 changed files with 25 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@
creatingCopies: 'Copying...',
copiedSnackbar: 'Copy operation complete',
undo: 'Undo',
editTooltip: 'Edit Title & Description',
editTooltip: 'Edit title and description',
},
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@
editSource: 'Edit source',
editAudience: 'Edit audience',
editCompletion: 'Edit completion',
editWhatIsNeeded: "Edit 'what is needed'",
editWhatIsNeeded: 'Edit requirements',
viewDetails: 'View details',
move: 'Move',
makeACopy: 'Make a copy',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
},
},
$trs: {
editAudienceTitle: 'Edit Audience',
editAudienceTitle: 'Edit audience',
saveAction: 'Save',
cancelAction: 'Cancel',
resourcesSelected:
Expand All @@ -155,7 +155,7 @@
visibleToCoaches:
'Resources are visible only to coaches (teachers, facilitators, administrators)',
multipleAudience:
'The selected resources have a mixed audience visbility. Choosing from the options below will apply the changes to all the selected resources',
'The selected resources are visible to different audiences. Choosing an option below will change the visibility of all selected resources.',
},
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<KCheckbox
:checked="updateDescendants"
data-test="update-descendants-checkbox"
:label="$tr('updateDescendantsCheckbox')"
:label="$tr('updateDescendantCheckbox')"
@change="(value) => { updateDescendants = value }"
/>
<Divider />
Expand Down Expand Up @@ -167,8 +167,8 @@
cancelAction: 'Cancel',
resourcesSelected:
'{count, number, integer} {count, plural, one {resource} other {resources}} selected',
updateDescendantsCheckbox:
'Apply to all resources and folders nested within the selected folders',
updateDescendantCheckbox:
'Apply to all resources, folders, and subfolders contained within the selected folders.',
},
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
},
},
$trs: {
editCategories: 'Edit Categories',
editCategories: 'Edit categories',
},
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
},
},
$trs: {
editCompletion: 'Edit Completion',
editCompletion: 'Edit completion',
saveAction: 'Save',
cancelAction: 'Cancel',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
v-model="searchQuery"
autofocus
data-test="search-input"
:label="$tr('selectLanguage')"
:label="$tr('searchAction')"
style="margin-top: 0.5em"
/>
<template v-if="isTopicSelected">
Expand Down Expand Up @@ -151,17 +151,17 @@
},
},
$trs: {
editLanguage: 'Edit Language',
editLanguage: 'Edit language',
languageItemText: '{language} ({code})',
saveAction: 'Save',
cancelAction: 'Cancel',
selectLanguage: 'Select / Type Language',
searchAction: 'Search',
resourcesSelected:
'{count, number, integer} {count, plural, one {resource} other {resources}} selected',
differentLanguages:
'The selected resources have different languages set. Choosing an option below will apply the language to all the selected resources',
'You selected resources in different languages. The language you choose below will be applied to all selected resources.',
updateDescendantsCheckbox:
'Apply to all resources and folders nested within the selected folders',
'Apply the chosen language to all resources, folders, and subfolders contained within the selected folders.',
emptyLanguagesSearch: 'No languages matches the search',
},
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
},
},
$trs: {
editResourcesNeededTitle: 'What will you need?',
editResourcesNeededTitle: 'Requirements',
},
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
},
},
$trs: {
editTitleDescription: 'Edit Title and Description',
editTitleDescription: 'Edit title and description',
titleLabel: 'Title',
descriptionLabel: 'Description',
saveAction: 'Save',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const makeWrapper = ({ nodeIds, field = 'categories', ...restOptions }) => {
propsData: {
nodeIds,
options,
title: 'Edit Categories',
title: 'Edit categories',
field,
autocompleteLabel: 'Select option',
confirmationMessage: 'edited',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -910,13 +910,13 @@
importFromChannels: 'Import from channels',
addButton: 'Add',
editButton: 'Edit',
editSourceButton: 'Edit Source',
editLevelsButton: 'Edit Levels',
editLanguageButton: 'Edit Language',
editAudienceButton: 'Edit Audience',
editCategoriesButton: 'Edit Categories',
editWhatIsNeededButton: "Edit 'What is needed'",
editLearningActivitiesButton: 'Edit Learning Activity',
editSourceButton: 'Edit source',
editLevelsButton: 'Edit levels',
editLanguageButton: 'Edit language',
editAudienceButton: 'Edit audience',
editCategoriesButton: 'Edit categories',
editWhatIsNeededButton: 'Edit requirements',
editLearningActivitiesButton: 'Edit learning activity',
optionsButton: 'Options',
copyToClipboardButton: 'Copy to clipboard',
[viewModes.DEFAULT]: 'Default view',
Expand All @@ -926,7 +926,7 @@
copySelectedButton: 'Copy to clipboard',
moveSelectedButton: 'Move',
duplicateSelectedButton: 'Make a copy',
deleteSelectedButton: 'Delete',
deleteSelectedButton: 'Remove',
selectionCount:
'{topicCount, plural,\n =1 {# folder}\n other {# folders}}, {resourceCount, plural,\n =1 {# resource}\n other {# resources}}',
undo: 'Undo',
Expand Down

0 comments on commit 4b5251d

Please sign in to comment.