Commit fee76911 authored by xurizaemon's avatar xurizaemon

Translation for user messages.

CRM-20602
parent 5ba324ab
......@@ -16,13 +16,13 @@
$scope.statuses = results[results.length - 1].values;
results.forEach(function(result) {
if (result.is_error) {
var error_message = result.error_message;
var error_message = ts('result.error_message');
if (typeof(result.debug_information) !== 'undefined') {
error_message += '<div class="status-debug-information">' +
'<b>Debug information:</b><br>' +
'<b>' + ts('Debug information') + ':</b><br>' +
result.debug_information + '</div>';
}
CRM.alert(error_message, 'API error', 'error');
CRM.alert(error_message, ts('API error'), 'error');
}
});
$('#crm-status-list').unblock();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment