1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-24 08:38:51 -05:00

Merge branch 'hardcoded_outbox' into HEAD

This commit is contained in:
cketti 2011-02-20 05:14:22 +01:00
commit ad159b3093
26 changed files with 51 additions and 75 deletions

View File

@ -182,7 +182,6 @@
<string name="special_mailbox_name_spam">Brossa</string>
<!-- Mailbox names displayed to user -->
<string name="special_mailbox_name_outbox_fmt"><xliff:g id="folder">%s</xliff:g> (Bústia de sortida)</string>
<string name="special_mailbox_name_drafts_fmt"><xliff:g id="folder">%s</xliff:g> (Esborranys)</string>
<string name="special_mailbox_name_trash_fmt"><xliff:g id="folder">%s</xliff:g> (Paperera)</string>
<string name="special_mailbox_name_sent_fmt"><xliff:g id="folder">%s</xliff:g> (Enviat)</string>
@ -435,7 +434,6 @@ Benvingut a la configuració del K-9. El K-9 és un client de codi obert per An
<string name="trash_folder_label">Carpeta paperera</string>
<string name="archive_folder_label">Carpeta arxiu</string>
<string name="spam_folder_label">Carpeta brossa</string>
<string name="outbox_folder_label">Carpeta sortida</string>
<string name="account_setup_incoming_subscribed_folders_only_label">Només mostra carpetes subscrites</string>
<string name="account_setup_auto_expand_folder">Autoexpandeix carpeta</string>

View File

@ -186,7 +186,6 @@
<string name="special_mailbox_name_spam">Nevyžádaná</string>
<!-- Mailbox names displayed to user -->
<string name="special_mailbox_name_outbox_fmt"><xliff:g id="folder">%s</xliff:g> (K odeslání)</string>
<string name="special_mailbox_name_drafts_fmt"><xliff:g id="folder">%s</xliff:g> (Koncepty)</string>
<string name="special_mailbox_name_trash_fmt"><xliff:g id="folder">%s</xliff:g> (Koš)</string>
<string name="special_mailbox_name_sent_fmt"><xliff:g id="folder">%s</xliff:g> (Odeslaná)</string>
@ -440,7 +439,6 @@ Vítejte v nastavení pošty K-9 Mail. K-9 je open source poštovní klient pro
<string name="trash_folder_label">Název složky Koš</string>
<string name="archive_folder_label">Název složky Archív</string>
<string name="spam_folder_label">Název složky Nevyžádaná</string>
<string name="outbox_folder_label">Název složky K odeslání</string>
<string name="account_setup_incoming_subscribed_folders_only_label">Zobrazit jen odebírané složky</string>
<string name="account_setup_auto_expand_folder">Aut. rozbalená složka</string>

View File

@ -182,7 +182,6 @@
<string name="special_mailbox_name_spam">Spam</string>
<!-- Mailbox names displayed to user -->
<string name="special_mailbox_name_outbox_fmt"><xliff:g id="folder">%s</xliff:g> (Postausgang)</string>
<string name="special_mailbox_name_drafts_fmt"><xliff:g id="folder">%s</xliff:g> (Entwürfe)</string>
<string name="special_mailbox_name_trash_fmt"><xliff:g id="folder">%s</xliff:g> (Papierkorb)</string>
<string name="special_mailbox_name_sent_fmt"><xliff:g id="folder">%s</xliff:g> (Gesendet)</string>
@ -432,7 +431,6 @@ Willkommen zum \"K-9 Mail\"-Setup. K-9 ist eine quelloffene E-Mail-Anwendung fü
<string name="trash_folder_label">Ordner für gelöschte Objekte</string>
<string name="archive_folder_label">Ordner für archivierte Objekte</string>
<string name="spam_folder_label">Ordner für Spam</string>
<string name="outbox_folder_label">Ordner für ausgehende Objekte</string>
<string name="account_setup_incoming_subscribed_folders_only_label">Nur ausgewählte Ordner anzeigen</string>
<string name="account_setup_auto_expand_folder">Startordner</string>

View File

@ -180,7 +180,6 @@
<string name="special_mailbox_name_spam">Spam</string>
<!-- Mailbox names displayed to user -->
<string name="special_mailbox_name_outbox_fmt"><xliff:g id="folder">%s</xliff:g> (Salida)</string>
<string name="special_mailbox_name_drafts_fmt"><xliff:g id="folder">%s</xliff:g> (Borradores)</string>
<string name="special_mailbox_name_trash_fmt"><xliff:g id="folder">%s</xliff:g> (Papelera)</string>
<string name="special_mailbox_name_sent_fmt"><xliff:g id="folder">%s</xliff:g> (Enviados)</string>
@ -433,7 +432,6 @@ Bienvenido a la Configuración de K-9. K-9 es un cliente de correo OpenSource pa
<string name="trash_folder_label">Carpeta Papelera</string>
<string name="archive_folder_label">Carpeta Archivados</string>
<string name="spam_folder_label">Carpeta SPAM</string>
<string name="outbox_folder_label">Carpeta Salida</string>
<string name="account_setup_incoming_subscribed_folders_only_label">Ver sólo carpteas suscritas</string>
<string name="account_setup_auto_expand_folder">Autoexpandir carpeta</string>

