View | Details | Raw Unified | Return to bug 12192
Collapse All | Expand All

(-)a/misc/translator/xgettext.pl (-1 / +1 lines)
Lines 40-45 sub string_negligible_p { Link Here
40
	    || $t =~ /^[-\+\.,:;!\?'"%\(\)\[\]\|]+$/ # punctuation w/o context
40
	    || $t =~ /^[-\+\.,:;!\?'"%\(\)\[\]\|]+$/ # punctuation w/o context
41
	    || $t =~ /^[A-Za-z]$/		# single letters
41
	    || $t =~ /^[A-Za-z]$/		# single letters
42
            || $t =~ /^(&[a-z]+;|&#\d+;|&#x[0-9a-fA-F]+;|%%|%s|\s|[[:punct:]])*$/ # html entities,placeholder,punct, ...
42
            || $t =~ /^(&[a-z]+;|&#\d+;|&#x[0-9a-fA-F]+;|%%|%s|\s|[[:punct:]])*$/ # html entities,placeholder,punct, ...
43
        || ( $t =~ /^\[\%.*\%\]$/ and $t !~ /\%\].*\[\%/ )    # pure TT entities
43
	)
44
	)
44
}
45
}
45
46
46
- 

Return to bug 12192