diff --git a/app/controllers/softapplications_controller.rb b/app/controllers/softapplications_controller.rb index 00fd9c0e0..31675ca5d 100644 --- a/app/controllers/softapplications_controller.rb +++ b/app/controllers/softapplications_controller.rb @@ -173,7 +173,7 @@ class SoftapplicationsController < ApplicationController @softapplication.deposit_project = params[:project] respond_to do |format| if @softapplication.update_attributes(params[:softapplication]) - format.html { redirect_to @softapplication, notice: 'Softapplication was successfully updated.' } + format.html { redirect_to @softapplication, notice: l(:notice_softapplication_was_successfully_updated) } format.json { head :no_content } else format.html { render action: "edit" } diff --git a/config/locales/zh.yml b/config/locales/zh.yml index 9c98323b5..ed1a3c4a1 100644 --- a/config/locales/zh.yml +++ b/config/locales/zh.yml @@ -1901,7 +1901,8 @@ zh: label_noawards_current: 暂未评奖 notice_account_updated: 帐号更新成功 - notice_attendingcontest_work_successfully_created: 恭喜您,参赛作品成功创建! + notice_attendingcontest_work_successfully_created: 恭喜您,参赛作品创建成功! + notice_softapplication_was_successfully_updated: 恭喜您,参赛作品更新成功! # ajax异步验证 modal_valid_passing: 可以使用 \ No newline at end of file