fix(ui): fix keyboard shortcuts modal Enter key emoji and menu capitalization (#26173)

- Append Unicode text variation selector U+FE0E to the ↩ character in
  ShortcutItem.svelte to prevent iOS/iPadOS rendering it as a colorful
  emoji instead of a plain text glyph.
- Fix 'Keyboard shortcuts' → 'Keyboard Shortcuts' (capital S) in the
  user menu to match the modal title and standard title case.
This commit is contained in:
G30 2026-06-29 01:59:07 -04:00 committed by GitHub
parent 1f6336fd98
commit 0502494e9a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -46,7 +46,7 @@
case 'escape':
return 'Esc';
case 'enter':
return isMac ? '↩' : 'Enter';
return isMac ? '↩\uFE0E' : 'Enter';
case 'tab':
return isMac ? '⇥' : 'Tab';
case 'arrowup':

View file

@ -613,7 +613,7 @@
<div class=" self-center mr-3">
<Keyboard className="size-5" />
</div>
<div class=" self-center truncate">{$i18n.t('Keyboard shortcuts')}</div>
<div class=" self-center truncate">{$i18n.t('Keyboard Shortcuts')}</div>
</button>
{/if}