View File

@ -181,7 +181,6 @@
<string name="special_mailbox_name_spam">Roskaposti</string>
<!-- Mailbox names displayed to user -->
<string name="special_mailbox_name_outbox_fmt"><xliff:g id="folder">%s</xliff:g> (Lähtevät)</string>
<string name="special_mailbox_name_drafts_fmt"><xliff:g id="folder">%s</xliff:g> (Luonnokset)</string>
<string name="special_mailbox_name_trash_fmt"><xliff:g id="folder">%s</xliff:g> (Roskakori)</string>
<string name="special_mailbox_name_sent_fmt"><xliff:g id="folder">%s</xliff:g> (Lähetetyt)</string>
@ -431,7 +430,6 @@ Tervetuloa K-9 Mail asennukseen.  K-9 on avoimen lähdekoodin sähköpostiasiak
<string name="trash_folder_label">Roskakori-kansio</string>
<string name="archive_folder_label">Arkisto-kansio</string>
<string name="spam_folder_label">Roskaposti-kansio</string>
<string name="outbox_folder_label">Lähtevät-kansio</string>
<string name="account_setup_incoming_subscribed_folders_only_label">Näytä vain tilatut kansiot</string>
<string name="account_setup_auto_expand_folder">Aukaise kansio automaattisesti</string>

View File

