Add English as an available, selectable language
This commit is contained in:
parent
9306acaec3
commit
75aa8900b6
|
@ -7,6 +7,7 @@ begin;
|
||||||
insert into public.language (lang_tag, name, endonym, selectable, currency_pattern)
|
insert into public.language (lang_tag, name, endonym, selectable, currency_pattern)
|
||||||
values ('und', 'Undefined', 'Undefined', false, '%[3]s%.[1]*[2]f')
|
values ('und', 'Undefined', 'Undefined', false, '%[3]s%.[1]*[2]f')
|
||||||
, ('ca', 'Catalan', 'català', true, '%.[1]*[2]f %[3]s')
|
, ('ca', 'Catalan', 'català', true, '%.[1]*[2]f %[3]s')
|
||||||
|
, ('en', 'English', 'English', true, '%[3]s%.[1]*[2]f')
|
||||||
, ('es', 'Spanish', 'español', true, '%.[1]*[2]f %[3]s')
|
, ('es', 'Spanish', 'español', true, '%.[1]*[2]f %[3]s')
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,14 @@ where lang_tag = 'ca'
|
||||||
and selectable
|
and selectable
|
||||||
and currency_pattern = '%.[1]*[2]f %[3]s';
|
and currency_pattern = '%.[1]*[2]f %[3]s';
|
||||||
|
|
||||||
|
select 1 / count(*)
|
||||||
|
from language
|
||||||
|
where lang_tag = 'en'
|
||||||
|
and name = 'English'
|
||||||
|
and endonym = 'English'
|
||||||
|
and selectable
|
||||||
|
and currency_pattern = '%[3]s%.[1]*[2]f';
|
||||||
|
|
||||||
select 1 / count(*)
|
select 1 / count(*)
|
||||||
from language
|
from language
|
||||||
where lang_tag = 'es'
|
where lang_tag = 'es'
|
||||||
|
|
Loading…
Reference in New Issue