Skip to content

Commit 667d842

Browse files
committed
[IMP] add translation in log
1 parent 317740b commit 667d842

File tree

2 files changed

+32
-7
lines changed

2 files changed

+32
-7
lines changed

product_managed_replenishment_cost/i18n/it.po

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ msgid ""
66
msgstr ""
77
"Project-Id-Version: Odoo Server 14.0\n"
88
"Report-Msgid-Bugs-To: \n"
9-
"POT-Creation-Date: 2025-03-06 10:27+0000\n"
10-
"PO-Revision-Date: 2025-03-06 10:27+0000\n"
9+
"POT-Creation-Date: 2025-03-06 10:48+0000\n"
10+
"PO-Revision-Date: 2025-03-06 10:48+0000\n"
1111
"Last-Translator: \n"
1212
"Language-Team: \n"
1313
"MIME-Version: 1.0\n"
@@ -287,7 +287,32 @@ msgstr "Aggiorna Landed con adeguamenti/ammortamenti/collaudo"
287287
msgid "Update of %s"
288288
msgstr "Aggiornamento di %s"
289289

290+
#. module: product_managed_replenishment_cost
291+
#: code:addons/product_managed_replenishment_cost/models/replenishment_cost.py:0
292+
#, python-format
293+
msgid "Updated %s %s %s for %s products in %.2f minutes."
294+
msgstr "Aggiornati %s %s %s for %s prodotti in %.2f minuti."
295+
290296
#. module: product_managed_replenishment_cost
291297
#: model_terms:ir.ui.view,arch_db:product_managed_replenishment_cost.view_replenishment_cost_form
292298
msgid "WARNING: UPDATE ONLY WHEN LAUNCHING GROSS PRICELIST"
293-
msgstr "ATTENZIONE: AGGIORNARE SOLAMENTE IN FASE DI LANCIO LISTINO DI VENDITA LORDO"
299+
msgstr ""
300+
"ATTENZIONE: AGGIORNARE SOLAMENTE IN FASE DI LANCIO LISTINO DI VENDITA LORDO"
301+
302+
#. module: product_managed_replenishment_cost
303+
#: code:addons/product_managed_replenishment_cost/models/replenishment_cost.py:0
304+
#, python-format
305+
msgid "bom products list price and weight"
306+
msgstr "prezzo di listino e pesi dei prodotti con DiBa"
307+
308+
#. module: product_managed_replenishment_cost
309+
#: code:addons/product_managed_replenishment_cost/models/replenishment_cost.py:0
310+
#, python-format
311+
msgid "managed replenishment cost"
312+
msgstr "Landed con adeguamenti/ammortamenti/collaudo (base listino)"
313+
314+
#. module: product_managed_replenishment_cost
315+
#: code:addons/product_managed_replenishment_cost/models/replenishment_cost.py:0
316+
#, python-format
317+
msgid "standard price, landed cost, direct cost"
318+
msgstr "Landed con ammortamenti/collaudo, Landed senza ammortamenti/collaudo, Costo diretto"

product_managed_replenishment_cost/models/replenishment_cost.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,15 @@ def update_products_replenishment_cost(self):
8989
repl.write(
9090
dict(
9191
last_update=last_update,
92-
log="Updated %s %s %s for %s products in %.2f minutes."
92+
log=_("Updated %s %s %s for %s products in %.2f minutes.")
9393
% (
94-
'"standard price, landed cost, direct cost"'
94+
_("standard price, landed cost, direct cost")
9595
if self.env.context.get("update_standard_price")
9696
else "",
97-
'"replenishment cost"'
97+
_("managed replenishment cost")
9898
if self.env.context.get("update_managed_replenishment_cost")
9999
else "",
100-
'"list price and weight"'
100+
_("bom products list price and weight")
101101
if self.env.context.get("update_bom_products_list_price_weight")
102102
else "",
103103
len(products),

0 commit comments

Comments
 (0)