(example): Encoded in utf-8.
authorhanda <handa>
Tue, 24 Jul 2007 06:20:15 +0000 (06:20 +0000)
committerhanda <handa>
Tue, 24 Jul 2007 06:20:15 +0000 (06:20 +0000)
utils/ja_filter.rb

index e2f7ac1..d335c4a 100755 (executable)
@@ -14,10 +14,10 @@ def commentblock(buf)
 
 while gets
 
 
 while gets
 
-  gsub!("@seealso", "@par »²¾È:")
-  gsub!("@errors", "@par ¥¨¥é¡¼:")
-  gsub!("@returns", "@par Ìá¤êÃÍ:")
-  gsub!("@return", "@par Ìá¤êÃÍ:")
+  gsub!("@seealso", "@par 参照:")
+  gsub!("@errors", "@par エラー:")
+  gsub!("@returns", "@par 戻り値:")
+  gsub!("@return", "@par 戻り値:")
  #let doxygen find functions
   gsub!(/[a-zA-Z_]\s\(\)/) {|m| m.delete!(" ")}
  #make variables in function descriptions shown in bold
  #let doxygen find functions
   gsub!(/[a-zA-Z_]\s\(\)/) {|m| m.delete!(" ")}
  #make variables in function descriptions shown in bold
@@ -85,7 +85,7 @@ while gets
 
      when /EXAMPLE_CODE/ 
        #start example code lines
 
      when /EXAMPLE_CODE/ 
        #start example code lines
-        buf.push($_.gsub!(/#if EXAMPLE_CODE/, "\n \n @par Î㡧 \n @code"))
+        buf.push($_.gsub!(/#if EXAMPLE_CODE/, "\n \n @par 例: \n @code"))
        example = 1
 
      when /\*\//
        example = 1
 
      when /\*\//
@@ -110,5 +110,5 @@ end
 commentblock(buf)
 
 # Local Variables:
 commentblock(buf)
 
 # Local Variables:
-# coding: euc-jp
+# coding: utf-8
 # End:
 # End: