fix translation conflict and breadcrumb divider
This commit is contained in:
parent
8fcb9d2124
commit
8cdcb18976
|
@ -406,12 +406,12 @@ module OrbitBackendHelper
|
|||
site = Site.first
|
||||
case controller.controller_name
|
||||
when 'sites'
|
||||
res << "<li>#{t(:settings)}{divider}</li>"
|
||||
res << "<li><li>#{t(:settings)}#{divider}</li>"
|
||||
case controller.action_name
|
||||
when 'sitemap'
|
||||
res << "<li class='active'>#{t(:sitemap)}</li>"
|
||||
when 'responsive_setting'
|
||||
res << "<li class='active'>#{t(:mobile_setting) }</li>"
|
||||
res << "<li class='active'>#{t(:mobile_settings)}</li>"
|
||||
when 'mail_setting'
|
||||
res << "<li class='active'>#{t(:mail_setting)}</li>"
|
||||
when 'preference'
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
<li title="<%= t('site_info') %>"><%= link_to admin_site_site_info_path(@site), :class => active_for_action('sites', 'site_info') do %><span><i class="icons-browser"></i></span><%end%></li>
|
||||
|
||||
<li title="<%= t('mobile_setting') %>"><%= link_to admin_site_responsive_setting_path(@site), :class => active_for_action('sites', 'responsive_setting') do %><span><i class="icons-mobile"></i></span><%end%></li>
|
||||
<li title="<%= t('mobile_settings') %>"><%= link_to admin_site_responsive_setting_path(@site), :class => active_for_action('sites', 'responsive_setting') do %><span><i class="icons-mobile"></i></span><%end%></li>
|
||||
|
||||
<li title="<%= t('search_engine') %>"><%= link_to admin_site_search_engine_path(@site), :class => active_for_action('sites', 'search_engine') do %><span><i class="icons-search"></i></span><%end%></li>
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
<li title="<%= t('site_info') %>"><%= link_to admin_site_site_info_path(@site), :class => active_for_action('sites', 'site_info') do %><span><i class="icons-browser"></i></span><%end%></li>
|
||||
|
||||
<li title="<%= t('mobile_setting') %>"><%= link_to admin_site_responsive_setting_path(@site), :class => active_for_action('sites', 'responsive_setting') do %><span><i class="icons-mobile"></i></span><%end%></li>
|
||||
<li title="<%= t('mobile_settings') %>"><%= link_to admin_site_responsive_setting_path(@site), :class => active_for_action('sites', 'responsive_setting') do %><span><i class="icons-mobile"></i></span><%end%></li>
|
||||
|
||||
<li title="<%= t('search_engine') %>"><%= link_to admin_site_search_engine_path(@site), :class => active_for_action('sites', 'search_engine') do %><span><i class="icons-search"></i></span><%end%></li>
|
||||
|
||||
|
|
|
@ -300,6 +300,7 @@ en:
|
|||
select_announcement_categories: Select Announcement Categories
|
||||
select_image: Select Image
|
||||
select_orbit_bar_color: Select Orbit Bar Color
|
||||
mobile_settings: Mobile Setting
|
||||
module: Module
|
||||
modules: Modules
|
||||
module_authorization: Module Authorization
|
||||
|
|
|
@ -301,6 +301,7 @@ zh_tw:
|
|||
select_announcement_categories: 選擇公告顯示分類
|
||||
select_image: 選擇圖片
|
||||
select_orbit_bar_color: 選擇Orbit Bar顏色
|
||||
mobile_settings: 行動設定
|
||||
module: 模組
|
||||
modules: 網站模組
|
||||
module_authorization: 模組授權
|
||||
|
|
Reference in New Issue