mirror of
https://github.com/Hopiu/django-rosetta.git
synced 2026-05-18 18:01:05 +00:00
Fixes variable detection
This commit is contained in:
parent
f511555ade
commit
44ad012fd9
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ $(document).ready(function() {
|
|||
if($(this).val()) {
|
||||
$('.alert', $(this).parents('tr')).remove();
|
||||
var RX = /%(?:\([^\s\)]*\))?[sdf]|\{[\w\d_]+?\}/g,
|
||||
origs=$(this).parents('tr').find('.original>.message').html().match(RX),
|
||||
origs=$(this).parents('tr').find('.original span').html().match(RX),
|
||||
trads=$(this).val().match(RX),
|
||||
error = $('<span class="alert">Unmatched variables</span>');
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue