summaryrefslogtreecommitdiffstats
path: root/tools/uplang
diff options
context:
space:
mode:
Diffstat (limited to 'tools/uplang')
-rwxr-xr-xtools/uplang10
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";