Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@

// Share menu section
shareMenuButton: 'Share',
submitToCommunityLibrary: 'Submit to community library',
submitToCommunityLibrary: 'Submit to Community Library',
inviteCollaborators: 'Invite collaborators',
shareToken: 'Share token',

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ describe('TreeViewBase', () => {
const wrapper = initWrapper({ getters });
const menuItems = getShareMenuItems(wrapper);
const submitItem = menuItems.wrappers.find(item =>
item.text().includes('Submit to community library'),
item.text().includes('Submit to Community Library'),
);
expect(submitItem).toBeDefined();
});
Expand All @@ -321,7 +321,7 @@ describe('TreeViewBase', () => {
const wrapper = initWrapper({ getters });
const menuItems = getShareMenuItems(wrapper);
const submitItem = menuItems.wrappers.find(item =>
item.text().includes('Submit to community library'),
item.text().includes('Submit to Community Library'),
);
expect(submitItem).toBeUndefined();
});
Expand All @@ -335,7 +335,7 @@ describe('TreeViewBase', () => {
const wrapper = initWrapper({ getters });
const menuItems = getShareMenuItems(wrapper);
const submitItem = menuItems.wrappers.find(item =>
item.text().includes('Submit to community library'),
item.text().includes('Submit to Community Library'),
);
expect(submitItem).toBeUndefined();
});
Expand Down Expand Up @@ -398,7 +398,7 @@ describe('TreeViewBase', () => {
const menuItems = getShareMenuItems(wrapper);
expect(menuItems.length).toBe(3);
expect(
menuItems.wrappers.some(item => item.text().includes('Submit to community library')),
menuItems.wrappers.some(item => item.text().includes('Submit to Community Library')),
).toBe(true);
expect(menuItems.wrappers.some(item => item.text().includes('Invite collaborators'))).toBe(
true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<KModal
:title="aboutCommunityLibraryTitle$()"
:cancelText="gotItLabel$()"
:cancelText="closeAction$()"
@cancel="$emit('close')"
>
<p>{{ aboutCommunityLibraryDescription$() }}</p>
Expand All @@ -28,6 +28,7 @@
<script setup>

import { communityChannelsStrings } from 'shared/strings/communityChannelsStrings';
import { commonStrings } from 'shared/strings/commonStrings';

const {
aboutCommunityLibraryTitle$,
Expand All @@ -36,8 +37,9 @@
whatCanYouDoHereItem1$,
whatCanYouDoHereItem2$,
whatCanYouDoHereItem3$,
gotItLabel$,
needKolibriVersionToImport$,
} = communityChannelsStrings;

const { closeAction$ } = commonStrings;

</script>
Original file line number Diff line number Diff line change
Expand Up @@ -225,22 +225,22 @@
};
},
$trs: {
instantUpgrade: 'Instant Storage Upgrade',
instantUpgrade: 'Upgrade storage now',
upgradeDescription: 'Purchase additional storage at $15/GB per year.',
upgradeNow: 'Upgrade Now',
upgradeNow: 'Upgrade now',
storageAmount: 'Storage (GB)',
storageRange: 'Enter a value between 1 and 50',
annualPrice: '${price, number}/year',
subscriptionActive: 'Storage Subscription Active',
subscriptionCanceling: 'Subscription Canceling',
subscriptionActive: 'Storage subscription active',
subscriptionCanceling: 'Subscription cancelled',
cancelNotice:
'Your subscription will expire on {date, date, medium}. Storage will be removed after that.',
renewalNotice: 'Your subscription will automatically renew on {date, date, medium}.',
storageIncluded: '{size} included with your subscription',
manageSubscription: 'Manage Subscription',
storageIncluded: '{size} included in your subscription',
manageSubscription: 'Manage subscription',
upgradeSuccess: 'Storage increased to {size}',
dismiss: 'Dismiss',
genericError: 'There was a problem connecting to our payment provider. Please try again.',
genericError: 'There was a problem connecting to the payment provider. Please try again.',
},
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ export const communityChannelsStrings = createTranslator('CommunityChannelsStrin
},
countriesInfoText: {
message:
'Select one or more countries to tag your channels submission with. For example, if your channel contains materials aligned to a national curriculum or regionally-specific content, selecting the relevant countries will help users find it. Otherwise, leave this blank.',
'Select one or more countries to label your channel submission with. For example, if your channel contains materials aligned to a national curriculum or regionally-specific content, selecting the relevant countries will help users find it. Otherwise, leave this blank.',
context: 'Help text for the country selection field in the "Submit to Community Library" panel',
},
notPublishedWarningTitle: {
Expand Down Expand Up @@ -297,27 +297,26 @@ export const communityChannelsStrings = createTranslator('CommunityChannelsStrin
context: 'Button text to hide the channel fit checklist criteria',
},
channelFitChecklistLicense: {
message: 'Is your content openly licensed or in the public domain?',
message: 'Are the resources in your channel openly licensed or in the public domain?',
context:
'License checklist item asking whether the channel content uses open or public domain licenses',
},
channelFitChecklistOfflineUse: {
message: 'Does your channel work without an internet connection?',
message: 'Do the resources in your channel work without an Internet connection?',
context: 'Offline use checklist item asking whether the channel works offline',
},
channelFitChecklistAttribution: {
message: 'Does each piece of content have an author listed?',
message: 'Does each resource have an author listed?',
context: 'Attribution checklist item asking whether content items have authors listed',
},
channelFitChecklistQuality: {
message:
'Has anyone on your team or in your organization reviewed it and found it useful for learners?',
message: 'Has anyone on your team or in your organization reviewed the channel?',
context:
'Quality checklist item asking whether the channel has been reviewed and validated by someone on the team',
},
channelFitChecklistChannelInfo: {
message:
"Is your channel's basic information filled in — title, description, thumbnail, language, subject, and level?",
"Is your channel's basic information filled in — title, description, thumbnail, language, category, and level?",
context: 'Channel information checklist item asking whether the channel metadata is complete',
},
confirmReplacementText: {
Expand Down Expand Up @@ -384,7 +383,7 @@ export const communityChannelsStrings = createTranslator('CommunityChannelsStrin
context: 'Title shown when special permissions licenses are detected in the channel',
},
confirmDistributionRights: {
message: 'Please confirm you have the right to distribute this content via Kolibri.',
message: 'Please confirm you have the right to distribute these resources via Kolibri.',
context:
'Message asking user to confirm they have distribution rights for special permissions content',
},
Expand Down Expand Up @@ -460,7 +459,7 @@ export const communityChannelsStrings = createTranslator('CommunityChannelsStrin
'Notification message shown to the user when their submission to the Community Library is successful',
},
flaggedNotification: {
message: 'Changes required for {channelVersion}',
message: 'Changes required for version {channelVersion}',
context: 'Notification message shown when a user flags a channel version for review',
},
submissionNotification: {
Expand Down Expand Up @@ -579,7 +578,7 @@ export const communityChannelsStrings = createTranslator('CommunityChannelsStrin
context: 'Description for the Community Library List page',
},
whatIsCommunityLibrary: {
message: 'What is community library?',
message: 'What is the Community Library?',
context:
'Label for the section explaining what the Community Library is on the Community Library List page',
},
Expand Down Expand Up @@ -612,7 +611,8 @@ export const communityChannelsStrings = createTranslator('CommunityChannelsStrin
context: 'Button to clear all filters',
},
needKolibriVersionToImport: {
message: 'You will need Kolibri version 0.19.4 or higher to import community channels.',
message:
'You will need Kolibri version 0.19.4 or higher to import channels from the Community Library.',
context:
'Message shown in the Community Library List page informing users that they need a certain Kolibri version to import channels from the Community Library',
},
Expand All @@ -623,7 +623,7 @@ export const communityChannelsStrings = createTranslator('CommunityChannelsStrin
},
communityLibraryCTADescription: {
message:
'Have a channel worth sharing with educators and learners? Submit it for review through the Share menu so it can be discovered in Studio.',
'Have a channel worth sharing with other educators and learners? Submit it for review through the Share menu so it can be discovered in Studio.',
context:
'Description for the call to action section in the Community Library List page encouraging users to contribute to the Community Library',
},
Expand Down Expand Up @@ -659,8 +659,9 @@ export const communityChannelsStrings = createTranslator('CommunityChannelsStrin
message: 'View channel details including description and metadata',
context: 'Third item in the list of things users can do in the Community Library',
},
gotItLabel: {
message: 'Got it',
context: 'Button text to dismiss the about Community Library modal',
},
// gotItLabel: {
// message: 'Got it',
// context: 'Button text to dismiss the about Community Library modal',
// },
// use CLOSE ACTION INSTEAD OF GOT IT TO BE CONSISTENT WITH OTHER MODALS
});
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const searchRecommendationsStrings = createTranslator('SearchRecommendati
},
trySearchRecommendationsText: {
message:
"Based on the title and descriptions of your folders, we'll suggest content from the Kolibri Library. Choose 'Import from channels' in any channel folder to see your recommendations.",
"Based on the title and description of the folder you are working on, we'll suggest relevant resources from the Kolibri Library. Choose 'Import from channels' in any folder of your channels to see the recommendations.",
context: 'Body text for a banner announcing the new recommendations feature',
},
viewRecommendationsButton: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
};
},
$trs: {
open: 'Open help dialog',
open: 'More information about licenses',
close: 'Close',
},
};
Expand Down
Loading