mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-04-12 00:47:49 -04:00
updatelang: Update validation check for LANG_VOICED_DATE_FORMAT
Missed this in the previous commit Change-Id: Ia85a8017abfeca369b0e12723468cbe8018def8f
This commit is contained in:
parent
17edcbd42a
commit
b93f3d0589
1 changed files with 1 additions and 1 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue