Merge commit 'e429aa9425e9648a94a1dd7bb5cea15af7ba854a' into sidebar_config
Conflicts: app/views/layouts/_side_bar_content.html.erb config/locales/zh_tw.yml config/mongoid.yml vendor/built_in_modules/announcement/app/controllers/panel/announcement/back_end/bulletin_categorys_controller.rb vendor/built_in_modules/announcement/init.rb
This commit is contained in:
commit
ca290f3519
262 files changed
+7692
-2403
No files matched your search
@@ -68,6 +68,10 @@ module Orbit
|
||||
config.assets.enabled = true
|
||||
#config.time_zone = 'Taipei'
|
||||
ENV['TZ'] = 'Asia/Taipei'
|
||||
|
||||
config.to_prepare do
|
||||
Devise::RegistrationsController.layout false
|
||||
end
|
||||
end
|
||||
end
|
||||
Orbit_Apps = []
|
||||
|
||||
@@ -80,6 +80,7 @@ Devise.setup do |config|
|
||||
# The time you want to timeout the user session without activity. After this
|
||||
# time the user will be asked for credentials again.
|
||||
# config.timeout_in = 10.minutes
|
||||
config.timeout_in = 10.minutes
|
||||
|
||||
# ==> Configuration for :lockable
|
||||
# Defines which strategy will be used to lock an account.
|
||||
@@ -109,7 +110,6 @@ Devise.setup do |config|
|
||||
# Turn scoped views on. Before rendering "sessions/new", it will first check for
|
||||
# "users/sessions/new". It's turned off by default because it's slower if you
|
||||
# are using only default views.
|
||||
# config.scoped_views = true
|
||||
|
||||
# Configure the default scope given to Warden. By default it's the first
|
||||
# devise role declared in your routes.
|
||||
|
||||
@@ -1,43 +1,42 @@
|
||||
zh_tw:
|
||||
errors:
|
||||
messages:
|
||||
not_found: "沒有找到"
|
||||
already_confirmed: "已被確認過了"
|
||||
not_locked: "被鎖定了"
|
||||
|
||||
devise:
|
||||
failure:
|
||||
unauthenticated: '您需要先註冊、登入後才能繼續。'
|
||||
unconfirmed: '您的帳號需需要經過確認後,才能繼續。'
|
||||
ldap_invalid: '您的LDAP帳號錯誤'
|
||||
ldap_connection_failed: '與LDAP之間連線異常'
|
||||
ldap_pass_but_account_not_in_orbit: '很抱歉,您的LDAP帳號並不支援在此網站登入'
|
||||
locked: '您的帳號已被鎖定。'
|
||||
invalid: 'Email 或密碼是無效的。'
|
||||
invalid_token: '無效的認證代碼。'
|
||||
timeout: '您的登入時效過期,請重新登入,才能繼續。'
|
||||
inactive: '您的帳號尚未被啟用。'
|
||||
sessions:
|
||||
signed_in: '成功登入了。'
|
||||
signed_out: '成功登出了。'
|
||||
passwords:
|
||||
send_instructions: '您將在幾分鐘後收到一封電子郵件,內有重新設定密碼的步驟說明。'
|
||||
updated: '您的密碼已被修改,而您現在已重新登入。'
|
||||
confirmations:
|
||||
send_instructions: '您將在幾分鐘後收到一封電子郵件,內有確認帳號的步驟說明。'
|
||||
confirmed: '您的帳號已經過確認,現在您已成功登入。'
|
||||
registrations:
|
||||
signed_up: '您已經成功的登錄,確認信件已送至您的 Email 信箱。'
|
||||
updated: '您已經成功的更新帳號資訊。'
|
||||
destroyed: '再會!您的帳號已被取消。有緣再會。'
|
||||
email_not_unique: '已被註冊'
|
||||
unlocks:
|
||||
send_instructions: '您將在幾分鐘後收到一封電子郵件,內有將帳號解除鎖定的步驟說明。'
|
||||
unlocked: '您的帳號已被解鎖,現在您已成功登入。'
|
||||
confirmed: 您的帳號已經過確認,現在您已成功登入。
|
||||
send_instructions: 您將在幾分鐘後收到一封電子郵件,內有確認帳號的步驟說明。
|
||||
failure:
|
||||
already_authenticated: 你已經登入。
|
||||
inactive: 您的帳號尚未被啟用。
|
||||
invalid: Email 或密碼是無效的。
|
||||
invalid_token: 無效的認證代碼。
|
||||
locked: 您的帳號已被鎖定。
|
||||
timeout: 您的登入時效過期,請重新登入,才能繼續。
|
||||
unauthenticated: 您需要先註冊,登入後才能繼續。
|
||||
unconfirmed: 您的帳號需需要經過確認後,才能繼續。
|
||||
mailer:
|
||||
confirmation_instructions:
|
||||
subject: '確認步驟'
|
||||
subject: 確認步驟
|
||||
reset_password_instructions:
|
||||
subject: '重設密碼步驟'
|
||||
subject: 重設密碼步驟
|
||||
unlock_instructions:
|
||||
subject: '解鎖步驟'
|
||||
subject: 解鎖步驟
|
||||
passwords:
|
||||
send_instructions: 您將在幾分鐘後收到一封電子郵件,內有重新設定密碼的步驟說明。
|
||||
updated: 您的密碼已被修改,而您現在已重新登入。
|
||||
registrations:
|
||||
destroyed: 再會!您的帳號已被取消。有緣再會。
|
||||
signed_up: 您已經成功註冊,確認信件已送至您的 Email 信箱。
|
||||
updated: 您已經成功的更新帳號資訊。
|
||||
sessions:
|
||||
signed_in: 成功登入了。
|
||||
signed_out: 成功登出了。
|
||||
unlocks:
|
||||
send_instructions: 您將在幾分鐘後收到一封電子郵件,內有將帳號解除鎖定的步驟說明。
|
||||
unlocked: 您的帳號已被解鎖,現在您已成功登入。
|
||||
errors:
|
||||
messages:
|
||||
already_confirmed: 已被確認過了
|
||||
not_found: 沒有找到
|
||||
not_locked: 被鎖定了
|
||||
not_saved:
|
||||
one: 有一個錯誤導致%{resource}不能被儲存:
|
||||
other: 有 %{count} 個錯誤導致%{resource}不能被儲存:
|
||||
+85
-277
@@ -6,35 +6,58 @@ en:
|
||||
denied:
|
||||
app:
|
||||
not_sub_manager: Access Denied for you are not SubManager for this app
|
||||
not_manager: Access Denied for you are not SubManager for this app
|
||||
not_manager: Access Denied for you are not Manager for this app
|
||||
not_authed_user: Access Denied for you are not User for this app
|
||||
object: Access Denied for you don't have permission for this object
|
||||
not_admin: Access Denied for you are not Admin
|
||||
account_settings: Account settings
|
||||
action: Action
|
||||
ad:
|
||||
chinese_1: 在套圖中出現次數 1次請輸入1
|
||||
chinese_2: 輸入連結
|
||||
chinese_3: 輸入標題
|
||||
ab_fx: FX
|
||||
add_link: Add a reference link
|
||||
banner_best_size: Banner Best Size
|
||||
best_size: Best size
|
||||
best_size_example: "Ex: 500px x 300px"
|
||||
new_image: New image
|
||||
not_showing: Not showing
|
||||
picture_list: Picture List
|
||||
sec_place_holder: Enter 3 if 3 sec
|
||||
select_fx: Select the effect type
|
||||
set_dates: Set the image to start and end dates
|
||||
set_range: Set the range time
|
||||
showing: Showing
|
||||
success_destroy_ad_image: Image successfully destroyed
|
||||
trans_unit_sec: sec
|
||||
transition_sec: Transition time
|
||||
update_banner: Update Banner
|
||||
upload_pictures: Upload pictures
|
||||
widget_info_for_ad_image_size: "Best size with: %{best_size}"
|
||||
ad_banner: AD Banner
|
||||
add: Add
|
||||
add_attribute_field: Add attribute field
|
||||
add_image: Add image
|
||||
add_item: Add item
|
||||
add_member: Add member
|
||||
add_more: Add more
|
||||
address_modal:
|
||||
default_title: Address
|
||||
street_address: Street address
|
||||
city: City
|
||||
county: County
|
||||
zip: ZIP
|
||||
country: Country
|
||||
addthis_tools:
|
||||
add_to_bookmark: Add this to bookmark
|
||||
admin: Admin
|
||||
all: All
|
||||
all_content: All Content
|
||||
all_file: All File
|
||||
all_member: All Member
|
||||
all_plugin_summary: All plugin summary
|
||||
all_plugins: All plugins
|
||||
always_display_title: Always displayed in the title bar
|
||||
app_auth:
|
||||
list_setting_result: Authorization List
|
||||
@@ -52,6 +75,7 @@ en:
|
||||
fail: Removal of sub-manager failed
|
||||
success: Sub-manager successfully removed
|
||||
failed_no_user: Failed, no user
|
||||
operation_not_permitted: Operation not permitted
|
||||
approval:
|
||||
not_pass: Not pass
|
||||
not_pass_reason: Not pass reason
|
||||
@@ -60,7 +84,9 @@ en:
|
||||
stat: Approval status
|
||||
user_list: Unit
|
||||
approval_: Approval
|
||||
archive: Archive
|
||||
asset: Asset
|
||||
attributes: Attributes
|
||||
auth:
|
||||
add_manager: Add Manager
|
||||
add_sub_manager: Add SubManager
|
||||
@@ -74,6 +100,8 @@ en:
|
||||
back: Back
|
||||
basic: Basic
|
||||
browse: Browse
|
||||
built_in: Built-in
|
||||
calendar: Calendar
|
||||
cancel: Cancel
|
||||
cant_delete_self: You can not delete yourself.
|
||||
cant_empty_star: Cannot be empty (*)
|
||||
@@ -82,7 +110,9 @@ en:
|
||||
category: Category
|
||||
category_auth: Category Authorization
|
||||
clear: Clear
|
||||
close: Close
|
||||
content: Content
|
||||
courses: Courses
|
||||
create:
|
||||
error:
|
||||
link: Error when creating link.
|
||||
@@ -90,11 +120,27 @@ en:
|
||||
fail: Creation failed
|
||||
success:
|
||||
asset_category: Asset category was successfully created.
|
||||
co_author: Co-author was successfully created.
|
||||
link: Link was successfully created.
|
||||
page: Page was successfully created.
|
||||
paper: Paper was successfully created.
|
||||
user: User was successfully created.
|
||||
create_: Create
|
||||
cross_lang: 跨語言輸入
|
||||
data: Data
|
||||
date:
|
||||
calendar: 紀年法
|
||||
range: 本欄為時間區段
|
||||
format: 格式
|
||||
tw_calendar: 民國
|
||||
minguo_calendar:
|
||||
after: 民國
|
||||
before: 民前
|
||||
first_year: 民國元年
|
||||
year: 年
|
||||
month: 月
|
||||
west_calendar: 西元
|
||||
date_: Date
|
||||
dashboard:
|
||||
bulletin: Announcement
|
||||
news_bulletin: News
|
||||
@@ -103,11 +149,15 @@ en:
|
||||
dashboard_: Dashboard
|
||||
deadline: Deadline
|
||||
default_css: Default CSS
|
||||
delete: Delete
|
||||
delete_file: Delete file
|
||||
delete:
|
||||
file: Delete file
|
||||
success:
|
||||
paper: Paper was successfully deleted.
|
||||
delete_: Delete
|
||||
description: Description
|
||||
desktop: Desktop
|
||||
disable: Disable
|
||||
disabled: Disabled
|
||||
dots: ●●●●●●
|
||||
download: Download
|
||||
downloaded: Downloaded
|
||||
@@ -130,8 +180,11 @@ en:
|
||||
upload: File upload
|
||||
file_: File
|
||||
file_type: File Type
|
||||
followers: Followers
|
||||
forgot_password: Forgot your password?
|
||||
frequency: Frequency
|
||||
frontend_data_count: Frontend data count
|
||||
gallery: Gallery
|
||||
help: Help
|
||||
hidden: Hidden
|
||||
hide: Hide
|
||||
@@ -140,10 +193,14 @@ en:
|
||||
horizontal: Horizontal
|
||||
hot: Hot
|
||||
image: Image
|
||||
images: Images
|
||||
info: Information
|
||||
initial: 起始值
|
||||
intro: Introduction
|
||||
is_published: Is published
|
||||
item: Item
|
||||
item_name: Item name
|
||||
javascripts: Javascripts
|
||||
key: Key
|
||||
last_modified: Last modified
|
||||
layout: Layout
|
||||
@@ -166,6 +223,8 @@ en:
|
||||
text_area: Text Area
|
||||
radio_button: Radio button
|
||||
checkbox: Checkbox
|
||||
locale: Locale
|
||||
location: Location
|
||||
login: Login
|
||||
logout: Logout
|
||||
mail:
|
||||
@@ -180,20 +239,21 @@ en:
|
||||
user_name: User Name
|
||||
manager: Manager
|
||||
manager: Manager
|
||||
markup: Markup
|
||||
markup_options: Markup options
|
||||
markup_value: Markup value
|
||||
me: Me
|
||||
member: Member
|
||||
menu_enabled_for: Menu enabled for
|
||||
modal:
|
||||
close: Close
|
||||
preview: Preview
|
||||
module: Module
|
||||
module_authorization: Module Authorization
|
||||
more_plus: more+
|
||||
most_visited_page: Most Visited Page
|
||||
multilingual: Multilingual
|
||||
name: Name
|
||||
nccu_c:
|
||||
nccu_ldap_uid: NCCU LDAP Account
|
||||
need_home: You need a home page
|
||||
neutral_title: Neutral title
|
||||
neutral_for: Neutral for
|
||||
new:
|
||||
asset: New asset
|
||||
banner: New banner
|
||||
@@ -203,6 +263,7 @@ en:
|
||||
user: New user
|
||||
info: New user information
|
||||
role: New user role
|
||||
new_: New
|
||||
news: News
|
||||
no_: "No"
|
||||
no_deadline: No deadline
|
||||
@@ -222,40 +283,17 @@ en:
|
||||
text: Text Area
|
||||
passed: Approved
|
||||
password: Password
|
||||
# : <<<<<<< HEAD
|
||||
password_confirmation: Password Confirmation
|
||||
pending: Pending
|
||||
picture: Picture
|
||||
placeholder: Placeholder
|
||||
plugins: Plugins
|
||||
postdate: Postdate
|
||||
posted_by: Posted by
|
||||
preview: Preview
|
||||
profile: Profile
|
||||
publications: Publications
|
||||
purchase: Purchase
|
||||
# : =======
|
||||
register: Register
|
||||
remember_me: Remember me
|
||||
search_google: Search Google
|
||||
show: Show
|
||||
submit: Submit
|
||||
sure?: Are you sure?
|
||||
update: Update
|
||||
update_failed: Update failed
|
||||
view: View
|
||||
view_count: View count
|
||||
yes_: "Yes"
|
||||
addthis_tools:
|
||||
add_to_bookmark: Add this to bookmark
|
||||
all_content: All Content
|
||||
all_file: All File
|
||||
all_member: All Member
|
||||
content: Content
|
||||
data: Data
|
||||
file: File
|
||||
file_type: File Type
|
||||
hits: Hits
|
||||
item: Item
|
||||
member: Member
|
||||
module: Module
|
||||
most_visited_page: Most Visited Page
|
||||
# : >>>>>>> various_bugs
|
||||
quantity: Quantity
|
||||
quick_edit: Quick edit
|
||||
recent_update: Recent Update
|
||||
@@ -276,9 +314,14 @@ en:
|
||||
sitesearch: Google Site Search
|
||||
too_many: "Search about ' %{search_word} 'resulted more than %{exceed_num} items maybe try to search with more specific terms?"
|
||||
unit_get: "Listed items created by :%{unit_name} Found %{item_num} items"
|
||||
search_nccu: Search NCCU
|
||||
search_: Search
|
||||
search_google: Search Google
|
||||
setup_member: Member setup
|
||||
show: Show
|
||||
show_mode:
|
||||
index: Index
|
||||
summary: Summary
|
||||
thumbnail: Thumbnail
|
||||
site:
|
||||
description: Site description
|
||||
description_help: ''
|
||||
@@ -298,6 +341,7 @@ en:
|
||||
site_info: Site Info
|
||||
sitemap: Sitemap
|
||||
site_name: Site Name
|
||||
size: Size
|
||||
start: Start
|
||||
start_date: Start date
|
||||
statistics: Statistics
|
||||
@@ -315,6 +359,7 @@ en:
|
||||
module_page_lang_not_support: "We are sorry, this page is not available for English"
|
||||
not_previewable: "Preview not support"
|
||||
preview_only_for_img: "Preview only supprt with file type: jpg, png, gif, bmp"
|
||||
sys_basic_form: User system info
|
||||
system_info: System information
|
||||
tag_cloud: Tag cloud
|
||||
tags: Tags
|
||||
@@ -329,15 +374,18 @@ en:
|
||||
traffic: Traffic
|
||||
type: Type
|
||||
unit_name: Unit name
|
||||
unzip_success: "App unzip procress is finished, please restart the server to apply effect"
|
||||
up_to_date: Up-to-date
|
||||
update:
|
||||
error:
|
||||
link: Error when updating link.
|
||||
fail: Update failed
|
||||
success:
|
||||
co_author: Co-author was successfully updated.
|
||||
content: Content was successfully updated.
|
||||
link: Link was successfully updated.
|
||||
page: Page was successfully updated.
|
||||
paper: Paper was successfully updated.
|
||||
user: User was successfully updated.
|
||||
success_: Successfully updated
|
||||
update_: Update
|
||||
@@ -354,243 +402,3 @@ en:
|
||||
visitors_this_year: This year's visitors
|
||||
visitors_today: Today's visitors
|
||||
yes_: "Yes"
|
||||
|
||||
# : <<<<<<< HEAD
|
||||
nccu:
|
||||
date: Date
|
||||
file: File
|
||||
file_description: Description
|
||||
file_name: Name
|
||||
link_name: Name
|
||||
picture: Picture
|
||||
selected_file: File
|
||||
# : =======
|
||||
errors:
|
||||
at_least_one: must at least have one value
|
||||
|
||||
# admin:
|
||||
# access:
|
||||
# denied:
|
||||
# app:
|
||||
# not_sub_manager: Access Denied for you are not SubManager for this app
|
||||
# not_manager: Access Denied for you are not SubManager for this app
|
||||
# not_authed_user: Access Denied for you are not User for this app
|
||||
# not_admin: Access Denied for you are not Admin
|
||||
# object: "Access Denied for you don't have permission for this object"
|
||||
# action: Action
|
||||
# ad_banner: AD Banner
|
||||
# orbit_gallery: Gallery
|
||||
# calendar: Calendar
|
||||
# ad:
|
||||
# sec_place_holder: Enter 3 if 3 sec
|
||||
# ab_fx: FX
|
||||
# all_banners: AdBanner list
|
||||
# banner_best_size: Banner Best Size
|
||||
# best_size: Best size
|
||||
# new_banner: New banner
|
||||
# new_image: New image
|
||||
# showing: Showing
|
||||
# not_showing: NotShowing
|
||||
# picture_list: Picture List
|
||||
# title: Title
|
||||
# transition_sec: Transition time
|
||||
# trans_unit_sec: sec
|
||||
# update_banner: Update Banner
|
||||
# widget_info_for_ad_image_size: "Best size with: %{best_size}"
|
||||
# add: Add
|
||||
# add_item: Add item
|
||||
# add_language: Add language
|
||||
# add_drop_down_item: +Add Menu Item
|
||||
# admin: Admin
|
||||
# action: Action
|
||||
# all_articles: List
|
||||
# always_display_title: Always displayed in the title bar
|
||||
# announcement: Announcement
|
||||
# asset: Asset
|
||||
# assets:
|
||||
# file: File
|
||||
# album: Album
|
||||
# video: Video
|
||||
# book: Book
|
||||
# attributes: Attributes
|
||||
# author: Author
|
||||
# calendar: Calendar
|
||||
# gprs: GPS
|
||||
# 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
|
||||
# create_error_link: Error when creating link.
|
||||
# create_error_page: Error when creating page.
|
||||
# create_success_home: Homepage was successfully created.
|
||||
# create_success_layout: Layout was successfully created.
|
||||
# create_success_link: Link was successfully created.
|
||||
# create_success_page: Page was successfully created.
|
||||
# create_success_snippet: Snippet was successfully created.
|
||||
# create_success_user: User was successfully created.
|
||||
# data: Data
|
||||
# dashboard: Dashboard
|
||||
# delete_language: Delete language
|
||||
# description: Description
|
||||
# design: Template
|
||||
# disable_language: Disable language
|
||||
# editing_home: Editing homepage
|
||||
# editing_layout: Editing layout
|
||||
# editing_link: Editing link
|
||||
# editing_page: Editing page
|
||||
# editing_snippet: Editing snippet
|
||||
# editing_info: Editing user information
|
||||
# editing_role: Editing user role
|
||||
# email: Email
|
||||
# enable_language: Enable language
|
||||
# enabled_for: Enabled for
|
||||
# file_name: Filename
|
||||
# file_size: File size
|
||||
# file_upload: File upload
|
||||
# format: Format
|
||||
# home: Home
|
||||
# id: ID
|
||||
# info: Information
|
||||
# intro: Introduction
|
||||
# is_published: Is published
|
||||
# item: Item
|
||||
# key: Key
|
||||
# keywords: Keywords
|
||||
# language: Language
|
||||
# layout: Layout
|
||||
# layout_name: Layout name
|
||||
# links: Links
|
||||
# link: Links
|
||||
# list_assets: Assets list
|
||||
# list_designs: Designs list
|
||||
# list_items: Items list
|
||||
# list_puchases: Purchases list
|
||||
# list_snippets: Snippets list
|
||||
# list_users: Users list
|
||||
# list_infos: User information list
|
||||
# list_roles: User roles list
|
||||
# mail_address: Address
|
||||
# mail_port: Port
|
||||
# mail_domain: Domain
|
||||
# mail_authentication: Authentication
|
||||
# mail_user_name: User Name
|
||||
# mail_password: Password
|
||||
# mail_tls: TLS
|
||||
# mail_enable_starttls_auto: Enable Start TLS Auto
|
||||
# member: Member
|
||||
# menu_enabled_for: Menu enabled for
|
||||
# module:
|
||||
# authorization: Module Authorization
|
||||
# move_down: Move down
|
||||
# move_up: Move up
|
||||
# multilingual: Multilingual
|
||||
# my_avatar: My Avatar
|
||||
# no_home_page: You don't have a homepage
|
||||
# no_layout: You don't have a layout
|
||||
# name: Name
|
||||
# nccu: NCCU Custom
|
||||
# nccu_c:
|
||||
# nccu_ldap_uid: NCCU LDAP Account
|
||||
# new_asset: New asset
|
||||
# new_component: New component
|
||||
# new_design: New design
|
||||
# new_home: New homepage
|
||||
# new_layout: New layout
|
||||
# new_link: New link
|
||||
# new_page: New page
|
||||
# new_snippet: New snippet
|
||||
# new_user: New user
|
||||
# new_info: New user information
|
||||
# new_role: New user role
|
||||
# news: News
|
||||
# non_multilingual: Non multilingual
|
||||
# object_auth:
|
||||
# list_title_of_users: %{auth_title} Auth List
|
||||
# update_done: Update done,reulst showing in list
|
||||
# update_failed: Update failed
|
||||
# options: Options
|
||||
# orig_upload_file: Original filename
|
||||
# page: Page
|
||||
# page_context:
|
||||
# edit: Edit
|
||||
# ob_auth:
|
||||
# edit: Category authorization
|
||||
# page_part_kinds:
|
||||
# text: Text Area
|
||||
# public_r_tag: System Widget
|
||||
# module_widget: Plug-in Module Widget
|
||||
# position: Position
|
||||
# published?: Published?
|
||||
# purchase: Purchase
|
||||
# registered: Registered
|
||||
# role: Role
|
||||
# roles: Roles
|
||||
# setup_member: Member setup
|
||||
# setup_translations: Translations setup
|
||||
# setup_designs: Designs setup
|
||||
# site: Site
|
||||
# site_description: Site description
|
||||
# site_footer: Site footer
|
||||
# site_settings: Site Setting
|
||||
# site_sub_menu: Site sub-menu
|
||||
# site_title: Site title
|
||||
# super_pages: Super pages
|
||||
# structure: Structure
|
||||
# : >>>>>>> various_bugs
|
||||
tags: Tags
|
||||
url: URL
|
||||
# : <<<<<<< HEAD
|
||||
# : =======
|
||||
user: User
|
||||
user_new_interface:
|
||||
sys_basic_form: User system info
|
||||
password: Password
|
||||
password_confirmation: Password Confirmation
|
||||
email: User account
|
||||
user_role:
|
||||
auth:
|
||||
all_member: All Member
|
||||
manager: Manager
|
||||
sub_mamanger: SubManager
|
||||
by_role: By Role
|
||||
by_sub_role: By SubRole
|
||||
block_list: Block List
|
||||
privilege_list: Privilege List
|
||||
add_manager: Add Manager
|
||||
add_sub_manager: Add SubManager
|
||||
add_to_block_list: Add to block List
|
||||
add_to_privilege_list: Add to privilege List
|
||||
auth_by: -AuthBy %{user_display_name}
|
||||
info: User information
|
||||
panel: User panel
|
||||
role: User role
|
||||
|
||||
dashboard:
|
||||
bulletin: Announcement
|
||||
news_bulletin: News
|
||||
page_context: Page
|
||||
web_link: Link
|
||||
|
||||
panel:
|
||||
|
||||
modal:
|
||||
close: Close
|
||||
preview: Preview
|
||||
sys:
|
||||
not_previewable: "Preview not support"
|
||||
limit_of_upload_file_size: "Upload file must be less than: %{best_size}"
|
||||
preview_only_for_img: "Preview only supprt with file type:jpg,png,gif,bmp"
|
||||
can_not_display_due_to_no_context: "Can not display due to no context for English"
|
||||
module_page_lang_not_support: "We are sorry, this page is not available for English"
|
||||
search:
|
||||
not_found: "NOT FOUND"
|
||||
domains: Google Search Domains
|
||||
site_search: Site Search
|
||||
sitesearch: Google Site Search
|
||||
site_setting_help: Please Enter the search argument for Google search.
|
||||
result_get: "Searched about ' %{search_word} ' Found %{item_num} items"
|
||||
too_many: "Search about ' %{search_word} 'resulted more than %{exceed_num} items maybe try to search with more specific terms?"
|
||||
unit_get: "Listed items created by :%{unit_name} Found %{item_num} items"
|
||||
# : >>>>>>> various_bugs
|
||||
@@ -0,0 +1,70 @@
|
||||
zh_tw:
|
||||
mongoid:
|
||||
errors:
|
||||
messages:
|
||||
blank:
|
||||
不能为空
|
||||
callbacks:
|
||||
"Calling %{method} on %{klass} resulted in a false return from a callback."
|
||||
taken:
|
||||
已占用
|
||||
document_not_found:
|
||||
没有发现类是%{klass}id(s)是%{identifiers}的文档
|
||||
eager_load:
|
||||
"Eager loading :%{name} is not supported due to it being a many-to-many
|
||||
or polymorphic belongs_to relation."
|
||||
invalid_database:
|
||||
数据库应该是Mongo::DB,而不是%{name}.
|
||||
invalid_time:
|
||||
"'%{value}' is not a valid Time."
|
||||
invalid_type:
|
||||
在类%{klass}中定义了字段,实际值是%{value}的%{other}.
|
||||
invalid_options:
|
||||
"Invalid option :%{invalid} provided to relation :%{name}. Valid options
|
||||
are: %{valid}."
|
||||
unsupported_version:
|
||||
MongoDB %{version} 版本已过期,请升级到 %{mongo_version}.
|
||||
validations:
|
||||
校验失败 - %{errors}.
|
||||
invalid_collection:
|
||||
不允许直接访问嵌入式的集合%{klass} , 请从文档的根访问集合.
|
||||
invalid_field:
|
||||
字段的名字不允许为 %{name}. 你不应该定义跟Mongoid内部属性或者方法相同的名字,详细请看Use Document#instance_methods.
|
||||
too_many_nested_attribute_records:
|
||||
被关联的%{association} 嵌入式属性不能超过 %{limit}.
|
||||
embedded_in_must_have_inverse_of:
|
||||
embedded_in的关联属性必须包含inverse_of.
|
||||
dependent_only_references_one_or_many:
|
||||
dependent => destroy|delete 选项只有在references_one或者references_many时候有效.
|
||||
association_cant_have_inverse_of:
|
||||
在当前的关联中,不允许定义inverse_of去,其只有在embedded_in或者references_many是数组的情况下使用
|
||||
unsaved_document:
|
||||
You cannot call create or create! through a relational association
|
||||
relation (%{document}) who's parent (%{base}) is not already saved.
|
||||
mixed_relations:
|
||||
Referencing a(n) %{embedded} document from the %{root} document via a
|
||||
relational association is not allowed since the %{embedded} is embedded.
|
||||
no_environment:
|
||||
"Mongoid attempted to find the appropriate environment but no Rails.env,
|
||||
Sinatra::Base.environment, or RACK_ENV could be found."
|
||||
scope_overwrite:
|
||||
"Cannot create scope :%{scope_name}, because of existing method
|
||||
%{model_name}.%{scope_name}."
|
||||
blank_on_locale: "can't be blank in %{in_locale}"
|
||||
|
||||
|
||||
models:
|
||||
news_bulletin: 新聞
|
||||
bulletin: 公告
|
||||
ad_banner: 廣告輪播
|
||||
web_link: 連結管理
|
||||
attributes:
|
||||
news_bulletin:
|
||||
title: 新聞標題
|
||||
bulletin:
|
||||
title: 公告標題
|
||||
ad_banner:
|
||||
title: 標題
|
||||
web_link:
|
||||
title: 名稱
|
||||
url: 路徑
|
||||
@@ -1,132 +0,0 @@
|
||||
# Chinese (Taiwan) translations for Ruby on Rails
|
||||
# by tsechingho (http://github.com/tsechingho)
|
||||
|
||||
:zh_tw:
|
||||
date:
|
||||
formats:
|
||||
default: "%Y-%m-%d"
|
||||
short: "%b%d日"
|
||||
long: "%Y年%b%d日"
|
||||
day_names: [星期日, 星期一, 星期二, 星期三, 星期四, 星期五, 星期六]
|
||||
abbr_day_names: [日, 一, 二, 三, 四, 五, 六]
|
||||
month_names: [~, 一月, 二月, 三月, 四月, 五月, 六月, 七月, 八月, 九月, 十月, 十一月, 十二月]
|
||||
abbr_month_names: [~, 1月, 2月, 3月, 4月, 5月, 6月, 7月, 8月, 9月, 10月, 11月, 12月]
|
||||
order: [ :year, :month, :day ]
|
||||
|
||||
time:
|
||||
formats:
|
||||
default: "%Y年%b%d日 %A %H:%M:%S %Z"
|
||||
short: "%b%d日 %H:%M"
|
||||
long: "%Y年%b%d日 %H:%M"
|
||||
am: "上午"
|
||||
pm: "下午"
|
||||
|
||||
datetime:
|
||||
distance_in_words:
|
||||
half_a_minute: "半分鐘"
|
||||
less_than_x_seconds:
|
||||
one: "不到一秒"
|
||||
other: "不到 {{count}} 秒"
|
||||
x_seconds:
|
||||
one: "一秒"
|
||||
other: "{{count}} 秒"
|
||||
less_than_x_minutes:
|
||||
one: "不到一分鐘"
|
||||
other: "不到 {{count}} 分鐘"
|
||||
x_minutes:
|
||||
one: "一分鐘"
|
||||
other: "{{count}} 分鐘"
|
||||
about_x_hours:
|
||||
one: "大約一小時"
|
||||
other: "大約 {{count}} 小時"
|
||||
x_days:
|
||||
one: "一天"
|
||||
other: "{{count}} 天"
|
||||
about_x_months:
|
||||
one: "大約一個月"
|
||||
other: "大約 {{count}} 個月"
|
||||
x_months:
|
||||
one: "一個月"
|
||||
other: "{{count}} 個月"
|
||||
about_x_years:
|
||||
one: "大約一年"
|
||||
other: "大約 {{count}} 年"
|
||||
over_x_years:
|
||||
one: "一年多"
|
||||
other: "{{count}} 年多"
|
||||
prompts:
|
||||
year: "年"
|
||||
month: "月"
|
||||
day: "日"
|
||||
hour: "時"
|
||||
minute: "分"
|
||||
second: "秒"
|
||||
|
||||
number:
|
||||
format:
|
||||
separator: "."
|
||||
delimiter: ","
|
||||
precision: 3
|
||||
currency:
|
||||
format:
|
||||
format: "%u %n"
|
||||
unit: "NT$"
|
||||
separator: "."
|
||||
delimiter: ","
|
||||
precision: 2
|
||||
percentage:
|
||||
format:
|
||||
delimiter: ""
|
||||
precision:
|
||||
format:
|
||||
delimiter: ""
|
||||
human:
|
||||
format:
|
||||
delimiter: ""
|
||||
precision: 1
|
||||
storage_units:
|
||||
format: "%n %u"
|
||||
units:
|
||||
byte:
|
||||
one: "Byte"
|
||||
other: "Bytes"
|
||||
kb: "KB"
|
||||
mb: "MB"
|
||||
gb: "GB"
|
||||
tb: "TB"
|
||||
|
||||
support:
|
||||
array:
|
||||
words_connector: ", "
|
||||
two_words_connector: " 和 "
|
||||
last_word_connector: ", 和 "
|
||||
|
||||
activerecord:
|
||||
errors:
|
||||
template:
|
||||
header:
|
||||
one: "有 1 個錯誤發生使得「{{model}}」無法被儲存。"
|
||||
other: "有 {{count}} 個錯誤發生使得「{{model}}」無法被儲存。"
|
||||
body: "下面欄位有問題:"
|
||||
messages:
|
||||
inclusion: "沒有包含在列表中"
|
||||
exclusion: "是被保留的"
|
||||
invalid: "是無效的"
|
||||
confirmation: "不符合確認值"
|
||||
accepted: "必須是可被接受的"
|
||||
empty: "不能留空"
|
||||
blank: "不能是空白字元"
|
||||
too_long: "過長(最長是 {{count}} 個字)"
|
||||
too_short: "過短(最短是 {{count}} 個字)"
|
||||
wrong_length: "字數錯誤(必須是 {{count}} 個字)"
|
||||
taken: "已經被使用"
|
||||
not_a_number: "不是數字"
|
||||
greater_than: "必須大於 {{count}}"
|
||||
greater_than_or_equal_to: "必須大於或等於 {{count}}"
|
||||
equal_to: "必須等於 {{count}}"
|
||||
less_than: "必須小於 {{count}}"
|
||||
less_than_or_equal_to: "必須小於或等於 {{count}}"
|
||||
odd: "必須是奇數"
|
||||
even: "必須是偶數"
|
||||
|
||||
|
||||
@@ -0,0 +1,202 @@
|
||||
# Chinese (Taiwan) translations for Ruby on Rails
|
||||
# by tsechingho (http://github.com/tsechingho)
|
||||
|
||||
zh_tw:
|
||||
date:
|
||||
abbr_day_names:
|
||||
- 日
|
||||
- 一
|
||||
- 二
|
||||
- 三
|
||||
- 四
|
||||
- 五
|
||||
- 六
|
||||
abbr_month_names:
|
||||
-
|
||||
- 1月
|
||||
- 2月
|
||||
- 3月
|
||||
- 4月
|
||||
- 5月
|
||||
- 6月
|
||||
- 7月
|
||||
- 8月
|
||||
- 9月
|
||||
- 10月
|
||||
- 11月
|
||||
- 12月
|
||||
day_names:
|
||||
- 星期日
|
||||
- 星期一
|
||||
- 星期二
|
||||
- 星期三
|
||||
- 星期四
|
||||
- 星期五
|
||||
- 星期六
|
||||
formats:
|
||||
default: ! '%Y-%m-%d'
|
||||
long: ! '%Y年%b%d日'
|
||||
short: ! '%b%d日'
|
||||
month_names:
|
||||
-
|
||||
- 一月
|
||||
- 二月
|
||||
- 三月
|
||||
- 四月
|
||||
- 五月
|
||||
- 六月
|
||||
- 七月
|
||||
- 八月
|
||||
- 九月
|
||||
- 十月
|
||||
- 十一月
|
||||
- 十二月
|
||||
order:
|
||||
- :year
|
||||
- :month
|
||||
- :day
|
||||
datetime:
|
||||
distance_in_words:
|
||||
about_x_hours:
|
||||
one: 大約一小時
|
||||
other: 大約 %{count} 小時
|
||||
about_x_months:
|
||||
one: 大約一個月
|
||||
other: 大約 %{count} 個月
|
||||
about_x_years:
|
||||
one: 大約一年
|
||||
other: 大約 %{count} 年
|
||||
almost_x_years:
|
||||
one: 接近一年
|
||||
other: 接近 %{count} 年
|
||||
half_a_minute: 半分鐘
|
||||
less_than_x_minutes:
|
||||
one: 不到一分鐘
|
||||
other: 不到 %{count} 分鐘
|
||||
less_than_x_seconds:
|
||||
one: 不到一秒
|
||||
other: 不到 %{count} 秒
|
||||
over_x_years:
|
||||
one: 一年多
|
||||
other: ! '%{count} 年多'
|
||||
x_days:
|
||||
one: 一天
|
||||
other: ! '%{count} 天'
|
||||
x_minutes:
|
||||
one: 一分鐘
|
||||
other: ! '%{count} 分鐘'
|
||||
x_months:
|
||||
one: 一個月
|
||||
other: ! '%{count} 個月'
|
||||
x_seconds:
|
||||
one: 一秒
|
||||
other: ! '%{count} 秒'
|
||||
prompts:
|
||||
day: 日
|
||||
hour: 時
|
||||
minute: 分
|
||||
month: 月
|
||||
second: 秒
|
||||
year: 年
|
||||
errors: &errors
|
||||
format: ! '%{attribute} %{message}'
|
||||
messages:
|
||||
accepted: 必須是可被接受的
|
||||
blank: 不能是空白字元
|
||||
confirmation: 不符合確認值
|
||||
empty: 不能留空
|
||||
equal_to: 必須等於 %{count}
|
||||
even: 必須是偶數
|
||||
exclusion: 是被保留的關鍵字
|
||||
greater_than: 必須大於 %{count}
|
||||
greater_than_or_equal_to: 必須大於或等於 %{count}
|
||||
inclusion: 沒有包含在列表中
|
||||
invalid: 是無效的
|
||||
less_than: 必須小於 %{count}
|
||||
less_than_or_equal_to: 必須小於或等於 %{count}
|
||||
not_a_number: 不是數字
|
||||
not_an_integer: 必須是整數
|
||||
odd: 必須是奇數
|
||||
record_invalid: ! '校驗失敗: %{errors}'
|
||||
taken: 已經被使用
|
||||
too_long: 過長(最長是 %{count} 個字)
|
||||
too_short: 過短(最短是 %{count} 個字)
|
||||
wrong_length: 字數錯誤(必須是 %{count} 個字)
|
||||
template:
|
||||
body: 以下欄位發生問題:
|
||||
header:
|
||||
one: 有 1 個錯誤發生使得「%{model}」無法被儲存。
|
||||
other: 有 %{count} 個錯誤發生使得「%{model}」無法被儲存。
|
||||
helpers:
|
||||
select:
|
||||
prompt: 請選擇
|
||||
submit:
|
||||
create: 新增%{model}
|
||||
submit: 儲存%{model}
|
||||
update: 更新%{model}
|
||||
number:
|
||||
currency:
|
||||
format:
|
||||
delimiter: ! ','
|
||||
format: ! '%u %n'
|
||||
precision: 2
|
||||
separator: .
|
||||
significant: false
|
||||
strip_insignificant_zeros: false
|
||||
unit: NT$
|
||||
format:
|
||||
delimiter: ! ','
|
||||
precision: 3
|
||||
separator: .
|
||||
significant: false
|
||||
strip_insignificant_zeros: false
|
||||
human:
|
||||
decimal_units:
|
||||
format: ! '%n %u'
|
||||
units:
|
||||
billion: 十億
|
||||
million: 百萬
|
||||
quadrillion: 千兆
|
||||
thousand: 千
|
||||
trillion: 兆
|
||||
unit: ''
|
||||
format:
|
||||
delimiter: ''
|
||||
precision: 1
|
||||
significant: false
|
||||
strip_insignificant_zeros: false
|
||||
storage_units:
|
||||
format: ! '%n %u'
|
||||
units:
|
||||
byte:
|
||||
one: Byte
|
||||
other: Bytes
|
||||
gb: GB
|
||||
kb: KB
|
||||
mb: MB
|
||||
tb: TB
|
||||
percentage:
|
||||
format:
|
||||
delimiter: ''
|
||||
precision:
|
||||
format:
|
||||
delimiter: ''
|
||||
support:
|
||||
array:
|
||||
last_word_connector: ! ', 和 '
|
||||
two_words_connector: ! ' 和 '
|
||||
words_connector: ! ', '
|
||||
time:
|
||||
am: 上午
|
||||
formats:
|
||||
default: ! '%Y年%b%d日 %A %H:%M:%S %Z'
|
||||
long: ! '%Y年%b%d日 %H:%M'
|
||||
short: ! '%b%d日 %H:%M'
|
||||
pm: 下午
|
||||
# remove these aliases after 'activemodel' and 'activerecord' namespaces are removed from Rails repository
|
||||
activemodel:
|
||||
errors:
|
||||
<<: *errors
|
||||
activerecord:
|
||||
errors:
|
||||
<<: *errors
|
||||
+1
-2
@@ -1,9 +1,8 @@
|
||||
defaults: &defaults
|
||||
host: localhost
|
||||
port: 37017
|
||||
# slaves:
|
||||
# - host: slave1.local
|
||||
# port: 27017
|
||||
port: 27017
|
||||
# - host: slave2.local
|
||||
# port: 27019
|
||||
|
||||
|
||||
+11
-2
@@ -1,5 +1,8 @@
|
||||
Orbit::Application.routes.draw do
|
||||
devise_for :users
|
||||
devise_for :users do
|
||||
match "/users_passwd" => "desktop/registrations#update", :as => :users_passwd, :via => :put
|
||||
end
|
||||
|
||||
mount Resque::Server, :at => "/admin/resque"
|
||||
|
||||
# routes for sinatra app
|
||||
@@ -138,6 +141,11 @@ Orbit::Application.routes.draw do
|
||||
match 'member_select_add' => "member_selects#member_select_add" ,:as => :member_select_add,:via => "post"
|
||||
end
|
||||
|
||||
match 'module_store' => 'module_store#index'
|
||||
match 'module_store/show' => 'module_store#show'
|
||||
match 'template_store' => 'template_store#index'
|
||||
match 'template_store/show' => 'template_store#show'
|
||||
|
||||
end
|
||||
# end admin
|
||||
|
||||
@@ -156,7 +164,6 @@ Orbit::Application.routes.draw do
|
||||
namespace :desktop do
|
||||
match "desktop" => "desktop#desktop"
|
||||
match '/journal_pages/get_journals_json' => 'journal_pages#get_journals_json'
|
||||
match '/co_authors/get_co_authors_json' => 'co_authors#get_co_authors_json'
|
||||
match '/desktop'=>'desktop#desktop'
|
||||
match '/app_manager'=>'desktop#app_manager'
|
||||
match '/sections'=>'desktop#sections'
|
||||
@@ -174,7 +181,9 @@ Orbit::Application.routes.draw do
|
||||
match '/temp_func/'=>'desktop#temp_func'
|
||||
|
||||
resources :journal_pages
|
||||
resources :journal_lists
|
||||
resources :co_authors
|
||||
resources :co_author_relations
|
||||
end
|
||||
|
||||
# namespace :desktop_publications do
|
||||
|
||||
Reference in new issue
Block a user