Skip to content

Commit

Permalink
fix: l10n and todos
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasXu0 committed Feb 28, 2023
1 parent 22bb2e5 commit 879b110
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,7 @@ extension QuestionBubbleExtension on BubbleAction {
case BubbleAction.debug:
return LocaleKeys.questionBubble_debug_name.tr();
case BubbleAction.shortcuts:
// return LocaleKeys.questionBubble_shortcuts.tr();

// TODO: Use localized approach
return "Shortcuts";
return LocaleKeys.questionBubble_shortcuts.tr();
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,15 @@ List<ShortcutEvent> builtInShortcutEvents = [
command: 'shift+arrow down',
handler: cursorDownSelect,
),
// TODO: Use Unique and correct key names here
ShortcutEvent(
key: 'Cursor down select',
key: 'Cursor left word select',
command: 'shift+alt+arrow left',
windowsCommand: 'shift+alt+arrow left',
linuxCommand: 'shift+alt+arrow left',
handler: cursorLeftWordSelect,
),
ShortcutEvent(
key: 'Cursor down select',
key: 'Cursor right word select',
command: 'shift+alt+arrow right',
windowsCommand: 'shift+alt+arrow right',
linuxCommand: 'shift+alt+arrow right',
Expand Down

0 comments on commit 879b110

Please sign in to comment.