forked from External/greenlight
send translated strings to javascript
This commit is contained in:
@ -21,12 +21,12 @@
|
||||
loopJoin();
|
||||
} else {
|
||||
sessionStatusRefresh($('.meeting-url').val());
|
||||
showAlert($('.meeting-started-alert').html(), 4000);
|
||||
showAlert(I18n.meeting_started, 4000);
|
||||
}
|
||||
}
|
||||
} else if (data.action === 'meeting_ended') {
|
||||
sessionStatusRefresh($('.meeting-url').val());
|
||||
showAlert($('.meeting-ended-alert').html(), 4000);
|
||||
showAlert(I18n.meeting_ended, 4000);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
@ -14,12 +14,12 @@
|
||||
rowData.published = data.published
|
||||
table.row("#"+data.record_id).data(rowData).draw();
|
||||
|
||||
var publish = (data.published) ? 'publish' : 'unpublish';
|
||||
showAlert($('.recording-'+publish+'-alert').html(), 4000);
|
||||
var published = (data.published) ? 'published' : 'unpublished';
|
||||
showAlert(I18n['recording_'+published], 4000);
|
||||
} else if (data.action === 'delete') {
|
||||
row.remove().draw();
|
||||
|
||||
showAlert($('.recording-delete-alert').html(), 4000);
|
||||
showAlert(I18n.recording_deleted, 4000);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user