diff --git a/app/helpers/orbit_helper.rb b/app/helpers/orbit_helper.rb
index b76f62d..2a3167a 100644
--- a/app/helpers/orbit_helper.rb
+++ b/app/helpers/orbit_helper.rb
@@ -288,23 +288,27 @@ module OrbitHelper
end
when 'categories'
if @module_app.key!='category'
- res << "
#{@module_app.title}#{divider}"
+ res << "#{t('module_name.'+@module_app.key)}#{divider}"
res << "#{t(:categories)}"
else
- res << "#{@module_app.title}"
+ res << "#{t('module_name.category')}"
end
when 'tags'
if @module_app.key!='tag'
- res << "#{@module_app.title}#{divider}"
+ res << "#{t('module_name.'+@module_app.key)}#{divider}"
res << "#{t(:tags)}"
else
- res << "#{@module_app.title}"
+ res << "#{t('module_name.tag')}"
end
else
if params[:action].eql?('index')
- res << "#{@module_app.title}"
+ res << "#{t('module_name.'+@module_app.key)}"
else
- res << "#{@module_app.title}#{divider}"
+ if params[:controller] == "admin/ad_images"
+ res << "#{t('module_name.'+@module_app.key)}#{divider}"
+ else
+ res << "#{t('module_name.'+@module_app.key)}#{divider}"
+ end
res << "#{t(params[:action], scope: 'restful_actions')}"
end
end
diff --git a/app/uploaders/image_uploader.rb b/app/uploaders/image_uploader.rb
index c767b2b..61a699b 100644
--- a/app/uploaders/image_uploader.rb
+++ b/app/uploaders/image_uploader.rb
@@ -36,7 +36,7 @@ class ImageUploader < CarrierWave::Uploader::Base
# Create different versions of your uploaded files:
version :thumb do
- process :resize_to_fit => [200, 200]
+ process :resize_to_fit => [400, 400]
end
version :mobile do
diff --git a/config/locales/zh_tw.yml b/config/locales/zh_tw.yml
index 1d204d2..86f93c7 100644
--- a/config/locales/zh_tw.yml
+++ b/config/locales/zh_tw.yml
@@ -253,7 +253,7 @@ zh_tw:
hot: 熱門
is_hot: 熱門
image: 圖片
- images: images
+ images: 圖片
info: 基本資料
initial: 預設值
insert: 插入
@@ -335,6 +335,7 @@ zh_tw:
module: 模組
module_name:
category: 類別
+ categories: 類別
tag: 標籤
member: 會員
announcement: 公告
@@ -343,6 +344,7 @@ zh_tw:
page_content: 頁面
faq: 問與答
archive: 檔案室
+ ad_banner: 廣告輪播
modules: 網站模組
module_authorization: 模組授權
module_store: 模組商店