Revision ad01d4d2
Added by Walden Raines over 10 years ago
app/assets/javascripts/spice.js | ||
---|---|---|
var password = $('#spice-area').data('password');
|
||
|
||
if ((!host) || (!port)) {
|
||
console.log(_("must set host and port"));
|
||
console.log(__("must set host and port"));
|
||
return;
|
||
}
|
||
|
||
... | ... | |
}
|
||
|
||
function spice_success(m) {
|
||
$('#spice-status').text(Jed.sprintf(_('Connected (unencrypted) to: %s'), $('#spice-status').attr('data-host')))
|
||
$('#spice-status').text(Jed.sprintf(__('Connected (unencrypted) to: %s'), $('#spice-status').attr('data-host')))
|
||
$('#spice-status').addClass('label-success');
|
||
}
|
||
|
Also available in: Unified diff
fixes #3984 - use __ instead of _ for i18n to avoid conflict with underscore.js