Replace non-ASCII characters in translated strings

This commit is contained in:
Cédric Krier
2026-04-01 15:22:17 +02:00
parent 226c4e63a6
commit e38902b4ed
3 changed files with 30 additions and 53 deletions
+26 -49
View File
@@ -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)"),
]
+3 -3
View File
@@ -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')
+1 -1
View File
@@ -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,