fix i18n.file upload failed

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

View File

@ -55,7 +55,7 @@
<div style="position: absolute; width: 100%; bottom: 0;">
<div class="modal-footer">
<!-- <a id='ajax_form_submit' class="btn btn-primary"><#%= t(:create) %></a> -->
<input type="submit" value="<%= t(:create) %>" class="btn btn-primary" />
<input type="submit" value="<%= t(:create_) %>" class="btn btn-primary" />
</div>
</div>

View File

@ -212,7 +212,7 @@ zh_tw:
module_widget: 外掛模塊
public_r_tag: 系統模塊
text: 文字區域
passed: 已認可
passed: 通過審核
password: 密碼
pending: 待審核
picture: 圖片
@ -284,7 +284,7 @@ zh_tw:
tags: 標籤
template: 樣版
template_name: 樣版名稱
text:
text:
theme: 主題
themes: 主題
title: 標題

View File

@ -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) %>

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

View File

@ -14,4 +14,4 @@ zh_tw:
search: 搜尋新聞
update_news_bulletin_category_success: 新聞類別已成功建立
update_news_bulletin_success: 新聞已成功更新
ut_prompt: 請選擇 UT
ut_prompt: 請選擇單位