From 4f974b1427f734341388fef911d125047466b99d Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Mon, 27 Oct 2014 19:02:21 +0800 Subject: [PATCH] some translations fix --- app/views/admin/ad_banners/_index.html.erb | 4 ++-- config/locales/en.yml | 1 + config/locales/zh_tw.yml | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/views/admin/ad_banners/_index.html.erb b/app/views/admin/ad_banners/_index.html.erb index 769fb17..dd467ed 100644 --- a/app/views/admin/ad_banners/_index.html.erb +++ b/app/views/admin/ad_banners/_index.html.erb @@ -234,7 +234,7 @@ <% if can_edit_or_delete?(banner) %>
- " data-id="<%= banner.id.to_s %>" data-fx="<%= banner.ad_fx %>" data-form="<%= banner.data_attribute_hash.to_s %>" @@ -242,7 +242,7 @@ href="#">
- <%= t(:setting) %> + <%= t("ad_banner.setting") %>
diff --git a/config/locales/en.yml b/config/locales/en.yml index 7e5b733..e035701 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -26,4 +26,5 @@ en: all: All categories: Categories add: Add + setting: Settings expired: Expired \ No newline at end of file diff --git a/config/locales/zh_tw.yml b/config/locales/zh_tw.yml index 7ffbfa0..82ad0f3 100644 --- a/config/locales/zh_tw.yml +++ b/config/locales/zh_tw.yml @@ -20,6 +20,7 @@ zh_tw: categories: 類別 add: 新增 size: 大小 + setting: Settings transition_interval: 轉換間隔 transition_speed: 轉換速度 type: 開啟方式