diff --git a/fetchmail_attach_from_folder/README.rst b/fetchmail_attach_from_folder/README.rst new file mode 100644 index 000000000..4df7f2415 --- /dev/null +++ b/fetchmail_attach_from_folder/README.rst @@ -0,0 +1,146 @@ +======================= +Email gateway - folders +======================= + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:c6afe0f3176202f575e0bfd827acadf557acced4a2dccdb2a55dafc0337abc87 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--tools-lightgray.png?logo=github + :target: https://github.com/OCA/server-tools/tree/16.0/fetchmail_attach_from_folder + :alt: OCA/server-tools +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-fetchmail_attach_from_folder + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/server-tools&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +Adds the possibility to attach emails from a certain IMAP folder to +objects, ie partners. Matching is done via several algorithms, ie email +address, email address's domain or the original Odoo algorithm. + +This gives a simple possibility to archive emails in Odoo without a mail +client integration. + +**Table of contents** + +.. contents:: + :local: + +Configuration +============= + +In your fetchmail configuration, you'll find a new list field +``Folders to monitor``. Add your folders here in IMAP notation (usually +something like ``INBOX.your_folder_name.your_subfolder_name``), choose a +model to attach mails to and a matching algorithm to use. + +Exact mailaddress +----------------- + +Fill in a field to search for the email address in ``Field (model)``. +For partners, this would be ``email``. Also fill in the header field +from the email to look at in ``Field (email)``. If you want to match +incoming mails from your customers, this would be ``from``. You can also +list header fields, so to match partners receiving this email, you might +fill in ``to,cc,bcc``. + +Domain of email addresses +------------------------- + +Match the domain of the email address(es) found in ``Field (email)``. +This would attach a mail to ``test1@example.com`` to a record with +``Field (model)`` set to ``test2@example.com``. Given that this is a +fuzzy match, you probably want to check ``Use 1st match``, because +otherwise nothing happens if multiple possible matches are found. + +Odoo standard +------------- + +This is stricly speaking no matching algorithm, but calls the model's +standard action on new incoming mail, which is usually creating a new +record. + +Usage +===== + +A widespread configuration is to have a shared mailbox with several +folders, i.e. one where users drop mails they want to attach to +partners. Let this folder be called ``From partners``. Then create a +folder configuration for your server with path ``"INBOX.From partners"`` +(note the quotes because of the space, this is server dependent). Choose +model ``Partners``, set ``Field (model)`` to ``email`` and +``Field (email)`` to ``from``. In ``Domain``, you could fill in +``[('customer', '=', True)]`` to be sure to only match customer records. + +Now when your users drop mails into this folder, they will be fetched by +Odoo and attached to the partner in question. After some testing, you +might want to check ``Delete matches`` in your folder configuration so +that this folder doesn't grow indefinitely. + +Another way to prevent having to process ever more messages from the +folder to read is to automatically move all processed messages to an +archive folder that can be specified. + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +------- + +* Therp BV + +Contributors +------------ + +- Holger Brunn hbrunn@therp.nl +- Ronald Portier ronald@therp.nl +- Alexandre Fayolle alexandre.fayolle@camptocamp.com + +Maintainers +----------- + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-NL66278| image:: https://github.com/NL66278.png?size=40px + :target: https://github.com/NL66278 + :alt: NL66278 + +Current `maintainer `__: + +|maintainer-NL66278| + +This module is part of the `OCA/server-tools `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/fetchmail_attach_from_folder/__init__.py b/fetchmail_attach_from_folder/__init__.py new file mode 100644 index 000000000..547f477e7 --- /dev/null +++ b/fetchmail_attach_from_folder/__init__.py @@ -0,0 +1,5 @@ +# Copyright - 2013-2018 Therp BV . +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from . import match_algorithm +from . import models +from . import wizard diff --git a/fetchmail_attach_from_folder/__manifest__.py b/fetchmail_attach_from_folder/__manifest__.py new file mode 100644 index 000000000..4313306f0 --- /dev/null +++ b/fetchmail_attach_from_folder/__manifest__.py @@ -0,0 +1,20 @@ +# Copyright - 2013-2024 Therp BV . +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +{ + "name": "Email gateway - folders", + "summary": "Attach mails in an IMAP folder to existing objects", + "version": "16.0.1.1.0", + "author": "Therp BV,Odoo Community Association (OCA)", + "maintainers": ["NL66278"], + "website": "https://github.com/OCA/server-tools", + "license": "AGPL-3", + "category": "Tools", + "depends": ["mail"], + "data": [ + "views/fetchmail_server.xml", + "wizard/attach_mail_manually.xml", + "security/ir.model.access.csv", + ], + "installable": True, + "auto_install": False, +} diff --git a/fetchmail_attach_from_folder/i18n/de.po b/fetchmail_attach_from_folder/i18n/de.po new file mode 100644 index 000000000..85194c863 --- /dev/null +++ b/fetchmail_attach_from_folder/i18n/de.po @@ -0,0 +1,446 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * fetchmail_attach_from_folder +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: server-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-09-29 11:14+0000\n" +"PO-Revision-Date: 2015-09-18 13:55+0000\n" +"Last-Translator: <>\n" +"Language-Team: German (http://www.transifex.com/oca/OCA-server-tools-8-0/" +"language/de/)\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_active +msgid "Active" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/wizard/attach_mail_manually.py:35 +#, python-format +msgid "Attach emails manually" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Attach mail manually" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folders_available +msgid "Available folders" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_body +msgid "Body" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually +msgid "Cancel" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folders_only +msgid "" +"Check this field to leave imap inbox alone and only retrieve mail from " +"configured folders." +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server.py:34 +#, python-format +msgid "Confirm connection first." +msgstr "" + +#. module: fetchmail_attach_from_folder +#: selection:fetchmail.server.folder,state:0 +msgid "Confirmed" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:160 +#, python-format +msgid "Could not fetch %s in %s on %s" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:140 +#, python-format +msgid "Could not open mailbox %s on %s" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:145 +#, python-format +msgid "Could not search mailbox %s on %s" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_create_uid +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_create_uid +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_create_uid +msgid "Created by" +msgstr "Erstellt von" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_create_date +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_create_date +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_create_date +msgid "Created on" +msgstr "Erstellt am:" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_date +msgid "Date" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_delete_matching +msgid "Delete matched emails from server" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_delete_matching +msgid "Delete matches" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_display_name +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_display_name +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_display_name +msgid "Display Name" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_domain +msgid "Domain" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_ids +msgid "Emails" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Fetch folder now" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_mail_field +msgid "Field (email)" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_field +msgid "Field (model)" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_order +msgid "" +"Field(s) to order by, this mostly useful in conjunction with 'Use 1st match'" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_domain +msgid "Fill in a search filter to narrow down objects to match" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_flag_nonmatching +msgid "Flag emails in the server that don't match any object in Odoo" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_flag_nonmatching +msgid "Flag nonmatching" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_folder_id +msgid "Folder" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_ids +msgid "Folders" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Folders available on server" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Folders to monitor" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_email_from +msgid "From" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:202 +#, python-format +msgid "General failure when trying to connect to %s server %s." +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_id +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_id +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_id +msgid "ID" +msgstr "ID" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "INBOX.subfolder1" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_first +msgid "" +"If there are multiple matches, use the first one. If not checked, multiple " +"matches count as no match at all" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:111 +#, python-format +msgid "Invalid folder %s!" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually___last_update +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail___last_update +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder___last_update +#, fuzzy +msgid "Last Modified on" +msgstr "Zuletzt aktualisiert am" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_write_uid +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_write_uid +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_write_uid +msgid "Last Updated by" +msgstr "Zuletzt aktualisiert von" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_write_date +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_write_date +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_write_date +msgid "Last Updated on" +msgstr "Zuletzt aktualisiert am" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:263 +#, python-format +msgid "Mail attachment" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_algorithm +msgid "Match algorithm" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_msgid +msgid "Message id" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_msg_state +msgid "Message state" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_id +msgid "Model" +msgstr "Modell" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_name +msgid "Name" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: selection:fetchmail.server.folder,state:0 +msgid "Not Confirmed" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_object_id +msgid "Object" +msgstr "Objekt" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folders_only +msgid "Only folders, not inbox" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_order +msgid "Order (model)" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_server +msgid "POP/IMAP Server" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_path +msgid "Path" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: selection:fetchmail.server.folder,msg_state:0 +msgid "Received" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Reset Confirmation" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually +msgid "Save" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: selection:fetchmail.server.folder,msg_state:0 +msgid "Sent" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_sequence +msgid "Sequence" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_server_id +msgid "Server" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_state +msgid "Status" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_subject +msgid "Subject" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Test & Confirm" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_algorithm +msgid "The algorithm used to determine which object an email matches." +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_mail_field +msgid "" +"The field in the email used for matching. Typically this is 'to' or 'from'" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_field +msgid "" +"The field in your model that contains the field to match against.\n" +"Examples:\n" +"'email' if your model is res.partner, or 'partner_id.email' if you're " +"matching sale orders" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_id +msgid "The model to attach emails to" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_path +msgid "" +"The path to your mail folder. Typically would be something like 'INBOX." +"myfolder'" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_msg_state +msgid "The state messages fetched from this folder should be assigned in Odoo" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server.py:39 +#, python-format +msgid "Unable to retrieve folders." +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_first +msgid "Use 1st match" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_wizard_id +msgid "Wizard id" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "[('state', '=', 'open')]" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "email" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_attach_mail_manually +msgid "fetchmail.attach.mail.manually" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_attach_mail_manually_mail +msgid "fetchmail.attach.mail.manually.mail" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_server_folder +msgid "fetchmail.server.folder" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "name asc,type desc" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually +msgid "or" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "to,from" +msgstr "" diff --git a/fetchmail_attach_from_folder/i18n/es.po b/fetchmail_attach_from_folder/i18n/es.po new file mode 100644 index 000000000..c2b02ed91 --- /dev/null +++ b/fetchmail_attach_from_folder/i18n/es.po @@ -0,0 +1,446 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * fetchmail_attach_from_folder +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: server-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-09-29 11:14+0000\n" +"PO-Revision-Date: 2015-09-18 13:55+0000\n" +"Last-Translator: <>\n" +"Language-Team: Spanish (http://www.transifex.com/oca/OCA-server-tools-8-0/" +"language/es/)\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_active +msgid "Active" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/wizard/attach_mail_manually.py:35 +#, python-format +msgid "Attach emails manually" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Attach mail manually" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folders_available +msgid "Available folders" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_body +msgid "Body" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually +msgid "Cancel" +msgstr "Cancelar" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folders_only +msgid "" +"Check this field to leave imap inbox alone and only retrieve mail from " +"configured folders." +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server.py:34 +#, python-format +msgid "Confirm connection first." +msgstr "" + +#. module: fetchmail_attach_from_folder +#: selection:fetchmail.server.folder,state:0 +msgid "Confirmed" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:160 +#, python-format +msgid "Could not fetch %s in %s on %s" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:140 +#, python-format +msgid "Could not open mailbox %s on %s" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:145 +#, python-format +msgid "Could not search mailbox %s on %s" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_create_uid +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_create_uid +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_create_uid +msgid "Created by" +msgstr "Creado por" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_create_date +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_create_date +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_create_date +msgid "Created on" +msgstr "Creado en" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_date +msgid "Date" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_delete_matching +msgid "Delete matched emails from server" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_delete_matching +msgid "Delete matches" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_display_name +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_display_name +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_display_name +msgid "Display Name" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_domain +msgid "Domain" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_ids +msgid "Emails" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Fetch folder now" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_mail_field +msgid "Field (email)" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_field +msgid "Field (model)" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_order +msgid "" +"Field(s) to order by, this mostly useful in conjunction with 'Use 1st match'" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_domain +msgid "Fill in a search filter to narrow down objects to match" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_flag_nonmatching +msgid "Flag emails in the server that don't match any object in Odoo" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_flag_nonmatching +msgid "Flag nonmatching" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_folder_id +msgid "Folder" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_ids +msgid "Folders" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Folders available on server" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Folders to monitor" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_email_from +msgid "From" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:202 +#, python-format +msgid "General failure when trying to connect to %s server %s." +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_id +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_id +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_id +msgid "ID" +msgstr "ID" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "INBOX.subfolder1" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_first +msgid "" +"If there are multiple matches, use the first one. If not checked, multiple " +"matches count as no match at all" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:111 +#, python-format +msgid "Invalid folder %s!" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually___last_update +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail___last_update +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder___last_update +#, fuzzy +msgid "Last Modified on" +msgstr "Última actualización en" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_write_uid +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_write_uid +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_write_uid +msgid "Last Updated by" +msgstr "Última actualización de" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_write_date +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_write_date +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_write_date +msgid "Last Updated on" +msgstr "Última actualización en" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:263 +#, python-format +msgid "Mail attachment" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_algorithm +msgid "Match algorithm" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_msgid +msgid "Message id" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_msg_state +msgid "Message state" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_id +msgid "Model" +msgstr "Modelo" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_name +msgid "Name" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: selection:fetchmail.server.folder,state:0 +msgid "Not Confirmed" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_object_id +msgid "Object" +msgstr "Objeto" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folders_only +msgid "Only folders, not inbox" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_order +msgid "Order (model)" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_server +msgid "POP/IMAP Server" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_path +msgid "Path" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: selection:fetchmail.server.folder,msg_state:0 +msgid "Received" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Reset Confirmation" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually +msgid "Save" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: selection:fetchmail.server.folder,msg_state:0 +msgid "Sent" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_sequence +msgid "Sequence" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_server_id +msgid "Server" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_state +msgid "Status" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_subject +msgid "Subject" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Test & Confirm" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_algorithm +msgid "The algorithm used to determine which object an email matches." +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_mail_field +msgid "" +"The field in the email used for matching. Typically this is 'to' or 'from'" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_field +msgid "" +"The field in your model that contains the field to match against.\n" +"Examples:\n" +"'email' if your model is res.partner, or 'partner_id.email' if you're " +"matching sale orders" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_id +msgid "The model to attach emails to" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_path +msgid "" +"The path to your mail folder. Typically would be something like 'INBOX." +"myfolder'" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_msg_state +msgid "The state messages fetched from this folder should be assigned in Odoo" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server.py:39 +#, python-format +msgid "Unable to retrieve folders." +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_first +msgid "Use 1st match" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_wizard_id +msgid "Wizard id" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "[('state', '=', 'open')]" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "email" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_attach_mail_manually +msgid "fetchmail.attach.mail.manually" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_attach_mail_manually_mail +msgid "fetchmail.attach.mail.manually.mail" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_server_folder +msgid "fetchmail.server.folder" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "name asc,type desc" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually +msgid "or" +msgstr "o" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "to,from" +msgstr "" diff --git a/fetchmail_attach_from_folder/i18n/fetchmail_attach_from_folder.pot b/fetchmail_attach_from_folder/i18n/fetchmail_attach_from_folder.pot new file mode 100644 index 000000000..e25fc05ef --- /dev/null +++ b/fetchmail_attach_from_folder/i18n/fetchmail_attach_from_folder.pot @@ -0,0 +1,431 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * fetchmail_attach_from_folder +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_active +msgid "Active" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/wizard/attach_mail_manually.py:35 +#, python-format +msgid "Attach emails manually" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Attach mail manually" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folders_available +msgid "Available folders" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_body +msgid "Body" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually +msgid "Cancel" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folders_only +msgid "Check this field to leave imap inbox alone and only retrieve mail from configured folders." +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server.py:34 +#, python-format +msgid "Confirm connection first." +msgstr "" + +#. module: fetchmail_attach_from_folder +#: selection:fetchmail.server.folder,state:0 +msgid "Confirmed" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:160 +#, python-format +msgid "Could not fetch %s in %s on %s" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:140 +#, python-format +msgid "Could not open mailbox %s on %s" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:145 +#, python-format +msgid "Could not search mailbox %s on %s" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_create_uid +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_create_uid +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_create_uid +msgid "Created by" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_create_date +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_create_date +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_create_date +msgid "Created on" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_date +msgid "Date" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_delete_matching +msgid "Delete matched emails from server" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_delete_matching +msgid "Delete matches" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_display_name +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_display_name +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_display_name +msgid "Display Name" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_domain +msgid "Domain" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_ids +msgid "Emails" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Fetch folder now" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_mail_field +msgid "Field (email)" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_field +msgid "Field (model)" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_order +msgid "Field(s) to order by, this mostly useful in conjunction with 'Use 1st match'" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_domain +msgid "Fill in a search filter to narrow down objects to match" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_flag_nonmatching +msgid "Flag emails in the server that don't match any object in Odoo" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_flag_nonmatching +msgid "Flag nonmatching" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_folder_id +msgid "Folder" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_ids +msgid "Folders" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Folders available on server" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Folders to monitor" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_email_from +msgid "From" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:202 +#, python-format +msgid "General failure when trying to connect to %s server %s." +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_id +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_id +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_id +msgid "ID" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "INBOX.subfolder1" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_first +msgid "If there are multiple matches, use the first one. If not checked, multiple matches count as no match at all" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:111 +#, python-format +msgid "Invalid folder %s!" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually___last_update +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail___last_update +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder___last_update +msgid "Last Modified on" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_write_uid +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_write_uid +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_write_uid +msgid "Last Updated by" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_write_date +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_write_date +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_write_date +msgid "Last Updated on" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:263 +#, python-format +msgid "Mail attachment" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_algorithm +msgid "Match algorithm" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_msgid +msgid "Message id" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_msg_state +msgid "Message state" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_id +msgid "Model" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_name +msgid "Name" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: selection:fetchmail.server.folder,state:0 +msgid "Not Confirmed" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_object_id +msgid "Object" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folders_only +msgid "Only folders, not inbox" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_order +msgid "Order (model)" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_server +msgid "POP/IMAP Server" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_path +msgid "Path" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: selection:fetchmail.server.folder,msg_state:0 +msgid "Received" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Reset Confirmation" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually +msgid "Save" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: selection:fetchmail.server.folder,msg_state:0 +msgid "Sent" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_sequence +msgid "Sequence" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_server_id +msgid "Server" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_state +msgid "Status" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_subject +msgid "Subject" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Test & Confirm" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_algorithm +msgid "The algorithm used to determine which object an email matches." +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_mail_field +msgid "The field in the email used for matching. Typically this is 'to' or 'from'" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_field +msgid "The field in your model that contains the field to match against.\n" +"Examples:\n" +"'email' if your model is res.partner, or 'partner_id.email' if you're matching sale orders" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_id +msgid "The model to attach emails to" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_path +msgid "The path to your mail folder. Typically would be something like 'INBOX.myfolder'" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_msg_state +msgid "The state messages fetched from this folder should be assigned in Odoo" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server.py:39 +#, python-format +msgid "Unable to retrieve folders." +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_first +msgid "Use 1st match" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_wizard_id +msgid "Wizard id" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "[('state', '=', 'open')]" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "email" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_attach_mail_manually +msgid "fetchmail.attach.mail.manually" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_attach_mail_manually_mail +msgid "fetchmail.attach.mail.manually.mail" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_server_folder +msgid "fetchmail.server.folder" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "name asc,type desc" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually +msgid "or" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "to,from" +msgstr "" + diff --git a/fetchmail_attach_from_folder/i18n/fr.po b/fetchmail_attach_from_folder/i18n/fr.po new file mode 100644 index 000000000..3f1a1e0e2 --- /dev/null +++ b/fetchmail_attach_from_folder/i18n/fr.po @@ -0,0 +1,446 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * fetchmail_attach_from_folder +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: server-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-09-29 11:14+0000\n" +"PO-Revision-Date: 2015-09-18 13:55+0000\n" +"Last-Translator: <>\n" +"Language-Team: French (http://www.transifex.com/oca/OCA-server-tools-8-0/" +"language/fr/)\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_active +msgid "Active" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/wizard/attach_mail_manually.py:35 +#, python-format +msgid "Attach emails manually" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Attach mail manually" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folders_available +msgid "Available folders" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_body +msgid "Body" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually +msgid "Cancel" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folders_only +msgid "" +"Check this field to leave imap inbox alone and only retrieve mail from " +"configured folders." +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server.py:34 +#, python-format +msgid "Confirm connection first." +msgstr "" + +#. module: fetchmail_attach_from_folder +#: selection:fetchmail.server.folder,state:0 +msgid "Confirmed" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:160 +#, python-format +msgid "Could not fetch %s in %s on %s" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:140 +#, python-format +msgid "Could not open mailbox %s on %s" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:145 +#, python-format +msgid "Could not search mailbox %s on %s" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_create_uid +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_create_uid +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_create_uid +msgid "Created by" +msgstr "Créé par" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_create_date +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_create_date +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_create_date +msgid "Created on" +msgstr "Date" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_date +msgid "Date" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_delete_matching +msgid "Delete matched emails from server" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_delete_matching +msgid "Delete matches" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_display_name +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_display_name +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_display_name +msgid "Display Name" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_domain +msgid "Domain" +msgstr "Domaine" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_ids +msgid "Emails" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Fetch folder now" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_mail_field +msgid "Field (email)" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_field +msgid "Field (model)" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_order +msgid "" +"Field(s) to order by, this mostly useful in conjunction with 'Use 1st match'" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_domain +msgid "Fill in a search filter to narrow down objects to match" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_flag_nonmatching +msgid "Flag emails in the server that don't match any object in Odoo" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_flag_nonmatching +msgid "Flag nonmatching" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_folder_id +msgid "Folder" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_ids +msgid "Folders" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Folders available on server" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Folders to monitor" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_email_from +msgid "From" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:202 +#, python-format +msgid "General failure when trying to connect to %s server %s." +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_id +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_id +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_id +msgid "ID" +msgstr "ID" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "INBOX.subfolder1" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_first +msgid "" +"If there are multiple matches, use the first one. If not checked, multiple " +"matches count as no match at all" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:111 +#, python-format +msgid "Invalid folder %s!" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually___last_update +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail___last_update +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder___last_update +#, fuzzy +msgid "Last Modified on" +msgstr "Dernière mise à jour le" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_write_uid +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_write_uid +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_write_uid +msgid "Last Updated by" +msgstr "Dernière mise à jour par" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_write_date +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_write_date +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_write_date +msgid "Last Updated on" +msgstr "Dernière mise à jour le" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:263 +#, python-format +msgid "Mail attachment" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_algorithm +msgid "Match algorithm" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_msgid +msgid "Message id" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_msg_state +msgid "Message state" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_id +msgid "Model" +msgstr "Modèle" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_name +msgid "Name" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: selection:fetchmail.server.folder,state:0 +msgid "Not Confirmed" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_object_id +msgid "Object" +msgstr "Objet" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folders_only +msgid "Only folders, not inbox" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_order +msgid "Order (model)" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_server +msgid "POP/IMAP Server" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_path +msgid "Path" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: selection:fetchmail.server.folder,msg_state:0 +msgid "Received" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Reset Confirmation" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually +msgid "Save" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: selection:fetchmail.server.folder,msg_state:0 +msgid "Sent" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_sequence +msgid "Sequence" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_server_id +msgid "Server" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_state +msgid "Status" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_subject +msgid "Subject" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Test & Confirm" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_algorithm +msgid "The algorithm used to determine which object an email matches." +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_mail_field +msgid "" +"The field in the email used for matching. Typically this is 'to' or 'from'" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_field +msgid "" +"The field in your model that contains the field to match against.\n" +"Examples:\n" +"'email' if your model is res.partner, or 'partner_id.email' if you're " +"matching sale orders" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_id +msgid "The model to attach emails to" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_path +msgid "" +"The path to your mail folder. Typically would be something like 'INBOX." +"myfolder'" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_msg_state +msgid "The state messages fetched from this folder should be assigned in Odoo" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server.py:39 +#, python-format +msgid "Unable to retrieve folders." +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_first +msgid "Use 1st match" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_wizard_id +msgid "Wizard id" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "[('state', '=', 'open')]" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "email" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_attach_mail_manually +msgid "fetchmail.attach.mail.manually" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_attach_mail_manually_mail +msgid "fetchmail.attach.mail.manually.mail" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_server_folder +msgid "fetchmail.server.folder" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "name asc,type desc" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually +msgid "or" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "to,from" +msgstr "" diff --git a/fetchmail_attach_from_folder/i18n/fr_CA.po b/fetchmail_attach_from_folder/i18n/fr_CA.po new file mode 100644 index 000000000..713314c73 --- /dev/null +++ b/fetchmail_attach_from_folder/i18n/fr_CA.po @@ -0,0 +1,445 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * fetchmail_attach_from_folder +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: server-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-09-29 11:14+0000\n" +"PO-Revision-Date: 2015-09-18 13:55+0000\n" +"Last-Translator: <>\n" +"Language-Team: French (Canada) (http://www.transifex.com/oca/OCA-server-" +"tools-8-0/language/fr_CA/)\n" +"Language: fr_CA\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_active +msgid "Active" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/wizard/attach_mail_manually.py:35 +#, python-format +msgid "Attach emails manually" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Attach mail manually" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folders_available +msgid "Available folders" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_body +msgid "Body" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually +msgid "Cancel" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folders_only +msgid "" +"Check this field to leave imap inbox alone and only retrieve mail from " +"configured folders." +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server.py:34 +#, python-format +msgid "Confirm connection first." +msgstr "" + +#. module: fetchmail_attach_from_folder +#: selection:fetchmail.server.folder,state:0 +msgid "Confirmed" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:160 +#, python-format +msgid "Could not fetch %s in %s on %s" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:140 +#, python-format +msgid "Could not open mailbox %s on %s" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:145 +#, python-format +msgid "Could not search mailbox %s on %s" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_create_uid +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_create_uid +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_create_uid +msgid "Created by" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_create_date +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_create_date +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_create_date +msgid "Created on" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_date +msgid "Date" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_delete_matching +msgid "Delete matched emails from server" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_delete_matching +msgid "Delete matches" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_display_name +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_display_name +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_display_name +msgid "Display Name" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_domain +msgid "Domain" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_ids +msgid "Emails" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Fetch folder now" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_mail_field +msgid "Field (email)" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_field +msgid "Field (model)" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_order +msgid "" +"Field(s) to order by, this mostly useful in conjunction with 'Use 1st match'" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_domain +msgid "Fill in a search filter to narrow down objects to match" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_flag_nonmatching +msgid "Flag emails in the server that don't match any object in Odoo" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_flag_nonmatching +msgid "Flag nonmatching" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_folder_id +msgid "Folder" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_ids +msgid "Folders" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Folders available on server" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Folders to monitor" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_email_from +msgid "From" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:202 +#, python-format +msgid "General failure when trying to connect to %s server %s." +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_id +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_id +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_id +msgid "ID" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "INBOX.subfolder1" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_first +msgid "" +"If there are multiple matches, use the first one. If not checked, multiple " +"matches count as no match at all" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:111 +#, python-format +msgid "Invalid folder %s!" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually___last_update +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail___last_update +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder___last_update +msgid "Last Modified on" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_write_uid +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_write_uid +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_write_uid +msgid "Last Updated by" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_write_date +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_write_date +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_write_date +msgid "Last Updated on" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:263 +#, python-format +msgid "Mail attachment" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_algorithm +msgid "Match algorithm" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_msgid +msgid "Message id" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_msg_state +msgid "Message state" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_id +msgid "Model" +msgstr "Modèle" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_name +msgid "Name" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: selection:fetchmail.server.folder,state:0 +msgid "Not Confirmed" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_object_id +msgid "Object" +msgstr "Objet" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folders_only +msgid "Only folders, not inbox" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_order +msgid "Order (model)" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_server +msgid "POP/IMAP Server" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_path +msgid "Path" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: selection:fetchmail.server.folder,msg_state:0 +msgid "Received" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Reset Confirmation" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually +msgid "Save" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: selection:fetchmail.server.folder,msg_state:0 +msgid "Sent" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_sequence +msgid "Sequence" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_server_id +msgid "Server" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_state +msgid "Status" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_subject +msgid "Subject" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Test & Confirm" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_algorithm +msgid "The algorithm used to determine which object an email matches." +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_mail_field +msgid "" +"The field in the email used for matching. Typically this is 'to' or 'from'" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_field +msgid "" +"The field in your model that contains the field to match against.\n" +"Examples:\n" +"'email' if your model is res.partner, or 'partner_id.email' if you're " +"matching sale orders" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_id +msgid "The model to attach emails to" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_path +msgid "" +"The path to your mail folder. Typically would be something like 'INBOX." +"myfolder'" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_msg_state +msgid "The state messages fetched from this folder should be assigned in Odoo" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server.py:39 +#, python-format +msgid "Unable to retrieve folders." +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_first +msgid "Use 1st match" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_wizard_id +msgid "Wizard id" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "[('state', '=', 'open')]" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "email" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_attach_mail_manually +msgid "fetchmail.attach.mail.manually" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_attach_mail_manually_mail +msgid "fetchmail.attach.mail.manually.mail" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_server_folder +msgid "fetchmail.server.folder" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "name asc,type desc" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually +msgid "or" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "to,from" +msgstr "" diff --git a/fetchmail_attach_from_folder/i18n/it.po b/fetchmail_attach_from_folder/i18n/it.po new file mode 100644 index 000000000..3fe5b10a2 --- /dev/null +++ b/fetchmail_attach_from_folder/i18n/it.po @@ -0,0 +1,446 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * fetchmail_attach_from_folder +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: server-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-09-29 11:14+0000\n" +"PO-Revision-Date: 2023-11-30 16:34+0000\n" +"Last-Translator: mymage \n" +"Language-Team: Italian (http://www.transifex.com/oca/OCA-server-tools-8-0/" +"language/it/)\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_active +msgid "Active" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/wizard/attach_mail_manually.py:35 +#, python-format +msgid "Attach emails manually" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Attach mail manually" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folders_available +msgid "Available folders" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_body +msgid "Body" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually +msgid "Cancel" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folders_only +msgid "" +"Check this field to leave imap inbox alone and only retrieve mail from " +"configured folders." +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server.py:34 +#, python-format +msgid "Confirm connection first." +msgstr "" + +#. module: fetchmail_attach_from_folder +#: selection:fetchmail.server.folder,state:0 +msgid "Confirmed" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:160 +#, python-format +msgid "Could not fetch %s in %s on %s" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:140 +#, python-format +msgid "Could not open mailbox %s on %s" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:145 +#, python-format +msgid "Could not search mailbox %s on %s" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_create_uid +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_create_uid +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_create_uid +msgid "Created by" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_create_date +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_create_date +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_create_date +msgid "Created on" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_date +msgid "Date" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_delete_matching +msgid "Delete matched emails from server" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_delete_matching +msgid "Delete matches" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_display_name +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_display_name +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_display_name +msgid "Display Name" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_domain +msgid "Domain" +msgstr "Dominio" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_ids +msgid "Emails" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Fetch folder now" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_mail_field +msgid "Field (email)" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_field +msgid "Field (model)" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_order +msgid "" +"Field(s) to order by, this mostly useful in conjunction with 'Use 1st match'" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_domain +msgid "Fill in a search filter to narrow down objects to match" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_flag_nonmatching +msgid "Flag emails in the server that don't match any object in Odoo" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_flag_nonmatching +msgid "Flag nonmatching" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_folder_id +msgid "Folder" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_ids +msgid "Folders" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Folders available on server" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Folders to monitor" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_email_from +msgid "From" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:202 +#, python-format +msgid "General failure when trying to connect to %s server %s." +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_id +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_id +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_id +msgid "ID" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "INBOX.subfolder1" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_first +msgid "" +"If there are multiple matches, use the first one. If not checked, multiple " +"matches count as no match at all" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:111 +#, python-format +msgid "Invalid folder %s!" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually___last_update +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail___last_update +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder___last_update +msgid "Last Modified on" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_write_uid +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_write_uid +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_write_uid +msgid "Last Updated by" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_write_date +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_write_date +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_write_date +msgid "Last Updated on" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:263 +#, python-format +msgid "Mail attachment" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_algorithm +msgid "Match algorithm" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_msgid +msgid "Message id" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_msg_state +msgid "Message state" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_id +msgid "Model" +msgstr "Modello" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_name +msgid "Name" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: selection:fetchmail.server.folder,state:0 +msgid "Not Confirmed" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_object_id +msgid "Object" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folders_only +msgid "Only folders, not inbox" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_order +msgid "Order (model)" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_server +msgid "POP/IMAP Server" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_path +msgid "Path" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: selection:fetchmail.server.folder,msg_state:0 +msgid "Received" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Reset Confirmation" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually +msgid "Save" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: selection:fetchmail.server.folder,msg_state:0 +msgid "Sent" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_sequence +msgid "Sequence" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_server_id +msgid "Server" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_state +msgid "Status" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_subject +msgid "Subject" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Test & Confirm" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_algorithm +msgid "The algorithm used to determine which object an email matches." +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_mail_field +msgid "" +"The field in the email used for matching. Typically this is 'to' or 'from'" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_field +msgid "" +"The field in your model that contains the field to match against.\n" +"Examples:\n" +"'email' if your model is res.partner, or 'partner_id.email' if you're " +"matching sale orders" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_id +msgid "The model to attach emails to" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_path +msgid "" +"The path to your mail folder. Typically would be something like 'INBOX." +"myfolder'" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_msg_state +msgid "The state messages fetched from this folder should be assigned in Odoo" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server.py:39 +#, python-format +msgid "Unable to retrieve folders." +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_first +msgid "Use 1st match" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_wizard_id +msgid "Wizard id" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "[('state', '=', 'open')]" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "email" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_attach_mail_manually +msgid "fetchmail.attach.mail.manually" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_attach_mail_manually_mail +msgid "fetchmail.attach.mail.manually.mail" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_server_folder +msgid "fetchmail.server.folder" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "name asc,type desc" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually +msgid "or" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "to,from" +msgstr "" diff --git a/fetchmail_attach_from_folder/i18n/pt_BR.po b/fetchmail_attach_from_folder/i18n/pt_BR.po new file mode 100644 index 000000000..2b9971951 --- /dev/null +++ b/fetchmail_attach_from_folder/i18n/pt_BR.po @@ -0,0 +1,462 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * fetchmail_attach_from_folder +# +# Translators: +# Armando Vulcano Junior , 2015 +msgid "" +msgstr "" +"Project-Id-Version: server-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-09-29 11:14+0000\n" +"PO-Revision-Date: 2015-09-18 22:09+0000\n" +"Last-Translator: Armando Vulcano Junior \n" +"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-server-" +"tools-8-0/language/pt_BR/)\n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_active +msgid "Active" +msgstr "Ativo" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/wizard/attach_mail_manually.py:35 +#, fuzzy, python-format +msgid "Attach emails manually" +msgstr "Anexar mail manualmente" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Attach mail manually" +msgstr "Anexar mail manualmente" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folders_available +msgid "Available folders" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_body +msgid "Body" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually +msgid "Cancel" +msgstr "Cancelar" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folders_only +msgid "" +"Check this field to leave imap inbox alone and only retrieve mail from " +"configured folders." +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server.py:34 +#, python-format +msgid "Confirm connection first." +msgstr "" + +#. module: fetchmail_attach_from_folder +#: selection:fetchmail.server.folder,state:0 +msgid "Confirmed" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:160 +#, python-format +msgid "Could not fetch %s in %s on %s" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:140 +#, python-format +msgid "Could not open mailbox %s on %s" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:145 +#, python-format +msgid "Could not search mailbox %s on %s" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_create_uid +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_create_uid +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_create_uid +msgid "Created by" +msgstr "Criado por" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_create_date +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_create_date +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_create_date +msgid "Created on" +msgstr "Criado em" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_date +msgid "Date" +msgstr "Data" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_delete_matching +msgid "Delete matched emails from server" +msgstr "Excluir emails correspondentes do servidor" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_delete_matching +msgid "Delete matches" +msgstr "Excluir correspondentes" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_display_name +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_display_name +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_display_name +msgid "Display Name" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_domain +msgid "Domain" +msgstr "Domínio" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_ids +msgid "Emails" +msgstr "Emails" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Fetch folder now" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_mail_field +msgid "Field (email)" +msgstr "Campo (email)" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_field +msgid "Field (model)" +msgstr "Campo (modelo)" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_order +msgid "" +"Field(s) to order by, this mostly useful in conjunction with 'Use 1st match'" +msgstr "Campo(s) para classificar, muito útil em conjunção com 'Use 1st match'" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_domain +msgid "Fill in a search filter to narrow down objects to match" +msgstr "Preencha um filtro de pesquisa para diminuir os objetos para combinar" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_flag_nonmatching +msgid "Flag emails in the server that don't match any object in Odoo" +msgstr "" +"E-mails assinalados no servidor que não correspondem a qualquer objeto em " +"Odoo" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_flag_nonmatching +msgid "Flag nonmatching" +msgstr "Sinal sem correspondente" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_folder_id +msgid "Folder" +msgstr "Pasta" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_ids +msgid "Folders" +msgstr "Pastas" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Folders available on server" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Folders to monitor" +msgstr "Pastas para monitorar" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_email_from +msgid "From" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:202 +#, python-format +msgid "General failure when trying to connect to %s server %s." +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_id +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_id +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_id +msgid "ID" +msgstr "Identificação" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "INBOX.subfolder1" +msgstr "INBOX.subpasta1" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_first +msgid "" +"If there are multiple matches, use the first one. If not checked, multiple " +"matches count as no match at all" +msgstr "" +"Se há multiplas combinações, use a primeira. Se não verificado, múltiplas " +"combinações contam como nenhuma combinação" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:111 +#, python-format +msgid "Invalid folder %s!" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually___last_update +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail___last_update +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder___last_update +#, fuzzy +msgid "Last Modified on" +msgstr "Última atualização em" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_write_uid +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_write_uid +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_write_uid +msgid "Last Updated by" +msgstr "Última atualização por" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_write_date +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_write_date +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_write_date +msgid "Last Updated on" +msgstr "Última atualização em" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:263 +#, python-format +msgid "Mail attachment" +msgstr "Anexo de Email" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_algorithm +msgid "Match algorithm" +msgstr "Algoritmo correspondente" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_msgid +msgid "Message id" +msgstr "Identificação da mensagem" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_msg_state +msgid "Message state" +msgstr "Estado da mensagem" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_id +msgid "Model" +msgstr "Modelo" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_name +msgid "Name" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: selection:fetchmail.server.folder,state:0 +msgid "Not Confirmed" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_object_id +msgid "Object" +msgstr "Objeto" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folders_only +msgid "Only folders, not inbox" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_order +msgid "Order (model)" +msgstr "Pedido (modelo)" + +#. module: fetchmail_attach_from_folder +#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_server +msgid "POP/IMAP Server" +msgstr "Servidor POP/IMAP" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_path +msgid "Path" +msgstr "Caminho" + +#. module: fetchmail_attach_from_folder +#: selection:fetchmail.server.folder,msg_state:0 +msgid "Received" +msgstr "Recebido" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Reset Confirmation" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually +msgid "Save" +msgstr "Salvar" + +#. module: fetchmail_attach_from_folder +#: selection:fetchmail.server.folder,msg_state:0 +msgid "Sent" +msgstr "Enviado" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_sequence +msgid "Sequence" +msgstr "Sequência" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_server_id +msgid "Server" +msgstr "Servidor" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_state +msgid "Status" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_subject +msgid "Subject" +msgstr "Título" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Test & Confirm" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_algorithm +msgid "The algorithm used to determine which object an email matches." +msgstr "O algoritmo usado para determinar qual objeto combina com o email." + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_mail_field +msgid "" +"The field in the email used for matching. Typically this is 'to' or 'from'" +msgstr "O campo no email usado para combinação. Tipicamente é 'to' ou 'from'" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_field +msgid "" +"The field in your model that contains the field to match against.\n" +"Examples:\n" +"'email' if your model is res.partner, or 'partner_id.email' if you're " +"matching sale orders" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_id +msgid "The model to attach emails to" +msgstr "O modelo para anexar emails ao" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_path +msgid "" +"The path to your mail folder. Typically would be something like 'INBOX." +"myfolder'" +msgstr "" +"O caminho para sua pasta de mail. Tipicamente seria alguma coisa como 'INBOX." +"myfolder'" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_msg_state +msgid "The state messages fetched from this folder should be assigned in Odoo" +msgstr "" +"As mensagens de estado trazidas desta pasta devem ser atribuídas no Odoo" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server.py:39 +#, python-format +msgid "Unable to retrieve folders." +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_first +msgid "Use 1st match" +msgstr "Use a 1a combinação" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_wizard_id +msgid "Wizard id" +msgstr "Identificação do assistente" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "[('state', '=', 'open')]" +msgstr "[('state', '=', 'open')]" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "email" +msgstr "email" + +#. module: fetchmail_attach_from_folder +#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_attach_mail_manually +#, fuzzy +msgid "fetchmail.attach.mail.manually" +msgstr "Anexar mail manualmente" + +#. module: fetchmail_attach_from_folder +#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_attach_mail_manually_mail +#, fuzzy +msgid "fetchmail.attach.mail.manually.mail" +msgstr "Anexar mail manualmente" + +#. module: fetchmail_attach_from_folder +#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_server_folder +msgid "fetchmail.server.folder" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "name asc,type desc" +msgstr "nome asc, tipo desc" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually +msgid "or" +msgstr "ou" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "to,from" +msgstr "para,de" + +#~ msgid "Mailbox %s not found!" +#~ msgstr "Caixa de entrada %s não encontrada!" + +#~ msgid "{'required': [('type', '!=', 'imap')]}" +#~ msgstr "{'required': [('type', '!=', 'imap')]}" diff --git a/fetchmail_attach_from_folder/i18n/ru.po b/fetchmail_attach_from_folder/i18n/ru.po new file mode 100644 index 000000000..6e91ee402 --- /dev/null +++ b/fetchmail_attach_from_folder/i18n/ru.po @@ -0,0 +1,447 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * fetchmail_attach_from_folder +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: server-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-09-29 11:14+0000\n" +"PO-Revision-Date: 2015-09-18 13:55+0000\n" +"Last-Translator: <>\n" +"Language-Team: Russian (http://www.transifex.com/oca/OCA-server-tools-8-0/" +"language/ru/)\n" +"Language: ru\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n" +"%100>=11 && n%100<=14)? 2 : 3);\n" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_active +msgid "Active" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/wizard/attach_mail_manually.py:35 +#, python-format +msgid "Attach emails manually" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Attach mail manually" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folders_available +msgid "Available folders" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_body +msgid "Body" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually +msgid "Cancel" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folders_only +msgid "" +"Check this field to leave imap inbox alone and only retrieve mail from " +"configured folders." +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server.py:34 +#, python-format +msgid "Confirm connection first." +msgstr "" + +#. module: fetchmail_attach_from_folder +#: selection:fetchmail.server.folder,state:0 +msgid "Confirmed" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:160 +#, python-format +msgid "Could not fetch %s in %s on %s" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:140 +#, python-format +msgid "Could not open mailbox %s on %s" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:145 +#, python-format +msgid "Could not search mailbox %s on %s" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_create_uid +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_create_uid +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_create_uid +msgid "Created by" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_create_date +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_create_date +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_create_date +msgid "Created on" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_date +msgid "Date" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_delete_matching +msgid "Delete matched emails from server" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_delete_matching +msgid "Delete matches" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_display_name +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_display_name +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_display_name +msgid "Display Name" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_domain +msgid "Domain" +msgstr "Домен" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_ids +msgid "Emails" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Fetch folder now" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_mail_field +msgid "Field (email)" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_field +msgid "Field (model)" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_order +msgid "" +"Field(s) to order by, this mostly useful in conjunction with 'Use 1st match'" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_domain +msgid "Fill in a search filter to narrow down objects to match" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_flag_nonmatching +msgid "Flag emails in the server that don't match any object in Odoo" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_flag_nonmatching +msgid "Flag nonmatching" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_folder_id +msgid "Folder" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_ids +msgid "Folders" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Folders available on server" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Folders to monitor" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_email_from +msgid "From" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:202 +#, python-format +msgid "General failure when trying to connect to %s server %s." +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_id +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_id +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_id +msgid "ID" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "INBOX.subfolder1" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_first +msgid "" +"If there are multiple matches, use the first one. If not checked, multiple " +"matches count as no match at all" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:111 +#, python-format +msgid "Invalid folder %s!" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually___last_update +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail___last_update +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder___last_update +msgid "Last Modified on" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_write_uid +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_write_uid +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_write_uid +msgid "Last Updated by" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_write_date +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_write_date +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_write_date +msgid "Last Updated on" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:263 +#, python-format +msgid "Mail attachment" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_algorithm +msgid "Match algorithm" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_msgid +msgid "Message id" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_msg_state +msgid "Message state" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_id +msgid "Model" +msgstr "Модель" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_name +msgid "Name" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: selection:fetchmail.server.folder,state:0 +msgid "Not Confirmed" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_object_id +msgid "Object" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folders_only +msgid "Only folders, not inbox" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_order +msgid "Order (model)" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_server +msgid "POP/IMAP Server" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_path +msgid "Path" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: selection:fetchmail.server.folder,msg_state:0 +msgid "Received" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Reset Confirmation" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually +msgid "Save" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: selection:fetchmail.server.folder,msg_state:0 +msgid "Sent" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_sequence +msgid "Sequence" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_server_id +msgid "Server" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_state +msgid "Status" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_subject +msgid "Subject" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Test & Confirm" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_algorithm +msgid "The algorithm used to determine which object an email matches." +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_mail_field +msgid "" +"The field in the email used for matching. Typically this is 'to' or 'from'" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_field +msgid "" +"The field in your model that contains the field to match against.\n" +"Examples:\n" +"'email' if your model is res.partner, or 'partner_id.email' if you're " +"matching sale orders" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_id +msgid "The model to attach emails to" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_path +msgid "" +"The path to your mail folder. Typically would be something like 'INBOX." +"myfolder'" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_msg_state +msgid "The state messages fetched from this folder should be assigned in Odoo" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server.py:39 +#, python-format +msgid "Unable to retrieve folders." +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_first +msgid "Use 1st match" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_wizard_id +msgid "Wizard id" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "[('state', '=', 'open')]" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "email" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_attach_mail_manually +msgid "fetchmail.attach.mail.manually" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_attach_mail_manually_mail +msgid "fetchmail.attach.mail.manually.mail" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_server_folder +msgid "fetchmail.server.folder" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "name asc,type desc" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually +msgid "or" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "to,from" +msgstr "" diff --git a/fetchmail_attach_from_folder/i18n/sl.po b/fetchmail_attach_from_folder/i18n/sl.po new file mode 100644 index 000000000..1f77ee4bd --- /dev/null +++ b/fetchmail_attach_from_folder/i18n/sl.po @@ -0,0 +1,469 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * fetchmail_attach_from_folder +# +# Translators: +# Matjaž Mozetič , 2015 +msgid "" +msgstr "" +"Project-Id-Version: server-tools (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-09-29 11:14+0000\n" +"PO-Revision-Date: 2015-09-26 07:28+0000\n" +"Last-Translator: Matjaž Mozetič \n" +"Language-Team: Slovenian (http://www.transifex.com/oca/OCA-server-tools-8-0/" +"language/sl/)\n" +"Language: sl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" +"%100==4 ? 2 : 3);\n" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_active +msgid "Active" +msgstr "Aktivno" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/wizard/attach_mail_manually.py:35 +#, fuzzy, python-format +msgid "Attach emails manually" +msgstr "Ročno pripenjanje e-pošte" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Attach mail manually" +msgstr "Ročno pripenjanje e-pošte" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folders_available +msgid "Available folders" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_body +msgid "Body" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually +msgid "Cancel" +msgstr "Preklic" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folders_only +msgid "" +"Check this field to leave imap inbox alone and only retrieve mail from " +"configured folders." +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server.py:34 +#, python-format +msgid "Confirm connection first." +msgstr "" + +#. module: fetchmail_attach_from_folder +#: selection:fetchmail.server.folder,state:0 +msgid "Confirmed" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:160 +#, python-format +msgid "Could not fetch %s in %s on %s" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:140 +#, python-format +msgid "Could not open mailbox %s on %s" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:145 +#, python-format +msgid "Could not search mailbox %s on %s" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_create_uid +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_create_uid +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_create_uid +msgid "Created by" +msgstr "Ustvaril" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_create_date +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_create_date +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_create_date +msgid "Created on" +msgstr "Ustvarjeno" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_date +msgid "Date" +msgstr "Datum" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_delete_matching +msgid "Delete matched emails from server" +msgstr "Izbris ujemajočih se e-poštnih sporočil iz strežnika" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_delete_matching +msgid "Delete matches" +msgstr "Izbris ujemajočih" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_display_name +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_display_name +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_display_name +msgid "Display Name" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_domain +msgid "Domain" +msgstr "Domena" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_ids +msgid "Emails" +msgstr "E-poštna sporočila" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Fetch folder now" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_mail_field +msgid "Field (email)" +msgstr "Polje (e-pošta)" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_field +msgid "Field (model)" +msgstr "Polje (model)" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_order +msgid "" +"Field(s) to order by, this mostly useful in conjunction with 'Use 1st match'" +msgstr "" +"Polje(a) za razvrščanje. Uporabljajo se večinoma v sklopu 'Uporabi 1. " +"ujemanje'" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_domain +msgid "Fill in a search filter to narrow down objects to match" +msgstr "Izpolni iskalni filter za zožitev ujemajočih se objektov" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_flag_nonmatching +msgid "Flag emails in the server that don't match any object in Odoo" +msgstr "" +"Označi e-poštna sporočila na strežniku, ki se ne ujemajo z nobenim objektom " +"v Odoo" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_flag_nonmatching +msgid "Flag nonmatching" +msgstr "Označi ne ujemajoča" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_folder_id +msgid "Folder" +msgstr "Mapa" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_ids +msgid "Folders" +msgstr "Mape" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Folders available on server" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Folders to monitor" +msgstr "Mape za nadziranje" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_email_from +msgid "From" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:202 +#, python-format +msgid "General failure when trying to connect to %s server %s." +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_id +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_id +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_id +msgid "ID" +msgstr "ID" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "INBOX.subfolder1" +msgstr "INBOX.podmapa1" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_first +msgid "" +"If there are multiple matches, use the first one. If not checked, multiple " +"matches count as no match at all" +msgstr "" +"Ko je več ujemajočih se sporočil, uporabi prvo. Če ni označeno, se več " +"ujemajočih se sporočil smatra kot, da sploh ni ujemajočih se sporočil" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:111 +#, python-format +msgid "Invalid folder %s!" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually___last_update +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail___last_update +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder___last_update +#, fuzzy +msgid "Last Modified on" +msgstr "Zadnjič posodobljeno" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_write_uid +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_write_uid +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_write_uid +msgid "Last Updated by" +msgstr "Zadnjič posodobil" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_write_date +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_write_date +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_write_date +msgid "Last Updated on" +msgstr "Zadnjič posodobljeno" + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server_folder.py:263 +#, python-format +msgid "Mail attachment" +msgstr "E-poštna priponka" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_algorithm +msgid "Match algorithm" +msgstr "Algoritem ujemanja" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_msgid +msgid "Message id" +msgstr "ID sporočila" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_msg_state +msgid "Message state" +msgstr "Stanje sporočila" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_id +msgid "Model" +msgstr "Model" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_name +msgid "Name" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: selection:fetchmail.server.folder,state:0 +msgid "Not Confirmed" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_object_id +msgid "Object" +msgstr "Objekt" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folders_only +msgid "Only folders, not inbox" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_order +msgid "Order (model)" +msgstr "Vrstni red (model)" + +#. module: fetchmail_attach_from_folder +#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_server +msgid "POP/IMAP Server" +msgstr "POP/IMAP strežnik" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_path +msgid "Path" +msgstr "Pot" + +#. module: fetchmail_attach_from_folder +#: selection:fetchmail.server.folder,msg_state:0 +msgid "Received" +msgstr "Prejeto" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Reset Confirmation" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually +msgid "Save" +msgstr "Shrani" + +#. module: fetchmail_attach_from_folder +#: selection:fetchmail.server.folder,msg_state:0 +msgid "Sent" +msgstr "Poslano" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_sequence +msgid "Sequence" +msgstr "Zaporedje" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_server_id +msgid "Server" +msgstr "Strežnik" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_state +msgid "Status" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_subject +msgid "Subject" +msgstr "Zadeva" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "Test & Confirm" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_algorithm +msgid "The algorithm used to determine which object an email matches." +msgstr "" +"Algoritem, ki se uporablja za določanje objekta, ki mu e-pošta priprada." + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_mail_field +msgid "" +"The field in the email used for matching. Typically this is 'to' or 'from'" +msgstr "" +"Polje v e-poštnem sporočilu, ki se uporablja za primerjavo. Tipično je to " +"'za' ali 'od'" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_field +msgid "" +"The field in your model that contains the field to match against.\n" +"Examples:\n" +"'email' if your model is res.partner, or 'partner_id.email' if you're " +"matching sale orders" +msgstr "" +"Polje modela, ki vsebuje polje za ujemanje.\n" +"Primeri:\n" +"'e-pošta' če je model res.partner ali 'partner_id.email', če ujemate " +"prodajne naloge" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_model_id +msgid "The model to attach emails to" +msgstr "Model, ki mu pripenjamo e-pošto" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_path +msgid "" +"The path to your mail folder. Typically would be something like 'INBOX." +"myfolder'" +msgstr "Pot do e-poštne mape. Običajno je to nekaj kot 'INBOX.mojamapa'" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,help:fetchmail_attach_from_folder.field_fetchmail_server_folder_msg_state +msgid "The state messages fetched from this folder should be assigned in Odoo" +msgstr "Stanje, ki se dodeli sporočilom prenesenim iz te mape." + +#. module: fetchmail_attach_from_folder +#: code:addons/fetchmail_attach_from_folder/models/fetchmail_server.py:39 +#, python-format +msgid "Unable to retrieve folders." +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_server_folder_match_first +msgid "Use 1st match" +msgstr "Uporabi 1. ujemanje" + +#. module: fetchmail_attach_from_folder +#: model:ir.model.fields,field_description:fetchmail_attach_from_folder.field_fetchmail_attach_mail_manually_mail_wizard_id +msgid "Wizard id" +msgstr "ID čarovnika" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "[('state', '=', 'open')]" +msgstr "[('state', '=', 'open')]" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "email" +msgstr "e-pošta" + +#. module: fetchmail_attach_from_folder +#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_attach_mail_manually +#, fuzzy +msgid "fetchmail.attach.mail.manually" +msgstr "Ročno pripenjanje e-pošte" + +#. module: fetchmail_attach_from_folder +#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_attach_mail_manually_mail +#, fuzzy +msgid "fetchmail.attach.mail.manually.mail" +msgstr "Ročno pripenjanje e-pošte" + +#. module: fetchmail_attach_from_folder +#: model:ir.model,name:fetchmail_attach_from_folder.model_fetchmail_server_folder +msgid "fetchmail.server.folder" +msgstr "" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "name asc,type desc" +msgstr "name asc,type desc" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_attach_mail_manually +msgid "or" +msgstr "ali" + +#. module: fetchmail_attach_from_folder +#: model:ir.ui.view,arch_db:fetchmail_attach_from_folder.view_email_server_form +msgid "to,from" +msgstr "to,from" + +#~ msgid "Mailbox %s not found!" +#~ msgstr "Poštni predal %s ni najden!" + +#~ msgid "{'required': [('type', '!=', 'imap')]}" +#~ msgstr "{'required': [('type', '!=', 'imap')]}" diff --git a/fetchmail_attach_from_folder/match_algorithm/__init__.py b/fetchmail_attach_from_folder/match_algorithm/__init__.py new file mode 100644 index 000000000..93da714ac --- /dev/null +++ b/fetchmail_attach_from_folder/match_algorithm/__init__.py @@ -0,0 +1,4 @@ +# Copyright - 2013-2024 Therp BV . +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from . import email_exact +from . import email_domain diff --git a/fetchmail_attach_from_folder/match_algorithm/email_domain.py b/fetchmail_attach_from_folder/match_algorithm/email_domain.py new file mode 100644 index 000000000..e00436375 --- /dev/null +++ b/fetchmail_attach_from_folder/match_algorithm/email_domain.py @@ -0,0 +1,29 @@ +# Copyright - 2013-2024 Therp BV . +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from .email_exact import EmailExact + + +class EmailDomain(EmailExact): + """Search objects by domain name of email address. + + Beware of match_first here, this is most likely to get it wrong (gmail). + """ + + def search_matches(self, folder, message_dict): + """Returns recordset of matching objects.""" + matches = super().search_matches(folder, message_dict) + if not matches: + object_model = folder.env[folder.model_id.model] + domains = [] + for addr in self._get_mailaddresses(folder, message_dict): + domains.append(addr.split("@")[-1]) + matches = object_model.search( + self._get_mailaddress_search_domain( + folder, + message_dict, + operator="like", + values=["%@" + domain for domain in set(domains)], + ), + order=folder.model_order, + ) + return matches diff --git a/fetchmail_attach_from_folder/match_algorithm/email_exact.py b/fetchmail_attach_from_folder/match_algorithm/email_exact.py new file mode 100644 index 000000000..899289407 --- /dev/null +++ b/fetchmail_attach_from_folder/match_algorithm/email_exact.py @@ -0,0 +1,35 @@ +# Copyright - 2013-2024 Therp BV . +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from odoo.tools.mail import email_split +from odoo.tools.safe_eval import safe_eval + + +class EmailExact: + """Search for exactly the mailadress as noted in the email""" + + def _get_mailaddresses(self, folder, message_dict): + mailaddresses = [] + fields = folder.mail_field.split(",") + for field in fields: + if field in message_dict: + mailaddresses += email_split(message_dict[field]) + return [addr.lower() for addr in mailaddresses] + + def _get_mailaddress_search_domain( + self, folder, message_dict, operator="=", values=None + ): + mailaddresses = values or self._get_mailaddresses(folder, message_dict) + if not mailaddresses: + return [(0, "=", 1)] + search_domain = ( + (["|"] * (len(mailaddresses) - 1)) + + [(folder.model_field, operator, addr) for addr in mailaddresses] + + safe_eval(folder.domain or "[]") + ) + return search_domain + + def search_matches(self, folder, message_dict): + """Returns recordset of matching objects.""" + object_model = folder.env[folder.model_id.model] + search_domain = self._get_mailaddress_search_domain(folder, message_dict) + return object_model.search(search_domain, order=folder.model_order) diff --git a/fetchmail_attach_from_folder/models/__init__.py b/fetchmail_attach_from_folder/models/__init__.py new file mode 100644 index 000000000..0340cfd07 --- /dev/null +++ b/fetchmail_attach_from_folder/models/__init__.py @@ -0,0 +1,4 @@ +# Copyright - 2013-2018 Therp BV . +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from . import fetchmail_server +from . import fetchmail_server_folder diff --git a/fetchmail_attach_from_folder/models/fetchmail_server.py b/fetchmail_attach_from_folder/models/fetchmail_server.py new file mode 100644 index 000000000..7d344395a --- /dev/null +++ b/fetchmail_attach_from_folder/models/fetchmail_server.py @@ -0,0 +1,74 @@ +# Copyright - 2013-2024 Therp BV . +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +import logging +import re + +from odoo import _, api, fields, models + +_logger = logging.getLogger(__name__) + +list_response_pattern = re.compile( + r'\((?P.*?)\) "(?P.*)" (?P.*)' +) + + +class FetchmailServer(models.Model): + _inherit = "fetchmail.server" + + def _compute_folders_available(self): + """Retrieve available folders from IMAP server.""" + + def parse_list_response(line): + string_line = line.decode("utf-8") + flags, delimiter, mailbox_name = list_response_pattern.match( + string_line + ).groups() + mailbox_name = mailbox_name.strip('"') + return (flags, delimiter, mailbox_name) + + for this in self: + if this.state != "done": + this.folders_available = _("Confirm connection first.") + continue + connection = this.connect() + list_result = connection.list() + if list_result[0] != "OK": + this.folders_available = _("Unable to retrieve folders.") + continue + folders_available = [] + for folder_entry in list_result[1]: + folders_available.append(parse_list_response(folder_entry)[2]) + this.folders_available = "\n".join(folders_available) + connection.logout() + + folders_available = fields.Text( + string="Available folders", compute="_compute_folders_available", readonly=True + ) + folder_ids = fields.One2many( + comodel_name="fetchmail.server.folder", + inverse_name="server_id", + string="Folders", + context={"active_test": False}, + ) + folders_only = fields.Boolean( + string="Only folders, not inbox", + help="Check this field to leave imap inbox alone" + " and only retrieve mail from configured folders.", + ) + # Below existing fields, that are modified by this module. + object_id = fields.Many2one(required=False) # comodel_name='ir.model' + server_type = fields.Selection(default="imap") + + @api.onchange("server_type", "is_ssl", "object_id") + def onchange_server_type(self): + result = super().onchange_server_type() + self.state = "draft" + return result + + def fetch_mail(self): + result = True + for this in self: + if not this.folders_only: + result = result and super(FetchmailServer, this).fetch_mail() + this.folder_ids.fetch_mail() + return result diff --git a/fetchmail_attach_from_folder/models/fetchmail_server_folder.py b/fetchmail_attach_from_folder/models/fetchmail_server_folder.py new file mode 100644 index 000000000..6f6e64d04 --- /dev/null +++ b/fetchmail_attach_from_folder/models/fetchmail_server_folder.py @@ -0,0 +1,378 @@ +# Copyright - 2013-2024 Therp BV . +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +import email +import email.policy +import logging +from xmlrpc import client as xmlrpclib + +from odoo import _, api, fields, models +from odoo.exceptions import UserError, ValidationError + +from .. import match_algorithm + +_logger = logging.getLogger(__name__) + + +class FetchmailServerFolder(models.Model): + """Define folders (IMAP mailboxes) from which to fetch mail.""" + + _name = "fetchmail.server.folder" + _description = __doc__ + _rec_name = "path" + _order = "sequence" + + server_id = fields.Many2one("fetchmail.server") + sequence = fields.Integer() + state = fields.Selection( + [("draft", "Not Confirmed"), ("done", "Confirmed")], + string="Status", + readonly=True, + required=True, + copy=False, + default="draft", + ) + path = fields.Char( + required=True, + help="The path to your mail folder." + " Typically would be something like 'INBOX.myfolder'", + ) + archive_path = fields.Char( + help="The path where successfully retrieved messages will be stored." + ) + model_id = fields.Many2one( + comodel_name="ir.model", + required=True, + ondelete="cascade", + help="The model to attach emails to", + ) + model_field = fields.Char( + "Field (model)", + help="The field in your model that contains the field to match against.\n" + "Examples:\n" + "'email' if your model is res.partner, or " + "'partner_id.email' if you're matching sale orders", + ) + model_order = fields.Char( + "Order (model)", + help="Field(s) to order by, this mostly useful in conjunction " + "with 'Use 1st match'", + ) + match_algorithm = fields.Selection( + selection=[ + ("odoo_standard", "Odoo standard"), + ("email_domain", "Domain of email address"), + ("email_exact", "Exact mailadress"), + ], + required=True, + help="The algorithm used to determine which object an email matches.", + ) + mail_field = fields.Char( + "Field (email)", + help="The field in the email used for matching." + " Typically this is 'to' or 'from'", + ) + delete_matching = fields.Boolean( + "Delete matches", help="Delete matched emails from server" + ) + flag_nonmatching = fields.Boolean( + default=True, + help="Flag emails in the server that don't match any object in Odoo", + ) + match_first = fields.Boolean( + "Use 1st match", + help="If there are multiple matches, use the first one. If " + "not checked, multiple matches count as no match at all", + ) + domain = fields.Char(help="Fill in a search filter to narrow down objects to match") + msg_state = fields.Selection( + selection=[("sent", "Sent"), ("received", "Received")], + string="Message state", + default="received", + help="The state messages fetched from this folder should be assigned in Odoo", + ) + active = fields.Boolean(default=True) + + def button_confirm_folder(self): + self.write({"state": "draft"}) + for this in self: + if not this.active: + continue + connection = this.server_id.connect() + connection.select() + if connection.select(this.path)[0] != "OK": + raise ValidationError(_("Invalid folder %s!") % this.path) + connection.close() + this.write({"state": "done"}) + + def button_attach_mail_manually(self): + self.ensure_one() + return { + "type": "ir.actions.act_window", + "res_model": "fetchmail.attach.mail.manually", + "target": "new", + "context": dict(self.env.context, folder_id=self.id), + "view_type": "form", + "view_mode": "form", + } + + def set_draft(self): + self.write({"state": "draft"}) + return True + + def fetch_mail(self): + """Retrieve all mails for IMAP folders. + + We will use a separate connection for each folder. + """ + for this in self: + if not this.active or this.state != "done": + continue + connection = None + try: + # New connection per folder + connection = this.server_id.connect() + this.check_imap_archive_folder(connection) + this.retrieve_imap_folder(connection) + connection.close() + except Exception: + _logger.error( + ( + "General failure when trying to connect to" + " %(server_type)s server %(server)s." + ), + { + "server_type": this.server_id.server_type, + "server": this.server_id.name, + }, + exc_info=True, + ) + finally: + if connection: + connection.logout() + + def check_imap_archive_folder(self, connection): + """If archive folder specified, check existance and create when needed.""" + self.ensure_one() + server = self.server_id + if not self.archive_path: + return + if connection.select(self.archive_path)[0] != "OK": + connection.create(self.archive_path) + if connection.select(self.archive_path)[0] != "OK": + raise UserError( + _("Could not create archive folder %(folder)s on server %(server)s") + % {"folder": self.archive_path, "server": server.name} + ) + + def retrieve_imap_folder(self, connection): + """Retrieve all mails for one IMAP folder.""" + self.ensure_one() + msgids = self.get_msgids(connection, "UNDELETED") + for msgid in msgids[0].split(): + # We will accept exceptions for single messages + try: + self.env.cr.execute("savepoint apply_matching") + self.apply_matching(connection, msgid) + self.env.cr.execute("release savepoint apply_matching") + except Exception: + self.env.cr.execute("rollback to savepoint apply_matching") + _logger.exception( + "Failed to fetch mail %(msgid)s from server %(server)s", + {"msgid": msgid, "server": self.server_id.name}, + ) + + def get_msgids(self, connection, criteria): + """Return imap ids of messages to process""" + self.ensure_one() + server = self.server_id + _logger.info( + "start checking for emails in folder %(folder)s on server %(server)s", + {"folder": self.path, "server": server.name}, + ) + if connection.select(self.path)[0] != "OK": + raise UserError( + _("Could not open folder %(folder)s on server %(server)s") + % {"folder": self.path, "server": server.name} + ) + result, msgids = connection.search(None, criteria) + if result != "OK": + raise UserError( + _("Could not search folder %(folder)s on server %(server)s") + % {"folder": self.path, "server": server.name} + ) + _logger.info( + "finished checking for emails in folder %(folder)s on server %(server)s", + {"folder": self.path, "server": server.name}, + ) + return msgids + + def apply_matching(self, connection, msgid): + """Return id of object matched (which will be the thread_id).""" + self.ensure_one() + thread_id = None + thread_model = self.env["mail.thread"] + message_org = self.fetch_msg(connection, msgid) + if self.match_algorithm == "odoo_standard": + thread_id = thread_model.message_process( + self.model_id.model, + message_org, + save_original=self.server_id.original, + strip_attachments=(not self.server_id.attach), + ) + else: + message_dict = self._get_message_dict(message_org) + if not self._check_message_already_present(message_dict): + match = self._find_match(message_dict) + if match: + thread_id = match.id + self.attach_mail(match, message_dict) + matched = True if thread_id else False + self.update_msg(connection, msgid, matched=matched) + if self.archive_path: + self._archive_msg(connection, msgid) + return thread_id # Can be None if no match found. + + def fetch_msg(self, connection, msgid): + """Select a single message from a folder.""" + self.ensure_one() + result, msgdata = connection.fetch(msgid, "(RFC822)") + if result != "OK": + raise UserError( + _("Could not fetch %(msgid)s in folder %(folder)s on server %(server)s") + % {"msgid": msgid, "folder": self.path, "server": self.server_id.name} + ) + message_org = msgdata[0][1] # rfc822 message source + return message_org + + def update_msg(self, connection, msgid, matched=True, flagged=False): + """Update msg in imap folder depending on match and settings.""" + if matched: + if self.delete_matching: + connection.store(msgid, "+FLAGS", "\\DELETED") + elif flagged and self.flag_nonmatching: + connection.store(msgid, "-FLAGS", "\\FLAGGED") + else: + if self.flag_nonmatching: + connection.store(msgid, "+FLAGS", "\\FLAGGED") + + def _archive_msg(self, connection, msgid): + """Archive message. Folder should already have been created.""" + self.ensure_one() + connection.copy(msgid, self.archive_path) + connection.store(msgid, "+FLAGS", "\\Deleted") + connection.expunge() + + @api.model + def _get_message_dict(self, message): + """Get message_dict from original message. + + This uses some code copied from mail.thread.message_process, that + unfortunately is not in a separate method. + """ + if isinstance(message, xmlrpclib.Binary): + message = bytes(message.data) + if isinstance(message, str): + message = message.encode("utf-8") + message = email.message_from_bytes(message, policy=email.policy.SMTP) + thread_model = self.env["mail.thread"] + message_dict = thread_model.message_parse( + message, save_original=self.server_id.original + ) + return message_dict + + def _check_message_already_present(self, message_dict): + """If message already handled, it should be ignored.""" + message_id = message_dict["message_id"] + if self.env["mail.message"].search([("message_id", "=", message_id)], limit=1): + _logger.debug( + "Message %(message_id)s already in database", + {"message_id": message_id}, + ) + return True + return False + + def _find_match(self, message_dict): + """Try to find existing object to link mail to.""" + self.ensure_one() + matcher = self._get_algorithm() + if not matcher: + return None + matches = matcher.search_matches(self, message_dict) + if not matches: + _logger.info( + "No match found for message %(subject)s with msgid %(msgid)s", + { + "subject": message_dict.get("subject", "no subject"), + "msgid": message_dict.get("message_id", "no msgid"), + }, + ) + return None + if len(matches) > 1: + _logger.debug( + "Multiple matches found: %(matches)s", + { + "matches": ", ".join( + [str((match.id, match.display_name)) for match in matches] + ), + }, + ) + matched = len(matches) == 1 or self.match_first + return matched and matches[0] or None + + def _get_algorithm(self): + """Translate algorithm code to implementation class. + + We used to load this dynamically, but having it more or less hardcoded + allows to adapt the UI to the selected algorithm, withouth needing + the (deprecated) fields_view_get trickery we used in the past. + """ + self.ensure_one() + if self.match_algorithm == "email_domain": + return match_algorithm.email_domain.EmailDomain() + if self.match_algorithm == "email_exact": + return match_algorithm.email_exact.EmailExact() + _logger.error( + "Unknown algorithm %(algorithm)s", {"algorithm": self.match_algorithm} + ) + return None + + def attach_mail(self, match_object, message_dict): + """Attach mail to match_object.""" + self.ensure_one() + partner = False + model_name = self.model_id.model + if model_name == "res.partner": + partner = match_object + elif "partner_id" in self.env[model_name]._fields: + partner = match_object.partner_id + message_model = self.env["mail.message"] + msg_values = { + key: val + for key, val in message_dict.items() + if key in message_model._fields + } + msg_values.update( + { + "author_id": partner and partner.id or False, + "model": model_name, + "res_id": match_object.id, + "message_type": "email", + } + ) + thread_model = self.env["mail.thread"] + attachments = message_dict["attachments"] or [] + attachment_ids = [] + attachement_values = thread_model._message_post_process_attachments( + attachments, attachment_ids, msg_values + ) + msg_values.update(attachement_values) + message = message_model.create(msg_values) + _logger.debug( + "Message with id %(message_id)s created" + " for %(model_name)s with id %(thread_id)s", + { + "message_id": message.id, + "model_name": model_name, + "thread_id": match_object.id, + }, + ) diff --git a/fetchmail_attach_from_folder/readme/CONFIGURE.md b/fetchmail_attach_from_folder/readme/CONFIGURE.md new file mode 100644 index 000000000..827592023 --- /dev/null +++ b/fetchmail_attach_from_folder/readme/CONFIGURE.md @@ -0,0 +1,28 @@ +In your fetchmail configuration, you'll find a new list field `Folders to +monitor`. Add your folders here in IMAP notation (usually something like +`INBOX.your_folder_name.your_subfolder_name`), choose a model to attach mails +to and a matching algorithm to use. + +Exact mailaddress +----------------- + +Fill in a field to search for the email address in `Field (model)`. For +partners, this would be `email`. Also fill in the header field from the email +to look at in `Field (email)`. If you want to match incoming mails from your +customers, this would be `from`. You can also list header fields, so to match +partners receiving this email, you might fill in `to,cc,bcc`. + +Domain of email addresses +------------------------- + +Match the domain of the email address(es) found in `Field (email)`. This would +attach a mail to `test1@example.com` to a record with `Field (model)` set to +`test2@example.com`. Given that this is a fuzzy match, you probably want to +check `Use 1st match`, because otherwise nothing happens if multiple possible +matches are found. + +Odoo standard +------------- + +This is stricly speaking no matching algorithm, but calls the model's standard +action on new incoming mail, which is usually creating a new record. diff --git a/fetchmail_attach_from_folder/readme/CONTRIBUTORS.md b/fetchmail_attach_from_folder/readme/CONTRIBUTORS.md new file mode 100644 index 000000000..dcfe0c81f --- /dev/null +++ b/fetchmail_attach_from_folder/readme/CONTRIBUTORS.md @@ -0,0 +1,3 @@ +- Holger Brunn +- Ronald Portier +- Alexandre Fayolle diff --git a/fetchmail_attach_from_folder/readme/DESCRIPTION.md b/fetchmail_attach_from_folder/readme/DESCRIPTION.md new file mode 100644 index 000000000..d9e7d303f --- /dev/null +++ b/fetchmail_attach_from_folder/readme/DESCRIPTION.md @@ -0,0 +1,6 @@ +Adds the possibility to attach emails from a certain IMAP folder to objects, +ie partners. Matching is done via several algorithms, ie email address, email +address's domain or the original Odoo algorithm. + +This gives a simple possibility to archive emails in Odoo without a mail +client integration. diff --git a/fetchmail_attach_from_folder/readme/USAGE.md b/fetchmail_attach_from_folder/readme/USAGE.md new file mode 100644 index 000000000..0c7af37f7 --- /dev/null +++ b/fetchmail_attach_from_folder/readme/USAGE.md @@ -0,0 +1,16 @@ +A widespread configuration is to have a shared mailbox with several folders, +i.e. one where users drop mails they want to attach to partners. Let this +folder be called `From partners`. Then create a folder configuration for your +server with path `"INBOX.From partners"` (note the quotes because of the space, +this is server dependent). Choose model `Partners`, set `Field (model)` to +`email` and `Field (email)` to `from`. In `Domain`, you could fill in +`[('customer', '=', True)]` to be sure to only match customer records. + +Now when your users drop mails into this folder, they will be fetched by Odoo +and attached to the partner in question. After some testing, you might want to +check `Delete matches` in your folder configuration so that this folder doesn't +grow indefinitely. + +Another way to prevent having to process ever more messages from the folder +to read is to automatically move all processed messages to an archive folder +that can be specified. diff --git a/fetchmail_attach_from_folder/security/ir.model.access.csv b/fetchmail_attach_from_folder/security/ir.model.access.csv new file mode 100644 index 000000000..50c676fb3 --- /dev/null +++ b/fetchmail_attach_from_folder/security/ir.model.access.csv @@ -0,0 +1,4 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_model_fetchmail_server_folder,fetchmail.server.folder,model_fetchmail_server_folder,base.group_system,1,1,1,1 +access_fetchmail_attach_mail_manually,access_fetchmail_attach_mail_manually,model_fetchmail_attach_mail_manually,base.group_system,1,1,1,1 +access_fetchmail_attach_mail_manually_mail,access_fetchmail_attach_mail_manually_mail,model_fetchmail_attach_mail_manually_mail,base.group_system,1,1,1,1 diff --git a/fetchmail_attach_from_folder/static/description/icon.png b/fetchmail_attach_from_folder/static/description/icon.png new file mode 100644 index 000000000..be54e22b8 Binary files /dev/null and b/fetchmail_attach_from_folder/static/description/icon.png differ diff --git a/fetchmail_attach_from_folder/static/description/index.html b/fetchmail_attach_from_folder/static/description/index.html new file mode 100644 index 000000000..3c1707bd5 --- /dev/null +++ b/fetchmail_attach_from_folder/static/description/index.html @@ -0,0 +1,484 @@ + + + + + + +Email gateway - folders + + + +
+

