From e38902b4ed9f3ac2647bcb24327b4da848980119 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 1 Apr 2026 15:22:17 +0200 Subject: [PATCH] Replace non-ASCII characters in translated strings --- modules/account_fr/account.py | 75 +++++++++++--------------------- modules/stock_ethanol/product.py | 6 +-- modules/stock_ethanol/stock.py | 2 +- 3 files changed, 30 insertions(+), 53 deletions(-) diff --git a/modules/account_fr/account.py b/modules/account_fr/account.py index ca2cfaed41..9642f6b59e 100644 --- a/modules/account_fr/account.py +++ b/modules/account_fr/account.py @@ -22,78 +22,55 @@ VATEX_CODES = [ ('VATEX-EU-153', "Exempt based on article 153 of Council Directive 2006/112/EC"), ('VATEX-FR-CGI261-1', - "Exempt based on 1 of article 261 of the Code Général des Impôts " - "(CGI; General tax code)"), + "Exempt based on 1 of article 261 of the General tax code (CGI)"), ('VATEX-FR-CGI261-2', - "Exempt based on 2 of article 261 of the Code Général des Impôts " - "(CGI ; General tax code)"), + "Exempt based on 2 of article 261 of the General tax code (CGI)"), ('VATEX-FR-CGI261-3', - "Exempt based on 3 of article 261 of the Code Général des Impôts " - "(CGI ; General tax code"), + "Exempt based on 3 of article 261 of the General tax code (CGI)"), ('VATEX-FR-CGI261-4', - "Exempt based on 4 of article 261 of the Code Général des Impôts " - "(CGI ; General tax code)"), + "Exempt based on 4 of article 261 of the General tax code (CGI)"), ('VATEX-FR-CGI261-5', - "Exempt based on 5 of article 261 of the Code Général des Impôts " - "(CGI ; General tax code)"), + "Exempt based on 5 of article 261 of the General tax code (CGI)"), ('VATEX-FR-CGI261-7', - "Exempt based on 7 of article 261 of the Code Général des Impôts " - "(CGI ; General tax code)"), + "Exempt based on 7 of article 261 of the General tax code (CGI)"), ('VATEX-FR-CGI261-8', - "Exempt based on 8 of article 261 of the Code Général des Impôts " - "(CGI ; General tax code)"), + "Exempt based on 8 of article 261 of the General tax code (CGI)"), ('VATEX-FR-CGI261A', - "Exempt based on article 261 A of the Code Général des Impôts " - "(CGI ; General tax code)"), + "Exempt based on article 261 A of the General tax code (CGI)"), ('VATEX-FR-CGI261B', - "Exempt based on article 261 B of the Code Général des Impôts " - "(CGI ; General tax code)"), + "Exempt based on article 261 B of the General tax code (CGI)"), ('VATEX-FR-CGI261C-1', - "Exempt based on 1° of article 261 C of the Code Général des Impôts " - "(CGI ; General tax code)"), + "Exempt based on 1. of article 261 C of the General tax code (CGI)"), ('VATEX-FR-CGI261C-2', - "Exempt based on 2° of article 261 C of the Code Général des Impôts " - "(CGI ; General tax code)"), + "Exempt based on 2. of article 261 C of the General tax code (CGI)"), ('VATEX-FR-CGI261C-3', - "Exempt based on 3° of article 261 C of the Code Général des Impôts " - "(CGI ; General tax code)"), + "Exempt based on 3. of article 261 C of the General tax code (CGI)"), ('VATEX-FR-CGI261D-1', - "Exempt based on 1° of article 261 D of the Code Général des Impôts " - "(CGI ; General tax code)"), + "Exempt based on 1. of article 261 D of the General tax code (CGI)"), ('VATEX-FR-CGI261D-1BIS', - "Exempt based on 1°bis of article 261 D of the Code Général des " - "Impôts (CGI ; General tax code)"), + "Exempt based on 1.bis of article 261 D " + "of the General tax code (CGI)"), ('VATEX-FR-CGI261D-2', - "Exempt based on 2° of article 261 D of the Code Général des Impôts " - "(CGI ; General tax code)"), + "Exempt based on 2. of article 261 D of the General tax code (CGI)"), ('VATEX-FR-CGI261D-3', - "Exempt based on 3° of article 261 D of the Code Général des Impôts " - "(CGI ; General tax code) " - "Exonération de TVA - Article 261 D-3° du Code Général des Impôts"), + "Exempt based on 3. of article 261 D of the General tax code (CGI)"), ('VATEX-FR-CGI261D-4', - "Exempt based on 4° of article 261 D of the Code Général des Impôts " - "(CGI ; General tax code)"), + "Exempt based on 4. of article 261 D of the General tax code (CGI)"), ('VATEX-FR-CGI261E-1', - "Exempt based on 1° of article 261 E of the Code Général des Impôts " - "(CGI ; General tax code)"), + "Exempt based on 1. of article 261 E of the General tax code (CGI)"), ('VATEX-FR-CGI261E-2', - "Exempt based on 2° of article 261 E of the Code Général des Impôts " - "(CGI ; General tax code)"), + "Exempt based on 2. of article 261 E of the General tax code (CGI)"), ('VATEX-FR-CGI277A', - "Exempt based on article 277 A of the Code Général des Impôts " - "(CGI ; General tax code)"), + "Exempt based on article 277 A of the General tax code (CGI)"), ('VATEX-FR-CGI275', - " Exempt based on article 275 of the Code Général des Impôts " - "(CGI ; General tax code)"), + " Exempt based on article 275 of the General tax code (CGI)"), ('VATEX-FR-298SEXDECIESA', - " Exempt based on article 298 sexdecies A of the Code Général des " - "Impôts (CGI ; General tax code)"), + " Exempt based on article 298 sexdecies A " + "of the General tax code (CGI)"), ('VATEX-FR-CGI295', - "Exempt based on article 295 of the Code Général des Impôts " - "(CGI ; General tax code)"), + "Exempt based on article 295 of the General tax code (CGI)"), ('VATEX-FR-AE', - " Exempt based on 2 of article 283 of the Code Général des Impôts " - "(CGI ; General tax code)"), + " Exempt based on 2 of article 283 of the General tax code (CGI)"), ] diff --git a/modules/stock_ethanol/product.py b/modules/stock_ethanol/product.py index b07ed2cc2d..0ccadb641b 100644 --- a/modules/stock_ethanol/product.py +++ b/modules/stock_ethanol/product.py @@ -34,7 +34,7 @@ class Template(metaclass=PoolMeta): 'invisible': ~Eval('contain_ethanol'), }, help="How much ethanol/alcohol is contained " - "in a given volume at 20°C.") + "in a given volume at 20 degrees Celsius.") ethanol_volume = fields.Function( fields.Float( "Alcohol Volume", digits='ethanol_volume_unit', @@ -93,7 +93,7 @@ class Product(metaclass=PoolMeta): 'invisible': ~Eval('contain_ethanol'), }, help="How much ethanol/alcohol is contained " - "in a given volume at 20°C.\n" + "in a given volume at 20 degrees Celsius.\n" "Leave empty to use the template value.") ethanol_by_volume_used = fields.Function(fields.Float( "Alcohol By Volume", digits=(1, 4), @@ -101,7 +101,7 @@ class Product(metaclass=PoolMeta): 'invisible': ~Eval('contain_ethanol'), }, help="How much ethanol/alcohol is contained " - "in a given volume at 20°C."), + "in a given volume at 20 degrees Celsius."), 'get_ethanol_by_volume_used', searcher='search_ethanol_by_volume_used') diff --git a/modules/stock_ethanol/stock.py b/modules/stock_ethanol/stock.py index 6bced6090c..387c0e647a 100644 --- a/modules/stock_ethanol/stock.py +++ b/modules/stock_ethanol/stock.py @@ -61,7 +61,7 @@ class Move(metaclass=PoolMeta): 'invisible': ~Eval('contain_ethanol'), }, help="How much ethanol/alcohol is contained " - "in a given volume at 20°C."), + "in a given volume at 20 degrees Celsius."), 'on_change_with_ethanol_by_volume') internal_ethanol_volume = fields.Float( "Internal Alcohol Volume", readonly=True,