Browse Source

Merge pull request #194 from Ommo73/12.0-69c0e6be96563187c09c3748daa61347f7e29360

12.0 69c0e6be96
pull/219/head
Bot 5 years ago
committed by GitHub
parent
commit
05e2572d1e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      mail_all/README.rst
  2. 35
      mail_all/i18n/sl.po
  3. 35
      mail_archives/i18n/sl.po
  4. 5
      mail_base/i18n/de.po
  5. 12
      mail_base/i18n/sl.po
  6. 2
      mail_private/__manifest__.py
  7. 5
      mail_private/doc/changelog.rst
  8. 7
      mail_private/models.py
  9. 10
      mail_sent/i18n/de.po
  10. 22
      mail_sent/i18n/sl.po
  11. 10
      mail_to/i18n/de.po
  12. 41
      mail_to/i18n/sl.po

2
mail_all/README.rst

@ -40,4 +40,4 @@ Usage instructions: `<doc/index.rst>`_
Changelog: `<doc/changelog.rst>`_
Tested on Odoo 12.0 80cef9e8c52ff7dc0715a7478a2288d3de7065df
Tested on Odoo 11.0 69c0e6be96563187c09c3748daa61347f7e29360

35
mail_all/i18n/sl.po

@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mail_all
#
# Translators:
# Matjaz Mozetic <m.mozetic@matmoz.si>, 2019
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-05-05 23:09+0000\n"
"PO-Revision-Date: 2018-04-21 00:05+0000\n"
"Last-Translator: Matjaz Mozetic <m.mozetic@matmoz.si>, 2019\n"
"Language-Team: Slovenian (https://www.transifex.com/it-projects-llc/teams/76080/sl/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: sl\n"
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n"
#. module: mail_all
#. openerp-web
#: code:addons/mail_all/static/src/js/mail_all.js:49
#: code:addons/mail_all/static/src/xml/menu.xml:7
#, python-format
msgid "All messages"
msgstr "Vsa sporočila"
#. module: mail_all
#. openerp-web
#: code:addons/mail_all/static/src/xml/menu.xml:15
#, python-format
msgid "No messages"
msgstr "Ni sporočil"

35
mail_archives/i18n/sl.po

@ -0,0 +1,35 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mail_archives
#
# Translators:
# Matjaz Mozetic <m.mozetic@matmoz.si>, 2019
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-05-05 23:09+0000\n"
"PO-Revision-Date: 2018-04-21 00:05+0000\n"
"Last-Translator: Matjaz Mozetic <m.mozetic@matmoz.si>, 2019\n"
"Language-Team: Slovenian (https://www.transifex.com/it-projects-llc/teams/76080/sl/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: sl\n"
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n"
#. module: mail_archives
#. openerp-web
#: code:addons/mail_archives/static/src/js/archives.js:68
#: code:addons/mail_archives/static/src/xml/menu.xml:7
#, python-format
msgid "Archive"
msgstr "Arhiv"
#. module: mail_archives
#. openerp-web
#: code:addons/mail_archives/static/src/xml/menu.xml:15
#, python-format
msgid "Archive is empty"
msgstr "Arhiv je prazen"

5
mail_base/i18n/de.po

@ -4,6 +4,7 @@
#
# Translators:
# Dawid Runowski <dawrun@outlook.com>, 2019
# Ermin Trevisan <trevi@twanda.com>, 2019
#
msgid ""
msgstr ""
@ -11,7 +12,7 @@ msgstr ""
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-05-05 23:09+0000\n"
"PO-Revision-Date: 2017-11-28 13:59+0000\n"
"Last-Translator: Dawid Runowski <dawrun@outlook.com>, 2019\n"
"Last-Translator: Ermin Trevisan <trevi@twanda.com>, 2019\n"
"Language-Team: German (https://www.transifex.com/it-projects-llc/teams/76080/de/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@ -22,7 +23,7 @@ msgstr ""
#. module: mail_base
#: model:ir.model,name:mail_base.model_mail_compose_message
msgid "Email composition wizard"
msgstr ""
msgstr "Assistent für die Email-Gestaltung"
#. module: mail_base
#: model:ir.model,name:mail_base.model_mail_message

12
mail_base/i18n/sl.po

