fix i18n.file upload failed

This commit is contained in:
Fu Matthew committed 2012-09-27 13:34:40 +08:00
1 parent 87904f8b8d
commit dc8ca7e575
5 files changed
+6 -6

No files matched your search

@@ -152,7 +152,7 @@
<div class="<%= locale %> fade tab-pane <%= ( i == 0 ) ? "in active" : '' %>">
<div class="title">
<%= f.label :title, t(:text)%>
<%= f.label :title, t(:title)%>
<%= f.fields_for :title_translations do |f| %>
<%= I18nVariable.from_locale(locale) %>
<%= f.text_field locale, :class=>'post-title', :value => (@news_bulletin.title_translations[locale] rescue nil) %>
+1 -1
View File
@@ -14,4 +14,4 @@ en:
search: Search for News
update_news_bulletin_category_success: News category was successfully updated
update_news_bulletin_success: News was successfully updated
ut_prompt: Please select UT
ut_prompt: Please select Unit
+1 -1
View File
@@ -14,4 +14,4 @@ zh_tw:
search: 搜尋新聞
update_news_bulletin_category_success: 新聞類別已成功建立
update_news_bulletin_success: 新聞已成功更新
ut_prompt: 請選擇 UT
ut_prompt: 請選擇單位