From 1f6f89c1fdadb4d7b711b5f4864006af684a65cf Mon Sep 17 00:00:00 2001 From: ed Date: Wed, 18 May 2022 19:02:36 +0200 Subject: [PATCH] apply default-language to splashpage --- copyparty/web/splash.html | 1 + copyparty/web/splash.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/copyparty/web/splash.html b/copyparty/web/splash.html index 0223c4e9..a962cdb8 100644 --- a/copyparty/web/splash.html +++ b/copyparty/web/splash.html @@ -97,6 +97,7 @@ π diff --git a/copyparty/web/splash.js b/copyparty/web/splash.js index 718c8c46..6f672081 100644 --- a/copyparty/web/splash.js +++ b/copyparty/web/splash.js @@ -25,7 +25,7 @@ var Ls = { "t1": "handling", } }, - d = Ls[sread("lang") || "{{ this.args.lang }}"]; + d = Ls[sread("lang") || lang]; for (var k in (d || {})) { var f = k.slice(-1),