clean up useless flash msgs. add i18n vars for app auth and object auth

This commit is contained in:
Matthew K. Fu JuYuan committed 2012-04-30 15:51:22 +08:00
1 parent 17635a2cf2
commit a803309380
9 files changed
+43 -27

No files matched your search

@@ -83,7 +83,7 @@ class Panel::Announcement::BackEnd::BulletinsController < OrbitBackendController
# @bulletin.bulletin_files.new
if get_categorys.empty?
flash[:notice] = "You dont have any permission for post on cate"
flash[:alert] = t("announcement.error.no_avilb_cate_for_posting")
redirect_to :action => :index
else
get_tags
@@ -58,6 +58,8 @@ en:
announcement:
all_articles: List
add_new: Add
error:
no_avilb_cate_for_posting: You need a category to submit your post,please contact admin
sure?: Sure?
campus_news: Campus News
more: more+
@@ -37,6 +37,8 @@ zh_tw:
announcement:
add_new: 新增
all_articles: 列表
error:
no_avilb_cate_for_posting: 您目前沒有分類可以刊登公告,請聯絡系統管理員為您開通分類
tags: 標籤
categories: 分類
status: 狀態