more keyboard shortcuts

This commit is contained in:
Athou
2013-07-10 09:24:07 +02:00
parent 7504f1024f
commit 30e608ffe5
28 changed files with 222 additions and 142 deletions

View File

@@ -138,5 +138,7 @@ about.shortcuts.mark_all_as_read=mark all entries as read
about.shortcuts.open_in_new_tab_mark_as_read=open entry in new tab and mark as read
about.shortcuts.fullscreen=toggle full screen mode ####### Needs translation
about.shortcuts.font_size=increase/decrease font size of the current entry ####### Needs translation
about.shortcuts.go_to_all=go to the All view ####### Needs translation
about.shortcuts.go_to_starred=go to the Starred view ####### Needs translation
about.shortcuts.feed_search=navigate to a subscription by entering the subscription name

View File

@@ -138,4 +138,7 @@ about.shortcuts.mark_all_as_read = označit všechny položky jako přečtené!
about.shortcuts.open_in_new_tab_mark_as_read = otevřít položku na nové kartě a označit ji jako přečtenou
about.shortcuts.fullscreen = přepnout zobrazení na celou obrazovku
about.shortcuts.font_size = zvětšit/zmenšit velikost písma pro vybranou položku
about.shortcuts.go_to_all=go to the All view ####### Needs translation
about.shortcuts.go_to_starred=go to the Starred view ####### Needs translation
about.shortcuts.feed_search = přejít na odběr vložením jeho názvu

View File

@@ -138,5 +138,7 @@ about.shortcuts.mark_all_as_read=marcio popeth fel darllenwyd
about.shortcuts.open_in_new_tab_mark_as_read=agor eitem mewn tab newydd a marcio fel darllenwyd
about.shortcuts.fullscreen=toggle full screen mode ####### Needs translation
about.shortcuts.font_size=increase/decrease font size of the current entry ####### Needs translation
about.shortcuts.go_to_all=go to the All view ####### Needs translation
about.shortcuts.go_to_starred=go to the Starred view ####### Needs translation
about.shortcuts.feed_search=llywio i danysgrifiad trwy rhoi ei enw mewn

View File

@@ -138,5 +138,7 @@ about.shortcuts.mark_all_as_read=marker alle artikler som læste
about.shortcuts.open_in_new_tab_mark_as_read=åben artikel i ny fane og marker som læst
about.shortcuts.fullscreen=toggle full screen mode ####### Needs translation
about.shortcuts.font_size=increase/decrease font size of the current entry ####### Needs translation
about.shortcuts.go_to_all=go to the All view ####### Needs translation
about.shortcuts.go_to_starred=go to the Starred view ####### Needs translation
about.shortcuts.feed_search=naviger til et abonnoment ved at skrive dets navn

View File

@@ -138,5 +138,7 @@ about.shortcuts.mark_all_as_read=alle Artikel als gelesen markieren
about.shortcuts.open_in_new_tab_mark_as_read=öffnen des Artikels in einem neuen Tab und als gelesen markieren
about.shortcuts.fullscreen=Vollbildmodus an-/ausschalten
about.shortcuts.font_size=Schriftgröße des aktuellen Artikels vergrößern/verkleinern
about.shortcuts.go_to_all=go to the All view ####### Needs translation
about.shortcuts.go_to_starred=go to the Starred view ####### Needs translation
about.shortcuts.feed_search=zu einem Feed springen durch durch eingeben seines Namens

View File

@@ -138,4 +138,6 @@ about.shortcuts.mark_all_as_read=mark all entries as read
about.shortcuts.open_in_new_tab_mark_as_read=open entry in new tab and mark as read
about.shortcuts.fullscreen=toggle full screen mode
about.shortcuts.font_size=increase/decrease font size of the current entry
about.shortcuts.go_to_all=go to the All view
about.shortcuts.go_to_starred=go to the Starred view
about.shortcuts.feed_search=navigate to a subscription by entering the subscription name

View File

@@ -138,5 +138,7 @@ about.shortcuts.mark_all_as_read=marcar todas las entradas como leídas
about.shortcuts.open_in_new_tab_mark_as_read=abrir entrada en una nueva pestaña y marcar como leída
about.shortcuts.fullscreen=toggle full screen mode ####### Needs translation
about.shortcuts.font_size=increase/decrease font size of the current entry ####### Needs translation
about.shortcuts.go_to_all=go to the All view ####### Needs translation
about.shortcuts.go_to_starred=go to the Starred view ####### Needs translation
about.shortcuts.feed_search=navigate to a subscription by entering the subscription name ####### Needs translation

