Skip to content

Commit

Permalink
refactor hotkeys
Browse files Browse the repository at this point in the history
  • Loading branch information
drive4ik committed Apr 19, 2023
1 parent e39718b commit 6858a1a
Show file tree
Hide file tree
Showing 31 changed files with 367 additions and 397 deletions.
8 changes: 2 additions & 6 deletions addon/src/_locales/bg/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,8 @@
"description": "Hotkeys"
},
"hotkeysDescription": {
"message": "Тук се добавят клавишни комбинации.<br>Ограничения:<br>1. Тези клавишни комбинации ще работят само в страници от интернет (http:, https:), а не в служебните (about:) страници на четеца, защото ППИ на WebExtensions не го позволява.<br>2. Някои комбинации няма да работят с всички клавиатурни подредби. Например, комбинацията <code>Ctrl + ~</code>, създадена с актива английска подредба няма да работи ако в момента е активна българската, защото в българската подредба този клавиш има друг код. За да заобиколите този недостатък просто създайте същата комбинация докато е активна българска клавиатурна подредба: <code>Ctrl + Ю</code>.",
"description": "Hotkeys description"
"message": "Също така можете да настроите клавишни комбинации на страницата <a href=\"https://support.mozilla.org/kb/manage-extension-shortcuts-firefox\" target=\"_blank\">Управление на клавишни комбинации на разширения</a>. Ще работят във всички прозорци и на всички страници.",
"description": "You can also configure hotkeys on the Manage extension shortcuts in Firefox page. They will work on all windows and browser pages."
},
"addHotKeyButton": {
"message": "Нова комбинация",
Expand Down Expand Up @@ -1031,10 +1031,6 @@
}
}
},
"hotkeysDescription2": {
"message": "Също така можете да настроите клавишни комбинации на страницата <a href=\"https://support.mozilla.org/kb/manage-extension-shortcuts-firefox\" target=\"_blank\">Управление на клавишни комбинации на разширения</a>. Ще работят във всички прозорци и на всички страници.",
"description": "You can also configure hotkeys on the Manage extension shortcuts in Firefox page. They will work on all windows and browser pages."
},
"muteTab": {
"message": "Спиране звука на раздела",
"description": "Mute tab"
Expand Down
8 changes: 2 additions & 6 deletions addon/src/_locales/cs_CZ/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,8 @@
"description": "Hotkeys"
},
"hotkeysDescription": {
"message": "Zde můžete přidat klávesové zkratky.<br>Omezení:<br>1. Tyto zkratky fungují pouze na webových stránkách (http:, https:). Nefungují na stránkách prohlížeče (about:) - WebExtensions API to neumožňuje.<br>2. Některé zkratky nebudou fungovat na všech klávesnicích. Například: zkratka vytvořená na anglické klávesnici <code>Ctrl + ~</code> nebude fungovat na ruské klávesnici, protože tato klávesa má na ruské jiný kód. Pro opravu prostě vytvořte novou klávesovou zkratku na ruské klávesnici <code>Ctrl + Ё</code>",
"description": "Hotkeys description"
"message": "Klávesové zkratky lze také nastavit <a href=\"https://support.mozilla.org/kb/manage-extension-shortcuts-firefox\" target=\"_blank\">ve správě doplňků ve Firefoxu.</a> Tyto zkratky fungují na všech stránkách.",
"description": "You can also configure hotkeys on the Manage extension shortcuts in Firefox page. They will work on all windows and browser pages."
},
"addHotKeyButton": {
"message": "Přidat zkratku",
Expand Down Expand Up @@ -959,10 +959,6 @@
}
}
},
"hotkeysDescription2": {
"message": "Klávesové zkratky lze také nastavit <a href=\"https://support.mozilla.org/kb/manage-extension-shortcuts-firefox\" target=\"_blank\">ve správě doplňků ve Firefoxu.</a> Tyto zkratky fungují na všech stránkách.",
"description": "You can also configure hotkeys on the Manage extension shortcuts in Firefox page. They will work on all windows and browser pages."
},
"muteTab": {
"message": "Ztlumit zvuk panelu",
"description": "Mute tab"
Expand Down
8 changes: 2 additions & 6 deletions addon/src/_locales/de/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,8 @@
"description": "Hotkeys"
},
"hotkeysDescription": {
"message": "Hier kannst du Hotkeys hinzufügen.<br>Beschränkungen:<br>1. Diese Hotkeys funktionieren nur auf regulären Webseiten (<code>http://</code>, <code>https://</code>). Auf den Browserseiten (<code>about:</code>) funktionieren sie nicht (die WebExtensions-API verhindert das).<br>2. Einige Hotkeys funktionieren nicht mit allen Tastatur-Layouts. Wird zum Beispiel der Shortcut <code>Ctrl + ~</code> mit englischem Layout erstellt, funktioniert er nicht im russischen Layout, da im russischen Layout diese Taste mit einem anderen Code belegt ist. Um dies zu beheben, erzeuge einen neuen Hotkey im russischen Layout: <code>Ctrl + Ё</code>.",
"description": "Hotkeys description"
"message": "Du kannst außerdem Tastenkürzel auf der Seite <a href=\"https://support.mozilla.org/kb/manage-extension-shortcuts-firefox\" target=\"_blank\">Manage extension shortcuts in Firefox</a> einrichten. Sie funktionieren auf allen Seiten und Fenstern.",
"description": "You can also configure hotkeys on the Manage extension shortcuts in Firefox page. They will work on all windows and browser pages."
},
"addHotKeyButton": {
"message": "Hotkey hinzufügen",
Expand Down Expand Up @@ -1023,10 +1023,6 @@
}
}
},
"hotkeysDescription2": {
"message": "Du kannst außerdem Tastenkürzel auf der Seite <a href=\"https://support.mozilla.org/kb/manage-extension-shortcuts-firefox\" target=\"_blank\">Manage extension shortcuts in Firefox</a> einrichten. Sie funktionieren auf allen Seiten und Fenstern.",
"description": "You can also configure hotkeys on the Manage extension shortcuts in Firefox page. They will work on all windows and browser pages."
},
"muteTab": {
"message": "Tab stummschalten",
"description": "Mute tab"
Expand Down
4 changes: 0 additions & 4 deletions addon/src/_locales/el/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -251,10 +251,6 @@
"message": "Hotkeys",
"description": "Hotkeys"
},
"hotkeysDescription": {
"message": "Εδώ μπορείτε να προσθέσετε hot keys.<br>Περιορισμοί:<br>1. Τα hotkeys λειτουργούν μόνο σε σελίδες web (http:, https:). Δεν λειτουργούν σε σελίδες browser (about:) - το WebExtensions API δεν το επιτρέπει.<br>2. Μερικά hotkeys δεν θα λειτουργούν σε κάποιες γλώσσες πληκτρολογίου. Για παράδειγμα, η συντόμευση (δημιουργημένη σε Αγγλικό πληκτρολόγιο) <code>Ctrl + ~</code> δεν θα λειτουργεί στο Ρωσσικό πληκτρολόγιο, γιατί εκεί αυτό το πλήκτρο έχει άλλον κωδικό. Για να το ξεπεράσετε, απλά δημιουργείστε ένα άλλο hotkey στο Ρωσσικό πληκτρολόγιο: <code>Ctrl + Ё</code>",
"description": "Hotkeys description"
},
"addHotKeyButton": {
"message": "Προσθήκη hotkey",
"description": "Add hotkey"
Expand Down
8 changes: 2 additions & 6 deletions addon/src/_locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -282,8 +282,8 @@
"description": "Hotkeys"
},
"hotkeysDescription": {
"message": "Here you can add hotkeys.<br>Restrictions:<br>1. These hotkeys will only work on web pages (http:, https:), not on the browser pages (about:), because the WebExtensions API does not allow this.<br>2. Some hotkeys will not work with all keyboard layouts. For example, a <code>Ctrl + ~</code> shortcut created with an English layout will not work with a keyboard with Russian layout, because in the Russian layout this key has another code. To fix this, just create another hotkey with the Russian layout: <code>Ctrl + Ё</code>",
"description": "Hotkeys description"
"message": "You can also configure hotkeys on the <a href=\"https://support.mozilla.org/kb/manage-extension-shortcuts-firefox\" target=\"_blank\">Manage extension shortcuts in Firefox</a> page. They will work on all windows and browser pages.",
"description": "You can also configure hotkeys on the Manage extension shortcuts in Firefox page. They will work on all windows and browser pages."
},
"addHotKeyButton": {
"message": "Add hotkey",
Expand Down Expand Up @@ -1035,10 +1035,6 @@
}
}
},
"hotkeysDescription2": {
"message": "You can also configure hotkeys on the <a href=\"https://support.mozilla.org/kb/manage-extension-shortcuts-firefox\" target=\"_blank\">Manage extension shortcuts in Firefox</a> page. They will work on all windows and browser pages.",
"description": "You can also configure hotkeys on the Manage extension shortcuts in Firefox page. They will work on all windows and browser pages."
},
"muteTab": {
"message": "Mute tab",
"description": "Mute tab"
Expand Down
8 changes: 2 additions & 6 deletions addon/src/_locales/es_AR/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,8 @@
"description": "Hotkeys"
},
"hotkeysDescription": {
"message": "Acá podes agregar atajos rápidos.<br>Restricciones:<br>1. Estos atajos rápidos solo funcionan en paginas web (http:, https:),no en las paginas del navegador (about:), porque la API WebExtensions no lo permite.<br>2. Algunos atajos rápidos no funcionarán con todas las distribuciones de teclados. Por ejemplo, el atajo <code>Ctrl + ~</code> creado en un teclado en Inglés no funcionará en un teclado en Ruso, porque en el diseño Ruso esta tecla tiene otro código. Para corregir esto, creá un atajo rápido con el teclado en Ruso <code>Ctrl + Ё</code>",
"description": "Hotkeys description"
"message": "Además podes configurar atajos rápidos en la página <a href=\"https://support.mozilla.org/kb/manage-extension-shortcuts-firefox\" target=\"_blank\">Gestionar atajos de teclado de extensiones en Firefox</a>. Estos funcionarán en todas las ventanas y páginas del navegador.",
"description": "You can also configure hotkeys on the Manage extension shortcuts in Firefox page. They will work on all windows and browser pages."
},
"addHotKeyButton": {
"message": "Agregar atajo rápido",
Expand Down Expand Up @@ -1003,10 +1003,6 @@
}
}
},
"hotkeysDescription2": {
"message": "Además podes configurar atajos rápidos en la página <a href=\"https://support.mozilla.org/kb/manage-extension-shortcuts-firefox\" target=\"_blank\">Gestionar atajos de teclado de extensiones en Firefox</a>. Estos funcionarán en todas las ventanas y páginas del navegador.",
"description": "You can also configure hotkeys on the Manage extension shortcuts in Firefox page. They will work on all windows and browser pages."
},
"muteTab": {
"message": "Mutear pestaña",
"description": "Mute tab"
Expand Down
8 changes: 2 additions & 6 deletions addon/src/_locales/es_ES/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,8 @@
"description": "Hotkeys"
},
"hotkeysDescription": {
"message": "Aquí puede añadir atajos de teclado. <br>Restricciones:<br>1. Estos atajos solo funcionarán en páginas web (http:, https:), no en las páginas del mismo navegador (about:), ya que el API WebExtensions no lo permite. <br>2. Algunos atajos no funcionarán con todas las distribuciones de teclado. Por ejemplo, un atajo <code>Ctrl + ~</code> creado con un teclado con distribución en Inglés no funcionará en un teclado con distribución en Ruso, ya que en Ruso este atajo tiene otro código. Para corregirlo, solo cree otro atajo con la distribución de teclado en Ruso: <code>Ctrl + Ë</code>",
"description": "Hotkeys description"
"message": "También puedes configurar los atajos en la página <a href=\"https://support.mozilla.org/kb/manage-extension-shortcuts-firefox\" target=\"_blank\">Gestionar atajos de teclado de extensiones en Firefox.</a> Funcionarán en todas las ventanas y páginas del navegador.",
"description": "You can also configure hotkeys on the Manage extension shortcuts in Firefox page. They will work on all windows and browser pages."
},
"addHotKeyButton": {
"message": "Añadir atajo",
Expand Down Expand Up @@ -1023,10 +1023,6 @@
}
}
},
"hotkeysDescription2": {
"message": "También puedes configurar los atajos en la página <a href=\"https://support.mozilla.org/kb/manage-extension-shortcuts-firefox\" target=\"_blank\">Gestionar atajos de teclado de extensiones en Firefox.</a> Funcionarán en todas las ventanas y páginas del navegador.",
"description": "You can also configure hotkeys on the Manage extension shortcuts in Firefox page. They will work on all windows and browser pages."
},
"muteTab": {
"message": "Silenciar pestaña",
"description": "Mute tab"
Expand Down
8 changes: 2 additions & 6 deletions addon/src/_locales/fr/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,8 @@
"description": "Hotkeys"
},
"hotkeysDescription": {
"message": "Ici vous pouvez ajouter des raccourcis.<br>Restrictions :<br>1. Ces raccourcis ne fonctionneront que sur des pages web (http:, https:). Sur des pages du navigateur (about:) - cela ne fonctionne pas, l'API WebExtensions ne l'autorise pas.<br>2. Certains raccourcis ne fonctionneront pas sur différentes dispositions de clavier. Par exemple, le raccourci <code>Ctrl + ~</code> créé dans la disposition US ne fonctionnera pas sur la disposition RU, car la disposition russe a un autre code pour cette touche. Pour contourner ce problème, créez simplement un autre raccourci avec la disposition russe : <code>Ctrl + Ё</code>",
"description": "Hotkeys description"
"message": "Vous pouvez aussi configurer les raccourcis sur la page <a href=\"https://support.mozilla.org/kb/manage-extension-shortcuts-firefox\" target=\"_blank\">Gérer les raccourcis d'extension</a>. Ceci s'appliquera à toutes les fenêtres et toutes les pages du navigateur.",
"description": "You can also configure hotkeys on the Manage extension shortcuts in Firefox page. They will work on all windows and browser pages."
},
"addHotKeyButton": {
"message": "Ajouter un raccourci",
Expand Down Expand Up @@ -1023,10 +1023,6 @@
}
}
},
"hotkeysDescription2": {
"message": "Vous pouvez aussi configurer les raccourcis sur la page <a href=\"https://support.mozilla.org/kb/manage-extension-shortcuts-firefox\" target=\"_blank\">Gérer les raccourcis d'extension</a>. Ceci s'appliquera à toutes les fenêtres et toutes les pages du navigateur.",
"description": "You can also configure hotkeys on the Manage extension shortcuts in Firefox page. They will work on all windows and browser pages."
},
"muteTab": {
"message": "Rendre l'onglet silencieux",
"description": "Mute tab"
Expand Down
8 changes: 2 additions & 6 deletions addon/src/_locales/in_ID/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,8 @@
"description": "Hotkeys"
},
"hotkeysDescription": {
"message": "Di sini Anda dapat menambahkan hotkey.<br>Pembatasan:<br>1. Tombol pintas ini hanya akan berfungsi di halaman web (http:, https:), bukan di halaman browser (about:), karena API WebExtensions tidak mengizinkan ini.<br>2. Beberapa tombol pintas tidak akan berfungsi dengan semua tata letak keyboard. Misalnya, pintasan <code>Ctrl + ~</code> yang dibuat dengan tata letak bahasa Inggris tidak akan berfungsi dengan keyboard dengan tata letak Rusia, karena dalam tata letak Rusia tombol ini memiliki kode lain. Untuk memperbaikinya, cukup buat hotkey lain dengan tata letak Rusia: <code>Ctrl + </code>",
"description": "Hotkeys description"
"message": "Anda juga dapat mengonfigurasi tombol pintas di halaman <a href=\"https://support.mozilla.org/kb/manage-extension-shortcuts-firefox\" target=\"_blank\">Kelola pintasan ekstensi di Firefox</a>. Mereka akan bekerja di semua jendela dan halaman browser.",
"description": "You can also configure hotkeys on the Manage extension shortcuts in Firefox page. They will work on all windows and browser pages."
},
"addHotKeyButton": {
"message": "Tambahkan hotkey",
Expand Down Expand Up @@ -1003,10 +1003,6 @@
}
}
},
"hotkeysDescription2": {
"message": "Anda juga dapat mengonfigurasi tombol pintas di halaman <a href=\"https://support.mozilla.org/kb/manage-extension-shortcuts-firefox\" target=\"_blank\">Kelola pintasan ekstensi di Firefox</a>. Mereka akan bekerja di semua jendela dan halaman browser.",
"description": "You can also configure hotkeys on the Manage extension shortcuts in Firefox page. They will work on all windows and browser pages."
},
"muteTab": {
"message": "Bisukan tab",
"description": "Mute tab"
Expand Down
8 changes: 2 additions & 6 deletions addon/src/_locales/it/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,8 @@
"description": "Hotkeys"
},
"hotkeysDescription": {
"message": "Qui puoi aggiungere le scorciatoie. <br>Limitazioni:<br>1. Queste scorciatoie funzioneranno solamente nelle pagine web (http:, https:). Sulle pagine del browser (about:) non funzionano a causa delle limitazioni imposte delle WebExtension API. <br>2. Alcune delle scorciatoie non funzioneranno con alcuni configurazioni della tastiera. La scorciatoia creata con la tastiera inglese <code>Ctrl + ~</code> non funziona sulla tastiera russa, perché questo tasto ha un altro codice. Per sistemare questo problema, crea una scorciatoia con un altro tasto: per il caso precedente, aggiungi la scorciatoia <code> Ctrl + Ё</code>.",
"description": "Hotkeys description"
"message": "Puoi modificare le scorciatoie sulla pagina <a href=\"https://support.mozilla.org/kb/manage-extension-shortcuts-firefox\" target=\"_blank\">Gestire le scorciatoie da tastiera per i componenti aggiuntivi in Firefox</a>. Funzioneranno su tutte le finestre e le pagine del browser.",
"description": "You can also configure hotkeys on the Manage extension shortcuts in Firefox page. They will work on all windows and browser pages."
},
"addHotKeyButton": {
"message": "Aggiungi una scorciatoia",
Expand Down Expand Up @@ -1003,10 +1003,6 @@
}
}
},
"hotkeysDescription2": {
"message": "Puoi modificare le scorciatoie sulla pagina <a href=\"https://support.mozilla.org/it/kb/gestire-scorciatoie-componenti-aggiuntivi-firefox\" target=\"_blank\">Gestire le scorciatoie da tastiera per i componenti aggiuntivi in Firefox</a>. Funzioneranno su tutte le finestre e le pagine del browser.",
"description": "You can also configure hotkeys on the Manage extension shortcuts in Firefox page. They will work on all windows and browser pages."
},
"muteTab": {
"message": "Silenzia la scheda",
"description": "Mute tab"
Expand Down
Loading

0 comments on commit 6858a1a

Please sign in to comment.