将参赛作品编辑更新后的提示语修改为汉语
This commit is contained in:
parent
947c0f8f64
commit
518de57123
|
@ -173,7 +173,7 @@ class SoftapplicationsController < ApplicationController
|
||||||
@softapplication.deposit_project = params[:project]
|
@softapplication.deposit_project = params[:project]
|
||||||
respond_to do |format|
|
respond_to do |format|
|
||||||
if @softapplication.update_attributes(params[:softapplication])
|
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 }
|
format.json { head :no_content }
|
||||||
else
|
else
|
||||||
format.html { render action: "edit" }
|
format.html { render action: "edit" }
|
||||||
|
|
|
@ -1901,7 +1901,8 @@ zh:
|
||||||
label_noawards_current: 暂未评奖
|
label_noawards_current: 暂未评奖
|
||||||
|
|
||||||
notice_account_updated: 帐号更新成功
|
notice_account_updated: 帐号更新成功
|
||||||
notice_attendingcontest_work_successfully_created: 恭喜您,参赛作品成功创建!
|
notice_attendingcontest_work_successfully_created: 恭喜您,参赛作品创建成功!
|
||||||
|
notice_softapplication_was_successfully_updated: 恭喜您,参赛作品更新成功!
|
||||||
# ajax异步验证
|
# ajax异步验证
|
||||||
modal_valid_passing: 可以使用
|
modal_valid_passing: 可以使用
|
||||||
|
|
Loading…
Reference in New Issue