View File

@@ -138,5 +138,7 @@ about.shortcuts.mark_all_as_read=علامت‌گذاری تمامی مطالب
about.shortcuts.open_in_new_tab_mark_as_read=باز‌کردن مطلب در سربرگ جدید و علامت‌گذاری آن به‌عنوان خوانده‌شده
about.shortcuts.fullscreen=فعال/غیرفعال‌کردن حالت تمام صفحه
about.shortcuts.font_size=افزایش/کاهش اندازهٔ قلم مدخل فعلی
about.shortcuts.go_to_all=go to the All view ####### Needs translation
about.shortcuts.go_to_starred=go to the Starred view ####### Needs translation
about.shortcuts.feed_search=ناوبری به یک اشتراک با نوشتن نام اشتراک

View File

@@ -138,5 +138,7 @@ about.shortcuts.mark_all_as_read=merkitse kaikki otsikot luetuiksi
about.shortcuts.open_in_new_tab_mark_as_read=avaa otsikko uudessa ikkunassa ja merkitse se luetuksi
about.shortcuts.fullscreen=siirry kokoruututilaan
about.shortcuts.font_size=suurenna/pienennä valitun artikkelin kirjasinkokoa
about.shortcuts.go_to_all=go to the All view ####### Needs translation
about.shortcuts.go_to_starred=go to the Starred view ####### Needs translation
about.shortcuts.feed_search=etsi tilaus sen nimen perusteella

View File

@@ -138,5 +138,7 @@ about.shortcuts.mark_all_as_read=Marquer toutes les entrées comme lues
about.shortcuts.open_in_new_tab_mark_as_read=Ouvrir l'entrée courante dans une nouvelle fenêtre et marquer comme lue
about.shortcuts.fullscreen=Activer/désactiver le mode plein-écran
about.shortcuts.font_size=Augmenter/diminuer la taille de la police de l'entrée courante
about.shortcuts.go_to_all=go to the All view ####### Needs translation
about.shortcuts.go_to_starred=go to the Starred view ####### Needs translation
about.shortcuts.feed_search=Naviguer vers un flux en entrant son nom

View File

@@ -138,5 +138,7 @@ about.shortcuts.mark_all_as_read=marcar todas as entradas como lidas
about.shortcuts.open_in_new_tab_mark_as_read=abrir entrada nunha nova lapela e marcar como lida
about.shortcuts.fullscreen=toggle full screen mode ####### Needs translation
about.shortcuts.font_size=increase/decrease font size of the current entry ####### Needs translation
about.shortcuts.go_to_all=go to the All view ####### Needs translation
about.shortcuts.go_to_starred=go to the Starred view ####### Needs translation
about.shortcuts.feed_search=navegue ate unha suscrición introducindo o nome da suscrición

View File

@@ -138,5 +138,7 @@ about.shortcuts.mark_all_as_read=همه‌ته مطالبه نشانه بنه ک
about.shortcuts.open_in_new_tab_mark_as_read=مطلبه تازه سرولگˇ میان واگودن و نشانه‌دار کودن به عنوانˇ بخانده
about.shortcuts.fullscreen=toggle full screen mode ####### Needs translation
about.shortcuts.font_size=increase/decrease font size of the current entry ####### Needs translation
about.shortcuts.go_to_all=go to the All view ####### Needs translation
about.shortcuts.go_to_starred=go to the Starred view ####### Needs translation
about.shortcuts.feed_search=اشتراکˇ نامه بنویس و اونه وئر بزن

View File

@@ -138,5 +138,7 @@ about.shortcuts.mark_all_as_read=az összes elem megjelölése olvasottként
about.shortcuts.open_in_new_tab_mark_as_read=elem megnyitása új fülön és megjelölése olvasottként
about.shortcuts.fullscreen=toggle full screen mode ####### Needs translation
about.shortcuts.font_size=increase/decrease font size of the current entry ####### Needs translation
about.shortcuts.go_to_all=go to the All view ####### Needs translation
about.shortcuts.go_to_starred=go to the Starred view ####### Needs translation
about.shortcuts.feed_search=név szerinti keresés a hírcsatornák között

View File

@@ -138,5 +138,7 @@ about.shortcuts.mark_all_as_read=mark all entries as read
about.shortcuts.open_in_new_tab_mark_as_read=open entry in new tab and mark as read
about.shortcuts.fullscreen=toggle full screen mode ####### Needs translation
about.shortcuts.font_size=increase/decrease font size of the current entry ####### Needs translation
about.shortcuts.go_to_all=go to the All view ####### Needs translation
about.shortcuts.go_to_starred=go to the Starred view ####### Needs translation
about.shortcuts.feed_search=navigate to a subscription by entering the subscription name ####### Needs translation

