|
| 1 | +# Translation of Odoo Server. |
| 2 | +# This file contains the translation of the following modules: |
| 3 | +# * endpoint_cache |
| 4 | +# |
| 5 | +msgid "" |
| 6 | +msgstr "" |
| 7 | +"Project-Id-Version: Odoo Server 14.0\n" |
| 8 | +"Report-Msgid-Bugs-To: \n" |
| 9 | +"Last-Translator: Automatically generated\n" |
| 10 | +"Language-Team: none\n" |
| 11 | +"Language: it\n" |
| 12 | +"MIME-Version: 1.0\n" |
| 13 | +"Content-Type: text/plain; charset=UTF-8\n" |
| 14 | +"Content-Transfer-Encoding: \n" |
| 15 | +"Plural-Forms: nplurals=2; plural=n != 1;\n" |
| 16 | + |
| 17 | +#. module: endpoint_cache |
| 18 | +#: model_terms:ir.ui.view,arch_db:endpoint_cache.endpoint_mixin_form_view |
| 19 | +msgid "" |
| 20 | +"# get the name of the cache\n" |
| 21 | +"cache_name = endpoint._endpoint_cache_make_name(\"json\")\n" |
| 22 | +"# check if the cache exists\n" |
| 23 | +"cached = endpoint._endpoint_cache_get(cache_name)\n" |
| 24 | +"if cached:\n" |
| 25 | +" result = cached\n" |
| 26 | +"else:\n" |
| 27 | +" result = json.dumps(env[\"my.model\"]." |
| 28 | +"_get_a_very_expensive_computed_result())\n" |
| 29 | +" # cache does not exist, create it0\n" |
| 30 | +" endpoint._endpoint_cache_store(cache_name, result)\n" |
| 31 | +"resp = Response(result, content_type=\"application/json\", status=200)\n" |
| 32 | +"result = dict(response=resp)" |
| 33 | +msgstr "" |
| 34 | + |
| 35 | +#. module: endpoint_cache |
| 36 | +#: model_terms:ir.ui.view,arch_db:endpoint_cache.endpoint_mixin_form_view |
| 37 | +msgid "Cache" |
| 38 | +msgstr "" |
| 39 | + |
| 40 | +#. module: endpoint_cache |
| 41 | +#: model:ir.model.fields,field_description:endpoint_cache.field_endpoint_endpoint__cache_policy |
| 42 | +#: model:ir.model.fields,field_description:endpoint_cache.field_endpoint_mixin__cache_policy |
| 43 | +msgid "Cache Policy" |
| 44 | +msgstr "" |
| 45 | + |
| 46 | +#. module: endpoint_cache |
| 47 | +#: model:ir.model.fields,field_description:endpoint_cache.field_endpoint_endpoint__cache_att_count |
| 48 | +#: model:ir.model.fields,field_description:endpoint_cache.field_endpoint_mixin__cache_att_count |
| 49 | +msgid "Cache count" |
| 50 | +msgstr "" |
| 51 | + |
| 52 | +#. module: endpoint_cache |
| 53 | +#: code:addons/endpoint_cache/models/endpoint_mixin.py:0 |
| 54 | +#, python-format |
| 55 | +msgid "Cache name must start with 'endpoint_cache'" |
| 56 | +msgstr "" |
| 57 | + |
| 58 | +#. module: endpoint_cache |
| 59 | +#: code:addons/endpoint_cache/models/endpoint_mixin.py:0 |
| 60 | +#, python-format |
| 61 | +msgid "Cache results" |
| 62 | +msgstr "" |
| 63 | + |
| 64 | +#. module: endpoint_cache |
| 65 | +#: model_terms:ir.ui.view,arch_db:endpoint_cache.endpoint_mixin_form_view |
| 66 | +msgid "Cache usage example" |
| 67 | +msgstr "" |
| 68 | + |
| 69 | +#. module: endpoint_cache |
| 70 | +#: model:ir.model.fields.selection,name:endpoint_cache.selection__endpoint_endpoint__cache_policy__day |
| 71 | +#: model:ir.model.fields.selection,name:endpoint_cache.selection__endpoint_mixin__cache_policy__day |
| 72 | +msgid "Daily" |
| 73 | +msgstr "" |
| 74 | + |
| 75 | +#. module: endpoint_cache |
| 76 | +#: model:ir.model.fields,field_description:endpoint_cache.field_endpoint_mixin__display_name |
| 77 | +msgid "Display Name" |
| 78 | +msgstr "" |
| 79 | + |
| 80 | +#. module: endpoint_cache |
| 81 | +#: model:ir.model,name:endpoint_cache.model_endpoint_mixin |
| 82 | +msgid "Endpoint mixin" |
| 83 | +msgstr "" |
| 84 | + |
| 85 | +#. module: endpoint_cache |
| 86 | +#: model:ir.model.fields,field_description:endpoint_cache.field_endpoint_mixin__id |
| 87 | +msgid "ID" |
| 88 | +msgstr "" |
| 89 | + |
| 90 | +#. module: endpoint_cache |
| 91 | +#: model:ir.model.fields,field_description:endpoint_cache.field_endpoint_mixin____last_update |
| 92 | +msgid "Last Modified on" |
| 93 | +msgstr "" |
| 94 | + |
| 95 | +#. module: endpoint_cache |
| 96 | +#: model:ir.model.fields.selection,name:endpoint_cache.selection__endpoint_endpoint__cache_policy__month |
| 97 | +#: model:ir.model.fields.selection,name:endpoint_cache.selection__endpoint_mixin__cache_policy__month |
| 98 | +msgid "Monthly" |
| 99 | +msgstr "" |
| 100 | + |
| 101 | +#. module: endpoint_cache |
| 102 | +#: model_terms:ir.ui.view,arch_db:endpoint_cache.endpoint_mixin_form_view |
| 103 | +msgid "Pre-heat cache" |
| 104 | +msgstr "" |
| 105 | + |
| 106 | +#. module: endpoint_cache |
| 107 | +#: model_terms:ir.ui.view,arch_db:endpoint_cache.endpoint_mixin_form_view |
| 108 | +msgid "Purge caches" |
| 109 | +msgstr "" |
| 110 | + |
| 111 | +#. module: endpoint_cache |
| 112 | +#: model_terms:ir.ui.view,arch_db:endpoint_cache.endpoint_mixin_form_view |
| 113 | +msgid "View caches" |
| 114 | +msgstr "" |
| 115 | + |
| 116 | +#. module: endpoint_cache |
| 117 | +#: model_terms:ir.ui.view,arch_db:endpoint_cache.endpoint_mixin_form_view |
| 118 | +msgid "" |
| 119 | +"Warning: this might take too long to complete if the endpoint uses expensive " |
| 120 | +"computations." |
| 121 | +msgstr "" |
| 122 | + |
| 123 | +#. module: endpoint_cache |
| 124 | +#: model:ir.model.fields.selection,name:endpoint_cache.selection__endpoint_endpoint__cache_policy__week |
| 125 | +#: model:ir.model.fields.selection,name:endpoint_cache.selection__endpoint_mixin__cache_policy__week |
| 126 | +msgid "Weekly" |
| 127 | +msgstr "" |
0 commit comments