Skip to content

Commit 70c19a3

Browse files
authored
fix: "Back up" is two words when used as a verb (#2696)
There is a new menu item "Backup to local archive". Backup is the correct spelling when using it as a noun or adjective, but the menu item uses as a verb, so it should be two words, back up, i.e. "Back up to local archive"
1 parent ef36156 commit 70c19a3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/header/hooks.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ describe('header utils', () => {
174174
const items = renderHook(() => useLibraryToolsMenuItems('course-123')).result.current;
175175
expect(items).toContainEqual({
176176
href: '/library/course-123/backup',
177-
title: 'Backup to local archive',
177+
title: 'Back up to local archive',
178178
});
179179
expect(items).toContainEqual({ href: '/library/course-123/import', title: 'Import' });
180180
});

src/header/messages.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ const messages = defineMessages({
108108
},
109109
'header.links.exportLibrary': {
110110
id: 'header.links.exportLibrary',
111-
defaultMessage: 'Backup to local archive',
112-
description: 'Link to Studio Backup Library page',
111+
defaultMessage: 'Back up to local archive',
112+
description: 'Link to Studio Library Backup page',
113113
},
114114
'header.menu.teamAccess': {
115115
id: 'header.links.teamAccess',

0 commit comments

Comments
 (0)