Add French language

This commit is contained in:
jordi fita mas 2023-12-13 17:10:04 +01:00
parent 6c090a63da
commit 117638a6f1
2 changed files with 10 additions and 0 deletions

View File

@ -8,6 +8,7 @@ insert into public.language (lang_tag, name, endonym, selectable, currency_patte
values ('und', 'Undefined', 'Undefined', false, '%[3]s%.[1]*[2]f', 0)
, ('ca', 'Catalan', 'català', true, '%.[1]*[2]f %[3]s', 3)
, ('en', 'English', 'English', true, '%[3]s%.[1]*[2]f', 2)
, ('fr', 'French', 'français', true, '%.[1]*[2]f %[3]s', 4)
, ('es', 'Spanish', 'español', true, '%.[1]*[2]f %[3]s', 1)
;

View File

@ -31,6 +31,15 @@ where lang_tag = 'en'
and currency_pattern = '%[3]s%.[1]*[2]f'
and redsys_code = 2;
select 1 / count(*)
from language
where lang_tag = 'fr'
and name = 'French'
and endonym = 'français'
and selectable
and currency_pattern = '%.[1]*[2]f %[3]s'
and redsys_code = 4;
select 1 / count(*)
from language
where lang_tag = 'es'