Email gateway - folders

+ + +

Beta License: AGPL-3 OCA/server-tools Translate me on Weblate Try me on Runboat

+

Adds the possibility to attach emails from a certain IMAP folder to +objects, ie partners. Matching is done via several algorithms, ie email +address, email address’s domain or the original Odoo algorithm.

+

This gives a simple possibility to archive emails in Odoo without a mail +client integration.

+

Table of contents

+ +
+

Configuration

+

In your fetchmail configuration, you’ll find a new list field +Folders to  monitor. Add your folders here in IMAP notation (usually +something like INBOX.your_folder_name.your_subfolder_name), choose a +model to attach mails to and a matching algorithm to use.

+
+

Exact mailaddress

+

Fill in a field to search for the email address in Field (model). +For partners, this would be email. Also fill in the header field +from the email to look at in Field (email). If you want to match +incoming mails from your customers, this would be from. You can also +list header fields, so to match partners receiving this email, you might +fill in to,cc,bcc.

+
+
+

Domain of email addresses

+

Match the domain of the email address(es) found in Field (email). +This would attach a mail to test1@example.com to a record with +Field (model) set to test2@example.com. Given that this is a +fuzzy match, you probably want to check Use 1st match, because +otherwise nothing happens if multiple possible matches are found.

+
+
+

