From 0ce1b4bd648ac7fdfaff9e8177499005dc5af33f Mon Sep 17 00:00:00 2001 From: jordi fita mas Date: Tue, 3 Oct 2023 21:11:10 +0200 Subject: [PATCH] Set the default language of demo users to Catalan Since i have my browser in English, the automatically detected language is also set in English, making it harder for me to see if i added all the translations; when the language is Catalan, i can see the untranslated strings. --- demo/demo.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/demo/demo.sql b/demo/demo.sql index e0c9a39..cff8cb0 100644 --- a/demo/demo.sql +++ b/demo/demo.sql @@ -4,9 +4,9 @@ begin; set search_path to camper, auth, public; alter table auth."user" alter column user_id restart with 42; -insert into auth."user" (email, name, password) -values ('demo@camper', 'Demo User', 'demo') - , ('admin@camper', 'Demo Admin', 'admin') +insert into auth."user" (email, name, password, lang_tag) +values ('demo@camper', 'Demo User', 'demo', 'ca') + , ('admin@camper', 'Demo Admin', 'admin', 'ca') ; alter table company alter column company_id restart with 52;