From 881e16b8d72bec18c7fd04edd22ee48bae81e50a Mon Sep 17 00:00:00 2001 From: Philipp Hofer Date: Wed, 27 Aug 2025 18:41:48 +0200 Subject: [PATCH] be a bit more verbose with text --- locales/de.yml | 4 ++-- locales/en.yml | 4 ++-- src/index.rs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/locales/de.yml b/locales/de.yml index 0ea69d3..0aafa36 100644 --- a/locales/de.yml +++ b/locales/de.yml @@ -27,11 +27,11 @@ tour_register: "Jetzt anmelden" tour_register_title: "Zur Tour anmelden" more_infos: "Mehr Infos" new_header: "Laufende Ausstellung • Performances • Immersive Theater Tour" -scientific_background: "Scientific background" +scientific_background: "Wissenschaftlicher Hintergrund zu Digital Shadows" calendar: "Kalender" cal_options: "Wähle wie du den Kalender anzeigen willst" cal_new_tab: "In neuen Tab öffnen" -cal_show_here: "Hier anzeigen" +cal_show_here: "Hier anzeigen (Google Inhalt laden)" # Game page game_title: "Wer findet die meisten Kameras?" diff --git a/locales/en.yml b/locales/en.yml index 180bc95..6e70705 100644 --- a/locales/en.yml +++ b/locales/en.yml @@ -28,11 +28,11 @@ tour_register: "Register now" tour_register_title: "Register a slot" more_infos: "More infos" new_header: "Ongoing Exhibition • Performances • Immersive Tour" -scientific_background: "Scientific background" +scientific_background: "Scientific background to Digital Shadows" calendar: "Calendar" cal_options: "Choose how you'd like to access the calendar" cal_new_tab: "Open in New Tab" -cal_show_here: "Show here" +cal_show_here: "Show here (load Google content)" # Game page game_title: "Who finds the most cameras?" diff --git a/src/index.rs b/src/index.rs index b6fa01d..802cc4d 100644 --- a/src/index.rs +++ b/src/index.rs @@ -94,7 +94,7 @@ pub(super) async fn index(cookies: CookieJar, headers: HeaderMap) -> Markup { } button #embed-calendar .embed-button { - (t!("cal_show_here")) + (PreEscaped(t!("cal_show_here"))) } }