    # File lib/gettext/string.rb, line 37
      def %(args)
        if args.kind_of?(Hash)
          ret = dup
          args.each {|key, value|
            ret.gsub!(/\%\{#{key}\}/, value.to_s)
          }
          ret
        else
          ret = gsub(/%\{/, '%%{')
          begin
            ret._old_format_m(args)
          rescue ArgumentError => e
            if $DEBUG
               $stderr.puts "  The string:#{ret}"
               $stderr.puts "  args:#{args.inspect}"
               puts e.backtrace
            else
              raise ArgumentError, e.message
            end
          end
        end
      end