diff --git a/notebook/static/tree/js/shutdownbutton.js b/notebook/static/tree/js/shutdownbutton.js index c7231e73c..e8b789fd1 100644 --- a/notebook/static/tree/js/shutdownbutton.js +++ b/notebook/static/tree/js/shutdownbutton.js @@ -4,29 +4,25 @@ define([ 'jquery', 'base/js/dialog', - 'base/js/events', - 'base/js/promises', - 'base/js/page', + 'base/js/i18n', 'base/js/utils' ], function( $, dialog, - events, - promises, - page, + i18n, utils ){ "use strict"; function display_shutdown_dialog() { var body = $('
').append( - $('

').text("You have shut down Jupyter. You can now close this tab.") + $('

').text(i18n.msg._("You have shut down Jupyter. You can now close this tab.")) ).append( - $('

').text("To use Jupyter again, you will need to relaunch it.") + $('

').text(i18n.msg._("To use Jupyter again, you will need to relaunch it.")) ); dialog.modal({ - title: "Server stopped", + title: i18n.msg._("Server stopped"), body: body }) }