将参赛作品编辑更新后的提示语修改为汉语

This commit is contained in:
wanglinchun 2014-05-21 11:24:11 +08:00
parent 947c0f8f64
commit 518de57123
2 changed files with 3 additions and 2 deletions

View File

@ -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" }

View File

@ -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: 可以使用