diff options
| author | Birte Kristina Friesel <derf@finalrewind.org> | 2025-07-19 08:53:11 +0200 | 
|---|---|---|
| committer | Birte Kristina Friesel <derf@finalrewind.org> | 2025-07-19 08:53:11 +0200 | 
| commit | 4141822af6254ca8233f1bc2fa55db48f3019cc3 (patch) | |
| tree | 572ffe270e59d05113a12492336969296c3a4001 /lib/Travelynx/Helper/Locales.pm | |
| parent | 4af3c0ebf954f7e083ffa47bf60230ff318b2ab3 (diff) | |
So _this_ is how Locale::Maketext's fallback works.
Diffstat (limited to 'lib/Travelynx/Helper/Locales.pm')
| -rw-r--r-- | lib/Travelynx/Helper/Locales.pm | 12 | 
1 files changed, 9 insertions, 3 deletions
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,  | 
