diff --git a/da/index.html b/da/index.html index 1a5d9c8..5dc37f0 100644 --- a/da/index.html +++ b/da/index.html @@ -31,7 +31,7 @@ vil være mistænkte for børnemisbrug.
Lær mere om ChatControllen og hvorfor det er en dårlig idé, i vores interaktive ChatControl film ude til venstre.
diff --git a/en/index.html b/en/index.html index d7bf81a..eb3b206 100644 --- a/en/index.html +++ b/en/index.html @@ -32,7 +32,7 @@ will be treated as suspects for child abuse.Learn more about Chat Control and why it is a bad idea by watching our interactive film on the left. diff --git a/img/chatapp.svg b/img/chatapp.svg index 3c04f47..ad287f3 100644 --- a/img/chatapp.svg +++ b/img/chatapp.svg @@ -68,7 +68,9 @@ const typing_speed = 50; var conversation_count = 0; var current_dialog = null; -var current_language = "da"; + +var current_language = new URLSearchParams(location.search).get('lang') ?? 'da'; + var current_dialog_fn = null; /// SVG 1.1 doesn't do proper text splitting into several lines.