aboutsummaryrefslogtreecommitdiffstats
path: root/src/server/HttpServer.hx
diff options
context:
space:
mode:
authorRblSb <msrblsb@gmail.com>2025-08-14 02:53:59 +0300
committerRblSb <msrblsb@gmail.com>2025-08-15 07:03:17 +0300
commite01ed5f5431551f8b159b4fd491c670efeca57ee (patch)
tree78737545fd27cce482cbfdd059aa72fe52ecc515 /src/server/HttpServer.hx
parent6b97957566fa8a01b7fa37fb735de19ee442c297 (diff)
Prefer original audio tracks
Diffstat (limited to 'src/server/HttpServer.hx')
-rw-r--r--src/server/HttpServer.hx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/HttpServer.hx b/src/server/HttpServer.hx
index 4f283a4..f6fb27f 100644
--- a/src/server/HttpServer.hx
+++ b/src/server/HttpServer.hx
@@ -391,6 +391,7 @@ class HttpServer {
final matchVarString = ~/\${([A-z_]+)}/g;
function localizeHtml(data:String, lang:String):String {
+ if (!data.contains("<!-- localization-template -->")) return data;
if (lang != null && matchLang.match(lang)) {
lang = matchLang.matched(0);
} else lang = "en";
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage