mirror of
https://github.com/Hopiu/django-rosetta.git
synced 2026-03-16 21:30:24 +00:00
Ignore translator context hints checking unmatched variables.
This commit is contained in:
parent
68754f9b85
commit
d160e178a8
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ google.setOnLoadCallback(function() {
|
|||
if($(this).val()) {
|
||||
$('.alert', $(this).parents('tr')).remove();
|
||||
var RX = /%(?:\([^\s\)]*\))?[sdf]|\{[\w\d_]+?\}/g,
|
||||
origs=$('.original', $(this).parents('tr')).html().match(RX),
|
||||
origs=$(this).parents('tr').find('.original>.message').html().match(RX),
|
||||
trads=$(this).val().match(RX),
|
||||
error = $('<span class="alert">Unmatched variables</span>');
|
||||
if (origs && trads) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue