Also extract the id for comments.

In trunk the [message]description has been renamed to [message]id. At
the moment when a message id is used it's not extracted to the comment
in the po files. This untested patch should fix that. The description
still seems to be used for [race] so didn't remove that.
This commit is contained in:
Mark de Wever 2008-11-29 11:22:41 +00:00
parent 9e81b92c41
commit 1fc818664e

View file

@ -24,7 +24,7 @@ eval "require \"$module\";";
sub possible_node_info {
my ($nodeinfostack, $field, $value) = @_;
if ($field =~ m/\b(speaker|role|description|condition|type|race)\b/) {
if ($field =~ m/\b(speaker|id|role|description|condition|type|race)\b/) {
push @{$nodeinfostack->[-1][2]}, "$field=$value";
}
}