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 Feb 21, 2025
1 parent 0f6047b commit a2b8a40
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion jsonifier/i18n/jsonifier.pot
Original file line number Diff line number Diff line change
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

0 comments on commit a2b8a40

Please sign in to comment.