Skip to content
Snippets Groups Projects
Commit f4b9c347 authored by Julian Pustkuchen's avatar Julian Pustkuchen
Browse files

Added Drupal.t context to the loading translation to make it more robust.

parent 9ebd64e8
No related branches found
No related tags found
1 merge request!2Issue #3342445: jQuery .live() is deprecated
......@@ -104,7 +104,7 @@
if ($("div#loadinganimation").length == 0) {
$("body")
.append(
'<div id="loadinganimation"><div class="loadinganimation-box"><div class="inner"><span class="loading-text">'+ Drupal.t('Loading') +'</span></div></div></div>');
'<div id="loadinganimation"><div class="loadinganimation-box"><div class="inner"><span class="loading-text">'+ Drupal.t('Loading ...', {}, {context: "jquery_loadinganimation"}) +'</span></div></div></div>');
}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment