1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 11:42:16 -05:00

Add back select/deselect action to return it to the context menu where users keep looking

This commit is contained in:
Jesse Vincent 2013-08-16 16:16:09 -04:00
parent 77d26af7aa
commit 99e354bc9f
24 changed files with 60 additions and 0 deletions

View File

@ -1,5 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:id="@+id/select"
android:title="@string/select_action"/>
<item android:id="@+id/deselect"
android:title="@string/deselect_action"/>
<item
android:id="@+id/reply_all"
android:title="@string/reply_all_action"/>

View File

@ -118,6 +118,8 @@ Si us plau, envia\'ns els errors, contribueix a millorar-lo a
<string name="cancel_action">Cancel·la</string>
<string name="send_action">Envia</string>
<string name="send_again_action">Torna a enviar</string>
<string name="select_action">Selecciona</string>
<string name="deselect_action">Desselecciona</string>
<string name="reply_action">Respon</string>
<string name="reply_all_action">Respon a tothom</string>
<string name="delete_action">Esborra</string>

View File

@ -122,6 +122,8 @@ Posílejte prosím chybová hlášení, přispívejte novými funkcemi a ptejte
<string name="cancel_action">Zrušit</string>
<string name="send_action">Odeslat</string>
<string name="send_again_action">Odeslat znovu</string>
<string name="select_action">Vybrat</string>
<string name="deselect_action">Zrušit výběr</string>
<string name="reply_action">Odpovědět</string>
<string name="reply_all_action">Odpovědět všem</string>
<string name="delete_action">Smazat</string>

View File

@ -118,6 +118,8 @@ Vær venlig at sende fejlrapporter, anmodning om nye funktioner, og spørgsmål
<string name="cancel_action">Fortryd</string>
<string name="send_action">Send</string>
<string name="send_again_action">Send igen</string>
<string name="select_action">Vælg</string>
<string name="deselect_action">Fravælg</string>
<string name="reply_action">Svar</string>
<string name="reply_all_action">Svar alle</string>
<string name="delete_action">Slet</string>

View File

@ -117,6 +117,8 @@ Um Fehler zu melden, neue Funktionen vorzuschlagen oder Fragen zu stellen, besuc
<string name="cancel_action">Abbrechen</string>
<string name="send_action">Senden</string>
<string name="send_again_action">Erneut senden</string>
<string name="select_action">Auswählen</string>
<string name="deselect_action">Abwählen</string>
<string name="reply_action">Antworten</string>
<string name="reply_all_action">Allen antworten</string>
<string name="delete_action">Löschen</string>

View File

@ -117,6 +117,8 @@
<string name="cancel_action">Άκυρο</string>
<string name="send_action">Αποστολή</string>
<string name="send_again_action">Αποστολή πάλι</string>
<string name="select_action">Επιλογή</string>
<string name="deselect_action">Απο-επιλογή</string>
<string name="reply_action">Απάντηση</string>
<string name="reply_all_action">Απάντηση σε όλους</string>
<string name="delete_action">Διαγραφή</string>

View File

@ -118,6 +118,8 @@ Por favor, envía los errores detectados, contribuye con nuevas funcionalidades
<string name="cancel_action">Cancelar</string>
<string name="send_action">Enviar</string>
<string name="send_again_action">Reenviar al remitente</string>
<string name="select_action">Seleccionar</string>
<string name="deselect_action">Deseleccionar</string>
<string name="reply_action">Responder</string>
<string name="reply_all_action">Responder a todos</string>
<string name="delete_action">Borrar</string>

View File

@ -119,6 +119,8 @@ Virheraportit, osallistuminen projektiin ja kysymykset: Mene osoitteeseen
<string name="cancel_action">Peruuta</string>
<string name="send_action">Lähetä</string>
<string name="send_again_action">Lähetä uudelleen</string>
<string name="select_action">Valitse</string>
<string name="deselect_action">Poista valinta</string>
<string name="reply_action">Vastaa</string>
<string name="reply_all_action">Vastaa kaikille</string>
<string name="delete_action">Poista</string>

