[FIX] base_multi_image - Fix method name
parent
4538ab3d18
commit
ac5d45d254
|
@ -7,8 +7,8 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: server-tools (9.0)\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-04-02 00:57+0000\n"
|
||||
"PO-Revision-Date: 2016-03-31 07:18+0000\n"
|
||||
"POT-Creation-Date: 2016-07-09 10:34+0000\n"
|
||||
"PO-Revision-Date: 2016-07-04 13:41+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>\n"
|
||||
"Language-Team: English (http://www.transifex.com/oca/OCA-server-tools-9-0/language/en/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
|
@ -24,6 +24,11 @@ msgstr ""
|
|||
msgid "A document can have only one image with the same name."
|
||||
msgstr "A document can have only one image with the same name."
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_image_attachment_id
|
||||
msgid "Attachment"
|
||||
msgstr "Attachment"
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.actions.act_window,help:base_multi_image.image_action
|
||||
msgid "Click to add an image attached to an specific record."
|
||||
|
@ -66,6 +71,11 @@ msgstr "File extension"
|
|||
msgid "Filename"
|
||||
msgstr "Filename"
|
||||
|
||||
#. module: base_multi_image
|
||||
#: selection:base_multi_image.image,storage:0
|
||||
msgid "Filestore"
|
||||
msgstr "Filestore"
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_image_image_main
|
||||
msgid "Full-sized image"
|
||||
|
@ -229,6 +239,30 @@ msgstr "Storage"
|
|||
msgid "URL"
|
||||
msgstr "URL"
|
||||
|
||||
#. module: base_multi_image
|
||||
#: code:addons/base_multi_image/models/image.py:184
|
||||
#, python-format
|
||||
msgid "You must provide a file path for the image."
|
||||
msgstr "You must provide a file path for the image."
|
||||
|
||||
#. module: base_multi_image
|
||||
#: code:addons/base_multi_image/models/image.py:178
|
||||
#, python-format
|
||||
msgid "You must provide an URL for the image."
|
||||
msgstr "You must provide an URL for the image."
|
||||
|
||||
#. module: base_multi_image
|
||||
#: code:addons/base_multi_image/models/image.py:190
|
||||
#, python-format
|
||||
msgid "You must provide an attached file for the image."
|
||||
msgstr "You must provide an attached file for the image."
|
||||
|
||||
#. module: base_multi_image
|
||||
#: code:addons/base_multi_image/models/image.py:196
|
||||
#, python-format
|
||||
msgid "You must provide an attachment for the image."
|
||||
msgstr "You must provide an attachment for the image."
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model,name:base_multi_image.model_base_multi_image_image
|
||||
msgid "base_multi_image.image"
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
# Ahmet Altınışık <aaltinisik@altinkaya.com.tr>, 2016
|
||||
# Antonio Trueba, 2016
|
||||
# Christophe CHAUVET <christophe.chauvet@gmail.com>, 2015
|
||||
# Christophe CHAUVET <christophe.chauvet@gmail.com>, 2015
|
||||
# danimaribeiro <danimaribeiro@gmail.com>, 2016
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013-2014
|
||||
# Florian Hatat, 2015
|
||||
|
@ -19,8 +20,8 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: server-tools (9.0)\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-04-02 00:57+0000\n"
|
||||
"PO-Revision-Date: 2016-03-31 07:19+0000\n"
|
||||
"POT-Creation-Date: 2016-07-09 10:34+0000\n"
|
||||
"PO-Revision-Date: 2016-07-05 18:08+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>\n"
|
||||
"Language-Team: Finnish (http://www.transifex.com/oca/OCA-server-tools-9-0/language/fi/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
|
@ -36,6 +37,11 @@ msgstr ""
|
|||
msgid "A document can have only one image with the same name."
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_image_attachment_id
|
||||
msgid "Attachment"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.actions.act_window,help:base_multi_image.image_action
|
||||
msgid "Click to add an image attached to an specific record."
|
||||
|
@ -66,7 +72,7 @@ msgstr ""
|
|||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_image_display_name
|
||||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_owner_display_name
|
||||
msgid "Display Name"
|
||||
msgstr ""
|
||||
msgstr "Nimi"
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_image_extension
|
||||
|
@ -78,6 +84,11 @@ msgstr ""
|
|||
msgid "Filename"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: selection:base_multi_image.image,storage:0
|
||||
msgid "Filestore"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_image_image_main
|
||||
msgid "Full-sized image"
|
||||
|
@ -125,7 +136,7 @@ msgstr ""
|
|||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_image___last_update
|
||||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_owner___last_update
|
||||
msgid "Last Modified on"
|
||||
msgstr ""
|
||||
msgstr "Viimeksi muokattu"
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_image_write_uid
|
||||
|
@ -241,6 +252,30 @@ msgstr ""
|
|||
msgid "URL"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: code:addons/base_multi_image/models/image.py:184
|
||||
#, python-format
|
||||
msgid "You must provide a file path for the image."
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: code:addons/base_multi_image/models/image.py:178
|
||||
#, python-format
|
||||
msgid "You must provide an URL for the image."
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: code:addons/base_multi_image/models/image.py:190
|
||||
#, python-format
|
||||
msgid "You must provide an attached file for the image."
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: code:addons/base_multi_image/models/image.py:196
|
||||
#, python-format
|
||||
msgid "You must provide an attachment for the image."
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model,name:base_multi_image.model_base_multi_image_image
|
||||
msgid "base_multi_image.image"
|
||||
|
|
|
@ -8,8 +8,8 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: server-tools (9.0)\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-05-01 13:12+0000\n"
|
||||
"PO-Revision-Date: 2016-05-06 13:12+0000\n"
|
||||
"POT-Creation-Date: 2016-06-29 00:48+0000\n"
|
||||
"PO-Revision-Date: 2016-06-14 11:06+0000\n"
|
||||
"Last-Translator: Bole <bole@dajmi5.com>\n"
|
||||
"Language-Team: Croatian (http://www.transifex.com/oca/OCA-server-tools-9-0/language/hr/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
|
@ -228,14 +228,14 @@ msgstr ""
|
|||
#. module: base_multi_image
|
||||
#: selection:base_multi_image.image,storage:0
|
||||
msgid "URL"
|
||||
msgstr ""
|
||||
msgstr "URL"
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model,name:base_multi_image.model_base_multi_image_image
|
||||
msgid "base_multi_image.image"
|
||||
msgstr ""
|
||||
msgstr "base_multi_image.image"
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model,name:base_multi_image.model_base_multi_image_owner
|
||||
msgid "base_multi_image.owner"
|
||||
msgstr ""
|
||||
msgstr "base_multi_image.owner"
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
# Chanseok <kcsgoodboy@gmail.com>, 2014
|
||||
# Chen-Do LU <clu@alkemics.com>, 2015
|
||||
# Christophe CHAUVET <christophe.chauvet@gmail.com>, 2015
|
||||
# Christophe CHAUVET <christophe.chauvet@gmail.com>, 2015
|
||||
# Chul Park <parkchul@nate.com>, 2015
|
||||
# danimaribeiro <danimaribeiro@gmail.com>, 2016
|
||||
# David10000 <gameness@naver.com>, 2014
|
||||
|
@ -45,8 +46,8 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: server-tools (9.0)\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-04-02 00:57+0000\n"
|
||||
"PO-Revision-Date: 2016-03-31 07:19+0000\n"
|
||||
"POT-Creation-Date: 2016-07-09 10:34+0000\n"
|
||||
"PO-Revision-Date: 2016-07-05 18:08+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>\n"
|
||||
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-server-tools-9-0/language/pt_BR/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
|
@ -62,6 +63,11 @@ msgstr ""
|
|||
msgid "A document can have only one image with the same name."
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_image_attachment_id
|
||||
msgid "Attachment"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.actions.act_window,help:base_multi_image.image_action
|
||||
msgid "Click to add an image attached to an specific record."
|
||||
|
@ -92,7 +98,7 @@ msgstr ""
|
|||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_image_display_name
|
||||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_owner_display_name
|
||||
msgid "Display Name"
|
||||
msgstr ""
|
||||
msgstr "Nome para Mostrar"
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_image_extension
|
||||
|
@ -104,6 +110,11 @@ msgstr ""
|
|||
msgid "Filename"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: selection:base_multi_image.image,storage:0
|
||||
msgid "Filestore"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_image_image_main
|
||||
msgid "Full-sized image"
|
||||
|
@ -151,7 +162,7 @@ msgstr ""
|
|||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_image___last_update
|
||||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_owner___last_update
|
||||
msgid "Last Modified on"
|
||||
msgstr ""
|
||||
msgstr "Última atualização em"
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_image_write_uid
|
||||
|
@ -267,6 +278,30 @@ msgstr ""
|
|||
msgid "URL"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: code:addons/base_multi_image/models/image.py:184
|
||||
#, python-format
|
||||
msgid "You must provide a file path for the image."
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: code:addons/base_multi_image/models/image.py:178
|
||||
#, python-format
|
||||
msgid "You must provide an URL for the image."
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: code:addons/base_multi_image/models/image.py:190
|
||||
#, python-format
|
||||
msgid "You must provide an attached file for the image."
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: code:addons/base_multi_image/models/image.py:196
|
||||
#, python-format
|
||||
msgid "You must provide an attachment for the image."
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model,name:base_multi_image.model_base_multi_image_image
|
||||
msgid "base_multi_image.image"
|
||||
|
|
|
@ -0,0 +1,274 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * base_multi_image
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: server-tools (9.0)\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-07-09 10:34+0000\n"
|
||||
"PO-Revision-Date: 2016-07-05 18:08+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>\n"
|
||||
"Language-Team: Chinese (China) (http://www.transifex.com/oca/OCA-server-tools-9-0/language/zh_CN/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: zh_CN\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#. module: base_multi_image
|
||||
#: code:addons/base_multi_image/models/image.py:22
|
||||
#: sql_constraint:base_multi_image.image:0
|
||||
#, python-format
|
||||
msgid "A document can have only one image with the same name."
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_image_attachment_id
|
||||
msgid "Attachment"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.actions.act_window,help:base_multi_image.image_action
|
||||
msgid "Click to add an image attached to an specific record."
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_image_comments
|
||||
#: model:ir.ui.view,arch_db:base_multi_image.image_form_view
|
||||
msgid "Comments"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_image_create_uid
|
||||
msgid "Created by"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_image_create_date
|
||||
msgid "Created on"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: selection:base_multi_image.image,storage:0
|
||||
msgid "Database"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_image_display_name
|
||||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_owner_display_name
|
||||
msgid "Display Name"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_image_extension
|
||||
msgid "File extension"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_image_filename
|
||||
msgid "Filename"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: selection:base_multi_image.image,storage:0
|
||||
msgid "Filestore"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_image_image_main
|
||||
msgid "Full-sized image"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_image_id
|
||||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_owner_id
|
||||
msgid "ID"
|
||||
msgstr "ID"
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.ui.view,arch_db:base_multi_image.image_form_view
|
||||
msgid "Image"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_image_path
|
||||
#: model:ir.model.fields,help:base_multi_image.field_base_multi_image_image_path
|
||||
msgid "Image path"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_image_url
|
||||
msgid "Image remote URL"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_image_file_db_store
|
||||
msgid "Image stored in database"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_image_name
|
||||
msgid "Image title"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_owner_image_ids
|
||||
#: model:ir.ui.view,arch_db:base_multi_image.image_tree_view
|
||||
msgid "Images"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_image___last_update
|
||||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_owner___last_update
|
||||
msgid "Last Modified on"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_image_write_uid
|
||||
msgid "Last Updated by"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_image_write_date
|
||||
msgid "Last Updated on"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: code:addons/base_multi_image/models/owner.py:73
|
||||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_owner_image_main
|
||||
#, python-format
|
||||
msgid "Main image"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_owner_image_main_medium
|
||||
msgid "Medium image"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_image_image_medium
|
||||
msgid "Medium-sized image"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model.fields,help:base_multi_image.field_base_multi_image_image_image_medium
|
||||
msgid ""
|
||||
"Medium-sized image. It is automatically resized as a 128 x 128 px image, "
|
||||
"with aspect ratio preserved, only when the image exceeds one of those sizes."
|
||||
" Use this field in form views or kanban views."
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.actions.act_window,name:base_multi_image.image_action
|
||||
#: model:ir.ui.menu,name:base_multi_image.image_menu
|
||||
msgid "Multi images"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.ui.view,arch_db:base_multi_image.image_form_view
|
||||
msgid "Name"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: selection:base_multi_image.image,storage:0
|
||||
msgid "OS file"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.ui.view,arch_db:base_multi_image.image_form_view
|
||||
msgid "Options"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_image_owner_id
|
||||
#: model:ir.ui.view,arch_db:base_multi_image.image_form_view
|
||||
msgid "Owner"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_image_owner_model
|
||||
msgid "Owner model"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.ui.view,arch_db:base_multi_image.image_form_view
|
||||
msgid "Preview"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.ui.view,arch_db:base_multi_image.image_kanban_view
|
||||
msgid "Product Images"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_image_sequence
|
||||
msgid "Sequence"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_image_show_technical
|
||||
msgid "Show technical"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_owner_image_main_small
|
||||
msgid "Small image"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_image_image_small
|
||||
msgid "Small-sized image"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model.fields,help:base_multi_image.field_base_multi_image_image_image_small
|
||||
msgid ""
|
||||
"Small-sized image. It is automatically resized as a 64 x 64 px image, with "
|
||||
"aspect ratio preserved. Use this field anywhere a small image is required."
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model.fields,field_description:base_multi_image.field_base_multi_image_image_storage
|
||||
msgid "Storage"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: selection:base_multi_image.image,storage:0
|
||||
msgid "URL"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: code:addons/base_multi_image/models/image.py:184
|
||||
#, python-format
|
||||
msgid "You must provide a file path for the image."
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: code:addons/base_multi_image/models/image.py:178
|
||||
#, python-format
|
||||
msgid "You must provide an URL for the image."
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: code:addons/base_multi_image/models/image.py:190
|
||||
#, python-format
|
||||
msgid "You must provide an attached file for the image."
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: code:addons/base_multi_image/models/image.py:196
|
||||
#, python-format
|
||||
msgid "You must provide an attachment for the image."
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model,name:base_multi_image.model_base_multi_image_image
|
||||
msgid "base_multi_image.image"
|
||||
msgstr ""
|
||||
|
||||
#. module: base_multi_image
|
||||
#: model:ir.model,name:base_multi_image.model_base_multi_image_owner
|
||||
msgid "base_multi_image.owner"
|
||||
msgstr ""
|
|
@ -190,7 +190,7 @@ class Image(models.Model):
|
|||
_('You must provide an attached file for the image.'))
|
||||
|
||||
@api.constrains('storage', 'attachment_id')
|
||||
def _check_store(self):
|
||||
def _check_attachment_id(self):
|
||||
if self.storage == 'filestore' and not self.attachment_id:
|
||||
raise exceptions.ValidationError(
|
||||
_('You must provide an attachment for the image.'))
|
||||
|
|
Loading…
Reference in New Issue