Reported by <Jens.Schleusener@fossies.org>.
* gettext-tools/libgrep/m-regex.c: Fix typo in comments.
* gettext-tools/misc/autopoint.in: Likewise.
* gettext-tools/misc/gettextize.in: Likewise.
* gettext-tools/src/format-python-brace.c: Likewise.
* gettext-tools/src/gnu/gettext/DumpResource.java: Likewise.
* gettext-tools/src/its.h: Likewise.
* gettext-tools/src/locating-rules.h: Likewise.
* gettext-tools/src/msgmerge.c: Likewise.
* gettext-tools/src/read-catalog-abstract.h: Likewise.
* gettext-tools/src/read-catalog-abstract.c: Likewise.
* gettext-tools/src/read-catalog.h: Likewise.
* gettext-tools/src/read-properties.c: Likewise.
* gettext-tools/src/write-java.c: Likewise.
* gettext-tools/src/write-mo.c: Likewise.
* gettext-tools/src/x-d.c: Likewise.
* gettext-tools/src/x-scheme.c: Likewise.
* gettext-tools/src/x-sh.c: Likewise.
* gettext-tools/emacs/po-mode.el: Fix typos in help and comments.
* gettext-tools/doc/gettext.texi: Fix typos.
* NEWS: Fix typos.
set of formatting methods nor translation functions, the
implementation supports only a limited set of formatting methods
and translation functions commonly used in Gjs and other popular
- JavaScript implemenations and libraries.
+ JavaScript implementations and libraries.
- Lua:
xgettext now supports Lua, using Ľubomír Remák's lua-gettext.
version 0.12.
* msgfilter now sets environment variables during the invocation of the
- filter, indicating the msgid and location of the messge being processed.
+ filter, indicating the msgid and location of the message being processed.
* xgettext now can extract plural forms from Qt 4 programs. The recommended
xgettext command-line options for this case are:
Setting the Locale through Environment Variables
* Locale Names:: How a Locale Specification Looks Like
-* Locale Environment Variables:: Which Environment Variable Specfies What
+* Locale Environment Variables:: Which Environment Variable Specifies What
* The LANGUAGE variable:: How to Specify a Priority List of Languages
The Format of PO Files
@menu
* Locale Names:: How a Locale Specification Looks Like
-* Locale Environment Variables:: Which Environment Variable Specfies What
+* Locale Environment Variables:: Which Environment Variable Specifies What
* The LANGUAGE variable:: How to Specify a Priority List of Languages
@end menu
@vindex TERM@r{, environment variable}
The environment variable @code{TERM} contains a identifier for the text
-window's capabilities. You can get a detailed list of these cababilities
+window's capabilities. You can get a detailed list of these capabilities
by using the @samp{infocmp} command, using @samp{man 5 terminfo} as a
reference.
;;; po-mode.el --- major mode for GNU gettext PO files
-;; Copyright (C) 1995-2024 Free Software Foundation, Inc.
+;; Copyright (C) 1995-2025 Free Software Foundation, Inc.
;; Authors: François Pinard <pinard@iro.umontreal.ca>
;; Greg McGary <gkm@magilla.cichlid.com>
)
"*Association list giving team codes from team names.
This is used for generating a submission file name for the 'M' command.
-If a string instead of an alist, it is a team code to use unconditionnally."
+If a string instead of an alist, it is a team code to use unconditionally."
:type 'sexp
:group 'po)
:help "Initialize or replace current translation with the original message"])
("Other files"
["Other window" po-other-window
- :help "Select other window; if necessay split current frame"]
+ :help "Select other window; if necessary split current frame"]
"---"
;; "Program sources"
["Cycle reference in source file" po-cycle-source-reference t]
nil t)
(replace-match "" t t)))))))
\f
-;;; Entry positionning.
+;;; Entry positioning.
(defun po-say-location-depth ()
"Tell how many entries in the entry location stack."
/* Pattern Matchers for Regular Expressions.
- Copyright (C) 1992-2024 Free Software Foundation, Inc.
+ Copyright (C) 1992-2025 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
{
/* If -w, check if the match aligns with word boundaries.
We do this iteratively because:
- (a) the line may contain more than one occurence of the
+ (a) the line may contain more than one occurrence of the
pattern, and
(b) Several alternatives in the pattern might be valid at
a given point, and we may need to consider a shorter
--version | --versio | --versi | --vers | --ver | --ve | --v )
func_version true
exit 0 ;;
- -- ) # Stop option prcessing
+ -- ) # Stop option processing
shift; break ;;
-* )
echo "autopoint: unknown option $1" 1>&2
--version | --versio | --versi | --vers | --ver | --ve | --v )
func_version
exit 0 ;;
- -- ) # Stop option prcessing
+ -- ) # Stop option processing
shift; break ;;
-* )
echo "gettextize: unknown option $1" 1>&2
|| parse_numeric_field (spec, &format, translated, fdi, invalid_reason))
{
/* Parse '.' (getattr) or '[..]' (getitem) operators followed by a
- name. If must not recurse, but can be specifed in a chain, such
+ name. If must not recurse, but can be specified in a chain, such
as "foo.bar.baz[0]". */
for (;;)
{
/* GNU gettext for Java
- * Copyright (C) 2001-2003, 2007 Free Software Foundation, Inc.
+ * Copyright (C) 2001-2025 Free Software Foundation, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Locale locale = new Locale(language,country,variant);
// Get the resource.
ResourceBundle catalog = ResourceBundle.getBundle(resource_name,locale);
- // We are only interested in the messsages belonging to the locale
+ // We are only interested in the messages belonging to the locale
// itself, not in the inherited messages. But catalog.getLocale() exists
// only in Java2 and sometimes differs from the given locale.
try {
/* Internationalization Tag Set (ITS) handling
- Copyright (C) 2015-2024 Free Software Foundation, Inc.
+ Copyright (C) 2015-2025 Free Software Foundation, Inc.
This file was written by Daiki Ueno <ueno@gnu.org>, 2015.
const char *marker,
enum its_whitespace_type_ty whitespace);
-/* Extracts messages from FP, accoding to the loaded ITS rules. */
+/* Extracts messages from FP, according to the loaded ITS rules. */
extern void its_rule_list_extract (its_rule_list_ty *rules,
FILE *fp, const char *real_filename,
const char *logical_filename,
/* XML resource locating rules
- Copyright (C) 2015-2024 Free Software Foundation, Inc.
+ Copyright (C) 2015-2025 Free Software Foundation, Inc.
This file was written by Daiki Ueno <ueno@gnu.org>, 2015.
/* Determines the location of the .its file to be used for FILENAME,
when the "language name" is NAME (can be NULL if not provided),
- accoding to the locating rules in the RULES object.
+ according to the locating rules in the RULES object.
The result is just the base name of the .its file; the caller then
needs to find it, using "search-path.h".
The lifetime of the result is limited by the lifetime of the RULES
}
/* The rest of the Language-Team field should be the english name
- of the languge. Convert to ISO 639 and ISO 3166 syntax. */
+ of the language. Convert to ISO 639 and ISO 3166 syntax. */
{
size_t i;
}
-/* This callback is called whenever a generic comment line has been seeen.
+/* This callback is called whenever a generic comment line has been seen.
It parses s and invokes the appropriate method: call_comment,
call_comment_dot, call_comment_filepos (via parse_comment_filepos), or
call_comment_special. */
/* Reading textual message catalogs (such as PO files), abstract class.
- Copyright (C) 1995-2024 Free Software Foundation, Inc.
+ Copyright (C) 1995-2025 Free Software Foundation, Inc.
This file was written by Peter Miller <millerp@canb.auug.org.au>
extern void
catalog_reader_seen_comment_special (abstract_catalog_reader_ty *catr,
const char *s);
-/* This callback is called whenever a generic comment line has been seeen.
+/* This callback is called whenever a generic comment line has been seen.
It parses s and invokes the appropriate method. */
extern void
catalog_reader_seen_generic_comment (abstract_catalog_reader_ty *catr,
/* If true, pay attention to comments and filepos comments. */ \
bool handle_comments; \
\
- /* If false, domain directives lead to an error messsage. */ \
+ /* If false, domain directives lead to an error message. */ \
bool allow_domain_directives; \
\
/* If false, duplicate msgids in the same domain and file generate an \
The encoding of Java .properties files is:
- ASCII with Java \uxxxx escape sequences,
- - ISO-8859-1 if non-ASCII bytes are encounterd,
+ - ISO-8859-1 if non-ASCII bytes are encountered,
- UTF-8 if non-ASCII bytes are encountered and the entire file is
valid UTF-8 (in Java 9 or newer), see
https://docs.oracle.com/javase/9/intl/internationalization-enhancements-jdk-9.htm */
/* Writing Java ResourceBundles.
- Copyright (C) 2001-2024 Free Software Foundation, Inc.
+ Copyright (C) 2001-2025 Free Software Foundation, Inc.
Written by Bruno Haible <haible@clisp.cons.org>, 2001.
This program is free software: you can redistribute it and/or modify
unsigned int incr;
/* Since the set { idx0, idx0 + incr, ... } depends only on idx0
- and gcd(hashsize,incr), we only need to conside incr that
+ and gcd(hashsize,incr), we only need to consider incr that
divides hashsize. */
for (incr = 1; incr <= hashsize / 2; incr++)
if ((hashsize % incr) == 0)
* None of these PO files uses the 'I' format string flag.
There are few possible <inttypes.h> flavours. Each such flavour gives rise
- to an instantation rule. We ran this test program on various platforms:
+ to an instantiation rule. We ran this test program on various platforms:
=============================================================================
#include <inttypes.h>
#include <stdio.h>
return result;
}
-/* Expand a system dependent string segment for a specific instantation.
+/* Expand a system dependent string segment for a specific instantiation.
Return NULL if unsupported. */
static const char *
get_sysdep_segment_value (struct pre_sysdep_segment segment,
unref_region (arg_region);
}
-/* Extracts messages from the template instantation NODE consisting of
+/* Extracts messages from the template instantiation NODE consisting of
- IDENTIFIER_NODE: a tree node of type 'identifier',
- ARGS_NODE: a tree node of type 'template_arguments'.
Extracted messages are added to MLP. */
/* xgettext Scheme backend.
- Copyright (C) 2004-2024 Free Software Foundation, Inc.
+ Copyright (C) 2004-2025 Free Software Foundation, Inc.
This file was written by Bruno Haible <bruno@clisp.org>, 2004-2005.
phase1_ungetc (c);
if (c == '(')
{
- /* Homogenous vector syntax:
+ /* Homogeneous vector syntax:
#a(...) - vector of char
#c(...) - vector of complex (old)
#c32(...) - vector of complex of single-float
phase1_ungetc (c);
if (c == '(')
{
- /* Homogenous vector syntax:
+ /* Homogeneous vector syntax:
#e(...) - vector of long (old)
#i(...) - vector of double-float (old)
*/
The result is QUOTED(c) for some unsigned char c, if the next character
is escaped sufficiently often to make it a regular constituent character,
or simply an 'unsigned char' if it has its special meaning (of special,
- whitespace or operator charcter), or OPENING_BACKQUOTE, CLOSING_BACKQUOTE,
+ whitespace or operator character), or OPENING_BACKQUOTE, CLOSING_BACKQUOTE,
EOF.
It's the caller's responsibility to update the state. */
static int