From 81e050871bc4261a6e324a3b7feb8518704a4768 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Sun, 20 Apr 2025 11:55:40 -0400 Subject: [PATCH] updatelang: Correct grammatical goofs in some of the errors Change-Id: I3795d89e68453e636188b26a1620226a836c8a4d --- tools/updatelang | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/updatelang b/tools/updatelang index acda5469cd..22560c1faf 100755 --- a/tools/updatelang +++ b/tools/updatelang @@ -269,7 +269,7 @@ foreach my $id (@langorder) { # print "#!! '$id' deprecated, deleting\n"; $lang{$id} = $english{$id}; } else { - $lang{$id}{'notes'} .= "### The 'desc' field for '$id' differs from the english!\n"; + $lang{$id}{'notes'} .= "### The 'desc' field for '$id' differs from English!\n"; $lang{$id}{'notes'} .= "#### the previously used desc is commented below:\n"; $lang{$id}{'notes'} .= "##### desc: $lp{desc}\n"; $lang{$id}{'phrase'}{'desc'} = $english{$id}{'phrase'}{'desc'}; @@ -282,7 +282,7 @@ foreach my $id (@langorder) { } if (!defined($lp{'user'}) || $lp{'user'} ne $ep{'user'}) { - $lang{$id}{'notes'} .= "### The 'user' field for '$id' differs from the english!\n"; + $lang{$id}{'notes'} .= "### The 'user' field for '$id' differs from English!\n"; $lang{$id}{'notes'} .= "#### the previously used desc is commented below:\n"; $lang{$id}{'notes'} .= "##### desc: $lp{user}\n"; if (!defined($lp{'user'}) || length($lp{'user'}) == 0) { @@ -323,7 +323,7 @@ foreach my $id (@langorder) { $lang{$id}{'source'}{$tgt} = $english{$id}{'source'}{$tgt}; } elsif ($lp{$tgt} ne $ep{$tgt}) { # If the source string differs, complain, and copy from English - $lang{$id}{'notes'} .= "### The section for '$id:$tgt' differs from the english!\n"; + $lang{$id}{'notes'} .= "### The section for '$id:$tgt' differs from English!\n"; $lang{$id}{'notes'} .= "#### the previously used one is commented below:\n"; $lang{$id}{'notes'} .= "##### $english{$id}{source}{$tgt}\n"; # print "#!! '$id:$tgt' source changed ('$lp{$tgt}' vs '$ep{$tgt}')\n";