From b864cc02684b7e79bf4b9ec2e4b9fd7724842b79 Mon Sep 17 00:00:00 2001 From: chris Date: Tue, 12 Mar 2013 18:13:48 +0800 Subject: [PATCH] Changes in I18n (except personal_conference and personal_journal) --- app/views/admin/assets/file_upload.html.erb | 2 +- app/views/admin/designs/_form.html.erb | 2 +- app/views/admin/designs/_new.html.erb | 2 +- app/views/admin/designs/new.html.erb | 2 +- app/views/admin/pages/_edit.html.erb | 2 +- app/views/admin/pages/_new.html.erb | 2 +- app/views/admin/sites/site_info.html.erb | 2 +- .../admin/users_new_interface/edit.html.erb | 2 +- .../admin/users_new_interface/new.html.erb | 2 +- .../users_new_interface/temp_edit.html.erb | 2 +- .../_address_modal_dialog.html.erb | 2 +- config/locales/en.yml | 105 ++- config/locales/mobile.en.yml | 6 +- config/locales/mobile.zh_tw.yml | 6 +- config/locales/mongoid.zh_tw.yml | 3 - config/locales/zh_tw.yml | 785 +++--------------- lib/orbit_app/module/widget.rb | 2 +- lib/tasks/migrate.rake | 2 +- .../ad_banner/config/locales/en.yml | 2 +- .../ad_banner/config/locales/zh_tw.yml | 1 + vendor/built_in_modules/ad_banner/init.rb | 2 +- .../back_end/bulletins/_form.html.erb | 16 +- .../announcement/config/locales/en.yml | 59 +- .../announcement/config/locales/zh_tw.yml | 54 +- vendor/built_in_modules/announcement/init.rb | 6 +- .../back_end/archive_files/show.html.erb | 57 -- .../widget/archive_files/_index.html.erb | 4 +- .../archive/config/locales/en.yml | 136 +-- .../archive/config/locales/zh_tw.yml | 31 +- vendor/built_in_modules/archive/init.rb | 2 +- .../calendar/back_end/cals/_calendar.html.erb | 4 +- .../calendar/back_end/events/new.html.erb | 2 +- .../calendar/back_end/events/show.html.erb | 4 +- .../calendar/config/locales/en.yml | 7 +- .../calendar/config/locales/zh_tw.yml | 17 +- vendor/built_in_modules/calendar/init.rb | 6 +- .../back_end/album_images/show.html.erb | 2 +- .../gallery/back_end/albums/edit.html.erb | 4 +- .../gallery/back_end/albums/new.html.erb | 2 +- .../gallery/back_end/albums/show.html.erb | 2 +- .../gallery_categories/_category.html.erb | 4 +- .../back_end/gallery_categories/edit.html.erb | 2 +- .../orbit_galleries/add_album.html.erb | 2 +- .../orbit_galleries/categorylist.html.erb | 8 +- .../orbit_galleries/edit_album.html.erb | 4 +- .../gallery/config/locales/en.yml | 61 +- .../gallery/config/locales/zh_tw.yml | 66 +- vendor/built_in_modules/gallery/init.rb | 6 +- .../page_content/config/locales/en.yml | 4 +- .../page_content/config/locales/zh_tw.yml | 8 +- .../_writing_book_category.html.erb | 2 +- .../writing_books/_list_author_type.html.erb | 2 +- .../writing_books/_list_paper_type.html.erb | 2 +- .../personal_book/config/locales/en.yml | 135 +-- .../personal_book/config/locales/zh_tw.yml | 242 +----- .../desktop/conference_pages_helper.rb | 2 +- .../_writing_conference_category.html.erb | 2 +- .../_list_author_type.html.erb | 2 +- .../_list_paper_type.html.erb | 2 +- .../_show_form.html.erb | 2 +- .../conference_co_authors/index.html.erb | 2 +- .../personal_conference/config/locales/en.yml | 7 +- .../config/locales/zh_tw.yml | 4 +- .../personal_diploma/config/locales/en.yml | 135 +-- .../personal_diploma/config/locales/zh_tw.yml | 242 +----- .../_experience_category.html.erb | 2 +- .../_list_experience_type.html.erb | 2 +- .../personal_experience/config/locales/en.yml | 135 +-- .../config/locales/zh_tw.yml | 243 +----- .../back_end/honors/_list_honor_type.html.erb | 2 +- .../personal_honor/config/locales/en.yml | 135 +-- .../personal_honor/config/locales/zh_tw.yml | 244 +----- .../desktop/journal_pages_helper.rb | 2 +- .../_writing_journal_category.html.erb | 2 +- .../_list_author_type.html.erb | 2 +- .../_list_level_type.html.erb | 2 +- .../_list_paper_type.html.erb | 2 +- .../writing_journals/_list_tag_type.html.erb | 2 +- .../_show_form.html.erb | 2 +- .../desktop/journal_co_authors/index.html.erb | 2 +- .../personal_journal/config/locales/en.yml | 5 +- .../personal_journal/config/locales/zh_tw.yml | 3 - .../personal_lab/config/locales/en.yml | 135 +-- .../personal_lab/config/locales/zh_tw.yml | 242 +----- .../_writing_book_category.html.erb | 2 +- .../_list_patent_type.html.erb | 2 +- .../personal_patent/config/locales/en.yml | 135 +-- .../personal_patent/config/locales/zh_tw.yml | 242 +----- .../_project_category.html.erb | 2 +- .../projects/_list_project_type.html.erb | 2 +- .../personal_project/config/locales/en.yml | 135 +-- .../personal_project/config/locales/zh_tw.yml | 242 +----- .../personal_research/config/locales/en.yml | 135 +-- .../config/locales/zh_tw.yml | 242 +----- vendor/built_in_modules/web_resource/init.rb | 2 +- 95 files changed, 449 insertions(+), 4155 deletions(-) delete mode 100644 vendor/built_in_modules/archive/app/views/panel/archive/back_end/archive_files/show.html.erb diff --git a/app/views/admin/assets/file_upload.html.erb b/app/views/admin/assets/file_upload.html.erb index 970e832ad..ddb0c1b08 100644 --- a/app/views/admin/assets/file_upload.html.erb +++ b/app/views/admin/assets/file_upload.html.erb @@ -54,7 +54,7 @@
diff --git a/app/views/admin/designs/_form.html.erb b/app/views/admin/designs/_form.html.erb index ad1a2fd7a..556687fa5 100644 --- a/app/views/admin/designs/_form.html.erb +++ b/app/views/admin/designs/_form.html.erb @@ -18,5 +18,5 @@ <%= f.text_field :intro %> - <%= f.submit t('update') %> + <%= f.submit t(:update_) %> <% end %> diff --git a/app/views/admin/designs/_new.html.erb b/app/views/admin/designs/_new.html.erb index 109160e8e..01a65acb7 100644 --- a/app/views/admin/designs/_new.html.erb +++ b/app/views/admin/designs/_new.html.erb @@ -5,6 +5,6 @@ <%= render :partial => "form", :locals => { :f => f } %>

- <%= f.submit t('create') %> <%= link_back %> + <%= f.submit t(:create_) %> <%= link_back %>

<% end %> diff --git a/app/views/admin/designs/new.html.erb b/app/views/admin/designs/new.html.erb index 57e17fba6..4f6c783e7 100644 --- a/app/views/admin/designs/new.html.erb +++ b/app/views/admin/designs/new.html.erb @@ -10,6 +10,6 @@
<%= link_back %> - <%= f.submit t('create') %> + <%= f.submit t(:create_) %>
<% end %> \ No newline at end of file diff --git a/app/views/admin/pages/_edit.html.erb b/app/views/admin/pages/_edit.html.erb index c94786bbb..c4398ef69 100644 --- a/app/views/admin/pages/_edit.html.erb +++ b/app/views/admin/pages/_edit.html.erb @@ -4,7 +4,7 @@ <%= form_for @item, :url => admin_page_path(@item), :html => { :class => 'form-horizontal edit_page' } do |f| %> <%= render :partial => "form", :locals => { :f => f } %>
- <%= f.submit t('update'), :class => 'btn btn-primary' %> + <%= f.submit t(:update_), :class => 'btn btn-primary' %> <%= link_to t('cancel'), get_go_back, :class=>"btn" %>
<% end %> diff --git a/app/views/admin/pages/_new.html.erb b/app/views/admin/pages/_new.html.erb index 3f725e0b0..44abadf5e 100644 --- a/app/views/admin/pages/_new.html.erb +++ b/app/views/admin/pages/_new.html.erb @@ -4,7 +4,7 @@ <%= form_for @item, :url => admin_pages_path, :html => { :class => 'form-horizontal edit_page' } do |f| %> <%= render :partial => "form", :locals => { :f => f } %>
- <%= f.submit t('create'), :class => 'btn btn-primary' %> + <%= f.submit t(:create_), :class => 'btn btn-primary' %> <%= link_to t('cancel'), get_go_back, :class=>"btn" %>
<% end %> diff --git a/app/views/admin/sites/site_info.html.erb b/app/views/admin/sites/site_info.html.erb index 2ed3c4c08..56ac6adfd 100644 --- a/app/views/admin/sites/site_info.html.erb +++ b/app/views/admin/sites/site_info.html.erb @@ -96,7 +96,7 @@ <% if @site.default_image.file %> <% end %> diff --git a/app/views/admin/users_new_interface/edit.html.erb b/app/views/admin/users_new_interface/edit.html.erb index 6e31dbd2a..04cfd9d69 100644 --- a/app/views/admin/users_new_interface/edit.html.erb +++ b/app/views/admin/users_new_interface/edit.html.erb @@ -25,7 +25,7 @@ <%= render :partial => 'form', :locals => { :f => f } %>
<%= link_back %> - <%= link_to t('update'), "#", :onclick=>"$('#edit_user_#{@user.id}').submit()" %> + <%= link_to t(:update_), "#", :onclick=>"$('#edit_user_#{@user.id}').submit()" %>
<% end -%> diff --git a/app/views/admin/users_new_interface/new.html.erb b/app/views/admin/users_new_interface/new.html.erb index a8b6503a6..24ec07171 100644 --- a/app/views/admin/users_new_interface/new.html.erb +++ b/app/views/admin/users_new_interface/new.html.erb @@ -25,7 +25,7 @@ <%= render :partial => 'form', :locals => { :f => f } %>
<%#= link_back %> - <%#= link_to t('update'), "#", :onclick=>"$('#edit_user_#{@user.id}').submit()" %> + <%#= link_to t(:update_), "#", :onclick=>"$('#edit_user_#{@user.id}').submit()" %> <%= f.submit%>
<% end -%> diff --git a/app/views/admin/users_new_interface/temp_edit.html.erb b/app/views/admin/users_new_interface/temp_edit.html.erb index 2e401296e..e1e7b2fa4 100644 --- a/app/views/admin/users_new_interface/temp_edit.html.erb +++ b/app/views/admin/users_new_interface/temp_edit.html.erb @@ -19,7 +19,7 @@ <%= render :partial => 'temp_form', :locals => { :f => f } %>
<%= link_back %> - <%= link_to t('update'), "#", :onclick=>"$('#edit_user_#{@user.id}').submit()" %> + <%= link_to t(:update_), "#", :onclick=>"$('#edit_user_#{@user.id}').submit()" %>
<% end -%> diff --git a/app/views/shared/attribute_field/_address_modal_dialog.html.erb b/app/views/shared/attribute_field/_address_modal_dialog.html.erb index 45a91c7ef..b746c7dc7 100644 --- a/app/views/shared/attribute_field/_address_modal_dialog.html.erb +++ b/app/views/shared/attribute_field/_address_modal_dialog.html.erb @@ -57,6 +57,6 @@ \ No newline at end of file diff --git a/config/locales/en.yml b/config/locales/en.yml index cfd483487..98a80e58c 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -5,19 +5,19 @@ en: access: denied: app: - not_sub_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_manager: Access Denied for you are not Manager for this app + not_sub_manager: Access Denied for you are not SubManager for this app not_admin: Access Denied for you are not Admin + object: Access Denied for you don't have permission for this object account_settings: Account settings academic_info: Academic Info. action: Action ad: - chinese_1: 在套圖中出現次數 1次請輸入1 - chinese_2: 輸入連結 - chinese_3: 輸入標題 - ab_fx: FX + chinese_1: Enter 1, if it shows once in a series + chinese_2: Type Link + chinese_3: Type Title + ab_fx: Effect add_link: Add a reference link banner_best_size: Banner Best Size best_size: Best size @@ -42,14 +42,14 @@ en: add_image: Add image add_item: Add item add_member: Create New Member - add_more: Exteudable Field + add_more: Extendable Field address_modal: + city: City + country: Country + county: County 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 @@ -63,11 +63,11 @@ en: app_auth: list_setting_result: Authorization List assigning_manager: - add_manager_fail: Manager successfully added - add_manager_ok: Adding manager failed + add_manager_fail: Adding manager failed + add_manager_ok: Manager successfully added assigning_sub_manager: - add_sub_manager_fail: Sub-manager successfully added - add_sub_manager_ok: Adding sub-manager failed + add_sub_manager_fail: Adding sub-manager failed + add_sub_manager_ok: Sub-manager successfully added can_not_add_this_user: This user cannot be added delete_manager: fail: Removal of manager failed @@ -131,20 +131,19 @@ en: data: Data date: calendar: Calendar Era - range: Enable Time Period format: 格式 - tw_calendar: R.O.C Year. minguo_calendar: after: 民國 before: 民前 first_year: 民國元年 - year: Year month: Month + year: Year + range: Enable Time Period + tw_calendar: R.O.C Year. west_calendar: A.C. date_: Date dashboard: bulletin: Announcement - news_bulletin: News page_context: Page web_link: Link dashboard_: Dashboard @@ -152,7 +151,28 @@ en: default: Default default_css: Default CSS default_widget: + caption: + typeA: + typeB_style2: + typeB_style3: + typeB_style4: + typeC: + data_source: + category: + tag: default_widget: Default Widget + field_is_link: + fields_: + fields_order: + fields_style: + name: + no_support_setting: + no_value: + select_module_app: + select_widget_ext_option: + select_widget_path: + select_widget_style: + widget_data_count: delete: file: Delete file success: @@ -188,6 +208,11 @@ en: followers: Followers forgot_password: Forgot your password? frequency: Frequency + front_page: + select_app_url: + is_published: + menu_enable_lang: + link_enable_lang: frontend_data_count: Frontend data count gallery: Gallery groups: Groups @@ -206,7 +231,7 @@ en: is_published: Is published item: Item item_name: Name - javascripts: Javascripts + javascripts: JavaScripts key: Index Keys last_modified: Last modified layout: Layout @@ -223,12 +248,13 @@ en: list_lower: list lists: markups: - text_field: Text Field - select: Select - date: Date - text_area: Text Area - radio_button: Radio button + address: Address Field checkbox: Checkbox + date: Date + radio_button: Radio button + select: Select + text_area: Text Area + text_field: Text Field locale: Locale location: Location login: Login @@ -238,12 +264,12 @@ en: authentication: Authentication domain: Domain enable_starttls_auto: Enable Start TLS Auto + manager: Manager password: Password port: Port setting: Mail settings tls: TLS user_name: User Name - manager: Manager manager: Manager markup: Markup markup_options: Markup options @@ -268,16 +294,16 @@ en: asset: New asset banner: New banner design: New design + info: New user information link: New link page: New page - user: New user - info: New user information role: New role sub_role: New sub role + user: New user new_: New - news: News no_: "No" no_deadline: No deadline + nothing: Nothing object_auth: a_object_must_have_only_one_object_auth_profile_for_each_action: '' list_title_of_users: authorization list @@ -319,8 +345,14 @@ en: related_links: Related Links role: Role role_field: Role Field - Roles: Roles + roles: Roles ruling_site: Ruling Site + rulingcom: + errors: + init: + app_page_noname: + module_app_noname: + save_and_close: Save and close search: domains: Google Search Domains not_found: "NOT FOUND" @@ -337,22 +369,23 @@ en: summary: Summary thumbnail: Thumbnail site: + default_image: Site default image description: Site description - description_help: '' + description_help: Description Guide footer: Site footer + footer_help: Footer Guide header: Site header - footer_help: '' info: Site information keywords: Site keywords - keywords_help: '' + keywords_help: Keyword Guide language: Site language mobile_version: Mobile version search: Site Search search_help: Please Enter the search argument for Google search. settings: Site setting sub_menu: Site sub-menu - title: Site title - title_help: '' + title: Site Title + title_help: Site Title Guide site_: Site site_info: Site Info sitemap: Sitemap @@ -410,7 +443,7 @@ en: update_: Update update_at: Update at url: URL - use_status: '' + use_status: Use Statue user: User version: Version vertical: Vertical diff --git a/config/locales/mobile.en.yml b/config/locales/mobile.en.yml index 1b3327f15..4599c8e96 100644 --- a/config/locales/mobile.en.yml +++ b/config/locales/mobile.en.yml @@ -4,10 +4,10 @@ en: bulletin: Bulletin contact: Contact copyright: Copyright - copyright_text: National Chengchi University © All RIGHTS RESERVED. - copyright_orbit: Developed by RulingDigital + copyright_text: Thisi University © All RIGHTS RESERVED. + copyright_orbit: Powered by RulingDigital home: Home language: Language location: Location - location_description: '

National Chengchi University

NO.64,Sec.2,ZhiNan Rd.,Wenshan District,Taipei City 11605,Taiwan (R.O.C)' + location_description: '

This University

No.101,Sec. 2, Jiafeng S Road, Zhubei City, Hsinchu County 302, Taiwan' page: Page \ No newline at end of file diff --git a/config/locales/mobile.zh_tw.yml b/config/locales/mobile.zh_tw.yml index fb8fb6cf4..76f961400 100644 --- a/config/locales/mobile.zh_tw.yml +++ b/config/locales/mobile.zh_tw.yml @@ -3,11 +3,11 @@ zh_tw: mobile: bulletin: 公告 contact: 聯絡資訊 - copyright: 版權宣告 - copyright_text: 本網站著作權屬於國立政治大學。 + copyright: 著作權宣告 + copyright_text: 本網站著作權屬於本大學。 copyright_orbit: 銳綸數位建置 home: 首頁 language: 語言 location: 地理位置 - location_description: '

國立政治大學

11605 臺北市文山區指南路二段64號' + location_description: '

本大學

