public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Jakub Jelinek <jakub@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r14-10092] Further spelling fixes in translatable strings
Date: Tue, 23 Apr 2024 12:52:59 +0000 (GMT)	[thread overview]
Message-ID: <20240423125259.55DC83858C42@sourceware.org> (raw)

https://gcc.gnu.org/g:f99409459270831685f043987f8d09b9510ccabe

commit r14-10092-gf99409459270831685f043987f8d09b9510ccabe
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Tue Apr 23 14:51:26 2024 +0200

    Further spelling fixes in translatable strings
    
    This addresses the non-Oxford British English vs. US English spelling
    nits in translatable strings.
    
    I see various similar cases in m2 and rust FEs where they don't make it into
    gcc.pot, guess those would be nice to get fixed too.
    
    2024-04-23  Jakub Jelinek  <jakub@redhat.com>
    
            * config/darwin.opt (init): Spelling fix: initialiser -> initializer.
    gcc/c-family/
            * c-attribs.cc (handle_objc_nullability_attribute): Spelling fix:
            recognised -> recognized.
    gcc/m2/
            * lang.opt (fdef=, fmod=): Spelling fix: recognise -> recognize.

Diff:
---
 gcc/c-family/c-attribs.cc | 2 +-
 gcc/config/darwin.opt     | 2 +-
 gcc/m2/lang.opt           | 6 +++---
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/gcc/c-family/c-attribs.cc b/gcc/c-family/c-attribs.cc
index 40a0cf90295..04e39b41bdf 100644
--- a/gcc/c-family/c-attribs.cc
+++ b/gcc/c-family/c-attribs.cc
@@ -6244,7 +6244,7 @@ handle_objc_nullability_attribute (tree *node, tree name, tree args,
 	      || strcmp (TREE_STRING_POINTER (val), "resettable") == 0))
     *no_add_attrs = false; /* OK */
   else if (val != error_mark_node)
-    error ("%qE attribute argument %qE is not recognised", name, val);
+    error ("%qE attribute argument %qE is not recognized", name, val);
 
   return NULL_TREE;
 }
diff --git a/gcc/config/darwin.opt b/gcc/config/darwin.opt
index 119faf7b385..307a760629b 100644
--- a/gcc/config/darwin.opt
+++ b/gcc/config/darwin.opt
@@ -211,7 +211,7 @@ Driver RejectNegative Separate
 
 init
 Driver RejectNegative Separate
--init <symbol_name>	The symbol <symbol_name> will be used as the first initialiser for a dylib.
+-init <symbol_name>	The symbol <symbol_name> will be used as the first initializer for a dylib.
 
 install_name
 Driver RejectNegative Separate
diff --git a/gcc/m2/lang.opt b/gcc/m2/lang.opt
index 3ffaf151f4c..1c165317959 100644
--- a/gcc/m2/lang.opt
+++ b/gcc/m2/lang.opt
@@ -96,7 +96,7 @@ turn on tracing of procedure line numbers (internal switch)
 
 fdef=
 Modula-2 Joined
-recognise the specified suffix as a definition module filename
+recognize the specified suffix as a definition module filename
 
 fdump-system-exports
 Modula-2
@@ -172,7 +172,7 @@ compile all implementation modules and program module at once
 
 fmod=
 Modula-2 Joined
-recognise the specified suffix as implementation and module filenames
+recognize the specified suffix as implementation and module filenames
 
 fnil
 Modula-2
@@ -278,7 +278,7 @@ static-libgm2
 Driver
 Link the standard Modula-2 libraries statically in the compilation.
 
-; Here are C options that we also recognise, either within the compiler
+; Here are C options that we also recognize, either within the compiler
 ; or to build the preprocessor command lines.
 
 Wall

                 reply	other threads:[~2024-04-23 12:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240423125259.55DC83858C42@sourceware.org \
    --to=jakub@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).