From 3cdad3e353d8de2234ecb4aac229a4ef9fb3a85c Mon Sep 17 00:00:00 2001 From: Fabien BOURGEOIS Date: Thu, 8 Jun 2023 08:09:02 +0200 Subject: [PATCH] [REF]Odoo i18n scripts : arg coherence --- odoo/flectra/i18n.sh | 4 ++-- odoo/golem/i18n.sh | 4 ++-- odoo/odoo/i18n.sh | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/odoo/flectra/i18n.sh b/odoo/flectra/i18n.sh index 2698856..b7852e6 100644 --- a/odoo/flectra/i18n.sh +++ b/odoo/flectra/i18n.sh @@ -1,4 +1,4 @@ #!/bin/bash -cd "custom-addons/$CODE_FOLDER/$2/i18n/" && /opt/flectra/flectra/flectra-bin -c /opt/flectra/flectra.conf -d "$1" --i18n-export="$2".po --modules="$2" && mv "$2".po "$2".pot && cd /opt/flectra -cd "custom-addons/$CODE_FOLDER/$2/i18n/" && /opt/flectra/flectra/flectra-bin -c /opt/flectra/flectra.conf -d "$1" --i18n-export=fr.po --modules="$2" --language=fr_FR && cd /opt/flectra +cd "custom-addons/$CODE_FOLDER/$1/i18n/" && /opt/flectra/flectra/flectra-bin -c /opt/flectra/flectra.conf -d "$2" --i18n-export="$1".po --modules="$1" && mv "$1".po "$1".pot && cd /opt/flectra +cd "custom-addons/$CODE_FOLDER/$1/i18n/" && /opt/flectra/flectra/flectra-bin -c /opt/flectra/flectra.conf -d "$2" --i18n-export=fr.po --modules="$1" --language=fr_FR && cd /opt/flectra diff --git a/odoo/golem/i18n.sh b/odoo/golem/i18n.sh index 7c3a25d..8311085 100644 --- a/odoo/golem/i18n.sh +++ b/odoo/golem/i18n.sh @@ -1,4 +1,4 @@ #!/bin/bash -cd "custom-addons/$CODE_FOLDER/$2/i18n/" && /opt/odoo/OCB/odoo-bin -c /opt/odoo/odoo.conf -d "$1" --i18n-export="$2".po --modules="$2" && mv "$2".po "$2".pot && cd /opt/odoo -cd "custom-addons/$CODE_FOLDER/$2/i18n/" && /opt/odoo/OCB/odoo-bin -c /opt/odoo/odoo.conf -d "$1" --i18n-export=fr.po --modules="$2" --language=fr_FR && cd /opt/odoo +cd "custom-addons/$CODE_FOLDER/$1/i18n/" && /opt/odoo/OCB/odoo-bin -c /opt/odoo/odoo.conf -d "$2" --i18n-export="$1".po --modules="$1" && mv "$1".po "$1".pot && cd /opt/odoo +cd "custom-addons/$CODE_FOLDER/$1/i18n/" && /opt/odoo/OCB/odoo-bin -c /opt/odoo/odoo.conf -d "$2" --i18n-export=fr.po --modules="$1" --language=fr_FR && cd /opt/odoo diff --git a/odoo/odoo/i18n.sh b/odoo/odoo/i18n.sh index 7c3a25d..8311085 100644 --- a/odoo/odoo/i18n.sh +++ b/odoo/odoo/i18n.sh @@ -1,4 +1,4 @@ #!/bin/bash -cd "custom-addons/$CODE_FOLDER/$2/i18n/" && /opt/odoo/OCB/odoo-bin -c /opt/odoo/odoo.conf -d "$1" --i18n-export="$2".po --modules="$2" && mv "$2".po "$2".pot && cd /opt/odoo -cd "custom-addons/$CODE_FOLDER/$2/i18n/" && /opt/odoo/OCB/odoo-bin -c /opt/odoo/odoo.conf -d "$1" --i18n-export=fr.po --modules="$2" --language=fr_FR && cd /opt/odoo +cd "custom-addons/$CODE_FOLDER/$1/i18n/" && /opt/odoo/OCB/odoo-bin -c /opt/odoo/odoo.conf -d "$2" --i18n-export="$1".po --modules="$1" && mv "$1".po "$1".pot && cd /opt/odoo +cd "custom-addons/$CODE_FOLDER/$1/i18n/" && /opt/odoo/OCB/odoo-bin -c /opt/odoo/odoo.conf -d "$2" --i18n-export=fr.po --modules="$1" --language=fr_FR && cd /opt/odoo