View File

@@ -138,5 +138,7 @@ about.shortcuts.mark_all_as_read=모든 항목 읽음으로 표시
about.shortcuts.open_in_new_tab_mark_as_read=읽음으로 표시하고 새로운 탭에서 열기
about.shortcuts.fullscreen=toggle full screen mode ####### Needs translation
about.shortcuts.font_size=increase/decrease font size of the current entry ####### Needs translation
about.shortcuts.go_to_all=go to the All view ####### Needs translation
about.shortcuts.go_to_starred=go to the Starred view ####### Needs translation
about.shortcuts.feed_search=navigate to a subscription by entering the subscription name ####### Needs translation

View File

@@ -138,5 +138,7 @@ about.shortcuts.mark_all_as_read=tanda semua entry telah dibaca
about.shortcuts.open_in_new_tab_mark_as_read=buka entry di tab baru dan tanda telah dibaca
about.shortcuts.fullscreen=toggle mod skrin penuh
about.shortcuts.font_size=kecil/besar fon entry kini
about.shortcuts.go_to_all=go to the All view ####### Needs translation
about.shortcuts.go_to_starred=go to the Starred view ####### Needs translation
about.shortcuts.feed_search=pergi ke langganan dengan nama langganan

View File

@@ -138,5 +138,7 @@ about.shortcuts.mark_all_as_read=merk alle artikler som lest
about.shortcuts.open_in_new_tab_mark_as_read=åpne artikkel i ny fane og merk som lest
about.shortcuts.fullscreen=toggle full screen mode ####### Needs translation
about.shortcuts.font_size=increase/decrease font size of the current entry ####### Needs translation
about.shortcuts.go_to_all=go to the All view ####### Needs translation
about.shortcuts.go_to_starred=go to the Starred view ####### Needs translation
about.shortcuts.feed_search=naviger til et abonnement ved å skrive inn abonnementsnavnet

View File

@@ -138,5 +138,7 @@ about.shortcuts.mark_all_as_read=Markeer alle artikelen als gelezen
about.shortcuts.open_in_new_tab_mark_as_read=Open artikel in een nieuw tabblad en markeer als gelezen
about.shortcuts.fullscreen=toggle full screen mode ####### Needs translation
about.shortcuts.font_size=increase/decrease font size of the current entry ####### Needs translation
about.shortcuts.go_to_all=go to the All view ####### Needs translation
about.shortcuts.go_to_starred=go to the Starred view ####### Needs translation
about.shortcuts.feed_search=navigate to a subscription by entering the subscription name ####### Needs translation

View File

@@ -138,5 +138,7 @@ about.shortcuts.mark_all_as_read=merk alle artiklar som lesne
about.shortcuts.open_in_new_tab_mark_as_read=opne artikkel i ny fane og merk som lesen
about.shortcuts.fullscreen=toggle full screen mode ####### Needs translation
about.shortcuts.font_size=increase/decrease font size of the current entry ####### Needs translation
about.shortcuts.go_to_all=go to the All view ####### Needs translation
about.shortcuts.go_to_starred=go to the Starred view ####### Needs translation
about.shortcuts.feed_search=naviger til eit abonnement ved å skrive inn abonnementsnamnet

View File

@@ -138,5 +138,7 @@ about.shortcuts.mark_all_as_read=oznacz wszystko jako przeczytane
about.shortcuts.open_in_new_tab_mark_as_read=otwórz w nowej zakładce i oznacz jako przeczytane
about.shortcuts.fullscreen=przełącz tryb pełnoekranowy
about.shortcuts.font_size=zmień wielkość czcionki
about.shortcuts.go_to_all=go to the All view ####### Needs translation
about.shortcuts.go_to_starred=go to the Starred view ####### Needs translation
about.shortcuts.feed_search=przejdź do subskrybcji wpisując jej nazwę

View File

@@ -138,5 +138,7 @@ about.shortcuts.mark_all_as_read=marca todos os itens como lidos
about.shortcuts.open_in_new_tab_mark_as_read=abre item em uma nova aba e marca como lido
about.shortcuts.fullscreen=toggle full screen mode ####### Needs translation
about.shortcuts.font_size=increase/decrease font size of the current entry ####### Needs translation
about.shortcuts.go_to_all=go to the All view ####### Needs translation
about.shortcuts.go_to_starred=go to the Starred view ####### Needs translation
about.shortcuts.feed_search=navega entre inscrições buscando pelo nome