302新竹縣竹北市嘉豐南路二段101號' page: 頁面 \ No newline at end of file diff --git a/config/locales/mongoid.zh_tw.yml b/config/locales/mongoid.zh_tw.yml index 2d3116eb8..370c40327 100644 --- a/config/locales/mongoid.zh_tw.yml +++ b/config/locales/mongoid.zh_tw.yml @@ -54,13 +54,10 @@ zh_tw: models: - news_bulletin: 新聞 bulletin: 公告 ad_banner: 廣告輪播 web_link: 連結管理 attributes: - news_bulletin: - title: 新聞標題 bulletin: title: 公告標題 ad_banner: diff --git a/config/locales/zh_tw.yml b/config/locales/zh_tw.yml index 768c52e52..4e8824139 100644 --- a/config/locales/zh_tw.yml +++ b/config/locales/zh_tw.yml @@ -1,69 +1,70 @@ zh_tw: _locale: 中文 - rulingcom: - errors: - init: - app_page_noname: 未命名前台頁面 - module_app_noname: 未命名模組 - front_page: - select_app_url: 模組前台樣式 - is_published: 是否公開 - menu_enable_lang: 選單啓用語系 - link_enable_lang: 連結生效語系 - access: - denied: - app: - not_sub_manager: 拒絕存取,因你不是此應用程式次管理員 - not_manager: 拒絕存取,因你不是此應用程式管理員 + + access: + denied: + app: not_authed_user: 拒絕存取,因你不是此應用程式授權使用者 + not_manager: 拒絕存取,因你不是此應用程式管理員 + not_sub_manager: 拒絕存取,因你不是此應用程式次管理員 + not_admin: 拒絕存取,因你不是系統管理者 object: 拒絕存取,因你沒有權限 - not_admin: 拒絕存取,因你不是此應用程式管理員 account_settings: 帳號設定 academic_info: 學術資訊 action: 操作 ad: + chinese_1: 在套圖中出現次數 1次請輸入1 + chinese_2: 輸入連結 + chinese_3: 輸入標題 ab_fx: 轉場效果 - banner_best_size: 輪播圖片尺寸 + add_link: 輸入參考連結 + banner_best_size: 圖片最佳尺寸 best_size: 最佳尺寸 + best_size_example: 如:500px x 300px new_image: 新增輪播圖片 not_showing: 沒有顯示 picture_list: 圖片列表 sec_place_holder: 每張輪播圖片顯示秒數(3秒就請輸入3) + select_fx: 選擇效果 + set_dates: 設定上架及下架時間 + set_range: 設定時間期間 showing: 顯示中 success_destroy_ad_image: 刪除圖片成功 trans_unit_sec: 秒 transition_sec: 轉場單位時間 update_banner: 更新輪播 + upload_pictures: 上傳圖片 widget_info_for_ad_image_size: "此區塊圖片尺寸使用: %{best_size}" ad_banner: 廣告輪播 add: 新增 add_attribute_field: 新增欄位 - add_image: Add image + add_image: 加入圖片 add_item: 新增項目 add_member: 新增成員 add_more: 可擴充欄位 address_modal: + city: 城市 + country: 國家/地區 + county: 縣市 default_title: 地址 street_address: 街道地址 - city: 城市 - county: 縣市 zip: 郵遞區號 - country: 國家/地區 addthis_tools: add_to_bookmark: 加入書籤 admin: 管理員 + all: 全部 all_content: 所有內容 all_file: 所有檔案 all_member: 成員列表 - all_plugin_summary: All plugin summary - all_plugins: All plugins + all_plugin_summary: 所有學術資訊摘要 + all_plugins: 所有學術資訊 always_display_title: 永遠顯示標題 app_auth: list_setting_result: 授權列表 assigning_manager: add_manager_fail: 新增管理員失敗 - add_manager_ok: 新增管理員成功 + add_manager_ok: 新增管理員成功 assigning_sub_manager: add_sub_manager_fail: 新增次管理員失敗 add_sub_manager_ok: 新增次管理員成功 @@ -75,7 +76,8 @@ zh_tw: fail: 刪除次管理員失敗 success: 刪除次管理員成功 failed_no_user: 失敗,不是使用者 - approval: + operation_not_permitted: 拒絕操作 + approval: not_pass: 拒絕 not_pass_reason: 拒絕原因 pass: 已認可 @@ -83,7 +85,9 @@ zh_tw: stat: 審核狀態 user_list: 使用者列表 approval_: 審核 + archive: 檔案室 asset: 資產 + attributes: 屬性 auth: add_manager: 新增管理員 add_sub_manager: 新增次管理員 @@ -97,6 +101,8 @@ zh_tw: back: 回上一步 basic: 基本 browse: 瀏覽 + built_in: 內建 + calendar: 行事曆 cancel: 取消 cant_delete_self: 不可以刪除自己 cant_empty_star: 不能為空白 (*) @@ -105,7 +111,9 @@ zh_tw: category: 類別 category_auth: 類別授權 clear: 清除 + close: 關閉 content: 內容 + courses: 課程 create: error: link: 建立連結時出錯 @@ -113,52 +121,38 @@ zh_tw: fail: 建立失敗 success: asset_category: 資產類別已成功建立 + co_author: 共同作者已成功建立 link: 連結已成功建立 page: 頁面已成功建立 + paper: 使用者已建立成功 user: 使用者已成功建立 create_: 建立 cross_lang: 啟用單語系 data: 資料 date: calendar: 紀年法 - range: 時間區段設定 format: 格式 - tw_calendar: 民國 minguo_calendar: after: 民國 before: 民前 first_year: 民國元年 - year: 年 month: 月 + year: 年 + range: 時間區段設定 + tw_calendar: 民國 west_calendar: 西元 - date_: Date + date_: 日期 dashboard: bulletin: 公告 - news_bulletin: 新聞 page_context: 頁面內容 web_link: 連結 dashboard_: 儀表版 deadline: 最後期限 - default: Default + default: 預設 default_css: 預設樣式表 - delete: 刪除 - delete_file: 刪除檔案 default_widget: - default_widget: 預設樣板 - name: 預設樣式 - no_support_setting: 沒有可以使用的設定 - no_value: 不設定(全部) - field_is_link: 連結 - fields_: 前台輸出欄位 - fields_order: 輸出欄位順序 - fields_style: 輸出欄位樣式 - select_module_app: 套用模組 - select_widget_path: 外掛樣版選擇 - select_widget_style: 排版樣式 - widget_data_count: 顯示則數 - select_widget_ext_option: 模組延伸選項 caption: - typeA: 表格式排版,簡單明瞭呈現內容 + typeA: 表格式排版,簡單明瞭呈現內容 typeB_style2: 一圖一文式,輸出欄位水平排列 typeB_style3: 一圖一文式,輸出欄位垂直排列,圖片在左方 typeB_style4: 一圖一文式,輸出欄位垂直排列,圖片在右方 @@ -166,14 +160,28 @@ zh_tw: data_source: category: 資料來源:類別 tag: 資料來源:標籤 + default_widget: 預設樣板 + field_is_link: 連結 + fields_: 前台輸出欄位 + fields_order: 輸出欄位順序 + fields_style: 輸出欄位樣式 + name: 預設樣式 + no_support_setting: 沒有可以使用的設定 + no_value: 不設定(全部) + select_module_app: 套用模組 + select_widget_ext_option: 模組延伸選項 + select_widget_path: 外掛樣版選擇 + select_widget_style: 排版樣式 + widget_data_count: 顯示則數 delete: file: 刪除檔案 success: - paper: Paper was successfully deleted. + paper: 著作已刪除成功 delete_: 刪除 description: 描述 desktop: 桌面 disable: 關閉 + disabled: 已關閉 dots: ●●●●●● download: 下載 downloaded: 已下載 @@ -194,13 +202,19 @@ zh_tw: file: size: 檔案大小 type: 檔案類型 - upload: 上傳檔案 + upload: F上傳檔案 file_: 檔案 file_type: 檔案類型 + followers: 訂閱者 forgot_password: 忘記密碼? frequency: 頻率 - frontend_data_count: Frontend data count - gallery: Gallery + front_page: + select_app_url: 模組前台樣式 + is_published: 是否公開 + menu_enable_lang: 選單啓用語系 + link_enable_lang: 連結生效語系 + frontend_data_count: 前台顯示資料筆數 + gallery: 相簿 groups: 群組 help: 幫助 hidden: 隱藏的 @@ -210,15 +224,15 @@ zh_tw: horizontal: 水平的 hot: 熱門 image: 圖片 - images: Images + images: images info: 基本資料 initial: 預設值 intro: 簡介 is_published: 已發佈 item: 項目 item_name: 名稱 - javascripts: Javascripts - key: 索引 + javascripts: JavaScripts + key: 索引值 last_modified: 最後修改者 layout: 範本 link: 連結 @@ -232,25 +246,17 @@ zh_tw: user: 使用者列表 list_: 列表 list_lower: 列表 - address_modal: - default_title: 地址 - street_address: 街道地址 - city: 城市 - county: 縣市 - zip: 郵遞區號 - country: 國家/地區 - langs: - zh_tw: 中文 - en: 英文 lists: markups: address: 地址欄位 - text_field: 文字輸入框 - select: 下拉選單 - date: 日期 - text_area: 文字輸入方塊 - radio_button: 單選 checkbox: 多選 + date: 日期 + radio_button: 單選 + select: 下拉選單 + text_area: 文字輸入方塊 + text_field: 文字輸入框 + locale: 位置 + location: 地標 login: 登入 logout: 登出 mail: @@ -258,16 +264,16 @@ zh_tw: authentication: 電子郵件認證 domain: 電子郵件網域名稱 enable_starttls_auto: 啟用安全通訊 + manager: 管理者 password: 密碼 port: 電子郵件傳輸埠 setting: 電子郵件設定 tls: 電子郵件TLS user_name: 電子郵件帳號 - manager: 管理者 manager: 管理者 markup: 輸入模式 - markup_options: Markup options - markup_value: Markup value + markup_options: 標註選項 + markup_value: 標註值 me: 我 member: 成員 member_authorization: 成員權限 @@ -275,31 +281,29 @@ zh_tw: member_registration: 註冊審核 member_role: 身份欄位 menu_enabled_for: 選單啟用 - modal: - close: 關閉 - preview: 預覽 module: 模組 module_authorization: 模組授權 more_plus: 更多+ most_visited_page: 最多瀏覽頁面 multilingual: 多語系 name: 名稱 - nccu_c: - nccu_ldap_uid: 政治大學LDAP帳號 + need_home: 你需要建立首頁 + neutral_title: 中立標題 + neutral_for: 中立 new: asset: 新增資產 banner: 新增橫幅 design: 新增設計 + info: 新增使用者資訊 link: 新增連結 page: 新增頁面 - user: 新增使用者 - info: 新增使用者資訊 role: 新增身份 sub_role: 新增子身份 - new_: New - news: 新聞 + user: 新增使用者 + new_: 新增 no_: "不是" no_deadline: 沒有期限 + nothing: "無" object_auth: a_object_must_have_only_one_object_auth_profile_for_each_action: '' list_title_of_users: 授權列表 @@ -311,8 +315,8 @@ zh_tw: organization: 組織 page: 頁面 page_part_kinds: - module_widget: 外掛模塊 - public_r_tag: 系統模塊 + module_widget: 文字區域 + public_r_tag: 文字區域 text: 文字區域 passed: 通過審核 password: 密碼 @@ -322,10 +326,12 @@ zh_tw: pending: 待審核 picture: 圖片 placeholder: 欄位提示文字 - plugins: Plugins + plugins: 學術資訊 postdate: 張貼日期 posted_by: 張貼人 preview: 預覽 + profile: 基本資料 + publications: 著作 purchase: 購買 quantity: 數量 quick_edit: 快速編輯 @@ -334,34 +340,44 @@ zh_tw: register: 註冊 registered: 已註冊 rejected: 拒絕 - rejected_reason: '拒絕原因:' - rejected_reason_empty: "拒絕核准, 沒有參考資訊" + rejected_reason: 拒絕原因:' + rejected_reason_empty: "拒絕核准, 沒有參考資訊" related_links: 相關連結 role: 身份 role_field: 身份欄位 - roles: 身份 + Roles: 身份 ruling_site: 銳綸網站 + rulingcom: + errors: + init: + app_page_noname: 未命名前台頁面 + module_app_noname: 未命名模組 + save_and_close: 儲存並關閉 search: - domains: Google Search Domains - not_found: "沒有搜尋結果" + domains: Google搜尋網域 + not_found: 沒有搜尋結果 result_get: "搜尋標題有關 ' %{search_word} ' 共搜尋到%{item_num}筆資料" sitesearch: 全站搜尋 too_many: "搜尋有關 ' %{search_word} '尋找到超過 %{exceed_num} 筆資料,請嘗試加入更多關鍵字縮小搜尋範圍,以作更精確的搜尋?" unit_get: "列出由 :%{unit_name}發佈的資料,共有%{item_num}筆" + search_: 搜尋 search_google: 搜尋Google - search_nccu: 搜尋政治大學 setup_member: 會員設定 show: 顯示 + show_mode: + index: 檢索 + summary: 摘要 + thumbnail: 縮圖 site: default_image: 預設圖像 description: 網站描述 - description_help: '' + description_help: 網站描述說明 footer: 網站頁尾 + footer_help: 網站頁尾說明 header: 網站頁首 - footer_help: '' info: 網站資訊 keywords: 搜尋關鍵字 - keywords_help: '' + keywords_help: 關鍵字說明 language: 網站語言 mobile_version: 手機版 search: 網站搜尋 @@ -369,11 +385,12 @@ zh_tw: settings: 基本設定 sub_menu: 次選單 title: 網站標題 - title_help: '' + title_help: 網站標題說明 site_: 網站 site_info: 網站資訊 sitemap: 網站地圖 site_name: 網站名稱 + size: 大小 start: 開始 start_date: 開始日期 statistics: 統計資訊 @@ -393,6 +410,7 @@ zh_tw: module_page_lang_not_support: "很抱歉,此頁面沒有開放中文版本" not_previewable: "不支援預覽" preview_only_for_img: "預覽僅支援:jpg,png,gif,bmp等圖片格式" + sys_basic_form: 系統使用者資訊 system_info: 系統資訊 tag_cloud: 標籤雲 tags: 標籤 @@ -408,24 +426,24 @@ zh_tw: traffic: 流量 type: 欄位類型 unit_name: 單位名稱 + unzip_success: 應用程式解壓縮成功,請重啟伺服器以套用應用程式 up_to_date: 最新版本 update: error: link: 更新連接時出錯 fail: 更新消息 success: + co_author: 共同作者已更新成功 content: 內容已更新成功 link: 連結已更新成功 page: 頁面已更新成功 + paper: 著作已更新成功 user: 使用者已更新成功 - # success_: 更新成功 - paper: Paper was successfully updated. - user: User was successfully updated. - success_: S使用者已更新成功 + success_: 使用者已更新成功 update_: 更新 update_at: 最後更新時間 url: 網址 - use_status: '' + use_status: 使用狀態 user: 使用者 version: 版本 vertical: 垂直的 @@ -436,572 +454,3 @@ zh_tw: visitors_this_year: 今年造訪人次 visitors_today: 今日造訪人次 yes_: "是" - - - nccu: - date: 起迄日期 - file: 附加檔案 - file_description: 檔案描述 - file_name: 檔案名稱 - link_name: 連結名稱 - picture: 刊頭圖片 - selected_file: 選擇檔案 - tags: 頁籤 - url: 連結位置 - - - - - - -# : <<<<<<< HEAD -# : ======= - errors: - at_least_one: 必須至少有一個值 - admin: - infos: - add_attribute_field: 新增 - save: 儲存 - initial: 起始值 - markup: 輸入模式 - item_name: 資料表名稱 - name: 名稱 - options: 選項 - :cross_lang: 跨語言輸入 - add_more: 使用者可自行延伸欄位 - add: 新增 - placeholder: 輸入協助 - type: 類型 - placeholder: 提示內容 - list: 自定選單 - is_range: 是 - not_range: 否 - date: - claendar: 紀年法 - range: 本欄為時間區段 - format: 格式 - tw_claendar: 民國 - minguo_calendar: - after: 民國 - before: 民前 - first_year: 民國元年 - year: 年 - month: 月 - west_claendar: 西元 - access: - denied: - app: - not_sub_manager: 拒絕存取因你不是此應用程式次管理員 - not_manager: 拒絕存取因你不是此應用程式管理員 - not_authed_user: 拒絕存取因你不是此應用程式授權使用者 - not_admin: 拒絕存取因你不是此應用程式次管理員 - object: 拒絕存取因你不是網站管理者 - action: 操作 - ad_banner: 廣告輪播 - orbit_gallery: 活動花絮 - ad: - sec_place_holder: 3秒請輸入3 - ab_fx: 轉場特效 - all_banners: 輪播清單 - banner_best_size: Banner 尺寸 - best_size: 最佳尺寸 - cate_auth: 分類授權 - delete_banner: 刪除整組輪播 - new_banner: 新增輪播 - new_image: 新增橫幅 - showing: 顯示中 - not_showing: 沒有顯示 - picture_list: 圖片列表 - title: 標題 - transition_sec: 轉場單位時間 - trans_unit_sec: 秒 - update_banner: 更新輪播 - widget_info_for_ad_image_size: "此區塊圖片尺寸請使用 %{best_size}" - add: 新增 - add_item: 新增項目 - add_language: 新增語言 - add_drop_down_item: +增加Orbit選單 - admin: 網站管理者 - all_articles: 列表 - always_display_title: 永遠顯示於標題列 - announcement: 公告管理 - asset: 資產 - assets: - file: 檔案 - album: 相簿 - video: 影片 - book: 書籍 - attributes: 屬性 - author: 作者 - calendar: 行事曆 - cant_delete_self: 您不可以刪除自己。 - cant_revoke_self_admin: 您不可以撤銷自己的管理身份。 - category: 類別 - choose_file: 請選擇一個文件... - class: 階級 - content: 內容 - contenteditable: - update_done: 更新完成 - update_failed: 更新失敗 - create_error_link: 新增連接時出錯。 - create_error_page: 新增頁面時出錯。 - create_success_home: 首頁已成功新增。 - create_success_layout: 樣板已成功新增。 - create_success_link: 連結已成功新增。 - create_success_page: 頁面已成功新增。 - create_success_home: 首頁已成功新增。 - create_success_layout: 佈局已成功新增。 - create_success_link: 連結已成功新增。 - create_success_page: 頁面已成功新增。 - create_success_snippet: 片段已成功新增。 - create_success_user: 用戶已成功新增。。 - dashboard: 儀表板 - data: 選擇檔案 - delete_language: 刪除語言 - description: 描述 - design: 版型管理 - disable_language: 禁用語言 - edit: 編輯 - editing_home: 編輯首頁 - editing_layout: 編輯樣板 - editing_link: 編輯連結 - editing_page: 編輯頁面 - editing_snippet: 編輯片段 - editing_info: 編輯用戶資料 - editing_role: 編輯用戶身份 - email: Email - enable_language: 啟用語言 - enabled_for: 啟用 - file_name: 檔名 - file_size: 檔案大小 - file_upload: 文件上載 - format: 格式 - home: 首頁 - id: ID - info: 資料 - intro: 簡介 - is_published: 被出版 - item: 網站架構 - key: 關鍵 - keywords: 關鍵字 - language: 語言 - layout: 佈局 - layout_name: 佈局名字 - link: 連結管理 - links: 網路資源 - list_assets: 資產列表 - list_designs: 設計列表 - list_items: 項目列表 - list_puchases: 購買清單 - list_snippets: 斷片列表 - list_users: 使用列表 - list_infos: 用戶資料列表 - list_roles: 用戶身份列表 - mail_address: 郵件地址 - mail_port: 傳輸埠 - mail_domain: 網域名稱 - mail_authentication: 認證 - mail_user_name: 帳號 - mail_password: 密碼 - mail_tls: TLS - mail_enable_starttls_auto: Enable Start TLS Auto - member: 會員 - menu_enabled_for: 選單啟用 - module: - authorization: 模組授權 - move_down: 往下移 - move_up: 往上移 - multilingual: 多種語言 - my_avatar: 我的頭像 - no_home_page: 您沒有首頁 - no_layout: 您沒有佈局 - name: 名稱 - new_admin: - side_bar: - all_user: 所有使用者 - add_user: 新增使用者 - user_roles: 角色 - user_info: 使用者資訊 - user: 會員 - users: - all_plugin_summary: 全部 - profile: 基本資料 - roles: - staff: 職員資料 - student: 學生資料 - teacher: 教師資料 - action: - add: 新增 - edit: 編輯 - delete: 刪除 - quick_edit: 快速編輯 - next: 下一頁 - prev: 上一頁 - attributes: - roles: 角色 - name: 名稱 - publications: 出版數 - courses: 開課數 - followers: 被關注數 - show_mode: - index: 清單 - summary: 摘要 - thumbnail: 縮圖 - table_header: - status: 狀態 - category: 分類 - tags: 標籤 - clear_filter: 重置 - new_asset: 新增資產 - new_component: 新增元件 - new_design: 新設計 - new_home: 新增首頁 - new_layout: 新增樣板 - new_link: 新增連結 - new_page: 新增頁面 - new_snippet: 新增片段 - new_user: 新增使用 - new_info: 新增用戶資料 - new_role: 新增用戶身份 - news: 新聞 - non_multilingual: - object_auth: - list_title_of_users: 授權清單-%{auth_title} - update_done: 更新完成,結果顯示於清單 - update_failed: 更新失敗 - options: 選項 - orig_upload_file: 原上傳檔名 - page: 頁面管理 - page_context: - edit: 編輯 - ob_auth: - edit: 分類授權 - page_part_kinds: - text: 文字區塊 - public_r_tag: 系統模塊 - module_widget: 外掛模塊 - position: 位置 - published?: 發布? - purchase: 購買 - role: 身份 - roles: 身份 - site_description: 網站描述 - site_footer: 網站頁尾 - site_settings: 基本設定 - site_sub_menu: 網站次選單 - site_title: 網站標題 - setup_member: 成員設置 - setup_translations: 語系設定 - setup_designs: 版型設定 - site: 網站 - site_setting: 網站設定 - super_pages: 可編頁面 - structure: 網站結構 - tags: 標籤 - title: 標題 - translation: 翻譯 - type: 類型 - up_to_date: 最新版本 - update_error_link: 更新鏈接時出現錯誤。 - update_error_page: 更新頁面時出現錯誤。 - update_success_content: 內容已成功更新。 - update_success_home: 首頁已成功更新。 - update_success_layout: 樣板已成功更新。 - update_success_link: 連結已成功更新。 - update_success_page: 頁面已成功更新。 - update_success_snippet: 片段已成功更新。 - update_success_user: 用戶已成功更新 - upload_design: 上傳設計 - url: URL - user: 用戶 - user_new_interface: - sys_basic_form: 系統基本資料表 - password: 密碼 - password_confirmation: 確認密碼 - email: 使用者帳號信箱 - user_role: - auth: - all_member: 所有會員 - manager: 管理員 - sub_manager: 次管理員 - by_role: 根據身份 - by_sub_role: 根據次身份 - block_list: 封鎖名單 - add_manager: 增加到管理員 - add_sub_manager: 增加到次管理員 - add_to_block_list: 封鎖名單 - add_to_privilege_list: 特許名單 - auth_by: -由%{user_display_name}授權 - user: 使用會員 - info: 用戶資料 - panel: 用戶面板 - role: 用戶身份 - - dashboard: - bulletin: 公告 - news_bulletin: 新聞 - page_context: 頁面 - web_link: 鏈接 - - panel: - - - -# : >>>>>>> various_bugs -# Chinese (Taiwan) translations for Ruby on Rails -# by tsechingho (http://github.com/tsechingho) - 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} 年多" - almost_x_years: - one: "接近一年" - other: "接近 %{count} 年" - prompts: - year: "年" - month: "月" - day: "日" - hour: "時" - minute: "分" - second: "秒" - - number: - format: - separator: "." - delimiter: "," - precision: 3 - significant: false - strip_insignificant_zeros: false - currency: - format: - format: "%u %n" - unit: "NT$" - separator: "." - delimiter: "," - precision: 2 - significant: false - strip_insignificant_zeros: false - percentage: - format: - delimiter: "" - precision: - format: - delimiter: "" - human: - format: - delimiter: "" - precision: 1 - significant: false - strip_insignificant_zeros: false - storage_units: - format: "%n %u" - units: - byte: - one: "Byte" - other: "Bytes" - kb: "KB" - mb: "MB" - gb: "GB" - tb: "TB" - decimal_units: - format: "%n %u" - units: - # 10^-21 zepto, 10^-24 yocto - atto: "渺" # 10^-18 - femto: "飛" # 10^-15 毫微微 - pico: "漠" # 10^-12 微微 - nano: "奈" # 10^-9 毫微 - micro: "微" # 10^-6 - mili: "毫" # 10^-3 milli - centi: "厘" # 10^-2 - deci: "分" # 10^-1 - unit: "" - ten: - one: "十" - other: "十" # 10^1 - hundred: "百" # 10^2 - thousand: "千" # 10^3 kilo - million: "百萬" # 10^6 mega - billion: "十億" # 10^9 giga - trillion: "兆" # 10^12 tera - quadrillion: "千兆" # 10^15 peta - # 10^18 exa, 10^21 zetta, 10^24 yotta - - support: - array: - words_connector: ", " - two_words_connector: " 和 " - last_word_connector: ", 和 " - select: - prompt: "請選擇" - - search: - not_found: "沒有搜尋結果" - domains: Google Search Domains - site_search: "全站搜尋" - sitesearch: Google Site Search - site_setting_help: 請輸入送交Google搜尋的參數 - result_get: "搜尋有關 ' %{search_word} ' 共搜尋到%{item_num}筆資料" - too_many: "搜尋有關 ' %{search_word} ' 尋找到超過 %{exceed_num} 筆資料,請嘗試加入更多關鍵字縮小搜尋範圍,以作更精確的搜尋" - - result_get: "搜尋標題有關 ' %{search_word} ' 共搜尋到%{item_num}筆資料" - unit_get: "列出由:%{unit_name}發佈的資料,共有%{item_num}筆" - activerecord: - errors: - template: # ~ 2.3.5 backward compatible - header: - one: "有 1 個錯誤發生使得「%{model}」無法被儲存。" - other: "有 %{count} 個錯誤發生使得「%{model}」無法被儲存。" - body: "以下欄位發生問題:" - full_messages: - format: "%{attribute} %{message}" - messages: - inclusion: "沒有包含在列表中" - exclusion: "是被保留的關鍵字" - invalid: "是無效的" - confirmation: "不符合確認值" - accepted: "必須是可被接受的" - empty: "不能留空" - blank: "不能是空白字元" - too_long: "過長(最長是 %{count} 個字)" - too_short: "過短(最短是 %{count} 個字)" - wrong_length: "字數錯誤(必須是 %{count} 個字)" - not_a_number: "不是數字" - not_an_integer: "必須是整數" - greater_than: "必須大於 %{count}" - greater_than_or_equal_to: "必須大於或等於 %{count}" - equal_to: "必須等於 %{count}" - less_than: "必須小於 %{count}" - less_than_or_equal_to: "必須小於或等於 %{count}" - odd: "必須是奇數" - even: "必須是偶數" - taken: "已經被使用" - record_invalid: "校驗失敗: %{errors}" - - activemodel: - errors: - template: - header: - one: "有 1 個錯誤發生使得「%{model}」無法被儲存。" - other: "有 %{count} 個錯誤發生使得「%{model}」無法被儲存。" - body: "以下欄位發生問題:" - - errors: - format: "%{attribute} %{message}" - messages: - inclusion: "沒有包含在列表中" - exclusion: "是被保留的關鍵字" - invalid: "是無效的" - confirmation: "不符合確認值" - accepted: "必須是可被接受的" - empty: "不能留空" - blank: "不能是空白字元" - too_long: "過長(最長是 %{count} 個字)" - too_short: "過短(最短是 %{count} 個字)" - wrong_length: "字數錯誤(必須是 %{count} 個字)" - not_a_number: "不是數字" - not_an_integer: "必須是整數" - greater_than: "必須大於 %{count}" - greater_than_or_equal_to: "必須大於或等於 %{count}" - equal_to: "必須等於 %{count}" - less_than: "必須小於 %{count}" - less_than_or_equal_to: "必須小於或等於 %{count}" - odd: "必須是奇數" - even: "必須是偶數" - template: - header: - one: "有 1 個錯誤發生使得「%{model}」無法被儲存。" - other: "有 %{count} 個錯誤發生使得「%{model}」無法被儲存。" - body: "以下欄位發生問題:" - widget: - default_widget: 系統預設Widget - _default_widget: - typeA: 表格列表 - typeB_style2: 單行列佐圖(同邊) - typeB_style3: 多行列佐圖(同邊) - typeB_style4: 多行列佐圖(異邊) - typeC: 單行列佐單圖(同邊) - mongoid: - models: - news_bulletin: 新聞 - bulletin: 公告 - ad_banner: 廣告輪播 - web_link: 連結管理 - attributes: - news_bulletin: - title: 新聞標題 - bulletin: - title: 公告標題 - ad_banner: - title: 標題 - web_link: - title: 名稱 - url: 路徑 - helpers: - select: - prompt: "請選擇" - submit: - create: "新增%{model}" - update: "更新%{model}" - submit: "儲存%{model}" - modal: - save_and_close: "儲存並關閉" - close: "關閉" - preview: "預覽" - sys: - not_previewable: "不支援預覽" - limit_of_upload_file_size: "上傳檔案大小限制: %{best_size}" - preview_only_for_img: "預覽僅支援:jpg,png,gif,bmp...等圖片格式" - can_not_display_due_to_no_context: "因為沒有中文版本,所以無法顯示" - module_page_lang_not_support: "很抱歉,本頁沒有開放中文版本" - object_disable: - change_to_true: "設為停用" - change_to_false: "重新啓用" diff --git a/lib/orbit_app/module/widget.rb b/lib/orbit_app/module/widget.rb index 3389b5b15..16e531ae2 100644 --- a/lib/orbit_app/module/widget.rb +++ b/lib/orbit_app/module/widget.rb @@ -178,7 +178,7 @@ module OrbitApp option = options[0] @options[opt_name] = {:label_i18n=>option[:i18n] , :opts=>option[:options_item]} # options => :i18n => "gallery.widget_option.vertical",:options_item=>[1, 2] - # :i18n =>"gallery.widget_option.album",:options_item => {"query"=>"GalleryAlbum.all", "value"=>:id, "label"=>:name} + # :i18n =>"gallery.album",:options_item => {"query"=>"GalleryAlbum.all", "value"=>:id, "label"=>:name} end diff --git a/lib/tasks/migrate.rake b/lib/tasks/migrate.rake index fe331c6cd..3a21062cd 100644 --- a/lib/tasks/migrate.rake +++ b/lib/tasks/migrate.rake @@ -121,7 +121,7 @@ namespace :migrate do if a a.widgets = {} a.widgets[:widget1] = [] - a.widget_options_fields_i18n = {"widget1"=>{"vertical"=>"gallery.widget_option.vertical", "horizontal"=>"gallery.widget_option.horizontal", "album_id"=>"gallery.widget_option.album"}} + a.widget_options_fields_i18n = {"widget1"=>{"vertical"=>"gallery.widget_option.vertical", "horizontal"=>"gallery.widget_option.horizontal", "album_id"=>"gallery.album"}} a.widget_options = {"widget1"=>{"vertical"=>[1, 2], "horizontal"=>[1, 2, 3, 4, 5, 6], "album_id"=>{"query"=>"GalleryAlbum.all", "value"=>:id, "label"=>:name}}} a.save end diff --git a/vendor/built_in_modules/ad_banner/config/locales/en.yml b/vendor/built_in_modules/ad_banner/config/locales/en.yml index c52a82f77..09482d110 100644 --- a/vendor/built_in_modules/ad_banner/config/locales/en.yml +++ b/vendor/built_in_modules/ad_banner/config/locales/en.yml @@ -1,4 +1,4 @@ en: - ad_banner: + module_name: ad_banner: Ad Banner \ No newline at end of file diff --git a/vendor/built_in_modules/ad_banner/config/locales/zh_tw.yml b/vendor/built_in_modules/ad_banner/config/locales/zh_tw.yml index 701684881..72c778cdb 100644 --- a/vendor/built_in_modules/ad_banner/config/locales/zh_tw.yml +++ b/vendor/built_in_modules/ad_banner/config/locales/zh_tw.yml @@ -1,3 +1,4 @@ zh_tw: + module_name: ad_banner: 廣告輪播 \ No newline at end of file diff --git a/vendor/built_in_modules/ad_banner/init.rb b/vendor/built_in_modules/ad_banner/init.rb index 3e7d5e395..4169cc2f9 100644 --- a/vendor/built_in_modules/ad_banner/init.rb +++ b/vendor/built_in_modules/ad_banner/init.rb @@ -33,7 +33,7 @@ module AdBanner # end side_bar do - head_label_i18n 'ad_banner.ad_banner',:icon_class=>"icons-landscape" + head_label_i18n 'module_name.ad_banner',:icon_class=>"icons-landscape" available_for [:admin,:guest,:manager,:sub_manager] active_for_controllers ({:public=>['admin/ad_banners', 'admin/ad_images']}) diff --git a/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletins/_form.html.erb b/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletins/_form.html.erb index 85ff463a0..a51c41f99 100644 --- a/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletins/_form.html.erb +++ b/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletins/_form.html.erb @@ -11,7 +11,7 @@
-

