From 3a3190b6ed18bb5905362088baf353c9389e63b3 Mon Sep 17 00:00:00 2001 From: Esenjin Date: Sat, 3 Feb 2024 12:58:10 +0100 Subject: [PATCH] franchement, je n'y crois plus ... --- desktop/head_tag.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/head_tag.html b/desktop/head_tag.html index 08cfa7d..f78ac37 100644 --- a/desktop/head_tag.html +++ b/desktop/head_tag.html @@ -168,7 +168,7 @@ const defaultButtons = { // Assign default values if translations are not present Object.keys(defaultButtons).forEach(key => { - const settingKey = key.replace("_button", "").replace("_text", ""); + const settingKey = key.replace("_button", ""); translations.composer[key + "_title"] = settings[settingKey] && settings[settingKey].default ? settings[settingKey].default : defaultButtons[key]; translations.composer[key + "_text"] = settings[key + "_text"] && settings[key + "_text"].default ? settings[key + "_text"].default : defaultButtons[key]; });