mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-25 22:27:34 +00:00
Automatically remove conflicting quotes on pot generation
This commit is contained in:
parent
26e549292f
commit
e7e21243db
@ -72,6 +72,9 @@ foreach (@lines) {
|
||||
$str = $2;
|
||||
}
|
||||
|
||||
# Remove conflicting quotes (\)
|
||||
$str =~ s/\\\$/\$/g;
|
||||
|
||||
# Next if it was seen before
|
||||
$seen{$str}++;
|
||||
next if $seen{$str} > 1;
|
||||
|
Loading…
Reference in New Issue
Block a user