<%= t('nccu.picture') %>

+

<%= t('announcement.picture') %>

@@ -93,7 +93,7 @@
-

<%= t('nccu.tags') %>

+

<%= t(:tags) %>

<% @tags.each do |tag| %> @@ -188,8 +188,8 @@ - - + + @@ -224,7 +224,7 @@
-

<%= t('nccu.file') %>

+

<%= t('announcement.file') %>

@@ -232,9 +232,9 @@
<%= t('nccu.url') %><%= t('nccu.link_name') %><%= t('announcement.url') %><%= t('announcement.link_name') %>
- - - + + + diff --git a/vendor/built_in_modules/announcement/config/locales/en.yml b/vendor/built_in_modules/announcement/config/locales/en.yml index 98d5f5c4c..72d20cf66 100644 --- a/vendor/built_in_modules/announcement/config/locales/en.yml +++ b/vendor/built_in_modules/announcement/config/locales/en.yml @@ -1,32 +1,37 @@ en: announcement: - announcement: Announcement - approve_bulletin_fail: Announcement approval failed - approve_bulletin_success: Announcement was successfully approved - bulletins: Bulletins - create_bulletin_success: Announcement was successfully created - create_bulletin_category_success: Announcement category successfully created - editing_announcement: Editing announcememt - editing_announcement_category: Editing announcememt category - error: - no_avilb_cate_for_posting: You need a category to submit your post,please contact admin - new_bulletin_category: New announcememt category - search: Search for Announcement - update_bulletin_success: Announcement was successfully updated - update_bulletin_category_success: Announcement category was successfully updated + add_new: Add New all_articles: All Articles - add_new: New - widget: - index: Index widget - bulletins_and_web_links: "Abreast of bulletins and web link" - #init don't merge - all_articles: "All article" - add_new: New - categories: Categories - approval_setting: "Approval setting" - tags: Tag + announcement: Announcement + approval_setting: Approval Setting + approve_bulletin_fail: Approval Fail + approve_bulletin_success: Approve Successfully + bulletins: Bulletins + categories: ategories + create_bulletin_success: Create Bulletin Successfully + create_bulletin_category_success: Create Category Successfully + date: Announcement Date default_widget: - bulletin_category_with_title: Category - title: Title - postdate: "Post date" + bulletin_category_with_title: Bulletin Category with Title + postdate: Post Date + title: Title + editing_announcement: Edit Announcement + editing_announcement_category: Edit Category + error: + no_avilb_cate_for_posting: No Available Category for Posting + file: Attachment + file_description: File Description + file_name: File Name + frontend: + bulletins: Announcement front-end + link_name: Link Name + new_bulletin_category: New Bulletin Category + picture: Cover Picture + search: Search + selected_file: Select File + update_bulletin_category_success: Update Category Successfully + url: URL + widget: + bulletins_and_web_links: Bulletins and Web Resources + index: Index \ No newline at end of file diff --git a/vendor/built_in_modules/announcement/config/locales/zh_tw.yml b/vendor/built_in_modules/announcement/config/locales/zh_tw.yml index 457690289..a93822336 100644 --- a/vendor/built_in_modules/announcement/config/locales/zh_tw.yml +++ b/vendor/built_in_modules/announcement/config/locales/zh_tw.yml @@ -1,33 +1,37 @@ zh_tw: announcement: + add_new: 新建 + all_articles: 文章列表 announcement: 公告 - approve_bulletin_fail: 公告審核失敗 - approve_bulletin_success: 公告成功通過審核 - bulletins: 公告訊息 - create_bulletin_success: 公告已成功建立 - create_bulletin_category_success: 公告類別已成功建立 - editing_announcement: 編輯公告 - editing_announcement_category: 編輯公告類別 - error: - no_avilb_cate_for_posting: 公告必需有一個類別才能發送,請與管理員聯絡 + approval_setting: 審核設定 + approve_bulletin_fail: 審核失敗 + approve_bulletin_success: 審核成功 + bulletins: 公告 + categories: 類別 + create_bulletin_success: 建立公告成功 + create_bulletin_category_success: 建立類別成功 + date: 起迄日期 + default_widget: + bulletin_category_with_title: 公告類別及標題 + postdate: 張貼日期 + title: 標題 + editing_announcement: 編輯類別 + editing_announcement_category: 編輯類別 + error: + no_avilb_cate_for_posting: 沒有可以張貼的類別 + file: 附加檔案 + file_description: 檔案描述 + file_name: 檔案名稱 frontend: bulletins: 公告前台 + link_name: 連結名稱 new_bulletin_category: 新增公告類別 - search: 搜尋公告 - update_bulletin_success: 公告已成功更新 - update_bulletin_category_success: 公告類別已成功更新 + picture: 刊頭圖片 + search: 搜尋 + selected_file: 選擇檔案 + update_bulletin_category_success: 更新類別成功 + url: 連結位置 widget: - index: 目錄Widget - bulletins_and_web_links: 公告與連結並排Widget - #init don't merge - all_articles: 全部公告 - add_new: 新增 - categories: 分類 - approval_setting: 審核權限 - tags: 標籤 - default_widget: - to_more: 更多 - bulletin_category_with_title: 分類 - title: 標題 - postdate: 張貼日期 + bulletins_and_web_links: 索引 + index: 索引 \ No newline at end of file diff --git a/vendor/built_in_modules/announcement/init.rb b/vendor/built_in_modules/announcement/init.rb index ab54a4384..898999e8e 100644 --- a/vendor/built_in_modules/announcement/init.rb +++ b/vendor/built_in_modules/announcement/init.rb @@ -67,7 +67,7 @@ module Announcement :available_for => [:manager] - context_link 'announcement.tags', + context_link 'tags', :link_path=>"panel_announcement_back_end_tags_path" , :priority=>4, # :active_for_action=>{:bulletin_categorys=>:index}, @@ -115,7 +115,7 @@ module Announcement # :active_for_action=>{:bulletin_categorys=>:index}, # :available_for => [:manager] - # context_link 'announcement.tags', + # context_link 'tags', # :link_path=>"panel_announcement_back_end_tags_path" , # :priority=>4, # # :active_for_action=>{:bulletin_categorys=>:index}, @@ -128,7 +128,7 @@ module Announcement :active_for_object_auth => 'BulletinCategory', :available_for => [:manager] - context_link 'admin.module.authorization', + context_link 'module_authorization', :link_path=>"admin_module_app_manager_auth_proc_path(ModuleApp.first(conditions: {title: 'Announcement'}))", :priority=>6, :active_for_app_auth => 'Announcement', diff --git a/vendor/built_in_modules/archive/app/views/panel/archive/back_end/archive_files/show.html.erb b/vendor/built_in_modules/archive/app/views/panel/archive/back_end/archive_files/show.html.erb deleted file mode 100644 index db321af9f..000000000 --- a/vendor/built_in_modules/archive/app/views/panel/archive/back_end/archive_files/show.html.erb +++ /dev/null @@ -1,57 +0,0 @@ -<% # encoding: utf-8 %> - -
-
-
- -

