Permalink
Browse files

Modified.

  • Loading branch information...
1 parent 044d37f commit 73ba6f4d5bea08df1db163c0ab25d44e8a179191 Masao Mutoh committed Feb 15, 2009
Showing with 3 additions and 0 deletions.
  1. +2 −0 README.rdoc
  2. +1 −0 test/test_parser.rb
View
@@ -48,6 +48,8 @@ using Ruby-GetText-Package.
task :updatepo do
require 'gettext_activerecord/tools'
+ # Need to access DB to find Model table/column names.
+ # Use config/database.yml which is the same style with rails.
GetText.update_pofiles("sample_ar", ["topic.rb"], "sample AR 1.0.0")
end
View
@@ -52,6 +52,7 @@ def test_subclass
assert_equal(["Reply|Parent", "fixtures/reply.rb:-"], ary[11])
assert_equal(["Reply|Replies count", "fixtures/reply.rb:-"], ary[12])
assert_equal(["Reply|Title", "fixtures/reply.rb:-"], ary[13])
+ # this target is from N_().
assert_equal(["Reply|Topic", "fixtures/reply.rb:4"], ary[14])
assert_equal(["Reply|Type", "fixtures/reply.rb:-"], ary[15])
assert_equal(["Reply|Written on", "fixtures/reply.rb:-"], ary[16])

0 comments on commit 73ba6f4

Please sign in to comment.