diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-10-15 11:58:13 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-10-15 11:58:13 +0000 |
commit | fc3c39b84b9058e4ea574606f620d5e2b2e1ce01 (patch) | |
tree | 4b98f58aad33ef2b27d3f84125c829f49113fb32 | |
parent | 52f1bcad7c958e562878cdd6c8cc54705e4991e4 (diff) |
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
-rwxr-xr-x | tools/uplang | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tools/uplang b/tools/uplang index 983a624e58..d0897ba46c 100755 --- a/tools/uplang +++ b/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"; |