]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Further spelling fixes in translatable strings
authorJakub Jelinek <jakub@redhat.com>
Tue, 23 Apr 2024 12:51:26 +0000 (14:51 +0200)
committerJakub Jelinek <jakub@redhat.com>
Tue, 23 Apr 2024 12:51:26 +0000 (14:51 +0200)
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.

gcc/c-family/c-attribs.cc
gcc/config/darwin.opt
gcc/m2/lang.opt

index 40a0cf90295d9078fbd3fbec83fd8d086bac4fda..04e39b41bdf30a6539112da6e85cd059436f2a0e 100644 (file)
@@ -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;
 }
index 119faf7b385e10b3c646dae1ac71ff913eb3a096..307a760629ba5d1cfa7cd1f5cac731230e0c2fb8 100644 (file)
@@ -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
index 3ffaf151f4c83e632534ea58d9d12cb8f86dd34d..1c1653179593e460568697f2c881eaccfdbaca2e 100644 (file)
@@ -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