From 9809e98ee6df727f7e7e81a9d1f03f09bdbbc4d5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9mi=20-=20Le=20Filament?= <remi@le-filament.com>
Date: Tue, 4 Mar 2025 19:05:37 +0100
Subject: [PATCH] [FIX] rename module to start with website_ for translations

---
 __manifest__.py |  4 +++-
 i18n/fr.po      | 19 ++++++++-----------
 2 files changed, 11 insertions(+), 12 deletions(-)

diff --git a/__manifest__.py b/__manifest__.py
index 1f2d2f4..398ef59 100644
--- a/__manifest__.py
+++ b/__manifest__.py
@@ -10,7 +10,9 @@
     "assets": {
         "web._assets_primary_variables": [],
         "web._assets_frontend_helpers": [],
-        "web.assets_frontend": ["3adentaire_website_sale_stock/static/src/**/*"],
+        "web.assets_frontend": [
+            "website_sale_stock_3adentaire/static/src/website_sale_stock_product_availability.xml"
+        ],
         "web.assets_backend": [],
         "web.assets_tests": [],
         "web.assets_qweb": [],
diff --git a/i18n/fr.po b/i18n/fr.po
index 5c85e24..6bc9137 100644
--- a/i18n/fr.po
+++ b/i18n/fr.po
@@ -1,6 +1,6 @@
 # Translation of Odoo Server.
 # This file contains the translation of the following modules:
-# 	* 3adentaire_website_sale_stock
+# 	* website_sale_stock_3adentaire
 #
 msgid ""
 msgstr ""
@@ -15,26 +15,23 @@ msgstr ""
 "Content-Transfer-Encoding: \n"
 "Plural-Forms: \n"
 
-#. module: 3adentaire_website_sale_stock
+#. module: website_sale_stock_3adentaire
 #. odoo-javascript
-#: code:addons/3adentaire_lf_modules/3adentaire_website_sale_stock/static/src/website_sale_stock_product_availability.xml:0
-#: code:addons/3adentaire_website_sale_stock/static/src/website_sale_stock_product_availability.xml:0
+#: code:addons/website_sale_stock_3adentaire/static/src/website_sale_stock_product_availability.xml:0
 #, python-format
 msgid "Contact Us"
 msgstr "Contactez-nous"
 
-#. module: 3adentaire_website_sale_stock
+#. module: website_sale_stock_3adentaire
 #. odoo-javascript
-#: code:addons/3adentaire_lf_modules/3adentaire_website_sale_stock/static/src/website_sale_stock_product_availability.xml:0
-#: code:addons/3adentaire_website_sale_stock/static/src/website_sale_stock_product_availability.xml:0
+#: code:addons/website_sale_stock_3adentaire/static/src/website_sale_stock_product_availability.xml:0
 #, python-format
 msgid "Out of Stock -"
-msgstr "Rupture de stock -"
+msgstr "En rupture de stock -"
 
-#. module: 3adentaire_website_sale_stock
+#. module: website_sale_stock_3adentaire
 #. odoo-javascript
-#: code:addons/3adentaire_lf_modules/3adentaire_website_sale_stock/static/src/website_sale_stock_product_availability.xml:0
-#: code:addons/3adentaire_website_sale_stock/static/src/website_sale_stock_product_availability.xml:0
+#: code:addons/website_sale_stock_3adentaire/static/src/website_sale_stock_product_availability.xml:0
 #, python-format
 msgid "left in stock."
 msgstr "disponible(s) en stock"
-- 
GitLab