From df0f575e1d1359c75230ab1b70b7ed3059f77306 Mon Sep 17 00:00:00 2001 From: knu Date: Tue, 10 Feb 2009 08:55:40 +0000 Subject: Fix grammos regarding the verb "refer". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 20 ++++++++++---------- ext/tk/lib/tcltk.rb | 2 +- ext/tk/sample/msgs_rb/README | 2 +- lib/net/http.rb | 2 +- marshal.c | 6 +++--- variable.c | 2 +- 6 files changed, 17 insertions(+), 17 deletions(-) diff --git a/ChangeLog b/ChangeLog index 28cae6a233..c4ce465425 100644 --- a/ChangeLog +++ b/ChangeLog @@ -13636,7 +13636,7 @@ Tue Aug 5 16:38:59 2008 Nobuyoshi Nakada Tue Aug 5 16:13:05 2008 Shugo Maeda - * lib/net/imap.rb (disconnect): do not refer SSL::SSLSocket for + * lib/net/imap.rb (disconnect): do not refer to SSL::SSLSocket for environments without OpenSSL. fixed [ruby-dev:35755]. Tue Aug 5 14:19:22 2008 Nobuyoshi Nakada @@ -15156,7 +15156,7 @@ Thu Jul 3 01:44:01 2008 Yusuke Endoh Thu Jul 3 01:23:13 2008 Yusuke Endoh - * sprintf.c: include ieeefp.h to refer isinf. + * sprintf.c: include ieeefp.h to refer to isinf. * ext/bigdecimal/bigdecimal.c: ditto. @@ -15205,7 +15205,7 @@ Wed Jul 2 03:10:41 2008 Koichi Sasada Wed Jul 2 02:02:34 2008 Koichi Sasada - * proc.c, vm.c: fix to refer next ruby level cfp to make binding. + * proc.c, vm.c: fix to refer to next ruby level cfp to make binding. Wed Jul 2 01:58:19 2008 NAKAMURA Usaku @@ -19197,7 +19197,7 @@ Mon Apr 21 11:00:27 2008 Yukihiro Matsumoto Mon Apr 21 10:06:26 2008 Yukihiro Matsumoto - * time.c: should include to refer errno. + * time.c: should include to refer to errno. Mon Apr 21 09:58:04 2008 NAKAMURA Usaku @@ -33955,7 +33955,7 @@ Wed May 30 13:32:34 2007 Shugo Maeda error message. * lib/net/imap.rb (ResponseParser#parse_error): fixed - the condition not to refer @token.symbol unexpectedly. + the condition not to refer to @token.symbol unexpectedly. Thanks, Dick Monahan. Wed May 30 13:24:33 2007 Shugo Maeda @@ -40939,8 +40939,8 @@ Tue Apr 25 07:55:31 2006 Yukihiro Matsumoto Fri Apr 21 15:19:13 2006 Hidetoshi NAGAI - * ext/tk/tcltklib.c (lib_eventloop_ensure): refer freed pointer - [ruby-core:07744] and memory leak. + * ext/tk/tcltklib.c (lib_eventloop_ensure): avoid dereferencing + freed pointer [ruby-core:07744] and memory leak. Fri Apr 21 12:14:52 2006 Yukihiro Matsumoto @@ -43581,7 +43581,7 @@ Wed Sep 28 23:40:04 2005 Nobuyoshi Nakada Wed Sep 28 15:12:28 2005 GOTOU Yuuzou * lib/webrick/cgi.rb (WEBrick::CGI#start): req.query_string should - refer the value of QUERY_STRING. [ruby-list:41186] + refer to the value of QUERY_STRING. [ruby-list:41186] * lib/webrick/httprequest.rb (WEBrick::HTTPRequest#query_string=): add new method. @@ -52501,7 +52501,7 @@ Mon Sep 6 10:57:40 2004 Hirokazu Yamamoto Mon Sep 6 07:51:42 2004 Yukihiro Matsumoto - * eval.c (cvar_cbase): singletons should refer outer cvar scope. + * eval.c (cvar_cbase): singletons should refer to outer cvar scope. [ruby-dev:24223] * eval.c (rb_load): should preserve previous ruby_wrapper value. @@ -62282,7 +62282,7 @@ Tue Aug 5 15:47:34 2003 Nobuyoshi Nakada Tue Aug 5 10:04:42 2003 Yukihiro Matsumoto - * string.c (str_new4): ptr may refer null_str. + * string.c (str_new4): ptr may refer to null_str. Mon Aug 4 17:25:18 2003 Yukihiro Matsumoto diff --git a/ext/tk/lib/tcltk.rb b/ext/tk/lib/tcltk.rb index 7f6f41605d..c875a3503e 100644 --- a/ext/tk/lib/tcltk.rb +++ b/ext/tk/lib/tcltk.rb @@ -237,7 +237,7 @@ class TclTkVariable < TclTkObject set(dat) if dat end - # although you can set/refer variable by using set in tcl/tk, + # although you can set/read variables by using set in tcl/tk, # we provide the method for accessing variables # set(data): set tcl/tk variable using `set' diff --git a/ext/tk/sample/msgs_rb/README b/ext/tk/sample/msgs_rb/README index 2e3ff2a9c4..d986e031fd 100644 --- a/ext/tk/sample/msgs_rb/README +++ b/ext/tk/sample/msgs_rb/README @@ -1,3 +1,3 @@ Message catalogs in this directory depend on Tcl/Tk's message catalogs. Texts of each locale are copied from Tcl/Tk8.5a1 widget demos. -Please refer '../msgs_tk/README'. +Please refer to '../msgs_tk/README'. diff --git a/lib/net/http.rb b/lib/net/http.rb index 8e0c3b208f..82e5ee6cc6 100644 --- a/lib/net/http.rb +++ b/lib/net/http.rb @@ -39,7 +39,7 @@ module Net #:nodoc: # # This library provides your program functions to access WWW # documents via HTTP, Hyper Text Transfer Protocol version 1.1. - # For details of HTTP, refer [RFC2616] + # For details of HTTP, refer to [RFC2616] # (http://www.ietf.org/rfc/rfc2616.txt). # # == Examples diff --git a/marshal.c b/marshal.c index 89f9315d13..ca97ee3226 100644 --- a/marshal.c +++ b/marshal.c @@ -180,7 +180,7 @@ class2path(VALUE klass) n); } if (rb_path2class(n) != rb_class_real(klass)) { - rb_raise(rb_eTypeError, "%s can't be referred", n); + rb_raise(rb_eTypeError, "%s can't be referred to", n); } return path; } @@ -1164,7 +1164,7 @@ path2class(const char *path) VALUE v = rb_path2class(path); if (TYPE(v) != T_CLASS) { - rb_raise(rb_eArgError, "%s does not refer class", path); + rb_raise(rb_eArgError, "%s does not refer to class", path); } return v; } @@ -1175,7 +1175,7 @@ path2module(const char *path) VALUE v = rb_path2class(path); if (TYPE(v) != T_MODULE) { - rb_raise(rb_eArgError, "%s does not refer module", path); + rb_raise(rb_eArgError, "%s does not refer to module", path); } return v; } diff --git a/variable.c b/variable.c index b920c6797d..99371f8856 100644 --- a/variable.c +++ b/variable.c @@ -257,7 +257,7 @@ rb_path2class(const char *path) case T_CLASS: break; default: - rb_raise(rb_eTypeError, "%s does not refer class/module", path); + rb_raise(rb_eTypeError, "%s does not refer to class/module", path); } } -- cgit v1.2.3