fix Shutdown trans loss

pull/3147/head
bxy007 8 years ago
parent ca50f1af5a
commit 83d1deda2f

@ -898,6 +898,14 @@ msgstr ""
msgid "Do you want to restart the current kernel? All variables will be lost."
msgstr ""
#: notebook/static/notebook/js/notebook.js:2320
msgid "Shutdown kernel?"
msgstr ""
#: notebook/static/notebook/js/notebook.js:2322
msgid "Do you want to shutdown the current kernel? All variables will be lost."
msgstr ""
#: notebook/static/notebook/js/notebook.js:2734
msgid "Notebook changed"
msgstr ""

@ -605,6 +605,7 @@ msgstr ""
msgid "Shutdown selected notebook(s)"
msgstr ""
#: notebook/templates/notebook.html:278
#: notebook/templates/tree.html:39
msgid "Shutdown"
msgstr ""

@ -752,371 +752,6 @@ msgstr "创建代码失败"
msgid "The error was: %s"
msgstr "错误; %s"
#: notebook/static/notebook/js/maintoolbar.js:54
msgid "Run"
msgstr "运行"
@ -1263,6 +898,14 @@ msgstr "重启服务?"
msgid "Do you want to restart the current kernel? All variables will be lost."
msgstr "如果重启服务, 所有变量都会丢弃."
#: notebook/static/notebook/js/notebook.js:2320
msgid "Shutdown kernel?"
msgstr "关闭服务"
#: notebook/static/notebook/js/notebook.js:2322
msgid "Do you want to shutdown the current kernel? All variables will be lost."
msgstr "如果关闭服务,所有变量都会丢失"
#: notebook/static/notebook/js/notebook.js:2750
msgid "Notebook changed"
msgstr "笔记改变了"

@ -605,6 +605,7 @@ msgstr "下载"
msgid "Shutdown selected notebook(s)"
msgstr "停止运行选择的notebook(s)"
#: notebook/templates/notebook.html:278
#: notebook/templates/tree.html:39
msgid "Shutdown"
msgstr "关闭"

@ -2319,7 +2319,7 @@ define([
shutdown_options.dialog = {
title : "Shutdown kernel?",
body : $("<p/>").text(
'Do you want to shutdown the current kernel? All variables will be lost.'
i18n.msg._('Do you want to shutdown the current kernel? All variables will be lost.')
),
buttons : {
"Shutdown" : {

@ -275,7 +275,7 @@ data-notebook-path="{{notebook_path | urlencode}}"
</li>
<li id="shutdown_kernel"
title="Shutdown the Kernel">
<a href="#">Shutdown</a>
<a href="#">{% trans %}Shutdown{% endtrans %}</a>
</li>
<li class="divider"></li>
<li id="menu-change-kernel" class="dropdown-submenu">

Loading…
Cancel
Save