From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 7CE393858C42 for ; Tue, 23 Apr 2024 12:57:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7CE393858C42 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 7CE393858C42 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713877040; cv=none; b=m+CO21Uzwlr5FqloKx24djR8siMi/wVvXcoMQDesbirdbDPDNoBDuOBfGDopZmSUwmUGzcgY1NdCx9TDIYVGbJDRtd8w7WNoj8Ylfyu80hsj2iO/uvvG3bboUDHZ5TDeS6EyoAZK32cz1FPEJkwso4ZEF7Q4zbsidhaFoQxlWpI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713877040; c=relaxed/simple; bh=GG35qfC8J16PYn4k+SCqroqMlqhUN+W/xdVygGgp468=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=CbsEsWqEbZBGFHpNtzGp9eKI8cEKMPq3AnnW/D7l8OmaFOSO4ndJkh9l6Y2arELvmPwIiafVjIEv5/hZ8bL0Z6Ykcm4x0todSiEia82lZwA+Z0XfbUOSsy/QkPV9KzCdfQtt8et9W3U7TrJRVvskUCGUb9VUL1xCz8RuqnQbyWU= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1713877037; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references; bh=RE/7IopaqyKSBpaY0hmuw1voSccaEk/Cw3gwBhJVc2U=; b=Ty2SmS6iY2+dWkeKOyyaOfe+KAQc6n/eCSIKOPWpPcvja2uSHqdJbu6g5y0S82lZdJR24O GZxw5mL0JIDLhUVFGAwIp8aJlQU/L+HTVDk9rha0ZvLohBDJEqwWnTIGDLpofBfyLSGg8r AkSsXMIxnzMA8uG4A7FM/zbOmdzqoT8= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-457-lqy_H3J3PiWZQG_95AzR0A-1; Tue, 23 Apr 2024 08:57:14 -0400 X-MC-Unique: lqy_H3J3PiWZQG_95AzR0A-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 3B20B189AC2D; Tue, 23 Apr 2024 12:57:14 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.45.224.5]) by smtp.corp.redhat.com (Postfix) with ESMTPS id EC41F46AF91; Tue, 23 Apr 2024 12:57:13 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.17.1/8.17.1) with ESMTPS id 43NCvCHR2311960 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Tue, 23 Apr 2024 14:57:12 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.17.1/8.17.1/Submit) id 43NCvC542311959; Tue, 23 Apr 2024 14:57:12 +0200 Date: Tue, 23 Apr 2024 14:57:11 +0200 From: Jakub Jelinek To: Jonathan Wakely Cc: gcc-patches@gcc.gnu.org, Gaius Mulley , Arthur Cohen Subject: [committed] Further spelling fixes in translatable strings Message-ID: Reply-To: Jakub Jelinek References: MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,KAM_SHORT,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Tue, Apr 23, 2024 at 11:32:08AM +0100, Jonathan Wakely wrote: > On Mon, 22 Apr 2024 at 22:30, Jakub Jelinek wrote: > Yup: > https://gcc.gnu.org/codingconventions.html#Spelling > > That spelling is explicitly mentioned at the link above, so they > should be "ize" really. Ok. I've committed that patch plus the following as obvious too. I see various similar cases in m2 and rust FEs where they don't make it into gcc/po/gcc.pot, guess those would be nice to get fixed too, end best even find out how to make those messages translatable. Talking about e.g. m2/gm2-compiler/M2Quads.mod: '%a unrecognised builtin constant', Id) | m2/gm2-compiler/M2Quads.mod: InternalError ('unrecognised value') ... rust/parse/rust-parse-impl.h: "unrecognised token %qs for item in trait", rust/parse/rust-parse-impl.h: "unrecognised token %qs for item in inherent impl", but none of that making it into gcc.pot. 2024-04-23 Jakub Jelinek * 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/config/darwin.opt.jj 2024-01-03 11:51:43.137570111 +0100 +++ gcc/config/darwin.opt 2024-04-23 10:34:56.406196449 +0200 @@ -211,7 +211,7 @@ Driver RejectNegative Separate init Driver RejectNegative Separate --init The symbol will be used as the first initialiser for a dylib. +-init The symbol will be used as the first initializer for a dylib. install_name Driver RejectNegative Separate --- gcc/c-family/c-attribs.cc.jj 2024-01-09 15:35:43.626688356 +0100 +++ gcc/c-family/c-attribs.cc 2024-04-23 10:30:23.458043442 +0200 @@ -6244,7 +6244,7 @@ handle_objc_nullability_attribute (tree || 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; } --- gcc/m2/lang.opt.jj 2024-04-23 08:30:59.312249288 +0200 +++ gcc/m2/lang.opt 2024-04-23 10:34:13.118806549 +0200 @@ -96,7 +96,7 @@ turn on tracing of procedure line number 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 p 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 Jakub