View File

@@ -138,5 +138,7 @@ about.shortcuts.mark_all_as_read=пометить всё как прочитан
about.shortcuts.open_in_new_tab_mark_as_read=открыть запись в новом окне и пометить как прочитанную
about.shortcuts.fullscreen=переключиться в полноэкранный режим
about.shortcuts.font_size=увеличить/уменьшить размер шрифта текущей записи
about.shortcuts.go_to_all=go to the All view ####### Needs translation
about.shortcuts.go_to_starred=go to the Starred view ####### Needs translation
about.shortcuts.feed_search=перейти к подписке вписав название подписки

View File

@@ -138,5 +138,7 @@ about.shortcuts.mark_all_as_read=označiť všetky položky ako prečítané!
about.shortcuts.open_in_new_tab_mark_as_read=zobraziť položku na novej karte a označí ju ako prečítanú
about.shortcuts.fullscreen=zapnúť/vypnúť zobrazenie na celú obrazovku
about.shortcuts.font_size=zväčšiť/zmenšiť veľkost písma pre vybranú položku
about.shortcuts.go_to_all=go to the All view ####### Needs translation
about.shortcuts.go_to_starred=go to the Starred view ####### Needs translation
about.shortcuts.feed_search=prejsť k odoberanému RSS zdroju vložením jeho názvu

View File

@@ -138,5 +138,7 @@ about.shortcuts.mark_all_as_read=markera alla som lästa
about.shortcuts.open_in_new_tab_mark_as_read=öppna nuvarande post i ny flik och markera som läst
about.shortcuts.fullscreen=växla till/från fullskärmsläge
about.shortcuts.font_size=öka/minska teckenstorlek av nuvarande post
about.shortcuts.go_to_all=go to the All view ####### Needs translation
about.shortcuts.go_to_starred=go to the Starred view ####### Needs translation
about.shortcuts.feed_search=navigera till en prenumeration via prenumerationsnamn

View File

@@ -138,5 +138,7 @@ about.shortcuts.mark_all_as_read=tümünü okundu işaretle
about.shortcuts.open_in_new_tab_mark_as_read=öğeyi yeni bir sekmede aç ve okundu işaretle
about.shortcuts.fullscreen=toggle full screen mode ####### Needs translation
about.shortcuts.font_size=increase/decrease font size of the current entry ####### Needs translation
about.shortcuts.go_to_all=go to the All view ####### Needs translation
about.shortcuts.go_to_starred=go to the Starred view ####### Needs translation
about.shortcuts.feed_search=abonelik ismini yazarak aboneliğe git

View File

@@ -138,5 +138,7 @@ about.shortcuts.mark_all_as_read=标记所有条目为已读
about.shortcuts.open_in_new_tab_mark_as_read=在新的窗口中打开条目并标记为已读
about.shortcuts.fullscreen=toggle full screen mode ####### Needs translation
about.shortcuts.font_size=increase/decrease font size of the current entry ####### Needs translation
about.shortcuts.go_to_all=go to the All view ####### Needs translation
about.shortcuts.go_to_starred=go to the Starred view ####### Needs translation
about.shortcuts.feed_search=输入订阅名称来导航至相应订阅

View File

@@ -608,6 +608,26 @@ function($scope, $state, $filter, $timeout, CategoryService) {
$scope.feedSearchModal = false;
};
Mousetrap.bind('g a', function(e) {
$scope.$apply(function() {
$state.transitionTo('feeds.view', {
_type : 'category',
_id : 'all'
});
});
return false;
});
Mousetrap.bind('g s', function(e) {
$scope.$apply(function() {
$state.transitionTo('feeds.view', {
_type : 'category',
_id : 'starred'
});
});
return false;
});
Mousetrap.bind('g u', function(e) {
$scope.$apply(function() {
$scope.open();

View File

@@ -47,6 +47,13 @@
<dt>+,-</dt>
<dd>${about.shortcuts.font_size}</dd>
<dt>g <i class="icon-arrow-right"></i> a</dt>
<dd>${about.shortcuts.go_to_all}</dd>
<dt>g <i class="icon-arrow-right"></i> s</dt>
<dd>${about.shortcuts.go_to_starred}</dd>
<dt>g <i class="icon-arrow-right"></i> u</dt>
<dd>${about.shortcuts.feed_search}</dd>
</dl>