Skip to content

Commit

Permalink
Make sure Locale change creates a new ContentRenderer too
Browse files Browse the repository at this point in the history
  • Loading branch information
japhb committed Apr 9, 2024
1 parent c0ba367 commit 2e63312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MUGS/App/TUI.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ sub main-menu(Bool :$safe, UInt :$debug, *%ui-options) {
# XXXX: Check loader?
my %trans := %lang-info<loader>();
my $terminal = $app-ui.terminal;
$terminal.set-locale($terminal.locale.clone(string-table => %trans));
$terminal.set-locale($terminal.locale.new(string-table => %trans));

$t-load-trans = now;
}
Expand Down

0 comments on commit 2e63312

Please sign in to comment.