Odoo standard

+

This is stricly speaking no matching algorithm, but calls the model’s +standard action on new incoming mail, which is usually creating a new +record.

+
+
+
+

Usage

+

A widespread configuration is to have a shared mailbox with several +folders, i.e. one where users drop mails they want to attach to +partners. Let this folder be called From partners. Then create a +folder configuration for your server with path "INBOX.From partners" +(note the quotes because of the space, this is server dependent). Choose +model Partners, set Field (model) to email and +Field (email) to from. In Domain, you could fill in +[('customer', '=', True)] to be sure to only match customer records.

+

Now when your users drop mails into this folder, they will be fetched by +Odoo and attached to the partner in question. After some testing, you +might want to check Delete matches in your folder configuration so +that this folder doesn’t grow indefinitely.

+

Another way to prevent having to process ever more messages from the +folder to read is to automatically move all processed messages to an +archive folder that can be specified.

+
+
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Therp BV
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

+

Current maintainer:

+

NL66278

+

This module is part of the OCA/server-tools project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/fetchmail_attach_from_folder/tests/__init__.py b/fetchmail_attach_from_folder/tests/__init__.py new file mode 100644 index 000000000..937f17cc8 --- /dev/null +++ b/fetchmail_attach_from_folder/tests/__init__.py @@ -0,0 +1,3 @@ +# Copyright - 2015-2018 Therp BV . +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from . import test_match_algorithms diff --git a/fetchmail_attach_from_folder/tests/test_match_algorithms.py b/fetchmail_attach_from_folder/tests/test_match_algorithms.py new file mode 100644 index 000000000..04018f42b --- /dev/null +++ b/fetchmail_attach_from_folder/tests/test_match_algorithms.py @@ -0,0 +1,124 @@ +# Copyright - 2015-2018 Therp BV . +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from odoo.tests.common import TransactionCase + +from ..match_algorithm import email_domain + +TEST_EMAIL = "reynaert@dutchsagas.nl" +TEST_SUBJECT = "Test subject" +MSG_BODY = [ + ( + "1 (RFC822 {1149}", + "Return-Path: \r\n" + "Delivered-To: demo@yourcompany.example.com\r\n" + "Received: from localhost (localhost [127.0.0.1])\r\n" + "\tby vanaheim.acme.com (Postfix) with ESMTP id 14A3183163\r\n" + "\tfor ;" + " Mon, 26 Mar 2018 16:03:52 +0200 (CEST)\r\n" + "To: Test User \r\n" + "From: Reynaert de Vos <%(test_email)s>\r\n" + "Subject: %(test_subject)s\r\n" + "Message-ID: <485a8041-d560-a981-5afc-d31c1f136748@acme.com>\r\n" + "Date: Mon, 26 Mar 2018 16:03:51 +0200\r\n" + "User-Agent: Mock Test\r\n" + "MIME-Version: 1.0\r\n" + "Content-Type: text/plain; charset=utf-8\r\n" + "Content-Language: en-US\r\n" + "Content-Transfer-Encoding: 7bit\r\n\r\n" + "Hallo Wereld!\r\n" % {"test_email": TEST_EMAIL, "test_subject": TEST_SUBJECT}, + ) +] +MAIL_MESSAGE = {"subject": TEST_SUBJECT, "to": "demo@yourcompany.example.com"} + + +class MockConnection: + def select(self, path): + """Mock selecting a folder.""" + return ("OK",) + + def store(self, msgid, msg_item, value): + """Mock store command.""" + return "OK" + + def fetch(self, msgid, parts): + """Return RFC822 formatted message.""" + return ("OK", MSG_BODY) + + def search(self, charset, criteria): + """Return some msgid's.""" + return ("OK", ["123 456"]) + + +class TestMatchAlgorithms(TransactionCase): + @classmethod + def setUpClass(cls): + super().setUpClass() + + cls.partner_model = cls.env["res.partner"] + cls.test_partner = cls.partner_model.with_context(tracking_disable=True).create( + {"name": "Reynaert de Vos", "email": TEST_EMAIL, "is_company": False} + ) + cls.server_model = cls.env["fetchmail.server"] + cls.folder_model = cls.env["fetchmail.server.folder"] + cls.server = cls.server_model.create( + { + "name": "Test Fetchmail Server", + "server": "imap.example.com", + "server_type": "imap", + "active": True, + "state": "done", + } + ) + cls.folder = cls.folder_model.create( + { + "server_id": cls.server.id, + "sequence": 5, + "path": "INBOX", + "model_id": cls.env.ref("base.model_res_partner").id, + "model_field": "email", + "match_algorithm": "email_exact", + # The intention is to link email to sender partner object. + "mail_field": "from", + } + ) + + def test_email_exact(self): + """A message to ronald@acme.com should be linked to partner with that email.""" + MAIL_MESSAGE["from"] = TEST_EMAIL + self._test_search_matches(email_domain.EmailDomain) + self._test_apply_matching(email_domain.EmailDomain) + + def test_email_domain(self): + """Test with email in same domain, but different mailbox.""" + ALTERNATE_EMAIL = TEST_EMAIL.replace("reynaert@", "mariken@") + MAIL_MESSAGE["from"] = ALTERNATE_EMAIL + self.folder.match_algorithm = "email_domain" + self.folder.match_first = True + self._test_search_matches(email_domain.EmailDomain) + self._test_apply_matching(email_domain.EmailDomain) + + def _test_search_matches(self, match_algorithm): + matcher = match_algorithm() + matches = matcher.search_matches(self.folder, MAIL_MESSAGE) + # matches should be a record set with length 1. + self.assertEqual(matches.email, self.test_partner.email) + self.assertEqual(matches, self.test_partner) + + def _test_apply_matching(self, match_algorithm): + connection = MockConnection() + thread_id = self.folder.apply_matching(connection, "1") + self.assertEqual(thread_id, self.test_partner.id) + self.assertEqual(self.test_partner.message_ids[-1].subject, TEST_SUBJECT) + + def test_apply_matching_exact(self): + folder = self.folder + folder.match_algorithm = "email_exact" + connection = MockConnection() + msgid = "<485a8041-d560-a981-5afc-d31c1f136748@acme.com>" + folder.apply_matching(connection, msgid) + + def test_retrieve_imap_folder_domain(self): + folder = self.folder + folder.match_algorithm = "email_domain" + connection = MockConnection() + folder.retrieve_imap_folder(connection) diff --git a/fetchmail_attach_from_folder/views/fetchmail_server.xml b/fetchmail_attach_from_folder/views/fetchmail_server.xml new file mode 100644 index 000000000..9cf93de4b --- /dev/null +++ b/fetchmail_attach_from_folder/views/fetchmail_server.xml @@ -0,0 +1,116 @@ + + + + + fetchmail.server.form + fetchmail.server + + + + {'required': [('server_type', '!=', 'imap')]} + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+
+
+ +
diff --git a/fetchmail_attach_from_folder/wizard/__init__.py b/fetchmail_attach_from_folder/wizard/__init__.py new file mode 100644 index 000000000..adb296dfe --- /dev/null +++ b/fetchmail_attach_from_folder/wizard/__init__.py @@ -0,0 +1,3 @@ +# Copyright - 2013-2018 Therp BV . +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +from . import attach_mail_manually diff --git a/fetchmail_attach_from_folder/wizard/attach_mail_manually.py b/fetchmail_attach_from_folder/wizard/attach_mail_manually.py new file mode 100644 index 000000000..bd75b208d --- /dev/null +++ b/fetchmail_attach_from_folder/wizard/attach_mail_manually.py @@ -0,0 +1,107 @@ +# Copyright 2013-2018 Therp BV . +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +import logging + +from odoo import _, api, fields, models + +_logger = logging.getLogger(__name__) + + +class AttachMailManually(models.TransientModel): + """Attach mail to selected documents.""" + + _name = "fetchmail.attach.mail.manually" + _description = __doc__ + + name = fields.Char() + folder_id = fields.Many2one(comodel_name="fetchmail.server.folder", readonly=True) + mail_ids = fields.One2many( + "fetchmail.attach.mail.manually.mail", "wizard_id", "Emails" + ) + + @api.model + def _prepare_mail(self, folder, msgid, mail_message): + return { + "msgid": msgid, + "subject": mail_message.get("subject", ""), + "date": mail_message.get("date", ""), + "body": mail_message.get("body", ""), + "email_from": mail_message.get("from", ""), + "object_id": "%s,-1" % folder.model_id.model, + } + + @api.model + def default_get(self, fields_list): + defaults = super(AttachMailManually, self).default_get(fields_list) + if not fields_list or "name" in fields_list: + defaults["name"] = _("Attach emails manually") + defaults["mail_ids"] = [] + folder_model = self.env["fetchmail.server.folder"] + folder_id = self.env.context.get("folder_id") + defaults["folder_id"] = folder_id + folder = folder_model.browse([folder_id]) + connection = folder.server_id.connect() + connection.select(folder.path) + criteria = "FLAGGED" if folder.flag_nonmatching else "UNDELETED" + msgids = folder.get_msgids(connection, criteria) + for msgid in msgids[0].split(): + mail_message, message_org = folder.fetch_msg(connection, msgid) + defaults["mail_ids"].append( + (0, 0, self._prepare_mail(folder, msgid, mail_message)) + ) + connection.close() + return defaults + + def attach_mails(self): + self.ensure_one() + folder = self.folder_id + server = folder.server_id + connection = server.connect() + connection.select(folder.path) + for mail in self.mail_ids: + if not mail.object_id: + continue + msgid = mail.msgid + mail_message, message_org = folder.fetch_msg(connection, msgid) + folder.attach_mail(mail.object_id, mail_message) + folder.update_msg( + connection, msgid, matched=True, flagged=folder.flag_nonmatching + ) + connection.close() + return {"type": "ir.actions.act_window_close"} + + @api.model + def fields_view_get( + self, view_id=None, view_type="form", toolbar=False, submenu=False + ): + # TODO: Change or replace this... + result = super(AttachMailManually, self).fields_view_get( + view_id=view_id, view_type=view_type, toolbar=toolbar, submenu=submenu + ) + if view_type != "form": + return result + folder_model = self.env["fetchmail.server.folder"] + folder_id = self.env.context.get("folder_id") + folder = folder_model.browse([folder_id]) + form = result["fields"]["mail_ids"]["views"]["form"] + form["fields"]["object_id"]["selection"] = [ + (folder.model_id.model, folder.model_id.name) + ] + return result + + +class AttachMailManuallyMail(models.TransientModel): + """Attach single mail to selected documents.""" + + _name = "fetchmail.attach.mail.manually.mail" + _description = __doc__ + + wizard_id = fields.Many2one("fetchmail.attach.mail.manually", readonly=True) + msgid = fields.Char("Message id", readonly=True) + subject = fields.Char(readonly=True) + date = fields.Datetime(readonly=True) + email_from = fields.Char("From", readonly=True) + body = fields.Html(readonly=True) + object_id = fields.Reference( + lambda self: [(m.model, m.name) for m in self.env["ir.model"].search([])] + ) diff --git a/fetchmail_attach_from_folder/wizard/attach_mail_manually.xml b/fetchmail_attach_from_folder/wizard/attach_mail_manually.xml new file mode 100644 index 000000000..10750a2a9 --- /dev/null +++ b/fetchmail_attach_from_folder/wizard/attach_mail_manually.xml @@ -0,0 +1,43 @@ + + + + + fetchmail.attach.mail.manually + fetchmail.attach.mail.manually + +
+ + + + + + + + + + + + + + + + + + + +
+ + +
+
+ +
diff --git a/setup/fetchmail_attach_from_folder/odoo/addons/fetchmail_attach_from_folder b/setup/fetchmail_attach_from_folder/odoo/addons/fetchmail_attach_from_folder new file mode 120000 index 000000000..feaa017ce --- /dev/null +++ b/setup/fetchmail_attach_from_folder/odoo/addons/fetchmail_attach_from_folder @@ -0,0 +1 @@ +../../../../fetchmail_attach_from_folder \ No newline at end of file diff --git a/setup/fetchmail_attach_from_folder/setup.py b/setup/fetchmail_attach_from_folder/setup.py new file mode 100644 index 000000000..28c57bb64 --- /dev/null +++ b/setup/fetchmail_attach_from_folder/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)