Skip to content

Commit

Permalink
Fix missing localization for the “Space” key shortcut
Browse files Browse the repository at this point in the history
Fixes #172
  • Loading branch information
sindresorhus committed May 23, 2024
1 parent 09e4a10 commit 2e5f155
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
"keyboard_shortcut_used_by_system" = "لا يمكن استخدام اختصار لوحة المفاتيح هذا لأنه مستخدم مسبقاً على مستوى النظام.";
"keyboard_shortcuts_can_be_changed" = "يمكن تغيير معظم اختصارات لوحة المفاتيح على مستوى النظام في “تفضيلات النظام > لوحة المفاتيح > الاختصارات ”.";
"ok" = "موافق";
"space_key" = "مسافة";
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
"keyboard_shortcut_used_by_system" = "Tuto zkratku nelze použít, protože už ji používá systém.";
"keyboard_shortcuts_can_be_changed" = "Většinu systémových zkratek můžete změnit v „Nastavení systému › Klávesnice › Klávesové zkratky“.";
"ok" = "OK";
"space_key" = "Mezera";
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
"keyboard_shortcut_used_by_system" = "Dieses Tastaturkürzel kann nicht verwendet werden, da es bereits systemweit verwendet wird.";
"keyboard_shortcuts_can_be_changed" = "Die meisten systemweiten Tastaturkürzel können unter „Systemeinstellungen › Tastatur › Tastaturkurzbefehle“ geändert werden.";
"ok" = "OK";
"space_key" = "Leer";
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
"keyboard_shortcuts_can_be_changed" = "Most system-wide keyboard shortcuts can be changed in “System Settings › Keyboard › Keyboard Shortcuts”.";
"force_use_shortcut" = "Use Anyway";
"ok" = "OK";
"space_key" = "Space";
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
"keyboard_shortcut_used_by_system" = "Este atajo de teclado no se puede utilizar ya que está siendo utilizado por un atajo del sistema operativo.";
"keyboard_shortcuts_can_be_changed" = "La mayoría de los atajos de teclado del sistema operativo pueden ser modificados en “Configuración del sistema › Teclado › Atajos de teclado“.";
"ok" = "Aceptar";
"space_key" = "Espacio";
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
"keyboard_shortcut_used_by_system" = "Ce raccourci ne peut pas être utilisé car il s'agit d'un raccourci déjà présent dans le système.";
"keyboard_shortcuts_can_be_changed" = "La plupart des raccourcis clavier de l'ensemble du système peuvent être modifiés en “Réglages du système… › Clavier › Raccourcis clavier…”.";
"ok" = "OK";
"space_key" = "Espace";
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
"keyboard_shortcut_used_by_system" = "Ez a billentyűparancs nem használható mert már egy rendszerszintü billentyűparancs.";
"keyboard_shortcuts_can_be_changed" = "A legtöbb rendszerszintü billentyűparancsot a “Rendszerbeállítások › Billentyűzet › Billentyűparancsok“ menüben meg lehet változtatni";
"ok" = "OK";
"space_key" = "Szóköz";
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
"keyboard_shortcut_used_by_system" = "このショートカットキーは既にシステムで使われており使えません。";
"keyboard_shortcuts_can_be_changed" = "システムで設定されているショートカットキーは“システム設定 › キーボード › キーボードショートカット”で変更できます。";
"ok" = "OK";
"space_key" = "スペース";
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
"keyboard_shortcut_used_by_system" = "이 키보드 단축키는 이미 시스템상에서 사용되고 있으므로 등록할 수 없습니다.";
"keyboard_shortcuts_can_be_changed" = "대부분의 시스템 키보드 단축키는 “시스템 설정 › 키보드 › 키보드 단축키”에서 변경 가능합니다.";
"ok" = "확인";
"space_key" = "빈칸";
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
"keyboard_shortcut_used_by_system" = "Deze toetscombinatie kan niet worden gebruikt omdat hij al door het systeem gebruikt wordt.";
"keyboard_shortcuts_can_be_changed" = "De meeste systeem toetscombinaties kunnen onder “Systeeminstellingen… > Toetsenbord > Toetscombinaties…” veranderd worden.";
"ok" = "OK";
"space_key" = "spatie";
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
"keyboard_shortcut_used_by_system" = "Este atalho não pode ser usado porque ele já é usado por um atalho do sistema.";
"keyboard_shortcuts_can_be_changed" = "A maioria dos atalhos do sistema podem ser alterados em “Ajustes do Sistema › Teclado › Atalhos de Teclado”.";
"ok" = "OK";
"space_key" = "Espaço";
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
"keyboard_shortcut_used_by_system" = "Это сочетание клавиш нельзя использовать, поскольку оно является системным.";
"keyboard_shortcuts_can_be_changed" = "Большинство системных сочетаний клавиш можно изменить в «Системные настройки › Клавиатура › Сочетания клавиш».";
"ok" = "OK";
"space_key" = "Пробел";
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
"keyboard_shortcuts_can_be_changed" = "Väčšinu klávesových skratiek pre celý systém je možné zmeniť v časti “Systémové nastavenia › Klávesnica › Klávesové skratky”.";
"force_use_shortcut" = "Napriek tomu použiť";
"ok" = "OK";
"space_key" = "Medzerník";
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
"keyboard_shortcut_used_by_system" = "当前快捷键无法使用,因为它已被用作系统快捷键。";
"keyboard_shortcuts_can_be_changed" = "可以在 “系统设置 › 键盘 › 键盘快捷键” 中更改大多数系统快捷键。";
"ok" = "好";
"space_key" = "空格";
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
"keyboard_shortcut_used_by_system" = "此快速鍵無法使用,因為它已被系統使用。";
"keyboard_shortcuts_can_be_changed" = "可以在「系統設定 › 鍵盤 › 鍵盤快速鍵」中更改大多數的系統快速鍵。";
"ok" = "好";
"space_key" = "空格";
2 changes: 1 addition & 1 deletion Sources/KeyboardShortcuts/Shortcut.swift
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ private let keyToCharacterMapping: [KeyboardShortcuts.Key: String] = [
.escape: "",
.help: "?⃝",
.home: "",
.space: "Space", // This matches what macOS uses.
.space: "space_key".localized, // This matches what macOS uses.
.tab: "",
.pageUp: "",
.pageDown: "",
Expand Down

0 comments on commit 2e5f155

Please sign in to comment.