@ -4,13 +4,15 @@
#
# Translators:
# Translation Bot <i18n-bot@it-projects.info>, 2017
# Matjaz Mozetic <m.mozetic@matmoz.si>, 2019
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-07-17 20:20+0000\n"
"PO-Revision-Date: 2017-07-17 20:20+0000\n"
"Last-Translator: Translation Bot <i18n-bot@it-projects.info>, 2017\n"
"POT-Creation-Date: 2018-05-05 23:09+0000\n"
"PO-Revision-Date: 2017-11-28 13:59+0000\n"
"Last-Translator: Matjaz Mozetic <m.mozetic@matmoz.si>, 2019\n"
"Language-Team: Slovenian (https://www.transifex.com/it-projects-llc/teams/76080/sl/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@ -21,7 +23,7 @@ msgstr ""
#. module: mail_base
#: model:ir.model,name:mail_base.model_mail_compose_message
msgid "Email composition wizard"
msgstr ""
msgstr "Čarovnik za sestavljanje sporočil"
#. module: mail_base
#: model:ir.model,name:mail_base.model_mail_message

2
mail_private/__manifest__.py

@ -7,7 +7,7 @@
"category": "Discuss",
# "live_test_url": "http://apps.it-projects.info/shop/product/DEMO-URL?version=12.0",
"images": [],
"version": "12.0.1.0.2",
"version": "12.0.1.1.0",
"application": False,
"author": "IT-Projects LLC, Pavel Romanchenko",

5
mail_private/doc/changelog.rst

@ -1,3 +1,8 @@
`1.1.0`
-------
- **New**: internal users are flagged automatically.
`1.0.2`
-------

7
mail_private/models.py

