Changes for i18n yml

This commit is contained in:
Christophe Vilayphiou committed 2012-09-24 09:02:45 +08:00
1 parent a04e1fd10b
commit bdd5a1a047
170 files changed
+1213 -3715

No files matched your search

+3 -3
View File
@@ -56,7 +56,7 @@ class Admin::PagesController < ApplicationController
end
if @item.save
flash.now[:notice] = t('admin.create_success_page')
flash.now[:notice] = t('create.success.page')
respond_to do |format|
format.html {
redirect_to admin_page_url(@item)
@@ -64,7 +64,7 @@ class Admin::PagesController < ApplicationController
format.js {}
end
else
flash.now[:error] = t('admin.create_error_page')
flash.now[:error] = t('create.error.page')
@apps = ModuleApp.all
@designs = Design.all.entries
@design = Design.first
@@ -80,7 +80,7 @@ class Admin::PagesController < ApplicationController
end
if @item.update_attributes(params[:page])
flash[:notice] = t('admin.update_success_page')
flash[:notice] = t('update.success.page')
respond_to do |format|
format.html {
redirect_to admin_page_url(@item)