From b93f3d0589582d35f4536147c516080f2e7e788b Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Sun, 1 Mar 2026 16:40:14 -0500 Subject: [PATCH] updatelang: Update validation check for LANG_VOICED_DATE_FORMAT Missed this in the previous commit Change-Id: Ia85a8017abfeca369b0e12723468cbe8018def8f --- tools/updatelang | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/updatelang b/tools/updatelang index 860edd25aa..9b34ee3ad9 100755 --- a/tools/updatelang +++ b/tools/updatelang @@ -397,7 +397,7 @@ foreach my $id (@langorder) { if ($id eq 'LANG_VOICED_DATE_FORMAT') { my $sane = $lp{$tgt}; $sane =~ s/^~?(.*)/$1/; # Strip off leading ~ if it's there as it's not a legal character for the format. - $sane =~ tr/YAmd~//d; + $sane =~ tr/yYAmd~//d; if (length($sane) != 0) { $lang{$id}{'notes'} .= "### The section for '$id:$tgt' has illegal characters! Restoring from English!\n"; $lang{$id}{'notes'} .= "#### the previously used one is commented below:\n";