@ -21,13 +21,14 @@ class MailMessage(models.Model):
result = []
default_resource = self.env[model].search(domain)
follower_ids = default_resource.message_follower_ids
internal_ids = self.get_internal_users_ids()
recipient_ids = [r.partner_id for r in follower_ids if r.partner_id]
# channel_ids = [c.channel_id for c in follower_ids if c.channel_id]
for recipient in recipient_ids:
result.append({
'checked': len(recipient.user_ids) > 0,
'checked': recipient.user_ids.id in internal_ids,
'partner_id': recipient.id,
'full_name': recipient.name,
'name': recipient.name,
@ -61,3 +62,7 @@ class MailMessage(models.Model):
pids = [x[1] for x in msg_vals.get('partner_ids')] if 'partner_ids' in msg_vals else self.sudo().partner_ids.ids
recipient_data['partners'] = [i for i in recipient_data['partners'] if i['id'] in pids]
return recipient_data
def get_internal_users_ids(self):
internal_users_ids = self.env['res.users'].search([('share', '=', False)]).ids
return internal_users_ids

10
mail_sent/i18n/de.po

@ -4,6 +4,7 @@
#
# Translators:
# Dawid Runowski <dawrun@outlook.com>, 2019
# Ermin Trevisan <trevi@twanda.com>, 2019
#
msgid ""
msgstr ""
@ -11,7 +12,7 @@ msgstr ""
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-05-05 23:09+0000\n"
"PO-Revision-Date: 2018-04-21 00:05+0000\n"
"Last-Translator: Dawid Runowski <dawrun@outlook.com>, 2019\n"
"Last-Translator: Ermin Trevisan <trevi@twanda.com>, 2019\n"
"Language-Team: German (https://www.transifex.com/it-projects-llc/teams/76080/de/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@ -22,7 +23,7 @@ msgstr ""
#. module: mail_sent
#: model:ir.model,name:mail_sent.model_mail_compose_message
msgid "Email composition wizard"
msgstr ""
msgstr "Assistent für die Email-Gestaltung"
#. module: mail_sent
#: model:ir.model,name:mail_sent.model_mail_message
@ -51,14 +52,15 @@ msgstr "versandt"
#: model:ir.model.fields,help:mail_sent.field_mail_mail_sent
#: model:ir.model.fields,help:mail_sent.field_mail_message_sent
msgid "Was message sent to someone"
msgstr "Die Nachricht wurde an jmdn versandt"
msgstr "Die Nachricht wurde an jemanden versandt"
#. module: mail_sent
#. openerp-web
#: code:addons/mail_sent/static/src/xml/menu.xml:16
#, python-format
msgid "You can send messages and then these messages will appear here."
msgstr "dann erscheinen diese Nachrichten hier."
msgstr ""
"Sie können Nachrichten versenden, dann erscheinen diese Nachrichten hier."
#. module: mail_sent
#: model:ir.model.fields,help:mail_sent.field_mail_compose_message_sent

22
mail_sent/i18n/sl.po

@ -3,14 +3,16 @@
# * mail_sent
#
# Translators:
# Translation Bot <i18n-bot@it-projects.info>, 2017
# Translation Bot <i18n-bot@it-projects.info>, 2018
# Matjaz Mozetic <m.mozetic@matmoz.si>, 2019
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-07-17 20:20+0000\n"
"PO-Revision-Date: 2017-07-17 20:20+0000\n"
"Last-Translator: Translation Bot <i18n-bot@it-projects.info>, 2017\n"
"POT-Creation-Date: 2018-05-05 23:09+0000\n"
"PO-Revision-Date: 2018-04-21 00:05+0000\n"
"Last-Translator: Matjaz Mozetic <m.mozetic@matmoz.si>, 2019\n"
"Language-Team: Slovenian (https://www.transifex.com/it-projects-llc/teams/76080/sl/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@ -21,7 +23,7 @@ msgstr ""
#. module: mail_sent
#: model:ir.model,name:mail_sent.model_mail_compose_message
msgid "Email composition wizard"
msgstr ""
msgstr "Čarovnik za sestavljanje sporočil"
#. module: mail_sent
#: model:ir.model,name:mail_sent.model_mail_message
@ -33,11 +35,11 @@ msgstr "Sporočilo"
#: code:addons/mail_sent/static/src/xml/menu.xml:15
#, python-format
msgid "No sent messages"
msgstr ""
msgstr "Ni poslanih sporočil"
#. module: mail_sent
#. openerp-web
#: code:addons/mail_sent/static/src/js/sent.js:70
#: code:addons/mail_sent/static/src/js/sent.js:61
#: code:addons/mail_sent/static/src/xml/menu.xml:7
#: model:ir.model.fields,field_description:mail_sent.field_mail_compose_message_sent
#: model:ir.model.fields,field_description:mail_sent.field_mail_mail_sent
@ -57,9 +59,9 @@ msgstr "Je bilo sporočilo komu poslano"
#: code:addons/mail_sent/static/src/xml/menu.xml:16
#, python-format
msgid "You can send messages and then these messages will appear here."
msgstr ""
msgstr "Poslana sporočila bodo prikazana tukaj."
#. module: mail_sent
#: model:ir.model.fields,help:mail_sent.field_mail_compose_message_sent
msgid "dummy field to fix inherit error"
msgstr ""
msgstr "dummy field to fix inherit error"

10
mail_to/i18n/de.po

@ -4,6 +4,7 @@
#
# Translators:
# Dawid Runowski <dawrun@outlook.com>, 2019
# Ermin Trevisan <trevi@twanda.com>, 2019
#
msgid ""
msgstr ""
@ -11,9 +12,8 @@ msgstr ""
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-05-05 23:09+0000\n"
"PO-Revision-Date: 2018-04-21 00:05+0000\n"
"Last-Translator: Dawid Runowski <dawrun@outlook.com>, 2019\n"
"Language-Team: German (https://www.transifex.com/it-projects-llc/teams/76080/"
"de/)\n"
"Last-Translator: Ermin Trevisan <trevi@twanda.com>, 2019\n"
"Language-Team: German (https://www.transifex.com/it-projects-llc/teams/76080/de/)\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@ -25,14 +25,14 @@ msgstr ""
#: code:addons/mail_to/static/src/xml/recipient.xml:10
#, python-format
msgid "To:"
msgstr "zu:"
msgstr "An:"
#. module: mail_to
#. openerp-web
#: code:addons/mail_to/static/src/xml/recipient.xml:19
#, python-format
msgid "and"
msgstr "un"
msgstr "und"
#. module: mail_to
#. openerp-web

41
mail_to/i18n/sl.po

@ -0,0 +1,41 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mail_to
#
# Translators:
# Matjaz Mozetic <m.mozetic@matmoz.si>, 2019
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-05-05 23:09+0000\n"
"PO-Revision-Date: 2018-04-21 00:05+0000\n"
"Last-Translator: Matjaz Mozetic <m.mozetic@matmoz.si>, 2019\n"
"Language-Team: Slovenian (https://www.transifex.com/it-projects-llc/teams/76080/sl/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: sl\n"
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n"
#. module: mail_to
#. openerp-web
#: code:addons/mail_to/static/src/xml/recipient.xml:6
#, python-format
msgid "To:"
msgstr "Za:"
#. module: mail_to
#. openerp-web
#: code:addons/mail_to/static/src/xml/recipient.xml:15
#, python-format
msgid "and"
msgstr "in"
#. module: mail_to
#. openerp-web
#: code:addons/mail_to/static/src/xml/recipient.xml:16
#, python-format
msgid "more"
msgstr "več"
Loading…
Cancel
Save