View File

@ -118,6 +118,8 @@ Por favor, envía os erros detectados, contribúe con novas funcionalidas e preg
<string name="cancel_action">Cancelar</string>
<string name="send_action">Enviar</string>
<string name="send_again_action">Volver a enviar</string>
<string name="select_action">Seleccionar</string>
<string name="deselect_action">Deseleccionar</string>
<string name="reply_action">Responder</string>
<string name="reply_all_action">Responder a todos</string>
<string name="delete_action">Borrar</string>

View File

@ -119,6 +119,8 @@ Hibajelentéseivel hozzájárul az újabb verziók tökéletesítéséhez, kérd
<string name="cancel_action">Mégse</string>
<string name="send_action">Küldés</string>
<string name="send_again_action">Újraküldés</string>
<string name="select_action">Megjelöl</string>
<string name="deselect_action">Nem jelöl</string>
<string name="reply_action">Válasz</string>
<string name="reply_all_action">Válasz mindenkinek</string>
<string name="delete_action">Törlés</string>

View File

@ -118,6 +118,8 @@
<string name="cancel_action">ביטול</string>
<string name="send_action">שלח</string>
<string name="send_again_action">שלח שוב</string>
<string name="select_action">בחר</string>
<string name="deselect_action">בטל בחירה</string>
<string name="reply_action">השב</string>
<string name="reply_all_action">השב על הכל</string>
<string name="delete_action">מחק</string>

View File

@ -118,6 +118,8 @@ K-9 は大多数のメールクライアントと同様に、ほとんどのフ
<string name="cancel_action">キャンセル</string>
<string name="send_action">送信</string>
<string name="send_again_action">再編集</string>
<string name="select_action">選択</string>
<string name="deselect_action">選択解除</string>
<string name="reply_action">返信</string>
<string name="reply_all_action">全員に返信</string>
<string name="delete_action">削除</string>

View File

@ -117,6 +117,8 @@ K-9 메일은 대부분의 무료 hotmail 계정을 지원하지 않으며, 다
<string name="cancel_action">취소</string>
<string name="send_action">전송</string>
<string name="send_again_action">재전송</string>
<string name="select_action">선택</string>
<string name="deselect_action">선택 해제</string>
<string name="reply_action">회신</string>
<string name="reply_all_action">전체회신</string>
<string name="delete_action">지우기</string>

View File

@ -118,6 +118,8 @@ Graag foutrapporten, bijdrage nieuwe functies en vragen stellen op
<string name="cancel_action">Annuleren</string>
<string name="send_action">Verzenden</string>
<string name="send_again_action">Opnieuw Verzenden</string>
<string name="select_action">Selecteren</string>
<string name="deselect_action">Annuleer selectie</string>
<string name="reply_action">Antwoorden</string>
<string name="reply_all_action">Iedereen antwoorden</string>
<string name="delete_action">Verwijderen</string>

View File

@ -128,6 +128,8 @@ Wszelkie zgłoszenia usterek, zapytania oraz nowe pomysły prosimy przesyłać z
<string name="cancel_action">Anuluj</string>
<string name="send_action">Wyślij</string>
<string name="send_again_action">Prześlij ponownie</string>
<string name="select_action">Zaznacz</string>
<string name="deselect_action">Odznacz</string>
<string name="reply_action">Odpowiedz</string>
<string name="reply_all_action">Odpowiedz wszystkim</string>
<string name="delete_action">Usuń</string>

View File

@ -118,6 +118,8 @@ Por favor, nos envie relatórios de bugs, contribua para novas melhorias e faça
<string name="cancel_action">Cancelar</string>
<string name="send_action">Enviar</string>
<string name="send_again_action">Reenviar</string>
<string name="select_action">Selecionar</string>
<string name="deselect_action">Desselecionar</string>
<string name="reply_action">Responder</string>
<string name="reply_all_action">Responder a todos</string>
<string name="delete_action">Excluir</string>

