Asset upload

This commit is contained in:
Christophe Vilayphiou committed 2012-05-17 06:28:29 +08:00
1 parent 9129835f23
commit 26292f0dcc
15 files changed
+191 -43

No files matched your search

+5
View File
@@ -11,6 +11,7 @@ en:
back: Back
browse: Browse
cancel: Cancel
create_fail: Creation failed
create: Create
delete: Delete
desktop: Desktop
@@ -41,6 +42,7 @@ en:
submit: Submit
sure?: Are you sure?
update: Update
update_failed: Update failed
view: View
view_count: View count
yes_: "Yes"
@@ -117,6 +119,7 @@ en:
calendar: Calendar
cant_delete_self: You can not delete yourself.
cant_revoke_self_admin: You can not revoke your admin role yourself.
category: Category
choose_file: Choose a file...
class: Class
content: Content
@@ -146,6 +149,7 @@ en:
enabled_for: Enabled for
file_name: Filename
file_size: File size
file_upload: File upload
format: Format
home: Home
id: ID
@@ -231,6 +235,7 @@ en:
site_title: Site title
super_pages: Super pages
structure: Structure
tags: Tags
title: Title
translation: Translation
type: Type
+5
View File
@@ -9,6 +9,7 @@ zh_tw:
browse: 選擇檔案
cancel: 取消
create: 新增
create_fail: 創建失敗
delete: 刪除
desktop: 桌面
disable: 禁用
@@ -35,6 +36,7 @@ zh_tw:
submit: 送出
sure?: 您肯定嗎?
update: 更新
update: 更新失敗
view: 檢視
view_count: 查看次數
yes_: "Yes"
@@ -110,6 +112,7 @@ zh_tw:
calendar: 行事曆
cant_delete_self: 您不可以刪除自己。
cant_revoke_self_admin: 您不可以撤銷自己的管理身份。
category: 類別
choose_file: 請選擇一個文件...
class: 階級
content: 內容
@@ -143,6 +146,7 @@ zh_tw:
enabled_for: 啟用
file_name: 檔名
file_size: 檔案大小
file_upload: 文件上載
format: 格式
home: 首頁
id: ID
@@ -230,6 +234,7 @@ zh_tw:
site_setting: 網站設定
super_pages: 可編頁面
structure: 網站結構
tags: 標籤
title: 標題
translation: 翻譯
type: 類型
+1
View File
@@ -15,6 +15,7 @@ Orbit::Application.routes.draw do
mount Resque::Server.new, :at => "/resque"
resources :assets do
collection do
get 'file_upload'
post 'delete'
end
end