Add zh_tw locale file

This commit is contained in:
Wen-Tien Chang committed 2010-01-08 15:45:13 +08:00
1 parent 5ab32baf88
commit e6d083acda
4 files changed
+14 -7

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ class Admin::SnippetsController < ApplicationController
end
VALID_LOCALES.each do |locale|
@snippet.write_attribute( "content_#{locale}", "<ul>\n#{lis}</ul>" )
@snippet.send( :write_attribute, "content_#{locale}", "<ul>\n#{lis}</ul>" )
end
end
+5 -5
View File
@@ -15,11 +15,11 @@
<body>
<div class="container">
<div id ="nav" class="span-24">
<%= link_to 'Home', root_path %> |
<%= link_to 'Pages', admin_pages_path %> |
<%= link_to 'Snippet', admin_snippets_path %> |
<%= link_to 'Layout', admin_layouts_path %> |
<%= link_to 'Announcement', admin_announcements_path %>
<%= link_to t(:home, :scope => :admin), root_path %> |
<%= link_to t(:page, :scope => :admin), admin_pages_path %> |
<%= link_to t(:snippet, :scope => :admin), admin_snippets_path %> |
<%= link_to t(:layout, :scope => :admin), admin_layouts_path %> |
<%= link_to t(:announcement, :scope => :admin), admin_announcements_path %>
</div>
<%= yield %>