<%= flash_messages %>

- -
    -
  • - <%= t('announcement.category') %> - <%= @bulletin.bulletin_category.title %> -
  • -
  • - <%= t('announcement.postdate') %> - <%= @bulletin.postdate %> -
  • -
  • - <%= t('announcement.title') %> - <%= @bulletin.title %> -
  • -
  • - <%#= image_tag(@bulletin.image.url, :size => "320x240") if @bulletin.image.file %> - <%= link_to image_tag(@bulletin.image.url, :size => "320x240"), @bulletin.image.url, {:target => '_blank', :title => @bulletin.image_identifier} if @bulletin.image.file %> -
  • -
  • - <%= t('announcement.subtitle') %> - <%= @bulletin.subtitle %> -
  • -
  • - <%= t('announcement.text') %> - <%= @bulletin.text %> -
  • -
  • -
  • - <%= t('announcement.link') %> - <% @bulletin.bulletin_links.each do | blink | %> - <%= link_to blink.name, blink.url, :target => '_blank' %> - <% end %> -
  • -
  • - <%= t('announcement.file') %> - <% @bulletin.bulletin_files.each do | bfile | %> - <%= link_to bfile.filetitle, bfile.file.url, {:target => '_blank', :title => bfile.description} if bfile.file.file %> - <% end %> -
  • -
  • - <%= t('announcement.張貼者') %> - <%= User.find(@bulletin.create_user_id).name %> -
  • -
  • - <%= t('announcement.最後修改時間') %> - <%= @bulletin.updated_at %> -
  • - - -<%= link_back %> diff --git a/vendor/built_in_modules/archive/app/views/panel/archive/widget/archive_files/_index.html.erb b/vendor/built_in_modules/archive/app/views/panel/archive/widget/archive_files/_index.html.erb index e21ea5995..feb1162d9 100644 --- a/vendor/built_in_modules/archive/app/views/panel/archive/widget/archive_files/_index.html.erb +++ b/vendor/built_in_modules/archive/app/views/panel/archive/widget/archive_files/_index.html.erb @@ -45,9 +45,9 @@
    <% if !params[:category_id].blank? %> - <%= link_to t('archive.read_more'), panel_archive_front_end_archive_files_path(:category_id => @part.category) %> + <%= link_to t(:more_plus), panel_archive_front_end_archive_files_path(:category_id => @part.category) %> <% else %> - <%= link_to t('archive.read_more'), panel_archive_front_end_archive_files_path %> + <%= link_to t(:more_plus), panel_archive_front_end_archive_files_path %> <% end %>
    <% elsif @widget_style == '2' %> diff --git a/vendor/built_in_modules/archive/config/locales/en.yml b/vendor/built_in_modules/archive/config/locales/en.yml index b94e820bf..4909c769b 100644 --- a/vendor/built_in_modules/archive/config/locales/en.yml +++ b/vendor/built_in_modules/archive/config/locales/en.yml @@ -1,136 +1,8 @@ -# Sample localization file for English. Add more files in this directory for other locales. -# See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points. - en: - - _locale: English + archive: - all: All archive: Archive - widget: - index: Archive Widget frontend: - archive: Archive Frontend - read_more: Read More - add: Add - back: Back - create: Create - delete: Delete - disable: Disable - downloaded: Downloaded - download: Download - edit: Edit - enable: Enable - hide: Hide - homepage: Homepage - no_: "No" - nothing: Nothing - show: Show - sure?: Are you sure? - update: Update - yes_: "Yes" - - announcement: - sure?: Sure? - - # admin: - # action: Action - # add_language: Add language - # admin: Admin - # action: Action - # announcement: Announcement - # asset: Asset - # attributes: Attributes - # cant_delete_self: You can not delete yourself. - # cant_revoke_self_admin: You can not revoke your admin role yourself. - # 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 - # delete_language: Delete language - # description: Description - # design: Design - # 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_user_info: Editing user information - # editing_user_role: Editing user role - # email: Email - # enable_language: Enable language - # file_name: Filename - # file_size: File size - # format: Format - # home: Home - # id: ID - # info: Information - # is_published: Is published - # item: Item - # key: Key - # language: Language - # layout: Layout - # layout_name: Layout name - # 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_user_infos: User information list - # list_user_roles: User roles list - # member: Member - # 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 - # new_asset: New asset - # new_component: New component - # 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_user_info: New user information - # new_user_role: New user role - # non_multilingual: Non multilingual - # options: Options - # orig_upload_file: Original filename - # position: Position - # published?: Published? - # purchase: Purchase - # registered: Registered - # role: Role - # roles: Roles - # title: Title - # translation: Translation - # type: Type - # up_to_date: Up-to-date - # update_error_link: Error when updating link. - # update_error_page: Error when updating page. - # update_success_content: Content was successfully updated. - # update_success_home: Homepage was successfully updated. - # update_success_layout: Layout was successfully updated. - # update_success_link: Link was successfully updated. - # update_success_page: Page was successfully updated. - # update_success_snippet: Snippet was successfully updated. - # update_success_user: User was successfully updated. - # url: URL - # user: User - # user_info: User information - # user_panel: User panel - # user_role: User role - - panel: + archive: Archive Front-end + widget: + index: Archive Widget \ No newline at end of file diff --git a/vendor/built_in_modules/archive/config/locales/zh_tw.yml b/vendor/built_in_modules/archive/config/locales/zh_tw.yml index c96d653fb..86f1c7036 100644 --- a/vendor/built_in_modules/archive/config/locales/zh_tw.yml +++ b/vendor/built_in_modules/archive/config/locales/zh_tw.yml @@ -1,31 +1,8 @@ zh_tw: - - _locale: 中文 + archive: archive: 檔案室 - all: 全部檔案 - widget: - index: 檔案室Widget frontend: - archive: 檔案室前台 - read_more: 閱讀更多 - add: 新增 - back: 回去 - create: 創造 - delete: 刪除 - disable: 禁用 - edit: 編輯 - enable: 啟用 - hide: 隱藏 - homepage: 首頁 - no_: "No" - nothing: 無 - show: 顯示 - sure?: 您肯定嗎? - update: 更新 - yes_: "Yes" - - - panel: - - + archive: 檔案室前台 + widget: + index: 檔案室Widget \ No newline at end of file diff --git a/vendor/built_in_modules/archive/init.rb b/vendor/built_in_modules/archive/init.rb index f3e86c6e5..5814e1ff9 100644 --- a/vendor/built_in_modules/archive/init.rb +++ b/vendor/built_in_modules/archive/init.rb @@ -47,7 +47,7 @@ module Archive head_link_path "panel_archive_back_end_archive_files_path" - context_link 'archive.all', + context_link 'all', :link_path=>"panel_archive_back_end_archive_files_path" , :priority=>1, :active_for_action=>{:archive_files=>:index}, diff --git a/vendor/built_in_modules/calendar/app/views/panel/calendar/back_end/cals/_calendar.html.erb b/vendor/built_in_modules/calendar/app/views/panel/calendar/back_end/cals/_calendar.html.erb index bc554c6df..72551c504 100644 --- a/vendor/built_in_modules/calendar/app/views/panel/calendar/back_end/cals/_calendar.html.erb +++ b/vendor/built_in_modules/calendar/app/views/panel/calendar/back_end/cals/_calendar.html.erb @@ -3,8 +3,8 @@
    diff --git a/vendor/built_in_modules/calendar/app/views/panel/calendar/back_end/events/new.html.erb b/vendor/built_in_modules/calendar/app/views/panel/calendar/back_end/events/new.html.erb index 713eebc53..00230947a 100644 --- a/vendor/built_in_modules/calendar/app/views/panel/calendar/back_end/events/new.html.erb +++ b/vendor/built_in_modules/calendar/app/views/panel/calendar/back_end/events/new.html.erb @@ -112,7 +112,7 @@
    - <%= f.submit t("calendar.create"), :class=>"btn" %> + <%= f.submit t(:create_), :class=>"btn" %>
    <% end %> diff --git a/vendor/built_in_modules/calendar/app/views/panel/calendar/back_end/events/show.html.erb b/vendor/built_in_modules/calendar/app/views/panel/calendar/back_end/events/show.html.erb index a52b9f351..223a33cff 100644 --- a/vendor/built_in_modules/calendar/app/views/panel/calendar/back_end/events/show.html.erb +++ b/vendor/built_in_modules/calendar/app/views/panel/calendar/back_end/events/show.html.erb @@ -13,6 +13,6 @@ diff --git a/vendor/built_in_modules/calendar/config/locales/en.yml b/vendor/built_in_modules/calendar/config/locales/en.yml index 6e6454811..5c2d4e647 100644 --- a/vendor/built_in_modules/calendar/config/locales/en.yml +++ b/vendor/built_in_modules/calendar/config/locales/en.yml @@ -1,13 +1,8 @@ en: calendar: - calendar_: Calendar calendar: Calendar calendars: Calendars color: Color name: Name save: Save - delete: Delete - select_calendar: "Select Calendar" - create: Create - sure?: "Are you sure?" - edit: Edit \ No newline at end of file + select_calendar: "Select Calendar" \ No newline at end of file diff --git a/vendor/built_in_modules/calendar/config/locales/zh_tw.yml b/vendor/built_in_modules/calendar/config/locales/zh_tw.yml index ff6e49c8b..c1836b661 100644 --- a/vendor/built_in_modules/calendar/config/locales/zh_tw.yml +++ b/vendor/built_in_modules/calendar/config/locales/zh_tw.yml @@ -1,13 +1,8 @@ zh_tw: calendar: - calendar_: 行事曆 - calendar: 日曆 - categories: 類別 - color: Color - name: Name - save: Save - delete: Delete - select_calendar: "Select Calendar" - create: Create - sure?: "Are you sure?" - edit: Edit \ No newline at end of file + calendar: 行事曆 + calendars: 我的行事曆 + color: 顏色 + name: 名稱 + save: 儲存 + select_calendar: 選取行事曆 \ No newline at end of file diff --git a/vendor/built_in_modules/calendar/init.rb b/vendor/built_in_modules/calendar/init.rb index beef7ca94..909774b52 100644 --- a/vendor/built_in_modules/calendar/init.rb +++ b/vendor/built_in_modules/calendar/init.rb @@ -1,6 +1,6 @@ module Calendar OrbitApp.registration "Calendar",:type=> 'ModuleApp' do - module_label 'calendar.calendar_' + module_label 'calendar.calendar' base_url File.expand_path File.dirname(__FILE__) # personal_plugin :enable => true,:path=>"panel/calendar/plugin/profile",:i18n=>'admin.calendar' @@ -11,14 +11,14 @@ module Calendar update_info 'some update_info' side_bar do - head_label_i18n 'calendar.calendar_',:icon_class=>"icons-calendar" + head_label_i18n 'calendar.calendar',:icon_class=>"icons-calendar" available_for [:admin,:guest,:manager,:sub_manager] active_for_controllers ({:private=>['cals','calendar_categories'],:public=>['panel/calendar/back_end/tags']}) head_link_path "panel_calendar_back_end_cals_path" - context_link 'calendar.categories', + context_link 'categories', :link_path=>"new_panel_calendar_back_end_cal_path" , :priority=>1, :active_for_action=>{:cals=>:new}, diff --git a/vendor/built_in_modules/gallery/app/views/panel/gallery/back_end/album_images/show.html.erb b/vendor/built_in_modules/gallery/app/views/panel/gallery/back_end/album_images/show.html.erb index 4d5adafd9..b77540545 100644 --- a/vendor/built_in_modules/gallery/app/views/panel/gallery/back_end/album_images/show.html.erb +++ b/vendor/built_in_modules/gallery/app/views/panel/gallery/back_end/album_images/show.html.erb @@ -91,7 +91,7 @@ <% if is_admin? %> - <%= link_to (content_tag(:i,I18n.t("gallery.edit"),:class=>"icon-pencil icon-white")),edit_panel_gallery_back_end_album_path(@album),:class=>"bt-edit btn btn-primary pull-right",:title=>I18n.t("gallery.edit")%> + <%= link_to (content_tag(:i,I18n.t(:edit),:class=>"icon-pencil icon-white")),edit_panel_gallery_back_end_album_path(@album),:class=>"bt-edit btn btn-primary pull-right",:title=>I18n.t(:edit)%> <%= link_to (content_tag(:i,I18n.t("gallery.photo_tag"),:class=>"icon-pencil icon-white")),'#tags',:class=>"bt-tag btn btn-primary pull-right",:title=>I18n.t("gallery.photo_tag")%> <% end %> diff --git a/vendor/built_in_modules/gallery/app/views/panel/gallery/back_end/albums/edit.html.erb b/vendor/built_in_modules/gallery/app/views/panel/gallery/back_end/albums/edit.html.erb index 2f78638c4..855c4a66c 100644 --- a/vendor/built_in_modules/gallery/app/views/panel/gallery/back_end/albums/edit.html.erb +++ b/vendor/built_in_modules/gallery/app/views/panel/gallery/back_end/albums/edit.html.erb @@ -5,7 +5,7 @@ diff --git a/vendor/built_in_modules/personal_conference/app/views/panel/personal_conference/back_end/writing_conferences/_list_author_type.html.erb b/vendor/built_in_modules/personal_conference/app/views/panel/personal_conference/back_end/writing_conferences/_list_author_type.html.erb index 80cd726f9..b311b334d 100644 --- a/vendor/built_in_modules/personal_conference/app/views/panel/personal_conference/back_end/writing_conferences/_list_author_type.html.erb +++ b/vendor/built_in_modules/personal_conference/app/views/panel/personal_conference/back_end/writing_conferences/_list_author_type.html.erb @@ -6,6 +6,6 @@ 編輯 <%= link_to show_toggle_archive_btn(list_author_type), - polymorphic_path([:panel, :personal_conference, :back_end, list_author_type]), :confirm => t('announcement.sure?'), :method => :delete, :remote => true,:class=>"archive_toggle action" %> + polymorphic_path([:panel, :personal_conference, :back_end, list_author_type]), :confirm => t('sure?'), :method => :delete, :remote => true,:class=>"archive_toggle action" %> diff --git a/vendor/built_in_modules/personal_conference/app/views/panel/personal_conference/back_end/writing_conferences/_list_paper_type.html.erb b/vendor/built_in_modules/personal_conference/app/views/panel/personal_conference/back_end/writing_conferences/_list_paper_type.html.erb index 11b16128b..9cd186621 100644 --- a/vendor/built_in_modules/personal_conference/app/views/panel/personal_conference/back_end/writing_conferences/_list_paper_type.html.erb +++ b/vendor/built_in_modules/personal_conference/app/views/panel/personal_conference/back_end/writing_conferences/_list_paper_type.html.erb @@ -6,6 +6,6 @@ 編輯 <%= link_to show_toggle_archive_btn(list_paper_type), - polymorphic_path([:panel, :personal_conference, :back_end, list_paper_type]), :confirm => t('announcement.sure?'), :method => :delete, :remote => true,:class=>"archive_toggle action" %> + polymorphic_path([:panel, :personal_conference, :back_end, list_paper_type]), :confirm => t('sure?'), :method => :delete, :remote => true,:class=>"archive_toggle action" %> diff --git a/vendor/built_in_modules/personal_conference/app/views/panel/personal_conference/desktop/conference_co_author_relations/_show_form.html.erb b/vendor/built_in_modules/personal_conference/app/views/panel/personal_conference/desktop/conference_co_author_relations/_show_form.html.erb index 8756c04ce..07ca624b4 100644 --- a/vendor/built_in_modules/personal_conference/app/views/panel/personal_conference/desktop/conference_co_author_relations/_show_form.html.erb +++ b/vendor/built_in_modules/personal_conference/app/views/panel/personal_conference/desktop/conference_co_author_relations/_show_form.html.erb @@ -4,7 +4,7 @@
    <%= conference_co_author_relation.relation %>
    <%= link_to t('edit'), edit_panel_personal_conference_desktop_conference_co_author_relation_path(conference_co_author_relation), :class => "bt-edit-type admbg2 admtxt", "content-holder"=>"#form_space_"+i.to_s, "ajax-remote"=>"get" %> - <%= link_to t('delete'), panel_personal_conference_desktop_conference_co_author_relation_path(conference_co_author_relation), "confirm-message"=>t('sure?'), "ajax-remote"=>"delete", :class=>"bt-delete admbg2 admtxt" %> + <%= link_to t(:delete_), panel_personal_conference_desktop_conference_co_author_relation_path(conference_co_author_relation), "confirm-message"=>t('sure?'), "ajax-remote"=>"delete", :class=>"bt-delete admbg2 admtxt" %>
    <% end %> diff --git a/vendor/built_in_modules/personal_conference/app/views/panel/personal_conference/desktop/conference_co_authors/index.html.erb b/vendor/built_in_modules/personal_conference/app/views/panel/personal_conference/desktop/conference_co_authors/index.html.erb index aba28c137..1122e3b30 100644 --- a/vendor/built_in_modules/personal_conference/app/views/panel/personal_conference/desktop/conference_co_authors/index.html.erb +++ b/vendor/built_in_modules/personal_conference/app/views/panel/personal_conference/desktop/conference_co_authors/index.html.erb @@ -19,7 +19,7 @@
