From 54244a7ef4c542e6078a3166a67d655881ed01aa Mon Sep 17 00:00:00 2001 From: ESCRI11 Date: Thu, 22 Aug 2024 12:35:52 +0200 Subject: [PATCH] feat: translate methods text --- components/ui/ui-PlotModule.R | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/ui/ui-PlotModule.R b/components/ui/ui-PlotModule.R index a6b501639..ac2589142 100644 --- a/components/ui/ui-PlotModule.R +++ b/components/ui/ui-PlotModule.R @@ -50,7 +50,8 @@ PlotModuleUI <- function(id, height.2 <- ifnotchar.int(height[2]) if (translate) { - info.text <- tspan(info.text) + info.text <- tspan(info.text, js = translate_js) + info.methods <- tspan(info.methods, js = translate_js) title <- tspan(title, js = translate_js) caption2 <- tspan(caption2, js = translate_js) caption <- tspan(caption, js = translate_js)