diff options
| author | Amit Patel <apa@tinyerp.com> | 2012-09-12 11:13:36 +0530 |
|---|---|---|
| committer | Amit Patel <apa@tinyerp.com> | 2012-09-12 11:13:36 +0530 |
| commit | ec930cd97decfbe1cd138b638d081536bb9632e2 (patch) | |
| tree | 23bcb442d5ff6aaf16d80c28044a16eb8c4c794c /addons/fetchmail | |
| parent | d52e25483482b464c37695abf8d24e94598f3516 (diff) | |
| parent | f1f23c52ea1601b7588a91497ba46e5b826719b7 (diff) | |
[MEREGE]:trunk
bzr revid: apa@tinyerp.com-20120912054336-9qq9zfewjh4f9432
Diffstat (limited to 'addons/fetchmail')
| -rw-r--r-- | addons/fetchmail/fetchmail.py | 10 | ||||
| -rw-r--r-- | addons/fetchmail/fetchmail_view.xml | 19 | ||||
| -rw-r--r-- | addons/fetchmail/i18n/nb.po | 335 |
3 files changed, 344 insertions, 20 deletions
diff --git a/addons/fetchmail/fetchmail.py b/addons/fetchmail/fetchmail.py index 544a4f81b96..70a05c6bd0e 100644 --- a/addons/fetchmail/fetchmail.py +++ b/addons/fetchmail/fetchmail.py @@ -77,7 +77,7 @@ class fetchmail_server(osv.osv): "emails to the existing conversations (documents)."), 'priority': fields.integer('Server Priority', readonly=True, states={'draft':[('readonly', False)]}, help="Defines the order of processing, " "lower values mean higher priority"), - 'message_ids': fields.one2many('mail.message', 'fetchmail_server_id', 'Messages', readonly=True), + 'message_ids': fields.one2many('mail.mail', 'fetchmail_server_id', 'Messages', readonly=True), 'configuration' : fields.text('Configuration'), 'script' : fields.char('Script', readonly=True, size=64), } @@ -232,8 +232,8 @@ openerp_mailgate.py -u %(uid)d -p PASSWORD -o %(model)s -d %(dbname)s --host=HOS server.write({'date': time.strftime(tools.DEFAULT_SERVER_DATETIME_FORMAT)}) return True -class mail_message(osv.osv): - _inherit = "mail.message" +class mail_mail(osv.osv): + _inherit = "mail.mail" _columns = { 'fetchmail_server_id': fields.many2one('fetchmail.server', "Inbound Mail Server", readonly=True, @@ -247,7 +247,7 @@ class mail_message(osv.osv): fetchmail_server_id = context.get('fetchmail_server_id') if fetchmail_server_id: values['fetchmail_server_id'] = fetchmail_server_id - res = super(mail_message,self).create(cr, uid, values, context=context) + res = super(mail_mail,self).create(cr, uid, values, context=context) return res def write(self, cr, uid, ids, values, context=None): @@ -256,7 +256,7 @@ class mail_message(osv.osv): fetchmail_server_id = context.get('fetchmail_server_id') if fetchmail_server_id: values['fetchmail_server_id'] = server_id - res = super(mail_message,self).write(cr, uid, ids, values, context=context) + res = super(mail_mail,self).write(cr, uid, ids, values, context=context) return res diff --git a/addons/fetchmail/fetchmail_view.xml b/addons/fetchmail/fetchmail_view.xml index cf651b5fd3d..3cdc886ba2b 100644 --- a/addons/fetchmail/fetchmail_view.xml +++ b/addons/fetchmail/fetchmail_view.xml @@ -104,27 +104,16 @@ /> <record model="ir.ui.view" id="email_message_tree_view"> - <field name="name">mail.message.list.fetchmail</field> - <field name="model">mail.message</field> - <field name="inherit_id" ref="mail.view_email_message_tree"/> + <field name="name">mail.mail.form.fetchmail</field> + <field name="model">mail.mail</field> + <field name="inherit_id" ref="mail.view_mail_form"/> <field name="arch" type="xml"> - <field name="user_id" position="after"> + <field name="references" position="after"> <field name="fetchmail_server_id"/> </field> </field> </record> - <record model="ir.ui.view" id="email_message_search_view"> - <field name="name">mail.message.inherit.search</field> - <field name="model">mail.message</field> - <field name="inherit_id" ref="mail.view_email_message_search"/> - <field name="arch" type="xml"> - <xpath expr="/search/group/filter[@string='Thread']" position="before"> - <filter string="Mail Server" icon="terp-accessories-archiver" domain="[]" context="{'group_by':'fetchmail_server_id'}"/> - </xpath> - </field> - </record> - <act_window context="{'search_default_server_id': active_id, 'default_fetchmail_server_id': active_id}" id="act_server_history" name="Messages" domain="[('email_from', '!=', False), ('fetchmail_server_id', '=', active_id)]" diff --git a/addons/fetchmail/i18n/nb.po b/addons/fetchmail/i18n/nb.po new file mode 100644 index 00000000000..b5a6c409b79 --- /dev/null +++ b/addons/fetchmail/i18n/nb.po @@ -0,0 +1,335 @@ +# Norwegian Bokmal translation for openobject-addons +# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 +# This file is distributed under the same license as the openobject-addons package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: openobject-addons\n" +"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" +"POT-Creation-Date: 2012-02-08 00:36+0000\n" +"PO-Revision-Date: 2012-09-08 18:59+0000\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: Norwegian Bokmal <nb@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2012-09-09 04:52+0000\n" +"X-Generator: Launchpad (build 15914)\n" + +#. module: fetchmail +#: selection:fetchmail.server,state:0 +msgid "Confirmed" +msgstr "Bekreftet" + +#. module: fetchmail +#: field:fetchmail.server,server:0 +msgid "Server Name" +msgstr "Tjener navn" + +#. module: fetchmail +#: field:fetchmail.server,script:0 +msgid "Script" +msgstr "Manus" + +#. module: fetchmail +#: help:fetchmail.server,priority:0 +msgid "Defines the order of processing, lower values mean higher priority" +msgstr "" +"Definerer rekkefølgen av behandlingen, lavere verdier betyr høyere prioritet." + +#. module: fetchmail +#: help:fetchmail.server,is_ssl:0 +msgid "" +"Connections are encrypted with SSL/TLS through a dedicated port (default: " +"IMAPS=993, POP3S=995)" +msgstr "" +"Tilkoblinger er kryptert med SSL / TLS gjennom en egen port (standard: IMAPS " +"= 993, POP3S = 995)" + +#. module: fetchmail +#: field:fetchmail.server,attach:0 +msgid "Keep Attachments" +msgstr "Hold Vedlegg" + +#. module: fetchmail +#: help:fetchmail.server,original:0 +msgid "" +"Whether a full original copy of each email should be kept for referenceand " +"attached to each processed message. This will usually double the size of " +"your message database." +msgstr "" +"Om en full original kopi av hver e-post bør holdes for referenceand festet " +"til hver bearbeidet melding. Dette vil vanligvis doble størrelsen på " +"meldingen database." + +#. module: fetchmail +#: field:fetchmail.server,priority:0 +msgid "Server Priority" +msgstr "Tjener prioritet." + +#. module: fetchmail +#: field:fetchmail.server,state:0 +msgid "State" +msgstr "Stat" + +#. module: fetchmail +#: view:fetchmail.server:0 +msgid "POP" +msgstr "POP" + +#. module: fetchmail +#: view:fetchmail.server:0 +msgid "Fetch Now" +msgstr "Hente nå." + +#. module: fetchmail +#: model:ir.actions.act_window,name:fetchmail.action_email_server_tree +#: model:ir.ui.menu,name:fetchmail.menu_action_fetchmail_server_tree +msgid "Incoming Mail Servers" +msgstr "Innkommende Mail Tjenere." + +#. module: fetchmail +#: field:fetchmail.server,port:0 +msgid "Port" +msgstr "Port" + +#. module: fetchmail +#: view:fetchmail.server:0 +msgid "POP/IMAP Servers" +msgstr "POP/IMAP tjenere." + +#. module: fetchmail +#: selection:fetchmail.server,type:0 +msgid "Local Server" +msgstr "Lokal tjener." + +#. module: fetchmail +#: field:fetchmail.server,user:0 +msgid "Username" +msgstr "Brukernavn:" + +#. module: fetchmail +#: model:ir.model,name:fetchmail.model_fetchmail_server +msgid "POP/IMAP Server" +msgstr "POP/IMAP Tjener." + +#. module: fetchmail +#: view:fetchmail.server:0 +msgid "Reset Confirmation" +msgstr "Tilbakestille Bekreftelse." + +#. module: fetchmail +#: view:fetchmail.server:0 +msgid "SSL" +msgstr "SSL" + +#. module: fetchmail +#: model:ir.model,name:fetchmail.model_mail_message +msgid "Email Message" +msgstr "E-post Melding." + +#. module: fetchmail +#: field:fetchmail.server,date:0 +msgid "Last Fetch Date" +msgstr "Siste Hente Dato." + +#. module: fetchmail +#: help:fetchmail.server,action_id:0 +msgid "" +"Optional custom server action to trigger for each incoming mail, on the " +"record that was created or updated by this mail" +msgstr "" +"Ekstra tilpasset server tiltak for å utløse for hver innkommende e-post, på " +"plata som ble opprettet eller oppdatert i denne posten." + +#. module: fetchmail +#: view:fetchmail.server:0 +msgid "# of emails" +msgstr "# Av e-post." + +#. module: fetchmail +#: field:fetchmail.server,original:0 +msgid "Keep Original" +msgstr "Hold Original" + +#. module: fetchmail +#: code:addons/fetchmail/fetchmail.py:155 +#, python-format +msgid "" +"Here is what we got instead:\n" +" %s" +msgstr "" +"Her er hva vi fikk i stedet:\n" +" % s" + +#. module: fetchmail +#: view:fetchmail.server:0 +#: field:fetchmail.server,configuration:0 +msgid "Configuration" +msgstr "Konfigurasjon" + +#. module: fetchmail +#: view:fetchmail.server:0 +msgid "Incoming Mail Server" +msgstr "Innkommende E-post tjener." + +#. module: fetchmail +#: code:addons/fetchmail/fetchmail.py:155 +#, python-format +msgid "Connection test failed!" +msgstr "Tilkoblingen var mislykket!" + +#. module: fetchmail +#: help:fetchmail.server,server:0 +msgid "Hostname or IP of the mail server" +msgstr "Vertsnavn eller IP for e-postserveren." + +#. module: fetchmail +#: view:fetchmail.server:0 +msgid "Server type IMAP." +msgstr "Tjener type IMAP." + +#. module: fetchmail +#: field:fetchmail.server,name:0 +msgid "Name" +msgstr "Navn" + +#. module: fetchmail +#: field:fetchmail.server,is_ssl:0 +msgid "SSL/TLS" +msgstr "SSL/TLS" + +#. module: fetchmail +#: view:fetchmail.server:0 +msgid "Test & Confirm" +msgstr "Test & Bekreft" + +#. module: fetchmail +#: field:fetchmail.server,action_id:0 +msgid "Server Action" +msgstr "Tjenerhandling" + +#. module: fetchmail +#: field:mail.message,fetchmail_server_id:0 +msgid "Inbound Mail Server" +msgstr "Inngående E-post tjener." + +#. module: fetchmail +#: field:fetchmail.server,message_ids:0 +#: model:ir.actions.act_window,name:fetchmail.act_server_history +msgid "Messages" +msgstr "Meldinger" + +#. module: fetchmail +#: view:fetchmail.server:0 +msgid "Search Incoming Mail Servers" +msgstr "Søk innkommende post tjenere." + +#. module: fetchmail +#: field:fetchmail.server,active:0 +msgid "Active" +msgstr "Aktiv" + +#. module: fetchmail +#: help:fetchmail.server,attach:0 +msgid "" +"Whether attachments should be downloaded. If not enabled, incoming emails " +"will be stripped of any attachments before being processed" +msgstr "" +"Om vedlegg skal lastes ned. Hvis ikke er aktivert, vil innkommende e-post " +"blir fratatt eventuelle vedlegg før de behandles." + +#. module: fetchmail +#: view:fetchmail.server:0 +msgid "Advanced Options" +msgstr "" + +#. module: fetchmail +#: selection:fetchmail.server,type:0 +msgid "IMAP Server" +msgstr "IMAP-tjener" + +#. module: fetchmail +#: view:fetchmail.server:0 +msgid "IMAP" +msgstr "IMAP" + +#. module: fetchmail +#: view:fetchmail.server:0 +msgid "Server type POP." +msgstr "Tjener type POP." + +#. module: fetchmail +#: field:fetchmail.server,password:0 +msgid "Password" +msgstr "Passord:" + +#. module: fetchmail +#: view:fetchmail.server:0 +msgid "Actions to Perform on Incoming Mails" +msgstr "Tiltak for å utføre på innkommende post." + +#. module: fetchmail +#: field:fetchmail.server,type:0 +msgid "Server Type" +msgstr "Tjener Type." + +#. module: fetchmail +#: view:fetchmail.server:0 +msgid "Login Information" +msgstr "Inn loggings informasjon." + +#. module: fetchmail +#: view:fetchmail.server:0 +msgid "Server Information" +msgstr "Tjenerinformasjon" + +#. module: fetchmail +#: view:fetchmail.server:0 +msgid "If SSL required." +msgstr "Hvis SSL nødvendig." + +#. module: fetchmail +#: view:fetchmail.server:0 +msgid "Advanced" +msgstr "Avansert" + +#. module: fetchmail +#: view:fetchmail.server:0 +msgid "Server & Login" +msgstr "Tjener og Logg inn." + +#. module: fetchmail +#: help:fetchmail.server,object_id:0 +msgid "" +"Process each incoming mail as part of a conversation corresponding to this " +"document type. This will create new documents for new conversations, or " +"attach follow-up emails to the existing conversations (documents)." +msgstr "" +"Behandle hver innkommende post som del av en samtale tilsvarende denne " +"dokumenttypen. Dette vil skape nye dokumenter for nye samtaler, eller legge " +"oppfølging e-post til de eksisterende samtaler (dokumenter)." + +#. module: fetchmail +#: field:fetchmail.server,object_id:0 +msgid "Create a New Record" +msgstr "Oppretter en ny oppføring." + +#. module: fetchmail +#: selection:fetchmail.server,state:0 +msgid "Not Confirmed" +msgstr "Ikke bekreftet." + +#. module: fetchmail +#: selection:fetchmail.server,type:0 +msgid "POP Server" +msgstr "POP tjener." + +#. module: fetchmail +#: view:mail.message:0 +msgid "Mail Server" +msgstr "E-posttjener" + +#~ msgid "Advanced options" +#~ msgstr "Avanserte alternativer" |
