]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Spelling fixes for translatable strings
authorJakub Jelinek <jakub@redhat.com>
Tue, 23 Apr 2024 12:50:27 +0000 (14:50 +0200)
committerJakub Jelinek <jakub@redhat.com>
Tue, 23 Apr 2024 12:50:27 +0000 (14:50 +0200)
I've run aspell on gcc.pot (just quickly skimming, so pressing
I key hundreds of times and just stopping when I catch something that
looks like a misspelling).

I plan to commit this tomorrow as obvious unless somebody finds some
issues in it, you know, I'm not a native English speaker.
Yes, I know favour is valid UK spelling, but we spell the US way I think.
I've left some *ise* -> *ize* cases (recognise, initialise), those
had too many hits, though in translatable strings just 4, so maybe
worth changing too:
msgid "recognise the specified suffix as a definition module filename"
msgid "recognise the specified suffix as implementation and module filenames"
"initialiser for a dylib."
msgid "%qE attribute argument %qE is not recognised"

2024-04-23  Jakub Jelinek  <jakub@redhat.com>

* config/epiphany/epiphany.opt (may-round-for-trunc): Spelling fix:
floatig -> floating.
* config/riscv/riscv.opt (mcsr-check): Spelling fix: CRS -> CSR.
* params.opt (-param=ipa-cp-profile-count-base=): Spelling fix:
frequncy -> frequency.
gcc/c-family/
* c.opt (Wstrict-flex-arrays): Spelling fix: inproper -> improper.
gcc/cp/
* parser.cc (cp_parser_using_declaration): Spelling fix: favour
-> favor.
gcc/m2/
* lang.opt (fuse-list=): Spelling fix: finalializations ->
finalizations.

gcc/c-family/c.opt
gcc/config/epiphany/epiphany.opt
gcc/config/riscv/riscv.opt
gcc/cp/parser.cc
gcc/m2/lang.opt
gcc/params.opt

index 848c2fda2038b95f1754c6f372054f6460bfbdc2..403abc1f26e18fb8c2ec39095fc8cc937f06a05d 100644 (file)
@@ -1320,7 +1320,7 @@ C ObjC C++ ObjC++ LangEnabledBy(C ObjC C++ ObjC++,Wall, 3, 0) IntegerRange(0, 3)
 
 Wstrict-flex-arrays
 C C++ Var(warn_strict_flex_arrays) Warning
-Warn about inproper usages of flexible array members
+Warn about improper usages of flexible array members
 according to the level of -fstrict-flex-arrays.
 
 Wstrict-null-sentinel
index 563e7ef2233b6879f52db36e1148be882f068a03..6cffea81250e784d2855b478b0d45340d7779d98 100644 (file)
@@ -105,7 +105,7 @@ Enum(attr_fp_mode) String(int) Value(FP_MODE_INT)
 
 may-round-for-trunc
 Target Mask(MAY_ROUND_FOR_TRUNC)
-A floatig point to integer truncation may be replaced with rounding to save mode switching.
+A floating point to integer truncation may be replaced with rounding to save mode switching.
 
 mvect-double
 Target Mask(VECT_DOUBLE)
index 8da0764eb4becb5cff38e7ef14a1d781922d667f..b14888e9816c3ed2df3b55a64fe2e348cfe37c36 100644 (file)
@@ -152,7 +152,7 @@ required to materialize symbol addresses.
 
 mcsr-check
 Target Var(riscv_mcsr_check) Init(0)
-Enable the CSR checking for the ISA-dependent CRS and the read-only CSR.
+Enable the CSR checking for the ISA-dependent CSR and the read-only CSR.
 The ISA-dependent CSR are only valid when the specific ISA is set.  The
 read-only CSR can not be written by the CSR instructions.
 
index 50d3ad35b611006056cb947c2d9f1ac7512e682c..c23758cf5cf23c34dd9fa03b260e804b109109e4 100644 (file)
@@ -22406,7 +22406,7 @@ cp_parser_using_declaration (cp_parser* parser,
   if (access_declaration_p && errorcount == oldcount)
     warning_at (diag_token->location, OPT_Wdeprecated,
                "access declarations are deprecated "
-               "in favour of using-declarations; "
+               "in favor of using-declarations; "
                "suggestion: add the %<using%> keyword");
 
   return true;
index 206bd03d09f66a3ed639e31b46d48e263e54a820..3ffaf151f4c83e632534ea58d9d12cb8f86dd34d 100644 (file)
@@ -260,7 +260,7 @@ optimize non var unbounded parameters by passing it by reference, providing it i
 
 fuse-list=
 Modula-2 Joined
-orders the initialization/finalializations for scaffold-static or force linking of modules if scaffold-dynamic
+orders the initialization/finalizations for scaffold-static or force linking of modules if scaffold-dynamic
 
 fversion
 Modula-2
index 5eb045b2e6cf7087e60fd35fa9b9270209116cf1..d34ef545bf03572422c4afc8dc98b06d45463f9d 100644 (file)
@@ -263,7 +263,7 @@ Maximum size of a list of values associated with each parameter for interprocedu
 
 -param=ipa-cp-profile-count-base=
 Common Joined UInteger Var(param_ipa_cp_profile_count_base) Init(10) IntegerRange(0, 100) Param Optimization
-When using profile feedback, use the edge at this percentage position in frequncy histogram as the bases for IPA-CP heuristics.
+When using profile feedback, use the edge at this percentage position in frequency histogram as the bases for IPA-CP heuristics.
 
 -param=ipa-jump-function-lookups=
 Common Joined UInteger Var(param_ipa_jump_function_lookups) Init(8) Param Optimization