'Send' and 'Save Draft' are now asynchronous and run outside of Evolution's MailMsg infrastructure. Add an EActivityBar to the composer window so these asynchronous operations can be tracked and cancelled even in the absense of a main window. Also add an EAlertBar to the composer window so error messages can be shown directly in the window. Instead of calling e_alert_dialog_run_for_args(), call e_alert_submit() and pass the EMsgComposer as the widget argument. The EMsgComposer will decide whether to show an EAlertDialog or use the EAlertBar, depending on the GtkMessageType of the alert.
82 lines
3.9 KiB
XML
82 lines
3.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<error-list domain="mail-composer">
|
|
|
|
<error id="no-attach" type="error">
|
|
<_primary>You cannot attach the file "{0}" to this message.</_primary>
|
|
<!--For Translators: '{1}' is the exception description,describing why the file could not be attached to the message -->
|
|
<secondary>{1}</secondary>
|
|
</error>
|
|
|
|
<error id="attach-notfile" type="warning">
|
|
<_primary>The file '{0}' is not a regular file and cannot be sent in a message.</_primary>
|
|
</error>
|
|
|
|
<error id="attach-nomessages" type="error">
|
|
<_primary>Could not retrieve messages to attach from {0}.</_primary>
|
|
<_secondary>Because "{1}".</_secondary>
|
|
</error>
|
|
|
|
<error id="recover-autosave" type="question" default="GTK_RESPONSE_YES">
|
|
<_primary>Do you want to recover unfinished messages?</_primary>
|
|
<_secondary>Evolution quit unexpectedly while you were composing a new message. Recovering the message will allow you to continue where you left off.</_secondary>
|
|
<button _label="_Do not Recover" response="GTK_RESPONSE_CANCEL"/>
|
|
<button _label="_Recover" response="GTK_RESPONSE_YES"/>
|
|
</error>
|
|
|
|
<error id="no-autosave" type="error">
|
|
<_primary>Could not save to autosave file "{0}".</_primary>
|
|
<_secondary>Error saving to autosave because "{1}".</_secondary>
|
|
</error>
|
|
|
|
<error id="ask-send-message-pending-download" type="question" default="GTK_RESPONSE_YES">
|
|
<_primary>Download in progress. Do you want to send the mail?</_primary>
|
|
<_secondary xml:space="preserve"> There are few attachments getting downloaded. Sending the mail will cause the mail to be sent without those pending attachments </_secondary>
|
|
<button stock="gtk-cancel" response="GTK_RESPONSE_CANCEL"/>
|
|
<button _label="_Send" response="GTK_RESPONSE_YES"/>
|
|
</error>
|
|
|
|
<error id="exit-unsaved" type="warning" default="GTK_RESPONSE_YES">
|
|
<_primary>Are you sure you want to discard the message, titled '{0}', you are composing?</_primary>
|
|
<_secondary>Closing this composer window will discard the message permanently, unless you choose to save the message in your Drafts folder. This will allow you to continue the message at a later date.</_secondary>
|
|
<button _label="_Discard Changes" response="GTK_RESPONSE_NO"/>
|
|
<button _label="_Continue Editing" response="GTK_RESPONSE_CANCEL"/>
|
|
<button _label="_Save Draft" response="GTK_RESPONSE_YES"/>
|
|
</error>
|
|
|
|
<error id="no-build-message" type="error">
|
|
<_primary>Could not create message.</_primary>
|
|
<_secondary>Because "{0}", you may need to select different mail options.</_secondary>
|
|
</error>
|
|
|
|
<error id="no-sig-file" type="warning">
|
|
<_primary>Could not read signature file "{0}".</_primary>
|
|
<_secondary>Because "{1}".</_secondary>
|
|
</error>
|
|
|
|
<error id="all-accounts-deleted" type="warning">
|
|
<_primary>All accounts have been removed.</_primary>
|
|
<_secondary>You need to configure an account before you can compose mail.</_secondary>
|
|
</error>
|
|
|
|
<error id="append-to-outbox-error" type="error">
|
|
<_primary>An error occurred while saving to your Outbox folder.</_primary>
|
|
<_secondary>The reported error was "{0}". The message has not been sent.</_secondary>
|
|
</error>
|
|
|
|
<error id="save-draft-error" type="error">
|
|
<_primary>An error occurred while saving to your Drafts folder.</_primary>
|
|
<_secondary>The reported error was "{0}". The message has most likely not been saved.</_secondary>
|
|
</error>
|
|
|
|
<error id="send-error" type="error">
|
|
<_primary>An error occurred while sending.</_primary>
|
|
<_secondary>The reported error was "{0}".</_secondary>
|
|
</error>
|
|
|
|
<error id="saved-to-outbox" type="info">
|
|
<_primary>Message saved to Outbox.</_primary>
|
|
<_secondary>Because you are working offline, the message has been saved to your local Outbox folder. When you are back online you can send the message by clicking the Send/Receive button in Evolution's toolbar.</_secondary>
|
|
</error>
|
|
|
|
</error-list>
|