Add comment when the description has changed.
Corrected the comment about changed english phrase. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2653 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
52f1bcad7c
commit
fc3c39b84b
1 changed files with 9 additions and 1 deletions
10
tools/uplang
10
tools/uplang
|
@ -57,10 +57,18 @@ while(<NEW>) {
|
|||
}
|
||||
|
||||
print "\nid: ".$set{'id'}."\n";
|
||||
|
||||
|
||||
if($set{'desc'} ne $all{$set{'id'}, 'desc'}) {
|
||||
print "### Description changed! Previous description was:\n",
|
||||
"### \"".$set{'desc'}."\"\n";
|
||||
$set{'desc'} = $all{$set{'id'}, 'desc'};
|
||||
}
|
||||
|
||||
print "desc: ".$set{'desc'}."\n";
|
||||
if($set{'eng'} ne $all{$set{'id'}, 'eng'}) {
|
||||
print "### English phrase was changed! Previous translation was made on:\n",
|
||||
"### ".$all{$set{'id'}, 'eng'}."\n";
|
||||
"### ".$set{'eng'}."\n";
|
||||
$set{'eng'} = $all{$set{'id'}, 'eng'};
|
||||
}
|
||||
print "eng: ".$set{'eng'}."\n";
|
||||
|
|
Loading…
Reference in a new issue