@ -173,7 +173,6 @@
<string name="special_mailbox_name_archive">Archive</string>
<string name="special_mailbox_name_spam">Spams</string>
<string name="special_mailbox_name_outbox_fmt"><xliff:g id="folder">%s</xliff:g> (Boîte d\'envoi)</string>
<string name="special_mailbox_name_drafts_fmt"><xliff:g id="folder">%s</xliff:g> (Brouillons)</string>
<string name="special_mailbox_name_trash_fmt"><xliff:g id="folder">%s</xliff:g> (Corbeille)</string>
<string name="special_mailbox_name_sent_fmt"><xliff:g id="folder">%s</xliff:g> (Envoyés)</string>
@ -270,7 +269,7 @@
<string name="message_view_show_pictures_action">Afficher les images</string>
<string name="message_view_fetching_attachment_toast">Récupération de la pièce jointe.</string>
<string name="message_view_no_viewer">Impossible de trouver un visualisateur pour <xliff:g id="mimetype">%s</xliff:g>.</string>
<string name="message_view_download_remainder">Télécharger le message complet</string>
<string name="message_additional_headers_not_downloaded">Les entêtes n\'ont pas toutes été téléchargées ou enregistrées. Sélectionnez «\u00A0Enregistrer toutes les entêtes localement\u00A0» dans les paramètres du serveur entrant pour activer cette fonction.</string>
@ -394,7 +393,6 @@
<string name="trash_folder_label">Nom du dossier de la corbeille</string>
<string name="archive_folder_label">Nom du dossier des archives</string>
<string name="spam_folder_label">Nom du dossier des spams</string>
<string name="outbox_folder_label">Nom du dossier de la boîte d\'envoi</string>
<string name="account_setup_incoming_subscribed_folders_only_label">Afficher seulement les dossiers auxquels je suis abonné</string>
<string name="account_setup_auto_expand_folder">Ouvrir automatiquement le dossier</string>
<string name="account_setup_incoming_webdav_path_prefix_label">Chemin WebDAV (Exchange)</string>
@ -520,7 +518,7 @@
<string name="account_settings_crypto_app_not_available">Non disponible</string>
<string name="account_settings_crypto_auto_signature">Signature automatique</string>
<string name="account_settings_crypto_auto_signature_summary">Utiliser l\'adresse e-mail du compte pour déduire la clé de signature</string>
<string name="account_settings_mail_check_frequency_label">Fréquence de vérification du dossier</string>
<string name="account_settings_second_class_check_frequency_label">Fréquence de vérification pour 2ème classe</string>
@ -625,7 +623,7 @@
<string name="account_settings_led_label">Clignotement DEL</string>
<string name="account_settings_led_summary">Clignotement de la DEL quand un message arrive</string>
<string name="account_settings_servers">Paramètres du serveur</string>
<string name="account_settings_composition_title">Options de composition</string>
<string name="account_settings_composition_label">Défauts pour la composition</string>
@ -662,7 +660,7 @@
<string name="choose_identity_title">Choisir l\'identité</string>
<string name="choose_account_title">Choisir le compte/l\'identité</string>
<string name="send_as">Envoyer en tant que</string>
<string name="no_identities">Aller dans Paramètres du compte &gt; Gérer les identités pour créer des identités</string>
<string name="no_removable_identity">Vous ne pouvez votre seule identité</string>
<string name="identity_has_no_email">Vous ne pouvez pas utiliser une identité sans adresse e-mail</string>

View File

@ -180,7 +180,6 @@
<string name="special_mailbox_name_spam">Spam</string>
<!-- Mailbox names displayed to user -->
<string name="special_mailbox_name_outbox_fmt"><xliff:g id="folder">%s</xliff:g> (Saída)</string>
<string name="special_mailbox_name_drafts_fmt"><xliff:g id="folder">%s</xliff:g> (Borradores)</string>
<string name="special_mailbox_name_trash_fmt"><xliff:g id="folder">%s</xliff:g> (Lixo)</string>
<string name="special_mailbox_name_sent_fmt"><xliff:g id="folder">%s</xliff:g> (Enviados)</string>
@ -433,7 +432,6 @@ Benvido á Configuración de K-9. K-9 é un cliente de correo OpenSource para An
<string name="trash_folder_label">Carpeta Lixo</string>
<string name="archive_folder_label">Carpeta Arquivados</string>
<string name="spam_folder_label">Carpeta SPAM</string>
<string name="outbox_folder_label">Carpeta Saída</string>
<string name="account_setup_incoming_subscribed_folders_only_label">Ver só carpetas suscritas</string>
<string name="account_setup_auto_expand_folder">Autoexpandir carpeta</string>

View File

@ -140,7 +140,7 @@
<string name="status_loading_more_failed">Riprova a caricare altri messaggi</string>
<string name="load_more_messages_fmt">Scarica altri
<string name="load_more_messages_fmt">Scarica altri
<xliff:g id="messages_to_load">%d</xliff:g> messaggi</string>
<string name="abbrev_gigabytes">GB</string>
@ -182,7 +182,6 @@
<string name="special_mailbox_name_spam">Spam</string>
<!-- Mailbox names displayed to user -->
<string name="special_mailbox_name_outbox_fmt"><xliff:g id="folder">%s</xliff:g> (Posta in uscita)</string>
<string name="special_mailbox_name_drafts_fmt"><xliff:g id="folder">%s</xliff:g> (Bozze)</string>
<string name="special_mailbox_name_trash_fmt"><xliff:g id="folder">%s</xliff:g> (Cestino)</string>
<string name="special_mailbox_name_sent_fmt"><xliff:g id="folder">%s</xliff:g> (Posta inviata)</string>
@ -216,7 +215,7 @@ Benvenuto nella configurazione della posta di K-9. K-9 è un client di posta ope
\n * Sottoscrizioni delle cartelle
\n * Sincronizzazione di tutte le cartelle
\n * Configurazione dell\'indirizzo per le risposte
\n * Tasti di scelta rapida
\n * Tasti di scelta rapida
\n * Miglior supporto IMAP
\n * Salvataggio degli allegati nella SD
\n * Possibilità di svuotare il cestino
@ -435,7 +434,6 @@ Benvenuto nella configurazione della posta di K-9. K-9 è un client di posta ope
<string name="trash_folder_label">Cartella Cestino</string>
<string name="archive_folder_label">Cartella Archivio</string>
<string name="spam_folder_label">Cartella Spam</string>
<string name="outbox_folder_label">Cartella Posta in uscita</string>
<string name="account_setup_incoming_subscribed_folders_only_label">Mostra solo le cartelle sottoscritte</string>
<string name="account_setup_auto_expand_folder">Auto-espandi cartella</string>

View File

@ -180,7 +180,6 @@
<string name="special_mailbox_name_spam">迷惑メール</string>
<!-- Mailbox names displayed to user -->
<string name="special_mailbox_name_outbox_fmt"><xliff:g id="folder">%s</xliff:g> (送信トレイ)</string>
<string name="special_mailbox_name_drafts_fmt"><xliff:g id="folder">%s</xliff:g> (下書き)</string>
<string name="special_mailbox_name_trash_fmt"><xliff:g id="folder">%s</xliff:g> (ゴミ箱)</string>
<string name="special_mailbox_name_sent_fmt"><xliff:g id="folder">%s</xliff:g> (送信済み)</string>
@ -433,7 +432,6 @@ K-9 Mail セットアップにようこそ。\nK-9 は標準のAndroidメール
<string name="trash_folder_label">ゴミ箱フォルダ名</string>
<string name="archive_folder_label">アーカイブフォルダ名</string>
<string name="spam_folder_label">迷惑メールフォルダ名</string>
<string name="outbox_folder_label">送信トレイフォルダ名</string>
<string name="account_setup_incoming_subscribed_folders_only_label">購読フォルダのみ表示</string>
<string name="account_setup_auto_expand_folder">自動表示フォルダ</string>

View File

@ -181,7 +181,6 @@
<string name="special_mailbox_name_spam">Spam</string>
<!-- Mailbox names displayed to user -->
<string name="special_mailbox_name_outbox_fmt"><xliff:g id="folder">%s</xliff:g> (Postvak uit)</string>
<string name="special_mailbox_name_drafts_fmt"><xliff:g id="folder">%s</xliff:g> (Concepten)</string>
<string name="special_mailbox_name_trash_fmt"><xliff:g id="folder">%s</xliff:g> (Prullenbak)</string>
<string name="special_mailbox_name_sent_fmt"><xliff:g id="folder">%s</xliff:g> (Verzonden)</string>
@ -191,7 +190,7 @@
<string name="send_failure_subject">Fout bij verzenden van berichten</string>
<string name="send_failure_body_abbrev">Bekijk je <xliff:g id="errorFolder">%s</xliff:g> map voor details.</string>
<string name="send_failure_body_fmt">K-9 ondervond een probleem bij het verzenden van sommige berichten.
Echter, vanwege de aard van het probleem, kan K-9 niet zeker zeggen of de berichten werden verzonden of niet.
Echter, vanwege de aard van het probleem, kan K-9 niet zeker zeggen of de berichten werden verzonden of niet.
De ontvangers kunnen al kopieen van het bericht hebben ontvangen.
\u000a\u000aDe berichten waarbij dit probleem is geconstateerd, zijn nu gemerkt met een ster in het postvak uit.
Als je de sterren verwijderd, zal K-9 opnieuw proberen de berichten te verzenden.
@ -221,7 +220,7 @@ Welkom bij K-9 Mail setup. K-9 is een open source mail cliënt voor Android, ge
\n * Prullenbak legen
\n * Berichten sorteren
\n * ...en meer
\n
\n
\nHoud er rekening mee dat K-9 de meeste gratis Hotmail-accounts niet ondersteund, en net als veel e-mailclients, problemen kan hebben om te verbinden met Microsoft Exchange.
\n
\n Graag foutrapporten, bijdrage nieuwe functies en vragen stellen op http://k9mail.googlecode.com/
@ -434,7 +433,6 @@ Welkom bij K-9 Mail setup. K-9 is een open source mail cliënt voor Android, ge
<string name="trash_folder_label">Prullenbak map naam</string>
<string name="archive_folder_label">Archief map naam</string>
<string name="spam_folder_label">Spam map naam</string>
<string name="outbox_folder_label">Postvak uit map naam</string>
<string name="account_setup_incoming_subscribed_folders_only_label">Laat alleen geabonneerde mappen zien</string>
<string name="account_setup_auto_expand_folder">Auto-uitbreiden mappen</string>

View File

@ -189,8 +189,7 @@
<!-- NEW: <string name="special_mailbox_name_spam">Spam</string>-->
<!-- Mailbox names displayed to user -->
<string name="special_mailbox_name_outbox_fmt"><xliff:g id="folder">%s</xliff:g> (Do wysłania)</string>
<string name="special_mailbox_name_drafts_fmt"><xliff:g id="folder">%s</xliff:g> (Szkice)</string>
<string name="special_mailbox_name_drafts_fmt"><xliff:g id="folder">%s</xliff:g> (Szkice)</string>
<string name="special_mailbox_name_trash_fmt"><xliff:g id="folder">%s</xliff:g> (Śmietnik)</string>
<string name="special_mailbox_name_sent_fmt"><xliff:g id="folder">%s</xliff:g> (Wysłane)</string>
<!-- NEW: <string name="special_mailbox_name_archive_fmt"><xliff:g id="folder">%s</xliff:g> (Archive)</string>-->
@ -444,7 +443,6 @@ Witaj w K-9 Mail, darmowym programie pocztowym dla systemu Android. Najistotniej
<string name="trash_folder_label">Trash folder name</string>
<!-- NEW: <string name="archive_folder_label">Archive folder</string>-->
<!-- NEW: <string name="spam_folder_label">Spam folder</string>-->
<string name="outbox_folder_label">Outbox folder name</string>
<string name="account_setup_incoming_subscribed_folders_only_label">Pokaż tylko subskrybowane foldery</string>
<string name="account_setup_auto_expand_folder">Zawsze rozwijaj folder</string>

View File

@ -178,7 +178,6 @@
<string name="special_mailbox_name_spam">Spam</string>
<!-- Mailbox names displayed to user -->
<string name="special_mailbox_name_outbox_fmt"><xliff:g id="folder">%s</xliff:g> (Saída)</string>
<string name="special_mailbox_name_drafts_fmt"><xliff:g id="folder">%s</xliff:g> (Rascunhos)</string>
<string name="special_mailbox_name_trash_fmt"><xliff:g id="folder">%s</xliff:g> (Lixo)</string>
<string name="special_mailbox_name_sent_fmt"><xliff:g id="folder">%s</xliff:g> (Enviado)</string>
@ -431,7 +430,6 @@ Bem-vindo à configuração do K-9 Mail. K-9 é um cliente de e-mail com código
<string name="trash_folder_label">Pasta de lixo</string>
<string name="archive_folder_label">Pasta de arquivo</string>
<string name="spam_folder_label">Pasta de Spam</string>
<string name="outbox_folder_label">Pasta de saída</string>
<string name="account_setup_incoming_subscribed_folders_only_label">Mostrar apenas pastas subscritas</string>
<string name="account_setup_auto_expand_folder">Auto-expandir pastas</string>

View File

@ -182,7 +182,6 @@
<!-- NEW: <string name="special_mailbox_name_spam">Spam</string>-->
<!-- Mailbox names displayed to user -->
<string name="special_mailbox_name_outbox_fmt"><xliff:g id="folder">%s</xliff:g> (Исходящие)</string>
<string name="special_mailbox_name_drafts_fmt"><xliff:g id="folder">%s</xliff:g> (Черновики)</string>
<string name="special_mailbox_name_trash_fmt"><xliff:g id="folder">%s</xliff:g> (Мусор)</string>
<string name="special_mailbox_name_sent_fmt"><xliff:g id="folder">%s</xliff:g> (Отправленные)</string>
@ -433,7 +432,6 @@
<string name="trash_folder_label">Имя папки Мусора</string>
<!-- NEW: <string name="archive_folder_label">Archive folder</string>-->
<!-- NEW: <string name="spam_folder_label">Spam folder</string>-->
<string name="outbox_folder_label">Имя папки Исходящиx</string>
<!-- NEW: <string name="account_setup_incoming_subscribed_folders_only_label">Show only subscribed folders</string>-->
<string name="account_setup_auto_expand_folder">Автоматически открывать папку</string>

View File

@ -182,7 +182,6 @@
<string name="special_mailbox_name_spam">Skräppost</string>
<!-- Mailbox names displayed to user -->
<string name="special_mailbox_name_outbox_fmt"><xliff:g id="folder">%s</xliff:g> (Utkorg)</string>
<string name="special_mailbox_name_drafts_fmt"><xliff:g id="folder">%s</xliff:g> (Utkast)</string>
<string name="special_mailbox_name_trash_fmt"><xliff:g id="folder">%s</xliff:g> (Papperskorg)</string>
<string name="special_mailbox_name_sent_fmt"><xliff:g id="folder">%s</xliff:g> (Skickat)</string>
@ -435,7 +434,6 @@ Välkommen till installationen av K-9 E-post. K-9 är en e-postklient med öppen
<string name="trash_folder_label">Namn på papperskorgen</string>
<string name="archive_folder_label">Namn på arkivmapp</string>
<string name="spam_folder_label">Namn på skräpmapp</string>
<string name="outbox_folder_label">Namn på utkorg</string>
<string name="account_setup_incoming_subscribed_folders_only_label">Visa endast prenumererade mappar</string>
<string name="account_setup_auto_expand_folder">Auto-expandera mapp</string>

View File

@ -175,7 +175,6 @@
<string name="special_mailbox_name_spam">垃圾邮件</string>
<!-- Mailbox names displayed to user -->
<string name="special_mailbox_name_outbox_fmt"><xliff:g id="folder">%s</xliff:g>(发件箱)</string>
<string name="special_mailbox_name_drafts_fmt"><xliff:g id="folder">%s</xliff:g>(草稿箱)</string>
<string name="special_mailbox_name_trash_fmt"><xliff:g id="folder">%s</xliff:g>(垃圾箱)</string>
<string name="special_mailbox_name_sent_fmt"><xliff:g id="folder">%s</xliff:g>(已发送)</string>
@ -422,7 +421,6 @@
<string name="trash_folder_label">垃圾箱名称</string>
<string name="archive_folder_label">归档文件夹名称</string>
<string name="spam_folder_label">垃圾邮件箱名称</string>
<string name="outbox_folder_label">已发送文件夹名称</string>
<string name="account_setup_incoming_subscribed_folders_only_label">只显示订阅的文件夹</string>
<string name="account_setup_auto_expand_folder">自动展开文件夹</string>

View File

@ -182,7 +182,6 @@
<string name="special_mailbox_name_spam">Spam</string>
<!-- Mailbox names displayed to user -->
<string name="special_mailbox_name_outbox_fmt"><xliff:g id="folder">%s</xliff:g> (Outbox)</string>
<string name="special_mailbox_name_drafts_fmt"><xliff:g id="folder">%s</xliff:g> (Drafts)</string>
<string name="special_mailbox_name_trash_fmt"><xliff:g id="folder">%s</xliff:g> (Trash)</string>
<string name="special_mailbox_name_sent_fmt"><xliff:g id="folder">%s</xliff:g> (Sent)</string>
@ -435,7 +434,6 @@ Welcome to K-9 Mail setup. K-9 is an open source mail client for Android origin
<string name="trash_folder_label">Trash folder</string>
<string name="archive_folder_label">Archive folder</string>
<string name="spam_folder_label">Spam folder</string>
<string name="outbox_folder_label">Outbox folder</string>
<string name="account_setup_incoming_subscribed_folders_only_label">Show only subscribed folders</string>
<string name="account_setup_auto_expand_folder">Auto-expand folder</string>

View File

@ -300,17 +300,12 @@
android:key="archive_folder"
android:title="@string/archive_folder_label"
android:dialogTitle="@string/archive_folder_label" />
<ListPreference
android:persistent="false"
android:key="drafts_folder"
android:title="@string/drafts_folder_label"
android:dialogTitle="@string/drafts_folder_label" />
<ListPreference
android:persistent="false"
android:key="outbox_folder"
android:title="@string/outbox_folder_label"
android:dialogTitle="@string/outbox_folder_label" />
<ListPreference
android:persistent="false"

View File

@ -85,7 +85,6 @@ public class Account implements BaseAccount {
private String mTrashFolderName;
private String mArchiveFolderName;
private String mSpamFolderName;
private String mOutboxFolderName;
private String mAutoExpandFolderName;
private FolderMode mFolderDisplayMode;
private FolderMode mFolderSyncMode;
@ -252,7 +251,6 @@ public class Account implements BaseAccount {
mTrashFolderName = prefs.getString(mUuid + ".trashFolderName", "Trash");
mArchiveFolderName = prefs.getString(mUuid + ".archiveFolderName", "Archive");
mSpamFolderName = prefs.getString(mUuid + ".spamFolderName", "Spam");
mOutboxFolderName = prefs.getString(mUuid + ".outboxFolderName", "Outbox");
mExpungePolicy = prefs.getString(mUuid + ".expungePolicy", EXPUNGE_IMMEDIATELY);
mSyncRemoteDeletions = prefs.getBoolean(mUuid + ".syncRemoteDeletions", true);
@ -396,7 +394,6 @@ public class Account implements BaseAccount {
editor.remove(mUuid + ".trashFolderName");
editor.remove(mUuid + ".archiveFolderName");
editor.remove(mUuid + ".spamFolderName");
editor.remove(mUuid + ".outboxFolderName");
editor.remove(mUuid + ".autoExpandFolderName");
editor.remove(mUuid + ".accountNumber");
editor.remove(mUuid + ".vibrate");
@ -493,7 +490,6 @@ public class Account implements BaseAccount {
editor.putString(mUuid + ".trashFolderName", mTrashFolderName);
editor.putString(mUuid + ".archiveFolderName", mArchiveFolderName);
editor.putString(mUuid + ".spamFolderName", mSpamFolderName);
editor.putString(mUuid + ".outboxFolderName", mOutboxFolderName);
editor.putString(mUuid + ".autoExpandFolderName", mAutoExpandFolderName);
editor.putInt(mUuid + ".accountNumber", mAccountNumber);
editor.putString(mUuid + ".hideButtonsEnum", mScrollMessageViewButtons.name());
@ -828,11 +824,7 @@ public class Account implements BaseAccount {
}
public synchronized String getOutboxFolderName() {
return mOutboxFolderName;
}
public synchronized void setOutboxFolderName(String outboxFolderName) {
mOutboxFolderName = outboxFolderName;
return K9.OUTBOX;
}
public synchronized String getAutoExpandFolderName() {

View File

@ -213,6 +213,11 @@ public class K9 extends Application {
*/
public static final String INBOX = "INBOX";
/**
* This local folder is used to store messages to be sent.
*/
public static final String OUTBOX = "OUTBOX";
/**
* For use when displaying that no folder is selected
*/

View File

@ -12,6 +12,7 @@ import com.fsck.k9.controller.MessagingListener;
import com.fsck.k9.service.MailService;
public class ActivityListener extends MessagingListener {
private Account mAccount = null;
private String mLoadingFolderName = null;
private String mLoadingHeaderFolderName = null;
private String mLoadingAccountDescription = null;
@ -37,6 +38,9 @@ public class ActivityListener extends MessagingListener {
if (K9.INBOX.equalsIgnoreCase(displayName)) {
displayName = context.getString(R.string.special_mailbox_name_inbox);
}
else if ((mAccount != null) && mAccount.getOutboxFolderName().equals(displayName)) {
displayName = context.getString(R.string.special_mailbox_name_outbox);
}
if (mLoadingHeaderFolderName != null) {
@ -82,6 +86,7 @@ public class ActivityListener extends MessagingListener {
int numNewMessages) {
mLoadingAccountDescription = null;
mLoadingFolderName = null;
mAccount = null;
informUserOfStatus();
}
@ -89,6 +94,7 @@ public class ActivityListener extends MessagingListener {
public void synchronizeMailboxStarted(Account account, String folder) {
mLoadingAccountDescription = account.getDescription();
mLoadingFolderName = folder;
mAccount = account;
mFolderCompleted = 0;
mFolderTotal = 0;
informUserOfStatus();
@ -131,6 +137,7 @@ public class ActivityListener extends MessagingListener {
String message) {
mLoadingAccountDescription = null;
mLoadingFolderName = null;
mAccount = null;
informUserOfStatus();
}

View File

@ -301,7 +301,7 @@ public class ChooseFolder extends K9ListActivity {
if (K9.INBOX.equalsIgnoreCase(name)) {
mAdapter.add(getString(R.string.special_mailbox_name_inbox));
heldInbox = name;
} else if (!K9.ERROR_FOLDER_NAME.equals(name)) {
} else if (!K9.ERROR_FOLDER_NAME.equals(name) && !account.getOutboxFolderName().equals(name)) {
mAdapter.add(name);
}

View File

@ -104,7 +104,7 @@ public class FolderInfoHolder implements Comparable<FolderInfoHolder> {
}
if (this.name.equals(account.getOutboxFolderName())) {
this.displayName = String.format(context.getString(R.string.special_mailbox_name_outbox_fmt), this.name);
this.displayName = context.getString(R.string.special_mailbox_name_outbox);
}
if (this.name.equals(account.getDraftsFolderName())) {

View File

@ -488,6 +488,8 @@ public class MessageList
if (K9.INBOX.equalsIgnoreCase(displayName)) {
displayName = getString(R.string.special_mailbox_name_inbox);
} else if (mAccount.getOutboxFolderName().equals(displayName)) {
displayName = getString(R.string.special_mailbox_name_outbox);
}
String dispString = mAdapter.mListener.formatHeader(MessageList.this, getString(R.string.message_list_title, mAccount.getDescription(), displayName), mUnreadMessageCount, getTimeFormat());

View File

@ -11,6 +11,7 @@ import android.preference.*;
import android.util.Log;
import android.view.KeyEvent;
import java.util.Iterator;
import java.util.Map;
import java.util.LinkedList;
import java.util.List;
@ -96,7 +97,6 @@ public class AccountSettings extends K9PreferenceActivity {
private static final String PREFERENCE_ARCHIVE_FOLDER = "archive_folder";
private static final String PREFERENCE_DRAFTS_FOLDER = "drafts_folder";
private static final String PREFERENCE_OUTBOX_FOLDER = "outbox_folder";
private static final String PREFERENCE_SENT_FOLDER = "sent_folder";
private static final String PREFERENCE_SPAM_FOLDER = "spam_folder";
private static final String PREFERENCE_TRASH_FOLDER = "trash_folder";
@ -157,7 +157,6 @@ public class AccountSettings extends K9PreferenceActivity {
private ListPreference mArchiveFolder;
private ListPreference mDraftsFolder;
private ListPreference mOutboxFolder;
private ListPreference mSentFolder;
private ListPreference mSpamFolder;
private ListPreference mTrashFolder;
@ -699,7 +698,6 @@ public class AccountSettings extends K9PreferenceActivity {
mAccount.setAutoExpandFolderName(reverseTranslateFolder(mAutoExpandFolder.getValue()));
mAccount.setArchiveFolderName(mArchiveFolder.getValue());
mAccount.setDraftsFolderName(mDraftsFolder.getValue());
mAccount.setOutboxFolderName(mOutboxFolder.getValue());
mAccount.setSentFolderName(mSentFolder.getValue());
mAccount.setSpamFolderName(mSpamFolder.getValue());
mAccount.setTrashFolderName(mTrashFolder.getValue());
@ -852,18 +850,26 @@ public class AccountSettings extends K9PreferenceActivity {
} catch (Exception e) {
/// this can't be checked in
}
allFolderValues = new String[folders.size()+2];
allFolderLabels = new String[folders.size()+2];
// TODO: In the future the call above should be changed to only return remote folders.
// For now we just remove the Outbox folder if present.
Iterator<? extends Folder> iter = folders.iterator();
while (iter.hasNext())
{
Folder folder = iter.next();
if (mAccount.getOutboxFolderName().equals(folder.getName()))
{
iter.remove();
}
}
allFolderValues = new String[folders.size()+1];
allFolderLabels = new String[folders.size()+1];
allFolderValues[0] = K9.FOLDER_NONE;
allFolderLabels[0] = K9.FOLDER_NONE;
// There's a non-zero chance that "outbox" won't actually exist, so we force it into the list
allFolderValues[1] = mAccount.getOutboxFolderName();
allFolderLabels[1] = mAccount.getOutboxFolderName();
int i = 2;
int i = 1;
for (Folder folder : folders) {
allFolderLabels[i] = folder.getName();
allFolderValues[i] = folder.getName();
@ -880,8 +886,6 @@ public class AccountSettings extends K9PreferenceActivity {
mArchiveFolder.setEnabled(false);
mDraftsFolder = (ListPreference)findPreference(PREFERENCE_DRAFTS_FOLDER);
mDraftsFolder.setEnabled(false);
mOutboxFolder = (ListPreference)findPreference(PREFERENCE_OUTBOX_FOLDER);
mOutboxFolder.setEnabled(false);
mSentFolder = (ListPreference)findPreference(PREFERENCE_SENT_FOLDER);
mSentFolder.setEnabled(false);
mSpamFolder = (ListPreference)findPreference(PREFERENCE_SPAM_FOLDER);
@ -896,14 +900,12 @@ public class AccountSettings extends K9PreferenceActivity {
initListPreference(mAutoExpandFolder, mAccount.getAutoExpandFolderName(), allFolderLabels, allFolderValues);
initListPreference(mArchiveFolder, mAccount.getArchiveFolderName(), allFolderLabels, allFolderValues);
initListPreference(mDraftsFolder, mAccount.getDraftsFolderName(), allFolderLabels, allFolderValues);
initListPreference(mOutboxFolder, mAccount.getOutboxFolderName(), allFolderLabels, allFolderValues);
initListPreference(mSentFolder, mAccount.getSentFolderName(), allFolderLabels, allFolderValues);
initListPreference(mSpamFolder, mAccount.getSpamFolderName(), allFolderLabels, allFolderValues);
initListPreference(mTrashFolder, mAccount.getTrashFolderName(), allFolderLabels, allFolderValues);
mAutoExpandFolder.setEnabled(true);
mArchiveFolder.setEnabled(true);
mDraftsFolder.setEnabled(true);
mOutboxFolder.setEnabled(true);
mSentFolder.setEnabled(true);
mSpamFolder.setEnabled(true);
mTrashFolder.setEnabled(true);

View File

@ -233,7 +233,6 @@ public class AccountSetupBasics extends K9Activity
mAccount.setTrashFolderName(getString(R.string.special_mailbox_name_trash));
mAccount.setArchiveFolderName(getString(R.string.special_mailbox_name_archive));
mAccount.setSpamFolderName(getString(R.string.special_mailbox_name_spam));
mAccount.setOutboxFolderName(getString(R.string.special_mailbox_name_outbox));
mAccount.setSentFolderName(getString(R.string.special_mailbox_name_sent));
AccountSetupCheckSettings.actionCheckSettings(this, mAccount, true, true);
} catch (UnsupportedEncodingException enc) {
@ -313,7 +312,6 @@ public class AccountSetupBasics extends K9Activity
}
mAccount.setDraftsFolderName(getString(R.string.special_mailbox_name_drafts));
mAccount.setTrashFolderName(getString(R.string.special_mailbox_name_trash));
mAccount.setOutboxFolderName(getString(R.string.special_mailbox_name_outbox));
mAccount.setSentFolderName(getString(R.string.special_mailbox_name_sent));
AccountSetupAccountType.actionSelectAccountType(this, mAccount, mDefaultView.isChecked());

View File

@ -386,6 +386,13 @@ public class ImapStore extends Store {
if (folder.equalsIgnoreCase(K9.INBOX)) {
continue;
} else if (folder.equalsIgnoreCase(K9.OUTBOX)) {
/*
* There is a folder on the server with the same name as our local
* outbox. Until we have a good plan to deal with this situation
* we simply ignore the folder on the server.
*/
continue;
} else {
if (getCombinedPrefix().length() > 0) {