AdBanner i18n vars patch

This commit is contained in:
Matthew K. Fu JuYuan authored and Christophe Vilayphiou committed 2012-04-23 14:05:18 +08:00
1 parent 2f279c53ff
commit ff472714de
5 files changed
+20 -5

No files matched your search

+10
View File
@@ -42,6 +42,16 @@ en:
admin:
action: Action
ad_banner: AD Banner
ad:
ab_fx: FX
all_banners: AdBanner list
banner_best_size: Banner Best Size
new_banner: New banner
new_image: New image
title: Title
transition_sec: Transition time
trans_unit_sec: sec
update_banner: Update Banner
add: Add
add_item: Add item
add_language: Add language
+2
View File
@@ -42,11 +42,13 @@ zh_tw:
ad:
ab_fx: 轉場特效
all_banners: 輪播清單
banner_best_size: Banner 尺寸
new_banner: 新增輪播
new_image: 新增橫幅
title: 標題
transition_sec: 轉場單位時間
trans_unit_sec: 秒
update_banner: 更新輪播
add: 新增
add_item: 新增項目
add_language: 新增語言
+1
View File
@@ -26,6 +26,7 @@ Orbit::Application.routes.draw do
resources :ad_banners do
match 'preview/:id' => 'ad_banners#realtime_preview',:as => :realtime_preview,:via => :put
collection do
match 'new_ad_image' => 'ad_images#new',:as => :new_ad_image,:via => :get
match 'new_ad_image' => 'ad_images#create',:as => :create_ad_image,:via => :post