From 4141822af6254ca8233f1bc2fa55db48f3019cc3 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sat, 19 Jul 2025 08:53:11 +0200 Subject: So _this_ is how Locale::Maketext's fallback works. --- lib/Travelynx/Helper/Locales.pm | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'lib/Travelynx/Helper/Locales.pm') diff --git a/lib/Travelynx/Helper/Locales.pm b/lib/Travelynx/Helper/Locales.pm index 3781bcd..d5ccb71 100644 --- a/lib/Travelynx/Helper/Locales.pm +++ b/lib/Travelynx/Helper/Locales.pm @@ -3,11 +3,17 @@ package Travelynx::Helper::Locales; use strict; use warnings; +#BEGIN { package Locale::Maketext; sub DEBUG() {1} }; +#BEGIN { package Locale::Maketext::Guts; sub DEBUG() {1} }; + use base qw(Locale::Maketext); -our %Lexicon = ( - _AUTO => 1, -); +# Uncomment this to show raw strings for untranslated content rather than +# falling back to German. + +#our %Lexicon = ( +# _AUTO => 1, +#); use Locale::Maketext::Lexicon { _decode => 1, -- cgit v1.2.3