diff --git a/course/templates/course/flow-page.html b/course/templates/course/flow-page.html index 719901cda167f172eed3974dab957c4dedec918e..601d8940549de05ba9395dc23353046f894e81fe 100644 --- a/course/templates/course/flow-page.html +++ b/course/templates/course/flow-page.html @@ -375,7 +375,7 @@ }) .fail(function() { $("#expiration_mode_change_progress") - .html('Error--not saved.'); + .html('{% trans "Error--not saved." %}'); window.setTimeout( function() { $("#expiration_mode_change_progress").fadeOut() }, 3000); diff --git a/locale/zh_CN/LC_MESSAGES/django.po b/locale/zh_CN/LC_MESSAGES/django.po index 4a75d658e6929b0db21a0aef555c6ef1579880f5..0d8f4e193a49da5dfd8e1356fa747dfdca030437 100644 --- a/locale/zh_CN/LC_MESSAGES/django.po +++ b/locale/zh_CN/LC_MESSAGES/django.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-09 18:33+0800\n" +"POT-Creation-Date: 2016-03-09 18:44+0800\n" "Last-Translator: Dong Zhuang \n" "Language-Team: Dong Zhuang \n" "MIME-Version: 1.0\n" @@ -3108,7 +3108,7 @@ msgstr "无法识别的文件类型(mime type)" #: .\course\page\upload.py:161 msgid "upload question does not have assigned point value" -msgstr "上传的问题未设定分值" +msgstr "上传问题未设定分值" #: .\course\sandbox.py:63 msgid "Press Alt/Cmd+(Shift+)P to preview." @@ -3763,6 +3763,10 @@ msgstr "您在本页还有未保存的修订. " msgid "Saved." msgstr "已保存" +#: .\course\templates\course\flow-page.html:378 +msgid "Error--not saved." +msgstr "错误--未保存." + #: .\course\templates\course\flow-session-state.html:3 msgid "in progress" msgstr "进行中"