Skip to content

feat: add shortcuts #120

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Mar 28, 2025
Merged

feat: add shortcuts #120

merged 10 commits into from
Mar 28, 2025

Conversation

0x2E
Copy link
Owner

@0x2E 0x2E commented Mar 27, 2025

@0x2E 0x2E marked this pull request as ready for review March 28, 2025 06:39
@0x2E 0x2E requested a review from Copilot March 28, 2025 06:39
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements keyboard shortcut support by adding new translation keys for shortcuts in multiple languages and updating associated UI text. Key changes include:

  • New translation entries for keyboard shortcuts (e.g. show help, next item, etc.) across various language files.
  • Minor adjustments to error messages for consistency.
  • An update to the README to highlight keyboard shortcut support and provide logo attribution.

Reviewed Changes

Copilot reviewed 14 out of 24 changed files in this pull request and generated no comments.

Show a summary per file
File Description
frontend/src/lib/i18n/langs/zh-Hans.ts Added new keys for shortcuts in Simplified Chinese
frontend/src/lib/i18n/langs/sv.ts Added new keys for shortcuts in Swedish
frontend/src/lib/i18n/langs/ru.ts Added new keys for shortcuts in Russian
frontend/src/lib/i18n/langs/pt.ts Added new keys for shortcuts in Portuguese
frontend/src/lib/i18n/langs/pt-BR.ts Added new keys for shortcuts in Brazilian Portuguese
frontend/src/lib/i18n/langs/fr.ts Added new keys for shortcuts in French
frontend/src/lib/i18n/langs/es.ts Added new keys for shortcuts in Spanish
frontend/src/lib/i18n/langs/en.ts Added new keys for shortcuts and adjusted error messages
frontend/src/lib/i18n/langs/de.ts Added new keys for shortcuts in German
README.md Updated README to mention keyboard shortcut support and logo attribution
Files not reviewed (10)
  • frontend/package.json: Language not supported
  • frontend/pnpm-lock.yaml: Language not supported
  • frontend/src/lib/components/ActionSearch.svelte: Language not supported
  • frontend/src/lib/components/ItemActionBookmark.svelte: Language not supported
  • frontend/src/lib/components/ItemActionMarkAllasRead.svelte: Language not supported
  • frontend/src/lib/components/ItemActionUnread.svelte: Language not supported
  • frontend/src/lib/components/ItemActionVisitLink.svelte: Language not supported
  • frontend/src/lib/components/ItemList.svelte: Language not supported
  • frontend/src/lib/components/ShortcutHelpModal.svelte: Language not supported
  • frontend/src/lib/components/Sidebar.svelte: Language not supported
Comments suppressed due to low confidence (1)

frontend/src/lib/i18n/langs/en.ts:92

  • [nitpick] Consider including the definite article for clarity (e.g. 'Cannot delete the default group') to maintain consistency with previous messaging.
'settings.groups.delete.error.delete_the_default': 'Cannot delete default group',

@0x2E 0x2E merged commit e9d6376 into main Mar 28, 2025
@0x2E 0x2E deleted the hotkey branch March 28, 2025 06:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: shortcuts
1 participant