From 117638a6f198fe14a7658dae1f45cc4fbc44f230 Mon Sep 17 00:00:00 2001 From: jordi fita mas Date: Wed, 13 Dec 2023 17:10:04 +0100 Subject: [PATCH] Add French language --- deploy/available_languages.sql | 1 + verify/available_languages.sql | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/deploy/available_languages.sql b/deploy/available_languages.sql index d5d860a..d3a930c 100644 --- a/deploy/available_languages.sql +++ b/deploy/available_languages.sql @@ -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) ; diff --git a/verify/available_languages.sql b/verify/available_languages.sql index c38450e..8edca06 100644 --- a/verify/available_languages.sql +++ b/verify/available_languages.sql @@ -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'