Browse Source

Merge remote-tracking branch 'upstream/11.0' into 12.0-69c0e6be96563187c09c3748daa61347f7e29360

pull/194/head
ommo73 6 years ago
parent
commit
e76e5d8484
No known key found for this signature in database GPG Key ID: E7E1F5C23505AFF8
  1. 35
      mail_all/i18n/sl.po
  2. 35
      mail_archives/i18n/sl.po
  3. 5
      mail_base/i18n/de.po
  4. 12
      mail_base/i18n/sl.po
  5. 2
      mail_private/__manifest__.py
  6. 5
      mail_private/doc/changelog.rst
  7. 7
      mail_private/models.py
  8. 10
      mail_sent/i18n/de.po
  9. 22
      mail_sent/i18n/sl.po
  10. 7
      mail_to/i18n/de.po
  11. 41
      mail_to/i18n/sl.po

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

@ -3,7 +3,7 @@
"summary": """Send private messages to specified recipients, regardless of who are in followers list.""",
"category": "Discuss",
"images": ['images/mail_private_image.png'],
"version": "11.0.1.0.2",
"version": "11.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

@ -16,13 +16,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,
@ -106,3 +107,7 @@ class MailMessage(models.Model):
self.parent_id.invalidate_cache()
return True
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"

7
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,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"
@ -24,14 +25,14 @@ msgstr ""
#: code:addons/mail_to/static/src/xml/recipient.xml:6
#, python-format
msgid "To:"
msgstr "zu:"
msgstr "An:"
#. module: mail_to
#. openerp-web
#: code:addons/mail_to/static/src/xml/recipient.xml:15
#, 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