diff -rNu ezlibrarian.orig/app/views/books/_form.html.erb ezlibrarian/app/views/books/_form.html.erb --- ezlibrarian.orig/app/views/books/_form.html.erb 2009-01-05 01:22:27.000000000 +0900 +++ ezlibrarian/app/views/books/_form.html.erb 2008-12-31 17:06:11.000000000 +0900 @@ -1,13 +1,13 @@

<%= f.text_field :title, :label => l(:field_book_title), :size => 80, :required => true %>

<%= f.text_field :original_title, :size => 80 %>

-

<%= f.text_field :author, :size => 80, :required => true %>

+

<%= f.text_field :author, :label => l(:field_book_author), :size => 80, :required => true %>

<%= f.text_field :translator, :size => 80 %>

<%= f.text_field :publisher, :size => 80, :required => true %>

<%= f.text_field :published_on, :size => 10, :required => true %><%= calendar_for('book_published_on') %>

<%= f.text_field :isbn, :size => 80, :required => true %>

<%= f.text_field :pages, :size => 80, :required => true %>

<%= f.text_area :content, - :cols => 60, + :cols => 45, :rows => (@book.content.blank? ? 10 : [[10, @book.content.length / 50].max, 100].min), :accesskey => accesskey(:edit), :class => 'wiki-edit', diff -rNu ezlibrarian.orig/app/views/books/_list.html.erb ezlibrarian/app/views/books/_list.html.erb --- ezlibrarian.orig/app/views/books/_list.html.erb 2009-01-05 01:22:27.000000000 +0900 +++ ezlibrarian/app/views/books/_list.html.erb 2008-12-31 15:51:33.000000000 +0900 @@ -1,6 +1,6 @@ - <%= sort_header_tag("id", :caption => '#') %> + <%= sort_header_tag("#{Book.table_name}.id", :caption => '#') %> <%= sort_header_tag('title', :caption => l(:field_book_title), :default_order => 'asc') %> <%= sort_header_tag('author', :caption => l(:field_book_author)) %> <%= sort_header_tag('publisher', :caption => l(:field_publisher)) %> diff -rNu ezlibrarian.orig/app/views/books/show.html.erb ezlibrarian/app/views/books/show.html.erb --- ezlibrarian.orig/app/views/books/show.html.erb 2009-01-05 01:22:27.000000000 +0900 +++ ezlibrarian/app/views/books/show.html.erb 2008-12-31 17:09:30.000000000 +0900 @@ -16,7 +16,7 @@ - + @@ -97,4 +97,4 @@ <% content_for :header_tags do %> <%= stylesheet_link_tag '/plugin_assets/redmine_ezlibrarian/stylesheets/ezlibrarian' %> -<% end %> \ No newline at end of file +<% end %> diff -rNu ezlibrarian.orig/lang/ja.yml ezlibrarian/lang/ja.yml --- ezlibrarian.orig/lang/ja.yml 1970-01-01 09:00:00.000000000 +0900 +++ ezlibrarian/lang/ja.yml 2008-12-31 17:11:13.000000000 +0900 @@ -0,0 +1,30 @@ +label_library: 本棚 +label_books: 登録されている本 +label_book_new: 新しい本 +label_book_edit: 更新された本 +label_holder_change_histories: %s の変更履歴 +label_holder_change_count: %s 以降, %d 回更新されました +label_review: 書評 +label_add_review: 書評を書く +label_nobody: (ななし) + +field_book_id: 番号 +field_book_title: 書名 +field_original_title: 原書名 +field_book_author: 著者 +field_translator: 翻訳者 +field_publisher: 刊行者 +field_published_on: 刊行日 +field_holder: 持ち主 +field_reviews_count: 書評の数 +field_isbn: ISBN +field_pages: ページ数 +field_content: 要約 +field_intro_url: webへのリンク +field_holder_change_histories_count: 貸し出し回数 +field_got_time: 購入日 + +permission_view_books: 本を見る +permission_manage_books: 本を管理する + +project_module_ezlibrarian: 本棚モジュール
<%= @book.holder %>
<%=l(:field_author)%>:<%=l(:field_book_author)%>: <%= @book.author %> <%=l(:field_translator)%>: <%= @book.translator ? @book.translator : '-' %>