<%= link_to t('edit'), edit_panel_personal_conference_desktop_conference_co_author_path(co_author), :class => "bt-edit admbg2 admtxt", "ajax-remote"=>"get" %> - <%= link_to t('delete'), panel_personal_conference_desktop_conference_co_author_path(co_author), "ajax-remote"=>"delete", "confirm-message"=>t('sure?'), "callback-method"=>"paperDelete", :class=>"bt-delete admbg2 admtxt" %> + <%= link_to t(:delete_), panel_personal_conference_desktop_conference_co_author_path(co_author), "ajax-remote"=>"delete", "confirm-message"=>t('sure?'), "callback-method"=>"paperDelete", :class=>"bt-delete admbg2 admtxt" %>
diff --git a/vendor/built_in_modules/personal_conference/config/locales/en.yml b/vendor/built_in_modules/personal_conference/config/locales/en.yml index d4cd006b2..a1792eda5 100644 --- a/vendor/built_in_modules/personal_conference/config/locales/en.yml +++ b/vendor/built_in_modules/personal_conference/config/locales/en.yml @@ -1,5 +1,8 @@ en: - _locale: "English" + + module_name: + personal_conference: Conference + personal_conference: year : "Year" language : "Language" @@ -47,5 +50,3 @@ en: noResultsText: "No results" searchingText: "Searching…" - error_msg: - time_series_illegal: "must be before end time" diff --git a/vendor/built_in_modules/personal_conference/config/locales/zh_tw.yml b/vendor/built_in_modules/personal_conference/config/locales/zh_tw.yml index 2354895c9..5c4e7e0ee 100644 --- a/vendor/built_in_modules/personal_conference/config/locales/zh_tw.yml +++ b/vendor/built_in_modules/personal_conference/config/locales/zh_tw.yml @@ -1,5 +1,5 @@ zh_tw: - _locale: "中文" + module_name: personal_conference: 研討會論文 personal_conference: @@ -48,5 +48,3 @@ zh_tw: noResultsText: "沒有相關的比對結果" searchingText: "搜尋中…" - error_msg: - time_series_illegal: "啟始時間必須早於結束時間" diff --git a/vendor/built_in_modules/personal_diploma/config/locales/en.yml b/vendor/built_in_modules/personal_diploma/config/locales/en.yml index 83dbd3280..d9b5f207c 100644 --- a/vendor/built_in_modules/personal_diploma/config/locales/en.yml +++ b/vendor/built_in_modules/personal_diploma/config/locales/en.yml @@ -1,135 +1,4 @@ -# Sample localization file for English. Add more files in this directory for other locales. -# See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points. - en: - - _locale: English - - add: Add - back: Back - create: Create - delete: Delete - disable: Disable - downloaded: Downloaded - download: Download - edit: Edit - enable: Enable - hide: Hide - homepage: Homepage - no_: "No" - nothing: Nothing - show: Show - sure?: Are you sure? - update: Update - yes_: "Yes" - - announcement: - sure?: Sure? - - web_resource: - list_lower: list - list_link: Links list - - - # admin: - # action: Action - # add_language: Add language - # admin: Admin - # action: Action - # announcement: Announcement - # asset: Asset - # attributes: Attributes - # cant_delete_self: You can not delete yourself. - # cant_revoke_self_admin: You can not revoke your admin role yourself. - # 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 - # delete_language: Delete language - # description: Description - # design: Design - # 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_user_info: Editing user information - # editing_user_role: Editing user role - # email: Email - # enable_language: Enable language - # file_name: Filename - # file_size: File size - # format: Format - # home: Home - # id: ID - # info: Information - # is_published: Is published - # item: Item - # key: Key - # language: Language - # layout: Layout - # layout_name: Layout name - # 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_user_infos: User information list - # list_user_roles: User roles list - # member: Member - # 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 - # new_asset: New asset - # new_component: New component - # 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_user_info: New user information - # new_user_role: New user role - # non_multilingual: Non multilingual - # options: Options - # orig_upload_file: Original filename - # position: Position - # published?: Published? - # purchase: Purchase - # registered: Registered - # role: Role - # roles: Roles - # title: Title - # translation: Translation - # type: Type - # up_to_date: Up-to-date - # update_error_link: Error when updating link. - # update_error_page: Error when updating page. - # update_success_content: Content was successfully updated. - # update_success_home: Homepage was successfully updated. - # update_success_layout: Layout was successfully updated. - # update_success_link: Link was successfully updated. - # update_success_page: Page was successfully updated. - # update_success_snippet: Snippet was successfully updated. - # update_success_user: User was successfully updated. - # url: URL - # user: User - # user_info: User information - # user_panel: User panel - # user_role: User role - - panel: + module_name: + personal_diploma: Diploma \ No newline at end of file diff --git a/vendor/built_in_modules/personal_diploma/config/locales/zh_tw.yml b/vendor/built_in_modules/personal_diploma/config/locales/zh_tw.yml index d4f945cee..20885e5fd 100644 --- a/vendor/built_in_modules/personal_diploma/config/locales/zh_tw.yml +++ b/vendor/built_in_modules/personal_diploma/config/locales/zh_tw.yml @@ -1,244 +1,4 @@ zh_tw: - - _locale: 中文 + module_name: personal_diploma: 學歷 - add: 新增 - back: 回去 - create: 創造 - delete: 刪除 - disable: 禁用 - edit: 編輯 - enable: 啟用 - hide: 隱藏 - homepage: 首頁 - no_: "No" - nothing: 無 - show: 顯示 - sure?: 您肯定嗎? - update: 更新 - yes_: "Yes" - - web_resource: - list_lower: 列表 - list_link: 鏈接列表 - category: 分類 - name: 名稱 - describe: 描述 - url: 路徑 - edit: 編輯 - delete: 刪除 - cate_auth: 分類授權 - - -# Chinese (Taiwan) translations for Ruby on Rails -# by tsechingho (http://github.com/tsechingho) - 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} 年多" - almost_x_years: - one: "接近一年" - other: "接近 %{count} 年" - prompts: - year: "年" - month: "月" - day: "日" - hour: "時" - minute: "分" - second: "秒" - - number: - format: - separator: "." - delimiter: "," - precision: 3 - significant: false - strip_insignificant_zeros: false - currency: - format: - format: "%u %n" - unit: "NT$" - separator: "." - delimiter: "," - precision: 2 - significant: false - strip_insignificant_zeros: false - percentage: - format: - delimiter: "" - precision: - format: - delimiter: "" - human: - format: - delimiter: "" - precision: 1 - significant: false - strip_insignificant_zeros: false - storage_units: - format: "%n %u" - units: - byte: - one: "Byte" - other: "Bytes" - kb: "KB" - mb: "MB" - gb: "GB" - tb: "TB" - decimal_units: - format: "%n %u" - units: - # 10^-21 zepto, 10^-24 yocto - atto: "渺" # 10^-18 - femto: "飛" # 10^-15 毫微微 - pico: "漠" # 10^-12 微微 - nano: "奈" # 10^-9 毫微 - micro: "微" # 10^-6 - mili: "毫" # 10^-3 milli - centi: "厘" # 10^-2 - deci: "分" # 10^-1 - unit: "" - ten: - one: "十" - other: "十" # 10^1 - hundred: "百" # 10^2 - thousand: "千" # 10^3 kilo - million: "百萬" # 10^6 mega - billion: "十億" # 10^9 giga - trillion: "兆" # 10^12 tera - quadrillion: "千兆" # 10^15 peta - # 10^18 exa, 10^21 zetta, 10^24 yotta - - support: - array: - words_connector: ", " - two_words_connector: " 和 " - last_word_connector: ", 和 " - select: - prompt: "請選擇" - - activerecord: - errors: - template: # ~ 2.3.5 backward compatible - header: - one: "有 1 個錯誤發生使得「%{model}」無法被儲存。" - other: "有 %{count} 個錯誤發生使得「%{model}」無法被儲存。" - body: "以下欄位發生問題:" - full_messages: - format: "%{attribute} %{message}" - messages: - inclusion: "沒有包含在列表中" - exclusion: "是被保留的關鍵字" - invalid: "是無效的" - confirmation: "不符合確認值" - accepted: "必須是可被接受的" - empty: "不能留空" - blank: "不能是空白字元" - too_long: "過長(最長是 %{count} 個字)" - too_short: "過短(最短是 %{count} 個字)" - wrong_length: "字數錯誤(必須是 %{count} 個字)" - not_a_number: "不是數字" - not_an_integer: "必須是整數" - greater_than: "必須大於 %{count}" - greater_than_or_equal_to: "必須大於或等於 %{count}" - equal_to: "必須等於 %{count}" - less_than: "必須小於 %{count}" - less_than_or_equal_to: "必須小於或等於 %{count}" - odd: "必須是奇數" - even: "必須是偶數" - taken: "已經被使用" - record_invalid: "校驗失敗: %{errors}" - - activemodel: - errors: - template: - header: - one: "有 1 個錯誤發生使得「%{model}」無法被儲存。" - other: "有 %{count} 個錯誤發生使得「%{model}」無法被儲存。" - body: "以下欄位發生問題:" - - errors: - format: "%{attribute} %{message}" - messages: - inclusion: "沒有包含在列表中" - exclusion: "是被保留的關鍵字" - invalid: "是無效的" - confirmation: "不符合確認值" - accepted: "必須是可被接受的" - empty: "不能留空" - blank: "不能是空白字元" - too_long: "過長(最長是 %{count} 個字)" - too_short: "過短(最短是 %{count} 個字)" - wrong_length: "字數錯誤(必須是 %{count} 個字)" - not_a_number: "不是數字" - not_an_integer: "必須是整數" - greater_than: "必須大於 %{count}" - greater_than_or_equal_to: "必須大於或等於 %{count}" - equal_to: "必須等於 %{count}" - less_than: "必須小於 %{count}" - less_than_or_equal_to: "必須小於或等於 %{count}" - odd: "必須是奇數" - even: "必須是偶數" - template: - header: - one: "有 1 個錯誤發生使得「%{model}」無法被儲存。" - other: "有 %{count} 個錯誤發生使得「%{model}」無法被儲存。" - body: "以下欄位發生問題:" - - helpers: - select: - prompt: "請選擇" - submit: - create: "新增%{model}" - update: "更新%{model}" - submit: "儲存%{model}" - diff --git a/vendor/built_in_modules/personal_experience/app/views/panel/personal_experience/back_end/experience_categorys/_experience_category.html.erb b/vendor/built_in_modules/personal_experience/app/views/panel/personal_experience/back_end/experience_categorys/_experience_category.html.erb index 9ccb72222..06aad9500 100644 --- a/vendor/built_in_modules/personal_experience/app/views/panel/personal_experience/back_end/experience_categorys/_experience_category.html.erb +++ b/vendor/built_in_modules/personal_experience/app/views/panel/personal_experience/back_end/experience_categorys/_experience_category.html.erb @@ -7,7 +7,7 @@ <% if is_admin?%>
  • <%= link_to t('writing_book_category.edit'), polymorphic_path([:panel, :personal_book, :back_end, writing_book_category], {:action => :edit}), :remote => true %>
  • -
  • <%= link_to show_toggle_archive_btn(writing_book_category), polymorphic_path([:panel, :personal_book, :back_end, writing_book_category]), :confirm => t('announcement.sure?'), :method => :delete, :remote => true,:class=>"archive_toggle" %>
  • +
  • <%= link_to show_toggle_archive_btn(writing_book_category), polymorphic_path([:panel, :personal_book, :back_end, writing_book_category]), :confirm => t('sure?'), :method => :delete, :remote => true,:class=>"archive_toggle" %>
  • <% end %> diff --git a/vendor/built_in_modules/personal_experience/app/views/panel/personal_experience/back_end/experiences/_list_experience_type.html.erb b/vendor/built_in_modules/personal_experience/app/views/panel/personal_experience/back_end/experiences/_list_experience_type.html.erb index bcccb7a22..2c1a3202b 100644 --- a/vendor/built_in_modules/personal_experience/app/views/panel/personal_experience/back_end/experiences/_list_experience_type.html.erb +++ b/vendor/built_in_modules/personal_experience/app/views/panel/personal_experience/back_end/experiences/_list_experience_type.html.erb @@ -6,6 +6,6 @@ <%= t('edit')%> <%= link_to show_toggle_archive_btn(list_experience_type), - polymorphic_path([:panel, :personal_experience, :back_end, list_experience_type]), :confirm => t('announcement.sure?'), :method => :delete, :remote => true,:class=>"archive_toggle action" %> + polymorphic_path([:panel, :personal_experience, :back_end, list_experience_type]), :confirm => t('sure?'), :method => :delete, :remote => true,:class=>"archive_toggle action" %> \ No newline at end of file diff --git a/vendor/built_in_modules/personal_experience/config/locales/en.yml b/vendor/built_in_modules/personal_experience/config/locales/en.yml index 83dbd3280..a96b39931 100644 --- a/vendor/built_in_modules/personal_experience/config/locales/en.yml +++ b/vendor/built_in_modules/personal_experience/config/locales/en.yml @@ -1,135 +1,4 @@ -# Sample localization file for English. Add more files in this directory for other locales. -# See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points. - en: - - _locale: English - - add: Add - back: Back - create: Create - delete: Delete - disable: Disable - downloaded: Downloaded - download: Download - edit: Edit - enable: Enable - hide: Hide - homepage: Homepage - no_: "No" - nothing: Nothing - show: Show - sure?: Are you sure? - update: Update - yes_: "Yes" - - announcement: - sure?: Sure? - - web_resource: - list_lower: list - list_link: Links list - - - # admin: - # action: Action - # add_language: Add language - # admin: Admin - # action: Action - # announcement: Announcement - # asset: Asset - # attributes: Attributes - # cant_delete_self: You can not delete yourself. - # cant_revoke_self_admin: You can not revoke your admin role yourself. - # 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 - # delete_language: Delete language - # description: Description - # design: Design - # 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_user_info: Editing user information - # editing_user_role: Editing user role - # email: Email - # enable_language: Enable language - # file_name: Filename - # file_size: File size - # format: Format - # home: Home - # id: ID - # info: Information - # is_published: Is published - # item: Item - # key: Key - # language: Language - # layout: Layout - # layout_name: Layout name - # 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_user_infos: User information list - # list_user_roles: User roles list - # member: Member - # 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 - # new_asset: New asset - # new_component: New component - # 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_user_info: New user information - # new_user_role: New user role - # non_multilingual: Non multilingual - # options: Options - # orig_upload_file: Original filename - # position: Position - # published?: Published? - # purchase: Purchase - # registered: Registered - # role: Role - # roles: Roles - # title: Title - # translation: Translation - # type: Type - # up_to_date: Up-to-date - # update_error_link: Error when updating link. - # update_error_page: Error when updating page. - # update_success_content: Content was successfully updated. - # update_success_home: Homepage was successfully updated. - # update_success_layout: Layout was successfully updated. - # update_success_link: Link was successfully updated. - # update_success_page: Page was successfully updated. - # update_success_snippet: Snippet was successfully updated. - # update_success_user: User was successfully updated. - # url: URL - # user: User - # user_info: User information - # user_panel: User panel - # user_role: User role - - panel: + module_name: + personal_experience: Experience \ No newline at end of file diff --git a/vendor/built_in_modules/personal_experience/config/locales/zh_tw.yml b/vendor/built_in_modules/personal_experience/config/locales/zh_tw.yml index 46d245879..cfe8fd2c9 100644 --- a/vendor/built_in_modules/personal_experience/config/locales/zh_tw.yml +++ b/vendor/built_in_modules/personal_experience/config/locales/zh_tw.yml @@ -1,244 +1,5 @@ zh_tw: - - _locale: 中文 + module_name: personal_experience: 經歷 - add: 新增 - back: 回去 - create: 創造 - delete: 刪除 - disable: 禁用 - edit: 編輯 - enable: 啟用 - hide: 隱藏 - homepage: 首頁 - no_: "No" - nothing: 無 - show: 顯示 - sure?: 您肯定嗎? - update: 更新 - yes_: "Yes" - - web_resource: - list_lower: 列表 - list_link: 鏈接列表 - category: 分類 - name: 名稱 - describe: 描述 - url: 路徑 - edit: 編輯 - delete: 刪除 - cate_auth: 分類授權 - - -# Chinese (Taiwan) translations for Ruby on Rails -# by tsechingho (http://github.com/tsechingho) - 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} 年多" - almost_x_years: - one: "接近一年" - other: "接近 %{count} 年" - prompts: - year: "年" - month: "月" - day: "日" - hour: "時" - minute: "分" - second: "秒" - - number: - format: - separator: "." - delimiter: "," - precision: 3 - significant: false - strip_insignificant_zeros: false - currency: - format: - format: "%u %n" - unit: "NT$" - separator: "." - delimiter: "," - precision: 2 - significant: false - strip_insignificant_zeros: false - percentage: - format: - delimiter: "" - precision: - format: - delimiter: "" - human: - format: - delimiter: "" - precision: 1 - significant: false - strip_insignificant_zeros: false - storage_units: - format: "%n %u" - units: - byte: - one: "Byte" - other: "Bytes" - kb: "KB" - mb: "MB" - gb: "GB" - tb: "TB" - decimal_units: - format: "%n %u" - units: - # 10^-21 zepto, 10^-24 yocto - atto: "渺" # 10^-18 - femto: "飛" # 10^-15 毫微微 - pico: "漠" # 10^-12 微微 - nano: "奈" # 10^-9 毫微 - micro: "微" # 10^-6 - mili: "毫" # 10^-3 milli - centi: "厘" # 10^-2 - deci: "分" # 10^-1 - unit: "" - ten: - one: "十" - other: "十" # 10^1 - hundred: "百" # 10^2 - thousand: "千" # 10^3 kilo - million: "百萬" # 10^6 mega - billion: "十億" # 10^9 giga - trillion: "兆" # 10^12 tera - quadrillion: "千兆" # 10^15 peta - # 10^18 exa, 10^21 zetta, 10^24 yotta - - support: - array: - words_connector: ", " - two_words_connector: " 和 " - last_word_connector: ", 和 " - select: - prompt: "請選擇" - - activerecord: - errors: - template: # ~ 2.3.5 backward compatible - header: - one: "有 1 個錯誤發生使得「%{model}」無法被儲存。" - other: "有 %{count} 個錯誤發生使得「%{model}」無法被儲存。" - body: "以下欄位發生問題:" - full_messages: - format: "%{attribute} %{message}" - messages: - inclusion: "沒有包含在列表中" - exclusion: "是被保留的關鍵字" - invalid: "是無效的" - confirmation: "不符合確認值" - accepted: "必須是可被接受的" - empty: "不能留空" - blank: "不能是空白字元" - too_long: "過長(最長是 %{count} 個字)" - too_short: "過短(最短是 %{count} 個字)" - wrong_length: "字數錯誤(必須是 %{count} 個字)" - not_a_number: "不是數字" - not_an_integer: "必須是整數" - greater_than: "必須大於 %{count}" - greater_than_or_equal_to: "必須大於或等於 %{count}" - equal_to: "必須等於 %{count}" - less_than: "必須小於 %{count}" - less_than_or_equal_to: "必須小於或等於 %{count}" - odd: "必須是奇數" - even: "必須是偶數" - taken: "已經被使用" - record_invalid: "校驗失敗: %{errors}" - - activemodel: - errors: - template: - header: - one: "有 1 個錯誤發生使得「%{model}」無法被儲存。" - other: "有 %{count} 個錯誤發生使得「%{model}」無法被儲存。" - body: "以下欄位發生問題:" - - errors: - format: "%{attribute} %{message}" - messages: - inclusion: "沒有包含在列表中" - exclusion: "是被保留的關鍵字" - invalid: "是無效的" - confirmation: "不符合確認值" - accepted: "必須是可被接受的" - empty: "不能留空" - blank: "不能是空白字元" - too_long: "過長(最長是 %{count} 個字)" - too_short: "過短(最短是 %{count} 個字)" - wrong_length: "字數錯誤(必須是 %{count} 個字)" - not_a_number: "不是數字" - not_an_integer: "必須是整數" - greater_than: "必須大於 %{count}" - greater_than_or_equal_to: "必須大於或等於 %{count}" - equal_to: "必須等於 %{count}" - less_than: "必須小於 %{count}" - less_than_or_equal_to: "必須小於或等於 %{count}" - odd: "必須是奇數" - even: "必須是偶數" - template: - header: - one: "有 1 個錯誤發生使得「%{model}」無法被儲存。" - other: "有 %{count} 個錯誤發生使得「%{model}」無法被儲存。" - body: "以下欄位發生問題:" - - helpers: - select: - prompt: "請選擇" - submit: - create: "新增%{model}" - update: "更新%{model}" - submit: "儲存%{model}" - + \ No newline at end of file diff --git a/vendor/built_in_modules/personal_honor/app/views/panel/personal_honor/back_end/honors/_list_honor_type.html.erb b/vendor/built_in_modules/personal_honor/app/views/panel/personal_honor/back_end/honors/_list_honor_type.html.erb index 1f8b0e5f2..e7b787198 100644 --- a/vendor/built_in_modules/personal_honor/app/views/panel/personal_honor/back_end/honors/_list_honor_type.html.erb +++ b/vendor/built_in_modules/personal_honor/app/views/panel/personal_honor/back_end/honors/_list_honor_type.html.erb @@ -6,6 +6,6 @@ <%= t('edit')%> <%= link_to show_toggle_archive_btn(list_honor_type), - polymorphic_path([:panel, :personal_honor, :back_end, list_honor_type]), :confirm => t('announcement.sure?'), :method => :delete, :remote => true,:class=>"archive_toggle action" %> + polymorphic_path([:panel, :personal_honor, :back_end, list_honor_type]), :confirm => t('sure?'), :method => :delete, :remote => true,:class=>"archive_toggle action" %> \ No newline at end of file diff --git a/vendor/built_in_modules/personal_honor/config/locales/en.yml b/vendor/built_in_modules/personal_honor/config/locales/en.yml index 83dbd3280..bafc7443a 100644 --- a/vendor/built_in_modules/personal_honor/config/locales/en.yml +++ b/vendor/built_in_modules/personal_honor/config/locales/en.yml @@ -1,135 +1,4 @@ -# Sample localization file for English. Add more files in this directory for other locales. -# See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points. - en: - - _locale: English - - add: Add - back: Back - create: Create - delete: Delete - disable: Disable - downloaded: Downloaded - download: Download - edit: Edit - enable: Enable - hide: Hide - homepage: Homepage - no_: "No" - nothing: Nothing - show: Show - sure?: Are you sure? - update: Update - yes_: "Yes" - - announcement: - sure?: Sure? - - web_resource: - list_lower: list - list_link: Links list - - - # admin: - # action: Action - # add_language: Add language - # admin: Admin - # action: Action - # announcement: Announcement - # asset: Asset - # attributes: Attributes - # cant_delete_self: You can not delete yourself. - # cant_revoke_self_admin: You can not revoke your admin role yourself. - # 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 - # delete_language: Delete language - # description: Description - # design: Design - # 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_user_info: Editing user information - # editing_user_role: Editing user role - # email: Email - # enable_language: Enable language - # file_name: Filename - # file_size: File size - # format: Format - # home: Home - # id: ID - # info: Information - # is_published: Is published - # item: Item - # key: Key - # language: Language - # layout: Layout - # layout_name: Layout name - # 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_user_infos: User information list - # list_user_roles: User roles list - # member: Member - # 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 - # new_asset: New asset - # new_component: New component - # 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_user_info: New user information - # new_user_role: New user role - # non_multilingual: Non multilingual - # options: Options - # orig_upload_file: Original filename - # position: Position - # published?: Published? - # purchase: Purchase - # registered: Registered - # role: Role - # roles: Roles - # title: Title - # translation: Translation - # type: Type - # up_to_date: Up-to-date - # update_error_link: Error when updating link. - # update_error_page: Error when updating page. - # update_success_content: Content was successfully updated. - # update_success_home: Homepage was successfully updated. - # update_success_layout: Layout was successfully updated. - # update_success_link: Link was successfully updated. - # update_success_page: Page was successfully updated. - # update_success_snippet: Snippet was successfully updated. - # update_success_user: User was successfully updated. - # url: URL - # user: User - # user_info: User information - # user_panel: User panel - # user_role: User role - - panel: + module_name: + personal_honor: Honor \ No newline at end of file diff --git a/vendor/built_in_modules/personal_honor/config/locales/zh_tw.yml b/vendor/built_in_modules/personal_honor/config/locales/zh_tw.yml index 678535004..cee9079d4 100644 --- a/vendor/built_in_modules/personal_honor/config/locales/zh_tw.yml +++ b/vendor/built_in_modules/personal_honor/config/locales/zh_tw.yml @@ -1,244 +1,4 @@ zh_tw: - - _locale: 中文 + module_name: - personal_honor: 榮譽 - add: 新增 - back: 回去 - create: 創造 - delete: 刪除 - disable: 禁用 - edit: 編輯 - enable: 啟用 - hide: 隱藏 - homepage: 首頁 - no_: "No" - nothing: 無 - show: 顯示 - sure?: 您肯定嗎? - update: 更新 - yes_: "Yes" - - web_resource: - list_lower: 列表 - list_link: 鏈接列表 - category: 分類 - name: 名稱 - describe: 描述 - url: 路徑 - edit: 編輯 - delete: 刪除 - cate_auth: 分類授權 - - -# Chinese (Taiwan) translations for Ruby on Rails -# by tsechingho (http://github.com/tsechingho) - 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} 年多" - almost_x_years: - one: "接近一年" - other: "接近 %{count} 年" - prompts: - year: "年" - month: "月" - day: "日" - hour: "時" - minute: "分" - second: "秒" - - number: - format: - separator: "." - delimiter: "," - precision: 3 - significant: false - strip_insignificant_zeros: false - currency: - format: - format: "%u %n" - unit: "NT$" - separator: "." - delimiter: "," - precision: 2 - significant: false - strip_insignificant_zeros: false - percentage: - format: - delimiter: "" - precision: - format: - delimiter: "" - human: - format: - delimiter: "" - precision: 1 - significant: false - strip_insignificant_zeros: false - storage_units: - format: "%n %u" - units: - byte: - one: "Byte" - other: "Bytes" - kb: "KB" - mb: "MB" - gb: "GB" - tb: "TB" - decimal_units: - format: "%n %u" - units: - # 10^-21 zepto, 10^-24 yocto - atto: "渺" # 10^-18 - femto: "飛" # 10^-15 毫微微 - pico: "漠" # 10^-12 微微 - nano: "奈" # 10^-9 毫微 - micro: "微" # 10^-6 - mili: "毫" # 10^-3 milli - centi: "厘" # 10^-2 - deci: "分" # 10^-1 - unit: "" - ten: - one: "十" - other: "十" # 10^1 - hundred: "百" # 10^2 - thousand: "千" # 10^3 kilo - million: "百萬" # 10^6 mega - billion: "十億" # 10^9 giga - trillion: "兆" # 10^12 tera - quadrillion: "千兆" # 10^15 peta - # 10^18 exa, 10^21 zetta, 10^24 yotta - - support: - array: - words_connector: ", " - two_words_connector: " 和 " - last_word_connector: ", 和 " - select: - prompt: "請選擇" - - activerecord: - errors: - template: # ~ 2.3.5 backward compatible - header: - one: "有 1 個錯誤發生使得「%{model}」無法被儲存。" - other: "有 %{count} 個錯誤發生使得「%{model}」無法被儲存。" - body: "以下欄位發生問題:" - full_messages: - format: "%{attribute} %{message}" - messages: - inclusion: "沒有包含在列表中" - exclusion: "是被保留的關鍵字" - invalid: "是無效的" - confirmation: "不符合確認值" - accepted: "必須是可被接受的" - empty: "不能留空" - blank: "不能是空白字元" - too_long: "過長(最長是 %{count} 個字)" - too_short: "過短(最短是 %{count} 個字)" - wrong_length: "字數錯誤(必須是 %{count} 個字)" - not_a_number: "不是數字" - not_an_integer: "必須是整數" - greater_than: "必須大於 %{count}" - greater_than_or_equal_to: "必須大於或等於 %{count}" - equal_to: "必須等於 %{count}" - less_than: "必須小於 %{count}" - less_than_or_equal_to: "必須小於或等於 %{count}" - odd: "必須是奇數" - even: "必須是偶數" - taken: "已經被使用" - record_invalid: "校驗失敗: %{errors}" - - activemodel: - errors: - template: - header: - one: "有 1 個錯誤發生使得「%{model}」無法被儲存。" - other: "有 %{count} 個錯誤發生使得「%{model}」無法被儲存。" - body: "以下欄位發生問題:" - - errors: - format: "%{attribute} %{message}" - messages: - inclusion: "沒有包含在列表中" - exclusion: "是被保留的關鍵字" - invalid: "是無效的" - confirmation: "不符合確認值" - accepted: "必須是可被接受的" - empty: "不能留空" - blank: "不能是空白字元" - too_long: "過長(最長是 %{count} 個字)" - too_short: "過短(最短是 %{count} 個字)" - wrong_length: "字數錯誤(必須是 %{count} 個字)" - not_a_number: "不是數字" - not_an_integer: "必須是整數" - greater_than: "必須大於 %{count}" - greater_than_or_equal_to: "必須大於或等於 %{count}" - equal_to: "必須等於 %{count}" - less_than: "必須小於 %{count}" - less_than_or_equal_to: "必須小於或等於 %{count}" - odd: "必須是奇數" - even: "必須是偶數" - template: - header: - one: "有 1 個錯誤發生使得「%{model}」無法被儲存。" - other: "有 %{count} 個錯誤發生使得「%{model}」無法被儲存。" - body: "以下欄位發生問題:" - - helpers: - select: - prompt: "請選擇" - submit: - create: "新增%{model}" - update: "更新%{model}" - submit: "儲存%{model}" - + personal_honor: 榮譽 \ No newline at end of file diff --git a/vendor/built_in_modules/personal_journal/app/helpers/panel/personal_journal/desktop/journal_pages_helper.rb b/vendor/built_in_modules/personal_journal/app/helpers/panel/personal_journal/desktop/journal_pages_helper.rb index 75f7bd6a0..3966c36ac 100644 --- a/vendor/built_in_modules/personal_journal/app/helpers/panel/personal_journal/desktop/journal_pages_helper.rb +++ b/vendor/built_in_modules/personal_journal/app/helpers/panel/personal_journal/desktop/journal_pages_helper.rb @@ -52,7 +52,7 @@ module Panel::PersonalJournal::Desktop::JournalPagesHelper :href => edit_panel_personal_journal_desktop_journal_page_path(publication), "callback-method" => "editpaper", "ajax-remote" => "get") + \ - content_tag(:a, t("delete"), + content_tag(:a, t(:delete_), "ajax-remote" => "delete", "confirm-message" => t("sure?"), "callback-method" => "paperDelete", diff --git a/vendor/built_in_modules/personal_journal/app/views/panel/personal_journal/back_end/writing_journal_categorys/_writing_journal_category.html.erb b/vendor/built_in_modules/personal_journal/app/views/panel/personal_journal/back_end/writing_journal_categorys/_writing_journal_category.html.erb index b4dc4b70d..60d717bfc 100644 --- a/vendor/built_in_modules/personal_journal/app/views/panel/personal_journal/back_end/writing_journal_categorys/_writing_journal_category.html.erb +++ b/vendor/built_in_modules/personal_journal/app/views/panel/personal_journal/back_end/writing_journal_categorys/_writing_journal_category.html.erb @@ -8,7 +8,7 @@
  • <%= link_to t('writing_journal_category.edit'), polymorphic_path([:panel, :personal_journal, :back_end, writing_journal_category], {:action => :edit}), :remote => true %>
  • <%= link_to show_toggle_archive_btn(writing_journal_category), - polymorphic_path([:panel, :personal_journal, :back_end, writing_journal_category]), :confirm => t('announcement.sure?'), :method => :delete, :remote => true,:class=>"archive_toggle" %>
  • + polymorphic_path([:panel, :personal_journal, :back_end, writing_journal_category]), :confirm => t('sure?'), :method => :delete, :remote => true,:class=>"archive_toggle" %> <% end %> diff --git a/vendor/built_in_modules/personal_journal/app/views/panel/personal_journal/back_end/writing_journals/_list_author_type.html.erb b/vendor/built_in_modules/personal_journal/app/views/panel/personal_journal/back_end/writing_journals/_list_author_type.html.erb index 4c897744f..4d6a15f1e 100644 --- a/vendor/built_in_modules/personal_journal/app/views/panel/personal_journal/back_end/writing_journals/_list_author_type.html.erb +++ b/vendor/built_in_modules/personal_journal/app/views/panel/personal_journal/back_end/writing_journals/_list_author_type.html.erb @@ -6,6 +6,6 @@ <%= t('edit')%> <%= link_to show_toggle_archive_btn(list_author_type), - polymorphic_path([:panel, :personal_journal, :back_end, list_author_type]), :confirm => t('announcement.sure?'), :method => :delete, :remote => true,:class=>"archive_toggle action" %> + polymorphic_path([:panel, :personal_journal, :back_end, list_author_type]), :confirm => t('sure?'), :method => :delete, :remote => true,:class=>"archive_toggle action" %> \ No newline at end of file diff --git a/vendor/built_in_modules/personal_journal/app/views/panel/personal_journal/back_end/writing_journals/_list_level_type.html.erb b/vendor/built_in_modules/personal_journal/app/views/panel/personal_journal/back_end/writing_journals/_list_level_type.html.erb index bf54abe20..6768c0e4b 100644 --- a/vendor/built_in_modules/personal_journal/app/views/panel/personal_journal/back_end/writing_journals/_list_level_type.html.erb +++ b/vendor/built_in_modules/personal_journal/app/views/panel/personal_journal/back_end/writing_journals/_list_level_type.html.erb @@ -6,6 +6,6 @@ <%= t('edit')%> <%= link_to show_toggle_archive_btn(list_level_type), - polymorphic_path([:panel, :personal_journal, :back_end, list_level_type]), :confirm => t('announcement.sure?'), :method => :delete, :remote => true,:class=>"archive_toggle action" %> + polymorphic_path([:panel, :personal_journal, :back_end, list_level_type]), :confirm => t('sure?'), :method => :delete, :remote => true,:class=>"archive_toggle action" %> \ No newline at end of file diff --git a/vendor/built_in_modules/personal_journal/app/views/panel/personal_journal/back_end/writing_journals/_list_paper_type.html.erb b/vendor/built_in_modules/personal_journal/app/views/panel/personal_journal/back_end/writing_journals/_list_paper_type.html.erb index 5353b7d58..6a658b42d 100644 --- a/vendor/built_in_modules/personal_journal/app/views/panel/personal_journal/back_end/writing_journals/_list_paper_type.html.erb +++ b/vendor/built_in_modules/personal_journal/app/views/panel/personal_journal/back_end/writing_journals/_list_paper_type.html.erb @@ -6,6 +6,6 @@ <%= t('edit')%> <%= link_to show_toggle_archive_btn(list_paper_type), - polymorphic_path([:panel, :personal_journal, :back_end, list_paper_type]), :confirm => t('announcement.sure?'), :method => :delete, :remote => true,:class=>"archive_toggle action" %> + polymorphic_path([:panel, :personal_journal, :back_end, list_paper_type]), :confirm => t('sure?'), :method => :delete, :remote => true,:class=>"archive_toggle action" %> \ No newline at end of file diff --git a/vendor/built_in_modules/personal_journal/app/views/panel/personal_journal/back_end/writing_journals/_list_tag_type.html.erb b/vendor/built_in_modules/personal_journal/app/views/panel/personal_journal/back_end/writing_journals/_list_tag_type.html.erb index 8936139e1..5c8fac53a 100644 --- a/vendor/built_in_modules/personal_journal/app/views/panel/personal_journal/back_end/writing_journals/_list_tag_type.html.erb +++ b/vendor/built_in_modules/personal_journal/app/views/panel/personal_journal/back_end/writing_journals/_list_tag_type.html.erb @@ -6,6 +6,6 @@ 編輯 <%= link_to show_toggle_archive_btn(list_level_type), - polymorphic_path([:panel, :personal_journal, :back_end, list_level_type]), :confirm => t('announcement.sure?'), :method => :delete, :remote => true,:class=>"archive_toggle" %> + polymorphic_path([:panel, :personal_journal, :back_end, list_level_type]), :confirm => t('sure?'), :method => :delete, :remote => true,:class=>"archive_toggle" %> \ No newline at end of file diff --git a/vendor/built_in_modules/personal_journal/app/views/panel/personal_journal/desktop/journal_co_author_relations/_show_form.html.erb b/vendor/built_in_modules/personal_journal/app/views/panel/personal_journal/desktop/journal_co_author_relations/_show_form.html.erb index 4efbace0a..8a7254cfe 100644 --- a/vendor/built_in_modules/personal_journal/app/views/panel/personal_journal/desktop/journal_co_author_relations/_show_form.html.erb +++ b/vendor/built_in_modules/personal_journal/app/views/panel/personal_journal/desktop/journal_co_author_relations/_show_form.html.erb @@ -4,7 +4,7 @@
    <%= journal_co_author_relation.relation %>
    <%= link_to t('edit'), edit_panel_personal_journal_desktop_journal_co_author_relation_path(journal_co_author_relation), :class => "bt-edit-type admbg2 admtxt", "content-holder"=>"#form_space_"+i.to_s, "ajax-remote"=>"get" %> - <%= link_to t('delete'), panel_personal_journal_desktop_journal_co_author_relation_path(journal_co_author_relation), "confirm-message"=>t('sure?'), "ajax-remote"=>"delete", :class=>"bt-delete admbg2 admtxt" %> + <%= link_to t(:delete_), panel_personal_journal_desktop_journal_co_author_relation_path(journal_co_author_relation), "confirm-message"=>t('sure?'), "ajax-remote"=>"delete", :class=>"bt-delete admbg2 admtxt" %>
    <% end %> diff --git a/vendor/built_in_modules/personal_journal/app/views/panel/personal_journal/desktop/journal_co_authors/index.html.erb b/vendor/built_in_modules/personal_journal/app/views/panel/personal_journal/desktop/journal_co_authors/index.html.erb index c89d1a00f..223f4cbec 100644 --- a/vendor/built_in_modules/personal_journal/app/views/panel/personal_journal/desktop/journal_co_authors/index.html.erb +++ b/vendor/built_in_modules/personal_journal/app/views/panel/personal_journal/desktop/journal_co_authors/index.html.erb @@ -18,7 +18,7 @@
    <%= link_to t('edit'), edit_panel_personal_journal_desktop_journal_co_author_path(co_author), :class => "bt-edit admbg2 admtxt", "ajax-remote"=>"get" %> - <%= link_to t('delete'), panel_personal_journal_desktop_journal_co_author_path(co_author), "ajax-remote"=>"delete", "confirm-message"=>t('sure?'), "callback-method"=>"paperDelete", :class=>"bt-delete admbg2 admtxt" %> + <%= link_to t(:delete_), panel_personal_journal_desktop_journal_co_author_path(co_author), "ajax-remote"=>"delete", "confirm-message"=>t('sure?'), "callback-method"=>"paperDelete", :class=>"bt-delete admbg2 admtxt" %>
    <% end %> diff --git a/vendor/built_in_modules/personal_journal/config/locales/en.yml b/vendor/built_in_modules/personal_journal/config/locales/en.yml index f009368d8..fa2fffa14 100644 --- a/vendor/built_in_modules/personal_journal/config/locales/en.yml +++ b/vendor/built_in_modules/personal_journal/config/locales/en.yml @@ -1,4 +1,6 @@ en: + module_name: + personal_journal: Journal personal_journal: paper_title : "Paper Title" journal_title : "Journal Title" @@ -43,6 +45,3 @@ en: hintText: "Type in a search term" noResultsText: "No results" searchingText: "Searching…" - - error_msg: - time_series_illegal: "must be before end time" diff --git a/vendor/built_in_modules/personal_journal/config/locales/zh_tw.yml b/vendor/built_in_modules/personal_journal/config/locales/zh_tw.yml index ef7a3cdd2..25a3be94b 100644 --- a/vendor/built_in_modules/personal_journal/config/locales/zh_tw.yml +++ b/vendor/built_in_modules/personal_journal/config/locales/zh_tw.yml @@ -45,6 +45,3 @@ zh_tw: hintText: "請輸入搜尋關鍵字" noResultsText: "沒有相關的比對結果" searchingText: "搜尋中…" - - error_msg: - time_series_illegal: "啟始時間必須早於結束時間" diff --git a/vendor/built_in_modules/personal_lab/config/locales/en.yml b/vendor/built_in_modules/personal_lab/config/locales/en.yml index 83dbd3280..3d1afc6fd 100644 --- a/vendor/built_in_modules/personal_lab/config/locales/en.yml +++ b/vendor/built_in_modules/personal_lab/config/locales/en.yml @@ -1,135 +1,4 @@ -# Sample localization file for English. Add more files in this directory for other locales. -# See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points. - en: - - _locale: English - - add: Add - back: Back - create: Create - delete: Delete - disable: Disable - downloaded: Downloaded - download: Download - edit: Edit - enable: Enable - hide: Hide - homepage: Homepage - no_: "No" - nothing: Nothing - show: Show - sure?: Are you sure? - update: Update - yes_: "Yes" - - announcement: - sure?: Sure? - - web_resource: - list_lower: list - list_link: Links list - - - # admin: - # action: Action - # add_language: Add language - # admin: Admin - # action: Action - # announcement: Announcement - # asset: Asset - # attributes: Attributes - # cant_delete_self: You can not delete yourself. - # cant_revoke_self_admin: You can not revoke your admin role yourself. - # 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 - # delete_language: Delete language - # description: Description - # design: Design - # 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_user_info: Editing user information - # editing_user_role: Editing user role - # email: Email - # enable_language: Enable language - # file_name: Filename - # file_size: File size - # format: Format - # home: Home - # id: ID - # info: Information - # is_published: Is published - # item: Item - # key: Key - # language: Language - # layout: Layout - # layout_name: Layout name - # 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_user_infos: User information list - # list_user_roles: User roles list - # member: Member - # 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 - # new_asset: New asset - # new_component: New component - # 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_user_info: New user information - # new_user_role: New user role - # non_multilingual: Non multilingual - # options: Options - # orig_upload_file: Original filename - # position: Position - # published?: Published? - # purchase: Purchase - # registered: Registered - # role: Role - # roles: Roles - # title: Title - # translation: Translation - # type: Type - # up_to_date: Up-to-date - # update_error_link: Error when updating link. - # update_error_page: Error when updating page. - # update_success_content: Content was successfully updated. - # update_success_home: Homepage was successfully updated. - # update_success_layout: Layout was successfully updated. - # update_success_link: Link was successfully updated. - # update_success_page: Page was successfully updated. - # update_success_snippet: Snippet was successfully updated. - # update_success_user: User was successfully updated. - # url: URL - # user: User - # user_info: User information - # user_panel: User panel - # user_role: User role - - panel: + module_name: + personal_lab: Lab \ No newline at end of file diff --git a/vendor/built_in_modules/personal_lab/config/locales/zh_tw.yml b/vendor/built_in_modules/personal_lab/config/locales/zh_tw.yml index 035eec6a1..492476fa9 100644 --- a/vendor/built_in_modules/personal_lab/config/locales/zh_tw.yml +++ b/vendor/built_in_modules/personal_lab/config/locales/zh_tw.yml @@ -1,244 +1,4 @@ zh_tw: - - _locale: 中文 + module_name: personal_lab: 實驗室 - add: 新增 - back: 回去 - create: 創造 - delete: 刪除 - disable: 禁用 - edit: 編輯 - enable: 啟用 - hide: 隱藏 - homepage: 首頁 - no_: "No" - nothing: 無 - show: 顯示 - sure?: 您肯定嗎? - update: 更新 - yes_: "Yes" - - web_resource: - list_lower: 列表 - list_link: 鏈接列表 - category: 分類 - name: 名稱 - describe: 描述 - url: 路徑 - edit: 編輯 - delete: 刪除 - cate_auth: 分類授權 - - -# Chinese (Taiwan) translations for Ruby on Rails -# by tsechingho (http://github.com/tsechingho) - 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} 年多" - almost_x_years: - one: "接近一年" - other: "接近 %{count} 年" - prompts: - year: "年" - month: "月" - day: "日" - hour: "時" - minute: "分" - second: "秒" - - number: - format: - separator: "." - delimiter: "," - precision: 3 - significant: false - strip_insignificant_zeros: false - currency: - format: - format: "%u %n" - unit: "NT$" - separator: "." - delimiter: "," - precision: 2 - significant: false - strip_insignificant_zeros: false - percentage: - format: - delimiter: "" - precision: - format: - delimiter: "" - human: - format: - delimiter: "" - precision: 1 - significant: false - strip_insignificant_zeros: false - storage_units: - format: "%n %u" - units: - byte: - one: "Byte" - other: "Bytes" - kb: "KB" - mb: "MB" - gb: "GB" - tb: "TB" - decimal_units: - format: "%n %u" - units: - # 10^-21 zepto, 10^-24 yocto - atto: "渺" # 10^-18 - femto: "飛" # 10^-15 毫微微 - pico: "漠" # 10^-12 微微 - nano: "奈" # 10^-9 毫微 - micro: "微" # 10^-6 - mili: "毫" # 10^-3 milli - centi: "厘" # 10^-2 - deci: "分" # 10^-1 - unit: "" - ten: - one: "十" - other: "十" # 10^1 - hundred: "百" # 10^2 - thousand: "千" # 10^3 kilo - million: "百萬" # 10^6 mega - billion: "十億" # 10^9 giga - trillion: "兆" # 10^12 tera - quadrillion: "千兆" # 10^15 peta - # 10^18 exa, 10^21 zetta, 10^24 yotta - - support: - array: - words_connector: ", " - two_words_connector: " 和 " - last_word_connector: ", 和 " - select: - prompt: "請選擇" - - activerecord: - errors: - template: # ~ 2.3.5 backward compatible - header: - one: "有 1 個錯誤發生使得「%{model}」無法被儲存。" - other: "有 %{count} 個錯誤發生使得「%{model}」無法被儲存。" - body: "以下欄位發生問題:" - full_messages: - format: "%{attribute} %{message}" - messages: - inclusion: "沒有包含在列表中" - exclusion: "是被保留的關鍵字" - invalid: "是無效的" - confirmation: "不符合確認值" - accepted: "必須是可被接受的" - empty: "不能留空" - blank: "不能是空白字元" - too_long: "過長(最長是 %{count} 個字)" - too_short: "過短(最短是 %{count} 個字)" - wrong_length: "字數錯誤(必須是 %{count} 個字)" - not_a_number: "不是數字" - not_an_integer: "必須是整數" - greater_than: "必須大於 %{count}" - greater_than_or_equal_to: "必須大於或等於 %{count}" - equal_to: "必須等於 %{count}" - less_than: "必須小於 %{count}" - less_than_or_equal_to: "必須小於或等於 %{count}" - odd: "必須是奇數" - even: "必須是偶數" - taken: "已經被使用" - record_invalid: "校驗失敗: %{errors}" - - activemodel: - errors: - template: - header: - one: "有 1 個錯誤發生使得「%{model}」無法被儲存。" - other: "有 %{count} 個錯誤發生使得「%{model}」無法被儲存。" - body: "以下欄位發生問題:" - - errors: - format: "%{attribute} %{message}" - messages: - inclusion: "沒有包含在列表中" - exclusion: "是被保留的關鍵字" - invalid: "是無效的" - confirmation: "不符合確認值" - accepted: "必須是可被接受的" - empty: "不能留空" - blank: "不能是空白字元" - too_long: "過長(最長是 %{count} 個字)" - too_short: "過短(最短是 %{count} 個字)" - wrong_length: "字數錯誤(必須是 %{count} 個字)" - not_a_number: "不是數字" - not_an_integer: "必須是整數" - greater_than: "必須大於 %{count}" - greater_than_or_equal_to: "必須大於或等於 %{count}" - equal_to: "必須等於 %{count}" - less_than: "必須小於 %{count}" - less_than_or_equal_to: "必須小於或等於 %{count}" - odd: "必須是奇數" - even: "必須是偶數" - template: - header: - one: "有 1 個錯誤發生使得「%{model}」無法被儲存。" - other: "有 %{count} 個錯誤發生使得「%{model}」無法被儲存。" - body: "以下欄位發生問題:" - - helpers: - select: - prompt: "請選擇" - submit: - create: "新增%{model}" - update: "更新%{model}" - submit: "儲存%{model}" - diff --git a/vendor/built_in_modules/personal_patent/app/views/panel/personal_patent/back_end/writing_patent_categorys/_writing_book_category.html.erb b/vendor/built_in_modules/personal_patent/app/views/panel/personal_patent/back_end/writing_patent_categorys/_writing_book_category.html.erb index 9ccb72222..06aad9500 100644 --- a/vendor/built_in_modules/personal_patent/app/views/panel/personal_patent/back_end/writing_patent_categorys/_writing_book_category.html.erb +++ b/vendor/built_in_modules/personal_patent/app/views/panel/personal_patent/back_end/writing_patent_categorys/_writing_book_category.html.erb @@ -7,7 +7,7 @@ <% if is_admin?%>
  • <%= link_to t('writing_book_category.edit'), polymorphic_path([:panel, :personal_book, :back_end, writing_book_category], {:action => :edit}), :remote => true %>
  • -
  • <%= link_to show_toggle_archive_btn(writing_book_category), polymorphic_path([:panel, :personal_book, :back_end, writing_book_category]), :confirm => t('announcement.sure?'), :method => :delete, :remote => true,:class=>"archive_toggle" %>
  • +
  • <%= link_to show_toggle_archive_btn(writing_book_category), polymorphic_path([:panel, :personal_book, :back_end, writing_book_category]), :confirm => t('sure?'), :method => :delete, :remote => true,:class=>"archive_toggle" %>
  • <% end %> diff --git a/vendor/built_in_modules/personal_patent/app/views/panel/personal_patent/back_end/writing_patents/_list_patent_type.html.erb b/vendor/built_in_modules/personal_patent/app/views/panel/personal_patent/back_end/writing_patents/_list_patent_type.html.erb index ad424e68d..ca4634b6f 100644 --- a/vendor/built_in_modules/personal_patent/app/views/panel/personal_patent/back_end/writing_patents/_list_patent_type.html.erb +++ b/vendor/built_in_modules/personal_patent/app/views/panel/personal_patent/back_end/writing_patents/_list_patent_type.html.erb @@ -6,6 +6,6 @@ <%= t('edit')%> <%= link_to show_toggle_archive_btn(list_patent_type), - polymorphic_path([:panel, :personal_patent, :back_end, list_patent_type]), :confirm => t('announcement.sure?'), :method => :delete, :remote => true,:class=>"archive_toggle action" %> + polymorphic_path([:panel, :personal_patent, :back_end, list_patent_type]), :confirm => t('sure?'), :method => :delete, :remote => true,:class=>"archive_toggle action" %> \ No newline at end of file diff --git a/vendor/built_in_modules/personal_patent/config/locales/en.yml b/vendor/built_in_modules/personal_patent/config/locales/en.yml index 83dbd3280..5b2cff072 100644 --- a/vendor/built_in_modules/personal_patent/config/locales/en.yml +++ b/vendor/built_in_modules/personal_patent/config/locales/en.yml @@ -1,135 +1,4 @@ -# Sample localization file for English. Add more files in this directory for other locales. -# See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points. - en: - - _locale: English - - add: Add - back: Back - create: Create - delete: Delete - disable: Disable - downloaded: Downloaded - download: Download - edit: Edit - enable: Enable - hide: Hide - homepage: Homepage - no_: "No" - nothing: Nothing - show: Show - sure?: Are you sure? - update: Update - yes_: "Yes" - - announcement: - sure?: Sure? - - web_resource: - list_lower: list - list_link: Links list - - - # admin: - # action: Action - # add_language: Add language - # admin: Admin - # action: Action - # announcement: Announcement - # asset: Asset - # attributes: Attributes - # cant_delete_self: You can not delete yourself. - # cant_revoke_self_admin: You can not revoke your admin role yourself. - # 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 - # delete_language: Delete language - # description: Description - # design: Design - # 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_user_info: Editing user information - # editing_user_role: Editing user role - # email: Email - # enable_language: Enable language - # file_name: Filename - # file_size: File size - # format: Format - # home: Home - # id: ID - # info: Information - # is_published: Is published - # item: Item - # key: Key - # language: Language - # layout: Layout - # layout_name: Layout name - # 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_user_infos: User information list - # list_user_roles: User roles list - # member: Member - # 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 - # new_asset: New asset - # new_component: New component - # 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_user_info: New user information - # new_user_role: New user role - # non_multilingual: Non multilingual - # options: Options - # orig_upload_file: Original filename - # position: Position - # published?: Published? - # purchase: Purchase - # registered: Registered - # role: Role - # roles: Roles - # title: Title - # translation: Translation - # type: Type - # up_to_date: Up-to-date - # update_error_link: Error when updating link. - # update_error_page: Error when updating page. - # update_success_content: Content was successfully updated. - # update_success_home: Homepage was successfully updated. - # update_success_layout: Layout was successfully updated. - # update_success_link: Link was successfully updated. - # update_success_page: Page was successfully updated. - # update_success_snippet: Snippet was successfully updated. - # update_success_user: User was successfully updated. - # url: URL - # user: User - # user_info: User information - # user_panel: User panel - # user_role: User role - - panel: + module_name: + personal_patent: Patent \ No newline at end of file diff --git a/vendor/built_in_modules/personal_patent/config/locales/zh_tw.yml b/vendor/built_in_modules/personal_patent/config/locales/zh_tw.yml index 629eef601..af54d2885 100644 --- a/vendor/built_in_modules/personal_patent/config/locales/zh_tw.yml +++ b/vendor/built_in_modules/personal_patent/config/locales/zh_tw.yml @@ -1,244 +1,4 @@ zh_tw: - - _locale: 中文 + module_name: personal_patent: 專利 - add: 新增 - back: 回去 - create: 創造 - delete: 刪除 - disable: 禁用 - edit: 編輯 - enable: 啟用 - hide: 隱藏 - homepage: 首頁 - no_: "No" - nothing: 無 - show: 顯示 - sure?: 您肯定嗎? - update: 更新 - yes_: "Yes" - - web_resource: - list_lower: 列表 - list_link: 鏈接列表 - category: 分類 - name: 名稱 - describe: 描述 - url: 路徑 - edit: 編輯 - delete: 刪除 - cate_auth: 分類授權 - - -# Chinese (Taiwan) translations for Ruby on Rails -# by tsechingho (http://github.com/tsechingho) - 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} 年多" - almost_x_years: - one: "接近一年" - other: "接近 %{count} 年" - prompts: - year: "年" - month: "月" - day: "日" - hour: "時" - minute: "分" - second: "秒" - - number: - format: - separator: "." - delimiter: "," - precision: 3 - significant: false - strip_insignificant_zeros: false - currency: - format: - format: "%u %n" - unit: "NT$" - separator: "." - delimiter: "," - precision: 2 - significant: false - strip_insignificant_zeros: false - percentage: - format: - delimiter: "" - precision: - format: - delimiter: "" - human: - format: - delimiter: "" - precision: 1 - significant: false - strip_insignificant_zeros: false - storage_units: - format: "%n %u" - units: - byte: - one: "Byte" - other: "Bytes" - kb: "KB" - mb: "MB" - gb: "GB" - tb: "TB" - decimal_units: - format: "%n %u" - units: - # 10^-21 zepto, 10^-24 yocto - atto: "渺" # 10^-18 - femto: "飛" # 10^-15 毫微微 - pico: "漠" # 10^-12 微微 - nano: "奈" # 10^-9 毫微 - micro: "微" # 10^-6 - mili: "毫" # 10^-3 milli - centi: "厘" # 10^-2 - deci: "分" # 10^-1 - unit: "" - ten: - one: "十" - other: "十" # 10^1 - hundred: "百" # 10^2 - thousand: "千" # 10^3 kilo - million: "百萬" # 10^6 mega - billion: "十億" # 10^9 giga - trillion: "兆" # 10^12 tera - quadrillion: "千兆" # 10^15 peta - # 10^18 exa, 10^21 zetta, 10^24 yotta - - support: - array: - words_connector: ", " - two_words_connector: " 和 " - last_word_connector: ", 和 " - select: - prompt: "請選擇" - - activerecord: - errors: - template: # ~ 2.3.5 backward compatible - header: - one: "有 1 個錯誤發生使得「%{model}」無法被儲存。" - other: "有 %{count} 個錯誤發生使得「%{model}」無法被儲存。" - body: "以下欄位發生問題:" - full_messages: - format: "%{attribute} %{message}" - messages: - inclusion: "沒有包含在列表中" - exclusion: "是被保留的關鍵字" - invalid: "是無效的" - confirmation: "不符合確認值" - accepted: "必須是可被接受的" - empty: "不能留空" - blank: "不能是空白字元" - too_long: "過長(最長是 %{count} 個字)" - too_short: "過短(最短是 %{count} 個字)" - wrong_length: "字數錯誤(必須是 %{count} 個字)" - not_a_number: "不是數字" - not_an_integer: "必須是整數" - greater_than: "必須大於 %{count}" - greater_than_or_equal_to: "必須大於或等於 %{count}" - equal_to: "必須等於 %{count}" - less_than: "必須小於 %{count}" - less_than_or_equal_to: "必須小於或等於 %{count}" - odd: "必須是奇數" - even: "必須是偶數" - taken: "已經被使用" - record_invalid: "校驗失敗: %{errors}" - - activemodel: - errors: - template: - header: - one: "有 1 個錯誤發生使得「%{model}」無法被儲存。" - other: "有 %{count} 個錯誤發生使得「%{model}」無法被儲存。" - body: "以下欄位發生問題:" - - errors: - format: "%{attribute} %{message}" - messages: - inclusion: "沒有包含在列表中" - exclusion: "是被保留的關鍵字" - invalid: "是無效的" - confirmation: "不符合確認值" - accepted: "必須是可被接受的" - empty: "不能留空" - blank: "不能是空白字元" - too_long: "過長(最長是 %{count} 個字)" - too_short: "過短(最短是 %{count} 個字)" - wrong_length: "字數錯誤(必須是 %{count} 個字)" - not_a_number: "不是數字" - not_an_integer: "必須是整數" - greater_than: "必須大於 %{count}" - greater_than_or_equal_to: "必須大於或等於 %{count}" - equal_to: "必須等於 %{count}" - less_than: "必須小於 %{count}" - less_than_or_equal_to: "必須小於或等於 %{count}" - odd: "必須是奇數" - even: "必須是偶數" - template: - header: - one: "有 1 個錯誤發生使得「%{model}」無法被儲存。" - other: "有 %{count} 個錯誤發生使得「%{model}」無法被儲存。" - body: "以下欄位發生問題:" - - helpers: - select: - prompt: "請選擇" - submit: - create: "新增%{model}" - update: "更新%{model}" - submit: "儲存%{model}" - diff --git a/vendor/built_in_modules/personal_project/app/views/panel/personal_project/back_end/project_categorys/_project_category.html.erb b/vendor/built_in_modules/personal_project/app/views/panel/personal_project/back_end/project_categorys/_project_category.html.erb index f3c8aa51e..097bda8a9 100644 --- a/vendor/built_in_modules/personal_project/app/views/panel/personal_project/back_end/project_categorys/_project_category.html.erb +++ b/vendor/built_in_modules/personal_project/app/views/panel/personal_project/back_end/project_categorys/_project_category.html.erb @@ -6,7 +6,7 @@
    diff --git a/vendor/built_in_modules/personal_project/app/views/panel/personal_project/back_end/projects/_list_project_type.html.erb b/vendor/built_in_modules/personal_project/app/views/panel/personal_project/back_end/projects/_list_project_type.html.erb index 5caeeba8f..315cb4028 100644 --- a/vendor/built_in_modules/personal_project/app/views/panel/personal_project/back_end/projects/_list_project_type.html.erb +++ b/vendor/built_in_modules/personal_project/app/views/panel/personal_project/back_end/projects/_list_project_type.html.erb @@ -6,6 +6,6 @@ <%= t('edit')%> <%= link_to show_toggle_archive_btn(list_project_type), - polymorphic_path([:panel, :personal_project, :back_end, list_project_type]), :confirm => t('announcement.sure?'), :method => :delete, :remote => true,:class=>"archive_toggle action" %> + polymorphic_path([:panel, :personal_project, :back_end, list_project_type]), :confirm => t('sure?'), :method => :delete, :remote => true,:class=>"archive_toggle action" %> \ No newline at end of file diff --git a/vendor/built_in_modules/personal_project/config/locales/en.yml b/vendor/built_in_modules/personal_project/config/locales/en.yml index 83dbd3280..63c14b993 100644 --- a/vendor/built_in_modules/personal_project/config/locales/en.yml +++ b/vendor/built_in_modules/personal_project/config/locales/en.yml @@ -1,135 +1,4 @@ -# Sample localization file for English. Add more files in this directory for other locales. -# See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points. - en: - - _locale: English - - add: Add - back: Back - create: Create - delete: Delete - disable: Disable - downloaded: Downloaded - download: Download - edit: Edit - enable: Enable - hide: Hide - homepage: Homepage - no_: "No" - nothing: Nothing - show: Show - sure?: Are you sure? - update: Update - yes_: "Yes" - - announcement: - sure?: Sure? - - web_resource: - list_lower: list - list_link: Links list - - - # admin: - # action: Action - # add_language: Add language - # admin: Admin - # action: Action - # announcement: Announcement - # asset: Asset - # attributes: Attributes - # cant_delete_self: You can not delete yourself. - # cant_revoke_self_admin: You can not revoke your admin role yourself. - # 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 - # delete_language: Delete language - # description: Description - # design: Design - # 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_user_info: Editing user information - # editing_user_role: Editing user role - # email: Email - # enable_language: Enable language - # file_name: Filename - # file_size: File size - # format: Format - # home: Home - # id: ID - # info: Information - # is_published: Is published - # item: Item - # key: Key - # language: Language - # layout: Layout - # layout_name: Layout name - # 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_user_infos: User information list - # list_user_roles: User roles list - # member: Member - # 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 - # new_asset: New asset - # new_component: New component - # 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_user_info: New user information - # new_user_role: New user role - # non_multilingual: Non multilingual - # options: Options - # orig_upload_file: Original filename - # position: Position - # published?: Published? - # purchase: Purchase - # registered: Registered - # role: Role - # roles: Roles - # title: Title - # translation: Translation - # type: Type - # up_to_date: Up-to-date - # update_error_link: Error when updating link. - # update_error_page: Error when updating page. - # update_success_content: Content was successfully updated. - # update_success_home: Homepage was successfully updated. - # update_success_layout: Layout was successfully updated. - # update_success_link: Link was successfully updated. - # update_success_page: Page was successfully updated. - # update_success_snippet: Snippet was successfully updated. - # update_success_user: User was successfully updated. - # url: URL - # user: User - # user_info: User information - # user_panel: User panel - # user_role: User role - - panel: + module_name: + personal_project: Project \ No newline at end of file diff --git a/vendor/built_in_modules/personal_project/config/locales/zh_tw.yml b/vendor/built_in_modules/personal_project/config/locales/zh_tw.yml index 8aa797fa8..8c70b557c 100644 --- a/vendor/built_in_modules/personal_project/config/locales/zh_tw.yml +++ b/vendor/built_in_modules/personal_project/config/locales/zh_tw.yml @@ -1,244 +1,4 @@ zh_tw: - - _locale: 中文 + module_name: personal_project: 研究計畫 - add: 新增 - back: 回去 - create: 創造 - delete: 刪除 - disable: 禁用 - edit: 編輯 - enable: 啟用 - hide: 隱藏 - homepage: 首頁 - no_: "No" - nothing: 無 - show: 顯示 - sure?: 您肯定嗎? - update: 更新 - yes_: "Yes" - - web_resource: - list_lower: 列表 - list_link: 鏈接列表 - category: 分類 - name: 名稱 - describe: 描述 - url: 路徑 - edit: 編輯 - delete: 刪除 - cate_auth: 分類授權 - - -# Chinese (Taiwan) translations for Ruby on Rails -# by tsechingho (http://github.com/tsechingho) - 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} 年多" - almost_x_years: - one: "接近一年" - other: "接近 %{count} 年" - prompts: - year: "年" - month: "月" - day: "日" - hour: "時" - minute: "分" - second: "秒" - - number: - format: - separator: "." - delimiter: "," - precision: 3 - significant: false - strip_insignificant_zeros: false - currency: - format: - format: "%u %n" - unit: "NT$" - separator: "." - delimiter: "," - precision: 2 - significant: false - strip_insignificant_zeros: false - percentage: - format: - delimiter: "" - precision: - format: - delimiter: "" - human: - format: - delimiter: "" - precision: 1 - significant: false - strip_insignificant_zeros: false - storage_units: - format: "%n %u" - units: - byte: - one: "Byte" - other: "Bytes" - kb: "KB" - mb: "MB" - gb: "GB" - tb: "TB" - decimal_units: - format: "%n %u" - units: - # 10^-21 zepto, 10^-24 yocto - atto: "渺" # 10^-18 - femto: "飛" # 10^-15 毫微微 - pico: "漠" # 10^-12 微微 - nano: "奈" # 10^-9 毫微 - micro: "微" # 10^-6 - mili: "毫" # 10^-3 milli - centi: "厘" # 10^-2 - deci: "分" # 10^-1 - unit: "" - ten: - one: "十" - other: "十" # 10^1 - hundred: "百" # 10^2 - thousand: "千" # 10^3 kilo - million: "百萬" # 10^6 mega - billion: "十億" # 10^9 giga - trillion: "兆" # 10^12 tera - quadrillion: "千兆" # 10^15 peta - # 10^18 exa, 10^21 zetta, 10^24 yotta - - support: - array: - words_connector: ", " - two_words_connector: " 和 " - last_word_connector: ", 和 " - select: - prompt: "請選擇" - - activerecord: - errors: - template: # ~ 2.3.5 backward compatible - header: - one: "有 1 個錯誤發生使得「%{model}」無法被儲存。" - other: "有 %{count} 個錯誤發生使得「%{model}」無法被儲存。" - body: "以下欄位發生問題:" - full_messages: - format: "%{attribute} %{message}" - messages: - inclusion: "沒有包含在列表中" - exclusion: "是被保留的關鍵字" - invalid: "是無效的" - confirmation: "不符合確認值" - accepted: "必須是可被接受的" - empty: "不能留空" - blank: "不能是空白字元" - too_long: "過長(最長是 %{count} 個字)" - too_short: "過短(最短是 %{count} 個字)" - wrong_length: "字數錯誤(必須是 %{count} 個字)" - not_a_number: "不是數字" - not_an_integer: "必須是整數" - greater_than: "必須大於 %{count}" - greater_than_or_equal_to: "必須大於或等於 %{count}" - equal_to: "必須等於 %{count}" - less_than: "必須小於 %{count}" - less_than_or_equal_to: "必須小於或等於 %{count}" - odd: "必須是奇數" - even: "必須是偶數" - taken: "已經被使用" - record_invalid: "校驗失敗: %{errors}" - - activemodel: - errors: - template: - header: - one: "有 1 個錯誤發生使得「%{model}」無法被儲存。" - other: "有 %{count} 個錯誤發生使得「%{model}」無法被儲存。" - body: "以下欄位發生問題:" - - errors: - format: "%{attribute} %{message}" - messages: - inclusion: "沒有包含在列表中" - exclusion: "是被保留的關鍵字" - invalid: "是無效的" - confirmation: "不符合確認值" - accepted: "必須是可被接受的" - empty: "不能留空" - blank: "不能是空白字元" - too_long: "過長(最長是 %{count} 個字)" - too_short: "過短(最短是 %{count} 個字)" - wrong_length: "字數錯誤(必須是 %{count} 個字)" - not_a_number: "不是數字" - not_an_integer: "必須是整數" - greater_than: "必須大於 %{count}" - greater_than_or_equal_to: "必須大於或等於 %{count}" - equal_to: "必須等於 %{count}" - less_than: "必須小於 %{count}" - less_than_or_equal_to: "必須小於或等於 %{count}" - odd: "必須是奇數" - even: "必須是偶數" - template: - header: - one: "有 1 個錯誤發生使得「%{model}」無法被儲存。" - other: "有 %{count} 個錯誤發生使得「%{model}」無法被儲存。" - body: "以下欄位發生問題:" - - helpers: - select: - prompt: "請選擇" - submit: - create: "新增%{model}" - update: "更新%{model}" - submit: "儲存%{model}" - diff --git a/vendor/built_in_modules/personal_research/config/locales/en.yml b/vendor/built_in_modules/personal_research/config/locales/en.yml index 83dbd3280..23b060096 100644 --- a/vendor/built_in_modules/personal_research/config/locales/en.yml +++ b/vendor/built_in_modules/personal_research/config/locales/en.yml @@ -1,135 +1,4 @@ -# Sample localization file for English. Add more files in this directory for other locales. -# See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points. - en: - - _locale: English - - add: Add - back: Back - create: Create - delete: Delete - disable: Disable - downloaded: Downloaded - download: Download - edit: Edit - enable: Enable - hide: Hide - homepage: Homepage - no_: "No" - nothing: Nothing - show: Show - sure?: Are you sure? - update: Update - yes_: "Yes" - - announcement: - sure?: Sure? - - web_resource: - list_lower: list - list_link: Links list - - - # admin: - # action: Action - # add_language: Add language - # admin: Admin - # action: Action - # announcement: Announcement - # asset: Asset - # attributes: Attributes - # cant_delete_self: You can not delete yourself. - # cant_revoke_self_admin: You can not revoke your admin role yourself. - # 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 - # delete_language: Delete language - # description: Description - # design: Design - # 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_user_info: Editing user information - # editing_user_role: Editing user role - # email: Email - # enable_language: Enable language - # file_name: Filename - # file_size: File size - # format: Format - # home: Home - # id: ID - # info: Information - # is_published: Is published - # item: Item - # key: Key - # language: Language - # layout: Layout - # layout_name: Layout name - # 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_user_infos: User information list - # list_user_roles: User roles list - # member: Member - # 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 - # new_asset: New asset - # new_component: New component - # 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_user_info: New user information - # new_user_role: New user role - # non_multilingual: Non multilingual - # options: Options - # orig_upload_file: Original filename - # position: Position - # published?: Published? - # purchase: Purchase - # registered: Registered - # role: Role - # roles: Roles - # title: Title - # translation: Translation - # type: Type - # up_to_date: Up-to-date - # update_error_link: Error when updating link. - # update_error_page: Error when updating page. - # update_success_content: Content was successfully updated. - # update_success_home: Homepage was successfully updated. - # update_success_layout: Layout was successfully updated. - # update_success_link: Link was successfully updated. - # update_success_page: Page was successfully updated. - # update_success_snippet: Snippet was successfully updated. - # update_success_user: User was successfully updated. - # url: URL - # user: User - # user_info: User information - # user_panel: User panel - # user_role: User role - - panel: + module_name: + personal_research: Research \ No newline at end of file diff --git a/vendor/built_in_modules/personal_research/config/locales/zh_tw.yml b/vendor/built_in_modules/personal_research/config/locales/zh_tw.yml index bf02f4b1c..1b7a20eb4 100644 --- a/vendor/built_in_modules/personal_research/config/locales/zh_tw.yml +++ b/vendor/built_in_modules/personal_research/config/locales/zh_tw.yml @@ -1,244 +1,4 @@ zh_tw: - - _locale: 中文 + module_name: personal_research: 研究 - add: 新增 - back: 回去 - create: 創造 - delete: 刪除 - disable: 禁用 - edit: 編輯 - enable: 啟用 - hide: 隱藏 - homepage: 首頁 - no_: "No" - nothing: 無 - show: 顯示 - sure?: 您肯定嗎? - update: 更新 - yes_: "Yes" - - web_resource: - list_lower: 列表 - list_link: 鏈接列表 - category: 分類 - name: 名稱 - describe: 描述 - url: 路徑 - edit: 編輯 - delete: 刪除 - cate_auth: 分類授權 - - -# Chinese (Taiwan) translations for Ruby on Rails -# by tsechingho (http://github.com/tsechingho) - 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} 年多" - almost_x_years: - one: "接近一年" - other: "接近 %{count} 年" - prompts: - year: "年" - month: "月" - day: "日" - hour: "時" - minute: "分" - second: "秒" - - number: - format: - separator: "." - delimiter: "," - precision: 3 - significant: false - strip_insignificant_zeros: false - currency: - format: - format: "%u %n" - unit: "NT$" - separator: "." - delimiter: "," - precision: 2 - significant: false - strip_insignificant_zeros: false - percentage: - format: - delimiter: "" - precision: - format: - delimiter: "" - human: - format: - delimiter: "" - precision: 1 - significant: false - strip_insignificant_zeros: false - storage_units: - format: "%n %u" - units: - byte: - one: "Byte" - other: "Bytes" - kb: "KB" - mb: "MB" - gb: "GB" - tb: "TB" - decimal_units: - format: "%n %u" - units: - # 10^-21 zepto, 10^-24 yocto - atto: "渺" # 10^-18 - femto: "飛" # 10^-15 毫微微 - pico: "漠" # 10^-12 微微 - nano: "奈" # 10^-9 毫微 - micro: "微" # 10^-6 - mili: "毫" # 10^-3 milli - centi: "厘" # 10^-2 - deci: "分" # 10^-1 - unit: "" - ten: - one: "十" - other: "十" # 10^1 - hundred: "百" # 10^2 - thousand: "千" # 10^3 kilo - million: "百萬" # 10^6 mega - billion: "十億" # 10^9 giga - trillion: "兆" # 10^12 tera - quadrillion: "千兆" # 10^15 peta - # 10^18 exa, 10^21 zetta, 10^24 yotta - - support: - array: - words_connector: ", " - two_words_connector: " 和 " - last_word_connector: ", 和 " - select: - prompt: "請選擇" - - activerecord: - errors: - template: # ~ 2.3.5 backward compatible - header: - one: "有 1 個錯誤發生使得「%{model}」無法被儲存。" - other: "有 %{count} 個錯誤發生使得「%{model}」無法被儲存。" - body: "以下欄位發生問題:" - full_messages: - format: "%{attribute} %{message}" - messages: - inclusion: "沒有包含在列表中" - exclusion: "是被保留的關鍵字" - invalid: "是無效的" - confirmation: "不符合確認值" - accepted: "必須是可被接受的" - empty: "不能留空" - blank: "不能是空白字元" - too_long: "過長(最長是 %{count} 個字)" - too_short: "過短(最短是 %{count} 個字)" - wrong_length: "字數錯誤(必須是 %{count} 個字)" - not_a_number: "不是數字" - not_an_integer: "必須是整數" - greater_than: "必須大於 %{count}" - greater_than_or_equal_to: "必須大於或等於 %{count}" - equal_to: "必須等於 %{count}" - less_than: "必須小於 %{count}" - less_than_or_equal_to: "必須小於或等於 %{count}" - odd: "必須是奇數" - even: "必須是偶數" - taken: "已經被使用" - record_invalid: "校驗失敗: %{errors}" - - activemodel: - errors: - template: - header: - one: "有 1 個錯誤發生使得「%{model}」無法被儲存。" - other: "有 %{count} 個錯誤發生使得「%{model}」無法被儲存。" - body: "以下欄位發生問題:" - - errors: - format: "%{attribute} %{message}" - messages: - inclusion: "沒有包含在列表中" - exclusion: "是被保留的關鍵字" - invalid: "是無效的" - confirmation: "不符合確認值" - accepted: "必須是可被接受的" - empty: "不能留空" - blank: "不能是空白字元" - too_long: "過長(最長是 %{count} 個字)" - too_short: "過短(最短是 %{count} 個字)" - wrong_length: "字數錯誤(必須是 %{count} 個字)" - not_a_number: "不是數字" - not_an_integer: "必須是整數" - greater_than: "必須大於 %{count}" - greater_than_or_equal_to: "必須大於或等於 %{count}" - equal_to: "必須等於 %{count}" - less_than: "必須小於 %{count}" - less_than_or_equal_to: "必須小於或等於 %{count}" - odd: "必須是奇數" - even: "必須是偶數" - template: - header: - one: "有 1 個錯誤發生使得「%{model}」無法被儲存。" - other: "有 %{count} 個錯誤發生使得「%{model}」無法被儲存。" - body: "以下欄位發生問題:" - - helpers: - select: - prompt: "請選擇" - submit: - create: "新增%{model}" - update: "更新%{model}" - submit: "儲存%{model}" - diff --git a/vendor/built_in_modules/web_resource/init.rb b/vendor/built_in_modules/web_resource/init.rb index abbf2332b..4827211dd 100644 --- a/vendor/built_in_modules/web_resource/init.rb +++ b/vendor/built_in_modules/web_resource/init.rb @@ -40,7 +40,7 @@ module WebResource :active_for_action=>{:web_links=>:index}, :available_for => [:all] - context_link 'link', + context_link 'add', :link_path=>"new_panel_web_resource_back_end_web_link_path" , :priority=>2, :active_for_action=>{:web_links=>:new},
    <%= t('nccu.selected_file') %><%= t('nccu.file_name') %><%= t('nccu.file_description') %><%= t('announcement.selected_file') %><%= t('announcement.file_name') %><%= t('announcement.file_description') %>