brief starting for dashboard,adds i18n vars

This commit is contained in:
Matthew Kaito Juyuan Fu 2012-02-10 16:43:58 +08:00 committed by Christophe Vilayphiou
parent ad34d5b8a6
commit 98b74e5cf4
4 changed files with 48 additions and 5 deletions

View File

@ -2,6 +2,10 @@
<div class="assets_setup"> <div class="assets_setup">
<ul class="list"> <ul class="list">
<li><%= link_to t(:new_asset, :scope => :admin), new_admin_asset_path, :remote => true, :class => 'button positive' %></li> <li><%= link_to t(:new_asset, :scope => :admin), new_admin_asset_path, :remote => true, :class => 'button positive' %></li>
<li><%= link_to t('admin.assets.file'), '', :remote => true, :class => 'button positive' %></li>
<li><%= link_to t('admin.assets.album'), '', :remote => true, :class => 'button positive'%></li>
<li><%= link_to t('admin.assets.video'), '', :remote => true, :class => 'button positive' %></li>
<li><%= link_to t('admin.assets.book'), '', :remote => true, :class => 'button positive' %></li>
</ul> </ul>
</div> </div>
<% end -%> <% end -%>

View File

@ -7,4 +7,18 @@
<li><%= link_to t('admin.member'), admin_users_path, :class => 'orblink' %></li> <li><%= link_to t('admin.member'), admin_users_path, :class => 'orblink' %></li>
<li><%= link_to t('admin.translation'), admin_translations_path, :class => 'orblink' %></li> <li><%= link_to t('admin.translation'), admin_translations_path, :class => 'orblink' %></li>
<li><%= link_to t('admin.site'), admin_sites_path, :class => 'orblink' %></li> <li><%= link_to t('admin.site'), admin_sites_path, :class => 'orblink' %></li>
<!-- <li><%= link_to t('admin.purchase'), admin_purchases_path, :class => 'orblink' %></li>
<li><%= link_to t('admin.site_setting'), admin_sites_path, :class => 'orblink' %></li>
<li><%= link_to t('admin.design'), admin_designs_path, :class => 'orblink' %></li>
<li><%= link_to t('admin.announcement'), panel_announcement_back_end_root_path, :class => 'orblink' %></li>
<li><%= link_to t('admin.super_pages'), '', :class => 'orblink' %></li>
<li><%= link_to t('admin.links'), '', :class => 'orblink' %></li>
<li><%= link_to t('admin.ad_banner'), admin_ad_banners_path, :class => 'orblink' %></li>
<li><%= link_to t('admin.calendar'), '', :class => 'orblink' %></li>
<li><%= link_to t('admin.nccu'), '', :class => 'orblink' %></li>
t('admin.dashbroad')
t('admin.content'
t('admin.add_drop_down_item')
-->
</ul> </ul>

View File

@ -27,13 +27,21 @@ en:
admin: admin:
action: Action action: Action
ad_banner: AD Banner
add_language: Add language add_language: Add language
add_drop_down_item: +Add Menu Item
admin: Admin admin: Admin
action: Action action: Action
announcement: Announcement announcement: Announcement
asset: Asset asset: Asset
assets:
file: File
album: Album
video: Video
book: Book
attributes: Attributes attributes: Attributes
author: Author author: Author
calendar: Calendar
cant_delete_self: You can not delete yourself. cant_delete_self: You can not delete yourself.
cant_revoke_self_admin: You can not revoke your admin role yourself. cant_revoke_self_admin: You can not revoke your admin role yourself.
choose_file: Choose a file... choose_file: Choose a file...
@ -48,6 +56,7 @@ en:
create_success_snippet: Snippet was successfully created. create_success_snippet: Snippet was successfully created.
create_success_user: User was successfully created. create_success_user: User was successfully created.
data: Data data: Data
dashbroad: Dashbroad
delete_language: Delete language delete_language: Delete language
description: Description description: Description
design: Design design: Design
@ -74,6 +83,7 @@ en:
language: Language language: Language
layout: Layout layout: Layout
layout_name: Layout name layout_name: Layout name
links: Links
list_assets: Assets list list_assets: Assets list
list_designs: Designs list list_designs: Designs list
list_items: Items list list_items: Items list
@ -90,6 +100,7 @@ en:
no_home_page: You don't have a homepage no_home_page: You don't have a homepage
no_layout: You don't have a layout no_layout: You don't have a layout
name: Name name: Name
nccu: NCCU Custom
new_asset: New asset new_asset: New asset
new_component: New component new_component: New component
new_design: New design new_design: New design
@ -114,6 +125,8 @@ en:
setup_translations: Translations setup setup_translations: Translations setup
setup_designs: Designs setup setup_designs: Designs setup
site: Site site: Site
site_setting: Site Setting
super_pages: Super pages
title: Title title: Title
translation: Translation translation: Translation
type: Type type: Type

View File

@ -21,14 +21,21 @@ zh_tw:
yes_: "Yes" yes_: "Yes"
admin: admin:
action: 行動 action: 操作
ad_banner: 廣告輪播
add_language: 新增語言 add_language: 新增語言
add_drop_down_item: 增加Orbit選單
admin: 管理 admin: 管理
action: 行動 announcement: 公告系統
announcement: 公告
asset: 資產 asset: 資產
assets:
file: 檔案
album: 相簿
video: 影片
book: 書籍
attributes: 屬性 attributes: 屬性
author: 作者 author: 作者
calendar: 行事曆
cant_delete_self: 您不可以刪除自己。 cant_delete_self: 您不可以刪除自己。
cant_revoke_self_admin: 您不可以撤銷自己的管理作用。 cant_revoke_self_admin: 您不可以撤銷自己的管理作用。
choose_file: 選擇一個文件... choose_file: 選擇一個文件...
@ -42,10 +49,11 @@ zh_tw:
create_success_page: 頁面已成功創建。 create_success_page: 頁面已成功創建。
create_success_snippet: 片段已成功創建。 create_success_snippet: 片段已成功創建。
create_success_user: 用戶已成功創建。。 create_success_user: 用戶已成功創建。。
dashbroad: 儀表板
data: 數據 data: 數據
delete_language: 刪除語言 delete_language: 刪除語言
description: 描述 description: 描述
design: 設計 design: 網站版型
disable_language: 禁用語言 disable_language: 禁用語言
editing_home: 編輯首頁 editing_home: 編輯首頁
editing_layout: 編輯樣板 editing_layout: 編輯樣板
@ -64,11 +72,12 @@ zh_tw:
info: 資料 info: 資料
intro: 簡介 intro: 簡介
is_published: 被出版 is_published: 被出版
item: 項目 item: 網站架構
key: 關鍵 key: 關鍵
language: 語言 language: 語言
layout: 佈局 layout: 佈局
layout_name: 佈局名字 layout_name: 佈局名字
links: 網路資源
list_assets: 資產列表 list_assets: 資產列表
list_designs: 設計列表 list_designs: 設計列表
list_items: 項目列表 list_items: 項目列表
@ -85,6 +94,7 @@ zh_tw:
no_home_page: 您沒有首頁 no_home_page: 您沒有首頁
no_layout: 您沒有佈局 no_layout: 您沒有佈局
name: 名稱 name: 名稱
nccu: 政大客制
new_asset: 新增資產 new_asset: 新增資產
new_component: 新增元件 new_component: 新增元件
new_design: 新設計 new_design: 新設計
@ -108,6 +118,8 @@ zh_tw:
setup_translations: 語系設定 setup_translations: 語系設定
setup_designs: 版型設定 setup_designs: 版型設定
site: 網站 site: 網站
site_setting: 網站設定
super_pages: 可編頁面
title: 標題 title: 標題
translation: 翻譯 translation: 翻譯
type: 類型 type: 類型