Skip to content

Commit

Permalink
[UPD] Update jsonifier.pot
Browse files Browse the repository at this point in the history
  • Loading branch information
oca-ci committed Oct 10, 2024
1 parent bde7ecd commit b039620
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions jsonifier/i18n/jsonifier.pot
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Project-Id-Version: Odoo Server 18.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
Expand Down Expand Up @@ -32,13 +32,20 @@ msgstr ""
#: model:ir.model.fields,help:jsonifier.field_ir_exports_resolver__python_code
msgid ""
"Compute the result from 'value' by setting the variable 'result'.\n"
"\n"
"For fields resolvers:\n"
":param record: the record\n"
":param name: name of the field\n"
":param value: value of the field\n"
":param field_type: type of the field\n"
"\n"
"For global resolvers:\n"
":param value: JSON dict\n"
":param record: the record"
":param record: the record\n"
"\n"
"In both types, you can override the final json key.\n"
"To achieve this, simply return a dict like: \n"
"{'result': {'_value': $value, '_json_key': $new_json_key}}"
msgstr ""

#. module: jsonifier
Expand Down Expand Up @@ -80,7 +87,6 @@ msgstr ""
#. module: jsonifier
#. odoo-python
#: code:addons/jsonifier/models/ir_exports_line.py:0
#, python-format
msgid "Either set a function or a resolver, not both."
msgstr ""

Expand Down Expand Up @@ -180,7 +186,6 @@ msgstr ""
#. module: jsonifier
#. odoo-python
#: code:addons/jsonifier/models/ir_exports_line.py:0
#, python-format
msgid "Name and Target must have the same hierarchy depth"
msgstr ""

Expand All @@ -204,7 +209,6 @@ msgstr ""
#. module: jsonifier
#. odoo-python
#: code:addons/jsonifier/models/ir_exports_line.py:0
#, python-format
msgid ""
"The target must reference the same field as in name '%(name)s' not in "
"'%(name_with_target)s'"
Expand All @@ -218,6 +222,5 @@ msgstr ""
#. module: jsonifier
#. odoo-python
#: code:addons/jsonifier/models/models.py:0
#, python-format
msgid "Wrong parser configuration for field: `%s`"
msgstr ""

0 comments on commit b039620

Please sign in to comment.