Skip to content

Commit

Permalink
Rename at line start to "to line start"
Browse files Browse the repository at this point in the history
  • Loading branch information
personalizedrefrigerator committed Nov 26, 2024
1 parent 7117d96 commit 8c11253
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ describe('markdownCommands', () => {

insertOrIncreaseIndent(editor);

expect(getLastAnnouncement(editor)).toBe('Added Indent markup at line start');
expect(getLastAnnouncement(editor)).toBe('Added Indent markup to line start');
expect(editor.state.doc.toString()).toBe('\t Test');
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ const toggleSelectedLinesStartWith = (
if (changedLineCount > 1) {
announcement += ` ${_('on %d lines', changedLineCount)}`;
} else {
announcement += ` ${_('at line start')}`;
announcement += ` ${_('to line start')}`;
}

return {
Expand Down
2 changes: 2 additions & 0 deletions packages/editor/localizationPatterns.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
export default [
'Removed %s markup',
'Added %s markup',
'Moved cursor out of %s markup',
'Converted %s to %s',
'Selected changed content',
'on %d lines',
'to line start',
'Bold',
'Italic',
'Inline code',
Expand Down

0 comments on commit 8c11253

Please sign in to comment.