updatelang: Update validation check for LANG_VOICED_DATE_FORMAT

rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]>
Newsgroups gmane.comp.systems.archos.rockbox.cvs
Message-ID <[email protected]>
commit b93f3d0589582d35f4536147c516080f2e7e788b
Author: Solomon Peachy <[email protected]>
Date:   Sun Mar 1 16:40:14 2026 -0500

    updatelang:  Update validation check for LANG_VOICED_DATE_FORMAT
    
    Missed this in the previous commit
    
    Change-Id: Ia85a8017abfeca369b0e12723468cbe8018def8f

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 <dest> section for '$id:$tgt' has illegal characters!  Restoring from English!\n";
 		$lang{$id}{'notes'} .= "#### the previously used one is commented below:\n";
-- 
rockbox-cvs mailing list
[email protected]
https://lists.haxx.se/mailman/listinfo/rockbox-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.