[Tomoe-cvs 1889] CVS update: tomoe/utils

Back to archive index

Kouhei Sutou kous****@users*****
2006年 12月 12日 (火) 19:08:12 JST


Index: tomoe/utils/xml2est.rb
diff -u tomoe/utils/xml2est.rb:1.1 tomoe/utils/xml2est.rb:1.2
--- tomoe/utils/xml2est.rb:1.1	Thu Nov 30 18:15:31 2006
+++ tomoe/utils/xml2est.rb	Tue Dec 12 19:08:12 2006
@@ -11,12 +11,12 @@
 
 TomoeSpecUtils::Config.dictionaries.sort.each do |dictionary|
   print "converting #{dictionary}..."
-  est_db_name = dictionary.sub(/\.xml$/, "")
+  est_db = dictionary.sub(/\.xml$/, "")
   xml_dict = Tomoe::Dict.new("xml",
                              "filename" => dictionary,
                              "editable" => false)
   est_dict = Tomoe::Dict.new("est",
-                             "database_name" => est_db_name,
+                             "database" => est_db,
                              "editable" => true)
   xml_dict.search(Tomoe::Query.new).each do |cand|
     est_dict.register(cand.char)


tomoe-cvs メーリングリストの案内
Back to archive index