View File

@ -119,6 +119,8 @@ K-9 Mail — почтовый клиент для Android.
<string name="cancel_action">Отмена</string>
<string name="send_action">Отправить</string>
<string name="send_again_action">Редактировать</string>
<string name="select_action">Выбрать</string>
<string name="deselect_action">Сброс выбора</string>
<string name="reply_action">Ответить</string>
<string name="reply_all_action">Ответить всем</string>
<string name="delete_action">Удалить</string>

View File

@ -118,6 +118,8 @@ Vänligen skicka felrapporter, hjälp till med nya funktioner och ställ frågor
<string name="cancel_action">Avbryt</string>
<string name="send_action">Skicka</string>
<string name="send_again_action">Skicka igen</string>
<string name="select_action">Markera</string>
<string name="deselect_action">Avmarkera</string>
<string name="reply_action">Svara</string>
<string name="reply_all_action">Svara alla</string>
<string name="delete_action">Radera</string>

View File

@ -118,6 +118,8 @@ Lütfen hata raporlarınızı, istediğiniz yeni özellikleri ve sorularınızı
<string name="cancel_action">İptal</string>
<string name="send_action">Gönder</string>
<string name="send_again_action">Tekrar Gönder</string>
<string name="select_action">Seç</string>
<string name="deselect_action">Kaldır</string>
<string name="reply_action">Cevap</string>
<string name="reply_all_action">Hepsini Cevapla</string>
<string name="delete_action">Sil</string>

View File

@ -118,6 +118,8 @@ K-9 Mail це поштовий клієнт з відкритим вихідни
<string name="cancel_action">Відмінити</string>
<string name="send_action">Надіслати</string>
<string name="send_again_action">Надіслати знову</string>
<string name="select_action">Вибрати</string>
<string name="deselect_action">Скасувати вибір</string>
<string name="reply_action">Відповісти</string>
<string name="reply_all_action">Відповісти всім</string>
<string name="delete_action">Видалити</string>

View File

@ -117,6 +117,8 @@ K-9改进的功能包括
<string name="cancel_action">取消</string>
<string name="send_action">发送</string>
<string name="send_again_action">重新发送</string>
<string name="select_action">选择</string>
<string name="deselect_action">取消选择</string>
<string name="reply_action">回复</string>
<string name="reply_all_action">全部回复</string>
<string name="delete_action">删除</string>

View File

@ -91,6 +91,8 @@
<string name="cancel_action">取消</string>
<string name="send_action">寄送</string>
<string name="send_again_action">再次寄送</string>
<string name="select_action">選擇</string>
<string name="deselect_action">取消選擇</string>
<string name="reply_action">回覆</string>
<string name="reply_all_action">全部回覆</string>
<string name="delete_action">刪除</string>

View File

@ -123,6 +123,8 @@ Please submit bug reports, contribute new features and ask questions at
<string name="cancel_action">Cancel</string>
<string name="send_action">Send</string>
<string name="send_again_action">Send Again</string>
<string name="select_action">Select</string>
<string name="deselect_action">Deselect</string>
<string name="reply_action">Reply</string>
<string name="reply_all_action">Reply all</string>
<string name="delete_action">Delete</string>

View File

@ -1474,6 +1474,11 @@ public class MessageListFragment extends SherlockFragment implements OnItemClick
}
switch (item.getItemId()) {
case R.id.deselect:
case R.id.select: {
toggleMessageSelectWithAdapterPosition(adapterPosition);
break;
}
case R.id.reply: {
Message message = getMessageAtPosition(adapterPosition);
onReply(message);
@ -1581,6 +1586,12 @@ public class MessageListFragment extends SherlockFragment implements OnItemClick
menu.setHeaderTitle(subject);
if( mSelected.contains(mContextMenuUniqueId)) {
menu.findItem(R.id.select).setVisible(false);
} else {
menu.findItem(R.id.deselect).setVisible(false);
}
if (read) {
menu.findItem(R.id.mark_as_read).setVisible(false);
} else {