fix some bug
This commit is contained in:
parent
b322731081
commit
efcd1f2928
|
@ -5,7 +5,7 @@ en:
|
|||
newfont: Please input newfont
|
||||
updatefont: Update
|
||||
CKEDITOR: CKEDITOR
|
||||
Patchfile:
|
||||
patchfile:
|
||||
table:
|
||||
title : Title
|
||||
date : Date
|
||||
|
@ -38,7 +38,7 @@ en:
|
|||
all_articles: All Articles
|
||||
settings: Settings
|
||||
import: Import / Export
|
||||
Patchfile: Patchfile
|
||||
patchfile: Patchfile
|
||||
approval_setting: Approval Setting
|
||||
approve_bulletin_fail: Approval Fail
|
||||
approve_bulletin_success: Approve Successfully
|
||||
|
|
|
@ -5,7 +5,7 @@ zh_tw:
|
|||
CKEDITOR: CKEDITOR
|
||||
newfont: 請輸入要新增的字形
|
||||
updatefont: 更新
|
||||
Patchfile:
|
||||
patchfile:
|
||||
table:
|
||||
title : 標題
|
||||
date : 張貼日期
|
||||
|
@ -39,7 +39,7 @@ zh_tw:
|
|||
jsonfeed: JSON 供給連結
|
||||
feed_list: 訂閱清單
|
||||
all_articles: 文章列表
|
||||
Patchfile: 抓取檔案
|
||||
patchfile: 抓取檔案
|
||||
approval_setting: 審核設定
|
||||
approve_bulletin_fail: 審核失敗
|
||||
approve_bulletin_success: 審核成功
|
||||
|
|
|
@ -2,23 +2,23 @@ require "yaml"
|
|||
module Patchfile
|
||||
class Engine < ::Rails::Engine
|
||||
initializer "patchfile" do
|
||||
OrbitApp.registration "Patchfile", :type => "ModuleApp" do
|
||||
module_label "Patchfile.Patchfile"
|
||||
OrbitApp.registration "patchfile", :type => "ModuleApp" do
|
||||
module_label "patchfile.Patchfile"
|
||||
base_url File.expand_path File.dirname(__FILE__)
|
||||
widget_methods ["widget","random_Patchfile_widget", "tag_cloud"]
|
||||
widget_settings [{"data_count"=>30}]
|
||||
taggable "Patchfile"
|
||||
taggable "patchfilefield"
|
||||
categorizable
|
||||
authorizable
|
||||
frontend_enabled
|
||||
data_count 1..30
|
||||
side_bar do
|
||||
head_label_i18n 'Patchfile.Patchfile', icon_class: "icons-megaphone"
|
||||
head_label_i18n 'patchfile.patchfile', icon_class: "icons-megaphone"
|
||||
available_for "users"
|
||||
active_for_controllers (['admin/patchfiles'])
|
||||
head_link_path "admin_patchfiles_path"
|
||||
|
||||
context_link 'Patchfile.Patchfile',
|
||||
context_link 'patchfile.patchfile',
|
||||
:link_path=>"admin_patchfiles_path" ,
|
||||
:priority=>1,
|
||||
:active_for_action=>{'admin/patchfiles'=>'index'},
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# desc "Explaining what the task does"
|
||||
# task :bulletin do
|
||||
# task :patchfile do
|
||||
# # Task goes here
|
||||
# end
|
||||
|
|
Loading…
Reference in New Issue