diff --git a/miniconda3/share/doc/gettext/autopoint.1.html b/miniconda3/share/doc/gettext/autopoint.1.html new file mode 100644 index 0000000000000000000000000000000000000000..f7e4e9df9a03a6f4b4986ed1e0f7dd293d6dbe7f --- /dev/null +++ b/miniconda3/share/doc/gettext/autopoint.1.html @@ -0,0 +1,148 @@ + + + + + + + + +AUTOPOINT + + + + +

AUTOPOINT

+ +NAME
+SYNOPSIS
+DESCRIPTION
+OPTIONS
+AUTHOR
+REPORTING BUGS
+COPYRIGHT
+SEE ALSO
+ +
+ + +

NAME + +

+ + +

autopoint +- copies standard gettext infrastructure

+ +

SYNOPSIS + +

+ + + +

autopoint +[OPTION]...

+ +

DESCRIPTION + +

+ + +

Copies standard +gettext infrastructure files into a source package.

+ +

OPTIONS + +

+ + + + + + + + + +
+ + +

--help

+ + +

print this help and exit

+
+ + +

--version

+ +

print version information and +exit

+ +

-f, +--force

+ +

force overwriting of files that +already exist

+ +

-n, +--dry-run

+ +

print modifications but +don’t perform them

+ +

AUTHOR + +

+ + +

Written by +Bruno Haible

+ +

REPORTING BUGS + +

+ + +

Report bugs in +the bug tracker at +<https://savannah.gnu.org/projects/gettext> or by +email to <bug-gettext@gnu.org>.

+ +

COPYRIGHT + +

+ + +

Copyright +© 2002-2025 Free Software Foundation, Inc. +License GPLv3+: GNU GPL version 3 or later +<https://gnu.org/licenses/gpl.html>
+This is free software: you are free to change and +redistribute it. There is NO WARRANTY, to the extent +permitted by law.

+ +

SEE ALSO + +

+ + +

The full +documentation for autopoint is maintained as a +Texinfo manual. If the info and autopoint +programs are properly installed at your site, the +command

+ +

info +autopoint

+ +

should give you +access to the complete manual.

+
+ + diff --git a/miniconda3/share/doc/gettext/bind_textdomain_codeset.3.html b/miniconda3/share/doc/gettext/bind_textdomain_codeset.3.html new file mode 100644 index 0000000000000000000000000000000000000000..c6a5a96eeed709c90ccdce7e32cd97257bd6518f --- /dev/null +++ b/miniconda3/share/doc/gettext/bind_textdomain_codeset.3.html @@ -0,0 +1,158 @@ + + + + + + + + +BIND_TEXTDOMAIN_CODESET + + + + +

BIND_TEXTDOMAIN_CODESET

+ +NAME
+SYNOPSIS
+DESCRIPTION
+RETURN VALUE
+ERRORS
+BUGS
+SEE ALSO
+ +
+ + +

NAME + +

+ + + +

bind_textdomain_codeset +- set encoding of message translations

+ +

SYNOPSIS + +

+ + +

#include +<libintl.h>

+ +

char * +bind_textdomain_codeset (const char * +domainname,
+const char *
codeset);

+ +

DESCRIPTION + +

+ + +

The +bind_textdomain_codeset function sets the output +codeset for message catalogs for domain +domainname.

+ +

A message +domain is a set of translatable msgid messages. +Usually, every software package has its own message +domain.

+ +

By default, the +gettext family of functions returns translated +messages in the locale’s character encoding, which can +be retrieved as nl_langinfo (CODESET). The need for +calling bind_textdomain_codeset arises for programs +which store strings in a locale independent way (e.g. UTF-8) +and want to avoid an extra character set conversion on the +returned translated messages.

+ + +

domainname +must be a non-empty string.

+ +

If +codeset is not NULL, it must be a valid encoding name +which can be used for the iconv_open function. The +bind_textdomain_codeset function sets the output +codeset for message catalogs belonging to domain +domainname to codeset. The function makes +copies of the argument strings as needed.

+ +

If +codeset is NULL, the function returns the previously +set codeset for domain domainname. The default is +NULL, denoting the locale’s character encoding.

+ +

RETURN VALUE + +

+ + +

If successful, +the bind_textdomain_codeset function returns the +current codeset for domain domainname, after possibly +changing it. The resulting string is valid until the next +bind_textdomain_codeset call for the same +domainname and must not be modified or freed. If a +memory allocation failure occurs, it sets errno to +ENOMEM and returns NULL. If no codeset has been set +for domain domainname, it returns NULL.

+ +

ERRORS + +

+ + +

The following +error can occur, among others:

+ + + + + + + + +
+ + +

ENOMEM

+ + +

Not enough memory available.

+
+ +

BUGS + +

+ + +

The return type +ought to be const char *, but is char * to +avoid warnings in C code predating ANSI C.

+ +

SEE ALSO + +

+ + + +

gettext(3), +dgettext(3), dcgettext(3), ngettext(3), +dngettext(3), dcngettext(3), +textdomain(3), nl_langinfo(3), +iconv_open(3)

+
+ + diff --git a/miniconda3/share/doc/gettext/bindtextdomain.3.html b/miniconda3/share/doc/gettext/bindtextdomain.3.html new file mode 100644 index 0000000000000000000000000000000000000000..622f2fdd6a556f35819461e1407f4adf2b9f5c28 --- /dev/null +++ b/miniconda3/share/doc/gettext/bindtextdomain.3.html @@ -0,0 +1,154 @@ + + + + + + + + +BINDTEXTDOMAIN + + + + +

BINDTEXTDOMAIN

+ +NAME
+SYNOPSIS
+DESCRIPTION
+RETURN VALUE
+ERRORS
+BUGS
+SEE ALSO
+ +
+ + +

NAME + +

+ + +

bindtextdomain +- set directory containing message catalogs

+ +

SYNOPSIS + +

+ + +

#include +<libintl.h>

+ +

char * +bindtextdomain (const char * domainname, const +char * dirname);

+ +

DESCRIPTION + +

+ + +

The +bindtextdomain function sets the base directory of +the hierarchy containing message catalogs for a given +message domain.

+ +

A message +domain is a set of translatable msgid messages. +Usually, every software package has its own message domain. +The need for calling bindtextdomain arises because +packages are not always installed with the same prefix as +the <libintl.h> header and the libc/libintl +libraries.

+ +

Message +catalogs will be expected at the pathnames +dirname/locale/category/domainname.mo, +where locale is a locale name and category is +a locale facet such as LC_MESSAGES.

+ + +

domainname +must be a non-empty string.

+ +

If +dirname is not NULL, the base directory for message +catalogs belonging to domain domainname is set to +dirname. The function makes copies of the argument +strings as needed. If the program wishes to call the +chdir function, it is important that dirname +be an absolute pathname; otherwise it cannot be guaranteed +that the message catalogs will be found.

+ +

If +dirname is NULL, the function returns the previously +set base directory for domain domainname.

+ +

RETURN VALUE + +

+ + +

If successful, +the bindtextdomain function returns the current base +directory for domain domainname, after possibly +changing it. The resulting string is valid until the next +bindtextdomain call for the same domainname +and must not be modified or freed. If a memory allocation +failure occurs, it sets errno to ENOMEM and +returns NULL.

+ +

ERRORS + +

+ + +

The following +error can occur, among others:

+ + + + + + + + +
+ + +

ENOMEM

+ + +

Not enough memory available.

+
+ +

BUGS + +

+ + +

The return type +ought to be const char *, but is char * to +avoid warnings in C code predating ANSI C.

+ +

SEE ALSO + +

+ + + +

gettext(3), +dgettext(3), dcgettext(3), ngettext(3), +dngettext(3), dcngettext(3), +textdomain(3), realpath(3)

+
+ + diff --git a/miniconda3/share/doc/gettext/csharpdoc/GNU_Gettext.html b/miniconda3/share/doc/gettext/csharpdoc/GNU_Gettext.html new file mode 100644 index 0000000000000000000000000000000000000000..ec0ec953cbee166a342c3174634a8e9b8356203a --- /dev/null +++ b/miniconda3/share/doc/gettext/csharpdoc/GNU_Gettext.html @@ -0,0 +1,8 @@ + + +GNU.Gettext Namespace

+ +GettextResourceManager
+GettextResourceSet
+ + diff --git a/miniconda3/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceManager.html b/miniconda3/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceManager.html new file mode 100644 index 0000000000000000000000000000000000000000..e23756724750388bba624936865101a1e66327d9 --- /dev/null +++ b/miniconda3/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceManager.html @@ -0,0 +1,305 @@ + + +GNU.Gettext.GettextResourceManager Class + + +

GNU.Gettext.GettextResourceManager Class

+ +
+ + +
public class GettextResourceManager: System.Resources.ResourceManager
+
+ +

Base Types

+ +
+System.Resources.ResourceManager
+  GettextResourceManager

+ +

+ +

Library

+ +
+GNU.Gettext +
+ +

Summary

+ +
+ +Each instance of this class can be used to lookup translations for a +given resource name. For each CultureInfo, it performs the lookup +in several assemblies, from most specific over territory-neutral to +language-neutral. +
+ +

See Also

+ +
+GNU.Gettext Namespace +
+ +

Members

+ +
+

+ +GettextResourceManager Constructors

+ +GettextResourceManager(System.String) Constructor
+GettextResourceManager(System.String, System.Reflection.Assembly) Constructor
+

+ +GettextResourceManager Methods

+ +GettextResourceManager.GetPluralString(System.String, System.String, long, System.Globalization.CultureInfo) Method
+GettextResourceManager.GetPluralString(System.String, System.String, long) Method
+GettextResourceManager.GetString(System.String, System.Globalization.CultureInfo) Method
+GettextResourceManager.GetString(System.String) Method
+

+ +
+ +

GettextResourceManager(System.String) Constructor

+ +
+ + +
public GettextResourceManager(System.String baseName);
+
+ +

Summary

+ +
+ +Constructor. +
+ +

Parameters

+ +
+
+
baseName
+
the resource name, also the assembly base + name
+
+
+ +

See Also

+ +
+GNU.Gettext.GettextResourceManager Class, GNU.Gettext Namespace +
+ +
+ +

GettextResourceManager(System.String, System.Reflection.Assembly) Constructor

+ +
+ + +
public GettextResourceManager(System.String baseName, System.Reflection.Assembly assembly);
+
+ +

Summary

+ +
+ +Constructor. +
+ +

Parameters

+ +
+
+
baseName
+
the resource name, also the assembly base + name
+
+
+ +

See Also

+ +
+GNU.Gettext.GettextResourceManager Class, GNU.Gettext Namespace +
+ +
+ +

GettextResourceManager.GetPluralString(System.String, System.String, long, System.Globalization.CultureInfo) Method

+ +
+ + +
public virtual System.String GetPluralString(System.String msgid, System.String msgidPlural, long n, System.Globalization.CultureInfo culture);
+
+ +

Summary

+ +
+ +Returns the translation of msgid and +msgidPlural in a given culture, choosing the right +plural form depending on the number n. +
+ +

Parameters

+ +
+
+
msgid
+
the key string to be translated, an ASCII + string
+
msgidPlural
+
the English plural of msgid, + an ASCII string
+
n
+
the number, should be >= 0
+
+
+ +

Return Value

+ +
+the translation, or msgid or + msgidPlural if none is found +
+ +

See Also

+ +
+GNU.Gettext.GettextResourceManager Class, GNU.Gettext Namespace +
+ +
+ +

GettextResourceManager.GetPluralString(System.String, System.String, long) Method

+ +
+ + +
public virtual System.String GetPluralString(System.String msgid, System.String msgidPlural, long n);
+
+ +

Summary

+ +
+ +Returns the translation of msgid and +msgidPlural in the current culture, choosing the +right plural form depending on the number n. +
+ +

Parameters

+ +
+
+
msgid
+
the key string to be translated, an ASCII + string
+
msgidPlural
+
the English plural of msgid, + an ASCII string
+
n
+
the number, should be >= 0
+
+
+ +

Return Value

+ +
+the translation, or msgid or + msgidPlural if none is found +
+ +

See Also

+ +
+GNU.Gettext.GettextResourceManager Class, GNU.Gettext Namespace +
+ +
+ +

GettextResourceManager.GetString(System.String, System.Globalization.CultureInfo) Method

+ +
+ + +
public override System.String GetString(System.String msgid, System.Globalization.CultureInfo culture);
+
+ +

Summary

+ +
+ +Returns the translation of msgid in a given culture. +
+ +

Parameters

+ +
+
+
msgid
+
the key string to be translated, an ASCII + string
+
+
+ +

Return Value

+ +
+the translation of msgid, or + msgid if none is found +
+ +

See Also

+ +
+GNU.Gettext.GettextResourceManager Class, GNU.Gettext Namespace +
+ +
+ +

GettextResourceManager.GetString(System.String) Method

+ +
+ + +
public override System.String GetString(System.String msgid);
+
+ +

Summary

+ +
+ +Returns the translation of msgid in the current +culture. +
+ +

Parameters

+ +
+
+
msgid
+
the key string to be translated, an ASCII + string
+
+
+ +

Return Value

+ +
+the translation of msgid, or + msgid if none is found +
+ +

See Also

+ +
+GNU.Gettext.GettextResourceManager Class, GNU.Gettext Namespace +
+ + + diff --git a/miniconda3/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceSet.html b/miniconda3/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceSet.html new file mode 100644 index 0000000000000000000000000000000000000000..64869c9973a04a3d2e9c89c5680f690153e3225f --- /dev/null +++ b/miniconda3/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceSet.html @@ -0,0 +1,356 @@ + + +GNU.Gettext.GettextResourceSet Class + + +

GNU.Gettext.GettextResourceSet Class

+ +
+ + +
public class GettextResourceSet: System.Resources.ResourceSet
+
+ +

Base Types

+ +
+System.Resources.ResourceSet
+  GettextResourceSet

+ +

+ +

Library

+ +
+GNU.Gettext +
+ +

Summary

+ +
+ +Each instance of this class encapsulates a single PO file. +

+ + +This API of this class is not meant to be used directly; use +GettextResourceManager instead. +

+ +

+ +

See Also

+ +
+GNU.Gettext Namespace +
+ +

Members

+ +
+

+ +GettextResourceSet Constructors

+ +GettextResourceSet() Constructor
+GettextResourceSet(System.Resources.IResourceReader) Constructor
+GettextResourceSet(System.IO.Stream) Constructor
+GettextResourceSet(System.String) Constructor
+

+ +GettextResourceSet Methods

+ +GettextResourceSet.GetPluralString Method
+GettextResourceSet.GetString(System.String) Method
+GettextResourceSet.GetString(System.String, bool) Method
+GettextResourceSet.PluralEval Method
+

+ +GettextResourceSet Properties

+ +GettextResourceSet.Keys Property
+

+ +
+ +

GettextResourceSet() Constructor

+ +
+ + +
protected GettextResourceSet();
+
+ +

Summary

+ +
+ +Creates a new message catalog. When using this constructor, you +must override the ReadResources method, in order to initialize +the Table property. The message catalog will support plural +forms only if the ReadResources method installs values of type +String[] and if the PluralEval method is overridden. +
+ +

See Also

+ +
+GNU.Gettext.GettextResourceSet Class, GNU.Gettext Namespace +
+ +
+ +

GettextResourceSet(System.Resources.IResourceReader) Constructor

+ +
+ + +
public GettextResourceSet(System.Resources.IResourceReader reader);
+
+ +

Summary

+ +
+ +Creates a new message catalog, by reading the string/value pairs from +the given reader. The message catalog will support +plural forms only if the reader can produce values of type +String[] and if the PluralEval method is overridden. +
+ +

See Also

+ +
+GNU.Gettext.GettextResourceSet Class, GNU.Gettext Namespace +
+ +
+ +

GettextResourceSet(System.IO.Stream) Constructor

+ +
+ + +
public GettextResourceSet(System.IO.Stream stream);
+
+ +

Summary

+ +
+ +Creates a new message catalog, by reading the string/value pairs from +the given stream, which should have the format of +a .resources file. The message catalog will not support plural +forms. +
+ +

See Also

+ +
+GNU.Gettext.GettextResourceSet Class, GNU.Gettext Namespace +
+ +
+ +

GettextResourceSet(System.String) Constructor

+ +
+ + +
public GettextResourceSet(System.String fileName);
+
+ +

Summary

+ +
+ +Creates a new message catalog, by reading the string/value pairs from +the file with the given fileName. The file should +be in the format of a .resources file. The message catalog will +not support plural forms. +
+ +

See Also

+ +
+GNU.Gettext.GettextResourceSet Class, GNU.Gettext Namespace +
+ +
+ +

GettextResourceSet.GetPluralString Method

+ +
+ + +
public virtual System.String GetPluralString(System.String msgid, System.String msgidPlural, long n);
+
+ +

Summary

+ +
+ +Returns the translation of msgid and +msgidPlural, choosing the right plural form +depending on the number n. +
+ +

Parameters

+ +
+
+
msgid
+
the key string to be translated, an ASCII + string
+
msgidPlural
+
the English plural of msgid, + an ASCII string
+
n
+
the number, should be >= 0
+
+
+ +

Return Value

+ +
+the translation, or null if none is found +
+ +

See Also

+ +
+GNU.Gettext.GettextResourceSet Class, GNU.Gettext Namespace +
+ +
+ +

GettextResourceSet.GetString(System.String) Method

+ +
+ + +
public override System.String GetString(System.String msgid);
+
+ +

Summary

+ +
+ +Returns the translation of msgid. +
+ +

Parameters

+ +
+
+
msgid
+
the key string to be translated, an ASCII + string
+
+
+ +

Return Value

+ +
+the translation of msgid, or null if + none is found +
+ +

See Also

+ +
+GNU.Gettext.GettextResourceSet Class, GNU.Gettext Namespace +
+ +
+ +

GettextResourceSet.GetString(System.String, bool) Method

+ +
+ + +
public override System.String GetString(System.String msgid, bool ignoreCase);
+
+ +

Summary

+ +
+ +Returns the translation of msgid, with possibly +case-insensitive lookup. +
+ +

Parameters

+ +
+
+
msgid
+
the key string to be translated, an ASCII + string
+
+
+ +

Return Value

+ +
+the translation of msgid, or null if + none is found +
+ +

See Also

+ +
+GNU.Gettext.GettextResourceSet Class, GNU.Gettext Namespace +
+ +
+ +

GettextResourceSet.PluralEval Method

+ +
+ + +
protected virtual long PluralEval(long n);
+
+ +

Summary

+ +
+ +Returns the index of the plural form to be chosen for a given number. +The default implementation is the Germanic plural formula: +zero for n == 1, one for n != 1. +
+ +

See Also

+ +
+GNU.Gettext.GettextResourceSet Class, GNU.Gettext Namespace +
+ +
+ +

GettextResourceSet.Keys Property

+ +
+ + +
public virtual System.Collections.ICollection Keys { get; }
+
+ +

Summary

+ +
+ +Returns the keys of this resource set, i.e. the strings for which +GetObject() can return a non-null value. +
+ +

See Also

+ +
+GNU.Gettext.GettextResourceSet Class, GNU.Gettext Namespace +
+ + + diff --git a/miniconda3/share/doc/gettext/csharpdoc/begin.html b/miniconda3/share/doc/gettext/csharpdoc/begin.html new file mode 100644 index 0000000000000000000000000000000000000000..a0917d6140a0de01dfea78f6adbef096d77ccb9b --- /dev/null +++ b/miniconda3/share/doc/gettext/csharpdoc/begin.html @@ -0,0 +1,11 @@ + +- + +

-

+ +
+GNU.Gettext Namespace
+
+ + + diff --git a/miniconda3/share/doc/gettext/csharpdoc/index.html b/miniconda3/share/doc/gettext/csharpdoc/index.html new file mode 100644 index 0000000000000000000000000000000000000000..96aa05a15a2cf365f7d5f52257c7cbcb61a7ea78 --- /dev/null +++ b/miniconda3/share/doc/gettext/csharpdoc/index.html @@ -0,0 +1,10 @@ + +- + + + + + + + + diff --git a/miniconda3/share/doc/gettext/csharpdoc/namespaces.html b/miniconda3/share/doc/gettext/csharpdoc/namespaces.html new file mode 100644 index 0000000000000000000000000000000000000000..9ffd95e7a2283323a35bf988a2e93c09f71a64ba --- /dev/null +++ b/miniconda3/share/doc/gettext/csharpdoc/namespaces.html @@ -0,0 +1,6 @@ + + +Namespaces

+GNU.Gettext
+ + diff --git a/miniconda3/share/doc/gettext/envsubst.1.html b/miniconda3/share/doc/gettext/envsubst.1.html new file mode 100644 index 0000000000000000000000000000000000000000..70a7628081ca3f8e582cb0ee215322f8654ae7df --- /dev/null +++ b/miniconda3/share/doc/gettext/envsubst.1.html @@ -0,0 +1,142 @@ + + + + + + + + +ENVSUBST + + + + +

ENVSUBST

+ +NAME
+SYNOPSIS
+DESCRIPTION
+AUTHOR
+REPORTING BUGS
+COPYRIGHT
+SEE ALSO
+ +
+ + +

NAME + +

+ + +

envsubst +- substitutes environment variables in shell format +strings

+ +

SYNOPSIS + +

+ + + +

envsubst +[OPTION] [SHELL-FORMAT]

+ +

DESCRIPTION + +

+ + +

Substitutes the +values of environment variables.

+ +

Operation +mode:
+-v
, --variables

+ +

output the variables occurring +in SHELL-FORMAT

+ +

Informative +output:
+-h
, --help

+ +

display this help and exit

+ +

-V, +--version

+ +

output version information and +exit

+ +

In normal +operation mode, standard input is copied to standard output, +with references to environment variables of the form +$VARIABLE or ${VARIABLE} being replaced with the +corresponding values. If a SHELL-FORMAT is given, only +those environment variables that are referenced in +SHELL-FORMAT are substituted; otherwise all +environment variables references occurring in standard input +are substituted.

+ +

When +--variables is used, standard input is +ignored, and the output consists of the environment +variables that are referenced in SHELL-FORMAT, one per +line.

+ +

AUTHOR + +

+ + +

Written by +Bruno Haible.

+ +

REPORTING BUGS + +

+ + +

Report bugs in +the bug tracker at +<https://savannah.gnu.org/projects/gettext> or by +email to <bug-gettext@gnu.org>.

+ +

COPYRIGHT + +

+ + +

Copyright +© 2003-2025 Free Software Foundation, Inc. +License GPLv3+: GNU GPL version 3 or later +<https://gnu.org/licenses/gpl.html>
+This is free software: you are free to change and +redistribute it. There is NO WARRANTY, to the extent +permitted by law.

+ +

SEE ALSO + +

+ + +

The full +documentation for envsubst is maintained as a Texinfo +manual. If the info and envsubst programs are +properly installed at your site, the command

+ +

info +envsubst

+ +

should give you +access to the complete manual.

+
+ + diff --git a/miniconda3/share/doc/gettext/examples/README b/miniconda3/share/doc/gettext/examples/README new file mode 100644 index 0000000000000000000000000000000000000000..16bbfb395f04f411dcde112adfb281def1fe8e07 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/README @@ -0,0 +1,115 @@ +This directory contains simple examples of the use of GNU gettext. +Each example is a simple "hello world" program with a very small message +catalog, written in a particular programming language for a particular +environment. + + Example Language GUI Environment + + hello-c C + hello-c-gnome2 C GNOME 2 (obsolete) + hello-c-gnome3 C GNOME 3.10 or later + hello-c-http C web browser + hello-c++ C++ + hello-c++20 C++ 20 + hello-c++-qt C++ Qt + hello-c++-kde C++ KDE + hello-c++-gnome2 C++ GNOME 2 (obsolete) + hello-c++-gnome3 C++ GNOME 3.10 or later + hello-c++-wxwidgets C++ wxWidgets + hello-objc ObjectiveC + hello-objc-gnustep ObjectiveC GNUstep + hello-objc-gnome2 ObjectiveC GNOME 2 (obsolete) + hello-python Python + hello-java Java + hello-java-awt Java AWT + hello-java-swing Java Swing + hello-java-qtjambi Java Qt + hello-csharp C# + hello-csharp-forms C# Forms + hello-guile Scheme + hello-clisp Lisp + hello-librep librep + hello-rust Rust + hello-go Go + hello-go-http Go web browser + hello-ruby Ruby + hello-sh Shell + hello-gawk awk + hello-pascal Pascal + hello-modula2 Modula-2 + hello-d D + hello-smalltalk Smalltalk + hello-tcl Tcl + hello-tcl-tk Tcl Tk + hello-perl Perl + hello-php PHP + hello-ycp YCP libyui + +Before building an example, you need to + 1. Build and install the GNU gettext package, as described in the INSTALL + file. + 2. cd to the example and do + ./autogen.sh + 3. Then you can build the example as usual: + ./configure --prefix=/some/prefix + make + make install + and see it work by executing + /some/prefix/bin/hello + +The po/ directories of the examples use different binary catalog formats and +Makefile types: + + Example Binary catalog format Makefile type + + hello-c .gmo Makefile.in.in + hello-c-gnome2 .gmo Makefile.in.in + hello-c-gnome3 .gmo Makefile.in.in + hello-c-http .gmo Makefile.in.in + hello-c++ .gmo Makefile.in.in + hello-c++20 .gmo Makefile.in.in + hello-c++-kde .gmo Makefile.in.in + hello-c++-gnome2 .gmo Makefile.in.in + hello-c++-gnome3 .gmo Makefile.in.in + hello-objc .gmo Makefile.in.in + hello-objc-gnome2 .gmo Makefile.in.in + hello-c++-wxwidgets .gmo Makefile.am + hello-python .gmo Makefile.am + hello-guile .gmo Makefile.am + hello-clisp .gmo Makefile.am + hello-librep .gmo Makefile.am + hello-rust .gmo Makefile.am + hello-go .gmo Makefile.am + hello-go-http .gmo Makefile.am + hello-ruby .gmo Makefile.am + hello-sh .gmo Makefile.am + hello-gawk .gmo Makefile.am + hello-pascal .gmo Makefile.am + hello-modula2 .gmo Makefile.am + hello-d .gmo Makefile.am + hello-smalltalk .gmo Makefile.am + hello-perl .gmo Makefile.am + hello-php .gmo Makefile.am + hello-ycp .gmo Makefile.am + hello-java .properties Makefile.am + hello-java-awt .properties Makefile.am + hello-java-swing .properties Makefile.am + hello-java-qtjambi .properties Makefile.am + hello-csharp .resources.dll Makefile.am + hello-csharp-forms .resources.dll Makefile.am + hello-tcl .msg Makefile.am + hello-tcl-tk .msg Makefile.am + hello-c++-qt .qm Makefile.am + hello-objc-gnustep .strings GNUmakefile + +The Makefiles in the po/ directories make use of the variable assignment +operator != standardized by POSIX:2024 +. +They thus require a 'make' implementation that supports this operator !=. +As of 2024, these are: GNU make >= 4.0, FreeBSD make, NetBSD make, +OpenBSD make. This means that building on specific platforms requires +use of GNU make: + - On macOS, use /opt/homebrew/bin/gmake. + - On Solaris 11 OpenIndiana, use /usr/bin/gmake = /usr/gnu/bin/make. + - On Solaris 11.4, install GNU make yourself. + - On AIX, use /opt/freeware/bin/make. diff --git a/miniconda3/share/doc/gettext/examples/build-aux/csharp.m4 b/miniconda3/share/doc/gettext/examples/build-aux/csharp.m4 new file mode 100644 index 0000000000000000000000000000000000000000..8e4c1c32564c72405eb7bfe1e4f8d4440e3ce6f8 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/build-aux/csharp.m4 @@ -0,0 +1,34 @@ +# csharp.m4 +# serial 5 +dnl Copyright (C) 2004-2005, 2009-2025 Free Software Foundation, Inc. +dnl This file is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. +dnl This file is offered as-is, without any warranty. + +# Sets CSHARP_CHOICE to the preferred C# implementation: +# 'mono' or 'dotnet' or 'any' or 'no'. +# Here +# - 'mono' means . +# - 'dotnet' means the (newer) .NET , +# *not* the .NET framework . +AC_DEFUN([gt_CSHARP_CHOICE], +[ + AC_MSG_CHECKING([for preferred C[#] implementation]) + AC_ARG_ENABLE([csharp], + [ --enable-csharp[[=IMPL]] choose preferred C[#] implementation (mono, dotnet)], + [CSHARP_CHOICE="$enableval"], + CSHARP_CHOICE=any) + AC_SUBST([CSHARP_CHOICE]) + AC_MSG_RESULT([$CSHARP_CHOICE]) + case "$CSHARP_CHOICE" in + mono) + AC_DEFINE([CSHARP_CHOICE_MONO], [1], + [Define if mono is the preferred C# implementation.]) + ;; + dotnet) + AC_DEFINE([CSHARP_CHOICE_DOTNET], [1], + [Define if dotnet is the preferred C# implementation.]) + ;; + esac +]) diff --git a/miniconda3/share/doc/gettext/examples/build-aux/csharpcomp.m4 b/miniconda3/share/doc/gettext/examples/build-aux/csharpcomp.m4 new file mode 100644 index 0000000000000000000000000000000000000000..238715123f8c8872df1bbb937b448c6398ce7273 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/build-aux/csharpcomp.m4 @@ -0,0 +1,93 @@ +# csharpcomp.m4 +# serial 11 +dnl Copyright (C) 2003-2005, 2007, 2009-2025 Free Software Foundation, Inc. +dnl This file is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. +dnl This file is offered as-is, without any warranty. + +# Prerequisites of csharpcomp.sh. +# Checks for a C# compiler. +# Sets at most one of HAVE_MCS, HAVE_DOTNET_SDK, HAVE_DOTNET_CSC, HAVE_CSC. +# Sets HAVE_CSHARPCOMP to nonempty if csharpcomp.sh will work. +# Also sets CSHARPCOMPFLAGS. +AC_DEFUN([gt_CSHARPCOMP], +[ + AC_REQUIRE([gt_CSHARP_CHOICE]) + AC_MSG_CHECKING([for C[#] compiler]) + HAVE_CSHARPCOMP=1 + pushdef([AC_MSG_CHECKING],[:])dnl + pushdef([AC_CHECKING],[:])dnl + pushdef([AC_MSG_RESULT],[:])dnl + AC_CHECK_PROG([HAVE_MCS_IN_PATH], [mcs], [yes]) + AC_CHECK_PROG([HAVE_DOTNET_IN_PATH], [dotnet], [yes]) + AC_CHECK_PROG([HAVE_CSC_IN_PATH], [csc], [yes]) + popdef([AC_MSG_RESULT])dnl + popdef([AC_CHECKING])dnl + popdef([AC_MSG_CHECKING])dnl + for impl in "$CSHARP_CHOICE" mono dotnet sscli no; do + case "$impl" in + mono) + if test -n "$HAVE_MCS_IN_PATH" \ + && mcs --version >/dev/null 2>/dev/null \ + && mcs --version 2>/dev/null | grep Mono >/dev/null; then + HAVE_MCS=1 + ac_result="mcs" + break + fi + ;; + dotnet) + # The dotnet compiler is called "Roslyn". + # + # There are two situations: + # - A dotnet SDK, that contains a 'dotnet' program and the Roslyn + # compiler as csc.dll. + # - An MSVC installation, that contains the Roslyn compiler as csc.exe + # (e.g. in C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\Roslyn\csc.exe). + # In the first case, the user only has to make sure that 'dotnet' is + # found in $PATH. + # In the second case, they need to make sure that both 'dotnet' and + # 'csc' are found in $PATH. + if test -n "$HAVE_DOTNET_IN_PATH" \ + && dotnet --list-runtimes >/dev/null 2>/dev/null \ + && test -n "`dotnet --list-sdks 2>/dev/null`"; then + HAVE_DOTNET_SDK=1 + ac_result="dotnet" + break + else + if test -n "$HAVE_CSC_IN_PATH" \ + && csc -help 2>/dev/null | grep analyzer >/dev/null \ + && { if csc -help 2>/dev/null | grep -i chicken > /dev/null; then false; else true; fi; }; then + HAVE_DOTNET_CSC=1 + ac_result="dotnet" + break + fi + fi + ;; + sscli) + if test -n "$HAVE_CSC_IN_PATH" \ + && csc -help >/dev/null 2>/dev/null \ + && { if csc -help 2>/dev/null | grep -i chicken > /dev/null; then false; else true; fi; }; then + HAVE_CSC=1 + ac_result="csc" + break + fi + ;; + no) + HAVE_CSHARPCOMP= + ac_result="no" + break + ;; + esac + done + AC_MSG_RESULT([$ac_result]) + AC_SUBST([HAVE_MCS]) + AC_SUBST([HAVE_DOTNET_SDK]) + AC_SUBST([HAVE_DOTNET_CSC]) + AC_SUBST([HAVE_CSC]) + dnl Provide a default for CSHARPCOMPFLAGS. + if test -z "${CSHARPCOMPFLAGS+set}"; then + CSHARPCOMPFLAGS="-O -g" + fi + AC_SUBST([CSHARPCOMPFLAGS]) +]) diff --git a/miniconda3/share/doc/gettext/examples/build-aux/csharpcomp.sh.in b/miniconda3/share/doc/gettext/examples/build-aux/csharpcomp.sh.in new file mode 100644 index 0000000000000000000000000000000000000000..6a5f4537a2496abafcb55bd06608504510cf8d66 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/build-aux/csharpcomp.sh.in @@ -0,0 +1,247 @@ +#!/bin/sh +# Compile a C# program. + +# Copyright (C) 2003-2025 Free Software Foundation, Inc. +# Written by Bruno Haible , 2003. +# +# 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 +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# This uses the same choices as csharpcomp.c, but instead of relying on the +# environment settings at run time, it uses the environment variables +# present at configuration time. +# +# This is a separate shell script, because the various C# compilers have +# different command line options. +# +# Usage: /bin/sh csharpcomp.sh [OPTION] SOURCE.cs ... RES.resource ... +# Options: +# -o PROGRAM.exe or -o LIBRARY.dll +# set the output assembly name +# -L DIRECTORY search for C# libraries also in DIRECTORY +# -l LIBRARY reference the C# library LIBRARY.dll +# -O optimize +# -g generate debugging information + +# func_tmpdir +# creates a temporary directory. +# Sets variable +# - tmp pathname of freshly created temporary directory +func_tmpdir () +{ + # Use the environment variable TMPDIR, falling back to /tmp. This allows + # users to specify a different temporary directory, for example, if their + # /tmp is filled up or too small. + : "${TMPDIR=/tmp}" + { + # Use the mktemp program if available. If not available, hide the error + # message. + tmp=`(umask 077 && mktemp -d -q "$TMPDIR/gtXXXXXX") 2>/dev/null` && + test -n "$tmp" && test -d "$tmp" + } || + { + # Use a simple mkdir command. It is guaranteed to fail if the directory + # already exists. $RANDOM is bash specific and expands to empty in shells + # other than bash, ksh and zsh. Its use does not increase security; + # rather, it minimizes the probability of failure in a very cluttered /tmp + # directory. + tmp=$TMPDIR/gt$$-$RANDOM + (umask 077 && mkdir "$tmp") + } || + { + echo "$0: cannot create a temporary directory in $TMPDIR" >&2 + { (exit 1); exit 1; } + } +} + +# In order to construct a command that invokes csc, we need 'eval', because +# some of the arguments may contain spaces. +command_for_print= +command_for_eval= +options_csc_for_print= +options_csc_for_eval= +sources_csc_for_print= +sources_csc_for_eval= +# Protecting special characters, hiding them from 'eval': +# Double each backslash. +sed_protect_1='s/\\/\\\\/g' +# Escape each dollar, backquote, double-quote. +sed_protect_2a='s/\$/\\$/g' +sed_protect_2b='s/`/\\`/g' +sed_protect_2c='s/"/\\"/g' +# Add double-quotes at the beginning and end of the word. +sed_protect_3a='1s/^/"/' +sed_protect_3b='$s/$/"/' +func_add_word_to_command () +{ + command_for_print="${command_for_print:+$command_for_print }$1" + word_protected=`echo "$1" | sed -e "$sed_protect_1" -e "$sed_protect_2a" -e "$sed_protect_2b" -e "$sed_protect_2c" -e "$sed_protect_3a" -e "$sed_protect_3b"` + command_for_eval="${command_for_eval:+$command_for_eval }$word_protected" +} +func_add_word_to_options_csc () +{ + options_csc_for_print="${options_csc_for_print:+$options_csc_for_print }$1" + word_protected=`echo "$1" | sed -e "$sed_protect_1" -e "$sed_protect_2a" -e "$sed_protect_2b" -e "$sed_protect_2c" -e "$sed_protect_3a" -e "$sed_protect_3b"` + options_csc_for_eval="${options_csc_for_eval:+$options_csc_for_eval }$word_protected" +} +func_add_word_to_sources_csc () +{ + sources_csc_for_print="${sources_csc_for_print:+$sources_csc_for_print }$1" + word_protected=`echo "$1" | sed -e "$sed_protect_1" -e "$sed_protect_2a" -e "$sed_protect_2b" -e "$sed_protect_2c" -e "$sed_protect_3a" -e "$sed_protect_3b"` + sources_csc_for_eval="${sources_csc_for_eval:+$sources_csc_for_eval }$word_protected" +} + +sed_quote_subst='s/\([|&;<>()$`"'"'"'*?[#~=% \\]\)/\\\1/g' + +options_mcs= +sources= +func_add_word_to_options_csc "-nologo" +while test $# != 0; do + case "$1" in + -o) + case "$2" in + *.dll) + options_mcs="$options_mcs -target:library" + func_add_word_to_options_csc "-target:library" + ;; + *.exe) + func_add_word_to_options_csc "-target:exe" + ;; + esac + options_mcs="$options_mcs -out:"`echo "$2" | sed -e "$sed_quote_subst"` + # On Windows, assume that 'dotnet' and 'csc' are native Windows programs, + # not Cygwin programs. + arg="$2" + case "@build_os@" in + cygwin*) + arg=`cygpath -w "$arg"` + ;; + esac + func_add_word_to_options_csc "-out:$arg" + shift + ;; + -L) + options_mcs="$options_mcs -lib:"`echo "$2" | sed -e "$sed_quote_subst"` + # On Windows, assume that 'dotnet' and 'csc' are native Windows programs, + # not Cygwin programs. + arg="$2" + case "@build_os@" in + cygwin*) + arg=`cygpath -w "$arg"` + ;; + esac + func_add_word_to_options_csc "-lib:$arg" + shift + ;; + -l) + options_mcs="$options_mcs -reference:"`echo "$2" | sed -e "$sed_quote_subst"` + func_add_word_to_options_csc "-reference:$2.dll" + shift + ;; + -O) + func_add_word_to_options_csc "-optimize+" + ;; + -g) + options_mcs="$options_mcs -debug" + func_add_word_to_options_csc "-debug+" + ;; + -*) + echo "csharpcomp: unknown option '$1'" 1>&2 + exit 1 + ;; + *.resources) + options_mcs="$options_mcs -resource:"`echo "$1" | sed -e "$sed_quote_subst"` + # On Windows, assume that 'dotnet' and 'csc' are native Windows programs, + # not Cygwin programs. + arg="$1" + case "@build_os@" in + cygwin*) + arg=`cygpath -w "$arg"` + ;; + esac + func_add_word_to_options_csc "-resource:$arg" + ;; + *.cs) + sources="$sources "`echo "$1" | sed -e "$sed_quote_subst"` + # On Windows, assume that 'dotnet' and 'csc' are native Windows programs, + # not Cygwin programs. + arg="$1" + case "@build_os@" in + cygwin*) + arg=`cygpath -w "$arg"` + ;; + esac + func_add_word_to_sources_csc "$arg" + ;; + *) + echo "csharpcomp: unknown type of argument '$1'" 1>&2 + exit 1 + ;; + esac + shift +done + +if test -n "@HAVE_MCS@"; then + # mcs prints it errors and warnings to stdout, not stderr. Furthermore it + # adds a useless line "Compilation succeeded..." at the end. Correct both. + sed_drop_success_line='${ +/^Compilation succeeded/d +}' + func_tmpdir + trap 'rm -rf "$tmp"' HUP INT QUIT TERM + test -z "$CSHARP_VERBOSE" || echo mcs $options_mcs $sources 1>&2 + mcs $options_mcs $sources > "$tmp"/mcs.err + result=$? + sed -e "$sed_drop_success_line" < "$tmp"/mcs.err >&2 + rm -rf "$tmp" + exit $result +else + if test -n "@HAVE_DOTNET_SDK@"; then + dotnet_runtime_dir=`dotnet --list-runtimes | sed -n -e 's/Microsoft.NETCore.App \([^ ]*\) \[\(.*\)\].*/\2\/\1/p' | sed -e 1q` + dotnet_sdk_dir=`dotnet --list-sdks | sed -e 's/\([^ ]*\) \[\(.*\)\].*/\2\/\1/p' | sed -e 1q` + # Add -lib and -reference options, so that the compiler finds Object, Console, String, etc. + arg="$dotnet_runtime_dir" + case "@build_os@" in + cygwin*) + arg=`cygpath -w "$arg"` + ;; + esac + func_add_word_to_options_csc "-lib:$arg" + for file in `cd "$dotnet_runtime_dir" && echo [ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.dll`; do + case "$file" in + *.Native.*) ;; + *) func_add_word_to_options_csc "-reference:$file" ;; + esac + done + func_add_word_to_command dotnet + csc="$dotnet_sdk_dir/Roslyn/bincore/csc.dll" + case "@build_os@" in + cygwin*) + csc=`cygpath -w "$csc"` + ;; + esac + func_add_word_to_command "$csc" + test -z "$CSHARP_VERBOSE" || echo "$command_for_print $options_csc_for_print $sources_csc_for_print" 1>&2 + eval "$command_for_eval $options_csc_for_eval $sources_csc_for_eval" + exit $? + else + if test -n "@HAVE_DOTNET_CSC@" || test -n "@HAVE_CSC@"; then + test -z "$CSHARP_VERBOSE" || echo "csc $options_csc_for_print $sources_csc_for_print" 1>&2 + eval "csc $options_csc_for_eval $sources_csc_for_eval" + exit $? + else + echo 'C# compiler not found, try installing mono or dotnet, then reconfigure' 1>&2 + exit 1 + fi + fi +fi diff --git a/miniconda3/share/doc/gettext/examples/build-aux/csharpexec-test.exe b/miniconda3/share/doc/gettext/examples/build-aux/csharpexec-test.exe new file mode 100644 index 0000000000000000000000000000000000000000..bed37080ce62be5fb276215324293fa6308b643f Binary files /dev/null and b/miniconda3/share/doc/gettext/examples/build-aux/csharpexec-test.exe differ diff --git a/miniconda3/share/doc/gettext/examples/build-aux/csharpexec.m4 b/miniconda3/share/doc/gettext/examples/build-aux/csharpexec.m4 new file mode 100644 index 0000000000000000000000000000000000000000..831d10a72dadc06609f6fafb07b32531a71f88c9 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/build-aux/csharpexec.m4 @@ -0,0 +1,88 @@ +# csharpexec.m4 +# serial 10 +dnl Copyright (C) 2003-2005, 2009-2025 Free Software Foundation, Inc. +dnl This file is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. +dnl This file is offered as-is, without any warranty. + +# Prerequisites of csharpexec.sh. +# Checks for a C# execution engine. +# gt_CSHARPEXEC or gt_CSHARPEXEC(testexecutable, its-directory) +# Sets at most one of HAVE_MONO, HAVE_DOTNET, HAVE_CLIX. +# Sets HAVE_CSHARPEXEC to nonempty if csharpexec.sh will work. +AC_DEFUN([gt_CSHARPEXEC], +[ + AC_REQUIRE([gt_CSHARP_CHOICE]) + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles + AC_MSG_CHECKING([for C[#] program execution engine]) + AC_EGREP_CPP([yes], [ +#if defined _WIN32 || defined __EMX__ || defined __DJGPP__ + yes +#endif +], MONO_PATH_SEPARATOR=';', MONO_PATH_SEPARATOR=':') + HAVE_CSHARPEXEC=1 + pushdef([AC_MSG_CHECKING],[:])dnl + pushdef([AC_CHECKING],[:])dnl + pushdef([AC_MSG_RESULT],[:])dnl + AC_CHECK_PROG([HAVE_MONO_IN_PATH], [mono], [yes]) + AC_CHECK_PROG([HAVE_DOTNET_IN_PATH], [dotnet], [yes]) + AC_CHECK_PROG([HAVE_CLIX_IN_PATH], [clix], [yes]) + popdef([AC_MSG_RESULT])dnl + popdef([AC_CHECKING])dnl + popdef([AC_MSG_CHECKING])dnl + for impl in "$CSHARP_CHOICE" mono dotnet no; do + case "$impl" in + mono) + if test -n "$HAVE_MONO_IN_PATH" \ + && mono --version >/dev/null 2>/dev/null \ + m4_if([$1], , , [&& mono $2/$1 >/dev/null 2>/dev/null]); then + HAVE_MONO=1 + ac_result="mono" + break + fi + ;; + dotnet) + if test -n "$HAVE_DOTNET_IN_PATH" \ + && dotnet --list-runtimes >/dev/null 2>/dev/null; then + HAVE_DOTNET=1 + ac_result="dotnet" + break + fi + ;; + sscli) + if test -n "$HAVE_CLIX_IN_PATH" \ + m4_if([$1], , , [&& clix $2/$1 >/dev/null 2>/dev/null]); then + HAVE_CLIX=1 + case $host_os in + cygwin* | mingw* | windows* | pw32*) + CLIX_PATH_VAR=PATH + ;; + darwin* | rhapsody*) + CLIX_PATH_VAR=DYLD_LIBRARY_PATH + ;; + *) + CLIX_PATH_VAR=LD_LIBRARY_PATH + ;; + esac + eval CLIX_PATH=\"\$CLIX_PATH_VAR\" + ac_result="clix" + break + fi + ;; + no) + HAVE_CSHARPEXEC= + ac_result="no" + break + ;; + esac + done + AC_MSG_RESULT([$ac_result]) + AC_SUBST([MONO_PATH]) + AC_SUBST([MONO_PATH_SEPARATOR]) + AC_SUBST([CLIX_PATH_VAR]) + AC_SUBST([CLIX_PATH]) + AC_SUBST([HAVE_MONO]) + AC_SUBST([HAVE_DOTNET]) + AC_SUBST([HAVE_CLIX]) +]) diff --git a/miniconda3/share/doc/gettext/examples/build-aux/csharpexec.sh.in b/miniconda3/share/doc/gettext/examples/build-aux/csharpexec.sh.in new file mode 100644 index 0000000000000000000000000000000000000000..d0d7e8b615e92dc041d41fe5fd00fc67c9fb7bef --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/build-aux/csharpexec.sh.in @@ -0,0 +1,213 @@ +#!/bin/sh +# Execute a C# program. + +# Copyright (C) 2003-2025 Free Software Foundation, Inc. +# Written by Bruno Haible , 2003. +# +# 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 +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# This uses the same choices as csharpexec.c, but instead of relying on the +# environment settings at run time, it uses the environment variables +# present at configuration time. +# +# This is a separate shell script, because the various C# interpreters have +# different command line options. +# +# Usage: /bin/sh csharpexec.sh [OPTION] program.exe [ARGUMENTS] +# Options: +# -L DIRECTORY search for C# libraries also in DIRECTORY + +# func_tmpdir +# creates a temporary directory. +# Sets variable +# - tmp pathname of freshly created temporary directory +func_tmpdir () +{ + # Use the environment variable TMPDIR, falling back to /tmp. This allows + # users to specify a different temporary directory, for example, if their + # /tmp is filled up or too small. + : "${TMPDIR=/tmp}" + { + # Use the mktemp program if available. If not available, hide the error + # message. + tmp=`(umask 077 && mktemp -d -q "$TMPDIR/gtXXXXXX") 2>/dev/null` && + test -n "$tmp" && test -d "$tmp" + } || + { + # Use a simple mkdir command. It is guaranteed to fail if the directory + # already exists. $RANDOM is bash specific and expands to empty in shells + # other than bash, ksh and zsh. Its use does not increase security; + # rather, it minimizes the probability of failure in a very cluttered /tmp + # directory. + tmp=$TMPDIR/gt$$-$RANDOM + (umask 077 && mkdir "$tmp") + } || + { + echo "$0: cannot create a temporary directory in $TMPDIR" >&2 + { (exit 1); exit 1; } + } +} + +libdirs_mono= +libdirs_dotnet= +prog= +while test $# != 0; do + case "$1" in + -L) + libdirs_mono="${libdirs_mono:+$libdirs_mono@MONO_PATH_SEPARATOR@}$2" + libdirs_dotnet="${libdirs_dotnet:+$libdirs_dotnet|}$2" + shift + ;; + -*) + echo "csharpexec: unknown option '$1'" 1>&2 + exit 1 + ;; + *) + prog="$1" + break + ;; + esac + shift +done +if test -z "$prog"; then + echo "csharpexec: no program specified" 1>&2 + exit 1 +fi +case "$prog" in + *.exe) ;; + *) + echo "csharpexec: program is not a .exe" 1>&2 + exit 1 + ;; +esac + +if test -n "@HAVE_MONO@"; then + CONF_MONO_PATH='@MONO_PATH@' + if test -n "$libdirs_mono"; then + MONO_PATH="$libdirs_mono${CONF_MONO_PATH:+@MONO_PATH_SEPARATOR@$CONF_MONO_PATH}" + else + MONO_PATH="$CONF_MONO_PATH" + fi + export MONO_PATH + test -z "$CSHARP_VERBOSE" || echo mono "$@" 1>&2 + exec mono "$@" +else + if test -n "@HAVE_DOTNET@"; then + # Invoke 'dotnet $prog ...'. + # Documentation: + # + # This could be optimized on Windows platforms, because C# .exe files are + # directly executable there. But there's no point in optimizing specifically + # a non-free platform, especially since it would increase the test matrix. + shift + # On Windows, assume that 'dotnet' is a native Windows program, not a Cygwin program. + prog_arg="$prog" + case "@build_os@" in + cygwin*) + prog_arg=`cygpath -w "$prog"` + ;; + esac + # Handle the -L options. + # The way this works is that we have to copy (or symlink) the DLLs into the + # directory where FOO.exe resides. + # Maybe there is another way to do this, but I haven't found it, trying + # - the --additionalprobingpath command-line option, + # - the additionalProbingPaths property in runtimeconfig.json, + # - adding a --deps deps.json option, + # cf. + # and . + tmpfiles= + if test -n "$libdirs_dotnet"; then + # Make sure the added DLLs are removed when this script terminates. + func_cleanup_tmpfiles() + { + saved_IFS="$IFS" + IFS='|' + for file in $tmpfiles; do + IFS="$saved_IFS" + rm -f "$file" + done + IFS="$saved_IFS" + } + trap func_cleanup_tmpfiles HUP INT QUIT PIPE TERM + trap 'exit_status=$?; func_cleanup_tmpfiles; exit $exit_status' EXIT + # Copy the DLLs. + prog_dir=`dirname "$prog"` + saved_IFS="$IFS" + IFS='|' + for dir in $libdirs_dotnet; do + IFS="$saved_IFS" + for file in `cd "$dir" && echo *.dll`; do + if test -f "$prog_dir/$file"; then + # A DLL of this name is already at the expected location. + : + else + tmpfiles="${tmpfiles:+$tmpfiles|}$prog_dir/$file" + cp "$dir/$file" "$prog_dir/$file" || exit 1 + fi + done + done + IFS="$saved_IFS" + fi + if test -f "${prog%.exe}.runtimeconfig.json"; then + # There is already a FOO.runtimeconfig.json alongside FOO.exe. + dotnet exec "$prog_arg" "$@" + result=$? + else + # dotnet needs a FOO.runtimeconfig.json alongside FOO.exe in order to + # execute FOO.exe. Create a dummy one in a temporary directory + # (because the directory where FOO.exe sits is not necessarily writable). + # Documentation of this file format: + # + func_tmpdir + runtimeconfig="$tmp"/runtimeconfig.json + dotnet --list-runtimes | sed -n -e 's/Microsoft.NETCore.App \([^ ]*\) .*/{ "runtimeOptions": { "framework": { "name": "Microsoft.NETCore.App", "version": "\1" } } }/p' > "$runtimeconfig" + runtimeconfig_arg="$runtimeconfig" + case "@build_os@" in + cygwin*) + runtimeconfig_arg=`cygpath -w "$runtimeconfig"` + ;; + esac + test -z "$CSHARP_VERBOSE" || echo dotnet exec --runtimeconfig "$runtimeconfig_arg" "$prog_arg" "$@" 1>&2 + dotnet exec --runtimeconfig "$runtimeconfig_arg" "$prog_arg" "$@" + result=$? + rm -f "$runtimeconfig" + rmdir "$tmp" + fi + exit $result + else + if test -n "@HAVE_CLIX@"; then + CONF_CLIX_PATH='@CLIX_PATH@' + if test -n "$libdirs_mono"; then + @CLIX_PATH_VAR@="$libdirs_mono${CONF_CLIX_PATH:+@MONO_PATH_SEPARATOR@$CONF_CLIX_PATH}" + else + @CLIX_PATH_VAR@="$CONF_CLIX_PATH" + fi + export @CLIX_PATH_VAR@ + shift + # On Windows, assume that 'clix' is a native Windows program, + # not a Cygwin program. + case "@build_os@" in + cygwin*) + prog=`cygpath -w "$prog"` + ;; + esac + test -z "$CSHARP_VERBOSE" || echo clix "$prog" "$@" 1>&2 + exec clix "$prog" "$@" + else + echo 'C# virtual machine not found, try installing mono or dotnet, then reconfigure' 1>&2 + exit 1 + fi + fi +fi diff --git a/miniconda3/share/doc/gettext/examples/build-aux/dcomp.m4 b/miniconda3/share/doc/gettext/examples/build-aux/dcomp.m4 new file mode 100644 index 0000000000000000000000000000000000000000..44813388130bc04cf963651e9f996805d7008b36 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/build-aux/dcomp.m4 @@ -0,0 +1,52 @@ +# dcomp.m4 +# serial 2 +dnl Copyright (C) 2025 Free Software Foundation, Inc. +dnl This file is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. +dnl This file is offered as-is, without any warranty. + +# There are three D implementations, see +# +# +# +# Although each has different possible options, a few options are accepted by +# all of the implementations: -c, -I, -g, -O. Some essential options, however, +# are different: +# gdc ldc2 dmd +# ---------- ------------------- ------------ +# -oFILE -of=FILE, --of=FILE -of=FILE +# -lLIBRARY -L -lLIBRARY -L=-lLIBRARY +# -LDIR -L -LDIR -L=-LDIR +# -Wl,OPTION -L OPTION -L=OPTION + +# Checks for a D implementation. +# Sets DC and DFLAGS (options that can be used with "$DC"). +AC_DEFUN([gt_DCOMP], +[ + AC_MSG_CHECKING([for D compiler]) + pushdef([AC_MSG_CHECKING],[:])dnl + pushdef([AC_CHECKING],[:])dnl + pushdef([AC_MSG_RESULT],[:])dnl + AC_ARG_VAR([DC], [D compiler command]) + AC_ARG_VAR([DFLAGS], [D compiler options]) + dnl On OpenBSD, gdc is called 'egdc' and works less well than dmd. + AC_CHECK_TOOLS([DC], [gdc ldc2 dmd egdc]) + popdef([AC_MSG_RESULT])dnl + popdef([AC_CHECKING])dnl + popdef([AC_MSG_CHECKING])dnl + if test -n "$DC"; then + ac_result="$DC" + else + ac_result="no" + fi + AC_MSG_RESULT([$ac_result]) + AC_SUBST([DC]) + if test -z "$DFLAGS" && test -n "$DC"; then + case `$DC --version | sed -e 's/ .*//' -e 1q` in + gdc | *-gdc | egdc | *-egdc | LDC*) DFLAGS="-g -O2" ;; + *) DFLAGS="-g -O" ;; + esac + fi + AC_SUBST([DFLAGS]) +]) diff --git a/miniconda3/share/doc/gettext/examples/build-aux/dcomp.sh.in b/miniconda3/share/doc/gettext/examples/build-aux/dcomp.sh.in new file mode 100644 index 0000000000000000000000000000000000000000..52a6123d22504448da87c79fafc177a1a589c84b --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/build-aux/dcomp.sh.in @@ -0,0 +1,139 @@ +#!/bin/sh +# Compile a D program, library, or compilation unit. + +# Copyright (C) 2025 Free Software Foundation, Inc. +# Written by Bruno Haible , 2025. +# +# 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 +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# Usage: /bin/sh dcomp.sh [OPTION] SOURCE.d ... +# where the supported OPTIONs are: +# -I DIR +# -c +# -g +# -O (mapped to -O or -O2, depending on implementation) +# -o FILE (for libtool compatility) +# -lLIBRARY (for libtool compatility) +# -LDIR (for libtool compatility) +# -pthread (for libtool compatility) +# -Wl,OPTION (for libtool compatility) + +# Find out which implementation we are using. +case `@DC@ --version | sed -e 's/ .*//' -e 1q` in + gdc | *-gdc | egdc | *-egdc) flavor=gdc ;; + LDC*) flavor=ldc ;; + DMD*) flavor=dmd ;; + *) + echo "Warning: implementation flavor of '"'@DC@'"' not recognized." 1>&2 + flavor=dmd ;; +esac + +# In order to construct a command that invokes the D compiler, we need 'eval', +# because some of the arguments may contain spaces. +options_for_print= +options_for_eval= +# Protecting special characters, hiding them from 'eval': +# Double each backslash. +sed_protect_1='s/\\/\\\\/g' +# Escape each dollar, backquote, double-quote. +sed_protect_2a='s/\$/\\$/g' +sed_protect_2b='s/`/\\`/g' +sed_protect_2c='s/"/\\"/g' +# Add double-quotes at the beginning and end of the word. +sed_protect_3a='1s/^/"/' +sed_protect_3b='$s/$/"/' +func_add_word_to_options () +{ + options_for_print="${options_for_print:+$options_for_print }$1" + word_protected=`echo "$1" | sed -e "$sed_protect_1" -e "$sed_protect_2a" -e "$sed_protect_2b" -e "$sed_protect_2c" -e "$sed_protect_3a" -e "$sed_protect_3b"` + options_for_eval="${options_for_eval:+$options_for_eval }$word_protected" +} + +# Process the arguments. +next_is_arg_of= +for arg +do + if test -z "$next_is_arg_of"; then + case "$arg" in + -I | -l | -L) + echo "dcomp: Unsupported option: $arg. Combine with next argument." 1>&2 + exit 1 + ;; + -I* | -c | -g) + func_add_word_to_options "$arg" + ;; + -O) + case "$flavor" in + gdc | ldc) func_add_word_to_options "-O2" ;; + dmd) func_add_word_to_options "-O" ;; + esac + ;; + -o) next_is_arg_of='o' ;; + -l* | -L* | -pthread) + case "$arg" in + -pthread) arg='-lpthread' ;; + esac + case "$flavor" in + gdc) func_add_word_to_options "$arg" ;; + ldc) func_add_word_to_options '-L'; func_add_word_to_options "$arg" ;; + dmd) func_add_word_to_options "-L=$arg" ;; + esac + ;; + -Wl,*) + if test "$flavor" = gdc; then + func_add_word_to_options "$arg" + else + option=`echo "$arg" | sed -e 's/^-Wl,//'` + case "$flavor" in + ldc) func_add_word_to_options '-L'; func_add_word_to_options "$option" ;; + dmd) func_add_word_to_options "-L=$option" ;; + esac + fi + ;; + -*) + echo "dcomp: Unsupported option: $arg" 1>&2 + exit 1 + ;; + *) + # dmd rejects shared library file names such as libfoo.so.1.3: + # "Error: unrecognized file extension 3" + if test "$flavor" = dmd \ + && case `basename "$arg"` in lib*.so.*) true ;; *) false ;; esac; then + func_add_word_to_options "-L=$arg" + else + func_add_word_to_options "$arg" + fi + ;; + esac + else + case "$next_is_arg_of" in + o) + case "$flavor" in + gdc) func_add_word_to_options '-o'; func_add_word_to_options "$arg" ;; + *) func_add_word_to_options "-of=$arg" ;; + esac + ;; + esac + next_is_arg_of= + fi +done +if test -n "$next_is_arg_of"; then + echo "dcomp: missing argument to option -$next_is_arg_of" 1>&2 + exit 1 +fi + +# Execute the command. +test -z "$D_VERBOSE" || echo "@DC@ @DFLAGS@ $options_for_print" 1>&2 +eval "@DC@ @DFLAGS@ $options_for_eval" +exit $? diff --git a/miniconda3/share/doc/gettext/examples/build-aux/gocomp.m4 b/miniconda3/share/doc/gettext/examples/build-aux/gocomp.m4 new file mode 100644 index 0000000000000000000000000000000000000000..f739927e1f12137f489d4321de96f2f9bf056020 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/build-aux/gocomp.m4 @@ -0,0 +1,127 @@ +# gocomp.m4 +# serial 1 +dnl Copyright (C) 2025 Free Software Foundation, Inc. +dnl This file is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. +dnl This file is offered as-is, without any warranty. + +# There are two Go implementations, that differ essentially only regarding +# the compiler and the used runtime version: +# * The golang Go is the original implementation, typically a little more +# up-to-date. It supports only the major computing platforms. +# * The GCC Go implementation is part of the GNU Compiler Collection. +# It lags behind a bit. It supports all platforms supported by GCC. +# The golang Go implementation produces smaller executables, and the +# binary packages needed for development are smaller as well. +# +# Therefore the preferred implementation is +# * golang where available, +# * GCC on the platforms where golang is not available. This includes in +# particular: +# - Linux/alpha, Linux/hppa, Linux/m68k, Linux/sparc, Linux/powerpc (32-bit) +# - GNU/Hurd +# - Solaris/sparc +# - Haiku + +# Sets GO_CHOICE to the preferred Go compiler implementation: +# 'golang' or 'gcc' or 'any' or 'no'. +# Here +# - 'golang' means the original Go compiler. +# - 'gcc' means GCC Go compiler. +# The runtime library of both is the same (possibly in different versions, +# though). +AC_DEFUN([gt_GO_CHOICE], +[ + AC_MSG_CHECKING([for preferred Go compiler]) + AC_ARG_ENABLE([go], + [ --enable-go[[=IMPL]] choose preferred Go compiler (golang, gcc)], + [GO_CHOICE="$enableval"], + [GO_CHOICE=any]) + AC_SUBST([GO_CHOICE]) + AC_MSG_RESULT([$GO_CHOICE]) +]) + +# How to run Go programs? +# Assume you want to distribute a Go program. In which form? And what are +# the dependencies to do so? +# +# There are three ways to do so: +# +# * Run the program by compiling it on-the-fly in a temporary directory +# and running it from there: +# ${GO} run foo.go +# You would distribute foo.go (very small). +# But the dependencies are large: the Go development environment. +# On Ubuntu 24.04 this is: +# - with 'golang': the package 'golang-go' +# 11 MB for /usr/lib/go-1.22/bin/go, +# 85 MB for /usr/lib/go-1.22/pkg/tool/linux_amd64/* +# = 96 MB in total +# - with 'gccgo': the package 'gccgo-13' +# 60 MB for /usr/lib/x86_64-linux-gnu/libgo.so.22.0.0, +# > 40 MB for /usr/libexec/gcc/x86_64-linux-gnu/13/go1 +# and /usr/bin/x86_64-linux-gnu-go-13, +# 116 MB for /usr/lib/gcc/x86_64-linux-gnu/13/libgo.a +# = 216 MB in total. +# +# * You distribute the binary, linked against the shared Go runtime library. +# Running the program is just invoking that binary. +# On Ubuntu the dependencies are: +# - with 'golang': unsupported. +# - with 'gccgo': the package 'libgo22' +# 60 MB for /usr/lib/x86_64-linux-gnu/libgo.so.22.0.0 +# = 60 MB in total. +# +# * You distribute the binary, linked statically with the needed parts +# of the Go runtime library: +# ${GO} build ${GOCOMPFLAGS} foo.go +# Running the program is just invoking that binary. +# On Ubuntu the dependencies are: +# - with 'golang': No dependencies; the binary is statically linked. +# The stripped executable's size is >= 1 MB. +# - with 'gccgo': No dependencies; the binary is statically linked +# (when using GOCOMPFLAGS='-static') or statically linked except for +# the standard C library (when using GOCOMPFLAGS='-static-libgo'). +# The stripped executable's size is 5 MB or 6 MB, respectively. +# Distros generally prefer avoiding dynamic linking with libc, +# so let's use that. +# +# It is clear that the third approach will be preferred for small programs. + +# Prerequisites of gocomp.sh. +# Checks for a Go implementation. +# Sets HAVE_GOCOMP to nonempty if gocomp.sh will work. +# Also sets GO and GOCOMPFLAGS (options that can be used with "$GO build"). +AC_DEFUN([gt_GOCOMP], +[ + AC_REQUIRE([gt_GO_CHOICE]) + AC_MSG_CHECKING([for Go compiler]) + HAVE_GOCOMP=1 + pushdef([AC_MSG_CHECKING],[:])dnl + pushdef([AC_CHECKING],[:])dnl + pushdef([AC_MSG_RESULT],[:])dnl + dnl Prefer golang over gcc by default, because it produces much smaller + dnl executables (see above). + if test "$GO_CHOICE" = gcc; then + AC_PATH_PROGS([GO], [go-30 go-29 go-28 go-27 go-26 go-25 go-24 go-23 go-22 go-21 go-20 go-19 go-18 go-17 go-16 go-15 go-14 go-13 go-12 go-11 go-10 go-9 go-8 go-7 go-6 go-5 go]) + else + AC_PATH_PROGS([GO], [go go-30 go-29 go-28 go-27 go-26 go-25 go-24 go-23 go-22 go-21 go-20 go-19 go-18 go-17 go-16 go-15 go-14 go-13 go-12 go-11 go-10 go-9 go-8 go-7 go-6 go-5]) + fi + popdef([AC_MSG_RESULT])dnl + popdef([AC_CHECKING])dnl + popdef([AC_MSG_CHECKING])dnl + if test -n "$GO"; then + case "$GO" in + go | */go ) GOCOMPFLAGS= ;; + *) GOCOMPFLAGS='-gccgoflags=-static-libgo' ;; + esac + ac_result="$GO" + else + HAVE_GOCOMP= + ac_result="no" + fi + AC_MSG_RESULT([$ac_result]) + AC_SUBST([GO]) + AC_SUBST([GOCOMPFLAGS]) +]) diff --git a/miniconda3/share/doc/gettext/examples/build-aux/gocomp.sh.in b/miniconda3/share/doc/gettext/examples/build-aux/gocomp.sh.in new file mode 100644 index 0000000000000000000000000000000000000000..e4038400069ff70321670bef577336ac4bff6326 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/build-aux/gocomp.sh.in @@ -0,0 +1,32 @@ +#!/bin/sh +# Compile a Go program. + +# Copyright (C) 2025 Free Software Foundation, Inc. +# Written by Bruno Haible , 2025. +# +# 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 +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# Usage: /bin/sh gocomp.sh [OPTION] SOURCE.go ... +# +# Limitation: Go programs that make use of the C to Go interface ('cgo') are +# unsupported. + +# Avoid error "CC environment variable is relative; must be absolute path" +# on native Windows. Cf. +# +unset CC +unset CXX + +test -z "$GO_VERBOSE" || echo "@GO@ build @GOCOMPFLAGS@ $@" +exec @GO@ build @GOCOMPFLAGS@ "$@" diff --git a/miniconda3/share/doc/gettext/examples/build-aux/javacomp.m4 b/miniconda3/share/doc/gettext/examples/build-aux/javacomp.m4 new file mode 100644 index 0000000000000000000000000000000000000000..2e96c56dcd94ffa4388d281f192075455e4b06cb --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/build-aux/javacomp.m4 @@ -0,0 +1,495 @@ +# javacomp.m4 +# serial 26 +dnl Copyright (C) 2001-2003, 2006-2007, 2009-2025 Free Software Foundation, +dnl Inc. +dnl This file is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. +dnl This file is offered as-is, without any warranty. + +# Prerequisites of javacomp.sh. +# gt_JAVACOMP([source-version], [target-version]) +# Sets HAVE_JAVACOMP to nonempty if javacomp.sh will allow Java source code +# according to source-version to be compiled to Java bytecode classes in the +# target-version format. +# +# source-version can be: support for +# 1.6 assert keyword (1.4), generic classes and methods (1.5) +# 1.7 switch(string) +# 1.8 lambdas +# 9 private interface methods +# 10 type inference for local variables +# 11 'var' in parameters of lambda expressions +# ... +# (For reference, see .) +# If source-version 1.3 or 1.4 or 1.5 is requested, it gets mapped to 1.6, for +# backward compatibility. (Currently the minimum Java and javac version we need +# to support is Java 1.6, since that's the default Java version on Solaris 10.) +# +# target-version can be: classfile version: +# 1.6 50.0 +# 1.7 51.0 +# 1.8 52.0 +# 9 53.0 +# 10 54.0 +# 11 55.0 +# ... ... +# The classfile version of a .class file can be determined through the "file" +# command. More portably, the classfile major version can be determined through +# "od -A n -t d1 -j 7 -N 1 classfile". +# If a target-version below 1.6 is requested, it gets mapped to 1.6, for +# backward compatibility. (Currently the minimum Java and javac version we need +# to support is Java 1.6, since that's the default Java version on Solaris 10.) +# +# target-version can also be omitted. In this case, the required target-version +# is determined from the found JVM (see macro gt_JAVAEXEC): +# target-version for JVM +# 1.6 JDK/JRE 6 +# 1.7 JDK/JRE 7 +# 1.8 JDK/JRE 8 +# 9 JDK/JRE 9 +# 10 JDK/JRE 10 +# 11 JDK/JRE 11 +# ... ... +# +# Specifying target-version is useful when building a library (.jar) that is +# useful outside the given package. Omitting target-version is useful when +# building an application. +# +# It is unreasonable to ask for a target-version < source-version, such as +# - target-version < 1.4 with source-version >= 1.4, or +# - target-version < 1.5 with source-version >= 1.5, or +# - target_version < 1.6 with source_version >= 1.6, or +# - target_version < 1.7 with source_version >= 1.7, or +# - target_version < 1.8 with source_version >= 1.8, or +# - target_version < 9 with source_version >= 9, or +# - target_version < 10 with source_version >= 10, or +# - target_version < 11 with source_version >= 11, or +# - ... +# because even Sun's/Oracle's javac doesn't support these combinations. +# +# It is redundant to ask for a target-version > source-version, since the +# smaller target-version = source-version will also always work and newer JVMs +# support the older target-versions too. + +AC_DEFUN([gt_JAVACOMP], +[ + m4_if([$2], [], [AC_REQUIRE([gt_JAVAEXEC])], []) + AC_EGREP_CPP([yes], [ +#if defined _WIN32 || defined __CYGWIN__ || defined __EMX__ || defined __DJGPP__ + yes +#endif +], CLASSPATH_SEPARATOR=';', CLASSPATH_SEPARATOR=':') + source_version=$1 + test -n "$source_version" || { + AC_MSG_ERROR([missing source-version argument to gt_@&t@JAVACOMP]) + } + case "$source_version" in + 1.1 | 1.2 | 1.3 | 1.4 | 1.5) source_version='1.6' ;; + esac + m4_if([$2], [], + [if test -n "$HAVE_JAVAEXEC"; then + dnl Use $CONF_JAVA to determine the JVM's version. +changequote(,)dnl + cat > conftestver.java <"!=fYpYJmkb_ece_YnejiJpblmeji/!?!@)!A/!B!C"!._jicnbmnpbl"!3fYpYKgYidKSZfb_n"!3fYpYKgYidKUqmnbh"!$jon"!8QfYpYKejKTleinUnlbYhL"!.dbnTljkblnq"!EFQfYpYKgYidKUnleidLGQfYpYKgYidKUnleidL"!6fYpYKejKTleinUnlbYh"!)kleingi"!8FQfYpYKgYidKUnleidLGW!D!(!)!!!!!#!"!*!+!"!,!!!@!"!"!!!&Hu!"r!!!"!.!!!(!"!!!"!+!/!0!"!,!!!F!#!"!!!/s!#5$v!%t!&r!!!"!.!!!,!#!!!$!.!%!"!1!!!#!2' \ + | tr -d '\012\015' \ + | tr '!"#$%&()*+,./0123456789:;<=>?@ABCDEFGHJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyzI' '\000\001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037\040\041\046\050\051\052\056\057\073\074\076\103\106\114\116\117\120\123\124\126\133\141\142\143\144\145\146\147\151\152\154\155\156\157\160\162\163\164\165\166\171\261\262\266\267\270\272\276\312\376\055' \ + > conftestver.class + java_exec_version=`{ + unset JAVA_HOME + echo "$as_me:__oline__: CLASSPATH=.${CLASSPATH:+$CLASSPATH_SEPARATOR$CLASSPATH} $CONF_JAVA conftestver" >&AS_MESSAGE_LOG_FD + CLASSPATH=.${CLASSPATH:+$CLASSPATH_SEPARATOR$CLASSPATH} $CONF_JAVA conftestver 2>&AS_MESSAGE_LOG_FD + }` + case "$java_exec_version" in + null) + dnl JDK 1.1.X returns null. + java_exec_version=1.1 ;; + esac + case "$java_exec_version" in + 1.1 | 1.2 | 1.3 | 1.4 | 1.5) + AC_MSG_WARN([$CONF_JAVA is too old, cannot compile Java code for this old version any more]) + target_version=1.6 ;; +changequote(,)dnl + 1.6 | 1.7 | 1.8 | 9 | [1-9][0-9]) +changequote([,])dnl + dnl Here we could choose any target_version between $source_version + dnl and the $java_exec_version. (If it is too small, it will be + dnl incremented below until it works.) Since we documented above that + dnl it is determined from the JVM, we do that: + target_version="$java_exec_version" ;; + *) AC_MSG_WARN([unknown target-version $target_version, please update gt_@&t@JAVACOMP macro]) + target_version=1.6 ;; + esac + else + target_version="1.6" + fi + ], + [target_version=$2 + case "$target_version" in + 1.1 | 1.2 | 1.3 | 1.4 | 1.5) target_version='1.6' ;; + esac + ]) + case "$source_version" in +changequote(,)dnl + 1.6 | 1.7 | 1.8 | 9 | [1-9][0-9]) ;; +changequote([,])dnl + *) AC_MSG_ERROR([invalid source-version argument to gt_@&t@JAVACOMP: $source_version]) ;; + esac + case "$target_version" in +changequote(,)dnl + 1.6 | 1.7 | 1.8 | 9 | [1-9][0-9]) ;; +changequote([,])dnl + *) AC_MSG_ERROR([invalid target-version argument to gt_@&t@JAVACOMP: $target_version]) ;; + esac + # Function to output the classfile version of a file (8th byte) in decimal. + if od -A x < /dev/null >/dev/null 2>/dev/null; then + # Use POSIX od. + func_classfile_version () + { + od -A n -t d1 -j 7 -N 1 "[$]1" + } + else + # Use BSD hexdump. + func_classfile_version () + { + dd if="[$]1" bs=1 count=1 skip=7 2>/dev/null | hexdump -e '1/1 "%3d "' + echo + } + fi + AC_MSG_CHECKING([for Java compiler]) + dnl + dnl The support of Sun/Oracle javac for target-version and source-version: + dnl + dnl javac 1.6: -target 1.1 1.2 1.3 1.4 1.5 1.6 default: 1.6 + dnl -source 1.3 1.4 1.5 1.6 default: 1.5 + dnl -target 1.1/1.2/1.3 only possible with -source 1.3 + dnl -target 1.4 only possible with -source 1.3/1.4 + dnl -target 1.5 only possible with -source 1.3/1.4/1.5 or no -source + dnl + dnl javac 1.7: -target 1.1 1.2 1.3 1.4 1.5 1.6 1.7 default: 1.7 + dnl -source 1.3 1.4 1.5 1.6 1.7 default: 1.7 + dnl -target 1.1/1.2/1.3 only possible with -source 1.3 + dnl -target 1.4 only possible with -source 1.3/1.4 + dnl -target 1.5 only possible with -source 1.3/1.4/1.5 + dnl -target 1.6 only possible with -source 1.3/1.4/1.5/1.6 + dnl + dnl javac 1.8: -target 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 default: 1.8 + dnl -source 1.3 1.4 1.5 1.6 1.7 1.8 default: 1.8 + dnl -target 1.1/1.2/1.3 only possible with -source 1.3 + dnl -target 1.4 only possible with -source 1.3/1.4 + dnl -target 1.5 only possible with -source 1.3/1.4/1.5 + dnl -target 1.6 only possible with -source 1.3/1.4/1.5/1.6 + dnl -target 1.7 only possible with -source 1.3/1.4/1.5/1.6/1.7 + dnl + dnl javac 9: -target 1.6 1.7 1.8 9 default: 9 + dnl -source 1.6 1.7 1.8 9 default: 9 + dnl -target 1.6 only possible with -source 1.6 + dnl -target 1.7 only possible with -source 1.6/1.7 + dnl -target 1.8 only possible with -source 1.6/1.7/1.8 + dnl + dnl javac 10: -target 1.6 1.7 1.8 9 10 default: 10 + dnl -source 1.6 1.7 1.8 9 10 default: 10 + dnl -target 1.6 only possible with -source 1.6 + dnl -target 1.7 only possible with -source 1.6/1.7 + dnl -target 1.8 only possible with -source 1.6/1.7/1.8 + dnl -target 9 only possible with -source 1.6/1.7/1.8/9 + dnl + dnl and so on. + dnl This can be summarized in this table: + dnl + dnl javac classfile valid -source and obsolete -source + dnl version default version -target values and -target values + dnl ------- --------------- ----------------- ------------------ + dnl 1.6 50.0 1.2 .. 1.6 + dnl 1.7 51.0 1.2 .. 1.7 + dnl 1.8 52.0 1.3 .. 1.8 1.3 .. 1.5 + dnl 9 53.0 1.6 .. 9 1.6 + dnl 10 54.0 1.6 .. 10 1.6 + dnl 11 55.0 1.6 .. 11 1.6 + dnl 12 56.0 1.7 .. 12 1.7 + dnl 13 57.0 1.7 .. 13 1.7 + dnl 14 58.0 1.7 .. 14 1.7 + dnl 15 59.0 1.7 .. 15 1.7 + dnl 16 60.0 1.7 .. 16 1.7 + dnl 17 61.0 1.7 .. 17 1.7 + dnl 18 62.0 1.7 .. 18 1.7 + dnl 19 63.0 1.7 .. 19 1.7 + dnl 20 64.0 1.8 .. 20 1.8 + dnl + dnl The -source option value must be <= the -target option value. + dnl The minimal -source and -target option value produces an "is obsolete" + dnl warning (in javac 1.8 or newer). Additionally, if the -source option + dnl value is not the maximal possible one, i.e. not redundant, it produces a + dnl "bootstrap class path not set in conjunction with -source ..." warning + dnl (in javac 1.7 or newer). + dnl + dnl To get rid of these warnings, two options are available: + dnl * -nowarn. This option is supported since javac 1.6 at least. But + dnl it is overkill, because it would also silence warnings about the + dnl code being compiled. + dnl * -Xlint:-options. This option is supported since javac 1.6 at least. + dnl In javac 1.6 it is an undocumented no-op. + dnl We use -Xlint:-options and omit it only if we find that the compiler + dnl does not support it (which is unlikely). + dnl + dnl Canonicalize source_version and target_version, for easier arithmetic. + case "$source_version" in + 1.*) source_version=`echo "$source_version" | sed -e 's/^1\.//'` ;; + esac + case "$target_version" in + 1.*) target_version=`echo "$target_version" | sed -e 's/^1\.//'` ;; + esac + CONF_JAVAC= + HAVE_JAVAC_ENVVAR= + HAVE_JAVAC= + HAVE_JAVACOMP= + dnl Sanity check. + if expr $source_version '<=' $target_version >/dev/null; then + echo 'class conftest {}' > conftest.java + dnl If the user has set the JAVAC environment variable, use that, if it + dnl satisfies the constraints (possibly after adding -target and -source + dnl options). + if test -n "$JAVAC"; then + dnl Test whether $JAVAC is usable. + dnl At the same time, determine which option to use to inhibit warnings; + dnl see the discussion above. + nowarn_option=' -Xlint:-options' + if { rm -f conftest.class \ + && { echo "$as_me:__oline__: $JAVAC$nowarn_option -d . conftest.java" >&AS_MESSAGE_LOG_FD + $JAVAC$nowarn_option -d . conftest.java >&AS_MESSAGE_LOG_FD 2>&1 + } \ + && test -f conftest.class + } || { \ + nowarn_option= + rm -f conftest.class \ + && { echo "$as_me:__oline__: $JAVAC$nowarn_option -d . conftest.java" >&AS_MESSAGE_LOG_FD + $JAVAC$nowarn_option -d . conftest.java >&AS_MESSAGE_LOG_FD 2>&1 + } \ + && test -f conftest.class + }; then + compiler_cfversion=`func_classfile_version conftest.class` + compiler_target_version=`expr $compiler_cfversion - 44` + dnl It is hard to determine the compiler_source_version. This would + dnl require a list of code snippets that can be compiled only with a + dnl specific '-source' option and up, and this list would need to grow + dnl every 6 months. + dnl Also, $JAVAC may already include a '-source' option. + dnl Therefore, pass a '-source' option always. + source_option=' -source '`case "$source_version" in 6|7|8) echo 1. ;; esac`"$source_version" + dnl And pass a '-target' option as well, if needed. + dnl (All supported javac versions support both, see the table above.) + if expr $target_version = $compiler_target_version >/dev/null; then + target_option= + else + target_option=' -target '`case "$target_version" in 6|7|8) echo 1. ;; esac`"$target_version" + fi + if { echo "$as_me:__oline__: $JAVAC$nowarn_option$source_option$target_option -d . conftest.java" >&AS_MESSAGE_LOG_FD + $JAVAC$nowarn_option$source_option$target_option -d . conftest.java >&AS_MESSAGE_LOG_FD 2>&1 + } \ + && test -f conftest.class; then + dnl The compiler directly supports the desired source_version and + dnl target_version. Perfect. + CONF_JAVAC="$JAVAC$nowarn_option$source_option$target_option" + HAVE_JAVAC_ENVVAR=1 + HAVE_JAVACOMP=1 + else + dnl If the desired source_version or target_version were too large + dnl for the compiler, there's nothing else we can do. + compiler_version=`echo "$as_me:__oline__: $JAVAC -version | sed -e 1q" >&AS_MESSAGE_LOG_FD + $JAVAC -version | sed -e 1q` +changequote(,)dnl + compiler_version=`echo "$compiler_version" | sed -e 's/^[^0-9]*\([0-9][0-9.]*\).*/\1/'` +changequote([,])dnl + case "$compiler_version" in + 1.*) dnl Map 1.6.0_85 to 6, 1.8.0_151 to 8. + compiler_version=`echo "$compiler_version" | sed -e 's/^1\.//' -e 's/\..*//'` + ;; + *) dnl Map 9.0.4 to 9, 10.0.2 to 10, etc. + compiler_version=`echo "$compiler_version" | sed -e 's/\..*//'` + ;; + esac + if expr $source_version '<=' "$compiler_version" >/dev/null \ + && expr $target_version '<=' "$compiler_version" >/dev/null; then + dnl Increase $source_version and $compiler_version until the + dnl compiler accepts these values. This is necessary to make + dnl e.g. $source_version = 6 work with Java 12 or newer, or + dnl $source_version = 7 work with Java 20 or newer. + try_source_version="$source_version" + try_target_version="$target_version" + while true; do + dnl Invariant: $try_source_version <= $try_target_version. + if expr $try_source_version = $try_target_version >/dev/null; then + try_target_version=`expr $try_target_version + 1` + fi + try_source_version=`expr $try_source_version + 1` + expr $try_source_version '<=' $compiler_version >/dev/null || break + source_option=' -source '`case "$try_source_version" in 6|7|8) echo 1. ;; esac`"$try_source_version" + if expr $try_target_version = $compiler_target_version >/dev/null; then + target_option= + else + target_option=' -target '`case "$try_target_version" in 6|7|8) echo 1. ;; esac`"$try_target_version" + fi + if { echo "$as_me:__oline__: $JAVAC$nowarn_option$source_option$target_option -d . conftest.java" >&AS_MESSAGE_LOG_FD + $JAVAC$nowarn_option$source_option$target_option -d . conftest.java >&AS_MESSAGE_LOG_FD 2>&1 + } \ + && test -f conftest.class; then + dnl The compiler supports the try_source_version and + dnl try_target_version. It's better than nothing. + CONF_JAVAC="$JAVAC$nowarn_option$source_option$target_option" + HAVE_JAVAC_ENVVAR=1 + HAVE_JAVACOMP=1 + break + fi + done + fi + fi + fi + fi + if test -z "$HAVE_JAVACOMP"; then + pushdef([AC_MSG_CHECKING],[:])dnl + pushdef([AC_CHECKING],[:])dnl + pushdef([AC_MSG_RESULT],[:])dnl + AC_CHECK_PROG([HAVE_JAVAC_IN_PATH], [javac], [yes]) + popdef([AC_MSG_RESULT])dnl + popdef([AC_CHECKING])dnl + popdef([AC_MSG_CHECKING])dnl + if test -z "$HAVE_JAVACOMP" && test -n "$HAVE_JAVAC_IN_PATH"; then + dnl Test whether javac is usable. + dnl At the same time, determine which option to use to inhibit warnings; + dnl see the discussion above. + nowarn_option=' -Xlint:-options' + if { rm -f conftest.class \ + && { echo "$as_me:__oline__: javac$nowarn_option -d . conftest.java" >&AS_MESSAGE_LOG_FD + javac$nowarn_option -d . conftest.java >&AS_MESSAGE_LOG_FD 2>&1 + } \ + && test -f conftest.class + } || { \ + nowarn_option= + rm -f conftest.class \ + && { echo "$as_me:__oline__: javac$nowarn_option -d . conftest.java" >&AS_MESSAGE_LOG_FD + javac$nowarn_option -d . conftest.java >&AS_MESSAGE_LOG_FD 2>&1 + } \ + && test -f conftest.class + }; then + compiler_cfversion=`func_classfile_version conftest.class` + compiler_target_version=`expr $compiler_cfversion - 44` + dnl It is hard to determine the compiler_source_version. This would + dnl require a list of code snippets that can be compiled only with a + dnl specific '-source' option and up, and this list would need to grow + dnl every 6 months. + dnl Also, javac may point to a shell script that already includes a + dnl '-source' option. + dnl Therefore, pass a '-source' option always. + source_option=' -source '`case "$source_version" in 6|7|8) echo 1. ;; esac`"$source_version" + dnl And pass a '-target' option as well, if needed. + dnl (All supported javac versions support both, see the table above.) + if expr $target_version = $compiler_target_version >/dev/null; then + target_option= + else + target_option=' -target '`case "$target_version" in 6|7|8) echo 1. ;; esac`"$target_version" + fi + if { echo "$as_me:__oline__: javac$nowarn_option$source_option$target_option -d . conftest.java" >&AS_MESSAGE_LOG_FD + javac$nowarn_option$source_option$target_option -d . conftest.java >&AS_MESSAGE_LOG_FD 2>&1 + } \ + && test -f conftest.class; then + dnl The compiler directly supports the desired source_version and + dnl target_version. Perfect. + CONF_JAVAC="javac$nowarn_option$source_option$target_option" + HAVE_JAVAC=1 + HAVE_JAVACOMP=1 + else + dnl If the desired source_version or target_version were too large + dnl for the compiler, there's nothing else we can do. + compiler_version=`echo "$as_me:__oline__: javac -version | sed -e 1q" >&AS_MESSAGE_LOG_FD + javac -version | sed -e 1q` +changequote(,)dnl + compiler_version=`echo "$compiler_version" | sed -e 's/^[^0-9]*\([0-9][0-9.]*\).*/\1/'` +changequote([,])dnl + case "$compiler_version" in + 1.*) dnl Map 1.6.0_85 to 6, 1.8.0_151 to 8. + compiler_version=`echo "$compiler_version" | sed -e 's/^1\.//' -e 's/\..*//'` + ;; + *) dnl Map 9.0.4 to 9, 10.0.2 to 10, etc. + compiler_version=`echo "$compiler_version" | sed -e 's/\..*//'` + ;; + esac + if expr $source_version '<=' "$compiler_version" >/dev/null \ + && expr $target_version '<=' "$compiler_version" >/dev/null; then + dnl Increase $source_version and $compiler_version until the + dnl compiler accepts these values. This is necessary to make + dnl e.g. $source_version = 6 work with Java 12 or newer, or + dnl $source_version = 7 work with Java 20 or newer. + try_source_version="$source_version" + try_target_version="$target_version" + while true; do + dnl Invariant: $try_source_version <= $try_target_version. + if expr $try_source_version = $try_target_version >/dev/null; then + try_target_version=`expr $try_target_version + 1` + fi + try_source_version=`expr $try_source_version + 1` + expr $try_source_version '<=' $compiler_version >/dev/null || break + source_option=' -source '`case "$try_source_version" in 6|7|8) echo 1. ;; esac`"$try_source_version" + if expr $try_target_version = $compiler_target_version >/dev/null; then + target_option= + else + target_option=' -target '`case "$try_target_version" in 6|7|8) echo 1. ;; esac`"$try_target_version" + fi + if { echo "$as_me:__oline__: javac$nowarn_option$source_option$target_option -d . conftest.java" >&AS_MESSAGE_LOG_FD + javac$nowarn_option$source_option$target_option -d . conftest.java >&AS_MESSAGE_LOG_FD 2>&1 + } \ + && test -f conftest.class; then + dnl The compiler supports the try_source_version and + dnl try_target_version. It's better than nothing. + CONF_JAVAC="javac$nowarn_option$source_option$target_option" + HAVE_JAVAC=1 + HAVE_JAVACOMP=1 + break + fi + done + fi + fi + fi + fi + fi + rm -f conftest*.java conftest*.class + fi + if test -n "$HAVE_JAVACOMP"; then + ac_result="$CONF_JAVAC" + else + ac_result="no" + fi + AC_MSG_RESULT([$ac_result]) + AC_SUBST([CONF_JAVAC]) + AC_SUBST([CLASSPATH]) + AC_SUBST([CLASSPATH_SEPARATOR]) + AC_SUBST([HAVE_JAVAC_ENVVAR]) + AC_SUBST([HAVE_JAVAC]) +]) + +# Simulates gt_JAVACOMP when no Java support is desired. +AC_DEFUN([gt_JAVACOMP_DISABLED], +[ + CONF_JAVAC= + HAVE_JAVAC_ENVVAR= + HAVE_JAVAC= + AC_SUBST([CONF_JAVAC]) + AC_SUBST([HAVE_JAVAC_ENVVAR]) + AC_SUBST([HAVE_JAVAC]) +]) diff --git a/miniconda3/share/doc/gettext/examples/build-aux/javacomp.sh.in b/miniconda3/share/doc/gettext/examples/build-aux/javacomp.sh.in new file mode 100644 index 0000000000000000000000000000000000000000..4a679f81c0eb1363f69b0678f771373f489b4eb1 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/build-aux/javacomp.sh.in @@ -0,0 +1,54 @@ +#!/bin/sh +# Compile a Java program. + +# Copyright (C) 2001-2025 Free Software Foundation, Inc. +# Written by Bruno Haible , 2001. +# +# 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 +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# This uses the same choices as javacomp.c, but instead of relying on the +# environment settings at run time, it uses the environment variables +# present at configuration time. +# +# This is a separate shell script, because it must be able to unset JAVA_HOME +# in some cases, which a simple shell command cannot do. +# +# The extra CLASSPATH must have been set prior to calling this script. +# Options that can be passed are -O, -g and "-d DIRECTORY". + +CONF_JAVAC='@CONF_JAVAC@' +CONF_CLASSPATH='@CLASSPATH@' +if test -n "@HAVE_JAVAC_ENVVAR@"; then + # Combine given CLASSPATH and configured CLASSPATH. + if test -n "$CLASSPATH"; then + CLASSPATH="$CLASSPATH${CONF_CLASSPATH:+@CLASSPATH_SEPARATOR@$CONF_CLASSPATH}" + else + CLASSPATH="$CONF_CLASSPATH" + fi + export CLASSPATH + test -z "$JAVA_VERBOSE" || echo "$CONF_JAVAC $@" 1>&2 + exec $CONF_JAVAC "$@" +else + unset JAVA_HOME + if test -n "@HAVE_JAVAC@"; then + # In this case, $CONF_JAVAC starts with "javac". + CLASSPATH="$CLASSPATH" + export CLASSPATH + test -z "$JAVA_VERBOSE" || echo "$CONF_JAVAC $@" 1>&2 + exec $CONF_JAVAC "$@" + else + echo 'Java compiler not found, try setting $JAVAC, then reconfigure' 1>&2 + exit 1 + fi +fi diff --git a/miniconda3/share/doc/gettext/examples/build-aux/javaexec.m4 b/miniconda3/share/doc/gettext/examples/build-aux/javaexec.m4 new file mode 100644 index 0000000000000000000000000000000000000000..44653c2040e143ad54dfdd31d94f618d14d6bfc0 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/build-aux/javaexec.m4 @@ -0,0 +1,93 @@ +# javaexec.m4 +# serial 11 +dnl Copyright (C) 2001-2003, 2006, 2009-2025 Free Software Foundation, Inc. +dnl This file is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. +dnl This file is offered as-is, without any warranty. + +# Prerequisites of javaexec.sh. +# gt_JAVAEXEC or gt_JAVAEXEC(testclass, its-directory) +# Sets HAVE_JAVAEXEC to nonempty if javaexec.sh will work. + +AC_DEFUN([gt_JAVAEXEC], +[ + AC_MSG_CHECKING([for Java virtual machine]) + AC_EGREP_CPP([yes], [ +#if defined _WIN32 || defined __CYGWIN__ || defined __EMX__ || defined __DJGPP__ + yes +#endif +], CLASSPATH_SEPARATOR=';', CLASSPATH_SEPARATOR=':') + CONF_JAVA= + HAVE_JAVA_ENVVAR= + HAVE_JAVA= + HAVE_JRE= + HAVE_JAVAEXEC=1 + if test -n "$JAVA"; then + HAVE_JAVA_ENVVAR=1 + CONF_JAVA="$JAVA" + else + pushdef([AC_MSG_CHECKING],[:])dnl + pushdef([AC_CHECKING],[:])dnl + pushdef([AC_MSG_RESULT],[:])dnl + AC_CHECK_PROG([HAVE_JAVA_IN_PATH], [java], [yes]) + AC_CHECK_PROG([HAVE_JRE_IN_PATH], [jre], [yes]) + popdef([AC_MSG_RESULT])dnl + popdef([AC_CHECKING])dnl + popdef([AC_MSG_CHECKING])dnl + m4_if([$1], , , [ + gt_saved_CLASSPATH="$CLASSPATH" + CLASSPATH="$2"${CLASSPATH+"$CLASSPATH_SEPARATOR$CLASSPATH"} + ]) + export CLASSPATH + if test -n "$HAVE_JAVA_IN_PATH" \ + && java -version >/dev/null 2>/dev/null \ + m4_if([$1], , , [&& { + echo "$as_me:__oline__: java $1" >&AS_MESSAGE_LOG_FD + java $1 >&AS_MESSAGE_LOG_FD 2>&1 + }]); then + HAVE_JAVA=1 + CONF_JAVA="java" + else + if test -n "$HAVE_JRE_IN_PATH" \ + && (jre >/dev/null 2>/dev/null || test $? = 1) \ + m4_if([$1], , , [&& { + echo "$as_me:__oline__: jre $1" >&AS_MESSAGE_LOG_FD + jre $1 >&AS_MESSAGE_LOG_FD 2>&1 + }]); then + HAVE_JRE=1 + CONF_JAVA="jre" + else + HAVE_JAVAEXEC= + fi + fi + m4_if([$1], , , [ + CLASSPATH="$gt_saved_CLASSPATH" + ]) + fi + if test -n "$HAVE_JAVAEXEC"; then + ac_result="$CONF_JAVA" + else + ac_result="no" + fi + AC_MSG_RESULT([$ac_result]) + AC_SUBST([CONF_JAVA]) + AC_SUBST([CLASSPATH]) + AC_SUBST([CLASSPATH_SEPARATOR]) + AC_SUBST([HAVE_JAVA_ENVVAR]) + AC_SUBST([HAVE_JAVA]) + AC_SUBST([HAVE_JRE]) +]) + +# Simulates gt_JAVAEXEC when no Java support is desired. +AC_DEFUN([gt_JAVAEXEC_DISABLED], +[ + CONF_JAVA= + HAVE_JAVA_ENVVAR= + HAVE_JAVA= + HAVE_JRE= + AC_SUBST([CONF_JAVA]) + AC_SUBST([HAVE_JAVA_ENVVAR]) + AC_SUBST([HAVE_JAVA]) + AC_SUBST([HAVE_JRE]) +]) diff --git a/miniconda3/share/doc/gettext/examples/build-aux/javaexec.sh.in b/miniconda3/share/doc/gettext/examples/build-aux/javaexec.sh.in new file mode 100644 index 0000000000000000000000000000000000000000..f0319f67a99f839e50aea84586b5bdf4aa21f4fa --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/build-aux/javaexec.sh.in @@ -0,0 +1,58 @@ +#!/bin/sh +# Execute a Java program. + +# Copyright (C) 2001-2025 Free Software Foundation, Inc. +# Written by Bruno Haible , 2001. +# +# 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 +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# This uses the same choices as javaexec.c, but instead of relying on the +# environment settings at run time, it uses the environment variables +# present at configuration time. +# +# This is a separate shell script, because it must be able to unset JAVA_HOME +# in some cases, which a simple shell command cannot do. +# +# The extra CLASSPATH must have been set prior to calling this script. + +CONF_JAVA='@CONF_JAVA@' +CONF_CLASSPATH='@CLASSPATH@' +if test -n "@HAVE_JAVA_ENVVAR@"; then + # Combine given CLASSPATH and configured CLASSPATH. + if test -n "$CLASSPATH"; then + CLASSPATH="$CLASSPATH${CONF_CLASSPATH:+@CLASSPATH_SEPARATOR@$CONF_CLASSPATH}" + else + CLASSPATH="$CONF_CLASSPATH" + fi + export CLASSPATH + test -z "$JAVA_VERBOSE" || echo "$CONF_JAVA $@" 1>&2 + exec $CONF_JAVA "$@" +else + unset JAVA_HOME + export CLASSPATH + if test -n "@HAVE_JAVA@"; then + # In this case, $CONF_JAVA is "java". + test -z "$JAVA_VERBOSE" || echo "$CONF_JAVA $@" 1>&2 + exec $CONF_JAVA "$@" + else + if test -n "@HAVE_JRE@"; then + # In this case, $CONF_JAVA is "jre". + test -z "$JAVA_VERBOSE" || echo "$CONF_JAVA $@" 1>&2 + exec $CONF_JAVA "$@" + else + echo 'Java virtual machine not found, try setting $JAVA, then reconfigure' 1>&2 + exit 1 + fi + fi +fi diff --git a/miniconda3/share/doc/gettext/examples/build-aux/modula2comp.m4 b/miniconda3/share/doc/gettext/examples/build-aux/modula2comp.m4 new file mode 100644 index 0000000000000000000000000000000000000000..1a25ca9587915514a665e7e708f6aeb7a51fa886 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/build-aux/modula2comp.m4 @@ -0,0 +1,34 @@ +# modula2comp.m4 +# serial 1 +dnl Copyright (C) 2025 Free Software Foundation, Inc. +dnl This file is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. +dnl This file is offered as-is, without any warranty. + +# Checks for a Modula-2 implementation. +# Sets M2C and M2FLAGS (options that can be used with "$M2C"). +AC_DEFUN([gt_MODULA2COMP], +[ + AC_MSG_CHECKING([for GNU Modula-2 compiler]) + pushdef([AC_MSG_CHECKING],[:])dnl + pushdef([AC_CHECKING],[:])dnl + pushdef([AC_MSG_RESULT],[:])dnl + AC_ARG_VAR([M2C], [Modula-2 compiler command]) + AC_ARG_VAR([M2FLAGS], [Modula-2 compiler options]) + AC_CHECK_TOOLS([M2C], [gm2]) + popdef([AC_MSG_RESULT])dnl + popdef([AC_CHECKING])dnl + popdef([AC_MSG_CHECKING])dnl + if test -n "$M2C"; then + ac_result="$M2C" + else + ac_result="no" + fi + AC_MSG_RESULT([$ac_result]) + AC_SUBST([M2C]) + if test -z "$M2FLAGS" && test -n "$M2C"; then + M2FLAGS="-g -O2" + fi + AC_SUBST([M2FLAGS]) +]) diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/INSTALL b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/INSTALL new file mode 100644 index 0000000000000000000000000000000000000000..45f18a1e124e402551664f55310a275352577dc1 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/INSTALL @@ -0,0 +1,19 @@ +This example relies on: + - the GNOME libraries (libgnomeui, libgnome, libgnomesupport, libart_lgpl) + and their dependencies: imlib (libgdk_imlib), audiofile (libaudiofile), + esound (libesd), zlib (libz). + - the GTK libraries (libgtk, libgdk) + - the glib libraries (libglib, libgmodule) + - the X11 libraries + - the GTK / C++ bindings (libgtkmm, libgdkmm) + - the C++ signal/slot library (libsigc++) + - the C++ runtime libraries (libstdc++) + +Installation: + ./autogen.sh + ./configure --prefix=/some/prefix + make + make install +Cleanup: + make distclean + ./autoclean.sh diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/Makefile.am b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..7eb62b4ba0a6f10337a190d6b1935ccc8c2e0e68 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/Makefile.am @@ -0,0 +1,29 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Makefile configuration - processed by automake. + +# General automake options. +AUTOMAKE_OPTIONS = foreign no-dependencies +ACLOCAL_AMFLAGS = -I m4 + +# The list of subdirectories containing Makefiles. +SUBDIRS = m4 po + +# The list of programs that are built. +bin_PROGRAMS = hello + +# The source files of the 'hello' program. +hello_SOURCES = hello.cc + +# Define a C macro LOCALEDIR indicating where catalogs will be installed. +DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ + +# Make sure the gnome.h include file is found. +AM_CPPFLAGS = $(GTKMM_CFLAGS) $(GNOME_INCLUDEDIR) + +# Link time dependencies. +LDADD = $(GTKMM_LIBS) $(GNOME_LIBDIR) $(GNOMEUI_LIBS) @LIBINTL@ + +# Additional files to be distributed. +EXTRA_DIST = autogen.sh autoclean.sh diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/autoclean.sh b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/autoclean.sh new file mode 100644 index 0000000000000000000000000000000000000000..9b8332fb282055fcc13b321d80e7054f54000af8 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/autoclean.sh @@ -0,0 +1,43 @@ +#!/bin/sh +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Script for cleaning all autogenerated files. + +test ! -f Makefile || make distclean +rm -rf autom4te.cache + +# Brought in by autopoint. +rm -f ABOUT-NLS +rm -f config.rpath +rm -f m4/gettext.m4 +rm -f m4/build-to-host.m4 +rm -f m4/host-cpu-c-abi.m4 +rm -f m4/iconv.m4 +rm -f m4/intlmacosx.m4 +rm -f m4/lib-ld.m4 +rm -f m4/lib-link.m4 +rm -f m4/lib-prefix.m4 +rm -f m4/nls.m4 +rm -f m4/po.m4 +rm -f m4/progtest.m4 +rm -f po/Makefile.in.in +rm -f po/remove-potcdate.sed + +# Generated by aclocal. +rm -f aclocal.m4 + +# Generated by autoconf. +rm -f configure + +# Generated or brought in by automake. +rm -f Makefile.in +rm -f m4/Makefile.in +rm -f compile +rm -f install-sh +rm -f missing +rm -f config.guess +rm -f config.sub +rm -f po/*.pot +rm -f po/stamp-po +rm -f po/*.gmo diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/autogen.sh b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/autogen.sh new file mode 100644 index 0000000000000000000000000000000000000000..cf1a97eec3ac424bd16d58e77382be46b3015993 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/autogen.sh @@ -0,0 +1,29 @@ +#!/bin/sh +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Script for regenerating all autogenerated files. + +autopoint -f # was: gettextize -f -c +rm po/Makevars.template +rm po/Rules-quot +rm po/boldquot.sed +rm po/en@boldquot.header +rm po/en@quot.header +rm po/insert-header.sed +rm po/quot.sed + +aclocal -I m4 + +autoconf + +automake -a -c + +cd po +for f in *.po; do + if test -r "$f"; then + lang=`echo $f | sed -e 's,\.po$,,'` + msgfmt -c -o $lang.gmo $lang.po + fi +done +cd .. diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/configure.ac b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/configure.ac new file mode 100644 index 0000000000000000000000000000000000000000..fcd5ec0e110520d9d976c0d4bd22d7d01669082f --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/configure.ac @@ -0,0 +1,24 @@ +dnl Example for use of GNU gettext. +dnl This file is in the public domain. +dnl +dnl Configuration file - processed by autoconf. + +AC_INIT([hello-c++-gnome2], [0], , [hello-c++-gnome2]) +AC_CONFIG_SRCDIR([hello.cc]) +AM_INIT_AUTOMAKE([1.11]) + +AC_PROG_CXX + +GNOME_INIT +GTKMM_CFLAGS=`gtkmm-config --cflags` +AC_SUBST([GTKMM_CFLAGS]) +GTKMM_LIBS=`gtkmm-config --libs` +AC_SUBST([GTKMM_LIBS]) + +AM_GNU_GETTEXT([external]) +AM_GNU_GETTEXT_VERSION([0.25]) + +AC_CONFIG_FILES([Makefile]) +AC_CONFIG_FILES([m4/Makefile]) +AC_CONFIG_FILES([po/Makefile.in]) +AC_OUTPUT diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/hello.cc b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/hello.cc new file mode 100644 index 0000000000000000000000000000000000000000..45200d57d4a68f76e0f5409dd29b5d28c88ad5cf --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/hello.cc @@ -0,0 +1,92 @@ +/* Example for use of GNU gettext. + This file is in the public domain. + + Source code of the C++ program. */ + + +/* Get GNOME declarations. */ +#include +#include + +/* Get getpid() declaration. */ +#if defined _WIN32 && !defined __CYGWIN__ +/* native Windows API */ +# include +# define getpid _getpid +#else +/* POSIX API */ +# include +#endif + +static Gtk::Main *application; + +static gint +quit_callback (GdkEventAny*) +{ + application->quit (); +} + +int +main (int argc, char *argv[]) +{ + Gtk::Window *window; + Gtk::VBox *panel; + Gtk::Label *label1; + Gtk::Alignment *label1aligned; + Gtk::Label *label2; + Gtk::Alignment *label2aligned; + Gtk::Button *button; + Gtk::HButtonBox *buttonbar; + + /* Initializations. */ + + setlocale (LC_ALL, ""); + application = new Gtk::Main (argc, argv); + textdomain ("hello-c++-gnome2"); + bindtextdomain ("hello-c++-gnome2", LOCALEDIR); + + /* Create the GUI elements. */ + + window = new Gtk::Window (GTK_WINDOW_TOPLEVEL); + window->set_title ("Hello example"); + window->realize (); + window->delete_event.connect (SigC::slot (quit_callback)); + + label1 = new Gtk::Label (_("Hello, world!")); + + label1aligned = new Gtk::Alignment (0.0, 0.5, 0, 0); + label1aligned->add (*label1); + + label2 = new Gtk::Label (g_strdup_printf (_("This program is running as process number %d."), getpid ())); + + label2aligned = new Gtk::Alignment (0.0, 0.5, 0, 0); + label2aligned->add (*label2); + + button = new Gtk::Button ("OK"); + button->clicked.connect (Gtk::Main::quit.slot()); //slot (quit_callback)); + + buttonbar = new Gtk::HButtonBox (GTK_BUTTONBOX_END); + buttonbar->pack_start (*button); + + panel = new Gtk::VBox (false, GNOME_PAD_SMALL); + panel->pack_start (*label1aligned); + panel->pack_start (*label2aligned); + panel->pack_start (*buttonbar); + + window->add (*panel); + + /* Make the GUI elements visible. */ + + label1->show (); + label1aligned->show (); + label2->show (); + label2aligned->show (); + button->show (); + buttonbar->show (); + panel->show (); + window->show (); + + /* Start the event loop. */ + + application->run (); +} diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/m4/Makefile.am b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/m4/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..539024b2b149a1949289628d9b137e3ec7fcb2bb --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/m4/Makefile.am @@ -0,0 +1,6 @@ +EXTRA_DIST = \ + gettext.m4 build-to-host.m4 host-cpu-c-abi.m4 \ + iconv.m4 intlmacosx.m4 lib-ld.m4 lib-link.m4 lib-prefix.m4 \ + nls.m4 po.m4 progtest.m4 \ + gnome.m4 gnome-gnorba-check.m4 gnome-orbit-check.m4 \ + gtk.m4 gtk--.m4 diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/m4/gnome-gnorba-check.m4 b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/m4/gnome-gnorba-check.m4 new file mode 100644 index 0000000000000000000000000000000000000000..dbac0a6cf75be4e9560f4653eed1437962b07710 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/m4/gnome-gnorba-check.m4 @@ -0,0 +1,35 @@ +dnl +dnl GNOME_GNORBA_HOOK (script-if-gnorba-found, failflag) +dnl +dnl if failflag is "failure" it aborts if gnorba is not found. +dnl + +AC_DEFUN([GNOME_GNORBA_HOOK],[ + GNOME_ORBIT_HOOK([],$2) + AC_CACHE_CHECK([for gnorba libraries],gnome_cv_gnorba_found,[ + gnome_cv_gnorba_found=no + if test x$gnome_cv_orbit_found = xyes; then + GNORBA_CFLAGS="`gnome-config --cflags gnorba gnomeui`" + GNORBA_LIBS="`gnome-config --libs gnorba gnomeui`" + if test -n "$GNORBA_LIBS"; then + gnome_cv_gnorba_found=yes + fi + fi + ]) + AM_CONDITIONAL(HAVE_GNORBA, test x$gnome_cv_gnorba_found = xyes) + if test x$gnome_cv_orbit_found = xyes; then + $1 + GNORBA_CFLAGS="`gnome-config --cflags gnorba gnomeui`" + GNORBA_LIBS="`gnome-config --libs gnorba gnomeui`" + AC_SUBST(GNORBA_CFLAGS) + AC_SUBST(GNORBA_LIBS) + else + if test x$2 = xfailure; then + AC_MSG_ERROR(gnorba library not installed or installation problem) + fi + fi +]) + +AC_DEFUN([GNOME_GNORBA_CHECK], [ + GNOME_GNORBA_HOOK([],failure) +]) diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/m4/gnome-orbit-check.m4 b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/m4/gnome-orbit-check.m4 new file mode 100644 index 0000000000000000000000000000000000000000..54bf33aa4ba585bdb409732799b2f50f4f773a83 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/m4/gnome-orbit-check.m4 @@ -0,0 +1,33 @@ +dnl +dnl GNOME_ORBIT_HOOK (script-if-orbit-found, failflag) +dnl +dnl if failflag is "failure" it aborts if orbit is not found. +dnl + +AC_DEFUN([GNOME_ORBIT_HOOK],[ + AC_PATH_PROG(ORBIT_CONFIG,orbit-config,no) + AC_PATH_PROG(ORBIT_IDL,orbit-idl,no) + AC_CACHE_CHECK([for working ORBit environment],gnome_cv_orbit_found,[ + if test x$ORBIT_CONFIG = xno -o x$ORBIT_IDL = xno; then + gnome_cv_orbit_found=no + else + gnome_cv_orbit_found=yes + fi + ]) + AM_CONDITIONAL(HAVE_ORBIT, test x$gnome_cv_orbit_found = xyes) + if test x$gnome_cv_orbit_found = xyes; then + $1 + ORBIT_CFLAGS=`orbit-config --cflags client server` + ORBIT_LIBS=`orbit-config --use-service=name --libs client server` + AC_SUBST(ORBIT_CFLAGS) + AC_SUBST(ORBIT_LIBS) + else + if test x$2 = xfailure; then + AC_MSG_ERROR(ORBit not installed or installation problem) + fi + fi +]) + +AC_DEFUN([GNOME_ORBIT_CHECK], [ + GNOME_ORBIT_HOOK([],failure) +]) diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/m4/gnome.m4 b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/m4/gnome.m4 new file mode 100644 index 0000000000000000000000000000000000000000..659c22c4942dc3411e8cd9a03df2346e2af760b6 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/m4/gnome.m4 @@ -0,0 +1,128 @@ +dnl +dnl GNOME_INIT_HOOK (script-if-gnome-enabled, [failflag], [additional-inits]) +dnl +dnl if failflag is "fail" then GNOME_INIT_HOOK will abort if gnomeConf.sh +dnl is not found. +dnl + +AC_DEFUN([GNOME_INIT_HOOK],[ + AC_SUBST(GNOME_LIBS) + AC_SUBST(GNOMEUI_LIBS) + AC_SUBST(GNOMEGNORBA_LIBS) + AC_SUBST(GTKXMHTML_LIBS) + AC_SUBST(ZVT_LIBS) + AC_SUBST(GNOME_LIBDIR) + AC_SUBST(GNOME_INCLUDEDIR) + + AC_ARG_WITH(gnome-includes, + [ --with-gnome-includes Specify location of GNOME headers],[ + CFLAGS="$CFLAGS -I$withval" + ]) + + AC_ARG_WITH(gnome-libs, + [ --with-gnome-libs Specify location of GNOME libs],[ + LDFLAGS="$LDFLAGS -L$withval" + gnome_prefix=$withval + ]) + + AC_ARG_WITH(gnome, + [ --with-gnome Specify prefix for GNOME files], + if test x$withval = xyes; then + want_gnome=yes + dnl Note that an empty true branch is not + dnl valid sh syntax. + ifelse([$1], [], :, [$1]) + else + if test "x$withval" = xno; then + want_gnome=no + else + want_gnome=yes + LDFLAGS="$LDFLAGS -L$withval/lib" + CFLAGS="$CFLAGS -I$withval/include" + gnome_prefix=$withval/lib + fi + fi, + want_gnome=yes) + + if test "x$want_gnome" = xyes; then + + AC_PATH_PROG(GNOME_CONFIG,gnome-config,no) + if test "$GNOME_CONFIG" = "no"; then + no_gnome_config="yes" + else + AC_MSG_CHECKING(if $GNOME_CONFIG works) + if $GNOME_CONFIG --libs-only-l gnome >/dev/null 2>&1; then + AC_MSG_RESULT(yes) + GNOME_GNORBA_HOOK([],$2) + GNOME_LIBS="`$GNOME_CONFIG --libs-only-l gnome`" + GNOMEUI_LIBS="`$GNOME_CONFIG --libs-only-l gnomeui`" + GNOMEGNORBA_LIBS="`$GNOME_CONFIG --libs-only-l gnorba gnomeui`" + GTKXMHTML_LIBS="`$GNOME_CONFIG --libs-only-l gtkxmhtml`" + ZVT_LIBS="`$GNOME_CONFIG --libs-only-l zvt`" + GNOME_LIBDIR="`$GNOME_CONFIG --libs-only-L gnorba gnomeui`" + GNOME_INCLUDEDIR="`$GNOME_CONFIG --cflags gnorba gnomeui`" + $1 + else + AC_MSG_RESULT(no) + no_gnome_config="yes" + fi + fi + + if test x$exec_prefix = xNONE; then + if test x$prefix = xNONE; then + gnome_prefix=$ac_default_prefix/lib + else + gnome_prefix=$prefix/lib + fi + else + gnome_prefix=`eval echo \`echo $libdir\`` + fi + + if test "$no_gnome_config" = "yes"; then + AC_MSG_CHECKING(for gnomeConf.sh file in $gnome_prefix) + if test -f $gnome_prefix/gnomeConf.sh; then + AC_MSG_RESULT(found) + echo "loading gnome configuration from" \ + "$gnome_prefix/gnomeConf.sh" + . $gnome_prefix/gnomeConf.sh + $1 + else + AC_MSG_RESULT(not found) + if test x$2 = xfail; then + AC_MSG_ERROR(Could not find the gnomeConf.sh file that is generated by gnome-libs install) + fi + fi + fi + fi + + if test -n "$3"; then + n="$3" + for i in $n; do + AC_MSG_CHECKING(extra library \"$i\") + case $i in + applets) + AC_SUBST(GNOME_APPLETS_LIBS) + GNOME_APPLETS_LIBS=`$GNOME_CONFIG --libs-only-l applets` + AC_MSG_RESULT($GNOME_APPLETS_LIBS);; + docklets) + AC_SUBST(GNOME_DOCKLETS_LIBS) + GNOME_DOCKLETS_LIBS=`$GNOME_CONFIG --libs-only-l docklets` + AC_MSG_RESULT($GNOME_DOCKLETS_LIBS);; + capplet) + AC_SUBST(GNOME_CAPPLET_LIBS) + GNOME_CAPPLET_LIBS=`$GNOME_CONFIG --libs-only-l capplet` + AC_MSG_RESULT($GNOME_CAPPLET_LIBS);; + *) + AC_MSG_RESULT(unknown library) + esac + done + fi +]) + +dnl +dnl GNOME_INIT ([additional-inits]) +dnl + +AC_DEFUN([GNOME_INIT],[ + GNOME_INIT_HOOK([],fail,$1) +]) diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/m4/gtk--.m4 b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/m4/gtk--.m4 new file mode 100644 index 0000000000000000000000000000000000000000..896b64d64cf9e2c29c7c1348dd966c24f73a1c18 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/m4/gtk--.m4 @@ -0,0 +1,195 @@ +# Configure paths for GTK-- +# Erik Andersen 30 May 1998 +# Modified by Tero Pulkkinen (added the compiler checks... I hope they work..) +# Modified by Thomas Langen 16 Jan 2000 (corrected CXXFLAGS) + +dnl Test for GTKMM, and define GTKMM_CFLAGS and GTKMM_LIBS +dnl to be used as follows: +dnl AM_PATH_GTKMM([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) +dnl +AC_DEFUN([AM_PATH_GTKMM], +[dnl +dnl Get the cflags and libraries from the gtkmm-config script +dnl +AC_ARG_WITH(gtkmm-prefix,[ --with-gtkmm-prefix=PREFIX + Prefix where GTK-- is installed (optional)], + gtkmm_config_prefix="$withval", gtkmm_config_prefix="") +AC_ARG_WITH(gtkmm-exec-prefix,[ --with-gtkmm-exec-prefix=PREFIX + Exec prefix where GTK-- is installed (optional)], + gtkmm_config_exec_prefix="$withval", gtkmm_config_exec_prefix="") +AC_ARG_ENABLE(gtkmmtest, [ --disable-gtkmmtest Do not try to compile and run a test GTK-- program], + , enable_gtkmmtest=yes) + + if test x$gtkmm_config_exec_prefix != x ; then + gtkmm_config_args="$gtkmm_config_args --exec-prefix=$gtkmm_config_exec_prefix" + if test x${GTKMM_CONFIG+set} != xset ; then + GTKMM_CONFIG=$gtkmm_config_exec_prefix/bin/gtkmm-config + fi + fi + if test x$gtkmm_config_prefix != x ; then + gtkmm_config_args="$gtkmm_config_args --prefix=$gtkmm_config_prefix" + if test x${GTKMM_CONFIG+set} != xset ; then + GTKMM_CONFIG=$gtkmm_config_prefix/bin/gtkmm-config + fi + fi + + AC_PATH_PROG(GTKMM_CONFIG, gtkmm-config, no) + min_gtkmm_version=ifelse([$1], ,0.10.0,$1) + + AC_MSG_CHECKING(for GTK-- - version >= $min_gtkmm_version) + AC_LANG_SAVE + no_gtkmm="" + if test "$GTKMM_CONFIG" = "no" ; then + no_gtkmm=yes + else + AC_LANG_CPLUSPLUS + + GTKMM_CFLAGS=`$GTKMM_CONFIG $gtkmm_config_args --cflags` + GTKMM_LIBS=`$GTKMM_CONFIG $gtkmm_config_args --libs` + gtkmm_config_major_version=`$GTKMM_CONFIG $gtkmm_config_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` + gtkmm_config_minor_version=`$GTKMM_CONFIG $gtkmm_config_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` + gtkmm_config_micro_version=`$GTKMM_CONFIG $gtkmm_config_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` + if test "x$enable_gtkmmtest" = "xyes" ; then + ac_save_CXXFLAGS="$CXXFLAGS" + ac_save_LIBS="$LIBS" + CXXFLAGS="$CXXFLAGS $GTKMM_CFLAGS" + LIBS="$LIBS $GTKMM_LIBS" +dnl +dnl Now check if the installed GTK-- is sufficiently new. (Also sanity +dnl checks the results of gtkmm-config to some extent +dnl + rm -f conf.gtkmmtest + AC_TRY_RUN([ +#include +#include +#include + +int +main () +{ + int major, minor, micro; + char *tmp_version; + + system ("touch conf.gtkmmtest"); + + /* HP/UX 0 (%@#!) writes to sscanf strings */ + tmp_version = g_strdup("$min_gtkmm_version"); + if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { + printf("%s, bad version string\n", "$min_gtkmm_version"); + exit(1); + } + + if ((gtkmm_major_version != $gtkmm_config_major_version) || + (gtkmm_minor_version != $gtkmm_config_minor_version) || + (gtkmm_micro_version != $gtkmm_config_micro_version)) + { + printf("\n*** 'gtkmm-config --version' returned %d.%d.%d, but GTK-- (%d.%d.%d)\n", + $gtkmm_config_major_version, $gtkmm_config_minor_version, $gtkmm_config_micro_version, + gtkmm_major_version, gtkmm_minor_version, gtkmm_micro_version); + printf ("*** was found! If gtkmm-config was correct, then it is best\n"); + printf ("*** to remove the old version of GTK--. You may also be able to fix the error\n"); + printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); + printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); + printf("*** required on your system.\n"); + printf("*** If gtkmm-config was wrong, set the environment variable GTKMM_CONFIG\n"); + printf("*** to point to the correct copy of gtkmm-config, and remove the file config.cache\n"); + printf("*** before re-running configure\n"); + } +/* GTK-- does not have the GTKMM_*_VERSION constants */ +/* + else if ((gtkmm_major_version != GTKMM_MAJOR_VERSION) || + (gtkmm_minor_version != GTKMM_MINOR_VERSION) || + (gtkmm_micro_version != GTKMM_MICRO_VERSION)) + { + printf("*** GTK-- header files (version %d.%d.%d) do not match\n", + GTKMM_MAJOR_VERSION, GTKMM_MINOR_VERSION, GTKMM_MICRO_VERSION); + printf("*** library (version %d.%d.%d)\n", + gtkmm_major_version, gtkmm_minor_version, gtkmm_micro_version); + } +*/ + else + { + if ((gtkmm_major_version > major) || + ((gtkmm_major_version == major) && (gtkmm_minor_version > minor)) || + ((gtkmm_major_version == major) && (gtkmm_minor_version == minor) && (gtkmm_micro_version >= micro))) + { + return 0; + } + else + { + printf("\n*** An old version of GTK-- (%d.%d.%d) was found.\n", + gtkmm_major_version, gtkmm_minor_version, gtkmm_micro_version); + printf("*** You need a version of GTK-- newer than %d.%d.%d. The latest version of\n", + major, minor, micro); + printf("*** GTK-- is always available from ftp://ftp.gtk.org.\n"); + printf("***\n"); + printf("*** If you have already installed a sufficiently new version, this error\n"); + printf("*** probably means that the wrong copy of the gtkmm-config shell script is\n"); + printf("*** being found. The easiest way to fix this is to remove the old version\n"); + printf("*** of GTK--, but you can also set the GTKMM_CONFIG environment to point to the\n"); + printf("*** correct copy of gtkmm-config. (In this case, you will have to\n"); + printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); + printf("*** so that the correct libraries are found at run-time))\n"); + } + } + return 1; +} +],, no_gtkmm=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) + CXXFLAGS="$ac_save_CXXFLAGS" + LIBS="$ac_save_LIBS" + fi + fi + if test "x$no_gtkmm" = x ; then + AC_MSG_RESULT(yes) + ifelse([$2], , :, [$2]) + else + AC_MSG_RESULT(no) + if test "$GTKMM_CONFIG" = "no" ; then + echo "*** The gtkmm-config script installed by GTK-- could not be found" + echo "*** If GTK-- was installed in PREFIX, make sure PREFIX/bin is in" + echo "*** your path, or set the GTKMM_CONFIG environment variable to the" + echo "*** full path to gtkmm-config." + echo "*** The gtkmm-config script was not available in GTK-- versions" + echo "*** prior to 0.9.12. Perhaps you need to update your installed" + echo "*** version to 0.9.12 or later" + else + if test -f conf.gtkmmtest ; then + : + else + echo "*** Could not run GTK-- test program, checking why..." + CXXFLAGS="$CXXFLAGS $GTKMM_CFLAGS" + LIBS="$LIBS $GTKMM_LIBS" + AC_TRY_LINK([ +#include +#include +], [ return ((gtkmm_major_version) || (gtkmm_minor_version) || (gtkmm_micro_version)); ], + [ echo "*** The test program compiled, but did not run. This usually means" + echo "*** that the run-time linker is not finding GTK-- or finding the wrong" + echo "*** version of GTK--. If it is not finding GTK--, you'll need to set your" + echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" + echo "*** to the installed location Also, make sure you have run ldconfig if that" + echo "*** is required on your system" + echo "***" + echo "*** If you have an old version installed, it is best to remove it, although" + echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ], + [ echo "*** The test program failed to compile or link. See the file config.log for the" + echo "*** exact error that occured. This usually means GTK-- was incorrectly installed" + echo "*** or that you have moved GTK-- since it was installed. In the latter case, you" + echo "*** may want to edit the gtkmm-config script: $GTKMM_CONFIG" ]) + CXXFLAGS="$ac_save_CXXFLAGS" + LIBS="$ac_save_LIBS" + fi + fi + GTKMM_CFLAGS="" + GTKMM_LIBS="" + ifelse([$3], , :, [$3]) + fi + AC_LANG_RESTORE + AC_SUBST(GTKMM_CFLAGS) + AC_SUBST(GTKMM_LIBS) + rm -f conf.gtkmmtest +]) + diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/m4/gtk.m4 b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/m4/gtk.m4 new file mode 100644 index 0000000000000000000000000000000000000000..f2dd472197ced58758c1622f6c616cfab72b8713 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/m4/gtk.m4 @@ -0,0 +1,194 @@ +# Configure paths for GTK+ +# Owen Taylor 97-11-3 + +dnl AM_PATH_GTK([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]]) +dnl Test for GTK, and define GTK_CFLAGS and GTK_LIBS +dnl +AC_DEFUN([AM_PATH_GTK], +[dnl +dnl Get the cflags and libraries from the gtk-config script +dnl +AC_ARG_WITH(gtk-prefix,[ --with-gtk-prefix=PFX Prefix where GTK is installed (optional)], + gtk_config_prefix="$withval", gtk_config_prefix="") +AC_ARG_WITH(gtk-exec-prefix,[ --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)], + gtk_config_exec_prefix="$withval", gtk_config_exec_prefix="") +AC_ARG_ENABLE(gtktest, [ --disable-gtktest Do not try to compile and run a test GTK program], + , enable_gtktest=yes) + + for module in . $4 + do + case "$module" in + gthread) + gtk_config_args="$gtk_config_args gthread" + ;; + esac + done + + if test x$gtk_config_exec_prefix != x ; then + gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix" + if test x${GTK_CONFIG+set} != xset ; then + GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config + fi + fi + if test x$gtk_config_prefix != x ; then + gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix" + if test x${GTK_CONFIG+set} != xset ; then + GTK_CONFIG=$gtk_config_prefix/bin/gtk-config + fi + fi + + AC_PATH_PROG(GTK_CONFIG, gtk-config, no) + min_gtk_version=ifelse([$1], ,0.99.7,$1) + AC_MSG_CHECKING(for GTK - version >= $min_gtk_version) + no_gtk="" + if test "$GTK_CONFIG" = "no" ; then + no_gtk=yes + else + GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags` + GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs` + gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` + gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` + gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` + if test "x$enable_gtktest" = "xyes" ; then + ac_save_CFLAGS="$CFLAGS" + ac_save_LIBS="$LIBS" + CFLAGS="$CFLAGS $GTK_CFLAGS" + LIBS="$GTK_LIBS $LIBS" +dnl +dnl Now check if the installed GTK is sufficiently new. (Also sanity +dnl checks the results of gtk-config to some extent +dnl + rm -f conf.gtktest + AC_TRY_RUN([ +#include +#include +#include + +int +main () +{ + int major, minor, micro; + char *tmp_version; + + system ("touch conf.gtktest"); + + /* HP/UX 9 (%@#!) writes to sscanf strings */ + tmp_version = g_strdup("$min_gtk_version"); + if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { + printf("%s, bad version string\n", "$min_gtk_version"); + exit(1); + } + + if ((gtk_major_version != $gtk_config_major_version) || + (gtk_minor_version != $gtk_config_minor_version) || + (gtk_micro_version != $gtk_config_micro_version)) + { + printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", + $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version, + gtk_major_version, gtk_minor_version, gtk_micro_version); + printf ("*** was found! If gtk-config was correct, then it is best\n"); + printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n"); + printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); + printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); + printf("*** required on your system.\n"); + printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n"); + printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n"); + printf("*** before re-running configure\n"); + } +#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION) + else if ((gtk_major_version != GTK_MAJOR_VERSION) || + (gtk_minor_version != GTK_MINOR_VERSION) || + (gtk_micro_version != GTK_MICRO_VERSION)) + { + printf("*** GTK+ header files (version %d.%d.%d) do not match\n", + GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION); + printf("*** library (version %d.%d.%d)\n", + gtk_major_version, gtk_minor_version, gtk_micro_version); + } +#endif /* defined (GTK_MAJOR_VERSION) ... */ + else + { + if ((gtk_major_version > major) || + ((gtk_major_version == major) && (gtk_minor_version > minor)) || + ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro))) + { + return 0; + } + else + { + printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n", + gtk_major_version, gtk_minor_version, gtk_micro_version); + printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n", + major, minor, micro); + printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n"); + printf("***\n"); + printf("*** If you have already installed a sufficiently new version, this error\n"); + printf("*** probably means that the wrong copy of the gtk-config shell script is\n"); + printf("*** being found. The easiest way to fix this is to remove the old version\n"); + printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n"); + printf("*** correct copy of gtk-config. (In this case, you will have to\n"); + printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); + printf("*** so that the correct libraries are found at run-time))\n"); + } + } + return 1; +} +],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + fi + fi + if test "x$no_gtk" = x ; then + AC_MSG_RESULT(yes) + ifelse([$2], , :, [$2]) + else + AC_MSG_RESULT(no) + if test "$GTK_CONFIG" = "no" ; then + echo "*** The gtk-config script installed by GTK could not be found" + echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in" + echo "*** your path, or set the GTK_CONFIG environment variable to the" + echo "*** full path to gtk-config." + else + if test -f conf.gtktest ; then + : + else + echo "*** Could not run GTK test program, checking why..." + CFLAGS="$CFLAGS $GTK_CFLAGS" + LIBS="$LIBS $GTK_LIBS" + AC_TRY_LINK([ +#include +#include +], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ], + [ echo "*** The test program compiled, but did not run. This usually means" + echo "*** that the run-time linker is not finding GTK or finding the wrong" + echo "*** version of GTK. If it is not finding GTK, you'll need to set your" + echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" + echo "*** to the installed location Also, make sure you have run ldconfig if that" + echo "*** is required on your system" + echo "***" + echo "*** If you have an old version installed, it is best to remove it, although" + echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" + echo "***" + echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that" + echo "*** came with the system with the command" + echo "***" + echo "*** rpm --erase --nodeps gtk gtk-devel" ], + [ echo "*** The test program failed to compile or link. See the file config.log for the" + echo "*** exact error that occured. This usually means GTK was incorrectly installed" + echo "*** or that you have moved GTK since it was installed. In the latter case, you" + echo "*** may want to edit the gtk-config script: $GTK_CONFIG" ]) + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + fi + fi + GTK_CFLAGS="" + GTK_LIBS="" + ifelse([$3], , :, [$3]) + fi + AC_SUBST(GTK_CFLAGS) + AC_SUBST(GTK_LIBS) + rm -f conf.gtktest +]) diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/LINGUAS b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/LINGUAS new file mode 100644 index 0000000000000000000000000000000000000000..dc4a82afbad945018082c22f2061a43ef436dd68 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/LINGUAS @@ -0,0 +1,5 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Set of available languages. +af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ka ky lv ms mt nb nl nn pl pt pt_BR ro ru sk sl sq sr sv ta tr uk vi zh_CN zh_HK zh_TW diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/Makevars b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/Makevars new file mode 100644 index 0000000000000000000000000000000000000000..c3f465c6825fc1a1d5a5cc56fbf52ae4727db0a3 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/Makevars @@ -0,0 +1,95 @@ +# Makefile variables for PO directory in any package using GNU gettext. +# +# Copyright (C) 2003-2025 Free Software Foundation, Inc. +# This file is free software; the Free Software Foundation gives +# unlimited permission to use, copy, distribute, and modify it. + +# Usually the message domain is the same as the package name. +DOMAIN = $(PACKAGE) + +# These two variables depend on the location of this directory. +subdir = po +top_builddir = .. + +# These options get passed to xgettext. +XGETTEXT_OPTIONS = \ + --keyword=_ --flag=_:1:pass-c-format \ + --keyword=N_ --flag=N_:1:pass-c-format \ + --flag=g_log:3:c-format --flag=g_logv:3:c-format \ + --flag=g_error:1:c-format --flag=g_message:1:c-format \ + --flag=g_critical:1:c-format --flag=g_warning:1:c-format \ + --flag=g_print:1:c-format \ + --flag=g_printerr:1:c-format \ + --flag=g_strdup_printf:1:c-format --flag=g_strdup_vprintf:1:c-format \ + --flag=g_printf_string_upper_bound:1:c-format \ + --flag=g_snprintf:3:c-format --flag=g_vsnprintf:3:c-format \ + --flag=g_string_sprintf:2:c-format \ + --flag=g_string_sprintfa:2:c-format \ + --flag=g_scanner_error:2:c-format \ + --flag=g_scanner_warn:2:c-format + +# This is the copyright holder that gets inserted into the header of the +# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding +# package. (Note that the msgid strings, extracted from the package's +# sources, belong to the copyright holder of the package.) Translators are +# expected to transfer the copyright for their translations to this person +# or entity, or to disclaim their copyright. The empty string stands for +# the public domain; in this case the translators are expected to disclaim +# their copyright. +COPYRIGHT_HOLDER = Yoyodyne, Inc. + +# This tells whether or not to prepend "GNU " prefix to the package +# name that gets inserted into the header of the $(DOMAIN).pot file. +# Possible values are "yes", "no", or empty. If it is empty, try to +# detect it automatically by scanning the files in $(top_srcdir) for +# "GNU packagename" string. +PACKAGE_GNU = no + +# This is the email address or URL to which the translators shall report +# bugs in the untranslated strings: +# - Strings which are not entire sentences, see the maintainer guidelines +# in the GNU gettext documentation, section 'Preparing Strings'. +# - Strings which use unclear terms or require additional context to be +# understood. +# - Strings which make invalid assumptions about notation of date, time or +# money. +# - Pluralisation problems. +# - Incorrect English spelling. +# - Incorrect formatting. +# It can be your email address, or a mailing list address where translators +# can write to without being subscribed, or the URL of a web page through +# which the translators can contact you. +MSGID_BUGS_ADDRESS = bug-gettext@gnu.org + +# This is the list of locale categories, beyond LC_MESSAGES, for which the +# message catalogs shall be used. It is usually empty. +EXTRA_LOCALE_CATEGORIES = + +# This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt' +# context. Possible values are "yes" and "no". Set this to yes if the +# package uses functions taking also a message context, like pgettext(), or +# if in $(XGETTEXT_OPTIONS) you define keywords with a context argument. +USE_MSGCTXT = no + +# These options get passed to msgmerge. +# Useful options are in particular: +# --previous to keep previous msgids of translated messages +MSGMERGE_OPTIONS = + +# These options get passed to msginit. +# If you want to disable line wrapping when writing PO files, add +# --no-wrap to MSGMERGE_OPTIONS, XGETTEXT_OPTIONS, and +# MSGINIT_OPTIONS. +MSGINIT_OPTIONS = + +# This tells whether or not to regenerate a PO file when $(DOMAIN).pot +# has changed. Possible values are "yes" and "no". Set this to no if +# the POT file is checked in the repository and the version control +# program ignores timestamps. +PO_DEPENDS_ON_POT = yes + +# This tells whether or not to forcibly update $(DOMAIN).pot and +# regenerate PO files on "make dist". Possible values are "yes" and +# "no". Set this to no if the POT file and PO files are maintained +# externally. +DIST_DEPENDS_ON_UPDATE_PO = yes diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/POTFILES.in b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/POTFILES.in new file mode 100644 index 0000000000000000000000000000000000000000..bd28e81ce0c6a6f5784add4abe0aa0c66e4ed1af --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/POTFILES.in @@ -0,0 +1,5 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# List of files which contain translatable strings. +hello.cc diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/af.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/af.po new file mode 100644 index 0000000000000000000000000000000000000000..d5c1bd1e8028cd47314193e2bc6d46172f635a5a --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/af.po @@ -0,0 +1,26 @@ +# Afrikaans translation for Silky +# Copyright (C) 2004 Free Software Foundation, Inc. +# This file is distributed under the same license as the silky package. +# Hanlie Pretorius , 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome2-0.13.1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2003-12-31 10:30+2\n" +"Last-Translator: Ysbeer \n" +"Language-Team: Afrikaans \n" +"Language: af\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:55 +msgid "Hello, world!" +msgstr "Hallo wêreld!" + +#: hello.cc:60 +#, c-format +msgid "This program is running as process number %d." +msgstr "Hierdie program loop as prosesnommer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/ast.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/ast.po new file mode 100644 index 0000000000000000000000000000000000000000..9cf0d89462f9ef041c193085569dbd1eeb35b66a --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/ast.po @@ -0,0 +1,29 @@ +# Asturian translation for hello-c++-gnome2 +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Marquinos , 2009. +# enolp , 2018. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome2 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2018-07-16 00:28+0100\n" +"Last-Translator: enolp \n" +"Language-Team: Asturian \n" +"Language: ast\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Lokalize 2.0\n" + +#: hello.cc:55 +msgid "Hello, world!" +msgstr "¡Hola, mundu!" + +#: hello.cc:60 +#, c-format +msgid "This program is running as process number %d." +msgstr "Esti programa ta executándose como procesu númberu %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/bg.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/bg.po new file mode 100644 index 0000000000000000000000000000000000000000..ef0d4bce2b1e0c732d1d8ebca8ce7bdbbc2bd944 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/bg.po @@ -0,0 +1,26 @@ +# Bulgarian translations for hello-c++-gnome2 package. +# Copyright (C) 2010 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Roumen Petrov , 2010,2014,2015,2019,2023,2024.2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c++-gnome2 0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-08 19:09+0200\n" +"Last-Translator: Roumen Petrov \n" +"Language-Team: Bulgarian \n" +"Language: bg\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:55 +msgid "Hello, world!" +msgstr "Здравейте всички!" + +#: hello.cc:60 +#, c-format +msgid "This program is running as process number %d." +msgstr "Програмата е пусната под процес номер %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/ca.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/ca.po new file mode 100644 index 0000000000000000000000000000000000000000..7514f5572ea6c0e2f8a898061fe1155fff3e6a19 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/ca.po @@ -0,0 +1,27 @@ +# Catalan messages for GNU hello-c++-gnome2. +# Copyright (C) 2003, 2014, 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Ivan Vilata i Balaguer , 2003, 2014, 2015, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome2 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-07-07 08:36+0200\n" +"Last-Translator: Ivan Vilata i Balaguer \n" +"Language-Team: Catalan \n" +"Language: ca\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.cc:55 +msgid "Hello, world!" +msgstr "Hola, món!" + +#: hello.cc:60 +#, c-format +msgid "This program is running as process number %d." +msgstr "Aquest programa està corrent amb el número de procés %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/cs.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/cs.po new file mode 100644 index 0000000000000000000000000000000000000000..b3be666945e0fb606c3fd433cf0635c25d066d6e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/cs.po @@ -0,0 +1,29 @@ +# The Czech translation for the gettext package. +# Copyright (C) 2011 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Marek Černocký , 2011. +# Petr Písař , 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome2 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 20:05+02:00\n" +"Last-Translator: Petr Pisar \n" +"Language-Team: Czech \n" +"Language: cs\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#: hello.cc:55 +msgid "Hello, world!" +msgstr "Ahoj světe!" + +#: hello.cc:60 +#, c-format +msgid "This program is running as process number %d." +msgstr "Tento program běží jako proces číslo %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/da.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/da.po new file mode 100644 index 0000000000000000000000000000000000000000..8c92ef09e6ef9c7c06909a1dd3819617ed860c88 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/da.po @@ -0,0 +1,28 @@ +# Danish messages for hello-c++-gnome2. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Jan Djærv , 2003, 2006. +# Keld Simonsen , 2011. +# Joe Hansen , 2015. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome2 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-06-27 12:39+0100\n" +"Last-Translator: Joe Hansen \n" +"Language-Team: Danish \n" +"Language: da\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:55 +msgid "Hello, world!" +msgstr "Hej verden!" + +#: hello.cc:60 +#, c-format +msgid "This program is running as process number %d." +msgstr "Dette program kører som proces nummer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/de.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/de.po new file mode 100644 index 0000000000000000000000000000000000000000..5d48b6f8c788e16368dabd7f193f060d33698c46 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/de.po @@ -0,0 +1,32 @@ +# German messages for hello-c++-gnome2. +# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Bruno Haible , 2003. +# Karl Eichwalder , 2003. +# Jakob Kramer , 2013. +# Mario Blättermann , 2014, 2023, 2025. +# Philipp Thomas , 2015. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome2 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 17:15+0200\n" +"Last-Translator: Mario Blättermann \n" +"Language-Team: German \n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 25.04.0\n" + +#: hello.cc:55 +msgid "Hello, world!" +msgstr "Hallo Welt!" + +#: hello.cc:60 +#, c-format +msgid "This program is running as process number %d." +msgstr "Dieses Programm läuft mit der Prozess-Nummer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/el.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/el.po new file mode 100644 index 0000000000000000000000000000000000000000..3181298037fe5735322b2b071afc251cdcc2d0b7 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/el.po @@ -0,0 +1,26 @@ +# Greek translation of hello-c++-gnome2 +# Copyright (C) 2005 Free Software Foundation, Inc. +# Simos Xenitellis , 2005. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome2 0.14.1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2005-01-06 18:50+0000\n" +"Last-Translator: Simos Xenitellis \n" +"Language-Team: Greek \n" +"Language: el\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: KBabel 1.3.1\n" + +#: hello.cc:55 +msgid "Hello, world!" +msgstr "Γεια σου, κόσμε!" + +#: hello.cc:60 +#, c-format +msgid "This program is running as process number %d." +msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/eo.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/eo.po new file mode 100644 index 0000000000000000000000000000000000000000..8c76e3eb6f2e55ef661dd37bbd9a9303cc1c5c60 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/eo.po @@ -0,0 +1,28 @@ +# La teksto por la mesaĝoj de la programo "gettext". +# Copyright (C) 2006, 2016 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Edmund GRIMLEY EVANS , 2006. +# Felipe CASTRO , 2016, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome2 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-23 19:00-0300\n" +"Last-Translator: Felipe Castro \n" +"Language-Team: Esperanto \n" +"Language: eo\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.cc:55 +msgid "Hello, world!" +msgstr "Saluton, mondo!" + +#: hello.cc:60 +#, c-format +msgid "This program is running as process number %d." +msgstr "Ĉi tiu programo rulas kiel procez-numero %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/es.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/es.po new file mode 100644 index 0000000000000000000000000000000000000000..e5a86af684345a254bc01b84e1661e6214d25ba1 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/es.po @@ -0,0 +1,30 @@ +# Mensajes en español para GNU gettext. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# +# This file is distributed under the same license as the gettext package. +# +# Max de Mendizábal , 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004. +# Antonio Ceballos , 2014, 2015, 2023, 2025 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome2-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-02-23 17:01+0100\n" +"Last-Translator: Antonio Ceballos \n" +"Language-Team: Spanish \n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.cc:55 +msgid "Hello, world!" +msgstr "¡Hola, mundo!" + +#: hello.cc:60 +#, c-format +msgid "This program is running as process number %d." +msgstr "Este programa está corriendo como el proceso número %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/fi.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/fi.po new file mode 100644 index 0000000000000000000000000000000000000000..3bb985fe89171e720a9c45b5463226459d421145 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/fi.po @@ -0,0 +1,29 @@ +# Finnish messages for GNU Gettext examples. +# This file is distributed under the same license as the gettext package. +# Copyright © 2007, 2014, 2015 Yoyodyne, Inc. (msgids) +# Lauri Nurmi , 2007. +# Jorma Karvonen , 2014-2015. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome2 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-09-01 16:59+0300\n" +"Last-Translator: Jorma Karvonen \n" +"Language-Team: Finnish \n" +"Language: fi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 1.5.4\n" + +# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti. +#: hello.cc:55 +msgid "Hello, world!" +msgstr "Terve maailma!" + +#: hello.cc:60 +#, c-format +msgid "This program is running as process number %d." +msgstr "Tämän ohjelman prosessinumero on %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/fr.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/fr.po new file mode 100644 index 0000000000000000000000000000000000000000..e9a9488d7788ac541280eec9b34fbebd5bee3fde --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/fr.po @@ -0,0 +1,32 @@ +# Messages français pour GNU gettext. +# Copyright (C) 2006 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Michel Robitaille , 2006. +# Christophe Combelles , 2006 +# Stéphane Aulery , 2015 +# Christian Wiatr , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome2 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-28 16:25+0200\n" +"Last-Translator: Christian Wiatr \n" +"Language-Team: French \n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.cc:55 +msgid "Hello, world!" +msgstr "Bonjour, le monde !" + +#: hello.cc:60 +#, c-format +msgid "This program is running as process number %d." +msgstr "Ce programme est exécuté en tant que processus numéro %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/ga.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/ga.po new file mode 100644 index 0000000000000000000000000000000000000000..b14bd4dee7678a00b3a1dfbfee3daad40add194c --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/ga.po @@ -0,0 +1,26 @@ +# Irish translations for hello-c++-gnome2. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Kevin Patrick Scannell , 2004, 2017. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome2 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2017-01-10 12:09-0500\n" +"Last-Translator: Kevin Patrick Scannell \n" +"Language-Team: Irish \n" +"Language: ga\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:55 +msgid "Hello, world!" +msgstr "Dia duit, a dhomhain!" + +#: hello.cc:60 +#, c-format +msgid "This program is running as process number %d." +msgstr "Tá an clár seo ag rith mar phróiseas %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/gl.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/gl.po new file mode 100644 index 0000000000000000000000000000000000000000..bd55b5169140a24f083e27d0b28c462fa6b5f15e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/gl.po @@ -0,0 +1,31 @@ +# Galician translation for hello-c++-gnome2 package. +# Copyright (C) 2010 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Leandro Regueiro , 2010-2014. +# +# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas +# colaborar connosco, podes atopar máis información en +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome2 0.19-rc1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2014-05-10 16:34+0100\n" +"Last-Translator: Leandro Regueiro \n" +"Language-Team: Galician \n" +"Language: gl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n!=1);\n" + +#: hello.cc:55 +msgid "Hello, world!" +msgstr "Ola, mundo!" + +#: hello.cc:60 +#, c-format +msgid "This program is running as process number %d." +msgstr "Este programa estase executando como o proceso número %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/hr.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/hr.po new file mode 100644 index 0000000000000000000000000000000000000000..edc27311cb8d4726ac1e07ce03d92df42d335752 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/hr.po @@ -0,0 +1,33 @@ +# Translation of hello-c++-gnome2 to Croatian. +# Copyright (C) 2003, 2004, 2014, 2015, 2019 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Permission is granted to freely copy and distribute +# this file and modified versions, provided that this +# header is not removed and modified versions are marked +# as such. +# +# Tomislav Krznar , 2012. +# Božidar Putanec , 2018-2025. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c++-gnome2 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 10:15-0700\n" +"Last-Translator: Božidar Putanec \n" +"Language-Team: Croatian \n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:55 +msgid "Hello, world!" +msgstr "Pozdrav, svijete!" + +#: hello.cc:60 +#, c-format +msgid "This program is running as process number %d." +msgstr "Ovaj program se izvršava kao proces broj %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/hu.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/hu.po new file mode 100644 index 0000000000000000000000000000000000000000..c54ebbdab946482279388a7ef79b688b4923de39 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/hu.po @@ -0,0 +1,29 @@ +# Hungarian translation for hello-c++-gnome2. +# This file is distributed under the same license as the gettext package. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# +# Tamás Kiss , 2005. +# Balázs Úr , 2014, 2015. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome2 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-06-23 20:31+0200\n" +"Last-Translator: Balázs Úr \n" +"Language-Team: Hungarian \n" +"Language: hu\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 1.2\n" + +#: hello.cc:55 +msgid "Hello, world!" +msgstr "Hello, világ!" + +#: hello.cc:60 +#, c-format +msgid "This program is running as process number %d." +msgstr "Ez a program a(z) %d folyamatazonosítóval fut." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/id.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/id.po new file mode 100644 index 0000000000000000000000000000000000000000..29692cb4c9ca893172aedd6a735366f2214161ce --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/id.po @@ -0,0 +1,27 @@ +# translation of hello-c++-gnome2-0.15-pre5.po to Indonesian +# Copyright (C) 2006 Yoyodyne, Inc. +# This file is distributed under the same license as the PACKAGE package. +# +# Tedi Heriyanto , 2006. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome2-0.15-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2006-09-27 20:19+0700\n" +"Last-Translator: Tedi Heriyanto \n" +"Language-Team: Indonesian \n" +"Language: id\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: KBabel 1.11.2\n" + +#: hello.cc:55 +msgid "Hello, world!" +msgstr "Hello, world!" + +#: hello.cc:60 +#, c-format +msgid "This program is running as process number %d." +msgstr "Program ini berjalan sebagai proses nomor %d" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/it.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/it.po new file mode 100644 index 0000000000000000000000000000000000000000..aab5dc1efa5833b6646caa589cc2c48fd8f8d212 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/it.po @@ -0,0 +1,29 @@ +# Italian messages for hello-c++-gnome2. +# Copyright (C) 2005, 2006 Yoyodyne, Inc. (msgids) +# Copyright (C) 2024 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Marco Colombo , 2005, 2006, 2015. +# Michele Locati , 2024, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c++-gnome2 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-04 18:28+0200\n" +"Last-Translator: Michele Locati \n" +"Language-Team: Italian \n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:55 +msgid "Hello, world!" +msgstr "Ciao, mondo!" + +#: hello.cc:60 +#, c-format +msgid "This program is running as process number %d." +msgstr "Questo programma è in esecuzione con numero di processo %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/ja.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/ja.po new file mode 100644 index 0000000000000000000000000000000000000000..80cd8bb1e37d1e15ae8f28549561f73b0857e9e7 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/ja.po @@ -0,0 +1,26 @@ +# Translation of `hello-c++-gnome2' messages to Japanese. +# Copyright (C) 2005, 2006, 2014, 2015, 2023, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Masahito Yamaga , 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c++-gnome2 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 19:59+0900\n" +"Last-Translator: Masahito Yamaga \n" +"Language-Team: Japanese \n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:55 +msgid "Hello, world!" +msgstr "世界よ, こんにちは!" + +#: hello.cc:60 +#, c-format +msgid "This program is running as process number %d." +msgstr "このプログラムはプロセス番号 %d で動いています." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/ka.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/ka.po new file mode 100644 index 0000000000000000000000000000000000000000..88d33a5d99319b2826e6175eeca84d4a1e9f779a --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/ka.po @@ -0,0 +1,28 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Temuri Doghonadze , 2022. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome2 0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2022-05-22 05:04+0200\n" +"Last-Translator: Temuri Doghonadze \n" +"Language-Team: Georgian <(nothing)>\n" +"Language: ka\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 3.0.1\n" + +#: hello.cc:55 +msgid "Hello, world!" +msgstr "გამარჯობა სამყაროვ!" + +#: hello.cc:60 +#, c-format +msgid "This program is running as process number %d." +msgstr "პროგრამა გაშვებულია პროცესის ნომრით %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/ky.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/ky.po new file mode 100644 index 0000000000000000000000000000000000000000..b25f60e13224ed1b08ba6ad5885db0255d0cfe49 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/ky.po @@ -0,0 +1,28 @@ +# Translation of 'hello-c++-gnome2' messages to Kirghiz. +# Copyright (C) 2004 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Ilyas Bakirov , 2007. +# Ilyas Bakirov , 2018. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome2 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2018-02-15 18:26+0600\n" +"Last-Translator: Ilyas Bakirov \n" +"Language-Team: Kirghiz \n" +"Language: ky\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 2.0.6\n" + +#: hello.cc:55 +msgid "Hello, world!" +msgstr "Салам дүйнө!" + +#: hello.cc:60 +#, c-format +msgid "This program is running as process number %d." +msgstr "Бул программа %d процесс номери катары иштеп жатат." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/lv.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/lv.po new file mode 100644 index 0000000000000000000000000000000000000000..b84c8b020722f63da755de7c98f5351365821efa --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/lv.po @@ -0,0 +1,30 @@ +# Latvian translation of hello-c++-gnome2 +# Copyright (C) 2009 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Arvis Lācis , 2009. +# Rihards Priedītis , 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome2-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-09 11:44+0000\n" +"Last-Translator: Rihards Priedītis \n" +"Language-Team: Latvian \n" +"Language: lv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : " +"2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cc:55 +msgid "Hello, world!" +msgstr "Sveika, pasaule!" + +#: hello.cc:60 +#, c-format +msgid "This program is running as process number %d." +msgstr "Šī programma darbojas ar procesa numuru %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/ms.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/ms.po new file mode 100644 index 0000000000000000000000000000000000000000..49cbf30947d54fc9e81ae67c1432af24621d143e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/ms.po @@ -0,0 +1,28 @@ +# hello-c++-gnome2 Bahasa Melayu (Malay) (ms). +# Copyright (C) 2006, 2015, 2023, 2025 Yoyodyne, Inc. (msgids) +# Copyright (C) 2006, 2015, 2023, 2025 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Sharuzzaman Ahmat Raslan , 2006, 2015, 2023, 2025 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome2 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-03 21:10+0800\n" +"Last-Translator: Sharuzzaman Ahmat Raslan \n" +"Language-Team: Malay \n" +"Language: ms\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cc:55 +msgid "Hello, world!" +msgstr "Hello, dunia!" + +#: hello.cc:60 +#, c-format +msgid "This program is running as process number %d." +msgstr "Program ini dilaksanakan sebagai proses bernombor %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/mt.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/mt.po new file mode 100644 index 0000000000000000000000000000000000000000..71197675ecc48365eff7541c489a48f98916a823 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/mt.po @@ -0,0 +1,27 @@ +# hello-c++-gnome2-0.16.2-pre5. +# Copyright (C) 2008 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Clyde Meli , 2001-2008. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome2 0.16.2-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2008-11-18 17:27+0100\n" +"Last-Translator: Clyde Meli \n" +"Language-Team: Maltese \n" +"Language: mt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:55 +msgid "Hello, world!" +msgstr "Hello, lil kulħadd!" + +#: hello.cc:60 +#, c-format +msgid "This program is running as process number %d." +msgstr "Dal-programm qed jaħdem taħt il-proċess numru %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/nb.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/nb.po new file mode 100644 index 0000000000000000000000000000000000000000..88ff145c39c40cef03de76089bfd5541b15824e5 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/nb.po @@ -0,0 +1,29 @@ +# Norwegian Bokmal translations for hello-c++-gnome2 package. +# Copyright (C) 2012 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Johnny A. Solbu , 2012-2024 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome2 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-01-06 16:33+0100\n" +"Last-Translator: Johnny A. Solbu \n" +"Language-Team: Norwegian Bokmaal \n" +"Language: nb\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.cc:55 +msgid "Hello, world!" +msgstr "Hallo verden!" + +#: hello.cc:60 +#, c-format +msgid "This program is running as process number %d." +msgstr "Dette programmet kjører som prosess nummer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/nl.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/nl.po new file mode 100644 index 0000000000000000000000000000000000000000..9c6d9a592930c53f9b74f7829760ae64593715d2 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/nl.po @@ -0,0 +1,31 @@ +# Dutch translations for GNU hello-c++-gnome2. +# Copyright (C) 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# "There are three basic rules for writing a novel. +# Unfortunately nobody knows what they are." +# +# Benno Schulenberg , 2007, 2014, 2015, 2019, 2025. +# Elros Cyriatan , 2004. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome2-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-01 14:51+0100\n" +"Last-Translator: Benno Schulenberg \n" +"Language-Team: Dutch \n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.cc:55 +msgid "Hello, world!" +msgstr "Hallo, wereld!" + +#: hello.cc:60 +#, c-format +msgid "This program is running as process number %d." +msgstr "Dit programma draait als proces nummer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/nn.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/nn.po new file mode 100644 index 0000000000000000000000000000000000000000..a7dbd44e8a140c81f97bc3a88f47b85d45e6c526 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/nn.po @@ -0,0 +1,28 @@ +# Norwegian Nynorsk translation of GNU hello-c++-gnome2 +# Copyright (C) 2020 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Karl Ove Hufthammer , 2020. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome2-0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2020-05-04 18:58+0200\n" +"Last-Translator: Karl Ove Hufthammer \n" +"Language-Team: Norwegian Nynorsk \n" +"Language: nn\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 20.04.0\n" + +#: hello.cc:55 +msgid "Hello, world!" +msgstr "Hei, verda!" + +#: hello.cc:60 +#, c-format +msgid "This program is running as process number %d." +msgstr "Dette programmet køyrer som prosess nummer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/pl.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/pl.po new file mode 100644 index 0000000000000000000000000000000000000000..20a2ae0dd561423a8e4ab18b6f3919f34400baff --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/pl.po @@ -0,0 +1,27 @@ +# Polish translations for the GNU gettext messages, hello-c++-gnome2 domain +# Copyright (C) 2010, 2014, 2015, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Rafał Maszkowski , 2003, 2010, 2014, 2015, 2025 +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c++-gnome2 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-25 17:16+0200\n" +"Last-Translator: Rafał Maszkowski \n" +"Language-Team: Polish \n" +"Language: pl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8-bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " +"|| n%100>=20) ? 1 : 2);\n" + +#: hello.cc:55 +msgid "Hello, world!" +msgstr "Cześć, świecie!" + +#: hello.cc:60 +#, c-format +msgid "This program is running as process number %d." +msgstr "Ten program działa jako proces o numerze %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/pt.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/pt.po new file mode 100644 index 0000000000000000000000000000000000000000..87641c8df4d049711e00c1f75ea254a67647c93b --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/pt.po @@ -0,0 +1,28 @@ +# Portuguese (Portugal) translation of 'hello-c++-gnome2' package. +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Pedro Albuquerque , 2019, 2020, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome2 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 11:24+0100\n" +"Last-Translator: Pedro Albuquerque \n" +"Language-Team: Portuguese \n" +"Language: pt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\\n;\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.6\n" + +#: hello.cc:55 +msgid "Hello, world!" +msgstr "Olá mundo!" + +#: hello.cc:60 +#, c-format +msgid "This program is running as process number %d." +msgstr "Este programa está em execução como processo nº %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/pt_BR.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/pt_BR.po new file mode 100644 index 0000000000000000000000000000000000000000..e6bef9547bdbec9dc37b518f6fb6ff5567892c98 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/pt_BR.po @@ -0,0 +1,31 @@ +# Brazilian Portuguese translations for gettext-example +# Traduções em português brasileiro para gettext-example +# Copyright (C) 2025 Yoyodyne, Inc. (msgids) +# Copyright (C) 2025 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Rafael Fontenelle , 2013-2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome2 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 10:24-0300\n" +"Last-Translator: Rafael Fontenelle \n" +"Language-Team: Brazilian Portuguese \n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Gtranslator 48.0\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:55 +msgid "Hello, world!" +msgstr "Olá, mundo!" + +#: hello.cc:60 +#, c-format +msgid "This program is running as process number %d." +msgstr "Este programa está sendo executado com número de processo %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/ro.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/ro.po new file mode 100644 index 0000000000000000000000000000000000000000..afde7f221eeaefe15fdb64a4295100df8b6892de --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/ro.po @@ -0,0 +1,50 @@ +# Translation of "hello-c++-gnome2" messages to Romanian. +# Mesajele în limba română pentru pachetul hello-c++-gnome2. +# Copyright © 2015, 2019, 2022, 2023, 2024, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Eugen Hoancă , 2003. +# Mihai Cristescu , 2015 - 2019. +# Remus-Gabriel Chelu , 2022 - 2025. +# +# Cronologia traducerii fișierului „hello-c++-gnome2”: +# Traducerea inițială, făcută de EH, pentru versiunea hello-c++-gnome2 0.12.1, 2003. +# Actualizare a traducerii pentru versiunea hello-c++-gnome2 0.19.4-rc1, făcută de MC, mar-2015. +# Actualizare a traducerii pentru versiunea hello-c++-gnome2 0.19.4.73, făcută de MC, iun-2015. +# Actualizare a traducerii pentru versiunea hello-c++-gnome2 0.20-rc1, făcută de MC, apr-2019. +# Actualizare a mesajelor, de la fișierul „hello-c++-gnome2-0.20.2.pot”. +# Actualizare a algoritmului formelor de plural (de la „trei-vechi” la „trei-actual”). +# NU și a mesajelor traduse (acestea au rămas neschimbate). +# Eliminare a mesajelor ce-au dispărut în ultima versiune. +# Actualizări realizate de Remus-Gabriel Chelu , 15.01.2022. +# Actualizare a traducerii pentru versiunea 0.20.2 făcută de R-GC, ian-2022. +# Actualizare a traducerii pentru versiunea 0.22 făcută de R-GC, iun-2023. +# Revizuire și corectare a traducerii pentru versiunea 0.23-pre1 făcută de R-GC, oct-2024. +# Actualizare a traducerii pentru versiunea 0.24-pre1 făcută de R-GC, feb-2025. +# Actualizare a traducerii pentru versiunea 0.25-pre1 făcută de R-GC, apr-2025. +# Actualizare a traducerii pentru versiunea Y, făcută de X, Z(luna-anul). +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome2 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-29 00:25+0200\n" +"Last-Translator: Remus-Gabriel Chelu \n" +"Language-Team: Romanian \n" +"Language: ro\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " +"20)) ? 1 : 2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cc:55 +msgid "Hello, world!" +msgstr "Salutare, lume!" + +#: hello.cc:60 +#, c-format +msgid "This program is running as process number %d." +msgstr "Acest program rulează ca procesul numărul %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/ru.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/ru.po new file mode 100644 index 0000000000000000000000000000000000000000..965f074abc0924586bb4b0426102159ac4873f99 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/ru.po @@ -0,0 +1,30 @@ +# Translation of hello-c++-gnome2-0.14.1.po to Russian +# Copyright (C) 2004 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Pavel Maryanov , 2004. +# SPDX-FileCopyrightText: 2014, 2015, 2023, 2025 Yuri Kozlov +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome2 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-02 09:17+0300\n" +"Last-Translator: Yuri Kozlov \n" +"Language-Team: Russian \n" +"Language: ru\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Lokalize 24.12.0\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#: hello.cc:55 +msgid "Hello, world!" +msgstr "Здравствуй, мир!" + +#: hello.cc:60 +#, c-format +msgid "This program is running as process number %d." +msgstr "Эта программа выполняется как процесс под номером %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/sk.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/sk.po new file mode 100644 index 0000000000000000000000000000000000000000..6a74b0e319cc0d86fee9cfd3024e39393d9a77d3 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/sk.po @@ -0,0 +1,26 @@ +# Slovak translations GNU for hello-c++-gnome2 package. +# Copyright (C) 2003, 2004, 2014, 2023, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Marcel Telka , 2003, 2004, 2014, 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c++-gnome2 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 13:53+0200\n" +"Last-Translator: Marcel Telka \n" +"Language-Team: Slovak \n" +"Language: sk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:55 +msgid "Hello, world!" +msgstr "Ahoj svet!" + +#: hello.cc:60 +#, c-format +msgid "This program is running as process number %d." +msgstr "Tento program beží ako proces s číslom %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/sl.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/sl.po new file mode 100644 index 0000000000000000000000000000000000000000..d48b218c4e814fceb6bce3725323be3196717ddc --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/sl.po @@ -0,0 +1,29 @@ +# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example +# Copyright (C) 2005 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Primož Peterlin , 2005, 2014, 2015, 2024. +# $Id: hello-c++-gnome2-0.22.sl.po,v 1.1 2024/03/28 17:02:19 peterlin Exp $ +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome2 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-03-28 18:02+0100\n" +"Last-Translator: Primož Peterlin \n" +"Language-Team: Slovenian \n" +"Language: sl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8-bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || " +"n%100==4 ? 3 : 0);\n" + +#: hello.cc:55 +msgid "Hello, world!" +msgstr "Pozdravljen, svet!" + +#: hello.cc:60 +#, c-format +msgid "This program is running as process number %d." +msgstr "Ta program teče kot proces številka %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/sq.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/sq.po new file mode 100644 index 0000000000000000000000000000000000000000..20bca276ea9997ca09c8ef2ed9e678eda44d4997 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/sq.po @@ -0,0 +1,28 @@ +# Albanian translation of gettext-example. +# Copyright (C) 2020 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Besnik Bleta , 2020,2023,2024,2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome2-0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 19:56+0300\n" +"Last-Translator: Besnik Bleta \n" +"Language-Team: Albanian \n" +"Language: sq\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.2.2\n" + +#: hello.cc:55 +msgid "Hello, world!" +msgstr "Tungjatjeta, botë!" + +#: hello.cc:60 +#, c-format +msgid "This program is running as process number %d." +msgstr "Ky program po xhiron si procesi numër %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/sr.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/sr.po new file mode 100644 index 0000000000000000000000000000000000000000..567c06a1740dcc619fdb07e6b856cf148367a68e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/sr.po @@ -0,0 +1,30 @@ +# Serbian translation of hello-c++-gnome2. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Aleksandar Jelenak , 2004. +# Мирослав Николић , 2014-2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome2-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-02 16:51+0100\n" +"Last-Translator: Мирослав Николић \n" +"Language-Team: Serbian <(nothing)>\n" +"Language: sr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cc:55 +msgid "Hello, world!" +msgstr "Здраво, свима!" + +#: hello.cc:60 +#, c-format +msgid "This program is running as process number %d." +msgstr "Овај програм се извршава као процес број %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/sv.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/sv.po new file mode 100644 index 0000000000000000000000000000000000000000..6957ef361c77119005005b0e5c97e32f9f629938 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/sv.po @@ -0,0 +1,30 @@ +# Swedish messages for hello-c++-gnome2. +# Copyright © 2006, 2014, 2016, 2019, 2020, 2023, 2024, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Jan Djärv , 2003, 2006, 2014. +# Göran Uddeborg , 2016, 2019, 2020, 2023, 2024, 2025. +# Luna Jernberg , 2025. +# $Revision: 1.12 $ +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome2 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 12:18+0200\n" +"Last-Translator: Luna Jernberg \n" +"Language-Team: Swedish \n" +"Language: sv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cc:55 +msgid "Hello, world!" +msgstr "Hej världen!" + +#: hello.cc:60 +#, c-format +msgid "This program is running as process number %d." +msgstr "Detta program kör som process nummer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/ta.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/ta.po new file mode 100644 index 0000000000000000000000000000000000000000..598b797d5a174fbb6e7c2a7f5ff147ce6463837e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/ta.po @@ -0,0 +1,28 @@ +# Tamil messages for GNU gettext. +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# List of contributors follow: +# Poorajith , 2018. +# Arun Isaac , 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome2 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-19 00:06+0100\n" +"Last-Translator: Arun Isaac \n" +"Language-Team: Tamil \n" +"Language: ta\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:55 +msgid "Hello, world!" +msgstr "வணக்கம், உலகு!" + +#: hello.cc:60 +#, c-format +msgid "This program is running as process number %d." +msgstr "இந்நிரல் செயலாக்க எண் %d ஆக இயங்கிக்கொண்டிருக்கிறது." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/tr.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/tr.po new file mode 100644 index 0000000000000000000000000000000000000000..39e00f824e9edbd433b9e15f25ae2f4acb75d63c --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/tr.po @@ -0,0 +1,29 @@ +# Turkish translation for hello-c++-gnome2. +# This file is distributed under the same license as the gettext package. +# Copyright (C) 2017 Yoyodyne, Inc. (msgids) +# Copyright (C) 2004 Free Software Foundation, Inc. +# Nilgün Belma Bugüner , 2003,2004 +# Mehmet Kececi , 2017, 2019, 2020. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome2 0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2020-04-17 13:10+0300\n" +"Last-Translator: Mehmet Kececi \n" +"Language-Team: Turkish \n" +"Language: tr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Poedit 2.3\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:55 +msgid "Hello, world!" +msgstr "Merhaba, dünya!" + +#: hello.cc:60 +#, c-format +msgid "This program is running as process number %d." +msgstr "Bu yazılım %d işlem numarası ile çalışıyor." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/uk.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/uk.po new file mode 100644 index 0000000000000000000000000000000000000000..0fa1ac91de5c43031a878124929156ea4641da94 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/uk.po @@ -0,0 +1,30 @@ +# Ukrainian translation to hello-c++-gnome2 +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Maxim V. Dziumanenko , 2004-2007. +# Yuri Chornoivan , 2014, 2015, 2023, 2025. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome2 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 13:56+0300\n" +"Last-Translator: Yuri Chornoivan \n" +"Language-Team: Ukrainian \n" +"Language: uk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Generator: Lokalize 23.04.3\n" + +#: hello.cc:55 +msgid "Hello, world!" +msgstr "Привіт, світе!" + +#: hello.cc:60 +#, c-format +msgid "This program is running as process number %d." +msgstr "Ця програма виконується як процес з номером %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/vi.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/vi.po new file mode 100644 index 0000000000000000000000000000000000000000..39663e6ed5365f66aaca0a12e93bcd265e3f9514 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/vi.po @@ -0,0 +1,30 @@ +# Vietnamese Translation for Gettext Examples. +# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext. +# Copyright © 2015 Yoyodyne, Inc. (msgids) +# Copyright © 2015 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Clytie Siddall , 2005-2010. +# Trần Ngọc Quân , 2012-2015, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome2 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-24 09:10+0700\n" +"Last-Translator: Trần Ngọc Quân \n" +"Language-Team: Vietnamese \n" +"Language: vi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: hello.cc:55 +msgid "Hello, world!" +msgstr "Chào thế giới!" + +#: hello.cc:60 +#, c-format +msgid "This program is running as process number %d." +msgstr "Chương trình này đang chạy với mã số tiến trình %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/zh_CN.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/zh_CN.po new file mode 100644 index 0000000000000000000000000000000000000000..f524983e53fb00c077654029cd4edcee51fd04dd --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/zh_CN.po @@ -0,0 +1,29 @@ +# zh_CN translation for hello-c++-gnome2. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Funda Wang , 2003. +# Ji ZhengYu , 2015. +# Boyuan Yang <073plan@gmail.com>, 2019, 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome2 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-29 15:56-0400\n" +"Last-Translator: Boyuan Yang <073plan@gmail.com>\n" +"Language-Team: Chinese (simplified) \n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.6\n" + +#: hello.cc:55 +msgid "Hello, world!" +msgstr "你好,世界!" + +#: hello.cc:60 +#, c-format +msgid "This program is running as process number %d." +msgstr "此程序正以进程号 %d 运行。" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/zh_HK.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/zh_HK.po new file mode 100644 index 0000000000000000000000000000000000000000..d664572497079231e925838dfa879685addc2b02 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/zh_HK.po @@ -0,0 +1,25 @@ +# Chinese (Hong Kong) translation of hello-c++-gnome2. +# Copyright (C) 2006 Yoyodyne, Inc. +# Abel Cheung , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome2 0.15-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2006-07-05 15:40+0800\n" +"Last-Translator: Abel Cheung \n" +"Language-Team: Chinese (Hong Kong) \n" +"Language: zh_HK\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:55 +msgid "Hello, world!" +msgstr "你好!" + +#: hello.cc:60 +#, c-format +msgid "This program is running as process number %d." +msgstr "本程式正在執行中,進程編號為 %d。" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/zh_TW.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/zh_TW.po new file mode 100644 index 0000000000000000000000000000000000000000..fdd5a12c339f3b4b37d1dd60f5891fd5a09b5611 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome2/po/zh_TW.po @@ -0,0 +1,29 @@ +# Traditional Chinese translation of hello-c++-gnome2. +# Copyright (C) 2009 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Abel Cheung , 2005. +# Wei-Lun Chao , 2013, 2015. +# Yi-Jyun Pan , 2024. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome2 0.23-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-11-30 14:14+0800\n" +"Last-Translator: Yi-Jyun Pan \n" +"Language-Team: Chinese (traditional) \n" +"Language: zh_TW\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cc:55 +msgid "Hello, world!" +msgstr "哈囉,大家好!" + +#: hello.cc:60 +#, c-format +msgid "This program is running as process number %d." +msgstr "本程式正在執行,行程編號為 %d。" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/INSTALL b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/INSTALL new file mode 100644 index 0000000000000000000000000000000000000000..57c91f6be0bb5a2eb95027f165a3123653763574 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/INSTALL @@ -0,0 +1,13 @@ +This example relies on: + - the GTK libraries (libgtk, libgdk), version 3.10 or later + - the glib libraries (libglib) + - the GTK / C++ bindings (libgtkmm) + +Installation: + ./autogen.sh + ./configure --prefix=/some/prefix + make + make install +Cleanup: + make distclean + ./autoclean.sh diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/Makefile.am b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..041bb47178ec05cdc281afcf453c7c4bbdde4585 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/Makefile.am @@ -0,0 +1,58 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Makefile configuration - processed by automake. + +# General automake options. +AUTOMAKE_OPTIONS = foreign no-dependencies +ACLOCAL_AMFLAGS = -I m4 + +# The list of subdirectories containing Makefiles. +SUBDIRS = m4 po + +# The list of programs that are built. +bin_PROGRAMS = hello + +# The source files of the 'hello' program. +hello_SOURCES = hello.cc hello-resources.c + +# Define a C macro LOCALEDIR indicating where catalogs will be installed. +DEFS = \ + -DLOCALEDIR=$(localedir_c_make) \ + @DEFS@ + +# Make sure the gnome.h include file is found. +AM_CPPFLAGS = $(GTKMM_CFLAGS) + +# Link time dependencies. +LDADD = $(GTKMM_LIBS) @LIBINTL@ + +# Compile assets into a C source and link it with the application. +hello-resources.c: hello.gresource.xml hello.ui + $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $< --target=$@ \ + --sourcedir=$(srcdir) --generate-source + +desktopdir = $(datadir)/applications +desktop_DATA = hello.desktop + +# Merge translations back into a Desktop Entry file. + +# Note that the resulting file should be included in EXTRA_DIST and +# processed earlier than the variable substitution below. Otherwise, +# the 'msgfmt' command will be required at compile-time. +hello.desktop.in: hello.desktop.in.in + $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@ + +# Substitute variables in a Desktop Entry file. +hello.desktop: hello.desktop.in + $(AM_V_GEN) sed -e 's|@bindir[@]|$(bindir)|g' $< > $@ + +BUILT_SOURCES = hello-resources.c hello.desktop +CLEANFILES = hello.desktop +DISTCLEANFILES = +MAINTAINERCLEANFILES = hello-resources.c hello.desktop.in + +# Additional files to be distributed. +EXTRA_DIST = autogen.sh autoclean.sh \ + hello.desktop.in.in hello.desktop.in \ + hello.gresource.xml hello.ui diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/README b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/README new file mode 100644 index 0000000000000000000000000000000000000000..260f87df437e093c394b673d356fd3b441a07e46 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/README @@ -0,0 +1,8 @@ +This example contains a simple "hello world" program. + +A more elaborate program that demonstrates advanced Gtk 3 features is +not available here, because + - derived GObject classes have a number of pain points with gtkmm + (see ), + - widget templates are not supported in gtkmm (see + ). diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/autoclean.sh b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/autoclean.sh new file mode 100644 index 0000000000000000000000000000000000000000..34c62afd1401bbe4e7ad5e136c37f3ad1f9b50eb --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/autoclean.sh @@ -0,0 +1,48 @@ +#!/bin/sh +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Script for cleaning all autogenerated files. + +test ! -f Makefile || make distclean +# Do the equivalent of "make maintainer-clean", even without the Makefile. +rm -f hello-resources.c hello.desktop.in +rm -rf autom4te.cache + +# Files generated by "make" and distributed (see MAINTAINERCLEANFILES). +rm -f hello-resources.c hello.desktop.in + +# Brought in by autopoint. +rm -f ABOUT-NLS +rm -f config.rpath +rm -f m4/gettext.m4 +rm -f m4/build-to-host.m4 +rm -f m4/host-cpu-c-abi.m4 +rm -f m4/iconv.m4 +rm -f m4/intlmacosx.m4 +rm -f m4/lib-ld.m4 +rm -f m4/lib-link.m4 +rm -f m4/lib-prefix.m4 +rm -f m4/nls.m4 +rm -f m4/po.m4 +rm -f m4/progtest.m4 +rm -f po/Makefile.in.in +rm -f po/remove-potcdate.sed + +# Generated by aclocal. +rm -f aclocal.m4 + +# Generated by autoconf. +rm -f configure + +# Generated or brought in by automake. +rm -f Makefile.in +rm -f m4/Makefile.in +rm -f compile +rm -f install-sh +rm -f missing +rm -f config.guess +rm -f config.sub +rm -f po/*.pot +rm -f po/stamp-po +rm -f po/*.gmo diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/autogen.sh b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/autogen.sh new file mode 100644 index 0000000000000000000000000000000000000000..cf1a97eec3ac424bd16d58e77382be46b3015993 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/autogen.sh @@ -0,0 +1,29 @@ +#!/bin/sh +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Script for regenerating all autogenerated files. + +autopoint -f # was: gettextize -f -c +rm po/Makevars.template +rm po/Rules-quot +rm po/boldquot.sed +rm po/en@boldquot.header +rm po/en@quot.header +rm po/insert-header.sed +rm po/quot.sed + +aclocal -I m4 + +autoconf + +automake -a -c + +cd po +for f in *.po; do + if test -r "$f"; then + lang=`echo $f | sed -e 's,\.po$,,'` + msgfmt -c -o $lang.gmo $lang.po + fi +done +cd .. diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/configure.ac b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/configure.ac new file mode 100644 index 0000000000000000000000000000000000000000..2683442993ebfc719ab752e6f922eed870a0a3d0 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/configure.ac @@ -0,0 +1,54 @@ +dnl Example for use of GNU gettext. +dnl This file is in the public domain. +dnl +dnl Configuration file - processed by autoconf. + +AC_INIT([hello-c++-gnome3], [0], , [hello-c++-gnome3]) +AC_CONFIG_SRCDIR([hello.cc]) +AM_INIT_AUTOMAKE([1.11]) + +AC_PROG_CC +AC_PROG_CXX +AM_GNU_GETTEXT([external]) +AM_GNU_GETTEXT_VERSION([0.25]) + +dnl Define localedir_c and localedir_c_make. +gl_BUILD_TO_HOST_LOCALEDIR + +dnl Check GNOME specific stuff. +dnl +dnl If you have full GNOME development environment installed on your +dnl system, you should be able to use the following macros: +dnl +dnl AM_PATH_GLIB_2_0 +dnl PKG_CHECK_MODULES([GTK], [gtk+-3.0 >= 3.10], , +dnl [AC_MSG_ERROR([can't find gtk+-3.0])]) +dnl +dnl Here, in gettext-tools/examples, we do the checks manually for +dnl simplicity. + +AC_PATH_PROG([GLIB_COMPILE_RESOURCES], [glib-compile-resources]) +AS_IF([test -z "$GLIB_COMPILE_RESOURCES"], [ + AC_MSG_ERROR([can't find glib-compile-resources]) +]) + +AC_PATH_PROG([PKG_CONFIG], [pkg-config]) +AS_IF([test -z "$PKG_CONFIG"], [ + AC_MSG_ERROR([can't find pkg-config]) +]) + +GTKMM="gtkmm-3.0 >= 3.0" +AS_IF(["$PKG_CONFIG" --exists "$GTKMM"], , [ + AC_MSG_ERROR([can't find $GTKMM]) +]) + +GTKMM_CFLAGS=`"$PKG_CONFIG" --cflags "$GTKMM"` +AC_SUBST([GTKMM_CFLAGS]) + +GTKMM_LIBS=`"$PKG_CONFIG" --libs "$GTKMM"` +AC_SUBST([GTKMM_LIBS]) + +AC_CONFIG_FILES([Makefile]) +AC_CONFIG_FILES([m4/Makefile]) +AC_CONFIG_FILES([po/Makefile.in]) +AC_OUTPUT diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/hello.cc b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/hello.cc new file mode 100644 index 0000000000000000000000000000000000000000..1e8f9f826800ed940c3acc554daa4d09b134e109 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/hello.cc @@ -0,0 +1,105 @@ +/* Example for use of GNU gettext. + This file is in the public domain. + + Source code of the C++ program. */ + + +/* Get GTKmm declarations. */ +#include +#include + +/* Get getpid() declaration. */ +#if defined _WIN32 && !defined __CYGWIN__ +/* native Windows API */ +# include +# define getpid _getpid +#else +/* POSIX API */ +# include +#endif + +#define UI_PATH "/org/gnu/gettext/examples/hello/hello.ui" +#define APPLICATION_ID "org.gnu.gettext.examples.hello" + +/* An ad-hoc struct for managing the main window. + (Not connected to the GObject type system.) */ +struct HelloWindow +{ + Gtk::Window *window; + Gtk::Label *label; + Gtk::Button *button; + gsize label_id; + gchar *labels[3]; +}; + +static void +update_content (HelloWindow *hello_window) +{ + hello_window->label->set_label (hello_window->labels[hello_window->label_id]); + hello_window->label_id = + (hello_window->label_id + 1) % G_N_ELEMENTS (hello_window->labels); +} + +static void +clicked_callback (HelloWindow *hello_window) +{ + update_content (hello_window); +} + +static void +activate (Glib::RefPtr application) +{ + /* Instantiate the UI. */ + Glib::RefPtr builder = + Gtk::Builder::create_from_resource (UI_PATH); + + HelloWindow *hello_window = new HelloWindow (); + hello_window->window = nullptr; + builder->get_widget ("main_window", hello_window->window); + hello_window->label = nullptr; + builder->get_widget ("label", hello_window->label); + hello_window->button = nullptr; + builder->get_widget ("button", hello_window->button); + + /* Allow Pango markup in the label. */ + hello_window->label->set_use_markup (true); + + /* Prepare various presentations of the label. */ + hello_window->label_id = 0; + gchar *line1 = g_strdup_printf ("%s", _("Hello world!")); + gchar *line2 = + g_strdup_printf (_("This program is running as process number %s."), + g_strdup_printf ("%d", getpid ())); + hello_window->labels[0] = g_strdup_printf ("%s\n%s", line1, line2); + hello_window->labels[1] = + g_strdup_printf ("%s", _("This is another text")); + hello_window->labels[2] = + g_strdup_printf ("%s", _("This is yet another text")); + + update_content (hello_window); + + /* Make sure that the application runs for as long as this window is + still open. */ + application->add_window (*(hello_window->window)); + + hello_window->button->signal_clicked () + .connect (sigc::bind (sigc::ptr_fun (clicked_callback), hello_window)); + hello_window->window->present (); +} + +int +main (int argc, char *argv[]) +{ + /* Initializations. */ + textdomain ("hello-c++-gnome3"); + bindtextdomain ("hello-c++-gnome3", LOCALEDIR); + + /* Create application. */ + Glib::RefPtr application = + Gtk::Application::create (APPLICATION_ID, Gio::APPLICATION_FLAGS_NONE); + application->signal_activate () + .connect (sigc::bind (sigc::ptr_fun (activate), application)); + + /* Start the application. */ + return application->run (argc, argv); +} diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/hello.desktop.in.in b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/hello.desktop.in.in new file mode 100644 index 0000000000000000000000000000000000000000..a31bf93375d7754ef52943e022d0a8cbf22ddd86 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/hello.desktop.in.in @@ -0,0 +1,6 @@ +[Desktop Entry] +Type=Application +Name=Hello +Comment=Hello, world! +StartupNotify=true +Exec=@bindir@/hello diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/hello.gresource.xml b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/hello.gresource.xml new file mode 100644 index 0000000000000000000000000000000000000000..7a00dc8362c0bcc17aaa68147393bfbef098d8d7 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/hello.gresource.xml @@ -0,0 +1,7 @@ + + + + + hello.ui + + diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/hello.ui b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/hello.ui new file mode 100644 index 0000000000000000000000000000000000000000..e142400c04d2f89797cf76aa86d5e14f88807b68 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/hello.ui @@ -0,0 +1,46 @@ + + + + + + Example Application + 600 + 400 + + + True + vertical + + + True + 0.5 + 0.5 + 0 + 0 + True + + + True + + + + + + + True + + + True + Update text + False + + + end + + + + + + + + diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/m4/Makefile.am b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/m4/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..7d516f09ff64e7f731d69696326a8626ca9c4ee0 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/m4/Makefile.am @@ -0,0 +1,4 @@ +EXTRA_DIST = \ + gettext.m4 build-to-host.m4 host-cpu-c-abi.m4 \ + iconv.m4 intlmacosx.m4 lib-ld.m4 lib-link.m4 lib-prefix.m4 \ + nls.m4 po.m4 progtest.m4 diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/LINGUAS b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/LINGUAS new file mode 100644 index 0000000000000000000000000000000000000000..dc4a82afbad945018082c22f2061a43ef436dd68 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/LINGUAS @@ -0,0 +1,5 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Set of available languages. +af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ka ky lv ms mt nb nl nn pl pt pt_BR ro ru sk sl sq sr sv ta tr uk vi zh_CN zh_HK zh_TW diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/Makevars b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/Makevars new file mode 100644 index 0000000000000000000000000000000000000000..c3f465c6825fc1a1d5a5cc56fbf52ae4727db0a3 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/Makevars @@ -0,0 +1,95 @@ +# Makefile variables for PO directory in any package using GNU gettext. +# +# Copyright (C) 2003-2025 Free Software Foundation, Inc. +# This file is free software; the Free Software Foundation gives +# unlimited permission to use, copy, distribute, and modify it. + +# Usually the message domain is the same as the package name. +DOMAIN = $(PACKAGE) + +# These two variables depend on the location of this directory. +subdir = po +top_builddir = .. + +# These options get passed to xgettext. +XGETTEXT_OPTIONS = \ + --keyword=_ --flag=_:1:pass-c-format \ + --keyword=N_ --flag=N_:1:pass-c-format \ + --flag=g_log:3:c-format --flag=g_logv:3:c-format \ + --flag=g_error:1:c-format --flag=g_message:1:c-format \ + --flag=g_critical:1:c-format --flag=g_warning:1:c-format \ + --flag=g_print:1:c-format \ + --flag=g_printerr:1:c-format \ + --flag=g_strdup_printf:1:c-format --flag=g_strdup_vprintf:1:c-format \ + --flag=g_printf_string_upper_bound:1:c-format \ + --flag=g_snprintf:3:c-format --flag=g_vsnprintf:3:c-format \ + --flag=g_string_sprintf:2:c-format \ + --flag=g_string_sprintfa:2:c-format \ + --flag=g_scanner_error:2:c-format \ + --flag=g_scanner_warn:2:c-format + +# This is the copyright holder that gets inserted into the header of the +# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding +# package. (Note that the msgid strings, extracted from the package's +# sources, belong to the copyright holder of the package.) Translators are +# expected to transfer the copyright for their translations to this person +# or entity, or to disclaim their copyright. The empty string stands for +# the public domain; in this case the translators are expected to disclaim +# their copyright. +COPYRIGHT_HOLDER = Yoyodyne, Inc. + +# This tells whether or not to prepend "GNU " prefix to the package +# name that gets inserted into the header of the $(DOMAIN).pot file. +# Possible values are "yes", "no", or empty. If it is empty, try to +# detect it automatically by scanning the files in $(top_srcdir) for +# "GNU packagename" string. +PACKAGE_GNU = no + +# This is the email address or URL to which the translators shall report +# bugs in the untranslated strings: +# - Strings which are not entire sentences, see the maintainer guidelines +# in the GNU gettext documentation, section 'Preparing Strings'. +# - Strings which use unclear terms or require additional context to be +# understood. +# - Strings which make invalid assumptions about notation of date, time or +# money. +# - Pluralisation problems. +# - Incorrect English spelling. +# - Incorrect formatting. +# It can be your email address, or a mailing list address where translators +# can write to without being subscribed, or the URL of a web page through +# which the translators can contact you. +MSGID_BUGS_ADDRESS = bug-gettext@gnu.org + +# This is the list of locale categories, beyond LC_MESSAGES, for which the +# message catalogs shall be used. It is usually empty. +EXTRA_LOCALE_CATEGORIES = + +# This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt' +# context. Possible values are "yes" and "no". Set this to yes if the +# package uses functions taking also a message context, like pgettext(), or +# if in $(XGETTEXT_OPTIONS) you define keywords with a context argument. +USE_MSGCTXT = no + +# These options get passed to msgmerge. +# Useful options are in particular: +# --previous to keep previous msgids of translated messages +MSGMERGE_OPTIONS = + +# These options get passed to msginit. +# If you want to disable line wrapping when writing PO files, add +# --no-wrap to MSGMERGE_OPTIONS, XGETTEXT_OPTIONS, and +# MSGINIT_OPTIONS. +MSGINIT_OPTIONS = + +# This tells whether or not to regenerate a PO file when $(DOMAIN).pot +# has changed. Possible values are "yes" and "no". Set this to no if +# the POT file is checked in the repository and the version control +# program ignores timestamps. +PO_DEPENDS_ON_POT = yes + +# This tells whether or not to forcibly update $(DOMAIN).pot and +# regenerate PO files on "make dist". Possible values are "yes" and +# "no". Set this to no if the POT file and PO files are maintained +# externally. +DIST_DEPENDS_ON_UPDATE_PO = yes diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/POTFILES.in b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/POTFILES.in new file mode 100644 index 0000000000000000000000000000000000000000..77112c0a4312804a49d2449e822bc42fe89b5b3a --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/POTFILES.in @@ -0,0 +1,7 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# List of files which contain translatable strings. +hello.cc +hello.desktop.in.in +hello.ui diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/af.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/af.po new file mode 100644 index 0000000000000000000000000000000000000000..6348c1729cf90689317c102556b4668aa4a2c737 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/af.po @@ -0,0 +1,51 @@ +# Afrikaans translation for Silky +# Copyright (C) 2004 Free Software Foundation, Inc. +# This file is distributed under the same license as the silky package. +# Hanlie Pretorius , 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome3-0.13.1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2003-12-31 10:30+2\n" +"Last-Translator: Ysbeer \n" +"Language-Team: Afrikaans \n" +"Language: af\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:69 +#, fuzzy +msgid "Hello world!" +msgstr "Hallo wêreld!" + +#: hello.cc:71 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "Hierdie program loop as prosesnommer %d." + +#: hello.cc:75 +msgid "This is another text" +msgstr "" + +#: hello.cc:77 +msgid "This is yet another text" +msgstr "" + +#: hello.desktop.in.in:3 +msgid "Hello" +msgstr "" + +#: hello.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Hallo wêreld!" + +#: hello.ui:6 +msgid "Example Application" +msgstr "" + +#: hello.ui:34 +msgid "Update text" +msgstr "" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/ast.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/ast.po new file mode 100644 index 0000000000000000000000000000000000000000..0e010fb7e7e32806ac800c3d2b1532c63894964d --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/ast.po @@ -0,0 +1,56 @@ +# Asturian translation for hello-c++-gnome3 +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Marquinos , 2009. +# enolp , 2018. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome3 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2018-07-16 00:28+0100\n" +"Last-Translator: enolp \n" +"Language-Team: Asturian \n" +"Language: ast\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Lokalize 2.0\n" + +#: hello.cc:69 +#, fuzzy +msgid "Hello world!" +msgstr "¡Hola, mundu!" + +#: hello.cc:71 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "Esti programa ta executándose como procesu númberu %d." + +#: hello.cc:75 +#, fuzzy +msgid "This is another text" +msgstr "Esto ye otru testu" + +#: hello.cc:77 +#, fuzzy +msgid "This is yet another text" +msgstr "Esto ye otru testu más" + +#: hello.desktop.in.in:3 +msgid "Hello" +msgstr "Hola" + +#: hello.desktop.in.in:4 +msgid "Hello, world!" +msgstr "¡Hola, mundu!" + +#: hello.ui:6 +msgid "Example Application" +msgstr "Aplicación d'exemplu" + +#: hello.ui:34 +msgid "Update text" +msgstr "Anovar testu" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/bg.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/bg.po new file mode 100644 index 0000000000000000000000000000000000000000..e62301d68088f1dfcafcacc6384441f120029117 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/bg.po @@ -0,0 +1,50 @@ +# Bulgarian translations for hello-c++-gnome3 package. +# Copyright (C) 2010 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Roumen Petrov , 2010,2014,2015,2019,2023,2024.2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c++-gnome3 0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-08 19:09+0200\n" +"Last-Translator: Roumen Petrov \n" +"Language-Team: Bulgarian \n" +"Language: bg\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:69 +msgid "Hello world!" +msgstr "Здравейте всички!" + +#: hello.cc:71 +#, c-format +msgid "This program is running as process number %s." +msgstr "Програмата е пусната под процес номер %s." + +#: hello.cc:75 +msgid "This is another text" +msgstr "Това е друг текст" + +#: hello.cc:77 +msgid "This is yet another text" +msgstr "А това е един друг текст" + +#: hello.desktop.in.in:3 +msgid "Hello" +msgstr "Здравейте" + +#: hello.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Здравейте всички!" + +#: hello.ui:6 +msgid "Example Application" +msgstr "Примерно приложение" + +#: hello.ui:34 +msgid "Update text" +msgstr "Обноваване на текст" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/ca.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/ca.po new file mode 100644 index 0000000000000000000000000000000000000000..80cb3108f42b7a7b847dcbb04c066fcf6946e9c3 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/ca.po @@ -0,0 +1,54 @@ +# Catalan messages for GNU hello-c++-gnome3. +# Copyright (C) 2003, 2014, 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Ivan Vilata i Balaguer , 2003, 2014, 2015, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome3 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-07-07 08:36+0200\n" +"Last-Translator: Ivan Vilata i Balaguer \n" +"Language-Team: Catalan \n" +"Language: ca\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.cc:69 +#, fuzzy +msgid "Hello world!" +msgstr "Hola, món!" + +#: hello.cc:71 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "Aquest programa està corrent amb el número de procés %d." + +#: hello.cc:75 +#, fuzzy +msgid "This is another text" +msgstr "Aquest és un altre text" + +#: hello.cc:77 +#, fuzzy +msgid "This is yet another text" +msgstr "Aquest és un altre text més" + +#: hello.desktop.in.in:3 +msgid "Hello" +msgstr "Hola" + +#: hello.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Hola, món!" + +#: hello.ui:6 +msgid "Example Application" +msgstr "Aplicació d’exemple" + +#: hello.ui:34 +msgid "Update text" +msgstr "Actualitza el text" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/cs.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/cs.po new file mode 100644 index 0000000000000000000000000000000000000000..9705f733b6f1db07beeab6c6c0909a230a3a1302 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/cs.po @@ -0,0 +1,53 @@ +# The Czech translation for the gettext package. +# Copyright (C) 2011 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Marek Černocký , 2011. +# Petr Písař , 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome3 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 20:05+02:00\n" +"Last-Translator: Petr Pisar \n" +"Language-Team: Czech \n" +"Language: cs\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#: hello.cc:69 +msgid "Hello world!" +msgstr "Ahoj, světe!" + +#: hello.cc:71 +#, c-format +msgid "This program is running as process number %s." +msgstr "Tento program běží jako proces číslo %s." + +#: hello.cc:75 +msgid "This is another text" +msgstr "Toto je nějaký další text" + +#: hello.cc:77 +msgid "This is yet another text" +msgstr "Toto je nějaký ještě další text" + +#: hello.desktop.in.in:3 +msgid "Hello" +msgstr "Ahoj" + +#: hello.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Ahoj světe!" + +#: hello.ui:6 +msgid "Example Application" +msgstr "Ukázková aplikace" + +#: hello.ui:34 +msgid "Update text" +msgstr "Aktualizovat text" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/da.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/da.po new file mode 100644 index 0000000000000000000000000000000000000000..534b1bf5fc7c7503a3c8accc187673d1f4cae5e3 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/da.po @@ -0,0 +1,55 @@ +# Danish messages for hello-c++-gnome3. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Jan Djærv , 2003, 2006. +# Keld Simonsen , 2011. +# Joe Hansen , 2015. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome3 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-06-27 12:39+0100\n" +"Last-Translator: Joe Hansen \n" +"Language-Team: Danish \n" +"Language: da\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:69 +#, fuzzy +msgid "Hello world!" +msgstr "Hej verden!" + +#: hello.cc:71 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "Dette program kører som proces nummer %d." + +#: hello.cc:75 +#, fuzzy +msgid "This is another text" +msgstr "Dette er en anden tekst" + +#: hello.cc:77 +#, fuzzy +msgid "This is yet another text" +msgstr "Endnu en tekst" + +#: hello.desktop.in.in:3 +msgid "Hello" +msgstr "Hej" + +#: hello.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Hej verden!" + +#: hello.ui:6 +msgid "Example Application" +msgstr "Eksempelprogram" + +#: hello.ui:34 +msgid "Update text" +msgstr "Opdater tekst" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/de.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/de.po new file mode 100644 index 0000000000000000000000000000000000000000..84f3b6b396d587af1de95f128414f16333b82022 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/de.po @@ -0,0 +1,56 @@ +# German messages for hello-c++-gnome3. +# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Bruno Haible , 2003. +# Karl Eichwalder , 2003. +# Jakob Kramer , 2013. +# Mario Blättermann , 2014, 2023, 2025. +# Philipp Thomas , 2015. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome3 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 17:15+0200\n" +"Last-Translator: Mario Blättermann \n" +"Language-Team: German \n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 25.04.0\n" + +#: hello.cc:69 +msgid "Hello world!" +msgstr "Hallo Welt!" + +#: hello.cc:71 +#, c-format +msgid "This program is running as process number %s." +msgstr "Dieses Programm läuft mit der Prozess-Nummer %s." + +#: hello.cc:75 +msgid "This is another text" +msgstr "Dies ist ein weiterer Text" + +#: hello.cc:77 +msgid "This is yet another text" +msgstr "Dies ist noch ein weiterer Text" + +#: hello.desktop.in.in:3 +msgid "Hello" +msgstr "Hallo" + +#: hello.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Hallo Welt!" + +#: hello.ui:6 +msgid "Example Application" +msgstr "Beispielanwendung" + +#: hello.ui:34 +msgid "Update text" +msgstr "Text aktualisieren" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/el.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/el.po new file mode 100644 index 0000000000000000000000000000000000000000..47588eda45f9b60077d0fbc28db8b78cef77fc6f --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/el.po @@ -0,0 +1,51 @@ +# Greek translation of hello-c++-gnome3 +# Copyright (C) 2005 Free Software Foundation, Inc. +# Simos Xenitellis , 2005. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome3 0.14.1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2005-01-06 18:50+0000\n" +"Last-Translator: Simos Xenitellis \n" +"Language-Team: Greek \n" +"Language: el\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: KBabel 1.3.1\n" + +#: hello.cc:69 +#, fuzzy +msgid "Hello world!" +msgstr "Γεια σου, κόσμε!" + +#: hello.cc:71 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας %d." + +#: hello.cc:75 +msgid "This is another text" +msgstr "" + +#: hello.cc:77 +msgid "This is yet another text" +msgstr "" + +#: hello.desktop.in.in:3 +msgid "Hello" +msgstr "" + +#: hello.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Γεια σου, κόσμε!" + +#: hello.ui:6 +msgid "Example Application" +msgstr "" + +#: hello.ui:34 +msgid "Update text" +msgstr "" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/eo.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/eo.po new file mode 100644 index 0000000000000000000000000000000000000000..21fae7cbbd87e49ccfc37e8697717f26dd3e23f3 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/eo.po @@ -0,0 +1,55 @@ +# La teksto por la mesaĝoj de la programo "gettext". +# Copyright (C) 2006, 2016 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Edmund GRIMLEY EVANS , 2006. +# Felipe CASTRO , 2016, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome3 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-23 19:00-0300\n" +"Last-Translator: Felipe Castro \n" +"Language-Team: Esperanto \n" +"Language: eo\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.cc:69 +#, fuzzy +msgid "Hello world!" +msgstr "Saluton, mondo!" + +#: hello.cc:71 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "Ĉi tiu programo rulas kiel procez-numero %d." + +#: hello.cc:75 +#, fuzzy +msgid "This is another text" +msgstr "Tio ĉi estas alia teksto" + +#: hello.cc:77 +#, fuzzy +msgid "This is yet another text" +msgstr "Tio ĉi estas pli alia teksto" + +#: hello.desktop.in.in:3 +msgid "Hello" +msgstr "Saluton" + +#: hello.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Saluton, mondo!" + +#: hello.ui:6 +msgid "Example Application" +msgstr "Ekzempla aplikaĵo" + +#: hello.ui:34 +msgid "Update text" +msgstr "Ĝisdatigi tekston" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/es.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/es.po new file mode 100644 index 0000000000000000000000000000000000000000..ad5201d4d35a19cb3d5311c7b3915710fe3ba8bd --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/es.po @@ -0,0 +1,54 @@ +# Mensajes en español para GNU gettext. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# +# This file is distributed under the same license as the gettext package. +# +# Max de Mendizábal , 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004. +# Antonio Ceballos , 2014, 2015, 2023, 2025 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome3-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-02-23 17:01+0100\n" +"Last-Translator: Antonio Ceballos \n" +"Language-Team: Spanish \n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.cc:69 +msgid "Hello world!" +msgstr "¡Hola, mundo!" + +#: hello.cc:71 +#, c-format +msgid "This program is running as process number %s." +msgstr "Este programa está corriendo como el proceso número %s." + +#: hello.cc:75 +msgid "This is another text" +msgstr "Este es otro texto" + +#: hello.cc:77 +msgid "This is yet another text" +msgstr "Este es otro texto más" + +#: hello.desktop.in.in:3 +msgid "Hello" +msgstr "Hola" + +#: hello.desktop.in.in:4 +msgid "Hello, world!" +msgstr "¡Hola, mundo!" + +#: hello.ui:6 +msgid "Example Application" +msgstr "Ejemplo de aplicación" + +#: hello.ui:34 +msgid "Update text" +msgstr "Actualizar texto" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/fi.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/fi.po new file mode 100644 index 0000000000000000000000000000000000000000..5537637db5aace61246f8d20720b5ca3b1b4ee54 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/fi.po @@ -0,0 +1,57 @@ +# Finnish messages for GNU Gettext examples. +# This file is distributed under the same license as the gettext package. +# Copyright © 2007, 2014, 2015 Yoyodyne, Inc. (msgids) +# Lauri Nurmi , 2007. +# Jorma Karvonen , 2014-2015. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome3 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-09-01 16:59+0300\n" +"Last-Translator: Jorma Karvonen \n" +"Language-Team: Finnish \n" +"Language: fi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 1.5.4\n" + +# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti. +#: hello.cc:69 +#, fuzzy +msgid "Hello world!" +msgstr "Terve maailma!" + +#: hello.cc:71 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "Tämän ohjelman prosessinumero on %d." + +#: hello.cc:75 +#, fuzzy +msgid "This is another text" +msgstr "Tämä on toinen teksti" + +#: hello.cc:77 +#, fuzzy +msgid "This is yet another text" +msgstr "Tämä on vielä toinen teksti" + +#: hello.desktop.in.in:3 +msgid "Hello" +msgstr "Hei" + +# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti. +#: hello.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Terve maailma!" + +#: hello.ui:6 +msgid "Example Application" +msgstr "Esimerkkisovellus" + +#: hello.ui:34 +msgid "Update text" +msgstr "Päivitä teksti" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/fr.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/fr.po new file mode 100644 index 0000000000000000000000000000000000000000..7fa92d5da13975f105e5a81432092fa59479c36f --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/fr.po @@ -0,0 +1,59 @@ +# Messages français pour GNU gettext. +# Copyright (C) 2006 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Michel Robitaille , 2006. +# Christophe Combelles , 2006 +# Stéphane Aulery , 2015 +# Christian Wiatr , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome3 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-28 16:25+0200\n" +"Last-Translator: Christian Wiatr \n" +"Language-Team: French \n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.cc:69 +#, fuzzy +msgid "Hello world!" +msgstr "Bonjour, le monde !" + +#: hello.cc:71 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "Ce programme est exécuté en tant que processus numéro %d." + +#: hello.cc:75 +#, fuzzy +msgid "This is another text" +msgstr "Ceci est un autre texte" + +#: hello.cc:77 +#, fuzzy +msgid "This is yet another text" +msgstr "Ceci est encore un autre texte" + +#: hello.desktop.in.in:3 +msgid "Hello" +msgstr "Bonjour" + +#: hello.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Bonjour, le monde !" + +#: hello.ui:6 +msgid "Example Application" +msgstr "Application d’exemple" + +#: hello.ui:34 +msgid "Update text" +msgstr "Actualiser le texte" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/ga.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/ga.po new file mode 100644 index 0000000000000000000000000000000000000000..2bb850eb749ef690b350285755453efdb3c603b4 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/ga.po @@ -0,0 +1,53 @@ +# Irish translations for hello-c++-gnome3. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Kevin Patrick Scannell , 2004, 2017. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome3 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2017-01-10 12:09-0500\n" +"Last-Translator: Kevin Patrick Scannell \n" +"Language-Team: Irish \n" +"Language: ga\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:69 +#, fuzzy +msgid "Hello world!" +msgstr "Dia duit, a dhomhain!" + +#: hello.cc:71 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "Tá an clár seo ag rith mar phróiseas %d." + +#: hello.cc:75 +#, fuzzy +msgid "This is another text" +msgstr "Seo é téacs eile" + +#: hello.cc:77 +#, fuzzy +msgid "This is yet another text" +msgstr "Seo é téacs eile fós" + +#: hello.desktop.in.in:3 +msgid "Hello" +msgstr "Dia dhuit" + +#: hello.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Dia duit, a dhomhain!" + +#: hello.ui:6 +msgid "Example Application" +msgstr "Feidhmchlár Samplach" + +#: hello.ui:34 +msgid "Update text" +msgstr "Nuashonraigh an téacs" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/gl.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/gl.po new file mode 100644 index 0000000000000000000000000000000000000000..1d11e76da76f7e63d9974031a64fdd6d6031c9fc --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/gl.po @@ -0,0 +1,56 @@ +# Galician translation for hello-c++-gnome3 package. +# Copyright (C) 2010 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Leandro Regueiro , 2010-2014. +# +# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas +# colaborar connosco, podes atopar máis información en +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome3 0.19-rc1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2014-05-10 16:34+0100\n" +"Last-Translator: Leandro Regueiro \n" +"Language-Team: Galician \n" +"Language: gl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n!=1);\n" + +#: hello.cc:69 +#, fuzzy +msgid "Hello world!" +msgstr "Ola, mundo!" + +#: hello.cc:71 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "Este programa estase executando como o proceso número %d." + +#: hello.cc:75 +msgid "This is another text" +msgstr "" + +#: hello.cc:77 +msgid "This is yet another text" +msgstr "" + +#: hello.desktop.in.in:3 +msgid "Hello" +msgstr "" + +#: hello.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Ola, mundo!" + +#: hello.ui:6 +msgid "Example Application" +msgstr "Aplicativo de exemplo" + +#: hello.ui:34 +msgid "Update text" +msgstr "" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/hr.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/hr.po new file mode 100644 index 0000000000000000000000000000000000000000..661d8c48497bf7bb81d28a61f6475081909b2eba --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/hr.po @@ -0,0 +1,57 @@ +# Translation of hello-c++-gnome3 to Croatian. +# Copyright (C) 2003, 2004, 2014, 2015, 2019 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Permission is granted to freely copy and distribute +# this file and modified versions, provided that this +# header is not removed and modified versions are marked +# as such. +# +# Tomislav Krznar , 2012. +# Božidar Putanec , 2018-2025. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c++-gnome3 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 10:15-0700\n" +"Last-Translator: Božidar Putanec \n" +"Language-Team: Croatian \n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:69 +msgid "Hello world!" +msgstr "Pozdrav svijete!" + +#: hello.cc:71 +#, c-format +msgid "This program is running as process number %s." +msgstr "Ovaj program se izvršava kao proces broj %s" + +#: hello.cc:75 +msgid "This is another text" +msgstr "Ovo je drugi tekstr" + +#: hello.cc:77 +msgid "This is yet another text" +msgstr "Ovo je još jedan tekst" + +#: hello.desktop.in.in:3 +msgid "Hello" +msgstr "Pozdrav" + +#: hello.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Pozdrav, svijete!" + +#: hello.ui:6 +msgid "Example Application" +msgstr "Primjer primjene" + +#: hello.ui:34 +msgid "Update text" +msgstr "Ažuiranje teksta" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/hu.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/hu.po new file mode 100644 index 0000000000000000000000000000000000000000..a284ee30ea341b2cdad30caccc58de3bb5cefc36 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/hu.po @@ -0,0 +1,56 @@ +# Hungarian translation for hello-c++-gnome3. +# This file is distributed under the same license as the gettext package. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# +# Tamás Kiss , 2005. +# Balázs Úr , 2014, 2015. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome3 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-06-23 20:31+0200\n" +"Last-Translator: Balázs Úr \n" +"Language-Team: Hungarian \n" +"Language: hu\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 1.2\n" + +#: hello.cc:69 +#, fuzzy +msgid "Hello world!" +msgstr "Hello, világ!" + +#: hello.cc:71 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "Ez a program a(z) %d folyamatazonosítóval fut." + +#: hello.cc:75 +#, fuzzy +msgid "This is another text" +msgstr "Ez egy másik szöveg" + +#: hello.cc:77 +#, fuzzy +msgid "This is yet another text" +msgstr "Ez megint egy másik szöveg" + +#: hello.desktop.in.in:3 +msgid "Hello" +msgstr "Helló" + +#: hello.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Hello, világ!" + +#: hello.ui:6 +msgid "Example Application" +msgstr "Példa alkalmazás" + +#: hello.ui:34 +msgid "Update text" +msgstr "Szöveg frissítése" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/id.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/id.po new file mode 100644 index 0000000000000000000000000000000000000000..d5f8a5d76c7464400dcddd72aec1989328e01001 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/id.po @@ -0,0 +1,52 @@ +# translation of hello-c++-gnome3-0.15-pre5.po to Indonesian +# Copyright (C) 2006 Yoyodyne, Inc. +# This file is distributed under the same license as the PACKAGE package. +# +# Tedi Heriyanto , 2006. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome3-0.15-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2006-09-27 20:19+0700\n" +"Last-Translator: Tedi Heriyanto \n" +"Language-Team: Indonesian \n" +"Language: id\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: KBabel 1.11.2\n" + +#: hello.cc:69 +#, fuzzy +msgid "Hello world!" +msgstr "Hello, world!" + +#: hello.cc:71 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "Program ini berjalan sebagai proses nomor %d" + +#: hello.cc:75 +msgid "This is another text" +msgstr "" + +#: hello.cc:77 +msgid "This is yet another text" +msgstr "" + +#: hello.desktop.in.in:3 +msgid "Hello" +msgstr "" + +#: hello.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Hello, world!" + +#: hello.ui:6 +msgid "Example Application" +msgstr "" + +#: hello.ui:34 +msgid "Update text" +msgstr "" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/it.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/it.po new file mode 100644 index 0000000000000000000000000000000000000000..db227c39ec64579835e9bc06fc618e7408da6c07 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/it.po @@ -0,0 +1,53 @@ +# Italian messages for hello-c++-gnome3. +# Copyright (C) 2005, 2006 Yoyodyne, Inc. (msgids) +# Copyright (C) 2024 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Marco Colombo , 2005, 2006, 2015. +# Michele Locati , 2024, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c++-gnome3 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-04 18:28+0200\n" +"Last-Translator: Michele Locati \n" +"Language-Team: Italian \n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:69 +msgid "Hello world!" +msgstr "Ciao mondo!" + +#: hello.cc:71 +#, c-format +msgid "This program is running as process number %s." +msgstr "Questo programma è in esecuzione con numero di processo %s." + +#: hello.cc:75 +msgid "This is another text" +msgstr "Questo è un altro testo" + +#: hello.cc:77 +msgid "This is yet another text" +msgstr "Questo è un altro testo ancora" + +#: hello.desktop.in.in:3 +msgid "Hello" +msgstr "Ciao" + +#: hello.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Ciao, mondo!" + +#: hello.ui:6 +msgid "Example Application" +msgstr "Applicazione di esempio" + +#: hello.ui:34 +msgid "Update text" +msgstr "Aggiorna testo" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/ja.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/ja.po new file mode 100644 index 0000000000000000000000000000000000000000..1c0c293782b6783005bd5fb8c640cfff69952c3f --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/ja.po @@ -0,0 +1,50 @@ +# Translation of `hello-c++-gnome3' messages to Japanese. +# Copyright (C) 2005, 2006, 2014, 2015, 2023, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Masahito Yamaga , 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c++-gnome3 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 19:59+0900\n" +"Last-Translator: Masahito Yamaga \n" +"Language-Team: Japanese \n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:69 +msgid "Hello world!" +msgstr "世界よ こんにちは!" + +#: hello.cc:71 +#, c-format +msgid "This program is running as process number %s." +msgstr "このプログラムはプロセス番号 %s で動いています." + +#: hello.cc:75 +msgid "This is another text" +msgstr "これはもう一つのテキストです" + +#: hello.cc:77 +msgid "This is yet another text" +msgstr "これはさらにもう一つのテキストです" + +#: hello.desktop.in.in:3 +msgid "Hello" +msgstr "こんにちは" + +#: hello.desktop.in.in:4 +msgid "Hello, world!" +msgstr "世界よ, こんにちは!" + +#: hello.ui:6 +msgid "Example Application" +msgstr "実例応用" + +#: hello.ui:34 +msgid "Update text" +msgstr "テキストを更新" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/ka.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/ka.po new file mode 100644 index 0000000000000000000000000000000000000000..45e12a81e189a50b523507ae1eaf44c824570e7a --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/ka.po @@ -0,0 +1,55 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Temuri Doghonadze , 2022. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome3 0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2022-05-22 05:04+0200\n" +"Last-Translator: Temuri Doghonadze \n" +"Language-Team: Georgian <(nothing)>\n" +"Language: ka\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 3.0.1\n" + +#: hello.cc:69 +#, fuzzy +msgid "Hello world!" +msgstr "გამარჯობა სამყაროვ!" + +#: hello.cc:71 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "პროგრამა გაშვებულია პროცესის ნომრით %d." + +#: hello.cc:75 +#, fuzzy +msgid "This is another text" +msgstr "ეს კი სხვა ტექსტია" + +#: hello.cc:77 +#, fuzzy +msgid "This is yet another text" +msgstr "ეს კიდევ უფრო სხვაა" + +#: hello.desktop.in.in:3 +msgid "Hello" +msgstr "გამარჯობა" + +#: hello.desktop.in.in:4 +msgid "Hello, world!" +msgstr "გამარჯობა სამყაროვ!" + +#: hello.ui:6 +msgid "Example Application" +msgstr "მაგალითი აპლიკაცია" + +#: hello.ui:34 +msgid "Update text" +msgstr "ტექსტის განახლება" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/ky.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/ky.po new file mode 100644 index 0000000000000000000000000000000000000000..0548959103d61653241e938892a80a6eedcdf424 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/ky.po @@ -0,0 +1,55 @@ +# Translation of 'hello-c++-gnome3' messages to Kirghiz. +# Copyright (C) 2004 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Ilyas Bakirov , 2007. +# Ilyas Bakirov , 2018. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome3 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2018-02-15 18:26+0600\n" +"Last-Translator: Ilyas Bakirov \n" +"Language-Team: Kirghiz \n" +"Language: ky\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 2.0.6\n" + +#: hello.cc:69 +#, fuzzy +msgid "Hello world!" +msgstr "Салам дүйнө!" + +#: hello.cc:71 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "Бул программа %d процесс номери катары иштеп жатат." + +#: hello.cc:75 +#, fuzzy +msgid "This is another text" +msgstr "Дагы бир текст" + +#: hello.cc:77 +#, fuzzy +msgid "This is yet another text" +msgstr "Жана дагы бир текст" + +#: hello.desktop.in.in:3 +msgid "Hello" +msgstr "Салам" + +#: hello.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Салам дүйнө!" + +#: hello.ui:6 +msgid "Example Application" +msgstr "Мисал программа" + +#: hello.ui:34 +msgid "Update text" +msgstr "Текстти жаңылоо" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/lv.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/lv.po new file mode 100644 index 0000000000000000000000000000000000000000..c2c1e45d6f68a07df618c3030c2b661b869d18e9 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/lv.po @@ -0,0 +1,54 @@ +# Latvian translation of hello-c++-gnome3 +# Copyright (C) 2009 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Arvis Lācis , 2009. +# Rihards Priedītis , 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome3-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-09 11:44+0000\n" +"Last-Translator: Rihards Priedītis \n" +"Language-Team: Latvian \n" +"Language: lv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : " +"2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cc:69 +msgid "Hello world!" +msgstr "Sveika, pasaule!" + +#: hello.cc:71 +#, c-format +msgid "This program is running as process number %s." +msgstr "Šī programma darbojas ar procesa numuru %s." + +#: hello.cc:75 +msgid "This is another text" +msgstr "Šis ir vēl viens teksts" + +#: hello.cc:77 +msgid "This is yet another text" +msgstr "Šis ir arī vēl viens teksts" + +#: hello.desktop.in.in:3 +msgid "Hello" +msgstr "Sveiki" + +#: hello.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Sveika, pasaule!" + +#: hello.ui:6 +msgid "Example Application" +msgstr "Parauga Lietotne" + +#: hello.ui:34 +msgid "Update text" +msgstr "Atjaunināt tekstu" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/ms.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/ms.po new file mode 100644 index 0000000000000000000000000000000000000000..5d670f8cf1a5439a0249f6bfeb3288af43046b15 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/ms.po @@ -0,0 +1,52 @@ +# hello-c++-gnome3 Bahasa Melayu (Malay) (ms). +# Copyright (C) 2006, 2015, 2023, 2025 Yoyodyne, Inc. (msgids) +# Copyright (C) 2006, 2015, 2023, 2025 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Sharuzzaman Ahmat Raslan , 2006, 2015, 2023, 2025 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome3 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-03 21:10+0800\n" +"Last-Translator: Sharuzzaman Ahmat Raslan \n" +"Language-Team: Malay \n" +"Language: ms\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cc:69 +msgid "Hello world!" +msgstr "Hello dunia!" + +#: hello.cc:71 +#, c-format +msgid "This program is running as process number %s." +msgstr "Program ini dilaksanakan sebagai proses bernombor %s." + +#: hello.cc:75 +msgid "This is another text" +msgstr "Ini adalah teks lain" + +#: hello.cc:77 +msgid "This is yet another text" +msgstr "Ini adalah satu lagi teks lain" + +#: hello.desktop.in.in:3 +msgid "Hello" +msgstr "Hello" + +#: hello.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Hello, dunia!" + +#: hello.ui:6 +msgid "Example Application" +msgstr "Contoh Aplikasi" + +#: hello.ui:34 +msgid "Update text" +msgstr "Kemaskini teks" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/mt.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/mt.po new file mode 100644 index 0000000000000000000000000000000000000000..c11c66f2117ff25b68deb5d1d151a3b6a01b3d8e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/mt.po @@ -0,0 +1,52 @@ +# hello-c++-gnome3-0.16.2-pre5. +# Copyright (C) 2008 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Clyde Meli , 2001-2008. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome3 0.16.2-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2008-11-18 17:27+0100\n" +"Last-Translator: Clyde Meli \n" +"Language-Team: Maltese \n" +"Language: mt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:69 +#, fuzzy +msgid "Hello world!" +msgstr "Hello, lil kulħadd!" + +#: hello.cc:71 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "Dal-programm qed jaħdem taħt il-proċess numru %d." + +#: hello.cc:75 +msgid "This is another text" +msgstr "" + +#: hello.cc:77 +msgid "This is yet another text" +msgstr "" + +#: hello.desktop.in.in:3 +msgid "Hello" +msgstr "" + +#: hello.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Hello, lil kulħadd!" + +#: hello.ui:6 +msgid "Example Application" +msgstr "" + +#: hello.ui:34 +msgid "Update text" +msgstr "" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/nb.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/nb.po new file mode 100644 index 0000000000000000000000000000000000000000..3005b8c3ce5c224a32d948750a740cd602e1b53e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/nb.po @@ -0,0 +1,56 @@ +# Norwegian Bokmal translations for hello-c++-gnome3 package. +# Copyright (C) 2012 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Johnny A. Solbu , 2012-2024 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome3 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-01-06 16:33+0100\n" +"Last-Translator: Johnny A. Solbu \n" +"Language-Team: Norwegian Bokmaal \n" +"Language: nb\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.cc:69 +#, fuzzy +msgid "Hello world!" +msgstr "Hallo verden!" + +#: hello.cc:71 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "Dette programmet kjører som prosess nummer %d." + +#: hello.cc:75 +#, fuzzy +msgid "This is another text" +msgstr "Dette er en annen tekst" + +#: hello.cc:77 +#, fuzzy +msgid "This is yet another text" +msgstr "Dette er enda en tekst" + +#: hello.desktop.in.in:3 +msgid "Hello" +msgstr "Hallo" + +#: hello.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Hallo verden!" + +#: hello.ui:6 +msgid "Example Application" +msgstr "Eksempelprogram" + +#: hello.ui:34 +msgid "Update text" +msgstr "Oppdater tekst" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/nl.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/nl.po new file mode 100644 index 0000000000000000000000000000000000000000..2634fb20159261af1a5d4f01468c2535e3d795a4 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/nl.po @@ -0,0 +1,55 @@ +# Dutch translations for GNU hello-c++-gnome3. +# Copyright (C) 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# "There are three basic rules for writing a novel. +# Unfortunately nobody knows what they are." +# +# Benno Schulenberg , 2007, 2014, 2015, 2019, 2025. +# Elros Cyriatan , 2004. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome3-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-01 14:51+0100\n" +"Last-Translator: Benno Schulenberg \n" +"Language-Team: Dutch \n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.cc:69 +msgid "Hello world!" +msgstr "Hallo wereld!" + +#: hello.cc:71 +#, c-format +msgid "This program is running as process number %s." +msgstr "Dit programma draait als proces nummer %s." + +#: hello.cc:75 +msgid "This is another text" +msgstr "Dit is een andere tekst" + +#: hello.cc:77 +msgid "This is yet another text" +msgstr "Dit is nog weer een andere tekst" + +#: hello.desktop.in.in:3 +msgid "Hello" +msgstr "Hallo" + +#: hello.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Hallo, wereld!" + +#: hello.ui:6 +msgid "Example Application" +msgstr "Voorbeeldtoepassing" + +#: hello.ui:34 +msgid "Update text" +msgstr "Tekst bijwerken" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/nn.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/nn.po new file mode 100644 index 0000000000000000000000000000000000000000..7eda9da5d1500ec8be4241b066e222a188265010 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/nn.po @@ -0,0 +1,55 @@ +# Norwegian Nynorsk translation of GNU hello-c++-gnome3 +# Copyright (C) 2020 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Karl Ove Hufthammer , 2020. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome3-0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2020-05-04 18:58+0200\n" +"Last-Translator: Karl Ove Hufthammer \n" +"Language-Team: Norwegian Nynorsk \n" +"Language: nn\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 20.04.0\n" + +#: hello.cc:69 +#, fuzzy +msgid "Hello world!" +msgstr "Hei, verda!" + +#: hello.cc:71 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "Dette programmet køyrer som prosess nummer %d." + +#: hello.cc:75 +#, fuzzy +msgid "This is another text" +msgstr "Dette er ein annan tekst" + +#: hello.cc:77 +#, fuzzy +msgid "This is yet another text" +msgstr "Her er endå ein tekst" + +#: hello.desktop.in.in:3 +msgid "Hello" +msgstr "Hei" + +#: hello.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Hei, verda!" + +#: hello.ui:6 +msgid "Example Application" +msgstr "Eksempelprogram" + +#: hello.ui:34 +msgid "Update text" +msgstr "Oppdater tekst" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/pl.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/pl.po new file mode 100644 index 0000000000000000000000000000000000000000..0a58dff9c6d928685a917ad5ed124420793ea176 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/pl.po @@ -0,0 +1,51 @@ +# Polish translations for the GNU gettext messages, hello-c++-gnome3 domain +# Copyright (C) 2010, 2014, 2015, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Rafał Maszkowski , 2003, 2010, 2014, 2015, 2025 +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c++-gnome3 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-25 17:16+0200\n" +"Last-Translator: Rafał Maszkowski \n" +"Language-Team: Polish \n" +"Language: pl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8-bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " +"|| n%100>=20) ? 1 : 2);\n" + +#: hello.cc:69 +msgid "Hello world!" +msgstr "Cześć, świecie!" + +#: hello.cc:71 +#, c-format +msgid "This program is running as process number %s." +msgstr "Ten program działa jako proces o numerze %s." + +#: hello.cc:75 +msgid "This is another text" +msgstr "To jest inny tekst" + +#: hello.cc:77 +msgid "This is yet another text" +msgstr "To jest jeszcze inny tekst" + +#: hello.desktop.in.in:3 +msgid "Hello" +msgstr "Cześć" + +#: hello.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Cześć, świecie!" + +#: hello.ui:6 +msgid "Example Application" +msgstr "Program przykładowy" + +#: hello.ui:34 +msgid "Update text" +msgstr "Aktualizacja tekstu" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/pt.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/pt.po new file mode 100644 index 0000000000000000000000000000000000000000..f282e4381e4d247cae396fd956c54e704c6fb23e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/pt.po @@ -0,0 +1,52 @@ +# Portuguese (Portugal) translation of 'hello-c++-gnome3' package. +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Pedro Albuquerque , 2019, 2020, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome3 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 11:24+0100\n" +"Last-Translator: Pedro Albuquerque \n" +"Language-Team: Portuguese \n" +"Language: pt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\\n;\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.6\n" + +#: hello.cc:69 +msgid "Hello world!" +msgstr "Olá mundo!" + +#: hello.cc:71 +#, c-format +msgid "This program is running as process number %s." +msgstr "Este programa está em execução como processo nº %s." + +#: hello.cc:75 +msgid "This is another text" +msgstr "Este é outro texto" + +#: hello.cc:77 +msgid "This is yet another text" +msgstr "Eis ainda outro texto" + +#: hello.desktop.in.in:3 +msgid "Hello" +msgstr "Olá" + +#: hello.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Olá mundo!" + +#: hello.ui:6 +msgid "Example Application" +msgstr "Aplicação exemplo" + +#: hello.ui:34 +msgid "Update text" +msgstr "Actualizar texto" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/pt_BR.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/pt_BR.po new file mode 100644 index 0000000000000000000000000000000000000000..4036a357149eb6c26c2ece90f7b3c4f8607f0d16 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/pt_BR.po @@ -0,0 +1,55 @@ +# Brazilian Portuguese translations for gettext-example +# Traduções em português brasileiro para gettext-example +# Copyright (C) 2025 Yoyodyne, Inc. (msgids) +# Copyright (C) 2025 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Rafael Fontenelle , 2013-2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome3 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 10:24-0300\n" +"Last-Translator: Rafael Fontenelle \n" +"Language-Team: Brazilian Portuguese \n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Gtranslator 48.0\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:69 +msgid "Hello world!" +msgstr "Olá mundo!" + +#: hello.cc:71 +#, c-format +msgid "This program is running as process number %s." +msgstr "Este programa está sendo executado com número de processo %s." + +#: hello.cc:75 +msgid "This is another text" +msgstr "Este é outro texto" + +#: hello.cc:77 +msgid "This is yet another text" +msgstr "Este também é outro texto" + +#: hello.desktop.in.in:3 +msgid "Hello" +msgstr "Olá" + +#: hello.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Olá, mundo!" + +#: hello.ui:6 +msgid "Example Application" +msgstr "Aplicativo exemplo" + +#: hello.ui:34 +msgid "Update text" +msgstr "Atualizar texto" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/ro.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/ro.po new file mode 100644 index 0000000000000000000000000000000000000000..917ffb5efc44010022b40f45b9cd164749d87542 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/ro.po @@ -0,0 +1,74 @@ +# Translation of "hello-c++-gnome3" messages to Romanian. +# Mesajele în limba română pentru pachetul hello-c++-gnome3. +# Copyright © 2015, 2019, 2022, 2023, 2024, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Eugen Hoancă , 2003. +# Mihai Cristescu , 2015 - 2019. +# Remus-Gabriel Chelu , 2022 - 2025. +# +# Cronologia traducerii fișierului „hello-c++-gnome3”: +# Traducerea inițială, făcută de EH, pentru versiunea hello-c++-gnome3 0.12.1, 2003. +# Actualizare a traducerii pentru versiunea hello-c++-gnome3 0.19.4-rc1, făcută de MC, mar-2015. +# Actualizare a traducerii pentru versiunea hello-c++-gnome3 0.19.4.73, făcută de MC, iun-2015. +# Actualizare a traducerii pentru versiunea hello-c++-gnome3 0.20-rc1, făcută de MC, apr-2019. +# Actualizare a mesajelor, de la fișierul „hello-c++-gnome3-0.20.2.pot”. +# Actualizare a algoritmului formelor de plural (de la „trei-vechi” la „trei-actual”). +# NU și a mesajelor traduse (acestea au rămas neschimbate). +# Eliminare a mesajelor ce-au dispărut în ultima versiune. +# Actualizări realizate de Remus-Gabriel Chelu , 15.01.2022. +# Actualizare a traducerii pentru versiunea 0.20.2 făcută de R-GC, ian-2022. +# Actualizare a traducerii pentru versiunea 0.22 făcută de R-GC, iun-2023. +# Revizuire și corectare a traducerii pentru versiunea 0.23-pre1 făcută de R-GC, oct-2024. +# Actualizare a traducerii pentru versiunea 0.24-pre1 făcută de R-GC, feb-2025. +# Actualizare a traducerii pentru versiunea 0.25-pre1 făcută de R-GC, apr-2025. +# Actualizare a traducerii pentru versiunea Y, făcută de X, Z(luna-anul). +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome3 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-29 00:25+0200\n" +"Last-Translator: Remus-Gabriel Chelu \n" +"Language-Team: Romanian \n" +"Language: ro\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " +"20)) ? 1 : 2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cc:69 +msgid "Hello world!" +msgstr "Salutare lume!" + +#: hello.cc:71 +#, c-format +msgid "This program is running as process number %s." +msgstr "Acest program rulează ca procesul numărul %s." + +#: hello.cc:75 +msgid "This is another text" +msgstr "Acesta este un alt text" + +#: hello.cc:77 +msgid "This is yet another text" +msgstr "Acesta este un alt rând de text" + +#: hello.desktop.in.in:3 +msgid "Hello" +msgstr "Salut" + +#: hello.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Salutare, lume!" + +#: hello.ui:6 +msgid "Example Application" +msgstr "Exemplu de aplicație" + +#: hello.ui:34 +msgid "Update text" +msgstr "Actualizează textul" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/ru.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/ru.po new file mode 100644 index 0000000000000000000000000000000000000000..8be28df51fd26de674bbfb4ccb8645e3808b9b69 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/ru.po @@ -0,0 +1,54 @@ +# Translation of hello-c++-gnome3-0.14.1.po to Russian +# Copyright (C) 2004 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Pavel Maryanov , 2004. +# SPDX-FileCopyrightText: 2014, 2015, 2023, 2025 Yuri Kozlov +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome3 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-02 09:17+0300\n" +"Last-Translator: Yuri Kozlov \n" +"Language-Team: Russian \n" +"Language: ru\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Lokalize 24.12.0\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#: hello.cc:69 +msgid "Hello world!" +msgstr "Здравствуй мир!" + +#: hello.cc:71 +#, c-format +msgid "This program is running as process number %s." +msgstr "Эта программа выполняется как процесс под номером %s." + +#: hello.cc:75 +msgid "This is another text" +msgstr "Ещё один текст" + +#: hello.cc:77 +msgid "This is yet another text" +msgstr "И ещё один текст" + +#: hello.desktop.in.in:3 +msgid "Hello" +msgstr "Здравствуйте" + +#: hello.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Здравствуй, мир!" + +#: hello.ui:6 +msgid "Example Application" +msgstr "Пример приложения" + +#: hello.ui:34 +msgid "Update text" +msgstr "Обновить текст" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/sk.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/sk.po new file mode 100644 index 0000000000000000000000000000000000000000..8da5a31fd8acb24030b2da417658637070127166 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/sk.po @@ -0,0 +1,50 @@ +# Slovak translations GNU for hello-c++-gnome3 package. +# Copyright (C) 2003, 2004, 2014, 2023, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Marcel Telka , 2003, 2004, 2014, 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c++-gnome3 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 13:53+0200\n" +"Last-Translator: Marcel Telka \n" +"Language-Team: Slovak \n" +"Language: sk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:69 +msgid "Hello world!" +msgstr "Ahoj svet!" + +#: hello.cc:71 +#, c-format +msgid "This program is running as process number %s." +msgstr "Tento program beží ako proces s číslom %s." + +#: hello.cc:75 +msgid "This is another text" +msgstr "Toto je ďalší text" + +#: hello.cc:77 +msgid "This is yet another text" +msgstr "Toto je ešte ďalší text" + +#: hello.desktop.in.in:3 +msgid "Hello" +msgstr "Ahoj" + +#: hello.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Ahoj svet!" + +#: hello.ui:6 +msgid "Example Application" +msgstr "Ukážková aplikácia" + +#: hello.ui:34 +msgid "Update text" +msgstr "Aktualizovať text" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/sl.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/sl.po new file mode 100644 index 0000000000000000000000000000000000000000..c514f098e7d57d9fa19c5de6662c8d95b0148ce6 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/sl.po @@ -0,0 +1,56 @@ +# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example +# Copyright (C) 2005 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Primož Peterlin , 2005, 2014, 2015, 2024. +# $Id: hello-c++-gnome3-0.22.sl.po,v 1.1 2024/03/28 17:02:19 peterlin Exp $ +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome3 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-03-28 18:02+0100\n" +"Last-Translator: Primož Peterlin \n" +"Language-Team: Slovenian \n" +"Language: sl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8-bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || " +"n%100==4 ? 3 : 0);\n" + +#: hello.cc:69 +#, fuzzy +msgid "Hello world!" +msgstr "Pozdravljen, svet!" + +#: hello.cc:71 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "Ta program teče kot proces številka %d." + +#: hello.cc:75 +#, fuzzy +msgid "This is another text" +msgstr "Podčrtano besedilo" + +#: hello.cc:77 +#, fuzzy +msgid "This is yet another text" +msgstr "Besedilo v kurzivi" + +#: hello.desktop.in.in:3 +msgid "Hello" +msgstr "Zdravo" + +#: hello.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Pozdravljen, svet!" + +#: hello.ui:6 +msgid "Example Application" +msgstr "Zgled aplikacije" + +#: hello.ui:34 +msgid "Update text" +msgstr "Posodobi besedilo" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/sq.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/sq.po new file mode 100644 index 0000000000000000000000000000000000000000..e242c3d63b7bbb1d2ec7fb5d3957c3fa08390022 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/sq.po @@ -0,0 +1,52 @@ +# Albanian translation of gettext-example. +# Copyright (C) 2020 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Besnik Bleta , 2020,2023,2024,2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome3-0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 19:56+0300\n" +"Last-Translator: Besnik Bleta \n" +"Language-Team: Albanian \n" +"Language: sq\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.2.2\n" + +#: hello.cc:69 +msgid "Hello world!" +msgstr "Tungjatjeta, botë!" + +#: hello.cc:71 +#, c-format +msgid "This program is running as process number %s." +msgstr "Ky program po xhiron si procesi numër %s." + +#: hello.cc:75 +msgid "This is another text" +msgstr "Ja dhe një tekst tjetër" + +#: hello.cc:77 +msgid "This is yet another text" +msgstr "Ja edhe një tekst tjetër akoma" + +#: hello.desktop.in.in:3 +msgid "Hello" +msgstr "Tungjatjeta" + +#: hello.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Tungjatjeta, botë!" + +#: hello.ui:6 +msgid "Example Application" +msgstr "Aplikacion Shembull" + +#: hello.ui:34 +msgid "Update text" +msgstr "Përditësojeni tekstin" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/sr.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/sr.po new file mode 100644 index 0000000000000000000000000000000000000000..f6e82c12b10412010f83d564d6bafe4b7c9f401b --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/sr.po @@ -0,0 +1,54 @@ +# Serbian translation of hello-c++-gnome3. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Aleksandar Jelenak , 2004. +# Мирослав Николић , 2014-2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome3-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-02 16:51+0100\n" +"Last-Translator: Мирослав Николић \n" +"Language-Team: Serbian <(nothing)>\n" +"Language: sr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cc:69 +msgid "Hello world!" +msgstr "Здраво свима!" + +#: hello.cc:71 +#, c-format +msgid "This program is running as process number %s." +msgstr "Овај програм се извршава као процес број %s." + +#: hello.cc:75 +msgid "This is another text" +msgstr "Ово је још један текст" + +#: hello.cc:77 +msgid "This is yet another text" +msgstr "Богами и ово је још један текст" + +#: hello.desktop.in.in:3 +msgid "Hello" +msgstr "Здраво" + +#: hello.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Здраво, свима!" + +#: hello.ui:6 +msgid "Example Application" +msgstr "Програм примера" + +#: hello.ui:34 +msgid "Update text" +msgstr "Опис ажурирања" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/sv.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/sv.po new file mode 100644 index 0000000000000000000000000000000000000000..f872a8b342f010da70eb90a1e402627cdeab59da --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/sv.po @@ -0,0 +1,54 @@ +# Swedish messages for hello-c++-gnome3. +# Copyright © 2006, 2014, 2016, 2019, 2020, 2023, 2024, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Jan Djärv , 2003, 2006, 2014. +# Göran Uddeborg , 2016, 2019, 2020, 2023, 2024, 2025. +# Luna Jernberg , 2025. +# $Revision: 1.12 $ +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome3 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 12:18+0200\n" +"Last-Translator: Luna Jernberg \n" +"Language-Team: Swedish \n" +"Language: sv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cc:69 +msgid "Hello world!" +msgstr "Hej världen!" + +#: hello.cc:71 +#, c-format +msgid "This program is running as process number %s." +msgstr "Detta program kör som process nummer %s." + +#: hello.cc:75 +msgid "This is another text" +msgstr "Detta är en annan text" + +#: hello.cc:77 +msgid "This is yet another text" +msgstr "Detta är ytterligare en annan text" + +#: hello.desktop.in.in:3 +msgid "Hello" +msgstr "Hej" + +#: hello.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Hej världen!" + +#: hello.ui:6 +msgid "Example Application" +msgstr "Exempelprogram" + +#: hello.ui:34 +msgid "Update text" +msgstr "Uppdatera text" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/ta.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/ta.po new file mode 100644 index 0000000000000000000000000000000000000000..6ba726240b37f8991f8611c03ba73dc17f0ad137 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/ta.po @@ -0,0 +1,55 @@ +# Tamil messages for GNU gettext. +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# List of contributors follow: +# Poorajith , 2018. +# Arun Isaac , 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome3 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-19 00:06+0100\n" +"Last-Translator: Arun Isaac \n" +"Language-Team: Tamil \n" +"Language: ta\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:69 +#, fuzzy +msgid "Hello world!" +msgstr "வணக்கம், உலகு!" + +#: hello.cc:71 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "இந்நிரல் செயலாக்க எண் %d ஆக இயங்கிக்கொண்டிருக்கிறது." + +#: hello.cc:75 +#, fuzzy +msgid "This is another text" +msgstr "இது மற்றொரு உரை\"" + +#: hello.cc:77 +#, fuzzy +msgid "This is yet another text" +msgstr "இது மேலும் ஒரு உரை" + +#: hello.desktop.in.in:3 +msgid "Hello" +msgstr "வணக்கம்" + +#: hello.desktop.in.in:4 +msgid "Hello, world!" +msgstr "வணக்கம், உலகு!" + +#: hello.ui:6 +msgid "Example Application" +msgstr "எடுத்துக்காட்டு நிரல்" + +#: hello.ui:34 +msgid "Update text" +msgstr "உரையை மாற்று" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/tr.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/tr.po new file mode 100644 index 0000000000000000000000000000000000000000..69ad11b9f63fb75145327f7055e03313c0826c3d --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/tr.po @@ -0,0 +1,56 @@ +# Turkish translation for hello-c++-gnome3. +# This file is distributed under the same license as the gettext package. +# Copyright (C) 2017 Yoyodyne, Inc. (msgids) +# Copyright (C) 2004 Free Software Foundation, Inc. +# Nilgün Belma Bugüner , 2003,2004 +# Mehmet Kececi , 2017, 2019, 2020. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome3 0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2020-04-17 13:10+0300\n" +"Last-Translator: Mehmet Kececi \n" +"Language-Team: Turkish \n" +"Language: tr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Poedit 2.3\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:69 +#, fuzzy +msgid "Hello world!" +msgstr "Merhaba, dünya!" + +#: hello.cc:71 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "Bu yazılım %d işlem numarası ile çalışıyor." + +#: hello.cc:75 +#, fuzzy +msgid "This is another text" +msgstr "Bu diğer metindir" + +#: hello.cc:77 +#, fuzzy +msgid "This is yet another text" +msgstr "Bu henüz başka bir metindir" + +#: hello.desktop.in.in:3 +msgid "Hello" +msgstr "Merhaba" + +#: hello.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Merhaba, dünya!" + +#: hello.ui:6 +msgid "Example Application" +msgstr "Örnek Uygulama" + +#: hello.ui:34 +msgid "Update text" +msgstr "Metni güncelleştir" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/uk.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/uk.po new file mode 100644 index 0000000000000000000000000000000000000000..4bb3e4902188788c66589833b1648d50db7ab521 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/uk.po @@ -0,0 +1,54 @@ +# Ukrainian translation to hello-c++-gnome3 +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Maxim V. Dziumanenko , 2004-2007. +# Yuri Chornoivan , 2014, 2015, 2023, 2025. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome3 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 13:56+0300\n" +"Last-Translator: Yuri Chornoivan \n" +"Language-Team: Ukrainian \n" +"Language: uk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Generator: Lokalize 23.04.3\n" + +#: hello.cc:69 +msgid "Hello world!" +msgstr "Привіт, світе!" + +#: hello.cc:71 +#, c-format +msgid "This program is running as process number %s." +msgstr "Ця програма виконується як процес з номером %s." + +#: hello.cc:75 +msgid "This is another text" +msgstr "Інший фрагмент тексту" + +#: hello.cc:77 +msgid "This is yet another text" +msgstr "Ще якийсь фрагмент тексту" + +#: hello.desktop.in.in:3 +msgid "Hello" +msgstr "Привіт" + +#: hello.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Привіт, світе!" + +#: hello.ui:6 +msgid "Example Application" +msgstr "Програма-приклад" + +#: hello.ui:34 +msgid "Update text" +msgstr "Оновити текст" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/vi.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/vi.po new file mode 100644 index 0000000000000000000000000000000000000000..e027eed2bc1217fe1c06f315b9e57209d5deffbe --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/vi.po @@ -0,0 +1,57 @@ +# Vietnamese Translation for Gettext Examples. +# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext. +# Copyright © 2015 Yoyodyne, Inc. (msgids) +# Copyright © 2015 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Clytie Siddall , 2005-2010. +# Trần Ngọc Quân , 2012-2015, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome3 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-24 09:10+0700\n" +"Last-Translator: Trần Ngọc Quân \n" +"Language-Team: Vietnamese \n" +"Language: vi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: hello.cc:69 +#, fuzzy +msgid "Hello world!" +msgstr "Chào thế giới!" + +#: hello.cc:71 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "Chương trình này đang chạy với mã số tiến trình %d." + +#: hello.cc:75 +#, fuzzy +msgid "This is another text" +msgstr "Đây là văn bản khác" + +#: hello.cc:77 +#, fuzzy +msgid "This is yet another text" +msgstr "Đây là văn bản khác nữa" + +#: hello.desktop.in.in:3 +msgid "Hello" +msgstr "Chào" + +#: hello.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Chào thế giới!" + +#: hello.ui:6 +msgid "Example Application" +msgstr "Ứng dụng mẫu" + +#: hello.ui:34 +msgid "Update text" +msgstr "Cập nhật văn bản" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/zh_CN.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/zh_CN.po new file mode 100644 index 0000000000000000000000000000000000000000..a61685468f38a4863749b8135f3a659f7a84db55 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/zh_CN.po @@ -0,0 +1,53 @@ +# zh_CN translation for hello-c++-gnome3. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Funda Wang , 2003. +# Ji ZhengYu , 2015. +# Boyuan Yang <073plan@gmail.com>, 2019, 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome3 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-29 15:56-0400\n" +"Last-Translator: Boyuan Yang <073plan@gmail.com>\n" +"Language-Team: Chinese (simplified) \n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.6\n" + +#: hello.cc:69 +msgid "Hello world!" +msgstr "你好世界!" + +#: hello.cc:71 +#, c-format +msgid "This program is running as process number %s." +msgstr "此程序正以进程号 %s 运行。" + +#: hello.cc:75 +msgid "This is another text" +msgstr "这是另一段文本" + +#: hello.cc:77 +msgid "This is yet another text" +msgstr "这还是另一段文本" + +#: hello.desktop.in.in:3 +msgid "Hello" +msgstr "你好" + +#: hello.desktop.in.in:4 +msgid "Hello, world!" +msgstr "你好,世界!" + +#: hello.ui:6 +msgid "Example Application" +msgstr "示例应用" + +#: hello.ui:34 +msgid "Update text" +msgstr "更新文本" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/zh_HK.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/zh_HK.po new file mode 100644 index 0000000000000000000000000000000000000000..f463ee3cd4ef439c565656f6f62da3b0b7539a22 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/zh_HK.po @@ -0,0 +1,50 @@ +# Chinese (Hong Kong) translation of hello-c++-gnome3. +# Copyright (C) 2006 Yoyodyne, Inc. +# Abel Cheung , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome3 0.15-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2006-07-05 15:40+0800\n" +"Last-Translator: Abel Cheung \n" +"Language-Team: Chinese (Hong Kong) \n" +"Language: zh_HK\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:69 +#, fuzzy +msgid "Hello world!" +msgstr "你好!" + +#: hello.cc:71 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "本程式正在執行中,進程編號為 %d。" + +#: hello.cc:75 +msgid "This is another text" +msgstr "" + +#: hello.cc:77 +msgid "This is yet another text" +msgstr "" + +#: hello.desktop.in.in:3 +msgid "Hello" +msgstr "" + +#: hello.desktop.in.in:4 +msgid "Hello, world!" +msgstr "你好!" + +#: hello.ui:6 +msgid "Example Application" +msgstr "" + +#: hello.ui:34 +msgid "Update text" +msgstr "" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/zh_TW.po b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/zh_TW.po new file mode 100644 index 0000000000000000000000000000000000000000..c81ec456b2e6c7948b663973feb89fe9ebe6897e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-gnome3/po/zh_TW.po @@ -0,0 +1,56 @@ +# Traditional Chinese translation of hello-c++-gnome3. +# Copyright (C) 2009 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Abel Cheung , 2005. +# Wei-Lun Chao , 2013, 2015. +# Yi-Jyun Pan , 2024. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-gnome3 0.23-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-11-30 14:14+0800\n" +"Last-Translator: Yi-Jyun Pan \n" +"Language-Team: Chinese (traditional) \n" +"Language: zh_TW\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cc:69 +#, fuzzy +msgid "Hello world!" +msgstr "哈囉,大家好!" + +#: hello.cc:71 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "本程式正在執行,行程編號為 %d。" + +#: hello.cc:75 +#, fuzzy +msgid "This is another text" +msgstr "這是另一段文字" + +#: hello.cc:77 +#, fuzzy +msgid "This is yet another text" +msgstr "這又是另一段文字" + +#: hello.desktop.in.in:3 +msgid "Hello" +msgstr "哈囉" + +#: hello.desktop.in.in:4 +msgid "Hello, world!" +msgstr "哈囉,大家好!" + +#: hello.ui:6 +msgid "Example Application" +msgstr "應用軟體範例" + +#: hello.ui:34 +msgid "Update text" +msgstr "更新文字" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/BUGS b/miniconda3/share/doc/gettext/examples/hello-c++-kde/BUGS new file mode 100644 index 0000000000000000000000000000000000000000..51e11724d3bc4d5c3f52bd31b09438150c86aac3 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/BUGS @@ -0,0 +1,4 @@ +The language used by the program is not the one set by the environment variables +LANG, LC_MESSAGES, LC_ALL, but rather a setting set in the KDE control center. +The latter may be overridden through the KDE_LANG environment variable, whose +value should be a locale name. diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/INSTALL b/miniconda3/share/doc/gettext/examples/hello-c++-kde/INSTALL new file mode 100644 index 0000000000000000000000000000000000000000..adba43a28693382d002fc8ab198e65c1f848940e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/INSTALL @@ -0,0 +1,13 @@ +This example relies on: + - KDE (libkdeui, libkdecore) and its dependencies + - Qt (libqt) and its dependencies: OpenGL (libGL), libpng, zlib (libz) + - the C++ runtime libraries (libstdc++) + +Installation: + ./autogen.sh + ./configure --prefix=/some/prefix + make + make install +Cleanup: + make distclean + ./autoclean.sh diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/Makefile.am b/miniconda3/share/doc/gettext/examples/hello-c++-kde/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..12880b38eb1d18352cf6655cd6a6e29422939e4e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/Makefile.am @@ -0,0 +1,56 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Makefile configuration - processed by automake. + +# General automake options. +AUTOMAKE_OPTIONS = foreign no-dependencies +ACLOCAL_AMFLAGS = -I m4 + +# The list of subdirectories containing Makefiles. +SUBDIRS = m4 po + +# The list of programs that are built. +bin_PROGRAMS = hello + +# The source files of the 'hello' program. +hello_SOURCES = hello.cc hellowindow.cc + +# Use 'moc' for QObject subclasses. +METASOURCES = AUTO + +# Define a C macro LOCALEDIR indicating where catalogs will be installed. +DEFS = -DPREFIX=\"$(prefix)\" @DEFS@ + +# Make sure the KDE, Qt, X include file is found. +AM_CPPFLAGS = $(KDE_INCLUDES) $(QT_INCLUDES) $(X_INCLUDES) + +# CXXFLAGS += $(QT_CXXFLAGS) $(PTHREAD_CFLAGS) + +# Link time dependencies. +LDADD = $(KDE_LDFLAGS) $(QT_LDFLAGS) +LIBS += $(LIB_KDEUI) $(LIB_KDECORE) $(LIB_QT) + +# Generic KDE build mechanism. + +$(top_srcdir)/configure.in: configure.in.in $(top_srcdir)/subdirs + cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.in ; + +$(top_srcdir)/subdirs: + cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common subdirs + +$(top_srcdir)/acinclude.m4: $(top_srcdir)/admin/acinclude.m4.in $(top_srcdir)/admin/libtool.m4.in + @cd $(top_srcdir) && cat admin/acinclude.m4.in admin/libtool.m4.in > acinclude.m4 + +MAINTAINERCLEANFILES = subdirs configure.in acinclude.m4 configure.files + +package-messages: + $(MAKE) -f admin/Makefile.common package-messages + $(MAKE) -C po merge + +dist-hook: + cd $(top_distdir) && perl admin/am_edit -padmin + cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs + +# Additional files to be distributed. +EXTRA_DIST = admin/config.rpath autogen.sh autoclean.sh diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/ChangeLog b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/ChangeLog new file mode 100644 index 0000000000000000000000000000000000000000..2599e4385e8b4670b00c0fadf077ba3b0176d219 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/ChangeLog @@ -0,0 +1,761 @@ +2002-10-03 Stephan Kulow + + * made config.h.bot obsolete + +2002-04-26 Stephan Kulow + + * acinclude.m4.in removed bogus message + +2001-11-07 Walter Tasin + + * now #MIN_CONFIG tag takes parameters for KDE_USE_QT, too. + e.g. #MIN_CONFIG(2.2) for qt 2.2 usage + +2000-11-30 David Faure + + * acinclude.m4.in: Added kde_moduledir which points to $prefix/lib/kde2/ + +2000-07-24 Alex Zepeda + + * acinclude.m4.in: Remove the test for malloc.h + +2000-04-05 Michael Matz + + * config.pl : added kludge for compiling regexp's even if + perl < 5.005 is installed + * conf.change.pl : added support for autoconf 2.14.1 + +2000-03-27 David Faure + + * acinclude.m4.in, Makefile.common: changed inst-apps semantics + If present, only the subdirs it lists will be configured and compiled. + If absent, then subdirs is used (and inst-apps isn't generated anymore) + +2000-03-22 David Faure + + * am_edit: Added support for KDE_ICON = AUTO + +2000-03-18 David Faure + + * Makefile.common: Rewrote the list-of-Makefiles generation to make it + simpler and nicer, using create_makefiles' way of doing it. + Added support for COMPILE_LAST and COMPILE_FIRST in toplevel Makefile.am + +2000-01-05 David Faure + + * Makefile.common: hacked around autoconf bug (setting INSTALL to ".." + when calling a subconfigure and INSTALL is already set). + +1999-12-15 Waldo Bastian + + * acinclude.m4.in: Test whether Qt compiles AND LINKS without flags. + +1999-06-24 Stephan Kulow + + * am_edit: generate correct Makefile entries for kde-i18n toplevel directories + * am_edit: + +1999-06-14 Stephan Kulow + + * am_edit: remove idl generated files on make clean + +1999-06-09 Stephan Kulow + + * am_edit: skipping programs with variables in sources for final + +1999-06-07 Stephan Kulow + + * am_edit: added support for idl files + +1999-06-02 Stephan Kulow + + * Makefile.common: preserve comments in .pot files to make it + possible for programmers and translators to comment them + +1999-06-02 Simon Hausmann + + * acinclude.m4.in: added kde_servicetypesdir + +1999-06-02 David Faure + + * acinclude.m4.in: removed LIB_KFM and LIB_KDEUTIL aliases + +1999-05-28 Simon Hausmann + + * acinclude.m4.in: added kde_servicesdir + +1999-05-27 Stephan Kulow + + * am_edit: lots of changes for better support of --enable-final + +1999-05-22 Stephan Kulow + + * acinclude.m4.in: added support for --with-dmalloc + +1999-05-19 Stephan Kulow + + * acinclude.m4.in: added support for --enable-final + + * am_edit: added support for --enable-final + +1999-05-06 Stephan Kulow + + * acinclude.m4.in: change the meaning of --disable-debug + +1999-05-04 Helge Deller + + * acinclude.m4.in: the test for the X-includes/directories failed, + when compile & link work without special directories (as on HP-UX). + +1999-04-20 Stephan Kulow + + * am_edit: adding DESTDIR replacement for rm and uninstall-local + too. Seems very useless, but makes testing for uninstall easier + +1999-04-01 David Faure + + * acinclude.m4.in: Added -lkfile to $(LIB_KIO) + +1999-03-30 David Faure + + * acinclude.m4.in: Added AC_CHECK_KDEMAXPATHLEN, which defines KDEMAXPATHLEN. + +1999-03-29 David Faure + + * acinclude.m4.in: added LIB_X11 to XPMLIB and GLLIB, because + on SCO, they need it _after_ themselves. + +1999-03-28 David Faure + + * acinclude.m4.in: added LIB_KFM to LIB_KAB alias + +1999-03-26 David Faure + + * acinclude.m4.in: made LIB_KFILE use LIB_KIO instead of LIB_KFM + added LIB_KFORMULA + +1999-03-20 Stephan Kulow + + * acinclude.m4.in: check for libXext - for Russel :) + +1999-03-16 Stephan Kulow + + * acinclud3.m4.in: extend the MICO test with a list of possible + places where to find CORBA.h + +1999-03-15 Stephan Kulow + + * acinclude.m4.in: move $QTINC and $QTLIB in search path + +1999-03-14 Stephan Kulow + + * am_edit: install-root is obsolute. Use DESTDIR always + +1999-03-03 Stephan Kulow + + * acinclude.m4.in: fixing a bug, that $QTDIR was taken before --with-qt* + * acinclude.m4.in: added KDE_USE_QT, that you can choose if to + use QT 2.0 or KDE 1.0 + + * Makefile.common: added target package-merge + + * am_edit: many fixes to the POFILES handeling of am_edit + +1999-03-02 Stephan Kulow + + * acinclude.m4.in: first look at libjpeg6b (from kdesupport) then + for libjpeg + + * config.*, libtool.*: update to the latest FSF tools + +1999-02-23 Stephan Kulow + + * acinclude.m4.in: error when Sparc CC is used. Better use it in + configure and tell him the story then letting him find it while + compiling + + * acinclude.m4.in: adding KDE_CHECK_EXTRA_LIBS to all possible tests, + so that --with-extra-includes is used when needed. + + * acinclude.m4.in: configure looks for giflib30, so it should say so + + * acinclude.m4.in: don't overwrite x include parameters. Patch by + Ari Lemmke (bug report 741) + +1999-02-20 Stephan Kulow + + * acinclude.m4.in: fixing KDE_CHECK_PATHS for rechecking. In case + of defaults (kdelibs) configure didn't cache the results + +1999-02-18 David Faure + + * acinclude.m4.in: added AC_CHECK_S_ISSOCK, to fix #706. + +1999-02-17 David Faure + + * acinclude.m4.in: added AC_CHECK_RANDOM, just like + AC_CHECK_USLEEP, to enable the fake if necessary. + +1999-02-13 Kurt Granroth + + * acinclude.m4.in: look for QT-2.0 + +1999-02-05 Stephan Kulow + + * acinclude.m4.in: in macro KDE_FIND_PATH treat user given dirs + and $PATH dirs the same. Added seperate test for to find binary + ($5) to replace findperl + +1999-01-28 Stephan Kulow + + * automoc: added patch by jbb to be a little bit more precise about + the number of sourcefiles that include the moc file if it's != 1. + Besides that automoc will fail with exit code, so the Makefile.cvs + process does stop in case a problem accoured. + + * automoc: don't hardcode header suffix, but allow *.h, *.hh and *.H + +1999-01-27 Stephan Kulow + + * acinclude.m4.in: try qobjcoll.h and qapplication.h before saying + OK to qt headers. (I could kill SuSE for splitting into qt-dev + and qt-compat) + +1991-01-23 Stephan Kulow + + * automoc: added fixes by JB + +1999-01-21 Stephan Kulow + + * automoc: added --help and --path (for use in dist-hook) + +1999-01-20 Alex Zepeda + + * ltconfig: added entries for FreeBSD 4.x + +1999-01-19 Stephan Kulow + + * automoc: added a distclean-metasources target which deletes all + moc files and let distclean depend on it + +1999-01-18 Stephan Kulow + + * automoc: several fixes (ignore comment lines + join lines + with \ ) + + * automoc: support META_INCLUDES in case the header files are + not in the same dir as the sources. + +1999-01-17 Stephan Kulow + + * automoc: several fixes. + +1999-01-16 Stephan Kulow + + * automoc: added support for included MOC files. + + * acinclude.m4.in: use srcdir for the subdirs stuff as well + + * automoc: added better command line parsing and some preparation + for handling "normal" moc files + + * acinclude.m4.in: added aliases for libkio and libkdeutil + +1999-01-15 Harri Porten + + * automoc: Carved in stone syntax for Makefile.in: + {program}_METASOURCES = USE_AUTOMOC [{suffix}] + +1999-01-15 Stephan Kulow + + * Makefile.common: set top_srcdir to . + +1999-01-14 Stephan Kulow + + * acinclude.m4.in: don't use config.h.bot any longer + +1999-01-08 Stephan Kulow + + * acinclude.m4.in: added KDE_CHECK_NEWLIBS + + * acinclude.m4.in: test for Qt even if both --with-qt-headers and + --with-qt-libraries are given. They may be wrong. + +1999-01-06 Stephan Kulow + + * acinclude.m4.in: change the MOC test so it can be used for other + tools as well + +1998-12-28 Stephan Kulow + + * acinclude.m4.in: look for QT-1.42 since kpanel needs it + +1998-12-27 Stephan Kulow + + * acinclude.m4.in: added /usr/lib for libpython test + + * acinclude.m4.in: take my email address out of it and added a + reference to www.kde.org/faq + + * acinclude.m4.in: use Qt >= 1.4 + + * acinclude.m4.in: added KDE_CHECK_NAMESPACES + +1998-12-18 Stephan Kulow + + * acinclude.m4.in: test for directories to exist before saying yes + to compilation :) + +1998-12-14 Stephan Kulow + + * acinclude.m4.in: added CPLUSPLUS for the kimgio test. It's + only important for shaman right now, but at least there it is :) + +1998-12-12 Stephan Kulow + + * Makefile.cvs: added common Makefile.cvs + + * acinclude.m4.in: Thomas.Schwarz@pro-sieben.de reported a very ugly + bug in AC_PROG_CXXCPP, so I added my own version + + * acinclude.m4.in: added KDE_CREATE_SUBDIRS_LIST to simplify + most toplevel configures + +1998-12-11 Stephan Kulow + + * acinclude.m4.in: added call to AC_PROG_CXXCPP. Not really sure why + it never caused problems + + * acinclude.m4.in: moved LIBTIFF alias + + * acinclude.m4.in: only test for the existance of libkimgio if the + user wants to. For 99% of the applications it doesn't matter if + configure can find libkimgio :) + +1998-12-10 Stephan Kulow + + * acinclude.m4.in: some changes to the python check to handle $LIBDL + +1998-12-09 Stephan Kulow + + * acinclude.m4.in: make Alex's tiff test a real one + + * acinclude.m4.in: fix the LIB_TIFF alias to really expand + +1998-12-08 Alex Zepeda + + * acinclude.m4.in: Fix tiff test to use libtiff34 if it exists. + This is what the FreeBSD port installs to for whatever reason. + + * acinclude.m4.in: s/kde/KDE/ (at least in some of the + descriptions, obviously no variable names were touched. + +1998-12-08 Stephan Kulow + + * acinclude.m4.in: moved the LIB_QT alias to the Qt check + + * acinclude.m4.in: unset KDEDIR before running conftest + + * acinclude.m4.in: fixed mean typo + + * acinclude.m4.in: added the copyright header for the gettext + tests, so that people know we're legal ;) + + * acinclude.m4.in: set language to C++ before testing QIMGIO + +1998-12-07 Alex Zepeda + + * acinclude.m4.in: Fix PNG test to use correct ANSI C code, and + not trip up gcc. + +1998-12-07 Stephan Kulow + + * acinclude.m4.in: don't hardcode -ldl + + * acinclude.m4.in: move the LIB_X11 alias to the X test to make it + useful for kdesupport as well + + * acinclude.m4.in: give the word CHECK_KIMGIO a meaning in really + checking for it + + * acinclude.m4.in: simple fix to prevent kimgio test from compiling + KDE application in kdelibs + +1998-12-05 Stephan Kulow + + * acinclude.m4.in: let KDE_CHECK_KIMGIO depend on AC_PATH_KDE, + otherwise most tests fail. It didn't mean anything to 90% of the + packages since they test for KDE before kimgio, but for shaman + it does + + * ltconfig: the real fix for the Solaris && gcc problem. + Thanks Kurt for reporting it and Alexandre for fixing it :) + +1998-12-04 Stephan Kulow + + * libtool.*: update again + + * acinclude.m4.in: changed the function to test for libnsl to + inet_ntoa since UnixWare 7's version did not have gethostbyname, + but needs libnsl + +1998-12-02 Stephan Kulow + + * acinclude.m4.in: fixed the MOC test (again) to use the PATH variable + correctly (with the correct seperator) + + * config.guess: update from the soon to be released autoconf-2.13 + +1998-12-01 Stephan Kulow + + * acinclude.m4.in: fixes for the MOC test. Use PATH now when found + +1998-11-30 Stephan Kulow + + * acinclude.m4.in: extended the MOC test. It checks now for the + first line of the output of "moc --help" and looks for Qt in it. + +1998-11-27 Stephan Kulow + + * ltconfig: another libtool update. Fixes an ugly bug on Solaris, + when GNU ld is in path before Solaris ld, but gcc uses the later + +1998-11-26 Stephan Kulow + + * acinclude.m4.in: made the Qt test more advance to check for qt + 1.41 - I still need to make it better, but there shouldn't be too + many qt releases in a row, would there? ;) + + * ltconfig: libtool update with better BSD/OS support + +1998-11-22 Stephan Kulow + + * ltconfig: cool - libtool uses g++ now to link libraries on Solaris. + This means, static objects become usuable on that plattforms (some + others as well). + +1998-11-20 Stephan Kulow + + * ltmain.sh: updated libtool from their CVS - fixes bugs we haven't + found and adds some more features, that we do not need ;-) + +1998-11-19 David Faure + + * acinclude.m4.in: added AC_CHECK_UTMP_FILE, taken from kdebase + +1998-11-16 Harri Porten + + * automoc: take care of "ar" object files, too. + +1998-11-16 Stephan Kulow + + * libtool.m4.in: revised my --silent patch. The solution + Alexandre suggested is much better. + +1998-11-15 Stephan Kulow + + * ltconfig.in: done some tweakings to support -export-dynamic + with egcs + + * config.sub: wow - BeOS support :) + +1998-11-14 Stephan Kulow + + * acinclude.m4.in: don't use rpath for test program, if rpath is + disabled for applications + + * ltconfig: patched libtool to make it silent without making + ltconfig silent + + * acinclude.m4.in: make libtool silent again + + * libtool.m4.in: update to libtool-981114 (untested stuff, but + we have to test it to make it tested - sounds that logical? :-) + + * libtool.m4.in: moved the self stricked libtool tests to "our" + file. + + * acinclude.m4.in: moved ChangeLog of kdebase which I used to + maintain acinclude.m4.in logs to kde-common/admin. Hopefully I + will maintain it more often from now on :) + +1998-07-27 Stephan Kulow + + * acinclude.m4.in: fixed some things in the MOC test + + * acinclude.m4.in: fixed this damn msgfmt test + +1998-06-02 Stephan Kulow + + * acinclude.m4.in: ignore msgfmt, if not GNU gettext + +1998-05-28 Stephan Kulow + + * acinclude.m4.in: fixed KDE_CHECK_STL. Checks for HP and SGI type + + * acinclude.m4.in: embraced every variable with "" to make + it consistent + + * acinclude.m4.in: various fixes for the koffice checks + (mico, ministl and python) + +1998-05-16 Stephan Kulow + + * acinclude.m4.in: don't use KDE_CHECK_QT_DIRECT, when + --with-qt-libs are given + +1998-04-21 Stephan Kulow + + * acinclude.m4.in: cool, I found the trick to suppress the ls + errors + +1998-04-20 Stephan Kulow + + * acinclude.m4.in: rewrote the qt checking test, since it + didn't work under FreeBSD, since it relied on the .so link. + The new version is a little bit buggy, but I need some testing + to make it perfect + + * acinclude.m4.in: fixed the side effects of the PAM test + +1998-04-18 Stephan Kulow + + * acinclude.m4.in: hopefully fixed the PAM test (I rewrote it) + +1998-04-16 Stephan Kulow + + * acinclude.m4.in: extended the getsockname test inspired + by a patch by Martin Baulig + + * configure.in: added test for utmp file + + * acinclude.m4.in: made --without-pam default + + +1998-04-06 Stephan Kulow + + * acinclude.m4.in: don't test compiling, linking, running in + one step. This proved to be too dangerous for my mail box. + +1998-03-21 Stephan Kulow + + * libtool.m4.in: created some new macros to work around this + ugly (because long) help of configure --enable-shared/static + +1998-03-05 Stephan Kulow + + * acinclude.m4.in: set language to C++ before trying the ksize_t + test + + * configure.in: sorted the Makefile entries alphabeticly (and all + together: we love xemacs! we love xemacs! ;) + + * configure.in: added sk + + * acinclude.m4.in: substitute x_libraries to fix the empty -rpath + +1998-03-03 Stephan Kulow + + * acinclude.m4.in: add a rpath for every shared library, that is + linked too (especially X11 libraries) + +Tue Feb 24 22:04:59 1998 Stephan Kulow + + * acinclude.m4.in: added kde_sounddir and set kde_minidir to + kde_icondir/mini to break not too much + +Sun Feb 15 18:25:50 1998 Stephan Kulow + + * configure.in: added bugfix by Bob Miller + (correct reset of IFS) + +Wed Feb 11 00:53:11 1998 Stephan Kulow + + * configure.in: made shadow under Linux default, since the + binaries will work also under non-shadow systems. The only problem + left is PAM, so I disabled shadow in case, PAM is present + +Tue Feb 10 16:46:32 1998 Stephan Kulow + + * configure.in: added test for nice to find out, if the option + -nice works for the screensavers + + * acinclude.m4.in: port to LynxOS. For this I moved all library + search routines in KDE_MISC_TESTS, so I don't need to write this + in every package + + * README: some grammar fixes + + * acinclude.m4.in: search for the libs in the exec_prefix, when + it's present + +Sun Feb 8 14:07:23 1998 Stephan Kulow + + * acinclude.m4.in: updated all packages + + * libtool.m4.in: applied patch for libtool.m4.in to show the + correct default for shared and static + + +Sat Feb 7 10:56:00 1998 Stephan Kulow + + * configure.in: good news - KDE is relocatable again. + + * libtool.m4.in: updated to latest libtool 1.0i + +Fri Feb 6 21:26:51 1998 Stephan Kulow + + * acinclude.m4.in: added a AC_PROVIDE for AC_PROG_CC and + AC_PROG_CPP to KDE_CHECK_COMPILERS + +Thu Feb 5 16:27:47 1998 Stephan Kulow + + * acinclude.m4.in: put $QTDIR/bin before /usr/bin in the path to + look for moc. I don't know why, but I got a report, that configure + found /usr/bin/moc under Solaris + +Fri Jan 30 15:47:50 1998 Stephan Kulow + + * acinclude.m4.in: export LIBRARY_PATH after reset to the saved + value + + * acinclude.m4.in: unset the LIBRARY_PATH to get a relieable + result when trying to find, if Qt compiles without -L + +Sat Jan 24 00:45:52 1998 Stephan Kulow + + * acinclude.m4.in: fixed another bug in AC_PATH_KDE + +Thu Jan 22 14:46:15 1998 Stephan Kulow + + * configure.in: fixed an ugly bug in AC_BASE_PATH_KDE + + * kappfinder/kappfinder.in: let kappfinder create by configure to + allow the use of the kde_ paths + +Wed Jan 21 22:19:35 1998 Stephan Kulow + + * acinclude.m4.in: - added a install_root prefix to all paths, if + set, to enable package managers to move the whole installation at once + - added --with-install-root to set the install_root prefix + +Tue Jan 20 22:41:04 1998 Stephan Kulow + + * configure.in: added NOOPT_CXXFLAGS to allow kioslave to be + compiled without -O2 + +Mon Jan 19 21:55:21 1998 Stephan Kulow + + * configure.in: some little fixes for the Makefiles + + * acinclude.m4.in: --prefix will no longer override the search for + libraries. If they are present somewhere, they are used (through + the methodes in KApplication) + +Mon Jan 12 00:30:36 1998 Stephan Kulow + + * acinclude.m4.in fixed an ugly bug, that accoured, when + qt_libraries is not set (empty/equals X11/not necessary) + + * acinclude.m4.in moved the remove of the files after the error + detection + + +Sun Jan 11 17:27:53 1998 Stephan Kulow + + * acinclude.m4.in added a new macro KDE_CHECK_QT_DIRECT to unset + the Qt library path, if a Qt program compiles without them + + * acinclude.m4.in added a return value in the CREATE_KFSSTND + macro. Perhaps this has caused the problems + +Sat Jan 10 17:40:44 1998 Stephan Kulow + + * ChangeLog started to maintain a ChangeLog file again + * acinclude.m4.in the AC_CREATE_KFSSTND to get better debug output + to find the problem + + +Old logs, Stephan Kulow made: + +0.1 : first steps with libkde +0.2 : first release with libkde, khtmlw, kdehelp, acli, kwm, kpanel +0.3 : added kfm and bugfixes +0.4 : updated khtmlw, kdehelp, kwm, changed install in all subdirs +0.5 : support libtool (chooseable shared libs) +0.6 : split libkde in kdecore and kdeui +0.6.1 : Bugfixes +0.7 : added code from Janos Farkas (configure) + : added @{kde,qt}_{includes,libraries}@ +0.7.1: Bugfixes +0.7.2: Bugfixes +0.7.3: added @all_includes@ and @all_libraries@ + replaced all incompatible flags like $(CC) and -DHAVE_UNISTD_H +0.7.4: changed support for libkde (back in it's own) + added kpat + updated kpanel, kwm, kghostview +0.8: removed a bug in kghostview + lifted installation process of several apps + splitt kdebase into kdelibs and kdeapps + updated khtmlw, kfm and kdehelp + added kcalc and kpaint + updated kdisplay + added kscreensaver + added --enable-kscreensaver + added --enable-debug (and @CXXFLAGS@ to all Makefile.ins) + updated kwm to 0.4.7 + added make uninstall to every app + added kvt + added khexdit + added .kdelnk for kmines, kedit, ktetris + put kwm, kfind's .kdelnk in the right directories + replaced --enable-kscreensaver by --disable-kscreensaver + updated kpanel to 0.15 + some bugfixes (thanks Marco) + some bugfixes (thanks Martin) + changed acinclude.m4, because aclocal won't + updated kwm to 0.4.8 (patched it again for Qt-1.2) + updated kvt to 0.13 (patch from Matthias) + patched kvt and kwm + updated kwm to 0.5.0 + updated kvt for 0.14 (again and again :-) + updated kview to 0.10 + updated kfm to 0.6.3 + patched kscreensaver for FreeBSD (thanks Marc) +0.9: updated kdisplay to 0.5.3 + added klogout + patches from Matthias + updated kfm to 0.6.4 + updated kghostview to 0.4 + added QTINC and QTLIB + updated kdehelp to 0.4.11 + patched kfm to support ktoolbar + updated kedit to kedit+ + added kfontmanager 0.2.1 +0.9.1: changed kpaint's make style + bugfixing + updated kmines to 0.6.5 + updated ktetris to 0.2.4 + changed to Makefiles to depend on Makefile.in + changed the Makefiles to let install depend on all + added kjots-0.2.2 + updated kjots-0.2.3 + updated kfm to 0.6.6 + updated kjots-0.2.4 + updated kpaint-0.2 + updated kedit to 0.5 + updated kfontmanager to 0.2.2 + updated kfm to 0.6.7 + updated ktetris to 0.2.5 + updated kjots to 0.2.5 +0.10: added HAVE_SQRTL + added HAVE_CRYPT_H + updated kfind + updated kfm to kfm-0.8.1 + re-introduced automake to kdebase + bugfixes for the configure.in + added XPM, GL and PAM tests to configure + added morph3d to kscreensavers + updated kfind to 0.3.2 + added some patches for SGI +... lost the time to maintain a Changelog ;) diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/Doxyfile.am b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/Doxyfile.am new file mode 100644 index 0000000000000000000000000000000000000000..46978879e84a87820424fdb14166f3075e3df6d6 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/Doxyfile.am @@ -0,0 +1,163 @@ +## generate API documentation with doxygen +apidox-am-yes: + @if test "$(subdir)" != "."; then \ + $(mkinstalldirs) $(top_builddir)/apidocs/$(subdir) ;\ + if test ! -x $(top_builddir)/apidocs/common; then \ + if test -d $(top_srcdir)/doc/common; then \ + common_dir=`cd $(top_srcdir)/doc/common && pwd` ;\ + else \ + common_dir=$(kde_libs_htmldir)/en/common ;\ + fi ;\ + $(LN_S) $$common_dir $(top_builddir)/apidocs/common; \ + fi ;\ + cp $(top_srcdir)/admin/Doxyfile.global Doxyfile; \ + echo "PROJECT_NAME = \"$(subdir) Library\"" >> Doxyfile; \ + echo "PROJECT_NUMBER = \"Version $(VERSION)\"" >> Doxyfile; \ + echo "INPUT = $(srcdir)" >> Doxyfile; \ + echo "IMAGE_PATH = $(top_srcdir)/doc/api" >> Doxyfile ;\ + echo "OUTPUT_DIRECTORY = $(top_builddir)/apidocs" >> Doxyfile; \ + echo "HTML_OUTPUT = $(subdir)/html" >> Doxyfile; \ + echo "LATEX_OUTPUT = $(subdir)/latex" >> Doxyfile; \ + echo "RTF_OUTPUT = $(subdir)/rtf" >> Doxyfile; \ + echo "MAN_OUTPUT = $(subdir)/man" >> Doxyfile; \ + echo "GENERATE_HTML = $(GENERATE_FLAG)" >> Doxyfile ;\ + echo "GENERATE_MAN = $(GENERATE_FLAG)" >> Doxyfile ;\ + echo "GENERATE_LATEX = $(GENERATE_FLAG)" >> Doxyfile ;\ + if test -n "$(DOXYGEN_EXCLUDE)"; then \ + echo "EXCLUDE_PATTERNS += $(DOXYGEN_EXCLUDE)" >> Doxyfile; \ + fi ;\ + echo "TAGFILES = \\" >> Doxyfile; \ + tags='$(DOXYGEN_REFERENCES) qt'; for tag in $$tags; do \ + tagpath= ;\ + path="../../$$tag" ;\ + if test -f $(top_builddir)/apidocs/$$tag/$$tag.tag; then \ + tagpath="$(top_builddir)/apidocs/$$tag/$$tag.tag" ;\ + else \ + tagpath=`ls -1 $(kde_htmldir)/en/*-apidocs/$$tag/$$tag.tag 2> /dev/null` ;\ + if test -n "$$tagpath"; then \ + path=`echo $$tagpath | sed -e "s,.*/\([^/]*-apidocs\)/$$tag/$$tag.tag,../../../\1/$$tag,"` ;\ + fi ;\ + fi ;\ + if test "$$tag" = qt; then \ + echo $$tagpath=$(QTDOCDIR) >> Doxyfile ;\ + else if test -n "$$tagpath"; then \ + echo "$$tagpath=$$path/html \\" >> Doxyfile ;\ + fi ;\ + fi ;\ + done ;\ + echo "GENERATE_TAGFILE = $(top_builddir)/apidocs/$(subdir)/$(subdir).tag" >> Doxyfile ;\ + echo "IGNORE_PREFIX = K" >> Doxyfile ;\ + echo "HAVE_DOT = $(KDE_HAVE_DOT)" >> Doxyfile ;\ + $(DOXYGEN) Doxyfile ;\ + fi + +apidox-am-no: + +install-data-local: install-apidox + +## install API documentation +install-apidox: + @if test "$(subdir)" != "."; then \ + $(mkinstalldirs) $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir)/html ; \ + if test -f $(top_builddir)/apidocs/$(subdir)/$(subdir).tag; then \ + echo $(INSTALL_DATA) $(top_builddir)/apidocs/$(subdir)/$(subdir).tag $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir); \ + $(INSTALL_DATA) $(top_builddir)/apidocs/$(subdir)/$(subdir).tag $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir); \ + fi; \ + if test -d $(top_builddir)/apidocs/$(subdir)/html; then \ + list=`ls $(top_builddir)/apidocs/$(subdir)/html`; \ + for file in $$list; do \ + echo $(INSTALL_DATA) $(top_builddir)/apidocs/$(subdir)/html/$$file $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir)/html; \ + $(INSTALL_DATA) $(top_builddir)/apidocs/$(subdir)/html/$$file $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir)/html; \ + done; \ + fi; \ + rm -f $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/common; \ + $(LN_S) $(kde_libs_htmldir)/en/common $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/common; \ + else\ + if test -d $(top_builddir)/apidocs; then \ + $(mkinstalldirs) $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs ;\ + list=`cd $(top_builddir)/apidocs && ls -1`; \ + for file in $$list; do \ + if test -f $(top_builddir)/apidocs/$$file; then \ + echo $(INSTALL_DATA) $(top_builddir)/apidocs/$$file $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs; \ + $(INSTALL_DATA) $(top_builddir)/apidocs/$$file $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs; \ + fi; \ + done ; fi; \ + fi + +uninstall-local: uninstall-apidox + +## uninstall API documentation +uninstall-apidox: + @if test "$(subdir)" != "."; then \ + if test -d $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir); then \ + rm -rfv $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir); \ + fi\ + else\ + if test -d $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs; then \ + rm -rfv $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs; \ + fi\ + fi + +apidox: + @if test "$(subdir)" != "."; then \ + $(MAKE) apidox-am-@KDE_HAS_DOXYGEN@ ;\ + else \ + $(MAKE) apidox-am-toplevel-@KDE_HAS_DOXYGEN@ ;\ + fi + @set fnord $(MAKEFLAGS); amf=$$2; if test -n '$(SUBDIRS)'; then \ + list='$(SUBDIRS)'; \ + for subdir in $$list; do \ + if grep '^include .*Doxyfile.am' $(srcdir)/$$subdir/Makefile.am; then \ + echo "Making apidox in $$subdir"; \ + if test "$$subdir" != "."; then \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) GENERATE_FLAG=no apidox) || exit 1; \ + fi ; fi ;\ + done; \ + for subdir in $$list; do \ + if grep '^include .*Doxyfile.am' $(srcdir)/$$subdir/Makefile.am; then \ + echo "Making apidox in $$subdir"; \ + if test "$$subdir" != "."; then \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) GENERATE_FLAG=yes apidox) || exit 1; \ + fi ; fi ;\ + done; \ + fi + +apidox-am-toplevel-no: +apidox-am-toplevel-yes: + @echo "*** Creating API documentation main page"; \ + cp $(top_srcdir)/admin/Doxyfile.global Doxyfile; \ + echo "PROJECT_NAME = $(DOXYGEN_PROJECT_NAME)" >> Doxyfile ; \ + echo "PROJECT_NUMBER = $(DOXYGEN_PROJECT_NUMBER)" >> Doxyfile ; \ + echo "INPUT = $(top_srcdir)" >> Doxyfile ; \ + echo "OUTPUT_DIRECTORY = $(top_builddir)/apidocs" >> Doxyfile ; \ + echo "FILE_PATTERNS = *.dox" >> Doxyfile ; \ + echo "RECURSIVE = NO" >> Doxyfile ; \ + echo "SOURCE_BROWSER = NO" >> Doxyfile ; \ + echo "ALPHABETICAL_INDEX = NO" >> Doxyfile ; \ + echo "HTML_OUTPUT = ." >> Doxyfile ; \ + echo "HTML_HEADER = apidocs/common/mainheader.html" >> Doxyfile ; \ + echo "HTML_FOOTER = apidocs/common/mainfooter.html" >> Doxyfile ; \ + echo "HTML_STYLESHEET = apidocs/common/doxygen.css" >> Doxyfile ; \ + echo "GENERATE_LATEX = NO" >> Doxyfile ; \ + echo "GENERATE_RTF = NO" >> Doxyfile ; \ + echo "GENERATE_MAN = NO" >> Doxyfile ; \ + echo "GENERATE_XML = NO" >> Doxyfile ; \ + echo "GENERATE_AUTOGEN_DEF = NO" >> Doxyfile ; \ + echo "ENABLE_PREPROCESSING = NO" >> Doxyfile ; \ + echo "CLASS_DIAGRAMS = NO" >> Doxyfile ; \ + echo "HAVE_DOT = NO" >> Doxyfile ; \ + echo "GENERATE_HTML = YES" >> Doxyfile ;\ + $(mkinstalldirs) $(top_builddir)/apidocs ; \ + rm -f $(top_builddir)/apidocs/common ; \ + if test -d $(top_srcdir)/doc/common; then \ + common_dir=`cd $(top_srcdir)/doc/common && pwd` ;\ + else \ + common_dir=$(kde_libs_htmldir)/en/common ;\ + fi ;\ + $(LN_S) $$common_dir $(top_builddir)/apidocs/common ;\ + doxygen Doxyfile; \ + rm -f Doxyfile + +# Local Variables: +# mode: makefile +# End: diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/Doxyfile.global b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/Doxyfile.global new file mode 100644 index 0000000000000000000000000000000000000000..2ecb694b97653daa07f64d336ffc02e46880a4ff --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/Doxyfile.global @@ -0,0 +1,950 @@ +# Doxyfile 1.2.15 + +# This file describes the settings to be used by the documentation system +# doxygen (www.doxygen.org) for a project +# +# All text after a hash (#) is considered a comment and will be ignored +# The format is: +# TAG = value [value, ...] +# For lists items can also be appended using: +# TAG += value [value, ...] +# Values that contain spaces should be placed between quotes (" ") + +#--------------------------------------------------------------------------- +# General configuration options +#--------------------------------------------------------------------------- + +# The PROJECT_NAME tag is a single word (or a sequence of words surrounded +# by quotes) that should identify the project. + +PROJECT_NAME = + +# The PROJECT_NUMBER tag can be used to enter a project or revision number. +# This could be handy for archiving the generated documentation or +# if some version control system is used. + +PROJECT_NUMBER = "Version 3.0" + +# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) +# base path where the generated documentation will be put. +# If a relative path is entered, it will be relative to the location +# where doxygen was started. If left blank the current directory will be used. + +OUTPUT_DIRECTORY = ../apidocs/ + +# The OUTPUT_LANGUAGE tag is used to specify the language in which all +# documentation generated by doxygen is written. Doxygen will use this +# information to generate all constant output in the proper language. +# The default language is English, other supported languages are: +# Brazilian, Chinese, Croatian, Czech, Danish, Dutch, Finnish, French, +# German, Greek, Hungarian, Italian, Japanese, Korean, Norwegian, Polish, +# Portuguese, Romanian, Russian, Slovak, Slovene, Spanish and Swedish. + +OUTPUT_LANGUAGE = English + +# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in +# documentation are documented, even if no documentation was available. +# Private class members and static file members will be hidden unless +# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES + +EXTRACT_ALL = NO + +# If the EXTRACT_PRIVATE tag is set to YES all private members of a class +# will be included in the documentation. + +EXTRACT_PRIVATE = NO + +# If the EXTRACT_STATIC tag is set to YES all static members of a file +# will be included in the documentation. + +EXTRACT_STATIC = YES + +# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) +# defined locally in source files will be included in the documentation. +# If set to NO only classes defined in header files are included. + +EXTRACT_LOCAL_CLASSES = NO + +# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all +# undocumented members of documented classes, files or namespaces. +# If set to NO (the default) these members will be included in the +# various overviews, but no documentation section is generated. +# This option has no effect if EXTRACT_ALL is enabled. + +HIDE_UNDOC_MEMBERS = NO + +# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all +# undocumented classes that are normally visible in the class hierarchy. +# If set to NO (the default) these class will be included in the various +# overviews. This option has no effect if EXTRACT_ALL is enabled. + +HIDE_UNDOC_CLASSES = YES + +# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will +# include brief member descriptions after the members that are listed in +# the file and class documentation (similar to JavaDoc). +# Set to NO to disable this. + +BRIEF_MEMBER_DESC = YES + +# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend +# the brief description of a member or function before the detailed description. +# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the +# brief descriptions will be completely suppressed. + +REPEAT_BRIEF = YES + +# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then +# Doxygen will generate a detailed section even if there is only a brief +# description. + +ALWAYS_DETAILED_SEC = YES + +# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all inherited +# members of a class in the documentation of that class as if those members were +# ordinary class members. Constructors, destructors and assignment operators of +# the base classes will not be shown. + +INLINE_INHERITED_MEMB = NO + +# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full +# path before files name in the file list and in the header files. If set +# to NO the shortest path that makes the file name unique will be used. + +FULL_PATH_NAMES = NO + +# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag +# can be used to strip a user defined part of the path. Stripping is +# only done if one of the specified strings matches the left-hand part of +# the path. It is allowed to use relative paths in the argument list. + +STRIP_FROM_PATH = + +# The INTERNAL_DOCS tag determines if documentation +# that is typed after a \internal command is included. If the tag is set +# to NO (the default) then the documentation will be excluded. +# Set it to YES to include the internal documentation. + +INTERNAL_DOCS = NO + +# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct +# doxygen to hide any special comment blocks from generated source code +# fragments. Normal C and C++ comments will always remain visible. + +STRIP_CODE_COMMENTS = YES + +# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate +# file names in lower case letters. If set to YES upper case letters are also +# allowed. This is useful if you have classes or files whose names only differ +# in case and if your file system supports case sensitive file names. Windows +# users are adviced to set this option to NO. + +CASE_SENSE_NAMES = YES + +# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter +# (but less readable) file names. This can be useful is your file systems +# doesn't support long names like on DOS, Mac, or CD-ROM. + +SHORT_NAMES = NO + +# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen +# will show members with their full class and namespace scopes in the +# documentation. If set to YES the scope will be hidden. + +HIDE_SCOPE_NAMES = NO + +# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen +# will generate a verbatim copy of the header file for each class for +# which an include is specified. Set to NO to disable this. + +VERBATIM_HEADERS = YES + +# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen +# will put list of the files that are included by a file in the documentation +# of that file. + +SHOW_INCLUDE_FILES = YES + +# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen +# will interpret the first line (until the first dot) of a JavaDoc-style +# comment as the brief description. If set to NO, the JavaDoc +# comments will behave just like the Qt-style comments (thus requiring an +# explict @brief command for a brief description. + +JAVADOC_AUTOBRIEF = YES + +# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented +# member inherits the documentation from any documented member that it +# reimplements. + +INHERIT_DOCS = YES + +# If the INLINE_INFO tag is set to YES (the default) then a tag [inline] +# is inserted in the documentation for inline members. + +INLINE_INFO = YES + +# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen +# will sort the (detailed) documentation of file and class members +# alphabetically by member name. If set to NO the members will appear in +# declaration order. + +SORT_MEMBER_DOCS = NO + +# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC +# tag is set to YES, then doxygen will reuse the documentation of the first +# member in the group (if any) for the other members of the group. By default +# all members of a group must be documented explicitly. + +DISTRIBUTE_GROUP_DOC = NO + +# The TAB_SIZE tag can be used to set the number of spaces in a tab. +# Doxygen uses this value to replace tabs by spaces in code fragments. + +TAB_SIZE = 4 + +# The GENERATE_TODOLIST tag can be used to enable (YES) or +# disable (NO) the todo list. This list is created by putting \todo +# commands in the documentation. + +GENERATE_TODOLIST = NO + +# The GENERATE_TESTLIST tag can be used to enable (YES) or +# disable (NO) the test list. This list is created by putting \test +# commands in the documentation. + +GENERATE_TESTLIST = NO + +# The GENERATE_BUGLIST tag can be used to enable (YES) or +# disable (NO) the bug list. This list is created by putting \bug +# commands in the documentation. + +GENERATE_BUGLIST = YES + +# This tag can be used to specify a number of aliases that acts +# as commands in the documentation. An alias has the form "name=value". +# For example adding "sideeffect=\par Side Effects:\n" will allow you to +# put the command \sideeffect (or @sideeffect) in the documentation, which +# will result in a user defined paragraph with heading "Side Effects:". +# You can put \n's in the value part of an alias to insert newlines. + +ALIASES = libdoc=@mainpage \ + sect=

\ + reimplemented= \ + "deprecated=This class or method is obsolete, it is provided for compatibility only." \ + obsolete=@deprecated + +# The ENABLED_SECTIONS tag can be used to enable conditional +# documentation sections, marked by \if sectionname ... \endif. + +ENABLED_SECTIONS = + +# The MAX_INITIALIZER_LINES tag determines the maximum number of lines +# the initial value of a variable or define consist of for it to appear in +# the documentation. If the initializer consists of more lines than specified +# here it will be hidden. Use a value of 0 to hide initializers completely. +# The appearance of the initializer of individual variables and defines in the +# documentation can be controlled using \showinitializer or \hideinitializer +# command in the documentation regardless of this setting. + +MAX_INITIALIZER_LINES = 30 + +# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources +# only. Doxygen will then generate output that is more tailored for C. +# For instance some of the names that are used will be different. The list +# of all members will be omitted, etc. + +OPTIMIZE_OUTPUT_FOR_C = NO + +# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java sources +# only. Doxygen will then generate output that is more tailored for Java. +# For instance namespaces will be presented as packages, qualified scopes +# will look different, etc. + +OPTIMIZE_OUTPUT_JAVA = NO + +# Set the SHOW_USED_FILES tag to NO to disable the list of files generated +# at the bottom of the documentation of classes and structs. If set to YES the +# list will mention the files that were used to generate the documentation. + +SHOW_USED_FILES = YES + +#--------------------------------------------------------------------------- +# configuration options related to warning and progress messages +#--------------------------------------------------------------------------- + +# The QUIET tag can be used to turn on/off the messages that are generated +# by doxygen. Possible values are YES and NO. If left blank NO is used. + +QUIET = YES + +# The WARNINGS tag can be used to turn on/off the warning messages that are +# generated by doxygen. Possible values are YES and NO. If left blank +# NO is used. + +WARNINGS = YES + +# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings +# for undocumented members. If EXTRACT_ALL is set to YES then this flag will +# automatically be disabled. + +WARN_IF_UNDOCUMENTED = NO + +# The WARN_FORMAT tag determines the format of the warning messages that +# doxygen can produce. The string should contain the $file, $line, and $text +# tags, which will be replaced by the file and line number from which the +# warning originated and the warning text. + +WARN_FORMAT = + +# The WARN_LOGFILE tag can be used to specify a file to which warning +# and error messages should be written. If left blank the output is written +# to stderr. + +WARN_LOGFILE = + +#--------------------------------------------------------------------------- +# configuration options related to the input files +#--------------------------------------------------------------------------- + +# The INPUT tag can be used to specify the files and/or directories that contain +# documented source files. You may enter file names like "myfile.cpp" or +# directories like "/usr/src/myproject". Separate the files or directories +# with spaces. + +INPUT = + +# If the value of the INPUT tag contains directories, you can use the +# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp +# and *.h) to filter out the source-files in the directories. If left +# blank the following patterns are tested: +# *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx *.hpp +# *.h++ *.idl *.odl + +FILE_PATTERNS = *.h \ + *.cpp \ + *.cc \ + *.hpp + +# The RECURSIVE tag can be used to turn specify whether or not subdirectories +# should be searched for input files as well. Possible values are YES and NO. +# If left blank NO is used. + +RECURSIVE = YES + +# The EXCLUDE tag can be used to specify files and/or directories that should +# excluded from the INPUT source files. This way you can easily exclude a +# subdirectory from a directory tree whose root is specified with the INPUT tag. + +EXCLUDE = + +# The EXCLUDE_SYMLINKS tag can be used select whether or not files or directories +# that are symbolic links (a Unix filesystem feature) are excluded from the input. + +EXCLUDE_SYMLINKS = NO + +# If the value of the INPUT tag contains directories, you can use the +# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude +# certain files from those directories. + +EXCLUDE_PATTERNS = *.moc.* \ + moc* \ + *.all_cpp.* \ + *unload.* \ + */test/* \ + */tests/* + +# The EXAMPLE_PATH tag can be used to specify one or more files or +# directories that contain example code fragments that are included (see +# the \include command). + +EXAMPLE_PATH = + +# If the value of the EXAMPLE_PATH tag contains directories, you can use the +# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp +# and *.h) to filter out the source-files in the directories. If left +# blank all files are included. + +EXAMPLE_PATTERNS = + +# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be +# searched for input files to be used with the \include or \dontinclude +# commands irrespective of the value of the RECURSIVE tag. +# Possible values are YES and NO. If left blank NO is used. + +EXAMPLE_RECURSIVE = NO + +# The IMAGE_PATH tag can be used to specify one or more files or +# directories that contain image that are included in the documentation (see +# the \image command). + +IMAGE_PATH = + +# The INPUT_FILTER tag can be used to specify a program that doxygen should +# invoke to filter for each input file. Doxygen will invoke the filter program +# by executing (via popen()) the command , where +# is the value of the INPUT_FILTER tag, and is the name of an +# input file. Doxygen will then use the output that the filter program writes +# to standard output. + +INPUT_FILTER = + +# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using +# INPUT_FILTER) will be used to filter the input files when producing source +# files to browse. + +FILTER_SOURCE_FILES = NO + +#--------------------------------------------------------------------------- +# configuration options related to source browsing +#--------------------------------------------------------------------------- + +# If the SOURCE_BROWSER tag is set to YES then a list of source files will +# be generated. Documented entities will be cross-referenced with these sources. + +SOURCE_BROWSER = YES + +# Setting the INLINE_SOURCES tag to YES will include the body +# of functions and classes directly in the documentation. + +INLINE_SOURCES = NO + +# If the REFERENCED_BY_RELATION tag is set to YES (the default) +# then for each documented function all documented +# functions referencing it will be listed. + +REFERENCED_BY_RELATION = YES + +# If the REFERENCES_RELATION tag is set to YES (the default) +# then for each documented function all documented entities +# called/used by that function will be listed. + +REFERENCES_RELATION = YES + +#--------------------------------------------------------------------------- +# configuration options related to the alphabetical class index +#--------------------------------------------------------------------------- + +# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index +# of all compounds will be generated. Enable this if the project +# contains a lot of classes, structs, unions or interfaces. + +ALPHABETICAL_INDEX = YES + +# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then +# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns +# in which this list will be split (can be a number in the range [1..20]) + +COLS_IN_ALPHA_INDEX = 3 + +# In case all classes in a project start with a common prefix, all +# classes will be put under the same header in the alphabetical index. +# The IGNORE_PREFIX tag can be used to specify one or more prefixes that +# should be ignored while generating the index headers. + +IGNORE_PREFIX = K + +#--------------------------------------------------------------------------- +# configuration options related to the HTML output +#--------------------------------------------------------------------------- + +# If the GENERATE_HTML tag is set to YES (the default) Doxygen will +# generate HTML output. + +GENERATE_HTML = NO + +# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `html' will be used as the default path. + +HTML_OUTPUT = + +# The HTML_FILE_EXTENSION tag can be used to specify the file extension for +# each generated HTML page (for example: .htm,.php,.asp). If it is left blank +# doxygen will generate files with .html extension. + +HTML_FILE_EXTENSION = .html + +# The HTML_HEADER tag can be used to specify a personal HTML header for +# each generated HTML page. If it is left blank doxygen will generate a +# standard header. + +HTML_HEADER = ../apidocs/common/header.html + +# The HTML_FOOTER tag can be used to specify a personal HTML footer for +# each generated HTML page. If it is left blank doxygen will generate a +# standard footer. + +HTML_FOOTER = ../apidocs/common/footer.html + +# The HTML_STYLESHEET tag can be used to specify a user defined cascading +# style sheet that is used by each HTML page. It can be used to +# fine-tune the look of the HTML output. If the tag is left blank doxygen +# will generate a default style sheet + +HTML_STYLESHEET = ../apidocs/common/doxygen.css + +# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes, +# files or namespaces will be aligned in HTML using tables. If set to +# NO a bullet list will be used. + +HTML_ALIGN_MEMBERS = YES + +# If the GENERATE_HTMLHELP tag is set to YES, additional index files +# will be generated that can be used as input for tools like the +# Microsoft HTML help workshop to generate a compressed HTML help file (.chm) +# of the generated HTML documentation. + +GENERATE_HTMLHELP = NO + +# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag +# controls if a separate .chi index file is generated (YES) or that +# it should be included in the master .chm file (NO). + +GENERATE_CHI = NO + +# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag +# controls whether a binary table of contents is generated (YES) or a +# normal table of contents (NO) in the .chm file. + +BINARY_TOC = NO + +# The TOC_EXPAND flag can be set to YES to add extra items for group members +# to the contents of the Html help documentation and to the tree view. + +TOC_EXPAND = NO + +# The DISABLE_INDEX tag can be used to turn on/off the condensed index at +# top of each HTML page. The value NO (the default) enables the index and +# the value YES disables it. + +DISABLE_INDEX = YES + +# This tag can be used to set the number of enum values (range [1..20]) +# that doxygen will group on one line in the generated HTML documentation. + +ENUM_VALUES_PER_LINE = 4 + +# If the GENERATE_TREEVIEW tag is set to YES, a side panel will be +# generated containing a tree-like index structure (just like the one that +# is generated for HTML Help). For this to work a browser that supports +# JavaScript and frames is required (for instance Mozilla, Netscape 4.0+, +# or Internet explorer 4.0+). Note that for large projects the tree generation +# can take a very long time. In such cases it is better to disable this feature. +# Windows users are probably better off using the HTML help feature. + +GENERATE_TREEVIEW = NO + +# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be +# used to set the initial width (in pixels) of the frame in which the tree +# is shown. + +TREEVIEW_WIDTH = 250 + +#--------------------------------------------------------------------------- +# configuration options related to the LaTeX output +#--------------------------------------------------------------------------- + +# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will +# generate Latex output. + +GENERATE_LATEX = NO + +# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `latex' will be used as the default path. + +LATEX_OUTPUT = + +# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be invoked. If left blank `latex' will be used as the default command name. + +LATEX_CMD_NAME = latex + +# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to +# generate index for LaTeX. If left blank `makeindex' will be used as the +# default command name. + +MAKEINDEX_CMD_NAME = makeindex + +# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact +# LaTeX documents. This may be useful for small projects and may help to +# save some trees in general. + +COMPACT_LATEX = NO + +# The PAPER_TYPE tag can be used to set the paper type that is used +# by the printer. Possible values are: a4, a4wide, letter, legal and +# executive. If left blank a4wide will be used. + +PAPER_TYPE = a4wide + +# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX +# packages that should be included in the LaTeX output. + +EXTRA_PACKAGES = + +# The LATEX_HEADER tag can be used to specify a personal LaTeX header for +# the generated latex document. The header should contain everything until +# the first chapter. If it is left blank doxygen will generate a +# standard header. Notice: only use this tag if you know what you are doing! + +LATEX_HEADER = + +# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated +# is prepared for conversion to pdf (using ps2pdf). The pdf file will +# contain links (just like the HTML output) instead of page references +# This makes the output suitable for online browsing using a pdf viewer. + +PDF_HYPERLINKS = NO + +# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of +# plain latex in the generated Makefile. Set this option to YES to get a +# higher quality PDF documentation. + +USE_PDFLATEX = NO + +# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode. +# command to the generated LaTeX files. This will instruct LaTeX to keep +# running if errors occur, instead of asking the user for help. +# This option is also used when generating formulas in HTML. + +LATEX_BATCHMODE = NO + +#--------------------------------------------------------------------------- +# configuration options related to the RTF output +#--------------------------------------------------------------------------- + +# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output +# The RTF output is optimised for Word 97 and may not look very pretty with +# other RTF readers or editors. + +GENERATE_RTF = NO + +# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `rtf' will be used as the default path. + +RTF_OUTPUT = + +# If the COMPACT_RTF tag is set to YES Doxygen generates more compact +# RTF documents. This may be useful for small projects and may help to +# save some trees in general. + +COMPACT_RTF = NO + +# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated +# will contain hyperlink fields. The RTF file will +# contain links (just like the HTML output) instead of page references. +# This makes the output suitable for online browsing using WORD or other +# programs which support those fields. +# Note: wordpad (write) and others do not support links. + +RTF_HYPERLINKS = NO + +# Load stylesheet definitions from file. Syntax is similar to doxygen's +# config file, i.e. a series of assigments. You only have to provide +# replacements, missing definitions are set to their default value. + +RTF_STYLESHEET_FILE = + +# Set optional variables used in the generation of an rtf document. +# Syntax is similar to doxygen's config file. + +RTF_EXTENSIONS_FILE = + +#--------------------------------------------------------------------------- +# configuration options related to the man page output +#--------------------------------------------------------------------------- + +# If the GENERATE_MAN tag is set to YES (the default) Doxygen will +# generate man pages + +GENERATE_MAN = NO + +# The MAN_OUTPUT tag is used to specify where the man pages will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `man' will be used as the default path. + +MAN_OUTPUT = + +# The MAN_EXTENSION tag determines the extension that is added to +# the generated man pages (default is the subroutine's section .3) + +MAN_EXTENSION = .kde3 + +# If the MAN_LINKS tag is set to YES and Doxygen generates man output, +# then it will generate one additional man file for each entity +# documented in the real man page(s). These additional files +# only source the real man page, but without them the man command +# would be unable to find the correct page. The default is NO. + +MAN_LINKS = YES + +#--------------------------------------------------------------------------- +# configuration options related to the XML output +#--------------------------------------------------------------------------- + +# If the GENERATE_XML tag is set to YES Doxygen will +# generate an XML file that captures the structure of +# the code including all documentation. Note that this +# feature is still experimental and incomplete at the +# moment. + +GENERATE_XML = NO + +#--------------------------------------------------------------------------- +# configuration options for the AutoGen Definitions output +#--------------------------------------------------------------------------- + +# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will +# generate an AutoGen Definitions (see autogen.sf.net) file +# that captures the structure of the code including all +# documentation. Note that this feature is still experimental +# and incomplete at the moment. + +GENERATE_AUTOGEN_DEF = NO + +#--------------------------------------------------------------------------- +# Configuration options related to the preprocessor +#--------------------------------------------------------------------------- + +# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will +# evaluate all C-preprocessor directives found in the sources and include +# files. + +ENABLE_PREPROCESSING = YES + +# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro +# names in the source code. If set to NO (the default) only conditional +# compilation will be performed. Macro expansion can be done in a controlled +# way by setting EXPAND_ONLY_PREDEF to YES. + +MACRO_EXPANSION = NO + +# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES +# then the macro expansion is limited to the macros specified with the +# PREDEFINED and EXPAND_AS_PREDEFINED tags. + +EXPAND_ONLY_PREDEF = NO + +# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files +# in the INCLUDE_PATH (see below) will be search if a #include is found. + +SEARCH_INCLUDES = YES + +# The INCLUDE_PATH tag can be used to specify one or more directories that +# contain include files that are not input files but should be processed by +# the preprocessor. + +INCLUDE_PATH = + +# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard +# patterns (like *.h and *.hpp) to filter out the header-files in the +# directories. If left blank, the patterns specified with FILE_PATTERNS will +# be used. + +INCLUDE_FILE_PATTERNS = + +# The PREDEFINED tag can be used to specify one or more macro names that +# are defined before the preprocessor is started (similar to the -D option of +# gcc). The argument of the tag is a list of macros of the form: name +# or name=definition (no spaces). If the definition and the = are +# omitted =1 is assumed. + +PREDEFINED = QT_VERSION=305 + +# If the MACRO_EXPANSION and EXPAND_PREDEF_ONLY tags are set to YES then +# this tag can be used to specify a list of macro names that should be expanded. +# The macro definition that is found in the sources will be used. +# Use the PREDEFINED tag if you want to use a different macro definition. + +EXPAND_AS_DEFINED = + +# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then +# doxygen's preprocessor will remove all function-like macros that are alone +# on a line and do not end with a semicolon. Such function macros are typically +# used for boiler-plate code, and will confuse the parser if not removed. + +SKIP_FUNCTION_MACROS = YES + +#--------------------------------------------------------------------------- +# Configuration::addtions related to external references +#--------------------------------------------------------------------------- + +# The TAGFILES tag can be used to specify one or more tagfiles. + +TAGFILES = + +# When a file name is specified after GENERATE_TAGFILE, doxygen will create +# a tag file that is based on the input files it reads. + +GENERATE_TAGFILE = + +# If the ALLEXTERNALS tag is set to YES all external classes will be listed +# in the class index. If set to NO only the inherited external classes +# will be listed. + +ALLEXTERNALS = NO + +# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed +# in the modules index. If set to NO, only the current project's groups will +# be listed. + +EXTERNAL_GROUPS = NO + +# The PERL_PATH should be the absolute path and name of the perl script +# interpreter (i.e. the result of `which perl'). + +PERL_PATH = + +#--------------------------------------------------------------------------- +# Configuration options related to the dot tool +#--------------------------------------------------------------------------- + +# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will +# generate a inheritance diagram (in Html, RTF and LaTeX) for classes with base or +# super classes. Setting the tag to NO turns the diagrams off. Note that this +# option is superceded by the HAVE_DOT option below. This is only a fallback. It is +# recommended to install and use dot, since it yield more powerful graphs. + +CLASS_DIAGRAMS = YES + +# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is +# available from the path. This tool is part of Graphviz, a graph visualization +# toolkit from AT&T and Lucent Bell Labs. The other options in this section +# have no effect if this option is set to NO (the default) + +HAVE_DOT = NO + +# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for each documented class showing the direct and +# indirect inheritance relations. Setting this tag to YES will force the +# the CLASS_DIAGRAMS tag to NO. + +CLASS_GRAPH = YES + +# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for each documented class showing the direct and +# indirect implementation dependencies (inheritance, containment, and +# class references variables) of the class with other documented classes. + +COLLABORATION_GRAPH = YES + +# If set to YES, the inheritance and collaboration graphs will show the +# relations between templates and their instances. + +TEMPLATE_RELATIONS = YES + +# If set to YES, the inheritance and collaboration graphs will hide +# inheritance and usage relations if the target is undocumented +# or is not a class. + +HIDE_UNDOC_RELATIONS = NO + +# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT +# tags are set to YES then doxygen will generate a graph for each documented +# file showing the direct and indirect include dependencies of the file with +# other documented files. + +INCLUDE_GRAPH = YES + +# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and +# HAVE_DOT tags are set to YES then doxygen will generate a graph for each +# documented header file showing the documented files that directly or +# indirectly include this file. + +INCLUDED_BY_GRAPH = YES + +# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen +# will graphical hierarchy of all classes instead of a textual one. + +GRAPHICAL_HIERARCHY = NO + +# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images +# generated by dot. Possible values are png, jpg, or gif +# If left blank png will be used. + +DOT_IMAGE_FORMAT = png + +# The tag DOT_PATH can be used to specify the path where the dot tool can be +# found. If left blank, it is assumed the dot tool can be found on the path. + +DOT_PATH = + +# The DOTFILE_DIRS tag can be used to specify one or more directories that +# contain dot files that are included in the documentation (see the +# \dotfile command). + +DOTFILE_DIRS = + +# The MAX_DOT_GRAPH_WIDTH tag can be used to set the maximum allowed width +# (in pixels) of the graphs generated by dot. If a graph becomes larger than +# this value, doxygen will try to truncate the graph, so that it fits within +# the specified constraint. Beware that most browsers cannot cope with very +# large images. + +MAX_DOT_GRAPH_WIDTH = 800 + +# The MAX_DOT_GRAPH_HEIGHT tag can be used to set the maximum allows height +# (in pixels) of the graphs generated by dot. If a graph becomes larger than +# this value, doxygen will try to truncate the graph, so that it fits within +# the specified constraint. Beware that most browsers cannot cope with very +# large images. + +MAX_DOT_GRAPH_HEIGHT = 1024 + +# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will +# generate a legend page explaining the meaning of the various boxes and +# arrows in the dot generated graphs. + +GENERATE_LEGEND = YES + +# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will +# remove the intermedate dot files that are used to generate +# the various graphs. + +DOT_CLEANUP = YES + +#--------------------------------------------------------------------------- +# Configuration::addtions related to the search engine +#--------------------------------------------------------------------------- + +# The SEARCHENGINE tag specifies whether or not a search engine should be +# used. If set to NO the values of all tags below this one will be ignored. + +SEARCHENGINE = NO + +# The CGI_NAME tag should be the name of the CGI script that +# starts the search engine (doxysearch) with the correct parameters. +# A script with this name will be generated by doxygen. + +CGI_NAME = + +# The CGI_URL tag should be the absolute URL to the directory where the +# cgi binaries are located. See the documentation of your http daemon for +# details. + +CGI_URL = + +# The DOC_URL tag should be the absolute URL to the directory where the +# documentation is located. If left blank the absolute path to the +# documentation, with file:// prepended to it, will be used. + +DOC_URL = + +# The DOC_ABSPATH tag should be the absolute path to the directory where the +# documentation is located. If left blank the directory on the local machine +# will be used. + +DOC_ABSPATH = + +# The BIN_ABSPATH tag must point to the directory where the doxysearch binary +# is installed. + +BIN_ABSPATH = + +# The EXT_DOC_PATHS tag can be used to specify one or more paths to +# documentation generated for other projects. This allows doxysearch to search +# the documentation for these projects as well. + +EXT_DOC_PATHS = diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/Makefile.common b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/Makefile.common new file mode 100644 index 0000000000000000000000000000000000000000..d5c4d859163f02c164370d84a24325ae24afab61 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/Makefile.common @@ -0,0 +1,34 @@ +### Makefile.common +### +### Copyright (C) 2002 by the KDE developers + +### All the real work is done by the shellscript cvs.sh + +SHELL=/bin/sh + +cvs dist cvs-clean configure.in configure.files subdirs package-messages package-merge: + @admindir=$(admindir); \ + if test "x$$admindir" = x; then \ + admindir=.; until test -f $$admindir/admin/cvs.sh; do \ + admindir=$$admindir/..; \ + if test `cd $$admindir && pwd` = / ; then break; fi; \ + done; \ + admindir=$$admindir/admin; \ + if test -f $$admindir/cvs.sh; then :; else \ + echo "Can't find the admin/ directory in any parent of the"; \ + echo "current directory. Please set it with admindir=..."; \ + exit 1; \ + fi; \ + fi; \ + if test "$@" = "package-merge"; then \ + MAKE=$(MAKE) POFILES="$(POFILES)" PACKAGE="$(PACKAGE)" \ + $(SHELL) $$admindir/cvs.sh package-merge ;\ + else MAKE=$(MAKE) $(SHELL) $$admindir/cvs.sh $@ ;\ + fi + +configure.in: configure.files $(shell test -f configure.files && cat configure.files) subdirs +configure.files: subdirs + +.SILENT: + +.PHONY: cvs dist cvs-clean package-merge package-messages diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/acinclude.m4.in b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/acinclude.m4.in new file mode 100644 index 0000000000000000000000000000000000000000..faa8a5dda24e3731a8c2b0e595cc1afe517fcf4b --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/acinclude.m4.in @@ -0,0 +1,5395 @@ +## -*- autoconf -*- + +dnl This file is part of the KDE libraries/packages +dnl Copyright (C) 1997 Janos Farkas (chexum@shadow.banki.hu) +dnl (C) 1997,98,99 Stephan Kulow (coolo@kde.org) + +dnl This file is free software; you can redistribute it and/or +dnl modify it under the terms of the GNU Library General Public +dnl License as published by the Free Software Foundation; either +dnl version 2 of the License, or (at your option) any later version. + +dnl This library is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +dnl Library General Public License for more details. + +dnl You should have received a copy of the GNU Library General Public License +dnl along with this library; see the file COPYING.LIB. If not, write to +dnl the Free Software Foundation, Inc., 59 Temple Place - Suite 330, +dnl Boston, MA 02111-1307, USA. + +dnl IMPORTANT NOTE: +dnl Please do not modify this file unless you expect your modifications to be +dnl carried into every other module in the repository. +dnl +dnl Single-module modifications are best placed in configure.in for kdelibs +dnl and kdebase or configure.in.in if present. + +dnl ------------------------------------------------------------------------ +dnl Forward compatibility macros (make autoconf 2.13 look like 2.50), +dnl thanks to Raja R Harinath. +dnl ------------------------------------------------------------------------ +dnl +ifdef([_AC_PATH_X_XMKMF],[], + [AC_DEFUN([_AC_PATH_X_XMKMF],[AC_PATH_X_XMKMF])]) +ifdef([AC_OUTPUT_SUBDIRS],[], + [AC_DEFUN([AC_OUTPUT_SUBDIRS],[subdirs=$1; _AC_OUTPUT_SUBDIRS])]) + +# KDE_PATH_X_DIRECT +dnl Internal subroutine of AC_PATH_X. +dnl Set ac_x_includes and/or ac_x_libraries. +AC_DEFUN(KDE_PATH_X_DIRECT, +[ +AC_REQUIRE([KDE_CHECK_LIB64]) + +if test "$ac_x_includes" = NO; then + # Guess where to find include files, by looking for this one X11 .h file. + test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h + + # First, try using that file with no special directory specified. +AC_TRY_CPP([#include <$x_direct_test_include>], +[# We can compile using X headers with no special include directory. +ac_x_includes=], +[# Look for the header file in a standard set of common directories. +# Check X11 before X11Rn because it is often a symlink to the current release. + for ac_dir in \ + /usr/X11/include \ + /usr/X11R6/include \ + /usr/X11R5/include \ + /usr/X11R4/include \ + \ + /usr/include/X11 \ + /usr/include/X11R6 \ + /usr/include/X11R5 \ + /usr/include/X11R4 \ + \ + /usr/local/X11/include \ + /usr/local/X11R6/include \ + /usr/local/X11R5/include \ + /usr/local/X11R4/include \ + \ + /usr/local/include/X11 \ + /usr/local/include/X11R6 \ + /usr/local/include/X11R5 \ + /usr/local/include/X11R4 \ + \ + /usr/X386/include \ + /usr/x386/include \ + /usr/XFree86/include/X11 \ + \ + /usr/include \ + /usr/local/include \ + /usr/unsupported/include \ + /usr/athena/include \ + /usr/local/x11r5/include \ + /usr/lpp/Xamples/include \ + \ + /usr/openwin/include \ + /usr/openwin/share/include \ + ; \ + do + if test -r "$ac_dir/$x_direct_test_include"; then + ac_x_includes=$ac_dir + break + fi + done]) +fi # $ac_x_includes = NO + +if test "$ac_x_libraries" = NO; then + # Check for the libraries. + + test -z "$x_direct_test_library" && x_direct_test_library=Xt + test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc + + # See if we find them without any special options. + # Don't add to $LIBS permanently. + ac_save_LIBS="$LIBS" + LIBS="-l$x_direct_test_library $LIBS" +AC_TRY_LINK(, [${x_direct_test_function}()], +[LIBS="$ac_save_LIBS" +# We can link X programs with no special library path. +ac_x_libraries=], +[LIBS="$ac_save_LIBS" +# First see if replacing the include by lib works. +# Check X11 before X11Rn because it is often a symlink to the current release. +for ac_dir in `echo "$ac_x_includes" | sed s/include/lib${kdelibsuff}/` \ + /usr/X11/lib${kdelibsuff} \ + /usr/X11R6/lib${kdelibsuff} \ + /usr/X11R5/lib${kdelibsuff} \ + /usr/X11R4/lib${kdelibsuff} \ + \ + /usr/lib${kdelibsuff}/X11 \ + /usr/lib${kdelibsuff}/X11R6 \ + /usr/lib${kdelibsuff}/X11R5 \ + /usr/lib${kdelibsuff}/X11R4 \ + \ + /usr/local/X11/lib${kdelibsuff} \ + /usr/local/X11R6/lib${kdelibsuff} \ + /usr/local/X11R5/lib${kdelibsuff} \ + /usr/local/X11R4/lib${kdelibsuff} \ + \ + /usr/local/lib${kdelibsuff}/X11 \ + /usr/local/lib${kdelibsuff}/X11R6 \ + /usr/local/lib${kdelibsuff}/X11R5 \ + /usr/local/lib${kdelibsuff}/X11R4 \ + \ + /usr/X386/lib${kdelibsuff} \ + /usr/x386/lib${kdelibsuff} \ + /usr/XFree86/lib${kdelibsuff}/X11 \ + \ + /usr/lib${kdelibsuff} \ + /usr/local/lib${kdelibsuff} \ + /usr/unsupported/lib${kdelibsuff} \ + /usr/athena/lib${kdelibsuff} \ + /usr/local/x11r5/lib${kdelibsuff} \ + /usr/lpp/Xamples/lib${kdelibsuff} \ + /lib/usr/lib${kdelibsuff}/X11 \ + \ + /usr/openwin/lib${kdelibsuff} \ + /usr/openwin/share/lib${kdelibsuff} \ + ; \ +do +dnl Don't even attempt the hair of trying to link an X program! + for ac_extension in a so sl; do + if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then + ac_x_libraries=$ac_dir + break 2 + fi + done +done]) +fi # $ac_x_libraries = NO +]) + + +dnl ------------------------------------------------------------------------ +dnl Find a file (or one of more files in a list of dirs) +dnl ------------------------------------------------------------------------ +dnl +AC_DEFUN(AC_FIND_FILE, +[ +$3=NO +for i in $2; +do + for j in $1; + do + echo "configure: __oline__: $i/$j" >&AC_FD_CC + if test -r "$i/$j"; then + echo "taking that" >&AC_FD_CC + $3=$i + break 2 + fi + done +done +]) + +dnl KDE_FIND_PATH(programm-name, variable-name, list of directories, +dnl if-not-found, test-parameter) +AC_DEFUN(KDE_FIND_PATH, +[ + AC_MSG_CHECKING([for $1]) + if test -n "$$2"; then + kde_cv_path="$$2"; + else + kde_cache=`echo $1 | sed 'y%./+-%__p_%'` + + AC_CACHE_VAL(kde_cv_path_$kde_cache, + [ + kde_cv_path="NONE" + dirs="$3" + kde_save_IFS=$IFS + IFS=':' + for dir in $PATH; do + dirs="$dirs $dir" + done + IFS=$kde_save_IFS + + for dir in $dirs; do + if test -x "$dir/$1"; then + if test -n "$5" + then + evalstr="$dir/$1 $5 2>&1 " + if eval $evalstr; then + kde_cv_path="$dir/$1" + break + fi + else + kde_cv_path="$dir/$1" + break + fi + fi + done + + eval "kde_cv_path_$kde_cache=$kde_cv_path" + + ]) + + eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\"" + + fi + + if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then + AC_MSG_RESULT(not found) + $4 + else + AC_MSG_RESULT($kde_cv_path) + $2=$kde_cv_path + + fi +]) + +AC_DEFUN(KDE_MOC_ERROR_MESSAGE, +[ + AC_MSG_ERROR([No Qt meta object compiler (moc) found! +Please check whether you installed Qt correctly. +You need to have a running moc binary. +configure tried to run $ac_cv_path_moc and the test didn't +succeed. If configure shouldn't have tried this one, set +the environment variable MOC to the right one before running +configure. +]) +]) + +AC_DEFUN(KDE_UIC_ERROR_MESSAGE, +[ + AC_MSG_WARN([No Qt ui compiler (uic) found! +Please check whether you installed Qt correctly. +You need to have a running uic binary. +configure tried to run $ac_cv_path_uic and the test didn't +succeed. If configure shouldn't have tried this one, set +the environment variable UIC to the right one before running +configure. +]) +]) + + +AC_DEFUN(KDE_CHECK_UIC_FLAG, +[ + AC_MSG_CHECKING([whether uic supports -$1 ]) + kde_cache=`echo $1 | sed 'y% .=/+-%____p_%'` + AC_CACHE_VAL(kde_cv_prog_uic_$kde_cache, + [ + cat >conftest.ui < +EOT + ac_uic_testrun="$UIC_PATH -$1 $2 conftest.ui >/dev/null" + if AC_TRY_EVAL(ac_uic_testrun); then + eval "kde_cv_prog_uic_$kde_cache=yes" + else + eval "kde_cv_prog_uic_$kde_cache=no" + fi + rm -f conftest* + ]) + + if eval "test \"`echo '$kde_cv_prog_uic_'$kde_cache`\" = yes"; then + AC_MSG_RESULT([yes]) + : + $3 + else + AC_MSG_RESULT([no]) + : + $4 + fi +]) + + +dnl ------------------------------------------------------------------------ +dnl Find the meta object compiler and the ui compiler in the PATH, +dnl in $QTDIR/bin, and some more usual places +dnl ------------------------------------------------------------------------ +dnl +AC_DEFUN(AC_PATH_QT_MOC_UIC, +[ + qt_bindirs="" + for dir in $kde_qt_dirs; do + qt_bindirs="$qt_bindirs $dir/bin $dir/src/moc" + done + qt_bindirs="$qt_bindirs /usr/bin /usr/X11R6/bin /usr/local/qt/bin" + if test ! "$ac_qt_bindir" = "NO"; then + qt_bindirs="$ac_qt_bindir $qt_bindirs" + fi + + KDE_FIND_PATH(moc, MOC, [$qt_bindirs], [KDE_MOC_ERROR_MESSAGE]) + if test -z "$UIC_NOT_NEEDED"; then + KDE_FIND_PATH(uic, UIC_PATH, [$qt_bindirs], [UIC_PATH=""]) + if test -z "$UIC_PATH" ; then + KDE_UIC_ERROR_MESSAGE + exit 1 + elif test $kde_qtver = 3; then + KDE_CHECK_UIC_FLAG(L,[/nonexistant],ac_uic_supports_libpath=yes,ac_uic_supports_libpath=no) + KDE_CHECK_UIC_FLAG(nounload,,ac_uic_supports_nounload=yes,ac_uic_supports_nounload=no) + + UIC=$UIC_PATH + if test x$ac_uic_supports_libpath = xyes; then + UIC="$UIC -L \$(kde_widgetdir)" + fi + if test x$ac_uic_supports_nounload = xyes; then + UIC="$UIC -nounload" + fi + fi + else + UIC="echo uic not available: " + fi + + AC_SUBST(MOC) + AC_SUBST(UIC) + + UIC_TR="i18n" + if test $kde_qtver = 3; then + UIC_TR="tr2i18n" + fi + + AC_SUBST(UIC_TR) +]) + +AC_DEFUN(KDE_1_CHECK_PATHS, +[ + KDE_1_CHECK_PATH_HEADERS + + KDE_TEST_RPATH= + + if test -n "$USE_RPATH"; then + + if test -n "$kde_libraries"; then + KDE_TEST_RPATH="-R $kde_libraries" + fi + + if test -n "$qt_libraries"; then + KDE_TEST_RPATH="$KDE_TEST_RPATH -R $qt_libraries" + fi + + if test -n "$x_libraries"; then + KDE_TEST_RPATH="$KDE_TEST_RPATH -R $x_libraries" + fi + + KDE_TEST_RPATH="$KDE_TEST_RPATH $KDE_EXTRA_RPATH" + fi + +AC_MSG_CHECKING([for KDE libraries installed]) +ac_link='$LIBTOOL_SHELL --silent --mode=link ${CXX-g++} -o conftest $CXXFLAGS $all_includes $CPPFLAGS $LDFLAGS $all_libraries conftest.$ac_ext $LIBS -lkdecore $LIBQT $KDE_TEST_RPATH 1>&5' + +if AC_TRY_EVAL(ac_link) && test -s conftest; then + AC_MSG_RESULT(yes) +else + AC_MSG_ERROR([your system fails at linking a small KDE application! +Check, if your compiler is installed correctly and if you have used the +same compiler to compile Qt and kdelibs as you did use now. +For more details about this problem, look at the end of config.log.]) +fi + +if eval `KDEDIR= ./conftest 2>&5`; then + kde_result=done +else + kde_result=problems +fi + +KDEDIR= ./conftest 2> /dev/null >&5 # make an echo for config.log +kde_have_all_paths=yes + +KDE_SET_PATHS($kde_result) + +]) + +AC_DEFUN(KDE_SET_PATHS, +[ + kde_cv_all_paths="kde_have_all_paths=\"yes\" \ + kde_htmldir=\"$kde_htmldir\" \ + kde_appsdir=\"$kde_appsdir\" \ + kde_icondir=\"$kde_icondir\" \ + kde_sounddir=\"$kde_sounddir\" \ + kde_datadir=\"$kde_datadir\" \ + kde_locale=\"$kde_locale\" \ + kde_cgidir=\"$kde_cgidir\" \ + kde_confdir=\"$kde_confdir\" \ + kde_mimedir=\"$kde_mimedir\" \ + kde_toolbardir=\"$kde_toolbardir\" \ + kde_wallpaperdir=\"$kde_wallpaperdir\" \ + kde_templatesdir=\"$kde_templatesdir\" \ + kde_bindir=\"$kde_bindir\" \ + kde_servicesdir=\"$kde_servicesdir\" \ + kde_servicetypesdir=\"$kde_servicetypesdir\" \ + kde_moduledir=\"$kde_moduledir\" \ + kde_styledir=\"$kde_styledir\" \ + kde_widgetdir=\"$kde_widgetdir\" \ + kde_result=$1" +]) + +AC_DEFUN(KDE_SET_DEFAULT_PATHS, +[ +if test "$1" = "default"; then + + if test -z "$kde_htmldir"; then + kde_htmldir='\${prefix}/share/doc/HTML' + fi + if test -z "$kde_appsdir"; then + kde_appsdir='\${prefix}/share/applnk' + fi + if test -z "$kde_icondir"; then + kde_icondir='\${prefix}/share/icons' + fi + if test -z "$kde_sounddir"; then + kde_sounddir='\${prefix}/share/sounds' + fi + if test -z "$kde_datadir"; then + kde_datadir='\${prefix}/share/apps' + fi + if test -z "$kde_locale"; then + kde_locale='\${prefix}/share/locale' + fi + if test -z "$kde_cgidir"; then + kde_cgidir='\${exec_prefix}/cgi-bin' + fi + if test -z "$kde_confdir"; then + kde_confdir='\${prefix}/share/config' + fi + if test -z "$kde_mimedir"; then + kde_mimedir='\${prefix}/share/mimelnk' + fi + if test -z "$kde_toolbardir"; then + kde_toolbardir='\${prefix}/share/toolbar' + fi + if test -z "$kde_wallpaperdir"; then + kde_wallpaperdir='\${prefix}/share/wallpapers' + fi + if test -z "$kde_templatesdir"; then + kde_templatesdir='\${prefix}/share/templates' + fi + if test -z "$kde_bindir"; then + kde_bindir='\${exec_prefix}/bin' + fi + if test -z "$kde_servicesdir"; then + kde_servicesdir='\${prefix}/share/services' + fi + if test -z "$kde_servicetypesdir"; then + kde_servicetypesdir='\${prefix}/share/servicetypes' + fi + if test -z "$kde_moduledir"; then + if test "$kde_qtver" = "2"; then + kde_moduledir='\${libdir}/kde2' + else + kde_moduledir='\${libdir}/kde3' + fi + fi + if test -z "$kde_styledir"; then + kde_styledir='\${libdir}/kde3/plugins/styles' + fi + if test -z "$kde_widgetdir"; then + kde_widgetdir='\${libdir}/kde3/plugins/designer' + fi + + KDE_SET_PATHS(defaults) + +else + + if test $kde_qtver = 1; then + AC_MSG_RESULT([compiling]) + KDE_1_CHECK_PATHS + else + AC_MSG_ERROR([path checking not yet supported for KDE 2]) + fi + +fi +]) + +AC_DEFUN(KDE_CHECK_PATHS_FOR_COMPLETENESS, +[ if test -z "$kde_htmldir" || test -z "$kde_appsdir" || + test -z "$kde_icondir" || test -z "$kde_sounddir" || + test -z "$kde_datadir" || test -z "$kde_locale" || + test -z "$kde_cgidir" || test -z "$kde_confdir" || + test -z "$kde_mimedir" || test -z "$kde_toolbardir" || + test -z "$kde_wallpaperdir" || test -z "$kde_templatesdir" || + test -z "$kde_bindir" || test -z "$kde_servicesdir" || + test -z "$kde_servicetypesdir" || test -z "$kde_moduledir" || + test -z "$kde_styledir" || test -z "kde_widgetdir" + test "x$kde_have_all_paths" != "xyes"; then + kde_have_all_paths=no + fi +]) + +AC_DEFUN(KDE_MISSING_PROG_ERROR, +[ + AC_MSG_ERROR([The important program $1 was not found! +Please check whether you installed KDE correctly. +]) +]) + +AC_DEFUN(KDE_MISSING_ARTS_ERROR, +[ + AC_MSG_ERROR([The important program $1 was not found! +Please check whether you installed aRts correctly. +]) +]) + +AC_DEFUN(KDE_SUBST_PROGRAMS, +[ + + kde_default_bindirs="/usr/bin /usr/local/bin /opt/local/bin /usr/X11R6/bin /opt/kde/bin /opt/kde3/bin /usr/kde/bin /usr/local/kde/bin" + test -n "$KDEDIR" && kde_default_bindirs="$KDEDIR/bin $kde_default_bindirs" + if test -n "$KDEDIRS"; then + kde_save_IFS=$IFS + IFS=: + for dir in $KDEDIRS; do + kde_default_bindirs="$dir/bin $kde_default_bindirs " + done + IFS=$kde_save_IFS + fi + kde_default_bindirs="$exec_prefix/bin $prefix/bin $kde_default_bindirs" + KDE_FIND_PATH(dcopidl, DCOPIDL, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(dcopidl)]) + KDE_FIND_PATH(dcopidl2cpp, DCOPIDL2CPP, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(dcopidl2cpp)]) + KDE_FIND_PATH(mcopidl, MCOPIDL, [$kde_default_bindirs], [KDE_MISSING_ARTS_ERROR(mcopidl)]) + KDE_FIND_PATH(artsc-config, ARTSCCONFIG, [$kde_default_bindirs], [KDE_MISSING_ARTS_ERROR(artsc-config)]) + KDE_FIND_PATH(kde-config, KDECONFIG, [$kde_default_bindirs]) + KDE_FIND_PATH(meinproc, MEINPROC, [$kde_default_bindirs]) + + if test -n "$MEINPROC" && test ! "$MEINPROC" = "compiled"; then + kde_sharedirs="/usr/share/kde /usr/local/share /usr/share /opt/kde3/share /opt/kde/share $prefix/share" + test -n "$KDEDIR" && kde_sharedirs="$KDEDIR/share $kde_sharedirs" + AC_FIND_FILE(apps/ksgmltools2/customization/kde-chunk.xsl, $kde_sharedirs, KDE_XSL_STYLESHEET) + if test "$KDE_XSL_STYLESHEET" = "NO"; then + KDE_XSL_STYLESHEET="" + else + KDE_XSL_STYLESHEET="$KDE_XSL_STYLESHEET/apps/ksgmltools2/customization/kde-chunk.xsl" + fi + fi + + DCOP_DEPENDENCIES='$(DCOPIDL)' + AC_SUBST(DCOPIDL) + AC_SUBST(DCOPIDL2CPP) + AC_SUBST(DCOP_DEPENDENCIES) + AC_SUBST(MCOPIDL) + AC_SUBST(ARTSCCONFIG) + AC_SUBST(KDECONFIG) + AC_SUBST(MEINPROC) + AC_SUBST(KDE_XSL_STYLESHEET) + + if test -x "$KDECONFIG"; then # it can be "compiled" + kde_libs_prefix=`$KDECONFIG --prefix` + if test -z "$kde_libs_prefix" || test ! -x "$kde_libs_prefix"; then + AC_MSG_ERROR([$KDECONFIG --prefix outputed the non existant prefix '$kde_libs_prefix' for kdelibs. + This means it has been moved since you installed it. + This won't work. Please recompile kdelibs for the new prefix. + ]) + fi + kde_libs_htmldir=`$KDECONFIG --install html --expandvars` + else + kde_libs_prefix='$(prefix)' + kde_libs_htmldir='$(kde_htmldir)' + fi + AC_SUBST(kde_libs_prefix) + AC_SUBST(kde_libs_htmldir) +])dnl + +AC_DEFUN(AC_CREATE_KFSSTND, +[ +AC_REQUIRE([AC_CHECK_RPATH]) + +AC_MSG_CHECKING([for KDE paths]) +kde_result="" +kde_cached_paths=yes +AC_CACHE_VAL(kde_cv_all_paths, +[ + KDE_SET_DEFAULT_PATHS($1) + kde_cached_paths=no +]) +eval "$kde_cv_all_paths" +KDE_CHECK_PATHS_FOR_COMPLETENESS +if test "$kde_have_all_paths" = "no" && test "$kde_cached_paths" = "yes"; then + # wrong values were cached, may be, we can set better ones + kde_result= + kde_htmldir= kde_appsdir= kde_icondir= kde_sounddir= + kde_datadir= kde_locale= kde_cgidir= kde_confdir= + kde_mimedir= kde_toolbardir= kde_wallpaperdir= kde_templatesdir= + kde_bindir= kde_servicesdir= kde_servicetypesdir= kde_moduledir= + kde_have_all_paths= + kde_styledir= + kde_widgetdir= + KDE_SET_DEFAULT_PATHS($1) + eval "$kde_cv_all_paths" + KDE_CHECK_PATHS_FOR_COMPLETENESS + kde_result="$kde_result (cache overridden)" +fi +if test "$kde_have_all_paths" = "no"; then + AC_MSG_ERROR([configure could not run a little KDE program to test the environment. +Since it had compiled and linked before, it must be a strange problem on your system. +Look at config.log for details. If you are not able to fix this, look at +http://www.kde.org/faq/installation.html or any www.kde.org mirror. +(If you're using an egcs version on Linux, you may update binutils!) +]) +else + rm -f conftest* + AC_MSG_RESULT($kde_result) +fi + +bindir=$kde_bindir + +KDE_SUBST_PROGRAMS + +]) + +AC_DEFUN(AC_SUBST_KFSSTND, +[ +AC_SUBST(kde_htmldir) +AC_SUBST(kde_appsdir) +AC_SUBST(kde_icondir) +AC_SUBST(kde_sounddir) +AC_SUBST(kde_datadir) +AC_SUBST(kde_locale) +AC_SUBST(kde_confdir) +AC_SUBST(kde_mimedir) +AC_SUBST(kde_wallpaperdir) +AC_SUBST(kde_bindir) +dnl for KDE 2 +AC_SUBST(kde_templatesdir) +AC_SUBST(kde_servicesdir) +AC_SUBST(kde_servicetypesdir) +AC_SUBST(kde_moduledir) +AC_SUBST(kde_styledir) +AC_SUBST(kde_widgetdir) +if test "$kde_qtver" = 1; then + kde_minidir="$kde_icondir/mini" +else +# for KDE 1 - this breaks KDE2 apps using minidir, but +# that's the plan ;-/ + kde_minidir="/dev/null" +fi +dnl AC_SUBST(kde_minidir) +dnl AC_SUBST(kde_cgidir) +dnl AC_SUBST(kde_toolbardir) +]) + +AC_DEFUN(KDE_MISC_TESTS, +[ + AC_LANG_C + dnl Checks for libraries. + AC_CHECK_LIB(util, main, [LIBUTIL="-lutil"]) dnl for *BSD + AC_SUBST(LIBUTIL) + AC_CHECK_LIB(compat, main, [LIBCOMPAT="-lcompat"]) dnl for *BSD + AC_SUBST(LIBCOMPAT) + kde_have_crypt= + AC_CHECK_LIB(crypt, crypt, [LIBCRYPT="-lcrypt"; kde_have_crypt=yes], + AC_CHECK_LIB(c, crypt, [kde_have_crypt=yes], [ + AC_MSG_WARN([you have no crypt in either libcrypt or libc. +You should install libcrypt from another source or configure with PAM +support]) + kde_have_crypt=no + ])) + AC_SUBST(LIBCRYPT) + if test $kde_have_crypt = yes; then + AC_DEFINE_UNQUOTED(HAVE_CRYPT, 1, [Defines if your system has the crypt function]) + fi + AC_CHECK_SOCKLEN_T + AC_LANG_C + AC_CHECK_LIB(dnet, dnet_ntoa, [X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"]) + if test $ac_cv_lib_dnet_dnet_ntoa = no; then + AC_CHECK_LIB(dnet_stub, dnet_ntoa, + [X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"]) + fi + AC_CHECK_FUNC(inet_ntoa) + if test $ac_cv_func_inet_ntoa = no; then + AC_CHECK_LIB(nsl, inet_ntoa, X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl") + fi + AC_CHECK_FUNC(connect) + if test $ac_cv_func_connect = no; then + AC_CHECK_LIB(socket, connect, X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS", , + $X_EXTRA_LIBS) + fi + + AC_CHECK_FUNC(remove) + if test $ac_cv_func_remove = no; then + AC_CHECK_LIB(posix, remove, X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix") + fi + + # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. + AC_CHECK_FUNC(shmat, , + AC_CHECK_LIB(ipc, shmat, X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc")) + + # darwin needs this to initialize the environment + AC_CHECK_HEADERS(crt_externs.h) + AC_CHECK_FUNC(_NSGetEnviron, [AC_DEFINE(HAVE_NSGETENVIRON, 1, [Define if your system needs _NSGetEnviron to set up the environment])]) + + # more headers that need to be explicitly included on darwin + AC_CHECK_HEADERS(sys/types.h stdint.h) + + # darwin requires a poll emulation library + AC_CHECK_LIB(poll, poll, LIB_POLL="-lpoll") + + # CoreAudio framework + AC_CHECK_HEADER(CoreAudio/CoreAudio.h, [ + AC_DEFINE(HAVE_COREAUDIO, 1, [Define if you have the CoreAudio API]) + FRAMEWORK_COREAUDIO="-framework CoreAudio" + ]) + + AC_CHECK_RES_INIT + AC_SUBST(LIB_POLL) + AC_SUBST(FRAMEWORK_COREAUDIO) + LIBSOCKET="$X_EXTRA_LIBS" + AC_SUBST(LIBSOCKET) + AC_SUBST(X_EXTRA_LIBS) + AC_CHECK_LIB(ucb, killpg, [LIBUCB="-lucb"]) dnl for Solaris2.4 + AC_SUBST(LIBUCB) + + case $host in dnl this *is* LynxOS specific + *-*-lynxos* ) + AC_MSG_CHECKING([LynxOS header file wrappers]) + [CFLAGS="$CFLAGS -D__NO_INCLUDE_WARN__"] + AC_MSG_RESULT(disabled) + AC_CHECK_LIB(bsd, gethostbyname, [LIBSOCKET="-lbsd"]) dnl for LynxOS + ;; + esac + + KDE_CHECK_TYPES + KDE_CHECK_LIBDL + +AH_VERBATIM(_AIX_STRINGS_H_BZERO, +[ +/* + * AIX defines FD_SET in terms of bzero, but fails to include + * that defines bzero. + */ + +#if defined(_AIX) +#include +#endif +]) + +AC_CHECK_FUNCS([vsnprintf snprintf]) + +AH_VERBATIM(_TRU64,[ +/* + * On HP-UX, the declaration of vsnprintf() is needed every time ! + */ + +#if !defined(HAVE_VSNPRINTF) || defined(hpux) +#if __STDC__ +#include +#include +#else +#include +#endif +#ifdef __cplusplus +extern "C" +#endif +int vsnprintf(char *str, size_t n, char const *fmt, va_list ap); +#ifdef __cplusplus +extern "C" +#endif +int snprintf(char *str, size_t n, char const *fmt, ...); +#endif +]) + +]) + +dnl ------------------------------------------------------------------------ +dnl Find the header files and libraries for X-Windows. Extended the +dnl macro AC_PATH_X +dnl ------------------------------------------------------------------------ +dnl +AC_DEFUN(K_PATH_X, +[ +AC_REQUIRE([KDE_MISC_TESTS])dnl +AC_REQUIRE([KDE_CHECK_LIB64]) + +AC_ARG_ENABLE( + embedded, + [ --enable-embedded link to Qt-embedded, don't use X], + kde_use_qt_emb=$enableval, + kde_use_qt_emb=no +) + +AC_ARG_ENABLE( + qtopia, + [ --enable-qtopia link to Qt-embedded, link to the Qtopia Environment], + kde_use_qt_emb_palm=$enableval, + kde_use_qt_emb_palm=no +) + +if test "$kde_use_qt_emb" = "no"; then + +AC_MSG_CHECKING(for X) +AC_LANG_SAVE +AC_LANG_C +AC_CACHE_VAL(kde_cv_have_x, +[# One or both of the vars are not set, and there is no cached value. +if test "{$x_includes+set}" = set || test "$x_includes" = NONE; then + kde_x_includes=NO +else + kde_x_includes=$x_includes +fi +if test "{$x_libraries+set}" = set || test "$x_libraries" = NONE; then + kde_x_libraries=NO +else + kde_x_libraries=$x_libraries +fi + +# below we use the standard autoconf calls +ac_x_libraries=$kde_x_libraries +ac_x_includes=$kde_x_includes + +KDE_PATH_X_DIRECT +dnl AC_PATH_X_XMKMF picks /usr/lib as the path for the X libraries. +dnl Unfortunately, if compiling with the N32 ABI, this is not the correct +dnl location. The correct location is /usr/lib32 or an undefined value +dnl (the linker is smart enough to pick the correct default library). +dnl Things work just fine if you use just AC_PATH_X_DIRECT. +dnl Solaris has a similar problem. AC_PATH_X_XMKMF forces x_includes to +dnl /usr/openwin/include, which doesn't work. /usr/include does work, so +dnl x_includes should be left alone. +case "$host" in +mips-sgi-irix6*) + ;; +*-*-solaris*) + ;; +*) + _AC_PATH_X_XMKMF + if test -z "$ac_x_includes"; then + ac_x_includes="." + fi + if test -z "$ac_x_libraries"; then + ac_x_libraries="/usr/lib${kdelibsuff}" + fi +esac +#from now on we use our own again + +# when the user already gave --x-includes, we ignore +# what the standard autoconf macros told us. +if test "$kde_x_includes" = NO; then + kde_x_includes=$ac_x_includes +fi + +# for --x-libraries too +if test "$kde_x_libraries" = NO; then + kde_x_libraries=$ac_x_libraries +fi + +if test "$kde_x_includes" = NO; then + AC_MSG_ERROR([Can't find X includes. Please check your installation and add the correct paths!]) +fi + +if test "$kde_x_libraries" = NO; then + AC_MSG_ERROR([Can't find X libraries. Please check your installation and add the correct paths!]) +fi + +# Record where we found X for the cache. +kde_cv_have_x="have_x=yes \ + kde_x_includes=$kde_x_includes kde_x_libraries=$kde_x_libraries" +])dnl + +eval "$kde_cv_have_x" + +if test "$have_x" != yes; then + AC_MSG_RESULT($have_x) + no_x=yes +else + AC_MSG_RESULT([libraries $kde_x_libraries, headers $kde_x_includes]) +fi + +if test -z "$kde_x_includes" || test "x$kde_x_includes" = xNONE; then + X_INCLUDES="" + x_includes="."; dnl better than nothing :- + else + x_includes=$kde_x_includes + X_INCLUDES="-I$x_includes" +fi + +if test -z "$kde_x_libraries" || test "x$kde_x_libraries" = xNONE; then + X_LDFLAGS="" + x_libraries="/usr/lib"; dnl better than nothing :- + else + x_libraries=$kde_x_libraries + X_LDFLAGS="-L$x_libraries" +fi +all_includes="$X_INCLUDES" +all_libraries="$X_LDFLAGS" + +AC_SUBST(X_INCLUDES) +AC_SUBST(X_LDFLAGS) +AC_SUBST(x_libraries) +AC_SUBST(x_includes) + +# Check for libraries that X11R6 Xt/Xaw programs need. +ac_save_LDFLAGS="$LDFLAGS" +LDFLAGS="$LDFLAGS $X_LDFLAGS" +# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to +# check for ICE first), but we must link in the order -lSM -lICE or +# we get undefined symbols. So assume we have SM if we have ICE. +# These have to be linked with before -lX11, unlike the other +# libraries we check for below, so use a different variable. +# --interran@uluru.Stanford.EDU, kb@cs.umb.edu. +AC_CHECK_LIB(ICE, IceConnectionNumber, + [LIBSM="-lSM -lICE"], , $X_EXTRA_LIBS) +AC_SUBST(LIBSM) +LDFLAGS="$ac_save_LDFLAGS" + +AC_SUBST(X_PRE_LIBS) + +LIB_X11='-lX11 $(LIBSOCKET)' +AC_SUBST(LIB_X11) + +AC_MSG_CHECKING(for libXext) +AC_CACHE_VAL(kde_cv_have_libXext, +[ +kde_ldflags_safe="$LDFLAGS" +kde_libs_safe="$LIBS" + +LDFLAGS="$LDFLAGS $X_LDFLAGS $USER_LDFLAGS" +LIBS="-lXext -lX11 $LIBSOCKET" + +AC_TRY_LINK([ +#include +#ifdef STDC_HEADERS +# include +#endif +], +[ +printf("hello Xext\n"); +], +kde_cv_have_libXext=yes, +kde_cv_have_libXext=no + ) + +LDFLAGS=$kde_ldflags_safe +LIBS=$kde_libs_safe + ]) + +AC_MSG_RESULT($kde_cv_have_libXext) + +if test "$kde_cv_have_libXext" = "no"; then + AC_MSG_ERROR([We need a working libXext to proceed. Since configure +can't find it itself, we stop here assuming that make wouldn't find +them either.]) +fi + +AC_MSG_CHECKING(for Xinerama) + + AC_ARG_WITH(xinerama, + [ --with-xinerama enable support for Xinerama ], + [ + no_xinerama=no + ], [ + no_xinerama=yes + ] +) + +kde_save_LDFLAGS="$LDFLAGS" +kde_save_CFLAGS="$CFLAGS" +kde_save_LIBS="$LIBS" +LDFLAGS="$LDFLAGS $X_LDFLAGS $USER_LDFLAGS" +CFLAGS="$CFLAGS -I$x_includes" +LIBS="-lXinerama -lXext" + +if test "x$no_xinerama" = "xno"; then + + AC_CACHE_VAL(ac_cv_have_xinerama, + [ + AC_TRY_LINK([#include + #include ], + [XineramaIsActive(NULL);], + [ac_cv_have_xinerama="yes"], + [ac_cv_have_xinerama="no"]) + ]) +else + ac_cv_have_xinerama=no; +fi + +AC_MSG_RESULT($ac_cv_have_xinerama) + +LIBXINERAMA="" + +if test "$ac_cv_have_xinerama" = "yes"; then + AC_DEFINE(HAVE_XINERAMA, 1, [Define if you want Xinerama support]) + LIBXINERAMA="-lXinerama" +fi + +AC_SUBST(LIBXINERAMA) + +LDFLAGS="$kde_save_LDFLAGS" +CFLAGS="$kde_save_CFLAGS" +LIBS="$kde_save_LIBS" + +LIB_XEXT="-lXext" +QTE_NORTTI="" + +else + dnl We're using QT Embedded + CPPFLAGS=-DQWS + CXXFLAGS="$CXXFLAGS -fno-rtti" + QTE_NORTTI="-fno-rtti -DQWS" + X_PRE_LIBS="" + LIB_X11="" + LIB_XEXT="" + LIBSM="" + X_INCLUDES="" + X_LDFLAGS="" + x_includes="" + x_libraries="" + AC_SUBST(X_PRE_LIBS) + AC_SUBST(LIB_X11) + AC_SUBST(LIBSM) + AC_SUBST(X_INCLUDES) + AC_SUBST(X_LDFLAGS) + AC_SUBST(x_includes) + AC_SUBST(x_libraries) +fi +AC_SUBST(QTE_NORTTI) +AC_SUBST(LIB_XEXT) + + +AC_LANG_RESTORE + +]) + +AC_DEFUN(KDE_PRINT_QT_PROGRAM, +[ +AC_REQUIRE([KDE_USE_QT]) +cat > conftest.$ac_ext < +#include +EOF +if test "$kde_qtver" = "2"; then +cat >> conftest.$ac_ext < +#include +#include +EOF + +if test $kde_qtsubver -gt 0; then +cat >> conftest.$ac_ext <> conftest.$ac_ext < +#include +#include +EOF +fi + +echo "#if ! ($kde_qt_verstring)" >> conftest.$ac_ext +cat >> conftest.$ac_ext <> conftest.$ac_ext <> conftest.$ac_ext <> conftest.$ac_ext <> conftest.$ac_ext <&AC_FD_CC + cat conftest.$ac_ext >&AC_FD_CC +fi + +rm -f conftest* +CXXFLAGS="$ac_cxxflags_safe" +LDFLAGS="$ac_ldflags_safe" +LIBS="$ac_libs_safe" + +LD_LIBRARY_PATH="$ac_LD_LIBRARY_PATH_safe" +export LD_LIBRARY_PATH +LIBRARY_PATH="$ac_LIBRARY_PATH" +export LIBRARY_PATH +AC_LANG_RESTORE +]) + +if test "$kde_cv_qt_direct" = "yes"; then + AC_MSG_RESULT(yes) + $1 +else + AC_MSG_RESULT(no) + $2 +fi +]) + +dnl ------------------------------------------------------------------------ +dnl Try to find the Qt headers and libraries. +dnl $(QT_LDFLAGS) will be -Lqtliblocation (if needed) +dnl and $(QT_INCLUDES) will be -Iqthdrlocation (if needed) +dnl ------------------------------------------------------------------------ +dnl +AC_DEFUN(AC_PATH_QT_1_3, +[ +AC_REQUIRE([K_PATH_X]) +AC_REQUIRE([KDE_USE_QT]) +AC_REQUIRE([KDE_CHECK_LIB64]) + +dnl ------------------------------------------------------------------------ +dnl Add configure flag to enable linking to MT version of Qt library. +dnl ------------------------------------------------------------------------ + +AC_ARG_ENABLE( + mt, + [ --disable-mt link to non-threaded Qt (deprecated)], + kde_use_qt_mt=$enableval, + [ + if test $kde_qtver = 3; then + kde_use_qt_mt=yes + else + kde_use_qt_mt=no + fi + ] +) + +USING_QT_MT="" + +dnl ------------------------------------------------------------------------ +dnl If we not get --disable-qt-mt then adjust some vars for the host. +dnl ------------------------------------------------------------------------ + +KDE_MT_LDFLAGS= +KDE_MT_LIBS= +if test "x$kde_use_qt_mt" = "xyes"; then + KDE_CHECK_THREADING + if test "x$kde_use_threading" = "xyes"; then + CPPFLAGS="$USE_THREADS -DQT_THREAD_SUPPORT $CPPFLAGS" + KDE_MT_LDFLAGS="$USE_THREADS" + KDE_MT_LIBS="$LIBPTHREAD" + else + kde_use_qt_mt=no + fi +fi +AC_SUBST(KDE_MT_LDFLAGS) +AC_SUBST(KDE_MT_LIBS) + +kde_qt_was_given=yes + +dnl ------------------------------------------------------------------------ +dnl If we haven't been told how to link to Qt, we work it out for ourselves. +dnl ------------------------------------------------------------------------ +if test -z "$LIBQT_GLOB"; then + if test "x$kde_use_qt_emb" = "xyes"; then + LIBQT_GLOB="libqte.*" + else + LIBQT_GLOB="libqt.*" + fi +fi + +if test -z "$LIBQT"; then +dnl ------------------------------------------------------------ +dnl If we got --enable-embedded then adjust the Qt library name. +dnl ------------------------------------------------------------ + if test "x$kde_use_qt_emb" = "xyes"; then + qtlib="qte" + else + qtlib="qt" + fi + + kde_int_qt="-l$qtlib" +else + kde_int_qt="$LIBQT" + kde_lib_qt_set=yes +fi + +if test -z "$LIBQPE"; then +dnl ------------------------------------------------------------ +dnl If we got --enable-palmtop then add -lqpe to the link line +dnl ------------------------------------------------------------ + if test "x$kde_use_qt_emb" = "xyes"; then + if test "x$kde_use_qt_emb_palm" = "xyes"; then + LIB_QPE="-lqpe" + else + LIB_QPE="" + fi + else + LIB_QPE="" + fi +fi + +dnl ------------------------------------------------------------------------ +dnl If we got --enable-qt-mt then adjust the Qt library name for the host. +dnl ------------------------------------------------------------------------ + +if test "x$kde_use_qt_mt" = "xyes"; then + if test -z "$LIBQT"; then + LIBQT="-l$qtlib-mt" + kde_int_qt="-l$qtlib-mt" + else + LIBQT="$qtlib-mt" + kde_int_qt="$qtlib-mt" + fi + LIBQT_GLOB="lib$qtlib-mt.*" + USING_QT_MT="using -mt" +else + LIBQT="-l$qtlib" +fi + +if test $kde_qtver != 1; then + + AC_REQUIRE([AC_FIND_PNG]) + AC_REQUIRE([AC_FIND_JPEG]) + LIBQT="$LIBQT $LIBPNG $LIBJPEG" +fi + +if test $kde_qtver = 3; then + AC_REQUIRE([KDE_CHECK_LIBDL]) + LIBQT="$LIBQT $LIBDL" +fi + +AC_MSG_CHECKING([for Qt]) + +if test "x$kde_use_qt_emb" != "xyes"; then +LIBQT="$LIBQT $X_PRE_LIBS -lXext -lX11 $LIBSM $LIBSOCKET" +fi +ac_qt_includes=NO ac_qt_libraries=NO ac_qt_bindir=NO +qt_libraries="" +qt_includes="" +AC_ARG_WITH(qt-dir, + [ --with-qt-dir=DIR where the root of Qt is installed ], + [ ac_qt_includes="$withval"/include + ac_qt_libraries="$withval"/lib${kdelibsuff} + ac_qt_bindir="$withval"/bin + ]) + +AC_ARG_WITH(qt-includes, + [ --with-qt-includes=DIR where the Qt includes are. ], + [ + ac_qt_includes="$withval" + ]) + +kde_qt_libs_given=no + +AC_ARG_WITH(qt-libraries, + [ --with-qt-libraries=DIR where the Qt library is installed.], + [ ac_qt_libraries="$withval" + kde_qt_libs_given=yes + ]) + +AC_CACHE_VAL(ac_cv_have_qt, +[#try to guess Qt locations + +qt_incdirs="" +for dir in $kde_qt_dirs; do + qt_incdirs="$qt_incdirs $dir/include $dir" +done +qt_incdirs="$QTINC $qt_incdirs /usr/local/qt/include /usr/include/qt /usr/include /usr/X11R6/include/X11/qt /usr/X11R6/include/qt /usr/X11R6/include/qt2 $x_includes" +if test ! "$ac_qt_includes" = "NO"; then + qt_incdirs="$ac_qt_includes $qt_incdirs" +fi + +if test "$kde_qtver" != "1"; then + kde_qt_header=qstyle.h +else + kde_qt_header=qglobal.h +fi + +AC_FIND_FILE($kde_qt_header, $qt_incdirs, qt_incdir) +ac_qt_includes="$qt_incdir" + +qt_libdirs="" +for dir in $kde_qt_dirs; do + qt_libdirs="$qt_libdirs $dir/lib${kdelibsuff} $dir" +done +qt_libdirs="$QTLIB $qt_libdirs /usr/X11R6/lib /usr/lib /usr/local/qt/lib $x_libraries" +if test ! "$ac_qt_libraries" = "NO"; then + qt_libdir=$ac_qt_libraries +else + qt_libdirs="$ac_qt_libraries $qt_libdirs" + # if the Qt was given, the chance is too big that libqt.* doesn't exist + qt_libdir=NONE + for dir in $qt_libdirs; do + try="ls -1 $dir/${LIBQT_GLOB}" + if test -n "`$try 2> /dev/null`"; then qt_libdir=$dir; break; else echo "tried $dir" >&AC_FD_CC ; fi + done +fi + +ac_qt_libraries="$qt_libdir" + +AC_LANG_SAVE +AC_LANG_CPLUSPLUS + +ac_cxxflags_safe="$CXXFLAGS" +ac_ldflags_safe="$LDFLAGS" +ac_libs_safe="$LIBS" + +CXXFLAGS="$CXXFLAGS -I$qt_incdir $all_includes" +LDFLAGS="$LDFLAGS -L$qt_libdir $all_libraries $USER_LDFLAGS $KDE_MT_LDFLAGS" +LIBS="$LIBS $LIBQT $KDE_MT_LIBS" + +KDE_PRINT_QT_PROGRAM + +if AC_TRY_EVAL(ac_link) && test -s conftest; then + rm -f conftest* +else + echo "configure: failed program was:" >&AC_FD_CC + cat conftest.$ac_ext >&AC_FD_CC + ac_qt_libraries="NO" +fi +rm -f conftest* +CXXFLAGS="$ac_cxxflags_safe" +LDFLAGS="$ac_ldflags_safe" +LIBS="$ac_libs_safe" + +AC_LANG_RESTORE +if test "$ac_qt_includes" = NO || test "$ac_qt_libraries" = NO; then + ac_cv_have_qt="have_qt=no" + ac_qt_notfound="" + missing_qt_mt="" + if test "$ac_qt_includes" = NO; then + if test "$ac_qt_libraries" = NO; then + ac_qt_notfound="(headers and libraries)"; + else + ac_qt_notfound="(headers)"; + fi + else + if test "x$kde_use_qt_mt" = "xyes"; then + missing_qt_mt=" +Make sure that you have compiled Qt with thread support!" + ac_qt_notfound="(library $qtlib-mt)"; + else + ac_qt_notfound="(library $qtlib)"; + fi + fi + + AC_MSG_ERROR([Qt ($kde_qt_minversion) $ac_qt_notfound not found. Please check your installation! +For more details about this problem, look at the end of config.log.$missing_qt_mt]) +else + have_qt="yes" +fi +]) + +eval "$ac_cv_have_qt" + +if test "$have_qt" != yes; then + AC_MSG_RESULT([$have_qt]); +else + ac_cv_have_qt="have_qt=yes \ + ac_qt_includes=$ac_qt_includes ac_qt_libraries=$ac_qt_libraries" + AC_MSG_RESULT([libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT]) + + qt_libraries="$ac_qt_libraries" + qt_includes="$ac_qt_includes" +fi + +if test ! "$kde_qt_libs_given" = "yes"; then +KDE_CHECK_QT_DIRECT(qt_libraries= ,[]) +fi + +AC_SUBST(qt_libraries) +AC_SUBST(qt_includes) + +if test "$qt_includes" = "$x_includes" || test -z "$qt_includes"; then + QT_INCLUDES="" +else + QT_INCLUDES="-I$qt_includes" + all_includes="$QT_INCLUDES $all_includes" +fi + +if test "$qt_libraries" = "$x_libraries" || test -z "$qt_libraries"; then + QT_LDFLAGS="" +else + QT_LDFLAGS="-L$qt_libraries" + all_libraries="$all_libraries $QT_LDFLAGS" +fi +test -z "$KDE_MT_LDFLAGS" || all_libraries="$all_libraries $KDE_MT_LDFLAGS" + +AC_SUBST(QT_INCLUDES) +AC_SUBST(QT_LDFLAGS) +AC_PATH_QT_MOC_UIC + +KDE_CHECK_QT_JPEG + +if test "x$kde_use_qt_emb" != "xyes"; then +LIB_QT="$kde_int_qt $LIBJPEG_QT "'$(LIBPNG) -lXext $(LIB_X11) $(LIBSM)' +else +LIB_QT="$kde_int_qt $LIBJPEG_QT "'$(LIBPNG)' +fi +test -z "$KDE_MT_LIBS" || LIB_QT="$LIB_QT $KDE_MT_LIBS" + +AC_SUBST(LIB_QT) +AC_SUBST(LIB_QPE) + +AC_SUBST(kde_qtver) +]) + +AC_DEFUN(AC_PATH_QT, +[ +AC_PATH_QT_1_3 +]) + +AC_DEFUN(KDE_CHECK_UIC_PLUGINS, +[ +AC_REQUIRE([AC_PATH_QT_MOC_UIC]) + +if test x$ac_uic_supports_libpath = xyes; then + +AC_MSG_CHECKING([if UIC has KDE plugins available]) +AC_CACHE_VAL(kde_cv_uic_plugins, +[ +cat > actest.ui << EOF + +NewConnectionDialog + + + + testInput + + + + +EOF + + + +kde_cv_uic_plugins=no +kde_line="$UIC_PATH -L $kde_widgetdir" +if test x$ac_uic_supports_nounload = xyes; then + kde_line="$kde_line -nounload" +fi +kde_line="$kde_line -impl actest.h actest.ui > actest.cpp" +if AC_TRY_EVAL(kde_line); then + if test -f actest.cpp && grep klineedit actest.cpp > /dev/null; then + kde_cv_uic_plugins=yes + fi +fi +rm -f actest.ui actest.cpp +]) + +if test "$kde_cv_uic_plugins" = yes; then + AC_MSG_RESULT([yes]) +else + AC_MSG_ERROR([not found - you need to install kdelibs first.]) +fi +fi +]) + +AC_DEFUN(KDE_CHECK_FINAL, +[ + AC_ARG_ENABLE(final, [ --enable-final build size optimized apps (experimental - needs lots of memory)], + kde_use_final=$enableval, kde_use_final=no) + + KDE_COMPILER_REPO + if test "x$kde_use_final" = "xyes"; then + KDE_USE_FINAL_TRUE="" + KDE_USE_FINAL_FALSE="#" + else + KDE_USE_FINAL_TRUE="#" + KDE_USE_FINAL_FALSE="" + fi + AC_SUBST(KDE_USE_FINAL_TRUE) + AC_SUBST(KDE_USE_FINAL_FALSE) + + AC_ARG_ENABLE(closure, [ --disable-closure don't delay template instantiation], + kde_use_closure=$enableval, kde_use_closure=yes) + + if test "x$kde_use_closure" = "xyes"; then + KDE_USE_CLOSURE_TRUE="" + KDE_USE_CLOSURE_FALSE="#" +# CXXFLAGS="$CXXFLAGS $REPO" + else + KDE_USE_CLOSURE_TRUE="#" + KDE_USE_CLOSURE_FALSE="" + fi + AC_SUBST(KDE_USE_CLOSURE_TRUE) + AC_SUBST(KDE_USE_CLOSURE_FALSE) +]) + +dnl ------------------------------------------------------------------------ +dnl Now, the same with KDE +dnl $(KDE_LDFLAGS) will be the kdeliblocation (if needed) +dnl and $(kde_includes) will be the kdehdrlocation (if needed) +dnl ------------------------------------------------------------------------ +dnl +AC_DEFUN(AC_BASE_PATH_KDE, +[ +AC_PREREQ([2.13]) +AC_REQUIRE([AC_PATH_QT])dnl +AC_REQUIRE([KDE_CHECK_LIB64]) + +AC_CHECK_RPATH +AC_MSG_CHECKING([for KDE]) + +if test "${prefix}" != NONE; then + kde_includes=${prefix}/include + ac_kde_includes=$prefix/include + + if test "${exec_prefix}" != NONE; then + kde_libraries=${libdir} + ac_kde_libraries=$libdir + if test "$ac_kde_libraries" = '${exec_prefix}/lib'${kdelibsuff}; then + ac_kde_libraries=$exec_prefix/lib${kdelibsuff} + fi + else + kde_libraries=${prefix}/lib${kdelibsuff} + ac_kde_libraries=$prefix/lib${kdelibsuff} + fi +else + ac_kde_includes= + ac_kde_libraries= + kde_libraries="" + kde_includes="" +fi + +AC_CACHE_VAL(ac_cv_have_kde, +[#try to guess kde locations + +if test "$kde_qtver" = 1; then + kde_check_header="ksock.h" + kde_check_lib="libkdecore.la" +else + kde_check_header="ksharedptr.h" + kde_check_lib="libkio.la" +fi + +if test -z "$1"; then + +kde_incdirs="/usr/lib/kde/include /usr/local/kde/include /usr/local/include /usr/kde/include /usr/include/kde /usr/include /opt/kde3/include /opt/kde/include $x_includes $qt_includes" +test -n "$KDEDIR" && kde_incdirs="$KDEDIR/include $KDEDIR/include/kde $KDEDIR $kde_incdirs" +kde_incdirs="$ac_kde_includes $kde_incdirs" +AC_FIND_FILE($kde_check_header, $kde_incdirs, kde_incdir) +ac_kde_includes="$kde_incdir" + +if test -n "$ac_kde_includes" && test ! -r "$ac_kde_includes/$kde_check_header"; then + AC_MSG_ERROR([ +in the prefix, you've chosen, are no KDE headers installed. This will fail. +So, check this please and use another prefix!]) +fi + +kde_libdirs="/usr/lib/kde/lib${kdelibsuff} /usr/local/kde/lib${kdelibsuff} /usr/kde/lib${kdelibsuff} /usr/lib${kdelibsuff}/kde /usr/lib${kdelibsuff}/kde3 /usr/lib${kdelibsuff} /usr/X11R6/lib${kdelibsuff} /usr/local/lib${kdelibsuff} /opt/kde3/lib${kdelibsuff} /opt/kde/lib${kdelibsuff} /usr/X11R6/kde/lib${kdelibsuff}" +test -n "$KDEDIR" && kde_libdirs="$KDEDIR/lib${kdelibsuff} $KDEDIR $kde_libdirs" +kde_libdirs="$ac_kde_libraries $libdir $kde_libdirs" +AC_FIND_FILE($kde_check_lib, $kde_libdirs, kde_libdir) +ac_kde_libraries="$kde_libdir" + +kde_widgetdir=NO +dnl this might be somewhere else +AC_FIND_FILE("kde3/plugins/designer/kdewidgets.la", $kde_libdirs, kde_widgetdir) + +if test -n "$ac_kde_libraries" && test ! -r "$ac_kde_libraries/$kde_check_lib"; then +AC_MSG_ERROR([ +in the prefix, you've chosen, are no KDE libraries installed. This will fail. +So, check this please and use another prefix!]) +fi + +if test -n "$kde_widgetdir" && test ! -r "$kde_widgetdir/kde3/plugins/designer/kdewidgets.la"; then +AC_MSG_ERROR([ +I can't find the designer plugins. These are required and should have been installed +by kdelibs]) +fi + +if test -n "$kde_widgetdir"; then + kde_widgetdir="$kde_widgetdir/kde3/plugins/designer" +fi + + +if test "$ac_kde_includes" = NO || test "$ac_kde_libraries" = NO || test "$kde_widgetdir" = NO; then + ac_cv_have_kde="have_kde=no" +else + ac_cv_have_kde="have_kde=yes \ + ac_kde_includes=$ac_kde_includes ac_kde_libraries=$ac_kde_libraries" +fi + +else dnl test -z $1 + + ac_cv_have_kde="have_kde=no" + +fi +])dnl + +eval "$ac_cv_have_kde" + +if test "$have_kde" != "yes"; then + if test "${prefix}" = NONE; then + ac_kde_prefix="$ac_default_prefix" + else + ac_kde_prefix="$prefix" + fi + if test "$exec_prefix" = NONE; then + ac_kde_exec_prefix="$ac_kde_prefix" + AC_MSG_RESULT([will be installed in $ac_kde_prefix]) + else + ac_kde_exec_prefix="$exec_prefix" + AC_MSG_RESULT([will be installed in $ac_kde_prefix and $ac_kde_exec_prefix]) + fi + + kde_libraries="${libdir}" + kde_includes=${ac_kde_prefix}/include + +else + ac_cv_have_kde="have_kde=yes \ + ac_kde_includes=$ac_kde_includes ac_kde_libraries=$ac_kde_libraries" + AC_MSG_RESULT([libraries $ac_kde_libraries, headers $ac_kde_includes]) + + kde_libraries="$ac_kde_libraries" + kde_includes="$ac_kde_includes" +fi +AC_SUBST(kde_libraries) +AC_SUBST(kde_includes) + +if test "$kde_includes" = "$x_includes" || test "$kde_includes" = "$qt_includes" || test "$kde_includes" = "/usr/include"; then + KDE_INCLUDES="" +else + KDE_INCLUDES="-I$kde_includes" + all_includes="$KDE_INCLUDES $all_includes" +fi + +KDE_LDFLAGS="-L$kde_libraries" +if test ! "$kde_libraries" = "$x_libraries" && test ! "$kde_libraries" = "$qt_libraries" ; then + all_libraries="$all_libraries $KDE_LDFLAGS" +fi + +AC_SUBST(KDE_LDFLAGS) +AC_SUBST(KDE_INCLUDES) + +AC_REQUIRE([KDE_CHECK_EXTRA_LIBS]) + +all_libraries="$all_libraries $USER_LDFLAGS" +all_includes="$all_includes $USER_INCLUDES" +AC_SUBST(all_includes) +AC_SUBST(all_libraries) + +if test -z "$1"; then +KDE_CHECK_UIC_PLUGINS +fi + +ac_kde_libraries="$kde_libdir" + +AC_SUBST(AUTODIRS) + + +]) + +AC_DEFUN(KDE_CHECK_EXTRA_LIBS, +[ +AC_MSG_CHECKING(for extra includes) +AC_ARG_WITH(extra-includes, [ --with-extra-includes=DIR + adds non standard include paths], + kde_use_extra_includes="$withval", + kde_use_extra_includes=NONE +) +kde_extra_includes= +if test -n "$kde_use_extra_includes" && \ + test "$kde_use_extra_includes" != "NONE"; then + + ac_save_ifs=$IFS + IFS=':' + for dir in $kde_use_extra_includes; do + kde_extra_includes="$kde_extra_includes $dir" + USER_INCLUDES="$USER_INCLUDES -I$dir" + done + IFS=$ac_save_ifs + kde_use_extra_includes="added" +else + kde_use_extra_includes="no" +fi +AC_SUBST(USER_INCLUDES) + +AC_MSG_RESULT($kde_use_extra_includes) + +kde_extra_libs= +AC_MSG_CHECKING(for extra libs) +AC_ARG_WITH(extra-libs, [ --with-extra-libs=DIR adds non standard library paths], + kde_use_extra_libs=$withval, + kde_use_extra_libs=NONE +) +if test -n "$kde_use_extra_libs" && \ + test "$kde_use_extra_libs" != "NONE"; then + + ac_save_ifs=$IFS + IFS=':' + for dir in $kde_use_extra_libs; do + kde_extra_libs="$kde_extra_libs $dir" + KDE_EXTRA_RPATH="$KDE_EXTRA_RPATH -R $dir" + USER_LDFLAGS="$USER_LDFLAGS -L$dir" + done + IFS=$ac_save_ifs + kde_use_extra_libs="added" +else + kde_use_extra_libs="no" +fi + +AC_SUBST(USER_LDFLAGS) + +AC_MSG_RESULT($kde_use_extra_libs) + +]) + +AC_DEFUN(KDE_1_CHECK_PATH_HEADERS, +[ + AC_MSG_CHECKING([for KDE headers installed]) + AC_LANG_SAVE + AC_LANG_CPLUSPLUS +cat > conftest.$ac_ext < +#endif +#include +#include "confdefs.h" +#include + +int main() { + printf("kde_htmldir=\\"%s\\"\n", KApplication::kde_htmldir().data()); + printf("kde_appsdir=\\"%s\\"\n", KApplication::kde_appsdir().data()); + printf("kde_icondir=\\"%s\\"\n", KApplication::kde_icondir().data()); + printf("kde_sounddir=\\"%s\\"\n", KApplication::kde_sounddir().data()); + printf("kde_datadir=\\"%s\\"\n", KApplication::kde_datadir().data()); + printf("kde_locale=\\"%s\\"\n", KApplication::kde_localedir().data()); + printf("kde_cgidir=\\"%s\\"\n", KApplication::kde_cgidir().data()); + printf("kde_confdir=\\"%s\\"\n", KApplication::kde_configdir().data()); + printf("kde_mimedir=\\"%s\\"\n", KApplication::kde_mimedir().data()); + printf("kde_toolbardir=\\"%s\\"\n", KApplication::kde_toolbardir().data()); + printf("kde_wallpaperdir=\\"%s\\"\n", + KApplication::kde_wallpaperdir().data()); + printf("kde_bindir=\\"%s\\"\n", KApplication::kde_bindir().data()); + printf("kde_partsdir=\\"%s\\"\n", KApplication::kde_partsdir().data()); + printf("kde_servicesdir=\\"/tmp/dummy\\"\n"); + printf("kde_servicetypesdir=\\"/tmp/dummy\\"\n"); + printf("kde_moduledir=\\"/tmp/dummy\\"\n"); + printf("kde_styledir=\\"/tmp/dummy\\"\n"); + printf("kde_widgetdir=\\"/tmp/dummy\\"\n"); + return 0; + } +EOF + + ac_compile='${CXX-g++} -c $CXXFLAGS $all_includes $CPPFLAGS conftest.$ac_ext' + if AC_TRY_EVAL(ac_compile); then + AC_MSG_RESULT(yes) + else + AC_MSG_ERROR([your system is not able to compile a small KDE application! +Check, if you installed the KDE header files correctly. +For more details about this problem, look at the end of config.log.]) + fi + + AC_LANG_RESTORE +]) + +AC_DEFUN(KDE_CHECK_KDEQTADDON, +[ +AC_MSG_CHECKING(for kde-qt-addon) +AC_CACHE_VAL(kde_cv_have_kdeqtaddon, +[ + kde_ldflags_safe="$LDFLAGS" + kde_libs_safe="$LIBS" + kde_cxxflags_safe="$CXXFLAGS" + + LIBS="-lkde-qt-addon $LIBQT $LIBS" + CXXFLAGS="$CXXFLAGS -I$prefix/include -I$prefix/include/kde $all_includes" + LDFLAGS="$LDFLAGS $all_libraries $USER_LDFLAGS" + + AC_TRY_LINK([ + #include + ], + [ + QDomDocument doc; + ], + kde_cv_have_kdeqtaddon=yes, + kde_cv_have_kdeqtaddon=no + ) + + LDFLAGS=$kde_ldflags_safe + LIBS=$kde_libs_safe + CXXFLAGS=$kde_cxxflags_safe +]) + +AC_MSG_RESULT($kde_cv_have_kdeqtaddon) + +if test "$kde_cv_have_kdeqtaddon" = "no"; then + AC_MSG_ERROR([Can't find libkde-qt-addon. You need to install it first. +It is a separate package (and CVS module) named kde-qt-addon.]) +fi +]) + +AC_DEFUN(KDE_CHECK_KIMGIO, +[ + AC_REQUIRE([AC_BASE_PATH_KDE]) + AC_REQUIRE([KDE_CHECK_EXTRA_LIBS]) + AC_REQUIRE([AC_FIND_TIFF]) + AC_REQUIRE([AC_FIND_JPEG]) + AC_REQUIRE([AC_FIND_PNG]) + AC_REQUIRE([KDE_CREATE_LIBS_ALIASES]) + + if test "$1" = "existance"; then + AC_LANG_SAVE + AC_LANG_CPLUSPLUS + kde_save_LIBS="$LIBS" + LIBS="$LIBS $all_libraries $LIBJPEG $LIBTIFF $LIBPNG $LIBQT -lm" + AC_CHECK_LIB(kimgio, kimgioRegister, [ + LIBKIMGIO_EXISTS=yes],LIBKIMGIO_EXISTS=no) + LIBS="$kde_save_LIBS" + AC_LANG_RESTORE + else + LIBKIMGIO_EXISTS=yes + fi + + if test "$LIBKIMGIO_EXISTS" = "yes"; then + LIB_KIMGIO='-lkimgio' + else + LIB_KIMGIO='' + fi + AC_SUBST(LIB_KIMGIO) +]) + +AC_DEFUN(KDE_CREATE_LIBS_ALIASES, +[ + AC_REQUIRE([KDE_MISC_TESTS]) + AC_REQUIRE([KDE_CHECK_LIBDL]) + AC_REQUIRE([K_PATH_X]) + +if test $kde_qtver = 3; then + AC_SUBST(LIB_KDECORE, "-lkdecore") + AC_SUBST(LIB_KDEUI, "-lkdeui") + AC_SUBST(LIB_KIO, "-lkio") + AC_SUBST(LIB_SMB, "-lsmb") + AC_SUBST(LIB_KAB, "-lkab") + AC_SUBST(LIB_KABC, "-lkabc") + AC_SUBST(LIB_KHTML, "-lkhtml") + AC_SUBST(LIB_KSPELL, "-lkspell") + AC_SUBST(LIB_KPARTS, "-lkparts") + AC_SUBST(LIB_KDEPRINT, "-lkdeprint") +# these are for backward compatibility + AC_SUBST(LIB_KSYCOCA, "-lkio") + AC_SUBST(LIB_KFILE, "-lkio") +elif test $kde_qtver = 2; then + AC_SUBST(LIB_KDECORE, "-lkdecore") + AC_SUBST(LIB_KDEUI, "-lkdeui") + AC_SUBST(LIB_KIO, "-lkio") + AC_SUBST(LIB_KSYCOCA, "-lksycoca") + AC_SUBST(LIB_SMB, "-lsmb") + AC_SUBST(LIB_KFILE, "-lkfile") + AC_SUBST(LIB_KAB, "-lkab") + AC_SUBST(LIB_KHTML, "-lkhtml") + AC_SUBST(LIB_KSPELL, "-lkspell") + AC_SUBST(LIB_KPARTS, "-lkparts") + AC_SUBST(LIB_KDEPRINT, "-lkdeprint") +else + AC_SUBST(LIB_KDECORE, "-lkdecore -lXext $(LIB_QT)") + AC_SUBST(LIB_KDEUI, "-lkdeui $(LIB_KDECORE)") + AC_SUBST(LIB_KFM, "-lkfm $(LIB_KDECORE)") + AC_SUBST(LIB_KFILE, "-lkfile $(LIB_KFM) $(LIB_KDEUI)") + AC_SUBST(LIB_KAB, "-lkab $(LIB_KIMGIO) $(LIB_KDECORE)") +fi +]) + +AC_DEFUN(AC_PATH_KDE, +[ + AC_BASE_PATH_KDE + AC_ARG_ENABLE(path-check, [ --disable-path-check don't try to find out, where to install], + [ + if test "$enableval" = "no"; + then ac_use_path_checking="default" + else ac_use_path_checking="" + fi + ], + [ + if test "$kde_qtver" = 1; + then ac_use_path_checking="" + else ac_use_path_checking="default" + fi + ] + ) + + AC_CREATE_KFSSTND($ac_use_path_checking) + + AC_SUBST_KFSSTND + KDE_CREATE_LIBS_ALIASES +]) + +dnl KDE_CHECK_FUNC_EXT(, [headers], [sample-use], [C prototype], [autoheader define], [call if found]) +AC_DEFUN(KDE_CHECK_FUNC_EXT, +[ +AC_MSG_CHECKING(for $1) +AC_CACHE_VAL(kde_cv_func_$1, +[ +AC_LANG_SAVE +AC_LANG_CPLUSPLUS +save_CXXFLAGS="$CXXFLAGS" +kde_safe_LIBS="$LIBS" +LIBS="$LIBS $X_EXTRA_LIBS" +if test "$GXX" = "yes"; then + CXXFLAGS="$CXXFLAGS -pedantic-errors" +fi +AC_TRY_COMPILE([ +$2 +], +[ +$3 +], +kde_cv_func_$1=yes, +kde_cv_func_$1=no) +CXXFLAGS="$save_CXXFLAGS" +LIBS=$kde_safe_LIBS +AC_LANG_RESTORE +]) + +AC_MSG_RESULT($kde_cv_func_$1) + +AC_MSG_CHECKING([if $1 needs custom prototype]) +AC_CACHE_VAL(kde_cv_proto_$1, +[ +if test "x$kde_cv_func_$1" = xyes; then + kde_cv_proto_$1=no +else + case "$1" in + setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat) + kde_cv_proto_$1="yes - in libkdefakes" + ;; + *) + kde_cv_proto_$1=unknown + ;; + esac +fi + +if test "x$kde_cv_proto_$1" = xunknown; then + +AC_LANG_SAVE +AC_LANG_CPLUSPLUS + kde_safe_libs=$LIBS + LIBS="$LIBS $X_EXTRA_LIBS" + AC_TRY_LINK([ +$2 + +extern "C" $4; +], +[ +$3 +], +[ kde_cv_func_$1=yes + kde_cv_proto_$1=yes ], + [kde_cv_proto_$1="$1 unavailable"] +) +LIBS=$kde_safe_libs +AC_LANG_RESTORE +fi +]) +AC_MSG_RESULT($kde_cv_proto_$1) + +if test "x$kde_cv_func_$1" = xyes; then + AC_DEFINE(HAVE_$5, 1, [Define if you have $1]) + $6 +fi +if test "x$kde_cv_proto_$1" = xno; then + AC_DEFINE(HAVE_$5_PROTO, 1, + [Define if you have the $1 prototype]) +fi + +AH_VERBATIM([_HAVE_$5_PROTO], +[ +#if !defined(HAVE_$5_PROTO) +#ifdef __cplusplus +extern "C" +#endif +$4; +#endif +]) +]) + +AC_DEFUN(AC_CHECK_SETENV, +[ + KDE_CHECK_FUNC_EXT(setenv, [ +#include +], + [setenv("VAR", "VALUE", 1);], + [int setenv (const char *, const char *, int)], + [SETENV]) +]) + +AC_DEFUN(AC_CHECK_UNSETENV, +[ + KDE_CHECK_FUNC_EXT(unsetenv, [ +#include +], + [unsetenv("VAR");], + [void unsetenv (const char *)], + [UNSETENV]) +]) + +AC_DEFUN(AC_CHECK_GETDOMAINNAME, +[ + KDE_CHECK_FUNC_EXT(getdomainname, [ +#include +#include +], + [ +char buffer[200]; +getdomainname(buffer, 200); +], + [int getdomainname (char *, unsigned int)], + [GETDOMAINNAME]) +]) + +AC_DEFUN(AC_CHECK_GETHOSTNAME, +[ + KDE_CHECK_FUNC_EXT(gethostname, [ +#include +#include +], + [ +char buffer[200]; +gethostname(buffer, 200); +], + [int gethostname (char *, unsigned int)], + [GETHOSTNAME]) +]) + +AC_DEFUN(AC_CHECK_USLEEP, +[ + KDE_CHECK_FUNC_EXT(usleep, [ +#include +], + [ +usleep(200); +], + [int usleep (unsigned int)], + [USLEEP]) +]) + + +AC_DEFUN(AC_CHECK_RANDOM, +[ + KDE_CHECK_FUNC_EXT(random, [ +#include +], + [ +random(); +], + [long int random(void)], + [RANDOM]) + + KDE_CHECK_FUNC_EXT(srandom, [ +#include +], + [ +srandom(27); +], + [void srandom(unsigned int)], + [SRANDOM]) + +]) + +AC_DEFUN(AC_CHECK_INITGROUPS, +[ + KDE_CHECK_FUNC_EXT(initgroups, [ +#include +#include +#include +], + [ +char buffer[200]; +initgroups(buffer, 27); +], + [int initgroups(const char *, gid_t)], + [INITGROUPS]) +]) + +AC_DEFUN(AC_CHECK_MKSTEMP, +[ + KDE_CHECK_FUNC_EXT(mkstemp, [ +#include +], + [ +mkstemp("/tmp/aaaXXXXXX"); +], + [int mkstemp(char *)], + [MKSTEMP]) +]) + +AC_DEFUN(AC_CHECK_MKSTEMPS, +[ + KDE_CHECK_FUNC_EXT(mkstemps, [ +#include +#include +], + [ +mkstemps("/tmp/aaaXXXXXX", 6); +], + [int mkstemps(char *, int)], + [MKSTEMPS]) +]) + +AC_DEFUN(AC_CHECK_RES_INIT, +[ + AC_MSG_CHECKING([if res_init needs -lresolv]) + kde_libs_safe="$LIBS" + LIBS="$LIBS $X_EXTRA_LIBS -lresolv" + AC_TRY_LINK( + [ +#include +#include +#include +#include + ], + [ + res_init(); + ], + [ + LIBRESOLV="-lresolv" + AC_MSG_RESULT(yes) + AC_DEFINE(HAVE_RES_INIT, 1, [Define if you have the res_init function]) + ], + [ AC_MSG_RESULT(no) ] + ) + LIBS="$kde_libs_safe" + AC_SUBST(LIBRESOLV) + + AC_MSG_CHECKING([if res_init is available]) + AC_TRY_COMPILE( + [ +#include +#include +#include +#include + ], + [ + res_init(); + ], + [ + AC_MSG_RESULT(yes) + AC_DEFINE(HAVE_RES_INIT, 1, [Define if you have the res_init function]) + ], + [ AC_MSG_RESULT(no) ] + ) +]) + +AC_DEFUN(AC_CHECK_STRLCPY, +[ + KDE_CHECK_FUNC_EXT(strlcpy, [ +#include +], +[ char buf[20]; + strlcpy(buf, "KDE function test", sizeof(buf)); +], + [unsigned long strlcpy(char*, const char*, unsigned long)], + [STRLCPY]) +]) + +AC_DEFUN(AC_CHECK_STRLCAT, +[ + KDE_CHECK_FUNC_EXT(strlcat, [ +#include +], +[ char buf[20]; + buf[0]='\0'; + strlcat(buf, "KDE function test", sizeof(buf)); +], + [unsigned long strlcat(char*, const char*, unsigned long)], + [STRLCAT]) +]) + +AC_DEFUN(AC_FIND_GIF, + [AC_MSG_CHECKING([for giflib]) +AC_CACHE_VAL(ac_cv_lib_gif, +[ac_save_LIBS="$LIBS" +if test "x$kde_use_qt_emb" != "xyes"; then +LIBS="$all_libraries -lgif -lX11 $LIBSOCKET" +else +LIBS="$all_libraries -lgif" +fi +AC_TRY_LINK(dnl +[ +#ifdef __cplusplus +extern "C" { +#endif +int GifLastError(void); +#ifdef __cplusplus +} +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +], + [return GifLastError();], + eval "ac_cv_lib_gif=yes", + eval "ac_cv_lib_gif=no") +LIBS="$ac_save_LIBS" +])dnl +if eval "test \"`echo $ac_cv_lib_gif`\" = yes"; then + AC_MSG_RESULT(yes) + AC_DEFINE_UNQUOTED(HAVE_LIBGIF, 1, [Define if you have libgif]) +else + AC_MSG_ERROR(You need giflib30. Please install the kdesupport package) +fi +]) + +AC_DEFUN(KDE_FIND_JPEG_HELPER, +[ +AC_MSG_CHECKING([for libjpeg$2]) +AC_CACHE_VAL(ac_cv_lib_jpeg_$1, +[ +AC_LANG_C +ac_save_LIBS="$LIBS" +LIBS="$all_libraries $USER_LDFLAGS -ljpeg$2 -lm" +ac_save_CFLAGS="$CFLAGS" +CFLAGS="$CFLAGS $all_includes $USER_INCLUDES" +AC_TRY_LINK( +[/* Override any gcc2 internal prototype to avoid an error. */ +struct jpeg_decompress_struct; +typedef struct jpeg_decompress_struct * j_decompress_ptr; +typedef int size_t; +#ifdef __cplusplus +extern "C" { +#endif + void jpeg_CreateDecompress(j_decompress_ptr cinfo, + int version, size_t structsize); +#ifdef __cplusplus +} +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +], + [jpeg_CreateDecompress(0L, 0, 0);], + eval "ac_cv_lib_jpeg_$1=-ljpeg$2", + eval "ac_cv_lib_jpeg_$1=no") +LIBS="$ac_save_LIBS" +CFLAGS="$ac_save_CFLAGS" +]) + +if eval "test ! \"`echo $ac_cv_lib_jpeg_$1`\" = no"; then + LIBJPEG="$ac_cv_lib_jpeg_$1" + AC_MSG_RESULT($ac_cv_lib_jpeg_$1) +else + AC_MSG_RESULT(no) + $3 +fi + +]) + +AC_DEFUN(AC_FIND_JPEG, +[ +dnl first look for libraries +KDE_FIND_JPEG_HELPER(6b, 6b, + KDE_FIND_JPEG_HELPER(normal, [], + [ + LIBJPEG= + ] + ) +) + +dnl then search the headers (can't use simply AC_TRY_xxx, as jpeglib.h +dnl requires system dependent includes loaded before it) +jpeg_incdirs="$includedir /usr/include /usr/local/include $kde_extra_includes" +AC_FIND_FILE(jpeglib.h, $jpeg_incdirs, jpeg_incdir) +test "x$jpeg_incdir" = xNO && jpeg_incdir= + +dnl if headers _and_ libraries are missing, this is no error, and we +dnl continue with a warning (the user will get no jpeg support in khtml) +dnl if only one is missing, it means a configuration error, but we still +dnl only warn +if test -n "$jpeg_incdir" && test -n "$LIBJPEG" ; then + AC_DEFINE_UNQUOTED(HAVE_LIBJPEG, 1, [Define if you have libjpeg]) +else + if test -n "$jpeg_incdir" || test -n "$LIBJPEG" ; then + AC_MSG_WARN([ +There is an installation error in jpeg support. You seem to have only one +of either the headers _or_ the libraries installed. You may need to either +provide correct --with-extra-... options, or the development package of +libjpeg6b. You can get a source package of libjpeg from http://www.ijg.org/ +Disabling JPEG support. +]) + else + AC_MSG_WARN([libjpeg not found. disable JPEG support.]) + fi + jpeg_incdir= + LIBJPEG= +fi + +AC_SUBST(LIBJPEG) +AH_VERBATIM(_AC_CHECK_JPEG, +[/* + * jpeg.h needs HAVE_BOOLEAN, when the system uses boolean in system + * headers and I'm too lazy to write a configure test as long as only + * unixware is related + */ +#ifdef _UNIXWARE +#define HAVE_BOOLEAN +#endif +]) +]) + +AC_DEFUN(KDE_CHECK_QT_JPEG, +[ +AC_MSG_CHECKING([if Qt needs $LIBJPEG]) +AC_CACHE_VAL(kde_cv_qt_jpeg, +[ +AC_LANG_SAVE +AC_LANG_CPLUSPLUS +ac_save_LIBS="$LIBS" +LIBS="$all_libraries $USER_LDFLAGS $LIBQT" +LIBS=`echo $LIBS | sed "s/$LIBJPEG//"` +ac_save_CXXFLAGS="$CXXFLAGS" +CXXFLAGS="$CXXFLAGS $all_includes $USER_INCLUDES" +AC_TRY_LINK( +[#include ], + [ + int argc; + char** argv; + QApplication app(argc, argv);], + eval "kde_cv_qt_jpeg=no", + eval "kde_cv_qt_jpeg=yes") +LIBS="$ac_save_LIBS" +CXXFLAGS="$ac_save_CXXFLAGS" +AC_LANG_RESTORE +]) + +if eval "test ! \"`echo $kde_cv_qt_jpeg`\" = no"; then + AC_MSG_RESULT(yes) + LIBJPEG_QT='$(LIBJPEG)' +else + AC_MSG_RESULT(no) + LIBJPEG_QT= +fi + +]) + +AC_DEFUN(AC_FIND_ZLIB, +[ +AC_REQUIRE([KDE_CHECK_EXTRA_LIBS]) +AC_MSG_CHECKING([for libz]) +AC_CACHE_VAL(ac_cv_lib_z, +[ +AC_LANG_C +kde_save_LIBS="$LIBS" +LIBS="$all_libraries $USER_LDFLAGS -lz $LIBSOCKET" +kde_save_CFLAGS="$CFLAGS" +CFLAGS="$CFLAGS $all_includes $USER_INCLUDES" +AC_TRY_LINK(dnl +[ +#include +], + [return (zlibVersion() == ZLIB_VERSION); ], + eval "ac_cv_lib_z='-lz'", + eval "ac_cv_lib_z=no") +LIBS="$kde_save_LIBS" +CFLAGS="$kde_save_CFLAGS" +])dnl +if test ! "$ac_cv_lib_z" = no; then + AC_DEFINE_UNQUOTED(HAVE_LIBZ, 1, [Define if you have libz]) + LIBZ="$ac_cv_lib_z" + AC_SUBST(LIBZ) + AC_MSG_RESULT($ac_cv_lib_z) +else + AC_MSG_ERROR(not found. Check your installation and look into config.log) + LIBZ="" + AC_SUBST(LIBZ) +fi +]) + +AC_DEFUN(KDE_TRY_TIFFLIB, +[ +AC_MSG_CHECKING([for libtiff $1]) + +AC_CACHE_VAL(kde_cv_libtiff_$1, +[ +AC_LANG_SAVE +AC_LANG_CPLUSPLUS +kde_save_LIBS="$LIBS" +if test "x$kde_use_qt_emb" != "xyes"; then +LIBS="$all_libraries $USER_LDFLAGS -l$1 $LIBJPEG $LIBZ -lX11 $LIBSOCKET -lm" +else +LIBS="$all_libraries $USER_LDFLAGS -l$1 $LIBJPEG $LIBZ -lm" +fi +kde_save_CXXFLAGS="$CXXFLAGS" +CXXFLAGS="$CXXFLAGS $all_includes $USER_INCLUDES" + +AC_TRY_LINK(dnl +[ +#include +], + [return (TIFFOpen( "", "r") == 0); ], +[ + kde_cv_libtiff_$1="-l$1 $LIBJPEG $LIBZ" +], [ + kde_cv_libtiff_$1=no +]) + +LIBS="$kde_save_LIBS" +CXXFLAGS="$kde_save_CXXFLAGS" +AC_LANG_RESTORE +]) + +if test "$kde_cv_libtiff_$1" = "no"; then + AC_MSG_RESULT(no) + LIBTIFF="" + $3 +else + LIBTIFF="$kde_cv_libtiff_$1" + AC_MSG_RESULT(yes) + AC_DEFINE_UNQUOTED(HAVE_LIBTIFF, 1, [Define if you have libtiff]) + $2 +fi + +]) + +AC_DEFUN(AC_FIND_TIFF, +[ +AC_REQUIRE([K_PATH_X]) +AC_REQUIRE([AC_FIND_ZLIB]) +AC_REQUIRE([AC_FIND_JPEG]) +AC_REQUIRE([KDE_CHECK_EXTRA_LIBS]) + +KDE_TRY_TIFFLIB(tiff, [], + KDE_TRY_TIFFLIB(tiff34)) + +AC_SUBST(LIBTIFF) +]) + + +AC_DEFUN(AC_FIND_PNG, +[ +AC_REQUIRE([KDE_CHECK_EXTRA_LIBS]) +AC_REQUIRE([AC_FIND_ZLIB]) +AC_MSG_CHECKING([for libpng]) +AC_CACHE_VAL(ac_cv_lib_png, +[ +kde_save_LIBS="$LIBS" +if test "x$kde_use_qt_emb" != "xyes"; then +LIBS="$LIBS $all_libraries $USER_LDFLAGS -lpng $LIBZ -lm -lX11 $LIBSOCKET" +else +LIBS="$LIBS $all_libraries $USER_LDFLAGS -lpng $LIBZ -lm" +fi +kde_save_CFLAGS="$CFLAGS" +CFLAGS="$CFLAGS $all_includes $USER_INCLUDES" +AC_LANG_C +AC_TRY_LINK(dnl + [ + #include + ], + [ + png_structp png_ptr = png_create_read_struct( /* image ptr */ + PNG_LIBPNG_VER_STRING, 0, 0, 0 ); + return( png_ptr != 0 ); + ], + eval "ac_cv_lib_png='-lpng $LIBZ -lm'", + eval "ac_cv_lib_png=no" +) +LIBS="$kde_save_LIBS" +CFLAGS="$kde_save_CFLAGS" +])dnl +if eval "test ! \"`echo $ac_cv_lib_png`\" = no"; then + AC_DEFINE_UNQUOTED(HAVE_LIBPNG, 1, [Define if you have libpng]) + LIBPNG="$ac_cv_lib_png" + AC_SUBST(LIBPNG) + AC_MSG_RESULT($ac_cv_lib_png) +else + AC_MSG_RESULT(no) + LIBPNG="" + AC_SUBST(LIBPNG) +fi +]) + +AC_DEFUN(AC_CHECK_BOOL, +[ + AC_DEFINE_UNQUOTED(HAVE_BOOL, 1, [You _must_ have bool]) +]) + +AC_DEFUN(AC_CHECK_GNU_EXTENSIONS, +[ +AC_MSG_CHECKING(if you need GNU extensions) +AC_CACHE_VAL(ac_cv_gnu_extensions, +[ +cat > conftest.c << EOF +#include + +#ifdef __GNU_LIBRARY__ +yes +#endif +EOF + +if (eval "$ac_cpp conftest.c") 2>&5 | + egrep "yes" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_gnu_extensions=yes +else + ac_cv_gnu_extensions=no +fi +]) + +AC_MSG_RESULT($ac_cv_gnu_extensions) +if test "$ac_cv_gnu_extensions" = "yes"; then + AC_DEFINE_UNQUOTED(_GNU_SOURCE, 1, [Define if you need to use the GNU extensions]) +fi +]) + +AC_DEFUN(KDE_CHECK_COMPILER_FLAG, +[ +AC_MSG_CHECKING(whether $CXX supports -$1) +kde_cache=`echo $1 | sed 'y% .=/+-%____p_%'` +AC_CACHE_VAL(kde_cv_prog_cxx_$kde_cache, +[ + AC_LANG_SAVE + AC_LANG_CPLUSPLUS + save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS="$CXXFLAGS -$1" + AC_TRY_LINK([],[ return 0; ], [eval "kde_cv_prog_cxx_$kde_cache=yes"], []) + CXXFLAGS="$save_CXXFLAGS" + AC_LANG_RESTORE +]) +if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then + AC_MSG_RESULT(yes) + : + $2 +else + AC_MSG_RESULT(no) + : + $3 +fi +]) + +dnl AC_REMOVE_FORBIDDEN removes forbidden arguments from variables +dnl use: AC_REMOVE_FORBIDDEN(CC, [-forbid -bad-option whatever]) +dnl it's all white-space separated +AC_DEFUN(AC_REMOVE_FORBIDDEN, +[ __val=$$1 + __forbid=" $2 " + if test -n "$__val"; then + __new="" + ac_save_IFS=$IFS + IFS=" " + for i in $__val; do + case "$__forbid" in + *" $i "*) AC_MSG_WARN([found forbidden $i in $1, removing it]) ;; + *) # Careful to not add spaces, where there were none, because otherwise + # libtool gets confused, if we change e.g. CXX + if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;; + esac + done + IFS=$ac_save_IFS + $1=$__new + fi +]) + +dnl AC_VALIDIFY_CXXFLAGS checks for forbidden flags the user may have given +AC_DEFUN(AC_VALIDIFY_CXXFLAGS, +[dnl +if test "x$kde_use_qt_emb" != "xyes"; then + AC_REMOVE_FORBIDDEN(CXX, [-fno-rtti -rpath]) + AC_REMOVE_FORBIDDEN(CXXFLAGS, [-fno-rtti -rpath]) +else + AC_REMOVE_FORBIDDEN(CXX, [-rpath]) + AC_REMOVE_FORBIDDEN(CXXFLAGS, [-rpath]) +fi +]) + +AC_DEFUN(AC_CHECK_COMPILERS, +[ + AC_ARG_ENABLE(debug,[ --enable-debug[=ARG] enables debug symbols (yes|no|full) [default=no]], + [ + case $enableval in + yes) + kde_use_debug_code="yes" + kde_use_debug_define=no + ;; + full) + kde_use_debug_code="full" + kde_use_debug_define=no + ;; + *) + kde_use_debug_code="no" + kde_use_debug_define=yes + ;; + esac + ], + [kde_use_debug_code="no" + kde_use_debug_define=no + ]) + + dnl Just for configure --help + AC_ARG_ENABLE(dummyoption,[ --disable-debug disables debug output and debug symbols [default=no]],[],[]) + + AC_ARG_ENABLE(strict,[ --enable-strict compiles with strict compiler options (may not work!)], + [ + if test $enableval = "no"; then + kde_use_strict_options="no" + else + kde_use_strict_options="yes" + fi + ], [kde_use_strict_options="no"]) + + AC_ARG_ENABLE(warnings,[ --disable-warnings disables compilation with -Wall and similiar], + [ + if test $enableval = "no"; then + kde_use_warnings="no" + else + kde_use_warnings="yes" + fi + ], [kde_use_warnings="yes"]) + + dnl enable warnings for debug build + if test "$kde_use_debug_code" != "no"; then + kde_use_warnings=yes + fi + + AC_ARG_ENABLE(profile,[ --enable-profile creates profiling infos [default=no]], + [kde_use_profiling=$enableval], + [kde_use_profiling="no"] + ) + + AC_ARG_ENABLE(gcov,[ --enable-gcov enables gcov test coverage support [default=no]], + [kde_use_gcov=$enableval], + [kde_use_gcov=no] + ) + + dnl this prevents stupid AC_PROG_CC to add "-g" to the default CFLAGS + CFLAGS=" $CFLAGS" + + AC_PROG_CC + + AC_PROG_CPP + + if test "$GCC" = "yes"; then + if test "$kde_use_debug_code" != "no"; then + if test $kde_use_debug_code = "full" || test $kde_use_gcov = "yes"; then + CFLAGS="-g3 $CFLAGS" + else + CFLAGS="-g -O2 $CFLAGS" + fi + else + CFLAGS="-O2 $CFLAGS" + fi + fi + + if test "$kde_use_debug_define" = "yes"; then + CFLAGS="-DNDEBUG $CFLAGS" + fi + + + case "$host" in + *-*-sysv4.2uw*) CFLAGS="-D_UNIXWARE $CFLAGS";; + *-*-sysv5uw7*) CFLAGS="-D_UNIXWARE7 $CFLAGS";; + esac + + if test -z "$LDFLAGS" && test "$kde_use_debug_code" = "no" && test "$GCC" = "yes"; then + LDFLAGS="" + fi + + CXXFLAGS=" $CXXFLAGS" + + AC_PROG_CXX + + if test "$GXX" = "yes" || test "$CXX" = "KCC"; then + if test "$kde_use_debug_code" != "no"; then + if test "$CXX" = "KCC"; then + CXXFLAGS="+K0 -Wall -pedantic -W -Wpointer-arith -Wwrite-strings $CXXFLAGS" + else + if test "$kde_use_debug_code" = "full"; then + CXXFLAGS="-g3 $CXXFLAGS" + else + CXXFLAGS="-g -O2 $CXXFLAGS" + fi + fi + KDE_CHECK_COMPILER_FLAG(fno-builtin,[CXXFLAGS="-fno-builtin $CXXFLAGS"]) + + dnl convenience compiler flags + KDE_CHECK_COMPILER_FLAG(Woverloaded-virtual, [WOVERLOADED_VIRTUAL="-Woverloaded-virtual"], [WOVERLOADED_VRITUAL=""]) + AC_SUBST(WOVERLOADED_VIRTUAL) + else + if test "$CXX" = "KCC"; then + CXXFLAGS="+K3 $CXXFLAGS" + else + CXXFLAGS="-O2 $CXXFLAGS" + fi + fi + fi + + if test "$kde_use_debug_define" = "yes"; then + CXXFLAGS="-DNDEBUG -DNO_DEBUG $CXXFLAGS" + fi + + if test "$kde_use_profiling" = "yes"; then + KDE_CHECK_COMPILER_FLAG(pg, + [ + CFLAGS="-pg $CFLAGS" + CXXFLAGS="-pg $CXXFLAGS" + ]) + fi + + if test "$kde_use_gcov" = "yes"; then + KDE_CHECK_COMPILER_FLAG(fprofile-arcs, + [ + CFLAGS="-fprofile-arcs -ftest-coverage $CFLAGS" + CXXFLAGS="-fprofile-arcs -ftest-coverage $CXXFLAGS" + ]) + fi + + if test "$kde_use_warnings" = "yes"; then + if test "$GCC" = "yes"; then + case $host in + *-*-linux-gnu) + CFLAGS="-ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS" + CXXFLAGS="-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion $CXXFLAGS" + ;; + esac + CXXFLAGS="-Wall -pedantic -W -Wpointer-arith -Wwrite-strings $CXXFLAGS" + KDE_CHECK_COMPILER_FLAG(Wundef,[CXXFLAGS="-Wundef $CXXFLAGS"]) + KDE_CHECK_COMPILER_FLAG(Wno-long-long,[CXXFLAGS="-Wno-long-long $CXXFLAGS"]) + KDE_CHECK_COMPILER_FLAG(Wnon-virtual-dtor,[CXXFLAGS="-Wnon-virtual-dtor $CXXFLAGS"]) + fi + fi + + if test "$GCC" = "yes" && test "$kde_use_strict_options" = "yes"; then + CXXFLAGS="-Wcast-qual -Wshadow -Wcast-align $CXXFLAGS" + fi + + if test "$GXX" = "yes"; then + KDE_CHECK_COMPILER_FLAG(fno-exceptions,[CXXFLAGS="$CXXFLAGS -fno-exceptions"]) + KDE_CHECK_COMPILER_FLAG(fno-check-new, [CXXFLAGS="$CXXFLAGS -fno-check-new"]) + KDE_CHECK_COMPILER_FLAG(fexceptions, [USE_EXCEPTIONS="-fexceptions"], USE_EXCEPTIONS= ) + fi + if test "$CXX" = "KCC"; then + dnl unfortunately we currently cannot disable exception support in KCC + dnl because doing so is binary incompatible and Qt by default links with exceptions :-( + dnl KDE_CHECK_COMPILER_FLAG(-no_exceptions,[CXXFLAGS="$CXXFLAGS --no_exceptions"]) + dnl KDE_CHECK_COMPILER_FLAG(-exceptions, [USE_EXCEPTIONS="--exceptions"], USE_EXCEPTIONS= ) + + AC_ARG_ENABLE(pch,[ --enable-pch enables precompiled header support (currently only KCC) [default=no]], + [ + kde_use_pch=$enableval + ],[kde_use_pch=no]) + + if test "$kde_use_pch" = "yes"; then + dnl TODO: support --pch-dir! + KDE_CHECK_COMPILER_FLAG(-pch,[CXXFLAGS="$CXXFLAGS --pch"]) + dnl the below works (but the dir must exist), but it's + dnl useless for a whole package. + dnl The are precompiled headers for each source file, so when compiling + dnl from scratch, it doesn't make a difference, and they take up + dnl around ~5Mb _per_ sourcefile. + dnl KDE_CHECK_COMPILER_FLAG(-pch_dir /tmp, + dnl [CXXFLAGS="$CXXFLAGS --pch_dir `pwd`/pcheaders"]) + fi + dnl this flag controls inlining. by default KCC inlines in optimisation mode + dnl all implementations that are defined inside the class {} declaration. + dnl because of templates-compatibility with broken gcc compilers, this + dnl can cause excessive inlining. This flag limits it to a sane level + KDE_CHECK_COMPILER_FLAG(-inline_keyword_space_time=6,[CXXFLAGS="$CXXFLAGS --inline_keyword_space_time=6"]) + KDE_CHECK_COMPILER_FLAG(-inline_auto_space_time=2,[CXXFLAGS="$CXXFLAGS --inline_auto_space_time=2"]) + KDE_CHECK_COMPILER_FLAG(-inline_implicit_space_time=2.0,[CXXFLAGS="$CXXFLAGS --inline_implicit_space_time=2.0"]) + KDE_CHECK_COMPILER_FLAG(-inline_generated_space_time=2.0,[CXXFLAGS="$CXXFLAGS --inline_generated_space_time=2.0"]) + dnl Some source files are shared between multiple executables + dnl (or libraries) and some of those need template instantiations. + dnl In that case KCC needs to compile those sources with + dnl --one_instantiation_per_object. To make it easy for us we compile + dnl _all_ objects with that flag (--one_per is a shorthand). + KDE_CHECK_COMPILER_FLAG(-one_per, [CXXFLAGS="$CXXFLAGS --one_per"]) + fi + AC_SUBST(USE_EXCEPTIONS) + dnl obsolete macro - provided to keep things going + USE_RTTI= + AC_SUBST(USE_RTTI) + + case "$host" in + *-*-irix*) test "$GXX" = yes && CXXFLAGS="-D_LANGUAGE_C_PLUS_PLUS -D__LANGUAGE_C_PLUS_PLUS $CXXFLAGS" ;; + *-*-sysv4.2uw*) CXXFLAGS="-D_UNIXWARE $CXXFLAGS";; + *-*-sysv5uw7*) CXXFLAGS="-D_UNIXWARE7 $CXXFLAGS";; + *-*-solaris*) + if test "$GXX" = yes; then + libstdcpp=`$CXX -print-file-name=libstdc++.so` + if test ! -f $libstdcpp; then + AC_MSG_ERROR([You've compiled gcc without --enable-shared. This doesn't work with KDE. Please recompile gcc with --enable-shared to receive a libstdc++.so]) + fi + fi + ;; + esac + + AC_VALIDIFY_CXXFLAGS + + AC_PROG_CXXCPP + + if test "$GCC" = yes; then + NOOPT_CXXFLAGS=-O0 + NOOPT_CFLAGS=-O0 + fi + + AC_SUBST(NOOPT_CXXFLAGS) + AC_SUBST(NOOPT_CFLAGS) + + KDE_CHECK_FINAL + + ifdef([AM_DEPENDENCIES], AC_REQUIRE([KDE_ADD_DEPENDENCIES]), []) +]) + +AC_DEFUN(KDE_ADD_DEPENDENCIES, +[ + [A]M_DEPENDENCIES(CC) + [A]M_DEPENDENCIES(CXX) +]) + +dnl just a wrapper to clean up configure.in +AC_DEFUN(KDE_PROG_LIBTOOL, +[ +AC_REQUIRE([AC_CHECK_COMPILERS]) +AC_REQUIRE([AC_ENABLE_SHARED]) +AC_REQUIRE([AC_ENABLE_STATIC]) + +AC_REQUIRE([AC_LIBTOOL_DLOPEN]) +AC_REQUIRE([KDE_CHECK_LIB64]) + +AC_LANG_SAVE +AC_LANG_C +AC_OBJEXT +AC_EXEEXT +AC_LANG_RESTORE + +AM_PROG_LIBTOOL +AC_LIBTOOL_CXX + +LIBTOOL_SHELL="/bin/sh ./libtool" +# LIBTOOL="$LIBTOOL --silent" +KDE_PLUGIN="-avoid-version -module -no-undefined \$(KDE_RPATH) \$(KDE_MT_LDFLAGS)" +AC_SUBST(KDE_PLUGIN) + +AC_ARG_ENABLE(objprelink, [ --enable-objprelink prelink apps using objprelink (obsolete)], + kde_use_objprelink=$enableval, kde_use_objprelink=no) + if test "x$kde_use_objprelink" = "xyes"; then + AC_MSG_WARN([ +------------------------------------------------------------ +Configuration option --enable-objprelink is no longer useful. +See http:://objprelink.sourceforge.net for details: +1- Recent binutils are fast enough to do without objprelink. +2- Newer versions of objprelink do not need this option. +------------------------------------------------------------ +]) + fi +]) + +AC_DEFUN(KDE_CHECK_LIB64, +[ + kdelibsuff=none + AC_ARG_ENABLE(libsuffix, + AC_HELP_STRING([--enable-libsuffix], + [/lib directory suffix (64,32,none[=default])]), + kdelibsuff=$enableval) + # TODO: add an auto case that compiles a little C app to check + # where the glibc is + if test "$kdelibsuff" = "none"; then + kdelibsuff= + fi + if test -z "$kdelibsuff"; then + AC_MSG_RESULT([not using lib directory suffix]) + AC_DEFINE(KDELIBSUFF, [""], Suffix for lib directories) + else + if test "$libdir" = '${exec_prefix}/lib'; then + libdir="$libdir${kdelibsuff}" + AC_SUBST([libdir], ["$libdir"]) dnl ugly hack for lib64 platforms + fi + AC_DEFINE_UNQUOTED(KDELIBSUFF, ["\"${kdelibsuff}\""], Suffix for lib directories) + AC_MSG_RESULT([using lib directory suffix $kdelibsuff]) + fi +]) + +AC_DEFUN(KDE_CHECK_TYPES, +[ AC_CHECK_SIZEOF(int, 4)dnl + AC_CHECK_SIZEOF(long, 4)dnl + AC_CHECK_SIZEOF(char *, 4)dnl + AC_CHECK_SIZEOF(char, 1)dnl +])dnl + +AC_DEFUN(KDE_DO_IT_ALL, +[ +AC_CANONICAL_SYSTEM +AC_ARG_PROGRAM +AM_INIT_AUTOMAKE($1, $2) +AM_DISABLE_LIBRARIES +AC_PREFIX_DEFAULT(${KDEDIR:-/usr/local/kde}) +AC_CHECK_COMPILERS +KDE_PROG_LIBTOOL +AM_KDE_WITH_NLS +AC_PATH_KDE +]) + +AC_DEFUN(AC_CHECK_RPATH, +[ +AC_MSG_CHECKING(for rpath) +AC_ARG_ENABLE(rpath, + [ --disable-rpath do not use the rpath feature of ld], + USE_RPATH=$enableval, USE_RPATH=yes) + +if test -z "$KDE_RPATH" && test "$USE_RPATH" = "yes"; then + + KDE_RPATH="-R \$(kde_libraries)" + + if test -n "$qt_libraries"; then + KDE_RPATH="$KDE_RPATH -R \$(qt_libraries)" + fi + dnl $x_libraries is set to /usr/lib in case + if test -n "$X_LDFLAGS"; then + X_RPATH="-R \$(x_libraries)" + KDE_RPATH="$KDE_RPATH $X_RPATH" + fi + if test -n "$KDE_EXTRA_RPATH"; then + KDE_RPATH="$KDE_RPATH \$(KDE_EXTRA_RPATH)" + fi +fi +AC_SUBST(KDE_EXTRA_RPATH) +AC_SUBST(KDE_RPATH) +AC_SUBST(X_RPATH) +AC_MSG_RESULT($USE_RPATH) +]) + +dnl Check for the type of the third argument of getsockname +AC_DEFUN(AC_CHECK_SOCKLEN_T, [ + AC_MSG_CHECKING(for socklen_t) + AC_CACHE_VAL(ac_cv_socklen_t, [ + AC_LANG_SAVE + AC_LANG_CPLUSPLUS + AC_TRY_COMPILE([ +#include +#include + ],[ +socklen_t a=0; +getsockname(0,(struct sockaddr*)0, &a); + ], + ac_cv_socklen_t=socklen_t, + AC_TRY_COMPILE([ +#include +#include + ],[ +int a=0; +getsockname(0,(struct sockaddr*)0, &a); + ], + ac_cv_socklen_t=int, + ac_cv_socklen_t=size_t + ) + ) + AC_LANG_RESTORE + ]) + + AC_MSG_RESULT($ac_cv_socklen_t) + if test "$ac_cv_socklen_t" != "socklen_t"; then + AC_DEFINE_UNQUOTED(socklen_t, $ac_cv_socklen_t, + [Define the real type of socklen_t]) + fi + AC_DEFINE_UNQUOTED(ksize_t, socklen_t, [Compatibility define]) + +]) + +dnl This is a merge of some macros out of the gettext aclocal.m4 +dnl since we don't need anything, I took the things we need +dnl the copyright for them is: +dnl > +dnl Copyright (C) 1994-1998 Free Software Foundation, Inc. +dnl This Makefile.in is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. + +dnl This program is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without +dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A +dnl PARTICULAR PURPOSE. +dnl > +dnl for this file it is relicensed under LGPL + +AC_DEFUN(AM_KDE_WITH_NLS, + [ + dnl If we use NLS figure out what method + + AM_PATH_PROG_WITH_TEST_KDE(MSGFMT, msgfmt, + [test -n "`$ac_dir/$ac_word --version 2>&1 | grep 'GNU gettext'`"], msgfmt) + AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) + + if test -z "`$GMSGFMT --version 2>&1 | grep 'GNU gettext'`"; then + AC_MSG_RESULT([found msgfmt program is not GNU msgfmt; ignore it]) + GMSGFMT=":" + fi + MSGFMT=$GMSGFMT + AC_SUBST(GMSGFMT) + AC_SUBST(MSGFMT) + + AM_PATH_PROG_WITH_TEST_KDE(XGETTEXT, xgettext, + [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) + + dnl Test whether we really found GNU xgettext. + if test "$XGETTEXT" != ":"; then + dnl If it is no GNU xgettext we define it as : so that the + dnl Makefiles still can work. + if $XGETTEXT --omit-header /dev/null 2> /dev/null; then + : ; + else + AC_MSG_RESULT( + [found xgettext programs is not GNU xgettext; ignore it]) + XGETTEXT=":" + fi + fi + AC_SUBST(XGETTEXT) + + ]) + +# Search path for a program which passes the given test. +# Ulrich Drepper , 1996. + +# serial 1 +# Stephan Kulow: I appended a _KDE against name conflicts + +dnl AM_PATH_PROG_WITH_TEST_KDE(VARIABLE, PROG-TO-CHECK-FOR, +dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) +AC_DEFUN(AM_PATH_PROG_WITH_TEST_KDE, +[# Extract the first word of "$2", so it can be a program name with args. +set dummy $2; ac_word=[$]2 +AC_MSG_CHECKING([for $ac_word]) +AC_CACHE_VAL(ac_cv_path_$1, +[case "[$]$1" in + /*) + ac_cv_path_$1="[$]$1" # Let the user override the test with a path. + ;; + *) + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" + for ac_dir in ifelse([$5], , $PATH, [$5]); do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + if [$3]; then + ac_cv_path_$1="$ac_dir/$ac_word" + break + fi + fi + done + IFS="$ac_save_ifs" +dnl If no 4th arg is given, leave the cache variable unset, +dnl so AC_PATH_PROGS will keep looking. +ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" +])dnl + ;; +esac])dnl +$1="$ac_cv_path_$1" +if test -n "[$]$1"; then + AC_MSG_RESULT([$]$1) +else + AC_MSG_RESULT(no) +fi +AC_SUBST($1)dnl +]) + + +# Check whether LC_MESSAGES is available in . +# Ulrich Drepper , 1995. + +# serial 1 + +AC_DEFUN(AM_LC_MESSAGES, + [if test $ac_cv_header_locale_h = yes; then + AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES, + [AC_TRY_LINK([#include ], [return LC_MESSAGES], + am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)]) + if test $am_cv_val_LC_MESSAGES = yes; then + AC_DEFINE(HAVE_LC_MESSAGES, 1, [Define if your locale.h file contains LC_MESSAGES]) + fi + fi]) + +dnl From Jim Meyering. +dnl FIXME: migrate into libit. + +AC_DEFUN([AM_FUNC_OBSTACK], +[AC_CACHE_CHECK([for obstacks], am_cv_func_obstack, + [AC_TRY_LINK([#include "obstack.h"], + [struct obstack *mem;obstack_free(mem,(char *) 0)], + am_cv_func_obstack=yes, + am_cv_func_obstack=no)]) + if test $am_cv_func_obstack = yes; then + AC_DEFINE(HAVE_OBSTACK) + else + LIBOBJS="$LIBOBJS obstack.o" + fi +]) + +dnl From Jim Meyering. Use this if you use the GNU error.[ch]. +dnl FIXME: Migrate into libit + +AC_DEFUN([AM_FUNC_ERROR_AT_LINE], +[AC_CACHE_CHECK([for error_at_line], am_cv_lib_error_at_line, + [AC_TRY_LINK([],[error_at_line(0, 0, "", 0, "");], + am_cv_lib_error_at_line=yes, + am_cv_lib_error_at_line=no)]) + if test $am_cv_lib_error_at_line = no; then + LIBOBJS="$LIBOBJS error.o" + fi + AC_SUBST(LIBOBJS)dnl +]) + +# Macro to add for using GNU gettext. +# Ulrich Drepper , 1995. + +# serial 1 +# Stephan Kulow: I put a KDE in it to avoid name conflicts + +AC_DEFUN(AM_KDE_GNU_GETTEXT, + [AC_REQUIRE([AC_PROG_MAKE_SET])dnl + AC_REQUIRE([AC_PROG_RANLIB])dnl + AC_REQUIRE([AC_HEADER_STDC])dnl + AC_REQUIRE([AC_TYPE_OFF_T])dnl + AC_REQUIRE([AC_TYPE_SIZE_T])dnl + AC_REQUIRE([AC_FUNC_ALLOCA])dnl + AC_REQUIRE([AC_FUNC_MMAP])dnl + AC_REQUIRE([AM_KDE_WITH_NLS])dnl + AC_CHECK_HEADERS([limits.h locale.h nl_types.h string.h values.h alloca.h]) + AC_CHECK_FUNCS([getcwd munmap putenv setlocale strchr strcasecmp \ +__argz_count __argz_stringify __argz_next]) + + AC_MSG_CHECKING(for stpcpy) + AC_CACHE_VAL(kde_cv_func_stpcpy, + [ + kde_safe_cxxflags=$CXXFLAGS + CXXFLAGS="-Werror" + AC_LANG_SAVE + AC_LANG_CPLUSPLUS + AC_TRY_COMPILE([ + #include + ], + [ + char buffer[200]; + stpcpy(buffer, buffer); + ], + kde_cv_func_stpcpy=yes, + kde_cv_func_stpcpy=no) + AC_LANG_RESTORE + CXXFLAGS=$kde_safe_cxxflags + ]) + AC_MSG_RESULT($kde_cv_func_stpcpy) + if eval "test \"`echo $kde_cv_func_stpcpy`\" = yes"; then + AC_DEFINE(HAVE_STPCPY, 1, [Define if you have stpcpy]) + fi + + AM_LC_MESSAGES + + if test "x$CATOBJEXT" != "x"; then + if test "x$ALL_LINGUAS" = "x"; then + LINGUAS= + else + AC_MSG_CHECKING(for catalogs to be installed) + NEW_LINGUAS= + for lang in ${LINGUAS=$ALL_LINGUAS}; do + case "$ALL_LINGUAS" in + *$lang*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;; + esac + done + LINGUAS=$NEW_LINGUAS + AC_MSG_RESULT($LINGUAS) + fi + + dnl Construct list of names of catalog files to be constructed. + if test -n "$LINGUAS"; then + for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done + fi + fi + + ]) + +AC_DEFUN(AC_HAVE_XPM, + [AC_REQUIRE_CPP()dnl + AC_REQUIRE([KDE_CHECK_EXTRA_LIBS]) + + test -z "$XPM_LDFLAGS" && XPM_LDFLAGS= + test -z "$XPM_INCLUDE" && XPM_INCLUDE= + + AC_ARG_WITH(xpm, [ --without-xpm disable color pixmap XPM tests], + xpm_test=$withval, xpm_test="yes") + if test "x$xpm_test" = xno; then + ac_cv_have_xpm=no + else + AC_MSG_CHECKING(for XPM) + AC_CACHE_VAL(ac_cv_have_xpm, + [ + AC_LANG_C + ac_save_ldflags="$LDFLAGS" + ac_save_cflags="$CFLAGS" + if test "x$kde_use_qt_emb" != "xyes"; then + LDFLAGS="$LDFLAGS $X_LDFLAGS $USER_LDFLAGS $LDFLAGS $XPM_LDFLAGS $all_libraries -lXpm -lX11 -lXext $LIBZ $LIBSOCKET" + else + LDFLAGS="$LDFLAGS $X_LDFLAGS $USER_LDFLAGS $LDFLAGS $XPM_LDFLAGS $all_libraries -lXpm $LIBZ $LIBSOCKET" + fi + CFLAGS="$CFLAGS $X_INCLUDES $USER_INCLUDES" + test -n "$XPM_INCLUDE" && CFLAGS="-I$XPM_INCLUDE $CFLAGS" + AC_TRY_LINK([#include ],[], + ac_cv_have_xpm="yes",ac_cv_have_xpm="no") + LDFLAGS="$ac_save_ldflags" + CFLAGS="$ac_save_cflags" + ])dnl + + if test "$ac_cv_have_xpm" = no; then + AC_MSG_RESULT(no) + XPM_LDFLAGS="" + XPMINC="" + $2 + else + AC_DEFINE(HAVE_XPM, 1, [Define if you have XPM support]) + if test "$XPM_LDFLAGS" = ""; then + XPMLIB='-lXpm $(LIB_X11)' + else + XPMLIB="-L$XPM_LDFLAGS -lXpm "'$(LIB_X11)' + fi + if test "$XPM_INCLUDE" = ""; then + XPMINC="" + else + XPMINC="-I$XPM_INCLUDE" + fi + AC_MSG_RESULT(yes) + $1 + fi + fi + AC_SUBST(XPMINC) + AC_SUBST(XPMLIB) +]) + +AC_DEFUN(AC_HAVE_DPMS, + [AC_REQUIRE_CPP()dnl + AC_REQUIRE([KDE_CHECK_EXTRA_LIBS]) + + test -z "$DPMS_LDFLAGS" && DPMS_LDFLAGS= + test -z "$DPMS_INCLUDE" && DPMS_INCLUDE= + DPMS_LIB= + + AC_ARG_WITH(dpms, [ --without-dpms disable DPMS power saving], + dpms_test=$withval, dpms_test="yes") + if test "x$dpms_test" = xno; then + ac_cv_have_dpms=no + else + AC_MSG_CHECKING(for DPMS) + dnl Note: ac_cv_have_dpms can be no, yes, or -lXdpms. + dnl 'yes' means DPMS_LIB="", '-lXdpms' means DPMS_LIB="-lXdpms". + AC_CACHE_VAL(ac_cv_have_dpms, + [ + if test "x$kde_use_qt_emb" = "xyes"; then + AC_MSG_RESULT(no) + ac_cv_have_dpms="no" + else + AC_LANG_C + ac_save_ldflags="$LDFLAGS" + ac_save_cflags="$CFLAGS" + ac_save_libs="$LIBS" + LDFLAGS="$LDFLAGS $DPMS_LDFLAGS $all_libraries -lX11 -lXext $LIBSOCKET" + CFLAGS="$CFLAGS $X_INCLUDES" + test -n "$DPMS_INCLUDE" && CFLAGS="-I$DPMS_INCLUDE $CFLAGS" + AC_TRY_LINK([ + #include + #include + #include + #include + int foo_test_dpms() + { return DPMSSetTimeouts( 0, 0, 0, 0 ); }],[], + ac_cv_have_dpms="yes", [ + LDFLAGS="$ac_save_ldflags" + CFLAGS="$ac_save_cflags" + LDFLAGS="$LDFLAGS $DPMS_LDFLAGS $all_libraries -lX11 -lXext $LIBSOCKET" + LIBS="$LIBS -lXdpms" + CFLAGS="$CFLAGS $X_INCLUDES" + test -n "$DPMS_INCLUDE" && CFLAGS="-I$DPMS_INCLUDE $CFLAGS" + AC_TRY_LINK([ + #include + #include + #include + #include + int foo_test_dpms() + { return DPMSSetTimeouts( 0, 0, 0, 0 ); }],[], + [ + ac_cv_have_dpms="-lXdpms" + ],ac_cv_have_dpms="no") + ]) + LDFLAGS="$ac_save_ldflags" + CFLAGS="$ac_save_cflags" + LIBS="$ac_save_libs" + fi + ])dnl + + if test "$ac_cv_have_dpms" = no; then + AC_MSG_RESULT(no) + DPMS_LDFLAGS="" + DPMSINC="" + $2 + else + AC_DEFINE(HAVE_DPMS, 1, [Define if you have DPMS support]) + if test "$ac_cv_have_dpms" = "-lXdpms"; then + DPMS_LIB="-lXdpms" + fi + if test "$DPMS_LDFLAGS" = ""; then + DPMSLIB="$DPMS_LIB "'$(LIB_X11)' + else + DPMSLIB="$DPMS_LDFLAGS $DPMS_LIB "'$(LIB_X11)' + fi + if test "$DPMS_INCLUDE" = ""; then + DPMSINC="" + else + DPMSINC="-I$DPMS_INCLUDE" + fi + AC_MSG_RESULT(yes) + $1 + fi + fi + AC_SUBST(DPMSINC) + AC_SUBST(DPMSLIB) +]) + +AC_DEFUN(AC_HAVE_GL, + [AC_REQUIRE_CPP()dnl + AC_REQUIRE([KDE_CHECK_EXTRA_LIBS]) + + test -z "$GL_LDFLAGS" && GL_LDFLAGS= + test -z "$GL_INCLUDE" && GL_INCLUDE= + + AC_ARG_WITH(gl, [ --without-gl disable 3D GL modes], + gl_test=$withval, gl_test="yes") + if test "x$kde_use_qt_emb" = "xyes"; then + # GL and Qt Embedded is a no-go for now. + ac_cv_have_gl=no + elif test "x$gl_test" = xno; then + ac_cv_have_gl=no + else + AC_MSG_CHECKING(for GL) + AC_CACHE_VAL(ac_cv_have_gl, + [ + AC_LANG_SAVE + AC_LANG_CPLUSPLUS + ac_save_ldflags="$LDFLAGS" + ac_save_cxxflags="$CXXFLAGS" + LDFLAGS="$LDFLAGS $GL_LDFLAGS $X_LDFLAGS $all_libraries -lMesaGL -lMesaGLU" + test "x$kde_use_qt_emb" != xyes && LDFLAGS="$LDFLAGS -lX11" + LDFLAGS="$LDFLAGS $LIB_XEXT -lm $LIBSOCKET" + CXXFLAGS="$CFLAGS $X_INCLUDES" + test -n "$GL_INCLUDE" && CFLAGS="-I$GL_INCLUDE $CFLAGS" + AC_TRY_LINK([#include +#include +], [], + ac_cv_have_gl="mesa", ac_cv_have_gl="no") + if test "x$ac_cv_have_gl" = "xno"; then + LDFLAGS="$ac_save_ldflags $X_LDFLAGS $GL_LDFLAGS $all_libraries -lGLU -lGL" + test "x$kde_use_qt_emb" != xyes && LDFLAGS="$LDFLAGS -lX11" + LDFLAGS="$LDFLAGS $LIB_XEXT -lm $LIBSOCKET" + CXXFLAGS="$ac_save_cflags $X_INCLUDES" + test -n "$GL_INCLUDE" && CFLAGS="-I$GL_INCLUDE $CFLAGS" + AC_TRY_LINK([#include +#include +], [], + ac_cv_have_gl="yes", ac_cv_have_gl="no") + fi + AC_LANG_RESTORE + LDFLAGS="$ac_save_ldflags" + CXXFLAGS="$ac_save_cxxflags" + ])dnl + + if test "$ac_cv_have_gl" = "no"; then + AC_MSG_RESULT(no) + GL_LDFLAGS="" + GLINC="" + $2 + else + AC_DEFINE(HAVE_GL, 1, [Defines if you have GL (Mesa, OpenGL, ...)]) + if test "$GL_LDFLAGS" = ""; then + if test "$ac_cv_have_gl" = "mesa"; then + GLLIB='-lMesaGLU -lMesaGL $(LIB_X11)' + else + GLLIB='-lGLU -lGL $(LIB_X11)' + fi + else + if test "$ac_cv_have_gl" = "mesa"; then + GLLIB="$GL_LDFLAGS -lMesaGLU -lMesaGL "'$(LIB_X11)' + else + GLLIB="$GL_LDFLAGS -lGLU -lGL "'$(LIB_X11)' + fi + fi + if test "$GL_INCLUDE" = ""; then + GLINC="" + else + GLINC="-I$GL_INCLUDE" + fi + AC_MSG_RESULT($ac_cv_have_gl) + $1 + fi + fi + AC_SUBST(GLINC) + AC_SUBST(GLLIB) +]) + + + dnl shadow password and PAM magic - maintained by ossi@kde.org + +AC_DEFUN(KDE_PAM, [ + AC_REQUIRE([KDE_CHECK_LIBDL]) + + AC_ARG_WITH(pam, + [ --with-pam[=ARG] enable support for PAM: ARG=[yes|no|service name]], + [ if test "x$withval" = "xyes"; then + use_pam=yes + pam_service=kde + elif test "x$withval" = "xno"; then + use_pam=no + else + use_pam=yes + pam_service=$withval + fi + ac_cv_path_pam="use_pam=$use_pam pam_service=$pam_service" + ], [ + AC_CACHE_VAL(ac_cv_path_pam, + [ use_pam=no + AC_CHECK_LIB(pam, pam_start, + [ AC_CHECK_HEADER(security/pam_appl.h, + [ use_pam=yes + pam_service=kde ]) + ], , $LIBDL) + ac_cv_path_pam="use_pam=$use_pam pam_service=$pam_service" + ]) + ]) + eval "$ac_cv_path_pam" + + AC_MSG_CHECKING(for PAM) + if test "x$use_pam" = xno; then + AC_MSG_RESULT(no) + PAMLIBS="" + else + AC_MSG_RESULT(yes) + AC_DEFINE(HAVE_PAM, 1, [Defines if you have PAM (Pluggable Authentication Modules)]) + PAMLIBS="$PAM_MISC_LIB -lpam $LIBDL" + + dnl test whether struct pam_message is const (Linux) or not (Sun) + AC_MSG_CHECKING(for const pam_message) + AC_EGREP_HEADER([struct pam_message], security/pam_appl.h, + [ AC_EGREP_HEADER([const struct pam_message], security/pam_appl.h, + [AC_MSG_RESULT([const: Linux-type PAM])], + [AC_MSG_RESULT([nonconst: Sun-type PAM]) + AC_DEFINE(PAM_MESSAGE_NONCONST, 1, [Define if your PAM support takes non-const arguments (Solaris)])] + )], + [AC_MSG_RESULT([not found - assume const, Linux-type PAM])]) + fi + + AC_SUBST(PAMLIBS) +]) + +dnl DEF_PAM_SERVICE(arg name, full name, define name) +AC_DEFUN(DEF_PAM_SERVICE, [ + AC_ARG_WITH($1-pam, + [ --with-$1-pam=[val] override PAM service from --with-pam for $2], + [ if test "x$use_pam" = xyes; then + $3_PAM_SERVICE="$withval" + else + AC_MSG_ERROR([Cannot use use --with-$1-pam, as no PAM was detected. +You may want to enforce it by using --with-pam.]) + fi + ], + [ if test "x$use_pam" = xyes; then + $3_PAM_SERVICE="$pam_service" + fi + ]) + if test -n "$$3_PAM_SERVICE"; then + AC_MSG_RESULT([The PAM service used by $2 will be $$3_PAM_SERVICE]) + AC_DEFINE_UNQUOTED($3_PAM_SERVICE, "$$3_PAM_SERVICE", [The PAM service to be used by $2]) + fi + AC_SUBST($3_PAM_SERVICE) +]) + +AC_DEFUN(KDE_SHADOWPASSWD, [ + AC_REQUIRE([KDE_PAM]) + + AC_CHECK_LIB(shadow, getspent, + [ LIBSHADOW="-lshadow" + ac_use_shadow=yes + ], + [ dnl for UnixWare + AC_CHECK_LIB(gen, getspent, + [ LIBGEN="-lgen" + ac_use_shadow=yes + ], + [ AC_CHECK_FUNC(getspent, + [ ac_use_shadow=yes ], + [ ac_use_shadow=no ]) + ]) + ]) + AC_SUBST(LIBSHADOW) + AC_SUBST(LIBGEN) + + AC_MSG_CHECKING([for shadow passwords]) + + AC_ARG_WITH(shadow, + [ --with-shadow If you want shadow password support ], + [ if test "x$withval" != "xno"; then + use_shadow=yes + else + use_shadow=no + fi + ], [ + use_shadow="$ac_use_shadow" + ]) + + if test "x$use_shadow" = xyes; then + AC_MSG_RESULT(yes) + AC_DEFINE(HAVE_SHADOW, 1, [Define if you use shadow passwords]) + else + AC_MSG_RESULT(no) + LIBSHADOW= + LIBGEN= + fi + + dnl finally make the relevant binaries setuid root, if we have shadow passwds. + dnl this still applies, if we could use it indirectly through pam. + if test "x$use_shadow" = xyes || + ( test "x$use_pam" = xyes && test "x$ac_use_shadow" = xyes ); then + case $host in + *-*-freebsd* | *-*-netbsd* | *-*-openbsd*) + SETUIDFLAGS="-m 4755 -o root";; + *) + SETUIDFLAGS="-m 4755";; + esac + fi + AC_SUBST(SETUIDFLAGS) + +]) + +AC_DEFUN(KDE_PASSWDLIBS, [ + AC_REQUIRE([KDE_MISC_TESTS]) dnl for LIBCRYPT + AC_REQUIRE([KDE_PAM]) + AC_REQUIRE([KDE_SHADOWPASSWD]) + + if test "x$use_pam" = "xyes"; then + PASSWDLIBS="$PAMLIBS" + else + PASSWDLIBS="$LIBCRYPT $LIBSHADOW $LIBGEN" + fi + + dnl FreeBSD uses a shadow-like setup, where /etc/passwd holds the users, but + dnl /etc/master.passwd holds the actual passwords. /etc/master.passwd requires + dnl root to read, so kcheckpass needs to be root (even when using pam, since pam + dnl may need to read /etc/master.passwd). + case $host in + *-*-freebsd*) + SETUIDFLAGS="-m 4755 -o root" + ;; + *) + ;; + esac + + AC_SUBST(PASSWDLIBS) +]) + +AC_DEFUN(KDE_CHECK_LIBDL, +[ +AC_CHECK_LIB(dl, dlopen, [ +LIBDL="-ldl" +ac_cv_have_dlfcn=yes +]) + +AC_CHECK_LIB(dld, shl_unload, [ +LIBDL="-ldld" +ac_cv_have_shload=yes +]) + +AC_SUBST(LIBDL) +]) + +AC_DEFUN(KDE_CHECK_DLOPEN, +[ +KDE_CHECK_LIBDL +AC_CHECK_HEADERS(dlfcn.h dl.h) +if test "$ac_cv_header_dlfcn_h" = "no"; then + ac_cv_have_dlfcn=no +fi + +if test "$ac_cv_header_dl_h" = "no"; then + ac_cv_have_shload=no +fi + +dnl XXX why change enable_dlopen? its already set by autoconf's AC_ARG_ENABLE +dnl (MM) +AC_ARG_ENABLE(dlopen, +[ --disable-dlopen link statically [default=no]] , +enable_dlopen=$enableval, +enable_dlopen=yes) + +# override the user's opinion, if we know it better ;) +if test "$ac_cv_have_dlfcn" = "no" && test "$ac_cv_have_shload" = "no"; then + enable_dlopen=no +fi + +if test "$ac_cv_have_dlfcn" = "yes"; then + AC_DEFINE_UNQUOTED(HAVE_DLFCN, 1, [Define if you have dlfcn]) +fi + +if test "$ac_cv_have_shload" = "yes"; then + AC_DEFINE_UNQUOTED(HAVE_SHLOAD, 1, [Define if you have shload]) +fi + +if test "$enable_dlopen" = no ; then + test -n "$1" && eval $1 +else + test -n "$2" && eval $2 +fi + +]) + +AC_DEFUN(KDE_CHECK_DYNAMIC_LOADING, +[ +KDE_CHECK_DLOPEN(libtool_enable_shared=yes, libtool_enable_static=no) +KDE_PROG_LIBTOOL +AC_MSG_CHECKING([dynamic loading]) +eval "`egrep '^build_libtool_libs=' libtool`" +if test "$build_libtool_libs" = "yes" && test "$enable_dlopen" = "yes"; then + dynamic_loading=yes + AC_DEFINE_UNQUOTED(HAVE_DYNAMIC_LOADING) +else + dynamic_loading=no +fi +AC_MSG_RESULT($dynamic_loading) +if test "$dynamic_loading" = "yes"; then + $1 +else + $2 +fi +]) + +AC_DEFUN(KDE_ADD_INCLUDES, +[ +if test -z "$1"; then + test_include="Pix.h" +else + test_include="$1" +fi + +AC_MSG_CHECKING([for libg++ ($test_include)]) + +AC_CACHE_VAL(kde_cv_libgpp_includes, +[ +kde_cv_libgpp_includes=no + + for ac_dir in \ + \ + /usr/include/g++ \ + /usr/include \ + /usr/unsupported/include \ + /opt/include \ + $extra_include \ + ; \ + do + if test -r "$ac_dir/$test_include"; then + kde_cv_libgpp_includes=$ac_dir + break + fi + done +]) + +AC_MSG_RESULT($kde_cv_libgpp_includes) +if test "$kde_cv_libgpp_includes" != "no"; then + all_includes="-I$kde_cv_libgpp_includes $all_includes $USER_INCLUDES" +fi +]) +]) + + +AC_DEFUN(KDE_CHECK_MICO, +[ +AC_REQUIRE([KDE_CHECK_LIBDL]) +AC_REQUIRE([KDE_MISC_TESTS]) +AC_MSG_CHECKING(for MICO) + +if test -z "$MICODIR"; then + kde_micodir=/usr/local + else + kde_micodir="$MICODIR" +fi + +AC_ARG_WITH(micodir, + [ --with-micodir=micodir where mico is installed ], + kde_micodir=$withval, + kde_micodir=$kde_micodir +) + +AC_CACHE_VAL(kde_cv_mico_incdir, +[ + mico_incdirs="$kde_micodir/include /usr/include /usr/local/include /usr/local/include /opt/local/include $kde_extra_includes" +AC_FIND_FILE(CORBA.h, $mico_incdirs, kde_cv_mico_incdir) + +]) +kde_micodir=`echo $kde_cv_mico_incdir | sed -e 's#/include##'` + +if test ! -r $kde_micodir/include/CORBA.h; then + AC_MSG_ERROR([No CORBA.h found, specify another micodir]) +fi + +AC_MSG_RESULT($kde_micodir) + +MICO_INCLUDES=-I$kde_micodir/include +AC_SUBST(MICO_INCLUDES) +MICO_LDFLAGS=-L$kde_micodir/lib +AC_SUBST(MICO_LDFLAGS) +micodir=$kde_micodir +AC_SUBST(micodir) + +AC_MSG_CHECKING([for MICO version]) +AC_CACHE_VAL(kde_cv_mico_version, +[ +AC_LANG_C +cat >conftest.$ac_ext < +#include +int main() { + + printf("MICO_VERSION=%s\n",MICO_VERSION); + return (0); +} +EOF +ac_compile='${CC-gcc} $CFLAGS $MICO_INCLUDES conftest.$ac_ext -o conftest' +if AC_TRY_EVAL(ac_compile); then + if eval `./conftest 2>&5`; then + kde_cv_mico_version=$MICO_VERSION + else + AC_MSG_ERROR([your system is not able to execute a small application to + find MICO version! Check $kde_micodir/include/mico/version.h]) + fi +else + AC_MSG_ERROR([your system is not able to compile a small application to + find MICO version! Check $kde_micodir/include/mico/version.h]) +fi +]) + +dnl installed MICO version +mico_v_maj=`echo $kde_cv_mico_version | sed -e 's/^\(.*\)\..*\..*$/\1/'` +mico_v_mid=`echo $kde_cv_mico_version | sed -e 's/^.*\.\(.*\)\..*$/\1/'` +mico_v_min=`echo $kde_cv_mico_version | sed -e 's/^.*\..*\.\(.*\)$/\1/'` + +if test "x$1" = "x"; then + req_version="2.3.0" +else + req_version=$1 +fi + +dnl required MICO version +req_v_maj=`echo $req_version | sed -e 's/^\(.*\)\..*\..*$/\1/'` +req_v_mid=`echo $req_version | sed -e 's/^.*\.\(.*\)\..*$/\1/'` +req_v_min=`echo $req_version | sed -e 's/^.*\..*\.\(.*\)$/\1/'` + +if test "$mico_v_maj" -lt "$req_v_maj" || \ + ( test "$mico_v_maj" -eq "$req_v_maj" && \ + test "$mico_v_mid" -lt "$req_v_mid" ) || \ + ( test "$mico_v_mid" -eq "$req_v_mid" && \ + test "$mico_v_min" -lt "$req_v_min" ) + +then + AC_MSG_ERROR([found MICO version $kde_cv_mico_version but version $req_version \ +at least is required. You should upgrade MICO.]) +else + AC_MSG_RESULT([$kde_cv_mico_version (minimum version $req_version, ok)]) +fi + +LIBMICO="-lmico$kde_cv_mico_version $LIBCRYPT $LIBSOCKET $LIBDL" +AC_SUBST(LIBMICO) +if test -z "$IDL"; then + IDL='$(kde_bindir)/cuteidl' +fi +AC_SUBST(IDL) +IDL_DEPENDENCIES='$(kde_includes)/CUTE.h' +AC_SUBST(IDL_DEPENDENCIES) + +idldir="\$(includedir)/idl" +AC_SUBST(idldir) + +]) + +AC_DEFUN(KDE_CHECK_MINI_STL, +[ +AC_REQUIRE([KDE_CHECK_MICO]) + +AC_MSG_CHECKING(if we use mico's mini-STL) +AC_CACHE_VAL(kde_cv_have_mini_stl, +[ +AC_LANG_SAVE +AC_LANG_CPLUSPLUS +kde_save_cxxflags="$CXXFLAGS" +CXXFLAGS="$CXXFLAGS $MICO_INCLUDES" +AC_TRY_COMPILE( +[ +#include +], +[ +#ifdef HAVE_MINI_STL +#error "nothing" +#endif +], +kde_cv_have_mini_stl=no, +kde_cv_have_mini_stl=yes) +CXXFLAGS="$kde_save_cxxflags" +AC_LANG_RESTORE +]) + +if test "x$kde_cv_have_mini_stl" = "xyes"; then + AC_MSG_RESULT(yes) + $1 +else + AC_MSG_RESULT(no) + $2 +fi +]) + +]) + + +AC_DEFUN(KDE_CHECK_LIBPTHREAD, +[ +AC_CHECK_LIB(pthread, pthread_create, [LIBPTHREAD="-lpthread"] ) +AC_SUBST(LIBPTHREAD) +]) + +AC_DEFUN(KDE_CHECK_PTHREAD_OPTION, +[ + AC_ARG_ENABLE(kernel-threads, [ --enable-kernel-threads Enable the use of the LinuxThreads port on FreeBSD/i386 only.], + kde_use_kernthreads=$enableval, kde_use_kernthreads=no) + + if test "$kde_use_kernthreads" = "yes"; then + ac_save_CXXFLAGS="$CXXFLAGS" + ac_save_CFLAGS="$CFLAGS" + CXXFLAGS="-I/usr/local/include/pthread/linuxthreads $CXXFLAGS" + CFLAGS="-I/usr/local/include/pthread/linuxthreads $CFLAGS" + AC_CHECK_HEADERS(pthread/linuxthreads/pthread.h) + CXXFLAGS="$ac_save_CXXFLAGS" + CFLAGS="$ac_save_CFLAGS" + if test "$ac_cv_header_pthread_linuxthreads_pthread_h" = "no"; then + kde_use_kernthreads=no + else + dnl Add proper -I and -l statements + AC_CHECK_LIB(lthread, pthread_join, [LIBPTHREAD="-llthread -llgcc_r"]) dnl for FreeBSD + if test "x$LIBPTHREAD" = "x"; then + kde_use_kernthreads=no + else + USE_THREADS="-D_THREAD_SAFE -I/usr/local/include/pthread/linuxthreads" + fi + fi + else + USE_THREADS="" + if test -z "$LIBPTHREAD"; then + KDE_CHECK_COMPILER_FLAG(pthread, [USE_THREADS="-pthread"] ) + fi + fi + + AH_VERBATIM(__svr_define, [ +#if defined(__SVR4) && !defined(__svr4__) +#define __svr4__ 1 +#endif +]) + case $host_os in + solaris*) + KDE_CHECK_COMPILER_FLAG(mt, [USE_THREADS="-mt"]) + CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4" + ;; + freebsd*) + CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" + ;; + aix*) + CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" + LIBPTHREAD="$LIBPTHREAD -lc_r" + ;; + linux*) CPPFLAGS="$CPPFLAGS -D_REENTRANT" + if test "$CXX" = "KCC"; then + CXXFLAGS="$CXXFLAGS --thread_safe" + NOOPT_CXXFLAGS="$NOOPT_CXXFLAGS --thread_safe" + fi + ;; + *) + ;; + esac + AC_SUBST(USE_THREADS) + AC_SUBST(LIBPTHREAD) +]) + +AC_DEFUN(KDE_CHECK_THREADING, +[ + AC_REQUIRE([KDE_CHECK_LIBPTHREAD]) + AC_REQUIRE([KDE_CHECK_PTHREAD_OPTION]) + dnl default is yes if libpthread is found and no if no libpthread is available + if test -z "$LIBPTHREAD"; then + if test -z "$USE_THREADS"; then + kde_check_threading_default=no + else + kde_check_threading_default=yes + fi + else + kde_check_threading_default=yes + fi + AC_ARG_ENABLE(threading, [ --disable-threading disables threading even if libpthread found ], + kde_use_threading=$enableval, kde_use_threading=$kde_check_threading_default) + if test "x$kde_use_threading" = "xyes"; then + AC_DEFINE(HAVE_LIBPTHREAD, 1, [Define if you have a working libpthread (will enable threaded code)]) + fi +]) + +AC_DEFUN(KDE_TRY_LINK_PYTHON, +[ +if test "$kde_python_link_found" = no; then + +if test "$1" = normal; then + AC_MSG_CHECKING(if a Python application links) +else + AC_MSG_CHECKING(if Python depends on $2) +fi + +AC_CACHE_VAL(kde_cv_try_link_python_$1, +[ +AC_LANG_SAVE +AC_LANG_C +kde_save_cflags="$CFLAGS" +CFLAGS="$CFLAGS $PYTHONINC" +kde_save_libs="$LIBS" +LIBS="$LIBS $LIBPYTHON $2 $LIBDL $LIBSOCKET" +kde_save_ldflags="$LDFLAGS" +LDFLAGS="$LDFLAGS $PYTHONLIB" + +AC_TRY_LINK( +[ +#include +],[ + PySys_SetArgv(1, 0); +], + [kde_cv_try_link_python_$1=yes], + [kde_cv_try_link_python_$1=no] +) +CFLAGS="$kde_save_cflags" +LIBS="$kde_save_libs" +LDFLAGS="$kde_save_ldflags" +]) + +if test "$kde_cv_try_link_python_$1" = "yes"; then + AC_MSG_RESULT(yes) + kde_python_link_found=yes + if test ! "$1" = normal; then + LIBPYTHON="$LIBPYTHON $2" + fi + $3 +else + AC_MSG_RESULT(no) + $4 +fi +AC_LANG_RESTORE + +fi + +]) + +AC_DEFUN(KDE_CHECK_PYTHON_DIR, +[ +AC_MSG_CHECKING([for Python directory]) + +AC_CACHE_VAL(kde_cv_pythondir, +[ + if test -z "$PYTHONDIR"; then + kde_cv_pythondir=/usr/local + else + kde_cv_pythondir="$PYTHONDIR" + fi +]) + +AC_ARG_WITH(pythondir, +[ --with-pythondir=pythondir use python installed in pythondir ], +[ + ac_python_dir=$withval +], ac_python_dir=$kde_cv_pythondir +) + +AC_MSG_RESULT($ac_python_dir) +]) + +AC_DEFUN(KDE_CHECK_PYTHON_INTERN, +[ +AC_REQUIRE([KDE_CHECK_LIBDL]) +AC_REQUIRE([KDE_CHECK_LIBPTHREAD]) +AC_REQUIRE([KDE_CHECK_PYTHON_DIR]) + +if test -z "$1"; then + version="1.5" +else + version="$1" +fi + +AC_MSG_CHECKING([for Python$version]) + +python_incdirs="$ac_python_dir/include /usr/include /usr/local/include/ $kde_extra_includes" +AC_FIND_FILE(Python.h, $python_incdirs, python_incdir) +if test ! -r $python_incdir/Python.h; then + AC_FIND_FILE(python$version/Python.h, $python_incdirs, python_incdir) + python_incdir=$python_incdir/python$version + if test ! -r $python_incdir/Python.h; then + python_incdir=no + fi +fi + +PYTHONINC=-I$python_incdir + +python_libdirs="$ac_python_dir/lib /usr/lib /usr/local /usr/lib $kde_extra_libs" +AC_FIND_FILE(libpython$version.a, $python_libdirs, python_libdir) +if test ! -r $python_libdir/libpython$version.a; then + AC_FIND_FILE(python$version/config/libpython$version.a, $python_libdirs, python_libdir) + python_libdir=$python_libdir/python$version/config + if test ! -r $python_libdir/libpython$version.a; then + python_libdir=no + fi +fi + +PYTHONLIB=-L$python_libdir +kde_orig_LIBPYTHON=$LIBPYTHON +if test -z "$LIBPYTHON"; then + LIBPYTHON=-lpython$version +fi + +python_libdirs="$ac_python_dir/lib /usr/lib /usr/local /usr/lib $kde_extra_libs" +AC_FIND_FILE(python$version/copy.py, $python_libdirs, python_moddir) +python_moddir=$python_moddir/python$version +if test ! -r $python_moddir/copy.py; then + python_moddir=no +fi + +PYTHONMODDIR=$python_moddir + +AC_MSG_RESULT(header $python_incdir library $python_libdir modules $python_moddir) + +if test x$python_incdir = xno || test x$python_libdir = xno || test x$python_moddir = xno; then + LIBPYTHON=$kde_orig_LIBPYTHON + test "x$PYTHONLIB" = "x-Lno" && PYTHONLIB="" + test "x$PYTHONINC" = "x-Ino" && PYTHONINC="" + $2 +else + dnl Note: this test is very weak + kde_python_link_found=no + KDE_TRY_LINK_PYTHON(normal) + KDE_TRY_LINK_PYTHON(m, -lm) + KDE_TRY_LINK_PYTHON(pthread, $LIBPTHREAD) + KDE_TRY_LINK_PYTHON(tcl, -ltcl) + KDE_TRY_LINK_PYTHON(db2, -ldb2) + KDE_TRY_LINK_PYTHON(m_and_thread, [$LIBPTHREAD -lm]) + KDE_TRY_LINK_PYTHON(m_and_thread_and_util, [$LIBPTHREAD -lm -lutil]) + KDE_TRY_LINK_PYTHON(m_and_thread_and_db3, [$LIBPTHREAD -lm -ldb-3 -lutil]) + KDE_TRY_LINK_PYTHON(pthread_and_db3, [$LIBPTHREAD -ldb-3]) + KDE_TRY_LINK_PYTHON(m_and_thread_and_db, [$LIBPTHREAD -lm -ldb -ltermcap -lutil]) + KDE_TRY_LINK_PYTHON(pthread_and_dl, [$LIBPTHREAD $LIBDL -lutil -lreadline -lncurses -lm]) + KDE_TRY_LINK_PYTHON(m_and_thread_and_db_special, [$LIBPTHREAD -lm -ldb -lutil], [], + [AC_MSG_WARN([it seems, Python depends on another library. + Pleae set LIBPYTHON to '-lpython$version -lotherlib' before calling configure to fix this + and contact the authors to let them know about this problem]) + ]) + + LIBPYTHON="$LIBPYTHON $LIBDL $LIBSOCKET" + AC_SUBST(PYTHONINC) + AC_SUBST(PYTHONLIB) + AC_SUBST(LIBPYTHON) + AC_SUBST(PYTHONMODDIR) + AC_DEFINE(HAVE_PYTHON, 1, [Define if you have the development files for python]) +fi + +]) + + +AC_DEFUN(KDE_CHECK_PYTHON, +[ + KDE_CHECK_PYTHON_INTERN("2.3", + [KDE_CHECK_PYTHON_INTERN("2.2", + [KDE_CHECK_PYTHON_INTERN("2.1", + [KDE_CHECK_PYTHON_INTERN("2.0", [ KDE_CHECK_PYTHON_INTERN($1, $2) ]) + ])])]) +]) + +AC_DEFUN(KDE_CHECK_STL_SGI, +[ + AC_MSG_CHECKING([if STL implementation is SGI like]) + AC_CACHE_VAL(kde_cv_stl_type_sgi, + [ + AC_TRY_COMPILE([ +#include +using namespace std; +],[ + string astring="Hallo Welt."; + astring.erase(0, 6); // now astring is "Welt" + return 0; +], kde_cv_stl_type_sgi=yes, + kde_cv_stl_type_sgi=no) +]) + + AC_MSG_RESULT($kde_cv_stl_type_sgi) + + if test "$kde_cv_stl_type_sgi" = "yes"; then + AC_DEFINE_UNQUOTED(HAVE_SGI_STL, 1, [Define if you have a STL implementation by SGI]) + fi +]) + +AC_DEFUN(KDE_CHECK_STL_HP, +[ + AC_MSG_CHECKING([if STL implementation is HP like]) + AC_CACHE_VAL(kde_cv_stl_type_hp, + [ + AC_TRY_COMPILE([ +#include +using namespace std; +],[ + string astring="Hello World"; + astring.remove(0, 6); // now astring is "World" + return 0; +], kde_cv_stl_type_hp=yes, + kde_cv_stl_type_hp=no) +]) + AC_MSG_RESULT($kde_cv_stl_type_hp) + + if test "$kde_cv_stl_type_hp" = "yes"; then + AC_DEFINE_UNQUOTED(HAVE_HP_STL, 1, [Define if you have a STL implementation by HP]) + fi +]) + +AC_DEFUN(KDE_CHECK_STL, +[ + AC_LANG_SAVE + AC_LANG_CPLUSPLUS + ac_save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS="`echo $CXXFLAGS | sed s/-fno-exceptions//`" + KDE_CHECK_STL_SGI + + if test "$kde_cv_stl_type_sgi" = "no"; then + KDE_CHECK_STL_HP + + if test "$kde_cv_stl_type_hp" = "no"; then + AC_MSG_ERROR("no known STL type found - did you forget to install libstdc++[-devel] ?") + fi + fi + + CXXFLAGS="$ac_save_CXXFLAGS" + AC_LANG_RESTORE +]) + +AC_DEFUN(AC_FIND_QIMGIO, + [AC_REQUIRE([AC_FIND_JPEG]) +AC_REQUIRE([KDE_CHECK_EXTRA_LIBS]) +AC_MSG_CHECKING([for qimgio]) +AC_CACHE_VAL(ac_cv_lib_qimgio, +[ +AC_LANG_SAVE +AC_LANG_CPLUSPLUS +ac_save_LIBS="$LIBS" +ac_save_CXXFLAGS="$CXXFLAGS" +LIBS="$all_libraries -lqimgio -lpng -lz $LIBJPEG $LIBQT" +CXXFLAGS="$CXXFLAGS -I$qt_incdir $all_includes" +AC_TRY_RUN(dnl +[ +#include +#include +int main() { + QString t = "hallo"; + t.fill('t'); + qInitImageIO(); +} +], + ac_cv_lib_qimgio=yes, + ac_cv_lib_qimgio=no, + ac_cv_lib_qimgio=no) +LIBS="$ac_save_LIBS" +CXXFLAGS="$ac_save_CXXFLAGS" +AC_LANG_RESTORE +])dnl +if eval "test \"`echo $ac_cv_lib_qimgio`\" = yes"; then + LIBQIMGIO="-lqimgio -lpng -lz $LIBJPEG" + AC_MSG_RESULT(yes) + AC_DEFINE_UNQUOTED(HAVE_QIMGIO, 1, [Define if you have the Qt extension qimgio available]) + AC_SUBST(LIBQIMGIO) +else + AC_MSG_RESULT(not found) +fi +]) + +AC_DEFUN(KDE_CHECK_ANSI, +[ +]) + +AC_DEFUN(KDE_CHECK_INSURE, +[ + AC_ARG_ENABLE(insure, [ --enable-insure use insure++ for debugging [default=no]], + [ + if test $enableval = "no"; dnl + then ac_use_insure="no" + else ac_use_insure="yes" + fi + ], [ac_use_insure="no"]) + + AC_MSG_CHECKING(if we will use Insure++ to debug) + AC_MSG_RESULT($ac_use_insure) + if test "$ac_use_insure" = "yes"; dnl + then CC="insure"; CXX="insure"; dnl CFLAGS="$CLAGS -fno-rtti -fno-exceptions "???? + fi +]) + +AC_DEFUN(AM_DISABLE_LIBRARIES, +[ + AC_PROVIDE([AM_ENABLE_STATIC]) + AC_PROVIDE([AM_ENABLE_SHARED]) + enable_static=no + enable_shared=yes +]) + + +AC_DEFUN(AC_CHECK_UTMP_FILE, +[ + AC_MSG_CHECKING([for utmp file]) + + AC_CACHE_VAL(kde_cv_utmp_file, + [ + kde_cv_utmp_file=no + + for ac_file in \ + \ + /var/run/utmp \ + /var/adm/utmp \ + /etc/utmp \ + ; \ + do + if test -r "$ac_file"; then + kde_cv_utmp_file=$ac_file + break + fi + done + ]) + + if test "$kde_cv_utmp_file" != "no"; then + AC_DEFINE_UNQUOTED(UTMP, "$kde_cv_utmp_file", [Define the file for utmp entries]) + $1 + AC_MSG_RESULT($kde_cv_utmp_file) + else + $2 + AC_MSG_RESULT([non found]) + fi +]) + + +AC_DEFUN(KDE_CREATE_SUBDIRSLIST, +[ + +DO_NOT_COMPILE="$DO_NOT_COMPILE CVS debian bsd-port admin" + +if test ! -s $srcdir/subdirs; then + dnl Note: Makefile.common creates subdirs, so this is just a fallback + TOPSUBDIRS="" + files=`cd $srcdir && ls -1` + dirs=`for i in $files; do if test -d $i; then echo $i; fi; done` + for i in $dirs; do + echo $i >> $srcdir/subdirs + done +fi + +if test -s $srcdir/inst-apps; then + ac_topsubdirs="`cat $srcdir/inst-apps`" +else + ac_topsubdirs="`cat $srcdir/subdirs`" +fi + +for i in $ac_topsubdirs; do + AC_MSG_CHECKING([if $i should be compiled]) + if test -d $srcdir/$i; then + install_it="yes" + for j in $DO_NOT_COMPILE; do + if test $i = $j; then + install_it="no" + fi + done + else + install_it="no" + fi + AC_MSG_RESULT($install_it) + vari=`echo $i | sed -e 's,[[-+.]],_,g'` + if test $install_it = "yes"; then + TOPSUBDIRS="$TOPSUBDIRS $i" + eval "$vari""_SUBDIR_included=yes" + else + eval "$vari""_SUBDIR_included=no" + fi +done + +AC_SUBST(TOPSUBDIRS) +]) + +AC_DEFUN(KDE_CHECK_NAMESPACES, +[ +AC_MSG_CHECKING(whether C++ compiler supports namespaces) +AC_LANG_SAVE +AC_LANG_CPLUSPLUS +AC_TRY_COMPILE([ +], +[ +namespace Foo { + extern int i; + namespace Bar { + extern int i; + } +} + +int Foo::i = 0; +int Foo::Bar::i = 1; +],[ + AC_MSG_RESULT(yes) + AC_DEFINE(HAVE_NAMESPACES) +], [ +AC_MSG_RESULT(no) +]) +AC_LANG_RESTORE +]) + +AC_DEFUN(KDE_CHECK_NEWLIBS, +[ + +]) + +dnl ------------------------------------------------------------------------ +dnl Check for S_ISSOCK macro. Doesn't exist on Unix SCO. faure@kde.org +dnl ------------------------------------------------------------------------ +dnl +AC_DEFUN(AC_CHECK_S_ISSOCK, +[ +AC_MSG_CHECKING(for S_ISSOCK) +AC_CACHE_VAL(ac_cv_have_s_issock, +[ +AC_LANG_SAVE +AC_LANG_C +AC_TRY_LINK( +[ +#include +], +[ +struct stat buff; +int b = S_ISSOCK( buff.st_mode ); +], +ac_cv_have_s_issock=yes, +ac_cv_have_s_issock=no) +AC_LANG_RESTORE +]) +AC_MSG_RESULT($ac_cv_have_s_issock) +if test "$ac_cv_have_s_issock" = "yes"; then + AC_DEFINE_UNQUOTED(HAVE_S_ISSOCK, 1, [Define if sys/stat.h declares S_ISSOCK.]) +fi + +AH_VERBATIM(_ISSOCK, +[ +#ifndef HAVE_S_ISSOCK +#define HAVE_S_ISSOCK +#define S_ISSOCK(mode) (1==0) +#endif +]) + +]) + +dnl ------------------------------------------------------------------------ +dnl Check for MAXPATHLEN macro, defines KDEMAXPATHLEN. faure@kde.org +dnl ------------------------------------------------------------------------ +dnl +AC_DEFUN(AC_CHECK_KDEMAXPATHLEN, +[ +AC_MSG_CHECKING(for MAXPATHLEN) +AC_CACHE_VAL(ac_cv_maxpathlen, +[ +AC_LANG_C +cat > conftest.$ac_ext < +#endif +#include +#include +#ifndef MAXPATHLEN +#define MAXPATHLEN 1024 +#endif + +KDE_HELLO MAXPATHLEN + +EOF + +ac_try="$ac_cpp conftest.$ac_ext 2>/dev/null | grep '^KDE_HELLO' >conftest.out" + +if AC_TRY_EVAL(ac_try) && test -s conftest.out; then + ac_cv_maxpathlen=`sed 's#KDE_HELLO ##' conftest.out` +else + ac_cv_maxpathlen=1024 +fi + +rm conftest.* + +]) +AC_MSG_RESULT($ac_cv_maxpathlen) +AC_DEFINE_UNQUOTED(KDEMAXPATHLEN,$ac_cv_maxpathlen, [Define a safe value for MAXPATHLEN] ) +]) + +dnl ------------------------------------------------------------------------- +dnl See if the compiler supports a template repository bero@redhat.de +dnl ------------------------------------------------------------------------- +AC_DEFUN(KDE_COMPILER_REPO, +[ + REPO="" + NOREPO="" + + KDE_CHECK_COMPILER_FLAG(frepo, + [ + REPO="-frepo" + NOREPO="-fno-repo" + ]) + + if test -z "$REPO"; then + KDE_CHECK_COMPILER_FLAG(instances=explicit, + [ + REPO="-instances=explicit" + NOREPO="-instances=extern" + ]) + fi + + if test -n "$REPO"; then + AC_DEFINE_UNQUOTED(HAVE_TEMPLATE_REPOSITORY, 1, + [C++ compiler supports template repository]) + $1 + fi + + AC_SUBST(REPO) + AC_SUBST(NOREPO) +]) + +AC_DEFUN(KDE_CHECK_HEADER, +[ + AC_LANG_SAVE + kde_safe_cppflags=$CPPFLAGS + CPPFLAGS="$CPPFLAGS $all_includes" + AC_LANG_CPLUSPLUS + AC_CHECK_HEADER($1, $2, $3, $4) + CPPFLAGS=$kde_safe_cppflags + AC_LANG_RESTORE +]) + +AC_DEFUN(KDE_CHECK_HEADERS, +[ + AH_CHECK_HEADERS([$1]) + AC_LANG_SAVE + kde_safe_cppflags=$CPPFLAGS + CPPFLAGS="$CPPFLAGS $all_includes" + AC_LANG_CPLUSPLUS + AC_CHECK_HEADERS([$1], [$2], [$3], [$4]) + CPPFLAGS=$kde_safe_cppflags + AC_LANG_RESTORE +]) + +AC_DEFUN(KDE_FAST_CONFIGURE, +[ + dnl makes configure fast (needs perl) + AC_ARG_ENABLE(fast-perl, [ --disable-fast-perl disable fast Makefile generation (needs perl)], + with_fast_perl=$enableval, with_fast_perl=yes) +]) + +AC_DEFUN(KDE_CONF_FILES, +[ + val= + if test -f $srcdir/configure.files ; then + val=`sed -e 's%^%\$(top_srcdir)/%' $srcdir/configure.files` + fi + CONF_FILES= + if test -n "$val" ; then + for i in $val ; do + CONF_FILES="$CONF_FILES $i" + done + fi + AC_SUBST(CONF_FILES) +])dnl + +AC_DEFUN(KDE_SET_PREFIX, +[ + unset CDPATH + dnl make $KDEDIR the default for the installation + AC_PREFIX_DEFAULT(${KDEDIR:-/usr/local/kde}) + + if test "x$prefix" = "xNONE"; then + prefix=$ac_default_prefix + ac_configure_args="$ac_configure_args --prefix=$prefix" + fi + # And delete superflous '/' to make compares easier + prefix=`echo "$prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'` + exec_prefix=`echo "$exec_prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'` + KDE_FAST_CONFIGURE + KDE_CONF_FILES +]) + +pushdef([AC_PROG_INSTALL], +[ + dnl our own version, testing for a -p flag + popdef([AC_PROG_INSTALL]) + dnl as AC_PROG_INSTALL works as it works we first have + dnl to save if the user didn't specify INSTALL, as the + dnl autoconf one overwrites INSTALL and we have no chance to find + dnl out afterwards + test -n "$INSTALL" && kde_save_INSTALL_given=$INSTALL + test -n "$INSTALL_PROGRAM" && kde_save_INSTALL_PROGRAM_given=$INSTALL_PROGRAM + test -n "$INSTALL_SCRIPT" && kde_save_INSTALL_SCRIPT_given=$INSTALL_SCRIPT + AC_PROG_INSTALL + + if test -z "$kde_save_INSTALL_given" ; then + # OK, user hasn't given any INSTALL, autoconf found one for us + # now we test, if it supports the -p flag + AC_MSG_CHECKING(for -p flag to install) + rm -f confinst.$$.* > /dev/null 2>&1 + echo "Testtest" > confinst.$$.orig + ac_res=no + if ${INSTALL} -p confinst.$$.orig confinst.$$.new > /dev/null 2>&1 ; then + if test -f confinst.$$.new ; then + # OK, -p seems to do no harm to install + INSTALL="${INSTALL} -p" + ac_res=yes + fi + fi + rm -f confinst.$$.* + AC_MSG_RESULT($ac_res) + fi + dnl the following tries to resolve some signs and wonders coming up + dnl with different autoconf/automake versions + dnl e.g.: + dnl *automake 1.4 install-strip sets A_M_INSTALL_PROGRAM_FLAGS to -s + dnl and has INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(A_M_INSTALL_PROGRAM_FLAGS) + dnl it header-vars.am, so there the actual INSTALL_PROGRAM gets the -s + dnl *automake 1.4a (and above) use INSTALL_STRIP_FLAG and only has + dnl INSTALL_PROGRAM = @INSTALL_PROGRAM@ there, but changes the + dnl install-@DIR@PROGRAMS targets to explicitly use that flag + dnl *autoconf 2.13 is dumb, and thinks it can use INSTALL_PROGRAM as + dnl INSTALL_SCRIPT, which breaks with automake <= 1.4 + dnl *autoconf >2.13 (since 10.Apr 1999) has not that failure + dnl *sometimes KDE does not use the install-@DIR@PROGRAM targets from + dnl automake (due to broken Makefile.am or whatever) to install programs, + dnl and so does not see the -s flag in automake > 1.4 + dnl to clean up that mess we: + dnl +set INSTALL_PROGRAM to use INSTALL_STRIP_FLAG + dnl which cleans KDE's program with automake > 1.4; + dnl +set INSTALL_SCRIPT to only use INSTALL, to clean up autoconf's problems + dnl with automake<=1.4 + dnl note that dues to this sometimes two '-s' flags are used (if KDE + dnl properly uses install-@DIR@PROGRAMS, but I don't care + dnl + dnl And to all this comes, that I even can't write in comments variable + dnl names used by automake, because it is so stupid to think I wanted to + dnl _use_ them, therefor I have written A_M_... instead of AM_ + dnl hmm, I wanted to say something ... ahh yes: Arghhh. + + if test -z "$kde_save_INSTALL_PROGRAM_given" ; then + INSTALL_PROGRAM='${INSTALL} $(INSTALL_STRIP_FLAG)' + fi + if test -z "$kde_save_INSTALL_SCRIPT_given" ; then + INSTALL_SCRIPT='${INSTALL}' + fi +])dnl + +AC_DEFUN(KDE_LANG_CPLUSPLUS, +[AC_LANG_CPLUSPLUS +ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&AC_FD_CC' +pushdef([AC_LANG_CPLUSPLUS], [popdef([AC_LANG_CPLUSPLUS]) KDE_LANG_CPLUSPLUS]) +]) + +pushdef([AC_LANG_CPLUSPLUS], +[popdef([AC_LANG_CPLUSPLUS]) +KDE_LANG_CPLUSPLUS +]) + +AC_DEFUN(KDE_CHECK_LONG_LONG, +[ +AC_MSG_CHECKING(for long long) +AC_CACHE_VAL(kde_cv_c_long_long, +[ + AC_LANG_SAVE + AC_LANG_CPLUSPLUS + AC_TRY_LINK([], [ + long long foo = 0; + foo = foo+1; + ], + kde_cv_c_long_long=yes, kde_cv_c_long_long=no) + AC_LANG_RESTORE +]) +AC_MSG_RESULT($kde_cv_c_long_long) +if test "$kde_cv_c_long_long" = yes; then + AC_DEFINE(HAVE_LONG_LONG, 1, [Define if you have long long as datatype]) +fi +]) + +AC_DEFUN(KDE_CHECK_LIB, +[ + kde_save_LDFLAGS="$LDFLAGS" + dnl AC_CHECK_LIB modifies LIBS, so save it here + kde_save_LIBS="$LIBS" + LDFLAGS="$LDFLAGS $all_libraries" + case $host_os in + aix*) LDFLAGS="-brtl $LDFLAGS" + test "$GCC" = yes && LDFLAGS="-Wl,$LDFLAGS" + ;; + esac + AC_CHECK_LIB($1, $2, $3, $4, $5) + LDFLAGS="$kde_save_LDFLAGS" + LIBS="$kde_save_LIBS" +]) + +AC_DEFUN(KDE_JAVA_PREFIX, +[ + dir=`dirname "$1"` + base=`basename "$1"` + list=`ls -1 $dir 2> /dev/null` + for entry in $list; do + if test -d $dir/$entry/bin; then + case $entry in + $base) + javadirs="$javadirs $dir/$entry/bin" + ;; + esac + elif test -d $dir/$entry/jre/bin; then + case $entry in + $base) + javadirs="$javadirs $dir/$entry/jre/bin" + ;; + esac + fi + done +]) + +dnl KDE_CHEC_JAVA_DIR(onlyjre) +AC_DEFUN(KDE_CHECK_JAVA_DIR, +[ + +AC_ARG_WITH(java, +[ --with-java=javadir use java installed in javadir, --without-java disables ], +[ ac_java_dir=$withval +], ac_java_dir="" +) + +AC_MSG_CHECKING([for Java]) + +dnl at this point ac_java_dir is either a dir, 'no' to disable, or '' to say look in $PATH +if test "x$ac_java_dir" = "xno"; then + kde_java_bindir=no + kde_java_includedir=no + kde_java_libjvmdir=no + kde_java_libhpidir=no +else + if test "x$ac_java_dir" = "x"; then + + + dnl No option set -> look in $PATH + KDE_JAVA_PREFIX(/usr/j2se) + KDE_JAVA_PREFIX(/usr/j*dk*) + KDE_JAVA_PREFIX(/usr/lib/j*dk*) + KDE_JAVA_PREFIX(/opt/j*sdk*) + KDE_JAVA_PREFIX(/usr/lib/java*) + KDE_JAVA_PREFIX(/usr/java*) + KDE_JAVA_PREFIX(/usr/java/j*dk*) + KDE_JAVA_PREFIX(/usr/java/j*re*) + KDE_JAVA_PREFIX(/usr/lib/SunJava2*) + KDE_JAVA_PREFIX(/usr/lib/SunJava*) + KDE_JAVA_PREFIX(/usr/lib/IBMJava2*) + KDE_JAVA_PREFIX(/usr/lib/IBMJava*) + KDE_JAVA_PREFIX(/opt/java*) + + kde_cv_path="NONE" + kde_save_IFS=$IFS + IFS=':' + for dir in $PATH; do + javadirs="$javadirs $dir" + done + IFS=$kde_save_IFS + jredirs= + + for dir in $javadirs; do + if test ! -d $dir; then break; fi + if test -x "$dir/java"; then + libjvmdir=`find $dir/.. -name libjvm.so | sed 's,libjvm.so,,'|head -n 1` + if test ! -f $libjvmdir/libjvm.so; then continue; fi + jredirs="$jredirs $dir" + fi + done + + JAVAC= + JAVA= + kde_java_bindir=no + for dir in $jredirs; do + JAVA="$dir/java" + kde_java_bindir=$dir + if test -x "$dir/javac"; then + JAVAC="$dir/javac" + break + fi + done + + if test -n "$JAVAC"; then + dnl this substitution might not work - well, we test for jni.h below + kde_java_includedir=`echo $JAVAC | sed -e 's,bin/javac$,include/,'` + else + kde_java_includedir=no + fi + else + dnl config option set + kde_java_bindir=$ac_java_dir/bin + if test -x $ac_java_dir/bin/java && test ! -x $ac_java_dir/bin/javac; then + kde_java_includedir=no + else + kde_java_includedir=$ac_java_dir/include + fi + fi +fi + +dnl At this point kde_java_bindir and kde_java_includedir are either set or "no" +if test "x$kde_java_bindir" != "xno"; then + + dnl Look for libjvm.so + kde_java_libjvmdir=`find $kde_java_bindir/.. -name libjvm.so | sed 's,libjvm.so,,'|head -n 1` + dnl Look for libhpi.so and avoid green threads + kde_java_libhpidir=`find $kde_java_bindir/.. -name libhpi.so | grep -v green | sed 's,libhpi.so,,' | head -n 1` + + dnl Now check everything's fine under there + dnl the include dir is our flag for having the JDK + if test -d "$kde_java_includedir"; then + if test ! -x "$kde_java_bindir/javac"; then + AC_MSG_ERROR([javac not found under $kde_java_bindir - it seems you passed a wrong --with-java.]) + fi + if test ! -x "$kde_java_bindir/javah"; then + AC_MSG_ERROR([javah not found under $kde_java_bindir. javac was found though! Use --with-java or --without-java.]) + fi + if test ! -x "$kde_java_bindir/jar"; then + AC_MSG_ERROR([jar not found under $kde_java_bindir. javac was found though! Use --with-java or --without-java.]) + fi + if test ! -r "$kde_java_includedir/jni.h"; then + AC_MSG_ERROR([jni.h not found under $kde_java_includedir. Use --with-java or --without-java.]) + fi + + jni_includes="-I$kde_java_includedir" + dnl Strange thing, jni.h requires jni_md.h which is under genunix here.. + dnl and under linux here.. + test -d "$kde_java_includedir/linux" && jni_includes="$jni_includes -I$kde_java_includedir/linux" + test -d "$kde_java_includedir/solaris" && jni_includes="$jni_includes -I$kde_java_includedir/solaris" + test -d "$kde_java_includedir/genunix" && jni_includes="$jni_includes -I$kde_java_includedir/genunix" + + else + JAVAC= + jni_includes= + fi + + if test ! -r "$kde_java_libjvmdir/libjvm.so"; then + AC_MSG_ERROR([libjvm.so not found under $kde_java_libjvmdir. Use --without-java.]) + fi + + if test ! -x "$kde_java_bindir/java"; then + AC_MSG_ERROR([java not found under $kde_java_bindir. javac was found though! Use --with-java or --without-java.]) + fi + + if test ! -r "$kde_java_libhpidir/libhpi.so"; then + AC_MSG_ERROR([libhpi.so not found under $kde_java_libhpidir. Use --without-java.]) + fi + + if test -n "$jni_includes"; then + dnl Check for JNI version + AC_LANG_SAVE + AC_LANG_CPLUSPLUS + ac_cxxflags_safe="$CXXFLAGS" + CXXFLAGS="$CXXFLAGS $all_includes $jni_includes" + + AC_TRY_COMPILE([ + #include + ], + [ + #ifndef JNI_VERSION_1_2 + Syntax Error + #endif + ],[ kde_jni_works=yes ], + [ kde_jni_works=no ]) + + if test $kde_jni_works = no; then + AC_MSG_ERROR([Incorrect version of $kde_java_includedir/jni.h. + You need to have Java Development Kit (JDK) version 1.2. + + Use --with-java to specify another location. + Use --without-java to configure without java support. + Or download a newer JDK and try again. + See e.g. http://java.sun.com/products/jdk/1.2 ]) + fi + + CXXFLAGS="$ac_cxxflags_safe" + AC_LANG_RESTORE + + dnl All tests ok, inform and subst the variables + + JAVAC=$kde_java_bindir/javac + JAVAH=$kde_java_bindir/javah + JAR=$kde_java_bindir/jar + AC_DEFINE_UNQUOTED(PATH_JAVA, "$kde_java_bindir/java", [Define where your java executable is]) + JVMLIBS="-L$kde_java_libjvmdir -ljvm -L$kde_java_libhpidir -lhpi" + AC_MSG_RESULT([java JDK in $kde_java_bindir]) + + else + AC_DEFINE_UNQUOTED(PATH_JAVA, "$kde_java_bindir/java", [Define where your java executable is]) + AC_MSG_RESULT([java JRE in $kde_java_bindir]) + fi +else # no + AC_MSG_RESULT([none found]) +fi + +AC_SUBST(JAVAC) +AC_SUBST(JAVAH) +AC_SUBST(JAR) +AC_SUBST(JVMLIBS) +AC_SUBST(jni_includes) + +# for backward compat +kde_cv_java_includedir=$kde_java_includedir +kde_cv_java_bindir=$kde_java_bindir +]) + +dnl this is a redefinition of autoconf 2.5x's INCOMPATIBLE_FOREACH. +dnl When the argument list becomes big, as in KDE for AC_OUTPUT in +dnl big packages, m4_foreach is dog-slow. So use our own version of +dnl it. (matz@kde.org) +m4_define([mm_foreach], +[m4_pushdef([$1])_mm_foreach($@)m4_popdef([$1])]) +m4_define([mm_car], [[$1]]) +m4_define([mm_car2], [[$@]]) +m4_define([_mm_foreach], +[m4_if(m4_quote($2), [], [], + [m4_define([$1], [mm_car($2)])$3[]_mm_foreach([$1], + mm_car2(m4_shift($2)), + [$3])])]) +m4_define([INCOMPATIBLE_FOREACH], +[mm_foreach([$1], m4_split(m4_normalize([$2])), [$3])]) + +AC_DEFUN(KDE_NEED_FLEX, +[ +kde_libs_safe=$LIBS +LIBS="$LIBS $USER_LDFLAGS" +AM_PROG_LEX +LIBS=$kde_libs_safe +if test -z "$LEXLIB"; then + AC_MSG_ERROR([You need to have flex installed.]) +fi +AC_SUBST(LEXLIB) +]) + +AC_DEFUN(AC_PATH_QTOPIA, +[ + dnl TODO: use AC_CACHE_VAL + + if test -z "$1"; then + qtopia_minver_maj=1 + qtopia_minver_min=5 + qtopia_minver_pat=0 + else + qtopia_minver_maj=`echo "$1" | sed -e "s/^\(.*\)\..*\..*$/\1/"` + qtopia_minver_min=`echo "$1" | sed -e "s/^.*\.\(.*\)\..*$/\1/"` + qtopia_minver_pat=`echo "$1" | sed -e "s/^.*\..*\.\(.*\)$/\1/"` + fi + + qtopia_minver="$qtopia_minver_maj$qtopia_minver_min$qtopia_minver_pat" + qtopia_minverstr="$qtopia_minver_maj.$qtopia_minver_min.$qtopia_minver_pat" + + AC_REQUIRE([AC_PATH_QT]) + + AC_MSG_CHECKING([for Qtopia]) + + LIB_QTOPIA="-lqpe" + AC_SUBST(LIB_QTOPIA) + + kde_qtopia_dirs="$QPEDIR /opt/Qtopia" + + ac_qtopia_incdir=NO + + AC_ARG_WITH(qtopia-dir, + [ --with-qtopia-dir=DIR where the root of Qtopia is installed ], + [ ac_qtopia_incdir="$withval"/include] ) + + qtopia_incdirs="" + for dir in $kde_qtopia_dirs; do + qtopia_incdirs="$qtopia_incdirs $dir/include" + done + + if test ! "$ac_qtopia_incdir" = "NO"; then + qtopia_incdirs="$ac_qtopia_incdir $qtopia_incdirs" + fi + + qtopia_incdir="" + AC_FIND_FILE(qpe/qpeapplication.h, $qtopia_incdirs, qtopia_incdir) + ac_qtopia_incdir="$qtopia_incdir" + + if test -z "$qtopia_incdir"; then + AC_MSG_ERROR([Cannot find Qtopia headers. Please check your installation.]) + fi + + qtopia_ver_maj=`cat $qtopia_incdir/qpe/version.h | sed -n -e 's,.*QPE_VERSION "\(.*\)\..*\..*".*,\1,p'`; + qtopia_ver_min=`cat $qtopia_incdir/qpe/version.h | sed -n -e 's,.*QPE_VERSION ".*\.\(.*\)\..*".*,\1,p'`; + qtopia_ver_pat=`cat $qtopia_incdir/qpe/version.h | sed -n -e 's,.*QPE_VERSION ".*\..*\.\(.*\)".*,\1,p'`; + + qtopia_ver="$qtopia_ver_maj$qtopia_ver_min$qtopia_ver_pat" + qtopia_verstr="$qtopia_ver_maj.$qtopia_ver_min.$qtopia_ver_pat" + if test "$qtopia_ver" -lt "$qtopia_minver"; then + AC_MSG_ERROR([found Qtopia version $qtopia_verstr but version $qtopia_minverstr +is required.]) + fi + + AC_LANG_SAVE + AC_LANG_CPLUSPLUS + + ac_cxxflags_safe="$CXXFLAGS" + ac_ldflags_safe="$LDFLAGS" + ac_libs_safe="$LIBS" + + CXXFLAGS="$CXXFLAGS -I$qtopia_incdir $all_includes" + LDFLAGS="$LDFLAGS $QT_LDFLAGS $all_libraries $USER_LDFLAGS $KDE_MT_LDFLAGS" + LIBS="$LIBS $LIB_QTOPIA $LIBQT" + + cat > conftest.$ac_ext < +#include + +int main( int argc, char **argv ) +{ + QPEApplication app( argc, argv ); + return 0; +} +EOF + + if AC_TRY_EVAL(ac_link) && test -s conftest; then + rm -f conftest* + else + rm -f conftest* + AC_MSG_ERROR([Cannot link small Qtopia Application. For more details look at +the end of config.log]) + fi + + CXXFLAGS="$ac_cxxflags_safe" + LDFLAGS="$ac_ldflags_safe" + LIBS="$ac_libs_safe" + + AC_LANG_RESTORE + + QTOPIA_INCLUDES="-I$qtopia_incdir" + AC_SUBST(QTOPIA_INCLUDES) + + AC_MSG_RESULT([found version $qtopia_verstr with headers at $qtopia_incdir]) +]) + + +AC_DEFUN(KDE_INIT_DOXYGEN, +[ +AC_MSG_CHECKING([for Qt docs]) +kde_qtdir= +if test "${with_qt_dir+set}" = set; then + kde_qtdir="$with_qt_dir" +fi + +AC_FIND_FILE(qsql.html, [ $kde_qtdir/doc/html $QTDIR/doc/html /usr/share/doc/packages/qt3/html /usr/lib/qt/doc /usr/lib/qt3/doc /usr/lib/qt3/doc/html /usr/doc/qt3/html /usr/doc/qt3 /usr/share/doc/qt3-doc /usr/share/qt3/doc/html ], QTDOCDIR) +AC_MSG_RESULT($QTDOCDIR) + +AC_SUBST(QTDOCDIR) + +KDE_FIND_PATH(dot, DOT, [], []) +if test -n "$DOT"; then + KDE_HAVE_DOT="YES" +else + KDE_HAVE_DOT="NO" +fi +AC_SUBST(KDE_HAVE_DOT) +KDE_FIND_PATH(doxygen, DOXYGEN, [], []) +AC_SUBST(DOXYGEN) + +DOXYGEN_PROJECT_NAME="$1" +DOXYGEN_PROJECT_NUMBER="$2" +AC_SUBST(DOXYGEN_PROJECT_NAME) +AC_SUBST(DOXYGEN_PROJECT_NUMBER) + +KDE_HAS_DOXYGEN=no +if test -n "$DOXYGEN" && test -x "$DOXYGEN" && test -f $QTDOCDIR/qsql.html; then + KDE_HAS_DOXYGEN=yes +fi +AC_SUBST(KDE_HAS_DOXYGEN) + +]) + + +AC_DEFUN(AC_FIND_BZIP2, +[ +AC_MSG_CHECKING([for bzDecompress in libbz2]) +AC_CACHE_VAL(ac_cv_lib_bzip2, +[ +AC_LANG_C +kde_save_LIBS="$LIBS" +LIBS="$all_libraries $USER_LDFLAGS -lbz2 $LIBSOCKET" +kde_save_CFLAGS="$CFLAGS" +CFLAGS="$CFLAGS $all_includes $USER_INCLUDES" +AC_TRY_LINK(dnl +[ +#define BZ_NO_STDIO +#include +], + [ bz_stream s; (void) bzDecompress(&s); ], + eval "ac_cv_lib_bzip2='-lbz2'", + eval "ac_cv_lib_bzip2=no") +LIBS="$kde_save_LIBS" +CFLAGS="$kde_save_CFLAGS" +])dnl +AC_MSG_RESULT($ac_cv_lib_bzip2) + +if test ! "$ac_cv_lib_bzip2" = no; then + BZIP2DIR=bzip2 + + LIBBZ2="$ac_cv_lib_bzip2" + AC_SUBST(LIBBZ2) + +else + + cxx_shared_flag= + ld_shared_flag= + KDE_CHECK_COMPILER_FLAG(shared, [ + ld_shared_flag="-shared" + ]) + KDE_CHECK_COMPILER_FLAG(fPIC, [ + cxx_shared_flag="-fPIC" + ]) + + AC_MSG_CHECKING([for BZ2_bzDecompress in (shared) libbz2]) + AC_CACHE_VAL(ac_cv_lib_bzip2_prefix, + [ + AC_LANG_CPLUSPLUS + kde_save_LIBS="$LIBS" + LIBS="$all_libraries $USER_LDFLAGS $ld_shared_flag -lbz2 $LIBSOCKET" + kde_save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS="$CFLAGS $cxx_shared_flag $all_includes $USER_INCLUDES" + + AC_TRY_LINK(dnl + [ + #define BZ_NO_STDIO + #include + ], + [ bz_stream s; (void) BZ2_bzDecompress(&s); ], + eval "ac_cv_lib_bzip2_prefix='-lbz2'", + eval "ac_cv_lib_bzip2_prefix=no") + LIBS="$kde_save_LIBS" + CXXFLAGS="$kde_save_CXXFLAGS" + ])dnl + + AC_MSG_RESULT($ac_cv_lib_bzip2_prefix) + + + + if test ! "$ac_cv_lib_bzip2_prefix" = no; then + BZIP2DIR=bzip2 + + LIBBZ2="$ac_cv_lib_bzip2_prefix" + AC_SUBST(LIBBZ2) + + AC_DEFINE(NEED_BZ2_PREFIX, 1, [Define if the libbz2 functions need the BZ2_ prefix]) + dnl else, we just ignore this + fi + +fi +AM_CONDITIONAL(include_BZIP2, test -n "$BZIP2DIR") +]) + +dnl ------------------------------------------------------------------------ +dnl Try to find the SSL headers and libraries. +dnl $(SSL_LDFLAGS) will be -Lsslliblocation (if needed) +dnl and $(SSL_INCLUDES) will be -Isslhdrlocation (if needed) +dnl ------------------------------------------------------------------------ +dnl +AC_DEFUN(KDE_CHECK_SSL, +[ +LIBSSL="-lssl -lcrypto" +AC_REQUIRE([KDE_CHECK_LIB64]) + +ac_ssl_includes=NO ac_ssl_libraries=NO +ssl_libraries="" +ssl_includes="" +AC_ARG_WITH(ssl-dir, + [ --with-ssl-dir=DIR where the root of OpenSSL is installed], + [ ac_ssl_includes="$withval"/include + ac_ssl_libraries="$withval"/lib$kdelibsuff + ]) + +want_ssl=yes +AC_ARG_WITH(ssl, + [ --without-ssl disable SSL checks], + [want_ssl=$withval]) + +if test $want_ssl = yes; then + +AC_MSG_CHECKING(for OpenSSL) + +AC_CACHE_VAL(ac_cv_have_ssl, +[#try to guess OpenSSL locations + + ssl_incdirs="/usr/include /usr/local/include /usr/ssl/include /usr/local/ssl/include $prefix/include $kde_extra_includes" + ssl_incdirs="$ac_ssl_includes $ssl_incdirs" + AC_FIND_FILE(openssl/ssl.h, $ssl_incdirs, ssl_incdir) + ac_ssl_includes="$ssl_incdir" + + ssl_libdirs="/usr/lib$kdelibsuff /usr/local/lib$kdelibsuff /usr/ssl/lib$kdelibsuff /usr/local/ssl/lib$kdelibsuff $libdir $prefix/lib$kdelibsuff $exec_prefix/lib$kdelibsuff $kde_extra_libs" + if test ! "$ac_ssl_libraries" = "NO"; then + ssl_libdirs="$ac_ssl_libraries $ssl_libdirs" + fi + + test=NONE + ssl_libdir=NONE + for dir in $ssl_libdirs; do + try="ls -1 $dir/libssl*" + if test=`eval $try 2> /dev/null`; then ssl_libdir=$dir; break; else echo "tried $dir" >&AC_FD_CC ; fi + done + + ac_ssl_libraries="$ssl_libdir" + + AC_LANG_SAVE + AC_LANG_C + + ac_cflags_safe="$CFLAGS" + ac_ldflags_safe="$LDFLAGS" + ac_libs_safe="$LIBS" + + CFLAGS="$CFLAGS -I$ssl_incdir $all_includes" + LDFLAGS="$LDFLAGS -L$ssl_libdir $all_libraries" + LIBS="$LIBS $LIBSSL -lRSAglue -lrsaref" + + AC_TRY_LINK(,void RSAPrivateEncrypt(void);RSAPrivateEncrypt();, + ac_ssl_rsaref="yes" + , + ac_ssl_rsaref="no" + ) + + CFLAGS="$ac_cflags_safe" + LDFLAGS="$ac_ldflags_safe" + LIBS="$ac_libs_safe" + + AC_LANG_RESTORE + + if test "$ac_ssl_includes" = NO || test "$ac_ssl_libraries" = NO; then + have_ssl=no + else + have_ssl=yes; + fi + + ]) + + eval "$ac_cv_have_ssl" + + AC_MSG_RESULT([libraries $ac_ssl_libraries, headers $ac_ssl_includes]) + + AC_MSG_CHECKING([whether OpenSSL uses rsaref]) + AC_MSG_RESULT($ac_ssl_rsaref) + + AC_MSG_CHECKING([for easter eggs]) + AC_MSG_RESULT([none found]) + +else + have_ssl=no +fi + +if test "$have_ssl" = yes; then + AC_MSG_CHECKING(for OpenSSL version) + dnl Check for SSL version + AC_CACHE_VAL(ac_cv_ssl_version, + [ + AC_LANG_SAVE + AC_LANG_C + + cat >conftest.$ac_ext < +#include + int main() { + +#ifndef OPENSSL_VERSION_NUMBER + printf("ssl_version=\\"error\\"\n"); +#else + if (OPENSSL_VERSION_NUMBER < 0x00906000) + printf("ssl_version=\\"old\\"\n"); + else + printf("ssl_version=\\"ok\\"\n"); +#endif + return (0); + } +EOF + + ac_compile='${CC-gcc} $CFLAGS -I$ac_ssl_includes conftest.$ac_ext -o conftest' + if AC_TRY_EVAL(ac_compile); then + + if eval `./conftest 2>&5`; then + if test $ssl_version = error; then + AC_MSG_ERROR([$ssl_incdir/openssl/opensslv.h doesn't define OPENSSL_VERSION_NUMBER !]) + else + if test $ssl_version = old; then + AC_MSG_WARN([OpenSSL version too old. Upgrade to 0.9.6 at least, see http://www.openssl.org. SSL support disabled.]) + have_ssl=no + fi + fi + ac_cv_ssl_version="ssl_version=$ssl_version" + else + AC_MSG_ERROR([Your system couldn't run a small SSL test program. + Check config.log, and if you can't figure it out, send a mail to + David Faure , attaching your config.log]) + fi + + else + AC_MSG_ERROR([Your system couldn't link a small SSL test program. + Check config.log, and if you can't figure it out, send a mail to + David Faure , attaching your config.log]) + fi + + AC_LANG_RESTORE + + ]) + + eval "$ac_cv_ssl_version" + AC_MSG_RESULT($ssl_version) +fi + +if test "$have_ssl" != yes; then + LIBSSL=""; +else + AC_DEFINE(HAVE_SSL, 1, [If we are going to use OpenSSL]) + ac_cv_have_ssl="have_ssl=yes \ + ac_ssl_includes=$ac_ssl_includes ac_ssl_libraries=$ac_ssl_libraries ac_ssl_rsaref=$ac_ssl_rsaref" + + + ssl_libraries="$ac_ssl_libraries" + ssl_includes="$ac_ssl_includes" + + if test "$ac_ssl_rsaref" = yes; then + LIBSSL="-lssl -lcrypto -lRSAglue -lrsaref" + fi + + if test $ssl_version = "old"; then + AC_DEFINE(HAVE_OLD_SSL_API, 1, [Define if you have OpenSSL < 0.9.6]) + fi +fi + +if test "$ssl_includes" = "/usr/include" || test "$ssl_includes" = "/usr/local/include" || test -z "$ssl_includes"; then + SSL_INCLUDES=""; +else + SSL_INCLUDES="-I$ssl_includes" +fi + +if test "$ssl_libraries" = "/usr/lib" || test "$ssl_libraries" = "/usr/local/lib" || test -z "$ssl_libraries"; then + SSL_LDFLAGS="" +else + SSL_LDFLAGS="-L$ssl_libraries -R$ssl_libraries" +fi + +AC_SUBST(SSL_INCLUDES) +AC_SUBST(SSL_LDFLAGS) +AC_SUBST(LIBSSL) +]) + +AC_DEFUN(KDE_CHECK_STRLCPY, +[ + AC_CHECK_STRLCPY + AC_CHECK_STRLCAT + AC_CHECK_SIZEOF(size_t) + AC_CHECK_SIZEOF(unsigned long) + + AC_MSG_CHECKING([sizeof(size_t) == sizeof(unsigned long)]) + AC_TRY_COMPILE(,[ + #if SIZEOF_SIZE_T != SIZEOF_UNSIGNED_LONG + choke me + #endif + ],[AC_MSG_RESULT([yes])],[ + AC_MSG_RESULT([no]) + AC_MSG_ERROR([ + Apparently on your system our assumption sizeof(size_t) == sizeof(unsigned long) + does not apply. Please mail kde-devel@kde.org with a description of your system! + ]) + ]) +]) + diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/am_edit b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/am_edit new file mode 100644 index 0000000000000000000000000000000000000000..a618de1e8173f7250351f6a95daa17f5b57a7739 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/am_edit @@ -0,0 +1,2037 @@ +#!/usr/bin/perl -w + +# Expands the specialised KDE tags in Makefile.in to (hopefully) valid +# make syntax. +# When called without file parameters, we work recursively on all Makefile.in +# in and below the current subdirectory. When called with file parameters, +# only those Makefile.in are changed. +# The currently supported tags are +# +# {program}_METASOURCES +# where you have a choice of two styles +# {program}_METASOURCES = name1.moc name2.moc ... [\] +# {program}_METASOURCES = AUTO +# The second style requires other tags as well. +# +# To install icons : +# KDE_ICON = iconname iconname2 ... +# KDE_ICON = AUTO +# +# For documentation : +# http://developer.kde.org/documentation/other/developer-faq.html +# +# and more new tags TBD! +# +# The concept (and base code) for this program came from automoc, +# supplied by the following +# +# Matthias Ettrich (The originator) +# Kalle Dalheimer (The original implementator) +# Harri Porten +# Alex Zepeda +# David Faure +# Stephan Kulow + +use Cwd; +use File::Find; +use File::Basename; + +# Prototype the functions +sub initialise (); +sub processMakefile ($); +sub updateMakefile (); +sub restoreMakefile (); + +sub removeLine ($$); +sub appendLines ($); +sub substituteLine ($$); + +sub findMocCandidates (); +sub pruneMocCandidates ($); +sub checkMocCandidates (); +sub addMocRules (); + +sub tag_AUTOMAKE (); +sub tag_META_INCLUDES (); +sub tag_METASOURCES (); +sub tag_POFILES (); +sub tag_DOCFILES (); +sub tag_LOCALINSTALL(); +sub tag_IDLFILES(); +sub tag_UIFILES(); +sub tag_SUBDIRS(); +sub tag_ICON(); +sub tag_CLOSURE(); +sub tag_DIST(); + +# Some global globals... +$verbose = 0; # a debug flag +$thisProg = "$0"; # This programs name +$topdir = cwd(); # The current directory +@makefiles = (); # Contains all the files we'll process +@foreignfiles = (); +$start = (times)[0]; # some stats for testing - comment out for release +$version = "v0.2"; +$errorflag = 0; +$cppExt = "(cpp|cc|cxx|C|c\\+\\+)"; +$hExt = "(h|H|hh|hxx|hpp|h\\+\\+)"; +$progId = "KDE tags expanded automatically by " . basename($thisProg); +$automkCall = "\n"; +$printname = ""; # used to display the directory the Makefile is in +$use_final = 1; # create code for --enable-final +$cleantarget = "clean"; +$dryrun = 0; +$pathoption = 0; +$foreign_libtool = 0; + +while (defined ($ARGV[0])) +{ + $_ = shift; + if (/^--version$/) + { + print STDOUT "\n"; + print STDOUT basename($thisProg), " $version\n", + "This is really free software, unencumbered by the GPL.\n", + "You can do anything you like with it except sueing me.\n", + "Copyright 1998 Kalle Dalheimer \n", + "Concept, design and unnecessary questions about perl\n", + " by Matthias Ettrich \n\n", + "Making it useful by Stephan Kulow and\n", + "Harri Porten \n", + "Updated (Feb-1999), John Birch \n", + "Current Maintainer Stephan Kulow\n\n"; + exit 0; + } + elsif (/^--verbose$|^-v$/) + { + $verbose = 1; # Oh is there a problem...? + } + elsif (/^-p(.+)$|^--path=(.+)$/) + { + $thisProg = "$1/".basename($thisProg) if($1); + $thisProg = "$2/".basename($thisProg) if($2); + warn ("$thisProg doesn't exist\n") if (!(-f $thisProg)); + $pathoption=1; + } + elsif (/^--help$|^-h$/) + { + print STDOUT "Usage $thisProg [OPTION] ... [dir/Makefile.in]...\n", + "\n", + "Patches dir/Makefile.in generated by automake\n", + "(where dir can be an absolute or relative directory name)\n", + "\n", + " -v, --verbose verbosely list files processed\n", + " -h, --help print this help, then exit\n", + " --version print version number, then exit\n", + " -p, --path= use the path to am_edit if the path\n", + " called from is not the one to be used\n", + " --no-final don't patch for --enable-final\n"; + + exit 0; + } + elsif (/^--no-final$/) + { + $use_final = 0; + $thisProg .= " --no-final"; + } + elsif (/^--foreign-libtool$/) + { + $foreign_libtool = 1; + $thisProg .= " --foreign-libtool"; + } + elsif (/^-n$/) + { + $dryrun = 1; + } + else + { + # user selects what input files to check + # add full path if relative path is given + $_ = cwd()."/".$_ if (! /^\//); + print "User wants $_\n" if ($verbose); + push (@makefiles, $_); + } +} + +if ($thisProg =~ /^\// && !$pathoption ) +{ + print STDERR "Illegal full pathname call performed...\n", + "The call to \"$thisProg\"\nwould be inserted in some Makefile.in.\n", + "Please use option --path.\n"; + exit 1; +} + +# Only scan for files when the user hasn't entered data +if (!@makefiles) +{ + print STDOUT "Scanning for Makefile.in\n" if ($verbose); + find (\&add_makefile, cwd()); + #chdir('$topdir'); +} else { + print STDOUT "Using input files specified by user\n" if ($verbose); +} + +foreach $makefile (sort(@makefiles)) +{ + processMakefile ($makefile); + last if ($errorflag); +} + +# Just some debug statistics - comment out for release as it uses printf. +printf STDOUT "Time %.2f CPU sec\n", (times)[0] - $start if ($verbose); + +exit $errorflag; # causes make to fail if erroflag is set + +#----------------------------------------------------------------------------- + +# In conjunction with the "find" call, this builds the list of input files +sub add_makefile () +{ + push (@makefiles, $File::Find::name) if (/Makefile.in$/); +} + +#----------------------------------------------------------------------------- + +# Processes a single make file +# The parameter contains the full path name of the Makefile.in to use +sub processMakefile ($) +{ + # some useful globals for the subroutines called here + local ($makefile) = @_; + local @headerdirs = ('.'); + local $haveAutomocTag = 0; + local $MakefileData = ""; + + local $cxxsuffix = "KKK"; + + local @programs = (); # lists the names of programs and libraries + local $program = ""; + + local %realObjs = (); # lists the objects compiled into $program + local %sources = (); # lists the sources used for $program + local %finalObjs = (); # lists the objects compiled when final + local %realname = (); # the binary name of program variable + local %idlfiles = (); # lists the idl files used for $program + local %globalmocs = ();# list of all mocfiles (in %mocFiles format) + local %important = (); # list of files to be generated asap + local %uiFiles = (); + + local $allidls = ""; + local $idl_output = "";# lists all idl generated files for cleantarget + local $ui_output = "";# lists all uic generated files for cleantarget + + local %depedmocs = (); + + local $metasourceTags = 0; + local $dep_files = ""; + local $dep_finals = ""; + local %target_adds = (); # the targets to add + local $kdelang = ""; + local @cleanfiles = (); + local $cleanMoc = ""; + local $closure_output = ""; + + local %varcontent = (); + + $makefileDir = dirname($makefile); + chdir ($makefileDir); + $printname = $makefile; + $printname =~ s/^\Q$topdir\E\///; + $makefile = basename($makefile); + + print STDOUT "Processing makefile $printname\n" if ($verbose); + + # Setup and see if we need to do this. + return if (!initialise()); + + tag_AUTOMAKE (); # Allows a "make" to redo the Makefile.in + tag_META_INCLUDES (); # Supplies directories for src locations + + foreach $program (@programs) { + $sources_changed{$program} = 0; + $depedmocs{$program} = ""; + $important{$program} = ""; + tag_IDLFILES(); # Sorts out idl rules + tag_CLOSURE(); + tag_UIFILES(); # Sorts out ui rules + tag_METASOURCES (); # Sorts out the moc rules + if ($sources_changed{$program}) { + my $lookup = "$program" . '_SOURCES\s*=\s*(.*)'; + substituteLine($lookup, "$program\_SOURCES=" . $sources{$program}); + } + if ($important{$program}) { + local %source_dict = (); + for $source (split(/[\034\s]+/, $sources{$program})) { + $source_dict{$source} = 1; + } + for $source (@cleanfiles) { + $source_dict{$source} = 0; + } + for $source (keys %source_dict) { + next if (!$source); + if ($source_dict{$source}) { + # sanity check + if (! -f $source) { + print STDERR "Error: $source is listed in a _SOURCE line in $printname, but doesn't exist yet. Put it in DISTCLEANFILES!\n"; + } else { + $target_adds{"\$(srcdir)/$source"} .= $important{$program}; + } + } + } + } + } + if ($cleanMoc) { + # Always add dist clean tag + # Add extra *.moc.cpp files created for USE_AUTOMOC because they + # aren't included in the normal *.moc clean rules. + appendLines ("$cleantarget-metasources:\n\t-rm -f $cleanMoc\n"); + $target_adds{"$cleantarget-am"} .= "$cleantarget-metasources "; + } + + tag_DIST() unless ($kdeopts{"noautodist"}); + + if ($idl_output) { + appendLines ("$cleantarget-idl:\n\t-rm -f $idl_output\n"); + $target_adds{"$cleantarget-am"} .= "$cleantarget-idl "; + } + + if ($ui_output) { + appendLines ("$cleantarget-ui:\n\t-rm -f $ui_output\n"); + $target_adds{"$cleantarget-am"} .= "$cleantarget-ui "; + } + + if ($closure_output) { + appendLines ("$cleantarget-closures:\n\t-rm -f $closure_output\n"); + $target_adds{"$cleantarget-am"} .= "$cleantarget-closures "; + } + + if ($MakefileData =~ /\nKDE_LANG\s*=\s*(\S*)\s*\n/) { + $kdelang = '$(KDE_LANG)' + } else { + $kdelang = ''; + } + + tag_POFILES (); # language rules for po directory + tag_DOCFILES (); # language rules for doc directories + tag_LOCALINSTALL(); # add $(DESTDIR) before all kde_ dirs + tag_ICON(); + tag_SUBDIRS(); + + my $tmp = "force-reedit:\n"; + $tmp .= "\t$automkCall\n\tcd \$(top_srcdir) && perl $thisProg $printname\n\n"; + appendLines($tmp); + + make_meta_classes(); + tag_COMPILE_FIRST(); + tag_FINAL() if (!$kdeopts{"nofinal"}); + + my $final_lines = "final:\n\t\$(MAKE) "; + my $final_install_lines = "final-install:\n\t\$(MAKE) "; + my $nofinal_lines = "no-final:\n\t\$(MAKE) "; + my $nofinal_install_lines = "no-final-install:\n\t\$(MAKE) "; + + foreach $program (@programs) { + + my $lookup = "$program\_OBJECTS.*=[^\n]*"; + + my $new = ""; + + my @list = split(/[\034\s]+/, $realObjs{$program}); + + if (!$kdeopts{"nofinal"} && @list > 1 && $finalObjs{$program}) { + + $new .= "$program\_final\_OBJECTS = " . $finalObjs{$program}; + $new .= "\n$program\_nofinal\_OBJECTS = " . $realObjs{$program}; + $new .= "\n\@KDE_USE_FINAL_FALSE\@$program\_OBJECTS = \$($program\_nofinal\_OBJECTS)"; + $new .= "\n\@KDE_USE_FINAL_TRUE\@$program\_OBJECTS = \$($program\_final\_OBJECTS)"; + + $final_lines .= "$program\_OBJECTS=\"\$($program\_final_OBJECTS)\" "; + $final_install_lines .= "$program\_OBJECTS=\"\$($program\_final_OBJECTS)\" "; + $nofinal_lines .= "$program\_OBJECTS=\"\$($program\_nofinal\_OBJECTS)\" "; + $nofinal_install_lines .= "$program\_OBJECTS=\"\$($program\_nofinal_OBJECTS)\" "; + } else { + $new = "$program\_OBJECTS = " . $realObjs{$program}; + } + substituteLine ($lookup, $new); + } + appendLines($final_lines . "all-am"); + appendLines($final_install_lines . "install-am"); + appendLines($nofinal_lines . "all-am"); + appendLines($nofinal_install_lines . "install-am"); + + my $lookup = '(\@\S+\@)?DEP_FILES\s*=([^\n]*)'; + if ($MakefileData =~ /\n$lookup\n/o) { + my $condition = $1; + my $depfiles = $2; + my $workfiles; + + if ($dep_finals) { + # Add the conditions on every line, since + # there may be line continuations in the list. + $workfiles = "$dep_files $dep_finals $depfiles"; + $workfiles =~ s/\034/\034$condition\@KDE_USE_FINAL_TRUE\@\t/g; + $lines = "$condition\@KDE_USE_FINAL_TRUE\@DEP_FILES = $workfiles\n"; + $workfiles = "$dep_files $depfiles"; + $workfiles =~ s/\034/\034$condition\@KDE_USE_FINAL_FALSE\@\t/g; + $lines .= "$condition\@KDE_USE_FINAL_FALSE\@DEP_FILES = $workfiles\n"; + } else { + $workfiles = "$dep_files $depfiles"; + $workfiles =~ s/\034/\034$condition\t/g; + $lines = $condition . "DEP_FILES = $workfiles\n"; + } + substituteLine($lookup, $lines); + } + + my $cvs_lines = "cvs-clean:\n"; + $cvs_lines .= "\t\$(MAKE) admindir=\$(top_srcdir)/admin -f \$(top_srcdir)/admin/Makefile.common cvs-clean\n"; + appendLines($cvs_lines); + + $cvs_lines = "kde-rpo-clean:\n"; + $cvs_lines .= "\t-rm -f *.rpo\n"; + appendLines($cvs_lines); + $target_adds{"clean"} .= "kde-rpo-clean "; + + my %target_dels = ("install-data-am" => ""); + + # some strange people like to do a install-exec, and expect that also + # all modules are installed. automake doesn't know this, so we need to move + # this here from install-data to install-exec. + if ($MakefileData =~ m/\nkde_module_LTLIBRARIES\s*=/) { +# $target_adds{"install-exec-am"} .= "install-kde_moduleLTLIBRARIES "; +# don't use $target_adds here because we need to append the dependency, not +# prepend it. Fixes #44342 , when a module depends on a lib in the same dir +# and libtool needs it during relinking upon install (Simon) + my $lookup = "install-exec-am:([^\n]*)"; + if($MakefileData =~ /\n$lookup\n/) { + substituteLine("$lookup", "install-exec-am: $1 install-kde_moduleLTLIBRARIES"); + } + $target_dels{"install-data-am"} .= "install-kde_moduleLTLIBRARIES "; + $target_adds{"install-data-am"} .= " "; + } + + my $lines = ""; + + foreach $add (keys %target_adds) { + my $lookup = quotemeta($add) . ':([^\n]*)'; + if ($MakefileData =~ /\n$lookup\n/) { + my $newlines = $1; + my $oldlines = $lookup; + if (defined $target_dels{$add}) { + foreach $del (split(' ', $target_dels{$add})) { + $newlines =~ s/\s*$del\s*/ /g; + } + } + substituteLine($oldlines, "$add: " . $target_adds{$add} . $newlines); + } else { + $lines .= "$add: " . $target_adds{$add} . "\n"; + } + } + if ($lines) { + appendLines($lines); + } + + my $found = 1; + + while ($found) { + if ($MakefileData =~ m/\n(.*)\$\(CXXFLAGS\)(.*)\n/) { + my $vor = $1; # "vor" means before in German + my $nach = $2; # "nach" means after in German + my $lookup = quotemeta("$1\$(CXXFLAGS)$2"); + my $replacement = "$1\$(KCXXFLAGS)$2"; + $MakefileData =~ s/$lookup/$replacement/; + $lookup =~ s/\\\$\\\(CXXFLAGS\\\)/\\\$\\\(KCXXFLAGS\\\)/; + $replacement = "$vor\$(KCXXFLAGS) \$(KDE_CXXFLAGS)$nach"; + substituteLine($lookup, $replacement); + } else { + $found = 0; + } + } + + if($foreign_libtool == 0) { + $lookup = '(\n[^#].*\$\(LIBTOOL\) --mode=link) (\$\(CXXLD\).*\$\(KCXXFLAGS\))'; + + if ($MakefileData =~ m/$lookup/ ) { + $MakefileData =~ s/$lookup/$1 --tag=CXX $2/; + } + + $lookup = '(\n[^#].*\$\(LIBTOOL\) --mode=compile)\s+(\$\(CXX\)\s+)'; + if ($MakefileData =~ m/$lookup/ ) { + $MakefileData =~ s/$lookup/$1 --tag=CXX $2/; + } + } + + $MakefileData =~ s/\$\(KCXXFLAGS\)/\$\(CXXFLAGS\)/g; + + $lookup = '(.*)cp -pr \$\$/\$\$file \$\(distdir\)/\$\$file(.*)'; + if ($MakefileData =~ m/\n$lookup\n/) { + substituteLine($lookup, "$1cp -pr \$\$d/\$\$file \$(distdir)/\$\$file$2"); + } + + # Always update the Makefile.in + updateMakefile (); + return; +} + +#----------------------------------------------------------------------------- + +# Beware: This procedure is not complete. E.g. it also parses lines +# containing a '=' in rules (for instance setting shell vars). For our +# usage this us enough, though. +sub read_variables () +{ + while ($MakefileData =~ /\n\s*(\S+)\s*=([^\n]*)/g) { + $varcontent{$1} = $2; + } +} + +# Check to see whether we should process this make file. +# This is where we look for tags that we need to process. +# A small amount of initialising on the tags is also done here. +# And of course we open and/or create the needed make files. +sub initialise () +{ + if (! -r "Makefile.am") { + print STDOUT "found Makefile.in without Makefile.am\n" if ($verbose); + return 0; + } + + # Checking for files to process... + open (FILEIN, $makefile) + || die "Could not open $makefileDir/$makefile: $!\n"; + # Read the file + # stat(FILEIN)[7] might look more elegant, but is slower as it + # requires stat'ing the file + seek(FILEIN, 0, 2); + my $fsize = tell(FILEIN); + seek(FILEIN, 0, 0); + read FILEIN, $MakefileData, $fsize; + close FILEIN; + print "DOS CRLF within $makefileDir/$makefile!\n" if($MakefileData =~ y/\r//d); + + # Remove the line continuations, but keep them marked + # Note: we lose the trailing spaces but that's ok. + # Don't mangle line-leading spaces (usually tabs) + # since they're important. + $MakefileData =~ s/\\\s*\n/\034/g; + + # If we've processed the file before... + restoreMakefile () if ($MakefileData =~ /$progId/); + + foreach $dir (@foreignfiles) { + if (substr($makefileDir,0,length($dir)) eq $dir) { + return 0; + } + } + + %kdeopts = (); + $kdeopts{"foreign"} = 0; + $kdeopts{"qtonly"} = 0; + $kdeopts{"noautodist"} = 0; + $kdeopts{"foreign-libtool"} = $foreign_libtool; + $kdeopts{"nofinal"} = !$use_final; # default + + read_variables(); + + if ($MakefileData =~ /\nKDE_OPTIONS\s*=\s*([^\n]*)\n/) { + my $kde_options_str = $1; + local @kde_options = split(/[\034\s]+/, $kde_options_str); + if (grep(/^foreign$/, @kde_options)) { + push(@foreignfiles, $makefileDir . "/"); + return 0; # don't touch me + } + for $opt (@kde_options) { + if (!defined $kdeopts{$opt}) { + print STDERR "Warning: unknown option $opt in $printname\n"; + } else { + $kdeopts{$opt} = 1; + } + } + } + + # Look for the tags that mean we should process this file. + $metasourceTags = 0; + $metasourceTags++ while ($MakefileData =~ /\n[^=\#]*METASOURCES\s*=/g); + + my $pofileTag = 0; + $pofileTag++ while ($MakefileData =~ /\nPOFILES\s*=/g); + if ($pofileTag > 1) + { + print STDERR "Error: Only one POFILES tag allowed\n"; + $errorflag = 1; + } + + while ($MakefileData =~ /\n\.SUFFIXES:([^\n]+)\n/g) { + my $suffixes_str = $1; + my @list=split(' ', $suffixes_str); + foreach $ext (@list) { + if ($ext =~ /^\.$cppExt$/) { + $cxxsuffix = $ext; + $cxxsuffix =~ s/\.//g; + print STDOUT "will use suffix $cxxsuffix\n" if ($verbose); + last; + } + } + } + + while ($MakefileData =~ /\n(\S*)_OBJECTS\s*=[\034\s]*([^\n]*)\n/g) { + + my $program = $1; + my $objs = $2; # safe them + + my $ocv = 0; + + my @objlist = split(/[\034\s]+/, $objs); + foreach $obj (@objlist) { + if ($obj =~ /(\S*)\$\((\S+)\)/ ) { + my $pre = $1; + my $variable = $2; + if ($pre eq '' && exists($varcontent{$variable})) { + my @addlist = split(/[\034\s]+/, $varcontent{$variable}); + push(@objlist, @addlist); + } elsif ($variable !~ 'OBJEXT') { + $ocv = 1; + } + } + } + + next if ($ocv); + + $program =~ s/^am_// if ($program =~ /^am_/); + + my $sourceprogram = $program; + $sourceprogram =~ s/\@am_/\@/ if($sourceprogram =~ /^.*\@am_.+/); + + print STDOUT "found program $program\n" if ($verbose); + push(@programs, $program); + + $realObjs{$program} = $objs; + + if ($MakefileData =~ /\n$sourceprogram\_SOURCES\s*=\s*(.*)\n/) { + $sources{$program} = $1; + } + else { + $sources{$program} = ""; + print STDERR "found program with no _SOURCES: $program\n"; + } + + my $realprogram = $program; + $realprogram =~ s/_/./g; # unmask to regexp + if ($MakefileData =~ /\n($realprogram)(\$\(EXEEXT\)?)?:.*\$\($program\_OBJECTS\)/) { + $realname{$program} = $1; + } else { + # not standard Makefile - nothing to worry about + $realname{$program} = ""; + } + } + + my $lookup = 'DEPDIR\s*=.*'; + if ($MakefileData !~ /\n($lookup)\n/o) { + $lookup = 'bindir\s*=.*'; + if ($MakefileData =~ /\n($lookup)\n/) { + substituteLine ($lookup, "DEPDIR = .deps\n$1"); + } + } + + my @marks = ('MAINTAINERCLEANFILES', 'CLEANFILES', 'DISTCLEANFILES'); + foreach $mark (@marks) { + while ($MakefileData =~ /\n($mark)\s*=\s*([^\n]*)/g) { + my $clean_str = $2; + foreach $file (split('[\034\s]+', $clean_str)) { + $file =~ s/\.\///; + push(@cleanfiles, $file); + } + } + } + + my $localTag = 0; + $localTag++ if ($MakefileData =~ /\ninstall-\S+-local:/); + + return (!$errorflag); +} + +#----------------------------------------------------------------------------- + +# Gets the list of user defined directories - relative to $srcdir - where +# header files could be located. +sub tag_META_INCLUDES () +{ + my $lookup = '[^=\n]*META_INCLUDES\s*=\s*(.*)'; + return 1 if ($MakefileData !~ /($lookup)\n/o); + print STDOUT "META_INCLUDE processing <$1>\n" if ($verbose); + + my $headerStr = $2; + removeLine ($lookup, $1); + + my @headerlist = split(/[\034\s]+/, $headerStr); + + foreach $dir (@headerlist) + { + $dir =~ s#\$\(srcdir\)#.#; + if (! -d $dir) + { + print STDERR "Warning: $dir can't be found. ", + "Must be a relative path to \$(srcdir)\n"; + } + else + { + push (@headerdirs, $dir); + } + } + + return 0; +} + +#----------------------------------------------------------------------------- + +sub tag_FINAL() +{ + my @final_names = (); + + foreach $program (@programs) { + + if ($sources{$program} =~ /\(/) { + print STDOUT "found ( in $program\_SOURCES. skipping\n" if ($verbose); + next; + } + + my $mocs = ""; # Moc files (in this program) + my $moc_cpp_added = 0; # If we added some .moc.cpp files, due to + # no other .cpp file including the .moc one. + + my @progsources = split(/[\034\s]+/, $sources{$program}); + my %shash = (); + @shash{@progsources} = 1; # we are only interested in the existence + my %sourcelist = (); + + foreach $source (@progsources) { + my $suffix = $source; + $suffix =~ s/^.*\.([^\.]+)$/$1/; + + $sourcelist{$suffix} .= "$source "; + } + foreach my $mocFile (keys (%globalmocs)) + { + my ($dir, $hFile, $cppFile) = split ("\035", $globalmocs{$mocFile}, 3); + if (defined ($cppFile)) { + $mocs .= " $mocFile.moc" if exists $shash{$cppFile}; + } else { + $sourcelist{$cxxsuffix} .= "$mocFile.moc.$cxxsuffix "; + $moc_cpp_added = 1; + } + } + foreach $suffix (keys %sourcelist) { + + # See if this file contains c++ code. (i.e., just check the file's suffix against c++ extensions) + my $suffix_is_cxx = 0; + if($suffix =~ /($cppExt)$/) { + $cxxsuffix = $1; + $suffix_is_cxx = 1; + } + + my $mocfiles_in = ($suffix eq $cxxsuffix) && $moc_cpp_added; + + my @sourcelist = split(/[\034\s]+/, $sourcelist{$suffix}); + + if ((@sourcelist == 1 && !$mocfiles_in) || $suffix_is_cxx != 1 ) { + + # we support IDL on our own + if ($suffix eq "skel" || $suffix =~ /^stub/ + || $suffix =~ /^signals/ # obsolete, remove in KDE-4 + || $suffix eq "h" || $suffix eq "ui" ) { + next; + } + + foreach $file (@sourcelist) { + $file =~ s/\Q$suffix\E$//; + + $finalObjs{$program} .= $file; + if ($program =~ /_la$/) { + $finalObjs{$program} .= "lo "; + } else { + $finalObjs{$program} .= "o "; + } + } + next; # suffix + } + + my $source_deps = ""; + foreach $source (@sourcelist) { + if (-f $source) { + $source_deps .= " \$(srcdir)/$source"; + } else { + $source_deps .= " $source"; + } + } + + $handling = "$program.all_$suffix.$suffix: \$(srcdir)/Makefile.in" . $source_deps . " " . join(' ', $mocs) . "\n"; + $handling .= "\t\@echo 'creating $program.all_$suffix.$suffix ...'; \\\n"; + $handling .= "\trm -f $program.all_$suffix.files $program.all_$suffix.final; \\\n"; + $handling .= "\techo \"#define KDE_USE_FINAL 1\" >> $program.all_$suffix.final; \\\n"; + $handling .= "\tfor file in " . $sourcelist{$suffix} . "; do \\\n"; + $handling .= "\t echo \"#include \\\"\$\$file\\\"\" >> $program.all_$suffix.files; \\\n"; + $handling .= "\t test ! -f \$\(srcdir\)/\$\$file || egrep '^#pragma +implementation' \$\(srcdir\)/\$\$file >> $program.all_$suffix.final; \\\n"; + $handling .= "\tdone; \\\n"; + $handling .= "\tcat $program.all_$suffix.final $program.all_$suffix.files > $program.all_$suffix.$suffix; \\\n"; + $handling .= "\trm -f $program.all_$suffix.final $program.all_$suffix.files\n"; + + appendLines($handling); + + push(@final_names, "$program.all_$suffix.$suffix"); + my $finalObj = "$program.all_$suffix."; + if ($program =~ /_la$/) { + $finalObj .= "lo"; + } else { + $finalObj .= "o"; + } + $finalObjs{$program} .= $finalObj . " "; + } + } + + if (!$kdeopts{"nofinal"} && @final_names >= 1) { + # add clean-final target + my $lines = "$cleantarget-final:\n"; + $lines .= "\t-rm -f " . join(' ', @final_names) . "\n" if (@final_names); + appendLines($lines); + $target_adds{"$cleantarget-am"} .= "$cleantarget-final "; + + foreach $finalfile (@final_names) { + $finalfile =~ s/\.[^.]*$/.P/; + $dep_finals .= " \$(DEPDIR)/$finalfile"; + } + } +} + +#----------------------------------------------------------------------------- + +sub tag_COMPILE_FIRST() +{ + foreach $program (@programs) { + my $lookup = "$program" . '_COMPILE_FIRST\s*=\s*(.*)'; + if ($MakefileData =~ m/\n$lookup\n/) { + my $compilefirst_str = $1; + my @compilefirst = split(/[\034\s]+/, $compilefirst_str); + my @progsources = split(/[\034\s]+/, $sources{$program}); + my %donesources = (); + $handling = ""; + foreach $source (@progsources) { + my @deps = (); + my $sdeps = ""; + if (-f $source) { + $sdeps = "\$(srcdir)/$source"; + } else { + $sdeps = "$source"; + } + foreach $depend (@compilefirst) { + next if ($source eq $depend); + # avoid cyclic dependencies + next if defined($donesources{$depend}); + push @deps, $depend; + } + $handling .= "$sdeps: " . join(' ', @deps) . "\n" if (@deps); + $donesources{$source} = 1; + } + appendLines($handling) if (length($handling)); + } + } +} + +#----------------------------------------------------------------------------- + + +# Organises the list of headers that we'll use to produce moc files +# from. +sub tag_METASOURCES () +{ + local @newObs = (); # here we add to create object files + local @deped = (); # here we add to create moc files + local $mocExt = ".moc"; + local %mocFiles = (); + + my $line = ""; + my $postEqual = ""; + + my $lookup; + my $found = ""; +#print "$program: tag_METASOURCES\n"; + if ($metasourceTags > 1) { + $lookup = $program . '_METASOURCES\s*=\s*(.*)'; + return 1 if ($MakefileData !~ /\n($lookup)\n/); + $found = $1; + } else { + $lookup = $program . '_METASOURCES\s*=\s*(.*)'; + if ($MakefileData !~ /\n($lookup)\n/) { + $lookup = 'METASOURCES\s*=\s*(.*)'; + return 1 if ($MakefileData !~ /\n($lookup)\n/o); + $found = $1; + $metasourceTags = 0; # we can use the general target only once + } else { + $found = $1; + } + } + print STDOUT "METASOURCE processing <$found>)\n" if ($verbose); + + $postEqual = $found; + $postEqual =~ s/[^=]*=//; + + removeLine ($lookup, $found); + + # Always find the header files that could be used to "moc" + return 1 if (findMocCandidates ()); + + if ($postEqual =~ /AUTO\s*(\S*)|USE_AUTOMOC\s*(\S*)/) + { + print STDERR "$printname: the argument for AUTO|USE_AUTOMOC is obsolete" if ($+); + $mocExt = ".moc.$cxxsuffix"; + $haveAutomocTag = 1; + } + else + { + # Not automoc so read the list of files supplied which + # should be .moc files. + + $postEqual =~ tr/\034/ /; + + # prune out extra headers - This also checks to make sure that + # the list is valid. + pruneMocCandidates ($postEqual); + } + + checkMocCandidates (); + + if (@newObs) { + my $ext = ($program =~ /_la$/) ? ".moc.lo " : ".moc.o "; + $realObjs{$program} .= "\034" . join ($ext, @newObs) . $ext; + $depedmocs{$program} = join (".moc.$cxxsuffix " , @newObs) . ".moc.$cxxsuffix"; + foreach $file (@newObs) { + $dep_files .= " \$(DEPDIR)/$file.moc.P" if($dep_files !~/$file.moc.P/); + } + } + if (@deped) { + $depedmocs{$program} .= " "; + $depedmocs{$program} .= join('.moc ', @deped) . ".moc"; + $depedmocs{$program} .= " "; + } + addMocRules (); + @globalmocs{keys %mocFiles}=values %mocFiles; +} + +#----------------------------------------------------------------------------- + +# Returns 0 if the line was processed - 1 otherwise. +# Errors are logged in the global $errorflags +sub tag_AUTOMAKE () +{ + my $lookup = '.*cd \$\(top_srcdir\)\s+&&[\034\s]+\$\(AUTOMAKE\)(.*)'; + return 1 if ($MakefileData !~ /\n($lookup)\n/); + print STDOUT "AUTOMAKE processing <$1>\n" if ($verbose); + + my $newLine = $1."\n\tcd \$(top_srcdir) && perl $thisProg $printname"; + substituteLine ($lookup, $newLine); + $automkCall = $1; + return 0; +} + +#----------------------------------------------------------------------------- + +sub handle_TOPLEVEL() +{ + my $pofiles = ""; + my @restfiles = (); + opendir (THISDIR, "."); + foreach $entry (readdir(THISDIR)) { + next if (-d $entry); + + next if ($entry eq "CVS" || $entry =~ /^\./ || $entry =~ /^Makefile/ || $entry =~ /~$/ || $entry =~ /^\#.*\#$/ || $entry =~ /.gmo$/); + + if ($entry =~ /\.po$/) { + next; + } + push(@restfiles, $entry); + } + closedir (THISDIR); + + if (@restfiles) { + $target_adds{"install-data-am"} .= "install-nls-files "; + $lines = "install-nls-files:\n"; + $lines .= "\t\$(mkinstalldirs) \$(DESTDIR)\$(kde_locale)/$kdelang\n"; + for $file (@restfiles) { + $lines .= "\t\$(INSTALL_DATA) \$\(srcdir\)/$file \$(DESTDIR)\$(kde_locale)/$kdelang/$file\n"; + } + $target_adds{"uninstall"} .= "uninstall-nls-files "; + $lines .= "uninstall-nls-files:\n"; + for $file (@restfiles) { + $lines .= "\t-rm -f \$(DESTDIR)\$(kde_locale)/$kdelang/$file\n"; + } + appendLines($lines); + } + + return 0; +} + +#----------------------------------------------------------------------------- + +sub tag_SUBDIRS () +{ + if ($MakefileData !~ /\nSUBDIRS\s*=\s*\$\(AUTODIRS\)\s*\n/) { + return 1; + } + + my $subdirs = "."; + + opendir (THISDIR, "."); + foreach $entry (readdir(THISDIR)) { + next if ($entry eq "CVS" || $entry =~ /^\./); + if (-d $entry && -f $entry . "/Makefile.am") { + $subdirs .= " $entry"; + next; + } + } + closedir (THISDIR); + + my $lines = "SUBDIRS =$subdirs\n"; + substituteLine('SUBDIRS\s*=.*', $lines); + return 0; +} + +sub tag_IDLFILES () +{ + my @psources = split(/[\034\s]+/, $sources{$program}); + my $dep_lines = ""; + my @cppFiles = (); + + foreach $source (@psources) { + + my $skel = ($source =~ m/\.skel$/); + my $stub = ($source =~ m/\.stub$/); + my $signals = ($source =~ m/\.signals$/); # obsolete, remove in KDE-4 + + if ($stub || $skel || $signals) { + + my $qs = quotemeta($source); + $sources{$program} =~ s/$qs//; + $sources_changed{$program} = 1; + + print STDOUT "adding IDL file $source\n" if ($verbose); + + $source =~ s/\.(stub|skel|signals)$//; + + my $sourcename; + + if ($skel) { + $sourcename = "$source\_skel"; + } elsif ($stub) { + $sourcename = "$source\_stub"; + } else { + $sourcename = "$source\_signals"; + } + + my $sourcedir = ''; + if (-f "$makefileDir/$source.h") { + $sourcedir = '$(srcdir)/'; + } else { + if ($MakefileData =~ /\n$source\_DIR\s*=\s*(\S+)\n/) { + $sourcedir = $1; + $sourcedir .= "/" if ($sourcedir !~ /\/$/); + } + } + + if ($allidls !~ /$source\_kidl/) { + + $dep_lines .= "$source.kidl: $sourcedir$source.h \$(DCOP_DEPENDENCIES)\n"; + $dep_lines .= "\t\$(DCOPIDL) $sourcedir$source.h > $source.kidl || ( rm -f $source.kidl ; false )\n"; + + $allidls .= $source . "_kidl "; + } + + if ($allidls !~ /$sourcename/) { + + $dep_lines_tmp = ""; + + if ($skel) { + $dep_lines .= "$sourcename.$cxxsuffix: $source.kidl\n"; + $dep_lines .= "\t\$(DCOPIDL2CPP) --c++-suffix $cxxsuffix --no-signals --no-stub $source.kidl\n"; + } elsif ($stub) { + $dep_lines_tmp = "\t\$(DCOPIDL2CPP) --c++-suffix $cxxsuffix --no-signals --no-skel $source.kidl\n"; + } else { # signals - obsolete, remove in KDE 4 + $dep_lines_tmp = "\t\$(DCOPIDL2CPP) --c++-suffix $cxxsuffix --no-stub --no-skel $source.kidl\n"; + } + + if ($stub || $signals) { + $target_adds{"$sourcename.$cxxsuffix"} .= "$sourcename.h "; + $dep_lines .= "$sourcename.h: $source.kidl\n"; + $dep_lines .= $dep_lines_tmp; + } + + $allidls .= $sourcename . " "; + } + + $idlfiles{$program} .= $sourcename . " "; + + if ($program =~ /_la$/) { + $realObjs{$program} .= " $sourcename.lo"; + } else { + $realObjs{$program} .= " $sourcename.\$(OBJEXT)"; + } + $sources{$program} .= " $sourcename.$cxxsuffix"; + $sources_changed{$program} = 1; + $important{$program} .= "$sourcename.h " if (!$skel); + $idl_output .= "\\\n\t$sourcename.$cxxsuffix $sourcename.h $source.kidl "; + push(@cleanfiles, "$sourcename.$cxxsuffix"); + push(@cleanfiles, "$sourcename.h"); + push(@cleanfiles, "$sourcename.kidl"); + $dep_files .= " \$(DEPDIR)/$sourcename.P" if ($dep_files !~/$sourcename.P/); + } + } + if ($dep_lines) { + appendLines($dep_lines); + } + + if (0) { + my $lookup = "($program)"; + $lookup .= '(|\$\(EXEEXT\))'; + $lookup =~ s/\_/./g; + $lookup .= ":(.*..$program\_OBJECTS..*)"; + # $lookup = quotemeta($lookup); + if ($MakefileData =~ /\n$lookup\n/) { + + my $line = "$1$2: "; + foreach $file (split(' ', $idlfiles{$program})) { + $line .= "$file.$cxxsuffix "; + } + $line .= $3; + substituteLine($lookup, $line); + } else { + print STDERR "no built dependency found $lookup\n"; + } + } +} + +sub tag_UIFILES () +{ + my @psources = split(/[\034\s]+/, $sources{$program}); + my $dep_lines = ""; + my @depFiles = (); + + foreach $source (@psources) { + + if ($source =~ m/\.ui$/) { + + print STDERR "adding UI file $source\n" if ($verbose); + + my $qs = quotemeta($source); + $sources{$program} =~ s/$qs//; + $sources_changed{$program} = 1; + + $source =~ s/\.ui$//; + + my $sourcedir = ''; + if (-f "$makefileDir/$source.ui") { + $sourcedir = '$(srcdir)/'; + } + + if (!$uiFiles{$source}) { + + $dep_lines .= "$source.$cxxsuffix: $sourcedir$source.ui $source.h $source.moc\n"; + $dep_lines .= "\trm -f $source.$cxxsuffix\n"; + if (!$kdeopts{"qtonly"}) { + $dep_lines .= "\techo '#include ' > $source.$cxxsuffix\n"; + my ($mangled_source) = $source; + $mangled_source =~ s/[^A-Za-z0-9]/_/g; # get rid of garbage + $dep_lines .= "\t\$(UIC) -tr \${UIC_TR} -i $source.h $sourcedir$source.ui > $source.$cxxsuffix.temp ; ret=\$\$?; \\\n"; + $dep_lines .= "\tsed -e \"s,\${UIC_TR}( \\\"\\\" ),QString::null,g\" $source.$cxxsuffix.temp | sed -e \"s,\${UIC_TR}( \\\"\\\"\\, \\\"\\\" ),QString::null,g\" | sed -e \"s,image\\([0-9][0-9]*\\)_data,img\\1_" . $mangled_source . ",g\" >> $source.$cxxsuffix ;\\\n"; + $dep_lines .= "\trm -f $source.$cxxsuffix.temp ;\\\n"; + } else { + $dep_lines .= "\t\$(UIC) -i $source.h $sourcedir$source.ui > $source.$cxxsuffix; ret=\$\$?; \\\n"; + } + $dep_lines .= "\tif test \"\$\$ret\" = 0; then echo '#include \"$source.moc\"' >> $source.$cxxsuffix; else rm -f $source.$cxxsuffix ; exit \$\$ret ; fi\n\n"; + $dep_lines .= "$source.h: $sourcedir$source.ui\n"; + $dep_lines .= "\t\$(UIC) -o $source.h $sourcedir$source.ui\n\n"; + $dep_lines .= "$source.moc: $source.h\n"; + $dep_lines .= "\t\$(MOC) $source.h -o $source.moc\n"; + + $uiFiles{$source} = 1; + $depedmocs{$program} .= " $source.moc"; + $globalmocs{$source} = "\035$source.h\035$source.cpp"; + } + + if ($program =~ /_la$/) { + $realObjs{$program} .= " $source.lo"; + } else { + $realObjs{$program} .= " $source.\$(OBJEXT)"; + } + $sources{$program} .= " $source.$cxxsuffix"; + $sources_changed{$program} = 1; + $important{$program} .= "$source.h "; + $ui_output .= "\\\n\t$source.$cxxsuffix $source.h $source.moc "; + push(@cleanfiles, "$source.$cxxsuffix"); + push(@cleanfiles, "source.h"); + push(@cleanfiles, "$source.moc"); + $dep_files .= " \$(DEPDIR)/$source.P" if($dep_files !~/$source.P/ ); + } + } + if ($dep_lines) { + appendLines($dep_lines); + } +} + +sub tag_ICON() +{ + my $lookup = '([^\s]*)_ICON\s*=\s*([^\n]*)'; + my $install = ""; + my $uninstall = ""; + + while ($MakefileData =~ /\n$lookup/og) { + my $destdir; + if ($1 eq "KDE") { + $destdir = "kde_icondir"; + } else { + $destdir = $1 . "dir"; + } + my $iconauto = ($2 =~ /AUTO\s*$/); + my @appnames = (); + if ( ! $iconauto ) { + my $appicon_str = $2; + my @_appnames = split(" ", $appicon_str); + print STDOUT "KDE_ICON processing <@_appnames>\n" if ($verbose); + foreach $appname (@_appnames) { + push(@appnames, quotemeta($appname)); + } + } else { + print STDOUT "KDE_ICON processing \n" if ($verbose); + } + + my @files = (); + opendir (THISDIR, "."); + foreach $entry (readdir(THISDIR)) { + next if ($entry eq "CVS" || $entry =~ /^\./ || $entry =~ /^Makefile/ || $entry =~ /~$/ || $entry =~ /^\#.*\#$/); + next if (! -f $entry); + if ( $iconauto ) + { + push(@files, $entry) + if ($entry =~ /\.xpm/ || $entry =~ /\.png/ || $entry =~ /\.mng/ || $entry =~ /\.svg/); + } else { + foreach $appname (@appnames) { + push(@files, $entry) + if ($entry =~ /-$appname\.xpm/ || $entry =~ /-$appname\.png/ || $entry =~ /-$appname\.mng/ || $entry =~ /-$appname\.svg/); + } + } + } + closedir (THISDIR); + + my %directories = (); + + foreach $file (@files) { + my $newfile = $file; + my $prefix = $file; + $prefix =~ s/\.(png|xpm|mng|svg|svgz)$//; + my $appname = $prefix; + $appname =~ s/^[^-]+-// if ($appname =~ /-/) ; + $appname =~ s/^[^-]+-// if ($appname =~ /-/) ; + $appname = quotemeta($appname); + $prefix =~ s/$appname$//; + $prefix =~ s/-$//; + + $prefix = 'lo16-app' if ($prefix eq 'mini'); + $prefix = 'lo32-app' if ($prefix eq 'lo'); + $prefix = 'hi48-app' if ($prefix eq 'large'); + $prefix .= '-app' if ($prefix =~ m/^...$/); + + my $type = $prefix; + $type =~ s/^.*-([^-]+)$/$1/; + $prefix =~ s/^(.*)-[^-]+$/$1/; + + my %type_hash = + ( + 'action' => 'actions', + 'app' => 'apps', + 'device' => 'devices', + 'filesys' => 'filesystems', + 'mime' => 'mimetypes' + ); + + if (! defined $type_hash{$type} ) { + print STDERR "unknown icon type $type in $printname ($file)\n"; + next; + } + + my %dir_hash = + ( + 'los' => 'locolor/16x16', + 'lom' => 'locolor/32x32', + 'him' => 'hicolor/32x32', + 'hil' => 'hicolor/48x48', + 'lo16' => 'locolor/16x16', + 'lo22' => 'locolor/22x22', + 'lo32' => 'locolor/32x32', + 'hi16' => 'hicolor/16x16', + 'hi22' => 'hicolor/22x22', + 'hi32' => 'hicolor/32x32', + 'hi48' => 'hicolor/48x48', + 'hi64' => 'hicolor/64x64', + 'hi128' => 'hicolor/128x128', + 'hisc' => 'hicolor/scalable', + 'cr16' => 'crystalsvg/16x16', + 'cr22' => 'crystalsvg/22x22', + 'cr32' => 'crystalsvg/32x32', + 'cr48' => 'crystalsvg/48x48', + 'cr64' => 'crystalsvg/64x64', + 'cr128' => 'crystalsvg/128x128', + 'crsc' => 'crystalsvg/scalable' + ); + + $newfile =~ s@.*-($appname\.(png|xpm|mng|svgz|svg?))@$1@; + + if (! defined $dir_hash{$prefix}) { + print STDERR "unknown icon prefix $prefix in $printname\n"; + next; + } + + my $dir = $dir_hash{$prefix} . "/" . $type_hash{$type}; + if ($newfile =~ /-[^\.]/) { + my $tmp = $newfile; + $tmp =~ s/^([^-]+)-.*$/$1/; + $dir = $dir . "/" . $tmp; + $newfile =~ s/^[^-]+-//; + } + + if (!defined $directories{$dir}) { + $install .= "\t\$(mkinstalldirs) \$(DESTDIR)\$($destdir)/$dir\n"; + $directories{$dir} = 1; + } + + $install .= "\t\$(INSTALL_DATA) \$(srcdir)/$file \$(DESTDIR)\$($destdir)/$dir/$newfile\n"; + $uninstall .= "\t-rm -f \$(DESTDIR)\$($destdir)/$dir/$newfile\n"; + + } + } + + if (length($install)) { + $target_adds{"install-data-am"} .= "install-kde-icons "; + $target_adds{"uninstall-am"} .= "uninstall-kde-icons "; + appendLines("install-kde-icons:\n" . $install . "\nuninstall-kde-icons:\n" . $uninstall); + } +} + +sub handle_POFILES($$) +{ + my @pofiles = split(" ", $_[0]); + my $lang = $_[1]; + + # Build rules for creating the gmo files + my $tmp = ""; + my $allgmofiles = ""; + my $pofileLine = "POFILES ="; + foreach $pofile (@pofiles) + { + $pofile =~ /(.*)\.[^\.]*$/; # Find name minus extension + $tmp .= "$1.gmo: $pofile\n"; + $tmp .= "\trm -f $1.gmo; \$(GMSGFMT) -o $1.gmo \$(srcdir)/$pofile\n"; + $tmp .= "\ttest ! -f $1.gmo || touch $1.gmo\n"; + $allgmofiles .= " $1.gmo"; + $pofileLine .= " $1.po"; + } + appendLines ($tmp); + my $lookup = 'POFILES\s*=([^\n]*)'; + if ($MakefileData !~ /\n$lookup/o) { + appendLines("$pofileLine\nGMOFILES =$allgmofiles"); + } else { + substituteLine ($lookup, "$pofileLine\nGMOFILES =$allgmofiles"); + } + + if ($allgmofiles) { + + # Add the "clean" rule so that the maintainer-clean does something + appendLines ("clean-nls:\n\t-rm -f $allgmofiles\n"); + + $target_adds{"maintainer-clean"} .= "clean-nls "; + + $lookup = 'DISTFILES\s*=\s*(.*)'; + if ($MakefileData =~ /\n$lookup\n/o) { + $tmp = "DISTFILES = \$(GMOFILES) \$(POFILES) $1"; + substituteLine ($lookup, $tmp); + } + } + + $target_adds{"install-data-am"} .= "install-nls "; + + $tmp = "install-nls:\n"; + if ($lang) { + $tmp .= "\t\$(mkinstalldirs) \$(DESTDIR)\$(kde_locale)/$lang/LC_MESSAGES\n"; + } + $tmp .= "\t\@for base in "; + foreach $pofile (@pofiles) + { + $pofile =~ /(.*)\.[^\.]*$/; # Find name minus extension + $tmp .= "$1 "; + } + + $tmp .= "; do \\\n"; + if ($lang) { + $tmp .= "\t echo \$(INSTALL_DATA) \$\$base.gmo \$(DESTDIR)\$(kde_locale)/$lang/LC_MESSAGES/\$\$base.mo ;\\\n"; + $tmp .= "\t if test -f \$\$base.gmo; then \$(INSTALL_DATA) \$\$base.gmo \$(DESTDIR)\$(kde_locale)/$lang/LC_MESSAGES/\$\$base.mo ;\\\n"; + $tmp .= "\t elif test -f \$(srcdir)/\$\$base.gmo; then \$(INSTALL_DATA) \$(srcdir)/\$\$base.gmo \$(DESTDIR)\$(kde_locale)/$lang/LC_MESSAGES/\$\$base.mo ;\\\n"; + $tmp .= "\t fi ;\\\n"; + } else { + $tmp .= "\t echo \$(INSTALL_DATA) \$\$base.gmo \$(DESTDIR)\$(kde_locale)/\$\$base/LC_MESSAGES/\$(PACKAGE).mo ;\\\n"; + $tmp .= "\t \$(mkinstalldirs) \$(DESTDIR)\$(kde_locale)/\$\$base/LC_MESSAGES ; \\\n"; + $tmp .= "\t if test -f \$\$base.gmo; then \$(INSTALL_DATA) \$\$base.gmo \$(DESTDIR)\$(kde_locale)/\$\$base/LC_MESSAGES/\$(PACKAGE).mo ;\\\n"; + $tmp .= "\t elif test -f \$(srcdir)/\$\$base.gmo; then \$(INSTALL_DATA) \$(srcdir)/\$\$base.gmo \$(DESTDIR)\$(kde_locale)/\$\$base/LC_MESSAGES/\$(PACKAGE).mo ;\\\n"; + $tmp .= "\t fi ;\\\n"; + } + $tmp .= "\tdone\n\n"; + appendLines ($tmp); + + $target_adds{"uninstall"} .= "uninstall-nls "; + + $tmp = "uninstall-nls:\n"; + foreach $pofile (@pofiles) + { + $pofile =~ /(.*)\.[^\.]*$/; # Find name minus extension + if ($lang) { + $tmp .= "\trm -f \$(DESTDIR)\$(kde_locale)/$lang/LC_MESSAGES/$1.mo\n"; + } else { + $tmp .= "\trm -f \$(DESTDIR)\$(kde_locale)/$1/LC_MESSAGES/\$(PACKAGE).mo\n"; + } + } + appendLines($tmp); + + $target_adds{"all"} .= "all-nls "; + + $tmp = "all-nls: \$(GMOFILES)\n"; + + appendLines($tmp); + + $target_adds{"distdir"} .= "distdir-nls "; + + $tmp = "distdir-nls:\$(GMOFILES)\n"; + $tmp .= "\tfor file in \$(POFILES); do \\\n"; + $tmp .= "\t cp \$(srcdir)/\$\$file \$(distdir); \\\n"; + $tmp .= "\tdone\n"; + $tmp .= "\tfor file in \$(GMOFILES); do \\\n"; + $tmp .= "\t cp \$(srcdir)/\$\$file \$(distdir); \\\n"; + $tmp .= "\tdone\n"; + + appendLines ($tmp); + + if (!$lang) { + appendLines("merge:\n\t\$(MAKE) -f \$(top_srcdir)/admin/Makefile.common package-merge POFILES=\"\${POFILES}\" PACKAGE=\${PACKAGE}\n\n"); + } + +} + +#----------------------------------------------------------------------------- + +# Returns 0 if the line was processed - 1 otherwise. +# Errors are logged in the global $errorflags +sub tag_POFILES () +{ + my $lookup = 'POFILES\s*=([^\n]*)'; + return 1 if ($MakefileData !~ /\n$lookup/o); + print STDOUT "POFILES processing <$1>\n" if ($verbose); + + my $tmp = $1; + + # make sure these are all gone. + if ($MakefileData =~ /\n\.po\.gmo:\n/) + { + print STDERR "Warning: Found old .po.gmo rules in $printname. New po rules not added\n"; + return 1; + } + + # Either find the pofiles in the directory (AUTO) or use + # only the specified po files. + my $pofiles = ""; + if ($tmp =~ /^\s*AUTO\s*$/) + { + opendir (THISDIR, "."); + $pofiles = join(" ", grep(/\.po$/, readdir(THISDIR))); + closedir (THISDIR); + print STDOUT "pofiles found = $pofiles\n" if ($verbose); + if (-f "charset" && -f "kdelibs.po") { + handle_TOPLEVEL(); + } + } + else + { + $tmp =~ s/\034/ /g; + $pofiles = $tmp; + } + return 1 if (!$pofiles); # Nothing to do + + handle_POFILES($pofiles, $kdelang); + + return 0; +} + +sub helper_LOCALINSTALL($) +{ + my $lookup = "\035" . $_[0] . " *:[^\035]*\035\t"; + my $copy = $MakefileData; + $copy =~ s/\n/\035/g; + if ($copy =~ /($lookup.*)$/) { + + $install = $1; + $install =~ s/\035$_[0] *:[^\035]*\035//; + my $emptyline = 0; + while (! $emptyline ) { + if ($install =~ /([^\035]*)\035(.*)/) { + local $line = $1; + $install = $2; + if ($line !~ /^\s*$/ && $line !~ /^(\@.*\@)*\t/) { + $emptyline = 1; + } else { + replaceDestDir($line); + } + } else { + $emptyline = 1; + } + } + } + +} + +sub tag_LOCALINSTALL () +{ + helper_LOCALINSTALL('install-exec-local'); + helper_LOCALINSTALL('install-data-local'); + helper_LOCALINSTALL('uninstall-local'); + + return 0; +} + +sub replaceDestDir($) { + local $line = $_[0]; + + if ( $line =~ /^\s*(\@.*\@)*\s*\$\(mkinstalldirs\)/ + || $line =~ /^\s*(\@.*\@)*\s*\$\(INSTALL\S*\)/ + || $line =~ /^\s*(\@.*\@)*\s*(-?rm.*) \S*$/) + { + $line =~ s/^(.*) ([^\s]+)\s*$/$1 \$(DESTDIR)$2/ if ($line !~ /\$\(DESTDIR\)/); + } + + if ($line ne $_[0]) { + $_[0] = quotemeta $_[0]; + substituteLine($_[0], $line); + } +} + +#--------------------------------------------------------------------------- +sub tag_CLOSURE () { + return if ($program !~ /_la$/); + + my $lookup = quotemeta($realname{$program}) . ":.*?\n\t.*?\\((.*?)\\) .*\n"; + $MakefileData =~ m/$lookup/; + return if ($1 !~ /CXXLINK/); + + if ($MakefileData !~ /\n$program\_LDFLAGS\s*=.*-no-undefined/ && + $MakefileData !~ /\n$program\_LDFLAGS\s*=.*KDE_PLUGIN/ ) { + print STDERR "Report: $program contains undefined in $printname\n" if ($program =~ /^lib/ && $dryrun); + return; + } + + my $closure = $realname{$program} . ".closure"; + my $lines = "$closure: \$($program\_OBJECTS) \$($program\_DEPENDENCIES)\n"; + $lines .= "\t\@echo \"int main() {return 0;}\" > $program\_closure.$cxxsuffix\n"; + $lines .= "\t\@\$\(LTCXXCOMPILE\) -c $program\_closure.$cxxsuffix\n"; + $lines .= "\t\$\(CXXLINK\) $program\_closure.lo \$($program\_LDFLAGS) \$($program\_OBJECTS) \$($program\_LIBADD) \$(LIBS)\n"; + $lines .= "\t\@rm -f $program\_closure.* $closure\n"; + $lines .= "\t\@echo \"timestamp\" > $closure\n"; + $lines .= "\n"; + appendLines($lines); + $lookup = $realname{$program} . ": (.*)"; + if ($MakefileData =~ /\n$lookup\n/) { + $lines = "\@KDE_USE_CLOSURE_TRUE@". $realname{$program} . ": $closure $1"; + $lines .= "\n\@KDE_USE_CLOSURE_FALSE@" . $realname{$program} . ": $1"; + substituteLine($lookup, $lines); + } + $closure_output .= " $closure"; +} + +sub tag_DIST () { + my %foundfiles = (); + opendir (THISDIR, "."); + foreach $entry (readdir(THISDIR)) { + next if ($entry eq "CVS" || $entry =~ /^\./ || $entry eq "Makefile" || $entry =~ /~$/ || $entry =~ /^\#.*\#$/); + next if (! -f $entry); + next if ($entry =~ /\.moc/ || $entry =~ /\.moc.$cppExt$/ || $entry =~ /\.lo$/ || $entry =~ /\.la$/ || $entry =~ /\.o/); + next if ($entry =~ /\.all_$cppExt\.$cppExt$/); + $foundfiles{$entry} = 1; + } + closedir (THISDIR); + + # doing this for MAINTAINERCLEANFILES would be wrong + my @marks = ("EXTRA_DIST", "DIST_COMMON", '\S*_SOURCES', '\S*_HEADERS', 'CLEANFILES', 'DISTCLEANFILES', '\S*_OBJECTS'); + foreach $mark (@marks) { + while ($MakefileData =~ /\n($mark)\s*=\s*([^\n]*)/g) { + my $cleanfiles_str = $2; + foreach $file (split('[\034\s]+', $cleanfiles_str)) { + $file =~ s/\.\///; + $foundfiles{$file} = 0 if (defined $foundfiles{$file}); + } + } + } + my @files = ("Makefile", "config.cache", "config.log", "stamp-h", + "stamp-h1", "stamp-h1", "config.h", "Makefile", + "config.status", "config.h", "libtool", "core" ); + foreach $file (@files) { + $foundfiles{$file} = 0 if (defined $foundfiles{$file}); + } + + my $KDE_DIST = ""; + foreach $file (keys %foundfiles) { + if ($foundfiles{$file} == 1) { + $KDE_DIST .= "$file "; + } + } + if ($KDE_DIST) { + print "KDE_DIST $printname $KDE_DIST\n" if ($verbose); + + my $lookup = "DISTFILES *=(.*)"; + if ($MakefileData =~ /\n$lookup\n/o) { + substituteLine($lookup, "KDE_DIST=$KDE_DIST\n\nDISTFILES=$1 \$(KDE_DIST)\n"); + } + } +} + +#----------------------------------------------------------------------------- +# Returns 0 if the line was processed - 1 otherwise. +# Errors are logged in the global $errorflags +sub tag_DOCFILES () +{ + $target_adds{"all"} .= "docs-am "; + + my $lookup = 'KDE_DOCS\s*=\s*([^\n]*)'; + goto nodocs if ($MakefileData !~ /\n$lookup/o); + print STDOUT "KDE_DOCS processing <$1>\n" if ($verbose); + + my $tmp = $1; + + # Either find the files in the directory (AUTO) or use + # only the specified po files. + my $files = ""; + my $appname = $tmp; + $appname =~ s/^(\S*)\s*.*$/$1/; + if ($appname =~ /AUTO/) { + $appname = basename($makefileDir); + if ("$appname" eq "en") { + print STDERR "Error: KDE_DOCS = AUTO relies on the directory name. Yours is 'en' - you most likely want something else, e.g. KDE_DOCS = myapp\n"; + exit(1); + } + } + + if ($tmp !~ / - /) + { + opendir (THISDIR, "."); + foreach $entry (readdir(THISDIR)) { + next if ($entry eq "CVS" || $entry =~ /^\./ || $entry =~ /^Makefile/ || $entry =~ /~$/ || $entry =~ /^\#.*\#$/ || $entry eq "core" || $entry eq "index.cache.bz2"); + next if (! -f $entry); + $files .= "$entry "; + } + closedir (THISDIR); + print STDOUT "docfiles found = $files\n" if ($verbose); + } + else + { + $tmp =~ s/\034/ /g; + $tmp =~ s/^\S*\s*-\s*//; + $files = $tmp; + } + goto nodocs if (!$files); # Nothing to do + + if ($files =~ /(^| )index\.docbook($| )/) { + + my $lines = ""; + my $lookup = 'MEINPROC\s*='; + if ($MakefileData !~ /\n($lookup)/) { + $lines = "MEINPROC=/\$(kde_bindir)/meinproc\n"; + } + $lookup = 'KDE_XSL_STYLESHEET\s*='; + if ($MakefileData !~ /\n($lookup)/) { + $lines .= "KDE_XSL_STYLESHEET=/\$(kde_datadir)/ksgmltools2/customization/kde-chunk.xsl\n"; + } + $lookup = '\nindex.cache.bz2:'; + if ($MakefileData !~ /\n($lookup)/) { + $lines .= "index.cache.bz2: \$(srcdir)/index.docbook \$(KDE_XSL_STYLESHEET) $files\n"; + $lines .= "\t\@if test -n \"\$(MEINPROC)\"; then echo \$(MEINPROC) --check --cache index.cache.bz2 \$(srcdir)/index.docbook; \$(MEINPROC) --check --cache index.cache.bz2 \$(srcdir)/index.docbook || true; fi\n"; + $lines .= "\n"; + } + + $lines .= "docs-am: index.cache.bz2\n"; + $lines .= "\n"; + $lines .= "install-docs: docs-am install-nls\n"; + $lines .= "\t\$(mkinstalldirs) \$(DESTDIR)\$(kde_htmldir)/$kdelang/$appname\n"; + $lines .= "\t\@if test -f index.cache.bz2; then \\\n"; + $lines .= "\techo \$(INSTALL_DATA) index.cache.bz2 \$(DESTDIR)\$(kde_htmldir)/$kdelang/$appname/; \\\n"; + $lines .= "\t\$(INSTALL_DATA) index.cache.bz2 \$(DESTDIR)\$(kde_htmldir)/$kdelang/$appname/; \\\n"; + $lines .= "\telif test -f \$(srcdir)/index.cache.bz2; then \\\n"; + $lines .= "\techo \$(INSTALL_DATA) \$(srcdir)/index.cache.bz2 \$(DESTDIR)\$(kde_htmldir)/$kdelang/$appname/; \\\n"; + $lines .= "\t\$(INSTALL_DATA) \$(srcdir)/index.cache.bz2 \$(DESTDIR)\$(kde_htmldir)/$kdelang/$appname/; \\\n"; + $lines .= "\tfi\n"; + $lines .= "\t-rm -f \$(DESTDIR)\$(kde_htmldir)/$kdelang/$appname/common\n"; + $lines .= "\t\$(LN_S) \$(kde_libs_htmldir)/$kdelang/common \$(DESTDIR)\$(kde_htmldir)/$kdelang/$appname/common\n"; + + $lines .= "\n"; + $lines .= "uninstall-docs:\n"; + $lines .= "\t-rm -rf \$(kde_htmldir)/$kdelang/$appname\n"; + $lines .= "\n"; + $lines .= "clean-docs:\n"; + $lines .= "\t-rm -f index.cache.bz2\n"; + $lines .= "\n"; + $target_adds{"install-data-am"} .= "install-docs "; + $target_adds{"uninstall"} .= "uninstall-docs "; + $target_adds{"clean-am"} .= "clean-docs "; + appendLines ($lines); + } else { + appendLines("docs-am: $files\n"); + } + + $target_adds{"install-data-am"} .= "install-nls "; + $target_adds{"uninstall"} .= "uninstall-nls "; + + $tmp = "install-nls:\n"; + $tmp .= "\t\$(mkinstalldirs) \$(DESTDIR)\$(kde_htmldir)/$kdelang/$appname\n"; + $tmp .= "\t\@for base in $files; do \\\n"; + $tmp .= "\t echo \$(INSTALL_DATA) \$\$base \$(DESTDIR)\$(kde_htmldir)/$kdelang/$appname/\$\$base ;\\\n"; + $tmp .= "\t \$(INSTALL_DATA) \$(srcdir)/\$\$base \$(DESTDIR)\$(kde_htmldir)/$kdelang/$appname/\$\$base ;\\\n"; + $tmp .= "\tdone\n"; + if ($appname eq 'common') { + $tmp .= "\t\@echo \"merging common and language specific dir\" ;\\\n"; + $tmp .= "\tif test ! -f \$(kde_htmldir)/en/common/kde-common.css; then echo 'no english docs found in \$(kde_htmldir)/en/common/'; exit 1; fi \n"; + $tmp .= "\t\@com_files=`cd \$(kde_htmldir)/en/common && echo *` ;\\\n"; + $tmp .= "\tcd \$(DESTDIR)\$(kde_htmldir)/$kdelang/common ;\\\n"; + $tmp .= "\tif test -n \"\$\$com_files\"; then for p in \$\$com_files ; do \\\n"; + $tmp .= "\t case \" $files \" in \\\n"; + $tmp .= "\t *\" \$\$p \"*) ;; \\\n"; + $tmp .= "\t *) test ! -f \$\$p && echo \$(LN_S) ../../en/common/\$\$p \$(DESTDIR)\$(kde_htmldir)/$kdelang/common/\$\$p && \$(LN_S) ../../en/common/\$\$p \$\$p ;; \\\n"; + $tmp .= "\t esac ; \\\n"; + $tmp .= "\tdone ; fi ; true\n"; + } + $tmp .= "\n"; + $tmp .= "uninstall-nls:\n"; + $tmp .= "\tfor base in $files; do \\\n"; + $tmp .= "\t rm -f \$(DESTDIR)\$(kde_htmldir)/$kdelang/$appname/\$\$base ;\\\n"; + $tmp .= "\tdone\n\n"; + appendLines ($tmp); + + $target_adds{"distdir"} .= "distdir-nls "; + + $tmp = "distdir-nls:\n"; + $tmp .= "\tfor file in $files; do \\\n"; + $tmp .= "\t cp \$(srcdir)/\$\$file \$(distdir); \\\n"; + $tmp .= "\tdone\n"; + + appendLines ($tmp); + + return 0; + + nodocs: + appendLines("docs-am:\n"); + return 1; +} + +#----------------------------------------------------------------------------- +# Find headers in any of the source directories specified previously, that +# are candidates for "moc-ing". +sub findMocCandidates () +{ + foreach $dir (@headerdirs) + { + my @list = (); + opendir (SRCDIR, "$dir"); + @hFiles = grep { /.+\.$hExt$/o && !/^\./ } readdir(SRCDIR); + closedir SRCDIR; + foreach $hf (@hFiles) + { + next if ($hf =~ /^\.\#/); + $hf =~ /(.*)\.[^\.]*$/; # Find name minus extension + next if ($uiFiles{$1}); + open (HFIN, "$dir/$hf") || die "Could not open $dir/$hf: $!\n"; + my $hfsize = 0; + seek(HFIN, 0, 2); + $hfsize = tell(HFIN); + seek(HFIN, 0, 0); + read HFIN, $hfData, $hfsize; + close HFIN; + # push (@list, $hf) if(index($hfData, "Q_OBJECT") >= 0); ### fast but doesn't handle //Q_OBJECT + # handle " { friend class blah; Q_OBJECT ", but don't match antlarr_Q_OBJECT (\b). + if ( $hfData =~ /{([^}]*)\bQ_OBJECT/s ) { + push (@list, $hf) unless $1 =~ m://[^\n]*Q_OBJECT[^\n]*$:s; ## reject "// Q_OBJECT" + } + } + # The assoc array of root of headerfile and header filename + foreach $hFile (@list) + { + $hFile =~ /(.*)\.[^\.]*$/; # Find name minus extension + if ($mocFiles{$1}) + { + print STDERR "Warning: Multiple header files found for $1\n"; + next; # Use the first one + } + $mocFiles{$1} = "$dir\035$hFile"; # Add relative dir + } + } + + return 0; +} + +#----------------------------------------------------------------------------- + +# The programmer has specified a moc list. Prune out the moc candidates +# list that we found based on looking at the header files. This generates +# a warning if the programmer gets the list wrong, but this doesn't have +# to be fatal here. +sub pruneMocCandidates ($) +{ + my %prunedMoc = (); + local @mocList = split(' ', $_[0]); + + foreach $mocname (@mocList) + { + $mocname =~ s/\.moc$//; + if ($mocFiles{$mocname}) + { + $prunedMoc{$mocname} = $mocFiles{$mocname}; + } + else + { + my $print = $makefileDir; + $print =~ s/^\Q$topdir\E\\//; + # They specified a moc file but we can't find a header that + # will generate this moc file. That's possible fatal! + print STDERR "Warning: No moc-able header file for $print/$mocname\n"; + } + } + + undef %mocFiles; + %mocFiles = %prunedMoc; +} + +#----------------------------------------------------------------------------- + +# Finds the cpp files (If they exist). +# The cpp files get appended to the header file separated by \035 +sub checkMocCandidates () +{ + my @cppFiles; + my $cpp2moc; # which c++ file includes which .moc files + my $moc2cpp; # which moc file is included by which c++ files + + return unless (keys %mocFiles); + opendir(THISDIR, ".") || return; + @cppFiles = grep { /.+\.$cppExt$/o && !/.+\.moc\.$cppExt$/o + && !/.+\.all_$cppExt\.$cppExt$/o + && !/^\./ } readdir(THISDIR); + closedir THISDIR; + return unless (@cppFiles); + my $files = join (" ", @cppFiles); + $cpp2moc = {}; + $moc2cpp = {}; + foreach $cxxf (@cppFiles) + { + open (CXXFIN, $cxxf) || die "Could not open $cxxf: $!\n"; + seek(CXXFIN, 0, 2); + my $cxxfsize = tell(CXXFIN); + seek(CXXFIN, 0, 0); + read CXXFIN, $cxxfData, $cxxfsize; + close CXXFIN; + while(($cxxfData =~ m/^[ \t]*\#include\s*[<\"](.*\.moc)[>\"]/gm)) { + $cpp2moc->{$cxxf}->{$1} = 1; + $moc2cpp->{$1}->{$cxxf} = 1; + } + } + foreach my $mocFile (keys (%mocFiles)) + { + @cppFiles = keys %{$moc2cpp->{"$mocFile.moc"}}; + if (@cppFiles == 1) { + $mocFiles{$mocFile} .= "\035" . $cppFiles[0]; + push(@deped, $mocFile); + } elsif (@cppFiles == 0) { + push (@newObs, $mocFile); # Produce new object file + next if ($haveAutomocTag); # This is expected... + # But this is an error we can deal with - let them know + print STDERR + "Warning: No c++ file that includes $mocFile.moc\n"; + } else { + # We can't decide which file to use, so it's fatal. Although as a + # guess we could use the mocFile.cpp file if it's in the list??? + print STDERR + "Error: Multiple c++ files that include $mocFile.moc\n"; + print STDERR "\t",join ("\t", @cppFiles),"\n"; + $errorflag = 1; + delete $mocFiles{$mocFile}; + # Let's continue and see what happens - They have been told! + } + } +} + +#----------------------------------------------------------------------------- + +# Add the rules for generating moc source from header files +# For Automoc output *.moc.cpp but normally we'll output *.moc +# (We must compile *.moc.cpp separately. *.moc files are included +# in the appropriate *.cpp file by the programmer) +sub addMocRules () +{ + my $cppFile; + my $hFile; + + foreach $mocFile (keys (%mocFiles)) + { + undef $cppFile; + ($dir, $hFile, $cppFile) = split ("\035", $mocFiles{$mocFile}, 3); + $dir =~ s#^\.#\$(srcdir)#; + if (defined ($cppFile)) + { + $cppFile =~ s,\.[^.]*$,,; + $target_adds{"$cppFile.o"} .= "$mocFile.moc "; + $target_adds{"$cppFile.lo"} .= "$mocFile.moc "; + appendLines ("$mocFile.moc: $dir/$hFile\n\t\$(MOC) $dir/$hFile -o $mocFile.moc\n"); + $cleanMoc .= " $mocFile.moc"; + appendLines ("mocs: $mocFile.moc"); + } + else + { + appendLines ("$mocFile$mocExt: $dir/$hFile\n\t\$(MOC) $dir/$hFile -o $mocFile$mocExt\n"); + $cleanMoc .= " $mocFile$mocExt"; + appendLines ("mocs: $mocFile$mocExt"); + } + } +} + +sub make_meta_classes () +{ + return if ($kdeopts{"qtonly"}); + + my $cppFile; + my $hFile; + my $moc_class_headers = ""; + foreach $program (@programs) { + my $mocs = ""; + my @progsources = split(/[\034\s]+/, $sources{$program}); + my @depmocs = split(' ', $depedmocs{$program}); + my %shash = (), %mhash = (); + @shash{@progsources} = 1; # we are only interested in the existence + @mhash{@depmocs} = 1; + + print STDOUT "program=$program\n" if ($verbose); + print STDOUT "psources=[".join(' ', keys %shash)."]\n" if ($verbose); + print STDOUT "depmocs=[".join(' ', keys %mhash)."]\n" if ($verbose); + print STDOUT "globalmocs=[".join(' ', keys(%globalmocs))."]\n" if ($verbose); + foreach my $mocFile (keys (%globalmocs)) + { + my ($dir, $hFile, $cppFile) = split ("\035", $globalmocs{$mocFile}, 3); + if (defined ($cppFile)) + { + $mocs .= " $mocFile.moc" if exists $shash{$cppFile}; + } + else + { + # Bah. This is the case, if no C++ file includes the .moc + # file. We make a .moc.cpp file for that. Unfortunately this + # is not included in the %sources hash, but rather is mentioned + # in %depedmocs. If the user wants to use AUTO he can't just + # use an unspecific METAINCLUDES. Instead he must use + # program_METAINCLUDES. Anyway, it's not working real nicely. + # E.g. Its not clear what happens if user specifies two + # METAINCLUDES=AUTO in the same Makefile.am. + $mocs .= " $mocFile.moc.$cxxsuffix" + if exists $mhash{$mocFile.".moc.$cxxsuffix"}; + } + } + if ($mocs) { + print STDOUT "==> mocs=[".$mocs."]\n" if ($verbose); + } + print STDOUT "\n" if $verbose; + } + if ($moc_class_headers) { + appendLines ("$cleantarget-moc-classes:\n\t-rm -f $moc_class_headers\n"); + $target_adds{"$cleantarget-am"} .= "$cleantarget-moc-classes "; + } +} + +#----------------------------------------------------------------------------- + +sub updateMakefile () +{ + return if ($dryrun); + + open (FILEOUT, "> $makefile") + || die "Could not create $makefile: $!\n"; + + $MakefileData =~ s/\034/\\\n/g; # Restore continuation lines + # Append our $progId line, _below_ the "generated by automake" line + # because automake-1.6 relies on the first line to be his own. + my $progIdLine = "\# $progId - " . '$Revision: 1.349.2.6 $ '."\n"; + if ( !( $MakefileData =~ s/^(.*generated .*by automake.*\n)/$1$progIdLine/ ) ) { + warn "automake line not found in $makefile\n"; + # Fallback: first line + print FILEOUT $progIdLine; + }; + print FILEOUT $MakefileData; + close FILEOUT; +} + +#----------------------------------------------------------------------------- + +# The given line needs to be removed from the makefile +# Do this by adding the special "removed line" comment at the line start. +sub removeLine ($$) +{ + my ($lookup, $old) = @_; + + $old =~ s/\034/\\\n#>- /g; # Fix continuation lines + $MakefileData =~ s/\n$lookup/\n#>\- $old/; +} + +#----------------------------------------------------------------------------- + +# Replaces the old line with the new line +# old line(s) are retained but tagged as removed. The new line(s) have the +# "added" tag placed before it. +sub substituteLine ($$) +{ + my ($lookup, $new) = @_; + + if ($MakefileData =~ /\n($lookup)/) { + $old = $1; + $old =~ s/\034/\\\n#>\- /g; # Fix continuation lines + my $newCount = ($new =~ tr/\034//) + ($new =~ tr/\n//) + 1; + $new =~ s/\\\n/\034/g; + $MakefileData =~ s/\n$lookup/\n#>- $old\n#>\+ $newCount\n$new/; + } else { + print STDERR "Warning: substitution of \"$lookup\" in $printname failed\n"; + } +} + +#----------------------------------------------------------------------------- + +# Slap new lines on the back of the file. +sub appendLines ($) +{ + my ($new) = @_; + my $newCount = ($new =~ tr/\034//) + ($new =~ tr/\n//) + 1; + $new =~ s/\\\n/\034/g; # Fix continuation lines + $MakefileData .= "\n#>\+ $newCount\n$new"; +} + +#----------------------------------------------------------------------------- + +# Restore the Makefile.in to the state it was before we fiddled with it +sub restoreMakefile () +{ + $MakefileData =~ s/# $progId[^\n\034]*[\n\034]*//g; + # Restore removed lines + $MakefileData =~ s/([\n\034])#>\- /$1/g; + # Remove added lines + while ($MakefileData =~ /[\n\034]#>\+ ([^\n\034]*)/) + { + my $newCount = $1; + my $removeLines = ""; + while ($newCount--) { + $removeLines .= "[^\n\034]*([\n\034]|)"; + } + $MakefileData =~ s/[\n\034]#>\+.*[\n\034]$removeLines/\n/; + } +} + +#----------------------------------------------------------------------------- diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/compile b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/compile new file mode 100644 index 0000000000000000000000000000000000000000..c47069c48c172fc640fba60c2642c52f76a84974 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/compile @@ -0,0 +1,99 @@ +#! /bin/sh + +# Wrapper for compilers which do not understand `-c -o'. + +# Copyright 1999-2000 Free Software Foundation, Inc. +# Written by Tom Tromey . +# +# 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 +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# Usage: +# compile PROGRAM [ARGS]... +# `-o FOO.o' is removed from the args passed to the actual compile. + +prog=$1 +shift + +ofile= +cfile= +args= +while test $# -gt 0; do + case "$1" in + -o) + # configure might choose to run compile as `compile cc -o foo foo.c'. + # So we do something ugly here. + ofile=$2 + shift + case "$ofile" in + *.o | *.obj) + ;; + *) + args="$args -o $ofile" + ofile= + ;; + esac + ;; + *.c) + cfile=$1 + args="$args $1" + ;; + *) + args="$args $1" + ;; + esac + shift +done + +if test -z "$ofile" || test -z "$cfile"; then + # If no `-o' option was seen then we might have been invoked from a + # pattern rule where we don't need one. That is ok -- this is a + # normal compilation that the losing compiler can handle. If no + # `.c' file was seen then we are probably linking. That is also + # ok. + exec "$prog" $args +fi + +# Name of file we expect compiler to create. +cofile=`echo $cfile | sed -e 's|^.*/||' -e 's/\.c$/.o/'` + +# Create the lock directory. +# Note: use `[/.-]' here to ensure that we don't use the same name +# that we are using for the .o file. Also, base the name on the expected +# object file name, since that is what matters with a parallel build. +lockdir=`echo $cofile | sed -e 's|[/.-]|_|g'`.d +while true; do + if mkdir $lockdir > /dev/null 2>&1; then + break + fi + sleep 1 +done +# FIXME: race condition here if user kills between mkdir and trap. +trap "rmdir $lockdir; exit 1" 1 2 15 + +# Run the compile. +"$prog" $args +status=$? + +if test -f "$cofile"; then + mv "$cofile" "$ofile" +fi + +rmdir $lockdir +exit $status diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/conf.change.pl b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/conf.change.pl new file mode 100644 index 0000000000000000000000000000000000000000..bb7dcc1a3a0b392e9665c1b017bb27153103c19e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/conf.change.pl @@ -0,0 +1,177 @@ +#!/usr/bin/perl -w + +# this script patches a config.status file, to use our own perl script +# in the main loop +# we do it this way to circumvent hacking (and thereby including) +# autoconf function (which are GPL) into our LGPL acinclude.m4.in +# written by Michael Matz +# adapted by Dirk Mueller +# +# This file is free software; you can redistribute it and/or +# modify it under the terms of the GNU Library General Public +# License as published by the Free Software Foundation; either +# version 2 of the License, or (at your option) any later version. + +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Library General Public License for more details. + +# You should have received a copy of the GNU Library General Public License +# along with this library; see the file COPYING.LIB. If not, write to +# the Free Software Foundation, Inc., 59 Temple Place - Suite 330, +# Boston, MA 02111-1307, USA. + +# we have to change two places +# 1. the splitting of the substitutions into chunks of 90 (or even 48 in +# later autoconf's +# 2. the big main loop which patches all Makefile.in's + +use File::Basename; + +my $ac_aux_dir = dirname($0); +my ($flag); +local $ac_version = 0; +my $vpath_seen = 0; +$flag = 0; + +while (<>) { +# usage of $flag: 0 -- we have seen nothing yet +# 1 -- we are in (1) +# 2 -- we have ended (1) +# 3 -- we are in (2) +# 4 -- we ended (2) + + if ($flag == 4) { + print; + } elsif ($flag == 0) { +# 1. begins with (including): "ac_max_sed_\S+\s*=\s*[0-9]+..." +# ends with (excluding) "CONFIG_FILE=..." +# in later autoconf (2.14.1) there is no CONFIG_FILES= line, +# but instead the (2) directly follow (1) + if (/^\s*ac_max_sed_([a-z]+).*=\s*([0-9]+)/ ) { + $flag = 1; + if ($1 eq 'lines') { + # lets hope its different with 2141, + # wasn't able to verify that + if ($2 eq '48') { + $ac_version = 250; + } + else { + $ac_version = 2141; + } + } elsif ($1 eq 'cmds') { + $ac_version = 213; + } + # hmm, we don't know the autoconf version, but we try anyway + } else { + print; + } + } elsif ($flag == 1) { + if (/^\s*CONFIG_FILES=/ && ($ac_version != 250)) { + print; + $flag = 2; + } elsif (/^\s*for\s+ac_file\s+in\s+.*CONFIG_FILES/ ) { + $flag = 3; + } + } elsif ($flag == 2) { +# 2. begins with: "for ac_file in.*CONFIG_FILES" (the next 'for' after (1)) +# end with: "rm -f conftest.s\*" +# on autoconf 250, it ends with '# CONFIG_HEADER section' + if (/^\s*for\s+ac_file\s+in\s+.*CONFIG_FILES/ ) { + $flag = 3; + } else { + print; + } + } elsif ($flag == 3) { + if (/^\s*rm\s+-f\s+conftest/ ) { + $flag = 4; + &insert_main_loop(); + } elsif (/^\s*rm\s+-f\s+.*ac_cs_root/ ) { + $flag = 4; + &insert_main_loop(); + #die "hhhhhhh"; + if ($ac_version != 2141) { + print STDERR "hmm, don't know autoconf version\n"; + } + } elsif (/^\#\s*CONFIG_HEADER section.*/) { + $flag = 4; + &insert_main_loop(); + if($ac_version != 250) { + print STDERR "hmm, something went wrong :-(\n"; + } + } elsif (/VPATH/ ) { + $vpath_seen = 1; + } + } +} + +die "wrong input (flag != 4)" unless $flag == 4; +print STDERR "hmm, don't know autoconf version\n" unless $ac_version; + +sub insert_main_loop { + + if ($ac_version == 250) { + &insert_main_loop_250(); + } + else { + &insert_main_loop_213(); + } +} + +sub insert_main_loop_250 { + + print <>\$tmp/subs.sed +EOF + } + print <> \$tmp/subs.files + fi + done + if test -f \$tmp/subs.files ; then + perl $ac_aux_dir/config.pl "\$tmp/subs.sed" "\$tmp/subs.files" "\$srcdir" "\$INSTALL" + fi + rm -f \$tmp/subs.files + +fi +EOF + return; +} + +sub insert_main_loop_213 { + print <> \$ac_cs_root.subs +EOF + } + print <> \$ac_cs_root.sacfiles + fi +done +if test -f \$ac_cs_root.sacfiles ; then + perl $ac_aux_dir/config.pl "\$ac_cs_root.subs" "\$ac_cs_root.sacfiles" "\$ac_given_srcdir" "\$ac_given_INSTALL" +fi +rm -f \$ac_cs_root.s* + +EOF + return; +} diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/config.guess b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/config.guess new file mode 100644 index 0000000000000000000000000000000000000000..05dbf055d51c87aa91b4e239af582cbaf4654b4d --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/config.guess @@ -0,0 +1,1362 @@ +#! /bin/sh +# Attempt to guess a canonical system name. +# Copyright (C) 1992-2002 Free Software Foundation, Inc. + +timestamp='2002-10-21' + +# This file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# Originally written by Per Bothner . +# Please send patches to . Submit a context +# diff and a properly formatted ChangeLog entry. +# +# This script attempts to guess a canonical system name similar to +# config.sub. If it succeeds, it prints the system name on stdout, and +# exits with 0. Otherwise, it exits with 1. +# +# The plan is that this can be called by configure scripts if you +# don't specify an explicit build system type. + +me=`echo "$0" | sed -e 's,.*/,,'` + +usage="\ +Usage: $0 [OPTION] + +Output the configuration name of the system \`$me' is run on. + +Operation modes: + -h, --help print this help, then exit + -t, --time-stamp print date of last modification, then exit + -v, --version print version number, then exit + +Report bugs and patches to ." + +version="\ +GNU config.guess ($timestamp) + +Originally written by Per Bothner. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 +Free Software Foundation, Inc. + +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + +help=" +Try \`$me --help' for more information." + +# Parse command line +while test $# -gt 0 ; do + case $1 in + --time-stamp | --time* | -t ) + echo "$timestamp" ; exit 0 ;; + --version | -v ) + echo "$version" ; exit 0 ;; + --help | --h* | -h ) + echo "$usage"; exit 0 ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "$me: invalid option $1$help" >&2 + exit 1 ;; + * ) + break ;; + esac +done + +if test $# != 0; then + echo "$me: too many arguments$help" >&2 + exit 1 +fi + +trap 'exit 1' 1 2 15 + +# CC_FOR_BUILD -- compiler used by this script. Note that the use of a +# compiler to aid in system detection is discouraged as it requires +# temporary files to be created and, as you can see below, it is a +# headache to deal with in a portable fashion. + +# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still +# use `HOST_CC' if defined, but it is deprecated. + +# This shell variable is my proudest work .. or something. --bje + +set_cc_for_build='tmpdir=${TMPDIR-/tmp}/config-guess-$$ ; +(old=`umask` && umask 077 && mkdir $tmpdir && umask $old && unset old) + || (echo "$me: cannot create $tmpdir" >&2 && exit 1) ; +dummy=$tmpdir/dummy ; +files="$dummy.c $dummy.o $dummy.rel $dummy" ; +trap '"'"'rm -f $files; rmdir $tmpdir; exit 1'"'"' 1 2 15 ; +case $CC_FOR_BUILD,$HOST_CC,$CC in + ,,) echo "int x;" > $dummy.c ; + for c in cc gcc c89 c99 ; do + if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then + CC_FOR_BUILD="$c"; break ; + fi ; + done ; + rm -f $files ; + if test x"$CC_FOR_BUILD" = x ; then + CC_FOR_BUILD=no_compiler_found ; + fi + ;; + ,,*) CC_FOR_BUILD=$CC ;; + ,*,*) CC_FOR_BUILD=$HOST_CC ;; +esac ; +unset files' + +# This is needed to find uname on a Pyramid OSx when run in the BSD universe. +# (ghazi@noc.rutgers.edu 1994-08-24) +if (test -f /.attbin/uname) >/dev/null 2>&1 ; then + PATH=$PATH:/.attbin ; export PATH +fi + +UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown +UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown +UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown +UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown + +# Note: order is significant - the case branches are not exclusive. + +case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in + *:NetBSD:*:*) + # NetBSD (nbsd) targets should (where applicable) match one or + # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, + # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently + # switched to ELF, *-*-netbsd* would select the old + # object file format. This provides both forward + # compatibility and a consistent mechanism for selecting the + # object file format. + # + # Note: NetBSD doesn't particularly care about the vendor + # portion of the name. We always set it to "unknown". + sysctl="sysctl -n hw.machine_arch" + UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ + /usr/sbin/$sysctl 2>/dev/null || echo unknown)` + case "${UNAME_MACHINE_ARCH}" in + armeb) machine=armeb-unknown ;; + arm*) machine=arm-unknown ;; + sh3el) machine=shl-unknown ;; + sh3eb) machine=sh-unknown ;; + *) machine=${UNAME_MACHINE_ARCH}-unknown ;; + esac + # The Operating System including object format, if it has switched + # to ELF recently, or will in the future. + case "${UNAME_MACHINE_ARCH}" in + arm*|i386|m68k|ns32k|sh3*|sparc|vax) + eval $set_cc_for_build + if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep __ELF__ >/dev/null + then + # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). + # Return netbsd for either. FIX? + os=netbsd + else + os=netbsdelf + fi + ;; + *) + os=netbsd + ;; + esac + # The OS release + release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` + # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: + # contains redundant information, the shorter form: + # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. + echo "${machine}-${os}${release}" + exit 0 ;; + amiga:OpenBSD:*:*) + echo m68k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + arc:OpenBSD:*:*) + echo mipsel-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + hp300:OpenBSD:*:*) + echo m68k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + mac68k:OpenBSD:*:*) + echo m68k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + macppc:OpenBSD:*:*) + echo powerpc-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + mvme68k:OpenBSD:*:*) + echo m68k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + mvme88k:OpenBSD:*:*) + echo m88k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + mvmeppc:OpenBSD:*:*) + echo powerpc-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + pmax:OpenBSD:*:*) + echo mipsel-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + sgi:OpenBSD:*:*) + echo mipseb-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + sun3:OpenBSD:*:*) + echo m68k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + wgrisc:OpenBSD:*:*) + echo mipsel-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + *:OpenBSD:*:*) + echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + alpha:OSF1:*:*) + if test $UNAME_RELEASE = "V4.0"; then + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` + fi + # A Vn.n version is a released version. + # A Tn.n version is a released field test version. + # A Xn.n version is an unreleased experimental baselevel. + # 1.2 uses "1.2" for uname -r. + eval $set_cc_for_build + cat <$dummy.s + .data +\$Lformat: + .byte 37,100,45,37,120,10,0 # "%d-%x\n" + + .text + .globl main + .align 4 + .ent main +main: + .frame \$30,16,\$26,0 + ldgp \$29,0(\$27) + .prologue 1 + .long 0x47e03d80 # implver \$0 + lda \$2,-1 + .long 0x47e20c21 # amask \$2,\$1 + lda \$16,\$Lformat + mov \$0,\$17 + not \$1,\$18 + jsr \$26,printf + ldgp \$29,0(\$26) + mov 0,\$16 + jsr \$26,exit + .end main +EOF + $CC_FOR_BUILD -o $dummy $dummy.s 2>/dev/null + if test "$?" = 0 ; then + case `$dummy` in + 0-0) + UNAME_MACHINE="alpha" + ;; + 1-0) + UNAME_MACHINE="alphaev5" + ;; + 1-1) + UNAME_MACHINE="alphaev56" + ;; + 1-101) + UNAME_MACHINE="alphapca56" + ;; + 2-303) + UNAME_MACHINE="alphaev6" + ;; + 2-307) + UNAME_MACHINE="alphaev67" + ;; + 2-1307) + UNAME_MACHINE="alphaev68" + ;; + 3-1307) + UNAME_MACHINE="alphaev7" + ;; + esac + fi + rm -f $dummy.s $dummy && rmdir $tmpdir + echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` + exit 0 ;; + Alpha\ *:Windows_NT*:*) + # How do we know it's Interix rather than the generic POSIX subsystem? + # Should we change UNAME_MACHINE based on the output of uname instead + # of the specific Alpha model? + echo alpha-pc-interix + exit 0 ;; + 21064:Windows_NT:50:3) + echo alpha-dec-winnt3.5 + exit 0 ;; + Amiga*:UNIX_System_V:4.0:*) + echo m68k-unknown-sysv4 + exit 0;; + *:[Aa]miga[Oo][Ss]:*:*) + echo ${UNAME_MACHINE}-unknown-amigaos + exit 0 ;; + *:[Mm]orph[Oo][Ss]:*:*) + echo ${UNAME_MACHINE}-unknown-morphos + exit 0 ;; + *:OS/390:*:*) + echo i370-ibm-openedition + exit 0 ;; + arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) + echo arm-acorn-riscix${UNAME_RELEASE} + exit 0;; + SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) + echo hppa1.1-hitachi-hiuxmpp + exit 0;; + Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) + # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. + if test "`(/bin/universe) 2>/dev/null`" = att ; then + echo pyramid-pyramid-sysv3 + else + echo pyramid-pyramid-bsd + fi + exit 0 ;; + NILE*:*:*:dcosx) + echo pyramid-pyramid-svr4 + exit 0 ;; + DRS?6000:UNIX_SV:4.2*:7*) + case `/usr/bin/uname -p` in + sparc) echo sparc-icl-nx7 && exit 0 ;; + esac ;; + sun4H:SunOS:5.*:*) + echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit 0 ;; + sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) + echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit 0 ;; + i86pc:SunOS:5.*:*) + echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit 0 ;; + sun4*:SunOS:6*:*) + # According to config.sub, this is the proper way to canonicalize + # SunOS6. Hard to guess exactly what SunOS6 will be like, but + # it's likely to be more like Solaris than SunOS4. + echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit 0 ;; + sun4*:SunOS:*:*) + case "`/usr/bin/arch -k`" in + Series*|S4*) + UNAME_RELEASE=`uname -v` + ;; + esac + # Japanese Language versions have a version number like `4.1.3-JL'. + echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` + exit 0 ;; + sun3*:SunOS:*:*) + echo m68k-sun-sunos${UNAME_RELEASE} + exit 0 ;; + sun*:*:4.2BSD:*) + UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` + test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 + case "`/bin/arch`" in + sun3) + echo m68k-sun-sunos${UNAME_RELEASE} + ;; + sun4) + echo sparc-sun-sunos${UNAME_RELEASE} + ;; + esac + exit 0 ;; + aushp:SunOS:*:*) + echo sparc-auspex-sunos${UNAME_RELEASE} + exit 0 ;; + # The situation for MiNT is a little confusing. The machine name + # can be virtually everything (everything which is not + # "atarist" or "atariste" at least should have a processor + # > m68000). The system name ranges from "MiNT" over "FreeMiNT" + # to the lowercase version "mint" (or "freemint"). Finally + # the system name "TOS" denotes a system which is actually not + # MiNT. But MiNT is downward compatible to TOS, so this should + # be no problem. + atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit 0 ;; + atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit 0 ;; + *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit 0 ;; + milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) + echo m68k-milan-mint${UNAME_RELEASE} + exit 0 ;; + hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) + echo m68k-hades-mint${UNAME_RELEASE} + exit 0 ;; + *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) + echo m68k-unknown-mint${UNAME_RELEASE} + exit 0 ;; + powerpc:machten:*:*) + echo powerpc-apple-machten${UNAME_RELEASE} + exit 0 ;; + RISC*:Mach:*:*) + echo mips-dec-mach_bsd4.3 + exit 0 ;; + RISC*:ULTRIX:*:*) + echo mips-dec-ultrix${UNAME_RELEASE} + exit 0 ;; + VAX*:ULTRIX*:*:*) + echo vax-dec-ultrix${UNAME_RELEASE} + exit 0 ;; + 2020:CLIX:*:* | 2430:CLIX:*:*) + echo clipper-intergraph-clix${UNAME_RELEASE} + exit 0 ;; + mips:*:*:UMIPS | mips:*:*:RISCos) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c +#ifdef __cplusplus +#include /* for printf() prototype */ + int main (int argc, char *argv[]) { +#else + int main (argc, argv) int argc; char *argv[]; { +#endif + #if defined (host_mips) && defined (MIPSEB) + #if defined (SYSTYPE_SYSV) + printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); + #endif + #if defined (SYSTYPE_SVR4) + printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); + #endif + #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) + printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); + #endif + #endif + exit (-1); + } +EOF + $CC_FOR_BUILD -o $dummy $dummy.c \ + && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \ + && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0 + rm -f $dummy.c $dummy && rmdir $tmpdir + echo mips-mips-riscos${UNAME_RELEASE} + exit 0 ;; + Motorola:PowerMAX_OS:*:*) + echo powerpc-motorola-powermax + exit 0 ;; + Motorola:*:4.3:PL8-*) + echo powerpc-harris-powermax + exit 0 ;; + Night_Hawk:*:*:PowerMAX_OS) + echo powerpc-harris-powermax + exit 0 ;; + Night_Hawk:Power_UNIX:*:*) + echo powerpc-harris-powerunix + exit 0 ;; + m88k:CX/UX:7*:*) + echo m88k-harris-cxux7 + exit 0 ;; + m88k:*:4*:R4*) + echo m88k-motorola-sysv4 + exit 0 ;; + m88k:*:3*:R3*) + echo m88k-motorola-sysv3 + exit 0 ;; + AViiON:dgux:*:*) + # DG/UX returns AViiON for all architectures + UNAME_PROCESSOR=`/usr/bin/uname -p` + if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] + then + if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ + [ ${TARGET_BINARY_INTERFACE}x = x ] + then + echo m88k-dg-dgux${UNAME_RELEASE} + else + echo m88k-dg-dguxbcs${UNAME_RELEASE} + fi + else + echo i586-dg-dgux${UNAME_RELEASE} + fi + exit 0 ;; + M88*:DolphinOS:*:*) # DolphinOS (SVR3) + echo m88k-dolphin-sysv3 + exit 0 ;; + M88*:*:R3*:*) + # Delta 88k system running SVR3 + echo m88k-motorola-sysv3 + exit 0 ;; + XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) + echo m88k-tektronix-sysv3 + exit 0 ;; + Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) + echo m68k-tektronix-bsd + exit 0 ;; + *:IRIX*:*:*) + echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` + exit 0 ;; + ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. + echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id + exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX ' + i*86:AIX:*:*) + echo i386-ibm-aix + exit 0 ;; + ia64:AIX:*:*) + if [ -x /usr/bin/oslevel ] ; then + IBM_REV=`/usr/bin/oslevel` + else + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} + fi + echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} + exit 0 ;; + *:AIX:2:3) + if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include + + main() + { + if (!__power_pc()) + exit(1); + puts("powerpc-ibm-aix3.2.5"); + exit(0); + } +EOF + $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0 + rm -f $dummy.c $dummy && rmdir $tmpdir + echo rs6000-ibm-aix3.2.5 + elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then + echo rs6000-ibm-aix3.2.4 + else + echo rs6000-ibm-aix3.2 + fi + exit 0 ;; + *:AIX:*:[45]) + IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` + if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then + IBM_ARCH=rs6000 + else + IBM_ARCH=powerpc + fi + if [ -x /usr/bin/oslevel ] ; then + IBM_REV=`/usr/bin/oslevel` + else + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} + fi + echo ${IBM_ARCH}-ibm-aix${IBM_REV} + exit 0 ;; + *:AIX:*:*) + echo rs6000-ibm-aix + exit 0 ;; + ibmrt:4.4BSD:*|romp-ibm:BSD:*) + echo romp-ibm-bsd4.4 + exit 0 ;; + ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and + echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to + exit 0 ;; # report: romp-ibm BSD 4.3 + *:BOSX:*:*) + echo rs6000-bull-bosx + exit 0 ;; + DPX/2?00:B.O.S.:*:*) + echo m68k-bull-sysv3 + exit 0 ;; + 9000/[34]??:4.3bsd:1.*:*) + echo m68k-hp-bsd + exit 0 ;; + hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) + echo m68k-hp-bsd4.4 + exit 0 ;; + 9000/[34678]??:HP-UX:*:*) + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` + case "${UNAME_MACHINE}" in + 9000/31? ) HP_ARCH=m68000 ;; + 9000/[34]?? ) HP_ARCH=m68k ;; + 9000/[678][0-9][0-9]) + if [ -x /usr/bin/getconf ]; then + sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` + sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` + case "${sc_cpu_version}" in + 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 + 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 + 532) # CPU_PA_RISC2_0 + case "${sc_kernel_bits}" in + 32) HP_ARCH="hppa2.0n" ;; + 64) HP_ARCH="hppa2.0w" ;; + '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 + esac ;; + esac + fi + if [ "${HP_ARCH}" = "" ]; then + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + + #define _HPUX_SOURCE + #include + #include + + int main () + { + #if defined(_SC_KERNEL_BITS) + long bits = sysconf(_SC_KERNEL_BITS); + #endif + long cpu = sysconf (_SC_CPU_VERSION); + + switch (cpu) + { + case CPU_PA_RISC1_0: puts ("hppa1.0"); break; + case CPU_PA_RISC1_1: puts ("hppa1.1"); break; + case CPU_PA_RISC2_0: + #if defined(_SC_KERNEL_BITS) + switch (bits) + { + case 64: puts ("hppa2.0w"); break; + case 32: puts ("hppa2.0n"); break; + default: puts ("hppa2.0"); break; + } break; + #else /* !defined(_SC_KERNEL_BITS) */ + puts ("hppa2.0"); break; + #endif + default: puts ("hppa1.0"); break; + } + exit (0); + } +EOF + (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` + if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi + rm -f $dummy.c $dummy && rmdir $tmpdir + fi ;; + esac + echo ${HP_ARCH}-hp-hpux${HPUX_REV} + exit 0 ;; + ia64:HP-UX:*:*) + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` + echo ia64-hp-hpux${HPUX_REV} + exit 0 ;; + 3050*:HI-UX:*:*) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include + int + main () + { + long cpu = sysconf (_SC_CPU_VERSION); + /* The order matters, because CPU_IS_HP_MC68K erroneously returns + true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct + results, however. */ + if (CPU_IS_PA_RISC (cpu)) + { + switch (cpu) + { + case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; + case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; + case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; + default: puts ("hppa-hitachi-hiuxwe2"); break; + } + } + else if (CPU_IS_HP_MC68K (cpu)) + puts ("m68k-hitachi-hiuxwe2"); + else puts ("unknown-hitachi-hiuxwe2"); + exit (0); + } +EOF + $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0 + rm -f $dummy.c $dummy && rmdir $tmpdir + echo unknown-hitachi-hiuxwe2 + exit 0 ;; + 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) + echo hppa1.1-hp-bsd + exit 0 ;; + 9000/8??:4.3bsd:*:*) + echo hppa1.0-hp-bsd + exit 0 ;; + *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) + echo hppa1.0-hp-mpeix + exit 0 ;; + hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) + echo hppa1.1-hp-osf + exit 0 ;; + hp8??:OSF1:*:*) + echo hppa1.0-hp-osf + exit 0 ;; + i*86:OSF1:*:*) + if [ -x /usr/sbin/sysversion ] ; then + echo ${UNAME_MACHINE}-unknown-osf1mk + else + echo ${UNAME_MACHINE}-unknown-osf1 + fi + exit 0 ;; + parisc*:Lites*:*:*) + echo hppa1.1-hp-lites + exit 0 ;; + C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) + echo c1-convex-bsd + exit 0 ;; + C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) + if getsysinfo -f scalar_acc + then echo c32-convex-bsd + else echo c2-convex-bsd + fi + exit 0 ;; + C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) + echo c34-convex-bsd + exit 0 ;; + C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) + echo c38-convex-bsd + exit 0 ;; + C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) + echo c4-convex-bsd + exit 0 ;; + CRAY*Y-MP:*:*:*) + echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit 0 ;; + CRAY*[A-Z]90:*:*:*) + echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ + | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ + -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ + -e 's/\.[^.]*$/.X/' + exit 0 ;; + CRAY*TS:*:*:*) + echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit 0 ;; + CRAY*T3D:*:*:*) + echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit 0 ;; + CRAY*T3E:*:*:*) + echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit 0 ;; + CRAY*SV1:*:*:*) + echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit 0 ;; + F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) + FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` + echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit 0 ;; + i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) + echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} + exit 0 ;; + sparc*:BSD/OS:*:*) + echo sparc-unknown-bsdi${UNAME_RELEASE} + exit 0 ;; + *:BSD/OS:*:*) + echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} + exit 0 ;; + *:FreeBSD:*:*) + # Determine whether the default compiler uses glibc. + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include + #if __GLIBC__ >= 2 + LIBC=gnu + #else + LIBC= + #endif +EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` + rm -f $dummy.c && rmdir $tmpdir + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC} + exit 0 ;; + i*:CYGWIN*:*) + echo ${UNAME_MACHINE}-pc-cygwin + exit 0 ;; + i*:MINGW*:*) + echo ${UNAME_MACHINE}-pc-mingw32 + exit 0 ;; + i*:PW*:*) + echo ${UNAME_MACHINE}-pc-pw32 + exit 0 ;; + x86:Interix*:3*) + echo i386-pc-interix3 + exit 0 ;; + i*:Windows_NT*:* | Pentium*:Windows_NT*:*) + # How do we know it's Interix rather than the generic POSIX subsystem? + # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we + # UNAME_MACHINE based on the output of uname instead of i386? + echo i386-pc-interix + exit 0 ;; + i*:UWIN*:*) + echo ${UNAME_MACHINE}-pc-uwin + exit 0 ;; + p*:CYGWIN*:*) + echo powerpcle-unknown-cygwin + exit 0 ;; + prep*:SunOS:5.*:*) + echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit 0 ;; + *:GNU:*:*) + echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` + exit 0 ;; + i*86:Minix:*:*) + echo ${UNAME_MACHINE}-pc-minix + exit 0 ;; + arm*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit 0 ;; + ia64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit 0 ;; + m68*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit 0 ;; + mips:Linux:*:*) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #undef CPU + #undef mips + #undef mipsel + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) + CPU=mipsel + #else + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) + CPU=mips + #else + CPU= + #endif + #endif +EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` + rm -f $dummy.c && rmdir $tmpdir + test x"${CPU}" != x && echo "${CPU}-pc-linux-gnu" && exit 0 + ;; + ppc:Linux:*:*) + echo powerpc-unknown-linux-gnu + exit 0 ;; + ppc64:Linux:*:*) + echo powerpc64-unknown-linux-gnu + exit 0 ;; + alpha:Linux:*:*) + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in + EV5) UNAME_MACHINE=alphaev5 ;; + EV56) UNAME_MACHINE=alphaev56 ;; + PCA56) UNAME_MACHINE=alphapca56 ;; + PCA57) UNAME_MACHINE=alphapca56 ;; + EV6) UNAME_MACHINE=alphaev6 ;; + EV67) UNAME_MACHINE=alphaev67 ;; + EV68*) UNAME_MACHINE=alphaev68 ;; + esac + objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null + if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi + echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} + exit 0 ;; + parisc:Linux:*:* | hppa:Linux:*:*) + # Look for CPU level + case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in + PA7*) echo hppa1.1-unknown-linux-gnu ;; + PA8*) echo hppa2.0-unknown-linux-gnu ;; + *) echo hppa-unknown-linux-gnu ;; + esac + exit 0 ;; + parisc64:Linux:*:* | hppa64:Linux:*:*) + echo hppa64-unknown-linux-gnu + exit 0 ;; + s390:Linux:*:* | s390x:Linux:*:*) + echo ${UNAME_MACHINE}-ibm-linux + exit 0 ;; + sh*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit 0 ;; + sparc:Linux:*:* | sparc64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit 0 ;; + x86_64:Linux:*:*) + echo x86_64-unknown-linux-gnu + exit 0 ;; + i*86:Linux:*:*) + # The BFD linker knows what the default object file format is, so + # first see if it will tell us. cd to the root directory to prevent + # problems with other programs or directories called `ld' in the path. + # Set LC_ALL=C to ensure ld outputs messages in English. + ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ + | sed -ne '/supported targets:/!d + s/[ ][ ]*/ /g + s/.*supported targets: *// + s/ .*// + p'` + case "$ld_supported_targets" in + elf32-i386) + TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" + ;; + a.out-i386-linux) + echo "${UNAME_MACHINE}-pc-linux-gnuaout" + exit 0 ;; + coff-i386) + echo "${UNAME_MACHINE}-pc-linux-gnucoff" + exit 0 ;; + "") + # Either a pre-BFD a.out linker (linux-gnuoldld) or + # one that does not give us useful --help. + echo "${UNAME_MACHINE}-pc-linux-gnuoldld" + exit 0 ;; + esac + # Determine whether the default compiler is a.out or elf + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include + #ifdef __ELF__ + # ifdef __GLIBC__ + # if __GLIBC__ >= 2 + LIBC=gnu + # else + LIBC=gnulibc1 + # endif + # else + LIBC=gnulibc1 + # endif + #else + #ifdef __INTEL_COMPILER + LIBC=gnu + #else + LIBC=gnuaout + #endif + #endif +EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` + rm -f $dummy.c && rmdir $tmpdir + test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0 + test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0 + ;; + i*86:DYNIX/ptx:4*:*) + # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. + # earlier versions are messed up and put the nodename in both + # sysname and nodename. + echo i386-sequent-sysv4 + exit 0 ;; + i*86:UNIX_SV:4.2MP:2.*) + # Unixware is an offshoot of SVR4, but it has its own version + # number series starting with 2... + # I am not positive that other SVR4 systems won't match this, + # I just have to hope. -- rms. + # Use sysv4.2uw... so that sysv4* matches it. + echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} + exit 0 ;; + i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) + UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` + if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then + echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} + else + echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} + fi + exit 0 ;; + i*86:*:5:[78]*) + case `/bin/uname -X | grep "^Machine"` in + *486*) UNAME_MACHINE=i486 ;; + *Pentium) UNAME_MACHINE=i586 ;; + *Pent*|*Celeron) UNAME_MACHINE=i686 ;; + esac + echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} + exit 0 ;; + i*86:*:3.2:*) + if test -f /usr/options/cb.name; then + UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then + UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` + (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 + (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ + && UNAME_MACHINE=i586 + (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ + && UNAME_MACHINE=i686 + (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ + && UNAME_MACHINE=i686 + echo ${UNAME_MACHINE}-pc-sco$UNAME_REL + else + echo ${UNAME_MACHINE}-pc-sysv32 + fi + exit 0 ;; + i*86:*DOS:*:*) + echo ${UNAME_MACHINE}-pc-msdosdjgpp + exit 0 ;; + pc:*:*:*) + # Left here for compatibility: + # uname -m prints for DJGPP always 'pc', but it prints nothing about + # the processor, so we play safe by assuming i386. + echo i386-pc-msdosdjgpp + exit 0 ;; + Intel:Mach:3*:*) + echo i386-pc-mach3 + exit 0 ;; + paragon:*:*:*) + echo i860-intel-osf1 + exit 0 ;; + i860:*:4.*:*) # i860-SVR4 + if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then + echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 + else # Add other i860-SVR4 vendors below as they are discovered. + echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 + fi + exit 0 ;; + mini*:CTIX:SYS*5:*) + # "miniframe" + echo m68010-convergent-sysv + exit 0 ;; + mc68k:UNIX:SYSTEM5:3.51m) + echo m68k-convergent-sysv + exit 0 ;; + M68*:*:R3V[567]*:*) + test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; + 3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0) + OS_REL='' + test -r /etc/.relid \ + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && echo i486-ncr-sysv4.3${OS_REL} && exit 0 + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ + && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;; + 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && echo i486-ncr-sysv4 && exit 0 ;; + m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) + echo m68k-unknown-lynxos${UNAME_RELEASE} + exit 0 ;; + mc68030:UNIX_System_V:4.*:*) + echo m68k-atari-sysv4 + exit 0 ;; + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) + echo i386-unknown-lynxos${UNAME_RELEASE} + exit 0 ;; + TSUNAMI:LynxOS:2.*:*) + echo sparc-unknown-lynxos${UNAME_RELEASE} + exit 0 ;; + rs6000:LynxOS:2.*:*) + echo rs6000-unknown-lynxos${UNAME_RELEASE} + exit 0 ;; + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) + echo powerpc-unknown-lynxos${UNAME_RELEASE} + exit 0 ;; + SM[BE]S:UNIX_SV:*:*) + echo mips-dde-sysv${UNAME_RELEASE} + exit 0 ;; + RM*:ReliantUNIX-*:*:*) + echo mips-sni-sysv4 + exit 0 ;; + RM*:SINIX-*:*:*) + echo mips-sni-sysv4 + exit 0 ;; + *:SINIX-*:*:*) + if uname -p 2>/dev/null >/dev/null ; then + UNAME_MACHINE=`(uname -p) 2>/dev/null` + echo ${UNAME_MACHINE}-sni-sysv4 + else + echo ns32k-sni-sysv + fi + exit 0 ;; + PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort + # says + echo i586-unisys-sysv4 + exit 0 ;; + *:UNIX_System_V:4*:FTX*) + # From Gerald Hewes . + # How about differentiating between stratus architectures? -djm + echo hppa1.1-stratus-sysv4 + exit 0 ;; + *:*:*:FTX*) + # From seanf@swdc.stratus.com. + echo i860-stratus-sysv4 + exit 0 ;; + *:VOS:*:*) + # From Paul.Green@stratus.com. + echo hppa1.1-stratus-vos + exit 0 ;; + mc68*:A/UX:*:*) + echo m68k-apple-aux${UNAME_RELEASE} + exit 0 ;; + news*:NEWS-OS:6*:*) + echo mips-sony-newsos6 + exit 0 ;; + R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) + if [ -d /usr/nec ]; then + echo mips-nec-sysv${UNAME_RELEASE} + else + echo mips-unknown-sysv${UNAME_RELEASE} + fi + exit 0 ;; + BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. + echo powerpc-be-beos + exit 0 ;; + BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. + echo powerpc-apple-beos + exit 0 ;; + BePC:BeOS:*:*) # BeOS running on Intel PC compatible. + echo i586-pc-beos + exit 0 ;; + SX-4:SUPER-UX:*:*) + echo sx4-nec-superux${UNAME_RELEASE} + exit 0 ;; + SX-5:SUPER-UX:*:*) + echo sx5-nec-superux${UNAME_RELEASE} + exit 0 ;; + SX-6:SUPER-UX:*:*) + echo sx6-nec-superux${UNAME_RELEASE} + exit 0 ;; + Power*:Rhapsody:*:*) + echo powerpc-apple-rhapsody${UNAME_RELEASE} + exit 0 ;; + *:Rhapsody:*:*) + echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} + exit 0 ;; + *:Darwin:*:*) + echo `uname -p`-apple-darwin${UNAME_RELEASE} + exit 0 ;; + *:procnto*:*:* | *:QNX:[0123456789]*:*) + UNAME_PROCESSOR=`uname -p` + if test "$UNAME_PROCESSOR" = "x86"; then + UNAME_PROCESSOR=i386 + UNAME_MACHINE=pc + fi + echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} + exit 0 ;; + *:QNX:*:4*) + echo i386-pc-qnx + exit 0 ;; + NSR-[DGKLNPTVW]:NONSTOP_KERNEL:*:*) + echo nsr-tandem-nsk${UNAME_RELEASE} + exit 0 ;; + *:NonStop-UX:*:*) + echo mips-compaq-nonstopux + exit 0 ;; + BS2000:POSIX*:*:*) + echo bs2000-siemens-sysv + exit 0 ;; + DS/*:UNIX_System_V:*:*) + echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} + exit 0 ;; + *:Plan9:*:*) + # "uname -m" is not consistent, so use $cputype instead. 386 + # is converted to i386 for consistency with other x86 + # operating systems. + if test "$cputype" = "386"; then + UNAME_MACHINE=i386 + else + UNAME_MACHINE="$cputype" + fi + echo ${UNAME_MACHINE}-unknown-plan9 + exit 0 ;; + i*86:OS/2:*:*) + # If we were able to find `uname', then EMX Unix compatibility + # is probably installed. + echo ${UNAME_MACHINE}-pc-os2-emx + exit 0 ;; + *:TOPS-10:*:*) + echo pdp10-unknown-tops10 + exit 0 ;; + *:TENEX:*:*) + echo pdp10-unknown-tenex + exit 0 ;; + KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) + echo pdp10-dec-tops20 + exit 0 ;; + XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) + echo pdp10-xkl-tops20 + exit 0 ;; + *:TOPS-20:*:*) + echo pdp10-unknown-tops20 + exit 0 ;; + *:ITS:*:*) + echo pdp10-unknown-its + exit 0 ;; + i*86:XTS-300:*:STOP) + echo ${UNAME_MACHINE}-unknown-stop + exit 0 ;; + i*86:atheos:*:*) + echo ${UNAME_MACHINE}-unknown-atheos + exit 0 ;; +esac + +#echo '(No uname command or uname output not recognized.)' 1>&2 +#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 + +eval $set_cc_for_build +cat >$dummy.c < +# include +#endif +main () +{ +#if defined (sony) +#if defined (MIPSEB) + /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, + I don't know.... */ + printf ("mips-sony-bsd\n"); exit (0); +#else +#include + printf ("m68k-sony-newsos%s\n", +#ifdef NEWSOS4 + "4" +#else + "" +#endif + ); exit (0); +#endif +#endif + +#if defined (__arm) && defined (__acorn) && defined (__unix) + printf ("arm-acorn-riscix"); exit (0); +#endif + +#if defined (hp300) && !defined (hpux) + printf ("m68k-hp-bsd\n"); exit (0); +#endif + +#if defined (NeXT) +#if !defined (__ARCHITECTURE__) +#define __ARCHITECTURE__ "m68k" +#endif + int version; + version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; + if (version < 4) + printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); + else + printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); + exit (0); +#endif + +#if defined (MULTIMAX) || defined (n16) +#if defined (UMAXV) + printf ("ns32k-encore-sysv\n"); exit (0); +#else +#if defined (CMU) + printf ("ns32k-encore-mach\n"); exit (0); +#else + printf ("ns32k-encore-bsd\n"); exit (0); +#endif +#endif +#endif + +#if defined (__386BSD__) + printf ("i386-pc-bsd\n"); exit (0); +#endif + +#if defined (sequent) +#if defined (i386) + printf ("i386-sequent-dynix\n"); exit (0); +#endif +#if defined (ns32000) + printf ("ns32k-sequent-dynix\n"); exit (0); +#endif +#endif + +#if defined (_SEQUENT_) + struct utsname un; + + uname(&un); + + if (strncmp(un.version, "V2", 2) == 0) { + printf ("i386-sequent-ptx2\n"); exit (0); + } + if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ + printf ("i386-sequent-ptx1\n"); exit (0); + } + printf ("i386-sequent-ptx\n"); exit (0); + +#endif + +#if defined (vax) +# if !defined (ultrix) +# include +# if defined (BSD) +# if BSD == 43 + printf ("vax-dec-bsd4.3\n"); exit (0); +# else +# if BSD == 199006 + printf ("vax-dec-bsd4.3reno\n"); exit (0); +# else + printf ("vax-dec-bsd\n"); exit (0); +# endif +# endif +# else + printf ("vax-dec-bsd\n"); exit (0); +# endif +# else + printf ("vax-dec-ultrix\n"); exit (0); +# endif +#endif + +#if defined (alliant) && defined (i860) + printf ("i860-alliant-bsd\n"); exit (0); +#endif + + exit (1); +} +EOF + +$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0 +rm -f $dummy.c $dummy && rmdir $tmpdir + +# Apollos put the system type in the environment. + +test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; } + +# Convex versions that predate uname can use getsysinfo(1) + +if [ -x /usr/convex/getsysinfo ] +then + case `getsysinfo -f cpu_type` in + c1*) + echo c1-convex-bsd + exit 0 ;; + c2*) + if getsysinfo -f scalar_acc + then echo c32-convex-bsd + else echo c2-convex-bsd + fi + exit 0 ;; + c34*) + echo c34-convex-bsd + exit 0 ;; + c38*) + echo c38-convex-bsd + exit 0 ;; + c4*) + echo c4-convex-bsd + exit 0 ;; + esac +fi + +cat >&2 < in order to provide the needed +information to handle your system. + +config.guess timestamp = $timestamp + +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null` + +hostinfo = `(hostinfo) 2>/dev/null` +/bin/universe = `(/bin/universe) 2>/dev/null` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` +/bin/arch = `(/bin/arch) 2>/dev/null` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` + +UNAME_MACHINE = ${UNAME_MACHINE} +UNAME_RELEASE = ${UNAME_RELEASE} +UNAME_SYSTEM = ${UNAME_SYSTEM} +UNAME_VERSION = ${UNAME_VERSION} +EOF + +exit 1 + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "timestamp='" +# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-end: "'" +# End: diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/config.pl b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/config.pl new file mode 100644 index 0000000000000000000000000000000000000000..1af1cf27bb98da2332bc2595feca8934dd86b8a1 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/config.pl @@ -0,0 +1,235 @@ +#!/usr/bin/perl +# a script for use by autoconf to make the Makefiles +# from the Makefile.in's +# +# the original autoconf mechanism first splits all substitutions into groups +# of ca. 90, and than invokes sed for _every_ Makefile.in and every group +# (so around 2-3 times per Makefile.in). So this takes forever, as sed +# has to recompile the regexps every time. +# +# this script does better. It changes all Makefile.ins in one process. +# in kdelibs the time for building Makefile went down from 2:59 min to 13 sec! +# +# written by Michael Matz +# adapted by Dirk Mueller + +# This file is free software; you can redistribute it and/or +# modify it under the terms of the GNU Library General Public +# License as published by the Free Software Foundation; either +# version 2 of the License, or (at your option) any later version. + +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Library General Public License for more details. + +# You should have received a copy of the GNU Library General Public License +# along with this library; see the file COPYING.LIB. If not, write to +# the Free Software Foundation, Inc., 59 Temple Place - Suite 330, +# Boston, MA 02111-1307, USA. + +my $ac_subs=$ARGV[0]; +my $ac_sacfiles = $ARGV[1]; +my $ac_given_srcdir=$ARGV[2]; +my $ac_given_INSTALL=$ARGV[3]; + +#print "ac_subs=$ac_subs\n"; +#print "ac_sacfiles=$ac_sacfiles\n"; +#print "ac_given_srcdir=$ac_given_srcdir\n"; +#print "ac_given_INSTALL=$ac_given_INSTALL\n"; + +my ($srcdir, $top_srcdir); +my $INSTALL; +my $bad_perl = ($] < 5.005); + +open(CF, "< $ac_subs") || die "can't open $ac_subs: $!"; +my @subs = ; +close(CF); +chomp @subs; +@comp_match=(); +@comp_subs=(); + +if ($bad_perl) { + print "Using perl older than version 5.005\n"; + foreach my $pat (@subs) { + if ( ($pat =~ m/s%([^%]*)%([^%]*)%g/ ) + || ($pat =~ m/s%([^%]*)%([^%]*)%;t/ ) + || ($pat =~ m/s,([^,]*),(.*),;t/) + || ($pat =~ m%s/([^/]*)/([^/]*)/g% ) + || ($pat =~ m%s/([^/]*)/([^/]*)/;t% ) + ) { + # form : s%bla%blubb%g + # or s%bla%blubb%;t t (autoconf > 2.13 and < 2.52 ?) + # or s,bla,blubb,;t t (autoconf 2.52) + my $srch = $1; + my $repl = $2; + $repl =~ s/\\(.)/$1/g; + push @comp_subs, make_closure($srch, $repl); + + } elsif ( ($pat =~ /%([^%]*)%d/ ) + || ($pat =~ m%/([^/]*)/d% ) + ) { + push @comp_subs, make_closure($1, ""); + } else { + die "Uhh. Malformed pattern in $ac_subs ($pat)" + unless ( $pat =~ /^\s*$/ ); # ignore white lines + } + } +} else { + foreach my $pat (@subs) { + if ( ($pat =~ /s%([^%]*)%([^%]*)%g/ ) || + ($pat =~ /s%([^%]*)%([^%]*)%;t/ ) || + ($pat =~ /s,([^,]*),(.*),;t/) ) { + # form : s%bla%blubb%g + # or s%bla%blubb%;t t (autoconf > 2.13 and < 2.52 ?) + # or s,bla,blubb,;t t (autoconf 2.52) + my $srch = $1; + my $repl = $2; + push @comp_match, eval "qr/\Q$srch\E/"; # compile match pattern + $repl =~ s/\\(.)/$1/g; + push @comp_subs, $repl; + } elsif ( ($pat =~ /%([^%]*)%d/ ) + || ($pat =~ m%/([^/]*)/d% ) + ) { + push @comp_match, eval "qr/\Q$1\E/"; + push @comp_subs, ""; + } else { + die "Uhh. Malformed pattern in $ac_cs_root.subs ($pat)" + unless ( $pat =~ /^\s*$/ ); # ignore white lines + } + } +} +undef @subs; + +# read the list of files to be patched, form: +# ./Makefile arts/Makefile arts/examples/Makefile arts/flow/Makefile + +open(CF, "< $ac_sacfiles") || die "can't open $ac_sacfiles: $!"; +my @ac_files = ; +close(CF); +chomp @ac_files; + + +my $ac_file; +foreach $ac_file (@ac_files) { + next if $ac_file =~ /\.\./; + next if $ac_file =~ /^\s*$/; + my $ac_file_in; + my ($ac_dir, $ac_dots, $ac_dir_suffix); + + if ($ac_file =~ /.*:.*/ ) { + ($ac_file_in = $ac_file) =~ s%[^:]*:%%; + $ac_file =~ s%:.*%%; + } else { + $ac_file_in = $ac_file.".in"; + } + +# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. + +# Remove last slash and all that follows it. Not all systems have dirname. + ($ac_dir = $ac_file) =~ s%/[^/][^/]*$%%; + if ( ($ac_dir ne $ac_file) && ($ac_dir ne ".")) { +# The file is in a subdirectory. + if (! -d "$ac_dir") { mkdir "$ac_dir", 0777; } + ($ac_dir_suffix = $ac_dir) =~ s%^./%%; + $ac_dir_suffix="/".$ac_dir_suffix; +# A "../" for each directory in $ac_dir_suffix. + ($ac_dots = $ac_dir_suffix) =~ s%/[^/]*%../%g; + } else { + $ac_dir_suffix=""; + $ac_dots=""; + } + + if ($ac_given_srcdir eq ".") { + $srcdir="."; + if ($ac_dots) { + ( $top_srcdir = $ac_dots) =~ s%/$%%; + } else { $top_srcdir="."; } + } elsif ($ac_given_srcdir =~ m%^/%) { + $srcdir=$ac_given_srcdir.$ac_dir_suffix; + $top_srcdir = $ac_given_srcdir; + } else { + $srcdir = $ac_dots.$ac_given_srcdir.$ac_dir_suffix; + $top_srcdir = $ac_dots.$ac_given_srcdir; + } + + if ($ac_given_INSTALL) { + if ($ac_given_INSTALL =~ m%^/% ) { + $INSTALL = $ac_given_INSTALL; + } else { + $INSTALL = $ac_dots.$ac_given_INSTALL; + } + } + + print "fast creating $ac_file\n"; + unlink $ac_file; + my $ac_comsub=""; + my $fname=$ac_file_in; + $fname =~ s%.*/%%; + my $configure_input="Generated automatically from $fname by config.pl."; + if ($ac_file =~ /.*[Mm]akefile.*/) { + $ac_comsub="# ".$configure_input."\n"; # for the first line in $ac_file + } + + my $ac_file_inputs; + ($ac_file_inputs = $ac_file_in) =~ s%^%$ac_given_srcdir/%; + $ac_file_inputs =~ s%:% $ac_given_srcdir/%g; + + patch_file($ac_file, $ac_file_inputs, $ac_comsub); +} + +sub patch_file { + my ($outf, $infiles, $identline) = @_; + my $filedata; + my @infiles=split(' ', $infiles); + my $i=0; + + foreach my $name (@infiles) { + if (open(CF, "< $name")) { + while () { + $filedata .= $_; + } + close(CF); + } else { + print STDERR "can't open $name: $!"."\n"; + } + } + if ($identline) { + # Put the ident in the second line. For shitty automake 1.6x. + $filedata =~ s%\n%\n$identline%; + } + + $filedata =~ s%\@configure_input\@%$configure_input%g; + $filedata =~ s%\@srcdir\@%$srcdir%g; + $filedata =~ s%\@top_srcdir\@%$top_srcdir%g; + $filedata =~ s%\@INSTALL\@%$INSTALL%g; + + if ($bad_perl) { + while ($i <= $#comp_subs) { + my $ref = $comp_subs[$i]; + &$ref(\$filedata); + $i++; + } + } else { + while ($i <= $#comp_match) { + $filedata =~ s/$comp_match[$i]/$comp_subs[$i]/g; + $i++; + } + } + open(CF, "> $outf") || die "can't create $outf: $!"; + print CF $filedata; + close(CF); +} + +sub make_closure { + my ($pat, $sub) = @_; + $pat =~ s/\@/\\@/g; # @bla@ -> \@bla\@ + $pat =~ s/\$/\\\$/g; # $bla -> \$bla + $sub =~ s/\@/\\@/g; + $sub =~ s/\$/\\\$/g; + my $ret = eval "return sub { my \$ref=shift; \$\$ref =~ s%$pat%$sub%g; }"; + if ($@) { + print "can't create CODE: $@\n"; + } + return $ret; +} diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/config.sub b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/config.sub new file mode 100644 index 0000000000000000000000000000000000000000..c7d1c0ae3a728b5edbaf51f0af99cff8ca3f60c9 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/config.sub @@ -0,0 +1,1469 @@ +#! /bin/sh +# Configuration validation subroutine script. +# Copyright (C) 1992-2002 Free Software Foundation, Inc. + +timestamp='2002-09-05' + +# This file is (in principle) common to ALL GNU software. +# The presence of a machine in this file suggests that SOME GNU software +# can handle that machine. It does not imply ALL GNU software can. +# +# This file is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, +# Boston, MA 02111-1307, USA. + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# Please send patches to . Submit a context +# diff and a properly formatted ChangeLog entry. +# +# Configuration subroutine to validate and canonicalize a configuration type. +# Supply the specified configuration type as an argument. +# If it is invalid, we print an error message on stderr and exit with code 1. +# Otherwise, we print the canonical config type on stdout and succeed. + +# This file is supposed to be the same for all GNU packages +# and recognize all the CPU types, system types and aliases +# that are meaningful with *any* GNU software. +# Each package is responsible for reporting which valid configurations +# it does not support. The user should be able to distinguish +# a failure to support a valid configuration from a meaningless +# configuration. + +# The goal of this file is to map all the various variations of a given +# machine specification into a single specification in the form: +# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM +# or in some cases, the newer four-part form: +# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM +# It is wrong to echo any other type of specification. + +me=`echo "$0" | sed -e 's,.*/,,'` + +usage="\ +Usage: $0 [OPTION] CPU-MFR-OPSYS + $0 [OPTION] ALIAS + +Canonicalize a configuration name. + +Operation modes: + -h, --help print this help, then exit + -t, --time-stamp print date of last modification, then exit + -v, --version print version number, then exit + +Report bugs and patches to ." + +version="\ +GNU config.sub ($timestamp) + +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 +Free Software Foundation, Inc. + +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + +help=" +Try \`$me --help' for more information." + +# Parse command line +while test $# -gt 0 ; do + case $1 in + --time-stamp | --time* | -t ) + echo "$timestamp" ; exit 0 ;; + --version | -v ) + echo "$version" ; exit 0 ;; + --help | --h* | -h ) + echo "$usage"; exit 0 ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "$me: invalid option $1$help" + exit 1 ;; + + *local*) + # First pass through any local machine types. + echo $1 + exit 0;; + + * ) + break ;; + esac +done + +case $# in + 0) echo "$me: missing argument$help" >&2 + exit 1;; + 1) ;; + *) echo "$me: too many arguments$help" >&2 + exit 1;; +esac + +# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). +# Here we must recognize all the valid KERNEL-OS combinations. +maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` +case $maybe_os in + nto-qnx* | linux-gnu* | freebsd*-gnu* | storm-chaos* | os2-emx* | windows32-* | rtmk-nova*) + os=-$maybe_os + basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` + ;; + *) + basic_machine=`echo $1 | sed 's/-[^-]*$//'` + if [ $basic_machine != $1 ] + then os=`echo $1 | sed 's/.*-/-/'` + else os=; fi + ;; +esac + +### Let's recognize common machines as not being operating systems so +### that things like config.sub decstation-3100 work. We also +### recognize some manufacturers as not being operating systems, so we +### can provide default operating systems below. +case $os in + -sun*os*) + # Prevent following clause from handling this invalid input. + ;; + -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ + -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ + -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ + -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ + -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ + -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ + -apple | -axis) + os= + basic_machine=$1 + ;; + -sim | -cisco | -oki | -wec | -winbond) + os= + basic_machine=$1 + ;; + -scout) + ;; + -wrs) + os=-vxworks + basic_machine=$1 + ;; + -chorusos*) + os=-chorusos + basic_machine=$1 + ;; + -chorusrdb) + os=-chorusrdb + basic_machine=$1 + ;; + -hiux*) + os=-hiuxwe2 + ;; + -sco5) + os=-sco3.2v5 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco4) + os=-sco3.2v4 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco3.2.[4-9]*) + os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco3.2v[4-9]*) + # Don't forget version if it is 3.2v4 or newer. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco*) + os=-sco3.2v2 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -udk*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -isc) + os=-isc2.2 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -clix*) + basic_machine=clipper-intergraph + ;; + -isc*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -lynx*) + os=-lynxos + ;; + -ptx*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` + ;; + -windowsnt*) + os=`echo $os | sed -e 's/windowsnt/winnt/'` + ;; + -psos*) + os=-psos + ;; + -mint | -mint[0-9]*) + basic_machine=m68k-atari + os=-mint + ;; +esac + +# Decode aliases for certain CPU-COMPANY combinations. +case $basic_machine in + # Recognize the basic CPU types without company name. + # Some are omitted here because they have special meanings below. + 1750a | 580 \ + | a29k \ + | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ + | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ + | clipper \ + | d10v | d30v | dlx | dsp16xx \ + | fr30 | frv \ + | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ + | i370 | i860 | i960 | ia64 \ + | ip2k \ + | m32r | m68000 | m68k | m88k | mcore \ + | mips | mipsbe | mipseb | mipsel | mipsle \ + | mips16 \ + | mips64 | mips64el \ + | mips64vr | mips64vrel \ + | mips64orion | mips64orionel \ + | mips64vr4100 | mips64vr4100el \ + | mips64vr4300 | mips64vr4300el \ + | mips64vr5000 | mips64vr5000el \ + | mipsisa32 | mipsisa32el \ + | mipsisa64 | mipsisa64el \ + | mipsisa64sb1 | mipsisa64sb1el \ + | mipsisa64sr71k | mipsisa64sr71kel \ + | mipstx39 | mipstx39el \ + | mn10200 | mn10300 \ + | ns16k | ns32k \ + | openrisc | or32 \ + | pdp10 | pdp11 | pj | pjl \ + | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ + | pyramid \ + | sh | sh[1234] | sh3e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ + | sh64 | sh64le \ + | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \ + | strongarm \ + | tahoe | thumb | tic80 | tron \ + | v850 | v850e \ + | we32k \ + | x86 | xscale | xstormy16 | xtensa \ + | z8k) + basic_machine=$basic_machine-unknown + ;; + m6811 | m68hc11 | m6812 | m68hc12) + # Motorola 68HC11/12. + basic_machine=$basic_machine-unknown + os=-none + ;; + m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) + ;; + + # We use `pc' rather than `unknown' + # because (1) that's what they normally are, and + # (2) the word "unknown" tends to confuse beginning users. + i*86 | x86_64) + basic_machine=$basic_machine-pc + ;; + # Object if more than one company name word. + *-*-*) + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 + exit 1 + ;; + # Recognize the basic CPU types with company name. + 580-* \ + | a29k-* \ + | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ + | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ + | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ + | avr-* \ + | bs2000-* \ + | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* \ + | clipper-* | cydra-* \ + | d10v-* | d30v-* | dlx-* \ + | elxsi-* \ + | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ + | h8300-* | h8500-* \ + | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ + | i*86-* | i860-* | i960-* | ia64-* \ + | ip2k-* \ + | m32r-* \ + | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ + | m88110-* | m88k-* | mcore-* \ + | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ + | mips16-* \ + | mips64-* | mips64el-* \ + | mips64vr-* | mips64vrel-* \ + | mips64orion-* | mips64orionel-* \ + | mips64vr4100-* | mips64vr4100el-* \ + | mips64vr4300-* | mips64vr4300el-* \ + | mips64vr5000-* | mips64vr5000el-* \ + | mipsisa32-* | mipsisa32el-* \ + | mipsisa64-* | mipsisa64el-* \ + | mipsisa64sb1-* | mipsisa64sb1el-* \ + | mipsisa64sr71k-* | mipsisa64sr71kel-* \ + | mipstx39 | mipstx39el \ + | none-* | np1-* | ns16k-* | ns32k-* \ + | orion-* \ + | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ + | pyramid-* \ + | romp-* | rs6000-* \ + | sh-* | sh[1234]-* | sh3e-* | sh[34]eb-* | shbe-* \ + | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ + | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \ + | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ + | tahoe-* | thumb-* | tic30-* | tic4x-* | tic54x-* | tic80-* | tron-* \ + | v850-* | v850e-* | vax-* \ + | we32k-* \ + | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \ + | xtensa-* \ + | ymp-* \ + | z8k-*) + ;; + # Recognize the various machine names and aliases which stand + # for a CPU type and a company and sometimes even an OS. + 386bsd) + basic_machine=i386-unknown + os=-bsd + ;; + 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) + basic_machine=m68000-att + ;; + 3b*) + basic_machine=we32k-att + ;; + a29khif) + basic_machine=a29k-amd + os=-udi + ;; + adobe68k) + basic_machine=m68010-adobe + os=-scout + ;; + alliant | fx80) + basic_machine=fx80-alliant + ;; + altos | altos3068) + basic_machine=m68k-altos + ;; + am29k) + basic_machine=a29k-none + os=-bsd + ;; + amdahl) + basic_machine=580-amdahl + os=-sysv + ;; + amiga | amiga-*) + basic_machine=m68k-unknown + ;; + amigaos | amigados) + basic_machine=m68k-unknown + os=-amigaos + ;; + amigaunix | amix) + basic_machine=m68k-unknown + os=-sysv4 + ;; + apollo68) + basic_machine=m68k-apollo + os=-sysv + ;; + apollo68bsd) + basic_machine=m68k-apollo + os=-bsd + ;; + aux) + basic_machine=m68k-apple + os=-aux + ;; + balance) + basic_machine=ns32k-sequent + os=-dynix + ;; + c90) + basic_machine=c90-cray + os=-unicos + ;; + convex-c1) + basic_machine=c1-convex + os=-bsd + ;; + convex-c2) + basic_machine=c2-convex + os=-bsd + ;; + convex-c32) + basic_machine=c32-convex + os=-bsd + ;; + convex-c34) + basic_machine=c34-convex + os=-bsd + ;; + convex-c38) + basic_machine=c38-convex + os=-bsd + ;; + cray | j90) + basic_machine=j90-cray + os=-unicos + ;; + crds | unos) + basic_machine=m68k-crds + ;; + cris | cris-* | etrax*) + basic_machine=cris-axis + ;; + da30 | da30-*) + basic_machine=m68k-da30 + ;; + decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) + basic_machine=mips-dec + ;; + decsystem10* | dec10*) + basic_machine=pdp10-dec + os=-tops10 + ;; + decsystem20* | dec20*) + basic_machine=pdp10-dec + os=-tops20 + ;; + delta | 3300 | motorola-3300 | motorola-delta \ + | 3300-motorola | delta-motorola) + basic_machine=m68k-motorola + ;; + delta88) + basic_machine=m88k-motorola + os=-sysv3 + ;; + dpx20 | dpx20-*) + basic_machine=rs6000-bull + os=-bosx + ;; + dpx2* | dpx2*-bull) + basic_machine=m68k-bull + os=-sysv3 + ;; + ebmon29k) + basic_machine=a29k-amd + os=-ebmon + ;; + elxsi) + basic_machine=elxsi-elxsi + os=-bsd + ;; + encore | umax | mmax) + basic_machine=ns32k-encore + ;; + es1800 | OSE68k | ose68k | ose | OSE) + basic_machine=m68k-ericsson + os=-ose + ;; + fx2800) + basic_machine=i860-alliant + ;; + genix) + basic_machine=ns32k-ns + ;; + gmicro) + basic_machine=tron-gmicro + os=-sysv + ;; + go32) + basic_machine=i386-pc + os=-go32 + ;; + h3050r* | hiux*) + basic_machine=hppa1.1-hitachi + os=-hiuxwe2 + ;; + h8300hms) + basic_machine=h8300-hitachi + os=-hms + ;; + h8300xray) + basic_machine=h8300-hitachi + os=-xray + ;; + h8500hms) + basic_machine=h8500-hitachi + os=-hms + ;; + harris) + basic_machine=m88k-harris + os=-sysv3 + ;; + hp300-*) + basic_machine=m68k-hp + ;; + hp300bsd) + basic_machine=m68k-hp + os=-bsd + ;; + hp300hpux) + basic_machine=m68k-hp + os=-hpux + ;; + hp3k9[0-9][0-9] | hp9[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hp9k2[0-9][0-9] | hp9k31[0-9]) + basic_machine=m68000-hp + ;; + hp9k3[2-9][0-9]) + basic_machine=m68k-hp + ;; + hp9k6[0-9][0-9] | hp6[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hp9k7[0-79][0-9] | hp7[0-79][0-9]) + basic_machine=hppa1.1-hp + ;; + hp9k78[0-9] | hp78[0-9]) + # FIXME: really hppa2.0-hp + basic_machine=hppa1.1-hp + ;; + hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) + # FIXME: really hppa2.0-hp + basic_machine=hppa1.1-hp + ;; + hp9k8[0-9][13679] | hp8[0-9][13679]) + basic_machine=hppa1.1-hp + ;; + hp9k8[0-9][0-9] | hp8[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hppa-next) + os=-nextstep3 + ;; + hppaosf) + basic_machine=hppa1.1-hp + os=-osf + ;; + hppro) + basic_machine=hppa1.1-hp + os=-proelf + ;; + i370-ibm* | ibm*) + basic_machine=i370-ibm + ;; +# I'm not sure what "Sysv32" means. Should this be sysv3.2? + i*86v32) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv32 + ;; + i*86v4*) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv4 + ;; + i*86v) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv + ;; + i*86sol2) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-solaris2 + ;; + i386mach) + basic_machine=i386-mach + os=-mach + ;; + i386-vsta | vsta) + basic_machine=i386-unknown + os=-vsta + ;; + iris | iris4d) + basic_machine=mips-sgi + case $os in + -irix*) + ;; + *) + os=-irix4 + ;; + esac + ;; + isi68 | isi) + basic_machine=m68k-isi + os=-sysv + ;; + m88k-omron*) + basic_machine=m88k-omron + ;; + magnum | m3230) + basic_machine=mips-mips + os=-sysv + ;; + merlin) + basic_machine=ns32k-utek + os=-sysv + ;; + mingw32) + basic_machine=i386-pc + os=-mingw32 + ;; + miniframe) + basic_machine=m68000-convergent + ;; + *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) + basic_machine=m68k-atari + os=-mint + ;; + mips3*-*) + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` + ;; + mips3*) + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown + ;; + mmix*) + basic_machine=mmix-knuth + os=-mmixware + ;; + monitor) + basic_machine=m68k-rom68k + os=-coff + ;; + morphos) + basic_machine=powerpc-unknown + os=-morphos + ;; + msdos) + basic_machine=i386-pc + os=-msdos + ;; + mvs) + basic_machine=i370-ibm + os=-mvs + ;; + ncr3000) + basic_machine=i486-ncr + os=-sysv4 + ;; + netbsd386) + basic_machine=i386-unknown + os=-netbsd + ;; + netwinder) + basic_machine=armv4l-rebel + os=-linux + ;; + news | news700 | news800 | news900) + basic_machine=m68k-sony + os=-newsos + ;; + news1000) + basic_machine=m68030-sony + os=-newsos + ;; + news-3600 | risc-news) + basic_machine=mips-sony + os=-newsos + ;; + necv70) + basic_machine=v70-nec + os=-sysv + ;; + next | m*-next ) + basic_machine=m68k-next + case $os in + -nextstep* ) + ;; + -ns2*) + os=-nextstep2 + ;; + *) + os=-nextstep3 + ;; + esac + ;; + nh3000) + basic_machine=m68k-harris + os=-cxux + ;; + nh[45]000) + basic_machine=m88k-harris + os=-cxux + ;; + nindy960) + basic_machine=i960-intel + os=-nindy + ;; + mon960) + basic_machine=i960-intel + os=-mon960 + ;; + nonstopux) + basic_machine=mips-compaq + os=-nonstopux + ;; + np1) + basic_machine=np1-gould + ;; + nsr-tandem) + basic_machine=nsr-tandem + ;; + op50n-* | op60c-*) + basic_machine=hppa1.1-oki + os=-proelf + ;; + or32 | or32-*) + basic_machine=or32-unknown + os=-coff + ;; + OSE68000 | ose68000) + basic_machine=m68000-ericsson + os=-ose + ;; + os68k) + basic_machine=m68k-none + os=-os68k + ;; + pa-hitachi) + basic_machine=hppa1.1-hitachi + os=-hiuxwe2 + ;; + paragon) + basic_machine=i860-intel + os=-osf + ;; + pbd) + basic_machine=sparc-tti + ;; + pbb) + basic_machine=m68k-tti + ;; + pc532 | pc532-*) + basic_machine=ns32k-pc532 + ;; + pentium | p5 | k5 | k6 | nexgen | viac3) + basic_machine=i586-pc + ;; + pentiumpro | p6 | 6x86 | athlon | athlon_*) + basic_machine=i686-pc + ;; + pentiumii | pentium2) + basic_machine=i686-pc + ;; + pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) + basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentiumpro-* | p6-* | 6x86-* | athlon-*) + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentiumii-* | pentium2-*) + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pn) + basic_machine=pn-gould + ;; + power) basic_machine=power-ibm + ;; + ppc) basic_machine=powerpc-unknown + ;; + ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppcle | powerpclittle | ppc-le | powerpc-little) + basic_machine=powerpcle-unknown + ;; + ppcle-* | powerpclittle-*) + basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppc64) basic_machine=powerpc64-unknown + ;; + ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppc64le | powerpc64little | ppc64-le | powerpc64-little) + basic_machine=powerpc64le-unknown + ;; + ppc64le-* | powerpc64little-*) + basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ps2) + basic_machine=i386-ibm + ;; + pw32) + basic_machine=i586-unknown + os=-pw32 + ;; + rom68k) + basic_machine=m68k-rom68k + os=-coff + ;; + rm[46]00) + basic_machine=mips-siemens + ;; + rtpc | rtpc-*) + basic_machine=romp-ibm + ;; + s390 | s390-*) + basic_machine=s390-ibm + ;; + s390x | s390x-*) + basic_machine=s390x-ibm + ;; + sa29200) + basic_machine=a29k-amd + os=-udi + ;; + sb1) + basic_machine=mipsisa64sb1-unknown + ;; + sb1el) + basic_machine=mipsisa64sb1el-unknown + ;; + sequent) + basic_machine=i386-sequent + ;; + sh) + basic_machine=sh-hitachi + os=-hms + ;; + sparclite-wrs | simso-wrs) + basic_machine=sparclite-wrs + os=-vxworks + ;; + sps7) + basic_machine=m68k-bull + os=-sysv2 + ;; + spur) + basic_machine=spur-unknown + ;; + st2000) + basic_machine=m68k-tandem + ;; + stratus) + basic_machine=i860-stratus + os=-sysv4 + ;; + sun2) + basic_machine=m68000-sun + ;; + sun2os3) + basic_machine=m68000-sun + os=-sunos3 + ;; + sun2os4) + basic_machine=m68000-sun + os=-sunos4 + ;; + sun3os3) + basic_machine=m68k-sun + os=-sunos3 + ;; + sun3os4) + basic_machine=m68k-sun + os=-sunos4 + ;; + sun4os3) + basic_machine=sparc-sun + os=-sunos3 + ;; + sun4os4) + basic_machine=sparc-sun + os=-sunos4 + ;; + sun4sol2) + basic_machine=sparc-sun + os=-solaris2 + ;; + sun3 | sun3-*) + basic_machine=m68k-sun + ;; + sun4) + basic_machine=sparc-sun + ;; + sun386 | sun386i | roadrunner) + basic_machine=i386-sun + ;; + sv1) + basic_machine=sv1-cray + os=-unicos + ;; + symmetry) + basic_machine=i386-sequent + os=-dynix + ;; + t3d) + basic_machine=alpha-cray + os=-unicos + ;; + t3e) + basic_machine=alphaev5-cray + os=-unicos + ;; + t90) + basic_machine=t90-cray + os=-unicos + ;; + tic4x | c4x*) + basic_machine=tic4x-unknown + os=-coff + ;; + tic54x | c54x*) + basic_machine=tic54x-unknown + os=-coff + ;; + tx39) + basic_machine=mipstx39-unknown + ;; + tx39el) + basic_machine=mipstx39el-unknown + ;; + toad1) + basic_machine=pdp10-xkl + os=-tops20 + ;; + tower | tower-32) + basic_machine=m68k-ncr + ;; + udi29k) + basic_machine=a29k-amd + os=-udi + ;; + ultra3) + basic_machine=a29k-nyu + os=-sym1 + ;; + v810 | necv810) + basic_machine=v810-nec + os=-none + ;; + vaxv) + basic_machine=vax-dec + os=-sysv + ;; + vms) + basic_machine=vax-dec + os=-vms + ;; + vpp*|vx|vx-*) + basic_machine=f301-fujitsu + ;; + vxworks960) + basic_machine=i960-wrs + os=-vxworks + ;; + vxworks68) + basic_machine=m68k-wrs + os=-vxworks + ;; + vxworks29k) + basic_machine=a29k-wrs + os=-vxworks + ;; + w65*) + basic_machine=w65-wdc + os=-none + ;; + w89k-*) + basic_machine=hppa1.1-winbond + os=-proelf + ;; + windows32) + basic_machine=i386-pc + os=-windows32-msvcrt + ;; + xps | xps100) + basic_machine=xps100-honeywell + ;; + ymp) + basic_machine=ymp-cray + os=-unicos + ;; + z8k-*-coff) + basic_machine=z8k-unknown + os=-sim + ;; + none) + basic_machine=none-none + os=-none + ;; + +# Here we handle the default manufacturer of certain CPU types. It is in +# some cases the only manufacturer, in others, it is the most popular. + w89k) + basic_machine=hppa1.1-winbond + ;; + op50n) + basic_machine=hppa1.1-oki + ;; + op60c) + basic_machine=hppa1.1-oki + ;; + romp) + basic_machine=romp-ibm + ;; + rs6000) + basic_machine=rs6000-ibm + ;; + vax) + basic_machine=vax-dec + ;; + pdp10) + # there are many clones, so DEC is not a safe bet + basic_machine=pdp10-unknown + ;; + pdp11) + basic_machine=pdp11-dec + ;; + we32k) + basic_machine=we32k-att + ;; + sh3 | sh4 | sh3eb | sh4eb | sh[1234]le | sh3ele) + basic_machine=sh-unknown + ;; + sh64) + basic_machine=sh64-unknown + ;; + sparc | sparcv9 | sparcv9b) + basic_machine=sparc-sun + ;; + cydra) + basic_machine=cydra-cydrome + ;; + orion) + basic_machine=orion-highlevel + ;; + orion105) + basic_machine=clipper-highlevel + ;; + mac | mpw | mac-mpw) + basic_machine=m68k-apple + ;; + pmac | pmac-mpw) + basic_machine=powerpc-apple + ;; + *-unknown) + # Make sure to match an already-canonicalized machine name. + ;; + *) + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 + exit 1 + ;; +esac + +# Here we canonicalize certain aliases for manufacturers. +case $basic_machine in + *-digital*) + basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` + ;; + *-commodore*) + basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` + ;; + *) + ;; +esac + +# Decode manufacturer-specific aliases for certain operating systems. + +if [ x"$os" != x"" ] +then +case $os in + # First match some system type aliases + # that might get confused with valid system types. + # -solaris* is a basic system type, with this one exception. + -solaris1 | -solaris1.*) + os=`echo $os | sed -e 's|solaris1|sunos4|'` + ;; + -solaris) + os=-solaris2 + ;; + -svr4*) + os=-sysv4 + ;; + -unixware*) + os=-sysv4.2uw + ;; + -gnu/linux*) + os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` + ;; + # First accept the basic system types. + # The portable systems comes first. + # Each alternative MUST END IN A *, to match a version number. + # -sysv* is not here because it comes later, after sysvr4. + -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ + | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ + | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ + | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ + | -aos* \ + | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ + | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ + | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \ + | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ + | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ + | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ + | -chorusos* | -chorusrdb* \ + | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ + | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ + | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \ + | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ + | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ + | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ + | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* | -powermax*) + # Remember, each alternative MUST END IN *, to match a version number. + ;; + -qnx*) + case $basic_machine in + x86-* | i*86-*) + ;; + *) + os=-nto$os + ;; + esac + ;; + -nto*) + os=-nto-qnx + ;; + -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ + | -windows* | -osx | -abug | -netware* | -os9* | -beos* \ + | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) + ;; + -mac*) + os=`echo $os | sed -e 's|mac|macos|'` + ;; + -linux*) + os=`echo $os | sed -e 's|linux|linux-gnu|'` + ;; + -sunos5*) + os=`echo $os | sed -e 's|sunos5|solaris2|'` + ;; + -sunos6*) + os=`echo $os | sed -e 's|sunos6|solaris3|'` + ;; + -opened*) + os=-openedition + ;; + -wince*) + os=-wince + ;; + -osfrose*) + os=-osfrose + ;; + -osf*) + os=-osf + ;; + -utek*) + os=-bsd + ;; + -dynix*) + os=-bsd + ;; + -acis*) + os=-aos + ;; + -atheos*) + os=-atheos + ;; + -386bsd) + os=-bsd + ;; + -ctix* | -uts*) + os=-sysv + ;; + -nova*) + os=-rtmk-nova + ;; + -ns2 ) + os=-nextstep2 + ;; + -nsk*) + os=-nsk + ;; + # Preserve the version number of sinix5. + -sinix5.*) + os=`echo $os | sed -e 's|sinix|sysv|'` + ;; + -sinix*) + os=-sysv4 + ;; + -triton*) + os=-sysv3 + ;; + -oss*) + os=-sysv3 + ;; + -svr4) + os=-sysv4 + ;; + -svr3) + os=-sysv3 + ;; + -sysvr4) + os=-sysv4 + ;; + # This must come after -sysvr4. + -sysv*) + ;; + -ose*) + os=-ose + ;; + -es1800*) + os=-ose + ;; + -xenix) + os=-xenix + ;; + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) + os=-mint + ;; + -none) + ;; + *) + # Get rid of the `-' at the beginning of $os. + os=`echo $os | sed 's/[^-]*-//'` + echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 + exit 1 + ;; +esac +else + +# Here we handle the default operating systems that come with various machines. +# The value should be what the vendor currently ships out the door with their +# machine or put another way, the most popular os provided with the machine. + +# Note that if you're going to try to match "-MANUFACTURER" here (say, +# "-sun"), then you have to tell the case statement up towards the top +# that MANUFACTURER isn't an operating system. Otherwise, code above +# will signal an error saying that MANUFACTURER isn't an operating +# system, and we'll never get to this point. + +case $basic_machine in + *-acorn) + os=-riscix1.2 + ;; + arm*-rebel) + os=-linux + ;; + arm*-semi) + os=-aout + ;; + # This must come before the *-dec entry. + pdp10-*) + os=-tops20 + ;; + pdp11-*) + os=-none + ;; + *-dec | vax-*) + os=-ultrix4.2 + ;; + m68*-apollo) + os=-domain + ;; + i386-sun) + os=-sunos4.0.2 + ;; + m68000-sun) + os=-sunos3 + # This also exists in the configure program, but was not the + # default. + # os=-sunos4 + ;; + m68*-cisco) + os=-aout + ;; + mips*-cisco) + os=-elf + ;; + mips*-*) + os=-elf + ;; + or32-*) + os=-coff + ;; + *-tti) # must be before sparc entry or we get the wrong os. + os=-sysv3 + ;; + sparc-* | *-sun) + os=-sunos4.1.1 + ;; + *-be) + os=-beos + ;; + *-ibm) + os=-aix + ;; + *-wec) + os=-proelf + ;; + *-winbond) + os=-proelf + ;; + *-oki) + os=-proelf + ;; + *-hp) + os=-hpux + ;; + *-hitachi) + os=-hiux + ;; + i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) + os=-sysv + ;; + *-cbm) + os=-amigaos + ;; + *-dg) + os=-dgux + ;; + *-dolphin) + os=-sysv3 + ;; + m68k-ccur) + os=-rtu + ;; + m88k-omron*) + os=-luna + ;; + *-next ) + os=-nextstep + ;; + *-sequent) + os=-ptx + ;; + *-crds) + os=-unos + ;; + *-ns) + os=-genix + ;; + i370-*) + os=-mvs + ;; + *-next) + os=-nextstep3 + ;; + *-gould) + os=-sysv + ;; + *-highlevel) + os=-bsd + ;; + *-encore) + os=-bsd + ;; + *-sgi) + os=-irix + ;; + *-siemens) + os=-sysv4 + ;; + *-masscomp) + os=-rtu + ;; + f30[01]-fujitsu | f700-fujitsu) + os=-uxpv + ;; + *-rom68k) + os=-coff + ;; + *-*bug) + os=-coff + ;; + *-apple) + os=-macos + ;; + *-atari*) + os=-mint + ;; + *) + os=-none + ;; +esac +fi + +# Here we handle the case where we know the os, and the CPU type, but not the +# manufacturer. We pick the logical manufacturer. +vendor=unknown +case $basic_machine in + *-unknown) + case $os in + -riscix*) + vendor=acorn + ;; + -sunos*) + vendor=sun + ;; + -aix*) + vendor=ibm + ;; + -beos*) + vendor=be + ;; + -hpux*) + vendor=hp + ;; + -mpeix*) + vendor=hp + ;; + -hiux*) + vendor=hitachi + ;; + -unos*) + vendor=crds + ;; + -dgux*) + vendor=dg + ;; + -luna*) + vendor=omron + ;; + -genix*) + vendor=ns + ;; + -mvs* | -opened*) + vendor=ibm + ;; + -ptx*) + vendor=sequent + ;; + -vxsim* | -vxworks* | -windiss*) + vendor=wrs + ;; + -aux*) + vendor=apple + ;; + -hms*) + vendor=hitachi + ;; + -mpw* | -macos*) + vendor=apple + ;; + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) + vendor=atari + ;; + -vos*) + vendor=stratus + ;; + esac + basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` + ;; +esac + +echo $basic_machine$os +exit 0 + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "timestamp='" +# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-end: "'" +# End: diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/configure.in.bot.end b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/configure.in.bot.end new file mode 100644 index 0000000000000000000000000000000000000000..fb483b67e8c5e086b3d6b4ba631c8aa899fb91c0 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/configure.in.bot.end @@ -0,0 +1,12 @@ +if test "$all_tests" = "bad"; then + if test ! "$cache_file" = "/dev/null"; then + echo "" + echo "Please remove the file $cache_file after changing your setup" + echo "so that configure will find the changes next time." + echo "" + fi +else + echo "" + echo "Good - your configure finished. Start make now" + echo "" +fi diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/configure.in.min b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/configure.in.min new file mode 100644 index 0000000000000000000000000000000000000000..7c7e25a94f9c0d1440cf8a119ffecd435757fc45 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/configure.in.min @@ -0,0 +1,57 @@ +dnl This file is part of the KDE libraries/packages +dnl Copyright (C) 2001 Stephan Kulow (coolo@kde.org) + +dnl This file is free software; you can redistribute it and/or +dnl modify it under the terms of the GNU Library General Public +dnl License as published by the Free Software Foundation; either +dnl version 2 of the License, or (at your option) any later version. + +dnl This library is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +dnl Library General Public License for more details. + +dnl You should have received a copy of the GNU Library General Public License +dnl along with this library; see the file COPYING.LIB. If not, write to +dnl the Free Software Foundation, Inc., 59 Temple Place - Suite 330, +dnl Boston, MA 02111-1307, USA. + +# Original Author was Kalle@kde.org +# I lifted it in some mater. (Stephan Kulow) +# I used much code from Janos Farkas + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(acinclude.m4) dnl a source file from your sub dir + +dnl This is so we can use kde-common +AC_CONFIG_AUX_DIR(admin) + +dnl This ksh/zsh feature conflicts with `cd blah ; pwd` +unset CDPATH + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_SYSTEM +dnl Perform program name transformation +AC_ARG_PROGRAM + +dnl Automake doc recommends to do this only here. (Janos) +AM_INIT_AUTOMAKE(@MODULENAME@, @VERSION@) dnl searches for some needed programs + +KDE_SET_PREFIX + +dnl generate the config header +AM_CONFIG_HEADER(config.h) dnl at the distribution this done + +dnl Checks for programs. +AC_CHECK_COMPILERS +AC_ENABLE_SHARED(yes) +AC_ENABLE_STATIC(no) +KDE_PROG_LIBTOOL + +dnl for NLS support. Call them in this order! +dnl WITH_NLS is for the po files +AM_KDE_WITH_NLS + +dnl KDE_USE_QT +AC_PATH_KDE diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/cvs-clean.pl b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/cvs-clean.pl new file mode 100644 index 0000000000000000000000000000000000000000..669dbdc65444a72f25f7bfd5cc1fd33235a84cd4 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/cvs-clean.pl @@ -0,0 +1,87 @@ +#! /usr/bin/perl + +# +# This script recursively (beginning with the current directory) +# wipes out everything not registered in CVS. +# +# written by Oswald Buddenhagen +# inspired by the "old" cvs-clean target from Makefile.common +# +# This file is free software in terms of the BSD licence. That means +# that you can do anything with it except removing this license or +# the above copyright notice. There is NO WARRANTY of any kind. +# + +sub rmrf() +{ + my $fn = shift; + lstat ($fn); + if (-d _) { + if (opendir (DIR, $fn)) { + for my $efn (grep (!/^\.\.?$/, readdir (DIR))) { + &rmrf ($fn."/".$efn); + } + closedir (DIR); + rmdir ($fn); + } + } else { + unlink ($fn); + } +} + +sub newfiles() +{ + my ($indir, $incvs) = @_; + for my $n (keys (%$incvs)) { delete $$indir{$n} } + return sort (keys (%$indir)); +} + +sub cvsclean() +{ + my $dir = shift; + my (%dirsdir, %filesdir, %dirscvs, %filescvs); + my $dnam = $dir ? $dir : "."; + if (!opendir (DIR, $dnam)) { + print STDERR "Cannot enter \"".$dnam."\".\n"; + return; + } + for my $fn (grep (!/^\.\.?$/, readdir (DIR))) { + if (-d $dir.$fn) { + $fn eq "CVS" or $dirsdir{$fn} = 1; + } else { + $filesdir{$fn} = 1; + } + } + closedir (DIR); + if (!open (FILE, "<".$dir."CVS/Entries")) { + print STDERR "No CVS information in \"".$dnam."\".\n"; + return; + } + while () { + m%^D/([^/]+)/.*$% and $dirscvs{$1} = 1; + m%^/([^/]+)/.*$% and $filescvs{$1} = 1; + } + close (FILE); + if (open (FILE, "<".$dir."CVS/Entries.Log")) { + while () { + m%^A D/([^/]+)/.*$% and $dirscvs{$1} = 1; + m%^A /([^/]+)/.*$% and $filescvs{$1} = 1; + m%^R D/([^/]+)/.*$% and delete $dirscvs{$1}; + m%^R /([^/]+)/.*$% and delete $filescvs{$1}; + } + close (FILE); + } + for my $fn (&newfiles (\%filesdir, \%filescvs)) { + print ("F ".$dir.$fn."\n"); + &rmrf ($dir.$fn); + } + for my $fn (&newfiles (\%dirsdir, \%dirscvs)) { + print ("D ".$dir.$fn."\n"); + &rmrf ($dir.$fn); + } + for my $fn (sort (keys (%dirscvs))) { + &cvsclean ($dir.$fn."/"); + } +} + +&cvsclean (""); diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/cvs.sh b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/cvs.sh new file mode 100644 index 0000000000000000000000000000000000000000..a39fddd7c05914a8208ba5551adfa407ff3a90c5 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/cvs.sh @@ -0,0 +1,506 @@ +#! /bin/sh +# +# cvs.sh +# +# This file contains support code from Makefile.common +# It defines a shell function for each known target +# and then does a case to call the correct function. + +call_and_fix_autoconf() +{ + $AUTOCONF || exit 1 + if test -r configure.in.in ; then + perl -pi -e "print \"if test \\\"x\\\$with_fast_perl\\\" = \\\"xyes\\\"; then\ + \\n perl -i.bak \\\$ac_aux_dir/conf.change.pl \\\$CONFIG_STATUS\ + \\\\\\n || mv \\\$CONFIG_STATUS.bak \\\$CONFIG_STATUS\ + \\n rm -f \\\$CONFIG_STATUS.bak\\nfi\ + \\n\" if /^\\s*chmod\\s+.*\\+x\\s+.*CONFIG_STATUS/;" configure + fi +} + +strip_makefile() +{ + if test -f $makefile_wo; then :; else + perl -e '$in=0; while ( <> ) { $in = 1 if ($_=~ m/^if /); print $_ unless ($in); $in = 0 if ($_ =~ m/^endif/); }' < Makefile.am.in > $makefile_wo + fi +} + +check_autotool_versions() +{ +AUTOCONF_VERSION=`$AUTOCONF --version | head -n 1` +case $AUTOCONF_VERSION in + Autoconf*2.[5-9]* | autoconf*2.[5-9]* ) : ;; + "" ) + echo "*** AUTOCONF NOT FOUND!." + echo "*** KDE requires autoconf 2.52, 2.53 or 2.54" + exit 1 + ;; + * ) + echo "*** YOU'RE USING $AUTOCONF_VERSION." + echo "*** KDE requires autoconf 2.52, 2.53 or 2.54" + exit 1 + ;; +esac + +AUTOHEADER_VERSION=`$AUTOHEADER --version | head -n 1` +case $AUTOHEADER_VERSION in + Autoconf*2.[5-9]* | autoheader*2.[5-9]* ) : ;; + "" ) + echo "*** AUTOHEADER NOT FOUND!." + echo "*** KDE requires autoheader 2.52 or 2.53 (part of autoconf)" + exit 1 + ;; + * ) + echo "*** YOU'RE USING $AUTOHEADER_VERSION." + echo "*** KDE requires autoheader 2.52 or 2.53 (part of autoconf)" + exit 1 + ;; +esac + +AUTOMAKE_STRING=`$AUTOMAKE --version | head -n 1` +case $AUTOMAKE_STRING in + automake*1.5d* ) + echo "*** YOU'RE USING $AUTOMAKE_STRING." + echo "*** KDE requires automake 1.6" + exit 1 + ;; + automake*1.[6-9] | automake*1.[6-9].* | automake*1.1[0-9] | automake*1.1[0-9].* ) : ;; + "" ) + echo "*** AUTOMAKE NOT FOUND!." + echo "*** KDE requires automake 1.6" + exit 1 + ;; + unsermake* ) : + echo "*** YOU'RE USING UNSERMAKE." + echo "*** GOOD LUCK!! :)" + ;; + * ) + echo "*** YOU'RE USING $AUTOMAKE_STRING." + echo "*** KDE requires automake 1.6" + exit 1 + ;; +esac +} + +cvs() +{ +check_autotool_versions + +### Produce acinclude.m4 +if grep '\$(top_srcdir)/acinclude.m4:' $makefile_am >/dev/null; then + echo "*** Creating acinclude.m4" + rm -f acinclude.m4 configure.files + + strip_makefile + $MAKE -f $makefile_wo top_srcdir=. ./acinclude.m4 +fi + +### Make new subdirs and configure.in. +### The make calls could be optimized away here, +### with a little thought. +if test -r configure.in.in; then + rm -f subdirs configure.in + echo "*** Creating list of subdirectories" + subdirs + echo "*** Creating configure.in" + configure_files + strip_makefile + $MAKE -f $makefile_wo top_srcdir=. ./configure.in || exit 1 +fi + +echo "*** Creating aclocal.m4" +$ACLOCAL || exit 1 +echo "*** Creating configure" +call_and_fix_autoconf + +if egrep "^AM_CONFIG_HEADER" configure.in >/dev/null 2>&1; then + echo "*** Creating config.h template" + $AUTOHEADER || exit 1 +fi + +echo "*** Creating Makefile templates" +$AUTOMAKE || exit 1 +if test -z "$UNSERMAKE"; then + echo "*** Postprocessing Makefile templates" + perl -w admin/am_edit || exit 1 +fi + +if egrep "^cvs-local:" $makefile_am >/dev/null; then \ + strip_makefile + $MAKE -f $makefile_wo cvs-local top_srcdir=. || exit 1 +fi + +echo "*** Creating date/time stamp" +touch stamp-h.in + +echo "*** Finished" +echo " Don't forget to run ./configure" +echo " If you haven't done so in a while, run ./configure --help" +} + +dist() +{ +check_autotool_versions + +### +### First build all of the files necessary to do just "make" +### +if grep '\$(top_srcdir)/acinclude.m4:' $makefile_am >/dev/null; then + strip_makefile + $MAKE -f $makefile_wo top_srcdir=. ./acinclude.m4 +fi +if test -r configure.in.in; then + subdirs + configure_files + strip_makefile + $MAKE -f $makefile_wo top_srcdir=. ./configure.in +fi +$ACLOCAL +$AUTOHEADER +$AUTOMAKE --foreign --include-deps +perl -w admin/am_edit +call_and_fix_autoconf +touch stamp-h.in +if grep "^cvs-local:" $makefile_am >/dev/null; then + strip_makefile + $MAKE -f $makefile_wo cvs-local top_srcdir=. +fi + +### +### Then make messages +### +if test -d po; then + LIST=`find ./po -name "*.po"` + for i in $LIST; do + file2=`echo $i | sed -e "s#\.po#\.gmo#"` + msgfmt -o $file2 $i || touch $file2 + done +fi +if grep "^cvs-dist-local:" $makefile_am >/dev/null; then + strip_makefile + $MAKE -f $makefile_wo cvs-dist-local top_srcdir=. +fi +} + +subdir_dist() +{ +$ACLOCAL +$AUTOHEADER +$AUTOMAKE --foreign --include-deps +perl -w ../admin/am_edit +call_and_fix_autoconf +touch stamp-h.in +} + +configure_in() +{ +rm -f configure.in configure.in.new +kde_use_qt_param= +test -f configure.files || { echo "need configure.files for configure.in"; exit 1; } +cat `egrep -v "configure.in.bot" < configure.files` > configure.in.new +echo "KDE_CREATE_SUBDIRSLIST" >> configure.in.new +if test -f Makefile.am.in; then + subdirs=`cat subdirs` + for dir in $subdirs; do + dir=`echo $dir | sed -e "s,[-+.],_,g"` + echo "AM_CONDITIONAL($dir""_SUBDIR_included, test \"x\$$dir""_SUBDIR_included\" = xyes)" >> configure.in.new + done +fi +# echo "AC_OUTPUT( \\" >> configure.in.new +mfs=`find . -type d -print | fgrep -v "/." | \ + sed -e "s#\./##" -e "/^debian/d" | sort` +for i in $mfs; do + topleveldir=`echo $i| sed -e "s#/.*##"` + if test -f $topleveldir/configure.in; then + continue + fi + if test -f $i/Makefile.am; then :; else + continue + fi + if test -s inst-apps; then + if grep "\"^$topleveldir\"" inst-apps > /dev/null 2>&1; then + continue + fi + fi + if test "$i" = "."; then + echo "AC_CONFIG_FILES([ Makefile ])" >> configure.in.new + else + echo "AC_CONFIG_FILES([ $i/Makefile ])" >> configure.in.new + fi + if test -n "$UNSERMAKE"; then + if test "$i" = "."; then + echo "AC_CONFIG_FILES([ Makefile.rules ])" >> configure.in.new + else + echo "AC_CONFIG_FILES([ $i/Makefile.rules ])" >> configure.in.new + fi + fi +done + +files=`cat configure.files` +list=`egrep '^dnl AC_OUTPUT\(.*\)' $files | sed -e "s#^.*dnl AC_OUTPUT(\(.*\))#\1#"` +for file in $list; do + echo "AC_CONFIG_FILES([ $file ])" >> configure.in.new +done + +if test -n "$UNSERMAKE"; then + echo "AC_CONFIG_FILES([ MakeVars ])" >> configure.in.new +fi +echo "AC_OUTPUT" >> configure.in.new +modulename= +if test -f configure.in.in; then + if head -n 2 configure.in.in | egrep "^#MIN_CONFIG\(.*\)$" > /dev/null; then + kde_use_qt_param=`cat configure.in.in | sed -n -e "s/#MIN_CONFIG(\(.*\))/\1/p"` + fi + if head -n 2 configure.in.in | egrep "^#MIN_CONFIG" > /dev/null; then + line=`grep "^AM_INIT_AUTOMAKE(" configure.in.in` + if test -n "$line"; then + modulename=`echo $line | sed -e "s#AM_INIT_AUTOMAKE(\([^,]*\),.*#\1#"` + VERSION=`echo $line | sed -e "s#AM_INIT_AUTOMAKE([^,]*, *\([^)]*\)).*#\1#"` + fi + sed -e "s#AM_INIT_AUTOMAKE([^@].*#dnl PACKAGE set before#" \ + configure.in.new > configure.in && mv configure.in configure.in.new + fi +fi +if test -z "$VERSION" || test "$VERSION" = "@VERSION@"; then + VERSION="\"3.1.3\"" +fi +if test -z "$modulename" || test "$modulename" = "@MODULENAME@"; then + modulename=`pwd`; + modulename=`basename $modulename` + esc_VERSION=`echo $VERSION | sed -e "s#[^.0-9a-zA-Z]##g"` + modulename=`echo $modulename | sed -e "s#-$esc_VERSION##"` + +fi +if test -n "$kde_use_qt_param"; then + sed -e "s#^dnl KDE_USE_QT#KDE_USE_QT($kde_use_qt_param)#" \ + configure.in.new > configure.in && mv configure.in configure.in.new +fi +sed -e "s#@MODULENAME@#$modulename#" configure.in.new | + sed -e "s#@VERSION@#$VERSION#" > configure.in +botfiles=`cat configure.files | egrep "configure.in.bot"` +test -n "$botfiles" && cat $botfiles >> configure.in +cat $admindir/configure.in.bot.end >> configure.in +rm -f configure.in.new +} + +configure_files() +{ +admindir=NO +for i in . .. ../.. ../../..; do + if test -x $i/admin; then admindir=$i/admin; break; fi +done +rm -f configure.files +touch configure.files +if test -f configure.in.in && head -n 2 configure.in.in | grep "^#MIN_CONFIG" > /dev/null; then + echo $admindir/configure.in.min >> configure.files +fi +test -f configure.in.in && echo configure.in.in >> configure.files +list=`find . -name "configure.in.in" -o -name "configure.in.bot" | \ + sed -e "s,/configure,/aaaconfigure," | sort | sed -e "s,/aaaconfigure,/configure,"` +for i in $list; do if test -f $i && test `dirname $i` != "." ; then + echo $i >> configure.files +fi; done +test -f configure.in.mid && echo configure.in.mid >> configure.files +test -f configure.in.bot && echo configure.in.bot >> configure.files +} + +subdirs() +{ +dirs= +compilefirst=`sed -ne 's#^COMPILE_FIRST[ ]*=[ ]*##p' $makefile_am | head -n 1` +compilelast=`sed -ne 's#^COMPILE_LAST[ ]*=[ ]*##p' $makefile_am | head -n 1` +for i in `ls -1`; do + if test -f $i/Makefile.am; then + case " $compilefirst $compilelast " in + *" $i "*) ;; + *) dirs="$dirs $i" + esac + fi +done + +: > ./_SUBDIRS + +for d in $compilefirst; do + echo $d >> ./_SUBDIRS +done + +(for d in $dirs; do + list=`sed -ne "s#^COMPILE_BEFORE_$d""[ ]*=[ ]*##p" $makefile_am | head -n 1` + for s in $list; do + echo $s $d + done + list=`sed -ne "s#^COMPILE_AFTER_$d""[ ]*=[ ]*##p" $makefile_am | head -n 1` + for s in $list; do + echo $d $s + done + echo $d $d +done ) | tsort >> ./_SUBDIRS + +for d in $compilelast; do + echo $d >> ./_SUBDIRS +done + +if test -f Makefile.am.in; then + cp Makefile.am.in Makefile.am + if test -n "$UNSERMAKE"; then + topsubdirs= + for i in $compilefirst $dirs $compilelast; do + vari=`echo $i | sed -e "s,[-+],_,g"` + echo "if $vari""_SUBDIR_included" >> Makefile.am + echo "$vari""_SUBDIR=$i" >> Makefile.am + echo "endif" >> Makefile.am + topsubdirs="$topsubdirs \$($vari""_SUBDIR)" + done + echo "SUBDIRS=$topsubdirs" >> Makefile.am + else + echo "SUBDIRS="'$(TOPSUBDIRS)' >> Makefile.am + fi +fi +if test -r subdirs && diff subdirs _SUBDIRS > /dev/null; then + rm -f _SUBDIRS +fi +test -r _SUBDIRS && mv _SUBDIRS subdirs || true +} + +cvs_clean() +{ +if test -d CVS; then :; else + echo "You don't have a toplevel CVS directory." + echo "You most certainly didn't use cvs to get these sources." + echo "But this function depends on cvs's information." + exit 1 +fi +perl $admindir/cvs-clean.pl +} + +package_merge() +{ +catalogs=$POFILES +for cat in $catalogs; do + msgmerge -o $cat.new $cat $PACKAGE.pot + if test -s $cat.new; then + grep -v "\"POT-Creation" $cat.new > $cat.new.2 + grep -v "\"POT-Creation" $cat >> $cat.new.1 + if diff $cat.new.1 $cat.new.2; then + rm $cat.new + else + mv $cat.new $cat + fi + rm -f $cat.new.1 $cat.new.2 + fi +done +} + +package_messages() +{ +rm -rf po.backup +mkdir po.backup + +for i in `ls -1 po/*.pot 2>/dev/null | sed -e "s#po/##"`; do + egrep -v '^#([^:]|$)' po/$i | egrep '^.*[^ ]+.*$' | grep -v "\"POT-Creation" > po.backup/$i + cp po/$i po.backup/backup_$i + touch -r po/$i po.backup/backup_$i + rm po/$i +done + +podir=${podir:-$PWD/po} +files=`find . -name Makefile.am | xargs egrep -l '^messages:' ` +dirs=`for i in $files; do echo \`dirname $i\`; done` +tmpname="$PWD/messages.log" +if test -z "$EXTRACTRC"; then EXTRACTRC=extractrc ; fi +if test -z "$PREPARETIPS"; then PREPARETIPS=preparetips ; fi +export EXTRACTRC PREPARETIPS + +for subdir in $dirs; do + test -z "$VERBOSE" || echo "Making messages in $subdir" + (cd $subdir + if test -n "`grep -e '^messages:.*rc.cpp' Makefile.am`"; then + $EXTRACTRC *.rc *.ui > rc.cpp + else + candidates=`ls -1 *.rc *.ui 2>/dev/null` + if test -n "$candidates"; then + echo "$subdir has *.rc or *.ui files, but not correct messages line" + fi + fi + if test -n "`grep -r KAboutData *.c* *.C* 2>/dev/null`"; then + echo -e 'i18n("_: NAME OF TRANSLATORS\\n"\n"Your names")\ni18n("_: EMAIL OF TRANSLATORS\\n"\n"Your emails")' > _translatorinfo.cpp + else echo " " > _translatorinfo.cpp + fi + perl -e '$mes=0; while () { next if (/^(if|else|endif)\s/); if (/^messages:/) { $mes=1; print $_; next; } if ($mes) { if (/$\\(XGETTEXT\)/ && / -o/) { s/ -o \$\(podir\)/ _translatorinfo.cpp -o \$\(podir\)/ } print $_; } else { print $_; } }' < Makefile.am | egrep -v '^include ' > _transMakefile + + $MAKE -s -f _transMakefile podir=$podir EXTRACTRC="$EXTRACTRC" PREPARETIPS="$PREPARETIPS" \ + XGETTEXT="${XGETTEXT:-xgettext} -C -ki18n -ktr2i18n -kI18N_NOOP -ktranslate -kaliasLocale -x ${includedir:-$KDEDIR/include}/kde.pot" \ + messages + ) 2>&1 | grep -v '^make\[1\]' > $tmpname + test -s $tmpname && { echo $subdir ; cat "$tmpname"; } + test -f $subdir/rc.cpp && rm -f $subdir/rc.cpp + rm -f $subdir/_translatorinfo.cpp + rm -f $subdir/_transMakefile +done +rm -f $tmpname +for i in `ls -1 po.backup/*.pot 2>/dev/null | sed -e "s#po.backup/##" | egrep -v '^backup_'`; do + test -f po/$i || echo "disappeared: $i" +done +for i in `ls -1 po/*.pot 2>/dev/null | sed -e "s#po/##"`; do + msgmerge -q -o po/$i po/$i po/$i + egrep -v '^#([^:]|$)' po/$i | egrep '^.*[^ ]+.*$' | grep -v "\"POT-Creation" > temp.pot + if test -f po.backup/$i && test -n "`diff temp.pot po.backup/$i`"; then + echo "will update $i" + msgmerge -q po.backup/backup_$i po/$i > temp.pot + mv temp.pot po/$i + else + if test -f po.backup/backup_$i; then + test -z "$VERBOSE" || echo "I'm restoring $i" + mv po.backup/backup_$i po/$i + rm po.backup/$i + else + echo "will add $i" + fi + fi +done +rm -f temp.pot +rm -rf po.backup +} + +admindir=`echo "$0" | sed 's%[\\/][^\\/][^\\/]*$%%'` +test "x$admindir" = "x$0" && admindir=. + +test "x$MAKE" = x && MAKE=make +makefile_am=Makefile.am +makefile_wo=Makefile.am +if test -f Makefile.am.in; then + makefile_am=Makefile.am.in + makefile_wo=Makefile.am.in.wo +fi + +# Sucking AUTOCONF detection code - commented out +#. $admindir/detect-autoconf.sh +AUTOCONF="autoconf" +AUTOHEADER="autoheader" +AUTOM4TE="autom4te" +AUTOMAKE="automake" +ACLOCAL="aclocal -I m4" + +### +### Main +### + +arg=`echo $1 | tr '\-.' __` +case $arg in + cvs | dist | subdir_dist | configure_in | configure_files | subdirs | \ + cvs_clean | package_merge | package_messages ) $arg ;; + * ) echo "Usage: cvs.sh " + echo "Target can be one of:" + echo " cvs cvs-clean dist" + echo " configure.in configure.files" + echo " package-merge package-messages" + echo "" + echo "Usage: anything but $1" + exit 1 ;; +esac + +if test -f Makefile.am.in.wo; then + rm Makefile.am.in.wo +fi + +exit 0 diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/debianrules b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/debianrules new file mode 100644 index 0000000000000000000000000000000000000000..bdf347dc40929c150e070081b9d62a6738e68ab9 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/debianrules @@ -0,0 +1,114 @@ +#!/usr/bin/perl -w + +use Shell qw(mv cp mkdir rm) ; +use File::Find; +use Cwd; + +$origPwd = `pwd`; +chomp $origPwd; + +$kde_confdir = "/etc/kde3"; +$kde_prefix = "/usr"; +$kde_bindir = "$kde_prefix/bin"; +$kde_includedir = "$kde_prefix/include/kde"; +$kde_libdir = "$kde_prefix/lib"; +$kde_cgidir = "$kde_prefix/lib/cgi-bin"; +$kde_moduledir = "$kde_prefix/lib/kde3"; +$kde_appsdir = "$kde_prefix/share/applnk"; +$kde_datadir = "$kde_prefix/share/apps"; +$kde_htmldir = "$kde_prefix/share/doc/kde/HTML"; +$kde_icondir = "$kde_prefix/share/icons"; +$kde_locale = "$kde_prefix/share/locale"; +$kde_mimedir = "$kde_prefix/share/mimelnk"; +$kde_servicesdir = "$kde_prefix/share/services"; +$kde_servicetypesdir = "$kde_prefix/share/servicetypes"; +$kde_sounddir = "$kde_prefix/share/sounds"; +$kde_templatesdir = "$kde_prefix/share/templates"; +$kde_wallpaperdir = "$kde_prefix/share/wallpapers"; + +$mandir = "$kde_prefix/share/man"; +$infodir = "$kde_prefix/share/info"; +$sysconfdir = "/etc"; + +$QTDIR = "/usr/share/qt3"; +$IDL = "$kde_bindir/cuteidl"; +$DCOPIDL = "$kde_bindir/dcopidl"; +$DCOPIDL2CPP = "$kde_bindir/dcopidl2cpp"; +$KDB2HTML = "$kde_bindir/kdb2html"; +$MCOPIDL = "$kde_bindir/mcopidl"; +$ARTSCCONFIG = "$kde_bindir/artsc-config"; + +if (defined $ENV{DEB_BUILD_OPTIONS} && + $ENV{DEB_BUILD_OPTIONS} =~ /\bdebug\b/) { + $enable_debug="--enable-debug"; + $enable_final=""; +} +else { + $enable_debug="--disable-debug"; + $enable_final="--enable-final"; +} + +if (@ARGV && $ARGV[0] eq 'echodirs') { + print STDOUT "export kde_confdir=$kde_confdir\n"; + print STDOUT "export kde_prefix=$kde_prefix\n"; + print STDOUT "export kde_bindir=$kde_bindir\n"; + print STDOUT "export kde_includedir=$kde_includedir\n"; + print STDOUT "export kde_libdir=$kde_libdir\n"; + print STDOUT "export kde_cgidir=$kde_cgidir\n"; + print STDOUT "export kde_moduledir=$kde_moduledir\n"; + print STDOUT "export kde_appsdir=$kde_appsdir\n"; + print STDOUT "export kde_datadir=$kde_datadir\n"; + print STDOUT "export kde_htmldir=$kde_htmldir\n"; + print STDOUT "export kde_icondir=$kde_icondir\n"; + print STDOUT "export kde_locale=$kde_locale\n"; + print STDOUT "export kde_mimedir=$kde_mimedir\n"; + print STDOUT "export kde_servicesdir=$kde_servicesdir\n"; + print STDOUT "export kde_servicetypesdir=$kde_servicetypesdir\n"; + print STDOUT "export kde_sounddir=$kde_sounddir\n"; + print STDOUT "export kde_templatesdir=$kde_templatesdir\n"; + print STDOUT "export kde_wallpaperdir=$kde_wallpaperdir\n"; + + print STDOUT "export mandir=$mandir\n"; + print STDOUT "export infodir=$infodir\n"; + print STDOUT "export sysconfdir=$sysconfdir\n"; + + print STDOUT "export QTDIR=$QTDIR\n"; + print STDOUT "export IDL=$IDL\n"; + print STDOUT "export DCOPIDL=$DCOPIDL\n"; + print STDOUT "export DCOPIDL2CPP=$DCOPIDL2CPP\n"; + print STDOUT "export KDB2HTML=$KDB2HTML\n"; + print STDOUT "export MCOPIDL=$MCOPIDL\n"; + print STDOUT "export ARTSCCONFIG=$ARTSCCONFIG\n"; + print STDOUT "export INSTALL_DATA=install -p -c -m 644\n"; + + print STDOUT "configkde=$enable_debug $enable_final --disable-rpath --prefix=\$(kde_prefix) --libexecdir=\$(kde_bindir) --sysconfdir=\$(sysconfdir) --libdir=\$(kde_libdir) --includedir=\$(kde_includedir) --with-qt-includes=/usr/include/qt3 --mandir=\$(mandir) --infodir=\$(infodir) --with-xinerama\n"; + print STDOUT "configkdevelop=$enable_debug $enable_final --disable-rpath --enable-docbase --enable-kdoc2 --libdir=\$(kde_libdir) --includedir=\$(kde_includedir) --with-qt-includes=/usr/include/qt3 --mandir=\$(mandir) --with-kdelibsdoc-dir=/usr/share/doc/kdelibs3-doc/html --with-xinerama\n"; + print STDOUT "configkdepim=$enable_debug $enable_final --disable-rpath --with-extra-includes=/usr/include/libpisock --enable-shared --prefix=\$(kde_prefix) --libexecdir=\$(kde_bindir) --with-qt-includes=/usr/include/qt3 --mandir=\$(mandir) --infodir=\$(infodir) --with-xinerama\n"; + + exit +} + +if (@ARGV && $ARGV[0] eq 'echoglobals') { + print STDOUT "[Directories]\n"; + print STDOUT "dir_config=$kde_confdir\n"; + print STDOUT "dir_tmp=/tmp\n"; + print STDOUT "dir_socket=/tmp\n"; + print STDOUT "dir_exe=$kde_bindir\n"; + print STDOUT "dir_lib=$kde_libdir\n"; + print STDOUT "dir_cgi=$kde_cgidir\n"; + print STDOUT "dir_module=$kde_moduledir\n"; + print STDOUT "dir_apps=$kde_appsdir\n"; + print STDOUT "dir_data=$kde_datadir\n"; + print STDOUT "dir_html=$kde_htmldir\n"; + print STDOUT "dir_icon=$kde_icondir\n"; + print STDOUT "dir_locale=$kde_locale\n"; + print STDOUT "dir_mime=$kde_mimedir\n"; + print STDOUT "dir_services=$kde_servicesdir\n"; + print STDOUT "dir_servicetypes=$kde_servicetypesdir\n"; + print STDOUT "dir_sound=$kde_sounddir\n"; + print STDOUT "dir_templates=$kde_templatesdir\n"; + print STDOUT "dir_wallpaper=$kde_wallpaperdir\n"; + print STDOUT "[General]\n"; + print STDOUT "TerminalApplication=x-terminal-emulator\n"; + exit +} diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/depcomp b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/depcomp new file mode 100644 index 0000000000000000000000000000000000000000..a255d18787c5355ff452a72e8ec3dba2db088204 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/depcomp @@ -0,0 +1,411 @@ +#! /bin/sh + +# depcomp - compile a program generating dependencies as side-effects +# Copyright 1999-2000 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 +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# Originally written by Alexandre Oliva . + +if test -z "$depmode" || test -z "$source" || test -z "$object"; then + echo "depcomp: Variables source, object and depmode must be set" 1>&2 + exit 1 +fi +# `libtool' can also be set to `yes' or `no'. + +depfile=${depfile-`echo "$object" | sed 's,\([^/]*\)$,.deps/\1,;s/\.\([^.]*\)$/.P\1/'`} +tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} + +rm -f "$tmpdepfile" + +# Some modes work just like other modes, but use different flags. We +# parameterize here, but still list the modes in the big case below, +# to make depend.m4 easier to write. Note that we *cannot* use a case +# here, because this file can only contain one case statement. +if test "$depmode" = hp; then + # HP compiler uses -M and no extra arg. + gccflag=-M + depmode=gcc +fi + +if test "$depmode" = dashXmstdout; then + # This is just like dashmstdout with a different argument. + dashmflag=-xM + depmode=dashmstdout +fi + +case "$depmode" in +gcc3) +## gcc 3 implements dependency tracking that does exactly what +## we want. Yay! Note: for some reason libtool 1.4 doesn't like +## it if -MD -MP comes after the -MF stuff. Hmm. + "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile" + exit $stat + fi + mv "$tmpdepfile" "$depfile" + ;; + +gcc) +## There are various ways to get dependency output from gcc. Here's +## why we pick this rather obscure method: +## - Don't want to use -MD because we'd like the dependencies to end +## up in a subdir. Having to rename by hand is ugly. +## (We might end up doing this anyway to support other compilers.) +## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like +## -MM, not -M (despite what the docs say). +## - Using -M directly means running the compiler twice (even worse +## than renaming). + if test -z "$gccflag"; then + gccflag=-MD, + fi + "$@" -Wp,"$gccflag$tmpdepfile" + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + echo "$object : \\" > "$depfile" + alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz +## The second -e expression handles DOS-style file names with drive letters. + sed -e 's/^[^:]*: / /' \ + -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" +## This next piece of magic avoids the `deleted header file' problem. +## The problem is that when a header file which appears in a .P file +## is deleted, the dependency causes make to die (because there is +## typically no way to rebuild the header). We avoid this by adding +## dummy dependencies for each header file. Too bad gcc doesn't do +## this for us directly. + tr ' ' ' +' < "$tmpdepfile" | +## Some versions of gcc put a space before the `:'. On the theory +## that the space means something, we add a space to the output as +## well. +## Some versions of the HPUX 10.20 sed can't process this invocation +## correctly. Breaking it into two sed invocations is a workaround. + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +hp) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + +sgi) + if test "$libtool" = yes; then + "$@" "-Wp,-MDupdate,$tmpdepfile" + else + "$@" -MDupdate "$tmpdepfile" + fi + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + + if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files + echo "$object : \\" > "$depfile" + + # Clip off the initial element (the dependent). Don't try to be + # clever and replace this with sed code, as IRIX sed won't handle + # lines with more than a fixed number of characters (4096 in + # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; + # the IRIX cc adds comments like `#:fec' to the end of the + # dependency line. + tr ' ' ' +' < "$tmpdepfile" \ + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ + tr ' +' ' ' >> $depfile + echo >> $depfile + + # The second pass generates a dummy entry for each header file. + tr ' ' ' +' < "$tmpdepfile" \ + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ + >> $depfile + else + # The sourcefile does not contain any dependencies, so just + # store a dummy comment line, to avoid errors with the Makefile + # "include basename.Plo" scheme. + echo "#dummy" > "$depfile" + fi + rm -f "$tmpdepfile" + ;; + +aix) + # The C for AIX Compiler uses -M and outputs the dependencies + # in a .u file. This file always lives in the current directory. + # Also, the AIX compiler puts `$object:' at the start of each line; + # $object doesn't have directory information. + stripped=`echo "$object" | sed -e 's,^.*/,,' -e 's/\(.*\)\..*$/\1/'` + tmpdepfile="$stripped.u" + outname="$stripped.o" + if test "$libtool" = yes; then + "$@" -Wc,-M + else + "$@" -M + fi + + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile" + exit $stat + fi + + if test -f "$tmpdepfile"; then + # Each line is of the form `foo.o: dependent.h'. + # Do two passes, one to just change these to + # `$object: dependent.h' and one to simply `dependent.h:'. + sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile" + sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile" + else + # The sourcefile does not contain any dependencies, so just + # store a dummy comment line, to avoid errors with the Makefile + # "include basename.Plo" scheme. + echo "#dummy" > "$depfile" + fi + rm -f "$tmpdepfile" + ;; + +tru64) + # The Tru64 AIX compiler uses -MD to generate dependencies as a side + # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. + # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put + # dependencies in `foo.d' instead, so we check for that too. + # Subdirectories are respected. + + tmpdepfile1="$object.d" + tmpdepfile2=`echo "$object" | sed -e 's/.o$/.d/'` + if test "$libtool" = yes; then + "$@" -Wc,-MD + else + "$@" -MD + fi + + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile1" "$tmpdepfile2" + exit $stat + fi + + if test -f "$tmpdepfile1"; then + tmpdepfile="$tmpdepfile1" + else + tmpdepfile="$tmpdepfile2" + fi + if test -f "$tmpdepfile"; then + sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" + # That's a space and a tab in the []. + sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" + else + echo "#dummy" > "$depfile" + fi + rm -f "$tmpdepfile" + ;; + +#nosideeffect) + # This comment above is used by automake to tell side-effect + # dependency tracking mechanisms from slower ones. + +dashmstdout) + # Important note: in order to support this mode, a compiler *must* + # always write the proprocessed file to stdout, regardless of -o, + # because we must use -o when running libtool. + test -z "$dashmflag" && dashmflag=-M + ( IFS=" " + case " $* " in + *" --mode=compile "*) # this is libtool, let us make it quiet + for arg + do # cycle over the arguments + case "$arg" in + "--mode=compile") + # insert --quiet before "--mode=compile" + set fnord "$@" --quiet + shift # fnord + ;; + esac + set fnord "$@" "$arg" + shift # fnord + shift # "$arg" + done + ;; + esac + "$@" $dashmflag | sed 's:^[^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile" + ) & + proc=$! + "$@" + stat=$? + wait "$proc" + if test "$stat" != 0; then exit $stat; fi + rm -f "$depfile" + cat < "$tmpdepfile" > "$depfile" + tr ' ' ' +' < "$tmpdepfile" | \ +## Some versions of the HPUX 10.20 sed can't process this invocation +## correctly. Breaking it into two sed invocations is a workaround. + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +dashXmstdout) + # This case only exists to satisfy depend.m4. It is never actually + # run, as this mode is specially recognized in the preamble. + exit 1 + ;; + +makedepend) + # X makedepend + ( + shift + cleared=no + for arg in "$@"; do + case $cleared in no) + set ""; shift + cleared=yes + esac + case "$arg" in + -D*|-I*) + set fnord "$@" "$arg"; shift;; + -*) + ;; + *) + set fnord "$@" "$arg"; shift;; + esac + done + obj_suffix="`echo $object | sed 's/^.*\././'`" + touch "$tmpdepfile" + ${MAKEDEPEND-makedepend} 2>/dev/null -o"$obj_suffix" -f"$tmpdepfile" "$@" + ) & + proc=$! + "$@" + stat=$? + wait "$proc" + if test "$stat" != 0; then exit $stat; fi + rm -f "$depfile" + cat < "$tmpdepfile" > "$depfile" + tail +3 "$tmpdepfile" | tr ' ' ' +' | \ +## Some versions of the HPUX 10.20 sed can't process this invocation +## correctly. Breaking it into two sed invocations is a workaround. + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" "$tmpdepfile".bak + ;; + +cpp) + # Important note: in order to support this mode, a compiler *must* + # always write the proprocessed file to stdout, regardless of -o, + # because we must use -o when running libtool. + ( IFS=" " + case " $* " in + *" --mode=compile "*) + for arg + do # cycle over the arguments + case $arg in + "--mode=compile") + # insert --quiet before "--mode=compile" + set fnord "$@" --quiet + shift # fnord + ;; + esac + set fnord "$@" "$arg" + shift # fnord + shift # "$arg" + done + ;; + esac + "$@" -E | + sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | + sed '$ s: \\$::' > "$tmpdepfile" + ) & + proc=$! + "$@" + stat=$? + wait "$proc" + if test "$stat" != 0; then exit $stat; fi + rm -f "$depfile" + echo "$object : \\" > "$depfile" + cat < "$tmpdepfile" >> "$depfile" + sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +msvisualcpp) + # Important note: in order to support this mode, a compiler *must* + # always write the proprocessed file to stdout, regardless of -o, + # because we must use -o when running libtool. + ( IFS=" " + case " $* " in + *" --mode=compile "*) + for arg + do # cycle over the arguments + case $arg in + "--mode=compile") + # insert --quiet before "--mode=compile" + set fnord "$@" --quiet + shift # fnord + ;; + esac + set fnord "$@" "$arg" + shift # fnord + shift # "$arg" + done + ;; + esac + "$@" -E | + sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile" + ) & + proc=$! + "$@" + stat=$? + wait "$proc" + if test "$stat" != 0; then exit $stat; fi + rm -f "$depfile" + echo "$object : \\" > "$depfile" + . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile" + echo " " >> "$depfile" + . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +none) + exec "$@" + ;; + +*) + echo "Unknown depmode $depmode" 1>&2 + exit 1 + ;; +esac + +exit 0 diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/detect-autoconf.sh b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/detect-autoconf.sh new file mode 100644 index 0000000000000000000000000000000000000000..56950cabf4299714b59948f5c75279de8a57d8f9 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/detect-autoconf.sh @@ -0,0 +1,81 @@ +#! /bin/sh + +# Global variables... +AUTOCONF="autoconf" +AUTOHEADER="autoheader" +AUTOM4TE="autom4te" +AUTOMAKE="automake" +ACLOCAL="aclocal" + + +# We don't use variable here for remembering the type ... strings. +# local variables are not that portable, but we fear namespace issues with +# our includer. The repeated type calls are not that expensive. +checkAutoconf() +{ + if test -x "`$WHICH autoconf-2.5x`" ; then + AUTOCONF="`$WHICH autoconf-2.5x`" + elif test -x "`$WHICH autoconf-2.54`" ; then + AUTOCONF="`$WHICH autoconf-2.54`" + elif test -x "`$WHICH autoconf-2.53`" ; then + AUTOCONF="`$WHICH autoconf-2.53`" + elif test -x "`$WHICH autoconf-2.53a`" ; then + AUTOCONF="`$WHICH autoconf-2.53a`" + elif test -x "`$WHICH autoconf-2.52`" ; then + AUTOCONF="`$WHICH autoconf-2.52`" + elif test -x "`$WHICH autoconf2.50`" ; then + AUTOCONF="`$WHICH autoconf2.50`" + fi +} + +checkAutoheader() +{ + if test -x "`$WHICH autoheader-2.5x`" ; then + AUTOHEADER="`$WHICH autoheader-2.5x`" + AUTOM4TE="`$WHICH autom4te-2.5x`" + elif test -x "`$WHICH autoheader-2.54`" ; then + AUTOHEADER="`$WHICH autoheader-2.54`" + AUTOM4TE="`$WHICH autom4te-2.54`" + elif test -x "`$WHICH autoheader-2.53`" ; then + AUTOHEADER="`$WHICH autoheader-2.53`" + AUTOM4TE="`$WHICH autom4te-2.53`" + elif test -x "`$WHICH autoheader-2.53a`" ; then + AUTOHEADER="`$WHICH autoheader-2.53a`" + AUTOM4TE="`$WHICH autom4te-2.53a`" + elif test -x "`$WHICH autoheader-2.52`" ; then + AUTOHEADER="`$WHICH autoheader-2.52`" + elif test -x "`$WHICH autoheader2.50`" ; then + AUTOHEADER="`$WHICH autoheader2.50`" + fi +} + +checkAutomakeAclocal () +{ + if test -z "$UNSERMAKE"; then + if test -x "`$WHICH automake-1.6`" ; then + AUTOMAKE="`$WHICH automake-1.6`" + ACLOCAL="`$WHICH aclocal-1.6`" + elif test -x "`$WHICH automake-1.7`" ; then + AUTOMAKE="`$WHICH automake-1.7`" + ACLOCAL="`$WHICH aclocal-1.7`" + fi + else + AUTOMAKE="$UNSERMAKE" + fi +} + +checkWhich () +{ + WHICH="" + for i in "type -p" "which" "type" ; do + T=`$i sh 2> /dev/null` + test -x "$T" && WHICH="$i" && break + done +} + +checkWhich +checkAutoconf +checkAutoheader +checkAutomakeAclocal + +export WHICH AUTOHEADER AUTOCONF AUTOM4TE AUTOMAKE ACLOCAL diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/install-sh b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/install-sh new file mode 100644 index 0000000000000000000000000000000000000000..11870f1b0192aa3f321bc3a82552d27f0aa2352d --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/install-sh @@ -0,0 +1,251 @@ +#!/bin/sh +# +# install - install a program, script, or datafile +# This comes from X11R5 (mit/util/scripts/install.sh). +# +# Copyright 1991 by the Massachusetts Institute of Technology +# +# Permission to use, copy, modify, distribute, and sell this software and its +# documentation for any purpose is hereby granted without fee, provided that +# the above copyright notice appear in all copies and that both that +# copyright notice and this permission notice appear in supporting +# documentation, and that the name of M.I.T. not be used in advertising or +# publicity pertaining to distribution of the software without specific, +# written prior permission. M.I.T. makes no representations about the +# suitability of this software for any purpose. It is provided "as is" +# without express or implied warranty. +# +# Calling this script install-sh is preferred over install.sh, to prevent +# `make' implicit rules from creating a file called install from it +# when there is no Makefile. +# +# This script is compatible with the BSD install script, but was written +# from scratch. It can only install one file at a time, a restriction +# shared with many OS's install programs. + + +# set DOITPROG to echo to test this script + +# Don't use :- since 4.3BSD and earlier shells don't like it. +doit="${DOITPROG-}" + + +# put in absolute paths if you don't have them in your path; or use env. vars. + +mvprog="${MVPROG-mv}" +cpprog="${CPPROG-cp}" +chmodprog="${CHMODPROG-chmod}" +chownprog="${CHOWNPROG-chown}" +chgrpprog="${CHGRPPROG-chgrp}" +stripprog="${STRIPPROG-strip}" +rmprog="${RMPROG-rm}" +mkdirprog="${MKDIRPROG-mkdir}" + +transformbasename="" +transform_arg="" +instcmd="$mvprog" +chmodcmd="$chmodprog 0755" +chowncmd="" +chgrpcmd="" +stripcmd="" +rmcmd="$rmprog -f" +mvcmd="$mvprog" +src="" +dst="" +dir_arg="" + +while [ x"$1" != x ]; do + case $1 in + -c) instcmd="$cpprog" + shift + continue;; + + -d) dir_arg=true + shift + continue;; + + -m) chmodcmd="$chmodprog $2" + shift + shift + continue;; + + -o) chowncmd="$chownprog $2" + shift + shift + continue;; + + -g) chgrpcmd="$chgrpprog $2" + shift + shift + continue;; + + -s) stripcmd="$stripprog" + shift + continue;; + + -t=*) transformarg=`echo $1 | sed 's/-t=//'` + shift + continue;; + + -b=*) transformbasename=`echo $1 | sed 's/-b=//'` + shift + continue;; + + *) if [ x"$src" = x ] + then + src=$1 + else + # this colon is to work around a 386BSD /bin/sh bug + : + dst=$1 + fi + shift + continue;; + esac +done + +if [ x"$src" = x ] +then + echo "install: no input file specified" + exit 1 +else + : +fi + +if [ x"$dir_arg" != x ]; then + dst=$src + src="" + + if [ -d $dst ]; then + instcmd=: + chmodcmd="" + else + instcmd=$mkdirprog + fi +else + +# Waiting for this to be detected by the "$instcmd $src $dsttmp" command +# might cause directories to be created, which would be especially bad +# if $src (and thus $dsttmp) contains '*'. + + if [ -f "$src" ] || [ -d "$src" ] + then + : + else + echo "install: $src does not exist" + exit 1 + fi + + if [ x"$dst" = x ] + then + echo "install: no destination specified" + exit 1 + else + : + fi + +# If destination is a directory, append the input filename; if your system +# does not like double slashes in filenames, you may need to add some logic + + if [ -d $dst ] + then + dst="$dst"/`basename $src` + else + : + fi +fi + +## this sed command emulates the dirname command +dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` + +# Make sure that the destination directory exists. +# this part is taken from Noah Friedman's mkinstalldirs script + +# Skip lots of stat calls in the usual case. +if [ ! -d "$dstdir" ]; then +defaultIFS=' + ' +IFS="${IFS-${defaultIFS}}" + +oIFS="${IFS}" +# Some sh's can't handle IFS=/ for some reason. +IFS='%' +set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'` +IFS="${oIFS}" + +pathcomp='' + +while [ $# -ne 0 ] ; do + pathcomp="${pathcomp}${1}" + shift + + if [ ! -d "${pathcomp}" ] ; + then + $mkdirprog "${pathcomp}" + else + : + fi + + pathcomp="${pathcomp}/" +done +fi + +if [ x"$dir_arg" != x ] +then + $doit $instcmd $dst && + + if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else : ; fi && + if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else : ; fi && + if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else : ; fi && + if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else : ; fi +else + +# If we're going to rename the final executable, determine the name now. + + if [ x"$transformarg" = x ] + then + dstfile=`basename $dst` + else + dstfile=`basename $dst $transformbasename | + sed $transformarg`$transformbasename + fi + +# don't allow the sed command to completely eliminate the filename + + if [ x"$dstfile" = x ] + then + dstfile=`basename $dst` + else + : + fi + +# Make a temp file name in the proper directory. + + dsttmp=$dstdir/#inst.$$# + +# Move or copy the file name to the temp name + + $doit $instcmd $src $dsttmp && + + trap "rm -f ${dsttmp}" 0 && + +# and set any options; do chmod last to preserve setuid bits + +# If any of these fail, we abort the whole thing. If we want to +# ignore errors from any of these, just make sure not to ignore +# errors from the above "$doit $instcmd $src $dsttmp" command. + + if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else :;fi && + if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else :;fi && + if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else :;fi && + if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else :;fi && + +# Now rename the file to the real destination. + + $doit $rmcmd -f $dstdir/$dstfile && + $doit $mvcmd $dsttmp $dstdir/$dstfile + +fi && + + +exit 0 diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/libtool.m4.in b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/libtool.m4.in new file mode 100644 index 0000000000000000000000000000000000000000..30f44ead0c63bfb809e073f3f4ca55a3bc4f6c83 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/libtool.m4.in @@ -0,0 +1,5401 @@ +# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- +## Copyright 1996-2001 Free Software Foundation, Inc. +## Originally by Gordon Matzigkeit , 1996 +## +## 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 +## the Free Software Foundation; either version 2 of the License, or +## (at your option) any later version. +## +## This program is distributed in the hope that it will be useful, but +## WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +## General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program; if not, write to the Free Software +## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +## +## As a special exception to the GNU General Public License, if you +## distribute this file as part of a program that contains a +## configuration script generated by Autoconf, you may include it under +## the same distribution terms that you use for the rest of that program. + +# serial 47 AC_PROG_LIBTOOL + +# AC_PROG_LIBTOOL +# --------------- +AC_DEFUN([AC_PROG_LIBTOOL], +[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl +dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX +dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX. + AC_PROVIDE_IFELSE([AC_PROG_CXX], + [AC_LIBTOOL_CXX], + [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX + ])]) + +dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly. +dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run +dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both. + AC_PROVIDE_IFELSE([AC_PROG_GCJ], + [AC_LIBTOOL_GCJ], + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], + [AC_LIBTOOL_GCJ], + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ], + [AC_LIBTOOL_GCJ], + [ifdef([AC_PROG_GCJ], + [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])]) + ifdef([A][M_PROG_GCJ], + [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])]) + ifdef([LT_AC_PROG_GCJ], + [define([LT_AC_PROG_GCJ], + defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])]) +])])# AC_PROG_LIBTOOL + + +# _AC_PROG_LIBTOOL +# ---------------- +AC_DEFUN([_AC_PROG_LIBTOOL], +[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl +AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl +AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl + +# This can be used to rebuild libtool when needed +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" + +# Always use our own libtool. +LIBTOOL='$(SHELL) $(top_builddir)/libtool --silent' +AC_SUBST(LIBTOOL)dnl + +# Prevent multiple expansion +define([AC_PROG_LIBTOOL], []) +])# _AC_PROG_LIBTOOL + + +# AC_LIBTOOL_SETUP +# ---------------- +AC_DEFUN([AC_LIBTOOL_SETUP], +[AC_PREREQ(2.50)dnl +AC_REQUIRE([AC_ENABLE_SHARED])dnl +AC_REQUIRE([AC_ENABLE_STATIC])dnl +AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl +AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_CANONICAL_BUILD])dnl +AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([AC_PROG_LD])dnl +AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl +AC_REQUIRE([AC_PROG_NM])dnl +AC_REQUIRE([LT_AC_PROG_SED])dnl + +AC_REQUIRE([AC_PROG_LN_S])dnl +AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! +AC_REQUIRE([AC_OBJEXT])dnl +AC_REQUIRE([AC_EXEEXT])dnl +dnl + +AC_LIBTOOL_SYS_MAX_CMD_LEN +AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE +AC_LIBTOOL_OBJDIR + +AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl +_LT_AC_PROG_ECHO_BACKSLASH + +case $host_os in +aix3*) + # AIX sometimes has problems with the GCC collect2 program. For some + # reason, if we set the COLLECT_NAMES environment variable, the problems + # vanish in a puff of smoke. + if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES + fi + ;; +esac + +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +Xsed='sed -e s/^X//' +[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'] + +# Same as above, but do not quote variable references. +[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'] + +# Sed substitution to delay expansion of an escaped shell variable in a +# double_quote_subst'ed string. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' + +# Sed substitution to avoid accidental globbing in evaled expressions +no_glob_subst='s/\*/\\\*/g' + +# Constants: +rm="rm -f" + +# Global variables: +default_ofile=libtool +can_build_shared=yes + +# All known linkers require a `.a' archive for static linking (except M$VC, +# which needs '.lib'). +libext=a +ltmain="$ac_aux_dir/ltmain.sh" +ofile="$default_ofile" +with_gnu_ld="$lt_cv_prog_gnu_ld" + +AC_CHECK_TOOL(RANLIB, ranlib, :) +AC_CHECK_TOOL(STRIP, strip, :) + +old_CC="$CC" +old_CFLAGS="$CFLAGS" + +# Set sane defaults for various variables +test -z "$AR" && AR=ar +test -z "$AR_FLAGS" && AR_FLAGS=cru +test -z "$AS" && AS=as +test -z "$CC" && CC=cc +test -z "$LTCC" && LTCC=$CC +test -z "$DLLTOOL" && DLLTOOL=dlltool +test -z "$LD" && LD=ld +test -z "$LN_S" && LN_S="ln -s" +test -z "$MAGIC_CMD" && MAGIC_CMD=file +test -z "$NM" && NM=nm +test -z "$SED" && SED=sed +test -z "$OBJDUMP" && OBJDUMP=objdump +test -z "$RANLIB" && RANLIB=: +test -z "$STRIP" && STRIP=: +test -z "$ac_objext" && ac_objext=o + +# Determine commands to create old-style static archives. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' +old_postinstall_cmds='chmod 644 $oldlib' +old_postuninstall_cmds= + +if test -n "$RANLIB"; then + case $host_os in + openbsd*) + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" + ;; + *) + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" + ;; + esac + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" +fi + +# Only perform the check for file, if the check method requires it +case $deplibs_check_method in +file_magic*) + if test "$file_magic_cmd" = '$MAGIC_CMD'; then + AC_PATH_MAGIC + fi + ;; +esac + +ifdef([AC_PROVIDE_AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) +ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL], +enable_win32_dll=yes, enable_win32_dll=no) + +AC_ARG_ENABLE([libtool-lock], + [AC_HELP_STRING([--disable-libtool-lock], + [avoid locking (might break parallel builds)])]) +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + +AC_ARG_WITH([pic], + [AC_HELP_STRING([--with-pic], + [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], + [pic_mode="$withval"], + [pic_mode=default]) +test -z "$pic_mode" && pic_mode=default + +# Use C for the default configuration in the libtool script +tagname= +AC_LIBTOOL_LANG_C_CONFIG +_LT_AC_TAGCONFIG +])# AC_LIBTOOL_SETUP + + +# _LT_AC_SYS_COMPILER +# ------------------- +AC_DEFUN([_LT_AC_SYS_COMPILER], +[AC_REQUIRE([AC_PROG_CC])dnl + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +set dummy $CC +compiler="[$]2" +])# _LT_AC_SYS_COMPILER + + +# _LT_AC_SYS_LIBPATH_AIX +# ---------------------- +# Links a minimal program and checks the executable +# for the system default hardcoded library path. In most cases, +# this is /usr/lib:/lib, but when the MPI compilers are used +# the location of the communication and MPI libs are included too. +# If we don't find anything, use the default library path according +# to the aix ld manual. +AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], +[AC_LINK_IFELSE(AC_LANG_PROGRAM,[ +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi],[]) +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +])# _LT_AC_SYS_LIBPATH_AIX + + +# _LT_AC_PROG_ECHO_BACKSLASH +# -------------------------- +# Add some code to the start of the generated configure script which +# will find an echo command which doesn't interpret backslashes. +AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], +[ifdef([AC_DIVERSION_NOTICE], + [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], + [AC_DIVERT_PUSH(NOTICE)]) + +# Check that we are running under the correct shell. +SHELL=${CONFIG_SHELL-/bin/sh} + +case X$ECHO in +X*--fallback-echo) + # Remove one level of quotation (which was required for Make). + ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` + ;; +esac + +echo=${ECHO-echo} +if test "X[$]1" = X--no-reexec; then + # Discard the --no-reexec flag, and continue. + shift +elif test "X[$]1" = X--fallback-echo; then + # Avoid inline document here, it may be left over + : +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then + # Yippee, $echo works! + : +else + # Restart under the correct shell. + exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} +fi + +if test "X[$]1" = X--fallback-echo; then + # used as fallback echo + shift + cat </dev/null && + echo_test_string="`eval $cmd`" && + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null + then + break + fi + done +fi + +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + : +else + # The Solaris, AIX, and Digital Unix default echo programs unquote + # backslashes. This makes it impossible to quote backslashes using + # echo "$something" | sed 's/\\/\\\\/g' + # + # So, first we look for a working echo in the user's PATH. + + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for dir in $PATH /usr/ucb; do + IFS="$lt_save_ifs" + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + echo="$dir/echo" + break + fi + done + IFS="$lt_save_ifs" + + if test "X$echo" = Xecho; then + # We didn't find a better echo, so look for alternatives. + if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && + echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + # This shell has a builtin print -r that does the trick. + echo='print -r' + elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && + test "X$CONFIG_SHELL" != X/bin/ksh; then + # If we have ksh, try running configure again with it. + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} + export ORIGINAL_CONFIG_SHELL + CONFIG_SHELL=/bin/ksh + export CONFIG_SHELL + exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} + else + # Try using printf. + echo='printf %s\n' + if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + # Cool, printf works + : + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && + test "X$echo_testing_string" = 'X\t' && + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL + export CONFIG_SHELL + SHELL="$CONFIG_SHELL" + export SHELL + echo="$CONFIG_SHELL [$]0 --fallback-echo" + elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && + test "X$echo_testing_string" = 'X\t' && + echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + echo="$CONFIG_SHELL [$]0 --fallback-echo" + else + # maybe with a smaller string... + prev=: + + for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do + if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null + then + break + fi + prev="$cmd" + done + + if test "$prev" != 'sed 50q "[$]0"'; then + echo_test_string=`eval $prev` + export echo_test_string + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} + else + # Oops. We lost completely, so just stick with echo. + echo=echo + fi + fi + fi + fi +fi +fi + +# Copy echo and quote the copy suitably for passing to libtool from +# the Makefile, instead of quoting the original, which is used later. +ECHO=$echo +if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then + ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" +fi + +AC_SUBST(ECHO) +AC_DIVERT_POP +])# _LT_AC_PROG_ECHO_BACKSLASH + + +# _LT_AC_LOCK +# ----------- +AC_DEFUN([_LT_AC_LOCK], +[AC_ARG_ENABLE([libtool-lock], + [AC_HELP_STRING([--disable-libtool-lock], + [avoid locking (might break parallel builds)])]) +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + +# Some flags need to be propagated to the compiler or linker for good +# libtool support. +case $host in +ia64-*-hpux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.$ac_objext` in + *ELF-32*) + HPUX_IA64_MODE="32" + ;; + *ELF-64*) + HPUX_IA64_MODE="64" + ;; + esac + fi + rm -rf conftest* + ;; +*-*-irix6*) + # Find out which ABI we are using. + echo '[#]line __oline__ "configure"' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -32" + ;; + *N32*) + LD="${LD-ld} -n32" + ;; + *64-bit*) + LD="${LD-ld} -64" + ;; + esac + fi + rm -rf conftest* + ;; + +*-*-linux*) + # Test if the compiler is 64bit + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.$ac_objext` in + *"ELF 32"*) + LINUX_64_MODE="32" + ;; + *"ELF 64"*) + LINUX_64_MODE="64" + ;; + esac + fi + rm -rf conftest* + ;; + +*-*-sco3.2v5*) + # On SCO OpenServer 5, we need -belf to get full-featured binaries. + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -belf" + AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, + [AC_LANG_PUSH(C) + AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) + AC_LANG_POP]) + if test x"$lt_cv_cc_needs_belf" != x"yes"; then + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf + CFLAGS="$SAVE_CFLAGS" + fi + ;; +ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL], +[*-*-cygwin* | *-*-mingw* | *-*-pw32*) + AC_CHECK_TOOL(DLLTOOL, dlltool, false) + AC_CHECK_TOOL(AS, as, false) + AC_CHECK_TOOL(OBJDUMP, objdump, false) + + # recent cygwin and mingw systems supply a stub DllMain which the user + # can override, but on older systems we have to supply one + AC_CACHE_CHECK([if libtool should supply DllMain function], lt_cv_need_dllmain, + [AC_TRY_LINK([], + [extern int __attribute__((__stdcall__)) DllMain(void*, int, void*); + DllMain (0, 0, 0);], + [lt_cv_need_dllmain=no],[lt_cv_need_dllmain=yes])]) + + case $host/$CC in + *-*-cygwin*/gcc*-mno-cygwin*|*-*-mingw*) + # old mingw systems require "-dll" to link a DLL, while more recent ones + # require "-mdll" + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -mdll" + AC_CACHE_CHECK([how to link DLLs], lt_cv_cc_dll_switch, + [AC_TRY_LINK([], [], [lt_cv_cc_dll_switch=-mdll],[lt_cv_cc_dll_switch=-dll])]) + CFLAGS="$SAVE_CFLAGS" ;; + *-*-cygwin* | *-*-pw32*) + # cygwin systems need to pass --dll to the linker, and not link + # crt.o which will require a WinMain@16 definition. + lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;; + esac + ;; + ]) +esac + +need_locks="$enable_libtool_lock" + +])# _LT_AC_LOCK + + +# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, +# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) +# ---------------------------------------------------------------- +# Check whether the given compiler option works +AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], +[AC_CACHE_CHECK([$1], [$2], + [$2=no + ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) + save_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS $3" + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + if (eval $ac_compile 2>conftest.err) && test -s $ac_outfile; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&AS_MESSAGE_LOG_FD + else + $2=yes + fi + fi + $rm conftest* + CFLAGS="$save_CFLAGS" +]) + +if test x"[$]$2" = xyes; then + ifelse([$5], , :, [$5]) +else + ifelse([$6], , :, [$6]) +fi +])# AC_LIBTOOL_COMPILER_OPTION + + +# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, +# [ACTION-SUCCESS], [ACTION-FAILURE]) +# ------------------------------------------------------------ +# Check whether the given compiler option works +AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], +[AC_CACHE_CHECK([$1], [$2], + [$2=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $3" + echo "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&AS_MESSAGE_LOG_FD + else + $2=yes + fi + fi + $rm conftest* + LDFLAGS="$save_LDFLAGS" +]) + +if test x"[$]$2" = xyes; then + ifelse([$4], , :, [$4]) +else + ifelse([$5], , :, [$5]) +fi +])# AC_LIBTOOL_LINKER_OPTION + + +# AC_LIBTOOL_SYS_MAX_CMD_LEN +# -------------------------- +AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], +[# find the maximum length of command line arguments +AC_MSG_CHECKING([the maximum length of command line arguments]) +AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl + i=0 + testring="ABCD" + + case $host_os in + msdosdjgpp*) + # On DJGPP, this test can blow up pretty badly due to problems in libc + # (any single argument exceeding 2000 bytes causes a buffer overrun + # during glob expansion). Even if it were fixed, the result of this + # check would be larger than it should be. + lt_cv_sys_max_cmd_len=12288; # 12K is about right + ;; + + gnu*) + # Under GNU Hurd, this test is not required because there is + # no limit to the length of command line arguments. + # Libtool will interpret -1 as no limit whatsoever + lt_cv_sys_max_cmd_len=-1; + ;; + + *) + # If test is not a shell built-in, we'll probably end up computing a + # maximum length that is only half of the actual maximum length, but + # we can't tell. + while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$testring" 2>/dev/null` \ + = "XX$testring") >/dev/null 2>&1 && + new_result=`expr "X$testring" : ".*" 2>&1` && + lt_cv_sys_max_cmd_len=$new_result && + test $i != 17 # 1/2 MB should be enough + do + i=`expr $i + 1` + testring=$testring$testring + done + testring= + # Add a significant safety factor because C++ compilers can tack on massive + # amounts of additional arguments before passing them to the linker. + # It appears as though 1/2 is a usable value. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` + ;; + esac +]) +if test -n $lt_cv_sys_max_cmd_len ; then + AC_MSG_RESULT($lt_cv_sys_max_cmd_len) +else + AC_MSG_RESULT(none) +fi +])# AC_LIBTOOL_SYS_MAX_CMD_LEN + + +# _LT_AC_CHECK_DLFCN +# -------------------- +AC_DEFUN([_LT_AC_CHECK_DLFCN], +[AC_CHECK_HEADERS(dlfcn.h)dnl +])# _LT_AC_CHECK_DLFCN + + +# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, +# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) +# ------------------------------------------------------------------ +AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF], +[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl +if test "$cross_compiling" = yes; then : + [$4] +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +}] +EOF + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) $1 ;; + x$lt_dlneed_uscore) $2 ;; + x$lt_unknown|x*) $3 ;; + esac + else : + # compilation failed + $3 + fi +fi +rm -fr conftest* +])# _LT_AC_TRY_DLOPEN_SELF + + +# AC_LIBTOOL_DLOPEN_SELF +# ------------------- +AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], +[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl +if test "x$enable_dlopen" != xyes; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= + + case $host_os in + beos*) + lt_cv_dlopen="load_add_on" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; + + cygwin* | mingw* | pw32*) + lt_cv_dlopen="LoadLibrary" + lt_cv_dlopen_libs= + ;; + + *) + AC_CHECK_FUNC([shl_load], + [lt_cv_dlopen="shl_load"], + [AC_CHECK_LIB([dld], [shl_load], + [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], + [AC_CHECK_FUNC([dlopen], + [lt_cv_dlopen="dlopen"], + [AC_CHECK_LIB([dl], [dlopen], + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], + [AC_CHECK_LIB([svld], [dlopen], + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], + [AC_CHECK_LIB([dld], [dld_link], + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"]) + ]) + ]) + ]) + ]) + ]) + ;; + esac + + if test "x$lt_cv_dlopen" != xno; then + enable_dlopen=yes + else + enable_dlopen=no + fi + + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS="$CPPFLAGS" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS="$LDFLAGS" + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" + + AC_CACHE_CHECK([whether a program can dlopen itself], + lt_cv_dlopen_self, [dnl + _LT_AC_TRY_DLOPEN_SELF( + lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, + lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) + ]) + + if test "x$lt_cv_dlopen_self" = xyes; then + LDFLAGS="$LDFLAGS $link_static_flag" + AC_CACHE_CHECK([whether a statically linked program can dlopen itself], + lt_cv_dlopen_self_static, [dnl + _LT_AC_TRY_DLOPEN_SELF( + lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, + lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) + ]) + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi +])# AC_LIBTOOL_DLOPEN_SELF + + +# AC_LIBTOOL_PROG_CC_C_O([TAGNAME]) +# --------------------------------- +# Check to see if options -c and -o are simultaneously supported by compiler +AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O], +[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl +AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], + [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)], + [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + ifelse([$1],[],[save_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"], + [$1],[CXX],[save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS="$CXXFLAGS -o out/conftest2.$ac_objext"], + [$1],[GCJ],[save_GCJFLAGS="$GCJFLAGS" + GCJFLAGS="$GCJFLAGS -o out/conftest2.$ac_objext"]) + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + # According to Tom Tromey, Ian Lance Taylor reported there are C compilers + # that will create temporary files in the current directory regardless of + # the output directory. Thus, making CWD read-only will cause this test + # to fail, enabling locking or at least warning the user not to do parallel + # builds. + chmod -w . + + if (eval $ac_compile 2>out/conftest.err) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s out/conftest.err; then + # Append any errors to the config.log. + cat out/conftest.err 1>&AS_MESSAGE_LOG_FD + else + _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes + fi + fi + ifelse([$1],[],[CFLAGS="$save_CFLAGS"], + [$1],[CXX],[CXXFLAGS="$save_CXXFLAGS"], + [$1],[GCJ],[GCJFLAGS="$save_GCJFLAGS"]) + chmod u+w . + $rm conftest* out/* + rmdir out + cd .. + rmdir conftest + $rm conftest* +]) +])# AC_LIBTOOL_PROG_CC_C_O + + +# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME]) +# ----------------------------------------- +# Check to see if we can do hard links to lock some files if needed +AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], +[AC_REQUIRE([_LT_AC_LOCK])dnl + +hard_links="nottested" +if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + AC_MSG_CHECKING([if we can lock with hard links]) + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + AC_MSG_RESULT([$hard_links]) + if test "$hard_links" = no; then + AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe]) + need_locks=warn + fi +else + need_locks=no +fi +])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS + + +# AC_LIBTOOL_OBJDIR +# ----------------- +AC_DEFUN([AC_LIBTOOL_OBJDIR], +[AC_CACHE_CHECK([for objdir], [lt_cv_objdir], +[rm -f .libs 2>/dev/null +mkdir .libs 2>/dev/null +if test -d .libs; then + lt_cv_objdir=.libs +else + # MS-DOS does not allow filenames that begin with a dot. + lt_cv_objdir=_libs +fi +rmdir .libs 2>/dev/null]) +objdir=$lt_cv_objdir +])# AC_LIBTOOL_OBJDIR + + +# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME]) +# ---------------------------------------------- +# Check hardcoding attributes. +AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], +[AC_MSG_CHECKING([how to hardcode library paths into programs]) +_LT_AC_TAGVAR(hardcode_action, $1)= +if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \ + test -n "$_LT_AC_TAGVAR(runpath_var $1)"; then + + # We can hardcode non-existant directories. + if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no && + test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then + # Linking always hardcodes the temporary library directory. + _LT_AC_TAGVAR(hardcode_action, $1)=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + _LT_AC_TAGVAR(hardcode_action, $1)=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + _LT_AC_TAGVAR(hardcode_action, $1)=unsupported +fi +AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)]) + +if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi +])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH + + +# AC_LIBTOOL_SYS_LIB_STRIP +# ------------------------ +AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP], +[striplib= +old_striplib= +AC_MSG_CHECKING([whether stripping libraries is possible]) +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + AC_MSG_RESULT([yes]) +else + AC_MSG_RESULT([no]) +fi +])# AC_LIBTOOL_SYS_LIB_STRIP + + +# AC_LIBTOOL_SYS_DYNAMIC_LINKER +# ----------------------------- +# PORTME Fill in your ld.so characteristics +AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER], +[AC_MSG_CHECKING([dynamic linker characteristics]) +library_names_spec= +libname_spec='lib$name' +soname_spec= +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}.so$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}.so$major' + ;; + +aix4* | aix5*) + version_type=linux + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[[01]] | aix4.[[01]].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}.so$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' + ;; + +beos*) + library_names_spec='${libname}.so' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi4*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' + soname_spec='${libname}${release}.so$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + need_version=no + need_lib_prefix=no + case $GCC,$host_os in + yes,cygwin*) + library_names_spec='$libname.dll.a' + sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll' + postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog .libs/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + ;; + yes,mingw*) + library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://"` + if echo "$sys_lib_search_path_spec" | [egrep ';[C-Z]:/' >/dev/null]; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + yes,pw32*) + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll' + ;; + *) + library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. + library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)' + soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' + soname_spec='${libname}${release}.so$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.[01]* | freebsdelf3.[01]*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so' + soname_spec='${libname}${release}.so$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + if test "$host_cpu" = ia64; then + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' + soname_spec='${libname}${release}.so$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + else + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl' + soname_spec='${libname}${release}.sl$major' + fi + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) version_type=irix ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}.so$major' + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' + soname_spec='${libname}${release}.so$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + libsuff= + if test "x$LINUX_64_MODE" = x64; then + # Some platforms are per default 64-bit, so there's no /lib64 + if test -d /lib64; then + libsuff=64 + fi + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}" + sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so' + soname_spec='${libname}${release}.so$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' + soname_spec='${libname}${release}.so$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[[89]] | openbsd2.[[89]].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + need_lib_prefix=no + library_names_spec='$libname.dll $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}.so' + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +sco3.2v5*) + version_type=osf + soname_spec='${libname}${release}.so$major' + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' + shlibpath_var=LD_LIBRARY_PATH + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' + soname_spec='${libname}${release}.so$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + version_type=linux + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' + soname_spec='${libname}${release}.so$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so' + soname_spec='$libname.so.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' + soname_spec='${libname}${release}.so$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +AC_MSG_RESULT([$dynamic_linker]) +test "$dynamic_linker" = no && can_build_shared=no +])# AC_LIBTOOL_SYS_DYNAMIC_LINKER + + +# _LT_AC_TAGCONFIG +# ---------------- +AC_DEFUN([_LT_AC_TAGCONFIG], +[AC_ARG_WITH([tags], + [AC_HELP_STRING([--with-tags=TAGS], + [include additional configurations @<:@CXX,GCJ@:>@])], + [tagnames="$withval"], + [tagnames="CXX,GCJ" + case $host_os in + mingw*|cygwin*) tagnames="$tagnames,RC" ;; + esac]) + +if test -f "$ltmain" && test -n "$tagnames"; then + if test ! -f "${ofile}"; then + AC_MSG_WARN([output file `$ofile' does not exist]) + fi + + if test -z "$LTCC"; then + eval "`$SHELL ${ofile} --config | grep '^LTCC='`" + if test -z "$LTCC"; then + AC_MSG_WARN([output file `$ofile' does not look like a libtool script]) + else + AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile']) + fi + fi + + # Extract list of available tagged configurations in $ofile. + # Note that this assumes the entire list is on one line. + available_tags=`grep "^available_tags=" "${ofile}" | sed -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` + + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for tagname in $tagnames; do + IFS="$lt_save_ifs" + # Check whether tagname contains only valid characters + case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in + "") ;; + *) AC_MSG_ERROR([invalid tag name: $tagname]) + ;; + esac + + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null + then + AC_MSG_ERROR([tag name \"$tagname\" already exists]) + fi + + # Update the list of available tags. + if test -n "$tagname"; then + echo appending configuration tag \"$tagname\" to $ofile + + case $tagname in + CXX) + AC_LIBTOOL_LANG_CXX_CONFIG + ;; + + GCJ) + AC_LIBTOOL_LANG_GCJ_CONFIG + ;; + + RC) + AC_LIBTOOL_LANG_RC_CONFIG + ;; + + *) + AC_MSG_ERROR([Unsupported tag name: $tagname]) + ;; + esac + + # Append the new tag name to the list of available tags. + available_tags="$available_tags $tagname" + fi + done + IFS="$lt_save_ifs" + + # Now substitute the updated list of available tags. + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then + mv "${ofile}T" "$ofile" + chmod +x "$ofile" + else + rm -f "${ofile}T" + AC_MSG_ERROR([unable to update list of available tagged configurations.]) + fi +fi +])# _LT_AC_TAGCONFIG + + +# AC_LIBTOOL_DLOPEN +# ----------------- +# enable checks for dlopen support +AC_DEFUN([AC_LIBTOOL_DLOPEN], + [AC_BEFORE([$0],[AC_LIBTOOL_SETUP]) +])# AC_LIBTOOL_DLOPEN + + +# AC_LIBTOOL_WIN32_DLL +# -------------------- +# declare package support for building win32 dll's +AC_DEFUN([AC_LIBTOOL_WIN32_DLL], +[AC_BEFORE([$0], [AC_LIBTOOL_SETUP]) +])# AC_LIBTOOL_WIN32_DLL + + +# AC_ENABLE_SHARED([DEFAULT]) +# --------------------------- +# implement the --enable-shared flag +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +AC_DEFUN([AC_ENABLE_SHARED], +[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl +AC_ARG_ENABLE([shared], + [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@], + [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_shared=yes ;; + no) enable_shared=no ;; + *) + enable_shared=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_shared=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_shared=]AC_ENABLE_SHARED_DEFAULT) +])# AC_ENABLE_SHARED + + +# AC_DISABLE_SHARED +# ----------------- +#- set the default shared flag to --disable-shared +AC_DEFUN([AC_DISABLE_SHARED], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +AC_ENABLE_SHARED(no) +])# AC_DISABLE_SHARED + + +# AC_ENABLE_STATIC([DEFAULT]) +# --------------------------- +# implement the --enable-static flag +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +AC_DEFUN([AC_ENABLE_STATIC], +[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl +AC_ARG_ENABLE([static], + [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@], + [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_static=yes ;; + no) enable_static=no ;; + *) + enable_static=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_static=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_static=]AC_ENABLE_STATIC_DEFAULT) +])# AC_ENABLE_STATIC + + +# AC_DISABLE_STATIC +# ----------------- +# set the default static flag to --disable-static +AC_DEFUN([AC_DISABLE_STATIC], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +AC_ENABLE_STATIC(no) +])# AC_DISABLE_STATIC + + +# AC_ENABLE_FAST_INSTALL([DEFAULT]) +# --------------------------------- +# implement the --enable-fast-install flag +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +AC_DEFUN([AC_ENABLE_FAST_INSTALL], +[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl +AC_ARG_ENABLE([fast-install], + [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], + [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_fast_install=yes ;; + no) enable_fast_install=no ;; + *) + enable_fast_install=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_fast_install=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT) +])# AC_ENABLE_FAST_INSTALL + + +# AC_DISABLE_FAST_INSTALL +# ----------------------- +# set the default to --disable-fast-install +AC_DEFUN([AC_DISABLE_FAST_INSTALL], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +AC_ENABLE_FAST_INSTALL(no) +])# AC_DISABLE_FAST_INSTALL + + +# AC_LIBTOOL_PICMODE([MODE]) +# -------------------------- +# implement the --with-pic flag +# MODE is either `yes' or `no'. If omitted, it defaults to `both'. +AC_DEFUN([AC_LIBTOOL_PICMODE], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +pic_mode=ifelse($#,1,$1,default) +])# AC_LIBTOOL_PICMODE + + +# AC_PATH_TOOL_PREFIX +# ------------------- +# find a file program which can recognise shared library +AC_DEFUN([AC_PATH_TOOL_PREFIX], +[AC_MSG_CHECKING([for $1]) +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, +[case $MAGIC_CMD in +[[\\/*] | ?:[\\/]*]) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR +dnl $ac_dummy forces splitting on constant user-supplied paths. +dnl POSIX.2 word splitting is done only on the output of word expansions, +dnl not every word. This closes a longstanding sh security hole. + ac_dummy="ifelse([$2], , $PATH, [$2])" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$1; then + lt_cv_path_MAGIC_CMD="$ac_dir/$1" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + egrep "$file_magic_regex" > /dev/null; then + : + else + cat <&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac]) +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + AC_MSG_RESULT($MAGIC_CMD) +else + AC_MSG_RESULT(no) +fi +])# AC_PATH_TOOL_PREFIX + + +# AC_PATH_MAGIC +# ------------- +# find a file program which can recognise a shared library +AC_DEFUN([AC_PATH_MAGIC], +[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) +if test -z "$lt_cv_path_MAGIC_CMD"; then + if test -n "$ac_tool_prefix"; then + AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) + else + MAGIC_CMD=: + fi +fi +])# AC_PATH_MAGIC + + +# AC_PROG_LD +# ---------- +# find the path to the GNU or non-GNU linker +AC_DEFUN([AC_PROG_LD], +[AC_ARG_WITH([gnu-ld], + [AC_HELP_STRING([--with-gnu-ld], + [assume the C compiler uses GNU ld @<:@default=no@:>@])], + [test "$withval" = no || with_gnu_ld=yes], + [with_gnu_ld=no]) +AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_CANONICAL_BUILD])dnl +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + AC_MSG_CHECKING([for ld used by GCC]) + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [[\\/]]* | ?:[[\\/]]*) + re_direlt='/[[^/]][[^/]]*/\.\./' + # Canonicalize the path of ld + ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + AC_MSG_CHECKING([for GNU ld]) +else + AC_MSG_CHECKING([for non-GNU ld]) +fi +AC_CACHE_VAL(lt_cv_path_LD, +[if test -z "$LD"; then + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some GNU ld's only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then + test "$with_gnu_ld" != no && break + else + test "$with_gnu_ld" != yes && break + fi + fi + done + IFS="$lt_save_ifs" +else + lt_cv_path_LD="$LD" # Let the user override the test with a path. +fi]) +LD="$lt_cv_path_LD" +if test -n "$LD"; then + AC_MSG_RESULT($LD) +else + AC_MSG_RESULT(no) +fi +test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) +AC_PROG_LD_GNU +])# AC_PROG_LD + + +# AC_PROG_LD_GNU +# -------------- +AC_DEFUN([AC_PROG_LD_GNU], +[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld, +[# I'd rather use --version here, but apparently some GNU ld's only accept -v. +if $LD -v 2>&1 &5; then + lt_cv_prog_gnu_ld=yes +else + lt_cv_prog_gnu_ld=no +fi]) +with_gnu_ld=$lt_cv_prog_gnu_ld +])# AC_PROG_LD_GNU + + +# AC_PROG_LD_RELOAD_FLAG +# ---------------------- +# find reload flag for linker +# -- PORTME Some linkers may need a different reload flag. +AC_DEFUN([AC_PROG_LD_RELOAD_FLAG], +[AC_CACHE_CHECK([for $LD option to reload object files], + lt_cv_ld_reload_flag, + [lt_cv_ld_reload_flag='-r']) +reload_flag=$lt_cv_ld_reload_flag +case $reload_flag in +"" | " "*) ;; +*) reload_flag=" $reload_flag" ;; +esac +reload_cmds='$LD$reload_flag -o $output$reload_objs' +])# AC_PROG_LD_RELOAD_FLAG + + +# AC_DEPLIBS_CHECK_METHOD +# ----------------------- +# how to check for library dependencies +# -- PORTME fill in with the dynamic library characteristics +AC_DEFUN([AC_DEPLIBS_CHECK_METHOD], +[AC_CACHE_CHECK([how to recognise dependant libraries], +lt_cv_deplibs_check_method, +[lt_cv_file_magic_cmd='$MAGIC_CMD' +lt_cv_file_magic_test_file= +lt_cv_deplibs_check_method='unknown' +# Need to set the preceding variable on all platforms that support +# interlibrary dependencies. +# 'none' -- dependencies not supported. +# `unknown' -- same as none, but documents that we really don't know. +# 'pass_all' -- all dependencies passed with no checks. +# 'test_compile' -- check by making test program. +# 'file_magic [[regex]]' -- check by looking for files in library path +# which responds to the $file_magic_cmd with a given egrep regex. +# If you have `file' or equivalent on your system and you're not sure +# whether `pass_all' will *always* work, you probably want this one. + +case $host_os in +aix4* | aix5*) + lt_cv_deplibs_check_method=pass_all + ;; + +beos*) + lt_cv_deplibs_check_method=pass_all + ;; + +bsdi4*) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)' + lt_cv_file_magic_cmd='/usr/bin/file -L' + lt_cv_file_magic_test_file=/shlib/libc.so + ;; + +cygwin* | mingw* | pw32*) + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' + lt_cv_file_magic_cmd='$OBJDUMP -f' + ;; + +darwin* | rhapsody*) + lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' + lt_cv_file_magic_cmd='/usr/bin/file -L' + case "$host_os" in + rhapsody* | darwin1.[[012]]) + lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System` + ;; + *) # Darwin 1.3 on + lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' + ;; + esac + ;; + +freebsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then + case $host_cpu in + i*86 ) + # Not sure whether the presence of OpenBSD here was a mistake. + # Let's accept both of them until this is cleared up. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + ;; + esac + else + lt_cv_deplibs_check_method=pass_all + fi + ;; + +gnu*) + lt_cv_deplibs_check_method=pass_all + ;; + +hpux10.20* | hpux11*) + lt_cv_file_magic_cmd=/usr/bin/file + if test "$host_cpu" = ia64; then + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so + else + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' + lt_cv_file_magic_test_file=/usr/lib/libc.sl + fi + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + irix5* | nonstopux*) + # this will be overridden with pass_all, but let us keep it just in case + lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" + ;; + *) + case $LD in + *-32|*"-32 ") libmagic=32-bit;; + *-n32|*"-n32 ") libmagic=N32;; + *-64|*"-64 ") libmagic=64-bit;; + *) libmagic=never-match;; + esac + # this will be overridden with pass_all, but let us keep it just in case + lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1" + ;; + esac + lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` + lt_cv_deplibs_check_method=pass_all + ;; + +# This must be Linux ELF. +linux*) + case $host_cpu in + alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh* | x86_64* ) + lt_cv_deplibs_check_method=pass_all ;; + # the debian people say, arm and glibc 2.3.1 works for them with pass_all + arm* ) + lt_cv_deplibs_check_method=pass_all ;; + *) + # glibc up to 2.1.1 does not perform some relocations on ARM + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; + esac + lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` + ;; + +netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then + lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so\.[[0-9]]+\.[[0-9]]+$' + else + lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so$' + fi + ;; + +newos6*) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=/usr/lib/libnls.so + ;; + +nto-qnx) + lt_cv_deplibs_check_method=unknown + ;; + +openbsd*) + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object' + else + lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' + fi + ;; + +osf3* | osf4* | osf5*) + # this will be overridden with pass_all, but let us keep it just in case + lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' + lt_cv_file_magic_test_file=/shlib/libc.so + lt_cv_deplibs_check_method=pass_all + ;; + +sco3.2v5*) + lt_cv_deplibs_check_method=pass_all + ;; + +solaris*) + lt_cv_deplibs_check_method=pass_all + lt_cv_file_magic_test_file=/lib/libc.so + ;; + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + case $host_vendor in + motorola) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` + ;; + ncr) + lt_cv_deplibs_check_method=pass_all + ;; + sequent) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' + ;; + sni) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" + lt_cv_file_magic_test_file=/lib/libc.so + ;; + esac + ;; + +sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*) + lt_cv_deplibs_check_method=pass_all + ;; +esac +]) +file_magic_cmd=$lt_cv_file_magic_cmd +deplibs_check_method=$lt_cv_deplibs_check_method +test -z "$deplibs_check_method" && deplibs_check_method=unknown +])# AC_DEPLIBS_CHECK_METHOD + + +# AC_PROG_NM +# ---------- +# find the path to a BSD-compatible name lister +AC_DEFUN([AC_PROG_NM], +[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM, +[if test -n "$NM"; then + # Let the user override the test. + lt_cv_path_NM="$NM" +else + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + tmp_nm="$ac_dir/${ac_tool_prefix}nm" + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then + # Check to see if the nm accepts a BSD-compat flag. + # Adding the `sed 1q' prevents false positives on HP-UX, which says: + # nm: unknown option "B" ignored + # Tru64's nm complains that /dev/null is an invalid object file + if ("$tmp_nm" -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then + lt_cv_path_NM="$tmp_nm -B" + break + elif ("$tmp_nm" -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then + lt_cv_path_NM="$tmp_nm -p" + break + else + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but + continue # so that we can try to find one that supports BSD flags + fi + fi + done + IFS="$lt_save_ifs" + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm +fi]) +NM="$lt_cv_path_NM" +])# AC_PROG_NM + + +# AC_CHECK_LIBM +# ------------- +# check for math library +AC_DEFUN([AC_CHECK_LIBM], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +LIBM= +case $host in +*-*-beos* | *-*-cygwin* | *-*-pw32*) + # These system don't have libm + ;; +*-ncr-sysv4.3*) + AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") + AC_CHECK_LIB(m, main, LIBM="$LIBM -lm") + ;; +*) + AC_CHECK_LIB(m, main, LIBM="-lm") + ;; +esac +])# AC_CHECK_LIBM + + +# AC_LIBLTDL_CONVENIENCE([DIRECTORY]) +# ----------------------------------- +# sets LIBLTDL to the link flags for the libltdl convenience library and +# LTDLINCL to the include flags for the libltdl header and adds +# --enable-ltdl-convenience to the configure arguments. Note that LIBLTDL +# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If +# DIRECTORY is not provided, it is assumed to be `libltdl'. LIBLTDL will +# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed with +# '${top_srcdir}/' (note the single quotes!). If your package is not +# flat and you're not using automake, define top_builddir and +# top_srcdir appropriately in the Makefiles. +AC_DEFUN([AC_LIBLTDL_CONVENIENCE], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl + case $enable_ltdl_convenience in + no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;; + "") enable_ltdl_convenience=yes + ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; + esac + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) + # For backwards non-gettext consistent compatibility... + INCLTDL="$LTDLINCL" +])# AC_LIBLTDL_CONVENIENCE + + +# AC_LIBLTDL_INSTALLABLE([DIRECTORY]) +# ----------------------------------- +# sets LIBLTDL to the link flags for the libltdl installable library and +# LTDLINCL to the include flags for the libltdl header and adds +# --enable-ltdl-install to the configure arguments. Note that LIBLTDL +# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If +# DIRECTORY is not provided and an installed libltdl is not found, it is +# assumed to be `libltdl'. LIBLTDL will be prefixed with '${top_builddir}/' +# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single +# quotes!). If your package is not flat and you're not using automake, +# define top_builddir and top_srcdir appropriately in the Makefiles. +# In the future, this macro may have to be called after AC_PROG_LIBTOOL. +AC_DEFUN([AC_LIBLTDL_INSTALLABLE], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl + AC_CHECK_LIB(ltdl, main, + [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no], + [if test x"$enable_ltdl_install" = xno; then + AC_MSG_WARN([libltdl not installed, but installation disabled]) + else + enable_ltdl_install=yes + fi + ]) + if test x"$enable_ltdl_install" = x"yes"; then + ac_configure_args="$ac_configure_args --enable-ltdl-install" + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) + else + ac_configure_args="$ac_configure_args --enable-ltdl-install=no" + LIBLTDL="-lltdl" + LTDLINCL= + fi + # For backwards non-gettext consistent compatibility... + INCLTDL="$LTDLINCL" +])# AC_LIBLTDL_INSTALLABLE + + +# If this macro is not defined by Autoconf, define it here. +ifdef([AC_PROVIDE_IFELSE], + [], + [define([AC_PROVIDE_IFELSE], + [ifdef([AC_PROVIDE_$1], + [$2], [$3])])]) + + +# AC_LIBTOOL_CXX +# -------------- +# enable support for C++ libraries +AC_DEFUN([AC_LIBTOOL_CXX], +[AC_REQUIRE([_LT_AC_LANG_CXX]) +])# AC_LIBTOOL_CXX + + +# _LT_AC_LANG_CXX +# --------------- +AC_DEFUN([_LT_AC_LANG_CXX], +[AC_REQUIRE([AC_PROG_CXX]) +AC_REQUIRE([AC_PROG_CXXCPP]) +])# _LT_AC_LANG_CXX + + +# AC_LIBTOOL_GCJ +# -------------- +# enable support for GCJ libraries +AC_DEFUN([AC_LIBTOOL_GCJ], +[AC_REQUIRE([_LT_AC_LANG_GCJ]) +])# AC_LIBTOOL_GCJ + + +# _LT_AC_LANG_GCJ +# --------------- +AC_DEFUN([_LT_AC_LANG_GCJ], +[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[], + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[], + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[], + [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])], + [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])], + [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])]) +])# _LT_AC_LANG_GCJ + + +# AC_LIBTOOL_RC +# -------------- +# enable support for Windows resource files +AC_DEFUN([AC_LIBTOOL_RC], +[AC_REQUIRE([AC_PROG_RC]) +])# AC_LIBTOOL_RC + + +# AC_LIBTOOL_LANG_C_CONFIG +# ------------------------ +# Ensure that the configuration vars for the C compiler are +# suitably defined. Those variables are subsequently used by +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. +AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG]) +AC_DEFUN([_LT_AC_LANG_C_CONFIG], +[lt_save_CC="$CC" +AC_LANG_PUSH(C) + +# Source file extension for C test sources. +ac_ext=c + +# Object file extension for compiled C test sources. +objext=o +_LT_AC_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;" + +# Code to be used in simple link tests +lt_simple_link_test_code='main(){return(0);}' + +_LT_AC_SYS_COMPILER + +# +# Check for any special shared library compilation flags. +# +_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)= +if test "$GCC" = no; then + case $host_os in + sco3.2v5*) + _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf' + ;; + esac +fi +if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then + AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries]) + if echo "$old_CC $old_CFLAGS " | egrep -e "[[ ]]$]_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[[ ]]" >/dev/null; then : + else + AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure]) + _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no + fi +fi + + +# +# Check to make sure the static flag actually works. +# +AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works], + _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1), + $_LT_AC_TAGVAR(lt_prog_compiler_static, $1), + [], + [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=]) + + +## CAVEAT EMPTOR: +## There is no encapsulation within the following macros, do not change +## the running order or otherwise move them around unless you know exactly +## what you are doing... +AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1) +AC_LIBTOOL_PROG_COMPILER_PIC($1) +AC_LIBTOOL_PROG_CC_C_O($1) +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) +AC_LIBTOOL_PROG_LD_SHLIBS($1) +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) +AC_LIBTOOL_SYS_LIB_STRIP +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) +AC_LIBTOOL_DLOPEN_SELF($1) + +# Report which librarie types wil actually be built +AC_MSG_CHECKING([if libtool supports shared libraries]) +AC_MSG_RESULT([$can_build_shared]) + +AC_MSG_CHECKING([whether to build shared libraries]) +test "$can_build_shared" = "no" && enable_shared=no + +# On AIX, shared libraries and static libraries use the same namespace, and +# are all built from PIC. +case "$host_os" in +aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + +aix4*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; +esac +AC_MSG_RESULT([$enable_shared]) + +AC_MSG_CHECKING([whether to build static libraries]) +# Make sure either enable_shared or enable_static is yes. +test "$enable_shared" = yes || enable_static=yes +AC_MSG_RESULT([$enable_static]) + +AC_LIBTOOL_CONFIG($1) + +AC_LANG_POP +CC="$lt_save_CC" +])# AC_LIBTOOL_LANG_C_CONFIG + + +# AC_LIBTOOL_LANG_CXX_CONFIG +# -------------------------- +# Ensure that the configuration vars for the C compiler are +# suitably defined. Those variables are subsequently used by +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. +AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)]) +AC_DEFUN([_LT_AC_LANG_CXX_CONFIG], +[AC_LANG_PUSH(C++) +AC_REQUIRE([AC_PROG_CXX]) +AC_REQUIRE([AC_PROG_CXXCPP]) + +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no +_LT_AC_TAGVAR(allow_undefined_flag, $1)= +_LT_AC_TAGVAR(always_export_symbols, $1)=no +_LT_AC_TAGVAR(archive_expsym_cmds, $1)= +_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= +_LT_AC_TAGVAR(hardcode_direct, $1)=no +_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= +_LT_AC_TAGVAR(hardcode_libdir_separator, $1)= +_LT_AC_TAGVAR(hardcode_minus_L, $1)=no +_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_AC_TAGVAR(no_undefined_flag, $1)= +_LT_AC_TAGVAR(whole_archive_flag_spec, $1)= + +# Dependencies to place before and after the object being linked: +_LT_AC_TAGVAR(predep_objects, $1)= +_LT_AC_TAGVAR(postdep_objects, $1)= +_LT_AC_TAGVAR(predeps, $1)= +_LT_AC_TAGVAR(postdeps, $1)= +_LT_AC_TAGVAR(compiler_lib_search_path, $1)= + +# Source file extension for C test sources. +ac_ext=cc + +# Object file extension for compiled C test sources. +objext=o +_LT_AC_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(int char *[]) { return(0); }' + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. +_LT_AC_SYS_COMPILER + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +CC=${CXX-"c++"} +set dummy $CC +compiler="[$]2" +_LT_AC_TAGVAR(compiler, $1)=$CC +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` + +# We don't want -fno-exception wen compiling C++ code, so set the +# no_builtin_flag separately +if test "$GXX" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' +else + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= +fi + +if test "$GXX" = yes; then + # Set up default GNU C++ configuration + + # Check if GNU C++ uses GNU ld as the underlying linker, since the + # archiving commands below assume that GNU ld is being used. + if eval "`$CC -print-prog-name=ld` --version 2>&1" | \ + egrep 'GNU ld' > /dev/null; then + with_gnu_ld=yes + + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + + # If archive_cmds runs LD, not CC, wlarc should be empty + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to + # investigate it a little bit more. (MM) + wlarc='${wl}' + + # ancient GNU ld didn't support --whole-archive et. al. + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ + egrep 'no-whole-archive' > /dev/null; then + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= + fi + else + with_gnu_ld=no + wlarc= + + # A generic and very simple default shared library creation + # command for GNU C++ for the case where it uses the native + # linker, instead of GNU ld. If possible, this setting should + # overridden to take advantage of the native linker features on + # the platform it is being used on. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + fi + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | egrep "\-L"' + +else + GXX=no + with_gnu_ld=no + wlarc= +fi + +# PORTME: fill in a description of your system's C++ link characteristics +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) +_LT_AC_TAGVAR(ld_shlibs, $1)=yes +case $host_os in + aix3*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # KDE requires run time linking. Make it the default. + aix_use_runtimelinking=yes + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + _LT_AC_TAGVAR(archive_cmds, $1)='' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + + if test "$GXX" = yes; then + case $host_os in aix4.[012]|aix4.[012].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + else + # We have old collect2 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='-qmkshrobj ${wl}-G' + else + shared_flag='-qmkshrobj' + fi + fi + fi + + # Let the compiler handle the export list. + _LT_AC_TAGVAR(always_export_symbols, $1)=no + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + + _LT_AC_TAGVAR(archive_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag" + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + # Exported symbols can be pulled into shared objects from archives + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' ' + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + # This is similar to how AIX traditionally builds it's shared libraries. + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + chorus*) + case $cc_basename in + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + dgux*) + case $cc_basename in + ec++) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + ghcx) + # Green Hills C++ Compiler + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + freebsd[12]*) + # C++ shared libraries reported to be fairly broken before switch to ELF + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + freebsd-elf*) + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + ;; + freebsd*) + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF + # conventions + _LT_AC_TAGVAR(ld_shlibs, $1)=yes + ;; + gnu*) + ;; + hpux*) + if test $with_gnu_ld = no; then + if test "$host_cpu" = ia64; then + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + else + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + fi + fi + if test "$host_cpu" = ia64; then + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + else + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + fi + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + aCC) + case $host_os in + hpux9*) + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + ;; + *) + if test "$host_cpu" = ia64; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + fi + ;; + esac + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + if test $with_gnu_ld = no; then + case $host_os in + hpux9*) + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + ;; + *) + if test "$host_cpu" = ia64; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + fi + ;; + esac + fi + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + irix5* | irix6*) + case $cc_basename in + CC) + # SGI C++ + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + + # Archives containing C++ object files must be created using + # "CC -ar", where "CC" is the IRIX C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' + ;; + *) + if test "$GXX" = yes; then + if test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -o $lib' + fi + fi + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + ;; + esac + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; + linux*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_AC_TAGVAR(archive_cmds, $1)='templib=`echo $lib | sed -e "s/\.so\..*/\.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='templib=`echo $lib | sed -e "s/\.so\..*/\.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest.so 2>&1 | egrep "ld"`; rm -f libconftest.so; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' + ;; + cxx) + # Compaq C++ + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' + + runpath_var=LD_RUN_PATH + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | sed "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + esac + ;; + lynxos*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + m88k*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + mvs*) + case $cc_basename in + cxx) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + netbsd*) + # NetBSD uses g++ - do we need to do anything? + ;; + osf3*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_AC_TAGVAR(archive_cmds, $1)='templib=`echo $lib | sed -e "s/\.so\..*/\.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' + + ;; + RCC) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + cxx) + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | sed "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | egrep "\-L"' + + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + osf4* | osf5*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_AC_TAGVAR(archive_cmds, $1)='templib=`echo $lib | sed -e "s/\.so\..*/\.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Archives containing C++ object files must be created using + # the KAI C++ compiler. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' + ;; + RCC) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + cxx) + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done~ + echo "-hidden">> $lib.exp~ + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~ + $rm $lib.exp' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | sed "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | egrep "\-L"' + + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + psos*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + sco*) + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC) + # Sun C++ 4.x + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + lcc) + # Lucid + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + solaris*) + case $cc_basename in + CC) + # Sun C++ 4.2, 5.x and Centerline C++ + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) + # The C++ compiler is used as linker so we must use $wl + # flag to pass the commands to the underlying system + # linker. + # Supported since Solaris 2.6 (maybe 2.5.1?) + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + ;; + esac + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | egrep "\-R|\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' + ;; + gcx) + # Green Hills C++ Compiler + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + + # The C++ compiler must be used to create the archive. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' + ;; + *) + # GNU C++ compiler with Solaris linker + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' + if $CC --version | egrep -v '^2\.7' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $linker_flags ${wl}-h $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | egrep \"\-L\"" + else + # g++ 2.7 appears to require `-G' NOT `-shared' on this + # platform. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $linker_flags ${wl}-h $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | egrep \"\-L\"" + fi + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' + fi + ;; + esac + ;; + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*) + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + ;; + tandem*) + case $cc_basename in + NCC) + # NonStop-UX NCC 3.20 + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + vxworks*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; +esac +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no + +# Figure out "hidden" C++ library dependencies from verbose +# compiler output whening linking a shared library. +cat > conftest.$ac_ext <> "$cfgfile" +ifelse([$1], [], +[#! $SHELL + +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) +# NOTE: Changes made to this file will be lost: look at ltmain.sh. +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 +# Free Software Foundation, Inc. +# +# This file is part of GNU Libtool: +# Originally by Gordon Matzigkeit , 1996 +# +# 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 +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# Sed that helps us avoid accidentally triggering echo(1) options like -n. +Xsed="sed -e s/^X//" + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi + +# The names of the tagged configurations supported by this script. +available_tags= + +# ### BEGIN LIBTOOL CONFIG], +[# ### BEGIN LIBTOOL TAG CONFIG: $tagname]) + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1) + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_[]_LT_AC_TAGVAR(compiler, $1) + +# Is the compiler the GNU C compiler? +with_gcc=$_LT_AC_TAGVAR(GCC, $1) + +# The linker used to build libraries. +LD=$lt_[]_LT_AC_TAGVAR(LD, $1) + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A sed program that does not truncate output. +SED=$lt_SED + +# A symbol stripping program +STRIP=$STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) + +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1) + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1) + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1) + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1) + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1) +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1) + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) + +# Commands used to build and install a shared archive. +archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1) +archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1) +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1) + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1) + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1) + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1) + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1) + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1) + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1) + +# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1) + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1) + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1) + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1) + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)" + +# Set to yes if exported symbols are required. +always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1) + +# The commands to list exported symbols. +export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1) + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1) + +# Symbols that must always be exported. +include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1) + +ifelse([$1],[], +[# ### END LIBTOOL CONFIG], +[# ### END LIBTOOL TAG CONFIG: $tagname]) + +__EOF__ + +ifelse([$1],[], [ + case $host_os in + aix3*) + cat <<\EOF >> "$cfgfile" + +# AIX sometimes has problems with the GCC collect2 program. For some +# reason, if we set the COLLECT_NAMES environment variable, the problems +# vanish in a puff of smoke. +if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES +fi +EOF + ;; + + cygwin* | mingw* | pw32* | os2*) + cat <<'EOF' >> "$cfgfile" + # This is a source program that is used to create dlls on Windows + # Don't remove nor modify the starting and closing comments + _LT_AC_FILE_LTDLL_C + # This is a source program that is used to create import libraries + # on Windows for dlls which lack them. Don't remove nor modify the + # starting and closing comments + _LT_AC_FILE_IMPGEN_C +EOF + ;; + esac + + # We use sed instead of cat because bash on DJGPP gets confused if + # if finds mixed CR/LF and LF-only lines. Since sed operates in + # text mode, it properly converts lines to CR/LF. This bash problem + # is reportedly fixed, but why not run on old versions too? + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) + + mv -f "$cfgfile" "$ofile" || \ + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") + chmod +x "$ofile" +]) +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + test -f Makefile && make "$ltmain" +fi +])# AC_LIBTOOL_CONFIG + + +# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME]) +# ------------------------------------------- +AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], +[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl + +_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= + +if test "$GCC" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' + + AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], + lt_cv_prog_compiler_rtti_exceptions, + [-fno-rtti -fno-exceptions -c conftest.$ac_ext], [], + [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) +fi +])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI + + +# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE +# --------------------------------- +AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], +[AC_REQUIRE([AC_CANONICAL_HOST]) +AC_REQUIRE([AC_PROG_NM]) +AC_REQUIRE([AC_OBJEXT]) +# Check for command to grab the raw symbol name followed by C symbol from nm. +AC_MSG_CHECKING([command to parse $NM output from $compiler object]) +AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], +[ +# These are sane defaults that work on at least a few old systems. +# [They come from Ultrix. What could be older than Ultrix?!! ;)] + +# Character class describing NM global symbol codes. +symcode='[[BCDEGRST]]' + +# Regexp to match symbols that can be accessed directly from C. +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' + +# Transform the above into a raw symbol and a C symbol. +symxfrm='\1 \2\3 \3' + +# Transform an extracted symbol line into a proper C declaration +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" + +# Transform an extracted symbol line into symbol name and symbol address +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + +# Define system-specific variables. +case $host_os in +aix*) + symcode='[[BCDT]]' + ;; +cygwin* | mingw* | pw32*) + symcode='[[ABCDGISTW]]' + ;; +hpux*) # Its linker distinguishes data from code symbols + if test "$host_cpu" = ia64; then + symcode='[[ABCDEGRST]]' + fi + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + ;; +irix* | nonstopux*) + symcode='[[BCDEGRST]]' + ;; +solaris* | sysv5*) + symcode='[[BDT]]' + ;; +sysv4) + symcode='[[DFNSTU]]' + ;; +esac + +# Handle CRLF in mingw tool chain +opt_cr= +case $host_os in +mingw*) + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp + ;; +esac + +# If we're using GNU nm, then use its standard symbol codes. +if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then + symcode='[[ABCDGISTW]]' +fi + +# Try without a prefix undercore, then with it. +for ac_symprfx in "" "_"; do + + # Write the raw and C identifiers. + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" + + # Check to see that the pipe works correctly. + pipe_works=no + + rm -f conftest* + cat > conftest.$ac_ext < $nlist) && test -s "$nlist"; then + # Try sorting and uniquifying the output. + if sort "$nlist" | uniq > "$nlist"T; then + mv -f "$nlist"T "$nlist" + else + rm -f "$nlist"T + fi + + # Make sure that we snagged all the symbols we need. + if egrep ' nm_test_var$' "$nlist" >/dev/null; then + if egrep ' nm_test_func$' "$nlist" >/dev/null; then + cat < conftest.$ac_ext +#ifdef __cplusplus +extern "C" { +#endif + +EOF + # Now generate the symbol file. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' + + cat <> conftest.$ac_ext +#if defined (__STDC__) && __STDC__ +# define lt_ptr_t void * +#else +# define lt_ptr_t char * +# define const +#endif + +/* The mapping between symbol names and symbols. */ +const struct { + const char *name; + lt_ptr_t address; +} +lt_preloaded_symbols[[]] = +{ +EOF + sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext + cat <<\EOF >> conftest.$ac_ext + {0, (lt_ptr_t) 0} +}; + +#ifdef __cplusplus +} +#endif +EOF + # Now try linking the two files. + mv conftest.$ac_objext conftstm.$ac_objext + lt_save_LIBS="$LIBS" + lt_save_CFLAGS="$CFLAGS" + LIBS="conftstm.$ac_objext" + CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then + pipe_works=yes + fi + LIBS="$lt_save_LIBS" + CFLAGS="$lt_save_CFLAGS" + else + echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD + fi + else + echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD + fi + else + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD + fi + else + echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD + cat conftest.$ac_ext >&5 + fi + rm -f conftest* conftst* + + # Do not use the global_symbol_pipe unless it works. + if test "$pipe_works" = yes; then + break + else + lt_cv_sys_global_symbol_pipe= + fi +done +]) +if test -z "$lt_cv_sys_global_symbol_pipe"; then + lt_cv_sys_global_symbol_to_cdecl= +fi +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then + AC_MSG_RESULT(failed) +else + AC_MSG_RESULT(ok) +fi +]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE + + +# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME]) +# --------------------------------------- +AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC], +[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)= +_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= +_LT_AC_TAGVAR(lt_prog_compiler_static, $1)= + +AC_MSG_CHECKING([for $compiler option to produce PIC]) + ifelse([$1],[CXX],[ + # C++ specific cases for pic, static, wl, etc. + if test "$GXX" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' + ;; + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + cygwin* | mingw* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' + ;; + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' + ;; + *djgpp*) + # DJGPP does not support shared libraries at all + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + ;; + sysv4*MP*) + if test -d /usr/nec; then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic + fi + ;; + hpux*) + # PIC is the default for IA64 HP-UX, but not for PA HP-UX. + if test "$host_cpu" != ia64; then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + fi + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + else + case $host_os in + aix4* | aix5*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + else + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' + fi + ;; + chorus*) + case $cc_basename in + cxch68) + # Green Hills C++ Compiler + # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" + ;; + esac + ;; + dgux*) + case $cc_basename in + ec++) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + ;; + ghcx) + # Green Hills C++ Compiler + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + *) + ;; + esac + ;; + freebsd*) + # FreeBSD uses GNU C++ + ;; + hpux9* | hpux10* | hpux11*) + case $cc_basename in + CC) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" + if test "$host_cpu" != ia64; then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + fi + ;; + aCC) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" + if test "$host_cpu" != ia64; then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + fi + ;; + *) + ;; + esac + ;; + irix5* | irix6* | nonstopux*) + case $cc_basename in + CC) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + # CC pic flag -KPIC is the default. + ;; + *) + ;; + esac + ;; + linux*) + case $cc_basename in + KCC) + # KAI C++ Compiler + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + cxx) + # Compaq C++ + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + *) + ;; + esac + ;; + lynxos*) + ;; + m88k*) + ;; + mvs*) + case $cc_basename in + cxx) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' + ;; + *) + ;; + esac + ;; + netbsd*) + ;; + osf3* | osf4* | osf5*) + case $cc_basename in + KCC) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' + ;; + RCC) + # Rational C++ 2.4.1 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + cxx) + # Digital/Compaq C++ + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + *) + ;; + esac + ;; + psos*) + ;; + sco*) + case $cc_basename in + CC) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + *) + ;; + esac + ;; + solaris*) + case $cc_basename in + CC) + # Sun C++ 4.2, 5.x and Centerline C++ + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + ;; + gcx) + # Green Hills C++ Compiler + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + ;; + *) + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC) + # Sun C++ 4.x + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + lcc) + # Lucid + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + *) + ;; + esac + ;; + tandem*) + case $cc_basename in + NCC) + # NonStop-UX NCC 3.20 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + ;; + *) + ;; + esac + ;; + unixware*) + ;; + vxworks*) + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + esac + fi +], +[ + if test "$GCC" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' + ;; + + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + cygwin* | mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + enable_shared=no + ;; + + sysv4*MP*) + if test -d /usr/nec; then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic + fi + ;; + + hpux*) + # PIC is the default for IA64 HP-UX, but not for PA HP-UX. + if test "$host_cpu" != ia64; then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + fi + ;; + + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + else + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + cygwin* | mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' + ;; + + hpux9* | hpux10* | hpux11*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + if test "$host_cpu" != ia64; then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + fi + # Is there a better lt_prog_compiler_static that works with the bundled CC? + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # PIC (with -KPIC) is the default. + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + + newsos6) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + osf3* | osf4* | osf5*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # All OSF/1 code is PIC. + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + + sco3.2v5*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn' + ;; + + solaris*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + sunos4*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + if test "x$host_vendor" = xsni; then + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-LD' + else + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + fi + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + + uts4*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + *) + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + esac + fi +]) +AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)]) + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then + AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works], + _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1), + [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) -DPIC], [], + [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in + "" | " "*) ;; + *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;; + esac], + [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) +fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) -DPIC" + ;; +esac +]) + + +# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME]) +# ------------------------------------ +# See if the linker supports building shared libraries. +AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS], +[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) +ifelse([$1],[CXX],[ + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols' + case $host_os in + aix4* | aix5*) + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | egrep '(GNU)' > /dev/null; then + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + else + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + fi + ;; + cygwin* | mingw* | pw32*) + _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" + ;; + *) + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols' + ;; + esac +],[ + runpath_var= + _LT_AC_TAGVAR(allow_undefined_flag, $1)= + + _LT_AC_TAGVAR(archive_cmds, $1)= + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)= + _LT_AC_TAGVAR(archive_expsym_cmds, $1)= + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)= + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)= + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= + _LT_AC_TAGVAR(thread_safe_flag_spec, $1)= + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_minus_L, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown + _LT_AC_TAGVAR(always_export_symbols, $1)=no + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + _LT_AC_TAGVAR(include_expsyms, $1)= + # exclude_expsyms can be an egrep regular expression of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_" + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + extract_expsyms_cmds= + + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + openbsd*) + with_gnu_ld=no + ;; + esac + + _LT_AC_TAGVAR(ld_shlibs, $1)=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # See if GNU ld supports shared libraries. + case $host_os in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + _LT_AC_TAGVAR(ld_shlibs, $1)=no + cat <&2 + +*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to modify your PATH +*** so that a non-GNU linker is found, and then restart. + +EOF + fi + ;; + + amigaos*) + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + + beos*) + if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, as there is + # no search path for DLLs. + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + + extract_expsyms_cmds='test -f $output_objdir/impgen.c || \ + sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~ + test -f $output_objdir/impgen.exe || (cd $output_objdir && \ + if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \ + else $CC -o impgen impgen.c ; fi)~ + $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def' + + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib' + + # cygwin and mingw dlls have different entry points and sets of symbols + # to exclude. + # FIXME: what about values for MSVC? + dll_entry=__cygwin_dll_entry@12 + dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~ + case $host_os in + mingw*) + # mingw values + dll_entry=_DllMainCRTStartup@12 + dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~ + ;; + esac + + # mingw and cygwin differ, and it's simplest to just exclude the union + # of the two symbol sets. + dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12 + + # recent cygwin and mingw systems supply a stub DllMain which the user + # can override, but on older systems we have to supply one (in ltdll.c) + if test "x$lt_cv_need_dllmain" = "xyes"; then + ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext " + ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~ + test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~' + else + ltdll_obj= + ltdll_cmds= + fi + + # Extract the symbol export list from an `--export-all' def file, + # then regenerate the def file from the symbol export list, so that + # the compiled dll only exports the symbol export list. + # Be careful not to strip the DATA tag left by newer dlltools. + _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"' + $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~ + sed -e "1,/EXPORTS/d" -e "s/ @ [[0-9]]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols' + + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is. + # If DATA tags from a recent dlltool are present, honour them! + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`head -1 $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname-def; + else + echo EXPORTS > $output_objdir/$soname-def; + _lt_hint=1; + cat $export_symbols | while read symbol; do + set dummy \$symbol; + case \[$]# in + 2) echo " \[$]2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;; + *) echo " \[$]2 @ \$_lt_hint \[$]3 ; " >> $output_objdir/$soname-def;; + esac; + _lt_hint=`expr 1 + \$_lt_hint`; + done; + fi~ + '"$ltdll_cmds"' + $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ + $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~ + $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ + $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~ + $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags' + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris* | sysv5*) + if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then + _LT_AC_TAGVAR(ld_shlibs, $1)=no + cat <&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +EOF + elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + sunos4*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + *) + if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + + if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = yes; then + runpath_var=LD_RUN_PATH + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + case $host_os in + cygwin* | mingw* | pw32*) + # dlltool doesn't understand --whole-archive et. al. + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= + ;; + *) + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= + fi + ;; + esac + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + if test "$GCC" = yes && test -z "$link_static_flag"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported + fi + ;; + + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | egrep '(GNU)' > /dev/null; then + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + else + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + fi + + # KDE requires run time linking. Make it the default. + aix_use_runtimelinking=yes + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + _LT_AC_TAGVAR(archive_cmds, $1)='' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + + if test "$GCC" = yes; then + case $host_os in aix4.[012]|aix4.[012].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + else + # We have old collect2 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='-qmkshrobj ${wl}-G' + else + shared_flag='-qmkshrobj' + fi + fi + fi + + # Let the compiler handle the export list. + _LT_AC_TAGVAR(always_export_symbols, $1)=no + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + _LT_AC_TAGVAR(archive_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag" + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + # Exported symbols can be pulled into shared objects from archives + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' ' + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + # This is similar to how AIX traditionally builds it's shared libraries. + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + # see comment about different semantics on the GNU ld section + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + + bsdi4*) + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic + ;; + + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # FIXME: Setting linknames here is a bad hack. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true' + # FIXME: Should let the user specify the lib program. + _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs' + fix_srcfile_path='`cygpath -w "$srcfile"`' + ;; + + darwin* | rhapsody*) + case "$host_os" in + rhapsody* | darwin1.[[012]]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' + ;; + *) # Darwin 1.3 on + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' + ;; + esac + + # FIXME: Relying on posixy $() will cause problems for + # cross-compilation, but unfortunately the echo tests do not + # yet detect zsh echo's removal of \ escapes. Also zsh mangles + # `"' quotes if we put them in here... so don't! + _LT_AC_TAGVAR(archive_cmds, $1)='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring' + # We need to add '_' to the symbols in $export_symbols first + #_LT_AC_TAGVAR(archive_expsym_cmds, $1)="$_LT_AC_TAGVAR(archive_cmds, $1)"' && strip -s $export_symbols' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' + ;; + + dgux*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + freebsd1*) + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd*) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + hpux9* | hpux10* | hpux11*) + if test "$GCC" = yes; then + case $host_os in + hpux9*) + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + ;; + *) + if test "$host_cpu" = ia64; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; + esac + else + case $host_os in + hpux9*) + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + ;; + *) + if test "$host_cpu" = ia64; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + fi + ;; + esac + fi + if test "$host_cpu" = ia64; then + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + else + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + fi + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + newsos6) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + openbsd*) + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + else + case $host_os in + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + ;; + esac + fi + ;; + + os2*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; + + osf3*) + if test "$GCC" = yes; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + else + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' + + # Both c and cxx compiler support -rpath directly + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + fi + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; + + sco3.2v5*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ;; + + solaris*) + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text' + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + case $host_os in + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; + *) # Supported since Solaris 2.6 (maybe 2.5.1?) + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;; + esac + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + ;; + + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + sysv4) + if test "x$host_vendor" = xsni; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true??? + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie + fi + runpath_var='LD_RUN_PATH' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + sysv4.3*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + _LT_AC_TAGVAR(ld_shlibs, $1)=yes + fi + ;; + + sysv4.2uw2*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + hardcode_runpath_var=yes + runpath_var=LD_RUN_PATH + ;; + + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*) + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text' + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + runpath_var='LD_RUN_PATH' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + sysv5*) + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text' + # $CC -shared without GNU ld will not create a library from C++ + # object files and a static libstdc++, better avoid it by now + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var='LD_RUN_PATH' + ;; + + uts4*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + *) + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + fi +]) +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +# +# Do we need to explicitly link libc? +# +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes +if test "$enable_shared" = yes && test "$GCC" = yes; then + case $_LT_AC_TAGVAR(archive_cmds, $1) in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + AC_MSG_CHECKING([whether -lc should be explicitly linked in]) + $rm conftest* + echo 'static int dummy;' > conftest.$ac_ext + + if AC_TRY_EVAL(ac_compile) 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1) + _LT_AC_TAGVAR(allow_undefined_flag, $1)= + if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) + then + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + else + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + fi + _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)]) + ;; + esac +fi +])# AC_LIBTOOL_PROG_LD_SHLIBS + + +# _LT_AC_FILE_LTDLL_C +# ------------------- +# Be careful that the start marker always follows a newline. +AC_DEFUN([_LT_AC_FILE_LTDLL_C], [ +# /* ltdll.c starts here */ +# #define WIN32_LEAN_AND_MEAN +# #include +# #undef WIN32_LEAN_AND_MEAN +# #include +# +# #ifndef __CYGWIN__ +# # ifdef __CYGWIN32__ +# # define __CYGWIN__ __CYGWIN32__ +# # endif +# #endif +# +# #ifdef __cplusplus +# extern "C" { +# #endif +# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); +# #ifdef __cplusplus +# } +# #endif +# +# #ifdef __CYGWIN__ +# #include +# DECLARE_CYGWIN_DLL( DllMain ); +# #endif +# HINSTANCE __hDllInstance_base; +# +# BOOL APIENTRY +# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) +# { +# __hDllInstance_base = hInst; +# return TRUE; +# } +# /* ltdll.c ends here */ +])# _LT_AC_FILE_LTDLL_C + + +# _LT_AC_FILE_IMPGEN_C +# -------------------- +# Be careful that the start marker always follows a newline. +AC_DEFUN([_LT_AC_FILE_IMPGEN_C], [ +# /* impgen.c starts here */ +# /* Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc. +# +# This file is part of GNU libtool. +# +# 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 +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# */ +# +# #include /* for printf() */ +# #include /* for open(), lseek(), read() */ +# #include /* for O_RDONLY, O_BINARY */ +# #include /* for strdup() */ +# +# /* O_BINARY isn't required (or even defined sometimes) under Unix */ +# #ifndef O_BINARY +# #define O_BINARY 0 +# #endif +# +# static unsigned int +# pe_get16 (fd, offset) +# int fd; +# int offset; +# { +# unsigned char b[2]; +# lseek (fd, offset, SEEK_SET); +# read (fd, b, 2); +# return b[0] + (b[1]<<8); +# } +# +# static unsigned int +# pe_get32 (fd, offset) +# int fd; +# int offset; +# { +# unsigned char b[4]; +# lseek (fd, offset, SEEK_SET); +# read (fd, b, 4); +# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); +# } +# +# static unsigned int +# pe_as32 (ptr) +# void *ptr; +# { +# unsigned char *b = ptr; +# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); +# } +# +# int +# main (argc, argv) +# int argc; +# char *argv[]; +# { +# int dll; +# unsigned long pe_header_offset, opthdr_ofs, num_entries, i; +# unsigned long export_rva, export_size, nsections, secptr, expptr; +# unsigned long name_rvas, nexp; +# unsigned char *expdata, *erva; +# char *filename, *dll_name; +# +# filename = argv[1]; +# +# dll = open(filename, O_RDONLY|O_BINARY); +# if (dll < 1) +# return 1; +# +# dll_name = filename; +# +# for (i=0; filename[i]; i++) +# if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':') +# dll_name = filename + i +1; +# +# pe_header_offset = pe_get32 (dll, 0x3c); +# opthdr_ofs = pe_header_offset + 4 + 20; +# num_entries = pe_get32 (dll, opthdr_ofs + 92); +# +# if (num_entries < 1) /* no exports */ +# return 1; +# +# export_rva = pe_get32 (dll, opthdr_ofs + 96); +# export_size = pe_get32 (dll, opthdr_ofs + 100); +# nsections = pe_get16 (dll, pe_header_offset + 4 +2); +# secptr = (pe_header_offset + 4 + 20 + +# pe_get16 (dll, pe_header_offset + 4 + 16)); +# +# expptr = 0; +# for (i = 0; i < nsections; i++) +# { +# char sname[8]; +# unsigned long secptr1 = secptr + 40 * i; +# unsigned long vaddr = pe_get32 (dll, secptr1 + 12); +# unsigned long vsize = pe_get32 (dll, secptr1 + 16); +# unsigned long fptr = pe_get32 (dll, secptr1 + 20); +# lseek(dll, secptr1, SEEK_SET); +# read(dll, sname, 8); +# if (vaddr <= export_rva && vaddr+vsize > export_rva) +# { +# expptr = fptr + (export_rva - vaddr); +# if (export_rva + export_size > vaddr + vsize) +# export_size = vsize - (export_rva - vaddr); +# break; +# } +# } +# +# expdata = (unsigned char*)malloc(export_size); +# lseek (dll, expptr, SEEK_SET); +# read (dll, expdata, export_size); +# erva = expdata - export_rva; +# +# nexp = pe_as32 (expdata+24); +# name_rvas = pe_as32 (expdata+32); +# +# printf ("EXPORTS\n"); +# for (i = 0; i/dev/null` && + test -n "$tmp" && test -d "$tmp" +} || +{ + tmp=$TMPDIR/sed$$-$RANDOM + (umask 077 && mkdir $tmp) +} || +{ + echo "$me: cannot create a temporary directory in $TMPDIR" >&2 + { (exit 1); exit 1; } +} + _max=0 + _count=0 + # Add /usr/xpg4/bin/sed as it is typically found on Solaris + # along with /bin/sed that truncates output. + for _sed in $_sed_list /usr/xpg4/bin/sed; do + test ! -f ${_sed} && break + cat /dev/null > "$tmp/sed.in" + _count=0 + echo $ECHO_N "0123456789$ECHO_C" >"$tmp/sed.in" + # Check for GNU sed and select it if it is found. + if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then + lt_cv_path_SED=${_sed} + break; + fi + while true; do + cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp" + mv "$tmp/sed.tmp" "$tmp/sed.in" + cp "$tmp/sed.in" "$tmp/sed.nl" + echo >>"$tmp/sed.nl" + ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break + cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break + # 10000 chars as input seems more than enough + test $_count -gt 10 && break + _count=`expr $_count + 1` + if test $_count -gt $_max; then + _max=$_count + lt_cv_path_SED=$_sed + fi + done + done + rm -rf "$tmp" +]) +AC_MSG_RESULT([$SED]) +]) diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/ltmain.sh b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/ltmain.sh new file mode 100644 index 0000000000000000000000000000000000000000..3b15d45a91b00e8d66ee741962e8d7632e11ffb4 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/ltmain.sh @@ -0,0 +1,5571 @@ +# ltmain.sh - Provide generalized library-building support services. +# NOTE: Changing this file will not affect anything until you rerun configure. +# +# Copyright (C) 1996-2001 Free Software Foundation, Inc. +# Originally by Gordon Matzigkeit , 1996 +# +# 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 +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# Check that we have a working $echo. +if test "X$1" = X--no-reexec; then + # Discard the --no-reexec flag, and continue. + shift +elif test "X$1" = X--fallback-echo; then + # Avoid inline document here, it may be left over + : +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then + # Yippee, $echo works! + : +else + # Restart under the correct shell, and then maybe $echo will work. + exec $SHELL "$0" --no-reexec ${1+"$@"} +fi + +if test "X$1" = X--fallback-echo; then + # used as fallback echo + shift + cat <&2 + echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 + exit 1 +fi + +# Global variables. +mode=$default_mode +nonopt= +prev= +prevopt= +run= +show="$echo" +show_help= +execute_dlfiles= +lo2o="s/\\.lo\$/.${objext}/" +o2lo="s/\\.${objext}\$/.lo/" + +# Parse our command line options once, thoroughly. +while test "$#" -gt 0 +do + arg="$1" + shift + + case $arg in + -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;; + *) optarg= ;; + esac + + # If the previous option needs an argument, assign it. + if test -n "$prev"; then + case $prev in + execute_dlfiles) + execute_dlfiles="$execute_dlfiles $arg" + ;; + tag) + tagname="$arg" + + # Check whether tagname contains only valid characters + case $tagname in + *[!-_A-Za-z0-9,/]*) + echo "$progname: invalid tag name: $tagname" 1>&2 + exit 1 + ;; + esac + + case $tagname in + CC) + # Don't test for the "default" C tag, as we know, it's there, but + # not specially marked. + ;; + *) + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$0" > /dev/null; then + taglist="$taglist $tagname" + # Evaluate the configuration. + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $0`" + else + echo "$progname: ignoring unknown tag $tagname" 1>&2 + fi + ;; + esac + ;; + *) + eval "$prev=\$arg" + ;; + esac + + prev= + prevopt= + continue + fi + + # Have we seen a non-optional argument yet? + case $arg in + --help) + show_help=yes + ;; + + --version) + echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP" + echo + echo "Copyright 1996, 1997, 1998, 1999, 2000, 2001" + echo "Free Software Foundation, Inc." + echo "This is free software; see the source for copying conditions. There is NO" + echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + exit 0 + ;; + + --config) + ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $0 + # Now print the configurations for the tags. + for tagname in $taglist; do + ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$0" + done + exit 0 + ;; + + --debug) + echo "$progname: enabling shell trace mode" + set -x + ;; + + --dry-run | -n) + run=: + ;; + + --features) + echo "host: $host" + if test "$build_libtool_libs" = yes; then + echo "enable shared libraries" + else + echo "disable shared libraries" + fi + if test "$build_old_libs" = yes; then + echo "enable static libraries" + else + echo "disable static libraries" + fi + exit 0 + ;; + + --finish) mode="finish" ;; + + --mode) prevopt="--mode" prev=mode ;; + --mode=*) mode="$optarg" ;; + + --preserve-dup-deps) duplicate_deps="yes" ;; + + --quiet | --silent) + show=: + ;; + + --tag) prevopt="--tag" prev=tag ;; + --tag=*) + set tag "$optarg" ${1+"$@"} + shift + prev=tag + ;; + + -dlopen) + prevopt="-dlopen" + prev=execute_dlfiles + ;; + + -*) + $echo "$modename: unrecognized option \`$arg'" 1>&2 + $echo "$help" 1>&2 + exit 1 + ;; + + *) + nonopt="$arg" + break + ;; + esac +done + +if test -n "$prevopt"; then + $echo "$modename: option \`$prevopt' requires an argument" 1>&2 + $echo "$help" 1>&2 + exit 1 +fi + +# If this variable is set in any of the actions, the command in it +# will be execed at the end. This prevents here-documents from being +# left over by shells. +exec_cmd= + +if test -z "$show_help"; then + + # Infer the operation mode. + if test -z "$mode"; then + case $nonopt in + *cc | *++ | gcc* | *-gcc*) + mode=link + for arg + do + case $arg in + -c) + mode=compile + break + ;; + esac + done + ;; + *db | *dbx | *strace | *truss) + mode=execute + ;; + *install*|cp|mv) + mode=install + ;; + *rm) + mode=uninstall + ;; + *) + # If we have no mode, but dlfiles were specified, then do execute mode. + test -n "$execute_dlfiles" && mode=execute + + # Just use the default operation mode. + if test -z "$mode"; then + if test -n "$nonopt"; then + $echo "$modename: warning: cannot infer operation mode from \`$nonopt'" 1>&2 + else + $echo "$modename: warning: cannot infer operation mode without MODE-ARGS" 1>&2 + fi + fi + ;; + esac + fi + + # Only execute mode is allowed to have -dlopen flags. + if test -n "$execute_dlfiles" && test "$mode" != execute; then + $echo "$modename: unrecognized option \`-dlopen'" 1>&2 + $echo "$help" 1>&2 + exit 1 + fi + + # Change the help message to a mode-specific one. + generic_help="$help" + help="Try \`$modename --help --mode=$mode' for more information." + + # These modes are in order of execution frequency so that they run quickly. + case $mode in + # libtool compile mode + compile) + modename="$modename: compile" + # Get the compilation command and the source file. + base_compile= + prev= + lastarg= + srcfile="$nonopt" + suppress_output= + + user_target=no + for arg + do + case $prev in + "") ;; + xcompiler) + # Aesthetically quote the previous argument. + prev= + lastarg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` + + case $arg in + # Double-quote args containing other shell metacharacters. + # Many Bourne shells cannot handle close brackets correctly + # in scan sets, so we specify it separately. + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + + # Add the previous argument to base_compile. + if test -z "$base_compile"; then + base_compile="$lastarg" + else + base_compile="$base_compile $lastarg" + fi + continue + ;; + esac + + # Accept any command-line options. + case $arg in + -o) + if test "$user_target" != "no"; then + $echo "$modename: you cannot specify \`-o' more than once" 1>&2 + exit 1 + fi + user_target=next + ;; + + -static) + build_old_libs=yes + continue + ;; + + -prefer-pic) + pic_mode=yes + continue + ;; + + -prefer-non-pic) + pic_mode=no + continue + ;; + + -Xcompiler) + prev=xcompiler + continue + ;; + + -Wc,*) + args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"` + lastarg= + save_ifs="$IFS"; IFS=',' + for arg in $args; do + IFS="$save_ifs" + + # Double-quote args containing other shell metacharacters. + # Many Bourne shells cannot handle close brackets correctly + # in scan sets, so we specify it separately. + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + lastarg="$lastarg $arg" + done + IFS="$save_ifs" + lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"` + + # Add the arguments to base_compile. + if test -z "$base_compile"; then + base_compile="$lastarg" + else + base_compile="$base_compile $lastarg" + fi + continue + ;; + esac + + case $user_target in + next) + # The next one is the -o target name + user_target=yes + continue + ;; + yes) + # We got the output file + user_target=set + libobj="$arg" + continue + ;; + esac + + # Accept the current argument as the source file. + lastarg="$srcfile" + srcfile="$arg" + + # Aesthetically quote the previous argument. + + # Backslashify any backslashes, double quotes, and dollar signs. + # These are the only characters that are still specially + # interpreted inside of double-quoted scrings. + lastarg=`$echo "X$lastarg" | $Xsed -e "$sed_quote_subst"` + + # Double-quote args containing other shell metacharacters. + # Many Bourne shells cannot handle close brackets correctly + # in scan sets, so we specify it separately. + case $lastarg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + lastarg="\"$lastarg\"" + ;; + esac + + # Add the previous argument to base_compile. + if test -z "$base_compile"; then + base_compile="$lastarg" + else + base_compile="$base_compile $lastarg" + fi + done + + case $user_target in + set) + ;; + no) + # Get the name of the library object. + libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'` + ;; + *) + $echo "$modename: you must specify a target with \`-o'" 1>&2 + exit 1 + ;; + esac + + # Recognize several different file suffixes. + # If the user specifies -o file.o, it is replaced with file.lo + xform='[cCFSifmso]' + case $libobj in + *.ada) xform=ada ;; + *.adb) xform=adb ;; + *.ads) xform=ads ;; + *.asm) xform=asm ;; + *.c++) xform=c++ ;; + *.cc) xform=cc ;; + *.ii) xform=ii ;; + *.class) xform=class ;; + *.cpp) xform=cpp ;; + *.cxx) xform=cxx ;; + *.f90) xform=f90 ;; + *.for) xform=for ;; + *.java) xform=java ;; + esac + + libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"` + + case $libobj in + *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;; + *) + $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2 + exit 1 + ;; + esac + + # Infer tagged configuration to use if any are available and + # if one wasn't chosen via the "--tag" command line option. + # Only attempt this if the compiler in the base compile + # command doesn't match the default compiler. + if test -n "$available_tags" && test -z "$tagname"; then + case "$base_compile " in + "$CC "*) ;; + # Blanks in the command may have been stripped by the calling shell, + # but not from the CC environment variable when ltconfig was run. + "`$echo $CC` "*) ;; + *) + for z in $available_tags; do + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$0" > /dev/null; then + # Evaluate the configuration. + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $0`" + case "$base_compile " in + "$CC "*) + # The compiler in the base compile command matches + # the one in the tagged configuration. + # Assume this is the tagged configuration we want. + tagname=$z + break + ;; + "`$echo $CC` "*) + tagname=$z + break + ;; + esac + fi + done + # If $tagname still isn't set, then no tagged configuration + # was found and let the user know that the "--tag" command + # line option must be used. + if test -z "$tagname"; then + echo "$modename: unable to infer tagged configuration" + echo "$modename: specify a tag with \`--tag'" 1>&2 + exit 1 +# else +# echo "$modename: using $tagname tagged configuration" + fi + ;; + esac + fi + + objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'` + xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'` + if test "X$xdir" = "X$obj"; then + xdir= + else + xdir=$xdir/ + fi + lobj=${xdir}$objdir/$objname + + if test -z "$base_compile"; then + $echo "$modename: you must specify a compilation command" 1>&2 + $echo "$help" 1>&2 + exit 1 + fi + + # Delete any leftover library objects. + if test "$build_old_libs" = yes; then + removelist="$obj $lobj $libobj ${libobj}T" + else + removelist="$lobj $libobj ${libobj}T" + fi + + $run $rm $removelist + trap "$run $rm $removelist; exit 1" 1 2 15 + + # On Cygwin there's no "real" PIC flag so we must build both object types + case $host_os in + cygwin* | mingw* | pw32* | os2*) + pic_mode=default + ;; + esac + if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then + # non-PIC code in shared libraries is not supported + pic_mode=default + fi + + # Calculate the filename of the output object if compiler does + # not support -o with -c + if test "$compiler_c_o" = no; then + output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext} + lockfile="$output_obj.lock" + removelist="$removelist $output_obj $lockfile" + trap "$run $rm $removelist; exit 1" 1 2 15 + else + output_obj= + need_locks=no + lockfile= + fi + + # Lock this critical section if it is needed + # We use this script file to make the link, it avoids creating a new file + if test "$need_locks" = yes; then + until $run ln "$0" "$lockfile" 2>/dev/null; do + $show "Waiting for $lockfile to be removed" + sleep 2 + done + elif test "$need_locks" = warn; then + if test -f "$lockfile"; then + echo "\ +*** ERROR, $lockfile exists and contains: +`cat $lockfile 2>/dev/null` + +This indicates that another process is trying to use the same +temporary object file, and libtool could not work around it because +your compiler does not support \`-c' and \`-o' together. If you +repeat this compilation, it may succeed, by chance, but you had better +avoid parallel builds (make -j) in this platform, or get a better +compiler." + + $run $rm $removelist + exit 1 + fi + echo $srcfile > "$lockfile" + fi + + if test -n "$fix_srcfile_path"; then + eval srcfile=\"$fix_srcfile_path\" + fi + + $run $rm "$libobj" "${libobj}T" + + # Create a libtool object file (analogous to a ".la" file), + # but don't create it if we're doing a dry run. + test -z "$run" && cat > ${libobj}T </dev/null`" != "X$srcfile"; then + echo "\ +*** ERROR, $lockfile contains: +`cat $lockfile 2>/dev/null` + +but it should contain: +$srcfile + +This indicates that another process is trying to use the same +temporary object file, and libtool could not work around it because +your compiler does not support \`-c' and \`-o' together. If you +repeat this compilation, it may succeed, by chance, but you had better +avoid parallel builds (make -j) in this platform, or get a better +compiler." + + $run $rm $removelist + exit 1 + fi + + # Just move the object if needed, then go on to compile the next one + if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then + $show "$mv $output_obj $lobj" + if $run $mv $output_obj $lobj; then : + else + error=$? + $run $rm $removelist + exit $error + fi + fi + + # Append the name of the PIC object to the libtool object file. + test -z "$run" && cat >> ${libobj}T <> ${libobj}T </dev/null`" != "X$srcfile"; then + echo "\ +*** ERROR, $lockfile contains: +`cat $lockfile 2>/dev/null` + +but it should contain: +$srcfile + +This indicates that another process is trying to use the same +temporary object file, and libtool could not work around it because +your compiler does not support \`-c' and \`-o' together. If you +repeat this compilation, it may succeed, by chance, but you had better +avoid parallel builds (make -j) in this platform, or get a better +compiler." + + $run $rm $removelist + exit 1 + fi + + # Just move the object if needed + if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then + $show "$mv $output_obj $obj" + if $run $mv $output_obj $obj; then : + else + error=$? + $run $rm $removelist + exit $error + fi + fi + + # Append the name of the non-PIC object the libtool object file. + # Only append if the libtool object file exists. + test -z "$run" && cat >> ${libobj}T <> ${libobj}T <&2 + fi + if test -n "$link_static_flag"; then + dlopen_self=$dlopen_self_static + fi + else + if test -z "$pic_flag" && test -n "$link_static_flag"; then + dlopen_self=$dlopen_self_static + fi + fi + build_libtool_libs=no + build_old_libs=yes + prefer_static_libs=yes + break + ;; + esac + done + + # See if our shared archives depend on static archives. + test -n "$old_archive_from_new_cmds" && build_old_libs=yes + + # Go through the arguments, transforming them on the way. + while test "$#" -gt 0; do + arg="$1" + base_compile="$base_compile $arg" + shift + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test + ;; + *) qarg=$arg ;; + esac + libtool_args="$libtool_args $qarg" + + # If the previous option needs an argument, assign it. + if test -n "$prev"; then + case $prev in + output) + compile_command="$compile_command @OUTPUT@" + finalize_command="$finalize_command @OUTPUT@" + ;; + esac + + case $prev in + dlfiles|dlprefiles) + if test "$preload" = no; then + # Add the symbol object into the linking commands. + compile_command="$compile_command @SYMFILE@" + finalize_command="$finalize_command @SYMFILE@" + preload=yes + fi + case $arg in + *.la | *.lo) ;; # We handle these cases below. + force) + if test "$dlself" = no; then + dlself=needless + export_dynamic=yes + fi + prev= + continue + ;; + self) + if test "$prev" = dlprefiles; then + dlself=yes + elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then + dlself=yes + else + dlself=needless + export_dynamic=yes + fi + prev= + continue + ;; + *) + if test "$prev" = dlfiles; then + dlfiles="$dlfiles $arg" + else + dlprefiles="$dlprefiles $arg" + fi + prev= + continue + ;; + esac + ;; + expsyms) + export_symbols="$arg" + if test ! -f "$arg"; then + $echo "$modename: symbol file \`$arg' does not exist" + exit 1 + fi + prev= + continue + ;; + expsyms_regex) + export_symbols_regex="$arg" + prev= + continue + ;; + release) + release="-$arg" + prev= + continue + ;; + objectlist) + if test -f "$arg"; then + save_arg=$arg + moreargs= + for fil in `cat $save_arg` + do +# moreargs="$moreargs $fil" + arg=$fil + # A libtool-controlled object. + + # Check to see that this really is a libtool object. + if (${SED} -e '2q' $arg | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + pic_object= + non_pic_object= + + # Read the .lo file + # If there is no directory component, then add one. + case $arg in + */* | *\\*) . $arg ;; + *) . ./$arg ;; + esac + + if test -z "$pic_object" || \ + test -z "$non_pic_object" || + test "$pic_object" = none && \ + test "$non_pic_object" = none; then + $echo "$modename: cannot find name of object for \`$arg'" 1>&2 + exit 1 + fi + + # Extract subdirectory from the argument. + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` + if test "X$xdir" = "X$arg"; then + xdir= + else + xdir="$xdir/" + fi + + if test "$pic_object" != none; then + # Prepend the subdirectory the object is found in. + pic_object="$xdir$pic_object" + + if test "$prev" = dlfiles; then + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then + dlfiles="$dlfiles $pic_object" + prev= + continue + else + # If libtool objects are unsupported, then we need to preload. + prev=dlprefiles + fi + fi + + # CHECK ME: I think I busted this. -Ossama + if test "$prev" = dlprefiles; then + # Preload the old-style object. + dlprefiles="$dlprefiles $pic_object" + prev= + fi + + # A PIC object. + libobjs="$libobjs $pic_object" + arg="$pic_object" + fi + + # Non-PIC object. + if test "$non_pic_object" != none; then + # Prepend the subdirectory the object is found in. + non_pic_object="$xdir$non_pic_object" + + # A standard non-PIC object + non_pic_objects="$non_pic_objects $non_pic_object" + if test -z "$pic_object" || test "$pic_object" = none ; then + arg="$non_pic_object" + fi + fi + else + # Only an error if not doing a dry-run. + if test -z "$run"; then + $echo "$modename: \`$arg' is not a valid libtool object" 1>&2 + exit 1 + else + # Dry-run case. + + # Extract subdirectory from the argument. + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` + if test "X$xdir" = "X$arg"; then + xdir= + else + xdir="$xdir/" + fi + + pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"` + non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"` + libobjs="$libobjs $pic_object" + non_pic_objects="$non_pic_objects $non_pic_object" + fi + fi + done + else + $echo "$modename: link input file \`$save_arg' does not exist" + exit 1 + fi + arg=$save_arg + prev= + continue + ;; + rpath | xrpath) + # We need an absolute path. + case $arg in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + $echo "$modename: only absolute run-paths are allowed" 1>&2 + exit 1 + ;; + esac + if test "$prev" = rpath; then + case "$rpath " in + *" $arg "*) ;; + *) rpath="$rpath $arg" ;; + esac + else + case "$xrpath " in + *" $arg "*) ;; + *) xrpath="$xrpath $arg" ;; + esac + fi + prev= + continue + ;; + xcompiler) + compiler_flags="$compiler_flags $qarg" + prev= + compile_command="$compile_command $qarg" + finalize_command="$finalize_command $qarg" + continue + ;; + xlinker) + linker_flags="$linker_flags $qarg" + compiler_flags="$compiler_flags $wl$qarg" + prev= + compile_command="$compile_command $wl$qarg" + finalize_command="$finalize_command $wl$qarg" + continue + ;; + *) + eval "$prev=\"\$arg\"" + prev= + continue + ;; + esac + fi # test -n "$prev" + + prevarg="$arg" + + case $arg in + -all-static) + if test -n "$link_static_flag"; then + compile_command="$compile_command $link_static_flag" + finalize_command="$finalize_command $link_static_flag" + fi + continue + ;; + + -allow-undefined) + # FIXME: remove this flag sometime in the future. + $echo "$modename: \`-allow-undefined' is deprecated because it is the default" 1>&2 + continue + ;; + + -avoid-version) + avoid_version=yes + continue + ;; + + -dlopen) + prev=dlfiles + continue + ;; + + -dlpreopen) + prev=dlprefiles + continue + ;; + + -export-dynamic) + export_dynamic=yes + continue + ;; + + -export-symbols | -export-symbols-regex) + if test -n "$export_symbols" || test -n "$export_symbols_regex"; then + $echo "$modename: more than one -exported-symbols argument is not allowed" + exit 1 + fi + if test "X$arg" = "X-export-symbols"; then + prev=expsyms + else + prev=expsyms_regex + fi + continue + ;; + + # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* + # so, if we see these flags be careful not to treat them like -L + -L[A-Z][A-Z]*:*) + case $with_gcc/$host in + no/*-*-irix* | /*-*-irix*) + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" + ;; + esac + continue + ;; + + -L*) + dir=`$echo "X$arg" | $Xsed -e 's/^-L//'` + # We need an absolute path. + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + absdir=`cd "$dir" && pwd` + if test -z "$absdir"; then + $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2 + exit 1 + fi + dir="$absdir" + ;; + esac + case "$deplibs " in + *" -L$dir "*) ;; + *) + deplibs="$deplibs -L$dir" + lib_search_path="$lib_search_path $dir" + ;; + esac + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) + case :$dllsearchpath: in + *":$dir:"*) ;; + *) dllsearchpath="$dllsearchpath:$dir";; + esac + ;; + esac + continue + ;; + + -l*) + if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then + case $host in + *-*-cygwin* | *-*-pw32* | *-*-beos*) + # These systems don't actually have a C or math library (as such) + continue + ;; + *-*-mingw* | *-*-os2*) + # These systems don't actually have a C library (as such) + test "X$arg" = "X-lc" && continue + ;; + *-*-openbsd* | *-*-freebsd*) + # Do not include libc due to us having libc/libc_r. + test "X$arg" = "X-lc" && continue + ;; + *-*-rhapsody* | *-*-darwin1.[012]) + # Rhapsody C and math libraries are in the System framework + deplibs="$deplibs -framework System" + continue + esac + elif test "X$arg" = "X-lc_r"; then + case $host in + *-*-openbsd* | *-*-freebsd*) + # Do not include libc_r directly, use -pthread flag. + continue + ;; + esac + fi + deplibs="$deplibs $arg" + continue + ;; + + -module) + module=yes + continue + ;; + + -no-fast-install) + fast_install=no + continue + ;; + + -no-install) + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) + # The PATH hackery in wrapper scripts is required on Windows + # in order for the loader to find any dlls it needs. + $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2 + $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2 + fast_install=no + ;; + *) no_install=yes ;; + esac + continue + ;; + + -no-undefined) + allow_undefined=no + continue + ;; + + -objectlist) + prev=objectlist + continue + ;; + + -o) prev=output ;; + + -release) + prev=release + continue + ;; + + -rpath) + prev=rpath + continue + ;; + + -R) + prev=xrpath + continue + ;; + + -R*) + dir=`$echo "X$arg" | $Xsed -e 's/^-R//'` + # We need an absolute path. + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + $echo "$modename: only absolute run-paths are allowed" 1>&2 + exit 1 + ;; + esac + case "$xrpath " in + *" $dir "*) ;; + *) xrpath="$xrpath $dir" ;; + esac + continue + ;; + + -static) + # The effects of -static are defined in a previous loop. + # We used to do the same as -all-static on platforms that + # didn't have a PIC flag, but the assumption that the effects + # would be equivalent was wrong. It would break on at least + # Digital Unix and AIX. + continue + ;; + + -thread-safe) + thread_safe=yes + continue + ;; + + -version-info) + prev=vinfo + continue + ;; + + -Wc,*) + args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'` + arg= + save_ifs="$IFS"; IFS=',' + for flag in $args; do + IFS="$save_ifs" + case $flag in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + flag="\"$flag\"" + ;; + esac + arg="$arg $wl$flag" + compiler_flags="$compiler_flags $flag" + done + IFS="$save_ifs" + arg=`$echo "X$arg" | $Xsed -e "s/^ //"` + ;; + + -Wl,*) + args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'` + arg= + save_ifs="$IFS"; IFS=',' + for flag in $args; do + IFS="$save_ifs" + case $flag in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + flag="\"$flag\"" + ;; + esac + arg="$arg $wl$flag" + compiler_flags="$compiler_flags $wl$flag" + linker_flags="$linker_flags $flag" + done + IFS="$save_ifs" + arg=`$echo "X$arg" | $Xsed -e "s/^ //"` + ;; + + -Xcompiler) + prev=xcompiler + continue + ;; + + -Xlinker) + prev=xlinker + continue + ;; + + # Some other compiler flag. + -* | +*) + # Unknown arguments in both finalize_command and compile_command need + # to be aesthetically quoted because they are evaled later. + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + add_flags="$add_flags $arg" + ;; + + *.$objext) + # A standard object. + objs="$objs $arg" + ;; + + *.lo) + # A libtool-controlled object. + + # Check to see that this really is a libtool object. + if (${SED} -e '2q' $arg | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + pic_object= + non_pic_object= + + # Read the .lo file + # If there is no directory component, then add one. + case $arg in + */* | *\\*) . $arg ;; + *) . ./$arg ;; + esac + + if test -z "$pic_object" || \ + test -z "$non_pic_object" || + test "$pic_object" = none && \ + test "$non_pic_object" = none; then + $echo "$modename: cannot find name of object for \`$arg'" 1>&2 + exit 1 + fi + + # Extract subdirectory from the argument. + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` + if test "X$xdir" = "X$arg"; then + xdir= + else + xdir="$xdir/" + fi + + if test "$pic_object" != none; then + # Prepend the subdirectory the object is found in. + pic_object="$xdir$pic_object" + + if test "$prev" = dlfiles; then + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then + dlfiles="$dlfiles $pic_object" + prev= + continue + else + # If libtool objects are unsupported, then we need to preload. + prev=dlprefiles + fi + fi + + # CHECK ME: I think I busted this. -Ossama + if test "$prev" = dlprefiles; then + # Preload the old-style object. + dlprefiles="$dlprefiles $pic_object" + prev= + fi + + # A PIC object. + libobjs="$libobjs $pic_object" + arg="$pic_object" + fi + + # Non-PIC object. + if test "$non_pic_object" != none; then + # Prepend the subdirectory the object is found in. + non_pic_object="$xdir$non_pic_object" + + # A standard non-PIC object + non_pic_objects="$non_pic_objects $non_pic_object" + if test -z "$pic_object" || test "$pic_object" = none ; then + arg="$non_pic_object" + fi + fi + else + # Only an error if not doing a dry-run. + if test -z "$run"; then + $echo "$modename: \`$arg' is not a valid libtool object" 1>&2 + exit 1 + else + # Dry-run case. + + # Extract subdirectory from the argument. + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` + if test "X$xdir" = "X$arg"; then + xdir= + else + xdir="$xdir/" + fi + + pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"` + non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"` + libobjs="$libobjs $pic_object" + non_pic_objects="$non_pic_objects $non_pic_object" + fi + fi + ;; + + *.$libext) + # An archive. + deplibs="$deplibs $arg" + old_deplibs="$old_deplibs $arg" + continue + ;; + + *.la) + # A libtool-controlled library. + + if test "$prev" = dlfiles; then + # This library was specified with -dlopen. + dlfiles="$dlfiles $arg" + prev= + elif test "$prev" = dlprefiles; then + # The library was specified with -dlpreopen. + dlprefiles="$dlprefiles $arg" + prev= + else + deplibs="$deplibs $arg" + fi + continue + ;; + + # Some other compiler argument. + *) + # Unknown arguments in both finalize_command and compile_command need + # to be aesthetically quoted because they are evaled later. + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + add_flags="$add_flags $arg" + ;; + esac # arg + + # Now actually substitute the argument into the commands. + if test -n "$arg"; then + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" + fi + done # argument parsing loop + + if test -n "$prev"; then + $echo "$modename: the \`$prevarg' option requires an argument" 1>&2 + $echo "$help" 1>&2 + exit 1 + fi + + # Infer tagged configuration to use if any are available and + # if one wasn't chosen via the "--tag" command line option. + # Only attempt this if the compiler in the base link + # command doesn't match the default compiler. + if test -n "$available_tags" && test -z "$tagname"; then + case $base_compile in + "$CC "*) ;; + # Blanks in the command may have been stripped by the calling shell, + # but not from the CC environment variable when ltconfig was run. + "`$echo $CC` "*) ;; + *) + for z in $available_tags; do + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$0" > /dev/null; then + # Evaluate the configuration. + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $0`" + case $base_compile in + "$CC "*) + # The compiler in $compile_command matches + # the one in the tagged configuration. + # Assume this is the tagged configuration we want. + tagname=$z + break + ;; + "`$echo $CC` "*) + tagname=$z + break + ;; + esac + fi + done + # If $tagname still isn't set, then no tagged configuration + # was found and let the user know that the "--tag" command + # line option must be used. + if test -z "$tagname"; then + echo "$modename: unable to infer tagged configuration" + echo "$modename: specify a tag with \`--tag'" 1>&2 + exit 1 +# else +# echo "$modename: using $tagname tagged configuration" + fi + ;; + esac + fi + + if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then + eval arg=\"$export_dynamic_flag_spec\" + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" + fi + + oldlibs= + # calculate the name of the file, without its directory + outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'` + libobjs_save="$libobjs" + + if test -n "$shlibpath_var"; then + # get the directories listed in $shlibpath_var + eval shlib_search_path=\`\$echo \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\` + else + shlib_search_path= + fi + eval sys_lib_search_path=\"$sys_lib_search_path_spec\" + eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\" + + output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'` + if test "X$output_objdir" = "X$output"; then + output_objdir="$objdir" + else + output_objdir="$output_objdir/$objdir" + fi + # Create the object directory. + if test ! -d "$output_objdir"; then + $show "$mkdir $output_objdir" + $run $mkdir $output_objdir + status=$? + if test "$status" -ne 0 && test ! -d "$output_objdir"; then + exit $status + fi + fi + + # Determine the type of output + case $output in + "") + $echo "$modename: you must specify an output file" 1>&2 + $echo "$help" 1>&2 + exit 1 + ;; + *.$libext) linkmode=oldlib ;; + *.lo | *.$objext) linkmode=obj ;; + *.la) linkmode=lib ;; + *) linkmode=prog ;; # Anything else should be a program. + esac + + specialdeplibs= + libs= + # Find all interdependent deplibs by searching for libraries + # that are linked more than once (e.g. -la -lb -la) + for deplib in $deplibs; do + if test "X$duplicate_deps" = "Xyes" ; then + case "$libs " in + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; + esac + fi + libs="$libs $deplib" + done + + if test "$linkmode" = lib; then + libs="$predeps $libs $compiler_lib_search_path $postdeps" + + # Compute libraries that are listed more than once in $predeps + # $postdeps and mark them as special (i.e., whose duplicates are + # not to be eliminated). + pre_post_deps= + if test "X$duplicate_deps" = "Xyes" ; then + for pre_post_dep in $predeps $postdeps; do + case "$pre_post_deps " in + *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;; + esac + pre_post_deps="$pre_post_deps $pre_post_dep" + done + fi + pre_post_deps= + fi + + deplibs= + newdependency_libs= + newlib_search_path= + need_relink=no # whether we're linking any uninstalled libtool libraries + notinst_deplibs= # not-installed libtool libraries + notinst_path= # paths that contain not-installed libtool libraries + case $linkmode in + lib) + passes="conv link" + for file in $dlfiles $dlprefiles; do + case $file in + *.la) ;; + *) + $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2 + exit 1 + ;; + esac + done + ;; + prog) + compile_deplibs= + finalize_deplibs= + alldeplibs=no + newdlfiles= + newdlprefiles= + passes="conv scan dlopen dlpreopen link" + ;; + *) passes="conv" + ;; + esac + for pass in $passes; do + if test "$linkmode,$pass" = "lib,link" || + test "$linkmode,$pass" = "prog,scan"; then + libs="$deplibs" + deplibs= + fi + if test "$linkmode" = prog; then + case $pass in + dlopen) libs="$dlfiles" ;; + dlpreopen) libs="$dlprefiles" ;; + link) libs="$deplibs %DEPLIBS% $dependency_libs" ;; + esac + fi + if test "$pass" = dlopen; then + # Collect dlpreopened libraries + save_deplibs="$deplibs" + deplibs= + fi + for deplib in $libs; do + lib= + found=no + case $deplib in + -l*) + if test "$linkmode" != lib && test "$linkmode" != prog; then + $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2 + continue + fi + if test "$pass" = conv && test "$allow_undefined" = yes; then + deplibs="$deplib $deplibs" + continue + fi + name=`$echo "X$deplib" | $Xsed -e 's/^-l//'` + for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do + # Search the libtool library + lib="$searchdir/lib${name}.la" + if test -f "$lib"; then + found=yes + break + fi + done + if test "$found" != yes; then + # deplib doesn't seem to be a libtool library + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + deplibs="$deplib $deplibs" + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" + fi + continue + fi + ;; # -l + -L*) + case $linkmode in + lib) + deplibs="$deplib $deplibs" + test "$pass" = conv && continue + newdependency_libs="$deplib $newdependency_libs" + newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'` + ;; + prog) + if test "$pass" = conv; then + deplibs="$deplib $deplibs" + continue + fi + if test "$pass" = scan; then + deplibs="$deplib $deplibs" + newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'` + else + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + fi + ;; + *) + $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2 + ;; + esac # linkmode + continue + ;; # -L + -R*) + if test "$pass" = link; then + dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'` + # Make sure the xrpath contains only unique directories. + case "$xrpath " in + *" $dir "*) ;; + *) xrpath="$xrpath $dir" ;; + esac + fi + deplibs="$deplib $deplibs" + continue + ;; + *.la) lib="$deplib" ;; + *.$libext) + if test "$pass" = conv; then + deplibs="$deplib $deplibs" + continue + fi + case $linkmode in + lib) + if test "$deplibs_check_method" != pass_all; then + echo + echo "*** Warning: Trying to link with static lib archive $deplib." + echo "*** I have the capability to make that library automatically link in when" + echo "*** you link to this library. But I can only do this if you have a" + echo "*** shared version of the library, which you do not appear to have" + echo "*** because the file extensions .$libext of this argument makes me believe" + echo "*** that it is just a static archive that I should not used here." + else + echo + echo "*** Warning: Linking the shared library $output against the" + echo "*** static library $deplib is not portable!" + deplibs="$deplib $deplibs" + fi + continue + ;; + prog) + if test "$pass" != link; then + deplibs="$deplib $deplibs" + else + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + fi + continue + ;; + esac # linkmode + ;; # *.$libext + *.lo | *.$objext) + if test "$pass" = conv; then + deplibs="$deplib $deplibs" + elif test "$linkmode" = prog; then + if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then + # If there is no dlopen support or we're linking statically, + # we need to preload. + newdlprefiles="$newdlprefiles $deplib" + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + newdlfiles="$newdlfiles $deplib" + fi + fi + continue + ;; + %DEPLIBS%) + alldeplibs=yes + continue + ;; + esac # case $deplib + if test "$found" = yes || test -f "$lib"; then : + else + $echo "$modename: cannot find the library \`$lib'" 1>&2 + exit 1 + fi + + # Check to see that this really is a libtool archive. + if (${SED} -e '2q' $lib | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : + else + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 + exit 1 + fi + + ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'` + test "X$ladir" = "X$lib" && ladir="." + + dlname= + dlopen= + dlpreopen= + libdir= + library_names= + old_library= + # If the library was installed with an old release of libtool, + # it will not redefine variable installed. + installed=yes + + # Read the .la file + case $lib in + */* | *\\*) . $lib ;; + *) . ./$lib ;; + esac + + if test "$linkmode,$pass" = "lib,link" || + test "$linkmode,$pass" = "prog,scan" || + { test "$linkmode" != prog && test "$linkmode" != lib; }; then + test -n "$dlopen" && dlfiles="$dlfiles $dlopen" + test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen" + fi + + if test "$pass" = conv; then + # Only check for convenience libraries + deplibs="$lib $deplibs" + tmp_libs= + for deplib in $dependency_libs; do + #echo "Adding $deplib to \$deplibs" + deplibs="$deplib $deplibs" + if test "X$duplicate_deps" = "Xyes" ; then + case "$tmp_libs " in + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; + esac + fi + tmp_libs="$tmp_libs $deplib" + done + if test -z "$libdir"; then + if test -z "$old_library"; then + $echo "$modename: cannot find name of link library for \`$lib'" 1>&2 + exit 1 + fi + # It is a libtool convenience library, so add in its objects. + convenience="$convenience $ladir/$objdir/$old_library" + old_convenience="$old_convenience $ladir/$objdir/$old_library" + elif test "$linkmode" != prog && test "$linkmode" != lib; then + $echo "$modename: \`$lib' is not a convenience library" 1>&2 + exit 1 + fi + continue + fi # $pass = conv + + # Get the name of the library we link against. + linklib= + for l in $old_library $library_names; do + linklib="$l" + done + if test -z "$linklib"; then + $echo "$modename: cannot find name of link library for \`$lib'" 1>&2 + exit 1 + fi + + # This library was specified with -dlopen. + if test "$pass" = dlopen; then + if test -z "$libdir"; then + $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2 + exit 1 + fi + if test -z "$dlname" || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then + # If there is no dlname, no dlopen support or we're linking + # statically, we need to preload. We also need to preload any + # dependent libraries so libltdl's deplib preloader doesn't + # bomb out in the load deplibs phase. + dlprefiles="$dlprefiles $lib $dependency_libs" + else + newdlfiles="$newdlfiles $lib" + fi + continue + fi # $pass = dlopen + + # We need an absolute path. + case $ladir in + [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;; + *) + abs_ladir=`cd "$ladir" && pwd` + if test -z "$abs_ladir"; then + $echo "$modename: warning: cannot determine absolute directory name of \`$ladir'" 1>&2 + $echo "$modename: passing it literally to the linker, although it might fail" 1>&2 + abs_ladir="$ladir" + fi + ;; + esac + laname=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` + + # Find the relevant object directory and library name. + if test "X$installed" = Xyes; then + if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then + $echo "$modename: warning: library \`$lib' was moved." 1>&2 + dir="$ladir" + absdir="$abs_ladir" + libdir="$abs_ladir" + else + dir="$libdir" + absdir="$libdir" + fi + else + dir="$ladir/$objdir" + absdir="$abs_ladir/$objdir" + # Remove this search path later + notinst_path="$notinst_path $abs_ladir" + fi # $installed = yes + name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'` + + # This library was specified with -dlpreopen. + if test "$pass" = dlpreopen; then + if test -z "$libdir"; then + $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2 + exit 1 + fi + # Prefer using a static library (so that no silly _DYNAMIC symbols + # are required to link). + if test -n "$old_library"; then + newdlprefiles="$newdlprefiles $dir/$old_library" + # Otherwise, use the dlname, so that lt_dlopen finds it. + elif test -n "$dlname"; then + newdlprefiles="$newdlprefiles $dir/$dlname" + else + newdlprefiles="$newdlprefiles $dir/$linklib" + fi + fi # $pass = dlpreopen + + if test -z "$libdir"; then + # Link the convenience library + if test "$linkmode" = lib; then + deplibs="$dir/$old_library $deplibs" + elif test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$dir/$old_library $compile_deplibs" + finalize_deplibs="$dir/$old_library $finalize_deplibs" + else + deplibs="$lib $deplibs" # used for prog,scan pass + fi + continue + fi + + if test "$linkmode" = prog && test "$pass" != link; then + newlib_search_path="$newlib_search_path $ladir" + deplibs="$lib $deplibs" + + linkalldeplibs=no + if test "$link_all_deplibs" != no || test -z "$library_names" || + test "$build_libtool_libs" = no; then + linkalldeplibs=yes + fi + + tmp_libs= + for deplib in $dependency_libs; do + case $deplib in + -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test + esac + # Need to link against all dependency_libs? + if test "$linkalldeplibs" = yes; then + deplibs="$deplib $deplibs" + else + # Need to hardcode shared library paths + # or/and link against static libraries + newdependency_libs="$deplib $newdependency_libs" + fi + if test "X$duplicate_deps" = "Xyes" ; then + case "$tmp_libs " in + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; + esac + fi + tmp_libs="$tmp_libs $deplib" + done # for deplib + continue + fi # $linkmode = prog... + + if test "$linkmode,$pass" = "prog,link"; then + if test -n "$library_names" && + { test "$prefer_static_libs" = no || test -z "$old_library"; }; then + # We need to hardcode the library path + if test -n "$shlibpath_var"; then + # Make sure the rpath contains only unique directories. + case "$temp_rpath " in + *" $dir "*) ;; + *" $absdir "*) ;; + *) temp_rpath="$temp_rpath $dir" ;; + esac + fi + + # Hardcode the library path. + # Skip directories that are in the system default run-time + # search path. + case " $sys_lib_dlsearch_path " in + *" $absdir "*) ;; + *) + case "$compile_rpath " in + *" $absdir "*) ;; + *) compile_rpath="$compile_rpath $absdir" + esac + ;; + esac + case " $sys_lib_dlsearch_path " in + *" $libdir "*) ;; + *) + case "$finalize_rpath " in + *" $libdir "*) ;; + *) finalize_rpath="$finalize_rpath $libdir" + esac + ;; + esac + fi # $linkmode,$pass = prog,link... + + if test "$alldeplibs" = yes && + { test "$deplibs_check_method" = pass_all || + { test "$build_libtool_libs" = yes && + test -n "$library_names"; }; }; then + # We only need to search for static libraries + continue + fi + fi + + link_static=no # Whether the deplib will be linked statically + if test -n "$library_names" && + { test "$prefer_static_libs" = no || test -z "$old_library"; }; then + if test "$installed" = no; then + notinst_deplibs="$notinst_deplibs $lib" + need_relink=yes + fi + # This is a shared library + if test "$linkmode" = lib && + test "$hardcode_into_libs" = yes; then + # Hardcode the library path. + # Skip directories that are in the system default run-time + # search path. + case " $sys_lib_dlsearch_path " in + *" $absdir "*) ;; + *) + case "$compile_rpath " in + *" $absdir "*) ;; + *) compile_rpath="$compile_rpath $absdir" + esac + ;; + esac + case " $sys_lib_dlsearch_path " in + *" $libdir "*) ;; + *) + case "$finalize_rpath " in + *" $libdir "*) ;; + *) finalize_rpath="$finalize_rpath $libdir" + esac + ;; + esac + fi + + if test -n "$old_archive_from_expsyms_cmds"; then + # figure out the soname + set dummy $library_names + realname="$2" + shift; shift + libname=`eval \\$echo \"$libname_spec\"` + # use dlname if we got it. it's perfectly good, no? + if test -n "$dlname"; then + soname="$dlname" + elif test -n "$soname_spec"; then + # bleh windows + case $host in + *cygwin*) + major=`expr $current - $age` + versuffix="-$major" + ;; + esac + eval soname=\"$soname_spec\" + else + soname="$realname" + fi + + # Make a new name for the extract_expsyms_cmds to use + soroot="$soname" + soname=`echo $soroot | ${SED} -e 's/^.*\///'` + newlib="libimp-`echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a" + + # If the library has no export list, then create one now + if test -f "$output_objdir/$soname-def"; then : + else + $show "extracting exported symbol list from \`$soname'" + save_ifs="$IFS"; IFS='~' + eval cmds=\"$extract_expsyms_cmds\" + for cmd in $cmds; do + IFS="$save_ifs" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + fi + + # Create $newlib + if test -f "$output_objdir/$newlib"; then :; else + $show "generating import library for \`$soname'" + save_ifs="$IFS"; IFS='~' + eval cmds=\"$old_archive_from_expsyms_cmds\" + for cmd in $cmds; do + IFS="$save_ifs" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + fi + # make sure the library variables are pointing to the new library + dir=$output_objdir + linklib=$newlib + fi # test -n "$old_archive_from_expsyms_cmds" + + if test "$linkmode" = prog || test "$mode" != relink; then + add_shlibpath= + add_dir= + add= + lib_linked=yes + case $hardcode_action in + immediate | unsupported) + if test "$hardcode_direct" = no; then + add="$dir/$linklib" + elif test "$hardcode_minus_L" = no; then + case $host in + *-*-sunos*) add_shlibpath="$dir" ;; + esac + add_dir="-L$dir" + add="-l$name" + elif test "$hardcode_shlibpath_var" = no; then + add_shlibpath="$dir" + add="-l$name" + else + lib_linked=no + fi + ;; + relink) + if test "$hardcode_direct" = yes; then + add="$dir/$linklib" + elif test "$hardcode_minus_L" = yes; then + add_dir="-L$dir" + add="-l$name" + elif test "$hardcode_shlibpath_var" = yes; then + add_shlibpath="$dir" + add="-l$name" + else + lib_linked=no + fi + ;; + *) lib_linked=no ;; + esac + + if test "$lib_linked" != yes; then + $echo "$modename: configuration error: unsupported hardcode properties" + exit 1 + fi + + if test -n "$add_shlibpath"; then + case :$compile_shlibpath: in + *":$add_shlibpath:"*) ;; + *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;; + esac + fi + if test "$linkmode" = prog; then + test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs" + test -n "$add" && compile_deplibs="$add $compile_deplibs" + else + test -n "$add_dir" && deplibs="$add_dir $deplibs" + test -n "$add" && deplibs="$add $deplibs" + if test "$hardcode_direct" != yes && \ + test "$hardcode_minus_L" != yes && \ + test "$hardcode_shlibpath_var" = yes; then + case :$finalize_shlibpath: in + *":$libdir:"*) ;; + *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; + esac + fi + fi + fi + + if test "$linkmode" = prog || test "$mode" = relink; then + add_shlibpath= + add_dir= + add= + # Finalize command for both is simple: just hardcode it. + if test "$hardcode_direct" = yes; then + add="$libdir/$linklib" + elif test "$hardcode_minus_L" = yes; then + add_dir="-L$libdir" + add="-l$name" + elif test "$hardcode_shlibpath_var" = yes; then + case :$finalize_shlibpath: in + *":$libdir:"*) ;; + *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; + esac + add="-l$name" + else + # We cannot seem to hardcode it, guess we'll fake it. + add_dir="-L$libdir" + add="-l$name" + fi + + if test "$linkmode" = prog; then + test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs" + test -n "$add" && finalize_deplibs="$add $finalize_deplibs" + else + test -n "$add_dir" && deplibs="$add_dir $deplibs" + test -n "$add" && deplibs="$add $deplibs" + fi + fi + elif test "$linkmode" = prog; then + # Here we assume that one of hardcode_direct or hardcode_minus_L + # is not unsupported. This is valid on all known static and + # shared platforms. + if test "$hardcode_direct" != unsupported; then + test -n "$old_library" && linklib="$old_library" + compile_deplibs="$dir/$linklib $compile_deplibs" + finalize_deplibs="$dir/$linklib $finalize_deplibs" + else + compile_deplibs="-l$name -L$dir $compile_deplibs" + finalize_deplibs="-l$name -L$dir $finalize_deplibs" + fi + elif test "$build_libtool_libs" = yes; then + # Not a shared library + if test "$deplibs_check_method" != pass_all; then + # We're trying link a shared library against a static one + # but the system doesn't support it. + + # Just print a warning and add the library to dependency_libs so + # that the program can be linked against the static library. + echo + echo "*** Warning: This system can not link to static lib archive $lib." + echo "*** I have the capability to make that library automatically link in when" + echo "*** you link to this library. But I can only do this if you have a" + echo "*** shared version of the library, which you do not appear to have." + if test "$module" = yes; then + echo "*** But as you try to build a module library, libtool will still create " + echo "*** a static module, that should work as long as the dlopening application" + echo "*** is linked with the -dlopen flag to resolve symbols at runtime." + if test -z "$global_symbol_pipe"; then + echo + echo "*** However, this would only work if libtool was able to extract symbol" + echo "*** lists from a program, using \`nm' or equivalent, but libtool could" + echo "*** not find such a program. So, this module is probably useless." + echo "*** \`nm' from GNU binutils and a full rebuild may help." + fi + if test "$build_old_libs" = no; then + build_libtool_libs=module + build_old_libs=yes + else + build_libtool_libs=no + fi + fi + else + convenience="$convenience $dir/$old_library" + old_convenience="$old_convenience $dir/$old_library" + deplibs="$dir/$old_library $deplibs" + link_static=yes + fi + fi # link shared/static library? + + if test "$linkmode" = lib; then + #if test -n "$dependency_libs" && + # { test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes || + # test "$link_static" = yes; }; then + # Extract -R from dependency_libs + temp_deplibs= + for libdir in $dependency_libs; do + case $libdir in + -R*) temp_xrpath=`$echo "X$libdir" | $Xsed -e 's/^-R//'` + case " $xrpath " in + *" $temp_xrpath "*) ;; + *) xrpath="$xrpath $temp_xrpath";; + esac;; + *) temp_deplibs="$temp_deplibs $libdir";; + esac + done + dependency_libs="$temp_deplibs" + #fi + + newlib_search_path="$newlib_search_path $absdir" + # Link against this library + test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs" + # ... and its dependency_libs + tmp_libs= + for deplib in $dependency_libs; do + newdependency_libs="$deplib $newdependency_libs" + if test "X$duplicate_deps" = "Xyes" ; then + case "$tmp_libs " in + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; + esac + fi + tmp_libs="$tmp_libs $deplib" + done + + if test "$link_all_deplibs" != no; then + # Add the search paths of all dependency libraries + for deplib in $dependency_libs; do + case $deplib in + -L*) path="$deplib" ;; + *.la) + dir=`$echo "X$deplib" | $Xsed -e 's%/[^/]*$%%'` + test "X$dir" = "X$deplib" && dir="." + # We need an absolute path. + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;; + *) + absdir=`cd "$dir" && pwd` + if test -z "$absdir"; then + $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2 + absdir="$dir" + fi + ;; + esac + if grep "^installed=no" $deplib > /dev/null; then + path="-L$absdir/$objdir" + else + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` + if test -z "$libdir"; then + $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2 + exit 1 + fi + path="-L$absdir" + fi + ;; + *) continue ;; + esac + case " $deplibs " in + *" $path "*) ;; + *) deplibs="$deplibs $path" ;; + esac + done + fi # link_all_deplibs != no + fi # linkmode = lib + done # for deplib in $libs + dependency_libs="$newdependency_libs" + if test "$pass" = dlpreopen; then + # Link the dlpreopened libraries before other libraries + for deplib in $save_deplibs; do + deplibs="$deplib $deplibs" + done + fi + if test "$pass" != dlopen; then + if test "$pass" != conv; then + # Make sure lib_search_path contains only unique directories. + lib_search_path= + for dir in $newlib_search_path; do + case "$lib_search_path " in + *" $dir "*) ;; + *) lib_search_path="$lib_search_path $dir" ;; + esac + done + newlib_search_path= + fi + + if test "$linkmode,$pass" != "prog,link"; then + vars="deplibs" + else + vars="compile_deplibs finalize_deplibs" + fi + for var in $vars dependency_libs; do + # Add libraries to $var in reverse order + eval tmp_libs=\"\$$var\" + new_libs= + for deplib in $tmp_libs; do + # FIXME: Pedantically, this is the right thing to do, so + # that some nasty dependency loop isn't accidentally + # broken: + #new_libs="$deplib $new_libs" + # Pragmatically, this seems to cause very few problems in + # practice: + case $deplib in + -L*) new_libs="$deplib $new_libs" ;; + *) + # And here is the reason: when a library appears more + # than once as an explicit dependence of a library, or + # is implicitly linked in more than once by the + # compiler, it is considered special, and multiple + # occurrences thereof are not removed. Compare this + # with having the same library being listed as a + # dependency of multiple other libraries: in this case, + # we know (pedantically, we assume) the library does not + # need to be listed more than once, so we keep only the + # last copy. This is not always right, but it is rare + # enough that we require users that really mean to play + # such unportable linking tricks to link the library + # using -Wl,-lname, so that libtool does not consider it + # for duplicate removal. + case " $specialdeplibs " in + *" $deplib "*) new_libs="$deplib $new_libs" ;; + *) + case " $new_libs " in + *" $deplib "*) ;; + *) new_libs="$deplib $new_libs" ;; + esac + ;; + esac + ;; + esac + done + tmp_libs= + for deplib in $new_libs; do + case $deplib in + -L*) + case " $tmp_libs " in + *" $deplib "*) ;; + *) tmp_libs="$tmp_libs $deplib" ;; + esac + ;; + -R*) + temp_xrpath=`$echo "X$deplib" | $Xsed -e 's/^-R//'` + case " $xrpath " in + *" $temp_xrpath "*) ;; + *) xrpath="$xrpath $temp_xrpath";; + esac;; + *) tmp_libs="$tmp_libs $deplib" ;; + esac + done + eval $var=\"$tmp_libs\" + done # for var + fi + done # for pass + if test "$linkmode" = prog; then + dlfiles="$newdlfiles" + dlprefiles="$newdlprefiles" + fi + + case $linkmode in + oldlib) + if test -n "$deplibs"; then + $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2 + fi + + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then + $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2 + fi + + if test -n "$rpath"; then + $echo "$modename: warning: \`-rpath' is ignored for archives" 1>&2 + fi + + if test -n "$xrpath"; then + $echo "$modename: warning: \`-R' is ignored for archives" 1>&2 + fi + + if test -n "$vinfo"; then + $echo "$modename: warning: \`-version-info' is ignored for archives" 1>&2 + fi + + if test -n "$release"; then + $echo "$modename: warning: \`-release' is ignored for archives" 1>&2 + fi + + if test -n "$export_symbols" || test -n "$export_symbols_regex"; then + $echo "$modename: warning: \`-export-symbols' is ignored for archives" 1>&2 + fi + + # Now set the variables for building old libraries. + build_libtool_libs=no + oldlibs="$output" + objs="$objs$old_deplibs" + ;; + + lib) + # Make sure we only generate libraries of the form `libNAME.la'. + case $outputname in + lib*) + name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'` + eval libname=\"$libname_spec\" + ;; + *) + if test "$module" = no; then + $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2 + $echo "$help" 1>&2 + exit 1 + fi + if test "$need_lib_prefix" != no; then + # Add the "lib" prefix for modules if required + name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'` + eval libname=\"$libname_spec\" + else + libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'` + fi + ;; + esac + + if test -n "$objs"; then + if test "$deplibs_check_method" != pass_all; then + $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1 + exit 1 + else + echo + echo "*** Warning: Linking the shared library $output against the non-libtool" + echo "*** objects $objs is not portable!" + libobjs="$libobjs $objs" + fi + fi + + if test "$dlself" != no; then + $echo "$modename: warning: \`-dlopen self' is ignored for libtool libraries" 1>&2 + fi + + set dummy $rpath + if test "$#" -gt 2; then + $echo "$modename: warning: ignoring multiple \`-rpath's for a libtool library" 1>&2 + fi + install_libdir="$2" + + oldlibs= + if test -z "$rpath"; then + if test "$build_libtool_libs" = yes; then + # Building a libtool convenience library. + # Some compilers have problems with a `.al' extension so + # convenience libraries should have the same extension an + # archive normally would. + oldlibs="$output_objdir/$libname.$libext $oldlibs" + build_libtool_libs=convenience + build_old_libs=yes + fi + + if test -n "$vinfo"; then + $echo "$modename: warning: \`-version-info' is ignored for convenience libraries" 1>&2 + fi + + if test -n "$release"; then + $echo "$modename: warning: \`-release' is ignored for convenience libraries" 1>&2 + fi + else + + # Parse the version information argument. + save_ifs="$IFS"; IFS=':' + set dummy $vinfo 0 0 0 + IFS="$save_ifs" + + if test -n "$8"; then + $echo "$modename: too many parameters to \`-version-info'" 1>&2 + $echo "$help" 1>&2 + exit 1 + fi + + current="$2" + revision="$3" + age="$4" + + # Check that each of the things are valid numbers. + case $current in + 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;; + *) + $echo "$modename: CURRENT \`$current' is not a nonnegative integer" 1>&2 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2 + exit 1 + ;; + esac + + case $revision in + 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;; + *) + $echo "$modename: REVISION \`$revision' is not a nonnegative integer" 1>&2 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2 + exit 1 + ;; + esac + + case $age in + 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;; + *) + $echo "$modename: AGE \`$age' is not a nonnegative integer" 1>&2 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2 + exit 1 + ;; + esac + + if test "$age" -gt "$current"; then + $echo "$modename: AGE \`$age' is greater than the current interface number \`$current'" 1>&2 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2 + exit 1 + fi + + # Calculate the version variables. + major= + versuffix= + verstring= + case $version_type in + none) ;; + + darwin) + # Like Linux, but with the current version available in + # verstring for coding it into the library header + major=.`expr $current - $age` + versuffix="$major.$age.$revision" + # Darwin ld doesn't like 0 for these options... + minor_current=`expr $current + 1` + verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" + ;; + + freebsd-aout) + major=".$current" + versuffix=".$current.$revision"; + ;; + + freebsd-elf) + major=".$current" + versuffix=".$current"; + ;; + + irix | nonstopux) + case $version_type in + nonstopux) verstring_prefix=nonstopux ;; + *) verstring_prefix=sgi ;; + esac + verstring="$verstring_prefix$major.$revision" + + major=`expr $current - $age + 1` + + # Add in all the interfaces that we are compatible with. + loop=$revision + while test "$loop" -ne 0; do + iface=`expr $revision - $loop` + loop=`expr $loop - 1` + verstring="$verstring_prefix$major.$iface:$verstring" + done + + # Before this point, $major must not contain `.'. + major=.$major + versuffix="$major.$revision" + ;; + + linux) + major=.`expr $current - $age` + versuffix="$major.$age.$revision" + ;; + + osf) + major=`expr $current - $age` + versuffix=".$current.$age.$revision" + verstring="$current.$age.$revision" + + # Add in all the interfaces that we are compatible with. + loop=$age + while test "$loop" -ne 0; do + iface=`expr $current - $loop` + loop=`expr $loop - 1` + verstring="$verstring:${iface}.0" + done + + # Make executables depend on our current version. + verstring="$verstring:${current}.0" + ;; + + sunos) + major=".$current" + versuffix=".$current.$revision" + ;; + + windows) + # Use '-' rather than '.', since we only want one + # extension on DOS 8.3 filesystems. + major=`expr $current - $age` + versuffix="-$major" + ;; + + *) + $echo "$modename: unknown library version type \`$version_type'" 1>&2 + echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 + exit 1 + ;; + esac + + # Clear the version info if we defaulted, and they specified a release. + if test -z "$vinfo" && test -n "$release"; then + major= + case $version_type in + darwin) + # we can't check for "0.0" in archive_cmds due to quoting + # problems, so we reset it completely + verstring= + ;; + *) + verstring="0.0" + ;; + esac + if test "$need_version" = no; then + versuffix= + else + versuffix=".0.0" + fi + fi + + # Remove version info from name if versioning should be avoided + if test "$avoid_version" = yes && test "$need_version" = no; then + major= + versuffix= + verstring="" + fi + + # Check to see if the archive will have undefined symbols. + if test "$allow_undefined" = yes; then + if test "$allow_undefined_flag" = unsupported; then + $echo "$modename: warning: undefined symbols not allowed in $host shared libraries" 1>&2 + build_libtool_libs=no + build_old_libs=yes + fi + else + # Don't allow undefined symbols. + allow_undefined_flag="$no_undefined_flag" + fi + fi + + if test "$mode" != relink; then + # Remove our outputs, but don't remove object files since they + # may have been created when compiling PIC objects. + removelist= + tempremovelist=`echo "$output_objdir/*"` + for p in $tempremovelist; do + case $p in + *.$objext) + ;; + $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*) + removelist="$removelist $p" + ;; + *) ;; + esac + done + if test -n "$removelist"; then + $show "${rm}r $removelist" + $run ${rm}r $removelist + fi + fi + + # Now set the variables for building old libraries. + if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then + oldlibs="$oldlibs $output_objdir/$libname.$libext" + + # Transform .lo files to .o files. + oldobjs="$objs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP` + fi + + # Eliminate all temporary directories. + for path in $notinst_path; do + lib_search_path=`echo "$lib_search_path " | ${SED} -e 's% $path % %g'` + deplibs=`echo "$deplibs " | ${SED} -e 's% -L$path % %g'` + dependency_libs=`echo "$dependency_libs " | ${SED} -e 's% -L$path % %g'` + done + + if test -n "$xrpath"; then + # If the user specified any rpath flags, then add them. + temp_xrpath= + for libdir in $xrpath; do + temp_xrpath="$temp_xrpath -R$libdir" + case "$finalize_rpath " in + *" $libdir "*) ;; + *) finalize_rpath="$finalize_rpath $libdir" ;; + esac + done + if true || test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then + dependency_libs="$temp_xrpath $dependency_libs" + fi + fi + + # Make sure dlfiles contains only unique files that won't be dlpreopened + old_dlfiles="$dlfiles" + dlfiles= + for lib in $old_dlfiles; do + case " $dlprefiles $dlfiles " in + *" $lib "*) ;; + *) dlfiles="$dlfiles $lib" ;; + esac + done + + # Make sure dlprefiles contains only unique files + old_dlprefiles="$dlprefiles" + dlprefiles= + for lib in $old_dlprefiles; do + case "$dlprefiles " in + *" $lib "*) ;; + *) dlprefiles="$dlprefiles $lib" ;; + esac + done + + if test "$build_libtool_libs" = yes; then + if test -n "$rpath"; then + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*) + # these systems don't actually have a c library (as such)! + ;; + *-*-rhapsody* | *-*-darwin1.[012]) + # Rhapsody C library is in the System framework + deplibs="$deplibs -framework System" + ;; + *-*-netbsd*) + # Don't link with libc until the a.out ld.so is fixed. + ;; + *-*-openbsd* | *-*-freebsd*) + # Do not include libc due to us having libc/libc_r. + test "X$arg" = "X-lc" && continue + ;; + *) + # Add libc to deplibs on all other systems if necessary. + if test "$build_libtool_need_lc" = "yes"; then + deplibs="$deplibs -lc" + fi + ;; + esac + fi + + # Transform deplibs into only deplibs that can be linked in shared. + name_save=$name + libname_save=$libname + release_save=$release + versuffix_save=$versuffix + major_save=$major + # I'm not sure if I'm treating the release correctly. I think + # release should show up in the -l (ie -lgmp5) so we don't want to + # add it in twice. Is that correct? + release="" + versuffix="" + major="" + newdeplibs= + droppeddeps=no + case $deplibs_check_method in + pass_all) + # Don't check for shared/static. Everything works. + # This might be a little naive. We might want to check + # whether the library exists or not. But this is on + # osf3 & osf4 and I'm not really sure... Just + # implementing what was already the behaviour. + newdeplibs=$deplibs + ;; + test_compile) + # This code stresses the "libraries are programs" paradigm to its + # limits. Maybe even breaks it. We compile a program, linking it + # against the deplibs as a proxy for the library. Then we can check + # whether they linked in statically or dynamically with ldd. + $rm conftest.c + cat > conftest.c </dev/null` + for potent_lib in $potential_libs; do + # Follow soft links. + if ls -lLd "$potent_lib" 2>/dev/null \ + | grep " -> " >/dev/null; then + continue + fi + # The statement above tries to avoid entering an + # endless loop below, in case of cyclic links. + # We might still enter an endless loop, since a link + # loop can be closed while we follow links, + # but so what? + potlib="$potent_lib" + while test -h "$potlib" 2>/dev/null; do + potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'` + case $potliblink in + [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";; + *) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";; + esac + done + if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \ + | ${SED} 10q \ + | egrep "$file_magic_regex" > /dev/null; then + newdeplibs="$newdeplibs $a_deplib" + a_deplib="" + break 2 + fi + done + done + if test -n "$a_deplib" ; then + droppeddeps=yes + echo + echo "*** Warning: linker path does not have real file for library $a_deplib." + echo "*** I have the capability to make that library automatically link in when" + echo "*** you link to this library. But I can only do this if you have a" + echo "*** shared version of the library, which you do not appear to have" + echo "*** because I did check the linker path looking for a file starting" + if test -z "$potlib" ; then + echo "*** with $libname but no candidates were found. (...for file magic test)" + else + echo "*** with $libname and none of the candidates passed a file format test" + echo "*** using a file magic. Last file checked: $potlib" + fi + fi + else + # Add a -L argument. + newdeplibs="$newdeplibs $a_deplib" + fi + done # Gone through all deplibs. + ;; + match_pattern*) + set dummy $deplibs_check_method + match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"` + for a_deplib in $deplibs; do + name="`expr $a_deplib : '-l\(.*\)'`" + # If $name is empty we are operating on a -L argument. + if test -n "$name" && test "$name" != "0"; then + libname=`eval \\$echo \"$libname_spec\"` + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do + potential_libs=`ls $i/$libname[.-]* 2>/dev/null` + for potent_lib in $potential_libs; do + potlib="$potent_lib" # see symlink-check above in file_magic test + if eval echo \"$potent_lib\" 2>/dev/null \ + | ${SED} 10q \ + | egrep "$match_pattern_regex" > /dev/null; then + newdeplibs="$newdeplibs $a_deplib" + a_deplib="" + break 2 + fi + done + done + if test -n "$a_deplib" ; then + droppeddeps=yes + echo + echo "*** Warning: linker path does not have real file for library $a_deplib." + echo "*** I have the capability to make that library automatically link in when" + echo "*** you link to this library. But I can only do this if you have a" + echo "*** shared version of the library, which you do not appear to have" + echo "*** because I did check the linker path looking for a file starting" + if test -z "$potlib" ; then + echo "*** with $libname but no candidates were found. (...for regex pattern test)" + else + echo "*** with $libname and none of the candidates passed a file format test" + echo "*** using a regex pattern. Last file checked: $potlib" + fi + fi + else + # Add a -L argument. + newdeplibs="$newdeplibs $a_deplib" + fi + done # Gone through all deplibs. + ;; + none | unknown | *) + newdeplibs="" + if $echo "X $deplibs" | $Xsed -e 's/ -lc$//' \ + -e 's/ -[LR][^ ]*//g' -e 's/[ ]//g' | + grep . >/dev/null; then + echo + if test "X$deplibs_check_method" = "Xnone"; then + echo "*** Warning: inter-library dependencies are not supported in this platform." + else + echo "*** Warning: inter-library dependencies are not known to be supported." + fi + echo "*** All declared inter-library dependencies are being dropped." + droppeddeps=yes + fi + ;; + esac + versuffix=$versuffix_save + major=$major_save + release=$release_save + libname=$libname_save + name=$name_save + + case $host in + *-*-rhapsody* | *-*-darwin1.[012]) + # On Rhapsody replace the C library is the System framework + newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's/ -lc / -framework System /'` + ;; + esac + + if test "$droppeddeps" = yes; then + if test "$module" = yes; then + echo + echo "*** Warning: libtool could not satisfy all declared inter-library" + echo "*** dependencies of module $libname. Therefore, libtool will create" + echo "*** a static module, that should work as long as the dlopening" + echo "*** application is linked with the -dlopen flag." + if test -z "$global_symbol_pipe"; then + echo + echo "*** However, this would only work if libtool was able to extract symbol" + echo "*** lists from a program, using \`nm' or equivalent, but libtool could" + echo "*** not find such a program. So, this module is probably useless." + echo "*** \`nm' from GNU binutils and a full rebuild may help." + fi + if test "$build_old_libs" = no; then + oldlibs="$output_objdir/$libname.$libext" + build_libtool_libs=module + build_old_libs=yes + else + build_libtool_libs=no + fi + else + echo "*** The inter-library dependencies that have been dropped here will be" + echo "*** automatically added whenever a program is linked with this library" + echo "*** or is declared to -dlopen it." + + if test "$allow_undefined" = no; then + echo + echo "*** Since this library must not contain undefined symbols," + echo "*** because either the platform does not support them or" + echo "*** it was explicitly requested with -no-undefined," + echo "*** libtool will only create a static version of it." + if test "$build_old_libs" = no; then + oldlibs="$output_objdir/$libname.$libext" + build_libtool_libs=module + build_old_libs=yes + else + build_libtool_libs=no + fi + fi + fi + fi + # Done checking deplibs! + deplibs=$newdeplibs + fi + + # All the library-specific variables (install_libdir is set above). + library_names= + old_library= + dlname= + + # Test again, we may have decided not to build it any more + if test "$build_libtool_libs" = yes; then + if test "$hardcode_into_libs" = yes; then + # Hardcode the library paths + hardcode_libdirs= + dep_rpath= + rpath="$finalize_rpath" + test "$mode" != relink && test "$fast_install" = no && rpath="$compile_rpath$rpath" + for libdir in $rpath; do + if test -n "$hardcode_libdir_flag_spec"; then + if test -n "$hardcode_libdir_separator"; then + if test -z "$hardcode_libdirs"; then + hardcode_libdirs="$libdir" + else + # Just accumulate the unique libdirs. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) + ;; + *) + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" + ;; + esac + fi + else + eval flag=\"$hardcode_libdir_flag_spec\" + dep_rpath="$dep_rpath $flag" + fi + elif test -n "$runpath_var"; then + case "$perm_rpath " in + *" $libdir "*) ;; + *) perm_rpath="$perm_rpath $libdir" ;; + esac + fi + done + # Substitute the hardcoded libdirs into the rpath. + if test -n "$hardcode_libdir_separator" && + test -n "$hardcode_libdirs"; then + libdir="$hardcode_libdirs" + eval dep_rpath=\"$hardcode_libdir_flag_spec\" + fi + if test -n "$runpath_var" && test -n "$perm_rpath"; then + # We should set the runpath_var. + rpath= + for dir in $perm_rpath; do + rpath="$rpath$dir:" + done + eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var" + fi + test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs" + fi + + shlibpath="$finalize_shlibpath" + test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath" + if test -n "$shlibpath"; then + eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var" + fi + + # Get the real and link names of the library. + eval library_names=\"$library_names_spec\" + set dummy $library_names + realname="$2" + shift; shift + + if test -n "$soname_spec"; then + eval soname=\"$soname_spec\" + else + soname="$realname" + fi + if test -z "$dlname"; then + dlname=$soname + fi + + lib="$output_objdir/$realname" + for link + do + linknames="$linknames $link" + done + + # Use standard objects if they are pic + test -z "$pic_flag" && libobjs=`$echo "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` + + # Prepare the list of exported symbols + if test -z "$export_symbols"; then + if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then + $show "generating symbol list for \`$libname.la'" + export_symbols="$output_objdir/$libname.exp" + $run $rm $export_symbols + eval cmds=\"$export_symbols_cmds\" + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + if test -n "$export_symbols_regex"; then + $show "egrep -e \"$export_symbols_regex\" \"$export_symbols\" > \"${export_symbols}T\"" + $run eval 'egrep -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' + $show "$mv \"${export_symbols}T\" \"$export_symbols\"" + $run eval '$mv "${export_symbols}T" "$export_symbols"' + fi + fi + fi + + if test -n "$export_symbols" && test -n "$include_expsyms"; then + $run eval '$echo "X$include_expsyms" | $SP2NL >> "$export_symbols"' + fi + + if test -n "$convenience"; then + if test -n "$whole_archive_flag_spec"; then + save_libobjs=$libobjs + eval libobjs=\"\$libobjs $whole_archive_flag_spec\" + else + gentop="$output_objdir/${outputname}x" + $show "${rm}r $gentop" + $run ${rm}r "$gentop" + $show "$mkdir $gentop" + $run $mkdir "$gentop" + status=$? + if test "$status" -ne 0 && test ! -d "$gentop"; then + exit $status + fi + generated="$generated $gentop" + + for xlib in $convenience; do + # Extract the objects. + case $xlib in + [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;; + *) xabs=`pwd`"/$xlib" ;; + esac + xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'` + xdir="$gentop/$xlib" + + $show "${rm}r $xdir" + $run ${rm}r "$xdir" + $show "$mkdir $xdir" + $run $mkdir "$xdir" + status=$? + if test "$status" -ne 0 && test ! -d "$xdir"; then + exit $status + fi + $show "(cd $xdir && $AR x $xabs)" + $run eval "(cd \$xdir && $AR x \$xabs)" || exit $? + + libobjs="$libobjs "`find $xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP` + done + fi + fi + + if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then + eval flag=\"$thread_safe_flag_spec\" + linker_flags="$linker_flags $flag" + fi + + # Make a backup of the uninstalled library when relinking + if test "$mode" = relink; then + $run eval '(cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)' || exit $? + fi + + # Add all flags from the command line. We here create a library, + # but those flags were only added to compile_command and + # finalize_command, which are only used when creating executables. + # So do it by hand here. + compiler_flags="$compiler_flags $add_flags" + # Only add it to commands which use CC, instead of LD, i.e. + # only to $compiler_flags + #linker_flags="$linker_flags $add_flags" + + # Do each of the archive commands. + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then + eval cmds=\"$archive_expsym_cmds\" + else + eval cmds=\"$archive_cmds\" + fi + + if len=`expr "X$cmds" : ".*"` && + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then + : + else + # The command line is too long to link in one step, link piecewise. + $echo "creating reloadable object files..." + + # Save the value of $output and $libobjs because we want to + # use them later. If we have whole_archive_flag_spec, we + # want to use save_libobjs as it was before + # whole_archive_flag_spec was expanded, because we can't + # assume the linker understands whole_archive_flag_spec. + # This may have to be revisited, in case too many + # convenience libraries get linked in and end up exceeding + # the spec. + if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then + save_libobjs=$libobjs + fi + save_output=$output + + # Clear the reloadable object creation command queue and + # initialize k to one. + test_cmds= + concat_cmds= + objlist= + delfiles= + last_robj= + k=1 + output=$output_objdir/$save_output-${k}.$objext + # Loop over the list of objects to be linked. + for obj in $save_libobjs + do + eval test_cmds=\"$reload_cmds $objlist $last_robj\" + if test "X$objlist" = X || + { len=`expr "X$test_cmds" : ".*"` && + test "$len" -le "$max_cmd_len"; }; then + objlist="$objlist $obj" + else + # The command $test_cmds is almost too long, add a + # command to the queue. + if test "$k" -eq 1 ; then + # The first file doesn't have a previous command to add. + eval concat_cmds=\"$reload_cmds $objlist $last_robj\" + else + # All subsequent reloadable object files will link in + # the last one created. + eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj\" + fi + last_robj=$output_objdir/$save_output-${k}.$objext + k=`expr $k + 1` + output=$output_objdir/$save_output-${k}.$objext + objlist=$obj + len=1 + fi + done + # Handle the remaining objects by creating one last + # reloadable object file. All subsequent reloadable object + # files will link in the last one created. + test -z "$concat_cmds" || concat_cmds=$concat_cmds~ + eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\" + + # Set up a command to remove the reloadale object files + # after they are used. + i=0 + while test "$i" -lt "$k" + do + i=`expr $i + 1` + delfiles="$delfiles $output_objdir/$save_output-${i}.$objext" + done + + $echo "creating a temporary reloadable object file: $output" + + # Loop through the commands generated above and execute them. + save_ifs="$IFS"; IFS='~' + for cmd in $concat_cmds; do + IFS="$save_ifs" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + + libobjs=$output + # Restore the value of output. + output=$save_output + + if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then + eval libobjs=\"\$libobjs $whole_archive_flag_spec\" + fi + # Expand the library linking commands again to reset the + # value of $libobjs for piecewise linking. + + # Do each of the archive commands. + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then + eval cmds=\"$archive_expsym_cmds\" + else + eval cmds=\"$archive_cmds\" + fi + + # Append the command to remove the reloadable object files + # to the just-reset $cmds. + eval cmds=\"\$cmds~$rm $delfiles\" + fi + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + + # Restore the uninstalled library and exit + if test "$mode" = relink; then + $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $? + exit 0 + fi + + # Create links to the real library. + for linkname in $linknames; do + if test "$realname" != "$linkname"; then + $show "(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)" + $run eval '(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)' || exit $? + fi + done + + # If -module or -export-dynamic was specified, set the dlname. + if test "$module" = yes || test "$export_dynamic" = yes; then + # On all known operating systems, these are identical. + dlname="$soname" + fi + fi + ;; + + obj) + if test -n "$deplibs"; then + $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2 + fi + + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then + $echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2 + fi + + if test -n "$rpath"; then + $echo "$modename: warning: \`-rpath' is ignored for objects" 1>&2 + fi + + if test -n "$xrpath"; then + $echo "$modename: warning: \`-R' is ignored for objects" 1>&2 + fi + + if test -n "$vinfo"; then + $echo "$modename: warning: \`-version-info' is ignored for objects" 1>&2 + fi + + if test -n "$release"; then + $echo "$modename: warning: \`-release' is ignored for objects" 1>&2 + fi + + case $output in + *.lo) + if test -n "$objs$old_deplibs"; then + $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2 + exit 1 + fi + libobj="$output" + obj=`$echo "X$output" | $Xsed -e "$lo2o"` + ;; + *) + libobj= + obj="$output" + ;; + esac + + # Delete the old objects. + $run $rm $obj $libobj + + # Objects from convenience libraries. This assumes + # single-version convenience libraries. Whenever we create + # different ones for PIC/non-PIC, this we'll have to duplicate + # the extraction. + reload_conv_objs= + gentop= + # reload_cmds runs $LD directly, so let us get rid of + # -Wl from whole_archive_flag_spec + wl= + + if test -n "$convenience"; then + if test -n "$whole_archive_flag_spec"; then + eval reload_conv_objs=\"\$reload_objs $whole_archive_flag_spec\" + else + gentop="$output_objdir/${obj}x" + $show "${rm}r $gentop" + $run ${rm}r "$gentop" + $show "$mkdir $gentop" + $run $mkdir "$gentop" + status=$? + if test "$status" -ne 0 && test ! -d "$gentop"; then + exit $status + fi + generated="$generated $gentop" + + for xlib in $convenience; do + # Extract the objects. + case $xlib in + [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;; + *) xabs=`pwd`"/$xlib" ;; + esac + xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'` + xdir="$gentop/$xlib" + + $show "${rm}r $xdir" + $run ${rm}r "$xdir" + $show "$mkdir $xdir" + $run $mkdir "$xdir" + status=$? + if test "$status" -ne 0 && test ! -d "$xdir"; then + exit $status + fi + $show "(cd $xdir && $AR x $xabs)" + $run eval "(cd \$xdir && $AR x \$xabs)" || exit $? + + reload_conv_objs="$reload_objs "`find $xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP` + done + fi + fi + + # Create the old-style object. + reload_objs="$objs$old_deplibs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test + + output="$obj" + eval cmds=\"$reload_cmds\" + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + + # Exit if we aren't doing a library object file. + if test -z "$libobj"; then + if test -n "$gentop"; then + $show "${rm}r $gentop" + $run ${rm}r $gentop + fi + + exit 0 + fi + + if test "$build_libtool_libs" != yes; then + if test -n "$gentop"; then + $show "${rm}r $gentop" + $run ${rm}r $gentop + fi + + # Create an invalid libtool object if no PIC, so that we don't + # accidentally link it into a program. + # $show "echo timestamp > $libobj" + # $run eval "echo timestamp > $libobj" || exit $? + exit 0 + fi + + if test -n "$pic_flag" || test "$pic_mode" != default; then + # Only do commands if we really have different PIC objects. + reload_objs="$libobjs $reload_conv_objs" + output="$libobj" + eval cmds=\"$reload_cmds\" + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + fi + + if test -n "$gentop"; then + $show "${rm}r $gentop" + $run ${rm}r $gentop + fi + + exit 0 + ;; + + prog) + case $host in + *cygwin*) output=`echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;; + esac + if test -n "$vinfo"; then + $echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2 + fi + + if test -n "$release"; then + $echo "$modename: warning: \`-release' is ignored for programs" 1>&2 + fi + + if test "$preload" = yes; then + if test "$dlopen_support" = unknown && test "$dlopen_self" = unknown && + test "$dlopen_self_static" = unknown; then + $echo "$modename: warning: \`AC_LIBTOOL_DLOPEN' not used. Assuming no dlopen support." + fi + fi + + case $host in + *-*-rhapsody* | *-*-darwin1.[012]) + # On Rhapsody replace the C library is the System framework + compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'` + finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'` + ;; + esac + + compile_command="$compile_command $compile_deplibs" + finalize_command="$finalize_command $finalize_deplibs" + + if test -n "$rpath$xrpath"; then + # If the user specified any rpath flags, then add them. + for libdir in $rpath $xrpath; do + # This is the magic to use -rpath. + case "$finalize_rpath " in + *" $libdir "*) ;; + *) finalize_rpath="$finalize_rpath $libdir" ;; + esac + done + fi + + # Now hardcode the library paths + rpath= + hardcode_libdirs= + for libdir in $compile_rpath $finalize_rpath; do + if test -n "$hardcode_libdir_flag_spec"; then + if test -n "$hardcode_libdir_separator"; then + if test -z "$hardcode_libdirs"; then + hardcode_libdirs="$libdir" + else + # Just accumulate the unique libdirs. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) + ;; + *) + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" + ;; + esac + fi + else + eval flag=\"$hardcode_libdir_flag_spec\" + rpath="$rpath $flag" + fi + elif test -n "$runpath_var"; then + case "$perm_rpath " in + *" $libdir "*) ;; + *) perm_rpath="$perm_rpath $libdir" ;; + esac + fi + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) + case :$dllsearchpath: in + *":$libdir:"*) ;; + *) dllsearchpath="$dllsearchpath:$libdir";; + esac + ;; + esac + done + # Substitute the hardcoded libdirs into the rpath. + if test -n "$hardcode_libdir_separator" && + test -n "$hardcode_libdirs"; then + libdir="$hardcode_libdirs" + eval rpath=\" $hardcode_libdir_flag_spec\" + fi + compile_rpath="$rpath" + + rpath= + hardcode_libdirs= + for libdir in $finalize_rpath; do + if test -n "$hardcode_libdir_flag_spec"; then + if test -n "$hardcode_libdir_separator"; then + if test -z "$hardcode_libdirs"; then + hardcode_libdirs="$libdir" + else + # Just accumulate the unique libdirs. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) + ;; + *) + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" + ;; + esac + fi + else + eval flag=\"$hardcode_libdir_flag_spec\" + rpath="$rpath $flag" + fi + elif test -n "$runpath_var"; then + case "$finalize_perm_rpath " in + *" $libdir "*) ;; + *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;; + esac + fi + done + # Substitute the hardcoded libdirs into the rpath. + if test -n "$hardcode_libdir_separator" && + test -n "$hardcode_libdirs"; then + libdir="$hardcode_libdirs" + eval rpath=\" $hardcode_libdir_flag_spec\" + fi + finalize_rpath="$rpath" + + if test -n "$libobjs" && test "$build_old_libs" = yes; then + # Transform all the library objects into standard objects. + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` + fi + + dlsyms= + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then + if test -n "$NM" && test -n "$global_symbol_pipe"; then + dlsyms="${outputname}S.c" + else + $echo "$modename: not configured to extract global symbols from dlpreopened files" 1>&2 + fi + fi + + if test -n "$dlsyms"; then + case $dlsyms in + "") ;; + *.c) + # Discover the nlist of each of the dlfiles. + nlist="$output_objdir/${outputname}.nm" + + $show "$rm $nlist ${nlist}S ${nlist}T" + $run $rm "$nlist" "${nlist}S" "${nlist}T" + + # Parse the name list into a source file. + $show "creating $output_objdir/$dlsyms" + + test -z "$run" && $echo > "$output_objdir/$dlsyms" "\ +/* $dlsyms - symbol resolution table for \`$outputname' dlsym emulation. */ +/* Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP */ + +#ifdef __cplusplus +extern \"C\" { +#endif + +/* Prevent the only kind of declaration conflicts we can make. */ +#define lt_preloaded_symbols some_other_symbol + +/* External symbol declarations for the compiler. */\ +" + + if test "$dlself" = yes; then + $show "generating symbol list for \`$output'" + + test -z "$run" && $echo ': @PROGRAM@ ' > "$nlist" + + # Add our own program objects to the symbol list. + progfiles=`$echo "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` + for arg in $progfiles; do + $show "extracting global C symbols from \`$arg'" + $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'" + done + + if test -n "$exclude_expsyms"; then + $run eval 'egrep -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T' + $run eval '$mv "$nlist"T "$nlist"' + fi + + if test -n "$export_symbols_regex"; then + $run eval 'egrep -e "$export_symbols_regex" "$nlist" > "$nlist"T' + $run eval '$mv "$nlist"T "$nlist"' + fi + + # Prepare the list of exported symbols + if test -z "$export_symbols"; then + export_symbols="$output_objdir/$output.exp" + $run $rm $export_symbols + $run eval "${SED} -n -e '/^: @PROGRAM@$/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' + else + $run eval "${SED} -e 's/\([][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$output.exp"' + $run eval 'grep -f "$output_objdir/$output.exp" < "$nlist" > "$nlist"T' + $run eval 'mv "$nlist"T "$nlist"' + fi + fi + + for arg in $dlprefiles; do + $show "extracting global C symbols from \`$arg'" + name=`echo "$arg" | ${SED} -e 's%^.*/%%'` + $run eval 'echo ": $name " >> "$nlist"' + $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'" + done + + if test -z "$run"; then + # Make sure we have at least an empty file. + test -f "$nlist" || : > "$nlist" + + if test -n "$exclude_expsyms"; then + egrep -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T + $mv "$nlist"T "$nlist" + fi + + # Try sorting and uniquifying the output. + if grep -v "^: " < "$nlist" | sort +2 | uniq > "$nlist"S; then + : + else + grep -v "^: " < "$nlist" > "$nlist"S + fi + + if test -f "$nlist"S; then + eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$dlsyms"' + else + echo '/* NONE */' >> "$output_objdir/$dlsyms" + fi + + $echo >> "$output_objdir/$dlsyms" "\ + +#undef lt_preloaded_symbols + +#if defined (__STDC__) && __STDC__ +# define lt_ptr void * +#else +# define lt_ptr char * +# define const +#endif + +/* The mapping between symbol names and symbols. */ +const struct { + const char *name; + lt_ptr address; +} +lt_preloaded_symbols[] = +{\ +" + + eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$dlsyms" + + $echo >> "$output_objdir/$dlsyms" "\ + {0, (lt_ptr) 0} +}; + +/* This works around a problem in FreeBSD linker */ +#ifdef FREEBSD_WORKAROUND +static const void *lt_preloaded_setup() { + return lt_preloaded_symbols; +} +#endif + +#ifdef __cplusplus +} +#endif\ +" + fi + + pic_flag_for_symtable= + case $host in + # compiling the symbol table file with pic_flag works around + # a FreeBSD bug that causes programs to crash when -lm is + # linked before any other PIC object. But we must not use + # pic_flag when linking with -static. The problem exists in + # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1. + *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) + case "$compile_command " in + *" -static "*) ;; + *) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND";; + esac;; + *-*-hpux*) + case "$compile_command " in + *" -static "*) ;; + *) pic_flag_for_symtable=" $pic_flag";; + esac + esac + + # Now compile the dynamic symbol file. + $show "(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")" + $run eval '(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $? + + # Clean up the generated files. + $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T" + $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T" + + # Transform the symbol file into the correct name. + compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` + finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` + ;; + *) + $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2 + exit 1 + ;; + esac + else + # We keep going just in case the user didn't refer to + # lt_preloaded_symbols. The linker will fail if global_symbol_pipe + # really was required. + + # Nullify the symbol file. + compile_command=`$echo "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"` + finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"` + fi + + # AIX runtime linking requires linking programs with -Wl,-brtl and libs with -Wl,-G + # Also add -bnolibpath to the beginning of the link line, to clear the hardcoded runpath. + # Otherwise, things like the -L path to libgcc.a are accidentally hardcoded by ld. + # This does not apply on AIX for ia64, which uses a SysV linker. + case "$host" in + ia64-*-aix5*) ;; + *-*-aix4* | *-*-aix5*) + compile_command=`$echo "X$compile_command $wl-brtl" | $Xsed -e "s/\$CC/\$CC $wl-bnolibpath/1"` + finalize_command=`$echo "X$finalize_command $wl-brtl" | $Xsed -e "s/\$CC/\$CC $wl-bnolibpath/1"` ;; + esac + + if test "$need_relink" = no || test "$build_libtool_libs" != yes; then + # Replace the output file specification. + compile_command=`$echo "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` + link_command="$compile_command$compile_rpath" + + # We have no uninstalled library dependencies, so finalize right now. + $show "$link_command" + $run eval "$link_command" + status=$? + + # Delete the generated files. + if test -n "$dlsyms"; then + $show "$rm $output_objdir/${outputname}S.${objext}" + $run $rm "$output_objdir/${outputname}S.${objext}" + fi + + exit $status + fi + + if test -n "$shlibpath_var"; then + # We should set the shlibpath_var + rpath= + for dir in $temp_rpath; do + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) + # Absolute path. + rpath="$rpath$dir:" + ;; + *) + # Relative path: add a thisdir entry. + rpath="$rpath\$thisdir/$dir:" + ;; + esac + done + temp_rpath="$rpath" + fi + + if test -n "$compile_shlibpath$finalize_shlibpath"; then + compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command" + fi + if test -n "$finalize_shlibpath"; then + finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command" + fi + + compile_var= + finalize_var= + if test -n "$runpath_var"; then + if test -n "$perm_rpath"; then + # We should set the runpath_var. + rpath= + for dir in $perm_rpath; do + rpath="$rpath$dir:" + done + compile_var="$runpath_var=\"$rpath\$$runpath_var\" " + fi + if test -n "$finalize_perm_rpath"; then + # We should set the runpath_var. + rpath= + for dir in $finalize_perm_rpath; do + rpath="$rpath$dir:" + done + finalize_var="$runpath_var=\"$rpath\$$runpath_var\" " + fi + fi + + if test "$no_install" = yes; then + # We don't need to create a wrapper script. + link_command="$compile_var$compile_command$compile_rpath" + # Replace the output file specification. + link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` + # Delete the old output file. + $run $rm $output + # Link the executable and exit + $show "$link_command" + $run eval "$link_command" || exit $? + exit 0 + fi + + if test "$hardcode_action" = relink; then + # Fast installation is not supported + link_command="$compile_var$compile_command$compile_rpath" + relink_command="$finalize_var$finalize_command$finalize_rpath" + + $echo "$modename: warning: this platform does not like uninstalled shared libraries" 1>&2 + $echo "$modename: \`$output' will be relinked during installation" 1>&2 + else + if test "$fast_install" != no; then + link_command="$finalize_var$compile_command$finalize_rpath" + if test "$fast_install" = yes; then + relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'` + else + # fast_install is set to needless + relink_command= + fi + else + link_command="$compile_var$compile_command$compile_rpath" + relink_command="$finalize_var$finalize_command$finalize_rpath" + fi + fi + + # Replace the output file specification. + link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` + + # Delete the old output files. + $run $rm $output $output_objdir/$outputname $output_objdir/lt-$outputname + + $show "$link_command" + $run eval "$link_command" || exit $? + + # Now create the wrapper script. + $show "creating $output" + + # Quote the relink command for shipping. + if test -n "$relink_command"; then + # Preserve any variables that may affect compiler behavior + for var in $variables_saved_for_relink; do + if eval test -z \"\${$var+set}\"; then + relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command" + elif eval var_value=\$$var; test -z "$var_value"; then + relink_command="$var=; export $var; $relink_command" + else + var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"` + relink_command="$var=\"$var_value\"; export $var; $relink_command" + fi + done + relink_command="(cd `pwd`; $relink_command)" + relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"` + fi + + # Quote $echo for shipping. + if test "X$echo" = "X$SHELL $0 --fallback-echo"; then + case $0 in + [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $0 --fallback-echo";; + *) qecho="$SHELL `pwd`/$0 --fallback-echo";; + esac + qecho=`$echo "X$qecho" | $Xsed -e "$sed_quote_subst"` + else + qecho=`$echo "X$echo" | $Xsed -e "$sed_quote_subst"` + fi + + # Only actually do things if our run command is non-null. + if test -z "$run"; then + # win32 will think the script is a binary if it has + # a .exe suffix, so we strip it off here. + case $output in + *.exe) output=`echo $output|${SED} 's,.exe$,,'` ;; + esac + # test for cygwin because mv fails w/o .exe extensions + case $host in + *cygwin*) exeext=.exe ;; + *) exeext= ;; + esac + $rm $output + trap "$rm $output; exit 1" 1 2 15 + + $echo > $output "\ +#! $SHELL + +# $output - temporary wrapper script for $objdir/$outputname +# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP +# +# The $output program cannot be directly executed until all the libtool +# libraries that it depends on are installed. +# +# This wrapper script should never be moved out of the build directory. +# If it is, it will not operate correctly. + +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +Xsed='${SED} -e 1s/^X//' +sed_quote_subst='$sed_quote_subst' + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +if test \"\${CDPATH+set}\" = set; then CDPATH=:; export CDPATH; fi + +relink_command=\"$relink_command\" + +# This environment variable determines our operation mode. +if test \"\$libtool_install_magic\" = \"$magic\"; then + # install mode needs the following variable: + notinst_deplibs='$notinst_deplibs' +else + # When we are sourced in execute mode, \$file and \$echo are already set. + if test \"\$libtool_execute_magic\" != \"$magic\"; then + echo=\"$qecho\" + file=\"\$0\" + # Make sure echo works. + if test \"X\$1\" = X--no-reexec; then + # Discard the --no-reexec flag, and continue. + shift + elif test \"X\`(\$echo '\t') 2>/dev/null\`\" = 'X\t'; then + # Yippee, \$echo works! + : + else + # Restart under the correct shell, and then maybe \$echo will work. + exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"} + fi + fi\ +" + $echo >> $output "\ + + # Find the directory that this script lives in. + thisdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\` + test \"x\$thisdir\" = \"x\$file\" && thisdir=. + + # Follow symbolic links until we get to the real thisdir. + file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\` + while test -n \"\$file\"; do + destdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\` + + # If there was a directory component, then change thisdir. + if test \"x\$destdir\" != \"x\$file\"; then + case \"\$destdir\" in + [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;; + *) thisdir=\"\$thisdir/\$destdir\" ;; + esac + fi + + file=\`\$echo \"X\$file\" | \$Xsed -e 's%^.*/%%'\` + file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\` + done + + # Try to get the absolute directory name. + absdir=\`cd \"\$thisdir\" && pwd\` + test -n \"\$absdir\" && thisdir=\"\$absdir\" +" + + if test "$fast_install" = yes; then + echo >> $output "\ + program=lt-'$outputname'$exeext + progdir=\"\$thisdir/$objdir\" + + if test ! -f \"\$progdir/\$program\" || \\ + { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\ + test \"X\$file\" != \"X\$progdir/\$program\"; }; then + + file=\"\$\$-\$program\" + + if test ! -d \"\$progdir\"; then + $mkdir \"\$progdir\" + else + $rm \"\$progdir/\$file\" + fi" + + echo >> $output "\ + + # relink executable if necessary + if test -n \"\$relink_command\"; then + if relink_command_output=\`eval \$relink_command 2>&1\`; then : + else + $echo \"\$relink_command_output\" >&2 + $rm \"\$progdir/\$file\" + exit 1 + fi + fi + + $mv \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || + { $rm \"\$progdir/\$program\"; + $mv \"\$progdir/\$file\" \"\$progdir/\$program\"; } + $rm \"\$progdir/\$file\" + fi" + else + echo >> $output "\ + program='$outputname' + progdir=\"\$thisdir/$objdir\" +" + fi + + echo >> $output "\ + + if test -f \"\$progdir/\$program\"; then" + + # Export our shlibpath_var if we have one. + if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then + $echo >> $output "\ + # Add our own library path to $shlibpath_var + $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" + + # Some systems cannot cope with colon-terminated $shlibpath_var + # The second colon is a workaround for a bug in BeOS R4 sed + $shlibpath_var=\`\$echo \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\` + + export $shlibpath_var +" + fi + + # fixup the dll searchpath if we need to. + if test -n "$dllsearchpath"; then + $echo >> $output "\ + # Add the dll search path components to the executable PATH + PATH=$dllsearchpath:\$PATH +" + fi + + $echo >> $output "\ + if test \"\$libtool_execute_magic\" != \"$magic\"; then + # Run the actual program with our arguments. +" + case $host in + # win32 systems need to use the prog path for dll + # lookup to work + *-*-cygwin* | *-*-pw32*) + $echo >> $output "\ + exec \$progdir/\$program \${1+\"\$@\"} +" + ;; + + # Backslashes separate directories on plain windows + *-*-mingw | *-*-os2*) + $echo >> $output "\ + exec \$progdir\\\\\$program \${1+\"\$@\"} +" + ;; + + *) + $echo >> $output "\ + # Export the path to the program. + PATH=\"\$progdir:\$PATH\" + export PATH + + exec \$program \${1+\"\$@\"} +" + ;; + esac + $echo >> $output "\ + \$echo \"\$0: cannot exec \$program \${1+\"\$@\"}\" + exit 1 + fi + else + # The program doesn't exist. + \$echo \"\$0: error: \$progdir/\$program does not exist\" 1>&2 + \$echo \"This script is just a wrapper for \$program.\" 1>&2 + echo \"See the $PACKAGE documentation for more information.\" 1>&2 + exit 1 + fi +fi\ +" + chmod +x $output + fi + exit 0 + ;; + esac + + # See if we need to build an old-fashioned archive. + for oldlib in $oldlibs; do + + if test "$build_libtool_libs" = convenience; then + oldobjs="$libobjs_save" + addlibs="$convenience" + build_libtool_libs=no + else + if test "$build_libtool_libs" = module; then + oldobjs="$libobjs_save" + build_libtool_libs=no + else + #oldobjs="$oldobjs$old_deplibs $non_pic_objects" + oldobjs="$old_deplibs $non_pic_objects" + fi + addlibs="$old_convenience" + fi + + if test -n "$addlibs"; then + gentop="$output_objdir/${outputname}x" + $show "${rm}r $gentop" + $run ${rm}r "$gentop" + $show "$mkdir $gentop" + $run $mkdir "$gentop" + status=$? + if test "$status" -ne 0 && test ! -d "$gentop"; then + exit $status + fi + generated="$generated $gentop" + + # Add in members from convenience archives. + for xlib in $addlibs; do + # Extract the objects. + case $xlib in + [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;; + *) xabs=`pwd`"/$xlib" ;; + esac + xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'` + xdir="$gentop/$xlib" + + $show "${rm}r $xdir" + $run ${rm}r "$xdir" + $show "$mkdir $xdir" + $run $mkdir "$xdir" + status=$? + if test "$status" -ne 0 && test ! -d "$xdir"; then + exit $status + fi + $show "(cd $xdir && $AR x $xabs)" + $run eval "(cd \$xdir && $AR x \$xabs)" || exit $? + + oldobjs="$oldobjs "`find $xdir -name \*.${objext} -print -o -name \*.lo -print | $NL2SP` + done + fi + + compiler_flags="$compiler_flags $add_flags" + + # Do each command in the archive commands. + if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then + eval cmds=\"$old_archive_from_new_cmds\" + else + eval cmds=\"$old_archive_cmds\" + + if len=`expr "X$cmds" : ".*"` && + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then + : + else + # the command line is too long to link in one step, link in parts + $echo "using piecewise archive linking..." + save_RANLIB=$RANLIB + RANLIB=: + objlist= + concat_cmds= + save_oldobjs=$oldobjs + for obj in $save_oldobjs + do + oldobjs="$objlist $obj" + objlist="$objlist $obj" + eval test_cmds=\"$old_archive_cmds\" + if len=`expr "X$test_cmds" : ".*"` && + test "$len" -le "$max_cmd_len"; then + : + else + # the above command should be used before it gets too long + oldobjs=$objlist + test -z "$concat_cmds" || concat_cmds=$concat_cmds~ + eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\" + objlist= + fi + done + RANLIB=$save_RANLIB + oldobjs=$objlist + eval cmds=\"\$concat_cmds~$old_archive_cmds\" + fi + fi + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + done + + if test -n "$generated"; then + $show "${rm}r$generated" + $run ${rm}r$generated + fi + + # Now create the libtool archive. + case $output in + *.la) + old_library= + test "$build_old_libs" = yes && old_library="$libname.$libext" + $show "creating $output" + + # Preserve any variables that may affect compiler behavior + for var in $variables_saved_for_relink; do + if eval test -z \"\${$var+set}\"; then + relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command" + elif eval var_value=\$$var; test -z "$var_value"; then + relink_command="$var=; export $var; $relink_command" + else + var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"` + relink_command="$var=\"$var_value\"; export $var; $relink_command" + fi + done + # Quote the link command for shipping. + relink_command="($relink_command; cd `pwd`; $SHELL $0 --mode=relink $libtool_args)" + relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"` + + # Only create the output if not a dry run. + if test -z "$run"; then + for installed in no yes; do + if test "$installed" = yes; then + if test -z "$install_libdir"; then + break + fi + output="$output_objdir/$outputname"i + # Replace all uninstalled libtool libraries with the installed ones + newdependency_libs= + for deplib in $dependency_libs; do + case $deplib in + *.la) + name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'` + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` + if test -z "$libdir"; then + $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2 + exit 1 + fi + newdependency_libs="$newdependency_libs $libdir/$name" + ;; + *) newdependency_libs="$newdependency_libs $deplib" ;; + esac + done + dependency_libs="$newdependency_libs" + newdlfiles= + for lib in $dlfiles; do + name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` + if test -z "$libdir"; then + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 + exit 1 + fi + newdlfiles="$newdlfiles $libdir/$name" + done + dlfiles="$newdlfiles" + newdlprefiles= + for lib in $dlprefiles; do + name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` + if test -z "$libdir"; then + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 + exit 1 + fi + newdlprefiles="$newdlprefiles $libdir/$name" + done + dlprefiles="$newdlprefiles" + fi + $rm $output + # place dlname in correct position for cygwin + tdlname=$dlname + case $host,$output,$installed,$module,$dlname in + *cygwin*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;; + esac + $echo > $output "\ +# $outputname - a libtool library file +# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# The name that we can dlopen(3). +dlname='$tdlname' + +# Names of this library. +library_names='$library_names' + +# The name of the static archive. +old_library='$old_library' + +# Libraries that this one depends upon. +dependency_libs='$dependency_libs' + +# Version information for $libname. +current=$current +age=$age +revision=$revision + +# Is this an already installed library? +installed=$installed + +# Files to dlopen/dlpreopen +dlopen='$dlfiles' +dlpreopen='$dlprefiles' + +# Directory that this library needs to be installed in: +libdir='$install_libdir'" + if test "$installed" = no && test "$need_relink" = yes && test "$fast_install" = no; then + $echo >> $output "\ +relink_command=\"$relink_command\"" + fi + done + fi + + # Do a symbolic link so that the libtool archive can be found in + # LD_LIBRARY_PATH before the program is installed. + $show "(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)" + $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $? + ;; + esac + exit 0 + ;; + + # libtool install mode + install) + modename="$modename: install" + + # There may be an optional sh(1) argument at the beginning of + # install_prog (especially on Windows NT). + if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh || + # Allow the use of GNU shtool's install command. + $echo "X$nonopt" | $Xsed | grep shtool > /dev/null; then + # Aesthetically quote it. + arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"` + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*) + arg="\"$arg\"" + ;; + esac + install_prog="$arg " + arg="$1" + shift + else + install_prog= + arg="$nonopt" + fi + + # The real first argument should be the name of the installation program. + # Aesthetically quote it. + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*) + arg="\"$arg\"" + ;; + esac + install_prog="$install_prog$arg" + + # We need to accept at least all the BSD install flags. + dest= + files= + opts= + prev= + install_type= + isdir=no + stripme= + for arg + do + if test -n "$dest"; then + files="$files $dest" + dest="$arg" + continue + fi + + case $arg in + -d) isdir=yes ;; + -f) prev="-f" ;; + -g) prev="-g" ;; + -m) prev="-m" ;; + -o) prev="-o" ;; + -s) + stripme=" -s" + continue + ;; + -*) ;; + + *) + # If the previous option needed an argument, then skip it. + if test -n "$prev"; then + prev= + else + dest="$arg" + continue + fi + ;; + esac + + # Aesthetically quote the argument. + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*) + arg="\"$arg\"" + ;; + esac + install_prog="$install_prog $arg" + done + + if test -z "$install_prog"; then + $echo "$modename: you must specify an install program" 1>&2 + $echo "$help" 1>&2 + exit 1 + fi + + if test -n "$prev"; then + $echo "$modename: the \`$prev' option requires an argument" 1>&2 + $echo "$help" 1>&2 + exit 1 + fi + + if test -z "$files"; then + if test -z "$dest"; then + $echo "$modename: no file or destination specified" 1>&2 + else + $echo "$modename: you must specify a destination" 1>&2 + fi + $echo "$help" 1>&2 + exit 1 + fi + + # Strip any trailing slash from the destination. + dest=`$echo "X$dest" | $Xsed -e 's%/$%%'` + + # Check to see that the destination is a directory. + test -d "$dest" && isdir=yes + if test "$isdir" = yes; then + destdir="$dest" + destname= + else + destdir=`$echo "X$dest" | $Xsed -e 's%/[^/]*$%%'` + test "X$destdir" = "X$dest" && destdir=. + destname=`$echo "X$dest" | $Xsed -e 's%^.*/%%'` + + # Not a directory, so check to see that there is only one file specified. + set dummy $files + if test "$#" -gt 2; then + $echo "$modename: \`$dest' is not a directory" 1>&2 + $echo "$help" 1>&2 + exit 1 + fi + fi + case $destdir in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + for file in $files; do + case $file in + *.lo) ;; + *) + $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2 + $echo "$help" 1>&2 + exit 1 + ;; + esac + done + ;; + esac + + # This variable tells wrapper scripts just to set variables rather + # than running their programs. + libtool_install_magic="$magic" + + staticlibs= + future_libdirs= + current_libdirs= + for file in $files; do + + # Do each installation. + case $file in + *.$libext) + # Do the static libraries later. + staticlibs="$staticlibs $file" + ;; + + *.la) + # Check to see that this really is a libtool archive. + if (${SED} -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : + else + $echo "$modename: \`$file' is not a valid libtool archive" 1>&2 + $echo "$help" 1>&2 + exit 1 + fi + + library_names= + old_library= + relink_command= + # If there is no directory component, then add one. + case $file in + */* | *\\*) . $file ;; + *) . ./$file ;; + esac + + # Add the libdir to current_libdirs if it is the destination. + if test "X$destdir" = "X$libdir"; then + case "$current_libdirs " in + *" $libdir "*) ;; + *) current_libdirs="$current_libdirs $libdir" ;; + esac + else + # Note the libdir as a future libdir. + case "$future_libdirs " in + *" $libdir "*) ;; + *) future_libdirs="$future_libdirs $libdir" ;; + esac + fi + + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`/ + test "X$dir" = "X$file/" && dir= + dir="$dir$objdir" + + if test -n "$relink_command"; then + $echo "$modename: warning: relinking \`$file'" 1>&2 + $show "$relink_command" + if $run eval "$relink_command"; then : + else + $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2 + continue + fi + fi + + # See the names of the shared library. + set dummy $library_names + if test -n "$2"; then + realname="$2" + shift + shift + + srcname="$realname" + test -n "$relink_command" && srcname="$realname"T + + # Install the shared library and build the symlinks. + $show "$install_prog $dir/$srcname $destdir/$realname" + $run eval "$install_prog $dir/$srcname $destdir/$realname" || exit $? + if test -n "$stripme" && test -n "$striplib"; then + $show "$striplib $destdir/$realname" + $run eval "$striplib $destdir/$realname" || exit $? + fi + + if test "$#" -gt 0; then + # Delete the old symlinks, and create new ones. + for linkname + do + if test "$linkname" != "$realname"; then + $show "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)" + $run eval "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)" + fi + done + fi + + # Do each command in the postinstall commands. + lib="$destdir/$realname" + eval cmds=\"$postinstall_cmds\" + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + fi + + # Install the pseudo-library for information purposes. + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + instname="$dir/$name"i + $show "$install_prog $instname $destdir/$name" + $run eval "$install_prog $instname $destdir/$name" || exit $? + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" + ;; + + *.lo) + # Install (i.e. copy) a libtool object. + + # Figure out destination file name, if it wasn't already specified. + if test -n "$destname"; then + destfile="$destdir/$destname" + else + destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + destfile="$destdir/$destfile" + fi + + # Deduce the name of the destination old-style object file. + case $destfile in + *.lo) + staticdest=`$echo "X$destfile" | $Xsed -e "$lo2o"` + ;; + *.$objext) + staticdest="$destfile" + destfile= + ;; + *) + $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2 + $echo "$help" 1>&2 + exit 1 + ;; + esac + + # Install the libtool object if requested. + if test -n "$destfile"; then + $show "$install_prog $file $destfile" + $run eval "$install_prog $file $destfile" || exit $? + fi + + # Install the old object if enabled. + if test "$build_old_libs" = yes; then + # Deduce the name of the old-style object file. + staticobj=`$echo "X$file" | $Xsed -e "$lo2o"` + + $show "$install_prog $staticobj $staticdest" + $run eval "$install_prog \$staticobj \$staticdest" || exit $? + fi + exit 0 + ;; + + *) + # Figure out destination file name, if it wasn't already specified. + if test -n "$destname"; then + destfile="$destdir/$destname" + else + destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + destfile="$destdir/$destfile" + fi + + # Do a test to see if this is really a libtool program. + case $host in + *cygwin*|*mingw*) + wrapper=`echo $file | ${SED} -e 's,.exe$,,'` + ;; + *) + wrapper=$file + ;; + esac + if (${SED} -e '4q' $wrapper | egrep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then + notinst_deplibs= + relink_command= + + # If there is no directory component, then add one. + case $file in + */* | *\\*) . $wrapper ;; + *) . ./$wrapper ;; + esac + + # Check the variables that should have been set. + if test -z "$notinst_deplibs"; then + $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2 + exit 1 + fi + + finalize=yes + for lib in $notinst_deplibs; do + # Check to see that each library is installed. + libdir= + if test -f "$lib"; then + # If there is no directory component, then add one. + case $lib in + */* | *\\*) . $lib ;; + *) . ./$lib ;; + esac + fi + libfile="$libdir/"`$echo "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test + if test -n "$libdir" && test ! -f "$libfile"; then + $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2 + finalize=no + fi + done + + relink_command= + # If there is no directory component, then add one. + case $file in + */* | *\\*) . $file ;; + *) . ./$file ;; + esac + + outputname= + if test "$fast_install" = no && test -n "$relink_command"; then + if test "$finalize" = yes && test -z "$run"; then + tmpdir="/tmp" + test -n "$TMPDIR" && tmpdir="$TMPDIR" + tmpdir="$tmpdir/libtool-$$" + if $mkdir -p "$tmpdir" && chmod 700 "$tmpdir"; then : + else + $echo "$modename: error: cannot create temporary directory \`$tmpdir'" 1>&2 + continue + fi + file=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + outputname="$tmpdir/$file" + # Replace the output file specification. + relink_command=`$echo "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'` + + $show "$relink_command" + if $run eval "$relink_command"; then : + else + $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2 + ${rm}r "$tmpdir" + continue + fi + file="$outputname" + else + $echo "$modename: warning: cannot relink \`$file'" 1>&2 + fi + else + # Install the binary that we compiled earlier. + file=`$echo "X$file" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"` + fi + fi + + # remove .exe since cygwin /usr/bin/install will append another + # one anyways + case $install_prog,$host in + */usr/bin/install*,*cygwin*) + case $file:$destfile in + *.exe:*.exe) + # this is ok + ;; + *.exe:*) + destfile=$destfile.exe + ;; + *:*.exe) + destfile=`echo $destfile | ${SED} -e 's,.exe$,,'` + ;; + esac + ;; + esac + $show "$install_prog$stripme $file $destfile" + $run eval "$install_prog\$stripme \$file \$destfile" || exit $? + test -n "$outputname" && ${rm}r "$tmpdir" + ;; + esac + done + + for file in $staticlibs; do + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + + # Set up the ranlib parameters. + oldlib="$destdir/$name" + + $show "$install_prog $file $oldlib" + $run eval "$install_prog \$file \$oldlib" || exit $? + + if test -n "$stripme" && test -n "$striplib"; then + $show "$old_striplib $oldlib" + $run eval "$old_striplib $oldlib" || exit $? + fi + + # Do each command in the postinstall commands. + eval cmds=\"$old_postinstall_cmds\" + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + done + + if test -n "$future_libdirs"; then + $echo "$modename: warning: remember to run \`$progname --finish$future_libdirs'" 1>&2 + fi + + if test -n "$current_libdirs"; then + # Maybe just do a dry run. + test -n "$run" && current_libdirs=" -n$current_libdirs" + exec_cmd='$SHELL $0 --finish$current_libdirs' + else + exit 0 + fi + ;; + + # libtool finish mode + finish) + modename="$modename: finish" + libdirs="$nonopt" + admincmds= + + if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then + for dir + do + libdirs="$libdirs $dir" + done + + for libdir in $libdirs; do + if test -n "$finish_cmds"; then + # Do each command in the finish commands. + eval cmds=\"$finish_cmds\" + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + $show "$cmd" + $run eval "$cmd" || admincmds="$admincmds + $cmd" + done + IFS="$save_ifs" + fi + if test -n "$finish_eval"; then + # Do the single finish_eval. + eval cmds=\"$finish_eval\" + $run eval "$cmds" || admincmds="$admincmds + $cmds" + fi + done + fi + + # Exit here if they wanted silent mode. + exit 0 + + echo "----------------------------------------------------------------------" + echo "Libraries have been installed in:" + for libdir in $libdirs; do + echo " $libdir" + done + echo + echo "If you ever happen to want to link against installed libraries" + echo "in a given directory, LIBDIR, you must either use libtool, and" + echo "specify the full pathname of the library, or use the \`-LLIBDIR'" + echo "flag during linking and do at least one of the following:" + if test -n "$shlibpath_var"; then + echo " - add LIBDIR to the \`$shlibpath_var' environment variable" + echo " during execution" + fi + if test -n "$runpath_var"; then + echo " - add LIBDIR to the \`$runpath_var' environment variable" + echo " during linking" + fi + if test -n "$hardcode_libdir_flag_spec"; then + libdir=LIBDIR + eval flag=\"$hardcode_libdir_flag_spec\" + + echo " - use the \`$flag' linker flag" + fi + if test -n "$admincmds"; then + echo " - have your system administrator run these commands:$admincmds" + fi + if test -f /etc/ld.so.conf; then + echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'" + fi + echo + echo "See any operating system documentation about shared libraries for" + echo "more information, such as the ld(1) and ld.so(8) manual pages." + echo "----------------------------------------------------------------------" + exit 0 + ;; + + # libtool execute mode + execute) + modename="$modename: execute" + + # The first argument is the command name. + cmd="$nonopt" + if test -z "$cmd"; then + $echo "$modename: you must specify a COMMAND" 1>&2 + $echo "$help" + exit 1 + fi + + # Handle -dlopen flags immediately. + for file in $execute_dlfiles; do + if test ! -f "$file"; then + $echo "$modename: \`$file' is not a file" 1>&2 + $echo "$help" 1>&2 + exit 1 + fi + + dir= + case $file in + *.la) + # Check to see that this really is a libtool archive. + if (${SED} -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : + else + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 + $echo "$help" 1>&2 + exit 1 + fi + + # Read the libtool library. + dlname= + library_names= + + # If there is no directory component, then add one. + case $file in + */* | *\\*) . $file ;; + *) . ./$file ;; + esac + + # Skip this library if it cannot be dlopened. + if test -z "$dlname"; then + # Warn if it was a shared library. + test -n "$library_names" && $echo "$modename: warning: \`$file' was not linked with \`-export-dynamic'" + continue + fi + + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` + test "X$dir" = "X$file" && dir=. + + if test -f "$dir/$objdir/$dlname"; then + dir="$dir/$objdir" + else + $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2 + exit 1 + fi + ;; + + *.lo) + # Just add the directory containing the .lo file. + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` + test "X$dir" = "X$file" && dir=. + ;; + + *) + $echo "$modename: warning \`-dlopen' is ignored for non-libtool libraries and objects" 1>&2 + continue + ;; + esac + + # Get the absolute pathname. + absdir=`cd "$dir" && pwd` + test -n "$absdir" && dir="$absdir" + + # Now add the directory to shlibpath_var. + if eval "test -z \"\$$shlibpath_var\""; then + eval "$shlibpath_var=\"\$dir\"" + else + eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\"" + fi + done + + # This variable tells wrapper scripts just to set shlibpath_var + # rather than running their programs. + libtool_execute_magic="$magic" + + # Check if any of the arguments is a wrapper script. + args= + for file + do + case $file in + -*) ;; + *) + # Do a test to see if this is really a libtool program. + if (${SED} -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + # If there is no directory component, then add one. + case $file in + */* | *\\*) . $file ;; + *) . ./$file ;; + esac + + # Transform arg to wrapped name. + file="$progdir/$program" + fi + ;; + esac + # Quote arguments (to preserve shell metacharacters). + file=`$echo "X$file" | $Xsed -e "$sed_quote_subst"` + args="$args \"$file\"" + done + + if test -z "$run"; then + if test -n "$shlibpath_var"; then + # Export the shlibpath_var. + eval "export $shlibpath_var" + fi + + # Restore saved enviroment variables + if test "${save_LC_ALL+set}" = set; then + LC_ALL="$save_LC_ALL"; export LC_ALL + fi + if test "${save_LANG+set}" = set; then + LANG="$save_LANG"; export LANG + fi + + # Now prepare to actually exec the command. + exec_cmd="\$cmd$args" + else + # Display what would be done. + if test -n "$shlibpath_var"; then + eval "\$echo \"\$shlibpath_var=\$$shlibpath_var\"" + $echo "export $shlibpath_var" + fi + $echo "$cmd$args" + exit 0 + fi + ;; + + # libtool clean and uninstall mode + clean | uninstall) + modename="$modename: $mode" + rm="$nonopt" + files= + rmforce= + exit_status=0 + + # This variable tells wrapper scripts just to set variables rather + # than running their programs. + libtool_install_magic="$magic" + + for arg + do + case $arg in + -f) rm="$rm $arg"; rmforce=yes ;; + -*) rm="$rm $arg" ;; + *) files="$files $arg" ;; + esac + done + + if test -z "$rm"; then + $echo "$modename: you must specify an RM program" 1>&2 + $echo "$help" 1>&2 + exit 1 + fi + + rmdirs= + + for file in $files; do + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` + if test "X$dir" = "X$file"; then + dir=. + objdir="$objdir" + else + objdir="$dir/$objdir" + fi + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + test "$mode" = uninstall && objdir="$dir" + + # Remember objdir for removal later, being careful to avoid duplicates + if test "$mode" = clean; then + case " $rmdirs " in + *" $objdir "*) ;; + *) rmdirs="$rmdirs $objdir" ;; + esac + fi + + # Don't error if the file doesn't exist and rm -f was used. + if (test -L "$file") >/dev/null 2>&1 \ + || (test -h "$file") >/dev/null 2>&1 \ + || test -f "$file"; then + : + elif test -d "$file"; then + exit_status=1 + continue + elif test "$rmforce" = yes; then + continue + fi + + rmfiles="$file" + + case $name in + *.la) + # Possibly a libtool archive, so verify it. + if (${SED} -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + . $dir/$name + + # Delete the libtool libraries and symlinks. + for n in $library_names; do + rmfiles="$rmfiles $objdir/$n" + done + test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library" + test "$mode" = clean && rmfiles="$rmfiles $objdir/$name $objdir/${name}i" + + if test "$mode" = uninstall; then + if test -n "$library_names"; then + # Do each command in the postuninstall commands. + eval cmds=\"$postuninstall_cmds\" + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + $show "$cmd" + $run eval "$cmd" + if test "$?" -ne 0 && test "$rmforce" != yes; then + exit_status=1 + fi + done + IFS="$save_ifs" + fi + + if test -n "$old_library"; then + # Do each command in the old_postuninstall commands. + eval cmds=\"$old_postuninstall_cmds\" + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + $show "$cmd" + $run eval "$cmd" + if test "$?" -ne 0 && test "$rmforce" != yes; then + exit_status=1 + fi + done + IFS="$save_ifs" + fi + # FIXME: should reinstall the best remaining shared library. + fi + fi + ;; + + *.lo) + # Possibly a libtool object, so verify it. + if (${SED} -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + + # Read the .lo file + . $dir/$name + + # Add PIC object to the list of files to remove. + if test -n "$pic_object" \ + && test "$pic_object" != none; then + rmfiles="$rmfiles $dir/$pic_object" + fi + + # Add non-PIC object to the list of files to remove. + if test -n "$non_pic_object" \ + && test "$non_pic_object" != none; then + rmfiles="$rmfiles $dir/$non_pic_object" + fi + fi + ;; + + *) + # Do a test to see if this is a libtool program. + if test "$mode" = clean && + (${SED} -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + relink_command= + . $dir/$file + + rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}" + if test "$fast_install" = yes && test -n "$relink_command"; then + rmfiles="$rmfiles $objdir/lt-$name" + fi + fi + ;; + esac + $show "$rm $rmfiles" + $run $rm $rmfiles || exit_status=1 + done + + # Try to remove the ${objdir}s in the directories where we deleted files + for dir in $rmdirs; do + if test -d "$dir"; then + $show "rmdir $dir" + $run rmdir $dir >/dev/null 2>&1 + fi + done + + exit $exit_status + ;; + + "") + $echo "$modename: you must specify a MODE" 1>&2 + $echo "$generic_help" 1>&2 + exit 1 + ;; + esac + + if test -z "$exec_cmd"; then + $echo "$modename: invalid operation mode \`$mode'" 1>&2 + $echo "$generic_help" 1>&2 + exit 1 + fi +fi # test -z "$show_help" + +if test -n "$exec_cmd"; then + eval exec $exec_cmd + exit 1 +fi + +# We need to display help for each of the modes. +case $mode in +"") $echo \ +"Usage: $modename [OPTION]... [MODE-ARG]... + +Provide generalized library-building support services. + + --config show all configuration variables + --debug enable verbose shell tracing +-n, --dry-run display commands without modifying any files + --features display basic configuration information and exit + --finish same as \`--mode=finish' + --help display this help message and exit + --mode=MODE use operation mode MODE [default=inferred from MODE-ARGS] + --quiet same as \`--silent' + --silent don't print informational messages + --tag=TAG use configuration variables from tag TAG + --version print version information + +MODE must be one of the following: + + clean remove files from the build directory + compile compile a source file into a libtool object + execute automatically set library path, then run a program + finish complete the installation of libtool libraries + install install libraries or executables + link create a library or an executable + uninstall remove libraries from an installed directory + +MODE-ARGS vary depending on the MODE. Try \`$modename --help --mode=MODE' for +a more detailed description of MODE." + exit 0 + ;; + +clean) + $echo \ +"Usage: $modename [OPTION]... --mode=clean RM [RM-OPTION]... FILE... + +Remove files from the build directory. + +RM is the name of the program to use to delete files associated with each FILE +(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed +to RM. + +If FILE is a libtool library, object or program, all the files associated +with it are deleted. Otherwise, only FILE itself is deleted using RM." + ;; + +compile) + $echo \ +"Usage: $modename [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE + +Compile a source file into a libtool library object. + +This mode accepts the following additional options: + + -o OUTPUT-FILE set the output file name to OUTPUT-FILE + -prefer-pic try to building PIC objects only + -prefer-non-pic try to building non-PIC objects only + -static always build a \`.o' file suitable for static linking + +COMPILE-COMMAND is a command to be used in creating a \`standard' object file +from the given SOURCEFILE. + +The output file name is determined by removing the directory component from +SOURCEFILE, then substituting the C source code suffix \`.c' with the +library object suffix, \`.lo'." + ;; + +execute) + $echo \ +"Usage: $modename [OPTION]... --mode=execute COMMAND [ARGS]... + +Automatically set library path, then run a program. + +This mode accepts the following additional options: + + -dlopen FILE add the directory containing FILE to the library path + +This mode sets the library path environment variable according to \`-dlopen' +flags. + +If any of the ARGS are libtool executable wrappers, then they are translated +into their corresponding uninstalled binary, and any of their required library +directories are added to the library path. + +Then, COMMAND is executed, with ARGS as arguments." + ;; + +finish) + $echo \ +"Usage: $modename [OPTION]... --mode=finish [LIBDIR]... + +Complete the installation of libtool libraries. + +Each LIBDIR is a directory that contains libtool libraries. + +The commands that this mode executes may require superuser privileges. Use +the \`--dry-run' option if you just want to see what would be executed." + ;; + +install) + $echo \ +"Usage: $modename [OPTION]... --mode=install INSTALL-COMMAND... + +Install executables or libraries. + +INSTALL-COMMAND is the installation command. The first component should be +either the \`install' or \`cp' program. + +The rest of the components are interpreted as arguments to that command (only +BSD-compatible install options are recognized)." + ;; + +link) + $echo \ +"Usage: $modename [OPTION]... --mode=link LINK-COMMAND... + +Link object files or libraries together to form another library, or to +create an executable program. + +LINK-COMMAND is a command using the C compiler that you would use to create +a program from several object files. + +The following components of LINK-COMMAND are treated specially: + + -all-static do not do any dynamic linking at all + -avoid-version do not add a version suffix if possible + -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime + -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols + -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) + -export-symbols SYMFILE + try to export only the symbols listed in SYMFILE + -export-symbols-regex REGEX + try to export only the symbols matching REGEX + -LLIBDIR search LIBDIR for required installed libraries + -lNAME OUTPUT-FILE requires the installed library libNAME + -module build a library that can dlopened + -no-fast-install disable the fast-install mode + -no-install link a not-installable executable + -no-undefined declare that a library does not refer to external symbols + -o OUTPUT-FILE create OUTPUT-FILE from the specified objects + -objectlist FILE Use a list of object files found in FILE to specify objects + -release RELEASE specify package release information + -rpath LIBDIR the created library will eventually be installed in LIBDIR + -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries + -static do not do any dynamic linking of libtool libraries + -version-info CURRENT[:REVISION[:AGE]] + specify library version info [each variable defaults to 0] + +All other options (arguments beginning with \`-') are ignored. + +Every other argument is treated as a filename. Files ending in \`.la' are +treated as uninstalled libtool libraries, other files are standard or library +object files. + +If the OUTPUT-FILE ends in \`.la', then a libtool library is created, +only library objects (\`.lo' files) may be specified, and \`-rpath' is +required, except when creating a convenience library. + +If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created +using \`ar' and \`ranlib', or on Windows using \`lib'. + +If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file +is created, otherwise an executable program is created." + ;; + +uninstall) + $echo \ +"Usage: $modename [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE... + +Remove libraries from an installation directory. + +RM is the name of the program to use to delete files associated with each FILE +(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed +to RM. + +If FILE is a libtool library, all the files associated with it are deleted. +Otherwise, only FILE itself is deleted using RM." + ;; + +*) + $echo "$modename: invalid operation mode \`$mode'" 1>&2 + $echo "$help" 1>&2 + exit 1 + ;; +esac + +echo +$echo "Try \`$modename --help' for more information about other modes." + +exit 0 + +# The TAGs below are defined such that we never get into a situation +# in which we disable both kinds of libraries. Given conflicting +# choices, we go for a static library, that is the most portable, +# since we can't tell whether shared libraries were disabled because +# the user asked for that or because the platform doesn't support +# them. This is particularly important on AIX, because we don't +# support having both static and shared libraries enabled at the same +# time on that platform, so we default to a shared-only configuration. +# If a disable-shared tag is given, we'll fallback to a static-only +# configuration. But we'll never go from static-only to shared-only. + +# ### BEGIN LIBTOOL TAG CONFIG: disable-shared +build_libtool_libs=no +build_old_libs=yes +# ### END LIBTOOL TAG CONFIG: disable-shared + +# ### BEGIN LIBTOOL TAG CONFIG: disable-static +build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac` +# ### END LIBTOOL TAG CONFIG: disable-static + +# Local Variables: +# mode:shell-script +# sh-indentation:2 +# End: diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/missing b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/missing new file mode 100644 index 0000000000000000000000000000000000000000..576b500e6cc7b9a033d7ea2d8f03c49934c83daf --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/missing @@ -0,0 +1,337 @@ +#! /bin/sh +# Common stub for a few missing GNU programs while installing. +# Copyright (C) 1996-1997, 1999-2000, 2002 Free Software Foundation, +# Inc. +# Originally by Fran,cois Pinard , 1996. + +# 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 +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +if test $# -eq 0; then + echo 1>&2 "Try \`$0 --help' for more information" + exit 1 +fi + +run=: + +# In the cases where this matters, `missing' is being run in the +# srcdir already. +if test -f configure.ac; then + configure_ac=configure.ac +else + configure_ac=configure.in +fi + +case "$1" in +--run) + # Try to run requested program, and just exit if it succeeds. + run= + shift + "$@" && exit 0 + ;; +esac + +# If it does not exist, or fails to run (possibly an outdated version), +# try to emulate it. +case "$1" in + + -h|--h|--he|--hel|--help) + echo "\ +$0 [OPTION]... PROGRAM [ARGUMENT]... + +Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an +error status if there is no known handling for PROGRAM. + +Options: + -h, --help display this help and exit + -v, --version output version information and exit + --run try to run the given command, and emulate it if it fails + +Supported PROGRAM values: + aclocal touch file \`aclocal.m4' + autoconf touch file \`configure' + autoheader touch file \`config.h.in' + automake touch all \`Makefile.in' files + bison create \`y.tab.[ch]', if possible, from existing .[ch] + flex create \`lex.yy.c', if possible, from existing .c + help2man touch the output file + lex create \`lex.yy.c', if possible, from existing .c + makeinfo touch the output file + tar try tar, gnutar, gtar, then tar without non-portable flags + yacc create \`y.tab.[ch]', if possible, from existing .[ch]" + ;; + + -v|--v|--ve|--ver|--vers|--versi|--versio|--version) + echo "missing 0.4 - GNU automake" + ;; + + -*) + echo 1>&2 "$0: Unknown \`$1' option" + echo 1>&2 "Try \`$0 --help' for more information" + exit 1 + ;; + + aclocal*) + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then + # We have it, but it failed. + exit 1 + fi + + echo 1>&2 "\ +WARNING: \`$1' is missing on your system. You should only need it if + you modified \`acinclude.m4' or \`${configure_ac}'. You might want + to install the \`Automake' and \`Perl' packages. Grab them from + any GNU archive site." + touch aclocal.m4 + ;; + + autoconf) + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then + # We have it, but it failed. + exit 1 + fi + + echo 1>&2 "\ +WARNING: \`$1' is missing on your system. You should only need it if + you modified \`${configure_ac}'. You might want to install the + \`Autoconf' and \`GNU m4' packages. Grab them from any GNU + archive site." + touch configure + ;; + + autoheader) + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then + # We have it, but it failed. + exit 1 + fi + + echo 1>&2 "\ +WARNING: \`$1' is missing on your system. You should only need it if + you modified \`acconfig.h' or \`${configure_ac}'. You might want + to install the \`Autoconf' and \`GNU m4' packages. Grab them + from any GNU archive site." + files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` + test -z "$files" && files="config.h" + touch_files= + for f in $files; do + case "$f" in + *:*) touch_files="$touch_files "`echo "$f" | + sed -e 's/^[^:]*://' -e 's/:.*//'`;; + *) touch_files="$touch_files $f.in";; + esac + done + touch $touch_files + ;; + + automake*) + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then + # We have it, but it failed. + exit 1 + fi + + echo 1>&2 "\ +WARNING: \`$1' is missing on your system. You should only need it if + you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. + You might want to install the \`Automake' and \`Perl' packages. + Grab them from any GNU archive site." + find . -type f -name Makefile.am -print | + sed 's/\.am$/.in/' | + while read f; do touch "$f"; done + ;; + + autom4te) + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then + # We have it, but it failed. + exit 1 + fi + + echo 1>&2 "\ +WARNING: \`$1' is needed, and you do not seem to have it handy on your + system. You might have modified some files without having the + proper tools for further handling them. + You can get \`$1Help2man' as part of \`Autoconf' from any GNU + archive site." + + file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'` + test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'` + if test -f "$file"; then + touch $file + else + test -z "$file" || exec >$file + echo "#! /bin/sh" + echo "# Created by GNU Automake missing as a replacement of" + echo "# $ $@" + echo "exit 0" + chmod +x $file + exit 1 + fi + ;; + + bison|yacc) + echo 1>&2 "\ +WARNING: \`$1' is missing on your system. You should only need it if + you modified a \`.y' file. You may need the \`Bison' package + in order for those modifications to take effect. You can get + \`Bison' from any GNU archive site." + rm -f y.tab.c y.tab.h + if [ $# -ne 1 ]; then + eval LASTARG="\${$#}" + case "$LASTARG" in + *.y) + SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` + if [ -f "$SRCFILE" ]; then + cp "$SRCFILE" y.tab.c + fi + SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` + if [ -f "$SRCFILE" ]; then + cp "$SRCFILE" y.tab.h + fi + ;; + esac + fi + if [ ! -f y.tab.h ]; then + echo >y.tab.h + fi + if [ ! -f y.tab.c ]; then + echo 'main() { return 0; }' >y.tab.c + fi + ;; + + lex|flex) + echo 1>&2 "\ +WARNING: \`$1' is missing on your system. You should only need it if + you modified a \`.l' file. You may need the \`Flex' package + in order for those modifications to take effect. You can get + \`Flex' from any GNU archive site." + rm -f lex.yy.c + if [ $# -ne 1 ]; then + eval LASTARG="\${$#}" + case "$LASTARG" in + *.l) + SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` + if [ -f "$SRCFILE" ]; then + cp "$SRCFILE" lex.yy.c + fi + ;; + esac + fi + if [ ! -f lex.yy.c ]; then + echo 'main() { return 0; }' >lex.yy.c + fi + ;; + + help2man) + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then + # We have it, but it failed. + exit 1 + fi + + echo 1>&2 "\ +WARNING: \`$1' is missing on your system. You should only need it if + you modified a dependency of a manual page. You may need the + \`Help2man' package in order for those modifications to take + effect. You can get \`Help2man' from any GNU archive site." + + file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` + if test -z "$file"; then + file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'` + fi + if [ -f "$file" ]; then + touch $file + else + test -z "$file" || exec >$file + echo ".ab help2man is required to generate this page" + exit 1 + fi + ;; + + makeinfo) + if test -z "$run" && (makeinfo --version) > /dev/null 2>&1; then + # We have makeinfo, but it failed. + exit 1 + fi + + echo 1>&2 "\ +WARNING: \`$1' is missing on your system. You should only need it if + you modified a \`.texi' or \`.texinfo' file, or any other file + indirectly affecting the aspect of the manual. The spurious + call might also be the consequence of using a buggy \`make' (AIX, + DU, IRIX). You might want to install the \`Texinfo' package or + the \`GNU make' package. Grab either from any GNU archive site." + file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` + if test -z "$file"; then + file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` + file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file` + fi + touch $file + ;; + + tar) + shift + if test -n "$run"; then + echo 1>&2 "ERROR: \`tar' requires --run" + exit 1 + fi + + # We have already tried tar in the generic part. + # Look for gnutar/gtar before invocation to avoid ugly error + # messages. + if (gnutar --version > /dev/null 2>&1); then + gnutar "$@" && exit 0 + fi + if (gtar --version > /dev/null 2>&1); then + gtar "$@" && exit 0 + fi + firstarg="$1" + if shift; then + case "$firstarg" in + *o*) + firstarg=`echo "$firstarg" | sed s/o//` + tar "$firstarg" "$@" && exit 0 + ;; + esac + case "$firstarg" in + *h*) + firstarg=`echo "$firstarg" | sed s/h//` + tar "$firstarg" "$@" && exit 0 + ;; + esac + fi + + echo 1>&2 "\ +WARNING: I can't seem to be able to run \`tar' with the given arguments. + You may want to install GNU tar or Free paxutils, or check the + command line arguments." + exit 1 + ;; + + *) + echo 1>&2 "\ +WARNING: \`$1' is needed, and you do not seem to have it handy on your + system. You might have modified some files without having the + proper tools for further handling them. Check the \`README' file, + it often tells you about the needed prerequirements for installing + this package. You may also peek at any GNU archive site, in case + some other package would contain this missing \`$1' program." + exit 1 + ;; +esac + +exit 0 diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/mkinstalldirs b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/mkinstalldirs new file mode 100644 index 0000000000000000000000000000000000000000..d2d5f21b611235316317197d3a32c2dff5897a6f --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/mkinstalldirs @@ -0,0 +1,111 @@ +#! /bin/sh +# mkinstalldirs --- make directory hierarchy +# Author: Noah Friedman +# Created: 1993-05-16 +# Public domain + +errstatus=0 +dirmode="" + +usage="\ +Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..." + +# process command line arguments +while test $# -gt 0 ; do + case $1 in + -h | --help | --h*) # -h for help + echo "$usage" 1>&2 + exit 0 + ;; + -m) # -m PERM arg + shift + test $# -eq 0 && { echo "$usage" 1>&2; exit 1; } + dirmode=$1 + shift + ;; + --) # stop option processing + shift + break + ;; + -*) # unknown option + echo "$usage" 1>&2 + exit 1 + ;; + *) # first non-opt arg + break + ;; + esac +done + +for file +do + if test -d "$file"; then + shift + else + break + fi +done + +case $# in + 0) exit 0 ;; +esac + +case $dirmode in + '') + if mkdir -p -- . 2>/dev/null; then + echo "mkdir -p -- $*" + exec mkdir -p -- "$@" + fi + ;; + *) + if mkdir -m "$dirmode" -p -- . 2>/dev/null; then + echo "mkdir -m $dirmode -p -- $*" + exec mkdir -m "$dirmode" -p -- "$@" + fi + ;; +esac + +for file +do + set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` + shift + + pathcomp= + for d + do + pathcomp="$pathcomp$d" + case $pathcomp in + -*) pathcomp=./$pathcomp ;; + esac + + if test ! -d "$pathcomp"; then + echo "mkdir $pathcomp" + + mkdir "$pathcomp" || lasterr=$? + + if test ! -d "$pathcomp"; then + errstatus=$lasterr + else + if test ! -z "$dirmode"; then + echo "chmod $dirmode $pathcomp" + lasterr="" + chmod "$dirmode" "$pathcomp" || lasterr=$? + + if test ! -z "$lasterr"; then + errstatus=$lasterr + fi + fi + fi + fi + + pathcomp="$pathcomp/" + done +done + +exit $errstatus + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# End: +# mkinstalldirs ends here diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/ylwrap b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/ylwrap new file mode 100644 index 0000000000000000000000000000000000000000..304b82d9a182b40ea543626d330e5733f6d91062 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/admin/ylwrap @@ -0,0 +1,143 @@ +#! /bin/sh +# ylwrap - wrapper for lex/yacc invocations. +# Copyright 1996-1999 Free Software Foundation, Inc. +# Written by Tom Tromey . +# +# 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 +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# Usage: +# ylwrap INPUT [OUTPUT DESIRED]... -- PROGRAM [ARGS]... +# * INPUT is the input file +# * OUTPUT is file PROG generates +# * DESIRED is file we actually want +# * PROGRAM is program to run +# * ARGS are passed to PROG +# Any number of OUTPUT,DESIRED pairs may be used. + +# The input. +input="$1" +shift +case "$input" in + [\\/]* | ?:[\\/]*) + # Absolute path; do nothing. + ;; + *) + # Relative path. Make it absolute. + input="`pwd`/$input" + ;; +esac + +# The directory holding the input. +input_dir=`echo "$input" | sed -e 's,\([\\/]\)[^\\/]*$,\1,'` +# Quote $INPUT_DIR so we can use it in a regexp. +# FIXME: really we should care about more than `.' and `\'. +input_rx=`echo "$input_dir" | sed -e 's,\\\\,\\\\\\\\,g' -e 's,\\.,\\\\.,g'` + +echo "got $input_rx" + +pairlist= +while test "$#" -ne 0; do + if test "$1" = "--"; then + shift + break + fi + pairlist="$pairlist $1" + shift +done + +# The program to run. +prog="$1" +shift +# Make any relative path in $prog absolute. +case "$prog" in + [\\/]* | ?:[\\/]*) ;; + *[\\/]*) prog="`pwd`/$prog" ;; +esac + +# FIXME: add hostname here for parallel makes that run commands on +# other machines. But that might take us over the 14-char limit. +dirname=ylwrap$$ +trap "cd `pwd`; rm -rf $dirname > /dev/null 2>&1" 1 2 3 15 +mkdir $dirname || exit 1 + +cd $dirname + +$prog ${1+"$@"} "$input" +status=$? + +if test $status -eq 0; then + set X $pairlist + shift + first=yes + # Since DOS filename conventions don't allow two dots, + # the DOS version of Bison writes out y_tab.c instead of y.tab.c + # and y_tab.h instead of y.tab.h. Test to see if this is the case. + y_tab_nodot="no" + if test -f y_tab.c || test -f y_tab.h; then + y_tab_nodot="yes" + fi + + while test "$#" -ne 0; do + from="$1" + # Handle y_tab.c and y_tab.h output by DOS + if test $y_tab_nodot = "yes"; then + if test $from = "y.tab.c"; then + from="y_tab.c" + else + if test $from = "y.tab.h"; then + from="y_tab.h" + fi + fi + fi + if test -f "$from"; then + # If $2 is an absolute path name, then just use that, + # otherwise prepend `../'. + case "$2" in + [\\/]* | ?:[\\/]*) target="$2";; + *) target="../$2";; + esac + + # Edit out `#line' or `#' directives. We don't want the + # resulting debug information to point at an absolute srcdir; + # it is better for it to just mention the .y file with no + # path. + sed -e "/^#/ s,$input_rx,," "$from" > "$target" || status=$? + else + # A missing file is only an error for the first file. This + # is a blatant hack to let us support using "yacc -d". If -d + # is not specified, we don't want an error when the header + # file is "missing". + if test $first = yes; then + status=1 + fi + fi + shift + shift + first=no + done +else + status=$? +fi + +# Remove the directory. +cd .. +rm -rf $dirname + +exit $status diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/autoclean.sh b/miniconda3/share/doc/gettext/examples/hello-c++-kde/autoclean.sh new file mode 100644 index 0000000000000000000000000000000000000000..3468274bd82a18311e7b500dda68df893d468429 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/autoclean.sh @@ -0,0 +1,51 @@ +#!/bin/sh +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Script for cleaning all autogenerated files. + +test ! -f Makefile || make distclean +# Do the equivalent of "make maintainer-clean", even without the Makefile. +rm -f subdirs configure.in acinclude.m4 configure.files +rm -rf autom4te.cache + +if test "$1" = fromscratch; then + + # Brought in by explicit copy. + rm -rf admin + +fi + +# Brought in by autopoint. +rm -f ABOUT-NLS +rm -f m4/gettext.m4 +rm -f m4/build-to-host.m4 +rm -f m4/host-cpu-c-abi.m4 +rm -f m4/iconv.m4 +rm -f m4/intlmacosx.m4 +rm -f m4/lib-ld.m4 +rm -f m4/lib-link.m4 +rm -f m4/lib-prefix.m4 +rm -f m4/nls.m4 +rm -f m4/po.m4 +rm -f m4/progtest.m4 +rm -f po/Makefile.in.in +rm -f po/remove-potcdate.sed +rm -f admin/config.rpath + +# Generated through admin/cvs.sh. + rm -f acinclude.m4 + rm -f subdirs configure.files + rm -f configure.in + # Generated by aclocal. + rm -f aclocal.m4 + # Generated by autoconf. + rm -f configure + rm -f config.h.in stamp-h.in + rm -f Makefile.in m4/Makefile.in + +# Generated. +rm -f po/Makefile.in +rm -f po/*.pot +rm -f po/stamp-po +rm -f po/*.gmo diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/autogen.sh b/miniconda3/share/doc/gettext/examples/hello-c++-kde/autogen.sh new file mode 100644 index 0000000000000000000000000000000000000000..75460adc89debdbbc1a53d44e926c599c4fa8dba --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/autogen.sh @@ -0,0 +1,48 @@ +#!/bin/sh +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Script for regenerating all autogenerated files. + +if test "$1" = fromscratch; then + + kdedir= + for d in /usr/lib/kde /usr/local/kde /usr/local /usr/kde /usr /opt/kde3 /opt/kde /suse/opt/kde3 $KDEDIR; do + if test -f $d/share/apps/kdelibs/admin/cvs.sh; then + kdedir=$d + break + fi + done + if test -z "$kdedir"; then + echo "*** KDE directory not found. Try setting KDEDIR." 1>&2 + exit 1 + fi + + cp -a $kdedir/share/apps/kdelibs/admin . + sed -e s/AC_FOREACH/INCOMPATIBLE_FOREACH/g < $kdedir/share/apps/kdelibs/admin/acinclude.m4.in > admin/acinclude.m4.in + sed -e 's/automake\*1.6/automake\*1.[678] | automake\*1.[678]/' < admin/cvs.sh > admin/cvs.sh.new + mv admin/cvs.sh.new admin/cvs.sh + +fi + +autopoint -f # was: gettextize -f -c +mv config.rpath admin/config.rpath +rm -f mkinstalldirs +rm po/Makevars.template +rm po/Rules-quot +rm po/boldquot.sed +rm po/en@boldquot.header +rm po/en@quot.header +rm po/insert-header.sed +rm po/quot.sed + +sh admin/cvs.sh cvs + +cd po +for f in *.po; do + if test -r "$f"; then + lang=`echo $f | sed -e 's,\.po$,,'` + msgfmt -c -o $lang.gmo $lang.po + fi +done +cd .. diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/configure.in.in b/miniconda3/share/doc/gettext/examples/hello-c++-kde/configure.in.in new file mode 100644 index 0000000000000000000000000000000000000000..b084eafe9cdd97bbdcd48f090f34ac39504f7a56 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/configure.in.in @@ -0,0 +1,5 @@ +#MIN_CONFIG + +AM_GNU_GETTEXT([external]) +AM_GNU_GETTEXT_VERSION([0.25]) +AC_CONFIG_FILES([po/Makefile.in]) diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/hello.cc b/miniconda3/share/doc/gettext/examples/hello-c++-kde/hello.cc new file mode 100644 index 0000000000000000000000000000000000000000..e8fefd3f647de93d7b36206f5f7414dc06b0cdb8 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/hello.cc @@ -0,0 +1,73 @@ +// Example for use of GNU gettext. +// Copyright (C) 2003, 2019 Free Software Foundation, Inc. +// This file is published under the GNU General Public License. + +// Source code of the C++ program. + +#if HAVE_CONFIG_H +# include +#endif + +#include +/* Declare KCmdLineArgs, KCmdLineOptions. */ +#include +/* Declare KApplication. */ +#include +/* Declare KAboutData. */ +#include +/* Declare main window widget. */ +#include "hellowindow.h" + +// Comment line options. + +static KCmdLineOptions options[] = +{ + { 0, 0, 0 } // End of options. +}; + +int +main (int argc, char *argv[]) +{ + // Initializations. + + { + // Add our installation directory to KDE's search list for message + // catalogs. By default it looks only in $KDEHOME/share/locale and + // $KDEDIR/share/locale. + QString kdedirs = getenv ("KDEDIRS"); + if (kdedirs.isEmpty ()) + kdedirs = PREFIX; + else + kdedirs = kdedirs + ":" + PREFIX; + setenv ("KDEDIRS", (const char *) kdedirs.local8Bit(), true); + } + + KAboutData aboutData ("hello-c++-kde", + I18N_NOOP ("Hello example"), + VERSION, + I18N_NOOP ("Hello world example"), + KAboutData::License_GPL, + "(C) 2003, 2019 Free Software Foundation", + NULL, + NULL, + "bug-gettext@gnu.org"); + KCmdLineArgs::init (argc, argv, &aboutData); + KCmdLineArgs::addCmdLineOptions (options); + KApplication application; + + // Create the GUI elements. + + HelloMainWindow *window = new HelloMainWindow (); + QObject::connect (window->button, SIGNAL (clicked ()), + &application, SLOT (quit ())); + + application.setMainWidget (window); + + // Make the GUI elements visible. + + window->show (); + + // Start the event loop. + + return application.exec (); +} diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/hellowindow.cc b/miniconda3/share/doc/gettext/examples/hello-c++-kde/hellowindow.cc new file mode 100644 index 0000000000000000000000000000000000000000..f6e341e6ba0192e8af429c23f38786b72c1ca946 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/hellowindow.cc @@ -0,0 +1,68 @@ +// Example for use of GNU gettext. +// Copyright (C) 2003 Free Software Foundation, Inc. +// This file is published under the GNU General Public License. + +#if HAVE_CONFIG_H +# include +#endif + +/* Specification. */ +#include "hellowindow.h" + +/* Declare i18n. */ +#include +/* Declare KMainWindow. */ +#include +/* Declare QLabel. */ +#include +/* Declare QPushButton. */ +#include +/* Declare QString. */ +#include +/* Declare QVBox. */ +#include +/* Declare QHBox. */ +#include + +/* Get getpid() declaration. */ +#if defined _WIN32 && !defined __CYGWIN__ +/* native Windows API */ +# include +# define getpid _getpid +#else +/* POSIX API */ +# include +#endif + +// The main window widget. + +HelloMainWindow::HelloMainWindow (QWidget * parent, const char * name) + : KMainWindow (parent, name) +{ + setCaption ("Hello example"); + + QVBox *panel = new QVBox (this); + panel->setSpacing (2); + + QLabel *label1 = new QLabel (i18n ("Hello, world!"), panel); + + QString label2text; + // NOT using QString::sprintf because it doesn't support reordering of + // arguments. + //label2text.sprintf (i18n ("This program is running as process number %d"), + // getpid ()); + label2text = i18n ("This program is running as process number %1.").arg(getpid ()); + QLabel *label2 = new QLabel (label2text, panel); + + QHBox *buttonbar = new QHBox (panel); + QWidget *filler = new QWidget (buttonbar); // makes the button right-aligned + button = new QPushButton ("OK", buttonbar); + button->setMaximumWidth (button->sizeHint().width() + 20); + + panel->resize (panel->sizeHint ()); + resize (panel->frameSize ()); +} + +HelloMainWindow::~HelloMainWindow () +{ +} diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/hellowindow.h b/miniconda3/share/doc/gettext/examples/hello-c++-kde/hellowindow.h new file mode 100644 index 0000000000000000000000000000000000000000..6457a487d512108fdd1de686b520f1664f54a33b --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/hellowindow.h @@ -0,0 +1,20 @@ +// Example for use of GNU gettext. +// Copyright (C) 2003 Free Software Foundation, Inc. +// This file is published under the GNU General Public License. + +/* Declare KMainWindow. */ +#include +/* Declare QPushButton. */ +#include + +// The main window widget. + +class HelloMainWindow : public KMainWindow +{ + Q_OBJECT +public: + HelloMainWindow (QWidget * parent = NULL, const char * name = NULL); + ~HelloMainWindow (); +public: + QPushButton *button; +}; diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/m4/Makefile.am b/miniconda3/share/doc/gettext/examples/hello-c++-kde/m4/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..7d516f09ff64e7f731d69696326a8626ca9c4ee0 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/m4/Makefile.am @@ -0,0 +1,4 @@ +EXTRA_DIST = \ + gettext.m4 build-to-host.m4 host-cpu-c-abi.m4 \ + iconv.m4 intlmacosx.m4 lib-ld.m4 lib-link.m4 lib-prefix.m4 \ + nls.m4 po.m4 progtest.m4 diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/LINGUAS b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/LINGUAS new file mode 100644 index 0000000000000000000000000000000000000000..dc4a82afbad945018082c22f2061a43ef436dd68 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/LINGUAS @@ -0,0 +1,5 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Set of available languages. +af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ka ky lv ms mt nb nl nn pl pt pt_BR ro ru sk sl sq sr sv ta tr uk vi zh_CN zh_HK zh_TW diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/Makevars b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/Makevars new file mode 100644 index 0000000000000000000000000000000000000000..225e74167331e19ef518f81bd5f4bb9be79b3b86 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/Makevars @@ -0,0 +1,91 @@ +# Makefile variables for PO directory in any package using GNU gettext. +# +# Copyright (C) 2003-2025 Free Software Foundation, Inc. +# This file is free software; the Free Software Foundation gives +# unlimited permission to use, copy, distribute, and modify it. + +# Usually the message domain is the same as the package name. +DOMAIN = $(PACKAGE) + +# These two variables depend on the location of this directory. +subdir = po +top_builddir = .. + +# These options get passed to xgettext. +XGETTEXT_OPTIONS = \ + --qt \ + --keyword=i18n --flag=i18n:1:pass-c-format --flag=i18n:1:pass-qt-format \ + --keyword=tr2i18n --flag=tr2i18n:1:pass-c-format --flag=tr2i18n:1:pass-qt-format \ + --keyword=I18N_NOOP --flag=I18N_NOOP:1:pass-c-format --flag=I18N_NOOP:1:pass-qt-format \ + --keyword=tr --flag=tr:1:pass-c-format --flag=tr:1:pass-qt-format \ + --keyword=translate:2 --flag=translate:2:pass-c-format --flag=translate:2:pass-qt-format \ + --keyword=QT_TR_NOOP --flag=QT_TR_NOOP:1:pass-c-format --flag=QT_TR_NOOP:1:pass-qt-format \ + --keyword=QT_TRANSLATE_NOOP:2 --flag=QT_TRANSLATE_NOOP:2:pass-c-format --flag=QT_TRANSLATE_NOOP:2:pass-qt-format \ + --keyword=_ --flag=_:1:pass-c-format --flag=_:1:pass-qt-format \ + --keyword=N_ --flag=N_:1:pass-c-format --flag=N_:1:pass-qt-format + +# This is the copyright holder that gets inserted into the header of the +# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding +# package. (Note that the msgid strings, extracted from the package's +# sources, belong to the copyright holder of the package.) Translators are +# expected to transfer the copyright for their translations to this person +# or entity, or to disclaim their copyright. The empty string stands for +# the public domain; in this case the translators are expected to disclaim +# their copyright. +COPYRIGHT_HOLDER = Yoyodyne, Inc. + +# This tells whether or not to prepend "GNU " prefix to the package +# name that gets inserted into the header of the $(DOMAIN).pot file. +# Possible values are "yes", "no", or empty. If it is empty, try to +# detect it automatically by scanning the files in $(top_srcdir) for +# "GNU packagename" string. +PACKAGE_GNU = no + +# This is the email address or URL to which the translators shall report +# bugs in the untranslated strings: +# - Strings which are not entire sentences, see the maintainer guidelines +# in the GNU gettext documentation, section 'Preparing Strings'. +# - Strings which use unclear terms or require additional context to be +# understood. +# - Strings which make invalid assumptions about notation of date, time or +# money. +# - Pluralisation problems. +# - Incorrect English spelling. +# - Incorrect formatting. +# It can be your email address, or a mailing list address where translators +# can write to without being subscribed, or the URL of a web page through +# which the translators can contact you. +MSGID_BUGS_ADDRESS = bug-gettext@gnu.org + +# This is the list of locale categories, beyond LC_MESSAGES, for which the +# message catalogs shall be used. It is usually empty. +EXTRA_LOCALE_CATEGORIES = + +# This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt' +# context. Possible values are "yes" and "no". Set this to yes if the +# package uses functions taking also a message context, like pgettext(), or +# if in $(XGETTEXT_OPTIONS) you define keywords with a context argument. +USE_MSGCTXT = no + +# These options get passed to msgmerge. +# Useful options are in particular: +# --previous to keep previous msgids of translated messages +MSGMERGE_OPTIONS = + +# These options get passed to msginit. +# If you want to disable line wrapping when writing PO files, add +# --no-wrap to MSGMERGE_OPTIONS, XGETTEXT_OPTIONS, and +# MSGINIT_OPTIONS. +MSGINIT_OPTIONS = + +# This tells whether or not to regenerate a PO file when $(DOMAIN).pot +# has changed. Possible values are "yes" and "no". Set this to no if +# the POT file is checked in the repository and the version control +# program ignores timestamps. +PO_DEPENDS_ON_POT = yes + +# This tells whether or not to forcibly update $(DOMAIN).pot and +# regenerate PO files on "make dist". Possible values are "yes" and +# "no". Set this to no if the POT file and PO files are maintained +# externally. +DIST_DEPENDS_ON_UPDATE_PO = yes diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/POTFILES.in b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/POTFILES.in new file mode 100644 index 0000000000000000000000000000000000000000..d631e96bd0db9f54dcefac08badfb871e946068b --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/POTFILES.in @@ -0,0 +1,6 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# List of files which contain translatable strings. +hello.cc +hellowindow.cc diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/af.po b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/af.po new file mode 100644 index 0000000000000000000000000000000000000000..fe6863f78c18e410b5ece5dad40ff273d57efc98 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/af.po @@ -0,0 +1,34 @@ +# Afrikaans translation for Silky +# Copyright (C) 2004 Free Software Foundation, Inc. +# This file is distributed under the same license as the silky package. +# Hanlie Pretorius , 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-kde-0.13.1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2003-12-31 10:30+2\n" +"Last-Translator: Ysbeer \n" +"Language-Team: Afrikaans \n" +"Language: af\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:46 +msgid "Hello example" +msgstr "Hallo voorbeeld" + +#: hello.cc:48 +msgid "Hello world example" +msgstr "Hallo wêreld voorbeeld" + +#: hellowindow.cc:47 +msgid "Hello, world!" +msgstr "Hallo wêreld!" + +#: hellowindow.cc:54 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Hierdie program loop as prosesnommer %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/ast.po b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/ast.po new file mode 100644 index 0000000000000000000000000000000000000000..ad4e2882c600e10ffd47f2658987bdf850530312 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/ast.po @@ -0,0 +1,37 @@ +# Asturian translation for hello-c++-kde +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Marquinos , 2009. +# enolp , 2018. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-kde 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2018-07-16 00:28+0100\n" +"Last-Translator: enolp \n" +"Language-Team: Asturian \n" +"Language: ast\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Lokalize 2.0\n" + +#: hello.cc:46 +msgid "Hello example" +msgstr "Hola d'exemplu" + +#: hello.cc:48 +msgid "Hello world example" +msgstr "Hola mundu d'exemplu" + +#: hellowindow.cc:47 +msgid "Hello, world!" +msgstr "¡Hola, mundu!" + +#: hellowindow.cc:54 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Esti programa ta executándose como procesu númberu %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/bg.po b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/bg.po new file mode 100644 index 0000000000000000000000000000000000000000..ac5d3a702831f3ee59e76cfea7bd7ea7c6cf781e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/bg.po @@ -0,0 +1,34 @@ +# Bulgarian translations for hello-c++-kde package. +# Copyright (C) 2010 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Roumen Petrov , 2010,2014,2015,2019,2023,2024.2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c++-kde 0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-08 19:09+0200\n" +"Last-Translator: Roumen Petrov \n" +"Language-Team: Bulgarian \n" +"Language: bg\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:46 +msgid "Hello example" +msgstr "Пример за поздравяване" + +#: hello.cc:48 +msgid "Hello world example" +msgstr "Пример за поздравяване на всички" + +#: hellowindow.cc:47 +msgid "Hello, world!" +msgstr "Здравейте всички!" + +#: hellowindow.cc:54 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Програмата е пусната под процес номер %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/ca.po b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/ca.po new file mode 100644 index 0000000000000000000000000000000000000000..5035f79860a100196de2a53a68976afc5553f694 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/ca.po @@ -0,0 +1,35 @@ +# Catalan messages for GNU hello-c++-kde. +# Copyright (C) 2003, 2014, 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Ivan Vilata i Balaguer , 2003, 2014, 2015, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-kde 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-07-07 08:36+0200\n" +"Last-Translator: Ivan Vilata i Balaguer \n" +"Language-Team: Catalan \n" +"Language: ca\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.cc:46 +msgid "Hello example" +msgstr "Exemple Hola" + +#: hello.cc:48 +msgid "Hello world example" +msgstr "Exemple Hola Món" + +#: hellowindow.cc:47 +msgid "Hello, world!" +msgstr "Hola, món!" + +#: hellowindow.cc:54 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Aquest programa està corrent amb el número de procés %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/cs.po b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/cs.po new file mode 100644 index 0000000000000000000000000000000000000000..70a0af4b9b54976c9690282d4983a729cca87a34 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/cs.po @@ -0,0 +1,37 @@ +# The Czech translation for the gettext package. +# Copyright (C) 2011 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Marek Černocký , 2011. +# Petr Písař , 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-kde 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 20:05+02:00\n" +"Last-Translator: Petr Pisar \n" +"Language-Team: Czech \n" +"Language: cs\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#: hello.cc:46 +msgid "Hello example" +msgstr "Příklad „Hello“" + +#: hello.cc:48 +msgid "Hello world example" +msgstr "Příklad „Hello world“" + +#: hellowindow.cc:47 +msgid "Hello, world!" +msgstr "Ahoj světe!" + +#: hellowindow.cc:54 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Tento program běží jako proces číslo %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/da.po b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/da.po new file mode 100644 index 0000000000000000000000000000000000000000..b8eabcda890b8fd905dc00af0a9ecfc6ac11905e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/da.po @@ -0,0 +1,36 @@ +# Danish messages for hello-c++-kde. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Jan Djærv , 2003, 2006. +# Keld Simonsen , 2011. +# Joe Hansen , 2015. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-kde 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-06-27 12:39+0100\n" +"Last-Translator: Joe Hansen \n" +"Language-Team: Danish \n" +"Language: da\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:46 +msgid "Hello example" +msgstr "Eksempel på hilsen" + +#: hello.cc:48 +msgid "Hello world example" +msgstr "\"Hej verden\"-eksempel" + +#: hellowindow.cc:47 +msgid "Hello, world!" +msgstr "Hej verden!" + +#: hellowindow.cc:54 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Dette program kører som proces nummer %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/de.po b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/de.po new file mode 100644 index 0000000000000000000000000000000000000000..e2861f01c763d50126f14eaf3f51a2f590175412 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/de.po @@ -0,0 +1,40 @@ +# German messages for hello-c++-kde. +# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Bruno Haible , 2003. +# Karl Eichwalder , 2003. +# Jakob Kramer , 2013. +# Mario Blättermann , 2014, 2023, 2025. +# Philipp Thomas , 2015. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-kde 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 17:15+0200\n" +"Last-Translator: Mario Blättermann \n" +"Language-Team: German \n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 25.04.0\n" + +#: hello.cc:46 +msgid "Hello example" +msgstr "Beispiel Hallo" + +#: hello.cc:48 +msgid "Hello world example" +msgstr "Beispiel Hallo-Welt" + +#: hellowindow.cc:47 +msgid "Hello, world!" +msgstr "Hallo Welt!" + +#: hellowindow.cc:54 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Dieses Programm läuft mit der Prozess-Nummer %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/el.po b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/el.po new file mode 100644 index 0000000000000000000000000000000000000000..de1ae3ca698f3343811710def0a18683ef4fc45e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/el.po @@ -0,0 +1,34 @@ +# Greek translation of hello-c++-kde +# Copyright (C) 2005 Free Software Foundation, Inc. +# Simos Xenitellis , 2005. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-kde 0.14.1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2005-01-06 18:50+0000\n" +"Last-Translator: Simos Xenitellis \n" +"Language-Team: Greek \n" +"Language: el\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: KBabel 1.3.1\n" + +#: hello.cc:46 +msgid "Hello example" +msgstr "Παράδειγμα χαιρετισμού" + +#: hello.cc:48 +msgid "Hello world example" +msgstr "Παράδειγμα \"γεια σου κόσμε\"" + +#: hellowindow.cc:47 +msgid "Hello, world!" +msgstr "Γεια σου, κόσμε!" + +#: hellowindow.cc:54 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/eo.po b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/eo.po new file mode 100644 index 0000000000000000000000000000000000000000..87a90b9dec31518bbdfbd3fe702969d9073c41e7 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/eo.po @@ -0,0 +1,36 @@ +# La teksto por la mesaĝoj de la programo "gettext". +# Copyright (C) 2006, 2016 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Edmund GRIMLEY EVANS , 2006. +# Felipe CASTRO , 2016, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-kde 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-23 19:00-0300\n" +"Last-Translator: Felipe Castro \n" +"Language-Team: Esperanto \n" +"Language: eo\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.cc:46 +msgid "Hello example" +msgstr "Saluton-ekzemplo" + +#: hello.cc:48 +msgid "Hello world example" +msgstr "Saluton-mondo-ekzemplo" + +#: hellowindow.cc:47 +msgid "Hello, world!" +msgstr "Saluton, mondo!" + +#: hellowindow.cc:54 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Ĉi tiu programo rulas kiel procez-numero %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/es.po b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/es.po new file mode 100644 index 0000000000000000000000000000000000000000..6af0c73beacc39f983e543a93d0a5c068a0fd9e7 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/es.po @@ -0,0 +1,38 @@ +# Mensajes en español para GNU gettext. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# +# This file is distributed under the same license as the gettext package. +# +# Max de Mendizábal , 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004. +# Antonio Ceballos , 2014, 2015, 2023, 2025 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-kde-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-02-23 17:01+0100\n" +"Last-Translator: Antonio Ceballos \n" +"Language-Team: Spanish \n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.cc:46 +msgid "Hello example" +msgstr "Ejemplo de hola" + +#: hello.cc:48 +msgid "Hello world example" +msgstr "Ejemplo de hola mundo" + +#: hellowindow.cc:47 +msgid "Hello, world!" +msgstr "¡Hola, mundo!" + +#: hellowindow.cc:54 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Este programa está corriendo como el proceso número %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/fi.po b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/fi.po new file mode 100644 index 0000000000000000000000000000000000000000..58d8a26f29a1dd032096c2fef4210baf1d737c1a --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/fi.po @@ -0,0 +1,37 @@ +# Finnish messages for GNU Gettext examples. +# This file is distributed under the same license as the gettext package. +# Copyright © 2007, 2014, 2015 Yoyodyne, Inc. (msgids) +# Lauri Nurmi , 2007. +# Jorma Karvonen , 2014-2015. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-kde 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-09-01 16:59+0300\n" +"Last-Translator: Jorma Karvonen \n" +"Language-Team: Finnish \n" +"Language: fi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 1.5.4\n" + +#: hello.cc:46 +msgid "Hello example" +msgstr "Tervehdysesimerkki" + +#: hello.cc:48 +msgid "Hello world example" +msgstr "Terve maailma -esimerkki" + +# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti. +#: hellowindow.cc:47 +msgid "Hello, world!" +msgstr "Terve maailma!" + +#: hellowindow.cc:54 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Tämän ohjelman prosessinumero on %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/fr.po b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/fr.po new file mode 100644 index 0000000000000000000000000000000000000000..2a501776be41439a205444202cc41a40e1b3b90f --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/fr.po @@ -0,0 +1,40 @@ +# Messages français pour GNU gettext. +# Copyright (C) 2006 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Michel Robitaille , 2006. +# Christophe Combelles , 2006 +# Stéphane Aulery , 2015 +# Christian Wiatr , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-kde 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-28 16:25+0200\n" +"Last-Translator: Christian Wiatr \n" +"Language-Team: French \n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.cc:46 +msgid "Hello example" +msgstr "Exemple Bonjour" + +#: hello.cc:48 +msgid "Hello world example" +msgstr "Exemple de « Bonjour le monde »" + +#: hellowindow.cc:47 +msgid "Hello, world!" +msgstr "Bonjour, le monde !" + +#: hellowindow.cc:54 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Ce programme est exécuté en tant que processus numéro %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/ga.po b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/ga.po new file mode 100644 index 0000000000000000000000000000000000000000..b9c3b66fcb2790bd18f9aedd52762ea5db45febd --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/ga.po @@ -0,0 +1,34 @@ +# Irish translations for hello-c++-kde. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Kevin Patrick Scannell , 2004, 2017. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-kde 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2017-01-10 12:09-0500\n" +"Last-Translator: Kevin Patrick Scannell \n" +"Language-Team: Irish \n" +"Language: ga\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:46 +msgid "Hello example" +msgstr "Sampla `Dia duit'" + +#: hello.cc:48 +msgid "Hello world example" +msgstr "Sampla `Dia duit a dhomhain'" + +#: hellowindow.cc:47 +msgid "Hello, world!" +msgstr "Dia duit, a dhomhain!" + +#: hellowindow.cc:54 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Tá an clár seo ag rith mar phróiseas %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/gl.po b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/gl.po new file mode 100644 index 0000000000000000000000000000000000000000..8ef75d0968184adcbd489fa2f10fe9fe141a2635 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/gl.po @@ -0,0 +1,39 @@ +# Galician translation for hello-c++-kde package. +# Copyright (C) 2010 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Leandro Regueiro , 2010-2014. +# +# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas +# colaborar connosco, podes atopar máis información en +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-kde 0.19-rc1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2014-05-10 16:34+0100\n" +"Last-Translator: Leandro Regueiro \n" +"Language-Team: Galician \n" +"Language: gl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n!=1);\n" + +#: hello.cc:46 +msgid "Hello example" +msgstr "Exemplo ola" + +#: hello.cc:48 +msgid "Hello world example" +msgstr "Exemplo ola mundo" + +#: hellowindow.cc:47 +msgid "Hello, world!" +msgstr "Ola, mundo!" + +#: hellowindow.cc:54 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Este programa estase executando como o proceso número %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/hr.po b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/hr.po new file mode 100644 index 0000000000000000000000000000000000000000..1e2866fe596f475d46bb778004b88ba7bdcc8528 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/hr.po @@ -0,0 +1,41 @@ +# Translation of hello-c++-kde to Croatian. +# Copyright (C) 2003, 2004, 2014, 2015, 2019 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Permission is granted to freely copy and distribute +# this file and modified versions, provided that this +# header is not removed and modified versions are marked +# as such. +# +# Tomislav Krznar , 2012. +# Božidar Putanec , 2018-2025. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c++-kde 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 10:15-0700\n" +"Last-Translator: Božidar Putanec \n" +"Language-Team: Croatian \n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:46 +msgid "Hello example" +msgstr "Primjer Pozdrava" + +#: hello.cc:48 +msgid "Hello world example" +msgstr "Primjer Pozdrava svijetu" + +#: hellowindow.cc:47 +msgid "Hello, world!" +msgstr "Pozdrav, svijete!" + +#: hellowindow.cc:54 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Ovaj program se izvršava kao proces broj %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/hu.po b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/hu.po new file mode 100644 index 0000000000000000000000000000000000000000..2e07d9b2cccebf675684f18489313aea5956da15 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/hu.po @@ -0,0 +1,37 @@ +# Hungarian translation for hello-c++-kde. +# This file is distributed under the same license as the gettext package. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# +# Tamás Kiss , 2005. +# Balázs Úr , 2014, 2015. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-kde 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-06-23 20:31+0200\n" +"Last-Translator: Balázs Úr \n" +"Language-Team: Hungarian \n" +"Language: hu\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 1.2\n" + +#: hello.cc:46 +msgid "Hello example" +msgstr "Hello példa" + +#: hello.cc:48 +msgid "Hello world example" +msgstr "Hello világ példa" + +#: hellowindow.cc:47 +msgid "Hello, world!" +msgstr "Hello, világ!" + +#: hellowindow.cc:54 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Ez a program a(z) %1 folyamatazonosítóval fut." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/id.po b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/id.po new file mode 100644 index 0000000000000000000000000000000000000000..03f17d8ac0549e9c5cc789c68b7aff9d6d043120 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/id.po @@ -0,0 +1,35 @@ +# translation of hello-c++-kde-0.15-pre5.po to Indonesian +# Copyright (C) 2006 Yoyodyne, Inc. +# This file is distributed under the same license as the PACKAGE package. +# +# Tedi Heriyanto , 2006. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-kde-0.15-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2006-09-27 20:19+0700\n" +"Last-Translator: Tedi Heriyanto \n" +"Language-Team: Indonesian \n" +"Language: id\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: KBabel 1.11.2\n" + +#: hello.cc:46 +msgid "Hello example" +msgstr "Contoh hello" + +#: hello.cc:48 +msgid "Hello world example" +msgstr "Contoh hello world" + +#: hellowindow.cc:47 +msgid "Hello, world!" +msgstr "Hello, world!" + +#: hellowindow.cc:54 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Program ini berjalan sebagai proses nomor %1" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/it.po b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/it.po new file mode 100644 index 0000000000000000000000000000000000000000..0a665e4e11ba50cb48779fbdf042919ad940f88d --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/it.po @@ -0,0 +1,37 @@ +# Italian messages for hello-c++-kde. +# Copyright (C) 2005, 2006 Yoyodyne, Inc. (msgids) +# Copyright (C) 2024 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Marco Colombo , 2005, 2006, 2015. +# Michele Locati , 2024, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c++-kde 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-04 18:28+0200\n" +"Last-Translator: Michele Locati \n" +"Language-Team: Italian \n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:46 +msgid "Hello example" +msgstr "Esempio di Ciao" + +#: hello.cc:48 +msgid "Hello world example" +msgstr "Esempio di Ciao mondo" + +#: hellowindow.cc:47 +msgid "Hello, world!" +msgstr "Ciao, mondo!" + +#: hellowindow.cc:54 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Questo programma è in esecuzione con numero di processo %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/ja.po b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/ja.po new file mode 100644 index 0000000000000000000000000000000000000000..59cc91d3034e020a423858b5500d247caa03601a --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/ja.po @@ -0,0 +1,34 @@ +# Translation of `hello-c++-kde' messages to Japanese. +# Copyright (C) 2005, 2006, 2014, 2015, 2023, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Masahito Yamaga , 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c++-kde 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 19:59+0900\n" +"Last-Translator: Masahito Yamaga \n" +"Language-Team: Japanese \n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:46 +msgid "Hello example" +msgstr "「こんにちは」の例" + +#: hello.cc:48 +msgid "Hello world example" +msgstr "「世界よ, こんにちは」の例" + +#: hellowindow.cc:47 +msgid "Hello, world!" +msgstr "世界よ, こんにちは!" + +#: hellowindow.cc:54 +#, qt-format +msgid "This program is running as process number %1." +msgstr "このプログラムはプロセス番号 %1 で動いています." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/ka.po b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/ka.po new file mode 100644 index 0000000000000000000000000000000000000000..2f6486965485e1470f6d707f1410ce565d9fe9c3 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/ka.po @@ -0,0 +1,36 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Temuri Doghonadze , 2022. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-kde 0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2022-05-22 05:04+0200\n" +"Last-Translator: Temuri Doghonadze \n" +"Language-Team: Georgian <(nothing)>\n" +"Language: ka\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 3.0.1\n" + +#: hello.cc:46 +msgid "Hello example" +msgstr "გამარჯობის მაგალითი" + +#: hello.cc:48 +msgid "Hello world example" +msgstr "გამარჯობა სამყაროს მაგალითი" + +#: hellowindow.cc:47 +msgid "Hello, world!" +msgstr "გამარჯობა სამყაროვ!" + +#: hellowindow.cc:54 +#, qt-format +msgid "This program is running as process number %1." +msgstr "პროგრამა გაშვებულია პროცესის ნომრით %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/ky.po b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/ky.po new file mode 100644 index 0000000000000000000000000000000000000000..9b7c67c2498bf8ee13aed21fce43425ff1f2c78d --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/ky.po @@ -0,0 +1,36 @@ +# Translation of 'hello-c++-kde' messages to Kirghiz. +# Copyright (C) 2004 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Ilyas Bakirov , 2007. +# Ilyas Bakirov , 2018. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-kde 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2018-02-15 18:26+0600\n" +"Last-Translator: Ilyas Bakirov \n" +"Language-Team: Kirghiz \n" +"Language: ky\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 2.0.6\n" + +#: hello.cc:46 +msgid "Hello example" +msgstr "Салам мисалы" + +#: hello.cc:48 +msgid "Hello world example" +msgstr "Салам дүйнө мисалы" + +#: hellowindow.cc:47 +msgid "Hello, world!" +msgstr "Салам дүйнө!" + +#: hellowindow.cc:54 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Бул программа %1 процесс номери катары иштеп жатат." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/lv.po b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/lv.po new file mode 100644 index 0000000000000000000000000000000000000000..4ca96cb4e636024f2f4d2d5b8ca4103ecab49353 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/lv.po @@ -0,0 +1,38 @@ +# Latvian translation of hello-c++-kde +# Copyright (C) 2009 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Arvis Lācis , 2009. +# Rihards Priedītis , 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-kde-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-09 11:44+0000\n" +"Last-Translator: Rihards Priedītis \n" +"Language-Team: Latvian \n" +"Language: lv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : " +"2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cc:46 +msgid "Hello example" +msgstr "Sveiki paraugs" + +#: hello.cc:48 +msgid "Hello world example" +msgstr "Sveika pasaule paraugs" + +#: hellowindow.cc:47 +msgid "Hello, world!" +msgstr "Sveika, pasaule!" + +#: hellowindow.cc:54 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Šī programma darbojas ar procesa numuru %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/ms.po b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/ms.po new file mode 100644 index 0000000000000000000000000000000000000000..e6393f8c775d1b6788cdc463cf5a57b6f180fa7c --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/ms.po @@ -0,0 +1,36 @@ +# hello-c++-kde Bahasa Melayu (Malay) (ms). +# Copyright (C) 2006, 2015, 2023, 2025 Yoyodyne, Inc. (msgids) +# Copyright (C) 2006, 2015, 2023, 2025 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Sharuzzaman Ahmat Raslan , 2006, 2015, 2023, 2025 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-kde 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-03 21:10+0800\n" +"Last-Translator: Sharuzzaman Ahmat Raslan \n" +"Language-Team: Malay \n" +"Language: ms\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cc:46 +msgid "Hello example" +msgstr "Contoh hello" + +#: hello.cc:48 +msgid "Hello world example" +msgstr "Contoh hello world" + +#: hellowindow.cc:47 +msgid "Hello, world!" +msgstr "Hello, dunia!" + +#: hellowindow.cc:54 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Program ini dilaksanakan sebagai proses bernombor %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/mt.po b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/mt.po new file mode 100644 index 0000000000000000000000000000000000000000..b0a549de13246d24f01475282b9c7943891a6161 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/mt.po @@ -0,0 +1,35 @@ +# hello-c++-kde-0.16.2-pre5. +# Copyright (C) 2008 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Clyde Meli , 2001-2008. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-kde 0.16.2-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2008-11-18 17:27+0100\n" +"Last-Translator: Clyde Meli \n" +"Language-Team: Maltese \n" +"Language: mt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:46 +msgid "Hello example" +msgstr "EĊĵempju tal-Hello" + +#: hello.cc:48 +msgid "Hello world example" +msgstr "EĊĵempju ta' Hello lil kulħadd" + +#: hellowindow.cc:47 +msgid "Hello, world!" +msgstr "Hello, lil kulħadd!" + +#: hellowindow.cc:54 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Dal-programm qed jaħdem taħt il-proċess numru %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/nb.po b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/nb.po new file mode 100644 index 0000000000000000000000000000000000000000..4ec5c5ad0c5168079f6e92c9949b7f001cbe47d7 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/nb.po @@ -0,0 +1,37 @@ +# Norwegian Bokmal translations for hello-c++-kde package. +# Copyright (C) 2012 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Johnny A. Solbu , 2012-2024 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-kde 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-01-06 16:33+0100\n" +"Last-Translator: Johnny A. Solbu \n" +"Language-Team: Norwegian Bokmaal \n" +"Language: nb\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.cc:46 +msgid "Hello example" +msgstr "Hallo eksempel" + +#: hello.cc:48 +msgid "Hello world example" +msgstr "Hallo verden-eksempel" + +#: hellowindow.cc:47 +msgid "Hello, world!" +msgstr "Hallo verden!" + +#: hellowindow.cc:54 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Dette programmet kjører som prosess nummer %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/nl.po b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/nl.po new file mode 100644 index 0000000000000000000000000000000000000000..05cb029a22a54c24110e4f35d72c3d6814b44ac1 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/nl.po @@ -0,0 +1,39 @@ +# Dutch translations for GNU hello-c++-kde. +# Copyright (C) 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# "There are three basic rules for writing a novel. +# Unfortunately nobody knows what they are." +# +# Benno Schulenberg , 2007, 2014, 2015, 2019, 2025. +# Elros Cyriatan , 2004. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-kde-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-01 14:51+0100\n" +"Last-Translator: Benno Schulenberg \n" +"Language-Team: Dutch \n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.cc:46 +msgid "Hello example" +msgstr "'Hallo'-voorbeeld" + +#: hello.cc:48 +msgid "Hello world example" +msgstr "'Hallo wereld'-voorbeeld" + +#: hellowindow.cc:47 +msgid "Hello, world!" +msgstr "Hallo, wereld!" + +#: hellowindow.cc:54 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Dit programma draait als proces nummer %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/nn.po b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/nn.po new file mode 100644 index 0000000000000000000000000000000000000000..83e8871676ca3e8e02228a6adc66bfb0191e5aa0 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/nn.po @@ -0,0 +1,36 @@ +# Norwegian Nynorsk translation of GNU hello-c++-kde +# Copyright (C) 2020 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Karl Ove Hufthammer , 2020. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-kde-0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2020-05-04 18:58+0200\n" +"Last-Translator: Karl Ove Hufthammer \n" +"Language-Team: Norwegian Nynorsk \n" +"Language: nn\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 20.04.0\n" + +#: hello.cc:46 +msgid "Hello example" +msgstr "Hei-eksempel" + +#: hello.cc:48 +msgid "Hello world example" +msgstr "«Hei, verda»-eksempel" + +#: hellowindow.cc:47 +msgid "Hello, world!" +msgstr "Hei, verda!" + +#: hellowindow.cc:54 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Dette programmet køyrer som prosess nummer %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/pl.po b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/pl.po new file mode 100644 index 0000000000000000000000000000000000000000..e6e5fe73750d39836bb53bd856b9b3817f5f0b98 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/pl.po @@ -0,0 +1,35 @@ +# Polish translations for the GNU gettext messages, hello-c++-kde domain +# Copyright (C) 2010, 2014, 2015, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Rafał Maszkowski , 2003, 2010, 2014, 2015, 2025 +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c++-kde 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-25 17:16+0200\n" +"Last-Translator: Rafał Maszkowski \n" +"Language-Team: Polish \n" +"Language: pl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8-bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " +"|| n%100>=20) ? 1 : 2);\n" + +#: hello.cc:46 +msgid "Hello example" +msgstr "Przykładowy program witający" + +#: hello.cc:48 +msgid "Hello world example" +msgstr "Przykładowy program witający świat" + +#: hellowindow.cc:47 +msgid "Hello, world!" +msgstr "Cześć, świecie!" + +#: hellowindow.cc:54 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Ten program działa jako proces o numerze %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/pt.po b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/pt.po new file mode 100644 index 0000000000000000000000000000000000000000..d54ab4c61a29619dfddf592d0b9efe2956f7818e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/pt.po @@ -0,0 +1,36 @@ +# Portuguese (Portugal) translation of 'hello-c++-kde' package. +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Pedro Albuquerque , 2019, 2020, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-kde 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 11:24+0100\n" +"Last-Translator: Pedro Albuquerque \n" +"Language-Team: Portuguese \n" +"Language: pt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\\n;\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.6\n" + +#: hello.cc:46 +msgid "Hello example" +msgstr "Exemplo Olá" + +#: hello.cc:48 +msgid "Hello world example" +msgstr "Exemplo Olá mundo" + +#: hellowindow.cc:47 +msgid "Hello, world!" +msgstr "Olá mundo!" + +#: hellowindow.cc:54 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Este programa está em execução como processo nº %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/pt_BR.po b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/pt_BR.po new file mode 100644 index 0000000000000000000000000000000000000000..387ceb6107f5e3e546f7005afd62425e85d11983 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/pt_BR.po @@ -0,0 +1,39 @@ +# Brazilian Portuguese translations for gettext-example +# Traduções em português brasileiro para gettext-example +# Copyright (C) 2025 Yoyodyne, Inc. (msgids) +# Copyright (C) 2025 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Rafael Fontenelle , 2013-2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-kde 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 10:24-0300\n" +"Last-Translator: Rafael Fontenelle \n" +"Language-Team: Brazilian Portuguese \n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Gtranslator 48.0\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:46 +msgid "Hello example" +msgstr "Olá exemplo" + +#: hello.cc:48 +msgid "Hello world example" +msgstr "Olá mundo exemplo" + +#: hellowindow.cc:47 +msgid "Hello, world!" +msgstr "Olá, mundo!" + +#: hellowindow.cc:54 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Este programa está executando com número de processo %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/ro.po b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/ro.po new file mode 100644 index 0000000000000000000000000000000000000000..9b4931a6ff0f7f6638a09ef8870db90981729c8d --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/ro.po @@ -0,0 +1,58 @@ +# Translation of "hello-c++-kde" messages to Romanian. +# Mesajele în limba română pentru pachetul hello-c++-kde. +# Copyright © 2015, 2019, 2022, 2023, 2024, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Eugen Hoancă , 2003. +# Mihai Cristescu , 2015 - 2019. +# Remus-Gabriel Chelu , 2022 - 2025. +# +# Cronologia traducerii fișierului „hello-c++-kde”: +# Traducerea inițială, făcută de EH, pentru versiunea hello-c++-kde 0.12.1, 2003. +# Actualizare a traducerii pentru versiunea hello-c++-kde 0.19.4-rc1, făcută de MC, mar-2015. +# Actualizare a traducerii pentru versiunea hello-c++-kde 0.19.4.73, făcută de MC, iun-2015. +# Actualizare a traducerii pentru versiunea hello-c++-kde 0.20-rc1, făcută de MC, apr-2019. +# Actualizare a mesajelor, de la fișierul „hello-c++-kde-0.20.2.pot”. +# Actualizare a algoritmului formelor de plural (de la „trei-vechi” la „trei-actual”). +# NU și a mesajelor traduse (acestea au rămas neschimbate). +# Eliminare a mesajelor ce-au dispărut în ultima versiune. +# Actualizări realizate de Remus-Gabriel Chelu , 15.01.2022. +# Actualizare a traducerii pentru versiunea 0.20.2 făcută de R-GC, ian-2022. +# Actualizare a traducerii pentru versiunea 0.22 făcută de R-GC, iun-2023. +# Revizuire și corectare a traducerii pentru versiunea 0.23-pre1 făcută de R-GC, oct-2024. +# Actualizare a traducerii pentru versiunea 0.24-pre1 făcută de R-GC, feb-2025. +# Actualizare a traducerii pentru versiunea 0.25-pre1 făcută de R-GC, apr-2025. +# Actualizare a traducerii pentru versiunea Y, făcută de X, Z(luna-anul). +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-kde 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-29 00:25+0200\n" +"Last-Translator: Remus-Gabriel Chelu \n" +"Language-Team: Romanian \n" +"Language: ro\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " +"20)) ? 1 : 2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cc:46 +msgid "Hello example" +msgstr "Exemplu Salut" + +#: hello.cc:48 +msgid "Hello world example" +msgstr "Exemplu Salutare lume" + +#: hellowindow.cc:47 +msgid "Hello, world!" +msgstr "Salutare, lume!" + +#: hellowindow.cc:54 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Acest program rulează ca procesul numărul %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/ru.po b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/ru.po new file mode 100644 index 0000000000000000000000000000000000000000..b0d99a427872ba2059297f9b7f32923be29f58ff --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/ru.po @@ -0,0 +1,38 @@ +# Translation of hello-c++-kde-0.14.1.po to Russian +# Copyright (C) 2004 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Pavel Maryanov , 2004. +# SPDX-FileCopyrightText: 2014, 2015, 2023, 2025 Yuri Kozlov +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-kde 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-02 09:17+0300\n" +"Last-Translator: Yuri Kozlov \n" +"Language-Team: Russian \n" +"Language: ru\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Lokalize 24.12.0\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#: hello.cc:46 +msgid "Hello example" +msgstr "Пример: Здравствуйте" + +#: hello.cc:48 +msgid "Hello world example" +msgstr "Пример: Здравствуй, мир" + +#: hellowindow.cc:47 +msgid "Hello, world!" +msgstr "Здравствуй, мир!" + +#: hellowindow.cc:54 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Эта программа выполняется как процесс под номером %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/sk.po b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/sk.po new file mode 100644 index 0000000000000000000000000000000000000000..c93109b02781b63e6cc8e3b3bb0999c02424990b --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/sk.po @@ -0,0 +1,34 @@ +# Slovak translations GNU for hello-c++-kde package. +# Copyright (C) 2003, 2004, 2014, 2023, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Marcel Telka , 2003, 2004, 2014, 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c++-kde 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 13:53+0200\n" +"Last-Translator: Marcel Telka \n" +"Language-Team: Slovak \n" +"Language: sk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:46 +msgid "Hello example" +msgstr "Príklad \"Ahoj\"" + +#: hello.cc:48 +msgid "Hello world example" +msgstr "Príklad \"Ahoj svet\"" + +#: hellowindow.cc:47 +msgid "Hello, world!" +msgstr "Ahoj svet!" + +#: hellowindow.cc:54 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Tento program beží ako proces s číslom %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/sl.po b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/sl.po new file mode 100644 index 0000000000000000000000000000000000000000..15397fd453620dfb1b1992c34f9a8358eb0e0bd8 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/sl.po @@ -0,0 +1,37 @@ +# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example +# Copyright (C) 2005 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Primož Peterlin , 2005, 2014, 2015, 2024. +# $Id: hello-c++-kde-0.22.sl.po,v 1.1 2024/03/28 17:02:19 peterlin Exp $ +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-kde 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-03-28 18:02+0100\n" +"Last-Translator: Primož Peterlin \n" +"Language-Team: Slovenian \n" +"Language: sl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8-bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || " +"n%100==4 ? 3 : 0);\n" + +#: hello.cc:46 +msgid "Hello example" +msgstr "Zgled Pozdravljen" + +#: hello.cc:48 +msgid "Hello world example" +msgstr "Zgled Pozdravljen svet" + +#: hellowindow.cc:47 +msgid "Hello, world!" +msgstr "Pozdravljen, svet!" + +#: hellowindow.cc:54 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Ta program teče kot proces številka %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/sq.po b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/sq.po new file mode 100644 index 0000000000000000000000000000000000000000..e349af6e92d5364651e937a2c58a0e48543e3831 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/sq.po @@ -0,0 +1,36 @@ +# Albanian translation of gettext-example. +# Copyright (C) 2020 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Besnik Bleta , 2020,2023,2024,2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-kde-0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 19:56+0300\n" +"Last-Translator: Besnik Bleta \n" +"Language-Team: Albanian \n" +"Language: sq\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.2.2\n" + +#: hello.cc:46 +msgid "Hello example" +msgstr "Shembull tungjatjete" + +#: hello.cc:48 +msgid "Hello world example" +msgstr "Shembull Tungjatjeta Botë" + +#: hellowindow.cc:47 +msgid "Hello, world!" +msgstr "Tungjatjeta, botë!" + +#: hellowindow.cc:54 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Ky program po xhiron si procesi numër %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/sr.po b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/sr.po new file mode 100644 index 0000000000000000000000000000000000000000..250d53d20052d509358b9e8eeba5e709e76ae2c0 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/sr.po @@ -0,0 +1,38 @@ +# Serbian translation of hello-c++-kde. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Aleksandar Jelenak , 2004. +# Мирослав Николић , 2014-2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-kde-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-02 16:51+0100\n" +"Last-Translator: Мирослав Николић \n" +"Language-Team: Serbian <(nothing)>\n" +"Language: sr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cc:46 +msgid "Hello example" +msgstr "Пример „Здраво“" + +#: hello.cc:48 +msgid "Hello world example" +msgstr "Пример „Здраво свима“" + +#: hellowindow.cc:47 +msgid "Hello, world!" +msgstr "Здраво, свима!" + +#: hellowindow.cc:54 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Овај програм се извршава као процес број %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/sv.po b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/sv.po new file mode 100644 index 0000000000000000000000000000000000000000..fd8a4f53f392dd6a32d060755227165c36169270 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/sv.po @@ -0,0 +1,38 @@ +# Swedish messages for hello-c++-kde. +# Copyright © 2006, 2014, 2016, 2019, 2020, 2023, 2024, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Jan Djärv , 2003, 2006, 2014. +# Göran Uddeborg , 2016, 2019, 2020, 2023, 2024, 2025. +# Luna Jernberg , 2025. +# $Revision: 1.12 $ +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-kde 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 12:18+0200\n" +"Last-Translator: Luna Jernberg \n" +"Language-Team: Swedish \n" +"Language: sv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cc:46 +msgid "Hello example" +msgstr "Hälsningsexempel" + +#: hello.cc:48 +msgid "Hello world example" +msgstr "Hej världen-exempel" + +#: hellowindow.cc:47 +msgid "Hello, world!" +msgstr "Hej världen!" + +#: hellowindow.cc:54 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Detta program kör som process nummer %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/ta.po b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/ta.po new file mode 100644 index 0000000000000000000000000000000000000000..fd2954e41c13322d08bab966925a1bf24b0dd7ea --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/ta.po @@ -0,0 +1,36 @@ +# Tamil messages for GNU gettext. +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# List of contributors follow: +# Poorajith , 2018. +# Arun Isaac , 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-kde 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-19 00:06+0100\n" +"Last-Translator: Arun Isaac \n" +"Language-Team: Tamil \n" +"Language: ta\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:46 +msgid "Hello example" +msgstr "வணக்கம் எடுத்துக்காட்டு" + +#: hello.cc:48 +msgid "Hello world example" +msgstr "வணக்கம் உலகு எடுத்துக்காட்டு" + +#: hellowindow.cc:47 +msgid "Hello, world!" +msgstr "வணக்கம், உலகு!" + +#: hellowindow.cc:54 +#, qt-format +msgid "This program is running as process number %1." +msgstr "இந்நிரல் செயலாக்க எண் %1 ஆக இயங்கிக்கொண்டிருக்கிறது." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/tr.po b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/tr.po new file mode 100644 index 0000000000000000000000000000000000000000..c8f9fa980f6498d1c1a4f70957d55fc57cf7da35 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/tr.po @@ -0,0 +1,37 @@ +# Turkish translation for hello-c++-kde. +# This file is distributed under the same license as the gettext package. +# Copyright (C) 2017 Yoyodyne, Inc. (msgids) +# Copyright (C) 2004 Free Software Foundation, Inc. +# Nilgün Belma Bugüner , 2003,2004 +# Mehmet Kececi , 2017, 2019, 2020. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-kde 0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2020-04-17 13:10+0300\n" +"Last-Translator: Mehmet Kececi \n" +"Language-Team: Turkish \n" +"Language: tr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Poedit 2.3\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:46 +msgid "Hello example" +msgstr "Merhaba örneği" + +#: hello.cc:48 +msgid "Hello world example" +msgstr "Merhaba dünya örneği" + +#: hellowindow.cc:47 +msgid "Hello, world!" +msgstr "Merhaba, dünya!" + +#: hellowindow.cc:54 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Bu yazılım %1 süreç numarası ile çalışıyor." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/uk.po b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/uk.po new file mode 100644 index 0000000000000000000000000000000000000000..8afcc516762e3a86ceb53af50578e07a84b2907a --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/uk.po @@ -0,0 +1,38 @@ +# Ukrainian translation to hello-c++-kde +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Maxim V. Dziumanenko , 2004-2007. +# Yuri Chornoivan , 2014, 2015, 2023, 2025. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-kde 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 13:56+0300\n" +"Last-Translator: Yuri Chornoivan \n" +"Language-Team: Ukrainian \n" +"Language: uk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Generator: Lokalize 23.04.3\n" + +#: hello.cc:46 +msgid "Hello example" +msgstr "Приклад привітання" + +#: hello.cc:48 +msgid "Hello world example" +msgstr "Приклад «Привітання»" + +#: hellowindow.cc:47 +msgid "Hello, world!" +msgstr "Привіт, світе!" + +#: hellowindow.cc:54 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Ця програма виконується як процес з номером %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/vi.po b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/vi.po new file mode 100644 index 0000000000000000000000000000000000000000..dd9b54e039471192337e8b7d293ebdffc83efcd2 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/vi.po @@ -0,0 +1,38 @@ +# Vietnamese Translation for Gettext Examples. +# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext. +# Copyright © 2015 Yoyodyne, Inc. (msgids) +# Copyright © 2015 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Clytie Siddall , 2005-2010. +# Trần Ngọc Quân , 2012-2015, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-kde 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-24 09:10+0700\n" +"Last-Translator: Trần Ngọc Quân \n" +"Language-Team: Vietnamese \n" +"Language: vi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: hello.cc:46 +msgid "Hello example" +msgstr "Ví dụ “Chào”" + +#: hello.cc:48 +msgid "Hello world example" +msgstr "Ví dụ “Chào thế giới”" + +#: hellowindow.cc:47 +msgid "Hello, world!" +msgstr "Chào thế giới!" + +#: hellowindow.cc:54 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Chương trình này đang chạy với mã số tiến trình %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/zh_CN.po b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/zh_CN.po new file mode 100644 index 0000000000000000000000000000000000000000..59d4936d93dd47ab30772e118bc30b24948373dc --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/zh_CN.po @@ -0,0 +1,37 @@ +# zh_CN translation for hello-c++-kde. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Funda Wang , 2003. +# Ji ZhengYu , 2015. +# Boyuan Yang <073plan@gmail.com>, 2019, 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-kde 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-29 15:56-0400\n" +"Last-Translator: Boyuan Yang <073plan@gmail.com>\n" +"Language-Team: Chinese (simplified) \n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.6\n" + +#: hello.cc:46 +msgid "Hello example" +msgstr "世界你好示例" + +#: hello.cc:48 +msgid "Hello world example" +msgstr "世界你好示例" + +#: hellowindow.cc:47 +msgid "Hello, world!" +msgstr "你好,世界!" + +#: hellowindow.cc:54 +#, qt-format +msgid "This program is running as process number %1." +msgstr "此程序正以进程号 %1 运行。" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/zh_HK.po b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/zh_HK.po new file mode 100644 index 0000000000000000000000000000000000000000..bff9612b28929d8c49e0a1f97fcc4fdcadebefcc --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/zh_HK.po @@ -0,0 +1,33 @@ +# Chinese (Hong Kong) translation of hello-c++-kde. +# Copyright (C) 2006 Yoyodyne, Inc. +# Abel Cheung , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-kde 0.15-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2006-07-05 15:40+0800\n" +"Last-Translator: Abel Cheung \n" +"Language-Team: Chinese (Hong Kong) \n" +"Language: zh_HK\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:46 +msgid "Hello example" +msgstr "測試範例" + +#: hello.cc:48 +msgid "Hello world example" +msgstr "訊息測試範例" + +#: hellowindow.cc:47 +msgid "Hello, world!" +msgstr "你好!" + +#: hellowindow.cc:54 +#, qt-format +msgid "This program is running as process number %1." +msgstr "本程式正在執行中,進程編號為 %1。" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/zh_TW.po b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/zh_TW.po new file mode 100644 index 0000000000000000000000000000000000000000..b9a18f345011c2702f2b2bd6fb67c2d62b0d042c --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-kde/po/zh_TW.po @@ -0,0 +1,37 @@ +# Traditional Chinese translation of hello-c++-kde. +# Copyright (C) 2009 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Abel Cheung , 2005. +# Wei-Lun Chao , 2013, 2015. +# Yi-Jyun Pan , 2024. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-kde 0.23-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-11-30 14:14+0800\n" +"Last-Translator: Yi-Jyun Pan \n" +"Language-Team: Chinese (traditional) \n" +"Language: zh_TW\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cc:46 +msgid "Hello example" +msgstr "測試範例" + +#: hello.cc:48 +msgid "Hello world example" +msgstr "訊息測試範例" + +#: hellowindow.cc:47 +msgid "Hello, world!" +msgstr "哈囉,大家好!" + +#: hellowindow.cc:54 +#, qt-format +msgid "This program is running as process number %1." +msgstr "本程式正在執行,行程編號為 %1。" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/BUGS b/miniconda3/share/doc/gettext/examples/hello-c++-qt/BUGS new file mode 100644 index 0000000000000000000000000000000000000000..6899f3e464894d5f028e64abd45db82e852000ce --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/BUGS @@ -0,0 +1,3 @@ +Qt looks only at the LANG value and ignores LC_MESSAGES and LC_ALL. (Bug in +function QTextCodec::locale().) Therefore, to make it work, you have to set +LANG to the same value as LC_ALL or LC_MESSAGES. diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/INSTALL b/miniconda3/share/doc/gettext/examples/hello-c++-qt/INSTALL new file mode 100644 index 0000000000000000000000000000000000000000..351c025b38607225622af7c8474b8518b4976015 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/INSTALL @@ -0,0 +1,12 @@ +This example relies on: + - Qt (libqt) and its dependencies: OpenGL (libGL), libpng, zlib (libz) + - the C++ runtime libraries (libstdc++) + +Installation: + ./autogen.sh + ./configure --prefix=/some/prefix --with-qt-dir=/usr/lib/qt3 --enable-threads + make + make install +Cleanup: + make distclean + ./autoclean.sh diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/Makefile.am b/miniconda3/share/doc/gettext/examples/hello-c++-qt/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..44b29ffc2bc248b5a55903821a3a9c45c17b9a0a --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/Makefile.am @@ -0,0 +1,31 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Makefile configuration - processed by automake. + +# General automake options. +AUTOMAKE_OPTIONS = foreign no-dependencies +ACLOCAL_AMFLAGS = -I m4 + +# The list of subdirectories containing Makefiles. +SUBDIRS = m4 po + +# The list of programs that are built. +bin_PROGRAMS = hello + +# The source files of the 'hello' program. +hello_SOURCES = hello.cc + +# Define C macros LOCALEDIR and PKGLOCALEDIR indicating where catalogs will be +# installed. +pkglocaledir = $(pkgdatadir)/locale +DEFS = -DLOCALEDIR=\"$(localedir)\" -DPKGLOCALEDIR=\"$(pkglocaledir)\" @DEFS@ + +CXXFLAGS += $(QT_CXXFLAGS) $(PTHREAD_CFLAGS) + +# Link time dependencies. +LDADD = $(QT_LDFLAGS) +LIBS += $(QT_LIBS) + +# Additional files to be distributed. +EXTRA_DIST = autogen.sh autoclean.sh diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/autoclean.sh b/miniconda3/share/doc/gettext/examples/hello-c++-qt/autoclean.sh new file mode 100644 index 0000000000000000000000000000000000000000..3294bb4d789de10bef9730600507f8095bb87d51 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/autoclean.sh @@ -0,0 +1,33 @@ +#!/bin/sh +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Script for cleaning all autogenerated files. + +test ! -f Makefile || make distclean +rm -rf autom4te.cache + +# Brought in by explicit copy. +rm -f m4/nls.m4 +rm -f m4/po.m4 +rm -f m4/progtest.m4 +rm -f po/remove-potcdate.sed + +# Generated by aclocal. +rm -f aclocal.m4 + +# Generated by autoconf. +rm -f configure + +# Generated or brought in by automake. +rm -f Makefile.in +rm -f m4/Makefile.in +rm -f po/Makefile.in +rm -f compile +rm -f install-sh +rm -f missing +rm -f config.guess +rm -f config.sub +rm -f po/*.pot +rm -f po/stamp-po +rm -f po/*.qm diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/autogen.sh b/miniconda3/share/doc/gettext/examples/hello-c++-qt/autogen.sh new file mode 100644 index 0000000000000000000000000000000000000000..3fa5efe45caad11b8a2f79c6ccb0413fa5a58ade --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/autogen.sh @@ -0,0 +1,44 @@ +#!/bin/sh +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Script for regenerating all autogenerated files. + +if test -r ../Makefile.am; then + # Inside the gettext source directory. + GETTEXT_TOPSRCDIR=../../.. +else + if test -r ../Makefile; then + # Inside a gettext build directory. + GETTEXT_TOOLS_SRCDIR=`sed -n -e 's,^top_srcdir *= *\(.*\)$,\1,p' ../Makefile` + # Adjust a relative top_srcdir. + case $GETTEXT_TOOLS_SRCDIR in + /*) ;; + *) GETTEXT_TOOLS_SRCDIR=../$GETTEXT_TOOLS_SRCDIR ;; + esac + GETTEXT_TOPSRCDIR=$GETTEXT_TOOLS_SRCDIR/../.. + else + # Installed under ${prefix}/share/doc/gettext/examples. + . ../installpaths + fi +fi + +cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/nls.m4 m4/nls.m4 +cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/po.m4 m4/po.m4 +cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/progtest.m4 m4/progtest.m4 +cp -p ${GETTEXTSRCPODIR-$GETTEXT_TOPSRCDIR/gettext-runtime/po}/remove-potcdate.sed po/remove-potcdate.sed + +aclocal -I m4 + +autoconf + +automake -a -c + +cd po +for f in *.po; do + if test -r "$f"; then + lang=`echo $f | sed -e 's,\.po$,,'` + msgfmt -c --qt -o $lang.qm $lang.po + fi +done +cd .. diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/configure.ac b/miniconda3/share/doc/gettext/examples/hello-c++-qt/configure.ac new file mode 100644 index 0000000000000000000000000000000000000000..5f5ad05a24d394d00728f6983c65fb6f636e9134 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/configure.ac @@ -0,0 +1,22 @@ +dnl Example for use of GNU gettext. +dnl This file is in the public domain. +dnl +dnl Configuration file - processed by autoconf. + +AC_INIT([hello-c++-qt], [0], , [hello-c++-qt]) +AC_CONFIG_SRCDIR([hello.cc]) +AM_INIT_AUTOMAKE([1.11]) + +AC_PROG_CXX +FUN_TYPE_BOOL +FUN_HEADER_STDCXX +FUN_CHECK_PTHREAD +FUN_CHECK_QT(220) + +dnl Support for the po directory. +AM_PO_SUBDIRS + +AC_CONFIG_FILES([Makefile]) +AC_CONFIG_FILES([m4/Makefile]) +AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE]) +AC_OUTPUT diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/hello.cc b/miniconda3/share/doc/gettext/examples/hello-c++-qt/hello.cc new file mode 100644 index 0000000000000000000000000000000000000000..25545903ac3c99d7a645a30dd4d4cb177a8e6dd7 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/hello.cc @@ -0,0 +1,78 @@ +// Example for use of GNU gettext. +// This file is in the public domain. + +// Source code of the C++ program. + +#include +#include +#include +#include +#include +#include +#include +#include + +/* Get getpid() declaration. */ +#if defined _WIN32 && !defined __CYGWIN__ +/* native Windows API */ +# include +# define getpid _getpid +#else +/* POSIX API */ +# include +#endif + +int +main (int argc, char *argv[]) +{ + // Initializations. + + QApplication application (argc, argv); +#if 0 + GettextTranslator *translator = + new GettextTranslator (&application, "hello-c++-qt", LOCALEDIR); +#else + QTranslator *translator = new QTranslator (NULL); + translator->load (QString ("hello-c++-qt") + "_" + QTextCodec::locale(), + PKGLOCALEDIR); +#endif + application.installTranslator (translator); +#define _(string) application.translate ("", string) + + // Create the GUI elements. + + QMainWindow *window = new QMainWindow (); + window->setCaption ("Hello example"); + + QVBox *panel = new QVBox (window); + panel->setSpacing (2); + + QLabel *label1 = new QLabel (_("Hello, world!"), panel); + + QString label2text; + // NOT using QString::sprintf because it doesn't support reordering of + // arguments. + //label2text.sprintf (_("This program is running as process number %d"), + // getpid ()); + label2text = _("This program is running as process number %1.").arg(getpid ()); + QLabel *label2 = new QLabel (label2text, panel); + + QHBox *buttonbar = new QHBox (panel); + QWidget *filler = new QWidget (buttonbar); // makes the button right-aligned + QPushButton *button = new QPushButton ("OK", buttonbar); + button->setMaximumWidth (button->sizeHint().width() + 20); + QObject::connect (button, SIGNAL (clicked ()), &application, SLOT (quit ())); + + panel->resize (panel->sizeHint ()); + window->resize (panel->frameSize ()); + + application.setMainWidget (window); + + // Make the GUI elements visible. + + window->show (); + + // Start the event loop. + + return application.exec (); +} diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/m4/Makefile.am b/miniconda3/share/doc/gettext/examples/hello-c++-qt/m4/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..b15ec45d970cc9285f62e9a0e53311e9efe210d0 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/m4/Makefile.am @@ -0,0 +1,3 @@ +EXTRA_DIST = \ + nls.m4 po.m4 \ + qt.m4 diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/m4/qt.m4 b/miniconda3/share/doc/gettext/examples/hello-c++-qt/m4/qt.m4 new file mode 100644 index 0000000000000000000000000000000000000000..b734356a129fbd864c3cf1e968b7eb138ddcd873 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/m4/qt.m4 @@ -0,0 +1,466 @@ +# Copyright (C) 2001 David Johnson +# This file is free software; the author gives unlimited permission to copy +# and/or distribute it, with or without modifications, as long as this notice +# is preserved. + +# FUN_TYPE BOOL +# check for a built-in bool type +# HAVE_BOOL will be defined in the config header + +AC_DEFUN([FUN_TYPE_BOOL], +[ + AC_REQUIRE([AC_PROG_CXX]) + + AC_LANG_PUSH(C++) + AC_CHECK_TYPE(bool, ac_check_bool=yes, ac_check_bool=no) + AC_LANG_POP(C++) + if test "x$ac_check_bool" = "xyes" ; then + AC_DEFINE(HAVE_BOOL,,[define if bool is a built-in type]) + fi + + AH_BOTTOM([#ifndef HAVE_BOOL]) + AH_BOTTOM([enum booltyp { false, true }; typedef enum booltyp bool;]) + AH_BOTTOM([#endif]) +])# FUN_TYPE_BOOL + +# FUN_HEADER_STDCXX +# check for standard ISO C++ headers + +AC_DEFUN([FUN_HEADER_STDCXX], +[ + AC_REQUIRE([AC_PROG_CXX]) + + AC_LANG_PUSH(C++) + + ac_check_headers=no + AC_CHECK_HEADER(cstdlib, + ac_check_headers=yes, + ac_check_headers=no) + AC_CHECK_HEADER(cstring, + ac_check_headers=$ac_check_headers, + ac_check_headers=no) + AC_CHECK_HEADER(iostream, + ac_check_headers=$ac_check_headers, + ac_check_headers=no) + + AC_LANG_POP(C++) + + if test "x$ac_check_headers" = "xno" ; then + AC_MSG_ERROR(standard ISO C++ headers not found!) + fi +])#FUN_HEADER_STDCXX + +# FUN_CHECK_PTHREAD +# check for posix pthreads +# sets PTHREAD_LIBS and PTHREAD_CFLAGS +# sets HAVE_PTHREADS in the configuration header + +AC_DEFUN([FUN_CHECK_PTHREAD], +[ + AC_REQUIRE([AC_CANONICAL_HOST]) + AC_REQUIRE([AC_PROG_CC]) + + PTHREAD_LIBS="" + PTHREAD_CFLAGS="" + + AC_ARG_ENABLE(threads, AC_HELP_STRING([--enable-threads], + [enable the use of the threads [[default=no]]]), + ac_use_threads=$enableval, ac_use_threads=no) + + if test "x$ac_use_threads" = "xyes" ; then + + AC_CHECK_HEADER(pthread.h, ac_posix_threads=yes, ac_posix_threads=no) + + if test "x$ac_posix_threads" = "xyes" ; then + + AC_MSG_CHECKING([whether ${CC} accepts -pthread]) + ac_cflags_save="$CFLAGS" + CFLAGS="$CFLAGS -pthread" + AC_TRY_COMPILE([#include ], [pthread_attr_init(0)], + ac_cc_pthread=yes, ac_cc_pthread=no) + CFLAGS="$ac_cflags_save" + + if test "x$ac_cc_pthread" = "xyes" ; then + AC_MSG_RESULT([yes]) + PTHREAD_CFLAGS="-pthread" + else + AC_MSG_RESULT([no]) + ac_thread_library=none + + if test "x$ac_thread_library" = "xnone" ; then + AC_CHECK_LIB(c_r, pthread_self, ac_thread_library=c_r) + fi + if test "x$ac_thread_library" = "xnone" ; then + AC_CHECK_LIB(pthread, pthread_self, ac_thread_library=pthread) + fi + if test "x$ac_thread_library" = "xnone" ; then + AC_CHECK_LIB(pthreads, pthread_self, ac_thread_library=pthreads) + fi + if test "x$ac_thread_library" = "xnone" ; then + AC_CHECK_LIB(thread, pthread_self, ac_thread_library=thread) + fi + if test "x$ac_thread_library" = "xnone" ; then + AC_CHECK_LIB(gthreads, pthread_self, ac_thread_library=gthreads) + fi + if test "x$ac_thread_library" = "xnone" ; then + AC_CHECK_LIB(c, pthread_self, ac_thread_library=c) + fi + if test "x$ac_thread_library" = "xnone" ; then + ac_use_threads=no + else + PTHREAD_LIBS="-l$ac_thread_library" + fi + fi + else + ac_use_threads=no + fi + fi + + if test "x$ac_use_threads" = "xyes" ; then + AC_DEFINE(HAVE_PTHREAD, 1, [Define if you have POSIX threads]) + case $host_os in + aix* | freebsd*) + PTHREAD_CFLAGS="$PTHREAD_CFLAGS -D_THREAD_SAFE" + ;; + linux* | solaris*) + PTHREAD_CFLAGS="$PTHREAD_CFLAGS -D_REENTRANT" + ;; + *) + ;; + esac + fi +])#FUN_CHECK_PTHREAD + +# FUN_CHECK_QT([qt_min_version],[qt_max_version]) +# check for qt headers, libs, progs and compilation +# substs QT_CXXFLAGS, QT_LDFLAGS, and QT_LIBS +# substs QTVERSION, MOC and UIC +# LIBQT, MOC and UIC 'precious' variables + +AC_DEFUN([FUN_CHECK_QT], +[ + AC_REQUIRE([AC_PROG_CXX]) + AC_REQUIRE([AC_PATH_X]) + AC_REQUIRE([AC_PATH_XTRA]) + AC_REQUIRE([FUN_CHECK_PTHREAD]) + + # some 'precious' variables for configure --help + AC_ARG_VAR(QTMIN, minimum version of Qt to search for e.g. 220) + AC_ARG_VAR(QTMAX, maximum version of Qt to search for e.g. 399) + AC_ARG_VAR(LIBQT, library flag for the Qt libary e.g. -lqt) + AC_ARG_VAR(MOC, QT meta object compiler command) + AC_ARG_VAR(UIC, Qt UI compiler command) + + AC_CACHE_SAVE + + AC_MSG_NOTICE([checking for Qt]) + + # process our args + if test -z "$1" ; then + qt_min_version=0 + else + qt_min_version=$1 + fi + if test -z "$2" ; then + qt_max_version=9999 + else + qt_max_version=$2 + fi + # adjust for user preferences + if test "x$QTMIN" != "x" ; then + if expr $QTMIN '>' $qt_min_version > /dev/null ; then + qt_min_version=$QTMIN; + fi + fi + if test "x$QTMAX" != "x" ; then + if expr $QTMAX '<' $qt_max_version > /dev/null ; then + qt_max_version=$QTMAX; + fi + fi + + # set up our configuration options + qt_dir="" + qt_includes="" + qt_libraries="" + qt_programs="" + AC_ARG_WITH([qt_dir], AC_HELP_STRING([--with-qt-dir=DIR], + [where the Qt package is installed]), + [ qt_dir="$withval" + qt_includes="$withval"/include + qt_libraries="$withval"/lib + qt_programs="$withval"/bin + ]) + AC_ARG_WITH([qt_includes], AC_HELP_STRING([--with-qt-includes=DIR], + [where the Qt includes are installed]), + [qt_includes="$withval"]) + AC_ARG_WITH([qt_libraries], AC_HELP_STRING([--with-qt-libraries=DIR], + [where the Qt libraries are installed]), + [qt_libraries="$withval"]) + AC_ARG_WITH([qt_programs], AC_HELP_STRING([--with-qt-programs=DIR], + [where the Qt programs are installed]), + [qt_programs="$withval"]) + + QTVERSION="000" + + FUN_QT_HEADERS + + # check for a traditional qt installation tree + if ls $qt_includes/../lib/libqt* > /dev/null 2> /dev/null; then + qt_dir="`echo $qt_includes | sed s,'/include',,`" + qt_libraries="$qt_dir/lib" + qt_programs="$qt_dir/bin" + fi + + FUN_QT_LIBRARIES + FUN_QT_PROGRAMS + FUN_QT_COMPILE + + AC_MSG_NOTICE([Found Qt version $QTVERSION]) + + AC_SUBST(QTVERSION) + AC_SUBST(MOC) + AC_SUBST(UIC) + QT_CXXFLAGS="-I$qt_includes" + AC_SUBST(QT_CXXFLAGS) + QT_LDFLAGS="-L$qt_libraries" + AC_SUBST(QT_LDFLAGS) + QT_LIBS="$LIBQT" + AC_SUBST(QT_LIBS) +])#FUN_CHECK_QT + +# FUN_QT_HEADERS +# helper function for FUN_CHECK_QT +# check for qt headers in standard locations + +AC_DEFUN([FUN_QT_HEADERS], +[ + AC_MSG_CHECKING([for Qt headers]) + + if test "x$qt_includes" = "x" ; then + # look in standard locations + qt_found_dirs="" + qt_include_dirs=" + $QTDIR + /usr/include + /usr/local/include + /usr/X11R6/include + `ls -dr /usr/include/qt* 2>/dev/null` + `ls -dr /usr/local/include/qt* 2>/dev/null` + `ls -dr /usr/X11R6/include/qt* 2>/dev/null` + `ls -dr /usr/lib/qt*/include 2>/dev/null` + `ls -dr /usr/local/lib/qt*/include 2>/dev/null` + `ls -dr /usr/X11R6/lib/qt*/include 2>/dev/null` + `ls -dr /usr/local/qt*/include 2>/dev/null` + `ls -dr /opt/qt*/include 2>/dev/null` " + for n in $qt_include_dirs ; do + if test -r "$n/qglobal.h"; then + qt_found_dirs="$qt_found_dirs $n" + fi + done + + # find the latest version between min_version and max_version + qt_prev_version=$qt_min_version + qt_found_version="" + for n in $qt_found_dirs ; do + qt_current_version=`grep -w '#define QT_VERSION' $n/qglobal.h | + sed s/'#define QT_VERSION'//` + if expr $qt_current_version '>=' $qt_prev_version > /dev/null ; then + if expr $qt_current_version '<=' $qt_max_version > /dev/null ; then + qt_includes=$n + qt_prev_version=$qt_current_version + fi + fi + done + fi + + if test "x$qt_includes" = "x" ; then + AC_MSG_RESULT([no]) + AC_MSG_ERROR([cannot find correct Qt headers!]) + else + dnl TODO need to strip out white space + QTVERSION=$qt_prev_version; + AC_MSG_RESULT([$qt_includes]) + fi +])#FUN_QT_HEADERS + +# FUN_QT_LIBRARIES +# helper function for FUN_CHECK_QT +# check for qt libs in standard locations + +AC_DEFUN([FUN_QT_LIBRARIES], +[ + AC_REQUIRE([FUN_QT_HEADERS]) + + AC_MSG_CHECKING([for Qt libraries]) + + # check which library to look for + if test -z "$LIBQT" ; then + if test "x$ac_use_threads" = "xyes" ; then + LIBQT="-lqt-mt" + else + LIBQT="-lqt" + fi + fi + + lib_qt=`echo $LIBQT | sed s/'-l'//` + + if test "x$qt_libraries" = "x" ; then + # see if it is relative to the includes + qt_tree="$qt_includes" + while test "x$qt_tree" != "x" ; do + # first go around will fail... + if ls $qt_tree/lib/libqt* > /dev/null 2> /dev/null ; then + qt_libraries=$qt_tree/lib + break + else + # lop off tail of path + dnl not as portable as it should be... + qt_tree="`dirname $qt_tree`" + fi + done + fi + + if test "x$qt_libraries" = "x" ; then + AC_MSG_RESULT([no]) + AC_MSG_ERROR([cannot find Qt libraries!]) + else + # check that we're looking at the right library + if ls $qt_libraries/lib$lib_qt.* > /dev/null 2> /dev/null ; then + AC_MSG_RESULT([$qt_libraries]) + else + AC_MSG_RESULT([no]) + if test "x$ac_use_threads" = "xyes" ; then + AC_MSG_ERROR([cannot find the threaded Qt library in $qt_libraries!]) + else + AC_MSG_ERROR([cannot find the non-threaded Qt library in $qt_libraries!]) + fi + fi + fi +])#FUN_QT_LIBRARIES + +# FUN_QT_PROGRAMS +# helper function for FUN_CHECK_QT +# searches for moc and uic + +AC_DEFUN([FUN_QT_PROGRAMS], +[ + AC_REQUIRE([FUN_QT_LIBRARIES]) + + AC_MSG_CHECKING([for Qt utilities]) + + if test "x$q_programs" = "x" ; then + # see if it is relative to the libraries + qt_tree="$qt_libraries" + while test "x$qt_tree" != "x" ; do + # first go around will fail + if ls $qt_tree/bin/moc* > /dev/null 2> /dev/null ; then + qt_programs=$qt_tree/bin + break + else + # lop off tail of path + dnl not as portable as it should be... + qt_tree="`dirname $qt_tree`" + fi + done + # if we haven't found the progs, there's not much more we can do + fi + + if test "x$qt_programs" = "x" ; then + AC_MSG_RESULT([no]) + AC_MSG_ERROR([cannot find Qt utilities!]) + else + AC_MSG_RESULT([$qt_programs]) + # find the right moc + if test -z "$MOC" ; then + AC_CHECK_PROG(MOC, moc, moc) + if test "x$MOC" = "x" ; then + # could be renamed to avoid clashes + if ls $qt_programs/moc > /dev/null 2> /dev/null ; then + MOC="$qt_programs/moc" + else + if expr "$QTVERSION" '>=' "200" > /dev/null ; then + if ls $qt_programs/moc2 > /dev/null 2> /dev/null ; then + MOC="$qt_programs/moc2" + fi + else + if expr "$QTVERSION" '>=' "300" > /dev/null ; then + if $qt_programs/moc3 > /dev/null 2> /dev/null ; then + MOC="$qt_programs/moc3" + fi + fi + fi + fi + fi + if test "x$MOC" = "x" ; then + AC_MSG_RESULT([no]) + AC_MSG_ERROR([cannot find Qt meta object compiler!]) + fi + fi + + # find the right uic + if expr "$QTVERSION" '>=' "220" > /dev/null ; then + if test -z "$UIC" ; then + AC_CHECK_PROG(UIC, uic, uic) + if test "x$UIC" = "x" ; then + # could be renamed to avoid clashes + if ls $qt_programs/uic > /dev/null 2> /dev/null ; then + UIC="$qt_programs/uic" + else + if expr "$QTVERSION" '>=' "300" > /dev/null ; then + if ls $qt_programs/uic3 > /dev/null 2> /dev/null ; then + UIC="$qt_programs/uic3" + fi + fi + fi + fi + fi + else + # if uic is important to the build, change this + UIC="" + fi + fi +])#FUN_QT_PROGRAMS + +# FUN_QT_COMPILE +# helper function for FUN_CHECK_QT +# compile a simple qt program + +AC_DEFUN([FUN_QT_COMPILE], +[ + AC_REQUIRE([FUN_QT_HEADERS]) + AC_REQUIRE([FUN_QT_LIBRARIES]) + AC_REQUIRE([FUN_QT_PROGRAMS]) + + AC_MSG_CHECKING([whether a simple Qt program compiles]) + + AC_LANG_PUSH(C++) + + ac_cxxflags_save="$CXXFLAGS" + ac_ldflags_save="$LDFLAGS" + ac_libs_save="$LIBS" + CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS -I$qt_includes $X_CFLAGS $all_includes" + LDFLAGS="$LDFLAGS -L$qt_libraries $X_LIBS " + LIBS="$LIBS $PTHREAD_LIBS $X_PRE_LIBS $X_EXTRA_LIBS -lXext -lX11 $LIBQT" + + AC_TRY_LINK([ + #include + #include + #include ], + [QString s = "hello world"; + QMessageBox::information(0, s, "no he is not"); + return 0;], + qt_compile=yes, qt_compile=no) + + CXXFLAGS="$ac_cxxflags_save" + LDFLAGS="$ac_ldflags_save" + LIBS="$ac_libs_save" + + AC_LANG_POP(C++) + + if test "x$qt_compile" = "xyes" ; then + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + AC_MSG_ERROR([cannot compile a Qt program!]) + fi +])#FUN_QT_COMPILE diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/LINGUAS b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/LINGUAS new file mode 100644 index 0000000000000000000000000000000000000000..dc4a82afbad945018082c22f2061a43ef436dd68 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/LINGUAS @@ -0,0 +1,5 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Set of available languages. +af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ka ky lv ms mt nb nl nn pl pt pt_BR ro ru sk sl sq sr sv ta tr uk vi zh_CN zh_HK zh_TW diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/Makefile.am b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..cbea4dd4790dd219a2b4d78e27e01a956ba2baf9 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/Makefile.am @@ -0,0 +1,375 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Makefile configuration - processed by automake. + +# List of files which contain translatable strings. +POTFILES = \ + hello.cc + +# Usually the message domain is the same as the package name. +DOMAIN = $(PACKAGE) + +# These options get passed to xgettext. +XGETTEXT_OPTIONS = \ + --qt \ + --keyword=tr:1,1t --keyword=tr:1,2c,2t --keyword=tr:1,1,2c,3t --flag=tr:1:pass-c-format --flag=tr:1:pass-qt-format \ + --keyword=translate:2 --flag=translate:2:pass-c-format --flag=translate:2:pass-qt-format \ + --keyword=QT_TR_NOOP --flag=QT_TR_NOOP:1:pass-c-format --flag=QT_TR_NOOP:1:pass-qt-format \ + --keyword=QT_TRANSLATE_NOOP:2 --flag=QT_TRANSLATE_NOOP:2:pass-c-format --flag=QT_TRANSLATE_NOOP:2:pass-qt-format \ + --keyword=_ --flag=_:1:pass-c-format --flag=_:1:pass-qt-format \ + --keyword=N_ --flag=N_:1:pass-c-format --flag=N_:1:pass-qt-format + +# This is the copyright holder that gets inserted into the header of the +# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding +# package. (Note that the msgid strings, extracted from the package's +# sources, belong to the copyright holder of the package.) Translators are +# expected to transfer the copyright for their translations to this person +# or entity, or to disclaim their copyright. The empty string stands for +# the public domain; in this case the translators are expected to disclaim +# their copyright. +COPYRIGHT_HOLDER = Yoyodyne, Inc. + +# This tells whether or not to prepend "GNU " prefix to the package +# name that gets inserted into the header of the $(DOMAIN).pot file. +# Possible values are "yes", "no", or empty. If it is empty, try to +# detect it automatically by scanning the files in $(top_srcdir) for +# "GNU packagename" string. +PACKAGE_GNU = no + +# This is the email address or URL to which the translators shall report +# bugs in the untranslated strings: +# - Strings which are not entire sentences, see the maintainer guidelines +# in the GNU gettext documentation, section 'Preparing Strings'. +# - Strings which use unclear terms or require additional context to be +# understood. +# - Strings which make invalid assumptions about notation of date, time or +# money. +# - Pluralisation problems. +# - Incorrect English spelling. +# - Incorrect formatting. +# It can be your email address, or a mailing list address where translators +# can write to without being subscribed, or the URL of a web page through +# which the translators can contact you. +MSGID_BUGS_ADDRESS = bug-gettext@gnu.org + +# These options get passed to msgmerge. +# Useful options are in particular: +# --previous to keep previous msgids of translated messages +MSGMERGE_OPTIONS = + +# These options get passed to msginit. +# If you want to disable line wrapping when writing PO files, add +# --no-wrap to MSGMERGE_OPTIONS, XGETTEXT_OPTIONS, and +# MSGINIT_OPTIONS. +MSGINIT_OPTIONS = + +MSGMERGE = @MSGMERGE@ +MSGMERGE_UPDATE = @MSGMERGE@ --update +MSGMERGE_FOR_MSGFMT_OPTION = @MSGMERGE_FOR_MSGFMT_OPTION@ +MSGINIT = msginit +MSGCONV = msgconv +MSGFILTER = msgfilter + +# This is computed as $(foreach file, $(POTFILES), $(top_srcdir)/$(file)) +POTFILES_DEPS != for file in $(POTFILES); do echo $(top_srcdir)/$$file; done + +# The set of available translations. +ALL_LINGUAS != if test -f $(srcdir)/LINGUAS; then \ + sed -e '/^\#/d' < $(srcdir)/LINGUAS; \ + else \ + echo $(LINGUAS); \ + fi +# This is computed as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) +POFILES != for lang in $(ALL_LINGUAS); do echo $(srcdir)/$$lang.po; done +# This is computed as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) +UPDATEPOFILES != for lang in $(ALL_LINGUAS); do echo $$lang.po-update; done +# This is computed as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) +DUMMYPOFILES != for lang in $(ALL_LINGUAS); do echo $$lang.nop; done +# This is computed as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).qm) +QMFILES != for lang in $(ALL_LINGUAS); do echo $(srcdir)/$$lang.qm; done + +# The set of desired translations, as specified by the installer or distributor. +DESIRED_LINGUAS = @DESIRED_LINGUAS@ +# The set of translations to install. This is computed based on $(ALL_LINGUAS) +# and $(DESIRED_LINGUAS). It is a subset of $(ALL_LINGUAS). +# We use the presentlang catalog if desiredlang is +# a. equal to presentlang, or +# b. a variant of presentlang (because in this case, presentlang can be used +# as a fallback for messages which are not translated in the desiredlang +# catalog). +INST_LINGUAS != for presentlang in $(ALL_LINGUAS); do \ + useit=false; \ + for desiredlang in $(DESIRED_LINGUAS); do \ + case "$$desiredlang" in \ + "$$presentlang" | "$$presentlang"_* | "$$presentlang".* | "$$presentlang"@*) \ + useit=true ;; \ + esac; \ + done; \ + if $$useit; then echo $$presentlang; fi; \ + done +# This is computed as $(foreach lang, $(INST_LINGUAS), $(lang).qm) +CATALOGS != for lang in $(INST_LINGUAS); do echo $$lang.qm; done + +SUFFIXES = .po .qm .nop .po-create .po-update + +# The .pot file, stamp-po, .po files, and .qm files appear in release tarballs. +# The GNU Coding Standards say in +# : +# "GNU distributions usually contain some files which are not source files +# ... . Since these files normally appear in the source directory, they +# should always appear in the source directory, not in the build directory. +# So Makefile rules to update them should put the updated files in the +# source directory." +# Therefore we put these files in the source directory, not the build directory. + +# During .po -> .qm conversion, take into account the most recent changes to +# the .pot file. This eliminates the need to update the .po files when the +# .pot file has changed, which would be troublesome if the .po files are put +# under version control. +$(QMFILES): $(srcdir)/$(DOMAIN).pot +.po.qm: + @lang=`echo $* | sed -e 's,.*/,,'`; \ + test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ + echo "$${cdcmd}rm -f $${lang}.qm && $(MSGMERGE) $(MSGMERGE_FOR_MSGFMT_OPTION) -o $${lang}.1po $${lang}.po $(DOMAIN).pot && $(GMSGFMT) -c --qt --statistics --verbose -o $${lang}.qm $${lang}.1po && rm -f $${lang}.1po"; \ + cd $(srcdir) && \ + rm -f $${lang}.qm && \ + $(MSGMERGE) $(MSGMERGE_FOR_MSGFMT_OPTION) -o $${lang}.1po $${lang}.po $(DOMAIN).pot && \ + $(GMSGFMT) -c --qt --statistics --verbose -o t-$${lang}.qm $${lang}.1po && \ + mv t-$${lang}.qm $${lang}.qm && \ + rm -f $${lang}.1po + + +all-local: all-local-@USE_NLS@ + +all-local-yes: $(srcdir)/stamp-po +all-local-no: + +# $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no +# internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because +# we don't want to bother translators with empty POT files). We assume that +# LINGUAS is empty in this case, i.e. $(POFILES) and $(QMFILES) are empty. +# In this case, $(srcdir)/stamp-po is a nop (i.e. a phony target). + +# $(srcdir)/stamp-po is a timestamp denoting the last time at which the CATALOGS +# have been loosely updated. Its purpose is that when a developer or translator +# checks out the package from a version control system, and the $(DOMAIN).pot +# file is not under version control, "make" will update the $(DOMAIN).pot and +# the $(CATALOGS), but subsequent invocations of "make" will do nothing. This +# timestamp would not be necessary if updating the $(CATALOGS) would always +# touch them; however, the rule for $(POFILES) has been designed to not touch +# files that don't need to be changed. +$(srcdir)/stamp-po: $(srcdir)/$(DOMAIN).pot + test ! -f $(srcdir)/$(DOMAIN).pot || \ + test -z "$(QMFILES)" || $(MAKE) $(QMFILES) + @test ! -f $(srcdir)/$(DOMAIN).pot || { \ + echo "touch $(srcdir)/stamp-po" && \ + echo timestamp > $(srcdir)/stamp-poT && \ + mv $(srcdir)/stamp-poT $(srcdir)/stamp-po; \ + } + +# This target rebuilds $(DOMAIN).pot; it is an expensive operation. +# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed. +# The determination of whether the package xyz is a GNU one is based on the +# heuristic whether some file in the top level directory mentions "GNU xyz". +# If GNU 'find' is available, we avoid grepping through monster files. +$(DOMAIN).pot-update: $(POTFILES_DEPS) + package_gnu="$(PACKAGE_GNU)"; \ + test -n "$$package_gnu" || { \ + if { if (LC_ALL=C find --version) 2>/dev/null | grep GNU >/dev/null; then \ + LC_ALL=C find -L $(top_srcdir) -maxdepth 1 -type f -size -10000000c -exec grep -i 'GNU $(PACKAGE)' /dev/null '{}' ';' 2>/dev/null; \ + else \ + LC_ALL=C grep -i 'GNU $(PACKAGE)' $(top_srcdir)/* 2>/dev/null; \ + fi; \ + } | grep -v 'libtool:' >/dev/null; then \ + package_gnu=yes; \ + else \ + package_gnu=no; \ + fi; \ + }; \ + if test "$$package_gnu" = "yes"; then \ + package_prefix='GNU '; \ + else \ + package_prefix=''; \ + fi; \ + if test -n '$(MSGID_BUGS_ADDRESS)'; then \ + msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \ + else \ + msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \ + fi; \ + case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ + '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \ + $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ + --add-comments=TRANSLATORS: \ + --copyright-holder='$(COPYRIGHT_HOLDER)' \ + --msgid-bugs-address="$$msgid_bugs_address" \ + $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ + $(POTFILES) \ + ;; \ + *) \ + $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ + --add-comments=TRANSLATORS: \ + --copyright-holder='$(COPYRIGHT_HOLDER)' \ + --package-name="$${package_prefix}$(PACKAGE)" \ + --package-version='$(VERSION)' \ + --msgid-bugs-address="$$msgid_bugs_address" \ + $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ + $(POTFILES) \ + ;; \ + esac + test ! -f $(DOMAIN).po || { \ + if test -f $(srcdir)/$(DOMAIN).pot-header; then \ + sed -e '1,/^#$$/d' < $(DOMAIN).po > $(DOMAIN).1po && \ + cat $(srcdir)/$(DOMAIN).pot-header $(DOMAIN).1po > $(DOMAIN).po && \ + rm -f $(DOMAIN).1po \ + || exit 1; \ + fi; \ + if test -f $(srcdir)/$(DOMAIN).pot; then \ + sed -f $(srcdir)/remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \ + sed -f $(srcdir)/remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \ + if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \ + rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \ + else \ + rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \ + mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ + fi; \ + else \ + mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ + fi; \ + } + +# This rule has no dependencies: we don't need to update $(DOMAIN).pot at +# every "make" invocation, only create it when it is missing. +# Only "make $(DOMAIN).pot-update" or "make dist" will force an update. +$(srcdir)/$(DOMAIN).pot: + $(MAKE) $(DOMAIN).pot-update + +# This target rebuilds a PO file if $(DOMAIN).pot has changed. +# Note that a PO file is not touched if it doesn't need to be changed. +$(POFILES): $(srcdir)/$(DOMAIN).pot + @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \ + if test -f "$(srcdir)/$${lang}.po"; then \ + test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ + echo "$${cdcmd}$(MSGMERGE_UPDATE) --quiet $(MSGMERGE_OPTIONS) --lang=$${lang} --previous $${lang}.po $(DOMAIN).pot"; \ + cd $(srcdir) \ + && { case `$(MSGMERGE_UPDATE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ + '' | 0.[0-9] | 0.[0-9].* | 0.10 | 0.10.*) \ + $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \ + 0.1[1-5] | 0.1[1-5].*) \ + $(MSGMERGE_UPDATE) --quiet $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \ + 0.1[6-7] | 0.1[6-7].*) \ + $(MSGMERGE_UPDATE) --quiet $(MSGMERGE_OPTIONS) --previous $${lang}.po $(DOMAIN).pot;; \ + *) \ + $(MSGMERGE_UPDATE) --quiet $(MSGMERGE_OPTIONS) --lang=$${lang} --previous $${lang}.po $(DOMAIN).pot;; \ + esac; \ + }; \ + else \ + $(MAKE) $${lang}.po-create; \ + fi + + +install-data-local: install-data-local-@USE_NLS@ +install-data-local-no: all-local +install-data-local-yes: all-local + $(MKDIR_P) $(DESTDIR)$(pkgdatadir)/locale + @catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + cat=`basename $$cat`; \ + if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \ + $(INSTALL_DATA) $$realcat $(DESTDIR)$(pkgdatadir)/locale/$(DOMAIN)_$$cat; \ + echo "installing $$realcat as $(DESTDIR)$(pkgdatadir)/locale/$(DOMAIN)_$$cat"; \ + done + +installdirs-local: installdirs-local-@USE_NLS@ +installdirs-local-no: +installdirs-local-yes: + $(MKDIR_P) $(DESTDIR)$(pkgdatadir)/locale + +uninstall-local: uninstall-local-@USE_NLS@ +uninstall-local-no: +uninstall-local-yes: + catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + cat=`basename $$cat`; \ + rm -f $(DESTDIR)$(pkgdatadir)/locale/$(DOMAIN)_$$cat; \ + done + +html ID: + +MOSTLYCLEANFILES = +MOSTLYCLEANFILES += stamp-poT +MOSTLYCLEANFILES += core core.* *.stackdump $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po +MOSTLYCLEANFILES += *.o + +MAINTAINERCLEANFILES = $(DOMAIN).pot stamp-po $(QMFILES) + +EXTRA_DIST = remove-potcdate.sed LINGUAS $(POFILES) $(QMFILES) + +# Hidden from automake, but really activated. Works around an automake-1.5 bug. +#distdir: distdir1 +distdir1: + $(MAKE) update-po + $(MAKE) $(srcdir)/stamp-po + @if test -f $(srcdir)/$(DOMAIN).pot; then \ + for file in $(DOMAIN).pot stamp-po; do \ + if test -f $$file; then d=.; else d=$(srcdir); fi; \ + cp -p $$d/$$file $(distdir)/$$file || exit 1; \ + done; \ + else \ + case $(XGETTEXT) in \ + :) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because a suitable 'xgettext' program was not found in PATH." 1>&2;; \ + *) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because 'xgettext' found no strings to extract. Check the POTFILES and the XGETTEXT_OPTIONS in the Makefile.am file." 1>&2;; \ + esac; \ + fi + +update-po: Makefile + $(MAKE) $(DOMAIN).pot-update + test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES) + $(MAKE) update-gmo + +# General rule for creating PO files. + +.nop.po-create: + @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \ + echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \ + exit 1 + +# General rule for updating PO files. + +.nop.po-update: + @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \ + tmpdir=`pwd`; \ + echo "$$lang:"; \ + test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ + echo "$${cdcmd}$(MSGMERGE) --quiet $(MSGMERGE_OPTIONS) --lang=$$lang --previous $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \ + cd $(srcdir); \ + if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ + '' | 0.[0-9] | 0.[0-9].* | 0.10 | 0.10.*) \ + $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ + 0.1[1-5] | 0.1[1-5].*) \ + $(MSGMERGE) --quiet $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ + 0.1[6-7] | 0.1[6-7].*) \ + $(MSGMERGE) --quiet $(MSGMERGE_OPTIONS) --previous -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ + *) \ + $(MSGMERGE) --quiet $(MSGMERGE_OPTIONS) --lang=$$lang --previous -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ + esac; \ + }; then \ + if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ + rm -f $$tmpdir/$$lang.new.po; \ + else \ + if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ + :; \ + else \ + echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ + exit 1; \ + fi; \ + fi; \ + else \ + echo "msgmerge for $$lang.po failed!" 1>&2; \ + rm -f $$tmpdir/$$lang.new.po; \ + fi + +$(DUMMYPOFILES): + +update-gmo: Makefile $(QMFILES) + @: diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/af.po b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/af.po new file mode 100644 index 0000000000000000000000000000000000000000..b64a769ec39e0d11e67c8a310c35b06886dd7776 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/af.po @@ -0,0 +1,26 @@ +# Afrikaans translation for Silky +# Copyright (C) 2004 Free Software Foundation, Inc. +# This file is distributed under the same license as the silky package. +# Hanlie Pretorius , 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-qt-0.13.1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2003-12-31 10:30+2\n" +"Last-Translator: Ysbeer \n" +"Language-Team: Afrikaans \n" +"Language: af\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:50 +msgid "Hello, world!" +msgstr "Hallo wêreld!" + +#: hello.cc:57 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Hierdie program loop as prosesnommer %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/ast.po b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/ast.po new file mode 100644 index 0000000000000000000000000000000000000000..9d66e9a06f450706cde220501b3fc9edf27a29bc --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/ast.po @@ -0,0 +1,29 @@ +# Asturian translation for hello-c++-qt +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Marquinos , 2009. +# enolp , 2018. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-qt 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2018-07-16 00:28+0100\n" +"Last-Translator: enolp \n" +"Language-Team: Asturian \n" +"Language: ast\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Lokalize 2.0\n" + +#: hello.cc:50 +msgid "Hello, world!" +msgstr "¡Hola, mundu!" + +#: hello.cc:57 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Esti programa ta executándose como procesu númberu %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/bg.po b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/bg.po new file mode 100644 index 0000000000000000000000000000000000000000..709dfcf684a915ca2d5e10b16fe4b6834917e153 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/bg.po @@ -0,0 +1,26 @@ +# Bulgarian translations for hello-c++-qt package. +# Copyright (C) 2010 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Roumen Petrov , 2010,2014,2015,2019,2023,2024.2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c++-qt 0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-08 19:09+0200\n" +"Last-Translator: Roumen Petrov \n" +"Language-Team: Bulgarian \n" +"Language: bg\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:50 +msgid "Hello, world!" +msgstr "Здравейте всички!" + +#: hello.cc:57 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Програмата е пусната под процес номер %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/ca.po b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/ca.po new file mode 100644 index 0000000000000000000000000000000000000000..9dbd7420fc39fbbe2d71b18ce6bfdbde47880d0b --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/ca.po @@ -0,0 +1,27 @@ +# Catalan messages for GNU hello-c++-qt. +# Copyright (C) 2003, 2014, 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Ivan Vilata i Balaguer , 2003, 2014, 2015, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-qt 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-07-07 08:36+0200\n" +"Last-Translator: Ivan Vilata i Balaguer \n" +"Language-Team: Catalan \n" +"Language: ca\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.cc:50 +msgid "Hello, world!" +msgstr "Hola, món!" + +#: hello.cc:57 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Aquest programa està corrent amb el número de procés %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/cs.po b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/cs.po new file mode 100644 index 0000000000000000000000000000000000000000..75c249cc3478ce26a3f4df358bd8b41d00a3e69e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/cs.po @@ -0,0 +1,29 @@ +# The Czech translation for the gettext package. +# Copyright (C) 2011 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Marek Černocký , 2011. +# Petr Písař , 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-qt 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 20:05+02:00\n" +"Last-Translator: Petr Pisar \n" +"Language-Team: Czech \n" +"Language: cs\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#: hello.cc:50 +msgid "Hello, world!" +msgstr "Ahoj světe!" + +#: hello.cc:57 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Tento program běží jako proces číslo %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/da.po b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/da.po new file mode 100644 index 0000000000000000000000000000000000000000..0cbb631943b79484397aabcf77fae522acf57267 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/da.po @@ -0,0 +1,28 @@ +# Danish messages for hello-c++-qt. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Jan Djærv , 2003, 2006. +# Keld Simonsen , 2011. +# Joe Hansen , 2015. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-qt 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-06-27 12:39+0100\n" +"Last-Translator: Joe Hansen \n" +"Language-Team: Danish \n" +"Language: da\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:50 +msgid "Hello, world!" +msgstr "Hej verden!" + +#: hello.cc:57 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Dette program kører som proces nummer %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/de.po b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/de.po new file mode 100644 index 0000000000000000000000000000000000000000..d698231b2329167c80b297aeaab0d356fa2be87f --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/de.po @@ -0,0 +1,32 @@ +# German messages for hello-c++-qt. +# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Bruno Haible , 2003. +# Karl Eichwalder , 2003. +# Jakob Kramer , 2013. +# Mario Blättermann , 2014, 2023, 2025. +# Philipp Thomas , 2015. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-qt 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 17:15+0200\n" +"Last-Translator: Mario Blättermann \n" +"Language-Team: German \n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 25.04.0\n" + +#: hello.cc:50 +msgid "Hello, world!" +msgstr "Hallo Welt!" + +#: hello.cc:57 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Dieses Programm läuft mit der Prozess-Nummer %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/el.po b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/el.po new file mode 100644 index 0000000000000000000000000000000000000000..afb5372b82258a6dcd7c3ea3d52e3fdb2888ced7 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/el.po @@ -0,0 +1,26 @@ +# Greek translation of hello-c++-qt +# Copyright (C) 2005 Free Software Foundation, Inc. +# Simos Xenitellis , 2005. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-qt 0.14.1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2005-01-06 18:50+0000\n" +"Last-Translator: Simos Xenitellis \n" +"Language-Team: Greek \n" +"Language: el\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: KBabel 1.3.1\n" + +#: hello.cc:50 +msgid "Hello, world!" +msgstr "Γεια σου, κόσμε!" + +#: hello.cc:57 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/eo.po b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/eo.po new file mode 100644 index 0000000000000000000000000000000000000000..d8ef9bcfd977d61d49a04d9d44ecffa6d6a4d8fb --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/eo.po @@ -0,0 +1,28 @@ +# La teksto por la mesaĝoj de la programo "gettext". +# Copyright (C) 2006, 2016 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Edmund GRIMLEY EVANS , 2006. +# Felipe CASTRO , 2016, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-qt 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-23 19:00-0300\n" +"Last-Translator: Felipe Castro \n" +"Language-Team: Esperanto \n" +"Language: eo\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.cc:50 +msgid "Hello, world!" +msgstr "Saluton, mondo!" + +#: hello.cc:57 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Ĉi tiu programo rulas kiel procez-numero %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/es.po b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/es.po new file mode 100644 index 0000000000000000000000000000000000000000..9523a339256f3ba7d15e5a69f067ddc09b003ff3 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/es.po @@ -0,0 +1,30 @@ +# Mensajes en español para GNU gettext. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# +# This file is distributed under the same license as the gettext package. +# +# Max de Mendizábal , 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004. +# Antonio Ceballos , 2014, 2015, 2023, 2025 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-qt-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-02-23 17:01+0100\n" +"Last-Translator: Antonio Ceballos \n" +"Language-Team: Spanish \n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.cc:50 +msgid "Hello, world!" +msgstr "¡Hola, mundo!" + +#: hello.cc:57 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Este programa está corriendo como el proceso número %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/fi.po b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/fi.po new file mode 100644 index 0000000000000000000000000000000000000000..0efc92a2c7bab133102a07742bf6a36450bb17ca --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/fi.po @@ -0,0 +1,29 @@ +# Finnish messages for GNU Gettext examples. +# This file is distributed under the same license as the gettext package. +# Copyright © 2007, 2014, 2015 Yoyodyne, Inc. (msgids) +# Lauri Nurmi , 2007. +# Jorma Karvonen , 2014-2015. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-qt 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-09-01 16:59+0300\n" +"Last-Translator: Jorma Karvonen \n" +"Language-Team: Finnish \n" +"Language: fi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 1.5.4\n" + +# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti. +#: hello.cc:50 +msgid "Hello, world!" +msgstr "Terve maailma!" + +#: hello.cc:57 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Tämän ohjelman prosessinumero on %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/fr.po b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/fr.po new file mode 100644 index 0000000000000000000000000000000000000000..dde27b21d1e772f86c7ed32c8f7417c122e0c68f --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/fr.po @@ -0,0 +1,32 @@ +# Messages français pour GNU gettext. +# Copyright (C) 2006 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Michel Robitaille , 2006. +# Christophe Combelles , 2006 +# Stéphane Aulery , 2015 +# Christian Wiatr , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-qt 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-28 16:25+0200\n" +"Last-Translator: Christian Wiatr \n" +"Language-Team: French \n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.cc:50 +msgid "Hello, world!" +msgstr "Bonjour, le monde !" + +#: hello.cc:57 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Ce programme est exécuté en tant que processus numéro %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/ga.po b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/ga.po new file mode 100644 index 0000000000000000000000000000000000000000..3b8350b446416b44d4ab005a23b35bb6012b15a5 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/ga.po @@ -0,0 +1,26 @@ +# Irish translations for hello-c++-qt. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Kevin Patrick Scannell , 2004, 2017. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-qt 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2017-01-10 12:09-0500\n" +"Last-Translator: Kevin Patrick Scannell \n" +"Language-Team: Irish \n" +"Language: ga\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:50 +msgid "Hello, world!" +msgstr "Dia duit, a dhomhain!" + +#: hello.cc:57 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Tá an clár seo ag rith mar phróiseas %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/gl.po b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/gl.po new file mode 100644 index 0000000000000000000000000000000000000000..653f59f5e87367bf452b65b9181be597b4bef876 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/gl.po @@ -0,0 +1,31 @@ +# Galician translation for hello-c++-qt package. +# Copyright (C) 2010 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Leandro Regueiro , 2010-2014. +# +# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas +# colaborar connosco, podes atopar máis información en +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-qt 0.19-rc1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2014-05-10 16:34+0100\n" +"Last-Translator: Leandro Regueiro \n" +"Language-Team: Galician \n" +"Language: gl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n!=1);\n" + +#: hello.cc:50 +msgid "Hello, world!" +msgstr "Ola, mundo!" + +#: hello.cc:57 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Este programa estase executando como o proceso número %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/hr.po b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/hr.po new file mode 100644 index 0000000000000000000000000000000000000000..2e6af80158452617ca20f5c669948fe7fa61eac5 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/hr.po @@ -0,0 +1,33 @@ +# Translation of hello-c++-qt to Croatian. +# Copyright (C) 2003, 2004, 2014, 2015, 2019 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Permission is granted to freely copy and distribute +# this file and modified versions, provided that this +# header is not removed and modified versions are marked +# as such. +# +# Tomislav Krznar , 2012. +# Božidar Putanec , 2018-2025. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c++-qt 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 10:15-0700\n" +"Last-Translator: Božidar Putanec \n" +"Language-Team: Croatian \n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:50 +msgid "Hello, world!" +msgstr "Pozdrav, svijete!" + +#: hello.cc:57 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Ovaj program se izvršava kao proces broj %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/hu.po b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/hu.po new file mode 100644 index 0000000000000000000000000000000000000000..571011b1047bb1cded840c9ac938584ef3a72389 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/hu.po @@ -0,0 +1,29 @@ +# Hungarian translation for hello-c++-qt. +# This file is distributed under the same license as the gettext package. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# +# Tamás Kiss , 2005. +# Balázs Úr , 2014, 2015. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-qt 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-06-23 20:31+0200\n" +"Last-Translator: Balázs Úr \n" +"Language-Team: Hungarian \n" +"Language: hu\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 1.2\n" + +#: hello.cc:50 +msgid "Hello, world!" +msgstr "Hello, világ!" + +#: hello.cc:57 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Ez a program a(z) %1 folyamatazonosítóval fut." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/id.po b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/id.po new file mode 100644 index 0000000000000000000000000000000000000000..9ab4cde2ad313729ddcff1c6b2f95f6a73319328 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/id.po @@ -0,0 +1,27 @@ +# translation of hello-c++-qt-0.15-pre5.po to Indonesian +# Copyright (C) 2006 Yoyodyne, Inc. +# This file is distributed under the same license as the PACKAGE package. +# +# Tedi Heriyanto , 2006. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-qt-0.15-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2006-09-27 20:19+0700\n" +"Last-Translator: Tedi Heriyanto \n" +"Language-Team: Indonesian \n" +"Language: id\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: KBabel 1.11.2\n" + +#: hello.cc:50 +msgid "Hello, world!" +msgstr "Hello, world!" + +#: hello.cc:57 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Program ini berjalan sebagai proses nomor %1" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/it.po b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/it.po new file mode 100644 index 0000000000000000000000000000000000000000..345db277c2aadcc8ab0a321db8a85de68756b98d --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/it.po @@ -0,0 +1,29 @@ +# Italian messages for hello-c++-qt. +# Copyright (C) 2005, 2006 Yoyodyne, Inc. (msgids) +# Copyright (C) 2024 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Marco Colombo , 2005, 2006, 2015. +# Michele Locati , 2024, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c++-qt 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-04 18:28+0200\n" +"Last-Translator: Michele Locati \n" +"Language-Team: Italian \n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:50 +msgid "Hello, world!" +msgstr "Ciao, mondo!" + +#: hello.cc:57 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Questo programma è in esecuzione con numero di processo %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/ja.po b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/ja.po new file mode 100644 index 0000000000000000000000000000000000000000..2f7d09e14c5a14e347465a38286baa3681da041e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/ja.po @@ -0,0 +1,26 @@ +# Translation of `hello-c++-qt' messages to Japanese. +# Copyright (C) 2005, 2006, 2014, 2015, 2023, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Masahito Yamaga , 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c++-qt 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 19:59+0900\n" +"Last-Translator: Masahito Yamaga \n" +"Language-Team: Japanese \n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:50 +msgid "Hello, world!" +msgstr "世界よ, こんにちは!" + +#: hello.cc:57 +#, qt-format +msgid "This program is running as process number %1." +msgstr "このプログラムはプロセス番号 %1 で動いています." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/ka.po b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/ka.po new file mode 100644 index 0000000000000000000000000000000000000000..9d5688f1563445959377d2abcb4060716bc5fee0 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/ka.po @@ -0,0 +1,28 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Temuri Doghonadze , 2022. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-qt 0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2022-05-22 05:04+0200\n" +"Last-Translator: Temuri Doghonadze \n" +"Language-Team: Georgian <(nothing)>\n" +"Language: ka\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 3.0.1\n" + +#: hello.cc:50 +msgid "Hello, world!" +msgstr "გამარჯობა სამყაროვ!" + +#: hello.cc:57 +#, qt-format +msgid "This program is running as process number %1." +msgstr "პროგრამა გაშვებულია პროცესის ნომრით %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/ky.po b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/ky.po new file mode 100644 index 0000000000000000000000000000000000000000..90be67a34f7525a9cbbd85f77b8e2b51e3631ba3 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/ky.po @@ -0,0 +1,28 @@ +# Translation of 'hello-c++-qt' messages to Kirghiz. +# Copyright (C) 2004 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Ilyas Bakirov , 2007. +# Ilyas Bakirov , 2018. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-qt 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2018-02-15 18:26+0600\n" +"Last-Translator: Ilyas Bakirov \n" +"Language-Team: Kirghiz \n" +"Language: ky\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 2.0.6\n" + +#: hello.cc:50 +msgid "Hello, world!" +msgstr "Салам дүйнө!" + +#: hello.cc:57 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Бул программа %1 процесс номери катары иштеп жатат." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/lv.po b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/lv.po new file mode 100644 index 0000000000000000000000000000000000000000..6f4de7deb00c65e63a1866f5ae01b48de6fc93f5 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/lv.po @@ -0,0 +1,30 @@ +# Latvian translation of hello-c++-qt +# Copyright (C) 2009 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Arvis Lācis , 2009. +# Rihards Priedītis , 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-qt-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-09 11:44+0000\n" +"Last-Translator: Rihards Priedītis \n" +"Language-Team: Latvian \n" +"Language: lv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : " +"2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cc:50 +msgid "Hello, world!" +msgstr "Sveika, pasaule!" + +#: hello.cc:57 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Šī programma darbojas ar procesa numuru %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/ms.po b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/ms.po new file mode 100644 index 0000000000000000000000000000000000000000..0af22c1b233ca15a7f8f306e0e6e31af0a16190a --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/ms.po @@ -0,0 +1,28 @@ +# hello-c++-qt Bahasa Melayu (Malay) (ms). +# Copyright (C) 2006, 2015, 2023, 2025 Yoyodyne, Inc. (msgids) +# Copyright (C) 2006, 2015, 2023, 2025 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Sharuzzaman Ahmat Raslan , 2006, 2015, 2023, 2025 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-qt 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-03 21:10+0800\n" +"Last-Translator: Sharuzzaman Ahmat Raslan \n" +"Language-Team: Malay \n" +"Language: ms\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cc:50 +msgid "Hello, world!" +msgstr "Hello, dunia!" + +#: hello.cc:57 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Program ini dilaksanakan sebagai proses bernombor %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/mt.po b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/mt.po new file mode 100644 index 0000000000000000000000000000000000000000..c034468cde1bc1def8b5895e61f3d5cee130cd1c --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/mt.po @@ -0,0 +1,27 @@ +# hello-c++-qt-0.16.2-pre5. +# Copyright (C) 2008 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Clyde Meli , 2001-2008. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-qt 0.16.2-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2008-11-18 17:27+0100\n" +"Last-Translator: Clyde Meli \n" +"Language-Team: Maltese \n" +"Language: mt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:50 +msgid "Hello, world!" +msgstr "Hello, lil kulħadd!" + +#: hello.cc:57 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Dal-programm qed jaħdem taħt il-proċess numru %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/nb.po b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/nb.po new file mode 100644 index 0000000000000000000000000000000000000000..1e4ff1845f4aac6c4360b775a91a899fc0581ec9 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/nb.po @@ -0,0 +1,29 @@ +# Norwegian Bokmal translations for hello-c++-qt package. +# Copyright (C) 2012 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Johnny A. Solbu , 2012-2024 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-qt 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-01-06 16:33+0100\n" +"Last-Translator: Johnny A. Solbu \n" +"Language-Team: Norwegian Bokmaal \n" +"Language: nb\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.cc:50 +msgid "Hello, world!" +msgstr "Hallo verden!" + +#: hello.cc:57 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Dette programmet kjører som prosess nummer %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/nl.po b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/nl.po new file mode 100644 index 0000000000000000000000000000000000000000..04f339b74eebfb1d4b89cbbb45817ea8a81a155e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/nl.po @@ -0,0 +1,31 @@ +# Dutch translations for GNU hello-c++-qt. +# Copyright (C) 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# "There are three basic rules for writing a novel. +# Unfortunately nobody knows what they are." +# +# Benno Schulenberg , 2007, 2014, 2015, 2019, 2025. +# Elros Cyriatan , 2004. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-qt-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-01 14:51+0100\n" +"Last-Translator: Benno Schulenberg \n" +"Language-Team: Dutch \n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.cc:50 +msgid "Hello, world!" +msgstr "Hallo, wereld!" + +#: hello.cc:57 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Dit programma draait als proces nummer %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/nn.po b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/nn.po new file mode 100644 index 0000000000000000000000000000000000000000..4c3b8898f555886e62bc881894555b14bee1a8a8 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/nn.po @@ -0,0 +1,28 @@ +# Norwegian Nynorsk translation of GNU hello-c++-qt +# Copyright (C) 2020 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Karl Ove Hufthammer , 2020. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-qt-0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2020-05-04 18:58+0200\n" +"Last-Translator: Karl Ove Hufthammer \n" +"Language-Team: Norwegian Nynorsk \n" +"Language: nn\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 20.04.0\n" + +#: hello.cc:50 +msgid "Hello, world!" +msgstr "Hei, verda!" + +#: hello.cc:57 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Dette programmet køyrer som prosess nummer %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/pl.po b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/pl.po new file mode 100644 index 0000000000000000000000000000000000000000..7d622ac2f3f101713d61049f1b84d4f9d6100e22 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/pl.po @@ -0,0 +1,27 @@ +# Polish translations for the GNU gettext messages, hello-c++-qt domain +# Copyright (C) 2010, 2014, 2015, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Rafał Maszkowski , 2003, 2010, 2014, 2015, 2025 +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c++-qt 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-25 17:16+0200\n" +"Last-Translator: Rafał Maszkowski \n" +"Language-Team: Polish \n" +"Language: pl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8-bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " +"|| n%100>=20) ? 1 : 2);\n" + +#: hello.cc:50 +msgid "Hello, world!" +msgstr "Cześć, świecie!" + +#: hello.cc:57 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Ten program działa jako proces o numerze %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/pt.po b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/pt.po new file mode 100644 index 0000000000000000000000000000000000000000..5b7dbde2a1f9181fdf4b64f9af860429d112996e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/pt.po @@ -0,0 +1,28 @@ +# Portuguese (Portugal) translation of 'hello-c++-qt' package. +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Pedro Albuquerque , 2019, 2020, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-qt 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 11:24+0100\n" +"Last-Translator: Pedro Albuquerque \n" +"Language-Team: Portuguese \n" +"Language: pt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\\n;\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.6\n" + +#: hello.cc:50 +msgid "Hello, world!" +msgstr "Olá mundo!" + +#: hello.cc:57 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Este programa está em execução como processo nº %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/pt_BR.po b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/pt_BR.po new file mode 100644 index 0000000000000000000000000000000000000000..9e79e64afb954f4fbc6c5fc8b3301b388e028742 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/pt_BR.po @@ -0,0 +1,31 @@ +# Brazilian Portuguese translations for gettext-example +# Traduções em português brasileiro para gettext-example +# Copyright (C) 2025 Yoyodyne, Inc. (msgids) +# Copyright (C) 2025 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Rafael Fontenelle , 2013-2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-qt 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 10:24-0300\n" +"Last-Translator: Rafael Fontenelle \n" +"Language-Team: Brazilian Portuguese \n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Gtranslator 48.0\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:50 +msgid "Hello, world!" +msgstr "Olá, mundo!" + +#: hello.cc:57 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Este programa está executando com número de processo %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/ro.po b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/ro.po new file mode 100644 index 0000000000000000000000000000000000000000..ec8b782600cd18a0973fbf53b781cbfaed2754ea --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/ro.po @@ -0,0 +1,50 @@ +# Translation of "hello-c++-qt" messages to Romanian. +# Mesajele în limba română pentru pachetul hello-c++-qt. +# Copyright © 2015, 2019, 2022, 2023, 2024, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Eugen Hoancă , 2003. +# Mihai Cristescu , 2015 - 2019. +# Remus-Gabriel Chelu , 2022 - 2025. +# +# Cronologia traducerii fișierului „hello-c++-qt”: +# Traducerea inițială, făcută de EH, pentru versiunea hello-c++-qt 0.12.1, 2003. +# Actualizare a traducerii pentru versiunea hello-c++-qt 0.19.4-rc1, făcută de MC, mar-2015. +# Actualizare a traducerii pentru versiunea hello-c++-qt 0.19.4.73, făcută de MC, iun-2015. +# Actualizare a traducerii pentru versiunea hello-c++-qt 0.20-rc1, făcută de MC, apr-2019. +# Actualizare a mesajelor, de la fișierul „hello-c++-qt-0.20.2.pot”. +# Actualizare a algoritmului formelor de plural (de la „trei-vechi” la „trei-actual”). +# NU și a mesajelor traduse (acestea au rămas neschimbate). +# Eliminare a mesajelor ce-au dispărut în ultima versiune. +# Actualizări realizate de Remus-Gabriel Chelu , 15.01.2022. +# Actualizare a traducerii pentru versiunea 0.20.2 făcută de R-GC, ian-2022. +# Actualizare a traducerii pentru versiunea 0.22 făcută de R-GC, iun-2023. +# Revizuire și corectare a traducerii pentru versiunea 0.23-pre1 făcută de R-GC, oct-2024. +# Actualizare a traducerii pentru versiunea 0.24-pre1 făcută de R-GC, feb-2025. +# Actualizare a traducerii pentru versiunea 0.25-pre1 făcută de R-GC, apr-2025. +# Actualizare a traducerii pentru versiunea Y, făcută de X, Z(luna-anul). +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-qt 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-29 00:25+0200\n" +"Last-Translator: Remus-Gabriel Chelu \n" +"Language-Team: Romanian \n" +"Language: ro\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " +"20)) ? 1 : 2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cc:50 +msgid "Hello, world!" +msgstr "Salutare, lume!" + +#: hello.cc:57 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Acest program rulează ca procesul numărul %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/ru.po b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/ru.po new file mode 100644 index 0000000000000000000000000000000000000000..8cf69c50f635e3ec81f9b543bbbcae5171d64ccf --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/ru.po @@ -0,0 +1,30 @@ +# Translation of hello-c++-qt-0.14.1.po to Russian +# Copyright (C) 2004 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Pavel Maryanov , 2004. +# SPDX-FileCopyrightText: 2014, 2015, 2023, 2025 Yuri Kozlov +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-qt 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-02 09:17+0300\n" +"Last-Translator: Yuri Kozlov \n" +"Language-Team: Russian \n" +"Language: ru\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Lokalize 24.12.0\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#: hello.cc:50 +msgid "Hello, world!" +msgstr "Здравствуй, мир!" + +#: hello.cc:57 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Эта программа выполняется как процесс под номером %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/sk.po b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/sk.po new file mode 100644 index 0000000000000000000000000000000000000000..17c9f011fa6316ea7fbccdd6d319ed8b538b9e83 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/sk.po @@ -0,0 +1,26 @@ +# Slovak translations GNU for hello-c++-qt package. +# Copyright (C) 2003, 2004, 2014, 2023, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Marcel Telka , 2003, 2004, 2014, 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c++-qt 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 13:53+0200\n" +"Last-Translator: Marcel Telka \n" +"Language-Team: Slovak \n" +"Language: sk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:50 +msgid "Hello, world!" +msgstr "Ahoj svet!" + +#: hello.cc:57 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Tento program beží ako proces s číslom %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/sl.po b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/sl.po new file mode 100644 index 0000000000000000000000000000000000000000..d0023c767e84c4f60857c431a2c6ec5bc0df035d --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/sl.po @@ -0,0 +1,29 @@ +# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example +# Copyright (C) 2005 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Primož Peterlin , 2005, 2014, 2015, 2024. +# $Id: hello-c++-qt-0.22.sl.po,v 1.1 2024/03/28 17:02:19 peterlin Exp $ +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-qt 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-03-28 18:02+0100\n" +"Last-Translator: Primož Peterlin \n" +"Language-Team: Slovenian \n" +"Language: sl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8-bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || " +"n%100==4 ? 3 : 0);\n" + +#: hello.cc:50 +msgid "Hello, world!" +msgstr "Pozdravljen, svet!" + +#: hello.cc:57 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Ta program teče kot proces številka %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/sq.po b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/sq.po new file mode 100644 index 0000000000000000000000000000000000000000..af393bdeb57b82a8d16079f211f7cf117b4b032c --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/sq.po @@ -0,0 +1,28 @@ +# Albanian translation of gettext-example. +# Copyright (C) 2020 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Besnik Bleta , 2020,2023,2024,2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-qt-0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 19:56+0300\n" +"Last-Translator: Besnik Bleta \n" +"Language-Team: Albanian \n" +"Language: sq\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.2.2\n" + +#: hello.cc:50 +msgid "Hello, world!" +msgstr "Tungjatjeta, botë!" + +#: hello.cc:57 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Ky program po xhiron si procesi numër %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/sr.po b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/sr.po new file mode 100644 index 0000000000000000000000000000000000000000..e2237b2c154fb242b3d2ef7ec695228895370c91 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/sr.po @@ -0,0 +1,30 @@ +# Serbian translation of hello-c++-qt. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Aleksandar Jelenak , 2004. +# Мирослав Николић , 2014-2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-qt-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-02 16:51+0100\n" +"Last-Translator: Мирослав Николић \n" +"Language-Team: Serbian <(nothing)>\n" +"Language: sr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cc:50 +msgid "Hello, world!" +msgstr "Здраво, свима!" + +#: hello.cc:57 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Овај програм се извршава као процес број %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/sv.po b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/sv.po new file mode 100644 index 0000000000000000000000000000000000000000..e8ac69dd5b484144bd9b02d2a285fb11f6626be1 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/sv.po @@ -0,0 +1,30 @@ +# Swedish messages for hello-c++-qt. +# Copyright © 2006, 2014, 2016, 2019, 2020, 2023, 2024, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Jan Djärv , 2003, 2006, 2014. +# Göran Uddeborg , 2016, 2019, 2020, 2023, 2024, 2025. +# Luna Jernberg , 2025. +# $Revision: 1.12 $ +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-qt 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 12:18+0200\n" +"Last-Translator: Luna Jernberg \n" +"Language-Team: Swedish \n" +"Language: sv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cc:50 +msgid "Hello, world!" +msgstr "Hej världen!" + +#: hello.cc:57 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Detta program kör som process nummer %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/ta.po b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/ta.po new file mode 100644 index 0000000000000000000000000000000000000000..bcbaca254d546233d7fcc02c229feae2f454ed20 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/ta.po @@ -0,0 +1,28 @@ +# Tamil messages for GNU gettext. +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# List of contributors follow: +# Poorajith , 2018. +# Arun Isaac , 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-qt 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-19 00:06+0100\n" +"Last-Translator: Arun Isaac \n" +"Language-Team: Tamil \n" +"Language: ta\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:50 +msgid "Hello, world!" +msgstr "வணக்கம், உலகு!" + +#: hello.cc:57 +#, qt-format +msgid "This program is running as process number %1." +msgstr "இந்நிரல் செயலாக்க எண் %1 ஆக இயங்கிக்கொண்டிருக்கிறது." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/tr.po b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/tr.po new file mode 100644 index 0000000000000000000000000000000000000000..f2eb81448638add32bf00b5ea4d3a941742719a0 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/tr.po @@ -0,0 +1,29 @@ +# Turkish translation for hello-c++-qt. +# This file is distributed under the same license as the gettext package. +# Copyright (C) 2017 Yoyodyne, Inc. (msgids) +# Copyright (C) 2004 Free Software Foundation, Inc. +# Nilgün Belma Bugüner , 2003,2004 +# Mehmet Kececi , 2017, 2019, 2020. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-qt 0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2020-04-17 13:10+0300\n" +"Last-Translator: Mehmet Kececi \n" +"Language-Team: Turkish \n" +"Language: tr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Poedit 2.3\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:50 +msgid "Hello, world!" +msgstr "Merhaba, dünya!" + +#: hello.cc:57 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Bu yazılım %1 süreç numarası ile çalışıyor." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/uk.po b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/uk.po new file mode 100644 index 0000000000000000000000000000000000000000..18301622973de11f97b42d86b0621f3078cf621c --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/uk.po @@ -0,0 +1,30 @@ +# Ukrainian translation to hello-c++-qt +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Maxim V. Dziumanenko , 2004-2007. +# Yuri Chornoivan , 2014, 2015, 2023, 2025. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-qt 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 13:56+0300\n" +"Last-Translator: Yuri Chornoivan \n" +"Language-Team: Ukrainian \n" +"Language: uk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Generator: Lokalize 23.04.3\n" + +#: hello.cc:50 +msgid "Hello, world!" +msgstr "Привіт, світе!" + +#: hello.cc:57 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Ця програма виконується як процес з номером %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/vi.po b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/vi.po new file mode 100644 index 0000000000000000000000000000000000000000..dc075f8da23ab91f7d0f8ed0e28ca6bdbaad5238 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/vi.po @@ -0,0 +1,30 @@ +# Vietnamese Translation for Gettext Examples. +# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext. +# Copyright © 2015 Yoyodyne, Inc. (msgids) +# Copyright © 2015 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Clytie Siddall , 2005-2010. +# Trần Ngọc Quân , 2012-2015, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-qt 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-24 09:10+0700\n" +"Last-Translator: Trần Ngọc Quân \n" +"Language-Team: Vietnamese \n" +"Language: vi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: hello.cc:50 +msgid "Hello, world!" +msgstr "Chào thế giới!" + +#: hello.cc:57 +#, qt-format +msgid "This program is running as process number %1." +msgstr "Chương trình này đang chạy với mã số tiến trình %1." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/zh_CN.po b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/zh_CN.po new file mode 100644 index 0000000000000000000000000000000000000000..9cf7940173923c9d36a3d67d18dbe04343ed39ab --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/zh_CN.po @@ -0,0 +1,29 @@ +# zh_CN translation for hello-c++-qt. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Funda Wang , 2003. +# Ji ZhengYu , 2015. +# Boyuan Yang <073plan@gmail.com>, 2019, 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-qt 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-29 15:56-0400\n" +"Last-Translator: Boyuan Yang <073plan@gmail.com>\n" +"Language-Team: Chinese (simplified) \n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.6\n" + +#: hello.cc:50 +msgid "Hello, world!" +msgstr "你好,世界!" + +#: hello.cc:57 +#, qt-format +msgid "This program is running as process number %1." +msgstr "此程序正以进程号 %1 运行。" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/zh_HK.po b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/zh_HK.po new file mode 100644 index 0000000000000000000000000000000000000000..176108dbc8794ed67b8d9bdd82a80e856a67d587 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/zh_HK.po @@ -0,0 +1,25 @@ +# Chinese (Hong Kong) translation of hello-c++-qt. +# Copyright (C) 2006 Yoyodyne, Inc. +# Abel Cheung , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-qt 0.15-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2006-07-05 15:40+0800\n" +"Last-Translator: Abel Cheung \n" +"Language-Team: Chinese (Hong Kong) \n" +"Language: zh_HK\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:50 +msgid "Hello, world!" +msgstr "你好!" + +#: hello.cc:57 +#, qt-format +msgid "This program is running as process number %1." +msgstr "本程式正在執行中,進程編號為 %1。" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/zh_TW.po b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/zh_TW.po new file mode 100644 index 0000000000000000000000000000000000000000..4de4de50d7437bde68534ec36348a578c61944a7 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-qt/po/zh_TW.po @@ -0,0 +1,29 @@ +# Traditional Chinese translation of hello-c++-qt. +# Copyright (C) 2009 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Abel Cheung , 2005. +# Wei-Lun Chao , 2013, 2015. +# Yi-Jyun Pan , 2024. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-qt 0.23-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-11-30 14:14+0800\n" +"Last-Translator: Yi-Jyun Pan \n" +"Language-Team: Chinese (traditional) \n" +"Language: zh_TW\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cc:50 +msgid "Hello, world!" +msgstr "哈囉,大家好!" + +#: hello.cc:57 +#, qt-format +msgid "This program is running as process number %1." +msgstr "本程式正在執行,行程編號為 %1。" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/INSTALL b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/INSTALL new file mode 100644 index 0000000000000000000000000000000000000000..8658c15569eb29ca749ea03b4097420b96d8a0e0 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/INSTALL @@ -0,0 +1,12 @@ +This example relies on: + - wxWidgets (libwx_*) and its dependencies + - the C++ runtime libraries (libstdc++) + +Installation: + ./autogen.sh + ./configure --prefix=/some/prefix --with-wx-prefix=/opt/wxw + make + make install +Cleanup: + make distclean + ./autoclean.sh diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/Makefile.am b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..ea1667b1691b2a7ffb84fe931ee6fb61f0e3381a --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/Makefile.am @@ -0,0 +1,31 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Makefile configuration - processed by automake. + +# General automake options. +AUTOMAKE_OPTIONS = foreign no-dependencies +ACLOCAL_AMFLAGS = -I m4 + +# The list of subdirectories containing Makefiles. +SUBDIRS = m4 po + +# The list of programs that are built. +bin_PROGRAMS = hello + +# The source files of the 'hello' program. +hello_SOURCES = hello.cc + +# Define a C macro LOCALEDIR indicating where catalogs will be installed. +DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ + +CPPFLAGS += $(WX_CPPFLAGS) +CFLAGS = $(WX_CFLAGS_ONLY) +CXXFLAGS += $(WX_CXXFLAGS_ONLY) + +# Link time dependencies. +LDADD = $(WX_LDADD) +LIBS += $(WX_LIBS) + +# Additional files to be distributed. +EXTRA_DIST = autogen.sh autoclean.sh diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/autoclean.sh b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/autoclean.sh new file mode 100644 index 0000000000000000000000000000000000000000..79eb2ab8bc5b62c4424077f2246525ca0225c4ac --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/autoclean.sh @@ -0,0 +1,38 @@ +#!/bin/sh +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Script for cleaning all autogenerated files. + +test ! -f Makefile || make distclean +rm -rf autom4te.cache + +# Brought in by explicit copy. +rm -f m4/host-cpu-c-abi.m4 +rm -f m4/nls.m4 +rm -f m4/po.m4 +rm -f m4/progtest.m4 +rm -f m4/lib-ld.m4 +rm -f m4/lib-link.m4 +rm -f m4/lib-prefix.m4 +rm -f config.rpath +rm -f po/remove-potcdate.sed + +# Generated by aclocal. +rm -f aclocal.m4 + +# Generated by autoconf. +rm -f configure + +# Generated or brought in by automake. +rm -f Makefile.in +rm -f m4/Makefile.in +rm -f po/Makefile.in +rm -f compile +rm -f install-sh +rm -f missing +rm -f config.guess +rm -f config.sub +rm -f po/*.pot +rm -f po/stamp-po +rm -f po/*.gmo diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/autogen.sh b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/autogen.sh new file mode 100644 index 0000000000000000000000000000000000000000..421a25ac81e131b13f869fd2b4fa8989005116af --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/autogen.sh @@ -0,0 +1,49 @@ +#!/bin/sh +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Script for regenerating all autogenerated files. + +if test -r ../Makefile.am; then + # Inside the gettext source directory. + GETTEXT_TOPSRCDIR=../../.. +else + if test -r ../Makefile; then + # Inside a gettext build directory. + GETTEXT_TOOLS_SRCDIR=`sed -n -e 's,^top_srcdir *= *\(.*\)$,\1,p' ../Makefile` + # Adjust a relative top_srcdir. + case $GETTEXT_TOOLS_SRCDIR in + /*) ;; + *) GETTEXT_TOOLS_SRCDIR=../$GETTEXT_TOOLS_SRCDIR ;; + esac + GETTEXT_TOPSRCDIR=$GETTEXT_TOOLS_SRCDIR/../.. + else + # Installed under ${prefix}/share/doc/gettext/examples. + . ../installpaths + fi +fi + +cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/nls.m4 m4/nls.m4 +cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/po.m4 m4/po.m4 +cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/progtest.m4 m4/progtest.m4 +cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/gnulib-m4}/host-cpu-c-abi.m4 m4/host-cpu-c-abi.m4 +cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/gnulib-m4}/lib-ld.m4 m4/lib-ld.m4 +cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/gnulib-m4}/lib-link.m4 m4/lib-link.m4 +cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/gnulib-m4}/lib-prefix.m4 m4/lib-prefix.m4 +cp -p ${GETTEXTSRCDIR-$GETTEXT_TOPSRCDIR/build-aux}/config.rpath config.rpath +cp -p ${GETTEXTSRCPODIR-$GETTEXT_TOPSRCDIR/gettext-runtime/po}/remove-potcdate.sed po/remove-potcdate.sed + +aclocal -I m4 + +autoconf + +automake -a -c + +cd po +for f in *.po; do + if test -r "$f"; then + lang=`echo $f | sed -e 's,\.po$,,'` + msgfmt -c -o $lang.gmo $lang.po + fi +done +cd .. diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/configure.ac b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/configure.ac new file mode 100644 index 0000000000000000000000000000000000000000..8cb5d1489453d9ba7c9404ec8febb4fc08c874e4 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/configure.ac @@ -0,0 +1,22 @@ +dnl Example for use of GNU gettext. +dnl This file is in the public domain. +dnl +dnl Configuration file - processed by autoconf. + +AC_INIT([hello-c++-wxwidgets], [0], , [hello-c++-wxwidgets]) +AC_CONFIG_SRCDIR([hello.cc]) +AM_INIT_AUTOMAKE([1.11]) + +AC_PROG_CXX + +AM_OPTIONS_WXCONFIG +AM_PATH_WXCONFIG([2.6.0], [], [AC_MSG_ERROR([wxWidgets not found])]) +AC_LIB_LINKFLAGS_FROM_LIBS([WX_LDADD], [$WX_LIBS]) + +dnl Support for the po directory. +AM_PO_SUBDIRS + +AC_CONFIG_FILES([Makefile]) +AC_CONFIG_FILES([m4/Makefile]) +AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE]) +AC_OUTPUT diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/hello.cc b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/hello.cc new file mode 100644 index 0000000000000000000000000000000000000000..258a3673e66220b7201d616cf3106929084348ad --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/hello.cc @@ -0,0 +1,85 @@ +// Example for use of GNU gettext. +// This file is in the public domain. + +// Source code of the C++ program. + +#include +#include + +/* Get getpid() declaration. */ +#if defined _WIN32 && !defined __CYGWIN__ +/* native Windows API */ +# include +# define getpid _getpid +#else +/* POSIX API */ +# include +#endif + +class MyApp: public wxApp +{ +public: + virtual bool OnInit(); +private: + // wxWidgets has the concept of a "current locale". It is the one returned + // by wxGetLocale() and implicitly used by wxGetTranslation. + // But there is no way to explicitly set this current locale! Rather, it is + // always set to the last constructed locale(!), and is modified when a + // locale is destroyed. In such a way that the current locale points to + // invalid memory after you do + // wxLocale *a = new wxLocale; + // wxLocale *b = new wxLocale; + // delete a; + // delete b; + // So, to avoid problems, we use exactly one instance of wxLocale, and keep + // it alive for the entire application lifetime. + wxLocale appLocale; +}; + +class MyFrame: public wxFrame +{ +public: + MyFrame(); +}; + +// This defines the main() function. +IMPLEMENT_APP(MyApp) + +bool MyApp::OnInit() +{ + // First, register the base directory where to look up .mo files. + wxLocale::AddCatalogLookupPathPrefix(wxT(LOCALEDIR)); + // Second, initialize the locale and set the application-wide message domain. + appLocale.Init(); + appLocale.AddCatalog(wxT("hello-c++-wxwidgets")); + // Now wxGetLocale() is initialized appropriately. + + // Then only start building the GUI elements of the application. + + // Create the main frame window. + MyFrame *frame = new MyFrame(); + + // Show the frame. + frame->Show(true); + SetTopWindow(frame); + + return true; +} + +MyFrame::MyFrame() + : wxFrame(NULL, wxID_ANY, _T("Hello example")) +{ + wxStaticText *label1 = + new wxStaticText(this, wxID_ANY, _("Hello, world!")); + + wxString label2text = + wxString::Format(_("This program is running as process number %d."), + getpid()); + wxStaticText *label2 = + new wxStaticText(this, wxID_ANY, label2text); + + wxBoxSizer *topSizer = new wxBoxSizer(wxVERTICAL); + topSizer->Add(label1); + topSizer->Add(label2); + SetSizer(topSizer); +} diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/m4/Makefile.am b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/m4/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..9c2d2c2164e6f8e78d7088e157a8f048ab8e0081 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/m4/Makefile.am @@ -0,0 +1,3 @@ +EXTRA_DIST = \ + nls.m4 po.m4 \ + wxwidgets.m4 diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/m4/wxwidgets.m4 b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/m4/wxwidgets.m4 new file mode 100644 index 0000000000000000000000000000000000000000..24c258a24c48d6f590a92facebba1297d38f70ce --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/m4/wxwidgets.m4 @@ -0,0 +1,345 @@ +dnl --------------------------------------------------------------------------- +dnl Macros for wxWidgets detection. Typically used in configure.in as: +dnl +dnl AC_ARG_ENABLE(...) +dnl AC_ARG_WITH(...) +dnl ... +dnl AM_OPTIONS_WXCONFIG +dnl ... +dnl ... +dnl AM_PATH_WXCONFIG(2.6.0, wxWin=1) +dnl if test "$wxWin" != 1; then +dnl AC_MSG_ERROR([ +dnl wxWidgets must be installed on your system +dnl but wx-config script couldn't be found. +dnl +dnl Please check that wx-config is in path, the directory +dnl where wxWidgets libraries are installed (returned by +dnl 'wx-config --libs' command) is in LD_LIBRARY_PATH or +dnl equivalent variable and wxWidgets version is 2.3.4 or above. +dnl ]) +dnl fi +dnl CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS" +dnl CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY" +dnl CFLAGS="$CFLAGS $WX_CFLAGS_ONLY" +dnl +dnl LIBS="$LIBS $WX_LIBS" +dnl --------------------------------------------------------------------------- + +dnl --------------------------------------------------------------------------- +dnl AM_OPTIONS_WXCONFIG +dnl +dnl adds support for --wx-prefix, --wx-exec-prefix, --with-wxdir and +dnl --wx-config command line options +dnl --------------------------------------------------------------------------- + +AC_DEFUN([AM_OPTIONS_WXCONFIG], +[ + AC_ARG_WITH(wxdir, + [ --with-wxdir=PATH Use uninstalled version of wxWidgets in PATH], + [ wx_config_name="$withval/wx-config" + wx_config_args="--inplace"]) + AC_ARG_WITH(wx-config, + [ --with-wx-config=CONFIG wx-config script to use (optional)], + wx_config_name="$withval" ) + AC_ARG_WITH(wx-prefix, + [ --with-wx-prefix=PREFIX Prefix where wxWidgets is installed (optional)], + wx_config_prefix="$withval", wx_config_prefix="") + AC_ARG_WITH(wx-exec-prefix, + [ --with-wx-exec-prefix=PREFIX + Exec prefix where wxWidgets is installed (optional)], + wx_config_exec_prefix="$withval", wx_config_exec_prefix="") +]) + +dnl Helper macro for checking if wx version is at least $1.$2.$3, set's +dnl wx_ver_ok=yes if it is: +AC_DEFUN([_WX_PRIVATE_CHECK_VERSION], +[ + wx_ver_ok="" + if test "x$WX_VERSION" != x ; then + if test $wx_config_major_version -gt $1; then + wx_ver_ok=yes + else + if test $wx_config_major_version -eq $1; then + if test $wx_config_minor_version -gt $2; then + wx_ver_ok=yes + else + if test $wx_config_minor_version -eq $2; then + if test $wx_config_micro_version -ge $3; then + wx_ver_ok=yes + fi + fi + fi + fi + fi + fi +]) + +dnl --------------------------------------------------------------------------- +dnl AM_PATH_WXCONFIG(VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND +dnl [, WX-LIBS [, ADDITIONAL-WX-CONFIG-FLAGS]]]]) +dnl +dnl Test for wxWidgets, and define WX_C*FLAGS, WX_LIBS and WX_LIBS_STATIC +dnl (the latter is for static linking against wxWidgets). Set WX_CONFIG_NAME +dnl environment variable to override the default name of the wx-config script +dnl to use. Set WX_CONFIG_PATH to specify the full path to wx-config - in this +dnl case the macro won't even waste time on tests for its existence. +dnl +dnl Optional WX-LIBS argument contains comma- or space-separated list of +dnl wxWidgets libraries to link against (it may include contrib libraries). If +dnl it is not specified then WX_LIBS and WX_LIBS_STATIC will contain flags to +dnl link with all of the core wxWidgets libraries. +dnl +dnl Optional ADDITIONAL-WX-CONFIG-FLAGS argument is appended to wx-config +dnl invocation command in present. It can be used to fine-tune lookup of +dnl best wxWidgets build available. +dnl +dnl Example use: +dnl AM_PATH_WXCONFIG([2.6.0], [wxWin=1], [wxWin=0], [html,core,net] +dnl [--unicode --debug]) +dnl --------------------------------------------------------------------------- + +dnl +dnl Get the cflags and libraries from the wx-config script +dnl +AC_DEFUN([AM_PATH_WXCONFIG], +[ + dnl do we have wx-config name: it can be wx-config or wxd-config or ... + if test x${WX_CONFIG_NAME+set} != xset ; then + WX_CONFIG_NAME=wx-config + fi + + if test "x$wx_config_name" != x ; then + WX_CONFIG_NAME="$wx_config_name" + fi + + dnl deal with optional prefixes + if test x$wx_config_exec_prefix != x ; then + wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix" + WX_LOOKUP_PATH="$wx_config_exec_prefix/bin" + fi + if test x$wx_config_prefix != x ; then + wx_config_args="$wx_config_args --prefix=$wx_config_prefix" + WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin" + fi + if test "$cross_compiling" = "yes"; then + wx_config_args="$wx_config_args --host=$host_alias" + fi + + dnl don't search the PATH if WX_CONFIG_NAME is absolute filename + if test -x "$WX_CONFIG_NAME" ; then + AC_MSG_CHECKING(for wx-config) + WX_CONFIG_PATH="$WX_CONFIG_NAME" + AC_MSG_RESULT($WX_CONFIG_PATH) + else + AC_PATH_PROG(WX_CONFIG_PATH, $WX_CONFIG_NAME, no, "$WX_LOOKUP_PATH:$PATH") + fi + + if test "$WX_CONFIG_PATH" != "no" ; then + WX_VERSION="" + + min_wx_version=ifelse([$1], ,2.2.1,$1) + if test -z "$5" ; then + AC_MSG_CHECKING([for wxWidgets version >= $min_wx_version]) + else + AC_MSG_CHECKING([for wxWidgets version >= $min_wx_version ($5)]) + fi + + WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args $5 $4" + + WX_VERSION=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null` + wx_config_major_version=`echo $WX_VERSION | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` + wx_config_minor_version=`echo $WX_VERSION | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` + wx_config_micro_version=`echo $WX_VERSION | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` + + wx_requested_major_version=`echo $min_wx_version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` + wx_requested_minor_version=`echo $min_wx_version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` + wx_requested_micro_version=`echo $min_wx_version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` + + _WX_PRIVATE_CHECK_VERSION([$wx_requested_major_version], + [$wx_requested_minor_version], + [$wx_requested_micro_version]) + + if test -n "$wx_ver_ok"; then + + AC_MSG_RESULT(yes (version $WX_VERSION)) + WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs` + + dnl is this even still appropriate? --static is a real option now + dnl and WX_CONFIG_WITH_ARGS is likely to contain it if that is + dnl what the user actually wants, making this redundant at best. + dnl For now keep it in case anyone actually used it in the past. + AC_MSG_CHECKING([for wxWidgets static library]) + WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs 2>/dev/null` + if test "x$WX_LIBS_STATIC" = "x"; then + AC_MSG_RESULT(no) + else + AC_MSG_RESULT(yes) + fi + + dnl starting with version 2.2.6 wx-config has --cppflags argument + wx_has_cppflags="" + if test $wx_config_major_version -gt 2; then + wx_has_cppflags=yes + else + if test $wx_config_major_version -eq 2; then + if test $wx_config_minor_version -gt 2; then + wx_has_cppflags=yes + else + if test $wx_config_minor_version -eq 2; then + if test $wx_config_micro_version -ge 6; then + wx_has_cppflags=yes + fi + fi + fi + fi + fi + + if test "x$wx_has_cppflags" = x ; then + dnl no choice but to define all flags like CFLAGS + WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags` + WX_CPPFLAGS=$WX_CFLAGS + WX_CXXFLAGS=$WX_CFLAGS + + WX_CFLAGS_ONLY=$WX_CFLAGS + WX_CXXFLAGS_ONLY=$WX_CFLAGS + else + dnl we have CPPFLAGS included in CFLAGS included in CXXFLAGS + WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags` + WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags` + WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags` + + WX_CFLAGS_ONLY=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"` + WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"` + fi + + ifelse([$2], , :, [$2]) + + else + + if test "x$WX_VERSION" = x; then + dnl no wx-config at all + AC_MSG_RESULT(no) + else + AC_MSG_RESULT(no (version $WX_VERSION is not new enough)) + fi + + WX_CFLAGS="" + WX_CPPFLAGS="" + WX_CXXFLAGS="" + WX_LIBS="" + WX_LIBS_STATIC="" + ifelse([$3], , :, [$3]) + + fi + else + + WX_CFLAGS="" + WX_CPPFLAGS="" + WX_CXXFLAGS="" + WX_LIBS="" + WX_LIBS_STATIC="" + ifelse([$3], , :, [$3]) + + fi + + AC_SUBST(WX_CPPFLAGS) + AC_SUBST(WX_CFLAGS) + AC_SUBST(WX_CXXFLAGS) + AC_SUBST(WX_CFLAGS_ONLY) + AC_SUBST(WX_CXXFLAGS_ONLY) + AC_SUBST(WX_LIBS) + AC_SUBST(WX_LIBS_STATIC) + AC_SUBST(WX_VERSION) +]) + +dnl --------------------------------------------------------------------------- +dnl Get information on the wxrc program for making C++, Python and xrs +dnl resource files. +dnl +dnl AC_ARG_ENABLE(...) +dnl AC_ARG_WITH(...) +dnl ... +dnl AM_OPTIONS_WXCONFIG +dnl AM_OPTIONS_WXRC +dnl ... +dnl AM_PATH_WXCONFIG(2.6.0, wxWin=1) +dnl if test "$wxWin" != 1; then +dnl AC_MSG_ERROR([ +dnl wxWidgets must be installed on your system +dnl but wx-config script couldn't be found. +dnl +dnl Please check that wx-config is in path, the directory +dnl where wxWidgets libraries are installed (returned by +dnl 'wx-config --libs' command) is in LD_LIBRARY_PATH or +dnl equivalent variable and wxWidgets version is 2.6.0 or above. +dnl ]) +dnl fi +dnl +dnl AM_PATH_WXRC([HAVE_WXRC=1], [HAVE_WXRC=0]) +dnl if test "x$HAVE_WXRC" != x1; then +dnl AC_MSG_ERROR([ +dnl The wxrc program was not installed or not found. +dnl +dnl Please check the wxWidgets installation. +dnl ]) +dnl fi +dnl +dnl CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS" +dnl CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY" +dnl CFLAGS="$CFLAGS $WX_CFLAGS_ONLY" +dnl +dnl LDFLAGS="$LDFLAGS $WX_LIBS" +dnl --------------------------------------------------------------------------- + + + +dnl --------------------------------------------------------------------------- +dnl AM_PATH_WXRC([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) +dnl +dnl Test for wxWidgets' wxrc program for creating either C++, Python or XRS +dnl resources. The variable WXRC will be set and substituted in the configure +dnl script and Makefiles. +dnl +dnl Example use: +dnl AM_PATH_WXRC([wxrc=1], [wxrc=0]) +dnl --------------------------------------------------------------------------- + +dnl +dnl wxrc program from the wx-config script +dnl +AC_DEFUN([AM_PATH_WXRC], +[ + AC_ARG_VAR([WXRC], [Path to wxWidget's wxrc resource compiler]) + + if test "x$WX_CONFIG_NAME" = x; then + AC_MSG_ERROR([The wxrc tests must run after wxWidgets test.]) + else + + AC_MSG_CHECKING([for wxrc]) + + if test "x$WXRC" = x ; then + dnl wx-config --utility is a new addition to wxWidgets: + _WX_PRIVATE_CHECK_VERSION(2,5,3) + if test -n "$wx_ver_ok"; then + WXRC=`$WX_CONFIG_WITH_ARGS --utility=wxrc` + fi + fi + + if test "x$WXRC" = x ; then + AC_MSG_RESULT([not found]) + ifelse([$2], , :, [$2]) + else + AC_MSG_RESULT([$WXRC]) + ifelse([$1], , :, [$1]) + fi + + AC_SUBST(WXRC) + fi +]) diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/LINGUAS b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/LINGUAS new file mode 100644 index 0000000000000000000000000000000000000000..dc4a82afbad945018082c22f2061a43ef436dd68 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/LINGUAS @@ -0,0 +1,5 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Set of available languages. +af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ka ky lv ms mt nb nl nn pl pt pt_BR ro ru sk sl sq sr sv ta tr uk vi zh_CN zh_HK zh_TW diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/Makefile.am b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..444ec0953ddaf46537bc24535129b89fac58bfb6 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/Makefile.am @@ -0,0 +1,440 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Makefile configuration - processed by automake. + +# List of files which contain translatable strings. +POTFILES = \ + hello.cc + +# Usually the message domain is the same as the package name. +DOMAIN = $(PACKAGE) + +# These options get passed to xgettext. +XGETTEXT_OPTIONS = \ + --keyword=wxGetTranslation:1 --keyword=wxGetTranslation:1,2 \ + --flag=wxGetTranslation:1:pass-c-format --flag=wxGetTranslation:2:pass-c-format \ + --keyword=wxTRANSLATE --flag=wxTRANSLATE:1:pass-c-format \ + --keyword=wxPLURAL:1,2 --flag=wxPLURAL:1:pass-c-format --flag=wxPLURAL:2:pass-c-format \ + --keyword=_ --flag=_:1:pass-c-format \ + --keyword=N_ --flag=N_:1:pass-c-format + +# This is the copyright holder that gets inserted into the header of the +# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding +# package. (Note that the msgid strings, extracted from the package's +# sources, belong to the copyright holder of the package.) Translators are +# expected to transfer the copyright for their translations to this person +# or entity, or to disclaim their copyright. The empty string stands for +# the public domain; in this case the translators are expected to disclaim +# their copyright. +COPYRIGHT_HOLDER = Yoyodyne, Inc. + +# This tells whether or not to prepend "GNU " prefix to the package +# name that gets inserted into the header of the $(DOMAIN).pot file. +# Possible values are "yes", "no", or empty. If it is empty, try to +# detect it automatically by scanning the files in $(top_srcdir) for +# "GNU packagename" string. +PACKAGE_GNU = no + +# This is the email address or URL to which the translators shall report +# bugs in the untranslated strings: +# - Strings which are not entire sentences, see the maintainer guidelines +# in the GNU gettext documentation, section 'Preparing Strings'. +# - Strings which use unclear terms or require additional context to be +# understood. +# - Strings which make invalid assumptions about notation of date, time or +# money. +# - Pluralisation problems. +# - Incorrect English spelling. +# - Incorrect formatting. +# It can be your email address, or a mailing list address where translators +# can write to without being subscribed, or the URL of a web page through +# which the translators can contact you. +MSGID_BUGS_ADDRESS = bug-gettext@gnu.org + +# This is the list of locale categories, beyond LC_MESSAGES, for which the +# message catalogs shall be used. It is usually empty. +EXTRA_LOCALE_CATEGORIES = + +# These options get passed to msgmerge. +# Useful options are in particular: +# --previous to keep previous msgids of translated messages +MSGMERGE_OPTIONS = + +# These options get passed to msginit. +# If you want to disable line wrapping when writing PO files, add +# --no-wrap to MSGMERGE_OPTIONS, XGETTEXT_OPTIONS, and +# MSGINIT_OPTIONS. +MSGINIT_OPTIONS = + +MSGMERGE = @MSGMERGE@ +MSGMERGE_UPDATE = @MSGMERGE@ --update +MSGMERGE_FOR_MSGFMT_OPTION = @MSGMERGE_FOR_MSGFMT_OPTION@ +MSGINIT = msginit +MSGCONV = msgconv +MSGFILTER = msgfilter + +# This is computed as $(foreach file, $(POTFILES), $(top_srcdir)/$(file)) +POTFILES_DEPS != for file in $(POTFILES); do echo $(top_srcdir)/$$file; done + +# The set of available translations. +ALL_LINGUAS != if test -f $(srcdir)/LINGUAS; then \ + sed -e '/^\#/d' < $(srcdir)/LINGUAS; \ + else \ + echo $(LINGUAS); \ + fi +# This is computed as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) +POFILES != for lang in $(ALL_LINGUAS); do echo $(srcdir)/$$lang.po; done +# This is computed as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) +GMOFILES != for lang in $(ALL_LINGUAS); do echo $(srcdir)/$$lang.gmo; done +# This is computed as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) +UPDATEPOFILES != for lang in $(ALL_LINGUAS); do echo $$lang.po-update; done +# This is computed as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) +DUMMYPOFILES != for lang in $(ALL_LINGUAS); do echo $$lang.nop; done + +# The set of desired translations, as specified by the installer or distributor. +DESIRED_LINGUAS = @DESIRED_LINGUAS@ +# The set of translations to install. This is computed based on $(ALL_LINGUAS) +# and $(DESIRED_LINGUAS). It is a subset of $(ALL_LINGUAS). +# We use the presentlang catalog if desiredlang is +# a. equal to presentlang, or +# b. a variant of presentlang (because in this case, presentlang can be used +# as a fallback for messages which are not translated in the desiredlang +# catalog). +INST_LINGUAS != for presentlang in $(ALL_LINGUAS); do \ + useit=false; \ + for desiredlang in $(DESIRED_LINGUAS); do \ + case "$$desiredlang" in \ + "$$presentlang" | "$$presentlang"_* | "$$presentlang".* | "$$presentlang"@*) \ + useit=true ;; \ + esac; \ + done; \ + if $$useit; then echo $$presentlang; fi; \ + done +# This is computed as $(foreach lang, $(INST_LINGUAS), $(lang).gmo) +CATALOGS != for lang in $(INST_LINGUAS); do echo $$lang.gmo; done + +SUFFIXES = .po .gmo .nop .po-create .po-update + +# The .pot file, stamp-po, .po files, and .gmo files appear in release tarballs. +# The GNU Coding Standards say in +# : +# "GNU distributions usually contain some files which are not source files +# ... . Since these files normally appear in the source directory, they +# should always appear in the source directory, not in the build directory. +# So Makefile rules to update them should put the updated files in the +# source directory." +# Therefore we put these files in the source directory, not the build directory. + +# During .po -> .gmo conversion, take into account the most recent changes to +# the .pot file. This eliminates the need to update the .po files when the +# .pot file has changed, which would be troublesome if the .po files are put +# under version control. +$(GMOFILES): $(srcdir)/$(DOMAIN).pot +.po.gmo: + @lang=`echo $* | sed -e 's,.*/,,'`; \ + test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ + echo "$${cdcmd}rm -f $${lang}.gmo && $(MSGMERGE) $(MSGMERGE_FOR_MSGFMT_OPTION) -o $${lang}.1po $${lang}.po $(DOMAIN).pot && $(GMSGFMT) -c --statistics --verbose -o $${lang}.gmo $${lang}.1po && rm -f $${lang}.1po"; \ + cd $(srcdir) && \ + rm -f $${lang}.gmo && \ + $(MSGMERGE) $(MSGMERGE_FOR_MSGFMT_OPTION) -o $${lang}.1po $${lang}.po $(DOMAIN).pot && \ + $(GMSGFMT) -c --statistics --verbose -o t-$${lang}.gmo $${lang}.1po && \ + mv t-$${lang}.gmo $${lang}.gmo && \ + rm -f $${lang}.1po + + +all-local: all-local-@USE_NLS@ + +all-local-yes: $(srcdir)/stamp-po +all-local-no: + +# $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no +# internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because +# we don't want to bother translators with empty POT files). We assume that +# LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty. +# In this case, $(srcdir)/stamp-po is a nop (i.e. a phony target). + +# $(srcdir)/stamp-po is a timestamp denoting the last time at which the CATALOGS +# have been loosely updated. Its purpose is that when a developer or translator +# checks out the package from a version control system, and the $(DOMAIN).pot +# file is not under version control, "make" will update the $(DOMAIN).pot and +# the $(CATALOGS), but subsequent invocations of "make" will do nothing. This +# timestamp would not be necessary if updating the $(CATALOGS) would always +# touch them; however, the rule for $(POFILES) has been designed to not touch +# files that don't need to be changed. +$(srcdir)/stamp-po: $(srcdir)/$(DOMAIN).pot + test ! -f $(srcdir)/$(DOMAIN).pot || \ + test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES) + @test ! -f $(srcdir)/$(DOMAIN).pot || { \ + echo "touch $(srcdir)/stamp-po" && \ + echo timestamp > $(srcdir)/stamp-poT && \ + mv $(srcdir)/stamp-poT $(srcdir)/stamp-po; \ + } + +# This target rebuilds $(DOMAIN).pot; it is an expensive operation. +# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed. +# The determination of whether the package xyz is a GNU one is based on the +# heuristic whether some file in the top level directory mentions "GNU xyz". +# If GNU 'find' is available, we avoid grepping through monster files. +$(DOMAIN).pot-update: $(POTFILES_DEPS) + package_gnu="$(PACKAGE_GNU)"; \ + test -n "$$package_gnu" || { \ + if { if (LC_ALL=C find --version) 2>/dev/null | grep GNU >/dev/null; then \ + LC_ALL=C find -L $(top_srcdir) -maxdepth 1 -type f -size -10000000c -exec grep -i 'GNU $(PACKAGE)' /dev/null '{}' ';' 2>/dev/null; \ + else \ + LC_ALL=C grep -i 'GNU $(PACKAGE)' $(top_srcdir)/* 2>/dev/null; \ + fi; \ + } | grep -v 'libtool:' >/dev/null; then \ + package_gnu=yes; \ + else \ + package_gnu=no; \ + fi; \ + }; \ + if test "$$package_gnu" = "yes"; then \ + package_prefix='GNU '; \ + else \ + package_prefix=''; \ + fi; \ + if test -n '$(MSGID_BUGS_ADDRESS)'; then \ + msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \ + else \ + msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \ + fi; \ + case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ + '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \ + $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ + --add-comments=TRANSLATORS: \ + --copyright-holder='$(COPYRIGHT_HOLDER)' \ + --msgid-bugs-address="$$msgid_bugs_address" \ + $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ + $(POTFILES) \ + ;; \ + *) \ + $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ + --add-comments=TRANSLATORS: \ + --copyright-holder='$(COPYRIGHT_HOLDER)' \ + --package-name="$${package_prefix}$(PACKAGE)" \ + --package-version='$(VERSION)' \ + --msgid-bugs-address="$$msgid_bugs_address" \ + $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ + $(POTFILES) \ + ;; \ + esac + test ! -f $(DOMAIN).po || { \ + if test -f $(srcdir)/$(DOMAIN).pot-header; then \ + sed -e '1,/^#$$/d' < $(DOMAIN).po > $(DOMAIN).1po && \ + cat $(srcdir)/$(DOMAIN).pot-header $(DOMAIN).1po > $(DOMAIN).po && \ + rm -f $(DOMAIN).1po \ + || exit 1; \ + fi; \ + if test -f $(srcdir)/$(DOMAIN).pot; then \ + sed -f $(srcdir)/remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \ + sed -f $(srcdir)/remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \ + if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \ + rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \ + else \ + rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \ + mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ + fi; \ + else \ + mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ + fi; \ + } + +# This rule has no dependencies: we don't need to update $(DOMAIN).pot at +# every "make" invocation, only create it when it is missing. +# Only "make $(DOMAIN).pot-update" or "make dist" will force an update. +$(srcdir)/$(DOMAIN).pot: + $(MAKE) $(DOMAIN).pot-update + +# This target rebuilds a PO file if $(DOMAIN).pot has changed. +# Note that a PO file is not touched if it doesn't need to be changed. +$(POFILES): $(srcdir)/$(DOMAIN).pot + @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \ + if test -f "$(srcdir)/$${lang}.po"; then \ + test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ + echo "$${cdcmd}$(MSGMERGE_UPDATE) --quiet $(MSGMERGE_OPTIONS) --lang=$${lang} --previous $${lang}.po $(DOMAIN).pot"; \ + cd $(srcdir) \ + && { case `$(MSGMERGE_UPDATE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ + '' | 0.[0-9] | 0.[0-9].* | 0.10 | 0.10.*) \ + $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \ + 0.1[1-5] | 0.1[1-5].*) \ + $(MSGMERGE_UPDATE) --quiet $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \ + 0.1[6-7] | 0.1[6-7].*) \ + $(MSGMERGE_UPDATE) --quiet $(MSGMERGE_OPTIONS) --previous $${lang}.po $(DOMAIN).pot;; \ + *) \ + $(MSGMERGE_UPDATE) --quiet $(MSGMERGE_OPTIONS) --lang=$${lang} --previous $${lang}.po $(DOMAIN).pot;; \ + esac; \ + }; \ + else \ + $(MAKE) $${lang}.po-create; \ + fi + + +install-data-local: install-data-local-@USE_NLS@ +install-data-local-no: all-local +install-data-local-yes: all-local + @catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + cat=`basename $$cat`; \ + lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ + dir=$(localedir)/$$lang/LC_MESSAGES; \ + $(MKDIR_P) $(DESTDIR)$$dir; \ + if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \ + $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \ + echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \ + for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ + if test -n "$$lc"; then \ + if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ + link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ + mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ + mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ + (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ + for file in *; do \ + if test -f $$file; then \ + ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ + fi; \ + done); \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ + else \ + if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ + :; \ + else \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ + mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ + fi; \ + fi; \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ + ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ + ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ + cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ + echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \ + fi; \ + done; \ + done + +installdirs-local: installdirs-local-@USE_NLS@ +installdirs-local-no: +installdirs-local-yes: + @catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + cat=`basename $$cat`; \ + lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ + dir=$(localedir)/$$lang/LC_MESSAGES; \ + $(MKDIR_P) $(DESTDIR)$$dir; \ + for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ + if test -n "$$lc"; then \ + if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ + link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ + mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ + mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ + (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ + for file in *; do \ + if test -f $$file; then \ + ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ + fi; \ + done); \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ + else \ + if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ + :; \ + else \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ + mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ + fi; \ + fi; \ + fi; \ + done; \ + done + +uninstall-local: uninstall-local-@USE_NLS@ +uninstall-local-no: +uninstall-local-yes: + catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + cat=`basename $$cat`; \ + lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ + for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ + done; \ + done + +html ID: + +MOSTLYCLEANFILES = +MOSTLYCLEANFILES += stamp-poT +MOSTLYCLEANFILES += core core.* *.stackdump $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po +MOSTLYCLEANFILES += *.o + +MAINTAINERCLEANFILES = $(DOMAIN).pot stamp-po $(GMOFILES) + +EXTRA_DIST = remove-potcdate.sed LINGUAS $(POFILES) $(GMOFILES) + +# Hidden from automake, but really activated. Works around an automake-1.5 bug. +#distdir: distdir1 +distdir1: + $(MAKE) update-po + $(MAKE) $(srcdir)/stamp-po + @if test -f $(srcdir)/$(DOMAIN).pot; then \ + for file in $(DOMAIN).pot stamp-po; do \ + if test -f $$file; then d=.; else d=$(srcdir); fi; \ + cp -p $$d/$$file $(distdir)/$$file || exit 1; \ + done; \ + else \ + case $(XGETTEXT) in \ + :) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because a suitable 'xgettext' program was not found in PATH." 1>&2;; \ + *) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because 'xgettext' found no strings to extract. Check the POTFILES and the XGETTEXT_OPTIONS in the Makefile.am file." 1>&2;; \ + esac; \ + fi + +update-po: Makefile + $(MAKE) $(DOMAIN).pot-update + test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES) + $(MAKE) update-gmo + +# General rule for creating PO files. + +.nop.po-create: + @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \ + echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \ + exit 1 + +# General rule for updating PO files. + +.nop.po-update: + @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \ + tmpdir=`pwd`; \ + echo "$$lang:"; \ + test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ + echo "$${cdcmd}$(MSGMERGE) --quiet $(MSGMERGE_OPTIONS) --lang=$$lang --previous $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \ + cd $(srcdir); \ + if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ + '' | 0.[0-9] | 0.[0-9].* | 0.10 | 0.10.*) \ + $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ + 0.1[1-5] | 0.1[1-5].*) \ + $(MSGMERGE) --quiet $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ + 0.1[6-7] | 0.1[6-7].*) \ + $(MSGMERGE) --quiet $(MSGMERGE_OPTIONS) --previous -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ + *) \ + $(MSGMERGE) --quiet $(MSGMERGE_OPTIONS) --lang=$$lang --previous -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ + esac; \ + }; then \ + if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ + rm -f $$tmpdir/$$lang.new.po; \ + else \ + if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ + :; \ + else \ + echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ + exit 1; \ + fi; \ + fi; \ + else \ + echo "msgmerge for $$lang.po failed!" 1>&2; \ + rm -f $$tmpdir/$$lang.new.po; \ + fi + +$(DUMMYPOFILES): + +update-gmo: Makefile $(GMOFILES) + @: diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/af.po b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/af.po new file mode 100644 index 0000000000000000000000000000000000000000..1da956ae3aa7f0c185eea0e752cfc9ec95cb5262 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/af.po @@ -0,0 +1,26 @@ +# Afrikaans translation for Silky +# Copyright (C) 2004 Free Software Foundation, Inc. +# This file is distributed under the same license as the silky package. +# Hanlie Pretorius , 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-wxwidgets-0.13.1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2003-12-31 10:30+2\n" +"Last-Translator: Ysbeer \n" +"Language-Team: Afrikaans \n" +"Language: af\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:73 +msgid "Hello, world!" +msgstr "Hallo wêreld!" + +#: hello.cc:76 +#, c-format +msgid "This program is running as process number %d." +msgstr "Hierdie program loop as prosesnommer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/ast.po b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/ast.po new file mode 100644 index 0000000000000000000000000000000000000000..aa9a5e361a1605c99acd57d87425d6bd67260ff6 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/ast.po @@ -0,0 +1,29 @@ +# Asturian translation for hello-c++-wxwidgets +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Marquinos , 2009. +# enolp , 2018. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-wxwidgets 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2018-07-16 00:28+0100\n" +"Last-Translator: enolp \n" +"Language-Team: Asturian \n" +"Language: ast\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Lokalize 2.0\n" + +#: hello.cc:73 +msgid "Hello, world!" +msgstr "¡Hola, mundu!" + +#: hello.cc:76 +#, c-format +msgid "This program is running as process number %d." +msgstr "Esti programa ta executándose como procesu númberu %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/bg.po b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/bg.po new file mode 100644 index 0000000000000000000000000000000000000000..8b9395d8da1d1f5bf61b59bbdba6fba741382b70 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/bg.po @@ -0,0 +1,26 @@ +# Bulgarian translations for hello-c++-wxwidgets package. +# Copyright (C) 2010 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Roumen Petrov , 2010,2014,2015,2019,2023,2024.2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c++-wxwidgets 0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-08 19:09+0200\n" +"Last-Translator: Roumen Petrov \n" +"Language-Team: Bulgarian \n" +"Language: bg\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:73 +msgid "Hello, world!" +msgstr "Здравейте всички!" + +#: hello.cc:76 +#, c-format +msgid "This program is running as process number %d." +msgstr "Програмата е пусната под процес номер %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/ca.po b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/ca.po new file mode 100644 index 0000000000000000000000000000000000000000..e672770426e2e26fe3a6c6331f47bb7e6a47d664 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/ca.po @@ -0,0 +1,27 @@ +# Catalan messages for GNU hello-c++-wxwidgets. +# Copyright (C) 2003, 2014, 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Ivan Vilata i Balaguer , 2003, 2014, 2015, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-wxwidgets 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-07-07 08:36+0200\n" +"Last-Translator: Ivan Vilata i Balaguer \n" +"Language-Team: Catalan \n" +"Language: ca\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.cc:73 +msgid "Hello, world!" +msgstr "Hola, món!" + +#: hello.cc:76 +#, c-format +msgid "This program is running as process number %d." +msgstr "Aquest programa està corrent amb el número de procés %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/cs.po b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/cs.po new file mode 100644 index 0000000000000000000000000000000000000000..21c69a9556855af5f349432140761885616d79ff --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/cs.po @@ -0,0 +1,29 @@ +# The Czech translation for the gettext package. +# Copyright (C) 2011 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Marek Černocký , 2011. +# Petr Písař , 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-wxwidgets 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 20:05+02:00\n" +"Last-Translator: Petr Pisar \n" +"Language-Team: Czech \n" +"Language: cs\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#: hello.cc:73 +msgid "Hello, world!" +msgstr "Ahoj světe!" + +#: hello.cc:76 +#, c-format +msgid "This program is running as process number %d." +msgstr "Tento program běží jako proces číslo %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/da.po b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/da.po new file mode 100644 index 0000000000000000000000000000000000000000..9faeb7b9673adb7ca60f28f4c37e318eeddf833b --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/da.po @@ -0,0 +1,28 @@ +# Danish messages for hello-c++-wxwidgets. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Jan Djærv , 2003, 2006. +# Keld Simonsen , 2011. +# Joe Hansen , 2015. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-wxwidgets 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-06-27 12:39+0100\n" +"Last-Translator: Joe Hansen \n" +"Language-Team: Danish \n" +"Language: da\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:73 +msgid "Hello, world!" +msgstr "Hej verden!" + +#: hello.cc:76 +#, c-format +msgid "This program is running as process number %d." +msgstr "Dette program kører som proces nummer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/de.po b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/de.po new file mode 100644 index 0000000000000000000000000000000000000000..1a9c555b95f828f5874d1e390961ef0d275b79e4 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/de.po @@ -0,0 +1,32 @@ +# German messages for hello-c++-wxwidgets. +# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Bruno Haible , 2003. +# Karl Eichwalder , 2003. +# Jakob Kramer , 2013. +# Mario Blättermann , 2014, 2023, 2025. +# Philipp Thomas , 2015. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-wxwidgets 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 17:15+0200\n" +"Last-Translator: Mario Blättermann \n" +"Language-Team: German \n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 25.04.0\n" + +#: hello.cc:73 +msgid "Hello, world!" +msgstr "Hallo Welt!" + +#: hello.cc:76 +#, c-format +msgid "This program is running as process number %d." +msgstr "Dieses Programm läuft mit der Prozess-Nummer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/el.po b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/el.po new file mode 100644 index 0000000000000000000000000000000000000000..c5fc8e9d40e39e10bacdbe7e169af27ab004abee --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/el.po @@ -0,0 +1,26 @@ +# Greek translation of hello-c++-wxwidgets +# Copyright (C) 2005 Free Software Foundation, Inc. +# Simos Xenitellis , 2005. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-wxwidgets 0.14.1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2005-01-06 18:50+0000\n" +"Last-Translator: Simos Xenitellis \n" +"Language-Team: Greek \n" +"Language: el\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: KBabel 1.3.1\n" + +#: hello.cc:73 +msgid "Hello, world!" +msgstr "Γεια σου, κόσμε!" + +#: hello.cc:76 +#, c-format +msgid "This program is running as process number %d." +msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/eo.po b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/eo.po new file mode 100644 index 0000000000000000000000000000000000000000..ead7ed7d4a26a501076b917f63ad42c598d36794 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/eo.po @@ -0,0 +1,28 @@ +# La teksto por la mesaĝoj de la programo "gettext". +# Copyright (C) 2006, 2016 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Edmund GRIMLEY EVANS , 2006. +# Felipe CASTRO , 2016, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-wxwidgets 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-23 19:00-0300\n" +"Last-Translator: Felipe Castro \n" +"Language-Team: Esperanto \n" +"Language: eo\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.cc:73 +msgid "Hello, world!" +msgstr "Saluton, mondo!" + +#: hello.cc:76 +#, c-format +msgid "This program is running as process number %d." +msgstr "Ĉi tiu programo rulas kiel procez-numero %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/es.po b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/es.po new file mode 100644 index 0000000000000000000000000000000000000000..4498ab8b98d952a076a1e7bcb0d1bfd79e051292 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/es.po @@ -0,0 +1,30 @@ +# Mensajes en español para GNU gettext. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# +# This file is distributed under the same license as the gettext package. +# +# Max de Mendizábal , 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004. +# Antonio Ceballos , 2014, 2015, 2023, 2025 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-wxwidgets-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-02-23 17:01+0100\n" +"Last-Translator: Antonio Ceballos \n" +"Language-Team: Spanish \n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.cc:73 +msgid "Hello, world!" +msgstr "¡Hola, mundo!" + +#: hello.cc:76 +#, c-format +msgid "This program is running as process number %d." +msgstr "Este programa está corriendo como el proceso número %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/fi.po b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/fi.po new file mode 100644 index 0000000000000000000000000000000000000000..2a338ea8acd4839bbae442a3c373ae97e0b6aa7e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/fi.po @@ -0,0 +1,29 @@ +# Finnish messages for GNU Gettext examples. +# This file is distributed under the same license as the gettext package. +# Copyright © 2007, 2014, 2015 Yoyodyne, Inc. (msgids) +# Lauri Nurmi , 2007. +# Jorma Karvonen , 2014-2015. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-wxwidgets 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-09-01 16:59+0300\n" +"Last-Translator: Jorma Karvonen \n" +"Language-Team: Finnish \n" +"Language: fi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 1.5.4\n" + +# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti. +#: hello.cc:73 +msgid "Hello, world!" +msgstr "Terve maailma!" + +#: hello.cc:76 +#, c-format +msgid "This program is running as process number %d." +msgstr "Tämän ohjelman prosessinumero on %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/fr.po b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/fr.po new file mode 100644 index 0000000000000000000000000000000000000000..405891e71fdb12de45411b30848bf24e4b5ea9e7 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/fr.po @@ -0,0 +1,32 @@ +# Messages français pour GNU gettext. +# Copyright (C) 2006 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Michel Robitaille , 2006. +# Christophe Combelles , 2006 +# Stéphane Aulery , 2015 +# Christian Wiatr , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-wxwidgets 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-28 16:25+0200\n" +"Last-Translator: Christian Wiatr \n" +"Language-Team: French \n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.cc:73 +msgid "Hello, world!" +msgstr "Bonjour, le monde !" + +#: hello.cc:76 +#, c-format +msgid "This program is running as process number %d." +msgstr "Ce programme est exécuté en tant que processus numéro %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/ga.po b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/ga.po new file mode 100644 index 0000000000000000000000000000000000000000..0a7cf7f00b98c13b7c5b04de8773da6b724efe88 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/ga.po @@ -0,0 +1,26 @@ +# Irish translations for hello-c++-wxwidgets. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Kevin Patrick Scannell , 2004, 2017. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-wxwidgets 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2017-01-10 12:09-0500\n" +"Last-Translator: Kevin Patrick Scannell \n" +"Language-Team: Irish \n" +"Language: ga\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:73 +msgid "Hello, world!" +msgstr "Dia duit, a dhomhain!" + +#: hello.cc:76 +#, c-format +msgid "This program is running as process number %d." +msgstr "Tá an clár seo ag rith mar phróiseas %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/gl.po b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/gl.po new file mode 100644 index 0000000000000000000000000000000000000000..1bc93b13ceb2eddbc2a029dafbeb39f12744ffc0 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/gl.po @@ -0,0 +1,31 @@ +# Galician translation for hello-c++-wxwidgets package. +# Copyright (C) 2010 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Leandro Regueiro , 2010-2014. +# +# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas +# colaborar connosco, podes atopar máis información en +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-wxwidgets 0.19-rc1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2014-05-10 16:34+0100\n" +"Last-Translator: Leandro Regueiro \n" +"Language-Team: Galician \n" +"Language: gl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n!=1);\n" + +#: hello.cc:73 +msgid "Hello, world!" +msgstr "Ola, mundo!" + +#: hello.cc:76 +#, c-format +msgid "This program is running as process number %d." +msgstr "Este programa estase executando como o proceso número %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/hr.po b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/hr.po new file mode 100644 index 0000000000000000000000000000000000000000..31ab918a216c394d1b2846acebe268ed7657ce44 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/hr.po @@ -0,0 +1,33 @@ +# Translation of hello-c++-wxwidgets to Croatian. +# Copyright (C) 2003, 2004, 2014, 2015, 2019 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Permission is granted to freely copy and distribute +# this file and modified versions, provided that this +# header is not removed and modified versions are marked +# as such. +# +# Tomislav Krznar , 2012. +# Božidar Putanec , 2018-2025. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c++-wxwidgets 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 10:15-0700\n" +"Last-Translator: Božidar Putanec \n" +"Language-Team: Croatian \n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:73 +msgid "Hello, world!" +msgstr "Pozdrav, svijete!" + +#: hello.cc:76 +#, c-format +msgid "This program is running as process number %d." +msgstr "Ovaj program se izvršava kao proces broj %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/hu.po b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/hu.po new file mode 100644 index 0000000000000000000000000000000000000000..68ee3a745adea666f166b26528bddb8213801941 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/hu.po @@ -0,0 +1,29 @@ +# Hungarian translation for hello-c++-wxwidgets. +# This file is distributed under the same license as the gettext package. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# +# Tamás Kiss , 2005. +# Balázs Úr , 2014, 2015. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-wxwidgets 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-06-23 20:31+0200\n" +"Last-Translator: Balázs Úr \n" +"Language-Team: Hungarian \n" +"Language: hu\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 1.2\n" + +#: hello.cc:73 +msgid "Hello, world!" +msgstr "Hello, világ!" + +#: hello.cc:76 +#, c-format +msgid "This program is running as process number %d." +msgstr "Ez a program a(z) %d folyamatazonosítóval fut." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/id.po b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/id.po new file mode 100644 index 0000000000000000000000000000000000000000..f9a453e949a2b939dd9117fcb1fdba81c9b3d511 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/id.po @@ -0,0 +1,27 @@ +# translation of hello-c++-wxwidgets-0.15-pre5.po to Indonesian +# Copyright (C) 2006 Yoyodyne, Inc. +# This file is distributed under the same license as the PACKAGE package. +# +# Tedi Heriyanto , 2006. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-wxwidgets-0.15-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2006-09-27 20:19+0700\n" +"Last-Translator: Tedi Heriyanto \n" +"Language-Team: Indonesian \n" +"Language: id\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: KBabel 1.11.2\n" + +#: hello.cc:73 +msgid "Hello, world!" +msgstr "Hello, world!" + +#: hello.cc:76 +#, c-format +msgid "This program is running as process number %d." +msgstr "Program ini berjalan sebagai proses nomor %d" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/it.po b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/it.po new file mode 100644 index 0000000000000000000000000000000000000000..167afebfc9052c29ac183a09302d67c56fda81b8 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/it.po @@ -0,0 +1,29 @@ +# Italian messages for hello-c++-wxwidgets. +# Copyright (C) 2005, 2006 Yoyodyne, Inc. (msgids) +# Copyright (C) 2024 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Marco Colombo , 2005, 2006, 2015. +# Michele Locati , 2024, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c++-wxwidgets 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-04 18:28+0200\n" +"Last-Translator: Michele Locati \n" +"Language-Team: Italian \n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:73 +msgid "Hello, world!" +msgstr "Ciao, mondo!" + +#: hello.cc:76 +#, c-format +msgid "This program is running as process number %d." +msgstr "Questo programma è in esecuzione con numero di processo %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/ja.po b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/ja.po new file mode 100644 index 0000000000000000000000000000000000000000..262465ef4b260a0429260284dd756616ce41ccc1 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/ja.po @@ -0,0 +1,26 @@ +# Translation of `hello-c++-wxwidgets' messages to Japanese. +# Copyright (C) 2005, 2006, 2014, 2015, 2023, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Masahito Yamaga , 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c++-wxwidgets 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 19:59+0900\n" +"Last-Translator: Masahito Yamaga \n" +"Language-Team: Japanese \n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:73 +msgid "Hello, world!" +msgstr "世界よ, こんにちは!" + +#: hello.cc:76 +#, c-format +msgid "This program is running as process number %d." +msgstr "このプログラムはプロセス番号 %d で動いています." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/ka.po b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/ka.po new file mode 100644 index 0000000000000000000000000000000000000000..4cee3146239bd8fe91610d60f1be252a034bc961 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/ka.po @@ -0,0 +1,28 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Temuri Doghonadze , 2022. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-wxwidgets 0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2022-05-22 05:04+0200\n" +"Last-Translator: Temuri Doghonadze \n" +"Language-Team: Georgian <(nothing)>\n" +"Language: ka\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 3.0.1\n" + +#: hello.cc:73 +msgid "Hello, world!" +msgstr "გამარჯობა სამყაროვ!" + +#: hello.cc:76 +#, c-format +msgid "This program is running as process number %d." +msgstr "პროგრამა გაშვებულია პროცესის ნომრით %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/ky.po b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/ky.po new file mode 100644 index 0000000000000000000000000000000000000000..531e5b485539e357cb080229d7f2069c534258fc --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/ky.po @@ -0,0 +1,28 @@ +# Translation of 'hello-c++-wxwidgets' messages to Kirghiz. +# Copyright (C) 2004 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Ilyas Bakirov , 2007. +# Ilyas Bakirov , 2018. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-wxwidgets 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2018-02-15 18:26+0600\n" +"Last-Translator: Ilyas Bakirov \n" +"Language-Team: Kirghiz \n" +"Language: ky\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 2.0.6\n" + +#: hello.cc:73 +msgid "Hello, world!" +msgstr "Салам дүйнө!" + +#: hello.cc:76 +#, c-format +msgid "This program is running as process number %d." +msgstr "Бул программа %d процесс номери катары иштеп жатат." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/lv.po b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/lv.po new file mode 100644 index 0000000000000000000000000000000000000000..72a28f08eb95f5e9eafc334eb9ad79bb347ea4a6 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/lv.po @@ -0,0 +1,30 @@ +# Latvian translation of hello-c++-wxwidgets +# Copyright (C) 2009 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Arvis Lācis , 2009. +# Rihards Priedītis , 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-wxwidgets-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-09 11:44+0000\n" +"Last-Translator: Rihards Priedītis \n" +"Language-Team: Latvian \n" +"Language: lv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : " +"2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cc:73 +msgid "Hello, world!" +msgstr "Sveika, pasaule!" + +#: hello.cc:76 +#, c-format +msgid "This program is running as process number %d." +msgstr "Šī programma darbojas ar procesa numuru %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/ms.po b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/ms.po new file mode 100644 index 0000000000000000000000000000000000000000..eb325f5b9802576d60b248e1436d164836cd0130 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/ms.po @@ -0,0 +1,28 @@ +# hello-c++-wxwidgets Bahasa Melayu (Malay) (ms). +# Copyright (C) 2006, 2015, 2023, 2025 Yoyodyne, Inc. (msgids) +# Copyright (C) 2006, 2015, 2023, 2025 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Sharuzzaman Ahmat Raslan , 2006, 2015, 2023, 2025 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-wxwidgets 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-03 21:10+0800\n" +"Last-Translator: Sharuzzaman Ahmat Raslan \n" +"Language-Team: Malay \n" +"Language: ms\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cc:73 +msgid "Hello, world!" +msgstr "Hello, dunia!" + +#: hello.cc:76 +#, c-format +msgid "This program is running as process number %d." +msgstr "Program ini dilaksanakan sebagai proses bernombor %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/mt.po b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/mt.po new file mode 100644 index 0000000000000000000000000000000000000000..b8e0421dee625016f5ea466257d56fae475d7c6b --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/mt.po @@ -0,0 +1,27 @@ +# hello-c++-wxwidgets-0.16.2-pre5. +# Copyright (C) 2008 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Clyde Meli , 2001-2008. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-wxwidgets 0.16.2-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2008-11-18 17:27+0100\n" +"Last-Translator: Clyde Meli \n" +"Language-Team: Maltese \n" +"Language: mt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:73 +msgid "Hello, world!" +msgstr "Hello, lil kulħadd!" + +#: hello.cc:76 +#, c-format +msgid "This program is running as process number %d." +msgstr "Dal-programm qed jaħdem taħt il-proċess numru %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/nb.po b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/nb.po new file mode 100644 index 0000000000000000000000000000000000000000..4c7cacbd9fa43678f5682e0a9ab5018abbbf7ce1 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/nb.po @@ -0,0 +1,29 @@ +# Norwegian Bokmal translations for hello-c++-wxwidgets package. +# Copyright (C) 2012 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Johnny A. Solbu , 2012-2024 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-wxwidgets 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-01-06 16:33+0100\n" +"Last-Translator: Johnny A. Solbu \n" +"Language-Team: Norwegian Bokmaal \n" +"Language: nb\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.cc:73 +msgid "Hello, world!" +msgstr "Hallo verden!" + +#: hello.cc:76 +#, c-format +msgid "This program is running as process number %d." +msgstr "Dette programmet kjører som prosess nummer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/nl.po b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/nl.po new file mode 100644 index 0000000000000000000000000000000000000000..62b5e111af650374f056c011f1746789b6483edc --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/nl.po @@ -0,0 +1,31 @@ +# Dutch translations for GNU hello-c++-wxwidgets. +# Copyright (C) 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# "There are three basic rules for writing a novel. +# Unfortunately nobody knows what they are." +# +# Benno Schulenberg , 2007, 2014, 2015, 2019, 2025. +# Elros Cyriatan , 2004. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-wxwidgets-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-01 14:51+0100\n" +"Last-Translator: Benno Schulenberg \n" +"Language-Team: Dutch \n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.cc:73 +msgid "Hello, world!" +msgstr "Hallo, wereld!" + +#: hello.cc:76 +#, c-format +msgid "This program is running as process number %d." +msgstr "Dit programma draait als proces nummer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/nn.po b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/nn.po new file mode 100644 index 0000000000000000000000000000000000000000..80c56dc3fc32202bd01158ecf506878cb1c54edc --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/nn.po @@ -0,0 +1,28 @@ +# Norwegian Nynorsk translation of GNU hello-c++-wxwidgets +# Copyright (C) 2020 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Karl Ove Hufthammer , 2020. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-wxwidgets-0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2020-05-04 18:58+0200\n" +"Last-Translator: Karl Ove Hufthammer \n" +"Language-Team: Norwegian Nynorsk \n" +"Language: nn\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 20.04.0\n" + +#: hello.cc:73 +msgid "Hello, world!" +msgstr "Hei, verda!" + +#: hello.cc:76 +#, c-format +msgid "This program is running as process number %d." +msgstr "Dette programmet køyrer som prosess nummer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/pl.po b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/pl.po new file mode 100644 index 0000000000000000000000000000000000000000..230db9c9221e4c1b4a118637d9ccf9bf6fcb77ab --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/pl.po @@ -0,0 +1,27 @@ +# Polish translations for the GNU gettext messages, hello-c++-wxwidgets domain +# Copyright (C) 2010, 2014, 2015, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Rafał Maszkowski , 2003, 2010, 2014, 2015, 2025 +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c++-wxwidgets 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-25 17:16+0200\n" +"Last-Translator: Rafał Maszkowski \n" +"Language-Team: Polish \n" +"Language: pl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8-bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " +"|| n%100>=20) ? 1 : 2);\n" + +#: hello.cc:73 +msgid "Hello, world!" +msgstr "Cześć, świecie!" + +#: hello.cc:76 +#, c-format +msgid "This program is running as process number %d." +msgstr "Ten program działa jako proces o numerze %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/pt.po b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/pt.po new file mode 100644 index 0000000000000000000000000000000000000000..01ce783aff2f8188020bc4f842280cf6e7b1bcef --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/pt.po @@ -0,0 +1,28 @@ +# Portuguese (Portugal) translation of 'hello-c++-wxwidgets' package. +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Pedro Albuquerque , 2019, 2020, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-wxwidgets 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 11:24+0100\n" +"Last-Translator: Pedro Albuquerque \n" +"Language-Team: Portuguese \n" +"Language: pt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\\n;\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.6\n" + +#: hello.cc:73 +msgid "Hello, world!" +msgstr "Olá mundo!" + +#: hello.cc:76 +#, c-format +msgid "This program is running as process number %d." +msgstr "Este programa está em execução como processo nº %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/pt_BR.po b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/pt_BR.po new file mode 100644 index 0000000000000000000000000000000000000000..eba176141227c4b323700e41caf82658fc5f688f --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/pt_BR.po @@ -0,0 +1,31 @@ +# Brazilian Portuguese translations for gettext-example +# Traduções em português brasileiro para gettext-example +# Copyright (C) 2025 Yoyodyne, Inc. (msgids) +# Copyright (C) 2025 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Rafael Fontenelle , 2013-2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-wxwidgets 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 10:24-0300\n" +"Last-Translator: Rafael Fontenelle \n" +"Language-Team: Brazilian Portuguese \n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Gtranslator 48.0\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:73 +msgid "Hello, world!" +msgstr "Olá, mundo!" + +#: hello.cc:76 +#, c-format +msgid "This program is running as process number %d." +msgstr "Este programa está sendo executado com número de processo %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/ro.po b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/ro.po new file mode 100644 index 0000000000000000000000000000000000000000..244f37ee896b7d6bddb540b66cea379303840393 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/ro.po @@ -0,0 +1,50 @@ +# Translation of "hello-c++-wxwidgets" messages to Romanian. +# Mesajele în limba română pentru pachetul hello-c++-wxwidgets. +# Copyright © 2015, 2019, 2022, 2023, 2024, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Eugen Hoancă , 2003. +# Mihai Cristescu , 2015 - 2019. +# Remus-Gabriel Chelu , 2022 - 2025. +# +# Cronologia traducerii fișierului „hello-c++-wxwidgets”: +# Traducerea inițială, făcută de EH, pentru versiunea hello-c++-wxwidgets 0.12.1, 2003. +# Actualizare a traducerii pentru versiunea hello-c++-wxwidgets 0.19.4-rc1, făcută de MC, mar-2015. +# Actualizare a traducerii pentru versiunea hello-c++-wxwidgets 0.19.4.73, făcută de MC, iun-2015. +# Actualizare a traducerii pentru versiunea hello-c++-wxwidgets 0.20-rc1, făcută de MC, apr-2019. +# Actualizare a mesajelor, de la fișierul „hello-c++-wxwidgets-0.20.2.pot”. +# Actualizare a algoritmului formelor de plural (de la „trei-vechi” la „trei-actual”). +# NU și a mesajelor traduse (acestea au rămas neschimbate). +# Eliminare a mesajelor ce-au dispărut în ultima versiune. +# Actualizări realizate de Remus-Gabriel Chelu , 15.01.2022. +# Actualizare a traducerii pentru versiunea 0.20.2 făcută de R-GC, ian-2022. +# Actualizare a traducerii pentru versiunea 0.22 făcută de R-GC, iun-2023. +# Revizuire și corectare a traducerii pentru versiunea 0.23-pre1 făcută de R-GC, oct-2024. +# Actualizare a traducerii pentru versiunea 0.24-pre1 făcută de R-GC, feb-2025. +# Actualizare a traducerii pentru versiunea 0.25-pre1 făcută de R-GC, apr-2025. +# Actualizare a traducerii pentru versiunea Y, făcută de X, Z(luna-anul). +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-wxwidgets 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-29 00:25+0200\n" +"Last-Translator: Remus-Gabriel Chelu \n" +"Language-Team: Romanian \n" +"Language: ro\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " +"20)) ? 1 : 2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cc:73 +msgid "Hello, world!" +msgstr "Salutare, lume!" + +#: hello.cc:76 +#, c-format +msgid "This program is running as process number %d." +msgstr "Acest program rulează ca procesul numărul %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/ru.po b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/ru.po new file mode 100644 index 0000000000000000000000000000000000000000..e7625367887927b7d3b91b0d5c222fd5fe56b495 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/ru.po @@ -0,0 +1,30 @@ +# Translation of hello-c++-wxwidgets-0.14.1.po to Russian +# Copyright (C) 2004 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Pavel Maryanov , 2004. +# SPDX-FileCopyrightText: 2014, 2015, 2023, 2025 Yuri Kozlov +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-wxwidgets 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-02 09:17+0300\n" +"Last-Translator: Yuri Kozlov \n" +"Language-Team: Russian \n" +"Language: ru\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Lokalize 24.12.0\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#: hello.cc:73 +msgid "Hello, world!" +msgstr "Здравствуй, мир!" + +#: hello.cc:76 +#, c-format +msgid "This program is running as process number %d." +msgstr "Эта программа выполняется как процесс под номером %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/sk.po b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/sk.po new file mode 100644 index 0000000000000000000000000000000000000000..e6d998711b8c01767ea01092f79a26e91882d3a4 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/sk.po @@ -0,0 +1,26 @@ +# Slovak translations GNU for hello-c++-wxwidgets package. +# Copyright (C) 2003, 2004, 2014, 2023, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Marcel Telka , 2003, 2004, 2014, 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c++-wxwidgets 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 13:53+0200\n" +"Last-Translator: Marcel Telka \n" +"Language-Team: Slovak \n" +"Language: sk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:73 +msgid "Hello, world!" +msgstr "Ahoj svet!" + +#: hello.cc:76 +#, c-format +msgid "This program is running as process number %d." +msgstr "Tento program beží ako proces s číslom %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/sl.po b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/sl.po new file mode 100644 index 0000000000000000000000000000000000000000..935e95954727cb9b954262127eac6339c36e8f1a --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/sl.po @@ -0,0 +1,29 @@ +# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example +# Copyright (C) 2005 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Primož Peterlin , 2005, 2014, 2015, 2024. +# $Id: hello-c++-wxwidgets-0.22.sl.po,v 1.1 2024/03/28 17:02:19 peterlin Exp $ +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-wxwidgets 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-03-28 18:02+0100\n" +"Last-Translator: Primož Peterlin \n" +"Language-Team: Slovenian \n" +"Language: sl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8-bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || " +"n%100==4 ? 3 : 0);\n" + +#: hello.cc:73 +msgid "Hello, world!" +msgstr "Pozdravljen, svet!" + +#: hello.cc:76 +#, c-format +msgid "This program is running as process number %d." +msgstr "Ta program teče kot proces številka %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/sq.po b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/sq.po new file mode 100644 index 0000000000000000000000000000000000000000..a9c5d1218296f9cef62f69b83bb367286ddffa24 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/sq.po @@ -0,0 +1,28 @@ +# Albanian translation of gettext-example. +# Copyright (C) 2020 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Besnik Bleta , 2020,2023,2024,2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-wxwidgets-0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 19:56+0300\n" +"Last-Translator: Besnik Bleta \n" +"Language-Team: Albanian \n" +"Language: sq\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.2.2\n" + +#: hello.cc:73 +msgid "Hello, world!" +msgstr "Tungjatjeta, botë!" + +#: hello.cc:76 +#, c-format +msgid "This program is running as process number %d." +msgstr "Ky program po xhiron si procesi numër %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/sr.po b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/sr.po new file mode 100644 index 0000000000000000000000000000000000000000..89878ff6eb8ca364e2f1745a59ae9caccb54ed82 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/sr.po @@ -0,0 +1,30 @@ +# Serbian translation of hello-c++-wxwidgets. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Aleksandar Jelenak , 2004. +# Мирослав Николић , 2014-2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-wxwidgets-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-02 16:51+0100\n" +"Last-Translator: Мирослав Николић \n" +"Language-Team: Serbian <(nothing)>\n" +"Language: sr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cc:73 +msgid "Hello, world!" +msgstr "Здраво, свима!" + +#: hello.cc:76 +#, c-format +msgid "This program is running as process number %d." +msgstr "Овај програм се извршава као процес број %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/sv.po b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/sv.po new file mode 100644 index 0000000000000000000000000000000000000000..eb445634cee1c4b69e51b900eb2d9a48c005223a --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/sv.po @@ -0,0 +1,30 @@ +# Swedish messages for hello-c++-wxwidgets. +# Copyright © 2006, 2014, 2016, 2019, 2020, 2023, 2024, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Jan Djärv , 2003, 2006, 2014. +# Göran Uddeborg , 2016, 2019, 2020, 2023, 2024, 2025. +# Luna Jernberg , 2025. +# $Revision: 1.12 $ +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-wxwidgets 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 12:18+0200\n" +"Last-Translator: Luna Jernberg \n" +"Language-Team: Swedish \n" +"Language: sv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cc:73 +msgid "Hello, world!" +msgstr "Hej världen!" + +#: hello.cc:76 +#, c-format +msgid "This program is running as process number %d." +msgstr "Detta program kör som process nummer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/ta.po b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/ta.po new file mode 100644 index 0000000000000000000000000000000000000000..97f008ebc1a5c4873439215384569804020cdde7 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/ta.po @@ -0,0 +1,28 @@ +# Tamil messages for GNU gettext. +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# List of contributors follow: +# Poorajith , 2018. +# Arun Isaac , 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-wxwidgets 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-19 00:06+0100\n" +"Last-Translator: Arun Isaac \n" +"Language-Team: Tamil \n" +"Language: ta\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:73 +msgid "Hello, world!" +msgstr "வணக்கம், உலகு!" + +#: hello.cc:76 +#, c-format +msgid "This program is running as process number %d." +msgstr "இந்நிரல் செயலாக்க எண் %d ஆக இயங்கிக்கொண்டிருக்கிறது." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/tr.po b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/tr.po new file mode 100644 index 0000000000000000000000000000000000000000..1ae0481191550124eb52bb83a038c537f77f07c0 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/tr.po @@ -0,0 +1,29 @@ +# Turkish translation for hello-c++-wxwidgets. +# This file is distributed under the same license as the gettext package. +# Copyright (C) 2017 Yoyodyne, Inc. (msgids) +# Copyright (C) 2004 Free Software Foundation, Inc. +# Nilgün Belma Bugüner , 2003,2004 +# Mehmet Kececi , 2017, 2019, 2020. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-wxwidgets 0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2020-04-17 13:10+0300\n" +"Last-Translator: Mehmet Kececi \n" +"Language-Team: Turkish \n" +"Language: tr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Poedit 2.3\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:73 +msgid "Hello, world!" +msgstr "Merhaba, dünya!" + +#: hello.cc:76 +#, c-format +msgid "This program is running as process number %d." +msgstr "Bu yazılım %d işlem numarası ile çalışıyor." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/uk.po b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/uk.po new file mode 100644 index 0000000000000000000000000000000000000000..a480a7ffaa5ccf095d2ac678e78aa75503cbee71 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/uk.po @@ -0,0 +1,30 @@ +# Ukrainian translation to hello-c++-wxwidgets +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Maxim V. Dziumanenko , 2004-2007. +# Yuri Chornoivan , 2014, 2015, 2023, 2025. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-wxwidgets 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 13:56+0300\n" +"Last-Translator: Yuri Chornoivan \n" +"Language-Team: Ukrainian \n" +"Language: uk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Generator: Lokalize 23.04.3\n" + +#: hello.cc:73 +msgid "Hello, world!" +msgstr "Привіт, світе!" + +#: hello.cc:76 +#, c-format +msgid "This program is running as process number %d." +msgstr "Ця програма виконується як процес з номером %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/vi.po b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/vi.po new file mode 100644 index 0000000000000000000000000000000000000000..daddfc978391195c48ccc4fd88861faad0a9c3ee --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/vi.po @@ -0,0 +1,30 @@ +# Vietnamese Translation for Gettext Examples. +# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext. +# Copyright © 2015 Yoyodyne, Inc. (msgids) +# Copyright © 2015 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Clytie Siddall , 2005-2010. +# Trần Ngọc Quân , 2012-2015, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-wxwidgets 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-24 09:10+0700\n" +"Last-Translator: Trần Ngọc Quân \n" +"Language-Team: Vietnamese \n" +"Language: vi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: hello.cc:73 +msgid "Hello, world!" +msgstr "Chào thế giới!" + +#: hello.cc:76 +#, c-format +msgid "This program is running as process number %d." +msgstr "Chương trình này đang chạy với mã số tiến trình %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/zh_CN.po b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/zh_CN.po new file mode 100644 index 0000000000000000000000000000000000000000..3201af8d6af981302fbd62b3607e97d8a47227b8 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/zh_CN.po @@ -0,0 +1,29 @@ +# zh_CN translation for hello-c++-wxwidgets. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Funda Wang , 2003. +# Ji ZhengYu , 2015. +# Boyuan Yang <073plan@gmail.com>, 2019, 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-wxwidgets 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-29 15:56-0400\n" +"Last-Translator: Boyuan Yang <073plan@gmail.com>\n" +"Language-Team: Chinese (simplified) \n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.6\n" + +#: hello.cc:73 +msgid "Hello, world!" +msgstr "你好,世界!" + +#: hello.cc:76 +#, c-format +msgid "This program is running as process number %d." +msgstr "此程序正以进程号 %d 运行。" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/zh_HK.po b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/zh_HK.po new file mode 100644 index 0000000000000000000000000000000000000000..ed20f3e9c706bd4bb5a3ab811415f91563e2a8c4 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/zh_HK.po @@ -0,0 +1,25 @@ +# Chinese (Hong Kong) translation of hello-c++-wxwidgets. +# Copyright (C) 2006 Yoyodyne, Inc. +# Abel Cheung , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-wxwidgets 0.15-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2006-07-05 15:40+0800\n" +"Last-Translator: Abel Cheung \n" +"Language-Team: Chinese (Hong Kong) \n" +"Language: zh_HK\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:73 +msgid "Hello, world!" +msgstr "你好!" + +#: hello.cc:76 +#, c-format +msgid "This program is running as process number %d." +msgstr "本程式正在執行中,進程編號為 %d。" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/zh_TW.po b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/zh_TW.po new file mode 100644 index 0000000000000000000000000000000000000000..04a30e50cde6fac97726fd562e1db721b9a3663c --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++-wxwidgets/po/zh_TW.po @@ -0,0 +1,29 @@ +# Traditional Chinese translation of hello-c++-wxwidgets. +# Copyright (C) 2009 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Abel Cheung , 2005. +# Wei-Lun Chao , 2013, 2015. +# Yi-Jyun Pan , 2024. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-wxwidgets 0.23-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-11-30 14:14+0800\n" +"Last-Translator: Yi-Jyun Pan \n" +"Language-Team: Chinese (traditional) \n" +"Language: zh_TW\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cc:73 +msgid "Hello, world!" +msgstr "哈囉,大家好!" + +#: hello.cc:76 +#, c-format +msgid "This program is running as process number %d." +msgstr "本程式正在執行,行程編號為 %d。" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/INSTALL b/miniconda3/share/doc/gettext/examples/hello-c++/INSTALL new file mode 100644 index 0000000000000000000000000000000000000000..5837269d20a9de7f93d953a08f14b7d05daf800b --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/INSTALL @@ -0,0 +1,10 @@ +This example relies on libstdc++, gettext-runtime. + +Installation: + ./autogen.sh + ./configure --prefix=/some/prefix --with-libasprintf-prefix=/previous/gettext/install/prefix + make + make install +Cleanup: + make distclean + ./autoclean.sh diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/Makefile.am b/miniconda3/share/doc/gettext/examples/hello-c++/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..9ff982583282064026689c65fef24e377ca04032 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/Makefile.am @@ -0,0 +1,29 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Makefile configuration - processed by automake. + +# General automake options. +AUTOMAKE_OPTIONS = foreign no-dependencies +ACLOCAL_AMFLAGS = -I m4 + +# The list of subdirectories containing Makefiles. +SUBDIRS = m4 po + +# The list of programs that are built. +bin_PROGRAMS = hello + +# The source files of the 'hello' program. +hello_SOURCES = hello.cc gettext.h + +# Define a C macro LOCALEDIR indicating where catalogs will be installed. +DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ + +# Make sure the gettext.h include file is found. +AM_CPPFLAGS = -I. -I$(srcdir) + +# Link time dependencies. +LDADD = @LIBASPRINTF@ @LIBINTL@ + +# Additional files to be distributed. +EXTRA_DIST = autogen.sh autoclean.sh diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/autoclean.sh b/miniconda3/share/doc/gettext/examples/hello-c++/autoclean.sh new file mode 100644 index 0000000000000000000000000000000000000000..1838e8d232aa0fee0d512f9fa715d4e1af1af925 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/autoclean.sh @@ -0,0 +1,46 @@ +#!/bin/sh +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Script for cleaning all autogenerated files. + +test ! -f Makefile || make distclean +rm -rf autom4te.cache + +# Brought in by explicit copy. +rm -f gettext.h + +# Brought in by autopoint. +rm -f ABOUT-NLS +rm -f config.rpath +rm -f m4/gettext.m4 +rm -f m4/build-to-host.m4 +rm -f m4/host-cpu-c-abi.m4 +rm -f m4/iconv.m4 +rm -f m4/intlmacosx.m4 +rm -f m4/lib-ld.m4 +rm -f m4/lib-link.m4 +rm -f m4/lib-prefix.m4 +rm -f m4/nls.m4 +rm -f m4/po.m4 +rm -f m4/progtest.m4 +rm -f po/Makefile.in.in +rm -f po/remove-potcdate.sed + +# Generated by aclocal. +rm -f aclocal.m4 + +# Generated by autoconf. +rm -f configure + +# Generated or brought in by automake. +rm -f Makefile.in +rm -f m4/Makefile.in +rm -f compile +rm -f install-sh +rm -f missing +rm -f config.guess +rm -f config.sub +rm -f po/*.pot +rm -f po/stamp-po +rm -f po/*.gmo diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/autogen.sh b/miniconda3/share/doc/gettext/examples/hello-c++/autogen.sh new file mode 100644 index 0000000000000000000000000000000000000000..21904ca9f990e376f4a22d27da4912325fc9fed0 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/autogen.sh @@ -0,0 +1,48 @@ +#!/bin/sh +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Script for regenerating all autogenerated files. + +if test -r ../Makefile.am; then + # Inside the gettext source directory. + GETTEXT_TOPSRCDIR=../../.. +else + if test -r ../Makefile; then + # Inside a gettext build directory. + GETTEXT_TOOLS_SRCDIR=`sed -n -e 's,^top_srcdir *= *\(.*\)$,\1,p' ../Makefile` + # Adjust a relative top_srcdir. + case $GETTEXT_TOOLS_SRCDIR in + /*) ;; + *) GETTEXT_TOOLS_SRCDIR=../$GETTEXT_TOOLS_SRCDIR ;; + esac + GETTEXT_TOPSRCDIR=$GETTEXT_TOOLS_SRCDIR/../.. + else + # Installed under ${prefix}/share/doc/gettext/examples. + . ../installpaths + fi +fi + +cp -p ${GETTEXTSRCDIR-$GETTEXT_TOPSRCDIR/gettext-tools/gnulib-lib}/gettext.h gettext.h + +autopoint -f # was: gettextize -f -c +rm po/Makevars.template +rm po/Rules-quot +rm po/boldquot.sed +rm po/en@boldquot.header +rm po/en@quot.header +rm po/insert-header.sed +rm po/quot.sed + +aclocal -I m4 + +autoconf + +automake -a -c + +cd po +for f in *.po; do + lang=`echo $f | sed -e 's,\.po$,,'` + msgfmt -c -o $lang.gmo $lang.po +done +cd .. diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/configure.ac b/miniconda3/share/doc/gettext/examples/hello-c++/configure.ac new file mode 100644 index 0000000000000000000000000000000000000000..34d6b417aee64e942a698b2634adfe61089031bc --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/configure.ac @@ -0,0 +1,18 @@ +dnl Example for use of GNU gettext. +dnl This file is in the public domain. +dnl +dnl Configuration file - processed by autoconf. + +AC_INIT([hello-c++], [0], , [hello-c++]) +AC_CONFIG_SRCDIR([hello.cc]) +AM_INIT_AUTOMAKE([1.11]) + +AC_PROG_CXX +AM_GNU_GETTEXT([external]) +AM_GNU_GETTEXT_VERSION([0.25]) +AC_LIB_LINKFLAGS([asprintf]) + +AC_CONFIG_FILES([Makefile]) +AC_CONFIG_FILES([m4/Makefile]) +AC_CONFIG_FILES([po/Makefile.in]) +AC_OUTPUT diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/hello.cc b/miniconda3/share/doc/gettext/examples/hello-c++/hello.cc new file mode 100644 index 0000000000000000000000000000000000000000..fe097df5393a98796c807d5c2f4007514e410b82 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/hello.cc @@ -0,0 +1,48 @@ +// Example for use of GNU gettext. +// This file is in the public domain. + +// Source code of the C++ program. + + +// Avoid deprecation warnings from g++ 3.1 or newer. +#if defined __GNUG__ && defined __DEPRECATED +# include +using namespace std; +#else +# include +#endif + +// Get setlocale() declaration. +#include + +// Get getpid() declaration. +#if defined _WIN32 && !defined __CYGWIN__ +/* native Windows API */ +# include +# define getpid _getpid +#else +/* POSIX API */ +# include +#endif + +// Get gettext(), textdomain(), bindtextdomain() declaration. +#include "gettext.h" +// Define shortcut for gettext(). +#define _(string) gettext (string) + +// Get autosprintf class declaration. +#include "autosprintf.h" +using gnu::autosprintf; + +int +main () +{ + setlocale (LC_ALL, ""); + textdomain ("hello-c++"); + bindtextdomain ("hello-c++", LOCALEDIR); + + cout << _("Hello, world!") << endl; + cout << autosprintf (_("This program is running as process number %d."), + getpid ()) + << endl; +} diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/m4/Makefile.am b/miniconda3/share/doc/gettext/examples/hello-c++/m4/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..7d516f09ff64e7f731d69696326a8626ca9c4ee0 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/m4/Makefile.am @@ -0,0 +1,4 @@ +EXTRA_DIST = \ + gettext.m4 build-to-host.m4 host-cpu-c-abi.m4 \ + iconv.m4 intlmacosx.m4 lib-ld.m4 lib-link.m4 lib-prefix.m4 \ + nls.m4 po.m4 progtest.m4 diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/LINGUAS b/miniconda3/share/doc/gettext/examples/hello-c++/po/LINGUAS new file mode 100644 index 0000000000000000000000000000000000000000..dc4a82afbad945018082c22f2061a43ef436dd68 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/LINGUAS @@ -0,0 +1,5 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Set of available languages. +af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ka ky lv ms mt nb nl nn pl pt pt_BR ro ru sk sl sq sr sv ta tr uk vi zh_CN zh_HK zh_TW diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/Makevars b/miniconda3/share/doc/gettext/examples/hello-c++/po/Makevars new file mode 100644 index 0000000000000000000000000000000000000000..307bf0336ca3176369ba3720d52122b43c967657 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/Makevars @@ -0,0 +1,84 @@ +# Makefile variables for PO directory in any package using GNU gettext. +# +# Copyright (C) 2003-2025 Free Software Foundation, Inc. +# This file is free software; the Free Software Foundation gives +# unlimited permission to use, copy, distribute, and modify it. + +# Usually the message domain is the same as the package name. +DOMAIN = $(PACKAGE) + +# These two variables depend on the location of this directory. +subdir = po +top_builddir = .. + +# These options get passed to xgettext. +XGETTEXT_OPTIONS = \ + --keyword=_ --flag=_:1:pass-c-format \ + --keyword=N_ --flag=N_:1:pass-c-format \ + --flag=autosprintf:1:c-format + +# This is the copyright holder that gets inserted into the header of the +# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding +# package. (Note that the msgid strings, extracted from the package's +# sources, belong to the copyright holder of the package.) Translators are +# expected to transfer the copyright for their translations to this person +# or entity, or to disclaim their copyright. The empty string stands for +# the public domain; in this case the translators are expected to disclaim +# their copyright. +COPYRIGHT_HOLDER = Yoyodyne, Inc. + +# This tells whether or not to prepend "GNU " prefix to the package +# name that gets inserted into the header of the $(DOMAIN).pot file. +# Possible values are "yes", "no", or empty. If it is empty, try to +# detect it automatically by scanning the files in $(top_srcdir) for +# "GNU packagename" string. +PACKAGE_GNU = no + +# This is the email address or URL to which the translators shall report +# bugs in the untranslated strings: +# - Strings which are not entire sentences, see the maintainer guidelines +# in the GNU gettext documentation, section 'Preparing Strings'. +# - Strings which use unclear terms or require additional context to be +# understood. +# - Strings which make invalid assumptions about notation of date, time or +# money. +# - Pluralisation problems. +# - Incorrect English spelling. +# - Incorrect formatting. +# It can be your email address, or a mailing list address where translators +# can write to without being subscribed, or the URL of a web page through +# which the translators can contact you. +MSGID_BUGS_ADDRESS = bug-gettext@gnu.org + +# This is the list of locale categories, beyond LC_MESSAGES, for which the +# message catalogs shall be used. It is usually empty. +EXTRA_LOCALE_CATEGORIES = + +# This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt' +# context. Possible values are "yes" and "no". Set this to yes if the +# package uses functions taking also a message context, like pgettext(), or +# if in $(XGETTEXT_OPTIONS) you define keywords with a context argument. +USE_MSGCTXT = no + +# These options get passed to msgmerge. +# Useful options are in particular: +# --previous to keep previous msgids of translated messages +MSGMERGE_OPTIONS = + +# These options get passed to msginit. +# If you want to disable line wrapping when writing PO files, add +# --no-wrap to MSGMERGE_OPTIONS, XGETTEXT_OPTIONS, and +# MSGINIT_OPTIONS. +MSGINIT_OPTIONS = + +# This tells whether or not to regenerate a PO file when $(DOMAIN).pot +# has changed. Possible values are "yes" and "no". Set this to no if +# the POT file is checked in the repository and the version control +# program ignores timestamps. +PO_DEPENDS_ON_POT = yes + +# This tells whether or not to forcibly update $(DOMAIN).pot and +# regenerate PO files on "make dist". Possible values are "yes" and +# "no". Set this to no if the POT file and PO files are maintained +# externally. +DIST_DEPENDS_ON_UPDATE_PO = yes diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/POTFILES.in b/miniconda3/share/doc/gettext/examples/hello-c++/po/POTFILES.in new file mode 100644 index 0000000000000000000000000000000000000000..bd28e81ce0c6a6f5784add4abe0aa0c66e4ed1af --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/POTFILES.in @@ -0,0 +1,5 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# List of files which contain translatable strings. +hello.cc diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/af.po b/miniconda3/share/doc/gettext/examples/hello-c++/po/af.po new file mode 100644 index 0000000000000000000000000000000000000000..821d6b29527dcc3538bda7388f7205f2c0ae48cc --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/af.po @@ -0,0 +1,26 @@ +# Afrikaans translation for Silky +# Copyright (C) 2004 Free Software Foundation, Inc. +# This file is distributed under the same license as the silky package. +# Hanlie Pretorius , 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-0.13.1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2003-12-31 10:30+2\n" +"Last-Translator: Ysbeer \n" +"Language-Team: Afrikaans \n" +"Language: af\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:44 +msgid "Hello, world!" +msgstr "Hallo wêreld!" + +#: hello.cc:45 +#, c-format +msgid "This program is running as process number %d." +msgstr "Hierdie program loop as prosesnommer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/ast.po b/miniconda3/share/doc/gettext/examples/hello-c++/po/ast.po new file mode 100644 index 0000000000000000000000000000000000000000..51f24cd6efdbf77570ff9151f357ec4634b6159e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/ast.po @@ -0,0 +1,29 @@ +# Asturian translation for hello-c++ +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Marquinos , 2009. +# enolp , 2018. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++ 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2018-07-16 00:28+0100\n" +"Last-Translator: enolp \n" +"Language-Team: Asturian \n" +"Language: ast\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Lokalize 2.0\n" + +#: hello.cc:44 +msgid "Hello, world!" +msgstr "¡Hola, mundu!" + +#: hello.cc:45 +#, c-format +msgid "This program is running as process number %d." +msgstr "Esti programa ta executándose como procesu númberu %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/bg.po b/miniconda3/share/doc/gettext/examples/hello-c++/po/bg.po new file mode 100644 index 0000000000000000000000000000000000000000..9661c15cfc9a62b1410d9b619586682b8eacd9a3 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/bg.po @@ -0,0 +1,26 @@ +# Bulgarian translations for hello-c++ package. +# Copyright (C) 2010 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Roumen Petrov , 2010,2014,2015,2019,2023,2024.2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c++ 0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-08 19:09+0200\n" +"Last-Translator: Roumen Petrov \n" +"Language-Team: Bulgarian \n" +"Language: bg\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:44 +msgid "Hello, world!" +msgstr "Здравейте всички!" + +#: hello.cc:45 +#, c-format +msgid "This program is running as process number %d." +msgstr "Програмата е пусната под процес номер %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/ca.po b/miniconda3/share/doc/gettext/examples/hello-c++/po/ca.po new file mode 100644 index 0000000000000000000000000000000000000000..c2f635c37128e942645ae8bbef40bcdf12fad32c --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/ca.po @@ -0,0 +1,27 @@ +# Catalan messages for GNU hello-c++. +# Copyright (C) 2003, 2014, 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Ivan Vilata i Balaguer , 2003, 2014, 2015, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++ 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-07-07 08:36+0200\n" +"Last-Translator: Ivan Vilata i Balaguer \n" +"Language-Team: Catalan \n" +"Language: ca\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.cc:44 +msgid "Hello, world!" +msgstr "Hola, món!" + +#: hello.cc:45 +#, c-format +msgid "This program is running as process number %d." +msgstr "Aquest programa està corrent amb el número de procés %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/cs.po b/miniconda3/share/doc/gettext/examples/hello-c++/po/cs.po new file mode 100644 index 0000000000000000000000000000000000000000..ac9ffa5b10c3062a3c56b2112b0a3a702782933c --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/cs.po @@ -0,0 +1,29 @@ +# The Czech translation for the gettext package. +# Copyright (C) 2011 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Marek Černocký , 2011. +# Petr Písař , 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++ 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 20:05+02:00\n" +"Last-Translator: Petr Pisar \n" +"Language-Team: Czech \n" +"Language: cs\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#: hello.cc:44 +msgid "Hello, world!" +msgstr "Ahoj světe!" + +#: hello.cc:45 +#, c-format +msgid "This program is running as process number %d." +msgstr "Tento program běží jako proces číslo %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/da.po b/miniconda3/share/doc/gettext/examples/hello-c++/po/da.po new file mode 100644 index 0000000000000000000000000000000000000000..b4db66140009efb950b81254af2e91cb6509f9ef --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/da.po @@ -0,0 +1,28 @@ +# Danish messages for hello-c++. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Jan Djærv , 2003, 2006. +# Keld Simonsen , 2011. +# Joe Hansen , 2015. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++ 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-06-27 12:39+0100\n" +"Last-Translator: Joe Hansen \n" +"Language-Team: Danish \n" +"Language: da\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:44 +msgid "Hello, world!" +msgstr "Hej verden!" + +#: hello.cc:45 +#, c-format +msgid "This program is running as process number %d." +msgstr "Dette program kører som proces nummer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/de.po b/miniconda3/share/doc/gettext/examples/hello-c++/po/de.po new file mode 100644 index 0000000000000000000000000000000000000000..ae6e4c7074c936dbb67fece6cd2d315164504fba --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/de.po @@ -0,0 +1,32 @@ +# German messages for hello-c++. +# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Bruno Haible , 2003. +# Karl Eichwalder , 2003. +# Jakob Kramer , 2013. +# Mario Blättermann , 2014, 2023, 2025. +# Philipp Thomas , 2015. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++ 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 17:15+0200\n" +"Last-Translator: Mario Blättermann \n" +"Language-Team: German \n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 25.04.0\n" + +#: hello.cc:44 +msgid "Hello, world!" +msgstr "Hallo Welt!" + +#: hello.cc:45 +#, c-format +msgid "This program is running as process number %d." +msgstr "Dieses Programm läuft mit der Prozess-Nummer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/el.po b/miniconda3/share/doc/gettext/examples/hello-c++/po/el.po new file mode 100644 index 0000000000000000000000000000000000000000..2e6ea5ebd831f511d66e3702fad67ee92cdc6c05 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/el.po @@ -0,0 +1,26 @@ +# Greek translation of hello-c++ +# Copyright (C) 2005 Free Software Foundation, Inc. +# Simos Xenitellis , 2005. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++ 0.14.1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2005-01-06 18:50+0000\n" +"Last-Translator: Simos Xenitellis \n" +"Language-Team: Greek \n" +"Language: el\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: KBabel 1.3.1\n" + +#: hello.cc:44 +msgid "Hello, world!" +msgstr "Γεια σου, κόσμε!" + +#: hello.cc:45 +#, c-format +msgid "This program is running as process number %d." +msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/eo.po b/miniconda3/share/doc/gettext/examples/hello-c++/po/eo.po new file mode 100644 index 0000000000000000000000000000000000000000..52f2080cc0057e8d384a1791793a7cebcc745022 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/eo.po @@ -0,0 +1,28 @@ +# La teksto por la mesaĝoj de la programo "gettext". +# Copyright (C) 2006, 2016 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Edmund GRIMLEY EVANS , 2006. +# Felipe CASTRO , 2016, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++ 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-23 19:00-0300\n" +"Last-Translator: Felipe Castro \n" +"Language-Team: Esperanto \n" +"Language: eo\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.cc:44 +msgid "Hello, world!" +msgstr "Saluton, mondo!" + +#: hello.cc:45 +#, c-format +msgid "This program is running as process number %d." +msgstr "Ĉi tiu programo rulas kiel procez-numero %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/es.po b/miniconda3/share/doc/gettext/examples/hello-c++/po/es.po new file mode 100644 index 0000000000000000000000000000000000000000..abd39ff40c936c37d586eced66032ecf8546679a --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/es.po @@ -0,0 +1,30 @@ +# Mensajes en español para GNU gettext. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# +# This file is distributed under the same license as the gettext package. +# +# Max de Mendizábal , 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004. +# Antonio Ceballos , 2014, 2015, 2023, 2025 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-02-23 17:01+0100\n" +"Last-Translator: Antonio Ceballos \n" +"Language-Team: Spanish \n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.cc:44 +msgid "Hello, world!" +msgstr "¡Hola, mundo!" + +#: hello.cc:45 +#, c-format +msgid "This program is running as process number %d." +msgstr "Este programa está corriendo como el proceso número %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/fi.po b/miniconda3/share/doc/gettext/examples/hello-c++/po/fi.po new file mode 100644 index 0000000000000000000000000000000000000000..bb69c4dc6ef5b2e4f2723adb06d84f71fa5da98b --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/fi.po @@ -0,0 +1,29 @@ +# Finnish messages for GNU Gettext examples. +# This file is distributed under the same license as the gettext package. +# Copyright © 2007, 2014, 2015 Yoyodyne, Inc. (msgids) +# Lauri Nurmi , 2007. +# Jorma Karvonen , 2014-2015. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++ 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-09-01 16:59+0300\n" +"Last-Translator: Jorma Karvonen \n" +"Language-Team: Finnish \n" +"Language: fi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 1.5.4\n" + +# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti. +#: hello.cc:44 +msgid "Hello, world!" +msgstr "Terve maailma!" + +#: hello.cc:45 +#, c-format +msgid "This program is running as process number %d." +msgstr "Tämän ohjelman prosessinumero on %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/fr.po b/miniconda3/share/doc/gettext/examples/hello-c++/po/fr.po new file mode 100644 index 0000000000000000000000000000000000000000..307bf738cf744939451b85dfdfb109e8be7af5ad --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/fr.po @@ -0,0 +1,32 @@ +# Messages français pour GNU gettext. +# Copyright (C) 2006 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Michel Robitaille , 2006. +# Christophe Combelles , 2006 +# Stéphane Aulery , 2015 +# Christian Wiatr , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++ 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-28 16:25+0200\n" +"Last-Translator: Christian Wiatr \n" +"Language-Team: French \n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.cc:44 +msgid "Hello, world!" +msgstr "Bonjour, le monde !" + +#: hello.cc:45 +#, c-format +msgid "This program is running as process number %d." +msgstr "Ce programme est exécuté en tant que processus numéro %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/ga.po b/miniconda3/share/doc/gettext/examples/hello-c++/po/ga.po new file mode 100644 index 0000000000000000000000000000000000000000..15997c5edccfafa5dd44c3aeb087896b96c6ba00 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/ga.po @@ -0,0 +1,26 @@ +# Irish translations for hello-c++. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Kevin Patrick Scannell , 2004, 2017. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++ 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2017-01-10 12:09-0500\n" +"Last-Translator: Kevin Patrick Scannell \n" +"Language-Team: Irish \n" +"Language: ga\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:44 +msgid "Hello, world!" +msgstr "Dia duit, a dhomhain!" + +#: hello.cc:45 +#, c-format +msgid "This program is running as process number %d." +msgstr "Tá an clár seo ag rith mar phróiseas %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/gl.po b/miniconda3/share/doc/gettext/examples/hello-c++/po/gl.po new file mode 100644 index 0000000000000000000000000000000000000000..84feb9c39ce5910445caacb2bcaf59f64ef670c7 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/gl.po @@ -0,0 +1,31 @@ +# Galician translation for hello-c++ package. +# Copyright (C) 2010 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Leandro Regueiro , 2010-2014. +# +# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas +# colaborar connosco, podes atopar máis información en +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++ 0.19-rc1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2014-05-10 16:34+0100\n" +"Last-Translator: Leandro Regueiro \n" +"Language-Team: Galician \n" +"Language: gl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n!=1);\n" + +#: hello.cc:44 +msgid "Hello, world!" +msgstr "Ola, mundo!" + +#: hello.cc:45 +#, c-format +msgid "This program is running as process number %d." +msgstr "Este programa estase executando como o proceso número %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/hr.po b/miniconda3/share/doc/gettext/examples/hello-c++/po/hr.po new file mode 100644 index 0000000000000000000000000000000000000000..692a15359b003b8b083edc136a3437658a0b417c --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/hr.po @@ -0,0 +1,33 @@ +# Translation of hello-c++ to Croatian. +# Copyright (C) 2003, 2004, 2014, 2015, 2019 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Permission is granted to freely copy and distribute +# this file and modified versions, provided that this +# header is not removed and modified versions are marked +# as such. +# +# Tomislav Krznar , 2012. +# Božidar Putanec , 2018-2025. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c++ 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 10:15-0700\n" +"Last-Translator: Božidar Putanec \n" +"Language-Team: Croatian \n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:44 +msgid "Hello, world!" +msgstr "Pozdrav, svijete!" + +#: hello.cc:45 +#, c-format +msgid "This program is running as process number %d." +msgstr "Ovaj program se izvršava kao proces broj %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/hu.po b/miniconda3/share/doc/gettext/examples/hello-c++/po/hu.po new file mode 100644 index 0000000000000000000000000000000000000000..54c138c9438194df3e9e9e68fd8256760ae56563 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/hu.po @@ -0,0 +1,29 @@ +# Hungarian translation for hello-c++. +# This file is distributed under the same license as the gettext package. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# +# Tamás Kiss , 2005. +# Balázs Úr , 2014, 2015. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++ 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-06-23 20:31+0200\n" +"Last-Translator: Balázs Úr \n" +"Language-Team: Hungarian \n" +"Language: hu\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 1.2\n" + +#: hello.cc:44 +msgid "Hello, world!" +msgstr "Hello, világ!" + +#: hello.cc:45 +#, c-format +msgid "This program is running as process number %d." +msgstr "Ez a program a(z) %d folyamatazonosítóval fut." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/id.po b/miniconda3/share/doc/gettext/examples/hello-c++/po/id.po new file mode 100644 index 0000000000000000000000000000000000000000..93c575fdc250a292d2f15b3b46d193c47cdc180e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/id.po @@ -0,0 +1,27 @@ +# translation of hello-c++-0.15-pre5.po to Indonesian +# Copyright (C) 2006 Yoyodyne, Inc. +# This file is distributed under the same license as the PACKAGE package. +# +# Tedi Heriyanto , 2006. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-0.15-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2006-09-27 20:19+0700\n" +"Last-Translator: Tedi Heriyanto \n" +"Language-Team: Indonesian \n" +"Language: id\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: KBabel 1.11.2\n" + +#: hello.cc:44 +msgid "Hello, world!" +msgstr "Hello, world!" + +#: hello.cc:45 +#, c-format +msgid "This program is running as process number %d." +msgstr "Program ini berjalan sebagai proses nomor %d" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/it.po b/miniconda3/share/doc/gettext/examples/hello-c++/po/it.po new file mode 100644 index 0000000000000000000000000000000000000000..f55ae90ae0bba3712e4ff71b99146d365ce5323b --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/it.po @@ -0,0 +1,29 @@ +# Italian messages for hello-c++. +# Copyright (C) 2005, 2006 Yoyodyne, Inc. (msgids) +# Copyright (C) 2024 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Marco Colombo , 2005, 2006, 2015. +# Michele Locati , 2024, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c++ 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-04 18:28+0200\n" +"Last-Translator: Michele Locati \n" +"Language-Team: Italian \n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:44 +msgid "Hello, world!" +msgstr "Ciao, mondo!" + +#: hello.cc:45 +#, c-format +msgid "This program is running as process number %d." +msgstr "Questo programma è in esecuzione con numero di processo %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/ja.po b/miniconda3/share/doc/gettext/examples/hello-c++/po/ja.po new file mode 100644 index 0000000000000000000000000000000000000000..abd7f2b781c589181dfc1ef3940e4e91c14a1318 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/ja.po @@ -0,0 +1,26 @@ +# Translation of `hello-c++' messages to Japanese. +# Copyright (C) 2005, 2006, 2014, 2015, 2023, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Masahito Yamaga , 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c++ 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 19:59+0900\n" +"Last-Translator: Masahito Yamaga \n" +"Language-Team: Japanese \n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:44 +msgid "Hello, world!" +msgstr "世界よ, こんにちは!" + +#: hello.cc:45 +#, c-format +msgid "This program is running as process number %d." +msgstr "このプログラムはプロセス番号 %d で動いています." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/ka.po b/miniconda3/share/doc/gettext/examples/hello-c++/po/ka.po new file mode 100644 index 0000000000000000000000000000000000000000..be2ce4868e25e2b079704a36a459e31e6ba588f7 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/ka.po @@ -0,0 +1,28 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Temuri Doghonadze , 2022. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++ 0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2022-05-22 05:04+0200\n" +"Last-Translator: Temuri Doghonadze \n" +"Language-Team: Georgian <(nothing)>\n" +"Language: ka\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 3.0.1\n" + +#: hello.cc:44 +msgid "Hello, world!" +msgstr "გამარჯობა სამყაროვ!" + +#: hello.cc:45 +#, c-format +msgid "This program is running as process number %d." +msgstr "პროგრამა გაშვებულია პროცესის ნომრით %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/ky.po b/miniconda3/share/doc/gettext/examples/hello-c++/po/ky.po new file mode 100644 index 0000000000000000000000000000000000000000..eb68d20d49a9455fd00a23b550f8ebffa6611048 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/ky.po @@ -0,0 +1,28 @@ +# Translation of 'hello-c++' messages to Kirghiz. +# Copyright (C) 2004 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Ilyas Bakirov , 2007. +# Ilyas Bakirov , 2018. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++ 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2018-02-15 18:26+0600\n" +"Last-Translator: Ilyas Bakirov \n" +"Language-Team: Kirghiz \n" +"Language: ky\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 2.0.6\n" + +#: hello.cc:44 +msgid "Hello, world!" +msgstr "Салам дүйнө!" + +#: hello.cc:45 +#, c-format +msgid "This program is running as process number %d." +msgstr "Бул программа %d процесс номери катары иштеп жатат." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/lv.po b/miniconda3/share/doc/gettext/examples/hello-c++/po/lv.po new file mode 100644 index 0000000000000000000000000000000000000000..0d46825313bf652c55ae46155795a9dfd83f2f8e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/lv.po @@ -0,0 +1,30 @@ +# Latvian translation of hello-c++ +# Copyright (C) 2009 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Arvis Lācis , 2009. +# Rihards Priedītis , 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-09 11:44+0000\n" +"Last-Translator: Rihards Priedītis \n" +"Language-Team: Latvian \n" +"Language: lv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : " +"2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cc:44 +msgid "Hello, world!" +msgstr "Sveika, pasaule!" + +#: hello.cc:45 +#, c-format +msgid "This program is running as process number %d." +msgstr "Šī programma darbojas ar procesa numuru %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/ms.po b/miniconda3/share/doc/gettext/examples/hello-c++/po/ms.po new file mode 100644 index 0000000000000000000000000000000000000000..b8265bb7750838d8b016b3ea5324bc7fdbbba46c --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/ms.po @@ -0,0 +1,28 @@ +# hello-c++ Bahasa Melayu (Malay) (ms). +# Copyright (C) 2006, 2015, 2023, 2025 Yoyodyne, Inc. (msgids) +# Copyright (C) 2006, 2015, 2023, 2025 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Sharuzzaman Ahmat Raslan , 2006, 2015, 2023, 2025 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++ 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-03 21:10+0800\n" +"Last-Translator: Sharuzzaman Ahmat Raslan \n" +"Language-Team: Malay \n" +"Language: ms\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cc:44 +msgid "Hello, world!" +msgstr "Hello, dunia!" + +#: hello.cc:45 +#, c-format +msgid "This program is running as process number %d." +msgstr "Program ini dilaksanakan sebagai proses bernombor %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/mt.po b/miniconda3/share/doc/gettext/examples/hello-c++/po/mt.po new file mode 100644 index 0000000000000000000000000000000000000000..cb41db6db3f326d42df810f98b9672a9a6be18f5 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/mt.po @@ -0,0 +1,27 @@ +# hello-c++-0.16.2-pre5. +# Copyright (C) 2008 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Clyde Meli , 2001-2008. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: hello-c++ 0.16.2-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2008-11-18 17:27+0100\n" +"Last-Translator: Clyde Meli \n" +"Language-Team: Maltese \n" +"Language: mt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:44 +msgid "Hello, world!" +msgstr "Hello, lil kulħadd!" + +#: hello.cc:45 +#, c-format +msgid "This program is running as process number %d." +msgstr "Dal-programm qed jaħdem taħt il-proċess numru %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/nb.po b/miniconda3/share/doc/gettext/examples/hello-c++/po/nb.po new file mode 100644 index 0000000000000000000000000000000000000000..1c51fdb5e94661af3e513275afc7a97e82195cc0 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/nb.po @@ -0,0 +1,29 @@ +# Norwegian Bokmal translations for hello-c++ package. +# Copyright (C) 2012 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Johnny A. Solbu , 2012-2024 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++ 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-01-06 16:33+0100\n" +"Last-Translator: Johnny A. Solbu \n" +"Language-Team: Norwegian Bokmaal \n" +"Language: nb\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.cc:44 +msgid "Hello, world!" +msgstr "Hallo verden!" + +#: hello.cc:45 +#, c-format +msgid "This program is running as process number %d." +msgstr "Dette programmet kjører som prosess nummer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/nl.po b/miniconda3/share/doc/gettext/examples/hello-c++/po/nl.po new file mode 100644 index 0000000000000000000000000000000000000000..a1be424772cb56df4d7b081b29c5d0429ee268bd --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/nl.po @@ -0,0 +1,31 @@ +# Dutch translations for GNU hello-c++. +# Copyright (C) 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# "There are three basic rules for writing a novel. +# Unfortunately nobody knows what they are." +# +# Benno Schulenberg , 2007, 2014, 2015, 2019, 2025. +# Elros Cyriatan , 2004. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-01 14:51+0100\n" +"Last-Translator: Benno Schulenberg \n" +"Language-Team: Dutch \n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.cc:44 +msgid "Hello, world!" +msgstr "Hallo, wereld!" + +#: hello.cc:45 +#, c-format +msgid "This program is running as process number %d." +msgstr "Dit programma draait als proces nummer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/nn.po b/miniconda3/share/doc/gettext/examples/hello-c++/po/nn.po new file mode 100644 index 0000000000000000000000000000000000000000..84da4719304816fb7d5bf32cf262b700834a457d --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/nn.po @@ -0,0 +1,28 @@ +# Norwegian Nynorsk translation of GNU hello-c++ +# Copyright (C) 2020 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Karl Ove Hufthammer , 2020. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2020-05-04 18:58+0200\n" +"Last-Translator: Karl Ove Hufthammer \n" +"Language-Team: Norwegian Nynorsk \n" +"Language: nn\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 20.04.0\n" + +#: hello.cc:44 +msgid "Hello, world!" +msgstr "Hei, verda!" + +#: hello.cc:45 +#, c-format +msgid "This program is running as process number %d." +msgstr "Dette programmet køyrer som prosess nummer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/pl.po b/miniconda3/share/doc/gettext/examples/hello-c++/po/pl.po new file mode 100644 index 0000000000000000000000000000000000000000..d4af8480bd992b74d5d01c8bf3f03c763662d37e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/pl.po @@ -0,0 +1,27 @@ +# Polish translations for the GNU gettext messages, hello-c++ domain +# Copyright (C) 2010, 2014, 2015, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Rafał Maszkowski , 2003, 2010, 2014, 2015, 2025 +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c++ 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-25 17:16+0200\n" +"Last-Translator: Rafał Maszkowski \n" +"Language-Team: Polish \n" +"Language: pl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8-bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " +"|| n%100>=20) ? 1 : 2);\n" + +#: hello.cc:44 +msgid "Hello, world!" +msgstr "Cześć, świecie!" + +#: hello.cc:45 +#, c-format +msgid "This program is running as process number %d." +msgstr "Ten program działa jako proces o numerze %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/pt.po b/miniconda3/share/doc/gettext/examples/hello-c++/po/pt.po new file mode 100644 index 0000000000000000000000000000000000000000..81302e5fb15e9cd1524e51d8b21051672916e76a --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/pt.po @@ -0,0 +1,28 @@ +# Portuguese (Portugal) translation of 'hello-c++' package. +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Pedro Albuquerque , 2019, 2020, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++ 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 11:24+0100\n" +"Last-Translator: Pedro Albuquerque \n" +"Language-Team: Portuguese \n" +"Language: pt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\\n;\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.6\n" + +#: hello.cc:44 +msgid "Hello, world!" +msgstr "Olá mundo!" + +#: hello.cc:45 +#, c-format +msgid "This program is running as process number %d." +msgstr "Este programa está em execução como processo nº %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/pt_BR.po b/miniconda3/share/doc/gettext/examples/hello-c++/po/pt_BR.po new file mode 100644 index 0000000000000000000000000000000000000000..e912278b4a7f62d69fcd01e174c8b1bc22e80dd8 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/pt_BR.po @@ -0,0 +1,31 @@ +# Brazilian Portuguese translations for gettext-example +# Traduções em português brasileiro para gettext-example +# Copyright (C) 2025 Yoyodyne, Inc. (msgids) +# Copyright (C) 2025 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Rafael Fontenelle , 2013-2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++ 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 10:24-0300\n" +"Last-Translator: Rafael Fontenelle \n" +"Language-Team: Brazilian Portuguese \n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Gtranslator 48.0\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:44 +msgid "Hello, world!" +msgstr "Olá, mundo!" + +#: hello.cc:45 +#, c-format +msgid "This program is running as process number %d." +msgstr "Este programa está sendo executado com número de processo %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/ro.po b/miniconda3/share/doc/gettext/examples/hello-c++/po/ro.po new file mode 100644 index 0000000000000000000000000000000000000000..187ce94e23a0967b4b28678867c4a27369ddfff7 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/ro.po @@ -0,0 +1,50 @@ +# Translation of "hello-c++" messages to Romanian. +# Mesajele în limba română pentru pachetul hello-c++. +# Copyright © 2015, 2019, 2022, 2023, 2024, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Eugen Hoancă , 2003. +# Mihai Cristescu , 2015 - 2019. +# Remus-Gabriel Chelu , 2022 - 2025. +# +# Cronologia traducerii fișierului „hello-c++”: +# Traducerea inițială, făcută de EH, pentru versiunea hello-c++ 0.12.1, 2003. +# Actualizare a traducerii pentru versiunea hello-c++ 0.19.4-rc1, făcută de MC, mar-2015. +# Actualizare a traducerii pentru versiunea hello-c++ 0.19.4.73, făcută de MC, iun-2015. +# Actualizare a traducerii pentru versiunea hello-c++ 0.20-rc1, făcută de MC, apr-2019. +# Actualizare a mesajelor, de la fișierul „hello-c++-0.20.2.pot”. +# Actualizare a algoritmului formelor de plural (de la „trei-vechi” la „trei-actual”). +# NU și a mesajelor traduse (acestea au rămas neschimbate). +# Eliminare a mesajelor ce-au dispărut în ultima versiune. +# Actualizări realizate de Remus-Gabriel Chelu , 15.01.2022. +# Actualizare a traducerii pentru versiunea 0.20.2 făcută de R-GC, ian-2022. +# Actualizare a traducerii pentru versiunea 0.22 făcută de R-GC, iun-2023. +# Revizuire și corectare a traducerii pentru versiunea 0.23-pre1 făcută de R-GC, oct-2024. +# Actualizare a traducerii pentru versiunea 0.24-pre1 făcută de R-GC, feb-2025. +# Actualizare a traducerii pentru versiunea 0.25-pre1 făcută de R-GC, apr-2025. +# Actualizare a traducerii pentru versiunea Y, făcută de X, Z(luna-anul). +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++ 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-29 00:25+0200\n" +"Last-Translator: Remus-Gabriel Chelu \n" +"Language-Team: Romanian \n" +"Language: ro\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " +"20)) ? 1 : 2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cc:44 +msgid "Hello, world!" +msgstr "Salutare, lume!" + +#: hello.cc:45 +#, c-format +msgid "This program is running as process number %d." +msgstr "Acest program rulează ca procesul numărul %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/ru.po b/miniconda3/share/doc/gettext/examples/hello-c++/po/ru.po new file mode 100644 index 0000000000000000000000000000000000000000..ec46e4eda72d912fea1f1ad9a0fcef1090f6cde2 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/ru.po @@ -0,0 +1,30 @@ +# Translation of hello-c++-0.14.1.po to Russian +# Copyright (C) 2004 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Pavel Maryanov , 2004. +# SPDX-FileCopyrightText: 2014, 2015, 2023, 2025 Yuri Kozlov +msgid "" +msgstr "" +"Project-Id-Version: hello-c++ 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-02 09:17+0300\n" +"Last-Translator: Yuri Kozlov \n" +"Language-Team: Russian \n" +"Language: ru\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Lokalize 24.12.0\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#: hello.cc:44 +msgid "Hello, world!" +msgstr "Здравствуй, мир!" + +#: hello.cc:45 +#, c-format +msgid "This program is running as process number %d." +msgstr "Эта программа выполняется как процесс под номером %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/sk.po b/miniconda3/share/doc/gettext/examples/hello-c++/po/sk.po new file mode 100644 index 0000000000000000000000000000000000000000..5f6de2ca56949ceaacd251b6988bca54d4a6c6c7 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/sk.po @@ -0,0 +1,26 @@ +# Slovak translations GNU for hello-c++ package. +# Copyright (C) 2003, 2004, 2014, 2023, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Marcel Telka , 2003, 2004, 2014, 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c++ 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 13:53+0200\n" +"Last-Translator: Marcel Telka \n" +"Language-Team: Slovak \n" +"Language: sk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:44 +msgid "Hello, world!" +msgstr "Ahoj svet!" + +#: hello.cc:45 +#, c-format +msgid "This program is running as process number %d." +msgstr "Tento program beží ako proces s číslom %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/sl.po b/miniconda3/share/doc/gettext/examples/hello-c++/po/sl.po new file mode 100644 index 0000000000000000000000000000000000000000..dea58c8061837316648b2770f4128d1429129a1e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/sl.po @@ -0,0 +1,29 @@ +# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example +# Copyright (C) 2005 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Primož Peterlin , 2005, 2014, 2015, 2024. +# $Id: hello-c++-0.22.sl.po,v 1.1 2024/03/28 17:02:19 peterlin Exp $ +msgid "" +msgstr "" +"Project-Id-Version: hello-c++ 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-03-28 18:02+0100\n" +"Last-Translator: Primož Peterlin \n" +"Language-Team: Slovenian \n" +"Language: sl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8-bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || " +"n%100==4 ? 3 : 0);\n" + +#: hello.cc:44 +msgid "Hello, world!" +msgstr "Pozdravljen, svet!" + +#: hello.cc:45 +#, c-format +msgid "This program is running as process number %d." +msgstr "Ta program teče kot proces številka %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/sq.po b/miniconda3/share/doc/gettext/examples/hello-c++/po/sq.po new file mode 100644 index 0000000000000000000000000000000000000000..3da43bea831d441fe25127ec3b3a0813d0de344e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/sq.po @@ -0,0 +1,28 @@ +# Albanian translation of gettext-example. +# Copyright (C) 2020 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Besnik Bleta , 2020,2023,2024,2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 19:56+0300\n" +"Last-Translator: Besnik Bleta \n" +"Language-Team: Albanian \n" +"Language: sq\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.2.2\n" + +#: hello.cc:44 +msgid "Hello, world!" +msgstr "Tungjatjeta, botë!" + +#: hello.cc:45 +#, c-format +msgid "This program is running as process number %d." +msgstr "Ky program po xhiron si procesi numër %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/sr.po b/miniconda3/share/doc/gettext/examples/hello-c++/po/sr.po new file mode 100644 index 0000000000000000000000000000000000000000..8f6dca9e1ba1886596391dd21e2940c7d98270ec --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/sr.po @@ -0,0 +1,30 @@ +# Serbian translation of hello-c++. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Aleksandar Jelenak , 2004. +# Мирослав Николић , 2014-2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-02 16:51+0100\n" +"Last-Translator: Мирослав Николић \n" +"Language-Team: Serbian <(nothing)>\n" +"Language: sr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cc:44 +msgid "Hello, world!" +msgstr "Здраво, свима!" + +#: hello.cc:45 +#, c-format +msgid "This program is running as process number %d." +msgstr "Овај програм се извршава као процес број %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/sv.po b/miniconda3/share/doc/gettext/examples/hello-c++/po/sv.po new file mode 100644 index 0000000000000000000000000000000000000000..ca024d653621f6ae9d88cc9345f958ab7dc548c2 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/sv.po @@ -0,0 +1,30 @@ +# Swedish messages for hello-c++. +# Copyright © 2006, 2014, 2016, 2019, 2020, 2023, 2024, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Jan Djärv , 2003, 2006, 2014. +# Göran Uddeborg , 2016, 2019, 2020, 2023, 2024, 2025. +# Luna Jernberg , 2025. +# $Revision: 1.12 $ +msgid "" +msgstr "" +"Project-Id-Version: hello-c++ 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 12:18+0200\n" +"Last-Translator: Luna Jernberg \n" +"Language-Team: Swedish \n" +"Language: sv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cc:44 +msgid "Hello, world!" +msgstr "Hej världen!" + +#: hello.cc:45 +#, c-format +msgid "This program is running as process number %d." +msgstr "Detta program kör som process nummer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/ta.po b/miniconda3/share/doc/gettext/examples/hello-c++/po/ta.po new file mode 100644 index 0000000000000000000000000000000000000000..378ad8cafe6b9b985fc21b4fa3b01f6135c07e82 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/ta.po @@ -0,0 +1,28 @@ +# Tamil messages for GNU gettext. +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# List of contributors follow: +# Poorajith , 2018. +# Arun Isaac , 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++ 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-19 00:06+0100\n" +"Last-Translator: Arun Isaac \n" +"Language-Team: Tamil \n" +"Language: ta\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:44 +msgid "Hello, world!" +msgstr "வணக்கம், உலகு!" + +#: hello.cc:45 +#, c-format +msgid "This program is running as process number %d." +msgstr "இந்நிரல் செயலாக்க எண் %d ஆக இயங்கிக்கொண்டிருக்கிறது." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/tr.po b/miniconda3/share/doc/gettext/examples/hello-c++/po/tr.po new file mode 100644 index 0000000000000000000000000000000000000000..c73271e64d987dc84a5a769d90d41778974b96c2 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/tr.po @@ -0,0 +1,29 @@ +# Turkish translation for hello-c++. +# This file is distributed under the same license as the gettext package. +# Copyright (C) 2017 Yoyodyne, Inc. (msgids) +# Copyright (C) 2004 Free Software Foundation, Inc. +# Nilgün Belma Bugüner , 2003,2004 +# Mehmet Kececi , 2017, 2019, 2020. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++ 0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2020-04-17 13:10+0300\n" +"Last-Translator: Mehmet Kececi \n" +"Language-Team: Turkish \n" +"Language: tr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Poedit 2.3\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:44 +msgid "Hello, world!" +msgstr "Merhaba, dünya!" + +#: hello.cc:45 +#, c-format +msgid "This program is running as process number %d." +msgstr "Bu yazılım %d işlem numarası ile çalışıyor." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/uk.po b/miniconda3/share/doc/gettext/examples/hello-c++/po/uk.po new file mode 100644 index 0000000000000000000000000000000000000000..e8e5e7427c1d4636017f1acddea49e88681040f3 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/uk.po @@ -0,0 +1,30 @@ +# Ukrainian translation to hello-c++ +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Maxim V. Dziumanenko , 2004-2007. +# Yuri Chornoivan , 2014, 2015, 2023, 2025. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++ 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 13:56+0300\n" +"Last-Translator: Yuri Chornoivan \n" +"Language-Team: Ukrainian \n" +"Language: uk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Generator: Lokalize 23.04.3\n" + +#: hello.cc:44 +msgid "Hello, world!" +msgstr "Привіт, світе!" + +#: hello.cc:45 +#, c-format +msgid "This program is running as process number %d." +msgstr "Ця програма виконується як процес з номером %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/vi.po b/miniconda3/share/doc/gettext/examples/hello-c++/po/vi.po new file mode 100644 index 0000000000000000000000000000000000000000..6e0063abbfaa5b8edfc36e9c62a5965f2d8685dc --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/vi.po @@ -0,0 +1,30 @@ +# Vietnamese Translation for Gettext Examples. +# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext. +# Copyright © 2015 Yoyodyne, Inc. (msgids) +# Copyright © 2015 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Clytie Siddall , 2005-2010. +# Trần Ngọc Quân , 2012-2015, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++ 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-24 09:10+0700\n" +"Last-Translator: Trần Ngọc Quân \n" +"Language-Team: Vietnamese \n" +"Language: vi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: hello.cc:44 +msgid "Hello, world!" +msgstr "Chào thế giới!" + +#: hello.cc:45 +#, c-format +msgid "This program is running as process number %d." +msgstr "Chương trình này đang chạy với mã số tiến trình %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/zh_CN.po b/miniconda3/share/doc/gettext/examples/hello-c++/po/zh_CN.po new file mode 100644 index 0000000000000000000000000000000000000000..c3c817ca471ed5d3b47318ca8865ecb6d687b65d --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/zh_CN.po @@ -0,0 +1,29 @@ +# zh_CN translation for hello-c++. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Funda Wang , 2003. +# Ji ZhengYu , 2015. +# Boyuan Yang <073plan@gmail.com>, 2019, 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++ 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-29 15:56-0400\n" +"Last-Translator: Boyuan Yang <073plan@gmail.com>\n" +"Language-Team: Chinese (simplified) \n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.6\n" + +#: hello.cc:44 +msgid "Hello, world!" +msgstr "你好,世界!" + +#: hello.cc:45 +#, c-format +msgid "This program is running as process number %d." +msgstr "此程序正以进程号 %d 运行。" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/zh_HK.po b/miniconda3/share/doc/gettext/examples/hello-c++/po/zh_HK.po new file mode 100644 index 0000000000000000000000000000000000000000..11c35aac48881707f9ae622837cfc67e651e7bd8 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/zh_HK.po @@ -0,0 +1,25 @@ +# Chinese (Hong Kong) translation of hello-c++. +# Copyright (C) 2006 Yoyodyne, Inc. +# Abel Cheung , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++ 0.15-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2006-07-05 15:40+0800\n" +"Last-Translator: Abel Cheung \n" +"Language-Team: Chinese (Hong Kong) \n" +"Language: zh_HK\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:44 +msgid "Hello, world!" +msgstr "你好!" + +#: hello.cc:45 +#, c-format +msgid "This program is running as process number %d." +msgstr "本程式正在執行中,進程編號為 %d。" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++/po/zh_TW.po b/miniconda3/share/doc/gettext/examples/hello-c++/po/zh_TW.po new file mode 100644 index 0000000000000000000000000000000000000000..b41ac6127a6b5e56aa5225edeecd48b2d613a07b --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++/po/zh_TW.po @@ -0,0 +1,29 @@ +# Traditional Chinese translation of hello-c++. +# Copyright (C) 2009 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Abel Cheung , 2005. +# Wei-Lun Chao , 2013, 2015. +# Yi-Jyun Pan , 2024. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++ 0.23-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-11-30 14:14+0800\n" +"Last-Translator: Yi-Jyun Pan \n" +"Language-Team: Chinese (traditional) \n" +"Language: zh_TW\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cc:44 +msgid "Hello, world!" +msgstr "哈囉,大家好!" + +#: hello.cc:45 +#, c-format +msgid "This program is running as process number %d." +msgstr "本程式正在執行,行程編號為 %d。" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/INSTALL b/miniconda3/share/doc/gettext/examples/hello-c++20/INSTALL new file mode 100644 index 0000000000000000000000000000000000000000..5fc66f49755f661b1fb3627debb5a29bdee5e9bc --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/INSTALL @@ -0,0 +1,10 @@ +This example relies on libstdc++, gettext-runtime. + +Installation: + ./autogen.sh + ./configure --prefix=/some/prefix + make + make install +Cleanup: + make distclean + ./autoclean.sh diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/Makefile.am b/miniconda3/share/doc/gettext/examples/hello-c++20/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..2a371c66412e1fd2c3af00be2f5dac5edb947a69 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/Makefile.am @@ -0,0 +1,29 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Makefile configuration - processed by automake. + +# General automake options. +AUTOMAKE_OPTIONS = foreign no-dependencies +ACLOCAL_AMFLAGS = -I m4 + +# The list of subdirectories containing Makefiles. +SUBDIRS = m4 po + +# The list of programs that are built. +bin_PROGRAMS = hello + +# The source files of the 'hello' program. +hello_SOURCES = hello.cc gettext.h + +# Define a C macro LOCALEDIR indicating where catalogs will be installed. +DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ + +# Make sure the gettext.h include file is found. +AM_CPPFLAGS = -I. -I$(srcdir) + +# Link time dependencies. +LDADD = @LIBINTL@ + +# Additional files to be distributed. +EXTRA_DIST = autogen.sh autoclean.sh diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/autoclean.sh b/miniconda3/share/doc/gettext/examples/hello-c++20/autoclean.sh new file mode 100644 index 0000000000000000000000000000000000000000..1838e8d232aa0fee0d512f9fa715d4e1af1af925 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/autoclean.sh @@ -0,0 +1,46 @@ +#!/bin/sh +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Script for cleaning all autogenerated files. + +test ! -f Makefile || make distclean +rm -rf autom4te.cache + +# Brought in by explicit copy. +rm -f gettext.h + +# Brought in by autopoint. +rm -f ABOUT-NLS +rm -f config.rpath +rm -f m4/gettext.m4 +rm -f m4/build-to-host.m4 +rm -f m4/host-cpu-c-abi.m4 +rm -f m4/iconv.m4 +rm -f m4/intlmacosx.m4 +rm -f m4/lib-ld.m4 +rm -f m4/lib-link.m4 +rm -f m4/lib-prefix.m4 +rm -f m4/nls.m4 +rm -f m4/po.m4 +rm -f m4/progtest.m4 +rm -f po/Makefile.in.in +rm -f po/remove-potcdate.sed + +# Generated by aclocal. +rm -f aclocal.m4 + +# Generated by autoconf. +rm -f configure + +# Generated or brought in by automake. +rm -f Makefile.in +rm -f m4/Makefile.in +rm -f compile +rm -f install-sh +rm -f missing +rm -f config.guess +rm -f config.sub +rm -f po/*.pot +rm -f po/stamp-po +rm -f po/*.gmo diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/autogen.sh b/miniconda3/share/doc/gettext/examples/hello-c++20/autogen.sh new file mode 100644 index 0000000000000000000000000000000000000000..21904ca9f990e376f4a22d27da4912325fc9fed0 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/autogen.sh @@ -0,0 +1,48 @@ +#!/bin/sh +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Script for regenerating all autogenerated files. + +if test -r ../Makefile.am; then + # Inside the gettext source directory. + GETTEXT_TOPSRCDIR=../../.. +else + if test -r ../Makefile; then + # Inside a gettext build directory. + GETTEXT_TOOLS_SRCDIR=`sed -n -e 's,^top_srcdir *= *\(.*\)$,\1,p' ../Makefile` + # Adjust a relative top_srcdir. + case $GETTEXT_TOOLS_SRCDIR in + /*) ;; + *) GETTEXT_TOOLS_SRCDIR=../$GETTEXT_TOOLS_SRCDIR ;; + esac + GETTEXT_TOPSRCDIR=$GETTEXT_TOOLS_SRCDIR/../.. + else + # Installed under ${prefix}/share/doc/gettext/examples. + . ../installpaths + fi +fi + +cp -p ${GETTEXTSRCDIR-$GETTEXT_TOPSRCDIR/gettext-tools/gnulib-lib}/gettext.h gettext.h + +autopoint -f # was: gettextize -f -c +rm po/Makevars.template +rm po/Rules-quot +rm po/boldquot.sed +rm po/en@boldquot.header +rm po/en@quot.header +rm po/insert-header.sed +rm po/quot.sed + +aclocal -I m4 + +autoconf + +automake -a -c + +cd po +for f in *.po; do + lang=`echo $f | sed -e 's,\.po$,,'` + msgfmt -c -o $lang.gmo $lang.po +done +cd .. diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/configure.ac b/miniconda3/share/doc/gettext/examples/hello-c++20/configure.ac new file mode 100644 index 0000000000000000000000000000000000000000..c338c29e6f76e7cb11038229dc933b307422c833 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/configure.ac @@ -0,0 +1,37 @@ +dnl Example for use of GNU gettext. +dnl This file is in the public domain. +dnl +dnl Configuration file - processed by autoconf. + +AC_INIT([hello-c++20], [0], , [hello-c++20]) +AC_CONFIG_SRCDIR([hello.cc]) +AM_INIT_AUTOMAKE([1.11]) + +AC_PROG_CXX + +# Try to find compiler option for ISO C++ 20 support. +cat <<\EOF > conftest.cc +#include +#if __cpp_lib_format <= 202106L +using std::vformat; +using std::make_format_args; +#else +using std::format; +using std::runtime_format; +#endif +EOF +if ${CXX} ${CXXFLAGS} ${CPPFLAGS} -c conftest.cc 2>/dev/null; then + : +elif ${CXX} ${CXXFLAGS} -std=gnu++20 ${CPPFLAGS} -c conftest.cc 2>/dev/null; then + CXXFLAGS="${CXXFLAGS} -std=gnu++20" +elif ${CXX} ${CXXFLAGS} -std=gnu++26 ${CPPFLAGS} -c conftest.cc 2>/dev/null; then + CXXFLAGS="${CXXFLAGS} -std=gnu++26" +fi + +AM_GNU_GETTEXT([external]) +AM_GNU_GETTEXT_VERSION([0.25]) + +AC_CONFIG_FILES([Makefile]) +AC_CONFIG_FILES([m4/Makefile]) +AC_CONFIG_FILES([po/Makefile.in]) +AC_OUTPUT diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/hello.cc b/miniconda3/share/doc/gettext/examples/hello-c++20/hello.cc new file mode 100644 index 0000000000000000000000000000000000000000..03828b55e3c51154795019806f11db2b53f91878 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/hello.cc @@ -0,0 +1,57 @@ +// Example for use of GNU gettext. +// This file is in the public domain. + +// Source code of the ISO C++ 20 program. + +// Note: The API has changed three years after ISO C++ 20. Code that was working +// fine with g++ 13.1, 13.2 and clang++ 17, 18 (with option -std=gnu++20) +// no longer compiles with g++ 13.3 or newer and clang++ 19 or newer. Thus the +// need to test __cpp_lib_format, whose value is 202106L for the older compilers +// and 202110L for the newer compilers. See +// . +// The replacement API, presented in +// , +// uses a new symbol std::runtime_format, that +// - does not exist in g++ 13.3, +// - exists in g++ 14 or newer and clang++ 19 or newer, but requires the +// option -std=gnu++26. + +#include +#include +using namespace std; + +// Get setlocale() declaration. +#include + +// Get getpid() declaration. +#if defined _WIN32 && !defined __CYGWIN__ +/* native Windows API */ +# include +# define getpid _getpid +#else +/* POSIX API */ +# include +#endif + +// Get gettext(), textdomain(), bindtextdomain() declaration. +#include "gettext.h" +// Define shortcut for gettext(). +#define _(string) gettext (string) + +int +main () +{ + setlocale (LC_ALL, ""); + textdomain ("hello-c++20"); + bindtextdomain ("hello-c++20", LOCALEDIR); + + cout << _("Hello, world!") << endl; +#if __cpp_lib_format <= 202106L + cout << vformat (_("This program is running as process number {:d}."), + make_format_args (getpid ())) +#else + cout << format (runtime_format (_("This program is running as process number {:d}.")), + getpid ()) +#endif + << endl; +} diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/m4/Makefile.am b/miniconda3/share/doc/gettext/examples/hello-c++20/m4/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..7d516f09ff64e7f731d69696326a8626ca9c4ee0 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/m4/Makefile.am @@ -0,0 +1,4 @@ +EXTRA_DIST = \ + gettext.m4 build-to-host.m4 host-cpu-c-abi.m4 \ + iconv.m4 intlmacosx.m4 lib-ld.m4 lib-link.m4 lib-prefix.m4 \ + nls.m4 po.m4 progtest.m4 diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/LINGUAS b/miniconda3/share/doc/gettext/examples/hello-c++20/po/LINGUAS new file mode 100644 index 0000000000000000000000000000000000000000..dc4a82afbad945018082c22f2061a43ef436dd68 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/LINGUAS @@ -0,0 +1,5 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Set of available languages. +af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ka ky lv ms mt nb nl nn pl pt pt_BR ro ru sk sl sq sr sv ta tr uk vi zh_CN zh_HK zh_TW diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/Makevars b/miniconda3/share/doc/gettext/examples/hello-c++20/po/Makevars new file mode 100644 index 0000000000000000000000000000000000000000..307bf0336ca3176369ba3720d52122b43c967657 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/Makevars @@ -0,0 +1,84 @@ +# Makefile variables for PO directory in any package using GNU gettext. +# +# Copyright (C) 2003-2025 Free Software Foundation, Inc. +# This file is free software; the Free Software Foundation gives +# unlimited permission to use, copy, distribute, and modify it. + +# Usually the message domain is the same as the package name. +DOMAIN = $(PACKAGE) + +# These two variables depend on the location of this directory. +subdir = po +top_builddir = .. + +# These options get passed to xgettext. +XGETTEXT_OPTIONS = \ + --keyword=_ --flag=_:1:pass-c-format \ + --keyword=N_ --flag=N_:1:pass-c-format \ + --flag=autosprintf:1:c-format + +# This is the copyright holder that gets inserted into the header of the +# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding +# package. (Note that the msgid strings, extracted from the package's +# sources, belong to the copyright holder of the package.) Translators are +# expected to transfer the copyright for their translations to this person +# or entity, or to disclaim their copyright. The empty string stands for +# the public domain; in this case the translators are expected to disclaim +# their copyright. +COPYRIGHT_HOLDER = Yoyodyne, Inc. + +# This tells whether or not to prepend "GNU " prefix to the package +# name that gets inserted into the header of the $(DOMAIN).pot file. +# Possible values are "yes", "no", or empty. If it is empty, try to +# detect it automatically by scanning the files in $(top_srcdir) for +# "GNU packagename" string. +PACKAGE_GNU = no + +# This is the email address or URL to which the translators shall report +# bugs in the untranslated strings: +# - Strings which are not entire sentences, see the maintainer guidelines +# in the GNU gettext documentation, section 'Preparing Strings'. +# - Strings which use unclear terms or require additional context to be +# understood. +# - Strings which make invalid assumptions about notation of date, time or +# money. +# - Pluralisation problems. +# - Incorrect English spelling. +# - Incorrect formatting. +# It can be your email address, or a mailing list address where translators +# can write to without being subscribed, or the URL of a web page through +# which the translators can contact you. +MSGID_BUGS_ADDRESS = bug-gettext@gnu.org + +# This is the list of locale categories, beyond LC_MESSAGES, for which the +# message catalogs shall be used. It is usually empty. +EXTRA_LOCALE_CATEGORIES = + +# This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt' +# context. Possible values are "yes" and "no". Set this to yes if the +# package uses functions taking also a message context, like pgettext(), or +# if in $(XGETTEXT_OPTIONS) you define keywords with a context argument. +USE_MSGCTXT = no + +# These options get passed to msgmerge. +# Useful options are in particular: +# --previous to keep previous msgids of translated messages +MSGMERGE_OPTIONS = + +# These options get passed to msginit. +# If you want to disable line wrapping when writing PO files, add +# --no-wrap to MSGMERGE_OPTIONS, XGETTEXT_OPTIONS, and +# MSGINIT_OPTIONS. +MSGINIT_OPTIONS = + +# This tells whether or not to regenerate a PO file when $(DOMAIN).pot +# has changed. Possible values are "yes" and "no". Set this to no if +# the POT file is checked in the repository and the version control +# program ignores timestamps. +PO_DEPENDS_ON_POT = yes + +# This tells whether or not to forcibly update $(DOMAIN).pot and +# regenerate PO files on "make dist". Possible values are "yes" and +# "no". Set this to no if the POT file and PO files are maintained +# externally. +DIST_DEPENDS_ON_UPDATE_PO = yes diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/POTFILES.in b/miniconda3/share/doc/gettext/examples/hello-c++20/po/POTFILES.in new file mode 100644 index 0000000000000000000000000000000000000000..bd28e81ce0c6a6f5784add4abe0aa0c66e4ed1af --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/POTFILES.in @@ -0,0 +1,5 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# List of files which contain translatable strings. +hello.cc diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/af.po b/miniconda3/share/doc/gettext/examples/hello-c++20/po/af.po new file mode 100644 index 0000000000000000000000000000000000000000..0e2c001bc093057d4c1b8aaf03d7fe9a08c126ac --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/af.po @@ -0,0 +1,26 @@ +# Afrikaans translation for Silky +# Copyright (C) 2004 Free Software Foundation, Inc. +# This file is distributed under the same license as the silky package. +# Hanlie Pretorius , 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++20-0.13.1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2003-12-31 10:30+2\n" +"Last-Translator: Ysbeer \n" +"Language-Team: Afrikaans \n" +"Language: af\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:48 +msgid "Hello, world!" +msgstr "Hallo wêreld!" + +#: hello.cc:50 hello.cc:53 +#, fuzzy, c++-format +msgid "This program is running as process number {:d}." +msgstr "Hierdie program loop as prosesnommer {pid}" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/ast.po b/miniconda3/share/doc/gettext/examples/hello-c++20/po/ast.po new file mode 100644 index 0000000000000000000000000000000000000000..cf8b1a07b6daff8b14ae8cded1c50804744e0bbf --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/ast.po @@ -0,0 +1,29 @@ +# Asturian translation for hello-c++20 +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Marquinos , 2009. +# enolp , 2018. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++20 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2018-07-16 00:28+0100\n" +"Last-Translator: enolp \n" +"Language-Team: Asturian \n" +"Language: ast\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Lokalize 2.0\n" + +#: hello.cc:48 +msgid "Hello, world!" +msgstr "¡Hola, mundu!" + +#: hello.cc:50 hello.cc:53 +#, fuzzy, c++-format +msgid "This program is running as process number {:d}." +msgstr "Esti programa ta executándose como procesu númberu {pid}." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/bg.po b/miniconda3/share/doc/gettext/examples/hello-c++20/po/bg.po new file mode 100644 index 0000000000000000000000000000000000000000..3e715a1a59872c4c27b93d128dbf73290400e6a9 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/bg.po @@ -0,0 +1,26 @@ +# Bulgarian translations for hello-c++20 package. +# Copyright (C) 2010 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Roumen Petrov , 2010,2014,2015,2019,2023,2024.2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c++20 0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-08 19:09+0200\n" +"Last-Translator: Roumen Petrov \n" +"Language-Team: Bulgarian \n" +"Language: bg\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:48 +msgid "Hello, world!" +msgstr "Здравейте всички!" + +#: hello.cc:50 hello.cc:53 +#, c++-format +msgid "This program is running as process number {:d}." +msgstr "Програмата е пусната под процес номер {:d}." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/ca.po b/miniconda3/share/doc/gettext/examples/hello-c++20/po/ca.po new file mode 100644 index 0000000000000000000000000000000000000000..8be41a365a394f4765b1edb34cd503d7a65cddae --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/ca.po @@ -0,0 +1,27 @@ +# Catalan messages for GNU hello-c++20. +# Copyright (C) 2003, 2014, 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Ivan Vilata i Balaguer , 2003, 2014, 2015, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++20 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-07-07 08:36+0200\n" +"Last-Translator: Ivan Vilata i Balaguer \n" +"Language-Team: Catalan \n" +"Language: ca\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.cc:48 +msgid "Hello, world!" +msgstr "Hola, món!" + +#: hello.cc:50 hello.cc:53 +#, c++-format +msgid "This program is running as process number {:d}." +msgstr "Aquest programa està corrent amb el número de procés {:d}." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/cs.po b/miniconda3/share/doc/gettext/examples/hello-c++20/po/cs.po new file mode 100644 index 0000000000000000000000000000000000000000..266c6d624ad655cc7416ca3fac8a60a010fe8575 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/cs.po @@ -0,0 +1,29 @@ +# The Czech translation for the gettext package. +# Copyright (C) 2011 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Marek Černocký , 2011. +# Petr Písař , 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++20 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 20:05+02:00\n" +"Last-Translator: Petr Pisar \n" +"Language-Team: Czech \n" +"Language: cs\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#: hello.cc:48 +msgid "Hello, world!" +msgstr "Ahoj světe!" + +#: hello.cc:50 hello.cc:53 +#, c++-format +msgid "This program is running as process number {:d}." +msgstr "Tento program běží jako proces číslo {:d}." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/da.po b/miniconda3/share/doc/gettext/examples/hello-c++20/po/da.po new file mode 100644 index 0000000000000000000000000000000000000000..edbe9d5ca49b7f36418e7ef6a3bb22ad22278fbe --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/da.po @@ -0,0 +1,28 @@ +# Danish messages for hello-c++20. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Jan Djærv , 2003, 2006. +# Keld Simonsen , 2011. +# Joe Hansen , 2015. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++20 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-06-27 12:39+0100\n" +"Last-Translator: Joe Hansen \n" +"Language-Team: Danish \n" +"Language: da\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:48 +msgid "Hello, world!" +msgstr "Hej verden!" + +#: hello.cc:50 hello.cc:53 +#, fuzzy, c++-format +msgid "This program is running as process number {:d}." +msgstr "Dette program kører som proces nummer {pid}." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/de.po b/miniconda3/share/doc/gettext/examples/hello-c++20/po/de.po new file mode 100644 index 0000000000000000000000000000000000000000..ab0c06277ac92a66a4a43a9eb973f0b74d9a8624 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/de.po @@ -0,0 +1,32 @@ +# German messages for hello-c++20. +# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Bruno Haible , 2003. +# Karl Eichwalder , 2003. +# Jakob Kramer , 2013. +# Mario Blättermann , 2014, 2023, 2025. +# Philipp Thomas , 2015. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++20 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 17:15+0200\n" +"Last-Translator: Mario Blättermann \n" +"Language-Team: German \n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 25.04.0\n" + +#: hello.cc:48 +msgid "Hello, world!" +msgstr "Hallo Welt!" + +#: hello.cc:50 hello.cc:53 +#, c++-format +msgid "This program is running as process number {:d}." +msgstr "Dieses Programm läuft mit der Prozess-Nummer {:d}." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/el.po b/miniconda3/share/doc/gettext/examples/hello-c++20/po/el.po new file mode 100644 index 0000000000000000000000000000000000000000..aa7edddfb4ed75f73057699477242987999580b2 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/el.po @@ -0,0 +1,26 @@ +# Greek translation of hello-c++20 +# Copyright (C) 2005 Free Software Foundation, Inc. +# Simos Xenitellis , 2005. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++20 0.14.1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2005-01-06 18:50+0000\n" +"Last-Translator: Simos Xenitellis \n" +"Language-Team: Greek \n" +"Language: el\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: KBabel 1.3.1\n" + +#: hello.cc:48 +msgid "Hello, world!" +msgstr "Γεια σου, κόσμε!" + +#: hello.cc:50 hello.cc:53 +#, fuzzy, c++-format +msgid "This program is running as process number {:d}." +msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας {pid}." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/eo.po b/miniconda3/share/doc/gettext/examples/hello-c++20/po/eo.po new file mode 100644 index 0000000000000000000000000000000000000000..6c2ab45c2912ae209016db2985fb19bd76fb59f5 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/eo.po @@ -0,0 +1,28 @@ +# La teksto por la mesaĝoj de la programo "gettext". +# Copyright (C) 2006, 2016 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Edmund GRIMLEY EVANS , 2006. +# Felipe CASTRO , 2016, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++20 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-23 19:00-0300\n" +"Last-Translator: Felipe Castro \n" +"Language-Team: Esperanto \n" +"Language: eo\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.cc:48 +msgid "Hello, world!" +msgstr "Saluton, mondo!" + +#: hello.cc:50 hello.cc:53 +#, c++-format +msgid "This program is running as process number {:d}." +msgstr "Ĉi tiu programo rulas kiel procez-numero {:d}." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/es.po b/miniconda3/share/doc/gettext/examples/hello-c++20/po/es.po new file mode 100644 index 0000000000000000000000000000000000000000..2367a9dc2a3ea8b5456bd37571b8ca9f52119c03 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/es.po @@ -0,0 +1,30 @@ +# Mensajes en español para GNU gettext. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# +# This file is distributed under the same license as the gettext package. +# +# Max de Mendizábal , 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004. +# Antonio Ceballos , 2014, 2015, 2023, 2025 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++20-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-02-23 17:01+0100\n" +"Last-Translator: Antonio Ceballos \n" +"Language-Team: Spanish \n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.cc:48 +msgid "Hello, world!" +msgstr "¡Hola, mundo!" + +#: hello.cc:50 hello.cc:53 +#, c++-format +msgid "This program is running as process number {:d}." +msgstr "Este programa está corriendo como el proceso número {:d}." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/fi.po b/miniconda3/share/doc/gettext/examples/hello-c++20/po/fi.po new file mode 100644 index 0000000000000000000000000000000000000000..7378165d976904bc241dcc127953e70dbaad79fa --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/fi.po @@ -0,0 +1,29 @@ +# Finnish messages for GNU Gettext examples. +# This file is distributed under the same license as the gettext package. +# Copyright © 2007, 2014, 2015 Yoyodyne, Inc. (msgids) +# Lauri Nurmi , 2007. +# Jorma Karvonen , 2014-2015. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++20 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-09-01 16:59+0300\n" +"Last-Translator: Jorma Karvonen \n" +"Language-Team: Finnish \n" +"Language: fi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 1.5.4\n" + +# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti. +#: hello.cc:48 +msgid "Hello, world!" +msgstr "Terve maailma!" + +#: hello.cc:50 hello.cc:53 +#, fuzzy, c++-format +msgid "This program is running as process number {:d}." +msgstr "Tämän ohjelman prosessinumero on {pid}." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/fr.po b/miniconda3/share/doc/gettext/examples/hello-c++20/po/fr.po new file mode 100644 index 0000000000000000000000000000000000000000..8c7295f431d9f0b51df343aecf6a101ee3c29c0c --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/fr.po @@ -0,0 +1,32 @@ +# Messages français pour GNU gettext. +# Copyright (C) 2006 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Michel Robitaille , 2006. +# Christophe Combelles , 2006 +# Stéphane Aulery , 2015 +# Christian Wiatr , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++20 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-28 16:25+0200\n" +"Last-Translator: Christian Wiatr \n" +"Language-Team: French \n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.cc:48 +msgid "Hello, world!" +msgstr "Bonjour, le monde !" + +#: hello.cc:50 hello.cc:53 +#, c++-format +msgid "This program is running as process number {:d}." +msgstr "Ce programme est exécuté en tant que processus numéro {:d}." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/ga.po b/miniconda3/share/doc/gettext/examples/hello-c++20/po/ga.po new file mode 100644 index 0000000000000000000000000000000000000000..57f30afcf7c12106b75d88a3efff404467a22a60 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/ga.po @@ -0,0 +1,26 @@ +# Irish translations for hello-c++20. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Kevin Patrick Scannell , 2004, 2017. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++20 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2017-01-10 12:09-0500\n" +"Last-Translator: Kevin Patrick Scannell \n" +"Language-Team: Irish \n" +"Language: ga\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:48 +msgid "Hello, world!" +msgstr "Dia duit, a dhomhain!" + +#: hello.cc:50 hello.cc:53 +#, fuzzy, c++-format +msgid "This program is running as process number {:d}." +msgstr "Tá an clár seo ag rith mar phróiseas {pid}." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/gl.po b/miniconda3/share/doc/gettext/examples/hello-c++20/po/gl.po new file mode 100644 index 0000000000000000000000000000000000000000..4ebf7af5af20de06db60d00c82ab1f4c0a089560 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/gl.po @@ -0,0 +1,31 @@ +# Galician translation for hello-c++20 package. +# Copyright (C) 2010 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Leandro Regueiro , 2010-2014. +# +# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas +# colaborar connosco, podes atopar máis información en +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++20 0.19-rc1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2014-05-10 16:34+0100\n" +"Last-Translator: Leandro Regueiro \n" +"Language-Team: Galician \n" +"Language: gl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n!=1);\n" + +#: hello.cc:48 +msgid "Hello, world!" +msgstr "Ola, mundo!" + +#: hello.cc:50 hello.cc:53 +#, fuzzy, c++-format +msgid "This program is running as process number {:d}." +msgstr "Este programa estase executando como o proceso número {pid}." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/hr.po b/miniconda3/share/doc/gettext/examples/hello-c++20/po/hr.po new file mode 100644 index 0000000000000000000000000000000000000000..b35175f563e3017d7a04e7b884d2b3e99d68f53c --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/hr.po @@ -0,0 +1,33 @@ +# Translation of hello-c++20 to Croatian. +# Copyright (C) 2003, 2004, 2014, 2015, 2019 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Permission is granted to freely copy and distribute +# this file and modified versions, provided that this +# header is not removed and modified versions are marked +# as such. +# +# Tomislav Krznar , 2012. +# Božidar Putanec , 2018-2025. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c++20 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 10:15-0700\n" +"Last-Translator: Božidar Putanec \n" +"Language-Team: Croatian \n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:48 +msgid "Hello, world!" +msgstr "Pozdrav, svijete!" + +#: hello.cc:50 hello.cc:53 +#, c++-format +msgid "This program is running as process number {:d}." +msgstr "Ovaj program se izvršava kao proces broj {:d}." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/hu.po b/miniconda3/share/doc/gettext/examples/hello-c++20/po/hu.po new file mode 100644 index 0000000000000000000000000000000000000000..dd20ee9f0fdca9b83b94564c358b833b2c9b935a --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/hu.po @@ -0,0 +1,29 @@ +# Hungarian translation for hello-c++20. +# This file is distributed under the same license as the gettext package. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# +# Tamás Kiss , 2005. +# Balázs Úr , 2014, 2015. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++20 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-06-23 20:31+0200\n" +"Last-Translator: Balázs Úr \n" +"Language-Team: Hungarian \n" +"Language: hu\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 1.2\n" + +#: hello.cc:48 +msgid "Hello, world!" +msgstr "Hello, világ!" + +#: hello.cc:50 hello.cc:53 +#, fuzzy, c++-format +msgid "This program is running as process number {:d}." +msgstr "Ez a program a(z) {pid} folyamatazonosítóval fut." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/id.po b/miniconda3/share/doc/gettext/examples/hello-c++20/po/id.po new file mode 100644 index 0000000000000000000000000000000000000000..b552527635382844bd3252f7648636fc4d2b8ddc --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/id.po @@ -0,0 +1,27 @@ +# translation of hello-c++20-0.15-pre5.po to Indonesian +# Copyright (C) 2006 Yoyodyne, Inc. +# This file is distributed under the same license as the PACKAGE package. +# +# Tedi Heriyanto , 2006. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++20-0.15-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2006-09-27 20:19+0700\n" +"Last-Translator: Tedi Heriyanto \n" +"Language-Team: Indonesian \n" +"Language: id\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: KBabel 1.11.2\n" + +#: hello.cc:48 +msgid "Hello, world!" +msgstr "Hello, world!" + +#: hello.cc:50 hello.cc:53 +#, fuzzy, c++-format +msgid "This program is running as process number {:d}." +msgstr "Program ini berjalan sebagai proses nomor {pid}." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/it.po b/miniconda3/share/doc/gettext/examples/hello-c++20/po/it.po new file mode 100644 index 0000000000000000000000000000000000000000..6a46da2c46324e77b9288bfdec1e8c0f05f3ec9a --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/it.po @@ -0,0 +1,29 @@ +# Italian messages for hello-c++20. +# Copyright (C) 2005, 2006 Yoyodyne, Inc. (msgids) +# Copyright (C) 2024 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Marco Colombo , 2005, 2006, 2015. +# Michele Locati , 2024, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c++20 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-04 18:28+0200\n" +"Last-Translator: Michele Locati \n" +"Language-Team: Italian \n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:48 +msgid "Hello, world!" +msgstr "Ciao, mondo!" + +#: hello.cc:50 hello.cc:53 +#, c++-format +msgid "This program is running as process number {:d}." +msgstr "Questo programma è in esecuzione con numero di processo {:d}." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/ja.po b/miniconda3/share/doc/gettext/examples/hello-c++20/po/ja.po new file mode 100644 index 0000000000000000000000000000000000000000..b6583bf15316c96e1200b53c850044b1c1cb5e7f --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/ja.po @@ -0,0 +1,26 @@ +# Translation of `hello-c++20' messages to Japanese. +# Copyright (C) 2005, 2006, 2014, 2015, 2023, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Masahito Yamaga , 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c++20 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 19:59+0900\n" +"Last-Translator: Masahito Yamaga \n" +"Language-Team: Japanese \n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:48 +msgid "Hello, world!" +msgstr "世界よ, こんにちは!" + +#: hello.cc:50 hello.cc:53 +#, c++-format +msgid "This program is running as process number {:d}." +msgstr "このプログラムはプロセス番号 {:d} で動いています." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/ka.po b/miniconda3/share/doc/gettext/examples/hello-c++20/po/ka.po new file mode 100644 index 0000000000000000000000000000000000000000..7c53b2d9a30d68de7debc2febb54443d96eda34b --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/ka.po @@ -0,0 +1,28 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Temuri Doghonadze , 2022. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++20 0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2022-05-22 05:04+0200\n" +"Last-Translator: Temuri Doghonadze \n" +"Language-Team: Georgian <(nothing)>\n" +"Language: ka\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 3.0.1\n" + +#: hello.cc:48 +msgid "Hello, world!" +msgstr "გამარჯობა სამყაროვ!" + +#: hello.cc:50 hello.cc:53 +#, fuzzy, c++-format +msgid "This program is running as process number {:d}." +msgstr "პროგრამა გაშვებულია პროცესის ნომრით {pid}." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/ky.po b/miniconda3/share/doc/gettext/examples/hello-c++20/po/ky.po new file mode 100644 index 0000000000000000000000000000000000000000..d49e0b44d61e97e5fa0eac3600c0103d7923e1a7 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/ky.po @@ -0,0 +1,28 @@ +# Translation of 'hello-c++20' messages to Kirghiz. +# Copyright (C) 2004 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Ilyas Bakirov , 2007. +# Ilyas Bakirov , 2018. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++20 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2018-02-15 18:26+0600\n" +"Last-Translator: Ilyas Bakirov \n" +"Language-Team: Kirghiz \n" +"Language: ky\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 2.0.6\n" + +#: hello.cc:48 +msgid "Hello, world!" +msgstr "Салам дүйнө!" + +#: hello.cc:50 hello.cc:53 +#, fuzzy, c++-format +msgid "This program is running as process number {:d}." +msgstr "Бул программа {pid} процесс номери катары иштеп жатат." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/lv.po b/miniconda3/share/doc/gettext/examples/hello-c++20/po/lv.po new file mode 100644 index 0000000000000000000000000000000000000000..5293d8abfd317e4ddc4bc4e7140567227172dbcf --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/lv.po @@ -0,0 +1,30 @@ +# Latvian translation of hello-c++20 +# Copyright (C) 2009 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Arvis Lācis , 2009. +# Rihards Priedītis , 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++20-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-09 11:44+0000\n" +"Last-Translator: Rihards Priedītis \n" +"Language-Team: Latvian \n" +"Language: lv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : " +"2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cc:48 +msgid "Hello, world!" +msgstr "Sveika, pasaule!" + +#: hello.cc:50 hello.cc:53 +#, c++-format +msgid "This program is running as process number {:d}." +msgstr "Šī programma darbojas ar procesa numuru {:d}." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/ms.po b/miniconda3/share/doc/gettext/examples/hello-c++20/po/ms.po new file mode 100644 index 0000000000000000000000000000000000000000..c6eb0010997ed2ceafeb528b62f94e74876668b1 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/ms.po @@ -0,0 +1,28 @@ +# hello-c++20 Bahasa Melayu (Malay) (ms). +# Copyright (C) 2006, 2015, 2023, 2025 Yoyodyne, Inc. (msgids) +# Copyright (C) 2006, 2015, 2023, 2025 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Sharuzzaman Ahmat Raslan , 2006, 2015, 2023, 2025 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++20 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-03 21:10+0800\n" +"Last-Translator: Sharuzzaman Ahmat Raslan \n" +"Language-Team: Malay \n" +"Language: ms\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cc:48 +msgid "Hello, world!" +msgstr "Hello, dunia!" + +#: hello.cc:50 hello.cc:53 +#, c++-format +msgid "This program is running as process number {:d}." +msgstr "Program ini dilaksanakan sebagai proses bernombor {:d}." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/mt.po b/miniconda3/share/doc/gettext/examples/hello-c++20/po/mt.po new file mode 100644 index 0000000000000000000000000000000000000000..daa994bc842681eec28cbedd9b1e43a86cf6305f --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/mt.po @@ -0,0 +1,27 @@ +# hello-c++20-0.16.2-pre5. +# Copyright (C) 2008 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Clyde Meli , 2001-2008. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: hello-c++20 0.16.2-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2008-11-18 17:27+0100\n" +"Last-Translator: Clyde Meli \n" +"Language-Team: Maltese \n" +"Language: mt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:48 +msgid "Hello, world!" +msgstr "Hello, lil kulħadd!" + +#: hello.cc:50 hello.cc:53 +#, fuzzy, c++-format +msgid "This program is running as process number {:d}." +msgstr "Dal-programm qed jaħdem taħt il-proċess numru {pid}." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/nb.po b/miniconda3/share/doc/gettext/examples/hello-c++20/po/nb.po new file mode 100644 index 0000000000000000000000000000000000000000..995b6c92e169662020cdf15165b5dbdd67a2dc1f --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/nb.po @@ -0,0 +1,29 @@ +# Norwegian Bokmal translations for hello-c++20 package. +# Copyright (C) 2012 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Johnny A. Solbu , 2012-2024 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++20 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-01-06 16:33+0100\n" +"Last-Translator: Johnny A. Solbu \n" +"Language-Team: Norwegian Bokmaal \n" +"Language: nb\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.cc:48 +msgid "Hello, world!" +msgstr "Hallo verden!" + +#: hello.cc:50 hello.cc:53 +#, c++-format +msgid "This program is running as process number {:d}." +msgstr "Dette programmet kjører som prosess nummer {:d}." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/nl.po b/miniconda3/share/doc/gettext/examples/hello-c++20/po/nl.po new file mode 100644 index 0000000000000000000000000000000000000000..faa77aa320c96bb1b819f2cc7526ff800bf3f640 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/nl.po @@ -0,0 +1,31 @@ +# Dutch translations for GNU hello-c++20. +# Copyright (C) 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# "There are three basic rules for writing a novel. +# Unfortunately nobody knows what they are." +# +# Benno Schulenberg , 2007, 2014, 2015, 2019, 2025. +# Elros Cyriatan , 2004. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++20-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-01 14:51+0100\n" +"Last-Translator: Benno Schulenberg \n" +"Language-Team: Dutch \n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.cc:48 +msgid "Hello, world!" +msgstr "Hallo, wereld!" + +#: hello.cc:50 hello.cc:53 +#, c++-format +msgid "This program is running as process number {:d}." +msgstr "Dit programma draait als proces nummer {:d}." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/nn.po b/miniconda3/share/doc/gettext/examples/hello-c++20/po/nn.po new file mode 100644 index 0000000000000000000000000000000000000000..09c9b8e268d4d407aea5cd59747d88d2dd3e6679 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/nn.po @@ -0,0 +1,28 @@ +# Norwegian Nynorsk translation of GNU hello-c++20 +# Copyright (C) 2020 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Karl Ove Hufthammer , 2020. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++20-0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2020-05-04 18:58+0200\n" +"Last-Translator: Karl Ove Hufthammer \n" +"Language-Team: Norwegian Nynorsk \n" +"Language: nn\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 20.04.0\n" + +#: hello.cc:48 +msgid "Hello, world!" +msgstr "Hei, verda!" + +#: hello.cc:50 hello.cc:53 +#, fuzzy, c++-format +msgid "This program is running as process number {:d}." +msgstr "Dette programmet køyrer som prosess nummer {pid}." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/pl.po b/miniconda3/share/doc/gettext/examples/hello-c++20/po/pl.po new file mode 100644 index 0000000000000000000000000000000000000000..1bfaf555fbacb3ab0df85d6481809fd66d0aaad6 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/pl.po @@ -0,0 +1,27 @@ +# Polish translations for the GNU gettext messages, hello-c++20 domain +# Copyright (C) 2010, 2014, 2015, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Rafał Maszkowski , 2003, 2010, 2014, 2015, 2025 +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c++20 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-25 17:16+0200\n" +"Last-Translator: Rafał Maszkowski \n" +"Language-Team: Polish \n" +"Language: pl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8-bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " +"|| n%100>=20) ? 1 : 2);\n" + +#: hello.cc:48 +msgid "Hello, world!" +msgstr "Cześć, świecie!" + +#: hello.cc:50 hello.cc:53 +#, c++-format +msgid "This program is running as process number {:d}." +msgstr "Ten program działa jako proces o numerze {:d}." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/pt.po b/miniconda3/share/doc/gettext/examples/hello-c++20/po/pt.po new file mode 100644 index 0000000000000000000000000000000000000000..0b27db9d0f32e72daea8da561e9d1dbce4843b9c --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/pt.po @@ -0,0 +1,28 @@ +# Portuguese (Portugal) translation of 'hello-c++20' package. +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Pedro Albuquerque , 2019, 2020, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++20 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 11:24+0100\n" +"Last-Translator: Pedro Albuquerque \n" +"Language-Team: Portuguese \n" +"Language: pt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\\n;\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.6\n" + +#: hello.cc:48 +msgid "Hello, world!" +msgstr "Olá mundo!" + +#: hello.cc:50 hello.cc:53 +#, c++-format +msgid "This program is running as process number {:d}." +msgstr "Este programa está em execução como processo nº {:d}." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/pt_BR.po b/miniconda3/share/doc/gettext/examples/hello-c++20/po/pt_BR.po new file mode 100644 index 0000000000000000000000000000000000000000..69c9f3e80c9e702c8741f9cb784352af18b1c0aa --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/pt_BR.po @@ -0,0 +1,31 @@ +# Brazilian Portuguese translations for gettext-example +# Traduções em português brasileiro para gettext-example +# Copyright (C) 2025 Yoyodyne, Inc. (msgids) +# Copyright (C) 2025 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Rafael Fontenelle , 2013-2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++20 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 10:24-0300\n" +"Last-Translator: Rafael Fontenelle \n" +"Language-Team: Brazilian Portuguese \n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Gtranslator 48.0\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:48 +msgid "Hello, world!" +msgstr "Olá, mundo!" + +#: hello.cc:50 hello.cc:53 +#, c++-format +msgid "This program is running as process number {:d}." +msgstr "Este programa está sendo executado com número de processo {:d}." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/ro.po b/miniconda3/share/doc/gettext/examples/hello-c++20/po/ro.po new file mode 100644 index 0000000000000000000000000000000000000000..fee00fdce7e2050d51436079035851bc3a4a8200 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/ro.po @@ -0,0 +1,50 @@ +# Translation of "hello-c++20" messages to Romanian. +# Mesajele în limba română pentru pachetul hello-c++20. +# Copyright © 2015, 2019, 2022, 2023, 2024, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Eugen Hoancă , 2003. +# Mihai Cristescu , 2015 - 2019. +# Remus-Gabriel Chelu , 2022 - 2025. +# +# Cronologia traducerii fișierului „hello-c++20”: +# Traducerea inițială, făcută de EH, pentru versiunea hello-c++20 0.12.1, 2003. +# Actualizare a traducerii pentru versiunea hello-c++20 0.19.4-rc1, făcută de MC, mar-2015. +# Actualizare a traducerii pentru versiunea hello-c++20 0.19.4.73, făcută de MC, iun-2015. +# Actualizare a traducerii pentru versiunea hello-c++20 0.20-rc1, făcută de MC, apr-2019. +# Actualizare a mesajelor, de la fișierul „hello-c++20-0.20.2.pot”. +# Actualizare a algoritmului formelor de plural (de la „trei-vechi” la „trei-actual”). +# NU și a mesajelor traduse (acestea au rămas neschimbate). +# Eliminare a mesajelor ce-au dispărut în ultima versiune. +# Actualizări realizate de Remus-Gabriel Chelu , 15.01.2022. +# Actualizare a traducerii pentru versiunea 0.20.2 făcută de R-GC, ian-2022. +# Actualizare a traducerii pentru versiunea 0.22 făcută de R-GC, iun-2023. +# Revizuire și corectare a traducerii pentru versiunea 0.23-pre1 făcută de R-GC, oct-2024. +# Actualizare a traducerii pentru versiunea 0.24-pre1 făcută de R-GC, feb-2025. +# Actualizare a traducerii pentru versiunea 0.25-pre1 făcută de R-GC, apr-2025. +# Actualizare a traducerii pentru versiunea Y, făcută de X, Z(luna-anul). +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++20 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-29 00:25+0200\n" +"Last-Translator: Remus-Gabriel Chelu \n" +"Language-Team: Romanian \n" +"Language: ro\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " +"20)) ? 1 : 2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cc:48 +msgid "Hello, world!" +msgstr "Salutare, lume!" + +#: hello.cc:50 hello.cc:53 +#, c++-format +msgid "This program is running as process number {:d}." +msgstr "Acest program rulează ca procesul numărul {:d}." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/ru.po b/miniconda3/share/doc/gettext/examples/hello-c++20/po/ru.po new file mode 100644 index 0000000000000000000000000000000000000000..8e3210a5a804bd40791e7bdf79a9fc752f937601 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/ru.po @@ -0,0 +1,30 @@ +# Translation of hello-c++20-0.14.1.po to Russian +# Copyright (C) 2004 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Pavel Maryanov , 2004. +# SPDX-FileCopyrightText: 2014, 2015, 2023, 2025 Yuri Kozlov +msgid "" +msgstr "" +"Project-Id-Version: hello-c++20 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-02 09:17+0300\n" +"Last-Translator: Yuri Kozlov \n" +"Language-Team: Russian \n" +"Language: ru\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Lokalize 24.12.0\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#: hello.cc:48 +msgid "Hello, world!" +msgstr "Здравствуй, мир!" + +#: hello.cc:50 hello.cc:53 +#, c++-format +msgid "This program is running as process number {:d}." +msgstr "Эта программа выполняется как процесс под номером {:d}." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/sk.po b/miniconda3/share/doc/gettext/examples/hello-c++20/po/sk.po new file mode 100644 index 0000000000000000000000000000000000000000..1c17fb97eec2a66c970609575d7a9849a3f72aa5 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/sk.po @@ -0,0 +1,26 @@ +# Slovak translations GNU for hello-c++20 package. +# Copyright (C) 2003, 2004, 2014, 2023, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Marcel Telka , 2003, 2004, 2014, 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c++20 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 13:53+0200\n" +"Last-Translator: Marcel Telka \n" +"Language-Team: Slovak \n" +"Language: sk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:48 +msgid "Hello, world!" +msgstr "Ahoj svet!" + +#: hello.cc:50 hello.cc:53 +#, c++-format +msgid "This program is running as process number {:d}." +msgstr "Tento program beží ako proces s číslom {:d}." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/sl.po b/miniconda3/share/doc/gettext/examples/hello-c++20/po/sl.po new file mode 100644 index 0000000000000000000000000000000000000000..605965d5d5deaf795dc031fd42e9160f11e60aff --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/sl.po @@ -0,0 +1,29 @@ +# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example +# Copyright (C) 2005 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Primož Peterlin , 2005, 2014, 2015, 2024. +# $Id: hello-c++20-0.22.sl.po,v 1.1 2024/03/28 17:02:19 peterlin Exp $ +msgid "" +msgstr "" +"Project-Id-Version: hello-c++20 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-03-28 18:02+0100\n" +"Last-Translator: Primož Peterlin \n" +"Language-Team: Slovenian \n" +"Language: sl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8-bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || " +"n%100==4 ? 3 : 0);\n" + +#: hello.cc:48 +msgid "Hello, world!" +msgstr "Pozdravljen, svet!" + +#: hello.cc:50 hello.cc:53 +#, c++-format +msgid "This program is running as process number {:d}." +msgstr "Ta program teče kot proces številka {:d}." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/sq.po b/miniconda3/share/doc/gettext/examples/hello-c++20/po/sq.po new file mode 100644 index 0000000000000000000000000000000000000000..81eda06b61b7fb3607d99c405e2aded222df7288 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/sq.po @@ -0,0 +1,28 @@ +# Albanian translation of gettext-example. +# Copyright (C) 2020 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Besnik Bleta , 2020,2023,2024,2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++20-0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 19:56+0300\n" +"Last-Translator: Besnik Bleta \n" +"Language-Team: Albanian \n" +"Language: sq\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.2.2\n" + +#: hello.cc:48 +msgid "Hello, world!" +msgstr "Tungjatjeta, botë!" + +#: hello.cc:50 hello.cc:53 +#, c++-format +msgid "This program is running as process number {:d}." +msgstr "Ky program po xhiron si procesi numër {:d}." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/sr.po b/miniconda3/share/doc/gettext/examples/hello-c++20/po/sr.po new file mode 100644 index 0000000000000000000000000000000000000000..1ea127534f5333c09f153707f49b94475c83a233 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/sr.po @@ -0,0 +1,30 @@ +# Serbian translation of hello-c++20. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Aleksandar Jelenak , 2004. +# Мирослав Николић , 2014-2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++20-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-02 16:51+0100\n" +"Last-Translator: Мирослав Николић \n" +"Language-Team: Serbian <(nothing)>\n" +"Language: sr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cc:48 +msgid "Hello, world!" +msgstr "Здраво, свима!" + +#: hello.cc:50 hello.cc:53 +#, c++-format +msgid "This program is running as process number {:d}." +msgstr "Овај програм се извршава као процес број {:d}." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/sv.po b/miniconda3/share/doc/gettext/examples/hello-c++20/po/sv.po new file mode 100644 index 0000000000000000000000000000000000000000..2584de11a62cc57ee364f82b7f632922e7ff7b28 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/sv.po @@ -0,0 +1,30 @@ +# Swedish messages for hello-c++20. +# Copyright © 2006, 2014, 2016, 2019, 2020, 2023, 2024, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Jan Djärv , 2003, 2006, 2014. +# Göran Uddeborg , 2016, 2019, 2020, 2023, 2024, 2025. +# Luna Jernberg , 2025. +# $Revision: 1.12 $ +msgid "" +msgstr "" +"Project-Id-Version: hello-c++20 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 12:18+0200\n" +"Last-Translator: Luna Jernberg \n" +"Language-Team: Swedish \n" +"Language: sv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cc:48 +msgid "Hello, world!" +msgstr "Hej världen!" + +#: hello.cc:50 hello.cc:53 +#, c++-format +msgid "This program is running as process number {:d}." +msgstr "Detta program kör som process nummer {:d}." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/ta.po b/miniconda3/share/doc/gettext/examples/hello-c++20/po/ta.po new file mode 100644 index 0000000000000000000000000000000000000000..b78ef9ea0fb9cf5ee5428df5aab87e93ffcfce85 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/ta.po @@ -0,0 +1,28 @@ +# Tamil messages for GNU gettext. +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# List of contributors follow: +# Poorajith , 2018. +# Arun Isaac , 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++20 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-19 00:06+0100\n" +"Last-Translator: Arun Isaac \n" +"Language-Team: Tamil \n" +"Language: ta\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:48 +msgid "Hello, world!" +msgstr "வணக்கம், உலகு!" + +#: hello.cc:50 hello.cc:53 +#, c++-format +msgid "This program is running as process number {:d}." +msgstr "இந்நிரல் செயலாக்க எண் {:d} ஆக இயங்கிக்கொண்டிருக்கிறது." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/tr.po b/miniconda3/share/doc/gettext/examples/hello-c++20/po/tr.po new file mode 100644 index 0000000000000000000000000000000000000000..5e9713f0415d0c0093795ebbeca80539e711fdc0 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/tr.po @@ -0,0 +1,29 @@ +# Turkish translation for hello-c++20. +# This file is distributed under the same license as the gettext package. +# Copyright (C) 2017 Yoyodyne, Inc. (msgids) +# Copyright (C) 2004 Free Software Foundation, Inc. +# Nilgün Belma Bugüner , 2003,2004 +# Mehmet Kececi , 2017, 2019, 2020. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++20 0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2020-04-17 13:10+0300\n" +"Last-Translator: Mehmet Kececi \n" +"Language-Team: Turkish \n" +"Language: tr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Poedit 2.3\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:48 +msgid "Hello, world!" +msgstr "Merhaba, dünya!" + +#: hello.cc:50 hello.cc:53 +#, fuzzy, c++-format +msgid "This program is running as process number {:d}." +msgstr "Bu program işlem numarası {pid} olarak çalışıyor." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/uk.po b/miniconda3/share/doc/gettext/examples/hello-c++20/po/uk.po new file mode 100644 index 0000000000000000000000000000000000000000..292423cd1bda22da730ae402cb37404d0c6aa5a5 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/uk.po @@ -0,0 +1,30 @@ +# Ukrainian translation to hello-c++20 +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Maxim V. Dziumanenko , 2004-2007. +# Yuri Chornoivan , 2014, 2015, 2023, 2025. +msgid "" +msgstr "" +"Project-Id-Version: hello-c++20 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 13:56+0300\n" +"Last-Translator: Yuri Chornoivan \n" +"Language-Team: Ukrainian \n" +"Language: uk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Generator: Lokalize 23.04.3\n" + +#: hello.cc:48 +msgid "Hello, world!" +msgstr "Привіт, світе!" + +#: hello.cc:50 hello.cc:53 +#, c++-format +msgid "This program is running as process number {:d}." +msgstr "Ця програма виконується як процес з номером {:d}." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/vi.po b/miniconda3/share/doc/gettext/examples/hello-c++20/po/vi.po new file mode 100644 index 0000000000000000000000000000000000000000..2d41242e48223170cb7761e4f1aac2fdeca341d5 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/vi.po @@ -0,0 +1,30 @@ +# Vietnamese Translation for Gettext Examples. +# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext. +# Copyright © 2015 Yoyodyne, Inc. (msgids) +# Copyright © 2015 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Clytie Siddall , 2005-2010. +# Trần Ngọc Quân , 2012-2015, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++20 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-24 09:10+0700\n" +"Last-Translator: Trần Ngọc Quân \n" +"Language-Team: Vietnamese \n" +"Language: vi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: hello.cc:48 +msgid "Hello, world!" +msgstr "Chào thế giới!" + +#: hello.cc:50 hello.cc:53 +#, c++-format +msgid "This program is running as process number {:d}." +msgstr "Chương trình này đang chạy với mã số tiến trình {:d}." diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/zh_CN.po b/miniconda3/share/doc/gettext/examples/hello-c++20/po/zh_CN.po new file mode 100644 index 0000000000000000000000000000000000000000..218e2d580a50114f80fb718845ccaeb76e40e0b0 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/zh_CN.po @@ -0,0 +1,29 @@ +# zh_CN translation for hello-c++20. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Funda Wang , 2003. +# Ji ZhengYu , 2015. +# Boyuan Yang <073plan@gmail.com>, 2019, 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++20 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-29 15:56-0400\n" +"Last-Translator: Boyuan Yang <073plan@gmail.com>\n" +"Language-Team: Chinese (simplified) \n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.6\n" + +#: hello.cc:48 +msgid "Hello, world!" +msgstr "你好,世界!" + +#: hello.cc:50 hello.cc:53 +#, c++-format +msgid "This program is running as process number {:d}." +msgstr "此程序正以进程号 {:d} 运行。" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/zh_HK.po b/miniconda3/share/doc/gettext/examples/hello-c++20/po/zh_HK.po new file mode 100644 index 0000000000000000000000000000000000000000..099f815d0f1d0fb6c0148fb34aa77d923d9394d3 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/zh_HK.po @@ -0,0 +1,25 @@ +# Chinese (Hong Kong) translation of hello-c++20. +# Copyright (C) 2006 Yoyodyne, Inc. +# Abel Cheung , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++20 0.15-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2006-07-05 15:40+0800\n" +"Last-Translator: Abel Cheung \n" +"Language-Team: Chinese (Hong Kong) \n" +"Language: zh_HK\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cc:48 +msgid "Hello, world!" +msgstr "你好!" + +#: hello.cc:50 hello.cc:53 +#, fuzzy, c++-format +msgid "This program is running as process number {:d}." +msgstr "本程式正在執行中,進程編號為 {pid}。" diff --git a/miniconda3/share/doc/gettext/examples/hello-c++20/po/zh_TW.po b/miniconda3/share/doc/gettext/examples/hello-c++20/po/zh_TW.po new file mode 100644 index 0000000000000000000000000000000000000000..1f98aa78f9c32f86a337b489ea43478f0156a305 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c++20/po/zh_TW.po @@ -0,0 +1,29 @@ +# Traditional Chinese translation of hello-c++20. +# Copyright (C) 2009 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Abel Cheung , 2005. +# Wei-Lun Chao , 2013, 2015. +# Yi-Jyun Pan , 2024. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c++20 0.23-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-11-30 14:14+0800\n" +"Last-Translator: Yi-Jyun Pan \n" +"Language-Team: Chinese (traditional) \n" +"Language: zh_TW\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cc:48 +msgid "Hello, world!" +msgstr "哈囉,大家好!" + +#: hello.cc:50 hello.cc:53 +#, c++-format +msgid "This program is running as process number {:d}." +msgstr "本程式正在執行,行程編號為 {:d}。" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/INSTALL b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/INSTALL new file mode 100644 index 0000000000000000000000000000000000000000..6a6db9af5fef1f1ecd455d7d7ed006740784a189 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/INSTALL @@ -0,0 +1,16 @@ +This example relies on: + - the GNOME libraries (libgnomeui, libgnome, libgnomesupport, libart_lgpl) + and their dependencies: imlib (libgdk_imlib), audiofile (libaudiofile), + esound (libesd), zlib (libz). + - the GTK libraries (libgtk, libgdk) + - the glib libraries (libglib, libgmodule) + - the X11 libraries + +Installation: + ./autogen.sh + ./configure --prefix=/some/prefix + make + make install +Cleanup: + make distclean + ./autoclean.sh diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/Makefile.am b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..ef6ea73250026e3dcd9731d664887c5fbb8382f3 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/Makefile.am @@ -0,0 +1,29 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Makefile configuration - processed by automake. + +# General automake options. +AUTOMAKE_OPTIONS = foreign no-dependencies +ACLOCAL_AMFLAGS = -I m4 + +# The list of subdirectories containing Makefiles. +SUBDIRS = m4 po + +# The list of programs that are built. +bin_PROGRAMS = hello + +# The source files of the 'hello' program. +hello_SOURCES = hello.c + +# Define a C macro LOCALEDIR indicating where catalogs will be installed. +DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ + +# Make sure the gnome.h include file is found. +AM_CPPFLAGS = $(GNOME_INCLUDEDIR) + +# Link time dependencies. +LDADD = $(GNOME_LIBDIR) $(GNOMEUI_LIBS) @LIBINTL@ + +# Additional files to be distributed. +EXTRA_DIST = autogen.sh autoclean.sh diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/autoclean.sh b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/autoclean.sh new file mode 100644 index 0000000000000000000000000000000000000000..9b8332fb282055fcc13b321d80e7054f54000af8 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/autoclean.sh @@ -0,0 +1,43 @@ +#!/bin/sh +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Script for cleaning all autogenerated files. + +test ! -f Makefile || make distclean +rm -rf autom4te.cache + +# Brought in by autopoint. +rm -f ABOUT-NLS +rm -f config.rpath +rm -f m4/gettext.m4 +rm -f m4/build-to-host.m4 +rm -f m4/host-cpu-c-abi.m4 +rm -f m4/iconv.m4 +rm -f m4/intlmacosx.m4 +rm -f m4/lib-ld.m4 +rm -f m4/lib-link.m4 +rm -f m4/lib-prefix.m4 +rm -f m4/nls.m4 +rm -f m4/po.m4 +rm -f m4/progtest.m4 +rm -f po/Makefile.in.in +rm -f po/remove-potcdate.sed + +# Generated by aclocal. +rm -f aclocal.m4 + +# Generated by autoconf. +rm -f configure + +# Generated or brought in by automake. +rm -f Makefile.in +rm -f m4/Makefile.in +rm -f compile +rm -f install-sh +rm -f missing +rm -f config.guess +rm -f config.sub +rm -f po/*.pot +rm -f po/stamp-po +rm -f po/*.gmo diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/autogen.sh b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/autogen.sh new file mode 100644 index 0000000000000000000000000000000000000000..cf1a97eec3ac424bd16d58e77382be46b3015993 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/autogen.sh @@ -0,0 +1,29 @@ +#!/bin/sh +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Script for regenerating all autogenerated files. + +autopoint -f # was: gettextize -f -c +rm po/Makevars.template +rm po/Rules-quot +rm po/boldquot.sed +rm po/en@boldquot.header +rm po/en@quot.header +rm po/insert-header.sed +rm po/quot.sed + +aclocal -I m4 + +autoconf + +automake -a -c + +cd po +for f in *.po; do + if test -r "$f"; then + lang=`echo $f | sed -e 's,\.po$,,'` + msgfmt -c -o $lang.gmo $lang.po + fi +done +cd .. diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/configure.ac b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/configure.ac new file mode 100644 index 0000000000000000000000000000000000000000..aed4720ca768a796e72c8aa0fcda51e7cd1b428d --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/configure.ac @@ -0,0 +1,18 @@ +dnl Example for use of GNU gettext. +dnl This file is in the public domain. +dnl +dnl Configuration file - processed by autoconf. + +AC_INIT([hello-c-gnome2], [0]) +AC_CONFIG_SRCDIR([hello.c]) +AM_INIT_AUTOMAKE([1.11]) + +AC_PROG_CC +GNOME_INIT +AM_GNU_GETTEXT([external]) +AM_GNU_GETTEXT_VERSION([0.25]) + +AC_CONFIG_FILES([Makefile]) +AC_CONFIG_FILES([m4/Makefile]) +AC_CONFIG_FILES([po/Makefile.in]) +AC_OUTPUT diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/hello.c b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/hello.c new file mode 100644 index 0000000000000000000000000000000000000000..a46defb1a9a0a08759e32e27e49ef4c15d7c5f38 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/hello.c @@ -0,0 +1,92 @@ +/* Example for use of GNU gettext. + This file is in the public domain. + + Source code of the C program. */ + + +/* Get GNOME declarations. */ +#include + +/* Get getpid() declaration. */ +#if defined _WIN32 && !defined __CYGWIN__ +/* native Windows API */ +# include +# define getpid _getpid +#else +/* POSIX API */ +# include +#endif + +static void +quit_callback (GtkWidget *widget, void *data) +{ + gtk_main_quit (); +} + +int +main (int argc, char *argv[]) +{ + GtkWidget *window; + GtkWidget *panel; + GtkWidget *label1; + GtkWidget *label1aligned; + GtkWidget *label2; + GtkWidget *label2aligned; + GtkWidget *button; + GtkWidget *buttonbar; + + /* Initializations. */ + + gnome_init (PACKAGE, VERSION, argc, argv); + textdomain ("hello-c-gnome2"); + bindtextdomain ("hello-c-gnome2", LOCALEDIR); + + /* Create the GUI elements. */ + + window = gnome_app_new ("hello-c-gnome", "Hello example"); + gtk_widget_realize (window); + gtk_signal_connect (GTK_OBJECT (window), "delete_event", + GTK_SIGNAL_FUNC (quit_callback), NULL); + + label1 = gtk_label_new (_("Hello, world!")); + + label1aligned = gtk_alignment_new (0.0, 0.5, 0, 0); + gtk_container_add (GTK_CONTAINER (label1aligned), label1); + + label2 = gtk_label_new (g_strdup_printf (_("This program is running as process number %d."), getpid ())); + + label2aligned = gtk_alignment_new (0.0, 0.5, 0, 0); + gtk_container_add (GTK_CONTAINER (label2aligned), label2); + + button = gtk_button_new_with_label ("OK"); + gtk_signal_connect (GTK_OBJECT (button), "clicked", + GTK_SIGNAL_FUNC (quit_callback), NULL); + + buttonbar = gtk_hbutton_box_new (); + gtk_button_box_set_layout (GTK_BUTTON_BOX (buttonbar), GTK_BUTTONBOX_END); + gtk_box_pack_start_defaults (GTK_BOX (buttonbar), button); + + panel = gtk_vbox_new (FALSE, GNOME_PAD_SMALL); + gtk_box_pack_start_defaults (GTK_BOX (panel), label1aligned); + gtk_box_pack_start_defaults (GTK_BOX (panel), label2aligned); + gtk_box_pack_start_defaults (GTK_BOX (panel), buttonbar); + + gnome_app_set_contents (GNOME_APP (window), panel); + + /* Make the GUI elements visible. */ + + gtk_widget_show (label1); + gtk_widget_show (label1aligned); + gtk_widget_show (label2); + gtk_widget_show (label2aligned); + gtk_widget_show (button); + gtk_widget_show (buttonbar); + gtk_widget_show (panel); + gtk_widget_show (window); + + /* Start the event loop. */ + + gtk_main (); + + return 0; +} diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/m4/Makefile.am b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/m4/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..c79c5b179662c8bd87d2e36101638f9a1e1615d5 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/m4/Makefile.am @@ -0,0 +1,5 @@ +EXTRA_DIST = \ + gettext.m4 build-to-host.m4 host-cpu-c-abi.m4 \ + iconv.m4 intlmacosx.m4 lib-ld.m4 lib-link.m4 lib-prefix.m4 \ + nls.m4 po.m4 progtest.m4 \ + gnome.m4 gnome-gnorba-check.m4 gnome-orbit-check.m4 diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/m4/gnome-gnorba-check.m4 b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/m4/gnome-gnorba-check.m4 new file mode 100644 index 0000000000000000000000000000000000000000..dbac0a6cf75be4e9560f4653eed1437962b07710 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/m4/gnome-gnorba-check.m4 @@ -0,0 +1,35 @@ +dnl +dnl GNOME_GNORBA_HOOK (script-if-gnorba-found, failflag) +dnl +dnl if failflag is "failure" it aborts if gnorba is not found. +dnl + +AC_DEFUN([GNOME_GNORBA_HOOK],[ + GNOME_ORBIT_HOOK([],$2) + AC_CACHE_CHECK([for gnorba libraries],gnome_cv_gnorba_found,[ + gnome_cv_gnorba_found=no + if test x$gnome_cv_orbit_found = xyes; then + GNORBA_CFLAGS="`gnome-config --cflags gnorba gnomeui`" + GNORBA_LIBS="`gnome-config --libs gnorba gnomeui`" + if test -n "$GNORBA_LIBS"; then + gnome_cv_gnorba_found=yes + fi + fi + ]) + AM_CONDITIONAL(HAVE_GNORBA, test x$gnome_cv_gnorba_found = xyes) + if test x$gnome_cv_orbit_found = xyes; then + $1 + GNORBA_CFLAGS="`gnome-config --cflags gnorba gnomeui`" + GNORBA_LIBS="`gnome-config --libs gnorba gnomeui`" + AC_SUBST(GNORBA_CFLAGS) + AC_SUBST(GNORBA_LIBS) + else + if test x$2 = xfailure; then + AC_MSG_ERROR(gnorba library not installed or installation problem) + fi + fi +]) + +AC_DEFUN([GNOME_GNORBA_CHECK], [ + GNOME_GNORBA_HOOK([],failure) +]) diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/m4/gnome-orbit-check.m4 b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/m4/gnome-orbit-check.m4 new file mode 100644 index 0000000000000000000000000000000000000000..54bf33aa4ba585bdb409732799b2f50f4f773a83 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/m4/gnome-orbit-check.m4 @@ -0,0 +1,33 @@ +dnl +dnl GNOME_ORBIT_HOOK (script-if-orbit-found, failflag) +dnl +dnl if failflag is "failure" it aborts if orbit is not found. +dnl + +AC_DEFUN([GNOME_ORBIT_HOOK],[ + AC_PATH_PROG(ORBIT_CONFIG,orbit-config,no) + AC_PATH_PROG(ORBIT_IDL,orbit-idl,no) + AC_CACHE_CHECK([for working ORBit environment],gnome_cv_orbit_found,[ + if test x$ORBIT_CONFIG = xno -o x$ORBIT_IDL = xno; then + gnome_cv_orbit_found=no + else + gnome_cv_orbit_found=yes + fi + ]) + AM_CONDITIONAL(HAVE_ORBIT, test x$gnome_cv_orbit_found = xyes) + if test x$gnome_cv_orbit_found = xyes; then + $1 + ORBIT_CFLAGS=`orbit-config --cflags client server` + ORBIT_LIBS=`orbit-config --use-service=name --libs client server` + AC_SUBST(ORBIT_CFLAGS) + AC_SUBST(ORBIT_LIBS) + else + if test x$2 = xfailure; then + AC_MSG_ERROR(ORBit not installed or installation problem) + fi + fi +]) + +AC_DEFUN([GNOME_ORBIT_CHECK], [ + GNOME_ORBIT_HOOK([],failure) +]) diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/m4/gnome.m4 b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/m4/gnome.m4 new file mode 100644 index 0000000000000000000000000000000000000000..659c22c4942dc3411e8cd9a03df2346e2af760b6 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/m4/gnome.m4 @@ -0,0 +1,128 @@ +dnl +dnl GNOME_INIT_HOOK (script-if-gnome-enabled, [failflag], [additional-inits]) +dnl +dnl if failflag is "fail" then GNOME_INIT_HOOK will abort if gnomeConf.sh +dnl is not found. +dnl + +AC_DEFUN([GNOME_INIT_HOOK],[ + AC_SUBST(GNOME_LIBS) + AC_SUBST(GNOMEUI_LIBS) + AC_SUBST(GNOMEGNORBA_LIBS) + AC_SUBST(GTKXMHTML_LIBS) + AC_SUBST(ZVT_LIBS) + AC_SUBST(GNOME_LIBDIR) + AC_SUBST(GNOME_INCLUDEDIR) + + AC_ARG_WITH(gnome-includes, + [ --with-gnome-includes Specify location of GNOME headers],[ + CFLAGS="$CFLAGS -I$withval" + ]) + + AC_ARG_WITH(gnome-libs, + [ --with-gnome-libs Specify location of GNOME libs],[ + LDFLAGS="$LDFLAGS -L$withval" + gnome_prefix=$withval + ]) + + AC_ARG_WITH(gnome, + [ --with-gnome Specify prefix for GNOME files], + if test x$withval = xyes; then + want_gnome=yes + dnl Note that an empty true branch is not + dnl valid sh syntax. + ifelse([$1], [], :, [$1]) + else + if test "x$withval" = xno; then + want_gnome=no + else + want_gnome=yes + LDFLAGS="$LDFLAGS -L$withval/lib" + CFLAGS="$CFLAGS -I$withval/include" + gnome_prefix=$withval/lib + fi + fi, + want_gnome=yes) + + if test "x$want_gnome" = xyes; then + + AC_PATH_PROG(GNOME_CONFIG,gnome-config,no) + if test "$GNOME_CONFIG" = "no"; then + no_gnome_config="yes" + else + AC_MSG_CHECKING(if $GNOME_CONFIG works) + if $GNOME_CONFIG --libs-only-l gnome >/dev/null 2>&1; then + AC_MSG_RESULT(yes) + GNOME_GNORBA_HOOK([],$2) + GNOME_LIBS="`$GNOME_CONFIG --libs-only-l gnome`" + GNOMEUI_LIBS="`$GNOME_CONFIG --libs-only-l gnomeui`" + GNOMEGNORBA_LIBS="`$GNOME_CONFIG --libs-only-l gnorba gnomeui`" + GTKXMHTML_LIBS="`$GNOME_CONFIG --libs-only-l gtkxmhtml`" + ZVT_LIBS="`$GNOME_CONFIG --libs-only-l zvt`" + GNOME_LIBDIR="`$GNOME_CONFIG --libs-only-L gnorba gnomeui`" + GNOME_INCLUDEDIR="`$GNOME_CONFIG --cflags gnorba gnomeui`" + $1 + else + AC_MSG_RESULT(no) + no_gnome_config="yes" + fi + fi + + if test x$exec_prefix = xNONE; then + if test x$prefix = xNONE; then + gnome_prefix=$ac_default_prefix/lib + else + gnome_prefix=$prefix/lib + fi + else + gnome_prefix=`eval echo \`echo $libdir\`` + fi + + if test "$no_gnome_config" = "yes"; then + AC_MSG_CHECKING(for gnomeConf.sh file in $gnome_prefix) + if test -f $gnome_prefix/gnomeConf.sh; then + AC_MSG_RESULT(found) + echo "loading gnome configuration from" \ + "$gnome_prefix/gnomeConf.sh" + . $gnome_prefix/gnomeConf.sh + $1 + else + AC_MSG_RESULT(not found) + if test x$2 = xfail; then + AC_MSG_ERROR(Could not find the gnomeConf.sh file that is generated by gnome-libs install) + fi + fi + fi + fi + + if test -n "$3"; then + n="$3" + for i in $n; do + AC_MSG_CHECKING(extra library \"$i\") + case $i in + applets) + AC_SUBST(GNOME_APPLETS_LIBS) + GNOME_APPLETS_LIBS=`$GNOME_CONFIG --libs-only-l applets` + AC_MSG_RESULT($GNOME_APPLETS_LIBS);; + docklets) + AC_SUBST(GNOME_DOCKLETS_LIBS) + GNOME_DOCKLETS_LIBS=`$GNOME_CONFIG --libs-only-l docklets` + AC_MSG_RESULT($GNOME_DOCKLETS_LIBS);; + capplet) + AC_SUBST(GNOME_CAPPLET_LIBS) + GNOME_CAPPLET_LIBS=`$GNOME_CONFIG --libs-only-l capplet` + AC_MSG_RESULT($GNOME_CAPPLET_LIBS);; + *) + AC_MSG_RESULT(unknown library) + esac + done + fi +]) + +dnl +dnl GNOME_INIT ([additional-inits]) +dnl + +AC_DEFUN([GNOME_INIT],[ + GNOME_INIT_HOOK([],fail,$1) +]) diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/LINGUAS b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/LINGUAS new file mode 100644 index 0000000000000000000000000000000000000000..dc4a82afbad945018082c22f2061a43ef436dd68 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/LINGUAS @@ -0,0 +1,5 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Set of available languages. +af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ka ky lv ms mt nb nl nn pl pt pt_BR ro ru sk sl sq sr sv ta tr uk vi zh_CN zh_HK zh_TW diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/Makevars b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/Makevars new file mode 100644 index 0000000000000000000000000000000000000000..c3f465c6825fc1a1d5a5cc56fbf52ae4727db0a3 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/Makevars @@ -0,0 +1,95 @@ +# Makefile variables for PO directory in any package using GNU gettext. +# +# Copyright (C) 2003-2025 Free Software Foundation, Inc. +# This file is free software; the Free Software Foundation gives +# unlimited permission to use, copy, distribute, and modify it. + +# Usually the message domain is the same as the package name. +DOMAIN = $(PACKAGE) + +# These two variables depend on the location of this directory. +subdir = po +top_builddir = .. + +# These options get passed to xgettext. +XGETTEXT_OPTIONS = \ + --keyword=_ --flag=_:1:pass-c-format \ + --keyword=N_ --flag=N_:1:pass-c-format \ + --flag=g_log:3:c-format --flag=g_logv:3:c-format \ + --flag=g_error:1:c-format --flag=g_message:1:c-format \ + --flag=g_critical:1:c-format --flag=g_warning:1:c-format \ + --flag=g_print:1:c-format \ + --flag=g_printerr:1:c-format \ + --flag=g_strdup_printf:1:c-format --flag=g_strdup_vprintf:1:c-format \ + --flag=g_printf_string_upper_bound:1:c-format \ + --flag=g_snprintf:3:c-format --flag=g_vsnprintf:3:c-format \ + --flag=g_string_sprintf:2:c-format \ + --flag=g_string_sprintfa:2:c-format \ + --flag=g_scanner_error:2:c-format \ + --flag=g_scanner_warn:2:c-format + +# This is the copyright holder that gets inserted into the header of the +# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding +# package. (Note that the msgid strings, extracted from the package's +# sources, belong to the copyright holder of the package.) Translators are +# expected to transfer the copyright for their translations to this person +# or entity, or to disclaim their copyright. The empty string stands for +# the public domain; in this case the translators are expected to disclaim +# their copyright. +COPYRIGHT_HOLDER = Yoyodyne, Inc. + +# This tells whether or not to prepend "GNU " prefix to the package +# name that gets inserted into the header of the $(DOMAIN).pot file. +# Possible values are "yes", "no", or empty. If it is empty, try to +# detect it automatically by scanning the files in $(top_srcdir) for +# "GNU packagename" string. +PACKAGE_GNU = no + +# This is the email address or URL to which the translators shall report +# bugs in the untranslated strings: +# - Strings which are not entire sentences, see the maintainer guidelines +# in the GNU gettext documentation, section 'Preparing Strings'. +# - Strings which use unclear terms or require additional context to be +# understood. +# - Strings which make invalid assumptions about notation of date, time or +# money. +# - Pluralisation problems. +# - Incorrect English spelling. +# - Incorrect formatting. +# It can be your email address, or a mailing list address where translators +# can write to without being subscribed, or the URL of a web page through +# which the translators can contact you. +MSGID_BUGS_ADDRESS = bug-gettext@gnu.org + +# This is the list of locale categories, beyond LC_MESSAGES, for which the +# message catalogs shall be used. It is usually empty. +EXTRA_LOCALE_CATEGORIES = + +# This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt' +# context. Possible values are "yes" and "no". Set this to yes if the +# package uses functions taking also a message context, like pgettext(), or +# if in $(XGETTEXT_OPTIONS) you define keywords with a context argument. +USE_MSGCTXT = no + +# These options get passed to msgmerge. +# Useful options are in particular: +# --previous to keep previous msgids of translated messages +MSGMERGE_OPTIONS = + +# These options get passed to msginit. +# If you want to disable line wrapping when writing PO files, add +# --no-wrap to MSGMERGE_OPTIONS, XGETTEXT_OPTIONS, and +# MSGINIT_OPTIONS. +MSGINIT_OPTIONS = + +# This tells whether or not to regenerate a PO file when $(DOMAIN).pot +# has changed. Possible values are "yes" and "no". Set this to no if +# the POT file is checked in the repository and the version control +# program ignores timestamps. +PO_DEPENDS_ON_POT = yes + +# This tells whether or not to forcibly update $(DOMAIN).pot and +# regenerate PO files on "make dist". Possible values are "yes" and +# "no". Set this to no if the POT file and PO files are maintained +# externally. +DIST_DEPENDS_ON_UPDATE_PO = yes diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/POTFILES.in b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/POTFILES.in new file mode 100644 index 0000000000000000000000000000000000000000..92cdf7897032b86aa6efaaf3d3f2ed012c37f246 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/POTFILES.in @@ -0,0 +1,5 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# List of files which contain translatable strings. +hello.c diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/af.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/af.po new file mode 100644 index 0000000000000000000000000000000000000000..03e00c402dea1efe368b580b5bbe28efba06d829 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/af.po @@ -0,0 +1,26 @@ +# Afrikaans translation for Silky +# Copyright (C) 2004 Free Software Foundation, Inc. +# This file is distributed under the same license as the silky package. +# Hanlie Pretorius , 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome2-0.13.1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2003-12-31 10:30+2\n" +"Last-Translator: Ysbeer \n" +"Language-Team: Afrikaans \n" +"Language: af\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.c:51 +msgid "Hello, world!" +msgstr "Hallo wêreld!" + +#: hello.c:56 +#, c-format +msgid "This program is running as process number %d." +msgstr "Hierdie program loop as prosesnommer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/ast.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/ast.po new file mode 100644 index 0000000000000000000000000000000000000000..b4d33ef969503e4edec43a914668125e470e2526 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/ast.po @@ -0,0 +1,29 @@ +# Asturian translation for hello-c-gnome2 +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Marquinos , 2009. +# enolp , 2018. +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome2 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2018-07-16 00:28+0100\n" +"Last-Translator: enolp \n" +"Language-Team: Asturian \n" +"Language: ast\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Lokalize 2.0\n" + +#: hello.c:51 +msgid "Hello, world!" +msgstr "¡Hola, mundu!" + +#: hello.c:56 +#, c-format +msgid "This program is running as process number %d." +msgstr "Esti programa ta executándose como procesu númberu %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/bg.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/bg.po new file mode 100644 index 0000000000000000000000000000000000000000..9c6a24c6a262b88479a51e0fb525772756f4ebb7 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/bg.po @@ -0,0 +1,26 @@ +# Bulgarian translations for hello-c-gnome2 package. +# Copyright (C) 2010 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Roumen Petrov , 2010,2014,2015,2019,2023,2024.2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c-gnome2 0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-08 19:09+0200\n" +"Last-Translator: Roumen Petrov \n" +"Language-Team: Bulgarian \n" +"Language: bg\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.c:51 +msgid "Hello, world!" +msgstr "Здравейте всички!" + +#: hello.c:56 +#, c-format +msgid "This program is running as process number %d." +msgstr "Програмата е пусната под процес номер %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/ca.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/ca.po new file mode 100644 index 0000000000000000000000000000000000000000..0613c252e68ac0ebef48a9e5faf945f97464150c --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/ca.po @@ -0,0 +1,27 @@ +# Catalan messages for GNU hello-c-gnome2. +# Copyright (C) 2003, 2014, 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Ivan Vilata i Balaguer , 2003, 2014, 2015, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome2 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-07-07 08:36+0200\n" +"Last-Translator: Ivan Vilata i Balaguer \n" +"Language-Team: Catalan \n" +"Language: ca\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.c:51 +msgid "Hello, world!" +msgstr "Hola, món!" + +#: hello.c:56 +#, c-format +msgid "This program is running as process number %d." +msgstr "Aquest programa està corrent amb el número de procés %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/cs.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/cs.po new file mode 100644 index 0000000000000000000000000000000000000000..df9c2af930005ecfb4438f7e35808e4aa06a307e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/cs.po @@ -0,0 +1,29 @@ +# The Czech translation for the gettext package. +# Copyright (C) 2011 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Marek Černocký , 2011. +# Petr Písař , 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome2 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 20:05+02:00\n" +"Last-Translator: Petr Pisar \n" +"Language-Team: Czech \n" +"Language: cs\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#: hello.c:51 +msgid "Hello, world!" +msgstr "Ahoj světe!" + +#: hello.c:56 +#, c-format +msgid "This program is running as process number %d." +msgstr "Tento program běží jako proces číslo %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/da.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/da.po new file mode 100644 index 0000000000000000000000000000000000000000..825595bb319992d59740781d251b49f2941c8c94 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/da.po @@ -0,0 +1,28 @@ +# Danish messages for hello-c-gnome2. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Jan Djærv , 2003, 2006. +# Keld Simonsen , 2011. +# Joe Hansen , 2015. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome2 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-06-27 12:39+0100\n" +"Last-Translator: Joe Hansen \n" +"Language-Team: Danish \n" +"Language: da\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.c:51 +msgid "Hello, world!" +msgstr "Hej verden!" + +#: hello.c:56 +#, c-format +msgid "This program is running as process number %d." +msgstr "Dette program kører som proces nummer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/de.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/de.po new file mode 100644 index 0000000000000000000000000000000000000000..ad742d136d7da1191dc525fba9cf7609a6185899 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/de.po @@ -0,0 +1,32 @@ +# German messages for hello-c-gnome2. +# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Bruno Haible , 2003. +# Karl Eichwalder , 2003. +# Jakob Kramer , 2013. +# Mario Blättermann , 2014, 2023, 2025. +# Philipp Thomas , 2015. +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome2 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 17:15+0200\n" +"Last-Translator: Mario Blättermann \n" +"Language-Team: German \n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 25.04.0\n" + +#: hello.c:51 +msgid "Hello, world!" +msgstr "Hallo Welt!" + +#: hello.c:56 +#, c-format +msgid "This program is running as process number %d." +msgstr "Dieses Programm läuft mit der Prozess-Nummer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/el.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/el.po new file mode 100644 index 0000000000000000000000000000000000000000..ff7e67490816bdcac890e2184bb5f6318114f62a --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/el.po @@ -0,0 +1,26 @@ +# Greek translation of hello-c-gnome2 +# Copyright (C) 2005 Free Software Foundation, Inc. +# Simos Xenitellis , 2005. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome2 0.14.1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2005-01-06 18:50+0000\n" +"Last-Translator: Simos Xenitellis \n" +"Language-Team: Greek \n" +"Language: el\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: KBabel 1.3.1\n" + +#: hello.c:51 +msgid "Hello, world!" +msgstr "Γεια σου, κόσμε!" + +#: hello.c:56 +#, c-format +msgid "This program is running as process number %d." +msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/eo.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/eo.po new file mode 100644 index 0000000000000000000000000000000000000000..705d78e5a28fa5fd8d459774514c48c6eac171d3 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/eo.po @@ -0,0 +1,28 @@ +# La teksto por la mesaĝoj de la programo "gettext". +# Copyright (C) 2006, 2016 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Edmund GRIMLEY EVANS , 2006. +# Felipe CASTRO , 2016, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome2 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-23 19:00-0300\n" +"Last-Translator: Felipe Castro \n" +"Language-Team: Esperanto \n" +"Language: eo\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.c:51 +msgid "Hello, world!" +msgstr "Saluton, mondo!" + +#: hello.c:56 +#, c-format +msgid "This program is running as process number %d." +msgstr "Ĉi tiu programo rulas kiel procez-numero %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/es.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/es.po new file mode 100644 index 0000000000000000000000000000000000000000..ffcce09b2202b4f558dbc891f7b2c9f35f0d1c18 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/es.po @@ -0,0 +1,30 @@ +# Mensajes en español para GNU gettext. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# +# This file is distributed under the same license as the gettext package. +# +# Max de Mendizábal , 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004. +# Antonio Ceballos , 2014, 2015, 2023, 2025 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome2-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-02-23 17:01+0100\n" +"Last-Translator: Antonio Ceballos \n" +"Language-Team: Spanish \n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.c:51 +msgid "Hello, world!" +msgstr "¡Hola, mundo!" + +#: hello.c:56 +#, c-format +msgid "This program is running as process number %d." +msgstr "Este programa está corriendo como el proceso número %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/fi.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/fi.po new file mode 100644 index 0000000000000000000000000000000000000000..ee956a4a51a2599aa2a59c57939bd52b34a0cc88 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/fi.po @@ -0,0 +1,29 @@ +# Finnish messages for GNU Gettext examples. +# This file is distributed under the same license as the gettext package. +# Copyright © 2007, 2014, 2015 Yoyodyne, Inc. (msgids) +# Lauri Nurmi , 2007. +# Jorma Karvonen , 2014-2015. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome2 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-09-01 16:59+0300\n" +"Last-Translator: Jorma Karvonen \n" +"Language-Team: Finnish \n" +"Language: fi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 1.5.4\n" + +# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti. +#: hello.c:51 +msgid "Hello, world!" +msgstr "Terve maailma!" + +#: hello.c:56 +#, c-format +msgid "This program is running as process number %d." +msgstr "Tämän ohjelman prosessinumero on %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/fr.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/fr.po new file mode 100644 index 0000000000000000000000000000000000000000..4c05cea6565b60b505fe7bb100226ea7683a91eb --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/fr.po @@ -0,0 +1,32 @@ +# Messages français pour GNU gettext. +# Copyright (C) 2006 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Michel Robitaille , 2006. +# Christophe Combelles , 2006 +# Stéphane Aulery , 2015 +# Christian Wiatr , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome2 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-28 16:25+0200\n" +"Last-Translator: Christian Wiatr \n" +"Language-Team: French \n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.c:51 +msgid "Hello, world!" +msgstr "Bonjour, le monde !" + +#: hello.c:56 +#, c-format +msgid "This program is running as process number %d." +msgstr "Ce programme est exécuté en tant que processus numéro %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/ga.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/ga.po new file mode 100644 index 0000000000000000000000000000000000000000..244e42dc8f984228e456d90e4bf92d1b75b1868d --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/ga.po @@ -0,0 +1,26 @@ +# Irish translations for hello-c-gnome2. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Kevin Patrick Scannell , 2004, 2017. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome2 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2017-01-10 12:09-0500\n" +"Last-Translator: Kevin Patrick Scannell \n" +"Language-Team: Irish \n" +"Language: ga\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.c:51 +msgid "Hello, world!" +msgstr "Dia duit, a dhomhain!" + +#: hello.c:56 +#, c-format +msgid "This program is running as process number %d." +msgstr "Tá an clár seo ag rith mar phróiseas %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/gl.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/gl.po new file mode 100644 index 0000000000000000000000000000000000000000..6a8e72aa7de641799d3ddd87306e0b0004848cef --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/gl.po @@ -0,0 +1,31 @@ +# Galician translation for hello-c-gnome2 package. +# Copyright (C) 2010 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Leandro Regueiro , 2010-2014. +# +# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas +# colaborar connosco, podes atopar máis información en +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome2 0.19-rc1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2014-05-10 16:34+0100\n" +"Last-Translator: Leandro Regueiro \n" +"Language-Team: Galician \n" +"Language: gl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n!=1);\n" + +#: hello.c:51 +msgid "Hello, world!" +msgstr "Ola, mundo!" + +#: hello.c:56 +#, c-format +msgid "This program is running as process number %d." +msgstr "Este programa estase executando como o proceso número %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/hr.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/hr.po new file mode 100644 index 0000000000000000000000000000000000000000..e386c90c953cbe08a0b970b75a6b78a221ff52c8 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/hr.po @@ -0,0 +1,33 @@ +# Translation of hello-c-gnome2 to Croatian. +# Copyright (C) 2003, 2004, 2014, 2015, 2019 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Permission is granted to freely copy and distribute +# this file and modified versions, provided that this +# header is not removed and modified versions are marked +# as such. +# +# Tomislav Krznar , 2012. +# Božidar Putanec , 2018-2025. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c-gnome2 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 10:15-0700\n" +"Last-Translator: Božidar Putanec \n" +"Language-Team: Croatian \n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.c:51 +msgid "Hello, world!" +msgstr "Pozdrav, svijete!" + +#: hello.c:56 +#, c-format +msgid "This program is running as process number %d." +msgstr "Ovaj program se izvršava kao proces broj %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/hu.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/hu.po new file mode 100644 index 0000000000000000000000000000000000000000..61e4e6bdfeb0395ee415ceddb75bc651425db82a --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/hu.po @@ -0,0 +1,29 @@ +# Hungarian translation for hello-c-gnome2. +# This file is distributed under the same license as the gettext package. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# +# Tamás Kiss , 2005. +# Balázs Úr , 2014, 2015. +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome2 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-06-23 20:31+0200\n" +"Last-Translator: Balázs Úr \n" +"Language-Team: Hungarian \n" +"Language: hu\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 1.2\n" + +#: hello.c:51 +msgid "Hello, world!" +msgstr "Hello, világ!" + +#: hello.c:56 +#, c-format +msgid "This program is running as process number %d." +msgstr "Ez a program a(z) %d folyamatazonosítóval fut." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/id.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/id.po new file mode 100644 index 0000000000000000000000000000000000000000..0e227e3312c866be7312a57d87664d4b2e9fe2a5 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/id.po @@ -0,0 +1,27 @@ +# translation of hello-c-gnome2-0.15-pre5.po to Indonesian +# Copyright (C) 2006 Yoyodyne, Inc. +# This file is distributed under the same license as the PACKAGE package. +# +# Tedi Heriyanto , 2006. +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome2-0.15-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2006-09-27 20:19+0700\n" +"Last-Translator: Tedi Heriyanto \n" +"Language-Team: Indonesian \n" +"Language: id\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: KBabel 1.11.2\n" + +#: hello.c:51 +msgid "Hello, world!" +msgstr "Hello, world!" + +#: hello.c:56 +#, c-format +msgid "This program is running as process number %d." +msgstr "Program ini berjalan sebagai proses nomor %d" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/it.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/it.po new file mode 100644 index 0000000000000000000000000000000000000000..c6792b160f56cc7a875513420e2fd1cd81540a59 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/it.po @@ -0,0 +1,29 @@ +# Italian messages for hello-c-gnome2. +# Copyright (C) 2005, 2006 Yoyodyne, Inc. (msgids) +# Copyright (C) 2024 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Marco Colombo , 2005, 2006, 2015. +# Michele Locati , 2024, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c-gnome2 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-04 18:28+0200\n" +"Last-Translator: Michele Locati \n" +"Language-Team: Italian \n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.c:51 +msgid "Hello, world!" +msgstr "Ciao, mondo!" + +#: hello.c:56 +#, c-format +msgid "This program is running as process number %d." +msgstr "Questo programma è in esecuzione con numero di processo %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/ja.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/ja.po new file mode 100644 index 0000000000000000000000000000000000000000..ca85234f36e6fd788bf9c6e042b52842912026a9 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/ja.po @@ -0,0 +1,26 @@ +# Translation of `hello-c-gnome2' messages to Japanese. +# Copyright (C) 2005, 2006, 2014, 2015, 2023, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Masahito Yamaga , 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c-gnome2 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 19:59+0900\n" +"Last-Translator: Masahito Yamaga \n" +"Language-Team: Japanese \n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.c:51 +msgid "Hello, world!" +msgstr "世界よ, こんにちは!" + +#: hello.c:56 +#, c-format +msgid "This program is running as process number %d." +msgstr "このプログラムはプロセス番号 %d で動いています." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/ka.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/ka.po new file mode 100644 index 0000000000000000000000000000000000000000..f162ed3a1813ec76b09de9d4483557452b19f521 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/ka.po @@ -0,0 +1,28 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Temuri Doghonadze , 2022. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome2 0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2022-05-22 05:04+0200\n" +"Last-Translator: Temuri Doghonadze \n" +"Language-Team: Georgian <(nothing)>\n" +"Language: ka\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 3.0.1\n" + +#: hello.c:51 +msgid "Hello, world!" +msgstr "გამარჯობა სამყაროვ!" + +#: hello.c:56 +#, c-format +msgid "This program is running as process number %d." +msgstr "პროგრამა გაშვებულია პროცესის ნომრით %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/ky.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/ky.po new file mode 100644 index 0000000000000000000000000000000000000000..aa58ab89aace03b994ed6db29d0bc1fba6b1794c --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/ky.po @@ -0,0 +1,28 @@ +# Translation of 'hello-c-gnome2' messages to Kirghiz. +# Copyright (C) 2004 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Ilyas Bakirov , 2007. +# Ilyas Bakirov , 2018. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome2 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2018-02-15 18:26+0600\n" +"Last-Translator: Ilyas Bakirov \n" +"Language-Team: Kirghiz \n" +"Language: ky\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 2.0.6\n" + +#: hello.c:51 +msgid "Hello, world!" +msgstr "Салам дүйнө!" + +#: hello.c:56 +#, c-format +msgid "This program is running as process number %d." +msgstr "Бул программа %d процесс номери катары иштеп жатат." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/lv.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/lv.po new file mode 100644 index 0000000000000000000000000000000000000000..a88de832d8fe89c26f20bb8571a058f9ac115b77 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/lv.po @@ -0,0 +1,30 @@ +# Latvian translation of hello-c-gnome2 +# Copyright (C) 2009 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Arvis Lācis , 2009. +# Rihards Priedītis , 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome2-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-09 11:44+0000\n" +"Last-Translator: Rihards Priedītis \n" +"Language-Team: Latvian \n" +"Language: lv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : " +"2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.c:51 +msgid "Hello, world!" +msgstr "Sveika, pasaule!" + +#: hello.c:56 +#, c-format +msgid "This program is running as process number %d." +msgstr "Šī programma darbojas ar procesa numuru %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/ms.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/ms.po new file mode 100644 index 0000000000000000000000000000000000000000..99ef40d08a6cb8b1d2238f838e8fe982ac452ef5 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/ms.po @@ -0,0 +1,28 @@ +# hello-c-gnome2 Bahasa Melayu (Malay) (ms). +# Copyright (C) 2006, 2015, 2023, 2025 Yoyodyne, Inc. (msgids) +# Copyright (C) 2006, 2015, 2023, 2025 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Sharuzzaman Ahmat Raslan , 2006, 2015, 2023, 2025 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome2 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-03 21:10+0800\n" +"Last-Translator: Sharuzzaman Ahmat Raslan \n" +"Language-Team: Malay \n" +"Language: ms\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.c:51 +msgid "Hello, world!" +msgstr "Hello, dunia!" + +#: hello.c:56 +#, c-format +msgid "This program is running as process number %d." +msgstr "Program ini dilaksanakan sebagai proses bernombor %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/mt.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/mt.po new file mode 100644 index 0000000000000000000000000000000000000000..3c7ef9e824650710ebd4980749cfe3fd17154033 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/mt.po @@ -0,0 +1,27 @@ +# hello-c-gnome2-0.16.2-pre5. +# Copyright (C) 2008 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Clyde Meli , 2001-2008. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome2 0.16.2-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2008-11-18 17:27+0100\n" +"Last-Translator: Clyde Meli \n" +"Language-Team: Maltese \n" +"Language: mt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.c:51 +msgid "Hello, world!" +msgstr "Hello, lil kulħadd!" + +#: hello.c:56 +#, c-format +msgid "This program is running as process number %d." +msgstr "Dal-programm qed jaħdem taħt il-proċess numru %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/nb.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/nb.po new file mode 100644 index 0000000000000000000000000000000000000000..cc7f4bef520dfb2d627a9d7c7c3047fde4f5a293 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/nb.po @@ -0,0 +1,29 @@ +# Norwegian Bokmal translations for hello-c-gnome2 package. +# Copyright (C) 2012 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Johnny A. Solbu , 2012-2024 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome2 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-01-06 16:33+0100\n" +"Last-Translator: Johnny A. Solbu \n" +"Language-Team: Norwegian Bokmaal \n" +"Language: nb\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.c:51 +msgid "Hello, world!" +msgstr "Hallo verden!" + +#: hello.c:56 +#, c-format +msgid "This program is running as process number %d." +msgstr "Dette programmet kjører som prosess nummer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/nl.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/nl.po new file mode 100644 index 0000000000000000000000000000000000000000..bc53527fc331797a2d77aef95db5c8ea278fdef8 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/nl.po @@ -0,0 +1,31 @@ +# Dutch translations for GNU hello-c-gnome2. +# Copyright (C) 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# "There are three basic rules for writing a novel. +# Unfortunately nobody knows what they are." +# +# Benno Schulenberg , 2007, 2014, 2015, 2019, 2025. +# Elros Cyriatan , 2004. +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome2-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-01 14:51+0100\n" +"Last-Translator: Benno Schulenberg \n" +"Language-Team: Dutch \n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.c:51 +msgid "Hello, world!" +msgstr "Hallo, wereld!" + +#: hello.c:56 +#, c-format +msgid "This program is running as process number %d." +msgstr "Dit programma draait als proces nummer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/nn.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/nn.po new file mode 100644 index 0000000000000000000000000000000000000000..1708da41574f6f87e902f42cce25129147125e5e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/nn.po @@ -0,0 +1,28 @@ +# Norwegian Nynorsk translation of GNU hello-c-gnome2 +# Copyright (C) 2020 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Karl Ove Hufthammer , 2020. +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome2-0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2020-05-04 18:58+0200\n" +"Last-Translator: Karl Ove Hufthammer \n" +"Language-Team: Norwegian Nynorsk \n" +"Language: nn\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 20.04.0\n" + +#: hello.c:51 +msgid "Hello, world!" +msgstr "Hei, verda!" + +#: hello.c:56 +#, c-format +msgid "This program is running as process number %d." +msgstr "Dette programmet køyrer som prosess nummer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/pl.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/pl.po new file mode 100644 index 0000000000000000000000000000000000000000..a6a1140c9ceac8a6dca585122e3f385611ae72bf --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/pl.po @@ -0,0 +1,27 @@ +# Polish translations for the GNU gettext messages, hello-c-gnome2 domain +# Copyright (C) 2010, 2014, 2015, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Rafał Maszkowski , 2003, 2010, 2014, 2015, 2025 +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c-gnome2 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-25 17:16+0200\n" +"Last-Translator: Rafał Maszkowski \n" +"Language-Team: Polish \n" +"Language: pl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8-bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " +"|| n%100>=20) ? 1 : 2);\n" + +#: hello.c:51 +msgid "Hello, world!" +msgstr "Cześć, świecie!" + +#: hello.c:56 +#, c-format +msgid "This program is running as process number %d." +msgstr "Ten program działa jako proces o numerze %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/pt.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/pt.po new file mode 100644 index 0000000000000000000000000000000000000000..2839d113602a125e0eaf4a7bbaa72c88859b53ae --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/pt.po @@ -0,0 +1,28 @@ +# Portuguese (Portugal) translation of 'hello-c-gnome2' package. +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Pedro Albuquerque , 2019, 2020, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome2 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 11:24+0100\n" +"Last-Translator: Pedro Albuquerque \n" +"Language-Team: Portuguese \n" +"Language: pt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\\n;\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.6\n" + +#: hello.c:51 +msgid "Hello, world!" +msgstr "Olá mundo!" + +#: hello.c:56 +#, c-format +msgid "This program is running as process number %d." +msgstr "Este programa está em execução como processo nº %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/pt_BR.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/pt_BR.po new file mode 100644 index 0000000000000000000000000000000000000000..d282f1ed51e0fb0120148231df139012a3be3c5e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/pt_BR.po @@ -0,0 +1,31 @@ +# Brazilian Portuguese translations for gettext-example +# Traduções em português brasileiro para gettext-example +# Copyright (C) 2025 Yoyodyne, Inc. (msgids) +# Copyright (C) 2025 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Rafael Fontenelle , 2013-2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome2 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 10:24-0300\n" +"Last-Translator: Rafael Fontenelle \n" +"Language-Team: Brazilian Portuguese \n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Gtranslator 48.0\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.c:51 +msgid "Hello, world!" +msgstr "Olá, mundo!" + +#: hello.c:56 +#, c-format +msgid "This program is running as process number %d." +msgstr "Este programa está sendo executado com número de processo %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/ro.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/ro.po new file mode 100644 index 0000000000000000000000000000000000000000..272dcdb86fa602435b2697ed81fff26dd6a42877 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/ro.po @@ -0,0 +1,50 @@ +# Translation of "hello-c-gnome2" messages to Romanian. +# Mesajele în limba română pentru pachetul hello-c-gnome2. +# Copyright © 2015, 2019, 2022, 2023, 2024, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Eugen Hoancă , 2003. +# Mihai Cristescu , 2015 - 2019. +# Remus-Gabriel Chelu , 2022 - 2025. +# +# Cronologia traducerii fișierului „hello-c-gnome2”: +# Traducerea inițială, făcută de EH, pentru versiunea hello-c-gnome2 0.12.1, 2003. +# Actualizare a traducerii pentru versiunea hello-c-gnome2 0.19.4-rc1, făcută de MC, mar-2015. +# Actualizare a traducerii pentru versiunea hello-c-gnome2 0.19.4.73, făcută de MC, iun-2015. +# Actualizare a traducerii pentru versiunea hello-c-gnome2 0.20-rc1, făcută de MC, apr-2019. +# Actualizare a mesajelor, de la fișierul „hello-c-gnome2-0.20.2.pot”. +# Actualizare a algoritmului formelor de plural (de la „trei-vechi” la „trei-actual”). +# NU și a mesajelor traduse (acestea au rămas neschimbate). +# Eliminare a mesajelor ce-au dispărut în ultima versiune. +# Actualizări realizate de Remus-Gabriel Chelu , 15.01.2022. +# Actualizare a traducerii pentru versiunea 0.20.2 făcută de R-GC, ian-2022. +# Actualizare a traducerii pentru versiunea 0.22 făcută de R-GC, iun-2023. +# Revizuire și corectare a traducerii pentru versiunea 0.23-pre1 făcută de R-GC, oct-2024. +# Actualizare a traducerii pentru versiunea 0.24-pre1 făcută de R-GC, feb-2025. +# Actualizare a traducerii pentru versiunea 0.25-pre1 făcută de R-GC, apr-2025. +# Actualizare a traducerii pentru versiunea Y, făcută de X, Z(luna-anul). +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome2 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-29 00:25+0200\n" +"Last-Translator: Remus-Gabriel Chelu \n" +"Language-Team: Romanian \n" +"Language: ro\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " +"20)) ? 1 : 2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.c:51 +msgid "Hello, world!" +msgstr "Salutare, lume!" + +#: hello.c:56 +#, c-format +msgid "This program is running as process number %d." +msgstr "Acest program rulează ca procesul numărul %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/ru.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/ru.po new file mode 100644 index 0000000000000000000000000000000000000000..689c91f495088542f773f3207a7fc22be57c94ca --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/ru.po @@ -0,0 +1,30 @@ +# Translation of hello-c-gnome2-0.14.1.po to Russian +# Copyright (C) 2004 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Pavel Maryanov , 2004. +# SPDX-FileCopyrightText: 2014, 2015, 2023, 2025 Yuri Kozlov +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome2 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-02 09:17+0300\n" +"Last-Translator: Yuri Kozlov \n" +"Language-Team: Russian \n" +"Language: ru\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Lokalize 24.12.0\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#: hello.c:51 +msgid "Hello, world!" +msgstr "Здравствуй, мир!" + +#: hello.c:56 +#, c-format +msgid "This program is running as process number %d." +msgstr "Эта программа выполняется как процесс под номером %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/sk.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/sk.po new file mode 100644 index 0000000000000000000000000000000000000000..de04c6ee5e7fe6fedf3a5bb590a49d1842467189 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/sk.po @@ -0,0 +1,26 @@ +# Slovak translations GNU for hello-c-gnome2 package. +# Copyright (C) 2003, 2004, 2014, 2023, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Marcel Telka , 2003, 2004, 2014, 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c-gnome2 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 13:53+0200\n" +"Last-Translator: Marcel Telka \n" +"Language-Team: Slovak \n" +"Language: sk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.c:51 +msgid "Hello, world!" +msgstr "Ahoj svet!" + +#: hello.c:56 +#, c-format +msgid "This program is running as process number %d." +msgstr "Tento program beží ako proces s číslom %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/sl.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/sl.po new file mode 100644 index 0000000000000000000000000000000000000000..b4b72b1a8e287b7e1a71fb4c827b2161b7adc2e0 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/sl.po @@ -0,0 +1,29 @@ +# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example +# Copyright (C) 2005 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Primož Peterlin , 2005, 2014, 2015, 2024. +# $Id: hello-c-gnome2-0.22.sl.po,v 1.1 2024/03/28 17:02:19 peterlin Exp $ +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome2 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-03-28 18:02+0100\n" +"Last-Translator: Primož Peterlin \n" +"Language-Team: Slovenian \n" +"Language: sl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8-bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || " +"n%100==4 ? 3 : 0);\n" + +#: hello.c:51 +msgid "Hello, world!" +msgstr "Pozdravljen, svet!" + +#: hello.c:56 +#, c-format +msgid "This program is running as process number %d." +msgstr "Ta program teče kot proces številka %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/sq.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/sq.po new file mode 100644 index 0000000000000000000000000000000000000000..0a2deacfd64800a139144ef2acc9535e0f29ebf7 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/sq.po @@ -0,0 +1,28 @@ +# Albanian translation of gettext-example. +# Copyright (C) 2020 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Besnik Bleta , 2020,2023,2024,2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome2-0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 19:56+0300\n" +"Last-Translator: Besnik Bleta \n" +"Language-Team: Albanian \n" +"Language: sq\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.2.2\n" + +#: hello.c:51 +msgid "Hello, world!" +msgstr "Tungjatjeta, botë!" + +#: hello.c:56 +#, c-format +msgid "This program is running as process number %d." +msgstr "Ky program po xhiron si procesi numër %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/sr.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/sr.po new file mode 100644 index 0000000000000000000000000000000000000000..1c00537ad2716215845974a12be4b663bb1168f3 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/sr.po @@ -0,0 +1,30 @@ +# Serbian translation of hello-c-gnome2. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Aleksandar Jelenak , 2004. +# Мирослав Николић , 2014-2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome2-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-02 16:51+0100\n" +"Last-Translator: Мирослав Николић \n" +"Language-Team: Serbian <(nothing)>\n" +"Language: sr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.c:51 +msgid "Hello, world!" +msgstr "Здраво, свима!" + +#: hello.c:56 +#, c-format +msgid "This program is running as process number %d." +msgstr "Овај програм се извршава као процес број %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/sv.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/sv.po new file mode 100644 index 0000000000000000000000000000000000000000..10177f8475ad5aeb3f112fb4db07c25b6b296e47 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/sv.po @@ -0,0 +1,30 @@ +# Swedish messages for hello-c-gnome2. +# Copyright © 2006, 2014, 2016, 2019, 2020, 2023, 2024, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Jan Djärv , 2003, 2006, 2014. +# Göran Uddeborg , 2016, 2019, 2020, 2023, 2024, 2025. +# Luna Jernberg , 2025. +# $Revision: 1.12 $ +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome2 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 12:18+0200\n" +"Last-Translator: Luna Jernberg \n" +"Language-Team: Swedish \n" +"Language: sv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.c:51 +msgid "Hello, world!" +msgstr "Hej världen!" + +#: hello.c:56 +#, c-format +msgid "This program is running as process number %d." +msgstr "Detta program kör som process nummer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/ta.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/ta.po new file mode 100644 index 0000000000000000000000000000000000000000..623fca5a5cf1fffec4328e5af5f86cc2c271cb94 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/ta.po @@ -0,0 +1,28 @@ +# Tamil messages for GNU gettext. +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# List of contributors follow: +# Poorajith , 2018. +# Arun Isaac , 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome2 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-19 00:06+0100\n" +"Last-Translator: Arun Isaac \n" +"Language-Team: Tamil \n" +"Language: ta\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.c:51 +msgid "Hello, world!" +msgstr "வணக்கம், உலகு!" + +#: hello.c:56 +#, c-format +msgid "This program is running as process number %d." +msgstr "இந்நிரல் செயலாக்க எண் %d ஆக இயங்கிக்கொண்டிருக்கிறது." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/tr.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/tr.po new file mode 100644 index 0000000000000000000000000000000000000000..30c23b2bd542d9964f784398c52fc4691ebe74b8 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/tr.po @@ -0,0 +1,29 @@ +# Turkish translation for hello-c-gnome2. +# This file is distributed under the same license as the gettext package. +# Copyright (C) 2017 Yoyodyne, Inc. (msgids) +# Copyright (C) 2004 Free Software Foundation, Inc. +# Nilgün Belma Bugüner , 2003,2004 +# Mehmet Kececi , 2017, 2019, 2020. +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome2 0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2020-04-17 13:10+0300\n" +"Last-Translator: Mehmet Kececi \n" +"Language-Team: Turkish \n" +"Language: tr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Poedit 2.3\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.c:51 +msgid "Hello, world!" +msgstr "Merhaba, dünya!" + +#: hello.c:56 +#, c-format +msgid "This program is running as process number %d." +msgstr "Bu yazılım %d işlem numarası ile çalışıyor." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/uk.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/uk.po new file mode 100644 index 0000000000000000000000000000000000000000..740324ebe07301519b290052593433c9ef1dee02 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/uk.po @@ -0,0 +1,30 @@ +# Ukrainian translation to hello-c-gnome2 +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Maxim V. Dziumanenko , 2004-2007. +# Yuri Chornoivan , 2014, 2015, 2023, 2025. +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome2 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 13:56+0300\n" +"Last-Translator: Yuri Chornoivan \n" +"Language-Team: Ukrainian \n" +"Language: uk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Generator: Lokalize 23.04.3\n" + +#: hello.c:51 +msgid "Hello, world!" +msgstr "Привіт, світе!" + +#: hello.c:56 +#, c-format +msgid "This program is running as process number %d." +msgstr "Ця програма виконується як процес з номером %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/vi.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/vi.po new file mode 100644 index 0000000000000000000000000000000000000000..a50277e149329723bbe0ca4abe43043388d9fd16 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/vi.po @@ -0,0 +1,30 @@ +# Vietnamese Translation for Gettext Examples. +# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext. +# Copyright © 2015 Yoyodyne, Inc. (msgids) +# Copyright © 2015 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Clytie Siddall , 2005-2010. +# Trần Ngọc Quân , 2012-2015, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome2 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-24 09:10+0700\n" +"Last-Translator: Trần Ngọc Quân \n" +"Language-Team: Vietnamese \n" +"Language: vi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: hello.c:51 +msgid "Hello, world!" +msgstr "Chào thế giới!" + +#: hello.c:56 +#, c-format +msgid "This program is running as process number %d." +msgstr "Chương trình này đang chạy với mã số tiến trình %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/zh_CN.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/zh_CN.po new file mode 100644 index 0000000000000000000000000000000000000000..a0b3bdbe25347693780898efdd68bfa8e2b9322f --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/zh_CN.po @@ -0,0 +1,29 @@ +# zh_CN translation for hello-c-gnome2. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Funda Wang , 2003. +# Ji ZhengYu , 2015. +# Boyuan Yang <073plan@gmail.com>, 2019, 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome2 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-29 15:56-0400\n" +"Last-Translator: Boyuan Yang <073plan@gmail.com>\n" +"Language-Team: Chinese (simplified) \n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.6\n" + +#: hello.c:51 +msgid "Hello, world!" +msgstr "你好,世界!" + +#: hello.c:56 +#, c-format +msgid "This program is running as process number %d." +msgstr "此程序正以进程号 %d 运行。" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/zh_HK.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/zh_HK.po new file mode 100644 index 0000000000000000000000000000000000000000..afcdf52a73c6501a9f34d146c378273ed8fea3c5 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/zh_HK.po @@ -0,0 +1,25 @@ +# Chinese (Hong Kong) translation of hello-c-gnome2. +# Copyright (C) 2006 Yoyodyne, Inc. +# Abel Cheung , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome2 0.15-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2006-07-05 15:40+0800\n" +"Last-Translator: Abel Cheung \n" +"Language-Team: Chinese (Hong Kong) \n" +"Language: zh_HK\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.c:51 +msgid "Hello, world!" +msgstr "你好!" + +#: hello.c:56 +#, c-format +msgid "This program is running as process number %d." +msgstr "本程式正在執行中,進程編號為 %d。" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/zh_TW.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/zh_TW.po new file mode 100644 index 0000000000000000000000000000000000000000..5d8aa87eb4f3e3f8a2e743fc0326a35ee23ac34c --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome2/po/zh_TW.po @@ -0,0 +1,29 @@ +# Traditional Chinese translation of hello-c-gnome2. +# Copyright (C) 2009 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Abel Cheung , 2005. +# Wei-Lun Chao , 2013, 2015. +# Yi-Jyun Pan , 2024. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome2 0.23-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-11-30 14:14+0800\n" +"Last-Translator: Yi-Jyun Pan \n" +"Language-Team: Chinese (traditional) \n" +"Language: zh_TW\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.c:51 +msgid "Hello, world!" +msgstr "哈囉,大家好!" + +#: hello.c:56 +#, c-format +msgid "This program is running as process number %d." +msgstr "本程式正在執行,行程編號為 %d。" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/INSTALL b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/INSTALL new file mode 100644 index 0000000000000000000000000000000000000000..3b9f22fe0142ae2739beebefb8097b32b7becbf7 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/INSTALL @@ -0,0 +1,12 @@ +This example relies on: + - the GTK libraries (libgtk, libgdk), version 3.10 or later + - the glib libraries (libglib) + +Installation: + ./autogen.sh + ./configure --prefix=/some/prefix + make + make install +Cleanup: + make distclean + ./autoclean.sh diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/Makefile.am b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..6158d99914bebd519813691095ba166a24e966d7 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/Makefile.am @@ -0,0 +1,80 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Makefile configuration - processed by automake. + +# General automake options. +AUTOMAKE_OPTIONS = foreign no-dependencies +ACLOCAL_AMFLAGS = -I m4 + +# The list of subdirectories containing Makefiles. +SUBDIRS = m4 po + +# The list of programs that are built. +bin_PROGRAMS = hello hello2 + +# The source files of the 'hello' program. +hello_SOURCES = hello.c hello-resources.c +# The source files of the 'hello2' program. +hello2_SOURCES = hello2.c hello2-resources.c + +# Define a C macro LOCALEDIR indicating where catalogs will be installed +# and a C macro PKGDATADIR indicating a package-specific location. +DEFS = \ + -DLOCALEDIR=$(localedir_c_make) \ + -DPKGDATADIR=$(pkgdatadir_c_make) \ + @DEFS@ + +# Make sure the gnome.h include file is found. +AM_CPPFLAGS = $(GTK_CFLAGS) + +# Link time dependencies. +LDADD = $(GTK_LIBS) @LIBINTL@ + +# Compile GSettings schema. +gschemas.compiled: hello2.gschema.xml + $(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --targetdir=. $(srcdir) + +# Compile assets into a C source and link it with the application. +hello-resources.c: hello.gresource.xml hello.ui + $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $< --target=$@ \ + --sourcedir=$(srcdir) --generate-source +hello2-resources.c: hello2.gresource.xml hello2.ui + $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $< --target=$@ \ + --sourcedir=$(srcdir) --generate-source + +# Install the compiled GSettings schema in a package-specific location +# (so that "make install" works with a --prefix other than /usr). +pkgdata_DATA = gschemas.compiled + +desktopdir = $(datadir)/applications +desktop_DATA = hello.desktop hello2.desktop + +# Merge translations back into a Desktop Entry file. + +# Note that the resulting file should be included in EXTRA_DIST and +# processed earlier than the variable substitution below. Otherwise, +# the 'msgfmt' command will be required at compile-time. +hello.desktop.in: hello.desktop.in.in + $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@ +hello2.desktop.in: hello2.desktop.in.in + $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@ + +# Substitute variables in a Desktop Entry file. +hello.desktop: hello.desktop.in + $(AM_V_GEN) sed -e 's|@bindir[@]|$(bindir)|g' $< > $@ +hello2.desktop: hello2.desktop.in + $(AM_V_GEN) sed -e 's|@bindir[@]|$(bindir)|g' $< > $@ + +BUILT_SOURCES = gschemas.compiled hello-resources.c hello2-resources.c hello.desktop hello2.desktop +CLEANFILES = gschemas.compiled hello.desktop hello2.desktop +DISTCLEANFILES = +MAINTAINERCLEANFILES = hello-resources.c hello2-resources.c hello.desktop.in hello2.desktop.in + +# Additional files to be distributed. +EXTRA_DIST = autogen.sh autoclean.sh \ + hello.desktop.in.in hello.desktop.in \ + hello.gresource.xml hello.ui \ + hello2.desktop.in.in hello2.desktop.in \ + hello2.gresource.xml hello2.ui \ + hello2.gschema.xml diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/README b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/README new file mode 100644 index 0000000000000000000000000000000000000000..5badbd8b20c8f1d8b2ace19da4e6abcb7c11e010 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/README @@ -0,0 +1,4 @@ +This example contains two programs: + - hello, a simple "hello world" program, + - hello2, a more elaborate program that demonstrates advanced Gtk 3 features: + derived GObject classes, widget templates, GSettings. diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/autoclean.sh b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/autoclean.sh new file mode 100644 index 0000000000000000000000000000000000000000..2f812ed5e31b270454ebde4b748bfe2f4cffb643 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/autoclean.sh @@ -0,0 +1,48 @@ +#!/bin/sh +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Script for cleaning all autogenerated files. + +test ! -f Makefile || make distclean +# Do the equivalent of "make maintainer-clean", even without the Makefile. +rm -f hello-resources.c hello2-resources.c hello.desktop.in hello2.desktop.in +rm -rf autom4te.cache + +# Files generated by "make" and distributed (see MAINTAINERCLEANFILES). +rm -f hello-resources.c hello2-resources.c hello.desktop.in hello2.desktop.in + +# Brought in by autopoint. +rm -f ABOUT-NLS +rm -f config.rpath +rm -f m4/gettext.m4 +rm -f m4/build-to-host.m4 +rm -f m4/host-cpu-c-abi.m4 +rm -f m4/iconv.m4 +rm -f m4/intlmacosx.m4 +rm -f m4/lib-ld.m4 +rm -f m4/lib-link.m4 +rm -f m4/lib-prefix.m4 +rm -f m4/nls.m4 +rm -f m4/po.m4 +rm -f m4/progtest.m4 +rm -f po/Makefile.in.in +rm -f po/remove-potcdate.sed + +# Generated by aclocal. +rm -f aclocal.m4 + +# Generated by autoconf. +rm -f configure + +# Generated or brought in by automake. +rm -f Makefile.in +rm -f m4/Makefile.in +rm -f compile +rm -f install-sh +rm -f missing +rm -f config.guess +rm -f config.sub +rm -f po/*.pot +rm -f po/stamp-po +rm -f po/*.gmo diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/autogen.sh b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/autogen.sh new file mode 100644 index 0000000000000000000000000000000000000000..cf1a97eec3ac424bd16d58e77382be46b3015993 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/autogen.sh @@ -0,0 +1,29 @@ +#!/bin/sh +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Script for regenerating all autogenerated files. + +autopoint -f # was: gettextize -f -c +rm po/Makevars.template +rm po/Rules-quot +rm po/boldquot.sed +rm po/en@boldquot.header +rm po/en@quot.header +rm po/insert-header.sed +rm po/quot.sed + +aclocal -I m4 + +autoconf + +automake -a -c + +cd po +for f in *.po; do + if test -r "$f"; then + lang=`echo $f | sed -e 's,\.po$,,'` + msgfmt -c -o $lang.gmo $lang.po + fi +done +cd .. diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/configure.ac b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/configure.ac new file mode 100644 index 0000000000000000000000000000000000000000..c82f0dc4c045d3b4d0052aaa9b58e84bd91d35df --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/configure.ac @@ -0,0 +1,60 @@ +dnl Example for use of GNU gettext. +dnl This file is in the public domain. +dnl +dnl Configuration file - processed by autoconf. + +AC_INIT([hello-c-gnome3], [0]) +AC_CONFIG_SRCDIR([hello.c]) +AM_INIT_AUTOMAKE([1.11]) + +AC_PROG_CC +AM_GNU_GETTEXT([external]) +AM_GNU_GETTEXT_VERSION([0.25]) + +dnl Define localedir_c and localedir_c_make. +gl_BUILD_TO_HOST_LOCALEDIR +dnl Define pkgdatadir_c and pkgdatadir_c_make. +gl_BUILD_TO_HOST_PKGDATADIR + +dnl Check GNOME specific stuff. +dnl +dnl If you have full GNOME development environment installed on your +dnl system, you should be able to use the following macros: +dnl +dnl AM_PATH_GLIB_2_0 +dnl PKG_CHECK_MODULES([GTK], [gtk+-3.0 >= 3.10], , +dnl [AC_MSG_ERROR([can't find gtk+-3.0])]) +dnl +dnl Here, in gettext-tools/examples, we do the checks manually for +dnl simplicity. + +AC_PATH_PROG([GLIB_COMPILE_RESOURCES], [glib-compile-resources]) +AS_IF([test -z "$GLIB_COMPILE_RESOURCES"], [ + AC_MSG_ERROR([can't find glib-compile-resources]) +]) + +AC_PATH_PROG([GLIB_COMPILE_SCHEMAS], [glib-compile-schemas]) +AS_IF([test -z "$GLIB_COMPILE_SCHEMAS"], [ + AC_MSG_ERROR([can't find glib-compile-schemas]) +]) + +AC_PATH_PROG([PKG_CONFIG], [pkg-config]) +AS_IF([test -z "$PKG_CONFIG"], [ + AC_MSG_ERROR([can't find pkg-config]) +]) + +GTK="gtk+-3.0 >= 3.10" +AS_IF(["$PKG_CONFIG" --exists "$GTK"], , [ + AC_MSG_ERROR([can't find $GTK]) +]) + +GTK_CFLAGS=`"$PKG_CONFIG" --cflags "$GTK"` +AC_SUBST([GTK_CFLAGS]) + +GTK_LIBS=`"$PKG_CONFIG" --libs "$GTK"` +AC_SUBST([GTK_LIBS]) + +AC_CONFIG_FILES([Makefile]) +AC_CONFIG_FILES([m4/Makefile]) +AC_CONFIG_FILES([po/Makefile.in]) +AC_OUTPUT diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/hello.c b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/hello.c new file mode 100644 index 0000000000000000000000000000000000000000..8b4eea44549be33dd9090afed71300713e5df527 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/hello.c @@ -0,0 +1,121 @@ +/* Example for use of GNU gettext. + This file is in the public domain. + + Source code of the C program. */ + + +/* Get GTK declarations. */ +#include +#include + +/* Get exit() declaration. */ +#include + +/* Get getpid() declaration. */ +#if defined _WIN32 && !defined __CYGWIN__ +/* native Windows API */ +# include +# define getpid _getpid +#else +/* POSIX API */ +# include +#endif + +#define UI_PATH "/org/gnu/gettext/examples/hello/hello.ui" +#define APPLICATION_ID "org.gnu.gettext.examples.hello" + +/* An ad-hoc struct for managing the main window. + (Not connected to the GObject type system.) */ +struct HelloWindow +{ + GtkWindow *window; + GtkLabel *label; + GtkButton *button; + gsize label_id; + gchar *labels[3]; +}; + +static void +update_content (struct HelloWindow *hello_window) +{ + gtk_label_set_label (hello_window->label, + hello_window->labels[hello_window->label_id]); + hello_window->label_id = + (hello_window->label_id + 1) % G_N_ELEMENTS (hello_window->labels); +} + +static void +clicked_callback (GtkWidget *widget, struct HelloWindow *hello_window) +{ + update_content (hello_window); +} + +static void +activate (GApplication *application, void *data) +{ + GtkBuilder *builder; + GError *error = NULL; + + /* Instantiate the UI. */ + builder = gtk_builder_new (); + if (gtk_builder_add_from_resource (builder, UI_PATH, &error) == 0) + { + g_printerr ("Error instantiating UI: %s\n", error->message); + g_clear_error (&error); + exit (1); + } + + struct HelloWindow *hello_window = g_malloc (sizeof (struct HelloWindow)); + hello_window->window = GTK_WINDOW (gtk_builder_get_object (builder, "main_window")); + hello_window->label = GTK_LABEL (gtk_builder_get_object (builder, "label")); + hello_window->button = GTK_BUTTON (gtk_builder_get_object (builder, "button")); + + /* Allow Pango markup in the label. */ + gtk_label_set_use_markup (hello_window->label, TRUE); + + /* Prepare various presentations of the label. */ + hello_window->label_id = 0; + gchar *line1 = g_strdup_printf ("%s", _("Hello world!")); + gchar *line2 = + g_strdup_printf (_("This program is running as process number %s."), + g_strdup_printf ("%d", getpid ())); + hello_window->labels[0] = g_strdup_printf ("%s\n%s", line1, line2); + hello_window->labels[1] = + g_strdup_printf ("%s", _("This is another text")); + hello_window->labels[2] = + g_strdup_printf ("%s", _("This is yet another text")); + + update_content (hello_window); + + /* Make sure that the application runs for as long as this window is + still open. */ + gtk_application_add_window (GTK_APPLICATION (application), + GTK_WINDOW (hello_window->window)); + + g_signal_connect (hello_window->button, "clicked", + G_CALLBACK (clicked_callback), hello_window); + gtk_window_present (GTK_WINDOW (hello_window->window)); +} + +int +main (int argc, char *argv[]) +{ + GApplication *application; + int status; + + /* Initializations. */ + textdomain ("hello-c-gnome3"); + bindtextdomain ("hello-c-gnome3", LOCALEDIR); + + /* Create application. */ + application = + G_APPLICATION (gtk_application_new (APPLICATION_ID, + G_APPLICATION_DEFAULT_FLAGS)); + g_signal_connect (application, "activate", G_CALLBACK (activate), NULL); + + /* Start the application. */ + status = g_application_run (application, argc, argv); + g_object_unref (application); + + return status; +} diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/hello.desktop.in.in b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/hello.desktop.in.in new file mode 100644 index 0000000000000000000000000000000000000000..a31bf93375d7754ef52943e022d0a8cbf22ddd86 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/hello.desktop.in.in @@ -0,0 +1,6 @@ +[Desktop Entry] +Type=Application +Name=Hello +Comment=Hello, world! +StartupNotify=true +Exec=@bindir@/hello diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/hello.gresource.xml b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/hello.gresource.xml new file mode 100644 index 0000000000000000000000000000000000000000..7a00dc8362c0bcc17aaa68147393bfbef098d8d7 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/hello.gresource.xml @@ -0,0 +1,7 @@ + + + + + hello.ui + + diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/hello.ui b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/hello.ui new file mode 100644 index 0000000000000000000000000000000000000000..e142400c04d2f89797cf76aa86d5e14f88807b68 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/hello.ui @@ -0,0 +1,46 @@ + + + + + + Example Application + 600 + 400 + + + True + vertical + + + True + 0.5 + 0.5 + 0 + 0 + True + + + True + + + + + + + True + + + True + Update text + False + + + end + + + + + + + + diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/hello2.c b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/hello2.c new file mode 100644 index 0000000000000000000000000000000000000000..e89dfd8d5649903da01ee30058698b2ffa781389 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/hello2.c @@ -0,0 +1,195 @@ +/* Example for use of GNU gettext. + This file is in the public domain. + + Source code of the C program. */ + + +/* Get GTK declarations. */ +#include +#include + +/* Get getpid() declaration. */ +#if defined _WIN32 && !defined __CYGWIN__ +/* native Windows API */ +# include +# define getpid _getpid +#else +/* POSIX API */ +# include +#endif + +#define UI_PATH "/org/gnu/gettext/examples/hello/hello2.ui" +#define APPLICATION_ID "org.gnu.gettext.examples.hello2" +#define GSETTINGS_SCHEMA "org.gnu.gettext.examples.hello2" + +/* Forward declaration of GObject types. */ + +#define HELLO_TYPE_APPLICATION_WINDOW (hello_application_window_get_type ()) +#define HELLO_APPLICATION_WINDOW(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST ((obj), \ + HELLO_TYPE_APPLICATION_WINDOW, \ + HelloApplicationWindow)) + +typedef struct _HelloApplicationWindow HelloApplicationWindow; +typedef struct _HelloApplicationWindowClass HelloApplicationWindowClass; + +#define HELLO_TYPE_APPLICATION (hello_application_get_type ()) +#define HELLO_APPLICATION(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST ((obj), \ + HELLO_TYPE_APPLICATION, \ + HelloApplication)) + +typedef struct _HelloApplication HelloApplication; +typedef struct _HelloApplicationClass HelloApplicationClass; + +/* Custom application window implementation. */ + +struct _HelloApplicationWindow +{ + GtkApplicationWindow parent; + GtkWidget *label; + GtkWidget *button; + GSettings *settings; + gsize label_id; + gchar *labels[3]; +}; + +struct _HelloApplicationWindowClass +{ + GtkApplicationWindowClass parent_class; +}; + +G_DEFINE_TYPE (HelloApplicationWindow, hello_application_window, + GTK_TYPE_APPLICATION_WINDOW); + +static void +update_content (HelloApplicationWindow *window) +{ + gtk_label_set_label (GTK_LABEL (window->label), + window->labels[window->label_id]); + window->label_id = (window->label_id + 1) % G_N_ELEMENTS (window->labels); +} + +static void +hello_application_window_init (HelloApplicationWindow *window) +{ + gtk_widget_init_template (GTK_WIDGET (window)); + + window->settings = g_settings_new (GSETTINGS_SCHEMA); + /* Allow Pango markup in the label. */ + g_settings_bind (window->settings, "use-markup", + window->label, "use-markup", + G_SETTINGS_BIND_DEFAULT); + + /* Prepare various presentations of the label. */ + window->label_id = 0; + gchar *line1 = g_strdup_printf ("%s", _("Hello world!")); + gchar *line2 = + g_strdup_printf (_("This program is running as process number %s."), + g_strdup_printf ("%d", getpid ())); + window->labels[0] = g_strdup_printf ("%s\n%s", line1, line2); + window->labels[1] = + g_strdup_printf ("%s", _("This is another text")); + window->labels[2] = + g_strdup_printf ("%s", _("This is yet another text")); + + update_content (window); +} + +static void +hello_application_window_class_init (HelloApplicationWindowClass *klass) +{ + GObjectClass *gobject_class = G_OBJECT_CLASS (klass); + + gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (klass), + UI_PATH); + gtk_widget_class_bind_template_child (GTK_WIDGET_CLASS (klass), + HelloApplicationWindow, label); + gtk_widget_class_bind_template_child (GTK_WIDGET_CLASS (klass), + HelloApplicationWindow, button); +} + +static HelloApplicationWindow * +hello_application_window_new (HelloApplication *application) +{ + return g_object_new (HELLO_TYPE_APPLICATION_WINDOW, + "application", application, + NULL); +} + +/* Custom application implementation. */ + +struct _HelloApplication +{ + GtkApplication parent; +}; + +struct _HelloApplicationClass +{ + GtkApplicationClass parent_class; +}; + +G_DEFINE_TYPE (HelloApplication, hello_application, GTK_TYPE_APPLICATION); + +static void +hello_application_init (HelloApplication *application) +{ +} + +static void +clicked_callback (GtkWidget *widget, void *data) +{ + update_content (HELLO_APPLICATION_WINDOW (data)); +} + +static void +hello_application_activate (GApplication *application) +{ + HelloApplicationWindow *window; + + window = hello_application_window_new (HELLO_APPLICATION (application)); + g_signal_connect (window->button, "clicked", + G_CALLBACK (clicked_callback), window); + gtk_window_present (GTK_WINDOW (window)); +} + +static void +hello_application_class_init (HelloApplicationClass *klass) +{ + G_APPLICATION_CLASS (klass)->activate = hello_application_activate; +} + +static HelloApplication * +hello_application_new (void) +{ + return g_object_new (HELLO_TYPE_APPLICATION, + "application-id", APPLICATION_ID, + NULL); +} + +int +main (int argc, char *argv[]) +{ + GApplication *application; + int status; + + /* Load the compiled GSettings schema + - from PKGDATADIR (so that it works after "make install"), + - from the current directory (so that it works in the build directory, + before "make install"). */ + g_setenv ("GSETTINGS_SCHEMA_DIR", PKGDATADIR G_SEARCHPATH_SEPARATOR_S ".", + FALSE); + + /* Initializations. */ + textdomain ("hello-c-gnome3"); + bindtextdomain ("hello-c-gnome3", LOCALEDIR); + + /* Create application. */ + application = G_APPLICATION (hello_application_new ()); + + /* Start the application. */ + status = g_application_run (application, argc, argv); + g_object_unref (application); + + return status; +} diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/hello2.desktop.in.in b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/hello2.desktop.in.in new file mode 100644 index 0000000000000000000000000000000000000000..5ab5be552db7a9fe58d76166202532e13d0e9ffd --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/hello2.desktop.in.in @@ -0,0 +1,6 @@ +[Desktop Entry] +Type=Application +Name=Hello +Comment=Hello, world! +StartupNotify=true +Exec=@bindir@/hello2 diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/hello2.gresource.xml b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/hello2.gresource.xml new file mode 100644 index 0000000000000000000000000000000000000000..4a65f40c8de0ff6026b828d35bcdcc7d8f911e33 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/hello2.gresource.xml @@ -0,0 +1,7 @@ + + + + + hello2.ui + + diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/hello2.gschema.xml b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/hello2.gschema.xml new file mode 100644 index 0000000000000000000000000000000000000000..63e1c6a13ad4473f1b1edfad788431a2f1560f82 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/hello2.gschema.xml @@ -0,0 +1,12 @@ + + + + + + true +

Use XML markup + Whether to use XML markup in the text. + + + diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/hello2.ui b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/hello2.ui new file mode 100644 index 0000000000000000000000000000000000000000..b2d13b0f0647e58e3ed48abd7457b385c8ef7930 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/hello2.ui @@ -0,0 +1,46 @@ + + + + + + diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/m4/Makefile.am b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/m4/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..7d516f09ff64e7f731d69696326a8626ca9c4ee0 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/m4/Makefile.am @@ -0,0 +1,4 @@ +EXTRA_DIST = \ + gettext.m4 build-to-host.m4 host-cpu-c-abi.m4 \ + iconv.m4 intlmacosx.m4 lib-ld.m4 lib-link.m4 lib-prefix.m4 \ + nls.m4 po.m4 progtest.m4 diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/LINGUAS b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/LINGUAS new file mode 100644 index 0000000000000000000000000000000000000000..dc4a82afbad945018082c22f2061a43ef436dd68 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/LINGUAS @@ -0,0 +1,5 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Set of available languages. +af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ka ky lv ms mt nb nl nn pl pt pt_BR ro ru sk sl sq sr sv ta tr uk vi zh_CN zh_HK zh_TW diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/Makevars b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/Makevars new file mode 100644 index 0000000000000000000000000000000000000000..c3f465c6825fc1a1d5a5cc56fbf52ae4727db0a3 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/Makevars @@ -0,0 +1,95 @@ +# Makefile variables for PO directory in any package using GNU gettext. +# +# Copyright (C) 2003-2025 Free Software Foundation, Inc. +# This file is free software; the Free Software Foundation gives +# unlimited permission to use, copy, distribute, and modify it. + +# Usually the message domain is the same as the package name. +DOMAIN = $(PACKAGE) + +# These two variables depend on the location of this directory. +subdir = po +top_builddir = .. + +# These options get passed to xgettext. +XGETTEXT_OPTIONS = \ + --keyword=_ --flag=_:1:pass-c-format \ + --keyword=N_ --flag=N_:1:pass-c-format \ + --flag=g_log:3:c-format --flag=g_logv:3:c-format \ + --flag=g_error:1:c-format --flag=g_message:1:c-format \ + --flag=g_critical:1:c-format --flag=g_warning:1:c-format \ + --flag=g_print:1:c-format \ + --flag=g_printerr:1:c-format \ + --flag=g_strdup_printf:1:c-format --flag=g_strdup_vprintf:1:c-format \ + --flag=g_printf_string_upper_bound:1:c-format \ + --flag=g_snprintf:3:c-format --flag=g_vsnprintf:3:c-format \ + --flag=g_string_sprintf:2:c-format \ + --flag=g_string_sprintfa:2:c-format \ + --flag=g_scanner_error:2:c-format \ + --flag=g_scanner_warn:2:c-format + +# This is the copyright holder that gets inserted into the header of the +# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding +# package. (Note that the msgid strings, extracted from the package's +# sources, belong to the copyright holder of the package.) Translators are +# expected to transfer the copyright for their translations to this person +# or entity, or to disclaim their copyright. The empty string stands for +# the public domain; in this case the translators are expected to disclaim +# their copyright. +COPYRIGHT_HOLDER = Yoyodyne, Inc. + +# This tells whether or not to prepend "GNU " prefix to the package +# name that gets inserted into the header of the $(DOMAIN).pot file. +# Possible values are "yes", "no", or empty. If it is empty, try to +# detect it automatically by scanning the files in $(top_srcdir) for +# "GNU packagename" string. +PACKAGE_GNU = no + +# This is the email address or URL to which the translators shall report +# bugs in the untranslated strings: +# - Strings which are not entire sentences, see the maintainer guidelines +# in the GNU gettext documentation, section 'Preparing Strings'. +# - Strings which use unclear terms or require additional context to be +# understood. +# - Strings which make invalid assumptions about notation of date, time or +# money. +# - Pluralisation problems. +# - Incorrect English spelling. +# - Incorrect formatting. +# It can be your email address, or a mailing list address where translators +# can write to without being subscribed, or the URL of a web page through +# which the translators can contact you. +MSGID_BUGS_ADDRESS = bug-gettext@gnu.org + +# This is the list of locale categories, beyond LC_MESSAGES, for which the +# message catalogs shall be used. It is usually empty. +EXTRA_LOCALE_CATEGORIES = + +# This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt' +# context. Possible values are "yes" and "no". Set this to yes if the +# package uses functions taking also a message context, like pgettext(), or +# if in $(XGETTEXT_OPTIONS) you define keywords with a context argument. +USE_MSGCTXT = no + +# These options get passed to msgmerge. +# Useful options are in particular: +# --previous to keep previous msgids of translated messages +MSGMERGE_OPTIONS = + +# These options get passed to msginit. +# If you want to disable line wrapping when writing PO files, add +# --no-wrap to MSGMERGE_OPTIONS, XGETTEXT_OPTIONS, and +# MSGINIT_OPTIONS. +MSGINIT_OPTIONS = + +# This tells whether or not to regenerate a PO file when $(DOMAIN).pot +# has changed. Possible values are "yes" and "no". Set this to no if +# the POT file is checked in the repository and the version control +# program ignores timestamps. +PO_DEPENDS_ON_POT = yes + +# This tells whether or not to forcibly update $(DOMAIN).pot and +# regenerate PO files on "make dist". Possible values are "yes" and +# "no". Set this to no if the POT file and PO files are maintained +# externally. +DIST_DEPENDS_ON_UPDATE_PO = yes diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/POTFILES.in b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/POTFILES.in new file mode 100644 index 0000000000000000000000000000000000000000..9f16cea4364ca4ea042565522fa30b9a57514ccd --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/POTFILES.in @@ -0,0 +1,11 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# List of files which contain translatable strings. +hello.c +hello.desktop.in.in +hello.ui +hello2.c +hello2.desktop.in.in +hello2.ui +hello2.gschema.xml diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/af.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/af.po new file mode 100644 index 0000000000000000000000000000000000000000..50e2e9386a0cc9b41f1617fb6158f3d184724c4b --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/af.po @@ -0,0 +1,59 @@ +# Afrikaans translation for Silky +# Copyright (C) 2004 Free Software Foundation, Inc. +# This file is distributed under the same license as the silky package. +# Hanlie Pretorius , 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome3-0.13.1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2003-12-31 10:30+2\n" +"Last-Translator: Ysbeer \n" +"Language-Team: Afrikaans \n" +"Language: af\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.c:78 hello2.c:86 +#, fuzzy +msgid "Hello world!" +msgstr "Hallo wêreld!" + +#: hello.c:80 hello2.c:88 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "Hierdie program loop as prosesnommer %d." + +#: hello.c:84 hello2.c:92 +msgid "This is another text" +msgstr "" + +#: hello.c:86 hello2.c:94 +msgid "This is yet another text" +msgstr "" + +#: hello.desktop.in.in:3 hello2.desktop.in.in:3 +msgid "Hello" +msgstr "" + +#: hello.desktop.in.in:4 hello2.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Hallo wêreld!" + +#: hello.ui:6 hello2.ui:6 +msgid "Example Application" +msgstr "" + +#: hello.ui:34 hello2.ui:34 +msgid "Update text" +msgstr "" + +#: hello2.gschema.xml:8 +msgid "Use XML markup" +msgstr "" + +#: hello2.gschema.xml:9 +msgid "Whether to use XML markup in the text." +msgstr "" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/ast.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/ast.po new file mode 100644 index 0000000000000000000000000000000000000000..b12d155775e16c3889fa8dcdfe3985eae516a55b --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/ast.po @@ -0,0 +1,64 @@ +# Asturian translation for hello-c-gnome3 +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Marquinos , 2009. +# enolp , 2018. +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome3 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2018-07-16 00:28+0100\n" +"Last-Translator: enolp \n" +"Language-Team: Asturian \n" +"Language: ast\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Lokalize 2.0\n" + +#: hello.c:78 hello2.c:86 +#, fuzzy +msgid "Hello world!" +msgstr "¡Hola, mundu!" + +#: hello.c:80 hello2.c:88 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "Esti programa ta executándose como procesu númberu %d." + +#: hello.c:84 hello2.c:92 +#, fuzzy +msgid "This is another text" +msgstr "Esto ye otru testu" + +#: hello.c:86 hello2.c:94 +#, fuzzy +msgid "This is yet another text" +msgstr "Esto ye otru testu más" + +#: hello.desktop.in.in:3 hello2.desktop.in.in:3 +msgid "Hello" +msgstr "Hola" + +#: hello.desktop.in.in:4 hello2.desktop.in.in:4 +msgid "Hello, world!" +msgstr "¡Hola, mundu!" + +#: hello.ui:6 hello2.ui:6 +msgid "Example Application" +msgstr "Aplicación d'exemplu" + +#: hello.ui:34 hello2.ui:34 +msgid "Update text" +msgstr "Anovar testu" + +#: hello2.gschema.xml:8 +msgid "Use XML markup" +msgstr "Usar marques XML" + +#: hello2.gschema.xml:9 +msgid "Whether to use XML markup in the text." +msgstr "Usa o non marques XML nel testu." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/bg.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/bg.po new file mode 100644 index 0000000000000000000000000000000000000000..74d23e31ab9ac9ea5b4f94f24b3bad45f7d80c76 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/bg.po @@ -0,0 +1,58 @@ +# Bulgarian translations for hello-c-gnome3 package. +# Copyright (C) 2010 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Roumen Petrov , 2010,2014,2015,2019,2023,2024.2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c-gnome3 0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-08 19:09+0200\n" +"Last-Translator: Roumen Petrov \n" +"Language-Team: Bulgarian \n" +"Language: bg\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.c:78 hello2.c:86 +msgid "Hello world!" +msgstr "Здравейте всички!" + +#: hello.c:80 hello2.c:88 +#, c-format +msgid "This program is running as process number %s." +msgstr "Програмата е пусната под процес номер %s." + +#: hello.c:84 hello2.c:92 +msgid "This is another text" +msgstr "Това е друг текст" + +#: hello.c:86 hello2.c:94 +msgid "This is yet another text" +msgstr "А това е един друг текст" + +#: hello.desktop.in.in:3 hello2.desktop.in.in:3 +msgid "Hello" +msgstr "Здравейте" + +#: hello.desktop.in.in:4 hello2.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Здравейте всички!" + +#: hello.ui:6 hello2.ui:6 +msgid "Example Application" +msgstr "Примерно приложение" + +#: hello.ui:34 hello2.ui:34 +msgid "Update text" +msgstr "Обноваване на текст" + +#: hello2.gschema.xml:8 +msgid "Use XML markup" +msgstr "Използване на XML markup" + +#: hello2.gschema.xml:9 +msgid "Whether to use XML markup in the text." +msgstr "Дали да се използва XML markup за текст." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/ca.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/ca.po new file mode 100644 index 0000000000000000000000000000000000000000..49d42484e6458a80303fd87ebc7c36f58d591747 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/ca.po @@ -0,0 +1,62 @@ +# Catalan messages for GNU hello-c-gnome3. +# Copyright (C) 2003, 2014, 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Ivan Vilata i Balaguer , 2003, 2014, 2015, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome3 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-07-07 08:36+0200\n" +"Last-Translator: Ivan Vilata i Balaguer \n" +"Language-Team: Catalan \n" +"Language: ca\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.c:78 hello2.c:86 +#, fuzzy +msgid "Hello world!" +msgstr "Hola, món!" + +#: hello.c:80 hello2.c:88 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "Aquest programa està corrent amb el número de procés %d." + +#: hello.c:84 hello2.c:92 +#, fuzzy +msgid "This is another text" +msgstr "Aquest és un altre text" + +#: hello.c:86 hello2.c:94 +#, fuzzy +msgid "This is yet another text" +msgstr "Aquest és un altre text més" + +#: hello.desktop.in.in:3 hello2.desktop.in.in:3 +msgid "Hello" +msgstr "Hola" + +#: hello.desktop.in.in:4 hello2.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Hola, món!" + +#: hello.ui:6 hello2.ui:6 +msgid "Example Application" +msgstr "Aplicació d’exemple" + +#: hello.ui:34 hello2.ui:34 +msgid "Update text" +msgstr "Actualitza el text" + +#: hello2.gschema.xml:8 +msgid "Use XML markup" +msgstr "Empra etiquetatge XML" + +#: hello2.gschema.xml:9 +msgid "Whether to use XML markup in the text." +msgstr "Indica si es permet emprar etiquetatge XML al text." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/cs.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/cs.po new file mode 100644 index 0000000000000000000000000000000000000000..0ff6eaa15c58fd60febc4c9972b938bd851ff381 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/cs.po @@ -0,0 +1,61 @@ +# The Czech translation for the gettext package. +# Copyright (C) 2011 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Marek Černocký , 2011. +# Petr Písař , 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome3 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 20:05+02:00\n" +"Last-Translator: Petr Pisar \n" +"Language-Team: Czech \n" +"Language: cs\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#: hello.c:78 hello2.c:86 +msgid "Hello world!" +msgstr "Ahoj, světe!" + +#: hello.c:80 hello2.c:88 +#, c-format +msgid "This program is running as process number %s." +msgstr "Tento program běží jako proces číslo %s." + +#: hello.c:84 hello2.c:92 +msgid "This is another text" +msgstr "Toto je nějaký další text" + +#: hello.c:86 hello2.c:94 +msgid "This is yet another text" +msgstr "Toto je nějaký ještě další text" + +#: hello.desktop.in.in:3 hello2.desktop.in.in:3 +msgid "Hello" +msgstr "Ahoj" + +#: hello.desktop.in.in:4 hello2.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Ahoj světe!" + +#: hello.ui:6 hello2.ui:6 +msgid "Example Application" +msgstr "Ukázková aplikace" + +#: hello.ui:34 hello2.ui:34 +msgid "Update text" +msgstr "Aktualizovat text" + +#: hello2.gschema.xml:8 +msgid "Use XML markup" +msgstr "Používat značkovací jazyk XML" + +#: hello2.gschema.xml:9 +msgid "Whether to use XML markup in the text." +msgstr "Zda v textu používat značkovací jazyk XML." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/da.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/da.po new file mode 100644 index 0000000000000000000000000000000000000000..34900fed0295fe80a51c06aed68355cc31809ce6 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/da.po @@ -0,0 +1,63 @@ +# Danish messages for hello-c-gnome3. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Jan Djærv , 2003, 2006. +# Keld Simonsen , 2011. +# Joe Hansen , 2015. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome3 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-06-27 12:39+0100\n" +"Last-Translator: Joe Hansen \n" +"Language-Team: Danish \n" +"Language: da\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.c:78 hello2.c:86 +#, fuzzy +msgid "Hello world!" +msgstr "Hej verden!" + +#: hello.c:80 hello2.c:88 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "Dette program kører som proces nummer %d." + +#: hello.c:84 hello2.c:92 +#, fuzzy +msgid "This is another text" +msgstr "Dette er en anden tekst" + +#: hello.c:86 hello2.c:94 +#, fuzzy +msgid "This is yet another text" +msgstr "Endnu en tekst" + +#: hello.desktop.in.in:3 hello2.desktop.in.in:3 +msgid "Hello" +msgstr "Hej" + +#: hello.desktop.in.in:4 hello2.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Hej verden!" + +#: hello.ui:6 hello2.ui:6 +msgid "Example Application" +msgstr "Eksempelprogram" + +#: hello.ui:34 hello2.ui:34 +msgid "Update text" +msgstr "Opdater tekst" + +#: hello2.gschema.xml:8 +msgid "Use XML markup" +msgstr "Brug XML-opmærkning" + +#: hello2.gschema.xml:9 +msgid "Whether to use XML markup in the text." +msgstr "Hvorvidt der skal bruges XML-opmærkning i teksten." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/de.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/de.po new file mode 100644 index 0000000000000000000000000000000000000000..5ee21525ceb33a0c37778ef470afa2f9ca4262bf --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/de.po @@ -0,0 +1,64 @@ +# German messages for hello-c-gnome3. +# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Bruno Haible , 2003. +# Karl Eichwalder , 2003. +# Jakob Kramer , 2013. +# Mario Blättermann , 2014, 2023, 2025. +# Philipp Thomas , 2015. +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome3 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 17:15+0200\n" +"Last-Translator: Mario Blättermann \n" +"Language-Team: German \n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 25.04.0\n" + +#: hello.c:78 hello2.c:86 +msgid "Hello world!" +msgstr "Hallo Welt!" + +#: hello.c:80 hello2.c:88 +#, c-format +msgid "This program is running as process number %s." +msgstr "Dieses Programm läuft mit der Prozess-Nummer %s." + +#: hello.c:84 hello2.c:92 +msgid "This is another text" +msgstr "Dies ist ein weiterer Text" + +#: hello.c:86 hello2.c:94 +msgid "This is yet another text" +msgstr "Dies ist noch ein weiterer Text" + +#: hello.desktop.in.in:3 hello2.desktop.in.in:3 +msgid "Hello" +msgstr "Hallo" + +#: hello.desktop.in.in:4 hello2.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Hallo Welt!" + +#: hello.ui:6 hello2.ui:6 +msgid "Example Application" +msgstr "Beispielanwendung" + +#: hello.ui:34 hello2.ui:34 +msgid "Update text" +msgstr "Text aktualisieren" + +#: hello2.gschema.xml:8 +msgid "Use XML markup" +msgstr "XML-Markup verwenden" + +#: hello2.gschema.xml:9 +msgid "Whether to use XML markup in the text." +msgstr "Ob XML-Markup im Text verwendet werden soll" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/el.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/el.po new file mode 100644 index 0000000000000000000000000000000000000000..f91d57ac938a03776b903dcc01b29860a3f6b08f --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/el.po @@ -0,0 +1,59 @@ +# Greek translation of hello-c-gnome3 +# Copyright (C) 2005 Free Software Foundation, Inc. +# Simos Xenitellis , 2005. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome3 0.14.1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2005-01-06 18:50+0000\n" +"Last-Translator: Simos Xenitellis \n" +"Language-Team: Greek \n" +"Language: el\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: KBabel 1.3.1\n" + +#: hello.c:78 hello2.c:86 +#, fuzzy +msgid "Hello world!" +msgstr "Γεια σου, κόσμε!" + +#: hello.c:80 hello2.c:88 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας %d." + +#: hello.c:84 hello2.c:92 +msgid "This is another text" +msgstr "" + +#: hello.c:86 hello2.c:94 +msgid "This is yet another text" +msgstr "" + +#: hello.desktop.in.in:3 hello2.desktop.in.in:3 +msgid "Hello" +msgstr "" + +#: hello.desktop.in.in:4 hello2.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Γεια σου, κόσμε!" + +#: hello.ui:6 hello2.ui:6 +msgid "Example Application" +msgstr "" + +#: hello.ui:34 hello2.ui:34 +msgid "Update text" +msgstr "" + +#: hello2.gschema.xml:8 +msgid "Use XML markup" +msgstr "" + +#: hello2.gschema.xml:9 +msgid "Whether to use XML markup in the text." +msgstr "" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/eo.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/eo.po new file mode 100644 index 0000000000000000000000000000000000000000..8a951e70c0dfa900af5ddcb7e8afbc361944a120 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/eo.po @@ -0,0 +1,63 @@ +# La teksto por la mesaĝoj de la programo "gettext". +# Copyright (C) 2006, 2016 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Edmund GRIMLEY EVANS , 2006. +# Felipe CASTRO , 2016, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome3 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-23 19:00-0300\n" +"Last-Translator: Felipe Castro \n" +"Language-Team: Esperanto \n" +"Language: eo\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.c:78 hello2.c:86 +#, fuzzy +msgid "Hello world!" +msgstr "Saluton, mondo!" + +#: hello.c:80 hello2.c:88 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "Ĉi tiu programo rulas kiel procez-numero %d." + +#: hello.c:84 hello2.c:92 +#, fuzzy +msgid "This is another text" +msgstr "Tio ĉi estas alia teksto" + +#: hello.c:86 hello2.c:94 +#, fuzzy +msgid "This is yet another text" +msgstr "Tio ĉi estas pli alia teksto" + +#: hello.desktop.in.in:3 hello2.desktop.in.in:3 +msgid "Hello" +msgstr "Saluton" + +#: hello.desktop.in.in:4 hello2.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Saluton, mondo!" + +#: hello.ui:6 hello2.ui:6 +msgid "Example Application" +msgstr "Ekzempla aplikaĵo" + +#: hello.ui:34 hello2.ui:34 +msgid "Update text" +msgstr "Ĝisdatigi tekston" + +#: hello2.gschema.xml:8 +msgid "Use XML markup" +msgstr "Uzi marklingvon XML" + +#: hello2.gschema.xml:9 +msgid "Whether to use XML markup in the text." +msgstr "Ĉu uzi marklingvon XML en la teksto." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/es.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/es.po new file mode 100644 index 0000000000000000000000000000000000000000..b0b7d27c91f39668ed31610ad7709d6e408c2720 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/es.po @@ -0,0 +1,62 @@ +# Mensajes en español para GNU gettext. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# +# This file is distributed under the same license as the gettext package. +# +# Max de Mendizábal , 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004. +# Antonio Ceballos , 2014, 2015, 2023, 2025 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome3-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-02-23 17:01+0100\n" +"Last-Translator: Antonio Ceballos \n" +"Language-Team: Spanish \n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.c:78 hello2.c:86 +msgid "Hello world!" +msgstr "¡Hola, mundo!" + +#: hello.c:80 hello2.c:88 +#, c-format +msgid "This program is running as process number %s." +msgstr "Este programa está corriendo como el proceso número %s." + +#: hello.c:84 hello2.c:92 +msgid "This is another text" +msgstr "Este es otro texto" + +#: hello.c:86 hello2.c:94 +msgid "This is yet another text" +msgstr "Este es otro texto más" + +#: hello.desktop.in.in:3 hello2.desktop.in.in:3 +msgid "Hello" +msgstr "Hola" + +#: hello.desktop.in.in:4 hello2.desktop.in.in:4 +msgid "Hello, world!" +msgstr "¡Hola, mundo!" + +#: hello.ui:6 hello2.ui:6 +msgid "Example Application" +msgstr "Ejemplo de aplicación" + +#: hello.ui:34 hello2.ui:34 +msgid "Update text" +msgstr "Actualizar texto" + +#: hello2.gschema.xml:8 +msgid "Use XML markup" +msgstr "Utilizar etiquetas XML" + +#: hello2.gschema.xml:9 +msgid "Whether to use XML markup in the text." +msgstr "Si utilizar etiquetas XML en el texto." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/fi.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/fi.po new file mode 100644 index 0000000000000000000000000000000000000000..1cee7d15b0e51c04c6d2d8de3bf6a45d0d450f97 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/fi.po @@ -0,0 +1,65 @@ +# Finnish messages for GNU Gettext examples. +# This file is distributed under the same license as the gettext package. +# Copyright © 2007, 2014, 2015 Yoyodyne, Inc. (msgids) +# Lauri Nurmi , 2007. +# Jorma Karvonen , 2014-2015. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome3 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-09-01 16:59+0300\n" +"Last-Translator: Jorma Karvonen \n" +"Language-Team: Finnish \n" +"Language: fi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 1.5.4\n" + +# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti. +#: hello.c:78 hello2.c:86 +#, fuzzy +msgid "Hello world!" +msgstr "Terve maailma!" + +#: hello.c:80 hello2.c:88 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "Tämän ohjelman prosessinumero on %d." + +#: hello.c:84 hello2.c:92 +#, fuzzy +msgid "This is another text" +msgstr "Tämä on toinen teksti" + +#: hello.c:86 hello2.c:94 +#, fuzzy +msgid "This is yet another text" +msgstr "Tämä on vielä toinen teksti" + +#: hello.desktop.in.in:3 hello2.desktop.in.in:3 +msgid "Hello" +msgstr "Hei" + +# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti. +#: hello.desktop.in.in:4 hello2.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Terve maailma!" + +#: hello.ui:6 hello2.ui:6 +msgid "Example Application" +msgstr "Esimerkkisovellus" + +#: hello.ui:34 hello2.ui:34 +msgid "Update text" +msgstr "Päivitä teksti" + +#: hello2.gschema.xml:8 +msgid "Use XML markup" +msgstr "Käytä XML-merkintäkieltä" + +#: hello2.gschema.xml:9 +msgid "Whether to use XML markup in the text." +msgstr "Käytetäänkö XML-merkintäkieltä tekstissä." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/fr.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/fr.po new file mode 100644 index 0000000000000000000000000000000000000000..a262890c6603cefa1dfd229caefc1b76f8a52d42 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/fr.po @@ -0,0 +1,67 @@ +# Messages français pour GNU gettext. +# Copyright (C) 2006 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Michel Robitaille , 2006. +# Christophe Combelles , 2006 +# Stéphane Aulery , 2015 +# Christian Wiatr , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome3 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-28 16:25+0200\n" +"Last-Translator: Christian Wiatr \n" +"Language-Team: French \n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.c:78 hello2.c:86 +#, fuzzy +msgid "Hello world!" +msgstr "Bonjour, le monde !" + +#: hello.c:80 hello2.c:88 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "Ce programme est exécuté en tant que processus numéro %d." + +#: hello.c:84 hello2.c:92 +#, fuzzy +msgid "This is another text" +msgstr "Ceci est un autre texte" + +#: hello.c:86 hello2.c:94 +#, fuzzy +msgid "This is yet another text" +msgstr "Ceci est encore un autre texte" + +#: hello.desktop.in.in:3 hello2.desktop.in.in:3 +msgid "Hello" +msgstr "Bonjour" + +#: hello.desktop.in.in:4 hello2.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Bonjour, le monde !" + +#: hello.ui:6 hello2.ui:6 +msgid "Example Application" +msgstr "Application d’exemple" + +#: hello.ui:34 hello2.ui:34 +msgid "Update text" +msgstr "Actualiser le texte" + +#: hello2.gschema.xml:8 +msgid "Use XML markup" +msgstr "Utiliser le balisage XML" + +#: hello2.gschema.xml:9 +msgid "Whether to use XML markup in the text." +msgstr "De quelle manière utiliser le balisage XML dans le texte." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/ga.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/ga.po new file mode 100644 index 0000000000000000000000000000000000000000..18f317cc4dd8d308c532e2fab82a5964486ce897 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/ga.po @@ -0,0 +1,61 @@ +# Irish translations for hello-c-gnome3. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Kevin Patrick Scannell , 2004, 2017. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome3 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2017-01-10 12:09-0500\n" +"Last-Translator: Kevin Patrick Scannell \n" +"Language-Team: Irish \n" +"Language: ga\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.c:78 hello2.c:86 +#, fuzzy +msgid "Hello world!" +msgstr "Dia duit, a dhomhain!" + +#: hello.c:80 hello2.c:88 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "Tá an clár seo ag rith mar phróiseas %d." + +#: hello.c:84 hello2.c:92 +#, fuzzy +msgid "This is another text" +msgstr "Seo é téacs eile" + +#: hello.c:86 hello2.c:94 +#, fuzzy +msgid "This is yet another text" +msgstr "Seo é téacs eile fós" + +#: hello.desktop.in.in:3 hello2.desktop.in.in:3 +msgid "Hello" +msgstr "Dia dhuit" + +#: hello.desktop.in.in:4 hello2.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Dia duit, a dhomhain!" + +#: hello.ui:6 hello2.ui:6 +msgid "Example Application" +msgstr "Feidhmchlár Samplach" + +#: hello.ui:34 hello2.ui:34 +msgid "Update text" +msgstr "Nuashonraigh an téacs" + +#: hello2.gschema.xml:8 +msgid "Use XML markup" +msgstr "Úsáid marcáil XML" + +#: hello2.gschema.xml:9 +msgid "Whether to use XML markup in the text." +msgstr "An úsáidfear marcáil XML sa téacs." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/gl.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/gl.po new file mode 100644 index 0000000000000000000000000000000000000000..3baa83cede78e9e45b01a74470f969eb375f8c30 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/gl.po @@ -0,0 +1,64 @@ +# Galician translation for hello-c-gnome3 package. +# Copyright (C) 2010 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Leandro Regueiro , 2010-2014. +# +# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas +# colaborar connosco, podes atopar máis información en +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome3 0.19-rc1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2014-05-10 16:34+0100\n" +"Last-Translator: Leandro Regueiro \n" +"Language-Team: Galician \n" +"Language: gl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n!=1);\n" + +#: hello.c:78 hello2.c:86 +#, fuzzy +msgid "Hello world!" +msgstr "Ola, mundo!" + +#: hello.c:80 hello2.c:88 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "Este programa estase executando como o proceso número %d." + +#: hello.c:84 hello2.c:92 +msgid "This is another text" +msgstr "" + +#: hello.c:86 hello2.c:94 +msgid "This is yet another text" +msgstr "" + +#: hello.desktop.in.in:3 hello2.desktop.in.in:3 +msgid "Hello" +msgstr "" + +#: hello.desktop.in.in:4 hello2.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Ola, mundo!" + +#: hello.ui:6 hello2.ui:6 +msgid "Example Application" +msgstr "Aplicativo de exemplo" + +#: hello.ui:34 hello2.ui:34 +msgid "Update text" +msgstr "" + +#: hello2.gschema.xml:8 +msgid "Use XML markup" +msgstr "" + +#: hello2.gschema.xml:9 +msgid "Whether to use XML markup in the text." +msgstr "" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/hr.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/hr.po new file mode 100644 index 0000000000000000000000000000000000000000..4db668067ddf943be21dbc065be3216cece6e766 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/hr.po @@ -0,0 +1,65 @@ +# Translation of hello-c-gnome3 to Croatian. +# Copyright (C) 2003, 2004, 2014, 2015, 2019 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Permission is granted to freely copy and distribute +# this file and modified versions, provided that this +# header is not removed and modified versions are marked +# as such. +# +# Tomislav Krznar , 2012. +# Božidar Putanec , 2018-2025. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c-gnome3 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 10:15-0700\n" +"Last-Translator: Božidar Putanec \n" +"Language-Team: Croatian \n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.c:78 hello2.c:86 +msgid "Hello world!" +msgstr "Pozdrav svijete!" + +#: hello.c:80 hello2.c:88 +#, c-format +msgid "This program is running as process number %s." +msgstr "Ovaj program se izvršava kao proces broj %s" + +#: hello.c:84 hello2.c:92 +msgid "This is another text" +msgstr "Ovo je drugi tekstr" + +#: hello.c:86 hello2.c:94 +msgid "This is yet another text" +msgstr "Ovo je još jedan tekst" + +#: hello.desktop.in.in:3 hello2.desktop.in.in:3 +msgid "Hello" +msgstr "Pozdrav" + +#: hello.desktop.in.in:4 hello2.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Pozdrav, svijete!" + +#: hello.ui:6 hello2.ui:6 +msgid "Example Application" +msgstr "Primjer primjene" + +#: hello.ui:34 hello2.ui:34 +msgid "Update text" +msgstr "Ažuiranje teksta" + +#: hello2.gschema.xml:8 +msgid "Use XML markup" +msgstr "Koristi XML markup oznake" + +#: hello2.gschema.xml:9 +msgid "Whether to use XML markup in the text." +msgstr "Treba li koristiti XML markup u tekstu" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/hu.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/hu.po new file mode 100644 index 0000000000000000000000000000000000000000..27e9e1f7f36d4ba6dfd7d723915f4650f253b839 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/hu.po @@ -0,0 +1,64 @@ +# Hungarian translation for hello-c-gnome3. +# This file is distributed under the same license as the gettext package. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# +# Tamás Kiss , 2005. +# Balázs Úr , 2014, 2015. +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome3 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-06-23 20:31+0200\n" +"Last-Translator: Balázs Úr \n" +"Language-Team: Hungarian \n" +"Language: hu\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 1.2\n" + +#: hello.c:78 hello2.c:86 +#, fuzzy +msgid "Hello world!" +msgstr "Hello, világ!" + +#: hello.c:80 hello2.c:88 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "Ez a program a(z) %d folyamatazonosítóval fut." + +#: hello.c:84 hello2.c:92 +#, fuzzy +msgid "This is another text" +msgstr "Ez egy másik szöveg" + +#: hello.c:86 hello2.c:94 +#, fuzzy +msgid "This is yet another text" +msgstr "Ez megint egy másik szöveg" + +#: hello.desktop.in.in:3 hello2.desktop.in.in:3 +msgid "Hello" +msgstr "Helló" + +#: hello.desktop.in.in:4 hello2.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Hello, világ!" + +#: hello.ui:6 hello2.ui:6 +msgid "Example Application" +msgstr "Példa alkalmazás" + +#: hello.ui:34 hello2.ui:34 +msgid "Update text" +msgstr "Szöveg frissítése" + +#: hello2.gschema.xml:8 +msgid "Use XML markup" +msgstr "XML-jelölőnyelv használata" + +#: hello2.gschema.xml:9 +msgid "Whether to use XML markup in the text." +msgstr "Használjon-e XML-jelölőnyelvet a szövegben." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/id.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/id.po new file mode 100644 index 0000000000000000000000000000000000000000..f8ddcc776ffd138aef074aa1309979eb034b4562 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/id.po @@ -0,0 +1,60 @@ +# translation of hello-c-gnome3-0.15-pre5.po to Indonesian +# Copyright (C) 2006 Yoyodyne, Inc. +# This file is distributed under the same license as the PACKAGE package. +# +# Tedi Heriyanto , 2006. +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome3-0.15-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2006-09-27 20:19+0700\n" +"Last-Translator: Tedi Heriyanto \n" +"Language-Team: Indonesian \n" +"Language: id\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: KBabel 1.11.2\n" + +#: hello.c:78 hello2.c:86 +#, fuzzy +msgid "Hello world!" +msgstr "Hello, world!" + +#: hello.c:80 hello2.c:88 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "Program ini berjalan sebagai proses nomor %d" + +#: hello.c:84 hello2.c:92 +msgid "This is another text" +msgstr "" + +#: hello.c:86 hello2.c:94 +msgid "This is yet another text" +msgstr "" + +#: hello.desktop.in.in:3 hello2.desktop.in.in:3 +msgid "Hello" +msgstr "" + +#: hello.desktop.in.in:4 hello2.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Hello, world!" + +#: hello.ui:6 hello2.ui:6 +msgid "Example Application" +msgstr "" + +#: hello.ui:34 hello2.ui:34 +msgid "Update text" +msgstr "" + +#: hello2.gschema.xml:8 +msgid "Use XML markup" +msgstr "" + +#: hello2.gschema.xml:9 +msgid "Whether to use XML markup in the text." +msgstr "" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/it.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/it.po new file mode 100644 index 0000000000000000000000000000000000000000..785898bd027e9c343028800cb039e08d8eef9db8 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/it.po @@ -0,0 +1,61 @@ +# Italian messages for hello-c-gnome3. +# Copyright (C) 2005, 2006 Yoyodyne, Inc. (msgids) +# Copyright (C) 2024 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Marco Colombo , 2005, 2006, 2015. +# Michele Locati , 2024, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c-gnome3 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-04 18:28+0200\n" +"Last-Translator: Michele Locati \n" +"Language-Team: Italian \n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.c:78 hello2.c:86 +msgid "Hello world!" +msgstr "Ciao mondo!" + +#: hello.c:80 hello2.c:88 +#, c-format +msgid "This program is running as process number %s." +msgstr "Questo programma è in esecuzione con numero di processo %s." + +#: hello.c:84 hello2.c:92 +msgid "This is another text" +msgstr "Questo è un altro testo" + +#: hello.c:86 hello2.c:94 +msgid "This is yet another text" +msgstr "Questo è un altro testo ancora" + +#: hello.desktop.in.in:3 hello2.desktop.in.in:3 +msgid "Hello" +msgstr "Ciao" + +#: hello.desktop.in.in:4 hello2.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Ciao, mondo!" + +#: hello.ui:6 hello2.ui:6 +msgid "Example Application" +msgstr "Applicazione di esempio" + +#: hello.ui:34 hello2.ui:34 +msgid "Update text" +msgstr "Aggiorna testo" + +#: hello2.gschema.xml:8 +msgid "Use XML markup" +msgstr "Usa il markup XML" + +#: hello2.gschema.xml:9 +msgid "Whether to use XML markup in the text." +msgstr "Se usare il markup XML nel testo." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/ja.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/ja.po new file mode 100644 index 0000000000000000000000000000000000000000..0fe38cc068cbd6b88a5514b2a151f67405bedea2 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/ja.po @@ -0,0 +1,58 @@ +# Translation of `hello-c-gnome3' messages to Japanese. +# Copyright (C) 2005, 2006, 2014, 2015, 2023, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Masahito Yamaga , 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c-gnome3 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 19:59+0900\n" +"Last-Translator: Masahito Yamaga \n" +"Language-Team: Japanese \n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.c:78 hello2.c:86 +msgid "Hello world!" +msgstr "世界よ こんにちは!" + +#: hello.c:80 hello2.c:88 +#, c-format +msgid "This program is running as process number %s." +msgstr "このプログラムはプロセス番号 %s で動いています." + +#: hello.c:84 hello2.c:92 +msgid "This is another text" +msgstr "これはもう一つのテキストです" + +#: hello.c:86 hello2.c:94 +msgid "This is yet another text" +msgstr "これはさらにもう一つのテキストです" + +#: hello.desktop.in.in:3 hello2.desktop.in.in:3 +msgid "Hello" +msgstr "こんにちは" + +#: hello.desktop.in.in:4 hello2.desktop.in.in:4 +msgid "Hello, world!" +msgstr "世界よ, こんにちは!" + +#: hello.ui:6 hello2.ui:6 +msgid "Example Application" +msgstr "実例応用" + +#: hello.ui:34 hello2.ui:34 +msgid "Update text" +msgstr "テキストを更新" + +#: hello2.gschema.xml:8 +msgid "Use XML markup" +msgstr "XMLマークアップを使用" + +#: hello2.gschema.xml:9 +msgid "Whether to use XML markup in the text." +msgstr "テキスト内でXMLマークアップを使うか否か" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/ka.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/ka.po new file mode 100644 index 0000000000000000000000000000000000000000..50746736ac1e1546eed0370ec360fb2c5d071141 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/ka.po @@ -0,0 +1,63 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Temuri Doghonadze , 2022. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome3 0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2022-05-22 05:04+0200\n" +"Last-Translator: Temuri Doghonadze \n" +"Language-Team: Georgian <(nothing)>\n" +"Language: ka\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 3.0.1\n" + +#: hello.c:78 hello2.c:86 +#, fuzzy +msgid "Hello world!" +msgstr "გამარჯობა სამყაროვ!" + +#: hello.c:80 hello2.c:88 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "პროგრამა გაშვებულია პროცესის ნომრით %d." + +#: hello.c:84 hello2.c:92 +#, fuzzy +msgid "This is another text" +msgstr "ეს კი სხვა ტექსტია" + +#: hello.c:86 hello2.c:94 +#, fuzzy +msgid "This is yet another text" +msgstr "ეს კიდევ უფრო სხვაა" + +#: hello.desktop.in.in:3 hello2.desktop.in.in:3 +msgid "Hello" +msgstr "გამარჯობა" + +#: hello.desktop.in.in:4 hello2.desktop.in.in:4 +msgid "Hello, world!" +msgstr "გამარჯობა სამყაროვ!" + +#: hello.ui:6 hello2.ui:6 +msgid "Example Application" +msgstr "მაგალითი აპლიკაცია" + +#: hello.ui:34 hello2.ui:34 +msgid "Update text" +msgstr "ტექსტის განახლება" + +#: hello2.gschema.xml:8 +msgid "Use XML markup" +msgstr "XML მარკირების გამოყენება" + +#: hello2.gschema.xml:9 +msgid "Whether to use XML markup in the text." +msgstr "გამოიყენოთ თუ არა XML მარკირება ტექსტში." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/ky.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/ky.po new file mode 100644 index 0000000000000000000000000000000000000000..40d69eacfd739df221ef7f74676bffc8dec025c5 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/ky.po @@ -0,0 +1,63 @@ +# Translation of 'hello-c-gnome3' messages to Kirghiz. +# Copyright (C) 2004 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Ilyas Bakirov , 2007. +# Ilyas Bakirov , 2018. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome3 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2018-02-15 18:26+0600\n" +"Last-Translator: Ilyas Bakirov \n" +"Language-Team: Kirghiz \n" +"Language: ky\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 2.0.6\n" + +#: hello.c:78 hello2.c:86 +#, fuzzy +msgid "Hello world!" +msgstr "Салам дүйнө!" + +#: hello.c:80 hello2.c:88 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "Бул программа %d процесс номери катары иштеп жатат." + +#: hello.c:84 hello2.c:92 +#, fuzzy +msgid "This is another text" +msgstr "Дагы бир текст" + +#: hello.c:86 hello2.c:94 +#, fuzzy +msgid "This is yet another text" +msgstr "Жана дагы бир текст" + +#: hello.desktop.in.in:3 hello2.desktop.in.in:3 +msgid "Hello" +msgstr "Салам" + +#: hello.desktop.in.in:4 hello2.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Салам дүйнө!" + +#: hello.ui:6 hello2.ui:6 +msgid "Example Application" +msgstr "Мисал программа" + +#: hello.ui:34 hello2.ui:34 +msgid "Update text" +msgstr "Текстти жаңылоо" + +#: hello2.gschema.xml:8 +msgid "Use XML markup" +msgstr "XML белгени колдонуу" + +#: hello2.gschema.xml:9 +msgid "Whether to use XML markup in the text." +msgstr "Текст ичинле XML белги эсепке алынсынбы." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/lv.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/lv.po new file mode 100644 index 0000000000000000000000000000000000000000..01f12c0b41a2c7eaa34c26a6b05331dd2733a0c8 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/lv.po @@ -0,0 +1,62 @@ +# Latvian translation of hello-c-gnome3 +# Copyright (C) 2009 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Arvis Lācis , 2009. +# Rihards Priedītis , 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome3-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-09 11:44+0000\n" +"Last-Translator: Rihards Priedītis \n" +"Language-Team: Latvian \n" +"Language: lv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : " +"2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.c:78 hello2.c:86 +msgid "Hello world!" +msgstr "Sveika, pasaule!" + +#: hello.c:80 hello2.c:88 +#, c-format +msgid "This program is running as process number %s." +msgstr "Šī programma darbojas ar procesa numuru %s." + +#: hello.c:84 hello2.c:92 +msgid "This is another text" +msgstr "Šis ir vēl viens teksts" + +#: hello.c:86 hello2.c:94 +msgid "This is yet another text" +msgstr "Šis ir arī vēl viens teksts" + +#: hello.desktop.in.in:3 hello2.desktop.in.in:3 +msgid "Hello" +msgstr "Sveiki" + +#: hello.desktop.in.in:4 hello2.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Sveika, pasaule!" + +#: hello.ui:6 hello2.ui:6 +msgid "Example Application" +msgstr "Parauga Lietotne" + +#: hello.ui:34 hello2.ui:34 +msgid "Update text" +msgstr "Atjaunināt tekstu" + +#: hello2.gschema.xml:8 +msgid "Use XML markup" +msgstr "Izmantot XML marķēšanu" + +#: hello2.gschema.xml:9 +msgid "Whether to use XML markup in the text." +msgstr "Vai tekstā izmantot XML marķēšanu." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/ms.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/ms.po new file mode 100644 index 0000000000000000000000000000000000000000..5ce34c224f7d9d93ee654e61df568326c0113a09 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/ms.po @@ -0,0 +1,60 @@ +# hello-c-gnome3 Bahasa Melayu (Malay) (ms). +# Copyright (C) 2006, 2015, 2023, 2025 Yoyodyne, Inc. (msgids) +# Copyright (C) 2006, 2015, 2023, 2025 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Sharuzzaman Ahmat Raslan , 2006, 2015, 2023, 2025 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome3 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-03 21:10+0800\n" +"Last-Translator: Sharuzzaman Ahmat Raslan \n" +"Language-Team: Malay \n" +"Language: ms\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.c:78 hello2.c:86 +msgid "Hello world!" +msgstr "Hello dunia!" + +#: hello.c:80 hello2.c:88 +#, c-format +msgid "This program is running as process number %s." +msgstr "Program ini dilaksanakan sebagai proses bernombor %s." + +#: hello.c:84 hello2.c:92 +msgid "This is another text" +msgstr "Ini adalah teks lain" + +#: hello.c:86 hello2.c:94 +msgid "This is yet another text" +msgstr "Ini adalah satu lagi teks lain" + +#: hello.desktop.in.in:3 hello2.desktop.in.in:3 +msgid "Hello" +msgstr "Hello" + +#: hello.desktop.in.in:4 hello2.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Hello, dunia!" + +#: hello.ui:6 hello2.ui:6 +msgid "Example Application" +msgstr "Contoh Aplikasi" + +#: hello.ui:34 hello2.ui:34 +msgid "Update text" +msgstr "Kemaskini teks" + +#: hello2.gschema.xml:8 +msgid "Use XML markup" +msgstr "Guna penanda XML" + +#: hello2.gschema.xml:9 +msgid "Whether to use XML markup in the text." +msgstr "Sama ada untuk menggunakan penanda XML dalam teks." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/mt.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/mt.po new file mode 100644 index 0000000000000000000000000000000000000000..e9f052f78f40cc13e10e26f41d110ec27a9325f8 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/mt.po @@ -0,0 +1,60 @@ +# hello-c-gnome3-0.16.2-pre5. +# Copyright (C) 2008 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Clyde Meli , 2001-2008. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome3 0.16.2-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2008-11-18 17:27+0100\n" +"Last-Translator: Clyde Meli \n" +"Language-Team: Maltese \n" +"Language: mt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.c:78 hello2.c:86 +#, fuzzy +msgid "Hello world!" +msgstr "Hello, lil kulħadd!" + +#: hello.c:80 hello2.c:88 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "Dal-programm qed jaħdem taħt il-proċess numru %d." + +#: hello.c:84 hello2.c:92 +msgid "This is another text" +msgstr "" + +#: hello.c:86 hello2.c:94 +msgid "This is yet another text" +msgstr "" + +#: hello.desktop.in.in:3 hello2.desktop.in.in:3 +msgid "Hello" +msgstr "" + +#: hello.desktop.in.in:4 hello2.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Hello, lil kulħadd!" + +#: hello.ui:6 hello2.ui:6 +msgid "Example Application" +msgstr "" + +#: hello.ui:34 hello2.ui:34 +msgid "Update text" +msgstr "" + +#: hello2.gschema.xml:8 +msgid "Use XML markup" +msgstr "" + +#: hello2.gschema.xml:9 +msgid "Whether to use XML markup in the text." +msgstr "" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/nb.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/nb.po new file mode 100644 index 0000000000000000000000000000000000000000..b980a41d25435206106d12c0f1e25faf86da1c03 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/nb.po @@ -0,0 +1,64 @@ +# Norwegian Bokmal translations for hello-c-gnome3 package. +# Copyright (C) 2012 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Johnny A. Solbu , 2012-2024 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome3 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-01-06 16:33+0100\n" +"Last-Translator: Johnny A. Solbu \n" +"Language-Team: Norwegian Bokmaal \n" +"Language: nb\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.c:78 hello2.c:86 +#, fuzzy +msgid "Hello world!" +msgstr "Hallo verden!" + +#: hello.c:80 hello2.c:88 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "Dette programmet kjører som prosess nummer %d." + +#: hello.c:84 hello2.c:92 +#, fuzzy +msgid "This is another text" +msgstr "Dette er en annen tekst" + +#: hello.c:86 hello2.c:94 +#, fuzzy +msgid "This is yet another text" +msgstr "Dette er enda en tekst" + +#: hello.desktop.in.in:3 hello2.desktop.in.in:3 +msgid "Hello" +msgstr "Hallo" + +#: hello.desktop.in.in:4 hello2.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Hallo verden!" + +#: hello.ui:6 hello2.ui:6 +msgid "Example Application" +msgstr "Eksempelprogram" + +#: hello.ui:34 hello2.ui:34 +msgid "Update text" +msgstr "Oppdater tekst" + +#: hello2.gschema.xml:8 +msgid "Use XML markup" +msgstr "Bruk XML-formatering" + +#: hello2.gschema.xml:9 +msgid "Whether to use XML markup in the text." +msgstr "Om det skal bruke XML-formatering i teksten." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/nl.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/nl.po new file mode 100644 index 0000000000000000000000000000000000000000..7562939e3a1805c0664423c5cb4527d0e6e49637 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/nl.po @@ -0,0 +1,63 @@ +# Dutch translations for GNU hello-c-gnome3. +# Copyright (C) 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# "There are three basic rules for writing a novel. +# Unfortunately nobody knows what they are." +# +# Benno Schulenberg , 2007, 2014, 2015, 2019, 2025. +# Elros Cyriatan , 2004. +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome3-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-01 14:51+0100\n" +"Last-Translator: Benno Schulenberg \n" +"Language-Team: Dutch \n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.c:78 hello2.c:86 +msgid "Hello world!" +msgstr "Hallo wereld!" + +#: hello.c:80 hello2.c:88 +#, c-format +msgid "This program is running as process number %s." +msgstr "Dit programma draait als proces nummer %s." + +#: hello.c:84 hello2.c:92 +msgid "This is another text" +msgstr "Dit is een andere tekst" + +#: hello.c:86 hello2.c:94 +msgid "This is yet another text" +msgstr "Dit is nog weer een andere tekst" + +#: hello.desktop.in.in:3 hello2.desktop.in.in:3 +msgid "Hello" +msgstr "Hallo" + +#: hello.desktop.in.in:4 hello2.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Hallo, wereld!" + +#: hello.ui:6 hello2.ui:6 +msgid "Example Application" +msgstr "Voorbeeldtoepassing" + +#: hello.ui:34 hello2.ui:34 +msgid "Update text" +msgstr "Tekst bijwerken" + +#: hello2.gschema.xml:8 +msgid "Use XML markup" +msgstr "XML-markup gebruiken" + +#: hello2.gschema.xml:9 +msgid "Whether to use XML markup in the text." +msgstr "Of er XML-markup gebruikt moet worden in de tekst." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/nn.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/nn.po new file mode 100644 index 0000000000000000000000000000000000000000..790a9ba25869f8b0977172c9b502bc4a7326ca17 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/nn.po @@ -0,0 +1,63 @@ +# Norwegian Nynorsk translation of GNU hello-c-gnome3 +# Copyright (C) 2020 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Karl Ove Hufthammer , 2020. +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome3-0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2020-05-04 18:58+0200\n" +"Last-Translator: Karl Ove Hufthammer \n" +"Language-Team: Norwegian Nynorsk \n" +"Language: nn\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 20.04.0\n" + +#: hello.c:78 hello2.c:86 +#, fuzzy +msgid "Hello world!" +msgstr "Hei, verda!" + +#: hello.c:80 hello2.c:88 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "Dette programmet køyrer som prosess nummer %d." + +#: hello.c:84 hello2.c:92 +#, fuzzy +msgid "This is another text" +msgstr "Dette er ein annan tekst" + +#: hello.c:86 hello2.c:94 +#, fuzzy +msgid "This is yet another text" +msgstr "Her er endå ein tekst" + +#: hello.desktop.in.in:3 hello2.desktop.in.in:3 +msgid "Hello" +msgstr "Hei" + +#: hello.desktop.in.in:4 hello2.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Hei, verda!" + +#: hello.ui:6 hello2.ui:6 +msgid "Example Application" +msgstr "Eksempelprogram" + +#: hello.ui:34 hello2.ui:34 +msgid "Update text" +msgstr "Oppdater tekst" + +#: hello2.gschema.xml:8 +msgid "Use XML markup" +msgstr "Bruk XML-oppmerking" + +#: hello2.gschema.xml:9 +msgid "Whether to use XML markup in the text." +msgstr "Om det skal brukast XML-oppmerking i teksten." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/pl.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/pl.po new file mode 100644 index 0000000000000000000000000000000000000000..2c950f14a527733eab29569c20d2e2a4b17db41d --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/pl.po @@ -0,0 +1,59 @@ +# Polish translations for the GNU gettext messages, hello-c-gnome3 domain +# Copyright (C) 2010, 2014, 2015, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Rafał Maszkowski , 2003, 2010, 2014, 2015, 2025 +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c-gnome3 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-25 17:16+0200\n" +"Last-Translator: Rafał Maszkowski \n" +"Language-Team: Polish \n" +"Language: pl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8-bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " +"|| n%100>=20) ? 1 : 2);\n" + +#: hello.c:78 hello2.c:86 +msgid "Hello world!" +msgstr "Cześć, świecie!" + +#: hello.c:80 hello2.c:88 +#, c-format +msgid "This program is running as process number %s." +msgstr "Ten program działa jako proces o numerze %s." + +#: hello.c:84 hello2.c:92 +msgid "This is another text" +msgstr "To jest inny tekst" + +#: hello.c:86 hello2.c:94 +msgid "This is yet another text" +msgstr "To jest jeszcze inny tekst" + +#: hello.desktop.in.in:3 hello2.desktop.in.in:3 +msgid "Hello" +msgstr "Cześć" + +#: hello.desktop.in.in:4 hello2.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Cześć, świecie!" + +#: hello.ui:6 hello2.ui:6 +msgid "Example Application" +msgstr "Program przykładowy" + +#: hello.ui:34 hello2.ui:34 +msgid "Update text" +msgstr "Aktualizacja tekstu" + +#: hello2.gschema.xml:8 +msgid "Use XML markup" +msgstr "Użycie znaczników XML" + +#: hello2.gschema.xml:9 +msgid "Whether to use XML markup in the text." +msgstr "Czy użyć znaczników XML w tekście." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/pt.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/pt.po new file mode 100644 index 0000000000000000000000000000000000000000..ed6e84b948ef57577338a1551f8e5ab56b3b2c41 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/pt.po @@ -0,0 +1,60 @@ +# Portuguese (Portugal) translation of 'hello-c-gnome3' package. +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Pedro Albuquerque , 2019, 2020, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome3 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 11:24+0100\n" +"Last-Translator: Pedro Albuquerque \n" +"Language-Team: Portuguese \n" +"Language: pt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\\n;\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.6\n" + +#: hello.c:78 hello2.c:86 +msgid "Hello world!" +msgstr "Olá mundo!" + +#: hello.c:80 hello2.c:88 +#, c-format +msgid "This program is running as process number %s." +msgstr "Este programa está em execução como processo nº %s." + +#: hello.c:84 hello2.c:92 +msgid "This is another text" +msgstr "Este é outro texto" + +#: hello.c:86 hello2.c:94 +msgid "This is yet another text" +msgstr "Eis ainda outro texto" + +#: hello.desktop.in.in:3 hello2.desktop.in.in:3 +msgid "Hello" +msgstr "Olá" + +#: hello.desktop.in.in:4 hello2.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Olá mundo!" + +#: hello.ui:6 hello2.ui:6 +msgid "Example Application" +msgstr "Aplicação exemplo" + +#: hello.ui:34 hello2.ui:34 +msgid "Update text" +msgstr "Actualizar texto" + +#: hello2.gschema.xml:8 +msgid "Use XML markup" +msgstr "Usar marcação XML" + +#: hello2.gschema.xml:9 +msgid "Whether to use XML markup in the text." +msgstr "Se se deve usar marcação XML no texto." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/pt_BR.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/pt_BR.po new file mode 100644 index 0000000000000000000000000000000000000000..3bb6563cd4ab702bfb2d736816c6ab330f38de77 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/pt_BR.po @@ -0,0 +1,63 @@ +# Brazilian Portuguese translations for gettext-example +# Traduções em português brasileiro para gettext-example +# Copyright (C) 2025 Yoyodyne, Inc. (msgids) +# Copyright (C) 2025 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Rafael Fontenelle , 2013-2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome3 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 10:24-0300\n" +"Last-Translator: Rafael Fontenelle \n" +"Language-Team: Brazilian Portuguese \n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Gtranslator 48.0\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.c:78 hello2.c:86 +msgid "Hello world!" +msgstr "Olá mundo!" + +#: hello.c:80 hello2.c:88 +#, c-format +msgid "This program is running as process number %s." +msgstr "Este programa está sendo executado com número de processo %s." + +#: hello.c:84 hello2.c:92 +msgid "This is another text" +msgstr "Este é outro texto" + +#: hello.c:86 hello2.c:94 +msgid "This is yet another text" +msgstr "Este também é outro texto" + +#: hello.desktop.in.in:3 hello2.desktop.in.in:3 +msgid "Hello" +msgstr "Olá" + +#: hello.desktop.in.in:4 hello2.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Olá, mundo!" + +#: hello.ui:6 hello2.ui:6 +msgid "Example Application" +msgstr "Aplicativo exemplo" + +#: hello.ui:34 hello2.ui:34 +msgid "Update text" +msgstr "Atualizar texto" + +#: hello2.gschema.xml:8 +msgid "Use XML markup" +msgstr "Usar marcação XML" + +#: hello2.gschema.xml:9 +msgid "Whether to use XML markup in the text." +msgstr "Se deve ser usada marcação XML no texto." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/ro.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/ro.po new file mode 100644 index 0000000000000000000000000000000000000000..f4b966be51a3e5731c52498da02a07e8b42a05b7 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/ro.po @@ -0,0 +1,82 @@ +# Translation of "hello-c-gnome3" messages to Romanian. +# Mesajele în limba română pentru pachetul hello-c-gnome3. +# Copyright © 2015, 2019, 2022, 2023, 2024, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Eugen Hoancă , 2003. +# Mihai Cristescu , 2015 - 2019. +# Remus-Gabriel Chelu , 2022 - 2025. +# +# Cronologia traducerii fișierului „hello-c-gnome3”: +# Traducerea inițială, făcută de EH, pentru versiunea hello-c-gnome3 0.12.1, 2003. +# Actualizare a traducerii pentru versiunea hello-c-gnome3 0.19.4-rc1, făcută de MC, mar-2015. +# Actualizare a traducerii pentru versiunea hello-c-gnome3 0.19.4.73, făcută de MC, iun-2015. +# Actualizare a traducerii pentru versiunea hello-c-gnome3 0.20-rc1, făcută de MC, apr-2019. +# Actualizare a mesajelor, de la fișierul „hello-c-gnome3-0.20.2.pot”. +# Actualizare a algoritmului formelor de plural (de la „trei-vechi” la „trei-actual”). +# NU și a mesajelor traduse (acestea au rămas neschimbate). +# Eliminare a mesajelor ce-au dispărut în ultima versiune. +# Actualizări realizate de Remus-Gabriel Chelu , 15.01.2022. +# Actualizare a traducerii pentru versiunea 0.20.2 făcută de R-GC, ian-2022. +# Actualizare a traducerii pentru versiunea 0.22 făcută de R-GC, iun-2023. +# Revizuire și corectare a traducerii pentru versiunea 0.23-pre1 făcută de R-GC, oct-2024. +# Actualizare a traducerii pentru versiunea 0.24-pre1 făcută de R-GC, feb-2025. +# Actualizare a traducerii pentru versiunea 0.25-pre1 făcută de R-GC, apr-2025. +# Actualizare a traducerii pentru versiunea Y, făcută de X, Z(luna-anul). +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome3 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-29 00:25+0200\n" +"Last-Translator: Remus-Gabriel Chelu \n" +"Language-Team: Romanian \n" +"Language: ro\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " +"20)) ? 1 : 2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.c:78 hello2.c:86 +msgid "Hello world!" +msgstr "Salutare lume!" + +#: hello.c:80 hello2.c:88 +#, c-format +msgid "This program is running as process number %s." +msgstr "Acest program rulează ca procesul numărul %s." + +#: hello.c:84 hello2.c:92 +msgid "This is another text" +msgstr "Acesta este un alt text" + +#: hello.c:86 hello2.c:94 +msgid "This is yet another text" +msgstr "Acesta este un alt rând de text" + +#: hello.desktop.in.in:3 hello2.desktop.in.in:3 +msgid "Hello" +msgstr "Salut" + +#: hello.desktop.in.in:4 hello2.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Salutare, lume!" + +#: hello.ui:6 hello2.ui:6 +msgid "Example Application" +msgstr "Exemplu de aplicație" + +#: hello.ui:34 hello2.ui:34 +msgid "Update text" +msgstr "Actualizează textul" + +#: hello2.gschema.xml:8 +msgid "Use XML markup" +msgstr "Folosește marcajul XML" + +#: hello2.gschema.xml:9 +msgid "Whether to use XML markup in the text." +msgstr "Dacă se folosește marcajul XML în text." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/ru.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/ru.po new file mode 100644 index 0000000000000000000000000000000000000000..5ddb59b4715d4d440271a2435672853149d0815d --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/ru.po @@ -0,0 +1,62 @@ +# Translation of hello-c-gnome3-0.14.1.po to Russian +# Copyright (C) 2004 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Pavel Maryanov , 2004. +# SPDX-FileCopyrightText: 2014, 2015, 2023, 2025 Yuri Kozlov +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome3 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-02 09:17+0300\n" +"Last-Translator: Yuri Kozlov \n" +"Language-Team: Russian \n" +"Language: ru\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Lokalize 24.12.0\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#: hello.c:78 hello2.c:86 +msgid "Hello world!" +msgstr "Здравствуй мир!" + +#: hello.c:80 hello2.c:88 +#, c-format +msgid "This program is running as process number %s." +msgstr "Эта программа выполняется как процесс под номером %s." + +#: hello.c:84 hello2.c:92 +msgid "This is another text" +msgstr "Ещё один текст" + +#: hello.c:86 hello2.c:94 +msgid "This is yet another text" +msgstr "И ещё один текст" + +#: hello.desktop.in.in:3 hello2.desktop.in.in:3 +msgid "Hello" +msgstr "Здравствуйте" + +#: hello.desktop.in.in:4 hello2.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Здравствуй, мир!" + +#: hello.ui:6 hello2.ui:6 +msgid "Example Application" +msgstr "Пример приложения" + +#: hello.ui:34 hello2.ui:34 +msgid "Update text" +msgstr "Обновить текст" + +#: hello2.gschema.xml:8 +msgid "Use XML markup" +msgstr "Использовать разметку XML" + +#: hello2.gschema.xml:9 +msgid "Whether to use XML markup in the text." +msgstr "Учитывать ли в тексте разметку XML." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/sk.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/sk.po new file mode 100644 index 0000000000000000000000000000000000000000..b3c8121c2937b29ede20bdc8024c76119650d753 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/sk.po @@ -0,0 +1,58 @@ +# Slovak translations GNU for hello-c-gnome3 package. +# Copyright (C) 2003, 2004, 2014, 2023, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Marcel Telka , 2003, 2004, 2014, 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c-gnome3 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 13:53+0200\n" +"Last-Translator: Marcel Telka \n" +"Language-Team: Slovak \n" +"Language: sk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.c:78 hello2.c:86 +msgid "Hello world!" +msgstr "Ahoj svet!" + +#: hello.c:80 hello2.c:88 +#, c-format +msgid "This program is running as process number %s." +msgstr "Tento program beží ako proces s číslom %s." + +#: hello.c:84 hello2.c:92 +msgid "This is another text" +msgstr "Toto je ďalší text" + +#: hello.c:86 hello2.c:94 +msgid "This is yet another text" +msgstr "Toto je ešte ďalší text" + +#: hello.desktop.in.in:3 hello2.desktop.in.in:3 +msgid "Hello" +msgstr "Ahoj" + +#: hello.desktop.in.in:4 hello2.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Ahoj svet!" + +#: hello.ui:6 hello2.ui:6 +msgid "Example Application" +msgstr "Ukážková aplikácia" + +#: hello.ui:34 hello2.ui:34 +msgid "Update text" +msgstr "Aktualizovať text" + +#: hello2.gschema.xml:8 +msgid "Use XML markup" +msgstr "Použiť značky XML" + +#: hello2.gschema.xml:9 +msgid "Whether to use XML markup in the text." +msgstr "Či v texte použiť značky XML." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/sl.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/sl.po new file mode 100644 index 0000000000000000000000000000000000000000..7db9db31e5b8496bf46c6da7d2e37772052e3e1a --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/sl.po @@ -0,0 +1,64 @@ +# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example +# Copyright (C) 2005 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Primož Peterlin , 2005, 2014, 2015, 2024. +# $Id: hello-c-gnome3-0.22.sl.po,v 1.1 2024/03/28 17:02:19 peterlin Exp $ +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome3 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-03-28 18:02+0100\n" +"Last-Translator: Primož Peterlin \n" +"Language-Team: Slovenian \n" +"Language: sl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8-bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || " +"n%100==4 ? 3 : 0);\n" + +#: hello.c:78 hello2.c:86 +#, fuzzy +msgid "Hello world!" +msgstr "Pozdravljen, svet!" + +#: hello.c:80 hello2.c:88 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "Ta program teče kot proces številka %d." + +#: hello.c:84 hello2.c:92 +#, fuzzy +msgid "This is another text" +msgstr "Podčrtano besedilo" + +#: hello.c:86 hello2.c:94 +#, fuzzy +msgid "This is yet another text" +msgstr "Besedilo v kurzivi" + +#: hello.desktop.in.in:3 hello2.desktop.in.in:3 +msgid "Hello" +msgstr "Zdravo" + +#: hello.desktop.in.in:4 hello2.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Pozdravljen, svet!" + +#: hello.ui:6 hello2.ui:6 +msgid "Example Application" +msgstr "Zgled aplikacije" + +#: hello.ui:34 hello2.ui:34 +msgid "Update text" +msgstr "Posodobi besedilo" + +#: hello2.gschema.xml:8 +msgid "Use XML markup" +msgstr "Uporabi oznake XML" + +#: hello2.gschema.xml:9 +msgid "Whether to use XML markup in the text." +msgstr "Ali naj bodo v besedilu uporabljene oznake XML." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/sq.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/sq.po new file mode 100644 index 0000000000000000000000000000000000000000..7a7ec425f625047a443e8d000f15bdc44d86923d --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/sq.po @@ -0,0 +1,60 @@ +# Albanian translation of gettext-example. +# Copyright (C) 2020 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Besnik Bleta , 2020,2023,2024,2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome3-0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 19:56+0300\n" +"Last-Translator: Besnik Bleta \n" +"Language-Team: Albanian \n" +"Language: sq\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.2.2\n" + +#: hello.c:78 hello2.c:86 +msgid "Hello world!" +msgstr "Tungjatjeta, botë!" + +#: hello.c:80 hello2.c:88 +#, c-format +msgid "This program is running as process number %s." +msgstr "Ky program po xhiron si procesi numër %s." + +#: hello.c:84 hello2.c:92 +msgid "This is another text" +msgstr "Ja dhe një tekst tjetër" + +#: hello.c:86 hello2.c:94 +msgid "This is yet another text" +msgstr "Ja edhe një tekst tjetër akoma" + +#: hello.desktop.in.in:3 hello2.desktop.in.in:3 +msgid "Hello" +msgstr "Tungjatjeta" + +#: hello.desktop.in.in:4 hello2.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Tungjatjeta, botë!" + +#: hello.ui:6 hello2.ui:6 +msgid "Example Application" +msgstr "Aplikacion Shembull" + +#: hello.ui:34 hello2.ui:34 +msgid "Update text" +msgstr "Përditësojeni tekstin" + +#: hello2.gschema.xml:8 +msgid "Use XML markup" +msgstr "Përdor markup XML" + +#: hello2.gschema.xml:9 +msgid "Whether to use XML markup in the text." +msgstr "Të përdoret ose jo markup XML te teksti." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/sr.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/sr.po new file mode 100644 index 0000000000000000000000000000000000000000..7539897debfd890a017732ed1dce5eca692699b2 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/sr.po @@ -0,0 +1,62 @@ +# Serbian translation of hello-c-gnome3. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Aleksandar Jelenak , 2004. +# Мирослав Николић , 2014-2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome3-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-02 16:51+0100\n" +"Last-Translator: Мирослав Николић \n" +"Language-Team: Serbian <(nothing)>\n" +"Language: sr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.c:78 hello2.c:86 +msgid "Hello world!" +msgstr "Здраво свима!" + +#: hello.c:80 hello2.c:88 +#, c-format +msgid "This program is running as process number %s." +msgstr "Овај програм се извршава као процес број %s." + +#: hello.c:84 hello2.c:92 +msgid "This is another text" +msgstr "Ово је још један текст" + +#: hello.c:86 hello2.c:94 +msgid "This is yet another text" +msgstr "Богами и ово је још један текст" + +#: hello.desktop.in.in:3 hello2.desktop.in.in:3 +msgid "Hello" +msgstr "Здраво" + +#: hello.desktop.in.in:4 hello2.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Здраво, свима!" + +#: hello.ui:6 hello2.ui:6 +msgid "Example Application" +msgstr "Програм примера" + +#: hello.ui:34 hello2.ui:34 +msgid "Update text" +msgstr "Опис ажурирања" + +#: hello2.gschema.xml:8 +msgid "Use XML markup" +msgstr "Користи XML означавање" + +#: hello2.gschema.xml:9 +msgid "Whether to use XML markup in the text." +msgstr "Да ли ће да користи XML означавање у тексту." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/sv.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/sv.po new file mode 100644 index 0000000000000000000000000000000000000000..7e7540540ec050a7981eb0a307f5e204f1e14409 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/sv.po @@ -0,0 +1,62 @@ +# Swedish messages for hello-c-gnome3. +# Copyright © 2006, 2014, 2016, 2019, 2020, 2023, 2024, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Jan Djärv , 2003, 2006, 2014. +# Göran Uddeborg , 2016, 2019, 2020, 2023, 2024, 2025. +# Luna Jernberg , 2025. +# $Revision: 1.12 $ +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome3 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 12:18+0200\n" +"Last-Translator: Luna Jernberg \n" +"Language-Team: Swedish \n" +"Language: sv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.c:78 hello2.c:86 +msgid "Hello world!" +msgstr "Hej världen!" + +#: hello.c:80 hello2.c:88 +#, c-format +msgid "This program is running as process number %s." +msgstr "Detta program kör som process nummer %s." + +#: hello.c:84 hello2.c:92 +msgid "This is another text" +msgstr "Detta är en annan text" + +#: hello.c:86 hello2.c:94 +msgid "This is yet another text" +msgstr "Detta är ytterligare en annan text" + +#: hello.desktop.in.in:3 hello2.desktop.in.in:3 +msgid "Hello" +msgstr "Hej" + +#: hello.desktop.in.in:4 hello2.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Hej världen!" + +#: hello.ui:6 hello2.ui:6 +msgid "Example Application" +msgstr "Exempelprogram" + +#: hello.ui:34 hello2.ui:34 +msgid "Update text" +msgstr "Uppdatera text" + +#: hello2.gschema.xml:8 +msgid "Use XML markup" +msgstr "Använd XML-märkning" + +#: hello2.gschema.xml:9 +msgid "Whether to use XML markup in the text." +msgstr "Huruvida XML-märkning skall användas i texten." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/ta.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/ta.po new file mode 100644 index 0000000000000000000000000000000000000000..1c925a2d394fcf98be82c78881c46bd61e9ecb5d --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/ta.po @@ -0,0 +1,63 @@ +# Tamil messages for GNU gettext. +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# List of contributors follow: +# Poorajith , 2018. +# Arun Isaac , 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome3 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-19 00:06+0100\n" +"Last-Translator: Arun Isaac \n" +"Language-Team: Tamil \n" +"Language: ta\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.c:78 hello2.c:86 +#, fuzzy +msgid "Hello world!" +msgstr "வணக்கம், உலகு!" + +#: hello.c:80 hello2.c:88 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "இந்நிரல் செயலாக்க எண் %d ஆக இயங்கிக்கொண்டிருக்கிறது." + +#: hello.c:84 hello2.c:92 +#, fuzzy +msgid "This is another text" +msgstr "இது மற்றொரு உரை\"" + +#: hello.c:86 hello2.c:94 +#, fuzzy +msgid "This is yet another text" +msgstr "இது மேலும் ஒரு உரை" + +#: hello.desktop.in.in:3 hello2.desktop.in.in:3 +msgid "Hello" +msgstr "வணக்கம்" + +#: hello.desktop.in.in:4 hello2.desktop.in.in:4 +msgid "Hello, world!" +msgstr "வணக்கம், உலகு!" + +#: hello.ui:6 hello2.ui:6 +msgid "Example Application" +msgstr "எடுத்துக்காட்டு நிரல்" + +#: hello.ui:34 hello2.ui:34 +msgid "Update text" +msgstr "உரையை மாற்று" + +#: hello2.gschema.xml:8 +msgid "Use XML markup" +msgstr "XML குறிமொழியைப் பயன்படுத்து" + +#: hello2.gschema.xml:9 +msgid "Whether to use XML markup in the text." +msgstr "உரையில் XML குறிமொழியைப் பயன்படுத்துவதா." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/tr.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/tr.po new file mode 100644 index 0000000000000000000000000000000000000000..a1cd67cea6f42c80beee1e4db036a88841241f3a --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/tr.po @@ -0,0 +1,64 @@ +# Turkish translation for hello-c-gnome3. +# This file is distributed under the same license as the gettext package. +# Copyright (C) 2017 Yoyodyne, Inc. (msgids) +# Copyright (C) 2004 Free Software Foundation, Inc. +# Nilgün Belma Bugüner , 2003,2004 +# Mehmet Kececi , 2017, 2019, 2020. +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome3 0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2020-04-17 13:10+0300\n" +"Last-Translator: Mehmet Kececi \n" +"Language-Team: Turkish \n" +"Language: tr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Poedit 2.3\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.c:78 hello2.c:86 +#, fuzzy +msgid "Hello world!" +msgstr "Merhaba, dünya!" + +#: hello.c:80 hello2.c:88 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "Bu yazılım %d işlem numarası ile çalışıyor." + +#: hello.c:84 hello2.c:92 +#, fuzzy +msgid "This is another text" +msgstr "Bu diğer metindir" + +#: hello.c:86 hello2.c:94 +#, fuzzy +msgid "This is yet another text" +msgstr "Bu henüz başka bir metindir" + +#: hello.desktop.in.in:3 hello2.desktop.in.in:3 +msgid "Hello" +msgstr "Merhaba" + +#: hello.desktop.in.in:4 hello2.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Merhaba, dünya!" + +#: hello.ui:6 hello2.ui:6 +msgid "Example Application" +msgstr "Örnek Uygulama" + +#: hello.ui:34 hello2.ui:34 +msgid "Update text" +msgstr "Metni güncelleştir" + +#: hello2.gschema.xml:8 +msgid "Use XML markup" +msgstr "XML betiğini kullan" + +#: hello2.gschema.xml:9 +msgid "Whether to use XML markup in the text." +msgstr "XML betiğinde kullanılıp kullanılmayacağını belirtir." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/uk.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/uk.po new file mode 100644 index 0000000000000000000000000000000000000000..411d849255e9589368fdc248a4aafa712d10787e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/uk.po @@ -0,0 +1,62 @@ +# Ukrainian translation to hello-c-gnome3 +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Maxim V. Dziumanenko , 2004-2007. +# Yuri Chornoivan , 2014, 2015, 2023, 2025. +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome3 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 13:56+0300\n" +"Last-Translator: Yuri Chornoivan \n" +"Language-Team: Ukrainian \n" +"Language: uk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Generator: Lokalize 23.04.3\n" + +#: hello.c:78 hello2.c:86 +msgid "Hello world!" +msgstr "Привіт, світе!" + +#: hello.c:80 hello2.c:88 +#, c-format +msgid "This program is running as process number %s." +msgstr "Ця програма виконується як процес з номером %s." + +#: hello.c:84 hello2.c:92 +msgid "This is another text" +msgstr "Інший фрагмент тексту" + +#: hello.c:86 hello2.c:94 +msgid "This is yet another text" +msgstr "Ще якийсь фрагмент тексту" + +#: hello.desktop.in.in:3 hello2.desktop.in.in:3 +msgid "Hello" +msgstr "Привіт" + +#: hello.desktop.in.in:4 hello2.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Привіт, світе!" + +#: hello.ui:6 hello2.ui:6 +msgid "Example Application" +msgstr "Програма-приклад" + +#: hello.ui:34 hello2.ui:34 +msgid "Update text" +msgstr "Оновити текст" + +#: hello2.gschema.xml:8 +msgid "Use XML markup" +msgstr "Використати розмітку XML" + +#: hello2.gschema.xml:9 +msgid "Whether to use XML markup in the text." +msgstr "Визначає, чи слід використовувати розмітку XML у тексті." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/vi.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/vi.po new file mode 100644 index 0000000000000000000000000000000000000000..41b802d493d96cfc8313ab6a21d276f39f38fb11 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/vi.po @@ -0,0 +1,65 @@ +# Vietnamese Translation for Gettext Examples. +# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext. +# Copyright © 2015 Yoyodyne, Inc. (msgids) +# Copyright © 2015 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Clytie Siddall , 2005-2010. +# Trần Ngọc Quân , 2012-2015, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome3 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-24 09:10+0700\n" +"Last-Translator: Trần Ngọc Quân \n" +"Language-Team: Vietnamese \n" +"Language: vi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: hello.c:78 hello2.c:86 +#, fuzzy +msgid "Hello world!" +msgstr "Chào thế giới!" + +#: hello.c:80 hello2.c:88 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "Chương trình này đang chạy với mã số tiến trình %d." + +#: hello.c:84 hello2.c:92 +#, fuzzy +msgid "This is another text" +msgstr "Đây là văn bản khác" + +#: hello.c:86 hello2.c:94 +#, fuzzy +msgid "This is yet another text" +msgstr "Đây là văn bản khác nữa" + +#: hello.desktop.in.in:3 hello2.desktop.in.in:3 +msgid "Hello" +msgstr "Chào" + +#: hello.desktop.in.in:4 hello2.desktop.in.in:4 +msgid "Hello, world!" +msgstr "Chào thế giới!" + +#: hello.ui:6 hello2.ui:6 +msgid "Example Application" +msgstr "Ứng dụng mẫu" + +#: hello.ui:34 hello2.ui:34 +msgid "Update text" +msgstr "Cập nhật văn bản" + +#: hello2.gschema.xml:8 +msgid "Use XML markup" +msgstr "Dùng đánh dấu XML" + +#: hello2.gschema.xml:9 +msgid "Whether to use XML markup in the text." +msgstr "Có dùng đánh dấu XML trong văn bản hay không." diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/zh_CN.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/zh_CN.po new file mode 100644 index 0000000000000000000000000000000000000000..44ed10b5bf32708da244622f690c9fe41715edfb --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/zh_CN.po @@ -0,0 +1,61 @@ +# zh_CN translation for hello-c-gnome3. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Funda Wang , 2003. +# Ji ZhengYu , 2015. +# Boyuan Yang <073plan@gmail.com>, 2019, 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome3 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-29 15:56-0400\n" +"Last-Translator: Boyuan Yang <073plan@gmail.com>\n" +"Language-Team: Chinese (simplified) \n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.6\n" + +#: hello.c:78 hello2.c:86 +msgid "Hello world!" +msgstr "你好世界!" + +#: hello.c:80 hello2.c:88 +#, c-format +msgid "This program is running as process number %s." +msgstr "此程序正以进程号 %s 运行。" + +#: hello.c:84 hello2.c:92 +msgid "This is another text" +msgstr "这是另一段文本" + +#: hello.c:86 hello2.c:94 +msgid "This is yet another text" +msgstr "这还是另一段文本" + +#: hello.desktop.in.in:3 hello2.desktop.in.in:3 +msgid "Hello" +msgstr "你好" + +#: hello.desktop.in.in:4 hello2.desktop.in.in:4 +msgid "Hello, world!" +msgstr "你好,世界!" + +#: hello.ui:6 hello2.ui:6 +msgid "Example Application" +msgstr "示例应用" + +#: hello.ui:34 hello2.ui:34 +msgid "Update text" +msgstr "更新文本" + +#: hello2.gschema.xml:8 +msgid "Use XML markup" +msgstr "使用 XML 标记语言" + +#: hello2.gschema.xml:9 +msgid "Whether to use XML markup in the text." +msgstr "是否在文本中使用 XML 标记。" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/zh_HK.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/zh_HK.po new file mode 100644 index 0000000000000000000000000000000000000000..e268a546aaf0cef44d7761fd2b4cd0da91cc52b8 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/zh_HK.po @@ -0,0 +1,58 @@ +# Chinese (Hong Kong) translation of hello-c-gnome3. +# Copyright (C) 2006 Yoyodyne, Inc. +# Abel Cheung , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome3 0.15-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2006-07-05 15:40+0800\n" +"Last-Translator: Abel Cheung \n" +"Language-Team: Chinese (Hong Kong) \n" +"Language: zh_HK\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.c:78 hello2.c:86 +#, fuzzy +msgid "Hello world!" +msgstr "你好!" + +#: hello.c:80 hello2.c:88 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "本程式正在執行中,進程編號為 %d。" + +#: hello.c:84 hello2.c:92 +msgid "This is another text" +msgstr "" + +#: hello.c:86 hello2.c:94 +msgid "This is yet another text" +msgstr "" + +#: hello.desktop.in.in:3 hello2.desktop.in.in:3 +msgid "Hello" +msgstr "" + +#: hello.desktop.in.in:4 hello2.desktop.in.in:4 +msgid "Hello, world!" +msgstr "你好!" + +#: hello.ui:6 hello2.ui:6 +msgid "Example Application" +msgstr "" + +#: hello.ui:34 hello2.ui:34 +msgid "Update text" +msgstr "" + +#: hello2.gschema.xml:8 +msgid "Use XML markup" +msgstr "" + +#: hello2.gschema.xml:9 +msgid "Whether to use XML markup in the text." +msgstr "" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/zh_TW.po b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/zh_TW.po new file mode 100644 index 0000000000000000000000000000000000000000..8dc2edb2f240f91702d6c0a3da3c68650e5dbf5d --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-gnome3/po/zh_TW.po @@ -0,0 +1,64 @@ +# Traditional Chinese translation of hello-c-gnome3. +# Copyright (C) 2009 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Abel Cheung , 2005. +# Wei-Lun Chao , 2013, 2015. +# Yi-Jyun Pan , 2024. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-gnome3 0.23-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-11-30 14:14+0800\n" +"Last-Translator: Yi-Jyun Pan \n" +"Language-Team: Chinese (traditional) \n" +"Language: zh_TW\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.c:78 hello2.c:86 +#, fuzzy +msgid "Hello world!" +msgstr "哈囉,大家好!" + +#: hello.c:80 hello2.c:88 +#, fuzzy, c-format +msgid "This program is running as process number %s." +msgstr "本程式正在執行,行程編號為 %d。" + +#: hello.c:84 hello2.c:92 +#, fuzzy +msgid "This is another text" +msgstr "這是另一段文字" + +#: hello.c:86 hello2.c:94 +#, fuzzy +msgid "This is yet another text" +msgstr "這又是另一段文字" + +#: hello.desktop.in.in:3 hello2.desktop.in.in:3 +msgid "Hello" +msgstr "哈囉" + +#: hello.desktop.in.in:4 hello2.desktop.in.in:4 +msgid "Hello, world!" +msgstr "哈囉,大家好!" + +#: hello.ui:6 hello2.ui:6 +msgid "Example Application" +msgstr "應用軟體範例" + +#: hello.ui:34 hello2.ui:34 +msgid "Update text" +msgstr "更新文字" + +#: hello2.gschema.xml:8 +msgid "Use XML markup" +msgstr "使用 XML 標記" + +#: hello2.gschema.xml:9 +msgid "Whether to use XML markup in the text." +msgstr "是否在文字中使用 XML 標記。" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/INSTALL b/miniconda3/share/doc/gettext/examples/hello-c-http/INSTALL new file mode 100644 index 0000000000000000000000000000000000000000..33dd0ac90e6d7ec38f9238b3b50519194cf326d4 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/INSTALL @@ -0,0 +1,83 @@ +This example implements a simple multithreaded web server. + +Platforms +--------- + +It supports systems with GNU libc. +It may also work, with some adaptations: +on Unix platforms (which have POSIX threads) +other than NetBSD (which does not have uselocale() nor gettext_l). + +Dependencies +------------ + +It relies just on gettext-runtime (and libc, of course). + +Preparations +------------ + +To install the needed locales on glibc systems: + +$ sudo localedef -i af_ZA -f UTF-8 af_ZA.UTF-8 +$ sudo localedef -i ast_ES -f UTF-8 ast_ES.UTF-8 +$ sudo localedef -i bg_BG -f UTF-8 bg_BG.UTF-8 +$ sudo localedef -i ca_ES -f UTF-8 ca_ES.UTF-8 +$ sudo localedef -i cs_CZ -f UTF-8 cs_CZ.UTF-8 +$ sudo localedef -i da_DK -f UTF-8 da_DK.UTF-8 +$ sudo localedef -i de_DE -f UTF-8 de_DE.UTF-8 +$ sudo localedef -i el_GR -f UTF-8 el_GR.UTF-8 +$ sudo localedef -i en_US -f UTF-8 en_US.UTF-8 +$ sudo localedef -i eo -f UTF-8 eo +$ sudo localedef -i es_ES -f UTF-8 es_ES.UTF-8 +$ sudo localedef -i fi_FI -f UTF-8 fi_FI.UTF-8 +$ sudo localedef -i fr_FR -f UTF-8 fr_FR.UTF-8 +$ sudo localedef -i ga_IE -f UTF-8 ga_IE.UTF-8 +$ sudo localedef -i gl_ES -f UTF-8 gl_ES.UTF-8 +$ sudo localedef -i hr_HR -f UTF-8 hr_HR.UTF-8 +$ sudo localedef -i hu_HU -f UTF-8 hu_HU.UTF-8 +$ sudo localedef -i id_ID -f UTF-8 id_ID.UTF-8 +$ sudo localedef -i it_IT -f UTF-8 it_IT.UTF-8 +$ sudo localedef -i ja_JP -f UTF-8 ja_JP.UTF-8 +$ sudo localedef -i ka_GE -f UTF-8 ka_GE.UTF-8 +$ sudo localedef -i ky_KG -f UTF-8 ky_KG +$ sudo localedef -i lv_LV -f UTF-8 lv_LV.UTF-8 +$ sudo localedef -i ms_MY -f UTF-8 ms_MY.UTF-8 +$ sudo localedef -i mt_MT -f UTF-8 mt_MT.UTF-8 +$ sudo localedef -i nb_NO -f UTF-8 nb_NO.UTF-8 +$ sudo localedef -i nl_NL -f UTF-8 nl_NL.UTF-8 +$ sudo localedef -i nn_NO -f UTF-8 nn_NO.UTF-8 +$ sudo localedef -i pl_PL -f UTF-8 pl_PL.UTF-8 +$ sudo localedef -i pt_PT -f UTF-8 pt_PT.UTF-8 +$ sudo localedef -i pt_BR -f UTF-8 pt_BR.UTF-8 +$ sudo localedef -i ro_RO -f UTF-8 ro_RO.UTF-8 +$ sudo localedef -i ru_RU -f UTF-8 ru_RU.UTF-8 +$ sudo localedef -i sk_SK -f UTF-8 sk_SK.UTF-8 +$ sudo localedef -i sl_SI -f UTF-8 sl_SI.UTF-8 +$ sudo localedef -i sq_AL -f UTF-8 sq_AL.UTF-8 +$ sudo localedef -i sr_RS -f UTF-8 sr_RS +$ sudo localedef -i sv_SE -f UTF-8 sv_SE.UTF-8 +$ sudo localedef -i ta_IN -f UTF-8 ta_IN +$ sudo localedef -i tr_TR -f UTF-8 tr_TR.UTF-8 +$ sudo localedef -i uk_UA -f UTF-8 uk_UA.UTF-8 +$ sudo localedef -i vi_VN -f UTF-8 vi_VN +$ sudo localedef -i zh_CN -f UTF-8 zh_CN.UTF-8 +$ sudo localedef -i zh_HK -f UTF-8 zh_HK.UTF-8 +$ sudo localedef -i zh_TW -f UTF-8 zh_TW.UTF-8 + +On Debian and Debian-based systems, if you want these locales to be +persistent across automatic system updates, the approach is different: +There, you need to enable the locales in the file /etc/locale.gen and +then run +$ sudo locale-gen + +Building +-------- + +Installation: + ./autogen.sh + ./configure --prefix=/some/prefix + make + make install +Cleanup: + make distclean + ./autoclean.sh diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/Makefile.am b/miniconda3/share/doc/gettext/examples/hello-c-http/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..4409b2faf375b18e86b775e62afebf972625671a --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/Makefile.am @@ -0,0 +1,26 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Makefile configuration - processed by automake. + +# General automake options. +AUTOMAKE_OPTIONS = foreign no-dependencies +ACLOCAL_AMFLAGS = -I m4 + +# The list of subdirectories containing Makefiles. +SUBDIRS = m4 po + +# The list of programs that are built. +bin_PROGRAMS = hello-server + +# The source files of the 'hello-server' program. +hello_server_SOURCES = hello-server.c + +# Define a C macro LOCALEDIR indicating where catalogs will be installed. +DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ + +# Link time dependencies. +LDADD = @LIBINTL@ + +# Additional files to be distributed. +EXTRA_DIST = autogen.sh autoclean.sh diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/autoclean.sh b/miniconda3/share/doc/gettext/examples/hello-c-http/autoclean.sh new file mode 100644 index 0000000000000000000000000000000000000000..9b8332fb282055fcc13b321d80e7054f54000af8 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/autoclean.sh @@ -0,0 +1,43 @@ +#!/bin/sh +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Script for cleaning all autogenerated files. + +test ! -f Makefile || make distclean +rm -rf autom4te.cache + +# Brought in by autopoint. +rm -f ABOUT-NLS +rm -f config.rpath +rm -f m4/gettext.m4 +rm -f m4/build-to-host.m4 +rm -f m4/host-cpu-c-abi.m4 +rm -f m4/iconv.m4 +rm -f m4/intlmacosx.m4 +rm -f m4/lib-ld.m4 +rm -f m4/lib-link.m4 +rm -f m4/lib-prefix.m4 +rm -f m4/nls.m4 +rm -f m4/po.m4 +rm -f m4/progtest.m4 +rm -f po/Makefile.in.in +rm -f po/remove-potcdate.sed + +# Generated by aclocal. +rm -f aclocal.m4 + +# Generated by autoconf. +rm -f configure + +# Generated or brought in by automake. +rm -f Makefile.in +rm -f m4/Makefile.in +rm -f compile +rm -f install-sh +rm -f missing +rm -f config.guess +rm -f config.sub +rm -f po/*.pot +rm -f po/stamp-po +rm -f po/*.gmo diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/autogen.sh b/miniconda3/share/doc/gettext/examples/hello-c-http/autogen.sh new file mode 100644 index 0000000000000000000000000000000000000000..c589e7d1ed236e29463d53113e1e54f263cddfb7 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/autogen.sh @@ -0,0 +1,48 @@ +#!/bin/sh +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Script for regenerating all autogenerated files. + +if test -r ../Makefile.am; then + # Inside the gettext source directory. + GETTEXT_TOPSRCDIR=../../.. +else + if test -r ../Makefile; then + # Inside a gettext build directory. + GETTEXT_TOOLS_SRCDIR=`sed -n -e 's,^top_srcdir *= *\(.*\)$,\1,p' ../Makefile` + # Adjust a relative top_srcdir. + case $GETTEXT_TOOLS_SRCDIR in + /*) ;; + *) GETTEXT_TOOLS_SRCDIR=../$GETTEXT_TOOLS_SRCDIR ;; + esac + GETTEXT_TOPSRCDIR=$GETTEXT_TOOLS_SRCDIR/../.. + else + # Installed under ${prefix}/share/doc/gettext/examples. + . ../installpaths + fi +fi + +autopoint -f # was: gettextize -f -c +rm po/Makevars.template +rm po/Rules-quot +rm po/boldquot.sed +rm po/en@boldquot.header +rm po/en@quot.header +rm po/insert-header.sed +rm po/quot.sed + +aclocal -I m4 + +autoconf + +automake -a -c + +cd po +for f in *.po; do + if test -r "$f"; then + lang=`echo $f | sed -e 's,\.po$,,'` + msgfmt -c -o $lang.gmo $lang.po + fi +done +cd .. diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/configure.ac b/miniconda3/share/doc/gettext/examples/hello-c-http/configure.ac new file mode 100644 index 0000000000000000000000000000000000000000..871d94ebe1a079aa2abe0158b97a4c4eafcd62bf --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/configure.ac @@ -0,0 +1,17 @@ +dnl Example for use of GNU gettext. +dnl This file is in the public domain. +dnl +dnl Configuration file - processed by autoconf. + +AC_INIT([hello-c-http], [0]) +AC_CONFIG_SRCDIR([hello-server.c]) +AM_INIT_AUTOMAKE([1.11]) + +AC_PROG_CC +AM_GNU_GETTEXT([external]) +AM_GNU_GETTEXT_VERSION([0.25]) + +AC_CONFIG_FILES([Makefile]) +AC_CONFIG_FILES([m4/Makefile]) +AC_CONFIG_FILES([po/Makefile.in]) +AC_OUTPUT diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/hello-server.c b/miniconda3/share/doc/gettext/examples/hello-c-http/hello-server.c new file mode 100644 index 0000000000000000000000000000000000000000..c4bffc5229dc98f7c8da2b2e2ef52282aecc443f --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/hello-server.c @@ -0,0 +1,429 @@ +/* Example for use of GNU gettext. + This file is in the public domain. + + Source code of the C program. */ + +/* This example implements a simple multithreaded web server. + + In order to get translations via gettext(), a locale must be installed on + the server system for each language that should be served. For example, + in order to get French translations, you need to install the fr_FR.UTF-8 + locale. You find the list of locales below and the installation instructions + in the INSTALL file. + This may seem strange to people who think "why is this necessary? why should + reading a .mo file need a locale?" The rationale is that servers who produce + French text for a web page most often also need French number formatting, + French sorting (for lists and UI elements), etc. — and these functionalities + rely on the locale. + + Since the server is multithreaded, different requests may be served in + different threads. And different requests can come from different users, + that have declared different language preferences in their web browser. + Therefore, while at a certain moment one thread may produce a French + translation (and thus work with a French locale), another thread may be + producing a Spanish translation (and thus work with a Spanish locale) + at the same time. + Using the global locale (via setlocale()) would require locking, so that + different threads don't influence each other; but this would severely limit + the possible throughput of the server (which is the motivation for making + the server multithreaded in the first place). + Therefore the server does not use setlocale(), but instead works with + locale_t objects, that can become the "current locale" of a thread, via + uselocale(). + + While it would be possible to allocate the locale_t objects lazily (upon + the first request that needs the particular locale), here we allocate + them all up-front, so that the response time for a given request is fast + and so that there is no contention between the threads. */ + + +/* Persuade glibc to declare asprintf(). */ +#define _GNU_SOURCE 1 + +/* Get textdomain(), bindtextdomain(), gettext() declarations. */ +#include + +/* Get locale_t, newlocale(), uselocale() declarations. */ +#include + +/* Get pthread_create(), pthread_join() declarations. */ +#include + +/* Get asprintf(), dprintf() declarations. */ +#include + +/* Get abort(), free() declarations. */ +#include + +/* Get memset(), strchr(), strcasecmp(), strncasecmp() declarations. */ +#include + +/* Get nanosleep(). */ +#include + +/* Get close() declaration. */ +#include + +/* Get socket(), setsockopt(), bind(), listen(), accept(), recv() declarations. */ +#include + +/* Get IPPROTO_TCP, INADDR_ANY, in6addr_any. */ +#include + + +/* Mapping from language to locale. */ +struct language_support +{ + const char *language; + const char *locale_name; + locale_t locale; /* NULL when the locale is not installed on the system */ +}; +static struct language_support all_languages[] = +{ + /* The locale names here must all be UTF-8 locales. */ + { "af", "af_ZA.UTF-8" }, + { "ast", "ast_ES.UTF-8" }, + { "bg", "bg_BG.UTF-8" }, + { "ca", "ca_ES.UTF-8" }, + { "cs", "cs_CZ.UTF-8" }, + { "da", "da_DK.UTF-8" }, + { "de", "de_DE.UTF-8" }, + { "el", "el_GR.UTF-8" }, + { "en", "en_US.UTF-8" }, + { "eo", "eo" }, + { "es", "es_ES.UTF-8" }, + { "fi", "fi_FI.UTF-8" }, + { "fr", "fr_FR.UTF-8" }, + { "ga", "ga_IE.UTF-8" }, + { "gl", "gl_ES.UTF-8" }, + { "hr", "hr_HR.UTF-8" }, + { "hu", "hu_HU.UTF-8" }, + { "id", "id_ID.UTF-8" }, + { "it", "it_IT.UTF-8" }, + { "ja", "ja_JP.UTF-8" }, + { "ka", "ka_GE.UTF-8" }, + { "ky", "ky_KG" }, + { "lv", "lv_LV.UTF-8" }, + { "ms", "ms_MY.UTF-8" }, + { "mt", "mt_MT.UTF-8" }, + { "nb", "nb_NO.UTF-8" }, + { "nl", "nl_NL.UTF-8" }, + { "nn", "nn_NO.UTF-8" }, + { "pl", "pl_PL.UTF-8" }, + { "pt", "pt_PT.UTF-8" }, + { "pt_BR", "pt_BR.UTF-8" }, + { "ro", "ro_RO.UTF-8" }, + { "ru", "ru_RU.UTF-8" }, + { "sk", "sk_SK.UTF-8" }, + { "sl", "sl_SI.UTF-8" }, + { "sq", "sq_AL.UTF-8" }, + { "sr", "sr_RS" }, + { "sv", "sv_SE.UTF-8" }, + { "ta", "ta_IN" }, + { "tr", "tr_TR.UTF-8" }, + { "uk", "uk_UA.UTF-8" }, + { "vi", "vi_VN" }, + { "zh_CN", "zh_CN.UTF-8" }, + { "zh_HK", "zh_HK.UTF-8" }, + { "zh_TW", "zh_TW.UTF-8" } +}; + +/* Get the locale that exactly matches a given language. */ +static locale_t +get_locale_from_language (const char *language) +{ + size_t i; + for (i = 0; i < sizeof (all_languages) / sizeof (all_languages[0]); i++) + if (strcasecmp (all_languages[i].language, language) == 0) + return all_languages[i].locale; + return NULL; +} + +/* Get the locale that can be used for a given language. */ +static locale_t +get_locale_matching_language (char *language) +{ + /* Convert '-' to '_'. */ + char *dash = strchr (language, '-'); + if (dash != NULL) + *dash = '_'; + + locale_t result = get_locale_from_language (language); + if (result == NULL && dash != NULL) + { + /* Truncate the language at the dash's position. */ + *dash = '\0'; + result = get_locale_from_language (language); + } + + /* Restore language. */ + if (dash != NULL) + *dash = '-'; + + return result; +} + +/* Get the locale for an 'Accept-Language' request header field element. */ +static locale_t +get_locale_matching_element (char *element_start, char *element_end) +{ + char *p; + + /* Ignore the element part that starts with a semicolon. */ + for (p = element_start; p < element_end && *p != ';'; p++) + ; + element_end = p; + + /* Trim the element. */ + while (element_start < element_end && element_end[-1] == ' ') + element_end--; + while (element_start < element_end && element_start[0] == ' ') + element_start++; + if (element_start == element_end) + return NULL; + + char saved = *element_end; + *element_end = '\0'; + locale_t result = get_locale_matching_language (element_start); + *element_end = saved; + + return result; +} + +/* Get the locale for an 'Accept-Language' request header field. */ +static locale_t +get_locale_matching_field (char *field_start, char *field_end) +{ + /* The field's value is a comma-separated list of "lang [; q=...]" elements. + Each lang is of the form ll-CC, not a BCP 47 string. + Therefore, for Chinese, expect zh-CN, zh-TW, etc. See + */ + char *element_start = field_start; + for (;;) + { + char *p; + + for (p = element_start; p < field_end && *p != ','; p++) + ; + char *element_end = p; + + locale_t locale_for_element = + get_locale_matching_element (element_start, element_end); + /* If the locale is not supported on this system, skip this element and + continue with the next one. */ + if (locale_for_element != NULL) + return locale_for_element; + + if (element_end == field_end) + break; + element_start = element_end + 1; + } + return NULL; +} + +/* Extract the desired locale from the value of the 'Accept-Language' + request header field. */ +static locale_t +get_locale_from_header (char *header_start, char *header_end) +{ + char *line_start = header_start; + while (line_start < header_end) + { + char *line_end = strchr (line_start, '\r'); + if (line_end == NULL) + abort (); + if (line_end - line_start >= 16 + && strncasecmp (line_start, "Accept-Language:", 16) == 0) + { + char *field_start = line_start + 16; + char *field_end = line_end; + return get_locale_matching_field (field_start, field_end); + } + line_start = line_end + 2; + } + return NULL; +} + + +/* This function defines what each thread does. */ + +static void * +server_thread (void *arg) +{ + int server_socket = *(int const *) arg; + enum { BUFFER_SIZE = 4096 }; + + for (;;) + { + /* Accept an incoming connection. */ + struct sockaddr_storage addr; + socklen_t addrlen = sizeof (addr); + int connected_socket = + accept (server_socket, (struct sockaddr *) &addr, &addrlen); + if (connected_socket >= 0) + { + /* Receive the initial part of an HTTP request. */ + char request[BUFFER_SIZE + 1]; + int req_len = recv (connected_socket, request, BUFFER_SIZE, 0); + if (req_len >= 0) + { + /* Determine the extent of the HTTP request header. + We are not interested in the message body. */ + char *header_start; + char *header_end; + { + request[req_len] = '\0'; + char *line_start = request; + char *line_end = strchr (line_start, '\r'); + if (line_end != NULL && line_end[1] == '\n') + { + header_start = line_start = line_end + 2; + for (;;) + { + line_end = strchr (line_start, '\r'); + if (!(line_end != NULL && line_end[1] == '\n' + && line_end > line_start)) + /* An empty line ends the header and starts the body. */ + break; + line_start = line_end + 2; + } + header_end = line_start; + } + else + header_start = header_end = request; + } + /* Determine the locale. */ + locale_t locale = + get_locale_from_header (header_start, header_end); + /* Set the locale on this thread. + If locale == NULL, we use the thread's default locale, which + is the global locale, which is "C". */ + if (locale != NULL) + uselocale (locale); + + /* Get the localized HTTP response body. */ + char *response_body; + /* Some HTML could be added here. */ + if (asprintf (&response_body, "%s\n", gettext ("Hello, world!")) >= 0) + { + /* Writing to the connected_socket via send() is the same as + via write(). So, we can use dprintf(). Alternatively, + one could use fdopen() and fprintf(). */ + dprintf (connected_socket, + "HTTP/1.1 200 OK\r\n" + "Content-Type: text/plain; charset=UTF-8\r\n" + "Content-Length: %lu\r\n" + "Connection: close\r\n" + "\r\n" + "%s", + (unsigned long) strlen (response_body), + response_body); + free (response_body); + } + + /* Restore the previous locale. */ + if (locale != NULL) + uselocale (LC_GLOBAL_LOCALE); + } + close (connected_socket); + + /* Enable this to ensure that different threads get actually used. */ + if (0) + { + struct timespec duration = { .tv_sec = 60, .tv_nsec = 0 }; + nanosleep (&duration, NULL); + } + } + } + return NULL; +} + + +/* Main program. */ + +#define PORT 8080 + +/* The IPv4 server socket. */ +int server_socket4; +/* The IPv6 server socket. */ +int server_socket6; + +/* Number of threads per socket. */ +#define NUM_THREADS 10 + +int +main () +{ + textdomain ("hello-c-http"); + bindtextdomain ("hello-c-http", LOCALEDIR); + + /* Initialize all_languages. */ + unsigned int i; + for (i = 0; i < sizeof (all_languages) / sizeof (all_languages[0]); i++) + all_languages[i].locale = + newlocale (LC_ALL_MASK, all_languages[i].locale_name, NULL); + + /* Initialize an IPv4 server socket. */ + { + server_socket4 = socket (PF_INET, SOCK_STREAM, IPPROTO_TCP); + if (server_socket4 < 0) + return 1; + + /* Avoid an EADDRINUSE error in the next bind() call. */ + unsigned int flag = 1; + setsockopt (server_socket4, SOL_SOCKET, SO_REUSEADDR, &flag, sizeof (flag)); + + struct sockaddr_in server_addr; + memset (&server_addr, 0, sizeof (server_addr)); + server_addr.sin_family = AF_INET; + server_addr.sin_addr.s_addr = INADDR_ANY; + server_addr.sin_port = htons (PORT); + if (bind (server_socket4, (struct sockaddr *) &server_addr, sizeof (server_addr)) < 0) + return 2; + + if (listen (server_socket4, 10) < 0) + return 3; + } + + /* Initialize an IPv6 server socket. */ + { + server_socket6 = socket (PF_INET6, SOCK_STREAM, IPPROTO_TCP); + if (server_socket6 >= 0) + { + /* Avoid an EADDRINUSE error in the next bind() call. */ + unsigned int flag = 1; + setsockopt (server_socket6, SOL_SOCKET, SO_REUSEADDR, &flag, sizeof (flag)); + /* We don't want dual-socket support here. */ + setsockopt (server_socket6, IPPROTO_IPV6, IPV6_V6ONLY, &flag, sizeof (flag)); + + struct sockaddr_in6 server_addr; + memset (&server_addr, 0, sizeof (server_addr)); + server_addr.sin6_family = AF_INET6; + server_addr.sin6_addr = in6addr_any; + server_addr.sin6_port = htons (PORT); + if (bind (server_socket6, (struct sockaddr *) &server_addr, sizeof (server_addr)) < 0) + return 4; + + if (listen (server_socket6, 10) < 0) + return 5; + } + } + + printf ("Server is listening on port %d...\n", PORT); + + pthread_t thread; + for (i = 0; i < NUM_THREADS; i++) + { + if (pthread_create (&thread, NULL, server_thread, &server_socket4) < 0) + return 6; + } + if (server_socket6 >= 0) + for (i = 0; i < NUM_THREADS; i++) + { + if (pthread_create (&thread, NULL, server_thread, &server_socket6) < 0) + return 6; + } + + /* Wait forever. */ + pthread_join (thread, NULL); +} diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/m4/Makefile.am b/miniconda3/share/doc/gettext/examples/hello-c-http/m4/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..7d516f09ff64e7f731d69696326a8626ca9c4ee0 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/m4/Makefile.am @@ -0,0 +1,4 @@ +EXTRA_DIST = \ + gettext.m4 build-to-host.m4 host-cpu-c-abi.m4 \ + iconv.m4 intlmacosx.m4 lib-ld.m4 lib-link.m4 lib-prefix.m4 \ + nls.m4 po.m4 progtest.m4 diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/LINGUAS b/miniconda3/share/doc/gettext/examples/hello-c-http/po/LINGUAS new file mode 100644 index 0000000000000000000000000000000000000000..dc4a82afbad945018082c22f2061a43ef436dd68 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/LINGUAS @@ -0,0 +1,5 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Set of available languages. +af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ka ky lv ms mt nb nl nn pl pt pt_BR ro ru sk sl sq sr sv ta tr uk vi zh_CN zh_HK zh_TW diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/Makevars b/miniconda3/share/doc/gettext/examples/hello-c-http/po/Makevars new file mode 100644 index 0000000000000000000000000000000000000000..097db7f958cc1e42df4500f9bc82f318f196456a --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/Makevars @@ -0,0 +1,83 @@ +# Makefile variables for PO directory in any package using GNU gettext. +# +# Copyright (C) 2003-2025 Free Software Foundation, Inc. +# This file is free software; the Free Software Foundation gives +# unlimited permission to use, copy, distribute, and modify it. + +# Usually the message domain is the same as the package name. +DOMAIN = $(PACKAGE) + +# These two variables depend on the location of this directory. +subdir = po +top_builddir = .. + +# These options get passed to xgettext. +XGETTEXT_OPTIONS = \ + --keyword=_ --flag=_:1:pass-c-format \ + --keyword=N_ --flag=N_:1:pass-c-format + +# This is the copyright holder that gets inserted into the header of the +# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding +# package. (Note that the msgid strings, extracted from the package's +# sources, belong to the copyright holder of the package.) Translators are +# expected to transfer the copyright for their translations to this person +# or entity, or to disclaim their copyright. The empty string stands for +# the public domain; in this case the translators are expected to disclaim +# their copyright. +COPYRIGHT_HOLDER = Yoyodyne, Inc. + +# This tells whether or not to prepend "GNU " prefix to the package +# name that gets inserted into the header of the $(DOMAIN).pot file. +# Possible values are "yes", "no", or empty. If it is empty, try to +# detect it automatically by scanning the files in $(top_srcdir) for +# "GNU packagename" string. +PACKAGE_GNU = no + +# This is the email address or URL to which the translators shall report +# bugs in the untranslated strings: +# - Strings which are not entire sentences, see the maintainer guidelines +# in the GNU gettext documentation, section 'Preparing Strings'. +# - Strings which use unclear terms or require additional context to be +# understood. +# - Strings which make invalid assumptions about notation of date, time or +# money. +# - Pluralisation problems. +# - Incorrect English spelling. +# - Incorrect formatting. +# It can be your email address, or a mailing list address where translators +# can write to without being subscribed, or the URL of a web page through +# which the translators can contact you. +MSGID_BUGS_ADDRESS = bug-gettext@gnu.org + +# This is the list of locale categories, beyond LC_MESSAGES, for which the +# message catalogs shall be used. It is usually empty. +EXTRA_LOCALE_CATEGORIES = + +# This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt' +# context. Possible values are "yes" and "no". Set this to yes if the +# package uses functions taking also a message context, like pgettext(), or +# if in $(XGETTEXT_OPTIONS) you define keywords with a context argument. +USE_MSGCTXT = no + +# These options get passed to msgmerge. +# Useful options are in particular: +# --previous to keep previous msgids of translated messages +MSGMERGE_OPTIONS = + +# These options get passed to msginit. +# If you want to disable line wrapping when writing PO files, add +# --no-wrap to MSGMERGE_OPTIONS, XGETTEXT_OPTIONS, and +# MSGINIT_OPTIONS. +MSGINIT_OPTIONS = + +# This tells whether or not to regenerate a PO file when $(DOMAIN).pot +# has changed. Possible values are "yes" and "no". Set this to no if +# the POT file is checked in the repository and the version control +# program ignores timestamps. +PO_DEPENDS_ON_POT = yes + +# This tells whether or not to forcibly update $(DOMAIN).pot and +# regenerate PO files on "make dist". Possible values are "yes" and +# "no". Set this to no if the POT file and PO files are maintained +# externally. +DIST_DEPENDS_ON_UPDATE_PO = yes diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/POTFILES.in b/miniconda3/share/doc/gettext/examples/hello-c-http/po/POTFILES.in new file mode 100644 index 0000000000000000000000000000000000000000..8215af41ee682d47e28fccc6cc9ba8ba70deb98e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/POTFILES.in @@ -0,0 +1,5 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# List of files which contain translatable strings. +hello-server.c diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/af.po b/miniconda3/share/doc/gettext/examples/hello-c-http/po/af.po new file mode 100644 index 0000000000000000000000000000000000000000..6986ebf751fcaad7af9e4c3d8ce016f3d69de49d --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/af.po @@ -0,0 +1,21 @@ +# Afrikaans translation for Silky +# Copyright (C) 2004 Free Software Foundation, Inc. +# This file is distributed under the same license as the silky package. +# Hanlie Pretorius , 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-http-0.13.1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2003-12-31 10:30+2\n" +"Last-Translator: Ysbeer \n" +"Language-Team: Afrikaans \n" +"Language: af\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello-server.c:307 +msgid "Hello, world!" +msgstr "Hallo wêreld!" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/ast.po b/miniconda3/share/doc/gettext/examples/hello-c-http/po/ast.po new file mode 100644 index 0000000000000000000000000000000000000000..fc1d1675cd41091a672068c2977ada596c9b3e0e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/ast.po @@ -0,0 +1,24 @@ +# Asturian translation for hello-c-http +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Marquinos , 2009. +# enolp , 2018. +msgid "" +msgstr "" +"Project-Id-Version: hello-c-http 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2018-07-16 00:28+0100\n" +"Last-Translator: enolp \n" +"Language-Team: Asturian \n" +"Language: ast\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Lokalize 2.0\n" + +#: hello-server.c:307 +msgid "Hello, world!" +msgstr "¡Hola, mundu!" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/bg.po b/miniconda3/share/doc/gettext/examples/hello-c-http/po/bg.po new file mode 100644 index 0000000000000000000000000000000000000000..829837e1d8177e9c70f81edd3d8db654ac0c3d9a --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/bg.po @@ -0,0 +1,21 @@ +# Bulgarian translations for hello-c-http package. +# Copyright (C) 2010 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Roumen Petrov , 2010,2014,2015,2019,2023,2024.2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c-http 0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-08 19:09+0200\n" +"Last-Translator: Roumen Petrov \n" +"Language-Team: Bulgarian \n" +"Language: bg\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello-server.c:307 +msgid "Hello, world!" +msgstr "Здравейте всички!" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/ca.po b/miniconda3/share/doc/gettext/examples/hello-c-http/po/ca.po new file mode 100644 index 0000000000000000000000000000000000000000..569789dfcc69efc52c162c7604ff30231bf1458b --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/ca.po @@ -0,0 +1,22 @@ +# Catalan messages for GNU hello-c-http. +# Copyright (C) 2003, 2014, 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Ivan Vilata i Balaguer , 2003, 2014, 2015, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-http 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-07-07 08:36+0200\n" +"Last-Translator: Ivan Vilata i Balaguer \n" +"Language-Team: Catalan \n" +"Language: ca\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello-server.c:307 +msgid "Hello, world!" +msgstr "Hola, món!" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/cs.po b/miniconda3/share/doc/gettext/examples/hello-c-http/po/cs.po new file mode 100644 index 0000000000000000000000000000000000000000..7df3cdf72f0f4d13571bcd089739c8ad59e54b08 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/cs.po @@ -0,0 +1,24 @@ +# The Czech translation for the gettext package. +# Copyright (C) 2011 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Marek Černocký , 2011. +# Petr Písař , 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-http 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 20:05+02:00\n" +"Last-Translator: Petr Pisar \n" +"Language-Team: Czech \n" +"Language: cs\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#: hello-server.c:307 +msgid "Hello, world!" +msgstr "Ahoj světe!" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/da.po b/miniconda3/share/doc/gettext/examples/hello-c-http/po/da.po new file mode 100644 index 0000000000000000000000000000000000000000..f552cda3b90a3ed91aa7d481169f397b64b44e77 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/da.po @@ -0,0 +1,23 @@ +# Danish messages for hello-c-http. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Jan Djærv , 2003, 2006. +# Keld Simonsen , 2011. +# Joe Hansen , 2015. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-http 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-06-27 12:39+0100\n" +"Last-Translator: Joe Hansen \n" +"Language-Team: Danish \n" +"Language: da\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello-server.c:307 +msgid "Hello, world!" +msgstr "Hej verden!" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/de.po b/miniconda3/share/doc/gettext/examples/hello-c-http/po/de.po new file mode 100644 index 0000000000000000000000000000000000000000..ec7ad25db041e8f747c9eacd25922cd440f7a84f --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/de.po @@ -0,0 +1,27 @@ +# German messages for hello-c-http. +# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Bruno Haible , 2003. +# Karl Eichwalder , 2003. +# Jakob Kramer , 2013. +# Mario Blättermann , 2014, 2023, 2025. +# Philipp Thomas , 2015. +msgid "" +msgstr "" +"Project-Id-Version: hello-c-http 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 17:15+0200\n" +"Last-Translator: Mario Blättermann \n" +"Language-Team: German \n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 25.04.0\n" + +#: hello-server.c:307 +msgid "Hello, world!" +msgstr "Hallo Welt!" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/el.po b/miniconda3/share/doc/gettext/examples/hello-c-http/po/el.po new file mode 100644 index 0000000000000000000000000000000000000000..fcc2cd7e3486b409b4e3b0cb4941c0af79878509 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/el.po @@ -0,0 +1,21 @@ +# Greek translation of hello-c-http +# Copyright (C) 2005 Free Software Foundation, Inc. +# Simos Xenitellis , 2005. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-http 0.14.1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2005-01-06 18:50+0000\n" +"Last-Translator: Simos Xenitellis \n" +"Language-Team: Greek \n" +"Language: el\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: KBabel 1.3.1\n" + +#: hello-server.c:307 +msgid "Hello, world!" +msgstr "Γεια σου, κόσμε!" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/eo.po b/miniconda3/share/doc/gettext/examples/hello-c-http/po/eo.po new file mode 100644 index 0000000000000000000000000000000000000000..ea5ee739b776bf0a66780c863289a03a236bb48e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/eo.po @@ -0,0 +1,23 @@ +# La teksto por la mesaĝoj de la programo "gettext". +# Copyright (C) 2006, 2016 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Edmund GRIMLEY EVANS , 2006. +# Felipe CASTRO , 2016, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-http 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-23 19:00-0300\n" +"Last-Translator: Felipe Castro \n" +"Language-Team: Esperanto \n" +"Language: eo\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello-server.c:307 +msgid "Hello, world!" +msgstr "Saluton, mondo!" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/es.po b/miniconda3/share/doc/gettext/examples/hello-c-http/po/es.po new file mode 100644 index 0000000000000000000000000000000000000000..95997c7240d40bc019357551f679c647e0bbe18b --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/es.po @@ -0,0 +1,25 @@ +# Mensajes en español para GNU gettext. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# +# This file is distributed under the same license as the gettext package. +# +# Max de Mendizábal , 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004. +# Antonio Ceballos , 2014, 2015, 2023, 2025 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-http-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-02-23 17:01+0100\n" +"Last-Translator: Antonio Ceballos \n" +"Language-Team: Spanish \n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello-server.c:307 +msgid "Hello, world!" +msgstr "¡Hola, mundo!" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/fi.po b/miniconda3/share/doc/gettext/examples/hello-c-http/po/fi.po new file mode 100644 index 0000000000000000000000000000000000000000..bfa71f61110feb4df6de5cc86ab83fdec18a0085 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/fi.po @@ -0,0 +1,24 @@ +# Finnish messages for GNU Gettext examples. +# This file is distributed under the same license as the gettext package. +# Copyright © 2007, 2014, 2015 Yoyodyne, Inc. (msgids) +# Lauri Nurmi , 2007. +# Jorma Karvonen , 2014-2015. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-http 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-09-01 16:59+0300\n" +"Last-Translator: Jorma Karvonen \n" +"Language-Team: Finnish \n" +"Language: fi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 1.5.4\n" + +# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti. +#: hello-server.c:307 +msgid "Hello, world!" +msgstr "Terve maailma!" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/fr.po b/miniconda3/share/doc/gettext/examples/hello-c-http/po/fr.po new file mode 100644 index 0000000000000000000000000000000000000000..6b0ba39174351c528a85bbb0b3cdd5b7239d60e3 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/fr.po @@ -0,0 +1,27 @@ +# Messages français pour GNU gettext. +# Copyright (C) 2006 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Michel Robitaille , 2006. +# Christophe Combelles , 2006 +# Stéphane Aulery , 2015 +# Christian Wiatr , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-http 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-28 16:25+0200\n" +"Last-Translator: Christian Wiatr \n" +"Language-Team: French \n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello-server.c:307 +msgid "Hello, world!" +msgstr "Bonjour, le monde !" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/ga.po b/miniconda3/share/doc/gettext/examples/hello-c-http/po/ga.po new file mode 100644 index 0000000000000000000000000000000000000000..ebf47440428592b0a35d8413a56a416d2d2479c8 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/ga.po @@ -0,0 +1,21 @@ +# Irish translations for hello-c-http. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Kevin Patrick Scannell , 2004, 2017. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-http 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2017-01-10 12:09-0500\n" +"Last-Translator: Kevin Patrick Scannell \n" +"Language-Team: Irish \n" +"Language: ga\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello-server.c:307 +msgid "Hello, world!" +msgstr "Dia duit, a dhomhain!" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/gl.po b/miniconda3/share/doc/gettext/examples/hello-c-http/po/gl.po new file mode 100644 index 0000000000000000000000000000000000000000..88928c8690857e5160de4fb7cbdf7f45f28e9956 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/gl.po @@ -0,0 +1,26 @@ +# Galician translation for hello-c-http package. +# Copyright (C) 2010 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Leandro Regueiro , 2010-2014. +# +# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas +# colaborar connosco, podes atopar máis información en +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-http 0.19-rc1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2014-05-10 16:34+0100\n" +"Last-Translator: Leandro Regueiro \n" +"Language-Team: Galician \n" +"Language: gl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n!=1);\n" + +#: hello-server.c:307 +msgid "Hello, world!" +msgstr "Ola, mundo!" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/hr.po b/miniconda3/share/doc/gettext/examples/hello-c-http/po/hr.po new file mode 100644 index 0000000000000000000000000000000000000000..3ee6657eb251e271ecf640b5f3e246c39dae9d39 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/hr.po @@ -0,0 +1,28 @@ +# Translation of hello-c-http to Croatian. +# Copyright (C) 2003, 2004, 2014, 2015, 2019 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Permission is granted to freely copy and distribute +# this file and modified versions, provided that this +# header is not removed and modified versions are marked +# as such. +# +# Tomislav Krznar , 2012. +# Božidar Putanec , 2018-2025. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c-http 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 10:15-0700\n" +"Last-Translator: Božidar Putanec \n" +"Language-Team: Croatian \n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello-server.c:307 +msgid "Hello, world!" +msgstr "Pozdrav, svijete!" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/hu.po b/miniconda3/share/doc/gettext/examples/hello-c-http/po/hu.po new file mode 100644 index 0000000000000000000000000000000000000000..c8ae56f488bab8e8c9c4f583699c7ea9cbf05727 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/hu.po @@ -0,0 +1,24 @@ +# Hungarian translation for hello-c-http. +# This file is distributed under the same license as the gettext package. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# +# Tamás Kiss , 2005. +# Balázs Úr , 2014, 2015. +msgid "" +msgstr "" +"Project-Id-Version: hello-c-http 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-06-23 20:31+0200\n" +"Last-Translator: Balázs Úr \n" +"Language-Team: Hungarian \n" +"Language: hu\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 1.2\n" + +#: hello-server.c:307 +msgid "Hello, world!" +msgstr "Hello, világ!" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/id.po b/miniconda3/share/doc/gettext/examples/hello-c-http/po/id.po new file mode 100644 index 0000000000000000000000000000000000000000..f68cd2e969b5980c790da7d8796ddde2e610c591 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/id.po @@ -0,0 +1,22 @@ +# translation of hello-c-http-0.15-pre5.po to Indonesian +# Copyright (C) 2006 Yoyodyne, Inc. +# This file is distributed under the same license as the PACKAGE package. +# +# Tedi Heriyanto , 2006. +msgid "" +msgstr "" +"Project-Id-Version: hello-c-http-0.15-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2006-09-27 20:19+0700\n" +"Last-Translator: Tedi Heriyanto \n" +"Language-Team: Indonesian \n" +"Language: id\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: KBabel 1.11.2\n" + +#: hello-server.c:307 +msgid "Hello, world!" +msgstr "Hello, world!" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/it.po b/miniconda3/share/doc/gettext/examples/hello-c-http/po/it.po new file mode 100644 index 0000000000000000000000000000000000000000..9788200fcbd2dc02672b60d0a74441bd70cfce81 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/it.po @@ -0,0 +1,24 @@ +# Italian messages for hello-c-http. +# Copyright (C) 2005, 2006 Yoyodyne, Inc. (msgids) +# Copyright (C) 2024 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Marco Colombo , 2005, 2006, 2015. +# Michele Locati , 2024, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c-http 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-04 18:28+0200\n" +"Last-Translator: Michele Locati \n" +"Language-Team: Italian \n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello-server.c:307 +msgid "Hello, world!" +msgstr "Ciao, mondo!" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/ja.po b/miniconda3/share/doc/gettext/examples/hello-c-http/po/ja.po new file mode 100644 index 0000000000000000000000000000000000000000..82f1c4d8ed674bc463bf313b148346f0512140c9 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/ja.po @@ -0,0 +1,21 @@ +# Translation of `hello-c-http' messages to Japanese. +# Copyright (C) 2005, 2006, 2014, 2015, 2023, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Masahito Yamaga , 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c-http 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 19:59+0900\n" +"Last-Translator: Masahito Yamaga \n" +"Language-Team: Japanese \n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello-server.c:307 +msgid "Hello, world!" +msgstr "世界よ, こんにちは!" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/ka.po b/miniconda3/share/doc/gettext/examples/hello-c-http/po/ka.po new file mode 100644 index 0000000000000000000000000000000000000000..c1228d07a99cd34160a1f0bba9a4346925d0f202 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/ka.po @@ -0,0 +1,23 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Temuri Doghonadze , 2022. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-http 0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2022-05-22 05:04+0200\n" +"Last-Translator: Temuri Doghonadze \n" +"Language-Team: Georgian <(nothing)>\n" +"Language: ka\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 3.0.1\n" + +#: hello-server.c:307 +msgid "Hello, world!" +msgstr "გამარჯობა სამყაროვ!" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/ky.po b/miniconda3/share/doc/gettext/examples/hello-c-http/po/ky.po new file mode 100644 index 0000000000000000000000000000000000000000..2448a8d510e1abc29d2c9f5128c0b75c7b038a4e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/ky.po @@ -0,0 +1,23 @@ +# Translation of 'hello-c-http' messages to Kirghiz. +# Copyright (C) 2004 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Ilyas Bakirov , 2007. +# Ilyas Bakirov , 2018. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-http 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2018-02-15 18:26+0600\n" +"Last-Translator: Ilyas Bakirov \n" +"Language-Team: Kirghiz \n" +"Language: ky\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 2.0.6\n" + +#: hello-server.c:307 +msgid "Hello, world!" +msgstr "Салам дүйнө!" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/lv.po b/miniconda3/share/doc/gettext/examples/hello-c-http/po/lv.po new file mode 100644 index 0000000000000000000000000000000000000000..2acf84124f310c2e915deadaada3f2a416b055ed --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/lv.po @@ -0,0 +1,25 @@ +# Latvian translation of hello-c-http +# Copyright (C) 2009 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Arvis Lācis , 2009. +# Rihards Priedītis , 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-http-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-09 11:44+0000\n" +"Last-Translator: Rihards Priedītis \n" +"Language-Team: Latvian \n" +"Language: lv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : " +"2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello-server.c:307 +msgid "Hello, world!" +msgstr "Sveika, pasaule!" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/ms.po b/miniconda3/share/doc/gettext/examples/hello-c-http/po/ms.po new file mode 100644 index 0000000000000000000000000000000000000000..b5427b3fa4bb92f549f8f2bd7fa184b353fa02d4 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/ms.po @@ -0,0 +1,23 @@ +# hello-c-http Bahasa Melayu (Malay) (ms). +# Copyright (C) 2006, 2015, 2023, 2025 Yoyodyne, Inc. (msgids) +# Copyright (C) 2006, 2015, 2023, 2025 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Sharuzzaman Ahmat Raslan , 2006, 2015, 2023, 2025 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-http 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-03 21:10+0800\n" +"Last-Translator: Sharuzzaman Ahmat Raslan \n" +"Language-Team: Malay \n" +"Language: ms\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello-server.c:307 +msgid "Hello, world!" +msgstr "Hello, dunia!" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/mt.po b/miniconda3/share/doc/gettext/examples/hello-c-http/po/mt.po new file mode 100644 index 0000000000000000000000000000000000000000..521d6041eff910ed9dc40506ed4b468b9e78bf7b --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/mt.po @@ -0,0 +1,22 @@ +# hello-c-http-0.16.2-pre5. +# Copyright (C) 2008 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Clyde Meli , 2001-2008. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: hello-c-http 0.16.2-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2008-11-18 17:27+0100\n" +"Last-Translator: Clyde Meli \n" +"Language-Team: Maltese \n" +"Language: mt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello-server.c:307 +msgid "Hello, world!" +msgstr "Hello, lil kulħadd!" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/nb.po b/miniconda3/share/doc/gettext/examples/hello-c-http/po/nb.po new file mode 100644 index 0000000000000000000000000000000000000000..5d236e43912e24069863312c29ac6d2c79c77d92 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/nb.po @@ -0,0 +1,24 @@ +# Norwegian Bokmal translations for hello-c-http package. +# Copyright (C) 2012 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Johnny A. Solbu , 2012-2024 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-http 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-01-06 16:33+0100\n" +"Last-Translator: Johnny A. Solbu \n" +"Language-Team: Norwegian Bokmaal \n" +"Language: nb\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello-server.c:307 +msgid "Hello, world!" +msgstr "Hallo verden!" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/nl.po b/miniconda3/share/doc/gettext/examples/hello-c-http/po/nl.po new file mode 100644 index 0000000000000000000000000000000000000000..69350247bab459768667f7248139335ff040859a --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/nl.po @@ -0,0 +1,26 @@ +# Dutch translations for GNU hello-c-http. +# Copyright (C) 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# "There are three basic rules for writing a novel. +# Unfortunately nobody knows what they are." +# +# Benno Schulenberg , 2007, 2014, 2015, 2019, 2025. +# Elros Cyriatan , 2004. +msgid "" +msgstr "" +"Project-Id-Version: hello-c-http-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-01 14:51+0100\n" +"Last-Translator: Benno Schulenberg \n" +"Language-Team: Dutch \n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello-server.c:307 +msgid "Hello, world!" +msgstr "Hallo, wereld!" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/nn.po b/miniconda3/share/doc/gettext/examples/hello-c-http/po/nn.po new file mode 100644 index 0000000000000000000000000000000000000000..212fc3786681feb029859b36cc37c4d76f6e1eeb --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/nn.po @@ -0,0 +1,23 @@ +# Norwegian Nynorsk translation of GNU hello-c-http +# Copyright (C) 2020 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Karl Ove Hufthammer , 2020. +msgid "" +msgstr "" +"Project-Id-Version: hello-c-http-0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2020-05-04 18:58+0200\n" +"Last-Translator: Karl Ove Hufthammer \n" +"Language-Team: Norwegian Nynorsk \n" +"Language: nn\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 20.04.0\n" + +#: hello-server.c:307 +msgid "Hello, world!" +msgstr "Hei, verda!" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/pl.po b/miniconda3/share/doc/gettext/examples/hello-c-http/po/pl.po new file mode 100644 index 0000000000000000000000000000000000000000..5438ca47908313e370216ec355a6bd2476501dc1 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/pl.po @@ -0,0 +1,22 @@ +# Polish translations for the GNU gettext messages, hello-c-http domain +# Copyright (C) 2010, 2014, 2015, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Rafał Maszkowski , 2003, 2010, 2014, 2015, 2025 +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c-http 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-25 17:16+0200\n" +"Last-Translator: Rafał Maszkowski \n" +"Language-Team: Polish \n" +"Language: pl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8-bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " +"|| n%100>=20) ? 1 : 2);\n" + +#: hello-server.c:307 +msgid "Hello, world!" +msgstr "Cześć, świecie!" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/pt.po b/miniconda3/share/doc/gettext/examples/hello-c-http/po/pt.po new file mode 100644 index 0000000000000000000000000000000000000000..b842eb448976c5db24bd9a56157230f719a61058 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/pt.po @@ -0,0 +1,23 @@ +# Portuguese (Portugal) translation of 'hello-c-http' package. +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Pedro Albuquerque , 2019, 2020, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-http 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 11:24+0100\n" +"Last-Translator: Pedro Albuquerque \n" +"Language-Team: Portuguese \n" +"Language: pt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\\n;\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.6\n" + +#: hello-server.c:307 +msgid "Hello, world!" +msgstr "Olá mundo!" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/pt_BR.po b/miniconda3/share/doc/gettext/examples/hello-c-http/po/pt_BR.po new file mode 100644 index 0000000000000000000000000000000000000000..c99835552121a03881ddf2a9e4763c514bf310c1 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/pt_BR.po @@ -0,0 +1,26 @@ +# Brazilian Portuguese translations for gettext-example +# Traduções em português brasileiro para gettext-example +# Copyright (C) 2025 Yoyodyne, Inc. (msgids) +# Copyright (C) 2025 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Rafael Fontenelle , 2013-2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-http 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 10:24-0300\n" +"Last-Translator: Rafael Fontenelle \n" +"Language-Team: Brazilian Portuguese \n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Gtranslator 48.0\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello-server.c:307 +msgid "Hello, world!" +msgstr "Olá, mundo!" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/ro.po b/miniconda3/share/doc/gettext/examples/hello-c-http/po/ro.po new file mode 100644 index 0000000000000000000000000000000000000000..30227a5ebdb02dedaf75dc1867dcdf4f84204180 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/ro.po @@ -0,0 +1,45 @@ +# Translation of "hello-c-http" messages to Romanian. +# Mesajele în limba română pentru pachetul hello-c-http. +# Copyright © 2015, 2019, 2022, 2023, 2024, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Eugen Hoancă , 2003. +# Mihai Cristescu , 2015 - 2019. +# Remus-Gabriel Chelu , 2022 - 2025. +# +# Cronologia traducerii fișierului „hello-c-http”: +# Traducerea inițială, făcută de EH, pentru versiunea hello-c-http 0.12.1, 2003. +# Actualizare a traducerii pentru versiunea hello-c-http 0.19.4-rc1, făcută de MC, mar-2015. +# Actualizare a traducerii pentru versiunea hello-c-http 0.19.4.73, făcută de MC, iun-2015. +# Actualizare a traducerii pentru versiunea hello-c-http 0.20-rc1, făcută de MC, apr-2019. +# Actualizare a mesajelor, de la fișierul „hello-c-http-0.20.2.pot”. +# Actualizare a algoritmului formelor de plural (de la „trei-vechi” la „trei-actual”). +# NU și a mesajelor traduse (acestea au rămas neschimbate). +# Eliminare a mesajelor ce-au dispărut în ultima versiune. +# Actualizări realizate de Remus-Gabriel Chelu , 15.01.2022. +# Actualizare a traducerii pentru versiunea 0.20.2 făcută de R-GC, ian-2022. +# Actualizare a traducerii pentru versiunea 0.22 făcută de R-GC, iun-2023. +# Revizuire și corectare a traducerii pentru versiunea 0.23-pre1 făcută de R-GC, oct-2024. +# Actualizare a traducerii pentru versiunea 0.24-pre1 făcută de R-GC, feb-2025. +# Actualizare a traducerii pentru versiunea 0.25-pre1 făcută de R-GC, apr-2025. +# Actualizare a traducerii pentru versiunea Y, făcută de X, Z(luna-anul). +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-http 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-29 00:25+0200\n" +"Last-Translator: Remus-Gabriel Chelu \n" +"Language-Team: Romanian \n" +"Language: ro\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " +"20)) ? 1 : 2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello-server.c:307 +msgid "Hello, world!" +msgstr "Salutare, lume!" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/ru.po b/miniconda3/share/doc/gettext/examples/hello-c-http/po/ru.po new file mode 100644 index 0000000000000000000000000000000000000000..e46171817debe0378f87c53622ed3a3f6690912d --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/ru.po @@ -0,0 +1,25 @@ +# Translation of hello-c-http-0.14.1.po to Russian +# Copyright (C) 2004 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Pavel Maryanov , 2004. +# SPDX-FileCopyrightText: 2014, 2015, 2023, 2025 Yuri Kozlov +msgid "" +msgstr "" +"Project-Id-Version: hello-c-http 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-02 09:17+0300\n" +"Last-Translator: Yuri Kozlov \n" +"Language-Team: Russian \n" +"Language: ru\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Lokalize 24.12.0\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#: hello-server.c:307 +msgid "Hello, world!" +msgstr "Здравствуй, мир!" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/sk.po b/miniconda3/share/doc/gettext/examples/hello-c-http/po/sk.po new file mode 100644 index 0000000000000000000000000000000000000000..3f686173c52ed321b9c71d877dac546656adc61e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/sk.po @@ -0,0 +1,21 @@ +# Slovak translations GNU for hello-c-http package. +# Copyright (C) 2003, 2004, 2014, 2023, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Marcel Telka , 2003, 2004, 2014, 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c-http 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 13:53+0200\n" +"Last-Translator: Marcel Telka \n" +"Language-Team: Slovak \n" +"Language: sk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello-server.c:307 +msgid "Hello, world!" +msgstr "Ahoj svet!" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/sl.po b/miniconda3/share/doc/gettext/examples/hello-c-http/po/sl.po new file mode 100644 index 0000000000000000000000000000000000000000..41a0e2d21165a52fc4eb599c8e6a33d68e7b6702 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/sl.po @@ -0,0 +1,24 @@ +# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example +# Copyright (C) 2005 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Primož Peterlin , 2005, 2014, 2015, 2024. +# $Id: hello-c-http-0.22.sl.po,v 1.1 2024/03/28 17:02:19 peterlin Exp $ +msgid "" +msgstr "" +"Project-Id-Version: hello-c-http 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-03-28 18:02+0100\n" +"Last-Translator: Primož Peterlin \n" +"Language-Team: Slovenian \n" +"Language: sl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8-bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || " +"n%100==4 ? 3 : 0);\n" + +#: hello-server.c:307 +msgid "Hello, world!" +msgstr "Pozdravljen, svet!" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/sq.po b/miniconda3/share/doc/gettext/examples/hello-c-http/po/sq.po new file mode 100644 index 0000000000000000000000000000000000000000..569439d27fd5a970de063d06e14e9060732ff7aa --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/sq.po @@ -0,0 +1,23 @@ +# Albanian translation of gettext-example. +# Copyright (C) 2020 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Besnik Bleta , 2020,2023,2024,2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-http-0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 19:56+0300\n" +"Last-Translator: Besnik Bleta \n" +"Language-Team: Albanian \n" +"Language: sq\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.2.2\n" + +#: hello-server.c:307 +msgid "Hello, world!" +msgstr "Tungjatjeta, botë!" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/sr.po b/miniconda3/share/doc/gettext/examples/hello-c-http/po/sr.po new file mode 100644 index 0000000000000000000000000000000000000000..e2d800261d6a46d37c835df360c4cfc73353026c --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/sr.po @@ -0,0 +1,25 @@ +# Serbian translation of hello-c-http. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Aleksandar Jelenak , 2004. +# Мирослав Николић , 2014-2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-http-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-02 16:51+0100\n" +"Last-Translator: Мирослав Николић \n" +"Language-Team: Serbian <(nothing)>\n" +"Language: sr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello-server.c:307 +msgid "Hello, world!" +msgstr "Здраво, свима!" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/sv.po b/miniconda3/share/doc/gettext/examples/hello-c-http/po/sv.po new file mode 100644 index 0000000000000000000000000000000000000000..b49103825b2e9cbab255c4715293e90667fca02d --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/sv.po @@ -0,0 +1,25 @@ +# Swedish messages for hello-c-http. +# Copyright © 2006, 2014, 2016, 2019, 2020, 2023, 2024, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Jan Djärv , 2003, 2006, 2014. +# Göran Uddeborg , 2016, 2019, 2020, 2023, 2024, 2025. +# Luna Jernberg , 2025. +# $Revision: 1.12 $ +msgid "" +msgstr "" +"Project-Id-Version: hello-c-http 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 12:18+0200\n" +"Last-Translator: Luna Jernberg \n" +"Language-Team: Swedish \n" +"Language: sv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello-server.c:307 +msgid "Hello, world!" +msgstr "Hej världen!" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/ta.po b/miniconda3/share/doc/gettext/examples/hello-c-http/po/ta.po new file mode 100644 index 0000000000000000000000000000000000000000..0fa9b0e63efba6404d554c367752d00f71664ee1 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/ta.po @@ -0,0 +1,23 @@ +# Tamil messages for GNU gettext. +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# List of contributors follow: +# Poorajith , 2018. +# Arun Isaac , 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-http 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-19 00:06+0100\n" +"Last-Translator: Arun Isaac \n" +"Language-Team: Tamil \n" +"Language: ta\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello-server.c:307 +msgid "Hello, world!" +msgstr "வணக்கம், உலகு!" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/tr.po b/miniconda3/share/doc/gettext/examples/hello-c-http/po/tr.po new file mode 100644 index 0000000000000000000000000000000000000000..5cbf4df942f07d5d9cd2b3ac26b589ad0ef18b50 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/tr.po @@ -0,0 +1,24 @@ +# Turkish translation for hello-c-http. +# This file is distributed under the same license as the gettext package. +# Copyright (C) 2017 Yoyodyne, Inc. (msgids) +# Copyright (C) 2004 Free Software Foundation, Inc. +# Nilgün Belma Bugüner , 2003,2004 +# Mehmet Kececi , 2017, 2019, 2020. +msgid "" +msgstr "" +"Project-Id-Version: hello-c-http 0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2020-04-17 13:10+0300\n" +"Last-Translator: Mehmet Kececi \n" +"Language-Team: Turkish \n" +"Language: tr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Poedit 2.3\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello-server.c:307 +msgid "Hello, world!" +msgstr "Merhaba, dünya!" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/uk.po b/miniconda3/share/doc/gettext/examples/hello-c-http/po/uk.po new file mode 100644 index 0000000000000000000000000000000000000000..7e8894141fc432185beba5d5ef6c7169827687ff --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/uk.po @@ -0,0 +1,25 @@ +# Ukrainian translation to hello-c-http +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Maxim V. Dziumanenko , 2004-2007. +# Yuri Chornoivan , 2014, 2015, 2023, 2025. +msgid "" +msgstr "" +"Project-Id-Version: hello-c-http 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 13:56+0300\n" +"Last-Translator: Yuri Chornoivan \n" +"Language-Team: Ukrainian \n" +"Language: uk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Generator: Lokalize 23.04.3\n" + +#: hello-server.c:307 +msgid "Hello, world!" +msgstr "Привіт, світе!" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/vi.po b/miniconda3/share/doc/gettext/examples/hello-c-http/po/vi.po new file mode 100644 index 0000000000000000000000000000000000000000..d65fb1bfa0c3e4bd96b9cfe69389d899bc268dbc --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/vi.po @@ -0,0 +1,25 @@ +# Vietnamese Translation for Gettext Examples. +# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext. +# Copyright © 2015 Yoyodyne, Inc. (msgids) +# Copyright © 2015 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Clytie Siddall , 2005-2010. +# Trần Ngọc Quân , 2012-2015, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-http 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-24 09:10+0700\n" +"Last-Translator: Trần Ngọc Quân \n" +"Language-Team: Vietnamese \n" +"Language: vi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: hello-server.c:307 +msgid "Hello, world!" +msgstr "Chào thế giới!" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/zh_CN.po b/miniconda3/share/doc/gettext/examples/hello-c-http/po/zh_CN.po new file mode 100644 index 0000000000000000000000000000000000000000..a98880c0f63bae42dcaa42c1ec6d2b25e4f15342 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/zh_CN.po @@ -0,0 +1,24 @@ +# zh_CN translation for hello-c-http. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Funda Wang , 2003. +# Ji ZhengYu , 2015. +# Boyuan Yang <073plan@gmail.com>, 2019, 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-http 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-29 15:56-0400\n" +"Last-Translator: Boyuan Yang <073plan@gmail.com>\n" +"Language-Team: Chinese (simplified) \n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.6\n" + +#: hello-server.c:307 +msgid "Hello, world!" +msgstr "你好,世界!" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/zh_HK.po b/miniconda3/share/doc/gettext/examples/hello-c-http/po/zh_HK.po new file mode 100644 index 0000000000000000000000000000000000000000..b50aaa1253a72f66b9747bdd0547c672c6c4b68c --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/zh_HK.po @@ -0,0 +1,20 @@ +# Chinese (Hong Kong) translation of hello-c-http. +# Copyright (C) 2006 Yoyodyne, Inc. +# Abel Cheung , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-http 0.15-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2006-07-05 15:40+0800\n" +"Last-Translator: Abel Cheung \n" +"Language-Team: Chinese (Hong Kong) \n" +"Language: zh_HK\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello-server.c:307 +msgid "Hello, world!" +msgstr "你好!" diff --git a/miniconda3/share/doc/gettext/examples/hello-c-http/po/zh_TW.po b/miniconda3/share/doc/gettext/examples/hello-c-http/po/zh_TW.po new file mode 100644 index 0000000000000000000000000000000000000000..2aca90a5a37d38f58041f292a4098074e9ef409e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c-http/po/zh_TW.po @@ -0,0 +1,24 @@ +# Traditional Chinese translation of hello-c-http. +# Copyright (C) 2009 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Abel Cheung , 2005. +# Wei-Lun Chao , 2013, 2015. +# Yi-Jyun Pan , 2024. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-http 0.23-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-11-30 14:14+0800\n" +"Last-Translator: Yi-Jyun Pan \n" +"Language-Team: Chinese (traditional) \n" +"Language: zh_TW\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello-server.c:307 +msgid "Hello, world!" +msgstr "哈囉,大家好!" diff --git a/miniconda3/share/doc/gettext/examples/hello-c/INSTALL b/miniconda3/share/doc/gettext/examples/hello-c/INSTALL new file mode 100644 index 0000000000000000000000000000000000000000..0f981dc96d7b0a5ed90d62699814db7bcc4f06a0 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/INSTALL @@ -0,0 +1,10 @@ +This example relies just on gettext-runtime (and libc, of course). + +Installation: + ./autogen.sh + ./configure --prefix=/some/prefix + make + make install +Cleanup: + make distclean + ./autoclean.sh diff --git a/miniconda3/share/doc/gettext/examples/hello-c/Makefile.am b/miniconda3/share/doc/gettext/examples/hello-c/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..2afd4562a257a18b290d7da8092938112b6e0969 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/Makefile.am @@ -0,0 +1,29 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Makefile configuration - processed by automake. + +# General automake options. +AUTOMAKE_OPTIONS = foreign no-dependencies +ACLOCAL_AMFLAGS = -I m4 + +# The list of subdirectories containing Makefiles. +SUBDIRS = m4 po + +# The list of programs that are built. +bin_PROGRAMS = hello + +# The source files of the 'hello' program. +hello_SOURCES = hello.c gettext.h + +# Define a C macro LOCALEDIR indicating where catalogs will be installed. +DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ + +# Make sure the gettext.h include file is found. +AM_CPPFLAGS = -I. -I$(srcdir) + +# Link time dependencies. +LDADD = @LIBINTL@ + +# Additional files to be distributed. +EXTRA_DIST = autogen.sh autoclean.sh diff --git a/miniconda3/share/doc/gettext/examples/hello-c/autoclean.sh b/miniconda3/share/doc/gettext/examples/hello-c/autoclean.sh new file mode 100644 index 0000000000000000000000000000000000000000..1838e8d232aa0fee0d512f9fa715d4e1af1af925 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/autoclean.sh @@ -0,0 +1,46 @@ +#!/bin/sh +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Script for cleaning all autogenerated files. + +test ! -f Makefile || make distclean +rm -rf autom4te.cache + +# Brought in by explicit copy. +rm -f gettext.h + +# Brought in by autopoint. +rm -f ABOUT-NLS +rm -f config.rpath +rm -f m4/gettext.m4 +rm -f m4/build-to-host.m4 +rm -f m4/host-cpu-c-abi.m4 +rm -f m4/iconv.m4 +rm -f m4/intlmacosx.m4 +rm -f m4/lib-ld.m4 +rm -f m4/lib-link.m4 +rm -f m4/lib-prefix.m4 +rm -f m4/nls.m4 +rm -f m4/po.m4 +rm -f m4/progtest.m4 +rm -f po/Makefile.in.in +rm -f po/remove-potcdate.sed + +# Generated by aclocal. +rm -f aclocal.m4 + +# Generated by autoconf. +rm -f configure + +# Generated or brought in by automake. +rm -f Makefile.in +rm -f m4/Makefile.in +rm -f compile +rm -f install-sh +rm -f missing +rm -f config.guess +rm -f config.sub +rm -f po/*.pot +rm -f po/stamp-po +rm -f po/*.gmo diff --git a/miniconda3/share/doc/gettext/examples/hello-c/autogen.sh b/miniconda3/share/doc/gettext/examples/hello-c/autogen.sh new file mode 100644 index 0000000000000000000000000000000000000000..1ae12f1bee2e1bc4551404250e4072ca70fccc71 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/autogen.sh @@ -0,0 +1,50 @@ +#!/bin/sh +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Script for regenerating all autogenerated files. + +if test -r ../Makefile.am; then + # Inside the gettext source directory. + GETTEXT_TOPSRCDIR=../../.. +else + if test -r ../Makefile; then + # Inside a gettext build directory. + GETTEXT_TOOLS_SRCDIR=`sed -n -e 's,^top_srcdir *= *\(.*\)$,\1,p' ../Makefile` + # Adjust a relative top_srcdir. + case $GETTEXT_TOOLS_SRCDIR in + /*) ;; + *) GETTEXT_TOOLS_SRCDIR=../$GETTEXT_TOOLS_SRCDIR ;; + esac + GETTEXT_TOPSRCDIR=$GETTEXT_TOOLS_SRCDIR/../.. + else + # Installed under ${prefix}/share/doc/gettext/examples. + . ../installpaths + fi +fi + +cp -p ${GETTEXTSRCDIR-$GETTEXT_TOPSRCDIR/gettext-tools/gnulib-lib}/gettext.h gettext.h + +autopoint -f # was: gettextize -f -c +rm po/Makevars.template +rm po/Rules-quot +rm po/boldquot.sed +rm po/en@boldquot.header +rm po/en@quot.header +rm po/insert-header.sed +rm po/quot.sed + +aclocal -I m4 + +autoconf + +automake -a -c + +cd po +for f in *.po; do + if test -r "$f"; then + lang=`echo $f | sed -e 's,\.po$,,'` + msgfmt -c -o $lang.gmo $lang.po + fi +done +cd .. diff --git a/miniconda3/share/doc/gettext/examples/hello-c/configure.ac b/miniconda3/share/doc/gettext/examples/hello-c/configure.ac new file mode 100644 index 0000000000000000000000000000000000000000..596e6495a2fd28735ca1d4dbb1bb363beb8561f9 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/configure.ac @@ -0,0 +1,17 @@ +dnl Example for use of GNU gettext. +dnl This file is in the public domain. +dnl +dnl Configuration file - processed by autoconf. + +AC_INIT([hello-c], [0]) +AC_CONFIG_SRCDIR([hello.c]) +AM_INIT_AUTOMAKE([1.11]) + +AC_PROG_CC +AM_GNU_GETTEXT([external]) +AM_GNU_GETTEXT_VERSION([0.25]) + +AC_CONFIG_FILES([Makefile]) +AC_CONFIG_FILES([m4/Makefile]) +AC_CONFIG_FILES([po/Makefile.in]) +AC_OUTPUT diff --git a/miniconda3/share/doc/gettext/examples/hello-c/hello.c b/miniconda3/share/doc/gettext/examples/hello-c/hello.c new file mode 100644 index 0000000000000000000000000000000000000000..a4a6278d4e7b1db504cb29adbc51f0fece7ec061 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/hello.c @@ -0,0 +1,40 @@ +/* Example for use of GNU gettext. + This file is in the public domain. + + Source code of the C program. */ + + +/* Get setlocale() declaration. */ +#include + +/* Get printf() declaration. */ +#include + +/* Get getpid() declaration. */ +#if defined _WIN32 && !defined __CYGWIN__ +/* native Windows API */ +# include +# define getpid _getpid +#else +/* POSIX API */ +# include +#endif + +/* Get gettext(), textdomain(), bindtextdomain() declaration. */ +#include "gettext.h" +/* Define shortcut for gettext(). */ +#define _(string) gettext (string) + +int +main () +{ + setlocale (LC_ALL, ""); + textdomain ("hello-c"); + bindtextdomain ("hello-c", LOCALEDIR); + + printf ("%s\n", _("Hello, world!")); + printf (_("This program is running as process number %d."), getpid ()); + putchar ('\n'); + + return 0; +} diff --git a/miniconda3/share/doc/gettext/examples/hello-c/m4/Makefile.am b/miniconda3/share/doc/gettext/examples/hello-c/m4/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..7d516f09ff64e7f731d69696326a8626ca9c4ee0 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/m4/Makefile.am @@ -0,0 +1,4 @@ +EXTRA_DIST = \ + gettext.m4 build-to-host.m4 host-cpu-c-abi.m4 \ + iconv.m4 intlmacosx.m4 lib-ld.m4 lib-link.m4 lib-prefix.m4 \ + nls.m4 po.m4 progtest.m4 diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/LINGUAS b/miniconda3/share/doc/gettext/examples/hello-c/po/LINGUAS new file mode 100644 index 0000000000000000000000000000000000000000..dc4a82afbad945018082c22f2061a43ef436dd68 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/LINGUAS @@ -0,0 +1,5 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Set of available languages. +af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ka ky lv ms mt nb nl nn pl pt pt_BR ro ru sk sl sq sr sv ta tr uk vi zh_CN zh_HK zh_TW diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/Makevars b/miniconda3/share/doc/gettext/examples/hello-c/po/Makevars new file mode 100644 index 0000000000000000000000000000000000000000..097db7f958cc1e42df4500f9bc82f318f196456a --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/Makevars @@ -0,0 +1,83 @@ +# Makefile variables for PO directory in any package using GNU gettext. +# +# Copyright (C) 2003-2025 Free Software Foundation, Inc. +# This file is free software; the Free Software Foundation gives +# unlimited permission to use, copy, distribute, and modify it. + +# Usually the message domain is the same as the package name. +DOMAIN = $(PACKAGE) + +# These two variables depend on the location of this directory. +subdir = po +top_builddir = .. + +# These options get passed to xgettext. +XGETTEXT_OPTIONS = \ + --keyword=_ --flag=_:1:pass-c-format \ + --keyword=N_ --flag=N_:1:pass-c-format + +# This is the copyright holder that gets inserted into the header of the +# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding +# package. (Note that the msgid strings, extracted from the package's +# sources, belong to the copyright holder of the package.) Translators are +# expected to transfer the copyright for their translations to this person +# or entity, or to disclaim their copyright. The empty string stands for +# the public domain; in this case the translators are expected to disclaim +# their copyright. +COPYRIGHT_HOLDER = Yoyodyne, Inc. + +# This tells whether or not to prepend "GNU " prefix to the package +# name that gets inserted into the header of the $(DOMAIN).pot file. +# Possible values are "yes", "no", or empty. If it is empty, try to +# detect it automatically by scanning the files in $(top_srcdir) for +# "GNU packagename" string. +PACKAGE_GNU = no + +# This is the email address or URL to which the translators shall report +# bugs in the untranslated strings: +# - Strings which are not entire sentences, see the maintainer guidelines +# in the GNU gettext documentation, section 'Preparing Strings'. +# - Strings which use unclear terms or require additional context to be +# understood. +# - Strings which make invalid assumptions about notation of date, time or +# money. +# - Pluralisation problems. +# - Incorrect English spelling. +# - Incorrect formatting. +# It can be your email address, or a mailing list address where translators +# can write to without being subscribed, or the URL of a web page through +# which the translators can contact you. +MSGID_BUGS_ADDRESS = bug-gettext@gnu.org + +# This is the list of locale categories, beyond LC_MESSAGES, for which the +# message catalogs shall be used. It is usually empty. +EXTRA_LOCALE_CATEGORIES = + +# This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt' +# context. Possible values are "yes" and "no". Set this to yes if the +# package uses functions taking also a message context, like pgettext(), or +# if in $(XGETTEXT_OPTIONS) you define keywords with a context argument. +USE_MSGCTXT = no + +# These options get passed to msgmerge. +# Useful options are in particular: +# --previous to keep previous msgids of translated messages +MSGMERGE_OPTIONS = + +# These options get passed to msginit. +# If you want to disable line wrapping when writing PO files, add +# --no-wrap to MSGMERGE_OPTIONS, XGETTEXT_OPTIONS, and +# MSGINIT_OPTIONS. +MSGINIT_OPTIONS = + +# This tells whether or not to regenerate a PO file when $(DOMAIN).pot +# has changed. Possible values are "yes" and "no". Set this to no if +# the POT file is checked in the repository and the version control +# program ignores timestamps. +PO_DEPENDS_ON_POT = yes + +# This tells whether or not to forcibly update $(DOMAIN).pot and +# regenerate PO files on "make dist". Possible values are "yes" and +# "no". Set this to no if the POT file and PO files are maintained +# externally. +DIST_DEPENDS_ON_UPDATE_PO = yes diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/POTFILES.in b/miniconda3/share/doc/gettext/examples/hello-c/po/POTFILES.in new file mode 100644 index 0000000000000000000000000000000000000000..92cdf7897032b86aa6efaaf3d3f2ed012c37f246 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/POTFILES.in @@ -0,0 +1,5 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# List of files which contain translatable strings. +hello.c diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/af.po b/miniconda3/share/doc/gettext/examples/hello-c/po/af.po new file mode 100644 index 0000000000000000000000000000000000000000..6c45bea2b1a337dab6db9b9462aaa5c35224f83c --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/af.po @@ -0,0 +1,26 @@ +# Afrikaans translation for Silky +# Copyright (C) 2004 Free Software Foundation, Inc. +# This file is distributed under the same license as the silky package. +# Hanlie Pretorius , 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-0.13.1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2003-12-31 10:30+2\n" +"Last-Translator: Ysbeer \n" +"Language-Team: Afrikaans \n" +"Language: af\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.c:35 +msgid "Hello, world!" +msgstr "Hallo wêreld!" + +#: hello.c:36 +#, c-format +msgid "This program is running as process number %d." +msgstr "Hierdie program loop as prosesnommer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/ast.po b/miniconda3/share/doc/gettext/examples/hello-c/po/ast.po new file mode 100644 index 0000000000000000000000000000000000000000..1a5dc1adec431ebe571e3e5a331c7db7ceb747b1 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/ast.po @@ -0,0 +1,29 @@ +# Asturian translation for hello-c +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Marquinos , 2009. +# enolp , 2018. +msgid "" +msgstr "" +"Project-Id-Version: hello-c 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2018-07-16 00:28+0100\n" +"Last-Translator: enolp \n" +"Language-Team: Asturian \n" +"Language: ast\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Lokalize 2.0\n" + +#: hello.c:35 +msgid "Hello, world!" +msgstr "¡Hola, mundu!" + +#: hello.c:36 +#, c-format +msgid "This program is running as process number %d." +msgstr "Esti programa ta executándose como procesu númberu %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/bg.po b/miniconda3/share/doc/gettext/examples/hello-c/po/bg.po new file mode 100644 index 0000000000000000000000000000000000000000..a7769b0b478992e8b4a89d25009bba755f4b93e8 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/bg.po @@ -0,0 +1,26 @@ +# Bulgarian translations for hello-c package. +# Copyright (C) 2010 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Roumen Petrov , 2010,2014,2015,2019,2023,2024.2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c 0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-08 19:09+0200\n" +"Last-Translator: Roumen Petrov \n" +"Language-Team: Bulgarian \n" +"Language: bg\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.c:35 +msgid "Hello, world!" +msgstr "Здравейте всички!" + +#: hello.c:36 +#, c-format +msgid "This program is running as process number %d." +msgstr "Програмата е пусната под процес номер %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/ca.po b/miniconda3/share/doc/gettext/examples/hello-c/po/ca.po new file mode 100644 index 0000000000000000000000000000000000000000..3b54eed4d15dc72471042352ec866800a2b10a9d --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/ca.po @@ -0,0 +1,27 @@ +# Catalan messages for GNU hello-c. +# Copyright (C) 2003, 2014, 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Ivan Vilata i Balaguer , 2003, 2014, 2015, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-07-07 08:36+0200\n" +"Last-Translator: Ivan Vilata i Balaguer \n" +"Language-Team: Catalan \n" +"Language: ca\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.c:35 +msgid "Hello, world!" +msgstr "Hola, món!" + +#: hello.c:36 +#, c-format +msgid "This program is running as process number %d." +msgstr "Aquest programa està corrent amb el número de procés %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/cs.po b/miniconda3/share/doc/gettext/examples/hello-c/po/cs.po new file mode 100644 index 0000000000000000000000000000000000000000..bd1fcd7df5d9187811b2dfd1981255a0a74c3a14 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/cs.po @@ -0,0 +1,29 @@ +# The Czech translation for the gettext package. +# Copyright (C) 2011 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Marek Černocký , 2011. +# Petr Písař , 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 20:05+02:00\n" +"Last-Translator: Petr Pisar \n" +"Language-Team: Czech \n" +"Language: cs\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#: hello.c:35 +msgid "Hello, world!" +msgstr "Ahoj světe!" + +#: hello.c:36 +#, c-format +msgid "This program is running as process number %d." +msgstr "Tento program běží jako proces číslo %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/da.po b/miniconda3/share/doc/gettext/examples/hello-c/po/da.po new file mode 100644 index 0000000000000000000000000000000000000000..fa93b46c19bbcd4ab744bef5f80a6a39674769ed --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/da.po @@ -0,0 +1,28 @@ +# Danish messages for hello-c. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Jan Djærv , 2003, 2006. +# Keld Simonsen , 2011. +# Joe Hansen , 2015. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-06-27 12:39+0100\n" +"Last-Translator: Joe Hansen \n" +"Language-Team: Danish \n" +"Language: da\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.c:35 +msgid "Hello, world!" +msgstr "Hej verden!" + +#: hello.c:36 +#, c-format +msgid "This program is running as process number %d." +msgstr "Dette program kører som proces nummer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/de.po b/miniconda3/share/doc/gettext/examples/hello-c/po/de.po new file mode 100644 index 0000000000000000000000000000000000000000..49b23870324038b9dc619ed043abfe645b4c1be8 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/de.po @@ -0,0 +1,32 @@ +# German messages for hello-c. +# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Bruno Haible , 2003. +# Karl Eichwalder , 2003. +# Jakob Kramer , 2013. +# Mario Blättermann , 2014, 2023, 2025. +# Philipp Thomas , 2015. +msgid "" +msgstr "" +"Project-Id-Version: hello-c 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 17:15+0200\n" +"Last-Translator: Mario Blättermann \n" +"Language-Team: German \n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 25.04.0\n" + +#: hello.c:35 +msgid "Hello, world!" +msgstr "Hallo Welt!" + +#: hello.c:36 +#, c-format +msgid "This program is running as process number %d." +msgstr "Dieses Programm läuft mit der Prozess-Nummer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/el.po b/miniconda3/share/doc/gettext/examples/hello-c/po/el.po new file mode 100644 index 0000000000000000000000000000000000000000..b1b6931426a6725c431dbc8e3e1401606859ddd8 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/el.po @@ -0,0 +1,26 @@ +# Greek translation of hello-c +# Copyright (C) 2005 Free Software Foundation, Inc. +# Simos Xenitellis , 2005. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c 0.14.1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2005-01-06 18:50+0000\n" +"Last-Translator: Simos Xenitellis \n" +"Language-Team: Greek \n" +"Language: el\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: KBabel 1.3.1\n" + +#: hello.c:35 +msgid "Hello, world!" +msgstr "Γεια σου, κόσμε!" + +#: hello.c:36 +#, c-format +msgid "This program is running as process number %d." +msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/eo.po b/miniconda3/share/doc/gettext/examples/hello-c/po/eo.po new file mode 100644 index 0000000000000000000000000000000000000000..a3baa78dd441205f2531d20dc056f84fd2ba30cc --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/eo.po @@ -0,0 +1,28 @@ +# La teksto por la mesaĝoj de la programo "gettext". +# Copyright (C) 2006, 2016 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Edmund GRIMLEY EVANS , 2006. +# Felipe CASTRO , 2016, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-23 19:00-0300\n" +"Last-Translator: Felipe Castro \n" +"Language-Team: Esperanto \n" +"Language: eo\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.c:35 +msgid "Hello, world!" +msgstr "Saluton, mondo!" + +#: hello.c:36 +#, c-format +msgid "This program is running as process number %d." +msgstr "Ĉi tiu programo rulas kiel procez-numero %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/es.po b/miniconda3/share/doc/gettext/examples/hello-c/po/es.po new file mode 100644 index 0000000000000000000000000000000000000000..701c9a2dc709decc12eb5b4ca93a61cb022b80d0 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/es.po @@ -0,0 +1,30 @@ +# Mensajes en español para GNU gettext. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# +# This file is distributed under the same license as the gettext package. +# +# Max de Mendizábal , 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004. +# Antonio Ceballos , 2014, 2015, 2023, 2025 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-02-23 17:01+0100\n" +"Last-Translator: Antonio Ceballos \n" +"Language-Team: Spanish \n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.c:35 +msgid "Hello, world!" +msgstr "¡Hola, mundo!" + +#: hello.c:36 +#, c-format +msgid "This program is running as process number %d." +msgstr "Este programa está corriendo como el proceso número %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/fi.po b/miniconda3/share/doc/gettext/examples/hello-c/po/fi.po new file mode 100644 index 0000000000000000000000000000000000000000..65f23e76980d846701f1363d030b911ab75a300e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/fi.po @@ -0,0 +1,29 @@ +# Finnish messages for GNU Gettext examples. +# This file is distributed under the same license as the gettext package. +# Copyright © 2007, 2014, 2015 Yoyodyne, Inc. (msgids) +# Lauri Nurmi , 2007. +# Jorma Karvonen , 2014-2015. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-09-01 16:59+0300\n" +"Last-Translator: Jorma Karvonen \n" +"Language-Team: Finnish \n" +"Language: fi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 1.5.4\n" + +# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti. +#: hello.c:35 +msgid "Hello, world!" +msgstr "Terve maailma!" + +#: hello.c:36 +#, c-format +msgid "This program is running as process number %d." +msgstr "Tämän ohjelman prosessinumero on %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/fr.po b/miniconda3/share/doc/gettext/examples/hello-c/po/fr.po new file mode 100644 index 0000000000000000000000000000000000000000..85634001758cb992691c5d4ef3d49df69428111a --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/fr.po @@ -0,0 +1,32 @@ +# Messages français pour GNU gettext. +# Copyright (C) 2006 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Michel Robitaille , 2006. +# Christophe Combelles , 2006 +# Stéphane Aulery , 2015 +# Christian Wiatr , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-28 16:25+0200\n" +"Last-Translator: Christian Wiatr \n" +"Language-Team: French \n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.c:35 +msgid "Hello, world!" +msgstr "Bonjour, le monde !" + +#: hello.c:36 +#, c-format +msgid "This program is running as process number %d." +msgstr "Ce programme est exécuté en tant que processus numéro %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/ga.po b/miniconda3/share/doc/gettext/examples/hello-c/po/ga.po new file mode 100644 index 0000000000000000000000000000000000000000..17d4e2a9ce0ebbb1dcab662c03070d6421f849ad --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/ga.po @@ -0,0 +1,26 @@ +# Irish translations for hello-c. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Kevin Patrick Scannell , 2004, 2017. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2017-01-10 12:09-0500\n" +"Last-Translator: Kevin Patrick Scannell \n" +"Language-Team: Irish \n" +"Language: ga\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.c:35 +msgid "Hello, world!" +msgstr "Dia duit, a dhomhain!" + +#: hello.c:36 +#, c-format +msgid "This program is running as process number %d." +msgstr "Tá an clár seo ag rith mar phróiseas %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/gl.po b/miniconda3/share/doc/gettext/examples/hello-c/po/gl.po new file mode 100644 index 0000000000000000000000000000000000000000..6e7431435f2aeea768a3b88a35ca19e266cd74f2 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/gl.po @@ -0,0 +1,31 @@ +# Galician translation for hello-c package. +# Copyright (C) 2010 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Leandro Regueiro , 2010-2014. +# +# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas +# colaborar connosco, podes atopar máis información en +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c 0.19-rc1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2014-05-10 16:34+0100\n" +"Last-Translator: Leandro Regueiro \n" +"Language-Team: Galician \n" +"Language: gl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n!=1);\n" + +#: hello.c:35 +msgid "Hello, world!" +msgstr "Ola, mundo!" + +#: hello.c:36 +#, c-format +msgid "This program is running as process number %d." +msgstr "Este programa estase executando como o proceso número %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/hr.po b/miniconda3/share/doc/gettext/examples/hello-c/po/hr.po new file mode 100644 index 0000000000000000000000000000000000000000..337831fb2875620b98445c4f1943199d44f20d7b --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/hr.po @@ -0,0 +1,33 @@ +# Translation of hello-c to Croatian. +# Copyright (C) 2003, 2004, 2014, 2015, 2019 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Permission is granted to freely copy and distribute +# this file and modified versions, provided that this +# header is not removed and modified versions are marked +# as such. +# +# Tomislav Krznar , 2012. +# Božidar Putanec , 2018-2025. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 10:15-0700\n" +"Last-Translator: Božidar Putanec \n" +"Language-Team: Croatian \n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.c:35 +msgid "Hello, world!" +msgstr "Pozdrav, svijete!" + +#: hello.c:36 +#, c-format +msgid "This program is running as process number %d." +msgstr "Ovaj program se izvršava kao proces broj %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/hu.po b/miniconda3/share/doc/gettext/examples/hello-c/po/hu.po new file mode 100644 index 0000000000000000000000000000000000000000..8f49d0f1981c96152e3a8aaba23bda358aab028e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/hu.po @@ -0,0 +1,29 @@ +# Hungarian translation for hello-c. +# This file is distributed under the same license as the gettext package. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# +# Tamás Kiss , 2005. +# Balázs Úr , 2014, 2015. +msgid "" +msgstr "" +"Project-Id-Version: hello-c 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-06-23 20:31+0200\n" +"Last-Translator: Balázs Úr \n" +"Language-Team: Hungarian \n" +"Language: hu\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 1.2\n" + +#: hello.c:35 +msgid "Hello, world!" +msgstr "Hello, világ!" + +#: hello.c:36 +#, c-format +msgid "This program is running as process number %d." +msgstr "Ez a program a(z) %d folyamatazonosítóval fut." diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/id.po b/miniconda3/share/doc/gettext/examples/hello-c/po/id.po new file mode 100644 index 0000000000000000000000000000000000000000..62438430681961ffd0055a166a7bc2d6015144d8 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/id.po @@ -0,0 +1,27 @@ +# translation of hello-c-0.15-pre5.po to Indonesian +# Copyright (C) 2006 Yoyodyne, Inc. +# This file is distributed under the same license as the PACKAGE package. +# +# Tedi Heriyanto , 2006. +msgid "" +msgstr "" +"Project-Id-Version: hello-c-0.15-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2006-09-27 20:19+0700\n" +"Last-Translator: Tedi Heriyanto \n" +"Language-Team: Indonesian \n" +"Language: id\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: KBabel 1.11.2\n" + +#: hello.c:35 +msgid "Hello, world!" +msgstr "Hello, world!" + +#: hello.c:36 +#, c-format +msgid "This program is running as process number %d." +msgstr "Program ini berjalan sebagai proses nomor %d" diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/it.po b/miniconda3/share/doc/gettext/examples/hello-c/po/it.po new file mode 100644 index 0000000000000000000000000000000000000000..20eafc4f30e9a584c3b088f1be33200d4ee330ab --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/it.po @@ -0,0 +1,29 @@ +# Italian messages for hello-c. +# Copyright (C) 2005, 2006 Yoyodyne, Inc. (msgids) +# Copyright (C) 2024 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Marco Colombo , 2005, 2006, 2015. +# Michele Locati , 2024, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-04 18:28+0200\n" +"Last-Translator: Michele Locati \n" +"Language-Team: Italian \n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.c:35 +msgid "Hello, world!" +msgstr "Ciao, mondo!" + +#: hello.c:36 +#, c-format +msgid "This program is running as process number %d." +msgstr "Questo programma è in esecuzione con numero di processo %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/ja.po b/miniconda3/share/doc/gettext/examples/hello-c/po/ja.po new file mode 100644 index 0000000000000000000000000000000000000000..22cc248d9d2e7f85cbcd50dbabc7240c5334e002 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/ja.po @@ -0,0 +1,26 @@ +# Translation of `hello-c' messages to Japanese. +# Copyright (C) 2005, 2006, 2014, 2015, 2023, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Masahito Yamaga , 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 19:59+0900\n" +"Last-Translator: Masahito Yamaga \n" +"Language-Team: Japanese \n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.c:35 +msgid "Hello, world!" +msgstr "世界よ, こんにちは!" + +#: hello.c:36 +#, c-format +msgid "This program is running as process number %d." +msgstr "このプログラムはプロセス番号 %d で動いています." diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/ka.po b/miniconda3/share/doc/gettext/examples/hello-c/po/ka.po new file mode 100644 index 0000000000000000000000000000000000000000..70cebfedceb74f7f08994e82fbc12f990ab8ca2f --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/ka.po @@ -0,0 +1,28 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Temuri Doghonadze , 2022. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c 0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2022-05-22 05:04+0200\n" +"Last-Translator: Temuri Doghonadze \n" +"Language-Team: Georgian <(nothing)>\n" +"Language: ka\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 3.0.1\n" + +#: hello.c:35 +msgid "Hello, world!" +msgstr "გამარჯობა სამყაროვ!" + +#: hello.c:36 +#, c-format +msgid "This program is running as process number %d." +msgstr "პროგრამა გაშვებულია პროცესის ნომრით %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/ky.po b/miniconda3/share/doc/gettext/examples/hello-c/po/ky.po new file mode 100644 index 0000000000000000000000000000000000000000..defda342ac680dafcb073e6da0320b42b6609aed --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/ky.po @@ -0,0 +1,28 @@ +# Translation of 'hello-c' messages to Kirghiz. +# Copyright (C) 2004 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Ilyas Bakirov , 2007. +# Ilyas Bakirov , 2018. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2018-02-15 18:26+0600\n" +"Last-Translator: Ilyas Bakirov \n" +"Language-Team: Kirghiz \n" +"Language: ky\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 2.0.6\n" + +#: hello.c:35 +msgid "Hello, world!" +msgstr "Салам дүйнө!" + +#: hello.c:36 +#, c-format +msgid "This program is running as process number %d." +msgstr "Бул программа %d процесс номери катары иштеп жатат." diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/lv.po b/miniconda3/share/doc/gettext/examples/hello-c/po/lv.po new file mode 100644 index 0000000000000000000000000000000000000000..32a759e6132154341329165e81fd3a032bbd1465 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/lv.po @@ -0,0 +1,30 @@ +# Latvian translation of hello-c +# Copyright (C) 2009 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Arvis Lācis , 2009. +# Rihards Priedītis , 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-09 11:44+0000\n" +"Last-Translator: Rihards Priedītis \n" +"Language-Team: Latvian \n" +"Language: lv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : " +"2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.c:35 +msgid "Hello, world!" +msgstr "Sveika, pasaule!" + +#: hello.c:36 +#, c-format +msgid "This program is running as process number %d." +msgstr "Šī programma darbojas ar procesa numuru %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/ms.po b/miniconda3/share/doc/gettext/examples/hello-c/po/ms.po new file mode 100644 index 0000000000000000000000000000000000000000..22ffc20ab8a84cc0d161870741c68c4a0d6ceeec --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/ms.po @@ -0,0 +1,28 @@ +# hello-c Bahasa Melayu (Malay) (ms). +# Copyright (C) 2006, 2015, 2023, 2025 Yoyodyne, Inc. (msgids) +# Copyright (C) 2006, 2015, 2023, 2025 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Sharuzzaman Ahmat Raslan , 2006, 2015, 2023, 2025 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-03 21:10+0800\n" +"Last-Translator: Sharuzzaman Ahmat Raslan \n" +"Language-Team: Malay \n" +"Language: ms\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.c:35 +msgid "Hello, world!" +msgstr "Hello, dunia!" + +#: hello.c:36 +#, c-format +msgid "This program is running as process number %d." +msgstr "Program ini dilaksanakan sebagai proses bernombor %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/mt.po b/miniconda3/share/doc/gettext/examples/hello-c/po/mt.po new file mode 100644 index 0000000000000000000000000000000000000000..260247aa10e935df0fbb04c61de33863e883cb04 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/mt.po @@ -0,0 +1,27 @@ +# hello-c-0.16.2-pre5. +# Copyright (C) 2008 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Clyde Meli , 2001-2008. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: hello-c 0.16.2-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2008-11-18 17:27+0100\n" +"Last-Translator: Clyde Meli \n" +"Language-Team: Maltese \n" +"Language: mt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.c:35 +msgid "Hello, world!" +msgstr "Hello, lil kulħadd!" + +#: hello.c:36 +#, c-format +msgid "This program is running as process number %d." +msgstr "Dal-programm qed jaħdem taħt il-proċess numru %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/nb.po b/miniconda3/share/doc/gettext/examples/hello-c/po/nb.po new file mode 100644 index 0000000000000000000000000000000000000000..c74e431e85ed51da8d13da43f107b8851fe7b4f9 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/nb.po @@ -0,0 +1,29 @@ +# Norwegian Bokmal translations for hello-c package. +# Copyright (C) 2012 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Johnny A. Solbu , 2012-2024 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-01-06 16:33+0100\n" +"Last-Translator: Johnny A. Solbu \n" +"Language-Team: Norwegian Bokmaal \n" +"Language: nb\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.c:35 +msgid "Hello, world!" +msgstr "Hallo verden!" + +#: hello.c:36 +#, c-format +msgid "This program is running as process number %d." +msgstr "Dette programmet kjører som prosess nummer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/nl.po b/miniconda3/share/doc/gettext/examples/hello-c/po/nl.po new file mode 100644 index 0000000000000000000000000000000000000000..bd847100ae8057e5de1e7383ab9895dd9701289e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/nl.po @@ -0,0 +1,31 @@ +# Dutch translations for GNU hello-c. +# Copyright (C) 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# "There are three basic rules for writing a novel. +# Unfortunately nobody knows what they are." +# +# Benno Schulenberg , 2007, 2014, 2015, 2019, 2025. +# Elros Cyriatan , 2004. +msgid "" +msgstr "" +"Project-Id-Version: hello-c-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-01 14:51+0100\n" +"Last-Translator: Benno Schulenberg \n" +"Language-Team: Dutch \n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.c:35 +msgid "Hello, world!" +msgstr "Hallo, wereld!" + +#: hello.c:36 +#, c-format +msgid "This program is running as process number %d." +msgstr "Dit programma draait als proces nummer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/nn.po b/miniconda3/share/doc/gettext/examples/hello-c/po/nn.po new file mode 100644 index 0000000000000000000000000000000000000000..e31d8d14343783b7686e8a138eb6cd4666f40890 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/nn.po @@ -0,0 +1,28 @@ +# Norwegian Nynorsk translation of GNU hello-c +# Copyright (C) 2020 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Karl Ove Hufthammer , 2020. +msgid "" +msgstr "" +"Project-Id-Version: hello-c-0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2020-05-04 18:58+0200\n" +"Last-Translator: Karl Ove Hufthammer \n" +"Language-Team: Norwegian Nynorsk \n" +"Language: nn\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 20.04.0\n" + +#: hello.c:35 +msgid "Hello, world!" +msgstr "Hei, verda!" + +#: hello.c:36 +#, c-format +msgid "This program is running as process number %d." +msgstr "Dette programmet køyrer som prosess nummer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/pl.po b/miniconda3/share/doc/gettext/examples/hello-c/po/pl.po new file mode 100644 index 0000000000000000000000000000000000000000..ecc46dee8cc58314c717d2c056e74a4c7d8d4b13 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/pl.po @@ -0,0 +1,27 @@ +# Polish translations for the GNU gettext messages, hello-c domain +# Copyright (C) 2010, 2014, 2015, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Rafał Maszkowski , 2003, 2010, 2014, 2015, 2025 +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-25 17:16+0200\n" +"Last-Translator: Rafał Maszkowski \n" +"Language-Team: Polish \n" +"Language: pl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8-bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " +"|| n%100>=20) ? 1 : 2);\n" + +#: hello.c:35 +msgid "Hello, world!" +msgstr "Cześć, świecie!" + +#: hello.c:36 +#, c-format +msgid "This program is running as process number %d." +msgstr "Ten program działa jako proces o numerze %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/pt.po b/miniconda3/share/doc/gettext/examples/hello-c/po/pt.po new file mode 100644 index 0000000000000000000000000000000000000000..6b8dcaee1075e44d55e1d417632006caabc3dd83 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/pt.po @@ -0,0 +1,28 @@ +# Portuguese (Portugal) translation of 'hello-c' package. +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Pedro Albuquerque , 2019, 2020, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 11:24+0100\n" +"Last-Translator: Pedro Albuquerque \n" +"Language-Team: Portuguese \n" +"Language: pt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\\n;\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.6\n" + +#: hello.c:35 +msgid "Hello, world!" +msgstr "Olá mundo!" + +#: hello.c:36 +#, c-format +msgid "This program is running as process number %d." +msgstr "Este programa está em execução como processo nº %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/pt_BR.po b/miniconda3/share/doc/gettext/examples/hello-c/po/pt_BR.po new file mode 100644 index 0000000000000000000000000000000000000000..fadced1fba2d7288282471b6302a6ad4344be39b --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/pt_BR.po @@ -0,0 +1,31 @@ +# Brazilian Portuguese translations for gettext-example +# Traduções em português brasileiro para gettext-example +# Copyright (C) 2025 Yoyodyne, Inc. (msgids) +# Copyright (C) 2025 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Rafael Fontenelle , 2013-2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 10:24-0300\n" +"Last-Translator: Rafael Fontenelle \n" +"Language-Team: Brazilian Portuguese \n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Gtranslator 48.0\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.c:35 +msgid "Hello, world!" +msgstr "Olá, mundo!" + +#: hello.c:36 +#, c-format +msgid "This program is running as process number %d." +msgstr "Este programa está sendo executado com número de processo %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/ro.po b/miniconda3/share/doc/gettext/examples/hello-c/po/ro.po new file mode 100644 index 0000000000000000000000000000000000000000..52377ed22adbce355cc84113c78876857eed9b1d --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/ro.po @@ -0,0 +1,50 @@ +# Translation of "hello-c" messages to Romanian. +# Mesajele în limba română pentru pachetul hello-c. +# Copyright © 2015, 2019, 2022, 2023, 2024, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Eugen Hoancă , 2003. +# Mihai Cristescu , 2015 - 2019. +# Remus-Gabriel Chelu , 2022 - 2025. +# +# Cronologia traducerii fișierului „hello-c”: +# Traducerea inițială, făcută de EH, pentru versiunea hello-c 0.12.1, 2003. +# Actualizare a traducerii pentru versiunea hello-c 0.19.4-rc1, făcută de MC, mar-2015. +# Actualizare a traducerii pentru versiunea hello-c 0.19.4.73, făcută de MC, iun-2015. +# Actualizare a traducerii pentru versiunea hello-c 0.20-rc1, făcută de MC, apr-2019. +# Actualizare a mesajelor, de la fișierul „hello-c-0.20.2.pot”. +# Actualizare a algoritmului formelor de plural (de la „trei-vechi” la „trei-actual”). +# NU și a mesajelor traduse (acestea au rămas neschimbate). +# Eliminare a mesajelor ce-au dispărut în ultima versiune. +# Actualizări realizate de Remus-Gabriel Chelu , 15.01.2022. +# Actualizare a traducerii pentru versiunea 0.20.2 făcută de R-GC, ian-2022. +# Actualizare a traducerii pentru versiunea 0.22 făcută de R-GC, iun-2023. +# Revizuire și corectare a traducerii pentru versiunea 0.23-pre1 făcută de R-GC, oct-2024. +# Actualizare a traducerii pentru versiunea 0.24-pre1 făcută de R-GC, feb-2025. +# Actualizare a traducerii pentru versiunea 0.25-pre1 făcută de R-GC, apr-2025. +# Actualizare a traducerii pentru versiunea Y, făcută de X, Z(luna-anul). +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-29 00:25+0200\n" +"Last-Translator: Remus-Gabriel Chelu \n" +"Language-Team: Romanian \n" +"Language: ro\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " +"20)) ? 1 : 2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.c:35 +msgid "Hello, world!" +msgstr "Salutare, lume!" + +#: hello.c:36 +#, c-format +msgid "This program is running as process number %d." +msgstr "Acest program rulează ca procesul numărul %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/ru.po b/miniconda3/share/doc/gettext/examples/hello-c/po/ru.po new file mode 100644 index 0000000000000000000000000000000000000000..4ea9f043f37e5da34d4412fa7a84e6365e9bf087 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/ru.po @@ -0,0 +1,30 @@ +# Translation of hello-c-0.14.1.po to Russian +# Copyright (C) 2004 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Pavel Maryanov , 2004. +# SPDX-FileCopyrightText: 2014, 2015, 2023, 2025 Yuri Kozlov +msgid "" +msgstr "" +"Project-Id-Version: hello-c 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-02 09:17+0300\n" +"Last-Translator: Yuri Kozlov \n" +"Language-Team: Russian \n" +"Language: ru\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Lokalize 24.12.0\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#: hello.c:35 +msgid "Hello, world!" +msgstr "Здравствуй, мир!" + +#: hello.c:36 +#, c-format +msgid "This program is running as process number %d." +msgstr "Эта программа выполняется как процесс под номером %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/sk.po b/miniconda3/share/doc/gettext/examples/hello-c/po/sk.po new file mode 100644 index 0000000000000000000000000000000000000000..065ce5ca40b48604e1fe0a923b95c5cc0f97c05c --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/sk.po @@ -0,0 +1,26 @@ +# Slovak translations GNU for hello-c package. +# Copyright (C) 2003, 2004, 2014, 2023, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Marcel Telka , 2003, 2004, 2014, 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-c 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 13:53+0200\n" +"Last-Translator: Marcel Telka \n" +"Language-Team: Slovak \n" +"Language: sk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.c:35 +msgid "Hello, world!" +msgstr "Ahoj svet!" + +#: hello.c:36 +#, c-format +msgid "This program is running as process number %d." +msgstr "Tento program beží ako proces s číslom %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/sl.po b/miniconda3/share/doc/gettext/examples/hello-c/po/sl.po new file mode 100644 index 0000000000000000000000000000000000000000..235094a4cfc2f55cdde1beef11c826a1ca1f52ff --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/sl.po @@ -0,0 +1,29 @@ +# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example +# Copyright (C) 2005 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Primož Peterlin , 2005, 2014, 2015, 2024. +# $Id: hello-c-0.22.sl.po,v 1.1 2024/03/28 17:02:19 peterlin Exp $ +msgid "" +msgstr "" +"Project-Id-Version: hello-c 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-03-28 18:02+0100\n" +"Last-Translator: Primož Peterlin \n" +"Language-Team: Slovenian \n" +"Language: sl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8-bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || " +"n%100==4 ? 3 : 0);\n" + +#: hello.c:35 +msgid "Hello, world!" +msgstr "Pozdravljen, svet!" + +#: hello.c:36 +#, c-format +msgid "This program is running as process number %d." +msgstr "Ta program teče kot proces številka %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/sq.po b/miniconda3/share/doc/gettext/examples/hello-c/po/sq.po new file mode 100644 index 0000000000000000000000000000000000000000..e42015d2797e15099c4b4e5989da0e84207e4704 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/sq.po @@ -0,0 +1,28 @@ +# Albanian translation of gettext-example. +# Copyright (C) 2020 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Besnik Bleta , 2020,2023,2024,2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 19:56+0300\n" +"Last-Translator: Besnik Bleta \n" +"Language-Team: Albanian \n" +"Language: sq\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.2.2\n" + +#: hello.c:35 +msgid "Hello, world!" +msgstr "Tungjatjeta, botë!" + +#: hello.c:36 +#, c-format +msgid "This program is running as process number %d." +msgstr "Ky program po xhiron si procesi numër %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/sr.po b/miniconda3/share/doc/gettext/examples/hello-c/po/sr.po new file mode 100644 index 0000000000000000000000000000000000000000..3d328e46595284882f23cc07e6bf8b1b0d1dd4aa --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/sr.po @@ -0,0 +1,30 @@ +# Serbian translation of hello-c. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Aleksandar Jelenak , 2004. +# Мирослав Николић , 2014-2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-02 16:51+0100\n" +"Last-Translator: Мирослав Николић \n" +"Language-Team: Serbian <(nothing)>\n" +"Language: sr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.c:35 +msgid "Hello, world!" +msgstr "Здраво, свима!" + +#: hello.c:36 +#, c-format +msgid "This program is running as process number %d." +msgstr "Овај програм се извршава као процес број %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/sv.po b/miniconda3/share/doc/gettext/examples/hello-c/po/sv.po new file mode 100644 index 0000000000000000000000000000000000000000..72e88b5765bf6a20c6e285180533f0ca2785e0cd --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/sv.po @@ -0,0 +1,30 @@ +# Swedish messages for hello-c. +# Copyright © 2006, 2014, 2016, 2019, 2020, 2023, 2024, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Jan Djärv , 2003, 2006, 2014. +# Göran Uddeborg , 2016, 2019, 2020, 2023, 2024, 2025. +# Luna Jernberg , 2025. +# $Revision: 1.12 $ +msgid "" +msgstr "" +"Project-Id-Version: hello-c 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 12:18+0200\n" +"Last-Translator: Luna Jernberg \n" +"Language-Team: Swedish \n" +"Language: sv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.c:35 +msgid "Hello, world!" +msgstr "Hej världen!" + +#: hello.c:36 +#, c-format +msgid "This program is running as process number %d." +msgstr "Detta program kör som process nummer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/ta.po b/miniconda3/share/doc/gettext/examples/hello-c/po/ta.po new file mode 100644 index 0000000000000000000000000000000000000000..bf8e027e397423bc65ce9f749ca07edffbe864ad --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/ta.po @@ -0,0 +1,28 @@ +# Tamil messages for GNU gettext. +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# List of contributors follow: +# Poorajith , 2018. +# Arun Isaac , 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-19 00:06+0100\n" +"Last-Translator: Arun Isaac \n" +"Language-Team: Tamil \n" +"Language: ta\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.c:35 +msgid "Hello, world!" +msgstr "வணக்கம், உலகு!" + +#: hello.c:36 +#, c-format +msgid "This program is running as process number %d." +msgstr "இந்நிரல் செயலாக்க எண் %d ஆக இயங்கிக்கொண்டிருக்கிறது." diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/tr.po b/miniconda3/share/doc/gettext/examples/hello-c/po/tr.po new file mode 100644 index 0000000000000000000000000000000000000000..c7eba1f103985775238c101c6b25f0cefea88206 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/tr.po @@ -0,0 +1,29 @@ +# Turkish translation for hello-c. +# This file is distributed under the same license as the gettext package. +# Copyright (C) 2017 Yoyodyne, Inc. (msgids) +# Copyright (C) 2004 Free Software Foundation, Inc. +# Nilgün Belma Bugüner , 2003,2004 +# Mehmet Kececi , 2017, 2019, 2020. +msgid "" +msgstr "" +"Project-Id-Version: hello-c 0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2020-04-17 13:10+0300\n" +"Last-Translator: Mehmet Kececi \n" +"Language-Team: Turkish \n" +"Language: tr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Poedit 2.3\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.c:35 +msgid "Hello, world!" +msgstr "Merhaba, dünya!" + +#: hello.c:36 +#, c-format +msgid "This program is running as process number %d." +msgstr "Bu yazılım %d işlem numarası ile çalışıyor." diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/uk.po b/miniconda3/share/doc/gettext/examples/hello-c/po/uk.po new file mode 100644 index 0000000000000000000000000000000000000000..a1d43fd5e4ce8b64c1dac7ea80f1c26af0107949 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/uk.po @@ -0,0 +1,30 @@ +# Ukrainian translation to hello-c +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Maxim V. Dziumanenko , 2004-2007. +# Yuri Chornoivan , 2014, 2015, 2023, 2025. +msgid "" +msgstr "" +"Project-Id-Version: hello-c 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 13:56+0300\n" +"Last-Translator: Yuri Chornoivan \n" +"Language-Team: Ukrainian \n" +"Language: uk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Generator: Lokalize 23.04.3\n" + +#: hello.c:35 +msgid "Hello, world!" +msgstr "Привіт, світе!" + +#: hello.c:36 +#, c-format +msgid "This program is running as process number %d." +msgstr "Ця програма виконується як процес з номером %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/vi.po b/miniconda3/share/doc/gettext/examples/hello-c/po/vi.po new file mode 100644 index 0000000000000000000000000000000000000000..eb0f53af692815007f4ebeffa2cbc4d0dcec3c83 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/vi.po @@ -0,0 +1,30 @@ +# Vietnamese Translation for Gettext Examples. +# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext. +# Copyright © 2015 Yoyodyne, Inc. (msgids) +# Copyright © 2015 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Clytie Siddall , 2005-2010. +# Trần Ngọc Quân , 2012-2015, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-24 09:10+0700\n" +"Last-Translator: Trần Ngọc Quân \n" +"Language-Team: Vietnamese \n" +"Language: vi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: hello.c:35 +msgid "Hello, world!" +msgstr "Chào thế giới!" + +#: hello.c:36 +#, c-format +msgid "This program is running as process number %d." +msgstr "Chương trình này đang chạy với mã số tiến trình %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/zh_CN.po b/miniconda3/share/doc/gettext/examples/hello-c/po/zh_CN.po new file mode 100644 index 0000000000000000000000000000000000000000..f11cbb52c095ebf68d311ce29c80482c41b5438e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/zh_CN.po @@ -0,0 +1,29 @@ +# zh_CN translation for hello-c. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Funda Wang , 2003. +# Ji ZhengYu , 2015. +# Boyuan Yang <073plan@gmail.com>, 2019, 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-29 15:56-0400\n" +"Last-Translator: Boyuan Yang <073plan@gmail.com>\n" +"Language-Team: Chinese (simplified) \n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.6\n" + +#: hello.c:35 +msgid "Hello, world!" +msgstr "你好,世界!" + +#: hello.c:36 +#, c-format +msgid "This program is running as process number %d." +msgstr "此程序正以进程号 %d 运行。" diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/zh_HK.po b/miniconda3/share/doc/gettext/examples/hello-c/po/zh_HK.po new file mode 100644 index 0000000000000000000000000000000000000000..fa395ae9924bfa69b8ab5227fd6d36677993e380 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/zh_HK.po @@ -0,0 +1,25 @@ +# Chinese (Hong Kong) translation of hello-c. +# Copyright (C) 2006 Yoyodyne, Inc. +# Abel Cheung , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c 0.15-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2006-07-05 15:40+0800\n" +"Last-Translator: Abel Cheung \n" +"Language-Team: Chinese (Hong Kong) \n" +"Language: zh_HK\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.c:35 +msgid "Hello, world!" +msgstr "你好!" + +#: hello.c:36 +#, c-format +msgid "This program is running as process number %d." +msgstr "本程式正在執行中,進程編號為 %d。" diff --git a/miniconda3/share/doc/gettext/examples/hello-c/po/zh_TW.po b/miniconda3/share/doc/gettext/examples/hello-c/po/zh_TW.po new file mode 100644 index 0000000000000000000000000000000000000000..1bdfaf792e55e12e5e1c64b44011e58e48077b44 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-c/po/zh_TW.po @@ -0,0 +1,29 @@ +# Traditional Chinese translation of hello-c. +# Copyright (C) 2009 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Abel Cheung , 2005. +# Wei-Lun Chao , 2013, 2015. +# Yi-Jyun Pan , 2024. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-c 0.23-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-11-30 14:14+0800\n" +"Last-Translator: Yi-Jyun Pan \n" +"Language-Team: Chinese (traditional) \n" +"Language: zh_TW\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.c:35 +msgid "Hello, world!" +msgstr "哈囉,大家好!" + +#: hello.c:36 +#, c-format +msgid "This program is running as process number %d." +msgstr "本程式正在執行,行程編號為 %d。" diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/INSTALL b/miniconda3/share/doc/gettext/examples/hello-clisp/INSTALL new file mode 100644 index 0000000000000000000000000000000000000000..2d751165236aea744975b874aa6ee706aa8517ca --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/INSTALL @@ -0,0 +1,10 @@ +This example relies on clisp (GNU clisp). + +Installation: + ./autogen.sh + ./configure --prefix=/some/prefix + make + make install +Cleanup: + make distclean + ./autoclean.sh diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/Makefile.am b/miniconda3/share/doc/gettext/examples/hello-clisp/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..3911ff3ca37cec9b4dac3c508a1a7f46feed51b3 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/Makefile.am @@ -0,0 +1,29 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Makefile configuration - processed by automake. + +# General automake options. +AUTOMAKE_OPTIONS = foreign +ACLOCAL_AMFLAGS = -I m4 + +# The list of subdirectories containing Makefiles. +SUBDIRS = m4 po + +# The list of programs that are built. +bin_SCRIPTS = hello + +# Compilation of Common Lisp programs. +SUFFIXES = .lisp .fas +.lisp.fas: + clisp -norc -q -c $< -o $@ +CLEANFILES = *.fas *.lib + +# Making a Common Lisp program executable. +hello: hello.fas + (echo '#!@CLISP@'; cat $<) > $@ + chmod a+x $@ +CLEANFILES += hello + +# Additional files to be distributed. +EXTRA_DIST = autogen.sh autoclean.sh diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/autoclean.sh b/miniconda3/share/doc/gettext/examples/hello-clisp/autoclean.sh new file mode 100644 index 0000000000000000000000000000000000000000..8655a871726b2a31a935332f3e7cbba7b36928e8 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/autoclean.sh @@ -0,0 +1,30 @@ +#!/bin/sh +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Script for cleaning all autogenerated files. + +test ! -f Makefile || make distclean +rm -rf autom4te.cache + +# Brought in by explicit copy. +rm -f m4/nls.m4 +rm -f m4/po.m4 +rm -f m4/progtest.m4 +rm -f po/remove-potcdate.sed + +# Generated by aclocal. +rm -f aclocal.m4 + +# Generated by autoconf. +rm -f configure + +# Generated or brought in by automake. +rm -f Makefile.in +rm -f m4/Makefile.in +rm -f po/Makefile.in +rm -f install-sh +rm -f missing +rm -f po/*.pot +rm -f po/stamp-po +rm -f po/*.gmo diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/autogen.sh b/miniconda3/share/doc/gettext/examples/hello-clisp/autogen.sh new file mode 100644 index 0000000000000000000000000000000000000000..a972da8041799c1ddf0a23303c0660eb9fb827bc --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/autogen.sh @@ -0,0 +1,44 @@ +#!/bin/sh +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Script for regenerating all autogenerated files. + +if test -r ../Makefile.am; then + # Inside the gettext source directory. + GETTEXT_TOPSRCDIR=../../.. +else + if test -r ../Makefile; then + # Inside a gettext build directory. + GETTEXT_TOOLS_SRCDIR=`sed -n -e 's,^top_srcdir *= *\(.*\)$,\1,p' ../Makefile` + # Adjust a relative top_srcdir. + case $GETTEXT_TOOLS_SRCDIR in + /*) ;; + *) GETTEXT_TOOLS_SRCDIR=../$GETTEXT_TOOLS_SRCDIR ;; + esac + GETTEXT_TOPSRCDIR=$GETTEXT_TOOLS_SRCDIR/../.. + else + # Installed under ${prefix}/share/doc/gettext/examples. + . ../installpaths + fi +fi + +cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/nls.m4 m4/nls.m4 +cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/po.m4 m4/po.m4 +cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/progtest.m4 m4/progtest.m4 +cp -p ${GETTEXTSRCPODIR-$GETTEXT_TOPSRCDIR/gettext-runtime/po}/remove-potcdate.sed po/remove-potcdate.sed + +aclocal -I m4 + +autoconf + +automake -a -c + +cd po +for f in *.po; do + if test -r "$f"; then + lang=`echo $f | sed -e 's,\.po$,,'` + msgfmt -c -o $lang.gmo $lang.po + fi +done +cd .. diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/configure.ac b/miniconda3/share/doc/gettext/examples/hello-clisp/configure.ac new file mode 100644 index 0000000000000000000000000000000000000000..68b5c7e3f1b361ab72914a0cfd8f4aeb19c343ca --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/configure.ac @@ -0,0 +1,38 @@ +dnl Example for use of GNU gettext. +dnl This file is in the public domain. +dnl +dnl Configuration file - processed by autoconf. + +AC_INIT([hello-clisp], [0]) +AC_CONFIG_SRCDIR([hello.lisp.in]) +AM_INIT_AUTOMAKE([1.11]) + +dnl Check for availability of the Lisp system. +AC_PATH_PROG([CLISP], [clisp]) +if test -z "$CLISP"; then + echo "*** Essential program clisp not found" 1>&2 + exit 1 +fi +AC_SUBST([CLISP]) + +dnl The installed program must know where to find its message catalogs. +dnl Unfortunately, prefix gets only finally determined at the end of configure. +if test "X$prefix" = "XNONE"; then + final_prefix="$ac_default_prefix" +else + final_prefix="$prefix" +fi +save_prefix="$prefix" +prefix="$final_prefix" +eval "datarootdir=\"${datarootdir}\"" +eval "localedir=\"${datarootdir}/locale\"" +prefix="$save_prefix" +AC_SUBST([localedir]) + +dnl Support for the po directory. +AM_PO_SUBDIRS + +AC_CONFIG_FILES([Makefile hello.lisp]) +AC_CONFIG_FILES([m4/Makefile]) +AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE]) +AC_OUTPUT diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/hello.lisp.in b/miniconda3/share/doc/gettext/examples/hello-clisp/hello.lisp.in new file mode 100644 index 0000000000000000000000000000000000000000..bbcc8ce7d3eb0c4eef5a5cc47190adc7e2b240a6 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/hello.lisp.in @@ -0,0 +1,15 @@ +#| Example for use of GNU gettext. + This file is in the public domain. + + Source code of the GNU clisp program. +|# + +(setf (i18n:textdomain) "hello-clisp") +(setf (i18n:textdomaindir "hello-clisp") "@localedir@/") +(defmacro _ (string) `(i18n:gettext ,string)) + +(write-line (_ "Hello, world!")) + +(format t (_ "This program is running as process number ~D.") + (ext:process-id)) +(terpri) diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/m4/Makefile.am b/miniconda3/share/doc/gettext/examples/hello-clisp/m4/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..8a841b31f12ff3bd59428fbba049f50825d91510 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/m4/Makefile.am @@ -0,0 +1,2 @@ +EXTRA_DIST = \ + nls.m4 po.m4 diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/LINGUAS b/miniconda3/share/doc/gettext/examples/hello-clisp/po/LINGUAS new file mode 100644 index 0000000000000000000000000000000000000000..dc4a82afbad945018082c22f2061a43ef436dd68 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/LINGUAS @@ -0,0 +1,5 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Set of available languages. +af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ka ky lv ms mt nb nl nn pl pt pt_BR ro ru sk sl sq sr sv ta tr uk vi zh_CN zh_HK zh_TW diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/Makefile.am b/miniconda3/share/doc/gettext/examples/hello-clisp/po/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..eebfcdbf3ba45e5f0f91cd483c8bf7bf9fe9a2fc --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/Makefile.am @@ -0,0 +1,434 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Makefile configuration - processed by automake. + +# List of files which contain translatable strings. +POTFILES = \ + hello.lisp.in + +# Usually the message domain is the same as the package name. +DOMAIN = $(PACKAGE) + +# These options get passed to xgettext. +XGETTEXT_OPTIONS = --keyword=_ --flag=_:1:pass-lisp-format + +# This is the copyright holder that gets inserted into the header of the +# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding +# package. (Note that the msgid strings, extracted from the package's +# sources, belong to the copyright holder of the package.) Translators are +# expected to transfer the copyright for their translations to this person +# or entity, or to disclaim their copyright. The empty string stands for +# the public domain; in this case the translators are expected to disclaim +# their copyright. +COPYRIGHT_HOLDER = Yoyodyne, Inc. + +# This tells whether or not to prepend "GNU " prefix to the package +# name that gets inserted into the header of the $(DOMAIN).pot file. +# Possible values are "yes", "no", or empty. If it is empty, try to +# detect it automatically by scanning the files in $(top_srcdir) for +# "GNU packagename" string. +PACKAGE_GNU = no + +# This is the email address or URL to which the translators shall report +# bugs in the untranslated strings: +# - Strings which are not entire sentences, see the maintainer guidelines +# in the GNU gettext documentation, section 'Preparing Strings'. +# - Strings which use unclear terms or require additional context to be +# understood. +# - Strings which make invalid assumptions about notation of date, time or +# money. +# - Pluralisation problems. +# - Incorrect English spelling. +# - Incorrect formatting. +# It can be your email address, or a mailing list address where translators +# can write to without being subscribed, or the URL of a web page through +# which the translators can contact you. +MSGID_BUGS_ADDRESS = bug-gettext@gnu.org + +# This is the list of locale categories, beyond LC_MESSAGES, for which the +# message catalogs shall be used. It is usually empty. +EXTRA_LOCALE_CATEGORIES = + +# These options get passed to msgmerge. +# Useful options are in particular: +# --previous to keep previous msgids of translated messages +MSGMERGE_OPTIONS = + +# These options get passed to msginit. +# If you want to disable line wrapping when writing PO files, add +# --no-wrap to MSGMERGE_OPTIONS, XGETTEXT_OPTIONS, and +# MSGINIT_OPTIONS. +MSGINIT_OPTIONS = + +MSGMERGE = @MSGMERGE@ +MSGMERGE_UPDATE = @MSGMERGE@ --update +MSGMERGE_FOR_MSGFMT_OPTION = @MSGMERGE_FOR_MSGFMT_OPTION@ +MSGINIT = msginit +MSGCONV = msgconv +MSGFILTER = msgfilter + +# This is computed as $(foreach file, $(POTFILES), $(top_srcdir)/$(file)) +POTFILES_DEPS != for file in $(POTFILES); do echo $(top_srcdir)/$$file; done + +# The set of available translations. +ALL_LINGUAS != if test -f $(srcdir)/LINGUAS; then \ + sed -e '/^\#/d' < $(srcdir)/LINGUAS; \ + else \ + echo $(LINGUAS); \ + fi +# This is computed as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) +POFILES != for lang in $(ALL_LINGUAS); do echo $(srcdir)/$$lang.po; done +# This is computed as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) +GMOFILES != for lang in $(ALL_LINGUAS); do echo $(srcdir)/$$lang.gmo; done +# This is computed as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) +UPDATEPOFILES != for lang in $(ALL_LINGUAS); do echo $$lang.po-update; done +# This is computed as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) +DUMMYPOFILES != for lang in $(ALL_LINGUAS); do echo $$lang.nop; done + +# The set of desired translations, as specified by the installer or distributor. +DESIRED_LINGUAS = @DESIRED_LINGUAS@ +# The set of translations to install. This is computed based on $(ALL_LINGUAS) +# and $(DESIRED_LINGUAS). It is a subset of $(ALL_LINGUAS). +# We use the presentlang catalog if desiredlang is +# a. equal to presentlang, or +# b. a variant of presentlang (because in this case, presentlang can be used +# as a fallback for messages which are not translated in the desiredlang +# catalog). +INST_LINGUAS != for presentlang in $(ALL_LINGUAS); do \ + useit=false; \ + for desiredlang in $(DESIRED_LINGUAS); do \ + case "$$desiredlang" in \ + "$$presentlang" | "$$presentlang"_* | "$$presentlang".* | "$$presentlang"@*) \ + useit=true ;; \ + esac; \ + done; \ + if $$useit; then echo $$presentlang; fi; \ + done +# This is computed as $(foreach lang, $(INST_LINGUAS), $(lang).gmo) +CATALOGS != for lang in $(INST_LINGUAS); do echo $$lang.gmo; done + +SUFFIXES = .po .gmo .nop .po-create .po-update + +# The .pot file, stamp-po, .po files, and .gmo files appear in release tarballs. +# The GNU Coding Standards say in +# : +# "GNU distributions usually contain some files which are not source files +# ... . Since these files normally appear in the source directory, they +# should always appear in the source directory, not in the build directory. +# So Makefile rules to update them should put the updated files in the +# source directory." +# Therefore we put these files in the source directory, not the build directory. + +# During .po -> .gmo conversion, take into account the most recent changes to +# the .pot file. This eliminates the need to update the .po files when the +# .pot file has changed, which would be troublesome if the .po files are put +# under version control. +$(GMOFILES): $(srcdir)/$(DOMAIN).pot +.po.gmo: + @lang=`echo $* | sed -e 's,.*/,,'`; \ + test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ + echo "$${cdcmd}rm -f $${lang}.gmo && $(MSGMERGE) $(MSGMERGE_FOR_MSGFMT_OPTION) -o $${lang}.1po $${lang}.po $(DOMAIN).pot && $(GMSGFMT) -c --statistics --verbose -o $${lang}.gmo $${lang}.1po && rm -f $${lang}.1po"; \ + cd $(srcdir) && \ + rm -f $${lang}.gmo && \ + $(MSGMERGE) $(MSGMERGE_FOR_MSGFMT_OPTION) -o $${lang}.1po $${lang}.po $(DOMAIN).pot && \ + $(GMSGFMT) -c --statistics --verbose -o t-$${lang}.gmo $${lang}.1po && \ + mv t-$${lang}.gmo $${lang}.gmo && \ + rm -f $${lang}.1po + + +all-local: all-local-@USE_NLS@ + +all-local-yes: $(srcdir)/stamp-po +all-local-no: + +# $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no +# internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because +# we don't want to bother translators with empty POT files). We assume that +# LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty. +# In this case, $(srcdir)/stamp-po is a nop (i.e. a phony target). + +# $(srcdir)/stamp-po is a timestamp denoting the last time at which the CATALOGS +# have been loosely updated. Its purpose is that when a developer or translator +# checks out the package from a version control system, and the $(DOMAIN).pot +# file is not under version control, "make" will update the $(DOMAIN).pot and +# the $(CATALOGS), but subsequent invocations of "make" will do nothing. This +# timestamp would not be necessary if updating the $(CATALOGS) would always +# touch them; however, the rule for $(POFILES) has been designed to not touch +# files that don't need to be changed. +$(srcdir)/stamp-po: $(srcdir)/$(DOMAIN).pot + test ! -f $(srcdir)/$(DOMAIN).pot || \ + test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES) + @test ! -f $(srcdir)/$(DOMAIN).pot || { \ + echo "touch $(srcdir)/stamp-po" && \ + echo timestamp > $(srcdir)/stamp-poT && \ + mv $(srcdir)/stamp-poT $(srcdir)/stamp-po; \ + } + +# This target rebuilds $(DOMAIN).pot; it is an expensive operation. +# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed. +# The determination of whether the package xyz is a GNU one is based on the +# heuristic whether some file in the top level directory mentions "GNU xyz". +# If GNU 'find' is available, we avoid grepping through monster files. +$(DOMAIN).pot-update: $(POTFILES_DEPS) + package_gnu="$(PACKAGE_GNU)"; \ + test -n "$$package_gnu" || { \ + if { if (LC_ALL=C find --version) 2>/dev/null | grep GNU >/dev/null; then \ + LC_ALL=C find -L $(top_srcdir) -maxdepth 1 -type f -size -10000000c -exec grep -i 'GNU $(PACKAGE)' /dev/null '{}' ';' 2>/dev/null; \ + else \ + LC_ALL=C grep -i 'GNU $(PACKAGE)' $(top_srcdir)/* 2>/dev/null; \ + fi; \ + } | grep -v 'libtool:' >/dev/null; then \ + package_gnu=yes; \ + else \ + package_gnu=no; \ + fi; \ + }; \ + if test "$$package_gnu" = "yes"; then \ + package_prefix='GNU '; \ + else \ + package_prefix=''; \ + fi; \ + if test -n '$(MSGID_BUGS_ADDRESS)'; then \ + msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \ + else \ + msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \ + fi; \ + case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ + '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \ + $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ + --add-comments=TRANSLATORS: \ + --copyright-holder='$(COPYRIGHT_HOLDER)' \ + --msgid-bugs-address="$$msgid_bugs_address" \ + $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ + $(POTFILES) \ + ;; \ + *) \ + $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ + --add-comments=TRANSLATORS: \ + --copyright-holder='$(COPYRIGHT_HOLDER)' \ + --package-name="$${package_prefix}$(PACKAGE)" \ + --package-version='$(VERSION)' \ + --msgid-bugs-address="$$msgid_bugs_address" \ + $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ + $(POTFILES) \ + ;; \ + esac + test ! -f $(DOMAIN).po || { \ + if test -f $(srcdir)/$(DOMAIN).pot-header; then \ + sed -e '1,/^#$$/d' < $(DOMAIN).po > $(DOMAIN).1po && \ + cat $(srcdir)/$(DOMAIN).pot-header $(DOMAIN).1po > $(DOMAIN).po && \ + rm -f $(DOMAIN).1po \ + || exit 1; \ + fi; \ + if test -f $(srcdir)/$(DOMAIN).pot; then \ + sed -f $(srcdir)/remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \ + sed -f $(srcdir)/remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \ + if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \ + rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \ + else \ + rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \ + mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ + fi; \ + else \ + mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ + fi; \ + } + +# This rule has no dependencies: we don't need to update $(DOMAIN).pot at +# every "make" invocation, only create it when it is missing. +# Only "make $(DOMAIN).pot-update" or "make dist" will force an update. +$(srcdir)/$(DOMAIN).pot: + $(MAKE) $(DOMAIN).pot-update + +# This target rebuilds a PO file if $(DOMAIN).pot has changed. +# Note that a PO file is not touched if it doesn't need to be changed. +$(POFILES): $(srcdir)/$(DOMAIN).pot + @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \ + if test -f "$(srcdir)/$${lang}.po"; then \ + test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ + echo "$${cdcmd}$(MSGMERGE_UPDATE) --quiet $(MSGMERGE_OPTIONS) --lang=$${lang} --previous $${lang}.po $(DOMAIN).pot"; \ + cd $(srcdir) \ + && { case `$(MSGMERGE_UPDATE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ + '' | 0.[0-9] | 0.[0-9].* | 0.10 | 0.10.*) \ + $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \ + 0.1[1-5] | 0.1[1-5].*) \ + $(MSGMERGE_UPDATE) --quiet $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \ + 0.1[6-7] | 0.1[6-7].*) \ + $(MSGMERGE_UPDATE) --quiet $(MSGMERGE_OPTIONS) --previous $${lang}.po $(DOMAIN).pot;; \ + *) \ + $(MSGMERGE_UPDATE) --quiet $(MSGMERGE_OPTIONS) --lang=$${lang} --previous $${lang}.po $(DOMAIN).pot;; \ + esac; \ + }; \ + else \ + $(MAKE) $${lang}.po-create; \ + fi + + +install-data-local: install-data-local-@USE_NLS@ +install-data-local-no: all-local +install-data-local-yes: all-local + @catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + cat=`basename $$cat`; \ + lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ + dir=$(localedir)/$$lang/LC_MESSAGES; \ + $(MKDIR_P) $(DESTDIR)$$dir; \ + if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \ + $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \ + echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \ + for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ + if test -n "$$lc"; then \ + if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ + link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ + mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ + mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ + (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ + for file in *; do \ + if test -f $$file; then \ + ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ + fi; \ + done); \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ + else \ + if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ + :; \ + else \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ + mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ + fi; \ + fi; \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ + ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ + ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ + cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ + echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \ + fi; \ + done; \ + done + +installdirs-local: installdirs-local-@USE_NLS@ +installdirs-local-no: +installdirs-local-yes: + @catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + cat=`basename $$cat`; \ + lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ + dir=$(localedir)/$$lang/LC_MESSAGES; \ + $(MKDIR_P) $(DESTDIR)$$dir; \ + for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ + if test -n "$$lc"; then \ + if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ + link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ + mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ + mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ + (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ + for file in *; do \ + if test -f $$file; then \ + ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ + fi; \ + done); \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ + else \ + if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ + :; \ + else \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ + mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ + fi; \ + fi; \ + fi; \ + done; \ + done + +uninstall-local: uninstall-local-@USE_NLS@ +uninstall-local-no: +uninstall-local-yes: + catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + cat=`basename $$cat`; \ + lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ + for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ + done; \ + done + +html ID: + +MOSTLYCLEANFILES = +MOSTLYCLEANFILES += stamp-poT +MOSTLYCLEANFILES += core core.* *.stackdump $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po +MOSTLYCLEANFILES += *.o + +MAINTAINERCLEANFILES = $(DOMAIN).pot stamp-po $(GMOFILES) + +EXTRA_DIST = remove-potcdate.sed LINGUAS $(POFILES) $(GMOFILES) + +# Hidden from automake, but really activated. Works around an automake-1.5 bug. +#distdir: distdir1 +distdir1: + $(MAKE) update-po + $(MAKE) $(srcdir)/stamp-po + @if test -f $(srcdir)/$(DOMAIN).pot; then \ + for file in $(DOMAIN).pot stamp-po; do \ + if test -f $$file; then d=.; else d=$(srcdir); fi; \ + cp -p $$d/$$file $(distdir)/$$file || exit 1; \ + done; \ + else \ + case $(XGETTEXT) in \ + :) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because a suitable 'xgettext' program was not found in PATH." 1>&2;; \ + *) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because 'xgettext' found no strings to extract. Check the POTFILES and the XGETTEXT_OPTIONS in the Makefile.am file." 1>&2;; \ + esac; \ + fi + +update-po: Makefile + $(MAKE) $(DOMAIN).pot-update + test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES) + $(MAKE) update-gmo + +# General rule for creating PO files. + +.nop.po-create: + @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \ + echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \ + exit 1 + +# General rule for updating PO files. + +.nop.po-update: + @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \ + tmpdir=`pwd`; \ + echo "$$lang:"; \ + test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ + echo "$${cdcmd}$(MSGMERGE) --quiet $(MSGMERGE_OPTIONS) --lang=$$lang --previous $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \ + cd $(srcdir); \ + if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ + '' | 0.[0-9] | 0.[0-9].* | 0.10 | 0.10.*) \ + $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ + 0.1[1-5] | 0.1[1-5].*) \ + $(MSGMERGE) --quiet $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ + 0.1[6-7] | 0.1[6-7].*) \ + $(MSGMERGE) --quiet $(MSGMERGE_OPTIONS) --previous -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ + *) \ + $(MSGMERGE) --quiet $(MSGMERGE_OPTIONS) --lang=$$lang --previous -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ + esac; \ + }; then \ + if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ + rm -f $$tmpdir/$$lang.new.po; \ + else \ + if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ + :; \ + else \ + echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ + exit 1; \ + fi; \ + fi; \ + else \ + echo "msgmerge for $$lang.po failed!" 1>&2; \ + rm -f $$tmpdir/$$lang.new.po; \ + fi + +$(DUMMYPOFILES): + +update-gmo: Makefile $(GMOFILES) + @: diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/af.po b/miniconda3/share/doc/gettext/examples/hello-clisp/po/af.po new file mode 100644 index 0000000000000000000000000000000000000000..eff618c3b6af1f08dae011722db449e626bafebe --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/af.po @@ -0,0 +1,26 @@ +# Afrikaans translation for Silky +# Copyright (C) 2004 Free Software Foundation, Inc. +# This file is distributed under the same license as the silky package. +# Hanlie Pretorius , 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-clisp-0.13.1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2003-12-31 10:30+2\n" +"Last-Translator: Ysbeer \n" +"Language-Team: Afrikaans \n" +"Language: af\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.lisp.in:11 +msgid "Hello, world!" +msgstr "Hallo wêreld!" + +#: hello.lisp.in:13 +#, lisp-format +msgid "This program is running as process number ~D." +msgstr "Hierdie program loop as prosesnommer ~D." diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/ast.po b/miniconda3/share/doc/gettext/examples/hello-clisp/po/ast.po new file mode 100644 index 0000000000000000000000000000000000000000..7d89c16b3e0799b43c54b63764ed966d29972f4e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/ast.po @@ -0,0 +1,29 @@ +# Asturian translation for hello-clisp +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Marquinos , 2009. +# enolp , 2018. +msgid "" +msgstr "" +"Project-Id-Version: hello-clisp 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2018-07-16 00:28+0100\n" +"Last-Translator: enolp \n" +"Language-Team: Asturian \n" +"Language: ast\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Lokalize 2.0\n" + +#: hello.lisp.in:11 +msgid "Hello, world!" +msgstr "¡Hola, mundu!" + +#: hello.lisp.in:13 +#, lisp-format +msgid "This program is running as process number ~D." +msgstr "Esti programa ta executándose como procesu númberu ~D." diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/bg.po b/miniconda3/share/doc/gettext/examples/hello-clisp/po/bg.po new file mode 100644 index 0000000000000000000000000000000000000000..81c3b945530c50bfbb1cb718eb26bd4d1554b78a --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/bg.po @@ -0,0 +1,26 @@ +# Bulgarian translations for hello-clisp package. +# Copyright (C) 2010 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Roumen Petrov , 2010,2014,2015,2019,2023,2024.2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-clisp 0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-08 19:09+0200\n" +"Last-Translator: Roumen Petrov \n" +"Language-Team: Bulgarian \n" +"Language: bg\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.lisp.in:11 +msgid "Hello, world!" +msgstr "Здравейте всички!" + +#: hello.lisp.in:13 +#, lisp-format +msgid "This program is running as process number ~D." +msgstr "Програмата е пусната под процес номер ~D." diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/ca.po b/miniconda3/share/doc/gettext/examples/hello-clisp/po/ca.po new file mode 100644 index 0000000000000000000000000000000000000000..a32fd3869d3442f39702d7c01fc9412edc5f8914 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/ca.po @@ -0,0 +1,27 @@ +# Catalan messages for GNU hello-clisp. +# Copyright (C) 2003, 2014, 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Ivan Vilata i Balaguer , 2003, 2014, 2015, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-clisp 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-07-07 08:36+0200\n" +"Last-Translator: Ivan Vilata i Balaguer \n" +"Language-Team: Catalan \n" +"Language: ca\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.lisp.in:11 +msgid "Hello, world!" +msgstr "Hola, món!" + +#: hello.lisp.in:13 +#, lisp-format +msgid "This program is running as process number ~D." +msgstr "Aquest programa està corrent amb el número de procés ~D." diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/cs.po b/miniconda3/share/doc/gettext/examples/hello-clisp/po/cs.po new file mode 100644 index 0000000000000000000000000000000000000000..3abced00979f5b594d41b3cb21e472fa833964fd --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/cs.po @@ -0,0 +1,29 @@ +# The Czech translation for the gettext package. +# Copyright (C) 2011 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Marek Černocký , 2011. +# Petr Písař , 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-clisp 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 20:05+02:00\n" +"Last-Translator: Petr Pisar \n" +"Language-Team: Czech \n" +"Language: cs\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#: hello.lisp.in:11 +msgid "Hello, world!" +msgstr "Ahoj světe!" + +#: hello.lisp.in:13 +#, lisp-format +msgid "This program is running as process number ~D." +msgstr "Tento program běží jako proces číslo ~D." diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/da.po b/miniconda3/share/doc/gettext/examples/hello-clisp/po/da.po new file mode 100644 index 0000000000000000000000000000000000000000..91a4c511f9ca2338b9c12a2701ec34c83377e314 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/da.po @@ -0,0 +1,28 @@ +# Danish messages for hello-clisp. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Jan Djærv , 2003, 2006. +# Keld Simonsen , 2011. +# Joe Hansen , 2015. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-clisp 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-06-27 12:39+0100\n" +"Last-Translator: Joe Hansen \n" +"Language-Team: Danish \n" +"Language: da\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.lisp.in:11 +msgid "Hello, world!" +msgstr "Hej verden!" + +#: hello.lisp.in:13 +#, lisp-format +msgid "This program is running as process number ~D." +msgstr "Dette program kører som proces nummer ~D." diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/de.po b/miniconda3/share/doc/gettext/examples/hello-clisp/po/de.po new file mode 100644 index 0000000000000000000000000000000000000000..40487edfdb6f08701e2f8a68d734d5615b7ac7d8 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/de.po @@ -0,0 +1,32 @@ +# German messages for hello-clisp. +# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Bruno Haible , 2003. +# Karl Eichwalder , 2003. +# Jakob Kramer , 2013. +# Mario Blättermann , 2014, 2023, 2025. +# Philipp Thomas , 2015. +msgid "" +msgstr "" +"Project-Id-Version: hello-clisp 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 17:15+0200\n" +"Last-Translator: Mario Blättermann \n" +"Language-Team: German \n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 25.04.0\n" + +#: hello.lisp.in:11 +msgid "Hello, world!" +msgstr "Hallo Welt!" + +#: hello.lisp.in:13 +#, lisp-format +msgid "This program is running as process number ~D." +msgstr "Dieses Programm läuft mit der Prozess-Nummer ~D." diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/el.po b/miniconda3/share/doc/gettext/examples/hello-clisp/po/el.po new file mode 100644 index 0000000000000000000000000000000000000000..2d474a727fce7b4a7b6cf26e8a71021aa383f43b --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/el.po @@ -0,0 +1,26 @@ +# Greek translation of hello-clisp +# Copyright (C) 2005 Free Software Foundation, Inc. +# Simos Xenitellis , 2005. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-clisp 0.14.1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2005-01-06 18:50+0000\n" +"Last-Translator: Simos Xenitellis \n" +"Language-Team: Greek \n" +"Language: el\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: KBabel 1.3.1\n" + +#: hello.lisp.in:11 +msgid "Hello, world!" +msgstr "Γεια σου, κόσμε!" + +#: hello.lisp.in:13 +#, lisp-format +msgid "This program is running as process number ~D." +msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας ~D." diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/eo.po b/miniconda3/share/doc/gettext/examples/hello-clisp/po/eo.po new file mode 100644 index 0000000000000000000000000000000000000000..7e28edbf6b27315e469bc854e368984ad99ac737 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/eo.po @@ -0,0 +1,28 @@ +# La teksto por la mesaĝoj de la programo "gettext". +# Copyright (C) 2006, 2016 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Edmund GRIMLEY EVANS , 2006. +# Felipe CASTRO , 2016, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-clisp 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-23 19:00-0300\n" +"Last-Translator: Felipe Castro \n" +"Language-Team: Esperanto \n" +"Language: eo\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.lisp.in:11 +msgid "Hello, world!" +msgstr "Saluton, mondo!" + +#: hello.lisp.in:13 +#, lisp-format +msgid "This program is running as process number ~D." +msgstr "Ĉi tiu programo rulas kiel procez-numero ~D." diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/es.po b/miniconda3/share/doc/gettext/examples/hello-clisp/po/es.po new file mode 100644 index 0000000000000000000000000000000000000000..f0315c7c0628f07afffc3f61ca5ce10c27d8f055 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/es.po @@ -0,0 +1,30 @@ +# Mensajes en español para GNU gettext. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# +# This file is distributed under the same license as the gettext package. +# +# Max de Mendizábal , 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004. +# Antonio Ceballos , 2014, 2015, 2023, 2025 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-clisp-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-02-23 17:01+0100\n" +"Last-Translator: Antonio Ceballos \n" +"Language-Team: Spanish \n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.lisp.in:11 +msgid "Hello, world!" +msgstr "¡Hola, mundo!" + +#: hello.lisp.in:13 +#, lisp-format +msgid "This program is running as process number ~D." +msgstr "Este programa está corriendo como el proceso número ~D." diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/fi.po b/miniconda3/share/doc/gettext/examples/hello-clisp/po/fi.po new file mode 100644 index 0000000000000000000000000000000000000000..0ec55ed9dc3e9ee0306dbfc6e240ce5159cacf84 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/fi.po @@ -0,0 +1,29 @@ +# Finnish messages for GNU Gettext examples. +# This file is distributed under the same license as the gettext package. +# Copyright © 2007, 2014, 2015 Yoyodyne, Inc. (msgids) +# Lauri Nurmi , 2007. +# Jorma Karvonen , 2014-2015. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-clisp 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-09-01 16:59+0300\n" +"Last-Translator: Jorma Karvonen \n" +"Language-Team: Finnish \n" +"Language: fi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 1.5.4\n" + +# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti. +#: hello.lisp.in:11 +msgid "Hello, world!" +msgstr "Terve maailma!" + +#: hello.lisp.in:13 +#, lisp-format +msgid "This program is running as process number ~D." +msgstr "Tämän ohjelman prosessinumero on ~D." diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/fr.po b/miniconda3/share/doc/gettext/examples/hello-clisp/po/fr.po new file mode 100644 index 0000000000000000000000000000000000000000..ca6e0e40ea10394d01e4c3e90e617622ba53eb12 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/fr.po @@ -0,0 +1,32 @@ +# Messages français pour GNU gettext. +# Copyright (C) 2006 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Michel Robitaille , 2006. +# Christophe Combelles , 2006 +# Stéphane Aulery , 2015 +# Christian Wiatr , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-clisp 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-28 16:25+0200\n" +"Last-Translator: Christian Wiatr \n" +"Language-Team: French \n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.lisp.in:11 +msgid "Hello, world!" +msgstr "Bonjour, le monde !" + +#: hello.lisp.in:13 +#, lisp-format +msgid "This program is running as process number ~D." +msgstr "Ce programme est exécuté en tant que processus numéro ~D." diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/ga.po b/miniconda3/share/doc/gettext/examples/hello-clisp/po/ga.po new file mode 100644 index 0000000000000000000000000000000000000000..391a1a2134b4fff7a7c8697afc670d48ba92f1f7 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/ga.po @@ -0,0 +1,26 @@ +# Irish translations for hello-clisp. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Kevin Patrick Scannell , 2004, 2017. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-clisp 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2017-01-10 12:09-0500\n" +"Last-Translator: Kevin Patrick Scannell \n" +"Language-Team: Irish \n" +"Language: ga\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.lisp.in:11 +msgid "Hello, world!" +msgstr "Dia duit, a dhomhain!" + +#: hello.lisp.in:13 +#, lisp-format +msgid "This program is running as process number ~D." +msgstr "Tá an clár seo ag rith mar phróiseas ~D." diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/gl.po b/miniconda3/share/doc/gettext/examples/hello-clisp/po/gl.po new file mode 100644 index 0000000000000000000000000000000000000000..811a4e4df30d9c0c335cbf96d32e5a7cfdd7557c --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/gl.po @@ -0,0 +1,31 @@ +# Galician translation for hello-clisp package. +# Copyright (C) 2010 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Leandro Regueiro , 2010-2014. +# +# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas +# colaborar connosco, podes atopar máis información en +# +msgid "" +msgstr "" +"Project-Id-Version: hello-clisp 0.19-rc1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2014-05-10 16:34+0100\n" +"Last-Translator: Leandro Regueiro \n" +"Language-Team: Galician \n" +"Language: gl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n!=1);\n" + +#: hello.lisp.in:11 +msgid "Hello, world!" +msgstr "Ola, mundo!" + +#: hello.lisp.in:13 +#, lisp-format +msgid "This program is running as process number ~D." +msgstr "Este programa estase executando como o proceso número ~D." diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/hr.po b/miniconda3/share/doc/gettext/examples/hello-clisp/po/hr.po new file mode 100644 index 0000000000000000000000000000000000000000..f2a38f38d798c31e4e310810301dee453b53a337 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/hr.po @@ -0,0 +1,33 @@ +# Translation of hello-clisp to Croatian. +# Copyright (C) 2003, 2004, 2014, 2015, 2019 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Permission is granted to freely copy and distribute +# this file and modified versions, provided that this +# header is not removed and modified versions are marked +# as such. +# +# Tomislav Krznar , 2012. +# Božidar Putanec , 2018-2025. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-clisp 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 10:15-0700\n" +"Last-Translator: Božidar Putanec \n" +"Language-Team: Croatian \n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.lisp.in:11 +msgid "Hello, world!" +msgstr "Pozdrav, svijete!" + +#: hello.lisp.in:13 +#, lisp-format +msgid "This program is running as process number ~D." +msgstr "Ovaj program se izvršava kao proces broj ~D." diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/hu.po b/miniconda3/share/doc/gettext/examples/hello-clisp/po/hu.po new file mode 100644 index 0000000000000000000000000000000000000000..9d5657828a48d688a6dc96c50193d4121d9e3c99 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/hu.po @@ -0,0 +1,29 @@ +# Hungarian translation for hello-clisp. +# This file is distributed under the same license as the gettext package. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# +# Tamás Kiss , 2005. +# Balázs Úr , 2014, 2015. +msgid "" +msgstr "" +"Project-Id-Version: hello-clisp 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-06-23 20:31+0200\n" +"Last-Translator: Balázs Úr \n" +"Language-Team: Hungarian \n" +"Language: hu\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 1.2\n" + +#: hello.lisp.in:11 +msgid "Hello, world!" +msgstr "Hello, világ!" + +#: hello.lisp.in:13 +#, lisp-format +msgid "This program is running as process number ~D." +msgstr "Ez a program a(z) ~D folyamatazonosítóval fut." diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/id.po b/miniconda3/share/doc/gettext/examples/hello-clisp/po/id.po new file mode 100644 index 0000000000000000000000000000000000000000..d20e29077de5671c8bcc579aa380ebb337c8f696 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/id.po @@ -0,0 +1,27 @@ +# translation of hello-clisp-0.15-pre5.po to Indonesian +# Copyright (C) 2006 Yoyodyne, Inc. +# This file is distributed under the same license as the PACKAGE package. +# +# Tedi Heriyanto , 2006. +msgid "" +msgstr "" +"Project-Id-Version: hello-clisp-0.15-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2006-09-27 20:19+0700\n" +"Last-Translator: Tedi Heriyanto \n" +"Language-Team: Indonesian \n" +"Language: id\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: KBabel 1.11.2\n" + +#: hello.lisp.in:11 +msgid "Hello, world!" +msgstr "Hello, world!" + +#: hello.lisp.in:13 +#, lisp-format +msgid "This program is running as process number ~D." +msgstr "Program ini berjalan sebagai proses nomor ~D." diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/it.po b/miniconda3/share/doc/gettext/examples/hello-clisp/po/it.po new file mode 100644 index 0000000000000000000000000000000000000000..552743870bab01e004d816df3a0623cec1e283fe --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/it.po @@ -0,0 +1,29 @@ +# Italian messages for hello-clisp. +# Copyright (C) 2005, 2006 Yoyodyne, Inc. (msgids) +# Copyright (C) 2024 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Marco Colombo , 2005, 2006, 2015. +# Michele Locati , 2024, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-clisp 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-04 18:28+0200\n" +"Last-Translator: Michele Locati \n" +"Language-Team: Italian \n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.lisp.in:11 +msgid "Hello, world!" +msgstr "Ciao, mondo!" + +#: hello.lisp.in:13 +#, lisp-format +msgid "This program is running as process number ~D." +msgstr "Questo programma è in esecuzione con numero di processo ~D." diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/ja.po b/miniconda3/share/doc/gettext/examples/hello-clisp/po/ja.po new file mode 100644 index 0000000000000000000000000000000000000000..5b07fe15b63e9438c0cb6dcfe94c66ca8fd44c92 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/ja.po @@ -0,0 +1,26 @@ +# Translation of `hello-clisp' messages to Japanese. +# Copyright (C) 2005, 2006, 2014, 2015, 2023, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Masahito Yamaga , 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-clisp 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 19:59+0900\n" +"Last-Translator: Masahito Yamaga \n" +"Language-Team: Japanese \n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.lisp.in:11 +msgid "Hello, world!" +msgstr "世界よ, こんにちは!" + +#: hello.lisp.in:13 +#, lisp-format +msgid "This program is running as process number ~D." +msgstr "このプログラムはプロセス番号 ~D で動いています." diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/ka.po b/miniconda3/share/doc/gettext/examples/hello-clisp/po/ka.po new file mode 100644 index 0000000000000000000000000000000000000000..fff0ac6b04bb768fa64ddd669a9047135fafd05f --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/ka.po @@ -0,0 +1,28 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Temuri Doghonadze , 2022. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-clisp 0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2022-05-22 05:04+0200\n" +"Last-Translator: Temuri Doghonadze \n" +"Language-Team: Georgian <(nothing)>\n" +"Language: ka\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 3.0.1\n" + +#: hello.lisp.in:11 +msgid "Hello, world!" +msgstr "გამარჯობა სამყაროვ!" + +#: hello.lisp.in:13 +#, lisp-format +msgid "This program is running as process number ~D." +msgstr "პროგრამა გაშვებულია პროცესის ნომრით ~D." diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/ky.po b/miniconda3/share/doc/gettext/examples/hello-clisp/po/ky.po new file mode 100644 index 0000000000000000000000000000000000000000..78c6f1682ceb2b851eb8cae5f286882328a781c1 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/ky.po @@ -0,0 +1,28 @@ +# Translation of 'hello-clisp' messages to Kirghiz. +# Copyright (C) 2004 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Ilyas Bakirov , 2007. +# Ilyas Bakirov , 2018. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-clisp 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2018-02-15 18:26+0600\n" +"Last-Translator: Ilyas Bakirov \n" +"Language-Team: Kirghiz \n" +"Language: ky\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 2.0.6\n" + +#: hello.lisp.in:11 +msgid "Hello, world!" +msgstr "Салам дүйнө!" + +#: hello.lisp.in:13 +#, lisp-format +msgid "This program is running as process number ~D." +msgstr "Бул программа ~D процесс номери катары иштеп жатат." diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/lv.po b/miniconda3/share/doc/gettext/examples/hello-clisp/po/lv.po new file mode 100644 index 0000000000000000000000000000000000000000..3625931e767afc8a774e08ba20e54316d5a6f647 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/lv.po @@ -0,0 +1,30 @@ +# Latvian translation of hello-clisp +# Copyright (C) 2009 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Arvis Lācis , 2009. +# Rihards Priedītis , 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-clisp-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-09 11:44+0000\n" +"Last-Translator: Rihards Priedītis \n" +"Language-Team: Latvian \n" +"Language: lv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : " +"2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.lisp.in:11 +msgid "Hello, world!" +msgstr "Sveika, pasaule!" + +#: hello.lisp.in:13 +#, lisp-format +msgid "This program is running as process number ~D." +msgstr "Šī programma darbojas ar procesa numuru ~D." diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/ms.po b/miniconda3/share/doc/gettext/examples/hello-clisp/po/ms.po new file mode 100644 index 0000000000000000000000000000000000000000..1b23910a633319b68719ae91f48918f2207b55d1 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/ms.po @@ -0,0 +1,28 @@ +# hello-clisp Bahasa Melayu (Malay) (ms). +# Copyright (C) 2006, 2015, 2023, 2025 Yoyodyne, Inc. (msgids) +# Copyright (C) 2006, 2015, 2023, 2025 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Sharuzzaman Ahmat Raslan , 2006, 2015, 2023, 2025 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-clisp 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-03 21:10+0800\n" +"Last-Translator: Sharuzzaman Ahmat Raslan \n" +"Language-Team: Malay \n" +"Language: ms\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.lisp.in:11 +msgid "Hello, world!" +msgstr "Hello, dunia!" + +#: hello.lisp.in:13 +#, lisp-format +msgid "This program is running as process number ~D." +msgstr "Program ini dilaksanakan sebagai proses bernombor ~D." diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/mt.po b/miniconda3/share/doc/gettext/examples/hello-clisp/po/mt.po new file mode 100644 index 0000000000000000000000000000000000000000..ef6166d31d64310b96332ab6b25b938b467de679 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/mt.po @@ -0,0 +1,27 @@ +# hello-clisp-0.16.2-pre5. +# Copyright (C) 2008 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Clyde Meli , 2001-2008. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: hello-clisp 0.16.2-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2008-11-18 17:27+0100\n" +"Last-Translator: Clyde Meli \n" +"Language-Team: Maltese \n" +"Language: mt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.lisp.in:11 +msgid "Hello, world!" +msgstr "Hello, lil kulħadd!" + +#: hello.lisp.in:13 +#, lisp-format +msgid "This program is running as process number ~D." +msgstr "Dal-programm qed jaħdem taħt il-proċess numru ~D." diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/nb.po b/miniconda3/share/doc/gettext/examples/hello-clisp/po/nb.po new file mode 100644 index 0000000000000000000000000000000000000000..0b663418479c342f5e099bf3af4fcd5b5851cbfa --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/nb.po @@ -0,0 +1,29 @@ +# Norwegian Bokmal translations for hello-clisp package. +# Copyright (C) 2012 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Johnny A. Solbu , 2012-2024 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-clisp 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-01-06 16:33+0100\n" +"Last-Translator: Johnny A. Solbu \n" +"Language-Team: Norwegian Bokmaal \n" +"Language: nb\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.lisp.in:11 +msgid "Hello, world!" +msgstr "Hallo verden!" + +#: hello.lisp.in:13 +#, lisp-format +msgid "This program is running as process number ~D." +msgstr "Dette programmet kjører som prosess nummer ~D." diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/nl.po b/miniconda3/share/doc/gettext/examples/hello-clisp/po/nl.po new file mode 100644 index 0000000000000000000000000000000000000000..77be4c6a43219f84e380a9f1291996e3469cf215 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/nl.po @@ -0,0 +1,31 @@ +# Dutch translations for GNU hello-clisp. +# Copyright (C) 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# "There are three basic rules for writing a novel. +# Unfortunately nobody knows what they are." +# +# Benno Schulenberg , 2007, 2014, 2015, 2019, 2025. +# Elros Cyriatan , 2004. +msgid "" +msgstr "" +"Project-Id-Version: hello-clisp-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-01 14:51+0100\n" +"Last-Translator: Benno Schulenberg \n" +"Language-Team: Dutch \n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.lisp.in:11 +msgid "Hello, world!" +msgstr "Hallo, wereld!" + +#: hello.lisp.in:13 +#, lisp-format +msgid "This program is running as process number ~D." +msgstr "Dit programma draait als proces nummer ~D." diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/nn.po b/miniconda3/share/doc/gettext/examples/hello-clisp/po/nn.po new file mode 100644 index 0000000000000000000000000000000000000000..4ce4ec43850941692a4af1fcf11b83dc48aec591 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/nn.po @@ -0,0 +1,28 @@ +# Norwegian Nynorsk translation of GNU hello-clisp +# Copyright (C) 2020 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Karl Ove Hufthammer , 2020. +msgid "" +msgstr "" +"Project-Id-Version: hello-clisp-0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2020-05-04 18:58+0200\n" +"Last-Translator: Karl Ove Hufthammer \n" +"Language-Team: Norwegian Nynorsk \n" +"Language: nn\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 20.04.0\n" + +#: hello.lisp.in:11 +msgid "Hello, world!" +msgstr "Hei, verda!" + +#: hello.lisp.in:13 +#, lisp-format +msgid "This program is running as process number ~D." +msgstr "Dette programmet køyrer som prosess nummer ~D." diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/pl.po b/miniconda3/share/doc/gettext/examples/hello-clisp/po/pl.po new file mode 100644 index 0000000000000000000000000000000000000000..3a988791b351f052ccab4d592dc094862df33fcb --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/pl.po @@ -0,0 +1,27 @@ +# Polish translations for the GNU gettext messages, hello-clisp domain +# Copyright (C) 2010, 2014, 2015, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Rafał Maszkowski , 2003, 2010, 2014, 2015, 2025 +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-clisp 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-25 17:16+0200\n" +"Last-Translator: Rafał Maszkowski \n" +"Language-Team: Polish \n" +"Language: pl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8-bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " +"|| n%100>=20) ? 1 : 2);\n" + +#: hello.lisp.in:11 +msgid "Hello, world!" +msgstr "Cześć, świecie!" + +#: hello.lisp.in:13 +#, lisp-format +msgid "This program is running as process number ~D." +msgstr "Ten program działa jako proces o numerze ~D." diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/pt.po b/miniconda3/share/doc/gettext/examples/hello-clisp/po/pt.po new file mode 100644 index 0000000000000000000000000000000000000000..5efb96c3e91a8e28b0947a87b62444d04a0af437 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/pt.po @@ -0,0 +1,28 @@ +# Portuguese (Portugal) translation of 'hello-clisp' package. +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Pedro Albuquerque , 2019, 2020, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-clisp 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 11:24+0100\n" +"Last-Translator: Pedro Albuquerque \n" +"Language-Team: Portuguese \n" +"Language: pt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\\n;\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.6\n" + +#: hello.lisp.in:11 +msgid "Hello, world!" +msgstr "Olá mundo!" + +#: hello.lisp.in:13 +#, lisp-format +msgid "This program is running as process number ~D." +msgstr "Este programa está em execução como processo nº ~D." diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/pt_BR.po b/miniconda3/share/doc/gettext/examples/hello-clisp/po/pt_BR.po new file mode 100644 index 0000000000000000000000000000000000000000..79aeb4db9bfd4d19fd677ddd2e70fb5ee12254b4 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/pt_BR.po @@ -0,0 +1,31 @@ +# Brazilian Portuguese translations for gettext-example +# Traduções em português brasileiro para gettext-example +# Copyright (C) 2025 Yoyodyne, Inc. (msgids) +# Copyright (C) 2025 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Rafael Fontenelle , 2013-2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-clisp 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 10:24-0300\n" +"Last-Translator: Rafael Fontenelle \n" +"Language-Team: Brazilian Portuguese \n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Gtranslator 48.0\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.lisp.in:11 +msgid "Hello, world!" +msgstr "Olá, mundo!" + +#: hello.lisp.in:13 +#, lisp-format +msgid "This program is running as process number ~D." +msgstr "Este programa está sendo executado com número de processo ~D." diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/ro.po b/miniconda3/share/doc/gettext/examples/hello-clisp/po/ro.po new file mode 100644 index 0000000000000000000000000000000000000000..a112035af3ef6dfcd8d5265404630809ac4a8a79 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/ro.po @@ -0,0 +1,50 @@ +# Translation of "hello-clisp" messages to Romanian. +# Mesajele în limba română pentru pachetul hello-clisp. +# Copyright © 2015, 2019, 2022, 2023, 2024, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Eugen Hoancă , 2003. +# Mihai Cristescu , 2015 - 2019. +# Remus-Gabriel Chelu , 2022 - 2025. +# +# Cronologia traducerii fișierului „hello-clisp”: +# Traducerea inițială, făcută de EH, pentru versiunea hello-clisp 0.12.1, 2003. +# Actualizare a traducerii pentru versiunea hello-clisp 0.19.4-rc1, făcută de MC, mar-2015. +# Actualizare a traducerii pentru versiunea hello-clisp 0.19.4.73, făcută de MC, iun-2015. +# Actualizare a traducerii pentru versiunea hello-clisp 0.20-rc1, făcută de MC, apr-2019. +# Actualizare a mesajelor, de la fișierul „hello-clisp-0.20.2.pot”. +# Actualizare a algoritmului formelor de plural (de la „trei-vechi” la „trei-actual”). +# NU și a mesajelor traduse (acestea au rămas neschimbate). +# Eliminare a mesajelor ce-au dispărut în ultima versiune. +# Actualizări realizate de Remus-Gabriel Chelu , 15.01.2022. +# Actualizare a traducerii pentru versiunea 0.20.2 făcută de R-GC, ian-2022. +# Actualizare a traducerii pentru versiunea 0.22 făcută de R-GC, iun-2023. +# Revizuire și corectare a traducerii pentru versiunea 0.23-pre1 făcută de R-GC, oct-2024. +# Actualizare a traducerii pentru versiunea 0.24-pre1 făcută de R-GC, feb-2025. +# Actualizare a traducerii pentru versiunea 0.25-pre1 făcută de R-GC, apr-2025. +# Actualizare a traducerii pentru versiunea Y, făcută de X, Z(luna-anul). +# +msgid "" +msgstr "" +"Project-Id-Version: hello-clisp 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-29 00:25+0200\n" +"Last-Translator: Remus-Gabriel Chelu \n" +"Language-Team: Romanian \n" +"Language: ro\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " +"20)) ? 1 : 2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.lisp.in:11 +msgid "Hello, world!" +msgstr "Salutare, lume!" + +#: hello.lisp.in:13 +#, lisp-format +msgid "This program is running as process number ~D." +msgstr "Acest program rulează ca procesul numărul ~D." diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/ru.po b/miniconda3/share/doc/gettext/examples/hello-clisp/po/ru.po new file mode 100644 index 0000000000000000000000000000000000000000..e9c822c7007e66e41360d2753be665cc0e1a4c34 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/ru.po @@ -0,0 +1,30 @@ +# Translation of hello-clisp-0.14.1.po to Russian +# Copyright (C) 2004 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Pavel Maryanov , 2004. +# SPDX-FileCopyrightText: 2014, 2015, 2023, 2025 Yuri Kozlov +msgid "" +msgstr "" +"Project-Id-Version: hello-clisp 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-02 09:17+0300\n" +"Last-Translator: Yuri Kozlov \n" +"Language-Team: Russian \n" +"Language: ru\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Lokalize 24.12.0\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#: hello.lisp.in:11 +msgid "Hello, world!" +msgstr "Здравствуй, мир!" + +#: hello.lisp.in:13 +#, lisp-format +msgid "This program is running as process number ~D." +msgstr "Эта программа выполняется как процесс под номером ~D." diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/sk.po b/miniconda3/share/doc/gettext/examples/hello-clisp/po/sk.po new file mode 100644 index 0000000000000000000000000000000000000000..0082c7b2273cf15494346c639d39e57f0751728f --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/sk.po @@ -0,0 +1,26 @@ +# Slovak translations GNU for hello-clisp package. +# Copyright (C) 2003, 2004, 2014, 2023, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Marcel Telka , 2003, 2004, 2014, 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-clisp 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 13:53+0200\n" +"Last-Translator: Marcel Telka \n" +"Language-Team: Slovak \n" +"Language: sk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.lisp.in:11 +msgid "Hello, world!" +msgstr "Ahoj svet!" + +#: hello.lisp.in:13 +#, lisp-format +msgid "This program is running as process number ~D." +msgstr "Tento program beží ako proces s číslom ~D." diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/sl.po b/miniconda3/share/doc/gettext/examples/hello-clisp/po/sl.po new file mode 100644 index 0000000000000000000000000000000000000000..f32c771f1395c03dded3f8df38e593027f7c5926 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/sl.po @@ -0,0 +1,29 @@ +# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example +# Copyright (C) 2005 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Primož Peterlin , 2005, 2014, 2015, 2024. +# $Id: hello-clisp-0.22.sl.po,v 1.1 2024/03/28 17:02:19 peterlin Exp $ +msgid "" +msgstr "" +"Project-Id-Version: hello-clisp 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-03-28 18:02+0100\n" +"Last-Translator: Primož Peterlin \n" +"Language-Team: Slovenian \n" +"Language: sl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8-bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || " +"n%100==4 ? 3 : 0);\n" + +#: hello.lisp.in:11 +msgid "Hello, world!" +msgstr "Pozdravljen, svet!" + +#: hello.lisp.in:13 +#, lisp-format +msgid "This program is running as process number ~D." +msgstr "Ta program teče kot proces številka ~D." diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/sq.po b/miniconda3/share/doc/gettext/examples/hello-clisp/po/sq.po new file mode 100644 index 0000000000000000000000000000000000000000..81f6f9421780f0154f98ed97137b2d2077bc141d --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/sq.po @@ -0,0 +1,28 @@ +# Albanian translation of gettext-example. +# Copyright (C) 2020 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Besnik Bleta , 2020,2023,2024,2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-clisp-0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 19:56+0300\n" +"Last-Translator: Besnik Bleta \n" +"Language-Team: Albanian \n" +"Language: sq\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.2.2\n" + +#: hello.lisp.in:11 +msgid "Hello, world!" +msgstr "Tungjatjeta, botë!" + +#: hello.lisp.in:13 +#, lisp-format +msgid "This program is running as process number ~D." +msgstr "Ky program po xhiron si procesi numër ~D." diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/sr.po b/miniconda3/share/doc/gettext/examples/hello-clisp/po/sr.po new file mode 100644 index 0000000000000000000000000000000000000000..c37d60981fd1021240397c2b2671f1550fe8de07 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/sr.po @@ -0,0 +1,30 @@ +# Serbian translation of hello-clisp. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Aleksandar Jelenak , 2004. +# Мирослав Николић , 2014-2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-clisp-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-02 16:51+0100\n" +"Last-Translator: Мирослав Николић \n" +"Language-Team: Serbian <(nothing)>\n" +"Language: sr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.lisp.in:11 +msgid "Hello, world!" +msgstr "Здраво, свима!" + +#: hello.lisp.in:13 +#, lisp-format +msgid "This program is running as process number ~D." +msgstr "Овај програм се извршава као процес број ~D." diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/sv.po b/miniconda3/share/doc/gettext/examples/hello-clisp/po/sv.po new file mode 100644 index 0000000000000000000000000000000000000000..d85b72a6eb4ff49abf53f3acbd6327294c457489 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/sv.po @@ -0,0 +1,30 @@ +# Swedish messages for hello-clisp. +# Copyright © 2006, 2014, 2016, 2019, 2020, 2023, 2024, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Jan Djärv , 2003, 2006, 2014. +# Göran Uddeborg , 2016, 2019, 2020, 2023, 2024, 2025. +# Luna Jernberg , 2025. +# $Revision: 1.12 $ +msgid "" +msgstr "" +"Project-Id-Version: hello-clisp 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 12:18+0200\n" +"Last-Translator: Luna Jernberg \n" +"Language-Team: Swedish \n" +"Language: sv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.lisp.in:11 +msgid "Hello, world!" +msgstr "Hej världen!" + +#: hello.lisp.in:13 +#, lisp-format +msgid "This program is running as process number ~D." +msgstr "Detta program kör som process nummer ~D." diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/ta.po b/miniconda3/share/doc/gettext/examples/hello-clisp/po/ta.po new file mode 100644 index 0000000000000000000000000000000000000000..c261913450fd5dee317b7be01d7fb9af97c88c4e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/ta.po @@ -0,0 +1,28 @@ +# Tamil messages for GNU gettext. +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# List of contributors follow: +# Poorajith , 2018. +# Arun Isaac , 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-clisp 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-19 00:06+0100\n" +"Last-Translator: Arun Isaac \n" +"Language-Team: Tamil \n" +"Language: ta\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.lisp.in:11 +msgid "Hello, world!" +msgstr "வணக்கம், உலகு!" + +#: hello.lisp.in:13 +#, lisp-format +msgid "This program is running as process number ~D." +msgstr "இந்நிரல் செயலாக்க எண் ~D ஆக இயங்கிக்கொண்டிருக்கிறது." diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/tr.po b/miniconda3/share/doc/gettext/examples/hello-clisp/po/tr.po new file mode 100644 index 0000000000000000000000000000000000000000..99218aab6b5354c1531a5c7c67016319a1b83846 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/tr.po @@ -0,0 +1,29 @@ +# Turkish translation for hello-clisp. +# This file is distributed under the same license as the gettext package. +# Copyright (C) 2017 Yoyodyne, Inc. (msgids) +# Copyright (C) 2004 Free Software Foundation, Inc. +# Nilgün Belma Bugüner , 2003,2004 +# Mehmet Kececi , 2017, 2019, 2020. +msgid "" +msgstr "" +"Project-Id-Version: hello-clisp 0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2020-04-17 13:10+0300\n" +"Last-Translator: Mehmet Kececi \n" +"Language-Team: Turkish \n" +"Language: tr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Poedit 2.3\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.lisp.in:11 +msgid "Hello, world!" +msgstr "Merhaba, dünya!" + +#: hello.lisp.in:13 +#, lisp-format +msgid "This program is running as process number ~D." +msgstr "Bu yazılım ~D süreç numarası ile çalışıyor." diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/uk.po b/miniconda3/share/doc/gettext/examples/hello-clisp/po/uk.po new file mode 100644 index 0000000000000000000000000000000000000000..be286257bbccc85fbe9503ee930523435682be20 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/uk.po @@ -0,0 +1,30 @@ +# Ukrainian translation to hello-clisp +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Maxim V. Dziumanenko , 2004-2007. +# Yuri Chornoivan , 2014, 2015, 2023, 2025. +msgid "" +msgstr "" +"Project-Id-Version: hello-clisp 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 13:56+0300\n" +"Last-Translator: Yuri Chornoivan \n" +"Language-Team: Ukrainian \n" +"Language: uk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Generator: Lokalize 23.04.3\n" + +#: hello.lisp.in:11 +msgid "Hello, world!" +msgstr "Привіт, світе!" + +#: hello.lisp.in:13 +#, lisp-format +msgid "This program is running as process number ~D." +msgstr "Ця програма виконується як процес з номером ~D." diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/vi.po b/miniconda3/share/doc/gettext/examples/hello-clisp/po/vi.po new file mode 100644 index 0000000000000000000000000000000000000000..9f2c12b0a6a6dcdcedde7d6ee786504e6ef47609 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/vi.po @@ -0,0 +1,30 @@ +# Vietnamese Translation for Gettext Examples. +# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext. +# Copyright © 2015 Yoyodyne, Inc. (msgids) +# Copyright © 2015 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Clytie Siddall , 2005-2010. +# Trần Ngọc Quân , 2012-2015, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-clisp 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-24 09:10+0700\n" +"Last-Translator: Trần Ngọc Quân \n" +"Language-Team: Vietnamese \n" +"Language: vi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: hello.lisp.in:11 +msgid "Hello, world!" +msgstr "Chào thế giới!" + +#: hello.lisp.in:13 +#, lisp-format +msgid "This program is running as process number ~D." +msgstr "Chương trình này đang chạy với mã số tiến trình ~D." diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/zh_CN.po b/miniconda3/share/doc/gettext/examples/hello-clisp/po/zh_CN.po new file mode 100644 index 0000000000000000000000000000000000000000..3d06fec5676f132a772e76e433bfe131304fd4b2 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/zh_CN.po @@ -0,0 +1,29 @@ +# zh_CN translation for hello-clisp. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Funda Wang , 2003. +# Ji ZhengYu , 2015. +# Boyuan Yang <073plan@gmail.com>, 2019, 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-clisp 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-29 15:56-0400\n" +"Last-Translator: Boyuan Yang <073plan@gmail.com>\n" +"Language-Team: Chinese (simplified) \n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.6\n" + +#: hello.lisp.in:11 +msgid "Hello, world!" +msgstr "你好,世界!" + +#: hello.lisp.in:13 +#, lisp-format +msgid "This program is running as process number ~D." +msgstr "此程序正以进程号 ~D 运行。" diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/zh_HK.po b/miniconda3/share/doc/gettext/examples/hello-clisp/po/zh_HK.po new file mode 100644 index 0000000000000000000000000000000000000000..99e6f09f3d1663266a6dd3e485040eb1cc591cb9 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/zh_HK.po @@ -0,0 +1,25 @@ +# Chinese (Hong Kong) translation of hello-clisp. +# Copyright (C) 2006 Yoyodyne, Inc. +# Abel Cheung , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-clisp 0.15-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2006-07-05 15:40+0800\n" +"Last-Translator: Abel Cheung \n" +"Language-Team: Chinese (Hong Kong) \n" +"Language: zh_HK\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.lisp.in:11 +msgid "Hello, world!" +msgstr "你好!" + +#: hello.lisp.in:13 +#, lisp-format +msgid "This program is running as process number ~D." +msgstr "本程式正在執行中,進程編號為 ~D。" diff --git a/miniconda3/share/doc/gettext/examples/hello-clisp/po/zh_TW.po b/miniconda3/share/doc/gettext/examples/hello-clisp/po/zh_TW.po new file mode 100644 index 0000000000000000000000000000000000000000..b8845e60259a4843d21b23bee3790d07f75fae38 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-clisp/po/zh_TW.po @@ -0,0 +1,29 @@ +# Traditional Chinese translation of hello-clisp. +# Copyright (C) 2009 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Abel Cheung , 2005. +# Wei-Lun Chao , 2013, 2015. +# Yi-Jyun Pan , 2024. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-clisp 0.23-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-11-30 14:14+0800\n" +"Last-Translator: Yi-Jyun Pan \n" +"Language-Team: Chinese (traditional) \n" +"Language: zh_TW\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.lisp.in:11 +msgid "Hello, world!" +msgstr "哈囉,大家好!" + +#: hello.lisp.in:13 +#, lisp-format +msgid "This program is running as process number ~D." +msgstr "本程式正在執行,行程編號為 ~D。" diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/INSTALL b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/INSTALL new file mode 100644 index 0000000000000000000000000000000000000000..31c44e48095dd4e53e09663ea050a2521050fb14 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/INSTALL @@ -0,0 +1,11 @@ +This example relies on: + - a C# implementation with System.Windows.Forms library: mono + +Installation: + ./autogen.sh + ./configure --prefix=/some/prefix + make + make install +Cleanup: + make distclean + ./autoclean.sh diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/Makefile.am b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..44a82fc603fe4c28e30f225779a253905baf91a3 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/Makefile.am @@ -0,0 +1,74 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Makefile configuration - processed by automake. + +# General automake options. +AUTOMAKE_OPTIONS = foreign +ACLOCAL_AMFLAGS = -I m4 + +# The list of subdirectories containing Makefiles. +SUBDIRS = m4 po + +# The list of programs that are built. +bin_CSHARPPROGRAMS = hello + +# The source files of the 'hello' program. +hello_SOURCES = hello.cs + +# The link dependencies of the 'hello' program. +hello_CSHARPLIBS = @GNU_GETTEXT_LDADD@ @GNU_GETTEXT_LIBS@ -l System -l System.Drawing -l System.Windows.Forms + +# Resources that are generated from PO files. +MAINTAINERCLEANFILES = */*.resources.dll + +# Additional files to be distributed. +EXTRA_DIST = autogen.sh autoclean.sh + + +# ----------------- General rules for compiling C# programs ----------------- + +pkgdatadir = $(datadir)/$(PACKAGE) +pkglibdir = $(libdir)/$(PACKAGE) + +CSHARPCOMP = $(SHELL) csharpcomp.sh +CSHARPCOMPFLAGS = -O -g + +EXTRA_DIST += $(hello_SOURCES) +CLEANFILES = hello.net.exe.mdb +DISTCLEANFILES = csharpcomp.sh csharpexec.sh + + +# Rules for compiling C# programs. + +all-local: hello.net.exe hello.sh + +hello.net.exe: $(hello_SOURCES) + $(CSHARPCOMP) $(CSHARPCOMPFLAGS) -o $@ $(hello_CSHARPLIBS) $(srcdir)/hello.cs + +hello.sh: + { echo '#!/bin/sh'; \ + echo "exec /bin/sh '$(pkgdatadir)/csharpexec.sh' @GNU_GETTEXT_LDADD@ '$(pkglibdir)/hello.net.exe' \"\$$@\""; \ + } > $@ + +install-exec-local: all-local + $(MKDIR_P) $(DESTDIR)$(bindir) + $(INSTALL_SCRIPT) hello.sh $(DESTDIR)$(bindir)/hello + $(MKDIR_P) $(DESTDIR)$(pkglibdir) + $(INSTALL_DATA) hello.net.exe $(DESTDIR)$(pkglibdir)/hello.net.exe + +install-data-local: all-local + $(MKDIR_P) $(DESTDIR)$(pkgdatadir) + $(INSTALL_DATA) csharpexec.sh $(DESTDIR)$(pkgdatadir)/csharpexec.sh + +installdirs-local: + $(MKDIR_P) $(DESTDIR)$(bindir) + $(MKDIR_P) $(DESTDIR)$(pkglibdir) + $(MKDIR_P) $(DESTDIR)$(pkgdatadir) + +uninstall-local: + rm -f $(DESTDIR)$(bindir)/hello + rm -f $(DESTDIR)$(pkglibdir)/hello.net.exe + rm -f $(DESTDIR)$(pkgdatadir)/csharpexec.sh + +CLEANFILES += hello.net.exe hello.sh diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/README b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/README new file mode 100644 index 0000000000000000000000000000000000000000..5756710df52758d24180022728ccfa54614c6321 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/README @@ -0,0 +1,81 @@ +Before you read the hello.cs source code: + +Preface about GUI Programming Methodologies +=========================================== + +The traditional GUI programming methodology for Windows GUI programmers +is to assemble controls using a GUI builder. These GUI builders +don't have good techniques for determining the size and position of the +controls depending on their contents. Instead, they *hardcode* the +size and positions of the controls in each panel, as fixed numbers, +measured in pixels. + +What are the consequences? + +1) Consequences for all users: + Such panels would not look nice when the user resizes them. So the + programmer simply makes the dialogs non-resizable. When such a + panel then contains a scrollable list of items, with 100 items and + a scroll window of 5 items, a user's normal reaction is to enlarge + the dialog, to see more items. But the dialog is not resizable! + Frustration. + +2) Consequences for disabled users: + Some users need bigger fonts for working comfortably. Guess what + happens when the user changes the size of the default system font? + Many labels in dialogs are truncated. + +3) Consequences for internationalization: + The translation of a term or label in another language often needs + more screen space. For example, Japanese translations often are 30% + longer than the original English label. Therefore, if only the strings + of a dialog are localized, many labels are truncated. + +Problems 1 and 2 are usually accepted in the Windows programmers +community. (Problem 1 is not fatal, only frustrating. And problem 2 +affects only a small proportion of the users; they are simply ignored.) +Problem 3 is "solved" by letting the localization team not only translate +the strings, but also redo the layout of each dialog. + +In contrast, the methodology of programmers of the Qt/KDE, Gtk/GNOME, +wxWidgets, AWT, Swing, Tk toolkits is to have the positions and sizes +of controls determined at runtime, according to + - the needs of the control itself, + - the needs of the other controls in the panel, + - the available panel size, given by the user through resizing. +The common technology for this approach is to group related controls +together in containers, and perform size and position propagations +between the controls of the container, the container, the container's +container etc. These computations are performed by so-called +"layout manager" objects. +Other technologies such as global constraint systems (as in Garnet) or +spring-like attachments are not so much in use anymore nowadays. + +This programmed-resizing methodology solves the problems 1), 2) and 3). + +What are the associated costs and efforts? Taking the programmed-resizing +methodology as baseline, the hardcoded sizes and positions approach has + - the advantage that the programmer saves about 1/3 of the GUI + programming work (namely choosing the layout managers and setting + alignment hints), + - the drawback that each localization team has much more work, namely + to rearrange the controls in the panel. +In most free software projects, there are at least ca. 5 localizations; +successful projects even have 30 or 50 localizations. +In other words, a program built with hardcoded sizes and positions +cannot afford many localizations, or the effort for localization will +be prohibitively high. + +For this reason, we strongly recommend to use the programmed-resizing +methodology. In this example, since the Windows.Forms package lacks +layout manager classes, we compute the layout by hand, through an +override of the OnResize method. For larger programs, we would recommend +to build a few simple layout managers, to get on par with the layout +abilities found in Qt, Swing, etc. +(The layout system of Gtk/GNOME is somewhat particular: It does not +provide the ability to set a preferred alignment on controls like labels. +Instead one uses intermediate containers for the purpose of alignment.) + +Acknowledgement: This preface borrows ideas from an article of Luke Plant. + +Copyright (C) 2006 Free Software Foundation, Inc. diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/autoclean.sh b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/autoclean.sh new file mode 100644 index 0000000000000000000000000000000000000000..4d1bda1d9e77774b0794ab4e47303c199aa225ce --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/autoclean.sh @@ -0,0 +1,48 @@ +#!/bin/sh +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Script for cleaning all autogenerated files. + +test ! -f Makefile || make distclean +# Do the equivalent of "make maintainer-clean", even without the Makefile. +rm -f */*.resources.dll +rm -rf autom4te.cache + +# Brought in by explicit copy. +rm -f m4/nls.m4 +rm -f m4/po.m4 +rm -f m4/progtest.m4 +rm -f po/remove-potcdate.sed + +# Brought in by explicit copy. +rm -f m4/csharpcomp.m4 +rm -f m4/csharpexec.m4 +rm -f m4/csharpexec-test.exe +rm -f m4/csharp.m4 +rm -f csharpcomp.sh.in +rm -f csharpexec.sh.in + +# Generated by aclocal. +rm -f aclocal.m4 + +# Generated by autoconf. +rm -f configure + +# Generated or brought in by automake. +rm -f Makefile.in +rm -f m4/Makefile.in +rm -f po/Makefile.in +rm -f compile +rm -f install-sh +rm -f missing +rm -f config.guess +rm -f config.sub +rm -f po/*.pot +rm -f po/stamp-po +for f in po/*/*.resources.dll; do + if test -f "$f"; then + rm -f "$f" + rmdir `echo $f | sed -e 's,/[^/]*$,,'` + fi +done diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/autogen.sh b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/autogen.sh new file mode 100644 index 0000000000000000000000000000000000000000..5f6822c80d0c6d64ddf6e3789e7a6a1f1cbb8952 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/autogen.sh @@ -0,0 +1,48 @@ +#!/bin/sh +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Script for regenerating all autogenerated files. + +if test -r ../Makefile.am; then + # Inside the gettext source directory. + GETTEXT_TOPSRCDIR=../../.. +else + if test -r ../Makefile; then + # Inside a gettext build directory. + GETTEXT_TOOLS_SRCDIR=`sed -n -e 's,^top_srcdir *= *\(.*\)$,\1,p' ../Makefile` + # Adjust a relative top_srcdir. + case $GETTEXT_TOOLS_SRCDIR in + /*) ;; + *) GETTEXT_TOOLS_SRCDIR=../$GETTEXT_TOOLS_SRCDIR ;; + esac + GETTEXT_TOPSRCDIR=$GETTEXT_TOOLS_SRCDIR/../.. + else + # Installed under ${prefix}/share/doc/gettext/examples. + . ../installpaths + fi +fi + +cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/nls.m4 m4/nls.m4 +cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/po.m4 m4/po.m4 +cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/progtest.m4 m4/progtest.m4 +cp -p ${GETTEXTSRCPODIR-$GETTEXT_TOPSRCDIR/gettext-runtime/po}/remove-potcdate.sed po/remove-potcdate.sed + +cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/gnulib-m4}/csharpcomp.m4 m4/csharpcomp.m4 +cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/gnulib-m4}/csharpexec.m4 m4/csharpexec.m4 +cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/m4}/csharpexec-test.exe m4/csharpexec-test.exe +cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/gnulib-m4}/csharp.m4 m4/csharp.m4 +cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/build-aux}/csharpcomp.sh.in csharpcomp.sh.in +cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/build-aux}/csharpexec.sh.in csharpexec.sh.in + +aclocal -I m4 + +autoconf + +automake -a -c + +./configure +cd po +make update-po +cd .. +make distclean diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/configure.ac b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/configure.ac new file mode 100644 index 0000000000000000000000000000000000000000..c206f98448fa72f0d0ab41a28101f40e9d430568 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/configure.ac @@ -0,0 +1,52 @@ +dnl Example for use of GNU gettext. +dnl This file is in the public domain. +dnl +dnl Configuration file - processed by autoconf. + +AC_INIT([hello-csharp-forms], [0]) +AC_CONFIG_SRCDIR([hello.cs]) +AM_INIT_AUTOMAKE([1.11]) + +dnl Check whether we can build C# programs at all. +gt_CSHARPCOMP +if test -n "$HAVE_CSHARPCOMP"; then + BUILDCSHARP=yes +else + BUILDCSHARP=no +fi +AC_SUBST([BUILDCSHARP]) + +dnl Check whether we can execute C# programs. +gt_CSHARPEXEC([csharpexec-test.exe], [$srcdir/m4]) +if test -n "$HAVE_CSHARPEXEC" && test $BUILDCSHARP = yes; then + TESTCSHARP=yes +else + TESTCSHARP=no +fi +AC_SUBST([TESTCSHARP]) + +dnl Checks for needed libraries. +AM_PATH_PROG_WITH_TEST([GETTEXT_WITH_GNU_GETTEXT_DLL], [gettext], + [{ basedir=`echo "$ac_dir" | sed -e 's,/bin$,,'`; test -r "$basedir"/lib/GNU.Gettext.dll; }]) +if test -z "$GETTEXT_WITH_GNU_GETTEXT_DLL"; then + echo "Required library GNU.Gettext.dll not found." 1>&2 + exit 1 +fi +changequote(,)dnl +basedir=`echo "$GETTEXT_WITH_GNU_GETTEXT_DLL" | sed -e 's,/[^/]*$,,' | sed -e 's,/bin$,,'` +changequote([, ])dnl +GNU_GETTEXT_DLL="$basedir"/lib/GNU.Gettext.dll +GNU_GETTEXT_LDADD="-L $basedir/lib" +GNU_GETTEXT_LIBS="-l GNU.Gettext" +AC_SUBST([GNU_GETTEXT_LDADD]) +AC_SUBST([GNU_GETTEXT_LIBS]) + +dnl Support for the po directory. +AM_PO_SUBDIRS + +AC_CONFIG_FILES([Makefile]) +AC_CONFIG_FILES([csharpcomp.sh]) +AC_CONFIG_FILES([csharpexec.sh]) +AC_CONFIG_FILES([m4/Makefile]) +AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE]) +AC_OUTPUT diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/hello.cs b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/hello.cs new file mode 100644 index 0000000000000000000000000000000000000000..84103349d4f757add25d4b29259d279486352674 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/hello.cs @@ -0,0 +1,81 @@ +// Example for use of GNU gettext. +// This file is in the public domain. +// +// Source code of the C#/Forms program. + +using System; /* String, EventHandler */ +using GNU.Gettext; /* GettextResourceManager */ +using System.Diagnostics; /* Process */ +using System.Threading; /* Thread */ +using System.Drawing; /* Point, Size */ +using System.Windows.Forms; /* Application, Form, Label, Button */ + +public class Hello { + + private static GettextResourceManager catalog = + new GettextResourceManager("hello-csharp-forms"); + + class HelloWindow : Form { + + private int border; + private Label label1; + private Label label2; + private Button ok; + + public HelloWindow () { + border = 2; + + label1 = new Label(); + label1.Text = catalog.GetString("Hello, world!"); + label1.ClientSize = new Size(label1.PreferredWidth, label1.PreferredHeight); + Controls.Add(label1); + + label2 = new Label(); + label2.Text = + String.Format( + catalog.GetString("This program is running as process number {0}."), + Process.GetCurrentProcess().Id); + label2.ClientSize = new Size(label2.PreferredWidth, label2.PreferredHeight); + Controls.Add(label2); + + ok = new Button(); + Label okLabel = new Label(); + ok.Text = okLabel.Text = "OK"; + ok.ClientSize = new Size(okLabel.PreferredWidth + 12, okLabel.PreferredHeight + 4); + ok.Click += new EventHandler(Quit); + Controls.Add(ok); + + Size total = ComputePreferredSizeWithoutBorder(); + LayoutControls(total.Width, total.Height); + ClientSize = new Size(border + total.Width + border, border + total.Height + border); + } + + protected override void OnResize(EventArgs ev) { + LayoutControls(ClientSize.Width - border - border, ClientSize.Height - border - border); + base.OnResize(ev); + } + + // Layout computation, part 1: The preferred size of this panel. + private Size ComputePreferredSizeWithoutBorder () { + int totalWidth = Math.Max(Math.Max(label1.PreferredWidth, label2.PreferredWidth), + ok.Width); + int totalHeight = label1.PreferredHeight + label2.PreferredHeight + 6 + ok.Height; + return new Size(totalWidth, totalHeight); + } + + // Layout computation, part 2: Determine where to put the sub-controls. + private void LayoutControls (int totalWidth, int totalHeight) { + label1.Location = new Point(border, border); + label2.Location = new Point(border, border + label1.PreferredHeight); + ok.Location = new Point(border + totalWidth - ok.Width, border + totalHeight - ok.Height); + } + + private void Quit (Object sender, EventArgs ev) { + Application.Exit(); + } + } + + public static void Main () { + Application.Run(new HelloWindow()); + } +} diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/m4/Makefile.am b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/m4/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..de22d57cb1ebe59d18c8e8eae7259977e452b255 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/m4/Makefile.am @@ -0,0 +1,3 @@ +EXTRA_DIST = \ + nls.m4 po.m4 \ + csharpcomp.m4 csharpexec.m4 csharpexec-test.exe diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/LINGUAS b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/LINGUAS new file mode 100644 index 0000000000000000000000000000000000000000..dc4a82afbad945018082c22f2061a43ef436dd68 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/LINGUAS @@ -0,0 +1,5 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Set of available languages. +af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ka ky lv ms mt nb nl nn pl pt pt_BR ro ru sk sl sq sr sv ta tr uk vi zh_CN zh_HK zh_TW diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/Makefile.am b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..3d2b1934efec02c2d7ab649749cee26189ebb038 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/Makefile.am @@ -0,0 +1,380 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Makefile configuration - processed by automake. + +# List of files which contain translatable strings. +POTFILES = \ + hello.cs + +# Usually the message domain is the same as the package name. +DOMAIN = $(PACKAGE) + +# These options get passed to xgettext. +XGETTEXT_OPTIONS = + +# This is the copyright holder that gets inserted into the header of the +# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding +# package. (Note that the msgid strings, extracted from the package's +# sources, belong to the copyright holder of the package.) Translators are +# expected to transfer the copyright for their translations to this person +# or entity, or to disclaim their copyright. The empty string stands for +# the public domain; in this case the translators are expected to disclaim +# their copyright. +COPYRIGHT_HOLDER = Yoyodyne, Inc. + +# This tells whether or not to prepend "GNU " prefix to the package +# name that gets inserted into the header of the $(DOMAIN).pot file. +# Possible values are "yes", "no", or empty. If it is empty, try to +# detect it automatically by scanning the files in $(top_srcdir) for +# "GNU packagename" string. +PACKAGE_GNU = no + +# This is the email address or URL to which the translators shall report +# bugs in the untranslated strings: +# - Strings which are not entire sentences, see the maintainer guidelines +# in the GNU gettext documentation, section 'Preparing Strings'. +# - Strings which use unclear terms or require additional context to be +# understood. +# - Strings which make invalid assumptions about notation of date, time or +# money. +# - Pluralisation problems. +# - Incorrect English spelling. +# - Incorrect formatting. +# It can be your email address, or a mailing list address where translators +# can write to without being subscribed, or the URL of a web page through +# which the translators can contact you. +MSGID_BUGS_ADDRESS = bug-gettext@gnu.org + +# These options get passed to msgmerge. +# Useful options are in particular: +# --previous to keep previous msgids of translated messages +MSGMERGE_OPTIONS = + +# These options get passed to msginit. +# If you want to disable line wrapping when writing PO files, add +# --no-wrap to MSGMERGE_OPTIONS, XGETTEXT_OPTIONS, and +# MSGINIT_OPTIONS. +MSGINIT_OPTIONS = + +pkglibdir = $(libdir)/$(PACKAGE) + +MSGMERGE = @MSGMERGE@ +MSGMERGE_UPDATE = @MSGMERGE@ --update +MSGMERGE_FOR_MSGFMT_OPTION = @MSGMERGE_FOR_MSGFMT_OPTION@ +MSGINIT = msginit +MSGCONV = msgconv +MSGFILTER = msgfilter + +# This is computed as $(foreach file, $(POTFILES), $(top_srcdir)/$(file)) +POTFILES_DEPS != for file in $(POTFILES); do echo $(top_srcdir)/$$file; done + +# The set of available translations. +ALL_LINGUAS != if test -f $(srcdir)/LINGUAS; then \ + sed -e '/^\#/d' < $(srcdir)/LINGUAS; \ + else \ + echo $(LINGUAS); \ + fi +# This is computed as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) +POFILES != for lang in $(ALL_LINGUAS); do echo $(srcdir)/$$lang.po; done +# This is computed as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) +UPDATEPOFILES != for lang in $(ALL_LINGUAS); do echo $$lang.po-update; done +# This is computed as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) +DUMMYPOFILES != for lang in $(ALL_LINGUAS); do echo $$lang.nop; done +# This is computed as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang))/$(DOMAIN).resources.dll) +# It also creates the .csharp-rules file. +RESOURCESDLLFILES != tab=`printf '\t'`; \ + for lang in $(ALL_LINGUAS); do \ + frobbedlang=`echo $$lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$$/-Latn/' -e 's/@cyrillic$$/-Cyrl/' -e 's/^sr-SP$$/sr-SP-Latn/' -e 's/^uz-UZ$$/uz-UZ-Latn/'`; \ + echo 1>&3 "$$frobbedlang/\$$(DOMAIN).resources.dll: $$lang.po"; \ + echo 1>&3 "$${tab}@echo \"\$$(MSGFMT) -c --csharp -d \$$(srcdir) -l $$lang \$$(srcdir)/$$lang.po -r \$$(DOMAIN)\"; \\"; \ + echo 1>&3 "$${tab}\$$(MSGFMT) -c --csharp -d \"\$$(srcdir)\" -l $$lang \$$(srcdir)/$$lang.po -r \"\$$(DOMAIN)\" || { rm -f \"\$$(srcdir)/$$frobbedlang/\$$(DOMAIN).resources.dll\"; exit 1; }"; \ + echo $(srcdir)/$$frobbedlang/$(DOMAIN).resources.dll; \ + done 3> .csharp-rules +# Include the generated rules that cannot be formulated as a simple rule. +-include .csharp-rules + +# The set of desired translations, as specified by the installer or distributor. +DESIRED_LINGUAS = @DESIRED_LINGUAS@ +# The set of translations to install. This is computed based on $(ALL_LINGUAS) +# and $(DESIRED_LINGUAS). It is a subset of $(ALL_LINGUAS). +# We use the presentlang catalog if desiredlang is +# a. equal to presentlang, or +# b. a variant of presentlang (because in this case, presentlang can be used +# as a fallback for messages which are not translated in the desiredlang +# catalog). +INST_LINGUAS != for presentlang in $(ALL_LINGUAS); do \ + useit=false; \ + for desiredlang in $(DESIRED_LINGUAS); do \ + case "$$desiredlang" in \ + "$$presentlang" | "$$presentlang"_* | "$$presentlang".* | "$$presentlang"@*) \ + useit=true ;; \ + esac; \ + done; \ + if $$useit; then echo $$presentlang; fi; \ + done +# This is computed as $(foreach lang, $(INST_LINGUAS), $(frob $(lang))/$(DOMAIN).resources.dll) +CATALOGS != for lang in $(INST_LINGUAS); do \ + frobbedlang=`echo $$lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$$/-Latn/' -e 's/@cyrillic$$/-Cyrl/' -e 's/^sr-SP$$/sr-SP-Latn/' -e 's/^uz-UZ$$/uz-UZ-Latn/'`; \ + echo $$lang/$(DOMAIN).resources.dll; \ + done + +SUFFIXES = .nop .po-create .po-update + +# The .pot file, stamp-po, .po files, and .resources.dll files appear in release +# tarballs. +# The GNU Coding Standards say in +# : +# "GNU distributions usually contain some files which are not source files +# ... . Since these files normally appear in the source directory, they +# should always appear in the source directory, not in the build directory. +# So Makefile rules to update them should put the updated files in the +# source directory." +# Therefore we put these files in the source directory, not the build directory. + + +all-local: all-local-@USE_NLS@ + +all-local-yes: $(srcdir)/stamp-po +all-local-no: + +# $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no +# internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because +# we don't want to bother translators with empty POT files). We assume that +# LINGUAS is empty in this case, i.e. $(POFILES) and $(RESOURCESDLLFILES) are +# empty. In this case, $(srcdir)/stamp-po is a nop (i.e. a phony target). + +# $(srcdir)/stamp-po is a timestamp denoting the last time at which the CATALOGS +# have been loosely updated. Its purpose is that when a developer or translator +# checks out the package from a version control system, and the $(DOMAIN).pot +# file is not under version control, "make" will update the $(DOMAIN).pot and +# the $(CATALOGS), but subsequent invocations of "make" will do nothing. This +# timestamp would not be necessary if updating the $(CATALOGS) would always +# touch them; however, the rule for $(POFILES) has been designed to not touch +# files that don't need to be changed. +$(srcdir)/stamp-po: $(srcdir)/$(DOMAIN).pot + test ! -f $(srcdir)/$(DOMAIN).pot || \ + test -z "$(RESOURCESDLLFILES)" || $(MAKE) $(RESOURCESDLLFILES) + @test ! -f $(srcdir)/$(DOMAIN).pot || { \ + echo "touch $(srcdir)/stamp-po" && \ + echo timestamp > $(srcdir)/stamp-poT && \ + mv $(srcdir)/stamp-poT $(srcdir)/stamp-po; \ + } + +# This target rebuilds $(DOMAIN).pot; it is an expensive operation. +# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed. +# The determination of whether the package xyz is a GNU one is based on the +# heuristic whether some file in the top level directory mentions "GNU xyz". +# If GNU 'find' is available, we avoid grepping through monster files. +$(DOMAIN).pot-update: $(POTFILES_DEPS) + package_gnu="$(PACKAGE_GNU)"; \ + test -n "$$package_gnu" || { \ + if { if (LC_ALL=C find --version) 2>/dev/null | grep GNU >/dev/null; then \ + LC_ALL=C find -L $(top_srcdir) -maxdepth 1 -type f -size -10000000c -exec grep -i 'GNU $(PACKAGE)' /dev/null '{}' ';' 2>/dev/null; \ + else \ + LC_ALL=C grep -i 'GNU $(PACKAGE)' $(top_srcdir)/* 2>/dev/null; \ + fi; \ + } | grep -v 'libtool:' >/dev/null; then \ + package_gnu=yes; \ + else \ + package_gnu=no; \ + fi; \ + }; \ + if test "$$package_gnu" = "yes"; then \ + package_prefix='GNU '; \ + else \ + package_prefix=''; \ + fi; \ + if test -n '$(MSGID_BUGS_ADDRESS)'; then \ + msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \ + else \ + msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \ + fi; \ + case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ + '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \ + $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ + --add-comments=TRANSLATORS: \ + --copyright-holder='$(COPYRIGHT_HOLDER)' \ + --msgid-bugs-address="$$msgid_bugs_address" \ + $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ + $(POTFILES) \ + ;; \ + *) \ + $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ + --add-comments=TRANSLATORS: \ + --copyright-holder='$(COPYRIGHT_HOLDER)' \ + --package-name="$${package_prefix}$(PACKAGE)" \ + --package-version='$(VERSION)' \ + --msgid-bugs-address="$$msgid_bugs_address" \ + $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ + $(POTFILES) \ + ;; \ + esac + test ! -f $(DOMAIN).po || { \ + if test -f $(srcdir)/$(DOMAIN).pot-header; then \ + sed -e '1,/^#$$/d' < $(DOMAIN).po > $(DOMAIN).1po && \ + cat $(srcdir)/$(DOMAIN).pot-header $(DOMAIN).1po > $(DOMAIN).po && \ + rm -f $(DOMAIN).1po \ + || exit 1; \ + fi; \ + if test -f $(srcdir)/$(DOMAIN).pot; then \ + sed -f $(srcdir)/remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \ + sed -f $(srcdir)/remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \ + if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \ + rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \ + else \ + rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \ + mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ + fi; \ + else \ + mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ + fi; \ + } + +# This rule has no dependencies: we don't need to update $(DOMAIN).pot at +# every "make" invocation, only create it when it is missing. +# Only "make $(DOMAIN).pot-update" or "make dist" will force an update. +$(srcdir)/$(DOMAIN).pot: + $(MAKE) $(DOMAIN).pot-update + +# This target rebuilds a PO file if $(DOMAIN).pot has changed. +# Note that a PO file is not touched if it doesn't need to be changed. +$(POFILES): $(srcdir)/$(DOMAIN).pot + @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \ + if test -f "$(srcdir)/$${lang}.po"; then \ + test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ + echo "$${cdcmd}$(MSGMERGE_UPDATE) --quiet $(MSGMERGE_OPTIONS) --lang=$${lang} --previous $${lang}.po $(DOMAIN).pot"; \ + cd $(srcdir) \ + && { case `$(MSGMERGE_UPDATE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ + '' | 0.[0-9] | 0.[0-9].* | 0.10 | 0.10.*) \ + $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \ + 0.1[1-5] | 0.1[1-5].*) \ + $(MSGMERGE_UPDATE) --quiet $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \ + 0.1[6-7] | 0.1[6-7].*) \ + $(MSGMERGE_UPDATE) --quiet $(MSGMERGE_OPTIONS) --previous $${lang}.po $(DOMAIN).pot;; \ + *) \ + $(MSGMERGE_UPDATE) --quiet $(MSGMERGE_OPTIONS) --lang=$${lang} --previous $${lang}.po $(DOMAIN).pot;; \ + esac; \ + }; \ + else \ + $(MAKE) $${lang}.po-create; \ + fi + + +install-data-local: install-data-local-@USE_NLS@ +install-data-local-no: all-local +install-data-local-yes: all-local + $(MKDIR_P) $(DESTDIR)$(pkglibdir) + @catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + $(MKDIR_P) $(DESTDIR)$(pkglibdir)/`echo $$cat | sed -e 's,/[^/]*$$,,'`; \ + if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \ + $(INSTALL_DATA) $$realcat $(DESTDIR)$(pkglibdir)/$$cat; \ + echo "installing $$realcat as $(DESTDIR)$(pkglibdir)/$$cat"; \ + done + +installdirs-local: installdirs-local-@USE_NLS@ +installdirs-local-no: +installdirs-local-yes: + $(MKDIR_P) $(DESTDIR)$(pkglibdir) + @catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + $(MKDIR_P) $(DESTDIR)$(pkglibdir)/`echo $$cat | sed -e 's,/[^/]*$$,,'`; \ + done + +uninstall-local: uninstall-local-@USE_NLS@ +uninstall-local-no: +uninstall-local-yes: + catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + rm -f $(DESTDIR)$(pkglibdir)/$$cat; \ + done + +html ID: + +DISTCLEANFILES = .csharp-rules + +MOSTLYCLEANFILES = +MOSTLYCLEANFILES += stamp-poT +MOSTLYCLEANFILES += core core.* *.stackdump $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po + +MAINTAINERCLEANFILES = $(DOMAIN).pot stamp-po +maintainer-clean-local: + if test -n "$(RESOURCESDLLFILES)"; then \ + for file in $(RESOURCESDLLFILES); do \ + rm -f "$$file"; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$$dir"; then rmdir "$$dir"; fi; \ + done; \ + fi + +EXTRA_DIST = remove-potcdate.sed LINGUAS $(POFILES) $(RESOURCESDLLFILES) + +# Hidden from automake, but really activated. Works around an automake-1.5 bug. +#distdir: distdir1 +distdir1: + $(MAKE) update-po + $(MAKE) $(srcdir)/stamp-po + @if test -f $(srcdir)/$(DOMAIN).pot; then \ + for file in $(DOMAIN).pot stamp-po; do \ + if test -f $$file; then d=.; else d=$(srcdir); fi; \ + cp -p $$d/$$file $(distdir)/$$file || exit 1; \ + done; \ + else \ + case $(XGETTEXT) in \ + :) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because a suitable 'xgettext' program was not found in PATH." 1>&2;; \ + *) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because 'xgettext' found no strings to extract. Check the POTFILES and the XGETTEXT_OPTIONS in the Makefile.am file." 1>&2;; \ + esac; \ + fi + +update-po: Makefile + $(MAKE) $(DOMAIN).pot-update + test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES) + $(MAKE) update-resourcesdll + +# General rule for creating PO files. + +.nop.po-create: + @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \ + echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \ + exit 1 + +# General rule for updating PO files. + +.nop.po-update: + @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \ + tmpdir=`pwd`; \ + echo "$$lang:"; \ + test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ + echo "$${cdcmd}$(MSGMERGE) --quiet $(MSGMERGE_OPTIONS) --lang=$$lang --previous $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \ + cd $(srcdir); \ + if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ + '' | 0.[0-9] | 0.[0-9].* | 0.10 | 0.10.*) \ + $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ + 0.1[1-5] | 0.1[1-5].*) \ + $(MSGMERGE) --quiet $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ + 0.1[6-7] | 0.1[6-7].*) \ + $(MSGMERGE) --quiet $(MSGMERGE_OPTIONS) --previous -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ + *) \ + $(MSGMERGE) --quiet $(MSGMERGE_OPTIONS) --lang=$$lang --previous -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ + esac; \ + }; then \ + if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ + rm -f $$tmpdir/$$lang.new.po; \ + else \ + if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ + :; \ + else \ + echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ + exit 1; \ + fi; \ + fi; \ + else \ + echo "msgmerge for $$lang.po failed!" 1>&2; \ + rm -f $$tmpdir/$$lang.new.po; \ + fi + +$(DUMMYPOFILES): + +update-resourcesdll: Makefile $(RESOURCESDLLFILES) + @: diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/af.po b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/af.po new file mode 100644 index 0000000000000000000000000000000000000000..41938cdf01d0f514ff6d8da189d3561f43be5019 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/af.po @@ -0,0 +1,26 @@ +# Afrikaans translation for Silky +# Copyright (C) 2004 Free Software Foundation, Inc. +# This file is distributed under the same license as the silky package. +# Hanlie Pretorius , 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-forms-0.13.1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2003-12-31 10:30+2\n" +"Last-Translator: Ysbeer \n" +"Language-Team: Afrikaans \n" +"Language: af\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cs:29 +msgid "Hello, world!" +msgstr "Hallo wêreld!" + +#: hello.cs:36 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Hierdie program loop as prosesnommer {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/ast.po b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/ast.po new file mode 100644 index 0000000000000000000000000000000000000000..061e48d00d5345b6b29c09fd84a816a0c837ad43 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/ast.po @@ -0,0 +1,29 @@ +# Asturian translation for hello-csharp-forms +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Marquinos , 2009. +# enolp , 2018. +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-forms 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2018-07-16 00:28+0100\n" +"Last-Translator: enolp \n" +"Language-Team: Asturian \n" +"Language: ast\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Lokalize 2.0\n" + +#: hello.cs:29 +msgid "Hello, world!" +msgstr "¡Hola, mundu!" + +#: hello.cs:36 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Esti programa ta executándose como procesu númberu {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/bg.po b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/bg.po new file mode 100644 index 0000000000000000000000000000000000000000..fee6cb4ad3fec3f8a48b824de6b6bf567ecb9bfc --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/bg.po @@ -0,0 +1,26 @@ +# Bulgarian translations for hello-csharp-forms package. +# Copyright (C) 2010 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Roumen Petrov , 2010,2014,2015,2019,2023,2024.2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-csharp-forms 0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-08 19:09+0200\n" +"Last-Translator: Roumen Petrov \n" +"Language-Team: Bulgarian \n" +"Language: bg\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cs:29 +msgid "Hello, world!" +msgstr "Здравейте всички!" + +#: hello.cs:36 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Програмата е пусната под процес номер {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/ca.po b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/ca.po new file mode 100644 index 0000000000000000000000000000000000000000..dd8f7d953db6f3524c3bf1ee0db5e1961cb3d252 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/ca.po @@ -0,0 +1,27 @@ +# Catalan messages for GNU hello-csharp-forms. +# Copyright (C) 2003, 2014, 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Ivan Vilata i Balaguer , 2003, 2014, 2015, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-forms 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-07-07 08:36+0200\n" +"Last-Translator: Ivan Vilata i Balaguer \n" +"Language-Team: Catalan \n" +"Language: ca\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.cs:29 +msgid "Hello, world!" +msgstr "Hola, món!" + +#: hello.cs:36 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Aquest programa està corrent amb el número de procés {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/cs.po b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/cs.po new file mode 100644 index 0000000000000000000000000000000000000000..da86c419f23ee0de06fba2ae76b5bbd388e9c878 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/cs.po @@ -0,0 +1,29 @@ +# The Czech translation for the gettext package. +# Copyright (C) 2011 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Marek Černocký , 2011. +# Petr Písař , 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-forms 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 20:05+02:00\n" +"Last-Translator: Petr Pisar \n" +"Language-Team: Czech \n" +"Language: cs\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#: hello.cs:29 +msgid "Hello, world!" +msgstr "Ahoj světe!" + +#: hello.cs:36 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Tento program běží jako proces číslo {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/da.po b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/da.po new file mode 100644 index 0000000000000000000000000000000000000000..d0d186da8723a20117110930ec5318ad50461c9f --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/da.po @@ -0,0 +1,28 @@ +# Danish messages for hello-csharp-forms. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Jan Djærv , 2003, 2006. +# Keld Simonsen , 2011. +# Joe Hansen , 2015. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-forms 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-06-27 12:39+0100\n" +"Last-Translator: Joe Hansen \n" +"Language-Team: Danish \n" +"Language: da\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cs:29 +msgid "Hello, world!" +msgstr "Hej verden!" + +#: hello.cs:36 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Dette program kører som proces nummer {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/de.po b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/de.po new file mode 100644 index 0000000000000000000000000000000000000000..359ffbe2d079f68e096eee7521ec93d4f1c45f30 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/de.po @@ -0,0 +1,32 @@ +# German messages for hello-csharp-forms. +# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Bruno Haible , 2003. +# Karl Eichwalder , 2003. +# Jakob Kramer , 2013. +# Mario Blättermann , 2014, 2023, 2025. +# Philipp Thomas , 2015. +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-forms 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 17:15+0200\n" +"Last-Translator: Mario Blättermann \n" +"Language-Team: German \n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 25.04.0\n" + +#: hello.cs:29 +msgid "Hello, world!" +msgstr "Hallo Welt!" + +#: hello.cs:36 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Dieses Programm läuft mit der Prozess-Nummer {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/el.po b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/el.po new file mode 100644 index 0000000000000000000000000000000000000000..07f91e479cb4c0d172decadd52f3d77c39c91bba --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/el.po @@ -0,0 +1,26 @@ +# Greek translation of hello-csharp-forms +# Copyright (C) 2005 Free Software Foundation, Inc. +# Simos Xenitellis , 2005. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-forms 0.14.1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2005-01-06 18:50+0000\n" +"Last-Translator: Simos Xenitellis \n" +"Language-Team: Greek \n" +"Language: el\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: KBabel 1.3.1\n" + +#: hello.cs:29 +msgid "Hello, world!" +msgstr "Γεια σου, κόσμε!" + +#: hello.cs:36 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/eo.po b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/eo.po new file mode 100644 index 0000000000000000000000000000000000000000..0f2d6038215f38c48c5a3be0c14a06753839c7e1 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/eo.po @@ -0,0 +1,28 @@ +# La teksto por la mesaĝoj de la programo "gettext". +# Copyright (C) 2006, 2016 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Edmund GRIMLEY EVANS , 2006. +# Felipe CASTRO , 2016, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-forms 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-23 19:00-0300\n" +"Last-Translator: Felipe Castro \n" +"Language-Team: Esperanto \n" +"Language: eo\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.cs:29 +msgid "Hello, world!" +msgstr "Saluton, mondo!" + +#: hello.cs:36 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Ĉi tiu programo rulas kiel procez-numero {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/es.po b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/es.po new file mode 100644 index 0000000000000000000000000000000000000000..6eac6a67c523779f8095810d255758b40c5af63d --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/es.po @@ -0,0 +1,30 @@ +# Mensajes en español para GNU gettext. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# +# This file is distributed under the same license as the gettext package. +# +# Max de Mendizábal , 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004. +# Antonio Ceballos , 2014, 2015, 2023, 2025 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-forms-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-02-23 17:01+0100\n" +"Last-Translator: Antonio Ceballos \n" +"Language-Team: Spanish \n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.cs:29 +msgid "Hello, world!" +msgstr "¡Hola, mundo!" + +#: hello.cs:36 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Este programa está corriendo como el proceso número {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/fi.po b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/fi.po new file mode 100644 index 0000000000000000000000000000000000000000..7090827b15cbdf388d1a28ee58b496551878ad2b --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/fi.po @@ -0,0 +1,29 @@ +# Finnish messages for GNU Gettext examples. +# This file is distributed under the same license as the gettext package. +# Copyright © 2007, 2014, 2015 Yoyodyne, Inc. (msgids) +# Lauri Nurmi , 2007. +# Jorma Karvonen , 2014-2015. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-forms 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-09-01 16:59+0300\n" +"Last-Translator: Jorma Karvonen \n" +"Language-Team: Finnish \n" +"Language: fi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 1.5.4\n" + +# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti. +#: hello.cs:29 +msgid "Hello, world!" +msgstr "Terve maailma!" + +#: hello.cs:36 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Tämän ohjelman prosessinumero on {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/fr.po b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/fr.po new file mode 100644 index 0000000000000000000000000000000000000000..94cd15680be92d8ef47234ef58999baa685acfcb --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/fr.po @@ -0,0 +1,32 @@ +# Messages français pour GNU gettext. +# Copyright (C) 2006 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Michel Robitaille , 2006. +# Christophe Combelles , 2006 +# Stéphane Aulery , 2015 +# Christian Wiatr , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-forms 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-28 16:25+0200\n" +"Last-Translator: Christian Wiatr \n" +"Language-Team: French \n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.cs:29 +msgid "Hello, world!" +msgstr "Bonjour, le monde !" + +#: hello.cs:36 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Ce programme est exécuté en tant que processus numéro {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/ga.po b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/ga.po new file mode 100644 index 0000000000000000000000000000000000000000..4ff11ac5d005ace8b2e50c848997d4a1e0bd873e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/ga.po @@ -0,0 +1,26 @@ +# Irish translations for hello-csharp-forms. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Kevin Patrick Scannell , 2004, 2017. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-forms 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2017-01-10 12:09-0500\n" +"Last-Translator: Kevin Patrick Scannell \n" +"Language-Team: Irish \n" +"Language: ga\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cs:29 +msgid "Hello, world!" +msgstr "Dia duit, a dhomhain!" + +#: hello.cs:36 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Tá an clár seo ag rith mar phróiseas {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/gl.po b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/gl.po new file mode 100644 index 0000000000000000000000000000000000000000..7de1291541630f4218e65fd1819d37f61145ed53 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/gl.po @@ -0,0 +1,31 @@ +# Galician translation for hello-csharp-forms package. +# Copyright (C) 2010 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Leandro Regueiro , 2010-2014. +# +# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas +# colaborar connosco, podes atopar máis información en +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-forms 0.19-rc1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2014-05-10 16:34+0100\n" +"Last-Translator: Leandro Regueiro \n" +"Language-Team: Galician \n" +"Language: gl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n!=1);\n" + +#: hello.cs:29 +msgid "Hello, world!" +msgstr "Ola, mundo!" + +#: hello.cs:36 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Este programa estase executando como o proceso número {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/hr.po b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/hr.po new file mode 100644 index 0000000000000000000000000000000000000000..7e31ebdda1ba6c4f46a30973259ad3e9edcb2d75 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/hr.po @@ -0,0 +1,33 @@ +# Translation of hello-csharp-forms to Croatian. +# Copyright (C) 2003, 2004, 2014, 2015, 2019 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Permission is granted to freely copy and distribute +# this file and modified versions, provided that this +# header is not removed and modified versions are marked +# as such. +# +# Tomislav Krznar , 2012. +# Božidar Putanec , 2018-2025. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-csharp-forms 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 10:15-0700\n" +"Last-Translator: Božidar Putanec \n" +"Language-Team: Croatian \n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cs:29 +msgid "Hello, world!" +msgstr "Pozdrav, svijete!" + +#: hello.cs:36 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Ovaj program se izvršava kao proces broj {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/hu.po b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/hu.po new file mode 100644 index 0000000000000000000000000000000000000000..027f2260122d0f7625c2f1d38c67c02c05ab554f --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/hu.po @@ -0,0 +1,29 @@ +# Hungarian translation for hello-csharp-forms. +# This file is distributed under the same license as the gettext package. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# +# Tamás Kiss , 2005. +# Balázs Úr , 2014, 2015. +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-forms 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-06-23 20:31+0200\n" +"Last-Translator: Balázs Úr \n" +"Language-Team: Hungarian \n" +"Language: hu\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 1.2\n" + +#: hello.cs:29 +msgid "Hello, world!" +msgstr "Hello, világ!" + +#: hello.cs:36 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Ez a program a(z) {0} folyamatazonosítóval fut." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/id.po b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/id.po new file mode 100644 index 0000000000000000000000000000000000000000..3b7878b806c45d1050a569833b3c67286830db3a --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/id.po @@ -0,0 +1,27 @@ +# translation of hello-csharp-forms-0.15-pre5.po to Indonesian +# Copyright (C) 2006 Yoyodyne, Inc. +# This file is distributed under the same license as the PACKAGE package. +# +# Tedi Heriyanto , 2006. +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-forms-0.15-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2006-09-27 20:19+0700\n" +"Last-Translator: Tedi Heriyanto \n" +"Language-Team: Indonesian \n" +"Language: id\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: KBabel 1.11.2\n" + +#: hello.cs:29 +msgid "Hello, world!" +msgstr "Hello, world!" + +#: hello.cs:36 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Program ini berjalan sebagai proses nomor {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/it.po b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/it.po new file mode 100644 index 0000000000000000000000000000000000000000..e8cccaec9d754c5bfdad0d3b102970ee732f062e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/it.po @@ -0,0 +1,29 @@ +# Italian messages for hello-csharp-forms. +# Copyright (C) 2005, 2006 Yoyodyne, Inc. (msgids) +# Copyright (C) 2024 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Marco Colombo , 2005, 2006, 2015. +# Michele Locati , 2024, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-csharp-forms 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-04 18:28+0200\n" +"Last-Translator: Michele Locati \n" +"Language-Team: Italian \n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cs:29 +msgid "Hello, world!" +msgstr "Ciao, mondo!" + +#: hello.cs:36 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Questo programma è in esecuzione con numero di processo {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/ja.po b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/ja.po new file mode 100644 index 0000000000000000000000000000000000000000..58dbecfec93126572482d96b15a29420f5b4cb86 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/ja.po @@ -0,0 +1,26 @@ +# Translation of `hello-csharp-forms' messages to Japanese. +# Copyright (C) 2005, 2006, 2014, 2015, 2023, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Masahito Yamaga , 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-csharp-forms 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 19:59+0900\n" +"Last-Translator: Masahito Yamaga \n" +"Language-Team: Japanese \n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cs:29 +msgid "Hello, world!" +msgstr "世界よ, こんにちは!" + +#: hello.cs:36 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "このプログラムはプロセス番号 {0} で動いています." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/ka.po b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/ka.po new file mode 100644 index 0000000000000000000000000000000000000000..e2d8051eeca3de1da11c35a8c1fd89c6e45e8fc4 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/ka.po @@ -0,0 +1,28 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Temuri Doghonadze , 2022. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-forms 0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2022-05-22 05:04+0200\n" +"Last-Translator: Temuri Doghonadze \n" +"Language-Team: Georgian <(nothing)>\n" +"Language: ka\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 3.0.1\n" + +#: hello.cs:29 +msgid "Hello, world!" +msgstr "გამარჯობა სამყაროვ!" + +#: hello.cs:36 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "პროგრამა გაშვებულია პროცესის ნომრით {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/ky.po b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/ky.po new file mode 100644 index 0000000000000000000000000000000000000000..e1e9ab704dafc16a227274e4532dbfc71b9d0dce --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/ky.po @@ -0,0 +1,28 @@ +# Translation of 'hello-csharp-forms' messages to Kirghiz. +# Copyright (C) 2004 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Ilyas Bakirov , 2007. +# Ilyas Bakirov , 2018. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-forms 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2018-02-15 18:26+0600\n" +"Last-Translator: Ilyas Bakirov \n" +"Language-Team: Kirghiz \n" +"Language: ky\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 2.0.6\n" + +#: hello.cs:29 +msgid "Hello, world!" +msgstr "Салам дүйнө!" + +#: hello.cs:36 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Бул программа {0} процесс номери катары иштеп жатат." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/lv.po b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/lv.po new file mode 100644 index 0000000000000000000000000000000000000000..dcc14c15fce1af7c91ba144d12f17a78e13f0b9b --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/lv.po @@ -0,0 +1,30 @@ +# Latvian translation of hello-csharp-forms +# Copyright (C) 2009 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Arvis Lācis , 2009. +# Rihards Priedītis , 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-forms-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-09 11:44+0000\n" +"Last-Translator: Rihards Priedītis \n" +"Language-Team: Latvian \n" +"Language: lv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : " +"2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cs:29 +msgid "Hello, world!" +msgstr "Sveika, pasaule!" + +#: hello.cs:36 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Šī programma darbojas ar procesa numuru {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/ms.po b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/ms.po new file mode 100644 index 0000000000000000000000000000000000000000..ad29597d0823bdb2fbe5a91abb598ae5fc486661 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/ms.po @@ -0,0 +1,28 @@ +# hello-csharp-forms Bahasa Melayu (Malay) (ms). +# Copyright (C) 2006, 2015, 2023, 2025 Yoyodyne, Inc. (msgids) +# Copyright (C) 2006, 2015, 2023, 2025 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Sharuzzaman Ahmat Raslan , 2006, 2015, 2023, 2025 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-forms 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-03 21:10+0800\n" +"Last-Translator: Sharuzzaman Ahmat Raslan \n" +"Language-Team: Malay \n" +"Language: ms\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cs:29 +msgid "Hello, world!" +msgstr "Hello, dunia!" + +#: hello.cs:36 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Program ini dilaksanakan sebagai proses bernombor {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/mt.po b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/mt.po new file mode 100644 index 0000000000000000000000000000000000000000..4c028e52b23b88b7b5314ff395fc03b66d2188b7 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/mt.po @@ -0,0 +1,27 @@ +# hello-csharp-forms-0.16.2-pre5. +# Copyright (C) 2008 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Clyde Meli , 2001-2008. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-forms 0.16.2-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2008-11-18 17:27+0100\n" +"Last-Translator: Clyde Meli \n" +"Language-Team: Maltese \n" +"Language: mt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cs:29 +msgid "Hello, world!" +msgstr "Hello, lil kulħadd!" + +#: hello.cs:36 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Dal-programm qed jaħdem taħt il-proċess numru {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/nb.po b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/nb.po new file mode 100644 index 0000000000000000000000000000000000000000..86ca5687b6009bb34b04115e6baa7d29797fd30e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/nb.po @@ -0,0 +1,29 @@ +# Norwegian Bokmal translations for hello-csharp-forms package. +# Copyright (C) 2012 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Johnny A. Solbu , 2012-2024 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-forms 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-01-06 16:33+0100\n" +"Last-Translator: Johnny A. Solbu \n" +"Language-Team: Norwegian Bokmaal \n" +"Language: nb\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.cs:29 +msgid "Hello, world!" +msgstr "Hallo verden!" + +#: hello.cs:36 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Dette programmet kjører som prosess nummer {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/nl.po b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/nl.po new file mode 100644 index 0000000000000000000000000000000000000000..9ddbf0462eb6d3485f2159dfde40f12595d45392 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/nl.po @@ -0,0 +1,31 @@ +# Dutch translations for GNU hello-csharp-forms. +# Copyright (C) 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# "There are three basic rules for writing a novel. +# Unfortunately nobody knows what they are." +# +# Benno Schulenberg , 2007, 2014, 2015, 2019, 2025. +# Elros Cyriatan , 2004. +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-forms-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-01 14:51+0100\n" +"Last-Translator: Benno Schulenberg \n" +"Language-Team: Dutch \n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.cs:29 +msgid "Hello, world!" +msgstr "Hallo, wereld!" + +#: hello.cs:36 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Dit programma draait als proces nummer {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/nn.po b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/nn.po new file mode 100644 index 0000000000000000000000000000000000000000..57c95db337f2bd797c2a6c7b9d17b8b8da61d5ab --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/nn.po @@ -0,0 +1,28 @@ +# Norwegian Nynorsk translation of GNU hello-csharp-forms +# Copyright (C) 2020 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Karl Ove Hufthammer , 2020. +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-forms-0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2020-05-04 18:58+0200\n" +"Last-Translator: Karl Ove Hufthammer \n" +"Language-Team: Norwegian Nynorsk \n" +"Language: nn\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 20.04.0\n" + +#: hello.cs:29 +msgid "Hello, world!" +msgstr "Hei, verda!" + +#: hello.cs:36 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Dette programmet køyrer som prosess nummer {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/pl.po b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/pl.po new file mode 100644 index 0000000000000000000000000000000000000000..a10f9380335ea1be661fd2bdeeba2395581306dc --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/pl.po @@ -0,0 +1,27 @@ +# Polish translations for the GNU gettext messages, hello-csharp-forms domain +# Copyright (C) 2010, 2014, 2015, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Rafał Maszkowski , 2003, 2010, 2014, 2015, 2025 +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-csharp-forms 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-25 17:16+0200\n" +"Last-Translator: Rafał Maszkowski \n" +"Language-Team: Polish \n" +"Language: pl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8-bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " +"|| n%100>=20) ? 1 : 2);\n" + +#: hello.cs:29 +msgid "Hello, world!" +msgstr "Cześć, świecie!" + +#: hello.cs:36 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Ten program działa jako proces o numerze {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/pt.po b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/pt.po new file mode 100644 index 0000000000000000000000000000000000000000..8e21fa58f5433b6851f34b9bd37b9833b4a45c5d --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/pt.po @@ -0,0 +1,28 @@ +# Portuguese (Portugal) translation of 'hello-csharp-forms' package. +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Pedro Albuquerque , 2019, 2020, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-forms 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 11:24+0100\n" +"Last-Translator: Pedro Albuquerque \n" +"Language-Team: Portuguese \n" +"Language: pt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\\n;\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.6\n" + +#: hello.cs:29 +msgid "Hello, world!" +msgstr "Olá mundo!" + +#: hello.cs:36 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Este programa está em execução como processo nº {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/pt_BR.po b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/pt_BR.po new file mode 100644 index 0000000000000000000000000000000000000000..582643a2d04378210e4811ced173794da9b5a393 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/pt_BR.po @@ -0,0 +1,31 @@ +# Brazilian Portuguese translations for gettext-example +# Traduções em português brasileiro para gettext-example +# Copyright (C) 2025 Yoyodyne, Inc. (msgids) +# Copyright (C) 2025 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Rafael Fontenelle , 2013-2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-forms 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 10:24-0300\n" +"Last-Translator: Rafael Fontenelle \n" +"Language-Team: Brazilian Portuguese \n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Gtranslator 48.0\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cs:29 +msgid "Hello, world!" +msgstr "Olá, mundo!" + +#: hello.cs:36 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Este programa está sendo executado com número de processo {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/ro.po b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/ro.po new file mode 100644 index 0000000000000000000000000000000000000000..b91d11aaa433695c74f0c276d13fa984a622cfd5 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/ro.po @@ -0,0 +1,50 @@ +# Translation of "hello-csharp-forms" messages to Romanian. +# Mesajele în limba română pentru pachetul hello-csharp-forms. +# Copyright © 2015, 2019, 2022, 2023, 2024, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Eugen Hoancă , 2003. +# Mihai Cristescu , 2015 - 2019. +# Remus-Gabriel Chelu , 2022 - 2025. +# +# Cronologia traducerii fișierului „hello-csharp-forms”: +# Traducerea inițială, făcută de EH, pentru versiunea hello-csharp-forms 0.12.1, 2003. +# Actualizare a traducerii pentru versiunea hello-csharp-forms 0.19.4-rc1, făcută de MC, mar-2015. +# Actualizare a traducerii pentru versiunea hello-csharp-forms 0.19.4.73, făcută de MC, iun-2015. +# Actualizare a traducerii pentru versiunea hello-csharp-forms 0.20-rc1, făcută de MC, apr-2019. +# Actualizare a mesajelor, de la fișierul „hello-csharp-forms-0.20.2.pot”. +# Actualizare a algoritmului formelor de plural (de la „trei-vechi” la „trei-actual”). +# NU și a mesajelor traduse (acestea au rămas neschimbate). +# Eliminare a mesajelor ce-au dispărut în ultima versiune. +# Actualizări realizate de Remus-Gabriel Chelu , 15.01.2022. +# Actualizare a traducerii pentru versiunea 0.20.2 făcută de R-GC, ian-2022. +# Actualizare a traducerii pentru versiunea 0.22 făcută de R-GC, iun-2023. +# Revizuire și corectare a traducerii pentru versiunea 0.23-pre1 făcută de R-GC, oct-2024. +# Actualizare a traducerii pentru versiunea 0.24-pre1 făcută de R-GC, feb-2025. +# Actualizare a traducerii pentru versiunea 0.25-pre1 făcută de R-GC, apr-2025. +# Actualizare a traducerii pentru versiunea Y, făcută de X, Z(luna-anul). +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-forms 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-29 00:25+0200\n" +"Last-Translator: Remus-Gabriel Chelu \n" +"Language-Team: Romanian \n" +"Language: ro\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " +"20)) ? 1 : 2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cs:29 +msgid "Hello, world!" +msgstr "Salutare, lume!" + +#: hello.cs:36 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Acest program rulează ca procesul numărul {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/ru.po b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/ru.po new file mode 100644 index 0000000000000000000000000000000000000000..2266de42ae83402631ea79a13f95a334e632b409 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/ru.po @@ -0,0 +1,30 @@ +# Translation of hello-csharp-forms-0.14.1.po to Russian +# Copyright (C) 2004 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Pavel Maryanov , 2004. +# SPDX-FileCopyrightText: 2014, 2015, 2023, 2025 Yuri Kozlov +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-forms 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-02 09:17+0300\n" +"Last-Translator: Yuri Kozlov \n" +"Language-Team: Russian \n" +"Language: ru\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Lokalize 24.12.0\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#: hello.cs:29 +msgid "Hello, world!" +msgstr "Здравствуй, мир!" + +#: hello.cs:36 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Эта программа выполняется как процесс под номером {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/sk.po b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/sk.po new file mode 100644 index 0000000000000000000000000000000000000000..8fd8cef9f6de5b428df75b17a22b779f3698265b --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/sk.po @@ -0,0 +1,26 @@ +# Slovak translations GNU for hello-csharp-forms package. +# Copyright (C) 2003, 2004, 2014, 2023, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Marcel Telka , 2003, 2004, 2014, 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-csharp-forms 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 13:53+0200\n" +"Last-Translator: Marcel Telka \n" +"Language-Team: Slovak \n" +"Language: sk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cs:29 +msgid "Hello, world!" +msgstr "Ahoj svet!" + +#: hello.cs:36 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Tento program beží ako proces s číslom {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/sl.po b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/sl.po new file mode 100644 index 0000000000000000000000000000000000000000..34c796c0145d38721abf92a1549fa35f5728a169 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/sl.po @@ -0,0 +1,29 @@ +# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example +# Copyright (C) 2005 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Primož Peterlin , 2005, 2014, 2015, 2024. +# $Id: hello-csharp-forms-0.22.sl.po,v 1.1 2024/03/28 17:02:19 peterlin Exp $ +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-forms 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-03-28 18:02+0100\n" +"Last-Translator: Primož Peterlin \n" +"Language-Team: Slovenian \n" +"Language: sl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8-bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || " +"n%100==4 ? 3 : 0);\n" + +#: hello.cs:29 +msgid "Hello, world!" +msgstr "Pozdravljen, svet!" + +#: hello.cs:36 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Ta program teče kot proces številka {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/sq.po b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/sq.po new file mode 100644 index 0000000000000000000000000000000000000000..25439ff8e0074d061c78c4c1a3080cc89b7b7ab1 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/sq.po @@ -0,0 +1,28 @@ +# Albanian translation of gettext-example. +# Copyright (C) 2020 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Besnik Bleta , 2020,2023,2024,2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-forms-0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 19:56+0300\n" +"Last-Translator: Besnik Bleta \n" +"Language-Team: Albanian \n" +"Language: sq\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.2.2\n" + +#: hello.cs:29 +msgid "Hello, world!" +msgstr "Tungjatjeta, botë!" + +#: hello.cs:36 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Ky program po xhiron si procesi numër {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/sr.po b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/sr.po new file mode 100644 index 0000000000000000000000000000000000000000..4265d3e29b54b59e43c187e2d3e328f21b96bde7 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/sr.po @@ -0,0 +1,30 @@ +# Serbian translation of hello-csharp-forms. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Aleksandar Jelenak , 2004. +# Мирослав Николић , 2014-2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-forms-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-02 16:51+0100\n" +"Last-Translator: Мирослав Николић \n" +"Language-Team: Serbian <(nothing)>\n" +"Language: sr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cs:29 +msgid "Hello, world!" +msgstr "Здраво, свима!" + +#: hello.cs:36 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Овај програм се извршава као процес број {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/sv.po b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/sv.po new file mode 100644 index 0000000000000000000000000000000000000000..0f6b10a252961cfb18fc21d399f02b7869eefc5b --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/sv.po @@ -0,0 +1,30 @@ +# Swedish messages for hello-csharp-forms. +# Copyright © 2006, 2014, 2016, 2019, 2020, 2023, 2024, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Jan Djärv , 2003, 2006, 2014. +# Göran Uddeborg , 2016, 2019, 2020, 2023, 2024, 2025. +# Luna Jernberg , 2025. +# $Revision: 1.12 $ +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-forms 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 12:18+0200\n" +"Last-Translator: Luna Jernberg \n" +"Language-Team: Swedish \n" +"Language: sv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cs:29 +msgid "Hello, world!" +msgstr "Hej världen!" + +#: hello.cs:36 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Detta program kör som process nummer {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/ta.po b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/ta.po new file mode 100644 index 0000000000000000000000000000000000000000..db7f9820084e9fcd7dc7f5a23f59fea9ba99a795 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/ta.po @@ -0,0 +1,28 @@ +# Tamil messages for GNU gettext. +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# List of contributors follow: +# Poorajith , 2018. +# Arun Isaac , 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-forms 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-19 00:06+0100\n" +"Last-Translator: Arun Isaac \n" +"Language-Team: Tamil \n" +"Language: ta\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cs:29 +msgid "Hello, world!" +msgstr "வணக்கம், உலகு!" + +#: hello.cs:36 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "இந்நிரல் செயலாக்க எண் {0} ஆக இயங்கிக்கொண்டிருக்கிறது." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/tr.po b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/tr.po new file mode 100644 index 0000000000000000000000000000000000000000..f53dfd3ed7700a1e784b1958931446310609914b --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/tr.po @@ -0,0 +1,29 @@ +# Turkish translation for hello-csharp-forms. +# This file is distributed under the same license as the gettext package. +# Copyright (C) 2017 Yoyodyne, Inc. (msgids) +# Copyright (C) 2004 Free Software Foundation, Inc. +# Nilgün Belma Bugüner , 2003,2004 +# Mehmet Kececi , 2017, 2019, 2020. +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-forms 0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2020-04-17 13:10+0300\n" +"Last-Translator: Mehmet Kececi \n" +"Language-Team: Turkish \n" +"Language: tr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Poedit 2.3\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cs:29 +msgid "Hello, world!" +msgstr "Merhaba, dünya!" + +#: hello.cs:36 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Bu yazılım {0} süreç numarası ile çalışıyor." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/uk.po b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/uk.po new file mode 100644 index 0000000000000000000000000000000000000000..5664b28d71a08b959ab389ddae1cbcce1c4cb5d4 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/uk.po @@ -0,0 +1,30 @@ +# Ukrainian translation to hello-csharp-forms +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Maxim V. Dziumanenko , 2004-2007. +# Yuri Chornoivan , 2014, 2015, 2023, 2025. +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-forms 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 13:56+0300\n" +"Last-Translator: Yuri Chornoivan \n" +"Language-Team: Ukrainian \n" +"Language: uk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Generator: Lokalize 23.04.3\n" + +#: hello.cs:29 +msgid "Hello, world!" +msgstr "Привіт, світе!" + +#: hello.cs:36 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Ця програма виконується як процес з номером {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/vi.po b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/vi.po new file mode 100644 index 0000000000000000000000000000000000000000..32a00a9d970cbb67b708b9714a95c7c09f391b11 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/vi.po @@ -0,0 +1,30 @@ +# Vietnamese Translation for Gettext Examples. +# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext. +# Copyright © 2015 Yoyodyne, Inc. (msgids) +# Copyright © 2015 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Clytie Siddall , 2005-2010. +# Trần Ngọc Quân , 2012-2015, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-forms 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-24 09:10+0700\n" +"Last-Translator: Trần Ngọc Quân \n" +"Language-Team: Vietnamese \n" +"Language: vi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: hello.cs:29 +msgid "Hello, world!" +msgstr "Chào thế giới!" + +#: hello.cs:36 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Chương trình này đang chạy với mã số tiến trình {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/zh_CN.po b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/zh_CN.po new file mode 100644 index 0000000000000000000000000000000000000000..acca2e24b7e1ceeefce1e1b2d3d62870dc7273e7 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/zh_CN.po @@ -0,0 +1,29 @@ +# zh_CN translation for hello-csharp-forms. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Funda Wang , 2003. +# Ji ZhengYu , 2015. +# Boyuan Yang <073plan@gmail.com>, 2019, 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-forms 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-29 15:56-0400\n" +"Last-Translator: Boyuan Yang <073plan@gmail.com>\n" +"Language-Team: Chinese (simplified) \n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.6\n" + +#: hello.cs:29 +msgid "Hello, world!" +msgstr "你好,世界!" + +#: hello.cs:36 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "此程序正以进程号 {0} 运行。" diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/zh_HK.po b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/zh_HK.po new file mode 100644 index 0000000000000000000000000000000000000000..46f6ebca0dde02602433dcdba1aeaed673683983 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/zh_HK.po @@ -0,0 +1,25 @@ +# Chinese (Hong Kong) translation of hello-csharp-forms. +# Copyright (C) 2006 Yoyodyne, Inc. +# Abel Cheung , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-forms 0.15-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2006-07-05 15:40+0800\n" +"Last-Translator: Abel Cheung \n" +"Language-Team: Chinese (Hong Kong) \n" +"Language: zh_HK\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cs:29 +msgid "Hello, world!" +msgstr "你好!" + +#: hello.cs:36 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "本程式正在執行中,進程編號為 {0}。" diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/zh_TW.po b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/zh_TW.po new file mode 100644 index 0000000000000000000000000000000000000000..64f025147a9a096570bd284028cc592023d4e87a --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp-forms/po/zh_TW.po @@ -0,0 +1,29 @@ +# Traditional Chinese translation of hello-csharp-forms. +# Copyright (C) 2009 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Abel Cheung , 2005. +# Wei-Lun Chao , 2013, 2015. +# Yi-Jyun Pan , 2024. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-forms 0.23-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-11-30 14:14+0800\n" +"Last-Translator: Yi-Jyun Pan \n" +"Language-Team: Chinese (traditional) \n" +"Language: zh_TW\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cs:29 +msgid "Hello, world!" +msgstr "哈囉,大家好!" + +#: hello.cs:36 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "本程式正在執行,行程編號為 {0}。" diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/INSTALL b/miniconda3/share/doc/gettext/examples/hello-csharp/INSTALL new file mode 100644 index 0000000000000000000000000000000000000000..aacf6bc37001de2cd0e92d5137d3cf548eff2692 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/INSTALL @@ -0,0 +1,11 @@ +This example relies on: + - a C# implementation: mono + +Installation: + ./autogen.sh + ./configure --prefix=/some/prefix + make + make install +Cleanup: + make distclean + ./autoclean.sh diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/Makefile.am b/miniconda3/share/doc/gettext/examples/hello-csharp/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..51b34f989d81276542ae65239359ee951e712c3a --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/Makefile.am @@ -0,0 +1,74 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Makefile configuration - processed by automake. + +# General automake options. +AUTOMAKE_OPTIONS = foreign +ACLOCAL_AMFLAGS = -I m4 + +# The list of subdirectories containing Makefiles. +SUBDIRS = m4 po + +# The list of programs that are built. +bin_CSHARPPROGRAMS = hello + +# The source files of the 'hello' program. +hello_SOURCES = hello.cs + +# The link dependencies of the 'hello' program. +hello_CSHARPLIBS = @GNU_GETTEXT_LDADD@ @GNU_GETTEXT_LIBS@ -l System + +# Resources that are generated from PO files. +MAINTAINERCLEANFILES = */*.resources.dll + +# Additional files to be distributed. +EXTRA_DIST = autogen.sh autoclean.sh + + +# ----------------- General rules for compiling C# programs ----------------- + +pkgdatadir = $(datadir)/$(PACKAGE) +pkglibdir = $(libdir)/$(PACKAGE) + +CSHARPCOMP = $(SHELL) csharpcomp.sh +CSHARPCOMPFLAGS = -O -g + +EXTRA_DIST += $(hello_SOURCES) +CLEANFILES = hello.net.exe.mdb +DISTCLEANFILES = csharpcomp.sh csharpexec.sh + + +# Rules for compiling C# programs. + +all-local: hello.net.exe hello.sh + +hello.net.exe: $(hello_SOURCES) + $(CSHARPCOMP) $(CSHARPCOMPFLAGS) -o $@ $(hello_CSHARPLIBS) $(srcdir)/hello.cs + +hello.sh: + { echo '#!/bin/sh'; \ + echo "exec /bin/sh '$(pkgdatadir)/csharpexec.sh' @GNU_GETTEXT_LDADD@ '$(pkglibdir)/hello.net.exe' \"\$$@\""; \ + } > $@ + +install-exec-local: all-local + $(MKDIR_P) $(DESTDIR)$(bindir) + $(INSTALL_SCRIPT) hello.sh $(DESTDIR)$(bindir)/hello + $(MKDIR_P) $(DESTDIR)$(pkglibdir) + $(INSTALL_DATA) hello.net.exe $(DESTDIR)$(pkglibdir)/hello.net.exe + +install-data-local: all-local + $(MKDIR_P) $(DESTDIR)$(pkgdatadir) + $(INSTALL_DATA) csharpexec.sh $(DESTDIR)$(pkgdatadir)/csharpexec.sh + +installdirs-local: + $(MKDIR_P) $(DESTDIR)$(bindir) + $(MKDIR_P) $(DESTDIR)$(pkglibdir) + $(MKDIR_P) $(DESTDIR)$(pkgdatadir) + +uninstall-local: + rm -f $(DESTDIR)$(bindir)/hello + rm -f $(DESTDIR)$(pkglibdir)/hello.net.exe + rm -f $(DESTDIR)$(pkgdatadir)/csharpexec.sh + +CLEANFILES += hello.net.exe hello.sh diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/autoclean.sh b/miniconda3/share/doc/gettext/examples/hello-csharp/autoclean.sh new file mode 100644 index 0000000000000000000000000000000000000000..4d1bda1d9e77774b0794ab4e47303c199aa225ce --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/autoclean.sh @@ -0,0 +1,48 @@ +#!/bin/sh +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Script for cleaning all autogenerated files. + +test ! -f Makefile || make distclean +# Do the equivalent of "make maintainer-clean", even without the Makefile. +rm -f */*.resources.dll +rm -rf autom4te.cache + +# Brought in by explicit copy. +rm -f m4/nls.m4 +rm -f m4/po.m4 +rm -f m4/progtest.m4 +rm -f po/remove-potcdate.sed + +# Brought in by explicit copy. +rm -f m4/csharpcomp.m4 +rm -f m4/csharpexec.m4 +rm -f m4/csharpexec-test.exe +rm -f m4/csharp.m4 +rm -f csharpcomp.sh.in +rm -f csharpexec.sh.in + +# Generated by aclocal. +rm -f aclocal.m4 + +# Generated by autoconf. +rm -f configure + +# Generated or brought in by automake. +rm -f Makefile.in +rm -f m4/Makefile.in +rm -f po/Makefile.in +rm -f compile +rm -f install-sh +rm -f missing +rm -f config.guess +rm -f config.sub +rm -f po/*.pot +rm -f po/stamp-po +for f in po/*/*.resources.dll; do + if test -f "$f"; then + rm -f "$f" + rmdir `echo $f | sed -e 's,/[^/]*$,,'` + fi +done diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/autogen.sh b/miniconda3/share/doc/gettext/examples/hello-csharp/autogen.sh new file mode 100644 index 0000000000000000000000000000000000000000..5f6822c80d0c6d64ddf6e3789e7a6a1f1cbb8952 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/autogen.sh @@ -0,0 +1,48 @@ +#!/bin/sh +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Script for regenerating all autogenerated files. + +if test -r ../Makefile.am; then + # Inside the gettext source directory. + GETTEXT_TOPSRCDIR=../../.. +else + if test -r ../Makefile; then + # Inside a gettext build directory. + GETTEXT_TOOLS_SRCDIR=`sed -n -e 's,^top_srcdir *= *\(.*\)$,\1,p' ../Makefile` + # Adjust a relative top_srcdir. + case $GETTEXT_TOOLS_SRCDIR in + /*) ;; + *) GETTEXT_TOOLS_SRCDIR=../$GETTEXT_TOOLS_SRCDIR ;; + esac + GETTEXT_TOPSRCDIR=$GETTEXT_TOOLS_SRCDIR/../.. + else + # Installed under ${prefix}/share/doc/gettext/examples. + . ../installpaths + fi +fi + +cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/nls.m4 m4/nls.m4 +cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/po.m4 m4/po.m4 +cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/progtest.m4 m4/progtest.m4 +cp -p ${GETTEXTSRCPODIR-$GETTEXT_TOPSRCDIR/gettext-runtime/po}/remove-potcdate.sed po/remove-potcdate.sed + +cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/gnulib-m4}/csharpcomp.m4 m4/csharpcomp.m4 +cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/gnulib-m4}/csharpexec.m4 m4/csharpexec.m4 +cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/m4}/csharpexec-test.exe m4/csharpexec-test.exe +cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/gnulib-m4}/csharp.m4 m4/csharp.m4 +cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/build-aux}/csharpcomp.sh.in csharpcomp.sh.in +cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/build-aux}/csharpexec.sh.in csharpexec.sh.in + +aclocal -I m4 + +autoconf + +automake -a -c + +./configure +cd po +make update-po +cd .. +make distclean diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/configure.ac b/miniconda3/share/doc/gettext/examples/hello-csharp/configure.ac new file mode 100644 index 0000000000000000000000000000000000000000..c9b95de05aa3a0f55ed3e074c3b563ef8a038a41 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/configure.ac @@ -0,0 +1,52 @@ +dnl Example for use of GNU gettext. +dnl This file is in the public domain. +dnl +dnl Configuration file - processed by autoconf. + +AC_INIT([hello-csharp], [0]) +AC_CONFIG_SRCDIR([hello.cs]) +AM_INIT_AUTOMAKE([1.11]) + +dnl Check whether we can build C# programs at all. +gt_CSHARPCOMP +if test -n "$HAVE_CSHARPCOMP"; then + BUILDCSHARP=yes +else + BUILDCSHARP=no +fi +AC_SUBST([BUILDCSHARP]) + +dnl Check whether we can execute C# programs. +gt_CSHARPEXEC([csharpexec-test.exe], [$srcdir/m4]) +if test -n "$HAVE_CSHARPEXEC" && test $BUILDCSHARP = yes; then + TESTCSHARP=yes +else + TESTCSHARP=no +fi +AC_SUBST([TESTCSHARP]) + +dnl Checks for needed libraries. +AM_PATH_PROG_WITH_TEST([GETTEXT_WITH_GNU_GETTEXT_DLL], [gettext], + [{ basedir=`echo "$ac_dir" | sed -e 's,/bin$,,'`; test -r "$basedir"/lib/GNU.Gettext.dll; }]) +if test -z "$GETTEXT_WITH_GNU_GETTEXT_DLL"; then + echo "Required library GNU.Gettext.dll not found." 1>&2 + exit 1 +fi +changequote(,)dnl +basedir=`echo "$GETTEXT_WITH_GNU_GETTEXT_DLL" | sed -e 's,/[^/]*$,,' | sed -e 's,/bin$,,'` +changequote([, ])dnl +GNU_GETTEXT_DLL="$basedir"/lib/GNU.Gettext.dll +GNU_GETTEXT_LDADD="-L $basedir/lib" +GNU_GETTEXT_LIBS="-l GNU.Gettext" +AC_SUBST([GNU_GETTEXT_LDADD]) +AC_SUBST([GNU_GETTEXT_LIBS]) + +dnl Support for the po directory. +AM_PO_SUBDIRS + +AC_CONFIG_FILES([Makefile]) +AC_CONFIG_FILES([csharpcomp.sh]) +AC_CONFIG_FILES([csharpexec.sh]) +AC_CONFIG_FILES([m4/Makefile]) +AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE]) +AC_OUTPUT diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/hello.cs b/miniconda3/share/doc/gettext/examples/hello-csharp/hello.cs new file mode 100644 index 0000000000000000000000000000000000000000..d46b99c937b7a2deccbcea728dbc588405210cd0 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/hello.cs @@ -0,0 +1,20 @@ +// Example for use of GNU gettext. +// This file is in the public domain. +// +// Source code of the C# program. + +using System; /* String, Console */ +using GNU.Gettext; /* GettextResourceManager */ +using System.Diagnostics; /* Process */ + +public class Hello { + public static void Main (String[] args) { + GettextResourceManager catalog = + new GettextResourceManager("hello-csharp"); + Console.WriteLine(catalog.GetString("Hello, world!")); + Console.WriteLine( + String.Format( + catalog.GetString("This program is running as process number {0}."), + Process.GetCurrentProcess().Id)); + } +} diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/m4/Makefile.am b/miniconda3/share/doc/gettext/examples/hello-csharp/m4/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..de22d57cb1ebe59d18c8e8eae7259977e452b255 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/m4/Makefile.am @@ -0,0 +1,3 @@ +EXTRA_DIST = \ + nls.m4 po.m4 \ + csharpcomp.m4 csharpexec.m4 csharpexec-test.exe diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/LINGUAS b/miniconda3/share/doc/gettext/examples/hello-csharp/po/LINGUAS new file mode 100644 index 0000000000000000000000000000000000000000..dc4a82afbad945018082c22f2061a43ef436dd68 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/LINGUAS @@ -0,0 +1,5 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Set of available languages. +af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ka ky lv ms mt nb nl nn pl pt pt_BR ro ru sk sl sq sr sv ta tr uk vi zh_CN zh_HK zh_TW diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/Makefile.am b/miniconda3/share/doc/gettext/examples/hello-csharp/po/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..3d2b1934efec02c2d7ab649749cee26189ebb038 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/Makefile.am @@ -0,0 +1,380 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Makefile configuration - processed by automake. + +# List of files which contain translatable strings. +POTFILES = \ + hello.cs + +# Usually the message domain is the same as the package name. +DOMAIN = $(PACKAGE) + +# These options get passed to xgettext. +XGETTEXT_OPTIONS = + +# This is the copyright holder that gets inserted into the header of the +# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding +# package. (Note that the msgid strings, extracted from the package's +# sources, belong to the copyright holder of the package.) Translators are +# expected to transfer the copyright for their translations to this person +# or entity, or to disclaim their copyright. The empty string stands for +# the public domain; in this case the translators are expected to disclaim +# their copyright. +COPYRIGHT_HOLDER = Yoyodyne, Inc. + +# This tells whether or not to prepend "GNU " prefix to the package +# name that gets inserted into the header of the $(DOMAIN).pot file. +# Possible values are "yes", "no", or empty. If it is empty, try to +# detect it automatically by scanning the files in $(top_srcdir) for +# "GNU packagename" string. +PACKAGE_GNU = no + +# This is the email address or URL to which the translators shall report +# bugs in the untranslated strings: +# - Strings which are not entire sentences, see the maintainer guidelines +# in the GNU gettext documentation, section 'Preparing Strings'. +# - Strings which use unclear terms or require additional context to be +# understood. +# - Strings which make invalid assumptions about notation of date, time or +# money. +# - Pluralisation problems. +# - Incorrect English spelling. +# - Incorrect formatting. +# It can be your email address, or a mailing list address where translators +# can write to without being subscribed, or the URL of a web page through +# which the translators can contact you. +MSGID_BUGS_ADDRESS = bug-gettext@gnu.org + +# These options get passed to msgmerge. +# Useful options are in particular: +# --previous to keep previous msgids of translated messages +MSGMERGE_OPTIONS = + +# These options get passed to msginit. +# If you want to disable line wrapping when writing PO files, add +# --no-wrap to MSGMERGE_OPTIONS, XGETTEXT_OPTIONS, and +# MSGINIT_OPTIONS. +MSGINIT_OPTIONS = + +pkglibdir = $(libdir)/$(PACKAGE) + +MSGMERGE = @MSGMERGE@ +MSGMERGE_UPDATE = @MSGMERGE@ --update +MSGMERGE_FOR_MSGFMT_OPTION = @MSGMERGE_FOR_MSGFMT_OPTION@ +MSGINIT = msginit +MSGCONV = msgconv +MSGFILTER = msgfilter + +# This is computed as $(foreach file, $(POTFILES), $(top_srcdir)/$(file)) +POTFILES_DEPS != for file in $(POTFILES); do echo $(top_srcdir)/$$file; done + +# The set of available translations. +ALL_LINGUAS != if test -f $(srcdir)/LINGUAS; then \ + sed -e '/^\#/d' < $(srcdir)/LINGUAS; \ + else \ + echo $(LINGUAS); \ + fi +# This is computed as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) +POFILES != for lang in $(ALL_LINGUAS); do echo $(srcdir)/$$lang.po; done +# This is computed as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) +UPDATEPOFILES != for lang in $(ALL_LINGUAS); do echo $$lang.po-update; done +# This is computed as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) +DUMMYPOFILES != for lang in $(ALL_LINGUAS); do echo $$lang.nop; done +# This is computed as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang))/$(DOMAIN).resources.dll) +# It also creates the .csharp-rules file. +RESOURCESDLLFILES != tab=`printf '\t'`; \ + for lang in $(ALL_LINGUAS); do \ + frobbedlang=`echo $$lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$$/-Latn/' -e 's/@cyrillic$$/-Cyrl/' -e 's/^sr-SP$$/sr-SP-Latn/' -e 's/^uz-UZ$$/uz-UZ-Latn/'`; \ + echo 1>&3 "$$frobbedlang/\$$(DOMAIN).resources.dll: $$lang.po"; \ + echo 1>&3 "$${tab}@echo \"\$$(MSGFMT) -c --csharp -d \$$(srcdir) -l $$lang \$$(srcdir)/$$lang.po -r \$$(DOMAIN)\"; \\"; \ + echo 1>&3 "$${tab}\$$(MSGFMT) -c --csharp -d \"\$$(srcdir)\" -l $$lang \$$(srcdir)/$$lang.po -r \"\$$(DOMAIN)\" || { rm -f \"\$$(srcdir)/$$frobbedlang/\$$(DOMAIN).resources.dll\"; exit 1; }"; \ + echo $(srcdir)/$$frobbedlang/$(DOMAIN).resources.dll; \ + done 3> .csharp-rules +# Include the generated rules that cannot be formulated as a simple rule. +-include .csharp-rules + +# The set of desired translations, as specified by the installer or distributor. +DESIRED_LINGUAS = @DESIRED_LINGUAS@ +# The set of translations to install. This is computed based on $(ALL_LINGUAS) +# and $(DESIRED_LINGUAS). It is a subset of $(ALL_LINGUAS). +# We use the presentlang catalog if desiredlang is +# a. equal to presentlang, or +# b. a variant of presentlang (because in this case, presentlang can be used +# as a fallback for messages which are not translated in the desiredlang +# catalog). +INST_LINGUAS != for presentlang in $(ALL_LINGUAS); do \ + useit=false; \ + for desiredlang in $(DESIRED_LINGUAS); do \ + case "$$desiredlang" in \ + "$$presentlang" | "$$presentlang"_* | "$$presentlang".* | "$$presentlang"@*) \ + useit=true ;; \ + esac; \ + done; \ + if $$useit; then echo $$presentlang; fi; \ + done +# This is computed as $(foreach lang, $(INST_LINGUAS), $(frob $(lang))/$(DOMAIN).resources.dll) +CATALOGS != for lang in $(INST_LINGUAS); do \ + frobbedlang=`echo $$lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$$/-Latn/' -e 's/@cyrillic$$/-Cyrl/' -e 's/^sr-SP$$/sr-SP-Latn/' -e 's/^uz-UZ$$/uz-UZ-Latn/'`; \ + echo $$lang/$(DOMAIN).resources.dll; \ + done + +SUFFIXES = .nop .po-create .po-update + +# The .pot file, stamp-po, .po files, and .resources.dll files appear in release +# tarballs. +# The GNU Coding Standards say in +# : +# "GNU distributions usually contain some files which are not source files +# ... . Since these files normally appear in the source directory, they +# should always appear in the source directory, not in the build directory. +# So Makefile rules to update them should put the updated files in the +# source directory." +# Therefore we put these files in the source directory, not the build directory. + + +all-local: all-local-@USE_NLS@ + +all-local-yes: $(srcdir)/stamp-po +all-local-no: + +# $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no +# internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because +# we don't want to bother translators with empty POT files). We assume that +# LINGUAS is empty in this case, i.e. $(POFILES) and $(RESOURCESDLLFILES) are +# empty. In this case, $(srcdir)/stamp-po is a nop (i.e. a phony target). + +# $(srcdir)/stamp-po is a timestamp denoting the last time at which the CATALOGS +# have been loosely updated. Its purpose is that when a developer or translator +# checks out the package from a version control system, and the $(DOMAIN).pot +# file is not under version control, "make" will update the $(DOMAIN).pot and +# the $(CATALOGS), but subsequent invocations of "make" will do nothing. This +# timestamp would not be necessary if updating the $(CATALOGS) would always +# touch them; however, the rule for $(POFILES) has been designed to not touch +# files that don't need to be changed. +$(srcdir)/stamp-po: $(srcdir)/$(DOMAIN).pot + test ! -f $(srcdir)/$(DOMAIN).pot || \ + test -z "$(RESOURCESDLLFILES)" || $(MAKE) $(RESOURCESDLLFILES) + @test ! -f $(srcdir)/$(DOMAIN).pot || { \ + echo "touch $(srcdir)/stamp-po" && \ + echo timestamp > $(srcdir)/stamp-poT && \ + mv $(srcdir)/stamp-poT $(srcdir)/stamp-po; \ + } + +# This target rebuilds $(DOMAIN).pot; it is an expensive operation. +# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed. +# The determination of whether the package xyz is a GNU one is based on the +# heuristic whether some file in the top level directory mentions "GNU xyz". +# If GNU 'find' is available, we avoid grepping through monster files. +$(DOMAIN).pot-update: $(POTFILES_DEPS) + package_gnu="$(PACKAGE_GNU)"; \ + test -n "$$package_gnu" || { \ + if { if (LC_ALL=C find --version) 2>/dev/null | grep GNU >/dev/null; then \ + LC_ALL=C find -L $(top_srcdir) -maxdepth 1 -type f -size -10000000c -exec grep -i 'GNU $(PACKAGE)' /dev/null '{}' ';' 2>/dev/null; \ + else \ + LC_ALL=C grep -i 'GNU $(PACKAGE)' $(top_srcdir)/* 2>/dev/null; \ + fi; \ + } | grep -v 'libtool:' >/dev/null; then \ + package_gnu=yes; \ + else \ + package_gnu=no; \ + fi; \ + }; \ + if test "$$package_gnu" = "yes"; then \ + package_prefix='GNU '; \ + else \ + package_prefix=''; \ + fi; \ + if test -n '$(MSGID_BUGS_ADDRESS)'; then \ + msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \ + else \ + msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \ + fi; \ + case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ + '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \ + $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ + --add-comments=TRANSLATORS: \ + --copyright-holder='$(COPYRIGHT_HOLDER)' \ + --msgid-bugs-address="$$msgid_bugs_address" \ + $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ + $(POTFILES) \ + ;; \ + *) \ + $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ + --add-comments=TRANSLATORS: \ + --copyright-holder='$(COPYRIGHT_HOLDER)' \ + --package-name="$${package_prefix}$(PACKAGE)" \ + --package-version='$(VERSION)' \ + --msgid-bugs-address="$$msgid_bugs_address" \ + $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ + $(POTFILES) \ + ;; \ + esac + test ! -f $(DOMAIN).po || { \ + if test -f $(srcdir)/$(DOMAIN).pot-header; then \ + sed -e '1,/^#$$/d' < $(DOMAIN).po > $(DOMAIN).1po && \ + cat $(srcdir)/$(DOMAIN).pot-header $(DOMAIN).1po > $(DOMAIN).po && \ + rm -f $(DOMAIN).1po \ + || exit 1; \ + fi; \ + if test -f $(srcdir)/$(DOMAIN).pot; then \ + sed -f $(srcdir)/remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \ + sed -f $(srcdir)/remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \ + if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \ + rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \ + else \ + rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \ + mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ + fi; \ + else \ + mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ + fi; \ + } + +# This rule has no dependencies: we don't need to update $(DOMAIN).pot at +# every "make" invocation, only create it when it is missing. +# Only "make $(DOMAIN).pot-update" or "make dist" will force an update. +$(srcdir)/$(DOMAIN).pot: + $(MAKE) $(DOMAIN).pot-update + +# This target rebuilds a PO file if $(DOMAIN).pot has changed. +# Note that a PO file is not touched if it doesn't need to be changed. +$(POFILES): $(srcdir)/$(DOMAIN).pot + @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \ + if test -f "$(srcdir)/$${lang}.po"; then \ + test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ + echo "$${cdcmd}$(MSGMERGE_UPDATE) --quiet $(MSGMERGE_OPTIONS) --lang=$${lang} --previous $${lang}.po $(DOMAIN).pot"; \ + cd $(srcdir) \ + && { case `$(MSGMERGE_UPDATE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ + '' | 0.[0-9] | 0.[0-9].* | 0.10 | 0.10.*) \ + $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \ + 0.1[1-5] | 0.1[1-5].*) \ + $(MSGMERGE_UPDATE) --quiet $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \ + 0.1[6-7] | 0.1[6-7].*) \ + $(MSGMERGE_UPDATE) --quiet $(MSGMERGE_OPTIONS) --previous $${lang}.po $(DOMAIN).pot;; \ + *) \ + $(MSGMERGE_UPDATE) --quiet $(MSGMERGE_OPTIONS) --lang=$${lang} --previous $${lang}.po $(DOMAIN).pot;; \ + esac; \ + }; \ + else \ + $(MAKE) $${lang}.po-create; \ + fi + + +install-data-local: install-data-local-@USE_NLS@ +install-data-local-no: all-local +install-data-local-yes: all-local + $(MKDIR_P) $(DESTDIR)$(pkglibdir) + @catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + $(MKDIR_P) $(DESTDIR)$(pkglibdir)/`echo $$cat | sed -e 's,/[^/]*$$,,'`; \ + if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \ + $(INSTALL_DATA) $$realcat $(DESTDIR)$(pkglibdir)/$$cat; \ + echo "installing $$realcat as $(DESTDIR)$(pkglibdir)/$$cat"; \ + done + +installdirs-local: installdirs-local-@USE_NLS@ +installdirs-local-no: +installdirs-local-yes: + $(MKDIR_P) $(DESTDIR)$(pkglibdir) + @catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + $(MKDIR_P) $(DESTDIR)$(pkglibdir)/`echo $$cat | sed -e 's,/[^/]*$$,,'`; \ + done + +uninstall-local: uninstall-local-@USE_NLS@ +uninstall-local-no: +uninstall-local-yes: + catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + rm -f $(DESTDIR)$(pkglibdir)/$$cat; \ + done + +html ID: + +DISTCLEANFILES = .csharp-rules + +MOSTLYCLEANFILES = +MOSTLYCLEANFILES += stamp-poT +MOSTLYCLEANFILES += core core.* *.stackdump $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po + +MAINTAINERCLEANFILES = $(DOMAIN).pot stamp-po +maintainer-clean-local: + if test -n "$(RESOURCESDLLFILES)"; then \ + for file in $(RESOURCESDLLFILES); do \ + rm -f "$$file"; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$$dir"; then rmdir "$$dir"; fi; \ + done; \ + fi + +EXTRA_DIST = remove-potcdate.sed LINGUAS $(POFILES) $(RESOURCESDLLFILES) + +# Hidden from automake, but really activated. Works around an automake-1.5 bug. +#distdir: distdir1 +distdir1: + $(MAKE) update-po + $(MAKE) $(srcdir)/stamp-po + @if test -f $(srcdir)/$(DOMAIN).pot; then \ + for file in $(DOMAIN).pot stamp-po; do \ + if test -f $$file; then d=.; else d=$(srcdir); fi; \ + cp -p $$d/$$file $(distdir)/$$file || exit 1; \ + done; \ + else \ + case $(XGETTEXT) in \ + :) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because a suitable 'xgettext' program was not found in PATH." 1>&2;; \ + *) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because 'xgettext' found no strings to extract. Check the POTFILES and the XGETTEXT_OPTIONS in the Makefile.am file." 1>&2;; \ + esac; \ + fi + +update-po: Makefile + $(MAKE) $(DOMAIN).pot-update + test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES) + $(MAKE) update-resourcesdll + +# General rule for creating PO files. + +.nop.po-create: + @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \ + echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \ + exit 1 + +# General rule for updating PO files. + +.nop.po-update: + @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \ + tmpdir=`pwd`; \ + echo "$$lang:"; \ + test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ + echo "$${cdcmd}$(MSGMERGE) --quiet $(MSGMERGE_OPTIONS) --lang=$$lang --previous $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \ + cd $(srcdir); \ + if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ + '' | 0.[0-9] | 0.[0-9].* | 0.10 | 0.10.*) \ + $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ + 0.1[1-5] | 0.1[1-5].*) \ + $(MSGMERGE) --quiet $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ + 0.1[6-7] | 0.1[6-7].*) \ + $(MSGMERGE) --quiet $(MSGMERGE_OPTIONS) --previous -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ + *) \ + $(MSGMERGE) --quiet $(MSGMERGE_OPTIONS) --lang=$$lang --previous -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ + esac; \ + }; then \ + if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ + rm -f $$tmpdir/$$lang.new.po; \ + else \ + if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ + :; \ + else \ + echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ + exit 1; \ + fi; \ + fi; \ + else \ + echo "msgmerge for $$lang.po failed!" 1>&2; \ + rm -f $$tmpdir/$$lang.new.po; \ + fi + +$(DUMMYPOFILES): + +update-resourcesdll: Makefile $(RESOURCESDLLFILES) + @: diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/af.po b/miniconda3/share/doc/gettext/examples/hello-csharp/po/af.po new file mode 100644 index 0000000000000000000000000000000000000000..32fa5040ee4b6463f665d473cc0ba35d54bd5d9d --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/af.po @@ -0,0 +1,26 @@ +# Afrikaans translation for Silky +# Copyright (C) 2004 Free Software Foundation, Inc. +# This file is distributed under the same license as the silky package. +# Hanlie Pretorius , 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-0.13.1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2003-12-31 10:30+2\n" +"Last-Translator: Ysbeer \n" +"Language-Team: Afrikaans \n" +"Language: af\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cs:14 +msgid "Hello, world!" +msgstr "Hallo wêreld!" + +#: hello.cs:17 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Hierdie program loop as prosesnommer {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/ast.po b/miniconda3/share/doc/gettext/examples/hello-csharp/po/ast.po new file mode 100644 index 0000000000000000000000000000000000000000..8520ac579ce93c74c7c624bf88969ddbad15f921 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/ast.po @@ -0,0 +1,29 @@ +# Asturian translation for hello-csharp +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Marquinos , 2009. +# enolp , 2018. +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2018-07-16 00:28+0100\n" +"Last-Translator: enolp \n" +"Language-Team: Asturian \n" +"Language: ast\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Lokalize 2.0\n" + +#: hello.cs:14 +msgid "Hello, world!" +msgstr "¡Hola, mundu!" + +#: hello.cs:17 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Esti programa ta executándose como procesu númberu {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/bg.po b/miniconda3/share/doc/gettext/examples/hello-csharp/po/bg.po new file mode 100644 index 0000000000000000000000000000000000000000..2073d0284a604805ec83541cefd2e970aef3d1df --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/bg.po @@ -0,0 +1,26 @@ +# Bulgarian translations for hello-csharp package. +# Copyright (C) 2010 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Roumen Petrov , 2010,2014,2015,2019,2023,2024.2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-csharp 0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-08 19:09+0200\n" +"Last-Translator: Roumen Petrov \n" +"Language-Team: Bulgarian \n" +"Language: bg\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cs:14 +msgid "Hello, world!" +msgstr "Здравейте всички!" + +#: hello.cs:17 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Програмата е пусната под процес номер {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/ca.po b/miniconda3/share/doc/gettext/examples/hello-csharp/po/ca.po new file mode 100644 index 0000000000000000000000000000000000000000..552f6f476d80a11a65d5a163fe3881b174ddea14 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/ca.po @@ -0,0 +1,27 @@ +# Catalan messages for GNU hello-csharp. +# Copyright (C) 2003, 2014, 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Ivan Vilata i Balaguer , 2003, 2014, 2015, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-07-07 08:36+0200\n" +"Last-Translator: Ivan Vilata i Balaguer \n" +"Language-Team: Catalan \n" +"Language: ca\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.cs:14 +msgid "Hello, world!" +msgstr "Hola, món!" + +#: hello.cs:17 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Aquest programa està corrent amb el número de procés {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/cs.po b/miniconda3/share/doc/gettext/examples/hello-csharp/po/cs.po new file mode 100644 index 0000000000000000000000000000000000000000..eac23e2a9c091c68000530122db5f111d8ae8227 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/cs.po @@ -0,0 +1,29 @@ +# The Czech translation for the gettext package. +# Copyright (C) 2011 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Marek Černocký , 2011. +# Petr Písař , 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 20:05+02:00\n" +"Last-Translator: Petr Pisar \n" +"Language-Team: Czech \n" +"Language: cs\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#: hello.cs:14 +msgid "Hello, world!" +msgstr "Ahoj světe!" + +#: hello.cs:17 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Tento program běží jako proces číslo {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/da.po b/miniconda3/share/doc/gettext/examples/hello-csharp/po/da.po new file mode 100644 index 0000000000000000000000000000000000000000..f9b64e3bca232e75ec11a7ddce76b8b7d89f08d4 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/da.po @@ -0,0 +1,28 @@ +# Danish messages for hello-csharp. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Jan Djærv , 2003, 2006. +# Keld Simonsen , 2011. +# Joe Hansen , 2015. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-06-27 12:39+0100\n" +"Last-Translator: Joe Hansen \n" +"Language-Team: Danish \n" +"Language: da\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cs:14 +msgid "Hello, world!" +msgstr "Hej verden!" + +#: hello.cs:17 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Dette program kører som proces nummer {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/de.po b/miniconda3/share/doc/gettext/examples/hello-csharp/po/de.po new file mode 100644 index 0000000000000000000000000000000000000000..ff3ea4b18e1250aaf5504ab67c89ca209bfaac76 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/de.po @@ -0,0 +1,32 @@ +# German messages for hello-csharp. +# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Bruno Haible , 2003. +# Karl Eichwalder , 2003. +# Jakob Kramer , 2013. +# Mario Blättermann , 2014, 2023, 2025. +# Philipp Thomas , 2015. +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 17:15+0200\n" +"Last-Translator: Mario Blättermann \n" +"Language-Team: German \n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 25.04.0\n" + +#: hello.cs:14 +msgid "Hello, world!" +msgstr "Hallo Welt!" + +#: hello.cs:17 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Dieses Programm läuft mit der Prozess-Nummer {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/el.po b/miniconda3/share/doc/gettext/examples/hello-csharp/po/el.po new file mode 100644 index 0000000000000000000000000000000000000000..365ed22593f7b9b0888b7821e612527847bfad8a --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/el.po @@ -0,0 +1,26 @@ +# Greek translation of hello-csharp +# Copyright (C) 2005 Free Software Foundation, Inc. +# Simos Xenitellis , 2005. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp 0.14.1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2005-01-06 18:50+0000\n" +"Last-Translator: Simos Xenitellis \n" +"Language-Team: Greek \n" +"Language: el\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: KBabel 1.3.1\n" + +#: hello.cs:14 +msgid "Hello, world!" +msgstr "Γεια σου, κόσμε!" + +#: hello.cs:17 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/eo.po b/miniconda3/share/doc/gettext/examples/hello-csharp/po/eo.po new file mode 100644 index 0000000000000000000000000000000000000000..9ffd23c8dceab42808bd8ac24487cec4ba645b63 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/eo.po @@ -0,0 +1,28 @@ +# La teksto por la mesaĝoj de la programo "gettext". +# Copyright (C) 2006, 2016 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Edmund GRIMLEY EVANS , 2006. +# Felipe CASTRO , 2016, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-23 19:00-0300\n" +"Last-Translator: Felipe Castro \n" +"Language-Team: Esperanto \n" +"Language: eo\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.cs:14 +msgid "Hello, world!" +msgstr "Saluton, mondo!" + +#: hello.cs:17 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Ĉi tiu programo rulas kiel procez-numero {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/es.po b/miniconda3/share/doc/gettext/examples/hello-csharp/po/es.po new file mode 100644 index 0000000000000000000000000000000000000000..c4e794f156e2c8ccb4bfe05ba2017d7f43066b09 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/es.po @@ -0,0 +1,30 @@ +# Mensajes en español para GNU gettext. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# +# This file is distributed under the same license as the gettext package. +# +# Max de Mendizábal , 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004. +# Antonio Ceballos , 2014, 2015, 2023, 2025 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-02-23 17:01+0100\n" +"Last-Translator: Antonio Ceballos \n" +"Language-Team: Spanish \n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.cs:14 +msgid "Hello, world!" +msgstr "¡Hola, mundo!" + +#: hello.cs:17 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Este programa está corriendo como el proceso número {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/fi.po b/miniconda3/share/doc/gettext/examples/hello-csharp/po/fi.po new file mode 100644 index 0000000000000000000000000000000000000000..3940317fbf4bbd6c5930166ac1158d032f8593ef --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/fi.po @@ -0,0 +1,29 @@ +# Finnish messages for GNU Gettext examples. +# This file is distributed under the same license as the gettext package. +# Copyright © 2007, 2014, 2015 Yoyodyne, Inc. (msgids) +# Lauri Nurmi , 2007. +# Jorma Karvonen , 2014-2015. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-09-01 16:59+0300\n" +"Last-Translator: Jorma Karvonen \n" +"Language-Team: Finnish \n" +"Language: fi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 1.5.4\n" + +# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti. +#: hello.cs:14 +msgid "Hello, world!" +msgstr "Terve maailma!" + +#: hello.cs:17 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Tämän ohjelman prosessinumero on {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/fr.po b/miniconda3/share/doc/gettext/examples/hello-csharp/po/fr.po new file mode 100644 index 0000000000000000000000000000000000000000..9d2555641d9678deb12ac3ed8c6024c027783999 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/fr.po @@ -0,0 +1,32 @@ +# Messages français pour GNU gettext. +# Copyright (C) 2006 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Michel Robitaille , 2006. +# Christophe Combelles , 2006 +# Stéphane Aulery , 2015 +# Christian Wiatr , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-28 16:25+0200\n" +"Last-Translator: Christian Wiatr \n" +"Language-Team: French \n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.cs:14 +msgid "Hello, world!" +msgstr "Bonjour, le monde !" + +#: hello.cs:17 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Ce programme est exécuté en tant que processus numéro {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/ga.po b/miniconda3/share/doc/gettext/examples/hello-csharp/po/ga.po new file mode 100644 index 0000000000000000000000000000000000000000..b69cfdc31f21d54509c76b88232151f8ee17014b --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/ga.po @@ -0,0 +1,26 @@ +# Irish translations for hello-csharp. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Kevin Patrick Scannell , 2004, 2017. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2017-01-10 12:09-0500\n" +"Last-Translator: Kevin Patrick Scannell \n" +"Language-Team: Irish \n" +"Language: ga\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cs:14 +msgid "Hello, world!" +msgstr "Dia duit, a dhomhain!" + +#: hello.cs:17 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Tá an clár seo ag rith mar phróiseas {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/gl.po b/miniconda3/share/doc/gettext/examples/hello-csharp/po/gl.po new file mode 100644 index 0000000000000000000000000000000000000000..220c862bd2ff8cdf066817e067fc377f27c743f2 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/gl.po @@ -0,0 +1,31 @@ +# Galician translation for hello-csharp package. +# Copyright (C) 2010 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Leandro Regueiro , 2010-2014. +# +# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas +# colaborar connosco, podes atopar máis información en +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp 0.19-rc1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2014-05-10 16:34+0100\n" +"Last-Translator: Leandro Regueiro \n" +"Language-Team: Galician \n" +"Language: gl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n!=1);\n" + +#: hello.cs:14 +msgid "Hello, world!" +msgstr "Ola, mundo!" + +#: hello.cs:17 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Este programa estase executando como o proceso número {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/hr.po b/miniconda3/share/doc/gettext/examples/hello-csharp/po/hr.po new file mode 100644 index 0000000000000000000000000000000000000000..c40c272dddf0e00b25c28dd05b6d9c8cf8c5a688 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/hr.po @@ -0,0 +1,33 @@ +# Translation of hello-csharp to Croatian. +# Copyright (C) 2003, 2004, 2014, 2015, 2019 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Permission is granted to freely copy and distribute +# this file and modified versions, provided that this +# header is not removed and modified versions are marked +# as such. +# +# Tomislav Krznar , 2012. +# Božidar Putanec , 2018-2025. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-csharp 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 10:15-0700\n" +"Last-Translator: Božidar Putanec \n" +"Language-Team: Croatian \n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cs:14 +msgid "Hello, world!" +msgstr "Pozdrav, svijete!" + +#: hello.cs:17 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Ovaj program se izvršava kao proces broj {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/hu.po b/miniconda3/share/doc/gettext/examples/hello-csharp/po/hu.po new file mode 100644 index 0000000000000000000000000000000000000000..da1f018c181894ea14efe56063e2fa02b9ddbb66 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/hu.po @@ -0,0 +1,29 @@ +# Hungarian translation for hello-csharp. +# This file is distributed under the same license as the gettext package. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# +# Tamás Kiss , 2005. +# Balázs Úr , 2014, 2015. +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-06-23 20:31+0200\n" +"Last-Translator: Balázs Úr \n" +"Language-Team: Hungarian \n" +"Language: hu\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 1.2\n" + +#: hello.cs:14 +msgid "Hello, world!" +msgstr "Hello, világ!" + +#: hello.cs:17 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Ez a program a(z) {0} folyamatazonosítóval fut." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/id.po b/miniconda3/share/doc/gettext/examples/hello-csharp/po/id.po new file mode 100644 index 0000000000000000000000000000000000000000..207ee8c2b54d17106e253f5bd4b0befb8f516c1b --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/id.po @@ -0,0 +1,27 @@ +# translation of hello-csharp-0.15-pre5.po to Indonesian +# Copyright (C) 2006 Yoyodyne, Inc. +# This file is distributed under the same license as the PACKAGE package. +# +# Tedi Heriyanto , 2006. +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-0.15-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2006-09-27 20:19+0700\n" +"Last-Translator: Tedi Heriyanto \n" +"Language-Team: Indonesian \n" +"Language: id\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: KBabel 1.11.2\n" + +#: hello.cs:14 +msgid "Hello, world!" +msgstr "Hello, world!" + +#: hello.cs:17 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Program ini berjalan sebagai proses nomor {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/it.po b/miniconda3/share/doc/gettext/examples/hello-csharp/po/it.po new file mode 100644 index 0000000000000000000000000000000000000000..fbc41aee0bc0cf74c1cceccb2fbee770fe9dd0c6 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/it.po @@ -0,0 +1,29 @@ +# Italian messages for hello-csharp. +# Copyright (C) 2005, 2006 Yoyodyne, Inc. (msgids) +# Copyright (C) 2024 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Marco Colombo , 2005, 2006, 2015. +# Michele Locati , 2024, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-csharp 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-04 18:28+0200\n" +"Last-Translator: Michele Locati \n" +"Language-Team: Italian \n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cs:14 +msgid "Hello, world!" +msgstr "Ciao, mondo!" + +#: hello.cs:17 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Questo programma è in esecuzione con numero di processo {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/ja.po b/miniconda3/share/doc/gettext/examples/hello-csharp/po/ja.po new file mode 100644 index 0000000000000000000000000000000000000000..4ddb9ea1c4e577d2b7446648c269e7b40c580880 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/ja.po @@ -0,0 +1,26 @@ +# Translation of `hello-csharp' messages to Japanese. +# Copyright (C) 2005, 2006, 2014, 2015, 2023, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Masahito Yamaga , 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-csharp 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 19:59+0900\n" +"Last-Translator: Masahito Yamaga \n" +"Language-Team: Japanese \n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cs:14 +msgid "Hello, world!" +msgstr "世界よ, こんにちは!" + +#: hello.cs:17 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "このプログラムはプロセス番号 {0} で動いています." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/ka.po b/miniconda3/share/doc/gettext/examples/hello-csharp/po/ka.po new file mode 100644 index 0000000000000000000000000000000000000000..5e529b45ac4247565a4190ae7be4a87cf82d5f61 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/ka.po @@ -0,0 +1,28 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Temuri Doghonadze , 2022. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp 0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2022-05-22 05:04+0200\n" +"Last-Translator: Temuri Doghonadze \n" +"Language-Team: Georgian <(nothing)>\n" +"Language: ka\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 3.0.1\n" + +#: hello.cs:14 +msgid "Hello, world!" +msgstr "გამარჯობა სამყაროვ!" + +#: hello.cs:17 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "პროგრამა გაშვებულია პროცესის ნომრით {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/ky.po b/miniconda3/share/doc/gettext/examples/hello-csharp/po/ky.po new file mode 100644 index 0000000000000000000000000000000000000000..31cc1157dd2a2b27a875cce707b263e9a567099e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/ky.po @@ -0,0 +1,28 @@ +# Translation of 'hello-csharp' messages to Kirghiz. +# Copyright (C) 2004 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Ilyas Bakirov , 2007. +# Ilyas Bakirov , 2018. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2018-02-15 18:26+0600\n" +"Last-Translator: Ilyas Bakirov \n" +"Language-Team: Kirghiz \n" +"Language: ky\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 2.0.6\n" + +#: hello.cs:14 +msgid "Hello, world!" +msgstr "Салам дүйнө!" + +#: hello.cs:17 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Бул программа {0} процесс номери катары иштеп жатат." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/lv.po b/miniconda3/share/doc/gettext/examples/hello-csharp/po/lv.po new file mode 100644 index 0000000000000000000000000000000000000000..b5ea71c3b049d030ddaabe2471647d3c47c49ea5 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/lv.po @@ -0,0 +1,30 @@ +# Latvian translation of hello-csharp +# Copyright (C) 2009 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Arvis Lācis , 2009. +# Rihards Priedītis , 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-09 11:44+0000\n" +"Last-Translator: Rihards Priedītis \n" +"Language-Team: Latvian \n" +"Language: lv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : " +"2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cs:14 +msgid "Hello, world!" +msgstr "Sveika, pasaule!" + +#: hello.cs:17 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Šī programma darbojas ar procesa numuru {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/ms.po b/miniconda3/share/doc/gettext/examples/hello-csharp/po/ms.po new file mode 100644 index 0000000000000000000000000000000000000000..b5e8913e917a805335359be7f930c655389164e9 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/ms.po @@ -0,0 +1,28 @@ +# hello-csharp Bahasa Melayu (Malay) (ms). +# Copyright (C) 2006, 2015, 2023, 2025 Yoyodyne, Inc. (msgids) +# Copyright (C) 2006, 2015, 2023, 2025 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Sharuzzaman Ahmat Raslan , 2006, 2015, 2023, 2025 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-03 21:10+0800\n" +"Last-Translator: Sharuzzaman Ahmat Raslan \n" +"Language-Team: Malay \n" +"Language: ms\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cs:14 +msgid "Hello, world!" +msgstr "Hello, dunia!" + +#: hello.cs:17 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Program ini dilaksanakan sebagai proses bernombor {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/mt.po b/miniconda3/share/doc/gettext/examples/hello-csharp/po/mt.po new file mode 100644 index 0000000000000000000000000000000000000000..1fbe33e37dc32b83c4f5a0d54aaa06d21166af03 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/mt.po @@ -0,0 +1,27 @@ +# hello-csharp-0.16.2-pre5. +# Copyright (C) 2008 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Clyde Meli , 2001-2008. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp 0.16.2-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2008-11-18 17:27+0100\n" +"Last-Translator: Clyde Meli \n" +"Language-Team: Maltese \n" +"Language: mt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cs:14 +msgid "Hello, world!" +msgstr "Hello, lil kulħadd!" + +#: hello.cs:17 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Dal-programm qed jaħdem taħt il-proċess numru {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/nb.po b/miniconda3/share/doc/gettext/examples/hello-csharp/po/nb.po new file mode 100644 index 0000000000000000000000000000000000000000..5d7b90e2e15f62434b744a0cee0d008ee43d5e94 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/nb.po @@ -0,0 +1,29 @@ +# Norwegian Bokmal translations for hello-csharp package. +# Copyright (C) 2012 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Johnny A. Solbu , 2012-2024 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-01-06 16:33+0100\n" +"Last-Translator: Johnny A. Solbu \n" +"Language-Team: Norwegian Bokmaal \n" +"Language: nb\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.cs:14 +msgid "Hello, world!" +msgstr "Hallo verden!" + +#: hello.cs:17 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Dette programmet kjører som prosess nummer {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/nl.po b/miniconda3/share/doc/gettext/examples/hello-csharp/po/nl.po new file mode 100644 index 0000000000000000000000000000000000000000..24fedebb66b18dd207820ef225082461acf238f3 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/nl.po @@ -0,0 +1,31 @@ +# Dutch translations for GNU hello-csharp. +# Copyright (C) 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# "There are three basic rules for writing a novel. +# Unfortunately nobody knows what they are." +# +# Benno Schulenberg , 2007, 2014, 2015, 2019, 2025. +# Elros Cyriatan , 2004. +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-01 14:51+0100\n" +"Last-Translator: Benno Schulenberg \n" +"Language-Team: Dutch \n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.cs:14 +msgid "Hello, world!" +msgstr "Hallo, wereld!" + +#: hello.cs:17 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Dit programma draait als proces nummer {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/nn.po b/miniconda3/share/doc/gettext/examples/hello-csharp/po/nn.po new file mode 100644 index 0000000000000000000000000000000000000000..c63418630d096e16c45f484efd205d51b80b44ed --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/nn.po @@ -0,0 +1,28 @@ +# Norwegian Nynorsk translation of GNU hello-csharp +# Copyright (C) 2020 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Karl Ove Hufthammer , 2020. +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2020-05-04 18:58+0200\n" +"Last-Translator: Karl Ove Hufthammer \n" +"Language-Team: Norwegian Nynorsk \n" +"Language: nn\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 20.04.0\n" + +#: hello.cs:14 +msgid "Hello, world!" +msgstr "Hei, verda!" + +#: hello.cs:17 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Dette programmet køyrer som prosess nummer {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/pl.po b/miniconda3/share/doc/gettext/examples/hello-csharp/po/pl.po new file mode 100644 index 0000000000000000000000000000000000000000..a103b3f6024eccc61dbb757fd21f01cea5016172 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/pl.po @@ -0,0 +1,27 @@ +# Polish translations for the GNU gettext messages, hello-csharp domain +# Copyright (C) 2010, 2014, 2015, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Rafał Maszkowski , 2003, 2010, 2014, 2015, 2025 +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-csharp 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-25 17:16+0200\n" +"Last-Translator: Rafał Maszkowski \n" +"Language-Team: Polish \n" +"Language: pl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8-bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " +"|| n%100>=20) ? 1 : 2);\n" + +#: hello.cs:14 +msgid "Hello, world!" +msgstr "Cześć, świecie!" + +#: hello.cs:17 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Ten program działa jako proces o numerze {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/pt.po b/miniconda3/share/doc/gettext/examples/hello-csharp/po/pt.po new file mode 100644 index 0000000000000000000000000000000000000000..126c87b4218a2ba390ed99a40a8490309e6df092 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/pt.po @@ -0,0 +1,28 @@ +# Portuguese (Portugal) translation of 'hello-csharp' package. +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Pedro Albuquerque , 2019, 2020, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 11:24+0100\n" +"Last-Translator: Pedro Albuquerque \n" +"Language-Team: Portuguese \n" +"Language: pt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\\n;\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.6\n" + +#: hello.cs:14 +msgid "Hello, world!" +msgstr "Olá mundo!" + +#: hello.cs:17 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Este programa está em execução como processo nº {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/pt_BR.po b/miniconda3/share/doc/gettext/examples/hello-csharp/po/pt_BR.po new file mode 100644 index 0000000000000000000000000000000000000000..ea5648feb928e12b3d3402a0affb3fd95ad1fcc8 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/pt_BR.po @@ -0,0 +1,31 @@ +# Brazilian Portuguese translations for gettext-example +# Traduções em português brasileiro para gettext-example +# Copyright (C) 2025 Yoyodyne, Inc. (msgids) +# Copyright (C) 2025 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Rafael Fontenelle , 2013-2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 10:24-0300\n" +"Last-Translator: Rafael Fontenelle \n" +"Language-Team: Brazilian Portuguese \n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Gtranslator 48.0\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cs:14 +msgid "Hello, world!" +msgstr "Olá, mundo!" + +#: hello.cs:17 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Este programa está sendo executado com número de processo {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/ro.po b/miniconda3/share/doc/gettext/examples/hello-csharp/po/ro.po new file mode 100644 index 0000000000000000000000000000000000000000..b95bf59d9b198ef4fa967d2b6e53b8fa9d212e32 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/ro.po @@ -0,0 +1,50 @@ +# Translation of "hello-csharp" messages to Romanian. +# Mesajele în limba română pentru pachetul hello-csharp. +# Copyright © 2015, 2019, 2022, 2023, 2024, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Eugen Hoancă , 2003. +# Mihai Cristescu , 2015 - 2019. +# Remus-Gabriel Chelu , 2022 - 2025. +# +# Cronologia traducerii fișierului „hello-csharp”: +# Traducerea inițială, făcută de EH, pentru versiunea hello-csharp 0.12.1, 2003. +# Actualizare a traducerii pentru versiunea hello-csharp 0.19.4-rc1, făcută de MC, mar-2015. +# Actualizare a traducerii pentru versiunea hello-csharp 0.19.4.73, făcută de MC, iun-2015. +# Actualizare a traducerii pentru versiunea hello-csharp 0.20-rc1, făcută de MC, apr-2019. +# Actualizare a mesajelor, de la fișierul „hello-csharp-0.20.2.pot”. +# Actualizare a algoritmului formelor de plural (de la „trei-vechi” la „trei-actual”). +# NU și a mesajelor traduse (acestea au rămas neschimbate). +# Eliminare a mesajelor ce-au dispărut în ultima versiune. +# Actualizări realizate de Remus-Gabriel Chelu , 15.01.2022. +# Actualizare a traducerii pentru versiunea 0.20.2 făcută de R-GC, ian-2022. +# Actualizare a traducerii pentru versiunea 0.22 făcută de R-GC, iun-2023. +# Revizuire și corectare a traducerii pentru versiunea 0.23-pre1 făcută de R-GC, oct-2024. +# Actualizare a traducerii pentru versiunea 0.24-pre1 făcută de R-GC, feb-2025. +# Actualizare a traducerii pentru versiunea 0.25-pre1 făcută de R-GC, apr-2025. +# Actualizare a traducerii pentru versiunea Y, făcută de X, Z(luna-anul). +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-29 00:25+0200\n" +"Last-Translator: Remus-Gabriel Chelu \n" +"Language-Team: Romanian \n" +"Language: ro\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " +"20)) ? 1 : 2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cs:14 +msgid "Hello, world!" +msgstr "Salutare, lume!" + +#: hello.cs:17 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Acest program rulează ca procesul numărul {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/ru.po b/miniconda3/share/doc/gettext/examples/hello-csharp/po/ru.po new file mode 100644 index 0000000000000000000000000000000000000000..08c00b9d8b054e345859abf42623511d94609af1 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/ru.po @@ -0,0 +1,30 @@ +# Translation of hello-csharp-0.14.1.po to Russian +# Copyright (C) 2004 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Pavel Maryanov , 2004. +# SPDX-FileCopyrightText: 2014, 2015, 2023, 2025 Yuri Kozlov +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-02 09:17+0300\n" +"Last-Translator: Yuri Kozlov \n" +"Language-Team: Russian \n" +"Language: ru\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Lokalize 24.12.0\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#: hello.cs:14 +msgid "Hello, world!" +msgstr "Здравствуй, мир!" + +#: hello.cs:17 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Эта программа выполняется как процесс под номером {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/sk.po b/miniconda3/share/doc/gettext/examples/hello-csharp/po/sk.po new file mode 100644 index 0000000000000000000000000000000000000000..1c6a254159a80f30f503ee1d6b45cc85fd3bb4ec --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/sk.po @@ -0,0 +1,26 @@ +# Slovak translations GNU for hello-csharp package. +# Copyright (C) 2003, 2004, 2014, 2023, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Marcel Telka , 2003, 2004, 2014, 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-csharp 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 13:53+0200\n" +"Last-Translator: Marcel Telka \n" +"Language-Team: Slovak \n" +"Language: sk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cs:14 +msgid "Hello, world!" +msgstr "Ahoj svet!" + +#: hello.cs:17 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Tento program beží ako proces s číslom {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/sl.po b/miniconda3/share/doc/gettext/examples/hello-csharp/po/sl.po new file mode 100644 index 0000000000000000000000000000000000000000..d390cdc23747a4d0bf2860a08930184184b0f595 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/sl.po @@ -0,0 +1,29 @@ +# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example +# Copyright (C) 2005 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Primož Peterlin , 2005, 2014, 2015, 2024. +# $Id: hello-csharp-0.22.sl.po,v 1.1 2024/03/28 17:02:19 peterlin Exp $ +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-03-28 18:02+0100\n" +"Last-Translator: Primož Peterlin \n" +"Language-Team: Slovenian \n" +"Language: sl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8-bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || " +"n%100==4 ? 3 : 0);\n" + +#: hello.cs:14 +msgid "Hello, world!" +msgstr "Pozdravljen, svet!" + +#: hello.cs:17 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Ta program teče kot proces številka {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/sq.po b/miniconda3/share/doc/gettext/examples/hello-csharp/po/sq.po new file mode 100644 index 0000000000000000000000000000000000000000..3cf418f496b9df8d3837d0d6d0e1b95c2becdf82 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/sq.po @@ -0,0 +1,28 @@ +# Albanian translation of gettext-example. +# Copyright (C) 2020 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Besnik Bleta , 2020,2023,2024,2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 19:56+0300\n" +"Last-Translator: Besnik Bleta \n" +"Language-Team: Albanian \n" +"Language: sq\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.2.2\n" + +#: hello.cs:14 +msgid "Hello, world!" +msgstr "Tungjatjeta, botë!" + +#: hello.cs:17 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Ky program po xhiron si procesi numër {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/sr.po b/miniconda3/share/doc/gettext/examples/hello-csharp/po/sr.po new file mode 100644 index 0000000000000000000000000000000000000000..38e0f1938d132028cd01c7c8ac792cab3b7831cf --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/sr.po @@ -0,0 +1,30 @@ +# Serbian translation of hello-csharp. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Aleksandar Jelenak , 2004. +# Мирослав Николић , 2014-2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-02 16:51+0100\n" +"Last-Translator: Мирослав Николић \n" +"Language-Team: Serbian <(nothing)>\n" +"Language: sr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cs:14 +msgid "Hello, world!" +msgstr "Здраво, свима!" + +#: hello.cs:17 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Овај програм се извршава као процес број {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/sv.po b/miniconda3/share/doc/gettext/examples/hello-csharp/po/sv.po new file mode 100644 index 0000000000000000000000000000000000000000..8bfb88c63966bcbb07ff476e600e002c009793b3 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/sv.po @@ -0,0 +1,30 @@ +# Swedish messages for hello-csharp. +# Copyright © 2006, 2014, 2016, 2019, 2020, 2023, 2024, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Jan Djärv , 2003, 2006, 2014. +# Göran Uddeborg , 2016, 2019, 2020, 2023, 2024, 2025. +# Luna Jernberg , 2025. +# $Revision: 1.12 $ +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 12:18+0200\n" +"Last-Translator: Luna Jernberg \n" +"Language-Team: Swedish \n" +"Language: sv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cs:14 +msgid "Hello, world!" +msgstr "Hej världen!" + +#: hello.cs:17 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Detta program kör som process nummer {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/ta.po b/miniconda3/share/doc/gettext/examples/hello-csharp/po/ta.po new file mode 100644 index 0000000000000000000000000000000000000000..d23de1bcd5a399c68209e3d1db90567d44e51fe1 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/ta.po @@ -0,0 +1,28 @@ +# Tamil messages for GNU gettext. +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# List of contributors follow: +# Poorajith , 2018. +# Arun Isaac , 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-19 00:06+0100\n" +"Last-Translator: Arun Isaac \n" +"Language-Team: Tamil \n" +"Language: ta\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cs:14 +msgid "Hello, world!" +msgstr "வணக்கம், உலகு!" + +#: hello.cs:17 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "இந்நிரல் செயலாக்க எண் {0} ஆக இயங்கிக்கொண்டிருக்கிறது." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/tr.po b/miniconda3/share/doc/gettext/examples/hello-csharp/po/tr.po new file mode 100644 index 0000000000000000000000000000000000000000..6555408c347d7629616629b3c22e2c9971b5d98c --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/tr.po @@ -0,0 +1,29 @@ +# Turkish translation for hello-csharp. +# This file is distributed under the same license as the gettext package. +# Copyright (C) 2017 Yoyodyne, Inc. (msgids) +# Copyright (C) 2004 Free Software Foundation, Inc. +# Nilgün Belma Bugüner , 2003,2004 +# Mehmet Kececi , 2017, 2019, 2020. +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp 0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2020-04-17 13:10+0300\n" +"Last-Translator: Mehmet Kececi \n" +"Language-Team: Turkish \n" +"Language: tr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Poedit 2.3\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cs:14 +msgid "Hello, world!" +msgstr "Merhaba, dünya!" + +#: hello.cs:17 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Bu yazılım {0} süreç numarası ile çalışıyor." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/uk.po b/miniconda3/share/doc/gettext/examples/hello-csharp/po/uk.po new file mode 100644 index 0000000000000000000000000000000000000000..c016abdbecf3b934ee8f3bbefc071751bedc3e08 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/uk.po @@ -0,0 +1,30 @@ +# Ukrainian translation to hello-csharp +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Maxim V. Dziumanenko , 2004-2007. +# Yuri Chornoivan , 2014, 2015, 2023, 2025. +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 13:56+0300\n" +"Last-Translator: Yuri Chornoivan \n" +"Language-Team: Ukrainian \n" +"Language: uk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Generator: Lokalize 23.04.3\n" + +#: hello.cs:14 +msgid "Hello, world!" +msgstr "Привіт, світе!" + +#: hello.cs:17 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Ця програма виконується як процес з номером {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/vi.po b/miniconda3/share/doc/gettext/examples/hello-csharp/po/vi.po new file mode 100644 index 0000000000000000000000000000000000000000..415e11aad92388e03e2437a8a10268c135b2af29 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/vi.po @@ -0,0 +1,30 @@ +# Vietnamese Translation for Gettext Examples. +# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext. +# Copyright © 2015 Yoyodyne, Inc. (msgids) +# Copyright © 2015 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Clytie Siddall , 2005-2010. +# Trần Ngọc Quân , 2012-2015, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-24 09:10+0700\n" +"Last-Translator: Trần Ngọc Quân \n" +"Language-Team: Vietnamese \n" +"Language: vi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: hello.cs:14 +msgid "Hello, world!" +msgstr "Chào thế giới!" + +#: hello.cs:17 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "Chương trình này đang chạy với mã số tiến trình {0}." diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/zh_CN.po b/miniconda3/share/doc/gettext/examples/hello-csharp/po/zh_CN.po new file mode 100644 index 0000000000000000000000000000000000000000..27693c8dceb2a3d1e06886e2702e3fc138a591a7 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/zh_CN.po @@ -0,0 +1,29 @@ +# zh_CN translation for hello-csharp. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Funda Wang , 2003. +# Ji ZhengYu , 2015. +# Boyuan Yang <073plan@gmail.com>, 2019, 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-29 15:56-0400\n" +"Last-Translator: Boyuan Yang <073plan@gmail.com>\n" +"Language-Team: Chinese (simplified) \n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.6\n" + +#: hello.cs:14 +msgid "Hello, world!" +msgstr "你好,世界!" + +#: hello.cs:17 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "此程序正以进程号 {0} 运行。" diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/zh_HK.po b/miniconda3/share/doc/gettext/examples/hello-csharp/po/zh_HK.po new file mode 100644 index 0000000000000000000000000000000000000000..e792282f82ff19b49a68e2593c9e64e3833eec98 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/zh_HK.po @@ -0,0 +1,25 @@ +# Chinese (Hong Kong) translation of hello-csharp. +# Copyright (C) 2006 Yoyodyne, Inc. +# Abel Cheung , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp 0.15-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2006-07-05 15:40+0800\n" +"Last-Translator: Abel Cheung \n" +"Language-Team: Chinese (Hong Kong) \n" +"Language: zh_HK\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.cs:14 +msgid "Hello, world!" +msgstr "你好!" + +#: hello.cs:17 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "本程式正在執行中,進程編號為 {0}。" diff --git a/miniconda3/share/doc/gettext/examples/hello-csharp/po/zh_TW.po b/miniconda3/share/doc/gettext/examples/hello-csharp/po/zh_TW.po new file mode 100644 index 0000000000000000000000000000000000000000..54561afd79a385004f5dd1a9eab9804ae6f527d0 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-csharp/po/zh_TW.po @@ -0,0 +1,29 @@ +# Traditional Chinese translation of hello-csharp. +# Copyright (C) 2009 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Abel Cheung , 2005. +# Wei-Lun Chao , 2013, 2015. +# Yi-Jyun Pan , 2024. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-csharp 0.23-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-11-30 14:14+0800\n" +"Last-Translator: Yi-Jyun Pan \n" +"Language-Team: Chinese (traditional) \n" +"Language: zh_TW\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.cs:14 +msgid "Hello, world!" +msgstr "哈囉,大家好!" + +#: hello.cs:17 +#, csharp-format +msgid "This program is running as process number {0}." +msgstr "本程式正在執行,行程編號為 {0}。" diff --git a/miniconda3/share/doc/gettext/examples/hello-d/INSTALL b/miniconda3/share/doc/gettext/examples/hello-d/INSTALL new file mode 100644 index 0000000000000000000000000000000000000000..79993777bb994d8785d17e24a8cc5f9b5feea12e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/INSTALL @@ -0,0 +1,10 @@ +This example relies on a D compiler (one of gdc, ldc2, dmd). + +Installation: + ./autogen.sh + ./configure --prefix=/some/prefix + make + make install +Cleanup: + make distclean + ./autoclean.sh diff --git a/miniconda3/share/doc/gettext/examples/hello-d/Makefile.am b/miniconda3/share/doc/gettext/examples/hello-d/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..de7901d5d6b00ca9cacb7fb73a8d92be7cbf4d7d --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/Makefile.am @@ -0,0 +1,49 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Makefile configuration - processed by automake. + +# General automake options. +AUTOMAKE_OPTIONS = foreign +ACLOCAL_AMFLAGS = -I m4 + +# The list of subdirectories containing Makefiles. +SUBDIRS = m4 po + +# The list of programs that are built. +bin_PROGRAMS = hello + +# The source files of the 'hello' program. +nodist_hello_SOURCES = hello.d + +# Compile time dependencies. +dincludedir = $(D_PACKAGES_PREFIX)/include/d +dlibdir = $(D_PACKAGES_EXECPREFIX)/lib + +# Link time dependencies. +LDADD = @LIBINTL@ + +hello$(EXEEXT): hello.d $(dlibdir)/libintl_d.a + $(SHELL) ./dcomp.sh -I$(dincludedir) -o hello$(EXEEXT) hello.d $(dlibdir)/libintl_d.a $(LDADD) + +# Compile dependency module. +# For simplicity, compile the entire module to a single object file. +$(dlibdir)/libintl_d.a: + mkdir -p $(dlibdir) + $(SHELL) ./dcomp.sh -I$(dincludedir) -c -o $(dlibdir)/libintl_d.a `find $(dincludedir)/gnu/libintl -name '*.d' -print` + +DISTCLEANFILES = dcomp.sh + +distclean-local: distclean-generic + @if test '$(D_PACKAGES_EXECPREFIX)' = './depends'; then \ + rm -f $(dlibdir)/libintl_d.a; \ + rmdir $(dlibdir); \ + rmdir depends 2>/dev/null || true; \ + fi + +# Additional files to be distributed. +EXTRA_DIST = \ + autogen.sh autoclean.sh \ + depends/include/d/gnu/libintl/package.d \ + depends/include/d/gnu/libintl/libintl.d \ + depends/include/d/gnu/libintl/internal/low.d diff --git a/miniconda3/share/doc/gettext/examples/hello-d/autoclean.sh b/miniconda3/share/doc/gettext/examples/hello-d/autoclean.sh new file mode 100644 index 0000000000000000000000000000000000000000..079ca7d4d1bc17f652959afc1274c2d1be433436 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/autoclean.sh @@ -0,0 +1,51 @@ +#!/bin/sh +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Script for cleaning all autogenerated files. + +test ! -f Makefile || make distclean +rm -rf autom4te.cache + +# Brought in by explicit copy. +rm -rf depends + +# Brought in by autopoint. +rm -f ABOUT-NLS +rm -f config.rpath +rm -f m4/gettext.m4 +rm -f m4/build-to-host.m4 +rm -f m4/host-cpu-c-abi.m4 +rm -f m4/iconv.m4 +rm -f m4/intlmacosx.m4 +rm -f m4/lib-ld.m4 +rm -f m4/lib-link.m4 +rm -f m4/lib-prefix.m4 +rm -f m4/nls.m4 +rm -f m4/po.m4 +rm -f m4/progtest.m4 +rm -f po/Makefile.in.in +rm -f po/remove-potcdate.sed + +# Brought in by explicit copy. +rm -f m4/dcomp.m4 +rm -f dcomp.sh.in + +# Generated by aclocal. +rm -f aclocal.m4 + +# Generated by autoconf. +rm -f configure + +# Generated or brought in by automake. +rm -f Makefile.in +rm -f m4/Makefile.in +rm -f po/Makefile.in +rm -f compile +rm -f install-sh +rm -f missing +rm -f config.guess +rm -f config.sub +rm -f po/*.pot +rm -f po/stamp-po +rm -f po/*.gmo diff --git a/miniconda3/share/doc/gettext/examples/hello-d/autogen.sh b/miniconda3/share/doc/gettext/examples/hello-d/autogen.sh new file mode 100644 index 0000000000000000000000000000000000000000..66ed26caafa5b8aedfaf690123a9fe2aaf81fa69 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/autogen.sh @@ -0,0 +1,61 @@ +#!/bin/sh +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Script for regenerating all autogenerated files. + +mkdir -p depends/include/d +if test -r ../Makefile.am || test -r ../Makefile; then + if test -r ../Makefile.am; then + # Inside the gettext source directory. + GETTEXT_TOPSRCDIR=../../.. + else + # Inside a gettext build directory. + GETTEXT_TOOLS_SRCDIR=`sed -n -e 's,^top_srcdir *= *\(.*\)$,\1,p' ../Makefile` + # Adjust a relative top_srcdir. + case $GETTEXT_TOOLS_SRCDIR in + /*) ;; + *) GETTEXT_TOOLS_SRCDIR=../$GETTEXT_TOOLS_SRCDIR ;; + esac + GETTEXT_TOPSRCDIR=$GETTEXT_TOOLS_SRCDIR/../.. + fi + (cd "$GETTEXT_TOPSRCDIR/gettext-runtime/intl-d" \ + && tar cf - `find gnu/libintl -name '*.d' -print`) \ + | (cd depends/include/d && tar xf -) +else + # Installed under ${prefix}/share/doc/gettext/examples. + . ../installpaths + (cd "$includedir/d" \ + && tar cf - `find gnu/libintl -name '*.d' -print`) \ + | (cd depends/include/d && tar xf -) +fi + +autopoint -f # was: gettextize -f -c +rm po/Makefile.in.in +rm po/Makevars.template +rm po/Rules-quot +rm po/boldquot.sed +rm po/en@boldquot.header +rm po/en@quot.header +rm po/insert-header.sed +rm po/quot.sed + +cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/gnulib-m4}/dcomp.m4 m4/dcomp.m4 +cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/build-aux}/dcomp.sh.in dcomp.sh.in + +aclocal -I m4 + +autoconf + +automake -a -c + +rm -rf autom4te.cache + +cd po +for f in *.po; do + if test -r "$f"; then + lang=`echo $f | sed -e 's,\.po$,,'` + msgfmt -c -o $lang.gmo $lang.po + fi +done +cd .. diff --git a/miniconda3/share/doc/gettext/examples/hello-d/configure.ac b/miniconda3/share/doc/gettext/examples/hello-d/configure.ac new file mode 100644 index 0000000000000000000000000000000000000000..76b7177c4e8f49f448dd01bded99ba842f733b3c --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/configure.ac @@ -0,0 +1,49 @@ +dnl Example for use of GNU gettext. +dnl This file is in the public domain. +dnl +dnl Configuration file - processed by autoconf. + +AC_INIT([hello-d], [0]) +AC_CONFIG_SRCDIR([hello.d.in]) +AM_INIT_AUTOMAKE([1.11]) + +gt_DCOMP +if test -z "$DC"; then + echo "*** D compiler not found" 1>&2 + exit 1 +fi + +D_PACKAGES_PREFIX='$(srcdir)/depends' +D_PACKAGES_EXECPREFIX='./depends' +AC_ARG_WITH([d-packages-prefix], + [[ --with-d-packages-prefix=DIR search for D packages in DIR/include/d, DIR/lib]], + [if test "X$withval" != "X" && test "X$withval" != "Xno"; then + D_PACKAGES_PREFIX="$withval" + D_PACKAGES_EXECPREFIX="$D_PACKAGES_PREFIX" + fi + ]) +AC_SUBST([D_PACKAGES_PREFIX]) +AC_SUBST([D_PACKAGES_EXECPREFIX]) + +dnl The installed program must know where to find its message catalogs. +dnl Unfortunately, prefix gets only finally determined at the end of configure. +if test "X$prefix" = "XNONE"; then + final_prefix="$ac_default_prefix" +else + final_prefix="$prefix" +fi +save_prefix="$prefix" +prefix="$final_prefix" +eval "datarootdir=\"${datarootdir}\"" +eval "localedir=\"${datarootdir}/locale\"" +prefix="$save_prefix" +AC_SUBST([localedir]) + +AM_GNU_GETTEXT([external]) +AM_GNU_GETTEXT_VERSION([0.25]) + +AC_CONFIG_FILES([Makefile hello.d]) +AC_CONFIG_FILES([dcomp.sh]) +AC_CONFIG_FILES([m4/Makefile]) +AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE]) +AC_OUTPUT diff --git a/miniconda3/share/doc/gettext/examples/hello-d/hello.d.in b/miniconda3/share/doc/gettext/examples/hello-d/hello.d.in new file mode 100644 index 0000000000000000000000000000000000000000..544e605abf37c1e082ec396fd5dc9581bd595378 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/hello.d.in @@ -0,0 +1,29 @@ +/* Example for use of GNU gettext. + This file is in the public domain. + + Source code of the D program. */ + + +// Get writeln. +import std.stdio; +// Get format. +import std.format; +// Get locale constants. +import core.stdc.locale : LC_ALL; +// Get textdomain, bindtextdomain, gettext, ngettext, setlocale. +import gnu.libintl : textdomain, bindtextdomain, gettext, ngettext, setlocale; +// Get thisProcessID. +import std.process : thisProcessID; + +// Define _() as a shorthand for gettext(). +alias _ = gettext; + +void main (string[] args) +{ + setlocale (LC_ALL, ""); + textdomain ("hello-d"); + bindtextdomain ("hello-d", `@localedir@`); + + writeln (_("Hello, world!")); + writeln (format (_("This program is running as process number %d."), thisProcessID)); +} diff --git a/miniconda3/share/doc/gettext/examples/hello-d/m4/Makefile.am b/miniconda3/share/doc/gettext/examples/hello-d/m4/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..0b103bb7463dc79f6e56a4c31f5aaa14a4c58ae6 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/m4/Makefile.am @@ -0,0 +1,3 @@ +EXTRA_DIST = \ + nls.m4 po.m4 \ + dcomp.m4 diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/LINGUAS b/miniconda3/share/doc/gettext/examples/hello-d/po/LINGUAS new file mode 100644 index 0000000000000000000000000000000000000000..dc4a82afbad945018082c22f2061a43ef436dd68 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/LINGUAS @@ -0,0 +1,5 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Set of available languages. +af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ka ky lv ms mt nb nl nn pl pt pt_BR ro ru sk sl sq sr sv ta tr uk vi zh_CN zh_HK zh_TW diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/Makefile.am b/miniconda3/share/doc/gettext/examples/hello-d/po/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..42d7beddc06887c11eec9d6702933e1687fff579 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/Makefile.am @@ -0,0 +1,434 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Makefile configuration - processed by automake. + +# List of files which contain translatable strings. +POTFILES = \ + hello.d.in + +# Usually the message domain is the same as the package name. +DOMAIN = $(PACKAGE) + +# These options get passed to xgettext. +XGETTEXT_OPTIONS = -k_ --flag=_:1:pass-c-format --flag=_:1:pass-d-format + +# This is the copyright holder that gets inserted into the header of the +# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding +# package. (Note that the msgid strings, extracted from the package's +# sources, belong to the copyright holder of the package.) Translators are +# expected to transfer the copyright for their translations to this person +# or entity, or to disclaim their copyright. The empty string stands for +# the public domain; in this case the translators are expected to disclaim +# their copyright. +COPYRIGHT_HOLDER = Yoyodyne, Inc. + +# This tells whether or not to prepend "GNU " prefix to the package +# name that gets inserted into the header of the $(DOMAIN).pot file. +# Possible values are "yes", "no", or empty. If it is empty, try to +# detect it automatically by scanning the files in $(top_srcdir) for +# "GNU packagename" string. +PACKAGE_GNU = no + +# This is the email address or URL to which the translators shall report +# bugs in the untranslated strings: +# - Strings which are not entire sentences, see the maintainer guidelines +# in the GNU gettext documentation, section 'Preparing Strings'. +# - Strings which use unclear terms or require additional context to be +# understood. +# - Strings which make invalid assumptions about notation of date, time or +# money. +# - Pluralisation problems. +# - Incorrect English spelling. +# - Incorrect formatting. +# It can be your email address, or a mailing list address where translators +# can write to without being subscribed, or the URL of a web page through +# which the translators can contact you. +MSGID_BUGS_ADDRESS = bug-gettext@gnu.org + +# This is the list of locale categories, beyond LC_MESSAGES, for which the +# message catalogs shall be used. It is usually empty. +EXTRA_LOCALE_CATEGORIES = + +# These options get passed to msgmerge. +# Useful options are in particular: +# --previous to keep previous msgids of translated messages +MSGMERGE_OPTIONS = + +# These options get passed to msginit. +# If you want to disable line wrapping when writing PO files, add +# --no-wrap to MSGMERGE_OPTIONS, XGETTEXT_OPTIONS, and +# MSGINIT_OPTIONS. +MSGINIT_OPTIONS = + +MSGMERGE = @MSGMERGE@ +MSGMERGE_UPDATE = @MSGMERGE@ --update +MSGMERGE_FOR_MSGFMT_OPTION = @MSGMERGE_FOR_MSGFMT_OPTION@ +MSGINIT = msginit +MSGCONV = msgconv +MSGFILTER = msgfilter + +# This is computed as $(foreach file, $(POTFILES), $(top_srcdir)/$(file)) +POTFILES_DEPS != for file in $(POTFILES); do echo $(top_srcdir)/$$file; done + +# The set of available translations. +ALL_LINGUAS != if test -f $(srcdir)/LINGUAS; then \ + sed -e '/^\#/d' < $(srcdir)/LINGUAS; \ + else \ + echo $(LINGUAS); \ + fi +# This is computed as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) +POFILES != for lang in $(ALL_LINGUAS); do echo $(srcdir)/$$lang.po; done +# This is computed as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) +GMOFILES != for lang in $(ALL_LINGUAS); do echo $(srcdir)/$$lang.gmo; done +# This is computed as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) +UPDATEPOFILES != for lang in $(ALL_LINGUAS); do echo $$lang.po-update; done +# This is computed as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) +DUMMYPOFILES != for lang in $(ALL_LINGUAS); do echo $$lang.nop; done + +# The set of desired translations, as specified by the installer or distributor. +DESIRED_LINGUAS = @DESIRED_LINGUAS@ +# The set of translations to install. This is computed based on $(ALL_LINGUAS) +# and $(DESIRED_LINGUAS). It is a subset of $(ALL_LINGUAS). +# We use the presentlang catalog if desiredlang is +# a. equal to presentlang, or +# b. a variant of presentlang (because in this case, presentlang can be used +# as a fallback for messages which are not translated in the desiredlang +# catalog). +INST_LINGUAS != for presentlang in $(ALL_LINGUAS); do \ + useit=false; \ + for desiredlang in $(DESIRED_LINGUAS); do \ + case "$$desiredlang" in \ + "$$presentlang" | "$$presentlang"_* | "$$presentlang".* | "$$presentlang"@*) \ + useit=true ;; \ + esac; \ + done; \ + if $$useit; then echo $$presentlang; fi; \ + done +# This is computed as $(foreach lang, $(INST_LINGUAS), $(lang).gmo) +CATALOGS != for lang in $(INST_LINGUAS); do echo $$lang.gmo; done + +SUFFIXES = .po .gmo .nop .po-create .po-update + +# The .pot file, stamp-po, .po files, and .gmo files appear in release tarballs. +# The GNU Coding Standards say in +# : +# "GNU distributions usually contain some files which are not source files +# ... . Since these files normally appear in the source directory, they +# should always appear in the source directory, not in the build directory. +# So Makefile rules to update them should put the updated files in the +# source directory." +# Therefore we put these files in the source directory, not the build directory. + +# During .po -> .gmo conversion, take into account the most recent changes to +# the .pot file. This eliminates the need to update the .po files when the +# .pot file has changed, which would be troublesome if the .po files are put +# under version control. +$(GMOFILES): $(srcdir)/$(DOMAIN).pot +.po.gmo: + @lang=`echo $* | sed -e 's,.*/,,'`; \ + test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ + echo "$${cdcmd}rm -f $${lang}.gmo && $(MSGMERGE) $(MSGMERGE_FOR_MSGFMT_OPTION) -o $${lang}.1po $${lang}.po $(DOMAIN).pot && $(GMSGFMT) -c --statistics --verbose -o $${lang}.gmo $${lang}.1po && rm -f $${lang}.1po"; \ + cd $(srcdir) && \ + rm -f $${lang}.gmo && \ + $(MSGMERGE) $(MSGMERGE_FOR_MSGFMT_OPTION) -o $${lang}.1po $${lang}.po $(DOMAIN).pot && \ + $(GMSGFMT) -c --statistics --verbose -o t-$${lang}.gmo $${lang}.1po && \ + mv t-$${lang}.gmo $${lang}.gmo && \ + rm -f $${lang}.1po + + +all-local: all-local-@USE_NLS@ + +all-local-yes: $(srcdir)/stamp-po +all-local-no: + +# $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no +# internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because +# we don't want to bother translators with empty POT files). We assume that +# LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty. +# In this case, $(srcdir)/stamp-po is a nop (i.e. a phony target). + +# $(srcdir)/stamp-po is a timestamp denoting the last time at which the CATALOGS +# have been loosely updated. Its purpose is that when a developer or translator +# checks out the package from a version control system, and the $(DOMAIN).pot +# file is not under version control, "make" will update the $(DOMAIN).pot and +# the $(CATALOGS), but subsequent invocations of "make" will do nothing. This +# timestamp would not be necessary if updating the $(CATALOGS) would always +# touch them; however, the rule for $(POFILES) has been designed to not touch +# files that don't need to be changed. +$(srcdir)/stamp-po: $(srcdir)/$(DOMAIN).pot + test ! -f $(srcdir)/$(DOMAIN).pot || \ + test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES) + @test ! -f $(srcdir)/$(DOMAIN).pot || { \ + echo "touch $(srcdir)/stamp-po" && \ + echo timestamp > $(srcdir)/stamp-poT && \ + mv $(srcdir)/stamp-poT $(srcdir)/stamp-po; \ + } + +# This target rebuilds $(DOMAIN).pot; it is an expensive operation. +# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed. +# The determination of whether the package xyz is a GNU one is based on the +# heuristic whether some file in the top level directory mentions "GNU xyz". +# If GNU 'find' is available, we avoid grepping through monster files. +$(DOMAIN).pot-update: $(POTFILES_DEPS) + package_gnu="$(PACKAGE_GNU)"; \ + test -n "$$package_gnu" || { \ + if { if (LC_ALL=C find --version) 2>/dev/null | grep GNU >/dev/null; then \ + LC_ALL=C find -L $(top_srcdir) -maxdepth 1 -type f -size -10000000c -exec grep -i 'GNU $(PACKAGE)' /dev/null '{}' ';' 2>/dev/null; \ + else \ + LC_ALL=C grep -i 'GNU $(PACKAGE)' $(top_srcdir)/* 2>/dev/null; \ + fi; \ + } | grep -v 'libtool:' >/dev/null; then \ + package_gnu=yes; \ + else \ + package_gnu=no; \ + fi; \ + }; \ + if test "$$package_gnu" = "yes"; then \ + package_prefix='GNU '; \ + else \ + package_prefix=''; \ + fi; \ + if test -n '$(MSGID_BUGS_ADDRESS)'; then \ + msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \ + else \ + msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \ + fi; \ + case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ + '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \ + $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ + --add-comments=TRANSLATORS: \ + --copyright-holder='$(COPYRIGHT_HOLDER)' \ + --msgid-bugs-address="$$msgid_bugs_address" \ + $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ + $(POTFILES) \ + ;; \ + *) \ + $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ + --add-comments=TRANSLATORS: \ + --copyright-holder='$(COPYRIGHT_HOLDER)' \ + --package-name="$${package_prefix}$(PACKAGE)" \ + --package-version='$(VERSION)' \ + --msgid-bugs-address="$$msgid_bugs_address" \ + $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ + $(POTFILES) \ + ;; \ + esac + test ! -f $(DOMAIN).po || { \ + if test -f $(srcdir)/$(DOMAIN).pot-header; then \ + sed -e '1,/^#$$/d' < $(DOMAIN).po > $(DOMAIN).1po && \ + cat $(srcdir)/$(DOMAIN).pot-header $(DOMAIN).1po > $(DOMAIN).po && \ + rm -f $(DOMAIN).1po \ + || exit 1; \ + fi; \ + if test -f $(srcdir)/$(DOMAIN).pot; then \ + sed -f $(srcdir)/remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \ + sed -f $(srcdir)/remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \ + if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \ + rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \ + else \ + rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \ + mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ + fi; \ + else \ + mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ + fi; \ + } + +# This rule has no dependencies: we don't need to update $(DOMAIN).pot at +# every "make" invocation, only create it when it is missing. +# Only "make $(DOMAIN).pot-update" or "make dist" will force an update. +$(srcdir)/$(DOMAIN).pot: + $(MAKE) $(DOMAIN).pot-update + +# This target rebuilds a PO file if $(DOMAIN).pot has changed. +# Note that a PO file is not touched if it doesn't need to be changed. +$(POFILES): $(srcdir)/$(DOMAIN).pot + @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \ + if test -f "$(srcdir)/$${lang}.po"; then \ + test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ + echo "$${cdcmd}$(MSGMERGE_UPDATE) --quiet $(MSGMERGE_OPTIONS) --lang=$${lang} --previous $${lang}.po $(DOMAIN).pot"; \ + cd $(srcdir) \ + && { case `$(MSGMERGE_UPDATE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ + '' | 0.[0-9] | 0.[0-9].* | 0.10 | 0.10.*) \ + $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \ + 0.1[1-5] | 0.1[1-5].*) \ + $(MSGMERGE_UPDATE) --quiet $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \ + 0.1[6-7] | 0.1[6-7].*) \ + $(MSGMERGE_UPDATE) --quiet $(MSGMERGE_OPTIONS) --previous $${lang}.po $(DOMAIN).pot;; \ + *) \ + $(MSGMERGE_UPDATE) --quiet $(MSGMERGE_OPTIONS) --lang=$${lang} --previous $${lang}.po $(DOMAIN).pot;; \ + esac; \ + }; \ + else \ + $(MAKE) $${lang}.po-create; \ + fi + + +install-data-local: install-data-local-@USE_NLS@ +install-data-local-no: all-local +install-data-local-yes: all-local + @catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + cat=`basename $$cat`; \ + lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ + dir=$(localedir)/$$lang/LC_MESSAGES; \ + $(MKDIR_P) $(DESTDIR)$$dir; \ + if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \ + $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \ + echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \ + for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ + if test -n "$$lc"; then \ + if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ + link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ + mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ + mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ + (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ + for file in *; do \ + if test -f $$file; then \ + ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ + fi; \ + done); \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ + else \ + if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ + :; \ + else \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ + mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ + fi; \ + fi; \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ + ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ + ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ + cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ + echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \ + fi; \ + done; \ + done + +installdirs-local: installdirs-local-@USE_NLS@ +installdirs-local-no: +installdirs-local-yes: + @catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + cat=`basename $$cat`; \ + lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ + dir=$(localedir)/$$lang/LC_MESSAGES; \ + $(MKDIR_P) $(DESTDIR)$$dir; \ + for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ + if test -n "$$lc"; then \ + if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ + link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ + mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ + mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ + (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ + for file in *; do \ + if test -f $$file; then \ + ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ + fi; \ + done); \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ + else \ + if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ + :; \ + else \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ + mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ + fi; \ + fi; \ + fi; \ + done; \ + done + +uninstall-local: uninstall-local-@USE_NLS@ +uninstall-local-no: +uninstall-local-yes: + catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + cat=`basename $$cat`; \ + lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ + for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ + done; \ + done + +html ID: + +MOSTLYCLEANFILES = +MOSTLYCLEANFILES += stamp-poT +MOSTLYCLEANFILES += core core.* *.stackdump $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po +MOSTLYCLEANFILES += *.o + +MAINTAINERCLEANFILES = $(DOMAIN).pot stamp-po $(GMOFILES) + +EXTRA_DIST = remove-potcdate.sed LINGUAS $(POFILES) $(GMOFILES) + +# Hidden from automake, but really activated. Works around an automake-1.5 bug. +#distdir: distdir1 +distdir1: + $(MAKE) update-po + $(MAKE) $(srcdir)/stamp-po + @if test -f $(srcdir)/$(DOMAIN).pot; then \ + for file in $(DOMAIN).pot stamp-po; do \ + if test -f $$file; then d=.; else d=$(srcdir); fi; \ + cp -p $$d/$$file $(distdir)/$$file || exit 1; \ + done; \ + else \ + case $(XGETTEXT) in \ + :) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because a suitable 'xgettext' program was not found in PATH." 1>&2;; \ + *) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because 'xgettext' found no strings to extract. Check the POTFILES and the XGETTEXT_OPTIONS in the Makefile.am file." 1>&2;; \ + esac; \ + fi + +update-po: Makefile + $(MAKE) $(DOMAIN).pot-update + test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES) + $(MAKE) update-gmo + +# General rule for creating PO files. + +.nop.po-create: + @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \ + echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \ + exit 1 + +# General rule for updating PO files. + +.nop.po-update: + @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \ + tmpdir=`pwd`; \ + echo "$$lang:"; \ + test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ + echo "$${cdcmd}$(MSGMERGE) --quiet $(MSGMERGE_OPTIONS) --lang=$$lang --previous $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \ + cd $(srcdir); \ + if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ + '' | 0.[0-9] | 0.[0-9].* | 0.10 | 0.10.*) \ + $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ + 0.1[1-5] | 0.1[1-5].*) \ + $(MSGMERGE) --quiet $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ + 0.1[6-7] | 0.1[6-7].*) \ + $(MSGMERGE) --quiet $(MSGMERGE_OPTIONS) --previous -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ + *) \ + $(MSGMERGE) --quiet $(MSGMERGE_OPTIONS) --lang=$$lang --previous -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ + esac; \ + }; then \ + if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ + rm -f $$tmpdir/$$lang.new.po; \ + else \ + if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ + :; \ + else \ + echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ + exit 1; \ + fi; \ + fi; \ + else \ + echo "msgmerge for $$lang.po failed!" 1>&2; \ + rm -f $$tmpdir/$$lang.new.po; \ + fi + +$(DUMMYPOFILES): + +update-gmo: Makefile $(GMOFILES) + @: diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/af.po b/miniconda3/share/doc/gettext/examples/hello-d/po/af.po new file mode 100644 index 0000000000000000000000000000000000000000..234c78baa112faa895b5d253c671f4d63591fa3c --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/af.po @@ -0,0 +1,26 @@ +# Afrikaans translation for Silky +# Copyright (C) 2004 Free Software Foundation, Inc. +# This file is distributed under the same license as the silky package. +# Hanlie Pretorius , 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-d-0.13.1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2003-12-31 10:30+2\n" +"Last-Translator: Ysbeer \n" +"Language-Team: Afrikaans \n" +"Language: af\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.d.in:27 +msgid "Hello, world!" +msgstr "Hallo wêreld!" + +#: hello.d.in:28 +#, d-format +msgid "This program is running as process number %d." +msgstr "Hierdie program loop as prosesnommer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/ast.po b/miniconda3/share/doc/gettext/examples/hello-d/po/ast.po new file mode 100644 index 0000000000000000000000000000000000000000..4b4501d7b2175b34f212c4eb55d6b1f6dfe12432 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/ast.po @@ -0,0 +1,29 @@ +# Asturian translation for hello-d +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Marquinos , 2009. +# enolp , 2018. +msgid "" +msgstr "" +"Project-Id-Version: hello-d 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2018-07-16 00:28+0100\n" +"Last-Translator: enolp \n" +"Language-Team: Asturian \n" +"Language: ast\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Lokalize 2.0\n" + +#: hello.d.in:27 +msgid "Hello, world!" +msgstr "¡Hola, mundu!" + +#: hello.d.in:28 +#, d-format +msgid "This program is running as process number %d." +msgstr "Esti programa ta executándose como procesu númberu %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/bg.po b/miniconda3/share/doc/gettext/examples/hello-d/po/bg.po new file mode 100644 index 0000000000000000000000000000000000000000..c28b1b591bcbefaca0eb816ed514d5a2f18ae761 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/bg.po @@ -0,0 +1,26 @@ +# Bulgarian translations for hello-d package. +# Copyright (C) 2010 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Roumen Petrov , 2010,2014,2015,2019,2023,2024.2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-d 0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-08 19:09+0200\n" +"Last-Translator: Roumen Petrov \n" +"Language-Team: Bulgarian \n" +"Language: bg\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.d.in:27 +msgid "Hello, world!" +msgstr "Здравейте всички!" + +#: hello.d.in:28 +#, d-format +msgid "This program is running as process number %d." +msgstr "Програмата е пусната под процес номер %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/ca.po b/miniconda3/share/doc/gettext/examples/hello-d/po/ca.po new file mode 100644 index 0000000000000000000000000000000000000000..d2c59b29fbd59175f638be37381644a68aec9c03 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/ca.po @@ -0,0 +1,27 @@ +# Catalan messages for GNU hello-d. +# Copyright (C) 2003, 2014, 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Ivan Vilata i Balaguer , 2003, 2014, 2015, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-d 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-07-07 08:36+0200\n" +"Last-Translator: Ivan Vilata i Balaguer \n" +"Language-Team: Catalan \n" +"Language: ca\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.d.in:27 +msgid "Hello, world!" +msgstr "Hola, món!" + +#: hello.d.in:28 +#, d-format +msgid "This program is running as process number %d." +msgstr "Aquest programa està corrent amb el número de procés %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/cs.po b/miniconda3/share/doc/gettext/examples/hello-d/po/cs.po new file mode 100644 index 0000000000000000000000000000000000000000..fcf099b3aba318f4729b8f7253f1fb3a277eb5ba --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/cs.po @@ -0,0 +1,29 @@ +# The Czech translation for the gettext package. +# Copyright (C) 2011 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Marek Černocký , 2011. +# Petr Písař , 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-d 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 20:05+02:00\n" +"Last-Translator: Petr Pisar \n" +"Language-Team: Czech \n" +"Language: cs\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#: hello.d.in:27 +msgid "Hello, world!" +msgstr "Ahoj světe!" + +#: hello.d.in:28 +#, d-format +msgid "This program is running as process number %d." +msgstr "Tento program běží jako proces číslo %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/da.po b/miniconda3/share/doc/gettext/examples/hello-d/po/da.po new file mode 100644 index 0000000000000000000000000000000000000000..74cdb5a8e08a89db4830c0018046aff2c7daa6cb --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/da.po @@ -0,0 +1,28 @@ +# Danish messages for hello-d. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Jan Djærv , 2003, 2006. +# Keld Simonsen , 2011. +# Joe Hansen , 2015. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-d 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-06-27 12:39+0100\n" +"Last-Translator: Joe Hansen \n" +"Language-Team: Danish \n" +"Language: da\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.d.in:27 +msgid "Hello, world!" +msgstr "Hej verden!" + +#: hello.d.in:28 +#, d-format +msgid "This program is running as process number %d." +msgstr "Dette program kører som proces nummer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/de.po b/miniconda3/share/doc/gettext/examples/hello-d/po/de.po new file mode 100644 index 0000000000000000000000000000000000000000..5893a5e86f2b9e54b1a77df884cf5cdca8e84443 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/de.po @@ -0,0 +1,32 @@ +# German messages for hello-d. +# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Bruno Haible , 2003. +# Karl Eichwalder , 2003. +# Jakob Kramer , 2013. +# Mario Blättermann , 2014, 2023, 2025. +# Philipp Thomas , 2015. +msgid "" +msgstr "" +"Project-Id-Version: hello-d 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 17:15+0200\n" +"Last-Translator: Mario Blättermann \n" +"Language-Team: German \n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 25.04.0\n" + +#: hello.d.in:27 +msgid "Hello, world!" +msgstr "Hallo Welt!" + +#: hello.d.in:28 +#, d-format +msgid "This program is running as process number %d." +msgstr "Dieses Programm läuft mit der Prozess-Nummer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/el.po b/miniconda3/share/doc/gettext/examples/hello-d/po/el.po new file mode 100644 index 0000000000000000000000000000000000000000..44521379def641e22c964d83c7e45aad6ca9803e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/el.po @@ -0,0 +1,26 @@ +# Greek translation of hello-d +# Copyright (C) 2005 Free Software Foundation, Inc. +# Simos Xenitellis , 2005. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-d 0.14.1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2005-01-06 18:50+0000\n" +"Last-Translator: Simos Xenitellis \n" +"Language-Team: Greek \n" +"Language: el\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: KBabel 1.3.1\n" + +#: hello.d.in:27 +msgid "Hello, world!" +msgstr "Γεια σου, κόσμε!" + +#: hello.d.in:28 +#, d-format +msgid "This program is running as process number %d." +msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/eo.po b/miniconda3/share/doc/gettext/examples/hello-d/po/eo.po new file mode 100644 index 0000000000000000000000000000000000000000..d0f2b1758d3457116f0d7eb05e7b99f0106808a2 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/eo.po @@ -0,0 +1,28 @@ +# La teksto por la mesaĝoj de la programo "gettext". +# Copyright (C) 2006, 2016 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Edmund GRIMLEY EVANS , 2006. +# Felipe CASTRO , 2016, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-d 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-23 19:00-0300\n" +"Last-Translator: Felipe Castro \n" +"Language-Team: Esperanto \n" +"Language: eo\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.d.in:27 +msgid "Hello, world!" +msgstr "Saluton, mondo!" + +#: hello.d.in:28 +#, d-format +msgid "This program is running as process number %d." +msgstr "Ĉi tiu programo rulas kiel procez-numero %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/es.po b/miniconda3/share/doc/gettext/examples/hello-d/po/es.po new file mode 100644 index 0000000000000000000000000000000000000000..e18ab908f6ae97e7e8e985d649f0ff9b54db4ec0 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/es.po @@ -0,0 +1,30 @@ +# Mensajes en español para GNU gettext. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# +# This file is distributed under the same license as the gettext package. +# +# Max de Mendizábal , 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004. +# Antonio Ceballos , 2014, 2015, 2023, 2025 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-d-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-02-23 17:01+0100\n" +"Last-Translator: Antonio Ceballos \n" +"Language-Team: Spanish \n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.d.in:27 +msgid "Hello, world!" +msgstr "¡Hola, mundo!" + +#: hello.d.in:28 +#, d-format +msgid "This program is running as process number %d." +msgstr "Este programa está corriendo como el proceso número %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/fi.po b/miniconda3/share/doc/gettext/examples/hello-d/po/fi.po new file mode 100644 index 0000000000000000000000000000000000000000..5a39801f42859ae7e9e52a43b1d8fa173615f6a9 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/fi.po @@ -0,0 +1,29 @@ +# Finnish messages for GNU Gettext examples. +# This file is distributed under the same license as the gettext package. +# Copyright © 2007, 2014, 2015 Yoyodyne, Inc. (msgids) +# Lauri Nurmi , 2007. +# Jorma Karvonen , 2014-2015. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-d 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-09-01 16:59+0300\n" +"Last-Translator: Jorma Karvonen \n" +"Language-Team: Finnish \n" +"Language: fi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 1.5.4\n" + +# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti. +#: hello.d.in:27 +msgid "Hello, world!" +msgstr "Terve maailma!" + +#: hello.d.in:28 +#, d-format +msgid "This program is running as process number %d." +msgstr "Tämän ohjelman prosessinumero on %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/fr.po b/miniconda3/share/doc/gettext/examples/hello-d/po/fr.po new file mode 100644 index 0000000000000000000000000000000000000000..89d8ac93855f43407814dec85120e5cc5fc07588 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/fr.po @@ -0,0 +1,32 @@ +# Messages français pour GNU gettext. +# Copyright (C) 2006 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Michel Robitaille , 2006. +# Christophe Combelles , 2006 +# Stéphane Aulery , 2015 +# Christian Wiatr , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-d 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-28 16:25+0200\n" +"Last-Translator: Christian Wiatr \n" +"Language-Team: French \n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.d.in:27 +msgid "Hello, world!" +msgstr "Bonjour, le monde !" + +#: hello.d.in:28 +#, d-format +msgid "This program is running as process number %d." +msgstr "Ce programme est exécuté en tant que processus numéro %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/ga.po b/miniconda3/share/doc/gettext/examples/hello-d/po/ga.po new file mode 100644 index 0000000000000000000000000000000000000000..6abba8d5692c35dec6e1ac00dda7f7e34bd3e18c --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/ga.po @@ -0,0 +1,26 @@ +# Irish translations for hello-d. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Kevin Patrick Scannell , 2004, 2017. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-d 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2017-01-10 12:09-0500\n" +"Last-Translator: Kevin Patrick Scannell \n" +"Language-Team: Irish \n" +"Language: ga\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.d.in:27 +msgid "Hello, world!" +msgstr "Dia duit, a dhomhain!" + +#: hello.d.in:28 +#, d-format +msgid "This program is running as process number %d." +msgstr "Tá an clár seo ag rith mar phróiseas %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/gl.po b/miniconda3/share/doc/gettext/examples/hello-d/po/gl.po new file mode 100644 index 0000000000000000000000000000000000000000..453ec16c929494a24cca91da9b41c23b4dc1854e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/gl.po @@ -0,0 +1,31 @@ +# Galician translation for hello-d package. +# Copyright (C) 2010 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Leandro Regueiro , 2010-2014. +# +# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas +# colaborar connosco, podes atopar máis información en +# +msgid "" +msgstr "" +"Project-Id-Version: hello-d 0.19-rc1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2014-05-10 16:34+0100\n" +"Last-Translator: Leandro Regueiro \n" +"Language-Team: Galician \n" +"Language: gl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n!=1);\n" + +#: hello.d.in:27 +msgid "Hello, world!" +msgstr "Ola, mundo!" + +#: hello.d.in:28 +#, d-format +msgid "This program is running as process number %d." +msgstr "Este programa estase executando como o proceso número %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/hr.po b/miniconda3/share/doc/gettext/examples/hello-d/po/hr.po new file mode 100644 index 0000000000000000000000000000000000000000..25aca719ae723dfd6567dae0fc151b72db37069b --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/hr.po @@ -0,0 +1,33 @@ +# Translation of hello-d to Croatian. +# Copyright (C) 2003, 2004, 2014, 2015, 2019 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Permission is granted to freely copy and distribute +# this file and modified versions, provided that this +# header is not removed and modified versions are marked +# as such. +# +# Tomislav Krznar , 2012. +# Božidar Putanec , 2018-2025. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-d 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 10:15-0700\n" +"Last-Translator: Božidar Putanec \n" +"Language-Team: Croatian \n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.d.in:27 +msgid "Hello, world!" +msgstr "Pozdrav, svijete!" + +#: hello.d.in:28 +#, d-format +msgid "This program is running as process number %d." +msgstr "Ovaj program se izvršava kao proces broj %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/hu.po b/miniconda3/share/doc/gettext/examples/hello-d/po/hu.po new file mode 100644 index 0000000000000000000000000000000000000000..440a7b547a8cccbc97c4a16ef3199166f59a21b8 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/hu.po @@ -0,0 +1,29 @@ +# Hungarian translation for hello-d. +# This file is distributed under the same license as the gettext package. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# +# Tamás Kiss , 2005. +# Balázs Úr , 2014, 2015. +msgid "" +msgstr "" +"Project-Id-Version: hello-d 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-06-23 20:31+0200\n" +"Last-Translator: Balázs Úr \n" +"Language-Team: Hungarian \n" +"Language: hu\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 1.2\n" + +#: hello.d.in:27 +msgid "Hello, world!" +msgstr "Hello, világ!" + +#: hello.d.in:28 +#, d-format +msgid "This program is running as process number %d." +msgstr "Ez a program a(z) %d folyamatazonosítóval fut." diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/id.po b/miniconda3/share/doc/gettext/examples/hello-d/po/id.po new file mode 100644 index 0000000000000000000000000000000000000000..caddd0c18c7542ba3632b341cd0c60379115db1e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/id.po @@ -0,0 +1,27 @@ +# translation of hello-d-0.15-pre5.po to Indonesian +# Copyright (C) 2006 Yoyodyne, Inc. +# This file is distributed under the same license as the PACKAGE package. +# +# Tedi Heriyanto , 2006. +msgid "" +msgstr "" +"Project-Id-Version: hello-d-0.15-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2006-09-27 20:19+0700\n" +"Last-Translator: Tedi Heriyanto \n" +"Language-Team: Indonesian \n" +"Language: id\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: KBabel 1.11.2\n" + +#: hello.d.in:27 +msgid "Hello, world!" +msgstr "Hello, world!" + +#: hello.d.in:28 +#, d-format +msgid "This program is running as process number %d." +msgstr "Program ini berjalan sebagai proses nomor %d" diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/it.po b/miniconda3/share/doc/gettext/examples/hello-d/po/it.po new file mode 100644 index 0000000000000000000000000000000000000000..099f2bd50278a2af34219ace796dc7821de02201 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/it.po @@ -0,0 +1,29 @@ +# Italian messages for hello-d. +# Copyright (C) 2005, 2006 Yoyodyne, Inc. (msgids) +# Copyright (C) 2024 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Marco Colombo , 2005, 2006, 2015. +# Michele Locati , 2024, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-d 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-04 18:28+0200\n" +"Last-Translator: Michele Locati \n" +"Language-Team: Italian \n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.d.in:27 +msgid "Hello, world!" +msgstr "Ciao, mondo!" + +#: hello.d.in:28 +#, d-format +msgid "This program is running as process number %d." +msgstr "Questo programma è in esecuzione con numero di processo %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/ja.po b/miniconda3/share/doc/gettext/examples/hello-d/po/ja.po new file mode 100644 index 0000000000000000000000000000000000000000..42902e01d752b223a1b4492727474457fa887f46 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/ja.po @@ -0,0 +1,26 @@ +# Translation of `hello-d' messages to Japanese. +# Copyright (C) 2005, 2006, 2014, 2015, 2023, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Masahito Yamaga , 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-d 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 19:59+0900\n" +"Last-Translator: Masahito Yamaga \n" +"Language-Team: Japanese \n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.d.in:27 +msgid "Hello, world!" +msgstr "世界よ, こんにちは!" + +#: hello.d.in:28 +#, d-format +msgid "This program is running as process number %d." +msgstr "このプログラムはプロセス番号 %d で動いています." diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/ka.po b/miniconda3/share/doc/gettext/examples/hello-d/po/ka.po new file mode 100644 index 0000000000000000000000000000000000000000..2c93d8f71bcc0476eb782ab02ea95fb96ba8392f --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/ka.po @@ -0,0 +1,28 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Temuri Doghonadze , 2022. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-d 0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2022-05-22 05:04+0200\n" +"Last-Translator: Temuri Doghonadze \n" +"Language-Team: Georgian <(nothing)>\n" +"Language: ka\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 3.0.1\n" + +#: hello.d.in:27 +msgid "Hello, world!" +msgstr "გამარჯობა სამყაროვ!" + +#: hello.d.in:28 +#, d-format +msgid "This program is running as process number %d." +msgstr "პროგრამა გაშვებულია პროცესის ნომრით %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/ky.po b/miniconda3/share/doc/gettext/examples/hello-d/po/ky.po new file mode 100644 index 0000000000000000000000000000000000000000..fe0a96e45ade30bb597308ca733c88942ccc4cae --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/ky.po @@ -0,0 +1,28 @@ +# Translation of 'hello-d' messages to Kirghiz. +# Copyright (C) 2004 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Ilyas Bakirov , 2007. +# Ilyas Bakirov , 2018. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-d 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2018-02-15 18:26+0600\n" +"Last-Translator: Ilyas Bakirov \n" +"Language-Team: Kirghiz \n" +"Language: ky\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 2.0.6\n" + +#: hello.d.in:27 +msgid "Hello, world!" +msgstr "Салам дүйнө!" + +#: hello.d.in:28 +#, d-format +msgid "This program is running as process number %d." +msgstr "Бул программа %d процесс номери катары иштеп жатат." diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/lv.po b/miniconda3/share/doc/gettext/examples/hello-d/po/lv.po new file mode 100644 index 0000000000000000000000000000000000000000..f954f4fed24ff43c65a7ce568835de26ead1609a --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/lv.po @@ -0,0 +1,30 @@ +# Latvian translation of hello-d +# Copyright (C) 2009 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Arvis Lācis , 2009. +# Rihards Priedītis , 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-d-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-09 11:44+0000\n" +"Last-Translator: Rihards Priedītis \n" +"Language-Team: Latvian \n" +"Language: lv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : " +"2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.d.in:27 +msgid "Hello, world!" +msgstr "Sveika, pasaule!" + +#: hello.d.in:28 +#, d-format +msgid "This program is running as process number %d." +msgstr "Šī programma darbojas ar procesa numuru %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/ms.po b/miniconda3/share/doc/gettext/examples/hello-d/po/ms.po new file mode 100644 index 0000000000000000000000000000000000000000..378adf0dcfcf43653ef942e5dc26e16d71f4c22d --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/ms.po @@ -0,0 +1,28 @@ +# hello-d Bahasa Melayu (Malay) (ms). +# Copyright (C) 2006, 2015, 2023, 2025 Yoyodyne, Inc. (msgids) +# Copyright (C) 2006, 2015, 2023, 2025 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Sharuzzaman Ahmat Raslan , 2006, 2015, 2023, 2025 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-d 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-03 21:10+0800\n" +"Last-Translator: Sharuzzaman Ahmat Raslan \n" +"Language-Team: Malay \n" +"Language: ms\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.d.in:27 +msgid "Hello, world!" +msgstr "Hello, dunia!" + +#: hello.d.in:28 +#, d-format +msgid "This program is running as process number %d." +msgstr "Program ini dilaksanakan sebagai proses bernombor %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/mt.po b/miniconda3/share/doc/gettext/examples/hello-d/po/mt.po new file mode 100644 index 0000000000000000000000000000000000000000..933fa9490df234475b09f1ca128d404919beb6e5 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/mt.po @@ -0,0 +1,27 @@ +# hello-d-0.16.2-pre5. +# Copyright (C) 2008 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Clyde Meli , 2001-2008. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: hello-d 0.16.2-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2008-11-18 17:27+0100\n" +"Last-Translator: Clyde Meli \n" +"Language-Team: Maltese \n" +"Language: mt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.d.in:27 +msgid "Hello, world!" +msgstr "Hello, lil kulħadd!" + +#: hello.d.in:28 +#, d-format +msgid "This program is running as process number %d." +msgstr "Dal-programm qed jaħdem taħt il-proċess numru %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/nb.po b/miniconda3/share/doc/gettext/examples/hello-d/po/nb.po new file mode 100644 index 0000000000000000000000000000000000000000..659b873b42cf59d26a491c80b454c6c0d1a9619a --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/nb.po @@ -0,0 +1,29 @@ +# Norwegian Bokmal translations for hello-d package. +# Copyright (C) 2012 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Johnny A. Solbu , 2012-2024 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-d 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-01-06 16:33+0100\n" +"Last-Translator: Johnny A. Solbu \n" +"Language-Team: Norwegian Bokmaal \n" +"Language: nb\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.d.in:27 +msgid "Hello, world!" +msgstr "Hallo verden!" + +#: hello.d.in:28 +#, d-format +msgid "This program is running as process number %d." +msgstr "Dette programmet kjører som prosess nummer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/nl.po b/miniconda3/share/doc/gettext/examples/hello-d/po/nl.po new file mode 100644 index 0000000000000000000000000000000000000000..dc1f2732c94fbeab3c12d2b37e916003f722e4da --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/nl.po @@ -0,0 +1,31 @@ +# Dutch translations for GNU hello-d. +# Copyright (C) 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# "There are three basic rules for writing a novel. +# Unfortunately nobody knows what they are." +# +# Benno Schulenberg , 2007, 2014, 2015, 2019, 2025. +# Elros Cyriatan , 2004. +msgid "" +msgstr "" +"Project-Id-Version: hello-d-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-01 14:51+0100\n" +"Last-Translator: Benno Schulenberg \n" +"Language-Team: Dutch \n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.d.in:27 +msgid "Hello, world!" +msgstr "Hallo, wereld!" + +#: hello.d.in:28 +#, d-format +msgid "This program is running as process number %d." +msgstr "Dit programma draait als proces nummer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/nn.po b/miniconda3/share/doc/gettext/examples/hello-d/po/nn.po new file mode 100644 index 0000000000000000000000000000000000000000..a7b8252a8a2ccf5409daf66c2ae705069bc0fa26 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/nn.po @@ -0,0 +1,28 @@ +# Norwegian Nynorsk translation of GNU hello-d +# Copyright (C) 2020 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Karl Ove Hufthammer , 2020. +msgid "" +msgstr "" +"Project-Id-Version: hello-d-0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2020-05-04 18:58+0200\n" +"Last-Translator: Karl Ove Hufthammer \n" +"Language-Team: Norwegian Nynorsk \n" +"Language: nn\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 20.04.0\n" + +#: hello.d.in:27 +msgid "Hello, world!" +msgstr "Hei, verda!" + +#: hello.d.in:28 +#, d-format +msgid "This program is running as process number %d." +msgstr "Dette programmet køyrer som prosess nummer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/pl.po b/miniconda3/share/doc/gettext/examples/hello-d/po/pl.po new file mode 100644 index 0000000000000000000000000000000000000000..b333cac402ba7a4a45b440f377fb295dee72dab5 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/pl.po @@ -0,0 +1,27 @@ +# Polish translations for the GNU gettext messages, hello-d domain +# Copyright (C) 2010, 2014, 2015, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Rafał Maszkowski , 2003, 2010, 2014, 2015, 2025 +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-d 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-25 17:16+0200\n" +"Last-Translator: Rafał Maszkowski \n" +"Language-Team: Polish \n" +"Language: pl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8-bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " +"|| n%100>=20) ? 1 : 2);\n" + +#: hello.d.in:27 +msgid "Hello, world!" +msgstr "Cześć, świecie!" + +#: hello.d.in:28 +#, d-format +msgid "This program is running as process number %d." +msgstr "Ten program działa jako proces o numerze %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/pt.po b/miniconda3/share/doc/gettext/examples/hello-d/po/pt.po new file mode 100644 index 0000000000000000000000000000000000000000..9b560d06a13244131e60a7c175163f6665e47517 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/pt.po @@ -0,0 +1,28 @@ +# Portuguese (Portugal) translation of 'hello-d' package. +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Pedro Albuquerque , 2019, 2020, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-d 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 11:24+0100\n" +"Last-Translator: Pedro Albuquerque \n" +"Language-Team: Portuguese \n" +"Language: pt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\\n;\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.6\n" + +#: hello.d.in:27 +msgid "Hello, world!" +msgstr "Olá mundo!" + +#: hello.d.in:28 +#, d-format +msgid "This program is running as process number %d." +msgstr "Este programa está em execução como processo nº %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/pt_BR.po b/miniconda3/share/doc/gettext/examples/hello-d/po/pt_BR.po new file mode 100644 index 0000000000000000000000000000000000000000..e2c3666e2908000c1094aa90a31fc7e96caef5ea --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/pt_BR.po @@ -0,0 +1,31 @@ +# Brazilian Portuguese translations for gettext-example +# Traduções em português brasileiro para gettext-example +# Copyright (C) 2025 Yoyodyne, Inc. (msgids) +# Copyright (C) 2025 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Rafael Fontenelle , 2013-2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-d 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 10:24-0300\n" +"Last-Translator: Rafael Fontenelle \n" +"Language-Team: Brazilian Portuguese \n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Gtranslator 48.0\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.d.in:27 +msgid "Hello, world!" +msgstr "Olá, mundo!" + +#: hello.d.in:28 +#, d-format +msgid "This program is running as process number %d." +msgstr "Este programa está sendo executado com número de processo %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/ro.po b/miniconda3/share/doc/gettext/examples/hello-d/po/ro.po new file mode 100644 index 0000000000000000000000000000000000000000..b0d198757efbb077b3ed145fc1da2964820f685d --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/ro.po @@ -0,0 +1,50 @@ +# Translation of "hello-d" messages to Romanian. +# Mesajele în limba română pentru pachetul hello-d. +# Copyright © 2015, 2019, 2022, 2023, 2024, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Eugen Hoancă , 2003. +# Mihai Cristescu , 2015 - 2019. +# Remus-Gabriel Chelu , 2022 - 2025. +# +# Cronologia traducerii fișierului „hello-d”: +# Traducerea inițială, făcută de EH, pentru versiunea hello-d 0.12.1, 2003. +# Actualizare a traducerii pentru versiunea hello-d 0.19.4-rc1, făcută de MC, mar-2015. +# Actualizare a traducerii pentru versiunea hello-d 0.19.4.73, făcută de MC, iun-2015. +# Actualizare a traducerii pentru versiunea hello-d 0.20-rc1, făcută de MC, apr-2019. +# Actualizare a mesajelor, de la fișierul „hello-d-0.20.2.pot”. +# Actualizare a algoritmului formelor de plural (de la „trei-vechi” la „trei-actual”). +# NU și a mesajelor traduse (acestea au rămas neschimbate). +# Eliminare a mesajelor ce-au dispărut în ultima versiune. +# Actualizări realizate de Remus-Gabriel Chelu , 15.01.2022. +# Actualizare a traducerii pentru versiunea 0.20.2 făcută de R-GC, ian-2022. +# Actualizare a traducerii pentru versiunea 0.22 făcută de R-GC, iun-2023. +# Revizuire și corectare a traducerii pentru versiunea 0.23-pre1 făcută de R-GC, oct-2024. +# Actualizare a traducerii pentru versiunea 0.24-pre1 făcută de R-GC, feb-2025. +# Actualizare a traducerii pentru versiunea 0.25-pre1 făcută de R-GC, apr-2025. +# Actualizare a traducerii pentru versiunea Y, făcută de X, Z(luna-anul). +# +msgid "" +msgstr "" +"Project-Id-Version: hello-d 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-29 00:25+0200\n" +"Last-Translator: Remus-Gabriel Chelu \n" +"Language-Team: Romanian \n" +"Language: ro\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " +"20)) ? 1 : 2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.d.in:27 +msgid "Hello, world!" +msgstr "Salutare, lume!" + +#: hello.d.in:28 +#, d-format +msgid "This program is running as process number %d." +msgstr "Acest program rulează ca procesul numărul %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/ru.po b/miniconda3/share/doc/gettext/examples/hello-d/po/ru.po new file mode 100644 index 0000000000000000000000000000000000000000..7d6e0bfaba842ff0bcdc13a693bbaad19a3ab02b --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/ru.po @@ -0,0 +1,30 @@ +# Translation of hello-d-0.14.1.po to Russian +# Copyright (C) 2004 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Pavel Maryanov , 2004. +# SPDX-FileCopyrightText: 2014, 2015, 2023, 2025 Yuri Kozlov +msgid "" +msgstr "" +"Project-Id-Version: hello-d 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-02 09:17+0300\n" +"Last-Translator: Yuri Kozlov \n" +"Language-Team: Russian \n" +"Language: ru\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Lokalize 24.12.0\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#: hello.d.in:27 +msgid "Hello, world!" +msgstr "Здравствуй, мир!" + +#: hello.d.in:28 +#, d-format +msgid "This program is running as process number %d." +msgstr "Эта программа выполняется как процесс под номером %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/sk.po b/miniconda3/share/doc/gettext/examples/hello-d/po/sk.po new file mode 100644 index 0000000000000000000000000000000000000000..e9ad3000f699aa0ead99e93ff0b080ef02eb82fa --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/sk.po @@ -0,0 +1,26 @@ +# Slovak translations GNU for hello-d package. +# Copyright (C) 2003, 2004, 2014, 2023, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Marcel Telka , 2003, 2004, 2014, 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-d 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 13:53+0200\n" +"Last-Translator: Marcel Telka \n" +"Language-Team: Slovak \n" +"Language: sk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.d.in:27 +msgid "Hello, world!" +msgstr "Ahoj svet!" + +#: hello.d.in:28 +#, d-format +msgid "This program is running as process number %d." +msgstr "Tento program beží ako proces s číslom %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/sl.po b/miniconda3/share/doc/gettext/examples/hello-d/po/sl.po new file mode 100644 index 0000000000000000000000000000000000000000..6c621ee55fb85e3a958370925bb411578723f444 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/sl.po @@ -0,0 +1,29 @@ +# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example +# Copyright (C) 2005 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Primož Peterlin , 2005, 2014, 2015, 2024. +# $Id: hello-d-0.22.sl.po,v 1.1 2024/03/28 17:02:19 peterlin Exp $ +msgid "" +msgstr "" +"Project-Id-Version: hello-d 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-03-28 18:02+0100\n" +"Last-Translator: Primož Peterlin \n" +"Language-Team: Slovenian \n" +"Language: sl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8-bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || " +"n%100==4 ? 3 : 0);\n" + +#: hello.d.in:27 +msgid "Hello, world!" +msgstr "Pozdravljen, svet!" + +#: hello.d.in:28 +#, d-format +msgid "This program is running as process number %d." +msgstr "Ta program teče kot proces številka %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/sq.po b/miniconda3/share/doc/gettext/examples/hello-d/po/sq.po new file mode 100644 index 0000000000000000000000000000000000000000..558b5561e53ec84846b0bbe6c2a009054b50f6f9 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/sq.po @@ -0,0 +1,28 @@ +# Albanian translation of gettext-example. +# Copyright (C) 2020 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Besnik Bleta , 2020,2023,2024,2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-d-0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 19:56+0300\n" +"Last-Translator: Besnik Bleta \n" +"Language-Team: Albanian \n" +"Language: sq\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.2.2\n" + +#: hello.d.in:27 +msgid "Hello, world!" +msgstr "Tungjatjeta, botë!" + +#: hello.d.in:28 +#, d-format +msgid "This program is running as process number %d." +msgstr "Ky program po xhiron si procesi numër %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/sr.po b/miniconda3/share/doc/gettext/examples/hello-d/po/sr.po new file mode 100644 index 0000000000000000000000000000000000000000..83c06fac1820f79352e1f0e7af2b74d3e3bf2ceb --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/sr.po @@ -0,0 +1,30 @@ +# Serbian translation of hello-d. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Aleksandar Jelenak , 2004. +# Мирослав Николић , 2014-2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-d-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-02 16:51+0100\n" +"Last-Translator: Мирослав Николић \n" +"Language-Team: Serbian <(nothing)>\n" +"Language: sr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.d.in:27 +msgid "Hello, world!" +msgstr "Здраво, свима!" + +#: hello.d.in:28 +#, d-format +msgid "This program is running as process number %d." +msgstr "Овај програм се извршава као процес број %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/sv.po b/miniconda3/share/doc/gettext/examples/hello-d/po/sv.po new file mode 100644 index 0000000000000000000000000000000000000000..ebe06ca9bae2fb2cc2cd40856c4031d75bbda673 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/sv.po @@ -0,0 +1,30 @@ +# Swedish messages for hello-d. +# Copyright © 2006, 2014, 2016, 2019, 2020, 2023, 2024, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Jan Djärv , 2003, 2006, 2014. +# Göran Uddeborg , 2016, 2019, 2020, 2023, 2024, 2025. +# Luna Jernberg , 2025. +# $Revision: 1.12 $ +msgid "" +msgstr "" +"Project-Id-Version: hello-d 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 12:18+0200\n" +"Last-Translator: Luna Jernberg \n" +"Language-Team: Swedish \n" +"Language: sv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.d.in:27 +msgid "Hello, world!" +msgstr "Hej världen!" + +#: hello.d.in:28 +#, d-format +msgid "This program is running as process number %d." +msgstr "Detta program kör som process nummer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/ta.po b/miniconda3/share/doc/gettext/examples/hello-d/po/ta.po new file mode 100644 index 0000000000000000000000000000000000000000..2f10eefa5dac514bf6cf6a7c304e91ddc011a27d --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/ta.po @@ -0,0 +1,28 @@ +# Tamil messages for GNU gettext. +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# List of contributors follow: +# Poorajith , 2018. +# Arun Isaac , 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-d 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-19 00:06+0100\n" +"Last-Translator: Arun Isaac \n" +"Language-Team: Tamil \n" +"Language: ta\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.d.in:27 +msgid "Hello, world!" +msgstr "வணக்கம், உலகு!" + +#: hello.d.in:28 +#, d-format +msgid "This program is running as process number %d." +msgstr "இந்நிரல் செயலாக்க எண் %d ஆக இயங்கிக்கொண்டிருக்கிறது." diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/tr.po b/miniconda3/share/doc/gettext/examples/hello-d/po/tr.po new file mode 100644 index 0000000000000000000000000000000000000000..7472779f44a623a22f4908e921f6ef5953783fe0 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/tr.po @@ -0,0 +1,29 @@ +# Turkish translation for hello-d. +# This file is distributed under the same license as the gettext package. +# Copyright (C) 2017 Yoyodyne, Inc. (msgids) +# Copyright (C) 2004 Free Software Foundation, Inc. +# Nilgün Belma Bugüner , 2003,2004 +# Mehmet Kececi , 2017, 2019, 2020. +msgid "" +msgstr "" +"Project-Id-Version: hello-d 0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2020-04-17 13:10+0300\n" +"Last-Translator: Mehmet Kececi \n" +"Language-Team: Turkish \n" +"Language: tr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Poedit 2.3\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.d.in:27 +msgid "Hello, world!" +msgstr "Merhaba, dünya!" + +#: hello.d.in:28 +#, d-format +msgid "This program is running as process number %d." +msgstr "Bu yazılım %d işlem numarası ile çalışıyor." diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/uk.po b/miniconda3/share/doc/gettext/examples/hello-d/po/uk.po new file mode 100644 index 0000000000000000000000000000000000000000..dbca74b3ed35aa46601d7b4e3547617d76263bba --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/uk.po @@ -0,0 +1,30 @@ +# Ukrainian translation to hello-d +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Maxim V. Dziumanenko , 2004-2007. +# Yuri Chornoivan , 2014, 2015, 2023, 2025. +msgid "" +msgstr "" +"Project-Id-Version: hello-d 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 13:56+0300\n" +"Last-Translator: Yuri Chornoivan \n" +"Language-Team: Ukrainian \n" +"Language: uk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Generator: Lokalize 23.04.3\n" + +#: hello.d.in:27 +msgid "Hello, world!" +msgstr "Привіт, світе!" + +#: hello.d.in:28 +#, d-format +msgid "This program is running as process number %d." +msgstr "Ця програма виконується як процес з номером %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/vi.po b/miniconda3/share/doc/gettext/examples/hello-d/po/vi.po new file mode 100644 index 0000000000000000000000000000000000000000..a9af302b1339d0b45529026dd3a3a0b57613d565 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/vi.po @@ -0,0 +1,30 @@ +# Vietnamese Translation for Gettext Examples. +# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext. +# Copyright © 2015 Yoyodyne, Inc. (msgids) +# Copyright © 2015 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Clytie Siddall , 2005-2010. +# Trần Ngọc Quân , 2012-2015, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-d 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-24 09:10+0700\n" +"Last-Translator: Trần Ngọc Quân \n" +"Language-Team: Vietnamese \n" +"Language: vi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: hello.d.in:27 +msgid "Hello, world!" +msgstr "Chào thế giới!" + +#: hello.d.in:28 +#, d-format +msgid "This program is running as process number %d." +msgstr "Chương trình này đang chạy với mã số tiến trình %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/zh_CN.po b/miniconda3/share/doc/gettext/examples/hello-d/po/zh_CN.po new file mode 100644 index 0000000000000000000000000000000000000000..e7f13973fad964781895620e8307e9134816c74a --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/zh_CN.po @@ -0,0 +1,29 @@ +# zh_CN translation for hello-d. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Funda Wang , 2003. +# Ji ZhengYu , 2015. +# Boyuan Yang <073plan@gmail.com>, 2019, 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-d 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-29 15:56-0400\n" +"Last-Translator: Boyuan Yang <073plan@gmail.com>\n" +"Language-Team: Chinese (simplified) \n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.6\n" + +#: hello.d.in:27 +msgid "Hello, world!" +msgstr "你好,世界!" + +#: hello.d.in:28 +#, d-format +msgid "This program is running as process number %d." +msgstr "此程序正以进程号 %d 运行。" diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/zh_HK.po b/miniconda3/share/doc/gettext/examples/hello-d/po/zh_HK.po new file mode 100644 index 0000000000000000000000000000000000000000..c95e424766fcab1929bbc6905c904b1818139f52 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/zh_HK.po @@ -0,0 +1,25 @@ +# Chinese (Hong Kong) translation of hello-d. +# Copyright (C) 2006 Yoyodyne, Inc. +# Abel Cheung , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-d 0.15-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2006-07-05 15:40+0800\n" +"Last-Translator: Abel Cheung \n" +"Language-Team: Chinese (Hong Kong) \n" +"Language: zh_HK\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.d.in:27 +msgid "Hello, world!" +msgstr "你好!" + +#: hello.d.in:28 +#, d-format +msgid "This program is running as process number %d." +msgstr "本程式正在執行中,進程編號為 %d。" diff --git a/miniconda3/share/doc/gettext/examples/hello-d/po/zh_TW.po b/miniconda3/share/doc/gettext/examples/hello-d/po/zh_TW.po new file mode 100644 index 0000000000000000000000000000000000000000..12df6bf0ae6fc47c4efbeaad9cc6b9715e81866f --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-d/po/zh_TW.po @@ -0,0 +1,29 @@ +# Traditional Chinese translation of hello-d. +# Copyright (C) 2009 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Abel Cheung , 2005. +# Wei-Lun Chao , 2013, 2015. +# Yi-Jyun Pan , 2024. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-d 0.23-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-11-30 14:14+0800\n" +"Last-Translator: Yi-Jyun Pan \n" +"Language-Team: Chinese (traditional) \n" +"Language: zh_TW\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.d.in:27 +msgid "Hello, world!" +msgstr "哈囉,大家好!" + +#: hello.d.in:28 +#, d-format +msgid "This program is running as process number %d." +msgstr "本程式正在執行,行程編號為 %d。" diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/INSTALL b/miniconda3/share/doc/gettext/examples/hello-gawk/INSTALL new file mode 100644 index 0000000000000000000000000000000000000000..1a4f2df334357c5bebe434b075cd08098e101533 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/INSTALL @@ -0,0 +1,10 @@ +This example relies on gawk (GNU awk). + +Installation: + ./autogen.sh + ./configure --prefix=/some/prefix + make + make install +Cleanup: + make distclean + ./autoclean.sh diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/Makefile.am b/miniconda3/share/doc/gettext/examples/hello-gawk/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..b76e71d94a2fe75afa8bf3b55bef12edf344ed34 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/Makefile.am @@ -0,0 +1,17 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Makefile configuration - processed by automake. + +# General automake options. +AUTOMAKE_OPTIONS = foreign +ACLOCAL_AMFLAGS = -I m4 + +# The list of subdirectories containing Makefiles. +SUBDIRS = m4 po + +# The list of programs that are built. +bin_SCRIPTS = hello + +# Additional files to be distributed. +EXTRA_DIST = autogen.sh autoclean.sh diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/autoclean.sh b/miniconda3/share/doc/gettext/examples/hello-gawk/autoclean.sh new file mode 100644 index 0000000000000000000000000000000000000000..8655a871726b2a31a935332f3e7cbba7b36928e8 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/autoclean.sh @@ -0,0 +1,30 @@ +#!/bin/sh +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Script for cleaning all autogenerated files. + +test ! -f Makefile || make distclean +rm -rf autom4te.cache + +# Brought in by explicit copy. +rm -f m4/nls.m4 +rm -f m4/po.m4 +rm -f m4/progtest.m4 +rm -f po/remove-potcdate.sed + +# Generated by aclocal. +rm -f aclocal.m4 + +# Generated by autoconf. +rm -f configure + +# Generated or brought in by automake. +rm -f Makefile.in +rm -f m4/Makefile.in +rm -f po/Makefile.in +rm -f install-sh +rm -f missing +rm -f po/*.pot +rm -f po/stamp-po +rm -f po/*.gmo diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/autogen.sh b/miniconda3/share/doc/gettext/examples/hello-gawk/autogen.sh new file mode 100644 index 0000000000000000000000000000000000000000..a972da8041799c1ddf0a23303c0660eb9fb827bc --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/autogen.sh @@ -0,0 +1,44 @@ +#!/bin/sh +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Script for regenerating all autogenerated files. + +if test -r ../Makefile.am; then + # Inside the gettext source directory. + GETTEXT_TOPSRCDIR=../../.. +else + if test -r ../Makefile; then + # Inside a gettext build directory. + GETTEXT_TOOLS_SRCDIR=`sed -n -e 's,^top_srcdir *= *\(.*\)$,\1,p' ../Makefile` + # Adjust a relative top_srcdir. + case $GETTEXT_TOOLS_SRCDIR in + /*) ;; + *) GETTEXT_TOOLS_SRCDIR=../$GETTEXT_TOOLS_SRCDIR ;; + esac + GETTEXT_TOPSRCDIR=$GETTEXT_TOOLS_SRCDIR/../.. + else + # Installed under ${prefix}/share/doc/gettext/examples. + . ../installpaths + fi +fi + +cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/nls.m4 m4/nls.m4 +cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/po.m4 m4/po.m4 +cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/progtest.m4 m4/progtest.m4 +cp -p ${GETTEXTSRCPODIR-$GETTEXT_TOPSRCDIR/gettext-runtime/po}/remove-potcdate.sed po/remove-potcdate.sed + +aclocal -I m4 + +autoconf + +automake -a -c + +cd po +for f in *.po; do + if test -r "$f"; then + lang=`echo $f | sed -e 's,\.po$,,'` + msgfmt -c -o $lang.gmo $lang.po + fi +done +cd .. diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/configure.ac b/miniconda3/share/doc/gettext/examples/hello-gawk/configure.ac new file mode 100644 index 0000000000000000000000000000000000000000..39d195b79864627b19cb7d23cfed35729e3c06d2 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/configure.ac @@ -0,0 +1,39 @@ +dnl Example for use of GNU gettext. +dnl This file is in the public domain. +dnl +dnl Configuration file - processed by autoconf. + +AC_INIT([hello-gawk], [0]) +AC_CONFIG_SRCDIR([hello.awk]) +AM_INIT_AUTOMAKE([1.11]) + +dnl Check for availability of GNU awk. +AC_PATH_PROG([GAWK], [gawk]) +if test -z "$GAWK"; then + echo "*** Essential program gawk not found" 1>&2 + exit 1 +fi +AC_SUBST([GAWK]) + +dnl The installed program must know where to find its message catalogs. +dnl Unfortunately, prefix gets only finally determined at the end of configure. +if test "X$prefix" = "XNONE"; then + final_prefix="$ac_default_prefix" +else + final_prefix="$prefix" +fi +save_prefix="$prefix" +prefix="$final_prefix" +eval "datarootdir=\"${datarootdir}\"" +eval "localedir=\"${datarootdir}/locale\"" +prefix="$save_prefix" +AC_SUBST([localedir]) + +dnl Support for the po directory. +AM_PO_SUBDIRS + +AC_CONFIG_FILES([Makefile]) +AC_CONFIG_FILES([hello:hello.awk], [chmod a+x hello]) +AC_CONFIG_FILES([m4/Makefile]) +AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE]) +AC_OUTPUT diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/hello.awk b/miniconda3/share/doc/gettext/examples/hello-gawk/hello.awk new file mode 100644 index 0000000000000000000000000000000000000000..0e49fe666beb5b43b4d02ac26517b7435f41c968 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/hello.awk @@ -0,0 +1,14 @@ +#!@GAWK@ -f +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Source code of the GNU awk program. + +BEGIN { + TEXTDOMAIN = "hello-gawk" + bindtextdomain ("@localedir@") + + print _"Hello, world!" + printf _"This program is running as process number %d.", PROCINFO["pid"] + print +} diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/m4/Makefile.am b/miniconda3/share/doc/gettext/examples/hello-gawk/m4/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..8a841b31f12ff3bd59428fbba049f50825d91510 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/m4/Makefile.am @@ -0,0 +1,2 @@ +EXTRA_DIST = \ + nls.m4 po.m4 diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/LINGUAS b/miniconda3/share/doc/gettext/examples/hello-gawk/po/LINGUAS new file mode 100644 index 0000000000000000000000000000000000000000..dc4a82afbad945018082c22f2061a43ef436dd68 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/LINGUAS @@ -0,0 +1,5 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Set of available languages. +af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ka ky lv ms mt nb nl nn pl pt pt_BR ro ru sk sl sq sr sv ta tr uk vi zh_CN zh_HK zh_TW diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/Makefile.am b/miniconda3/share/doc/gettext/examples/hello-gawk/po/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..26d04996f3b8f24ee226596addb32fd9b1eff903 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/Makefile.am @@ -0,0 +1,434 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Makefile configuration - processed by automake. + +# List of files which contain translatable strings. +POTFILES = \ + hello.awk + +# Usually the message domain is the same as the package name. +DOMAIN = $(PACKAGE) + +# These options get passed to xgettext. +XGETTEXT_OPTIONS = + +# This is the copyright holder that gets inserted into the header of the +# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding +# package. (Note that the msgid strings, extracted from the package's +# sources, belong to the copyright holder of the package.) Translators are +# expected to transfer the copyright for their translations to this person +# or entity, or to disclaim their copyright. The empty string stands for +# the public domain; in this case the translators are expected to disclaim +# their copyright. +COPYRIGHT_HOLDER = Yoyodyne, Inc. + +# This tells whether or not to prepend "GNU " prefix to the package +# name that gets inserted into the header of the $(DOMAIN).pot file. +# Possible values are "yes", "no", or empty. If it is empty, try to +# detect it automatically by scanning the files in $(top_srcdir) for +# "GNU packagename" string. +PACKAGE_GNU = no + +# This is the email address or URL to which the translators shall report +# bugs in the untranslated strings: +# - Strings which are not entire sentences, see the maintainer guidelines +# in the GNU gettext documentation, section 'Preparing Strings'. +# - Strings which use unclear terms or require additional context to be +# understood. +# - Strings which make invalid assumptions about notation of date, time or +# money. +# - Pluralisation problems. +# - Incorrect English spelling. +# - Incorrect formatting. +# It can be your email address, or a mailing list address where translators +# can write to without being subscribed, or the URL of a web page through +# which the translators can contact you. +MSGID_BUGS_ADDRESS = bug-gettext@gnu.org + +# This is the list of locale categories, beyond LC_MESSAGES, for which the +# message catalogs shall be used. It is usually empty. +EXTRA_LOCALE_CATEGORIES = + +# These options get passed to msgmerge. +# Useful options are in particular: +# --previous to keep previous msgids of translated messages +MSGMERGE_OPTIONS = + +# These options get passed to msginit. +# If you want to disable line wrapping when writing PO files, add +# --no-wrap to MSGMERGE_OPTIONS, XGETTEXT_OPTIONS, and +# MSGINIT_OPTIONS. +MSGINIT_OPTIONS = + +MSGMERGE = @MSGMERGE@ +MSGMERGE_UPDATE = @MSGMERGE@ --update +MSGMERGE_FOR_MSGFMT_OPTION = @MSGMERGE_FOR_MSGFMT_OPTION@ +MSGINIT = msginit +MSGCONV = msgconv +MSGFILTER = msgfilter + +# This is computed as $(foreach file, $(POTFILES), $(top_srcdir)/$(file)) +POTFILES_DEPS != for file in $(POTFILES); do echo $(top_srcdir)/$$file; done + +# The set of available translations. +ALL_LINGUAS != if test -f $(srcdir)/LINGUAS; then \ + sed -e '/^\#/d' < $(srcdir)/LINGUAS; \ + else \ + echo $(LINGUAS); \ + fi +# This is computed as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) +POFILES != for lang in $(ALL_LINGUAS); do echo $(srcdir)/$$lang.po; done +# This is computed as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) +GMOFILES != for lang in $(ALL_LINGUAS); do echo $(srcdir)/$$lang.gmo; done +# This is computed as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) +UPDATEPOFILES != for lang in $(ALL_LINGUAS); do echo $$lang.po-update; done +# This is computed as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) +DUMMYPOFILES != for lang in $(ALL_LINGUAS); do echo $$lang.nop; done + +# The set of desired translations, as specified by the installer or distributor. +DESIRED_LINGUAS = @DESIRED_LINGUAS@ +# The set of translations to install. This is computed based on $(ALL_LINGUAS) +# and $(DESIRED_LINGUAS). It is a subset of $(ALL_LINGUAS). +# We use the presentlang catalog if desiredlang is +# a. equal to presentlang, or +# b. a variant of presentlang (because in this case, presentlang can be used +# as a fallback for messages which are not translated in the desiredlang +# catalog). +INST_LINGUAS != for presentlang in $(ALL_LINGUAS); do \ + useit=false; \ + for desiredlang in $(DESIRED_LINGUAS); do \ + case "$$desiredlang" in \ + "$$presentlang" | "$$presentlang"_* | "$$presentlang".* | "$$presentlang"@*) \ + useit=true ;; \ + esac; \ + done; \ + if $$useit; then echo $$presentlang; fi; \ + done +# This is computed as $(foreach lang, $(INST_LINGUAS), $(lang).gmo) +CATALOGS != for lang in $(INST_LINGUAS); do echo $$lang.gmo; done + +SUFFIXES = .po .gmo .nop .po-create .po-update + +# The .pot file, stamp-po, .po files, and .gmo files appear in release tarballs. +# The GNU Coding Standards say in +# : +# "GNU distributions usually contain some files which are not source files +# ... . Since these files normally appear in the source directory, they +# should always appear in the source directory, not in the build directory. +# So Makefile rules to update them should put the updated files in the +# source directory." +# Therefore we put these files in the source directory, not the build directory. + +# During .po -> .gmo conversion, take into account the most recent changes to +# the .pot file. This eliminates the need to update the .po files when the +# .pot file has changed, which would be troublesome if the .po files are put +# under version control. +$(GMOFILES): $(srcdir)/$(DOMAIN).pot +.po.gmo: + @lang=`echo $* | sed -e 's,.*/,,'`; \ + test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ + echo "$${cdcmd}rm -f $${lang}.gmo && $(MSGMERGE) $(MSGMERGE_FOR_MSGFMT_OPTION) -o $${lang}.1po $${lang}.po $(DOMAIN).pot && $(GMSGFMT) -c --statistics --verbose -o $${lang}.gmo $${lang}.1po && rm -f $${lang}.1po"; \ + cd $(srcdir) && \ + rm -f $${lang}.gmo && \ + $(MSGMERGE) $(MSGMERGE_FOR_MSGFMT_OPTION) -o $${lang}.1po $${lang}.po $(DOMAIN).pot && \ + $(GMSGFMT) -c --statistics --verbose -o t-$${lang}.gmo $${lang}.1po && \ + mv t-$${lang}.gmo $${lang}.gmo && \ + rm -f $${lang}.1po + + +all-local: all-local-@USE_NLS@ + +all-local-yes: $(srcdir)/stamp-po +all-local-no: + +# $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no +# internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because +# we don't want to bother translators with empty POT files). We assume that +# LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty. +# In this case, $(srcdir)/stamp-po is a nop (i.e. a phony target). + +# $(srcdir)/stamp-po is a timestamp denoting the last time at which the CATALOGS +# have been loosely updated. Its purpose is that when a developer or translator +# checks out the package from a version control system, and the $(DOMAIN).pot +# file is not under version control, "make" will update the $(DOMAIN).pot and +# the $(CATALOGS), but subsequent invocations of "make" will do nothing. This +# timestamp would not be necessary if updating the $(CATALOGS) would always +# touch them; however, the rule for $(POFILES) has been designed to not touch +# files that don't need to be changed. +$(srcdir)/stamp-po: $(srcdir)/$(DOMAIN).pot + test ! -f $(srcdir)/$(DOMAIN).pot || \ + test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES) + @test ! -f $(srcdir)/$(DOMAIN).pot || { \ + echo "touch $(srcdir)/stamp-po" && \ + echo timestamp > $(srcdir)/stamp-poT && \ + mv $(srcdir)/stamp-poT $(srcdir)/stamp-po; \ + } + +# This target rebuilds $(DOMAIN).pot; it is an expensive operation. +# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed. +# The determination of whether the package xyz is a GNU one is based on the +# heuristic whether some file in the top level directory mentions "GNU xyz". +# If GNU 'find' is available, we avoid grepping through monster files. +$(DOMAIN).pot-update: $(POTFILES_DEPS) + package_gnu="$(PACKAGE_GNU)"; \ + test -n "$$package_gnu" || { \ + if { if (LC_ALL=C find --version) 2>/dev/null | grep GNU >/dev/null; then \ + LC_ALL=C find -L $(top_srcdir) -maxdepth 1 -type f -size -10000000c -exec grep -i 'GNU $(PACKAGE)' /dev/null '{}' ';' 2>/dev/null; \ + else \ + LC_ALL=C grep -i 'GNU $(PACKAGE)' $(top_srcdir)/* 2>/dev/null; \ + fi; \ + } | grep -v 'libtool:' >/dev/null; then \ + package_gnu=yes; \ + else \ + package_gnu=no; \ + fi; \ + }; \ + if test "$$package_gnu" = "yes"; then \ + package_prefix='GNU '; \ + else \ + package_prefix=''; \ + fi; \ + if test -n '$(MSGID_BUGS_ADDRESS)'; then \ + msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \ + else \ + msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \ + fi; \ + case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ + '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \ + $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ + --add-comments=TRANSLATORS: \ + --copyright-holder='$(COPYRIGHT_HOLDER)' \ + --msgid-bugs-address="$$msgid_bugs_address" \ + $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ + $(POTFILES) \ + ;; \ + *) \ + $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ + --add-comments=TRANSLATORS: \ + --copyright-holder='$(COPYRIGHT_HOLDER)' \ + --package-name="$${package_prefix}$(PACKAGE)" \ + --package-version='$(VERSION)' \ + --msgid-bugs-address="$$msgid_bugs_address" \ + $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ + $(POTFILES) \ + ;; \ + esac + test ! -f $(DOMAIN).po || { \ + if test -f $(srcdir)/$(DOMAIN).pot-header; then \ + sed -e '1,/^#$$/d' < $(DOMAIN).po > $(DOMAIN).1po && \ + cat $(srcdir)/$(DOMAIN).pot-header $(DOMAIN).1po > $(DOMAIN).po && \ + rm -f $(DOMAIN).1po \ + || exit 1; \ + fi; \ + if test -f $(srcdir)/$(DOMAIN).pot; then \ + sed -f $(srcdir)/remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \ + sed -f $(srcdir)/remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \ + if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \ + rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \ + else \ + rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \ + mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ + fi; \ + else \ + mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ + fi; \ + } + +# This rule has no dependencies: we don't need to update $(DOMAIN).pot at +# every "make" invocation, only create it when it is missing. +# Only "make $(DOMAIN).pot-update" or "make dist" will force an update. +$(srcdir)/$(DOMAIN).pot: + $(MAKE) $(DOMAIN).pot-update + +# This target rebuilds a PO file if $(DOMAIN).pot has changed. +# Note that a PO file is not touched if it doesn't need to be changed. +$(POFILES): $(srcdir)/$(DOMAIN).pot + @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \ + if test -f "$(srcdir)/$${lang}.po"; then \ + test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ + echo "$${cdcmd}$(MSGMERGE_UPDATE) --quiet $(MSGMERGE_OPTIONS) --lang=$${lang} --previous $${lang}.po $(DOMAIN).pot"; \ + cd $(srcdir) \ + && { case `$(MSGMERGE_UPDATE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ + '' | 0.[0-9] | 0.[0-9].* | 0.10 | 0.10.*) \ + $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \ + 0.1[1-5] | 0.1[1-5].*) \ + $(MSGMERGE_UPDATE) --quiet $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \ + 0.1[6-7] | 0.1[6-7].*) \ + $(MSGMERGE_UPDATE) --quiet $(MSGMERGE_OPTIONS) --previous $${lang}.po $(DOMAIN).pot;; \ + *) \ + $(MSGMERGE_UPDATE) --quiet $(MSGMERGE_OPTIONS) --lang=$${lang} --previous $${lang}.po $(DOMAIN).pot;; \ + esac; \ + }; \ + else \ + $(MAKE) $${lang}.po-create; \ + fi + + +install-data-local: install-data-local-@USE_NLS@ +install-data-local-no: all-local +install-data-local-yes: all-local + @catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + cat=`basename $$cat`; \ + lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ + dir=$(localedir)/$$lang/LC_MESSAGES; \ + $(MKDIR_P) $(DESTDIR)$$dir; \ + if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \ + $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \ + echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \ + for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ + if test -n "$$lc"; then \ + if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ + link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ + mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ + mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ + (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ + for file in *; do \ + if test -f $$file; then \ + ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ + fi; \ + done); \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ + else \ + if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ + :; \ + else \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ + mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ + fi; \ + fi; \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ + ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ + ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ + cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ + echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \ + fi; \ + done; \ + done + +installdirs-local: installdirs-local-@USE_NLS@ +installdirs-local-no: +installdirs-local-yes: + @catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + cat=`basename $$cat`; \ + lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ + dir=$(localedir)/$$lang/LC_MESSAGES; \ + $(MKDIR_P) $(DESTDIR)$$dir; \ + for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ + if test -n "$$lc"; then \ + if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ + link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ + mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ + mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ + (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ + for file in *; do \ + if test -f $$file; then \ + ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ + fi; \ + done); \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ + else \ + if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ + :; \ + else \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ + mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ + fi; \ + fi; \ + fi; \ + done; \ + done + +uninstall-local: uninstall-local-@USE_NLS@ +uninstall-local-no: +uninstall-local-yes: + catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + cat=`basename $$cat`; \ + lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ + for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ + done; \ + done + +html ID: + +MOSTLYCLEANFILES = +MOSTLYCLEANFILES += stamp-poT +MOSTLYCLEANFILES += core core.* *.stackdump $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po +MOSTLYCLEANFILES += *.o + +MAINTAINERCLEANFILES = $(DOMAIN).pot stamp-po $(GMOFILES) + +EXTRA_DIST = remove-potcdate.sed LINGUAS $(POFILES) $(GMOFILES) + +# Hidden from automake, but really activated. Works around an automake-1.5 bug. +#distdir: distdir1 +distdir1: + $(MAKE) update-po + $(MAKE) $(srcdir)/stamp-po + @if test -f $(srcdir)/$(DOMAIN).pot; then \ + for file in $(DOMAIN).pot stamp-po; do \ + if test -f $$file; then d=.; else d=$(srcdir); fi; \ + cp -p $$d/$$file $(distdir)/$$file || exit 1; \ + done; \ + else \ + case $(XGETTEXT) in \ + :) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because a suitable 'xgettext' program was not found in PATH." 1>&2;; \ + *) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because 'xgettext' found no strings to extract. Check the POTFILES and the XGETTEXT_OPTIONS in the Makefile.am file." 1>&2;; \ + esac; \ + fi + +update-po: Makefile + $(MAKE) $(DOMAIN).pot-update + test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES) + $(MAKE) update-gmo + +# General rule for creating PO files. + +.nop.po-create: + @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \ + echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \ + exit 1 + +# General rule for updating PO files. + +.nop.po-update: + @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \ + tmpdir=`pwd`; \ + echo "$$lang:"; \ + test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ + echo "$${cdcmd}$(MSGMERGE) --quiet $(MSGMERGE_OPTIONS) --lang=$$lang --previous $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \ + cd $(srcdir); \ + if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ + '' | 0.[0-9] | 0.[0-9].* | 0.10 | 0.10.*) \ + $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ + 0.1[1-5] | 0.1[1-5].*) \ + $(MSGMERGE) --quiet $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ + 0.1[6-7] | 0.1[6-7].*) \ + $(MSGMERGE) --quiet $(MSGMERGE_OPTIONS) --previous -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ + *) \ + $(MSGMERGE) --quiet $(MSGMERGE_OPTIONS) --lang=$$lang --previous -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ + esac; \ + }; then \ + if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ + rm -f $$tmpdir/$$lang.new.po; \ + else \ + if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ + :; \ + else \ + echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ + exit 1; \ + fi; \ + fi; \ + else \ + echo "msgmerge for $$lang.po failed!" 1>&2; \ + rm -f $$tmpdir/$$lang.new.po; \ + fi + +$(DUMMYPOFILES): + +update-gmo: Makefile $(GMOFILES) + @: diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/af.po b/miniconda3/share/doc/gettext/examples/hello-gawk/po/af.po new file mode 100644 index 0000000000000000000000000000000000000000..5c48dff6996451b1318a02c48b786d8c4f329cc1 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/af.po @@ -0,0 +1,26 @@ +# Afrikaans translation for Silky +# Copyright (C) 2004 Free Software Foundation, Inc. +# This file is distributed under the same license as the silky package. +# Hanlie Pretorius , 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-gawk-0.13.1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2003-12-31 10:30+2\n" +"Last-Translator: Ysbeer \n" +"Language-Team: Afrikaans \n" +"Language: af\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.awk:11 +msgid "Hello, world!" +msgstr "Hallo wêreld!" + +#: hello.awk:12 +#, awk-format +msgid "This program is running as process number %d." +msgstr "Hierdie program loop as prosesnommer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/ast.po b/miniconda3/share/doc/gettext/examples/hello-gawk/po/ast.po new file mode 100644 index 0000000000000000000000000000000000000000..f75657c5c6660e05668dd2919dc43e61602eee4f --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/ast.po @@ -0,0 +1,29 @@ +# Asturian translation for hello-gawk +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Marquinos , 2009. +# enolp , 2018. +msgid "" +msgstr "" +"Project-Id-Version: hello-gawk 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2018-07-16 00:28+0100\n" +"Last-Translator: enolp \n" +"Language-Team: Asturian \n" +"Language: ast\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Lokalize 2.0\n" + +#: hello.awk:11 +msgid "Hello, world!" +msgstr "¡Hola, mundu!" + +#: hello.awk:12 +#, awk-format +msgid "This program is running as process number %d." +msgstr "Esti programa ta executándose como procesu númberu %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/bg.po b/miniconda3/share/doc/gettext/examples/hello-gawk/po/bg.po new file mode 100644 index 0000000000000000000000000000000000000000..2a4c71b105fbbec60b6926b93a85177a8057fa21 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/bg.po @@ -0,0 +1,26 @@ +# Bulgarian translations for hello-gawk package. +# Copyright (C) 2010 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Roumen Petrov , 2010,2014,2015,2019,2023,2024.2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-gawk 0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-08 19:09+0200\n" +"Last-Translator: Roumen Petrov \n" +"Language-Team: Bulgarian \n" +"Language: bg\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.awk:11 +msgid "Hello, world!" +msgstr "Здравейте всички!" + +#: hello.awk:12 +#, awk-format +msgid "This program is running as process number %d." +msgstr "Програмата е пусната под процес номер %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/ca.po b/miniconda3/share/doc/gettext/examples/hello-gawk/po/ca.po new file mode 100644 index 0000000000000000000000000000000000000000..53984735293183bf6aaa16dc52fdff1e16e3a2ce --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/ca.po @@ -0,0 +1,27 @@ +# Catalan messages for GNU hello-gawk. +# Copyright (C) 2003, 2014, 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Ivan Vilata i Balaguer , 2003, 2014, 2015, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-gawk 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-07-07 08:36+0200\n" +"Last-Translator: Ivan Vilata i Balaguer \n" +"Language-Team: Catalan \n" +"Language: ca\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.awk:11 +msgid "Hello, world!" +msgstr "Hola, món!" + +#: hello.awk:12 +#, awk-format +msgid "This program is running as process number %d." +msgstr "Aquest programa està corrent amb el número de procés %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/cs.po b/miniconda3/share/doc/gettext/examples/hello-gawk/po/cs.po new file mode 100644 index 0000000000000000000000000000000000000000..08df3f709956b8c75634db82b4ea9aca97cdf20a --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/cs.po @@ -0,0 +1,29 @@ +# The Czech translation for the gettext package. +# Copyright (C) 2011 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Marek Černocký , 2011. +# Petr Písař , 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-gawk 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 20:05+02:00\n" +"Last-Translator: Petr Pisar \n" +"Language-Team: Czech \n" +"Language: cs\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#: hello.awk:11 +msgid "Hello, world!" +msgstr "Ahoj světe!" + +#: hello.awk:12 +#, awk-format +msgid "This program is running as process number %d." +msgstr "Tento program běží jako proces číslo %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/da.po b/miniconda3/share/doc/gettext/examples/hello-gawk/po/da.po new file mode 100644 index 0000000000000000000000000000000000000000..0393db16dd271dd2d213f71a6eda21e2ad59090f --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/da.po @@ -0,0 +1,28 @@ +# Danish messages for hello-gawk. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Jan Djærv , 2003, 2006. +# Keld Simonsen , 2011. +# Joe Hansen , 2015. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-gawk 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-06-27 12:39+0100\n" +"Last-Translator: Joe Hansen \n" +"Language-Team: Danish \n" +"Language: da\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.awk:11 +msgid "Hello, world!" +msgstr "Hej verden!" + +#: hello.awk:12 +#, awk-format +msgid "This program is running as process number %d." +msgstr "Dette program kører som proces nummer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/de.po b/miniconda3/share/doc/gettext/examples/hello-gawk/po/de.po new file mode 100644 index 0000000000000000000000000000000000000000..fa6805a4502274b1bb9b5b12bd09595c46a52abd --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/de.po @@ -0,0 +1,32 @@ +# German messages for hello-gawk. +# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Bruno Haible , 2003. +# Karl Eichwalder , 2003. +# Jakob Kramer , 2013. +# Mario Blättermann , 2014, 2023, 2025. +# Philipp Thomas , 2015. +msgid "" +msgstr "" +"Project-Id-Version: hello-gawk 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 17:15+0200\n" +"Last-Translator: Mario Blättermann \n" +"Language-Team: German \n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 25.04.0\n" + +#: hello.awk:11 +msgid "Hello, world!" +msgstr "Hallo Welt!" + +#: hello.awk:12 +#, awk-format +msgid "This program is running as process number %d." +msgstr "Dieses Programm läuft mit der Prozess-Nummer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/el.po b/miniconda3/share/doc/gettext/examples/hello-gawk/po/el.po new file mode 100644 index 0000000000000000000000000000000000000000..12407bab26a5a31400d29481593121803163af06 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/el.po @@ -0,0 +1,26 @@ +# Greek translation of hello-gawk +# Copyright (C) 2005 Free Software Foundation, Inc. +# Simos Xenitellis , 2005. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-gawk 0.14.1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2005-01-06 18:50+0000\n" +"Last-Translator: Simos Xenitellis \n" +"Language-Team: Greek \n" +"Language: el\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: KBabel 1.3.1\n" + +#: hello.awk:11 +msgid "Hello, world!" +msgstr "Γεια σου, κόσμε!" + +#: hello.awk:12 +#, awk-format +msgid "This program is running as process number %d." +msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/eo.po b/miniconda3/share/doc/gettext/examples/hello-gawk/po/eo.po new file mode 100644 index 0000000000000000000000000000000000000000..253e2c326d38c184c5ac7534859ff36f004d1878 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/eo.po @@ -0,0 +1,28 @@ +# La teksto por la mesaĝoj de la programo "gettext". +# Copyright (C) 2006, 2016 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Edmund GRIMLEY EVANS , 2006. +# Felipe CASTRO , 2016, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-gawk 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-23 19:00-0300\n" +"Last-Translator: Felipe Castro \n" +"Language-Team: Esperanto \n" +"Language: eo\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.awk:11 +msgid "Hello, world!" +msgstr "Saluton, mondo!" + +#: hello.awk:12 +#, awk-format +msgid "This program is running as process number %d." +msgstr "Ĉi tiu programo rulas kiel procez-numero %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/es.po b/miniconda3/share/doc/gettext/examples/hello-gawk/po/es.po new file mode 100644 index 0000000000000000000000000000000000000000..242665f3771feab57b608b942f925c832f3a6d95 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/es.po @@ -0,0 +1,30 @@ +# Mensajes en español para GNU gettext. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# +# This file is distributed under the same license as the gettext package. +# +# Max de Mendizábal , 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004. +# Antonio Ceballos , 2014, 2015, 2023, 2025 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-gawk-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-02-23 17:01+0100\n" +"Last-Translator: Antonio Ceballos \n" +"Language-Team: Spanish \n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.awk:11 +msgid "Hello, world!" +msgstr "¡Hola, mundo!" + +#: hello.awk:12 +#, awk-format +msgid "This program is running as process number %d." +msgstr "Este programa está corriendo como el proceso número %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/fi.po b/miniconda3/share/doc/gettext/examples/hello-gawk/po/fi.po new file mode 100644 index 0000000000000000000000000000000000000000..c1f145c484859b8be9691b5718d29cb91a541dda --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/fi.po @@ -0,0 +1,29 @@ +# Finnish messages for GNU Gettext examples. +# This file is distributed under the same license as the gettext package. +# Copyright © 2007, 2014, 2015 Yoyodyne, Inc. (msgids) +# Lauri Nurmi , 2007. +# Jorma Karvonen , 2014-2015. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-gawk 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-09-01 16:59+0300\n" +"Last-Translator: Jorma Karvonen \n" +"Language-Team: Finnish \n" +"Language: fi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 1.5.4\n" + +# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti. +#: hello.awk:11 +msgid "Hello, world!" +msgstr "Terve maailma!" + +#: hello.awk:12 +#, awk-format +msgid "This program is running as process number %d." +msgstr "Tämän ohjelman prosessinumero on %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/fr.po b/miniconda3/share/doc/gettext/examples/hello-gawk/po/fr.po new file mode 100644 index 0000000000000000000000000000000000000000..c5bbb7bfe4996f0995cb74ccff7fe267ca91952d --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/fr.po @@ -0,0 +1,32 @@ +# Messages français pour GNU gettext. +# Copyright (C) 2006 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Michel Robitaille , 2006. +# Christophe Combelles , 2006 +# Stéphane Aulery , 2015 +# Christian Wiatr , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-gawk 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-28 16:25+0200\n" +"Last-Translator: Christian Wiatr \n" +"Language-Team: French \n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.awk:11 +msgid "Hello, world!" +msgstr "Bonjour, le monde !" + +#: hello.awk:12 +#, awk-format +msgid "This program is running as process number %d." +msgstr "Ce programme est exécuté en tant que processus numéro %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/ga.po b/miniconda3/share/doc/gettext/examples/hello-gawk/po/ga.po new file mode 100644 index 0000000000000000000000000000000000000000..7f3e87a7a2d4a0409b5ab90536ddae3b5d12768b --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/ga.po @@ -0,0 +1,26 @@ +# Irish translations for hello-gawk. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Kevin Patrick Scannell , 2004, 2017. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-gawk 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2017-01-10 12:09-0500\n" +"Last-Translator: Kevin Patrick Scannell \n" +"Language-Team: Irish \n" +"Language: ga\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.awk:11 +msgid "Hello, world!" +msgstr "Dia duit, a dhomhain!" + +#: hello.awk:12 +#, awk-format +msgid "This program is running as process number %d." +msgstr "Tá an clár seo ag rith mar phróiseas %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/gl.po b/miniconda3/share/doc/gettext/examples/hello-gawk/po/gl.po new file mode 100644 index 0000000000000000000000000000000000000000..009028ed4e8851308330a90665eeed43e737bff2 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/gl.po @@ -0,0 +1,31 @@ +# Galician translation for hello-gawk package. +# Copyright (C) 2010 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Leandro Regueiro , 2010-2014. +# +# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas +# colaborar connosco, podes atopar máis información en +# +msgid "" +msgstr "" +"Project-Id-Version: hello-gawk 0.19-rc1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2014-05-10 16:34+0100\n" +"Last-Translator: Leandro Regueiro \n" +"Language-Team: Galician \n" +"Language: gl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n!=1);\n" + +#: hello.awk:11 +msgid "Hello, world!" +msgstr "Ola, mundo!" + +#: hello.awk:12 +#, awk-format +msgid "This program is running as process number %d." +msgstr "Este programa estase executando como o proceso número %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/hr.po b/miniconda3/share/doc/gettext/examples/hello-gawk/po/hr.po new file mode 100644 index 0000000000000000000000000000000000000000..526737782acc12b1a5d505ee1afbcb52041852b2 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/hr.po @@ -0,0 +1,33 @@ +# Translation of hello-gawk to Croatian. +# Copyright (C) 2003, 2004, 2014, 2015, 2019 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Permission is granted to freely copy and distribute +# this file and modified versions, provided that this +# header is not removed and modified versions are marked +# as such. +# +# Tomislav Krznar , 2012. +# Božidar Putanec , 2018-2025. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-gawk 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 10:15-0700\n" +"Last-Translator: Božidar Putanec \n" +"Language-Team: Croatian \n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.awk:11 +msgid "Hello, world!" +msgstr "Pozdrav, svijete!" + +#: hello.awk:12 +#, awk-format +msgid "This program is running as process number %d." +msgstr "Ovaj program se izvršava kao proces broj %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/hu.po b/miniconda3/share/doc/gettext/examples/hello-gawk/po/hu.po new file mode 100644 index 0000000000000000000000000000000000000000..603292734c731d75caee2063cd83c418e9693980 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/hu.po @@ -0,0 +1,29 @@ +# Hungarian translation for hello-gawk. +# This file is distributed under the same license as the gettext package. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# +# Tamás Kiss , 2005. +# Balázs Úr , 2014, 2015. +msgid "" +msgstr "" +"Project-Id-Version: hello-gawk 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2015-06-23 20:31+0200\n" +"Last-Translator: Balázs Úr \n" +"Language-Team: Hungarian \n" +"Language: hu\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 1.2\n" + +#: hello.awk:11 +msgid "Hello, world!" +msgstr "Hello, világ!" + +#: hello.awk:12 +#, awk-format +msgid "This program is running as process number %d." +msgstr "Ez a program a(z) %d folyamatazonosítóval fut." diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/id.po b/miniconda3/share/doc/gettext/examples/hello-gawk/po/id.po new file mode 100644 index 0000000000000000000000000000000000000000..0a244ef36bcb6a6b556d5c168b15f3fd47558519 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/id.po @@ -0,0 +1,27 @@ +# translation of hello-gawk-0.15-pre5.po to Indonesian +# Copyright (C) 2006 Yoyodyne, Inc. +# This file is distributed under the same license as the PACKAGE package. +# +# Tedi Heriyanto , 2006. +msgid "" +msgstr "" +"Project-Id-Version: hello-gawk-0.15-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2006-09-27 20:19+0700\n" +"Last-Translator: Tedi Heriyanto \n" +"Language-Team: Indonesian \n" +"Language: id\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: KBabel 1.11.2\n" + +#: hello.awk:11 +msgid "Hello, world!" +msgstr "Hello, world!" + +#: hello.awk:12 +#, awk-format +msgid "This program is running as process number %d." +msgstr "Program ini berjalan sebagai proses nomor %d" diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/it.po b/miniconda3/share/doc/gettext/examples/hello-gawk/po/it.po new file mode 100644 index 0000000000000000000000000000000000000000..083af2f18563bb813c5c0700dfefa9e9b06ae0a6 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/it.po @@ -0,0 +1,29 @@ +# Italian messages for hello-gawk. +# Copyright (C) 2005, 2006 Yoyodyne, Inc. (msgids) +# Copyright (C) 2024 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Marco Colombo , 2005, 2006, 2015. +# Michele Locati , 2024, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-gawk 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-04 18:28+0200\n" +"Last-Translator: Michele Locati \n" +"Language-Team: Italian \n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.awk:11 +msgid "Hello, world!" +msgstr "Ciao, mondo!" + +#: hello.awk:12 +#, awk-format +msgid "This program is running as process number %d." +msgstr "Questo programma è in esecuzione con numero di processo %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/ja.po b/miniconda3/share/doc/gettext/examples/hello-gawk/po/ja.po new file mode 100644 index 0000000000000000000000000000000000000000..7d14983921191ca16d6fe7ea070965a5e5568fae --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/ja.po @@ -0,0 +1,26 @@ +# Translation of `hello-gawk' messages to Japanese. +# Copyright (C) 2005, 2006, 2014, 2015, 2023, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Masahito Yamaga , 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-gawk 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 19:59+0900\n" +"Last-Translator: Masahito Yamaga \n" +"Language-Team: Japanese \n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.awk:11 +msgid "Hello, world!" +msgstr "世界よ, こんにちは!" + +#: hello.awk:12 +#, awk-format +msgid "This program is running as process number %d." +msgstr "このプログラムはプロセス番号 %d で動いています." diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/ka.po b/miniconda3/share/doc/gettext/examples/hello-gawk/po/ka.po new file mode 100644 index 0000000000000000000000000000000000000000..ba9b6c67eb97d7d48d5d9da4d12b26a137e251d5 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/ka.po @@ -0,0 +1,28 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Temuri Doghonadze , 2022. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-gawk 0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2022-05-22 05:04+0200\n" +"Last-Translator: Temuri Doghonadze \n" +"Language-Team: Georgian <(nothing)>\n" +"Language: ka\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 3.0.1\n" + +#: hello.awk:11 +msgid "Hello, world!" +msgstr "გამარჯობა სამყაროვ!" + +#: hello.awk:12 +#, awk-format +msgid "This program is running as process number %d." +msgstr "პროგრამა გაშვებულია პროცესის ნომრით %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/ky.po b/miniconda3/share/doc/gettext/examples/hello-gawk/po/ky.po new file mode 100644 index 0000000000000000000000000000000000000000..4fdeccc3326cd98147bbe3993cc6cb0b7c248e32 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/ky.po @@ -0,0 +1,28 @@ +# Translation of 'hello-gawk' messages to Kirghiz. +# Copyright (C) 2004 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Ilyas Bakirov , 2007. +# Ilyas Bakirov , 2018. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-gawk 0.19.4.73\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2018-02-15 18:26+0600\n" +"Last-Translator: Ilyas Bakirov \n" +"Language-Team: Kirghiz \n" +"Language: ky\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 2.0.6\n" + +#: hello.awk:11 +msgid "Hello, world!" +msgstr "Салам дүйнө!" + +#: hello.awk:12 +#, awk-format +msgid "This program is running as process number %d." +msgstr "Бул программа %d процесс номери катары иштеп жатат." diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/lv.po b/miniconda3/share/doc/gettext/examples/hello-gawk/po/lv.po new file mode 100644 index 0000000000000000000000000000000000000000..dbbd51c216701fb3218cb24dbf50174b355e9a43 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/lv.po @@ -0,0 +1,30 @@ +# Latvian translation of hello-gawk +# Copyright (C) 2009 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Arvis Lācis , 2009. +# Rihards Priedītis , 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-gawk-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-09 11:44+0000\n" +"Last-Translator: Rihards Priedītis \n" +"Language-Team: Latvian \n" +"Language: lv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : " +"2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.awk:11 +msgid "Hello, world!" +msgstr "Sveika, pasaule!" + +#: hello.awk:12 +#, awk-format +msgid "This program is running as process number %d." +msgstr "Šī programma darbojas ar procesa numuru %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/ms.po b/miniconda3/share/doc/gettext/examples/hello-gawk/po/ms.po new file mode 100644 index 0000000000000000000000000000000000000000..6b2f28ff1e079475673b25d15c1b881858b764a1 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/ms.po @@ -0,0 +1,28 @@ +# hello-gawk Bahasa Melayu (Malay) (ms). +# Copyright (C) 2006, 2015, 2023, 2025 Yoyodyne, Inc. (msgids) +# Copyright (C) 2006, 2015, 2023, 2025 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Sharuzzaman Ahmat Raslan , 2006, 2015, 2023, 2025 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-gawk 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-03 21:10+0800\n" +"Last-Translator: Sharuzzaman Ahmat Raslan \n" +"Language-Team: Malay \n" +"Language: ms\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.awk:11 +msgid "Hello, world!" +msgstr "Hello, dunia!" + +#: hello.awk:12 +#, awk-format +msgid "This program is running as process number %d." +msgstr "Program ini dilaksanakan sebagai proses bernombor %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/mt.po b/miniconda3/share/doc/gettext/examples/hello-gawk/po/mt.po new file mode 100644 index 0000000000000000000000000000000000000000..4575fc28a9d47c3d5ce482ce2c75c660d7299689 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/mt.po @@ -0,0 +1,27 @@ +# hello-gawk-0.16.2-pre5. +# Copyright (C) 2008 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Clyde Meli , 2001-2008. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: hello-gawk 0.16.2-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2008-11-18 17:27+0100\n" +"Last-Translator: Clyde Meli \n" +"Language-Team: Maltese \n" +"Language: mt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.awk:11 +msgid "Hello, world!" +msgstr "Hello, lil kulħadd!" + +#: hello.awk:12 +#, awk-format +msgid "This program is running as process number %d." +msgstr "Dal-programm qed jaħdem taħt il-proċess numru %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/nb.po b/miniconda3/share/doc/gettext/examples/hello-gawk/po/nb.po new file mode 100644 index 0000000000000000000000000000000000000000..018d39bbc5dcceb48e08173635e83d1b5def53be --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/nb.po @@ -0,0 +1,29 @@ +# Norwegian Bokmal translations for hello-gawk package. +# Copyright (C) 2012 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Johnny A. Solbu , 2012-2024 +# +msgid "" +msgstr "" +"Project-Id-Version: hello-gawk 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-01-06 16:33+0100\n" +"Last-Translator: Johnny A. Solbu \n" +"Language-Team: Norwegian Bokmaal \n" +"Language: nb\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 2.4.2\n" + +#: hello.awk:11 +msgid "Hello, world!" +msgstr "Hallo verden!" + +#: hello.awk:12 +#, awk-format +msgid "This program is running as process number %d." +msgstr "Dette programmet kjører som prosess nummer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/nl.po b/miniconda3/share/doc/gettext/examples/hello-gawk/po/nl.po new file mode 100644 index 0000000000000000000000000000000000000000..d30afb5bd217eff9515647f8fe418fae5e2cad60 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/nl.po @@ -0,0 +1,31 @@ +# Dutch translations for GNU hello-gawk. +# Copyright (C) 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# "There are three basic rules for writing a novel. +# Unfortunately nobody knows what they are." +# +# Benno Schulenberg , 2007, 2014, 2015, 2019, 2025. +# Elros Cyriatan , 2004. +msgid "" +msgstr "" +"Project-Id-Version: hello-gawk-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-01 14:51+0100\n" +"Last-Translator: Benno Schulenberg \n" +"Language-Team: Dutch \n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hello.awk:11 +msgid "Hello, world!" +msgstr "Hallo, wereld!" + +#: hello.awk:12 +#, awk-format +msgid "This program is running as process number %d." +msgstr "Dit programma draait als proces nummer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/nn.po b/miniconda3/share/doc/gettext/examples/hello-gawk/po/nn.po new file mode 100644 index 0000000000000000000000000000000000000000..44bd5611fe5b5e75abb70ffe305ffd2800659be7 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/nn.po @@ -0,0 +1,28 @@ +# Norwegian Nynorsk translation of GNU hello-gawk +# Copyright (C) 2020 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Karl Ove Hufthammer , 2020. +msgid "" +msgstr "" +"Project-Id-Version: hello-gawk-0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2020-05-04 18:58+0200\n" +"Last-Translator: Karl Ove Hufthammer \n" +"Language-Team: Norwegian Nynorsk \n" +"Language: nn\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Lokalize 20.04.0\n" + +#: hello.awk:11 +msgid "Hello, world!" +msgstr "Hei, verda!" + +#: hello.awk:12 +#, awk-format +msgid "This program is running as process number %d." +msgstr "Dette programmet køyrer som prosess nummer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/pl.po b/miniconda3/share/doc/gettext/examples/hello-gawk/po/pl.po new file mode 100644 index 0000000000000000000000000000000000000000..13f027c7c717ca601bacb985d03e5ffa50b47a95 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/pl.po @@ -0,0 +1,27 @@ +# Polish translations for the GNU gettext messages, hello-gawk domain +# Copyright (C) 2010, 2014, 2015, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Rafał Maszkowski , 2003, 2010, 2014, 2015, 2025 +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-gawk 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-25 17:16+0200\n" +"Last-Translator: Rafał Maszkowski \n" +"Language-Team: Polish \n" +"Language: pl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8-bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " +"|| n%100>=20) ? 1 : 2);\n" + +#: hello.awk:11 +msgid "Hello, world!" +msgstr "Cześć, świecie!" + +#: hello.awk:12 +#, awk-format +msgid "This program is running as process number %d." +msgstr "Ten program działa jako proces o numerze %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/pt.po b/miniconda3/share/doc/gettext/examples/hello-gawk/po/pt.po new file mode 100644 index 0000000000000000000000000000000000000000..b59d4bb34d1859884fa08cd334c0f92b2916cb6e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/pt.po @@ -0,0 +1,28 @@ +# Portuguese (Portugal) translation of 'hello-gawk' package. +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Pedro Albuquerque , 2019, 2020, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-gawk 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 11:24+0100\n" +"Last-Translator: Pedro Albuquerque \n" +"Language-Team: Portuguese \n" +"Language: pt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\\n;\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.6\n" + +#: hello.awk:11 +msgid "Hello, world!" +msgstr "Olá mundo!" + +#: hello.awk:12 +#, awk-format +msgid "This program is running as process number %d." +msgstr "Este programa está em execução como processo nº %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/pt_BR.po b/miniconda3/share/doc/gettext/examples/hello-gawk/po/pt_BR.po new file mode 100644 index 0000000000000000000000000000000000000000..bb8510758921fbf5773c4d86600c44e42c25c16d --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/pt_BR.po @@ -0,0 +1,31 @@ +# Brazilian Portuguese translations for gettext-example +# Traduções em português brasileiro para gettext-example +# Copyright (C) 2025 Yoyodyne, Inc. (msgids) +# Copyright (C) 2025 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Rafael Fontenelle , 2013-2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-gawk 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 10:24-0300\n" +"Last-Translator: Rafael Fontenelle \n" +"Language-Team: Brazilian Portuguese \n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Gtranslator 48.0\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.awk:11 +msgid "Hello, world!" +msgstr "Olá, mundo!" + +#: hello.awk:12 +#, awk-format +msgid "This program is running as process number %d." +msgstr "Este programa está sendo executado com número de processo %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/ro.po b/miniconda3/share/doc/gettext/examples/hello-gawk/po/ro.po new file mode 100644 index 0000000000000000000000000000000000000000..a349c2dac911019bdca3c587ed3edbd304e086ae --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/ro.po @@ -0,0 +1,50 @@ +# Translation of "hello-gawk" messages to Romanian. +# Mesajele în limba română pentru pachetul hello-gawk. +# Copyright © 2015, 2019, 2022, 2023, 2024, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Eugen Hoancă , 2003. +# Mihai Cristescu , 2015 - 2019. +# Remus-Gabriel Chelu , 2022 - 2025. +# +# Cronologia traducerii fișierului „hello-gawk”: +# Traducerea inițială, făcută de EH, pentru versiunea hello-gawk 0.12.1, 2003. +# Actualizare a traducerii pentru versiunea hello-gawk 0.19.4-rc1, făcută de MC, mar-2015. +# Actualizare a traducerii pentru versiunea hello-gawk 0.19.4.73, făcută de MC, iun-2015. +# Actualizare a traducerii pentru versiunea hello-gawk 0.20-rc1, făcută de MC, apr-2019. +# Actualizare a mesajelor, de la fișierul „hello-gawk-0.20.2.pot”. +# Actualizare a algoritmului formelor de plural (de la „trei-vechi” la „trei-actual”). +# NU și a mesajelor traduse (acestea au rămas neschimbate). +# Eliminare a mesajelor ce-au dispărut în ultima versiune. +# Actualizări realizate de Remus-Gabriel Chelu , 15.01.2022. +# Actualizare a traducerii pentru versiunea 0.20.2 făcută de R-GC, ian-2022. +# Actualizare a traducerii pentru versiunea 0.22 făcută de R-GC, iun-2023. +# Revizuire și corectare a traducerii pentru versiunea 0.23-pre1 făcută de R-GC, oct-2024. +# Actualizare a traducerii pentru versiunea 0.24-pre1 făcută de R-GC, feb-2025. +# Actualizare a traducerii pentru versiunea 0.25-pre1 făcută de R-GC, apr-2025. +# Actualizare a traducerii pentru versiunea Y, făcută de X, Z(luna-anul). +# +msgid "" +msgstr "" +"Project-Id-Version: hello-gawk 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-29 00:25+0200\n" +"Last-Translator: Remus-Gabriel Chelu \n" +"Language-Team: Romanian \n" +"Language: ro\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " +"20)) ? 1 : 2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.awk:11 +msgid "Hello, world!" +msgstr "Salutare, lume!" + +#: hello.awk:12 +#, awk-format +msgid "This program is running as process number %d." +msgstr "Acest program rulează ca procesul numărul %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/ru.po b/miniconda3/share/doc/gettext/examples/hello-gawk/po/ru.po new file mode 100644 index 0000000000000000000000000000000000000000..d14583934517d3804dc7f161c43614f4c78cd5fb --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/ru.po @@ -0,0 +1,30 @@ +# Translation of hello-gawk-0.14.1.po to Russian +# Copyright (C) 2004 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Pavel Maryanov , 2004. +# SPDX-FileCopyrightText: 2014, 2015, 2023, 2025 Yuri Kozlov +msgid "" +msgstr "" +"Project-Id-Version: hello-gawk 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-05-02 09:17+0300\n" +"Last-Translator: Yuri Kozlov \n" +"Language-Team: Russian \n" +"Language: ru\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Lokalize 24.12.0\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#: hello.awk:11 +msgid "Hello, world!" +msgstr "Здравствуй, мир!" + +#: hello.awk:12 +#, awk-format +msgid "This program is running as process number %d." +msgstr "Эта программа выполняется как процесс под номером %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/sk.po b/miniconda3/share/doc/gettext/examples/hello-gawk/po/sk.po new file mode 100644 index 0000000000000000000000000000000000000000..cf1987bba73dc85d12c39e321a29ab30c12b8ed3 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/sk.po @@ -0,0 +1,26 @@ +# Slovak translations GNU for hello-gawk package. +# Copyright (C) 2003, 2004, 2014, 2023, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Marcel Telka , 2003, 2004, 2014, 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: GNU hello-gawk 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 13:53+0200\n" +"Last-Translator: Marcel Telka \n" +"Language-Team: Slovak \n" +"Language: sk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.awk:11 +msgid "Hello, world!" +msgstr "Ahoj svet!" + +#: hello.awk:12 +#, awk-format +msgid "This program is running as process number %d." +msgstr "Tento program beží ako proces s číslom %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/sl.po b/miniconda3/share/doc/gettext/examples/hello-gawk/po/sl.po new file mode 100644 index 0000000000000000000000000000000000000000..72a4edf01ad1b986a92f0678b3368fc9c4a38933 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/sl.po @@ -0,0 +1,29 @@ +# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example +# Copyright (C) 2005 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Primož Peterlin , 2005, 2014, 2015, 2024. +# $Id: hello-gawk-0.22.sl.po,v 1.1 2024/03/28 17:02:19 peterlin Exp $ +msgid "" +msgstr "" +"Project-Id-Version: hello-gawk 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-03-28 18:02+0100\n" +"Last-Translator: Primož Peterlin \n" +"Language-Team: Slovenian \n" +"Language: sl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8-bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || " +"n%100==4 ? 3 : 0);\n" + +#: hello.awk:11 +msgid "Hello, world!" +msgstr "Pozdravljen, svet!" + +#: hello.awk:12 +#, awk-format +msgid "This program is running as process number %d." +msgstr "Ta program teče kot proces številka %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/sq.po b/miniconda3/share/doc/gettext/examples/hello-gawk/po/sq.po new file mode 100644 index 0000000000000000000000000000000000000000..f47b4cdefb25f843877581b0778f72fb0abca32b --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/sq.po @@ -0,0 +1,28 @@ +# Albanian translation of gettext-example. +# Copyright (C) 2020 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Besnik Bleta , 2020,2023,2024,2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-gawk-0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 19:56+0300\n" +"Last-Translator: Besnik Bleta \n" +"Language-Team: Albanian \n" +"Language: sq\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.2.2\n" + +#: hello.awk:11 +msgid "Hello, world!" +msgstr "Tungjatjeta, botë!" + +#: hello.awk:12 +#, awk-format +msgid "This program is running as process number %d." +msgstr "Ky program po xhiron si procesi numër %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/sr.po b/miniconda3/share/doc/gettext/examples/hello-gawk/po/sr.po new file mode 100644 index 0000000000000000000000000000000000000000..30c7d9fad14715f99edd3fe4a25775c3ceeb3b51 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/sr.po @@ -0,0 +1,30 @@ +# Serbian translation of hello-gawk. +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Aleksandar Jelenak , 2004. +# Мирослав Николић , 2014-2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-gawk-0.24-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-03-02 16:51+0100\n" +"Last-Translator: Мирослав Николић \n" +"Language-Team: Serbian <(nothing)>\n" +"Language: sr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.awk:11 +msgid "Hello, world!" +msgstr "Здраво, свима!" + +#: hello.awk:12 +#, awk-format +msgid "This program is running as process number %d." +msgstr "Овај програм се извршава као процес број %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/sv.po b/miniconda3/share/doc/gettext/examples/hello-gawk/po/sv.po new file mode 100644 index 0000000000000000000000000000000000000000..e5789d3899f5f5b258eec70466d2c11fb639f0e0 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/sv.po @@ -0,0 +1,30 @@ +# Swedish messages for hello-gawk. +# Copyright © 2006, 2014, 2016, 2019, 2020, 2023, 2024, 2025 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Jan Djärv , 2003, 2006, 2014. +# Göran Uddeborg , 2016, 2019, 2020, 2023, 2024, 2025. +# Luna Jernberg , 2025. +# $Revision: 1.12 $ +msgid "" +msgstr "" +"Project-Id-Version: hello-gawk 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 12:18+0200\n" +"Last-Translator: Luna Jernberg \n" +"Language-Team: Swedish \n" +"Language: sv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.awk:11 +msgid "Hello, world!" +msgstr "Hej världen!" + +#: hello.awk:12 +#, awk-format +msgid "This program is running as process number %d." +msgstr "Detta program kör som process nummer %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/ta.po b/miniconda3/share/doc/gettext/examples/hello-gawk/po/ta.po new file mode 100644 index 0000000000000000000000000000000000000000..a2334fddd61fa75bd36e2426ef016232852bb99b --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/ta.po @@ -0,0 +1,28 @@ +# Tamil messages for GNU gettext. +# Copyright (C) 2018 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# List of contributors follow: +# Poorajith , 2018. +# Arun Isaac , 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-gawk 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-19 00:06+0100\n" +"Last-Translator: Arun Isaac \n" +"Language-Team: Tamil \n" +"Language: ta\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.awk:11 +msgid "Hello, world!" +msgstr "வணக்கம், உலகு!" + +#: hello.awk:12 +#, awk-format +msgid "This program is running as process number %d." +msgstr "இந்நிரல் செயலாக்க எண் %d ஆக இயங்கிக்கொண்டிருக்கிறது." diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/tr.po b/miniconda3/share/doc/gettext/examples/hello-gawk/po/tr.po new file mode 100644 index 0000000000000000000000000000000000000000..d10b80ac35ed4736d7e1cd1afbd7e5797984b78b --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/tr.po @@ -0,0 +1,29 @@ +# Turkish translation for hello-gawk. +# This file is distributed under the same license as the gettext package. +# Copyright (C) 2017 Yoyodyne, Inc. (msgids) +# Copyright (C) 2004 Free Software Foundation, Inc. +# Nilgün Belma Bugüner , 2003,2004 +# Mehmet Kececi , 2017, 2019, 2020. +msgid "" +msgstr "" +"Project-Id-Version: hello-gawk 0.20.2\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2020-04-17 13:10+0300\n" +"Last-Translator: Mehmet Kececi \n" +"Language-Team: Turkish \n" +"Language: tr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Poedit 2.3\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.awk:11 +msgid "Hello, world!" +msgstr "Merhaba, dünya!" + +#: hello.awk:12 +#, awk-format +msgid "This program is running as process number %d." +msgstr "Bu yazılım %d işlem numarası ile çalışıyor." diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/uk.po b/miniconda3/share/doc/gettext/examples/hello-gawk/po/uk.po new file mode 100644 index 0000000000000000000000000000000000000000..4d56e7c4638212ff218f88327fcd86a782e8272e --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/uk.po @@ -0,0 +1,30 @@ +# Ukrainian translation to hello-gawk +# Copyright (C) 2014 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# +# Maxim V. Dziumanenko , 2004-2007. +# Yuri Chornoivan , 2014, 2015, 2023, 2025. +msgid "" +msgstr "" +"Project-Id-Version: hello-gawk 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-28 13:56+0300\n" +"Last-Translator: Yuri Chornoivan \n" +"Language-Team: Ukrainian \n" +"Language: uk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Generator: Lokalize 23.04.3\n" + +#: hello.awk:11 +msgid "Hello, world!" +msgstr "Привіт, світе!" + +#: hello.awk:12 +#, awk-format +msgid "This program is running as process number %d." +msgstr "Ця програма виконується як процес з номером %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/vi.po b/miniconda3/share/doc/gettext/examples/hello-gawk/po/vi.po new file mode 100644 index 0000000000000000000000000000000000000000..95fa8b62c81eca44adf850ac987288b3a927b947 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/vi.po @@ -0,0 +1,30 @@ +# Vietnamese Translation for Gettext Examples. +# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext. +# Copyright © 2015 Yoyodyne, Inc. (msgids) +# Copyright © 2015 Free Software Foundation, Inc. +# This file is distributed under the same license as the gettext package. +# Clytie Siddall , 2005-2010. +# Trần Ngọc Quân , 2012-2015, 2023. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-gawk 0.22\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2023-06-24 09:10+0700\n" +"Last-Translator: Trần Ngọc Quân \n" +"Language-Team: Vietnamese \n" +"Language: vi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: hello.awk:11 +msgid "Hello, world!" +msgstr "Chào thế giới!" + +#: hello.awk:12 +#, awk-format +msgid "This program is running as process number %d." +msgstr "Chương trình này đang chạy với mã số tiến trình %d." diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/zh_CN.po b/miniconda3/share/doc/gettext/examples/hello-gawk/po/zh_CN.po new file mode 100644 index 0000000000000000000000000000000000000000..8bd7efa8f77f98fdb089a619a3340c943e5cfc10 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/zh_CN.po @@ -0,0 +1,29 @@ +# zh_CN translation for hello-gawk. +# Copyright (C) 2015 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Funda Wang , 2003. +# Ji ZhengYu , 2015. +# Boyuan Yang <073plan@gmail.com>, 2019, 2023, 2025. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-gawk 0.25-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2025-04-29 15:56-0400\n" +"Last-Translator: Boyuan Yang <073plan@gmail.com>\n" +"Language-Team: Chinese (simplified) \n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.6\n" + +#: hello.awk:11 +msgid "Hello, world!" +msgstr "你好,世界!" + +#: hello.awk:12 +#, awk-format +msgid "This program is running as process number %d." +msgstr "此程序正以进程号 %d 运行。" diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/zh_HK.po b/miniconda3/share/doc/gettext/examples/hello-gawk/po/zh_HK.po new file mode 100644 index 0000000000000000000000000000000000000000..052f2b55d7014bf6d8fce4addc736eb8111001d1 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/zh_HK.po @@ -0,0 +1,25 @@ +# Chinese (Hong Kong) translation of hello-gawk. +# Copyright (C) 2006 Yoyodyne, Inc. +# Abel Cheung , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-gawk 0.15-pre5\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2006-07-05 15:40+0800\n" +"Last-Translator: Abel Cheung \n" +"Language-Team: Chinese (Hong Kong) \n" +"Language: zh_HK\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" + +#: hello.awk:11 +msgid "Hello, world!" +msgstr "你好!" + +#: hello.awk:12 +#, awk-format +msgid "This program is running as process number %d." +msgstr "本程式正在執行中,進程編號為 %d。" diff --git a/miniconda3/share/doc/gettext/examples/hello-gawk/po/zh_TW.po b/miniconda3/share/doc/gettext/examples/hello-gawk/po/zh_TW.po new file mode 100644 index 0000000000000000000000000000000000000000..fd731033cf0ec2421c82da97c624179e460f2576 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-gawk/po/zh_TW.po @@ -0,0 +1,29 @@ +# Traditional Chinese translation of hello-gawk. +# Copyright (C) 2009 Yoyodyne, Inc. (msgids) +# This file is distributed under the same license as the gettext package. +# Abel Cheung , 2005. +# Wei-Lun Chao , 2013, 2015. +# Yi-Jyun Pan , 2024. +# +msgid "" +msgstr "" +"Project-Id-Version: hello-gawk 0.23-pre1\n" +"Report-Msgid-Bugs-To: bug-gettext@gnu.org\n" +"PO-Revision-Date: 2024-11-30 14:14+0800\n" +"Last-Translator: Yi-Jyun Pan \n" +"Language-Team: Chinese (traditional) \n" +"Language: zh_TW\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Bugs: Report translation errors to the Language-Team address.\n" +"X-Generator: Poedit 3.5\n" + +#: hello.awk:11 +msgid "Hello, world!" +msgstr "哈囉,大家好!" + +#: hello.awk:12 +#, awk-format +msgid "This program is running as process number %d." +msgstr "本程式正在執行,行程編號為 %d。" diff --git a/miniconda3/share/doc/gettext/examples/hello-go/INSTALL b/miniconda3/share/doc/gettext/examples/hello-go/INSTALL new file mode 100644 index 0000000000000000000000000000000000000000..f53900b3157a4e0d2654ca6d79209bbfed6b8fb3 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-go/INSTALL @@ -0,0 +1,10 @@ +This example relies on Go (package: golang-go, if available, or gccgo). + +Installation: + ./autogen.sh + ./configure --prefix=/some/prefix + make + make install +Cleanup: + make distclean + ./autoclean.sh diff --git a/miniconda3/share/doc/gettext/examples/hello-go/Makefile.am b/miniconda3/share/doc/gettext/examples/hello-go/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..c504b1335dce01a054a493de85f87ea0aa0dd197 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-go/Makefile.am @@ -0,0 +1,16 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Makefile configuration - processed by automake. + +# General automake options. +AUTOMAKE_OPTIONS = foreign +ACLOCAL_AMFLAGS = -I m4 + +# The list of subdirectories containing Makefiles. +SUBDIRS = example1 example2 example3 m4 po + +DISTCLEANFILES = gocomp.sh + +# Additional files to be distributed. +EXTRA_DIST = autogen.sh autoclean.sh diff --git a/miniconda3/share/doc/gettext/examples/hello-go/autoclean.sh b/miniconda3/share/doc/gettext/examples/hello-go/autoclean.sh new file mode 100644 index 0000000000000000000000000000000000000000..44f41b5824c98f2f9d63b7455e5106b22e587830 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-go/autoclean.sh @@ -0,0 +1,39 @@ +#!/bin/sh +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Script for cleaning all autogenerated files. + +test ! -f Makefile || make distclean +# Do the equivalent of "make maintainer-clean", even without the Makefile. +rm -f */go.sum +rm -rf autom4te.cache + +# Brought in by explicit copy. +rm -f m4/nls.m4 +rm -f m4/po.m4 +rm -f m4/progtest.m4 +rm -f po/remove-potcdate.sed + +# Brought in by explicit copy. +rm -f m4/gocomp.m4 +rm -f gocomp.sh.in + +# Generated by aclocal. +rm -f aclocal.m4 + +# Generated by autoconf. +rm -f configure + +# Generated or brought in by automake. +rm -f Makefile.in +rm -f example1/Makefile.in +rm -f example2/Makefile.in +rm -f example3/Makefile.in +rm -f m4/Makefile.in +rm -f po/Makefile.in +rm -f install-sh +rm -f missing +rm -f po/*.pot +rm -f po/stamp-po +rm -f po/*.gmo diff --git a/miniconda3/share/doc/gettext/examples/hello-go/autogen.sh b/miniconda3/share/doc/gettext/examples/hello-go/autogen.sh new file mode 100644 index 0000000000000000000000000000000000000000..9022bd8ad3876d14c25a5326a5cb499ce82ca978 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-go/autogen.sh @@ -0,0 +1,47 @@ +#!/bin/sh +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Script for regenerating all autogenerated files. + +if test -r ../Makefile.am; then + # Inside the gettext source directory. + GETTEXT_TOPSRCDIR=../../.. +else + if test -r ../Makefile; then + # Inside a gettext build directory. + GETTEXT_TOOLS_SRCDIR=`sed -n -e 's,^top_srcdir *= *\(.*\)$,\1,p' ../Makefile` + # Adjust a relative top_srcdir. + case $GETTEXT_TOOLS_SRCDIR in + /*) ;; + *) GETTEXT_TOOLS_SRCDIR=../$GETTEXT_TOOLS_SRCDIR ;; + esac + GETTEXT_TOPSRCDIR=$GETTEXT_TOOLS_SRCDIR/../.. + else + # Installed under ${prefix}/share/doc/gettext/examples. + . ../installpaths + fi +fi + +cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/nls.m4 m4/nls.m4 +cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/po.m4 m4/po.m4 +cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/progtest.m4 m4/progtest.m4 +cp -p ${GETTEXTSRCPODIR-$GETTEXT_TOPSRCDIR/gettext-runtime/po}/remove-potcdate.sed po/remove-potcdate.sed + +cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/gnulib-m4}/gocomp.m4 m4/gocomp.m4 +cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/build-aux}/gocomp.sh.in gocomp.sh.in + +aclocal -I m4 + +autoconf + +automake -a -c + +cd po +for f in *.po; do + if test -r "$f"; then + lang=`echo $f | sed -e 's,\.po$,,'` + msgfmt -c -o $lang.gmo $lang.po + fi +done +cd .. diff --git a/miniconda3/share/doc/gettext/examples/hello-go/configure.ac b/miniconda3/share/doc/gettext/examples/hello-go/configure.ac new file mode 100644 index 0000000000000000000000000000000000000000..f2f7acfff35578b0baca9ae5f638614cb51191b7 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-go/configure.ac @@ -0,0 +1,44 @@ +dnl Example for use of GNU gettext. +dnl This file is in the public domain. +dnl +dnl Configuration file - processed by autoconf. + +AC_INIT([hello-go], [0]) +AC_CONFIG_SRCDIR([example1/go.mod.in]) +AM_INIT_AUTOMAKE([1.11]) + +gt_GOCOMP +if test -z "$GO"; then + echo "*** Essential program go or go- not found" 1>&2 + exit 1 +fi + +dnl The installed program must know where to find its message catalogs. +dnl Unfortunately, prefix gets only finally determined at the end of configure. +if test "X$prefix" = "XNONE"; then + final_prefix="$ac_default_prefix" +else + final_prefix="$prefix" +fi +save_prefix="$prefix" +prefix="$final_prefix" +eval "datarootdir=\"${datarootdir}\"" +eval "localedir=\"${datarootdir}/locale\"" +prefix="$save_prefix" +AC_SUBST([localedir]) + +dnl Support for the po directory. +AM_PO_SUBDIRS + +AC_CONFIG_FILES([Makefile]) +dnl Support for VPATH builds: +dnl We need a copy of go.mod in the build directory, otherwise we get an error +dnl "go.mod file not found in current directory or any parent directory; +dnl see 'go help modules'". +AC_CONFIG_FILES([example1/Makefile example1/go.mod example1/hello1ml.go example1/hello1sl.go]) +AC_CONFIG_FILES([example2/Makefile example2/go.mod example2/hello2sl.go]) +AC_CONFIG_FILES([example3/Makefile example3/go.mod example3/hello3ml.go]) +AC_CONFIG_FILES([gocomp.sh]) +AC_CONFIG_FILES([m4/Makefile]) +AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE]) +AC_OUTPUT diff --git a/miniconda3/share/doc/gettext/examples/hello-go/example1/Makefile.am b/miniconda3/share/doc/gettext/examples/hello-go/example1/Makefile.am new file mode 100644 index 0000000000000000000000000000000000000000..77eb7a58a0058887d242a5c54d6ddebe455aa2f5 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-go/example1/Makefile.am @@ -0,0 +1,28 @@ +# Example for use of GNU gettext. +# This file is in the public domain. +# +# Makefile configuration - processed by automake. + +# The list of programs that are built. +bin_PROGRAMS = hello1ml hello1sl + +# The source files of the 'hello1ml' program. +nodist_hello1ml_SOURCES = hello1ml.go + +# The source files of the 'hello1sl' program. +nodist_hello1sl_SOURCES = hello1sl.go + +EXTRA_DIST = go.mod.in + +CLEANFILES = go.sum + +# Rules for compiling the programs. + +go.sum: + $(GO) mod download github.com/leonelquinteros/gotext + +hello1ml$(EXEEXT): $(nodist_hello1ml_SOURCES) go.sum + $(SHELL) ../gocomp.sh $(nodist_hello1ml_SOURCES) + +hello1sl$(EXEEXT): $(nodist_hello1sl_SOURCES) go.sum + $(SHELL) ../gocomp.sh $(nodist_hello1sl_SOURCES) diff --git a/miniconda3/share/doc/gettext/examples/hello-go/example1/go.mod.in b/miniconda3/share/doc/gettext/examples/hello-go/example1/go.mod.in new file mode 100644 index 0000000000000000000000000000000000000000..e659ac0dab8a8db23cec153599dc6591a78065dc --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-go/example1/go.mod.in @@ -0,0 +1,3 @@ +module hello +go 1.11 +require github.com/leonelquinteros/gotext v1.6.0 diff --git a/miniconda3/share/doc/gettext/examples/hello-go/example1/hello1ml.go.in b/miniconda3/share/doc/gettext/examples/hello-go/example1/hello1ml.go.in new file mode 100644 index 0000000000000000000000000000000000000000..13f464bfdbd01eea8f6c89a3a025c16be447e2e6 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/hello-go/example1/hello1ml.go.in @@ -0,0 +1,45 @@ +// Example for use of GNU gettext. +// This file is in the public domain. + +// Source code of a Go program showing the use of a multi-locale API. + + +package main + +import ( + // Documentation: https://pkg.go.dev/fmt + "fmt" + // Documentation: https://pkg.go.dev/github.com/leonelquinteros/gotext + "github.com/leonelquinteros/gotext" + // Documentation: https://pkg.go.dev/os + "os" +) + +// Returns the language in the form "ll_CC". +// Alternatives: +// - https://pkg.go.dev/github.com/Xuanwo/go-locale +// - https://pkg.go.dev/github.com/jeandeaual/go-locale +func getUserLanguage() string { + // Look at the POSIX environment variables. + for _, variable := range []string{"LC_ALL", "LC_MESSAGES", "LANG"} { + if value := os.Getenv(variable); value != "" { + return gotext.SimplifiedLocale(value) + } + } + // The "C" locale is essentially the same as the en-US locale. + return "en_US" +} + +func main () { + // Specify locale. + language := getUserLanguage() + + // Specify localedir. + localizer := gotext.NewLocale("@localedir@", language) + // Specify domain. + localizer.AddDomain("hello-go") + + fmt.Println(localizer.Get("Hello, world!")) + fmt.Println(localizer.Get("This program is running as process number %d.", + os.Getpid())) +} diff --git a/miniconda3/share/doc/gettext/examples/installpaths b/miniconda3/share/doc/gettext/examples/installpaths new file mode 100644 index 0000000000000000000000000000000000000000..23fbb098e393dfcea7fedda838287c558f035ae8 --- /dev/null +++ b/miniconda3/share/doc/gettext/examples/installpaths @@ -0,0 +1,28 @@ +# Shell script snippet that records various directories found by 'configure'. + +# Copyright (C) 2003-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 +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +prefix='/mnt/bn/bohanzhainas1/jiashuo/miniconda3' +exec_prefix="${prefix}" +libdir="${exec_prefix}/lib" +datarootdir="${prefix}/share" +datadir="${datarootdir}" +docdir="${datarootdir}/doc/gettext" +includedir="${prefix}/include" +ACLOCALDIR="${datadir}/aclocal" +GETTEXTSRCDIR="${datarootdir}/gettext" +GETTEXTSRCPODIR="${datarootdir}/gettext/po" +EXAMPLESCONFIGDIR="${datarootdir}/doc/gettext/examples/build-aux" diff --git a/miniconda3/share/doc/gettext/gettext.1.html b/miniconda3/share/doc/gettext/gettext.1.html new file mode 100644 index 0000000000000000000000000000000000000000..425aa7f3558b39930d1ef652d188955e64becbf6 --- /dev/null +++ b/miniconda3/share/doc/gettext/gettext.1.html @@ -0,0 +1,192 @@ + + + + + + + + +GETTEXT + + + + +

GETTEXT

+ +NAME
+SYNOPSIS
+DESCRIPTION
+AUTHOR
+REPORTING BUGS
+COPYRIGHT
+SEE ALSO
+ +
+ + +

NAME + +

+ + +

gettext - +translate message

+ +

SYNOPSIS + +

+ + +

gettext +[OPTION] [[TEXTDOMAIN] MSGID]
+gettext
[OPTION] -s [MSGID]...

+ +

DESCRIPTION + +

+ + +

The +gettext program translates a natural language message +into the user’s language, by looking up the +translation in a message catalog.

+ +

Display native +language translation of a textual message.
+-d
, +--domain=TEXTDOMAIN

+ +

retrieve translated messages +from TEXTDOMAIN

+ +

-c, +--context=CONTEXT

+ +

specify context for MSGID

+ + + + + + + + + + + + + + + + + + + + +
+ + +

-e

+ + +

enable expansion of some escape sequences

+
+ + +

-n

+ + +

suppress trailing newline

+
+ + +

-E

+ + +

(ignored for compatibility)

+
+ +

[TEXTDOMAIN] MSGID

+ +

retrieve translated message +corresponding to MSGID from TEXTDOMAIN

+ +

Informative +output:
+-h
, --help

+ +

display this help and exit

+ +

-V, +--version

+ +

display version information and +exit

+ +

If the +TEXTDOMAIN parameter is not given, the domain is determined +from the environment variable TEXTDOMAIN. If the message +catalog is not found in the regular directory, another +location can be specified with the environment variable +TEXTDOMAINDIR. When used with the -s option the +program behaves like the ’echo’ command. But it +does not simply copy its arguments to stdout. Instead those +messages found in the selected catalog are translated. +Standard search directory: /mnt/bn/bohanzhainas1/jiashuo/miniconda3/share/locale

+ +

AUTHOR + +

+ + +

Written by +Ulrich Drepper.

+ +

REPORTING BUGS + +

+ + +

Report bugs in +the bug tracker at +<https://savannah.gnu.org/projects/gettext> or by +email to <bug-gettext@gnu.org>.

+ +

COPYRIGHT + +

+ + +

Copyright +© 1995-2025 Free Software Foundation, Inc. +License GPLv3+: GNU GPL version 3 or later +<https://gnu.org/licenses/gpl.html>
+This is free software: you are free to change and +redistribute it. There is NO WARRANTY, to the extent +permitted by law.

+ +

SEE ALSO + +

+ + +

The full +documentation for gettext is maintained as a Texinfo +manual. If the info and gettext programs are +properly installed at your site, the command

+ +

info +gettext

+ +

should give you +access to the complete manual.

+
+ + diff --git a/miniconda3/share/doc/gettext/gettext.3.html b/miniconda3/share/doc/gettext/gettext.3.html new file mode 100644 index 0000000000000000000000000000000000000000..6d126e44dc825b64e0804e366537c7638bc8f716 --- /dev/null +++ b/miniconda3/share/doc/gettext/gettext.3.html @@ -0,0 +1,182 @@ + + + + + + + + +GETTEXT + + + + +

GETTEXT

+ +NAME
+SYNOPSIS
+DESCRIPTION
+RETURN VALUE
+ERRORS
+BUGS
+SEE ALSO
+ +
+ + +

NAME + +

+ + +

gettext, +dgettext, dcgettext - translate message

+ +

SYNOPSIS + +

+ + +

#include +<libintl.h>

+ +

char * +gettext (const char * msgid);
+char * dgettext (const char *
domainname, +const char * msgid);
+char * dcgettext (const char *
domainname, +const char * msgid,
+int
category);

+ +

DESCRIPTION + +

+ + +

The +gettext, dgettext and dcgettext +functions attempt to translate a text string into the +user’s native language, by looking up the translation +in a message catalog.

+ +

The +msgid argument identifies the message to be +translated. By convention, it is the English version of the +message, with non-ASCII characters replaced by ASCII +approximations. This choice allows the translators to work +with message catalogs, called PO files, that contain both +the English and the translated versions of each message, and +can be installed using the msgfmt utility.

+ +

A message +domain is a set of translatable msgid messages. +Usually, every software package has its own message domain. +The domain name is used to determine the message catalog +where the translation is looked up; it must be a non-empty +string. For the gettext function, it is specified +through a preceding textdomain call. For the +dgettext and dcgettext functions, it is passed +as the domainname argument; if this argument is NULL, +the domain name specified through a preceding +textdomain call is used instead.

+ +

Translation +lookup operates in the context of the current locale. For +the gettext and dgettext functions, the +LC_MESSAGES locale facet is used. It is determined by +a preceding call to the setlocale function. +setlocale (LC_ALL, "") initializes the +LC_MESSAGES locale based on the first nonempty value +of the three environment variables LC_ALL, +LC_MESSAGES, LANG; see setlocale(3). +For the dcgettext function, the locale facet is +determined by the category argument, which should be +one of the LC_xxx constants defined in the +<locale.h> header, excluding LC_ALL. In both +cases, the functions also use the LC_CTYPE locale +facet in order to convert the translated message from the +translator’s codeset to the current locale’s +codeset, unless overridden by a prior call to the +bind_textdomain_codeset function.

+ +

The message +catalog used by the functions is at the pathname +dirname/locale/category/domainname.mo. +Here dirname is the directory specified through +bindtextdomain. Its default is system and +configuration dependent; typically it is +prefix/share/locale, where prefix is the +installation prefix of the package. locale is the +name of the current locale facet; the GNU implementation +also tries generalizations, such as the language name +without the territory name. category is +LC_MESSAGES for the gettext and +dgettext functions, or the argument passed to the +dcgettext function.

+ +

If the +LANGUAGE environment variable is set to a nonempty +value, and the locale is not the "C" locale, the +value of LANGUAGE is assumed to contain a colon +separated list of locale names. The functions will attempt +to look up a translation of msgid in each of the +locales in turn. This is a GNU extension.

+ +

In the +"C" locale, or if none of the used catalogs +contain a translation for msgid, the gettext, +dgettext and dcgettext functions return +msgid.

+ +

RETURN VALUE + +

+ + +

If a +translation was found in one of the specified catalogs, it +is converted to the locale’s codeset and returned. The +resulting string is statically allocated and must not be +modified or freed. Otherwise msgid is returned.

+ +

ERRORS + +

+ + +

errno is +not modified.

+ +

BUGS + +

+ + +

The return type +ought to be const char *, but is char * to +avoid warnings in C code predating ANSI C.

+ +

When an empty +string is used for msgid, the functions may return a +nonempty string.

+ +

SEE ALSO + +

+ + + +

ngettext(3), +dngettext(3), dcngettext(3), +setlocale(3), textdomain(3), +bindtextdomain(3), bind_textdomain_codeset(3), +msgfmt(1)

+
+ + diff --git a/miniconda3/share/doc/gettext/gettext_1.html b/miniconda3/share/doc/gettext/gettext_1.html new file mode 100644 index 0000000000000000000000000000000000000000..df6c3cf810d3c4f20f3cbfbd3508c532bd7afa10 --- /dev/null +++ b/miniconda3/share/doc/gettext/gettext_1.html @@ -0,0 +1,678 @@ + + + + + +GNU gettext utilities: 1. Introduction + + + + + + + + + + + + + + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+ +
+ + +

1. Introduction

+ +

This chapter explains the goals sought in the creation +of GNU gettext and the free Translation Project. +Then, it explains a few broad concepts around +Native Language Support, and positions message translation with regard +to other aspects of national and cultural variance, as they apply +to programs. It also surveys those files used to convey the +translations. It explains how the various tools interact in the +initial generation of these files, and later, how the maintenance +cycle should usually operate. +

+ + + +

In this manual, we use he when speaking of the programmer or +maintainer, she when speaking of the translator, and they +when speaking of the installers or end users of the translated program. +This is only a convenience for clarifying the documentation. It is +absolutely not meant to imply that some roles are more appropriate +to males or females. Besides, as you might guess, GNU gettext +is meant to be useful for people using computers, whatever their sex, +race, religion or nationality! +

+ +

Please submit suggestions and corrections +

+ +

Please include the manual's edition number and update date in your messages. +

+ + + + +

1.1 The Purpose of GNU gettext

+ +

Usually, programs are written and documented in English, and use +English at execution time to interact with users. This is true +not only of GNU software, but also of a great deal of proprietary +and free software. Using a common language is quite handy for +communication between developers, maintainers and users from all +countries. On the other hand, most people are less comfortable with +English than with their own native language, and would prefer to +use their mother tongue for day to day's work, as far as possible. +Many would simply love to see their computer screen showing +a lot less of English, and far more of their own language. +

+ +

However, to many people, this dream might appear so far fetched that +they may believe it is not even worth spending time thinking about +it. They have no confidence at all that the dream might ever +become true. Yet some have not lost hope, and have organized themselves. +The Translation Project is a formalization of this hope into a +workable structure, which has a good chance to get all of us nearer +the achievement of a truly multi-lingual set of programs. +

+

GNU gettext is an important step for the Translation Project, +as it is an asset on which we may build many other steps. This package +offers to programmers, translators and even users, a well integrated +set of tools and documentation. Specifically, the GNU gettext +utilities are a set of tools that provides a framework within which +other free packages may produce multi-lingual messages. These tools +include +

+
    +
  • +A set of conventions about how programs should be written to support +message catalogs. + +
  • +A directory and file naming organization for the message catalogs +themselves. + +
  • +A runtime library supporting the retrieval of translated messages. + +
  • +A few stand-alone programs to massage in various ways the sets of +translatable strings, or already translated strings. + +
  • +A library supporting the parsing and creation of files containing +translated messages. + +
  • +A special mode for Emacs(1) which helps preparing these sets +and bringing them up to date. +
+ +

GNU gettext is designed to minimize the impact of +internationalization on program sources, keeping this impact as small +and hardly noticeable as possible. Internationalization has better +chances of succeeding if it is very light weighted, or at least, +appear to be so, when looking at program sources. +

+

The Translation Project also uses the GNU gettext distribution +as a vehicle for documenting its structure and methods. This goes +beyond the strict technicalities of documenting the GNU gettext +proper. By so doing, translators will find in a single place, as +far as possible, all they need to know for properly doing their +translating work. Also, this supplemental documentation might also +help programmers, and even curious users, in understanding how GNU +gettext is related to the remainder of the Translation +Project, and consequently, have a glimpse at the big picture. +

+ + + +

1.2 I18n, L10n, and Such

+ +

Two long words appear all the time when we discuss support of native +language in programs, and these words have a precise meaning, worth +being explained here, once and for all in this document. The words are +internationalization and localization. Many people, +tired of writing these long words over and over again, took the +habit of writing i18n and l10n instead, quoting the first +and last letter of each word, and replacing the run of intermediate +letters by a number merely telling how many such letters there are. +But in this manual, in the sake of clarity, we will patiently write +the names in full, each time… +

+ +

By internationalization, one refers to the operation by which a +program, or a set of programs turned into a package, is made aware of and +able to support multiple languages. This is a generalization process, +by which the programs are untied from calling only English strings or +other English specific habits, and connected to generic ways of doing +the same, instead. Program developers may use various techniques to +internationalize their programs. Some of these have been standardized. +GNU gettext offers one of these standards. See section The Programmer's View. +

+ +

By localization, one means the operation by which, in a set +of programs already internationalized, one gives the program all +needed information so that it can adapt itself to handle its input +and output in a fashion which is correct for some native language and +cultural habits. This is a particularisation process, by which generic +methods already implemented in an internationalized program are used +in specific ways. The programming environment puts several functions +to the programmers disposal which allow this runtime configuration. +The formal description of specific set of cultural habits for some +country, together with all associated translations targeted to the +same native language, is called the locale for this language +or country. Users achieve localization of programs by setting proper +values to special environment variables, prior to executing those +programs, identifying which locale should be used. +

+

In fact, locale message support is only one component of the cultural +data that makes up a particular locale. There are a whole host of +routines and functions provided to aid programmers in developing +internationalized software and which allow them to access the data +stored in a particular locale. When someone presently refers to a +particular locale, they are obviously referring to the data stored +within that particular locale. Similarly, if a programmer is referring +to “accessing the locale routines”, they are referring to the +complete suite of routines that access all of the locale's information. +

+ + + +

One uses the expression Native Language Support, or merely NLS, +for speaking of the overall activity or feature encompassing both +internationalization and localization, allowing for multi-lingual +interactions in a program. In a nutshell, one could say that +internationalization is the operation by which further localizations +are made possible. +

+

Also, very roughly said, when it comes to multi-lingual messages, +internationalization is usually taken care of by programmers, and +localization is usually taken care of by translators. +

+ + + +

1.3 Aspects in Native Language Support

+ +

For a totally multi-lingual distribution, there are many things to +translate beyond output messages. +

+
    +
  • +As of today, GNU gettext offers a complete toolset for +translating messages output by C programs. Perl scripts and shell +scripts will also need to be translated. Even if there are today some hooks +by which this can be done, these hooks are not integrated as well as they +should be. + +
  • +Some programs, like autoconf or bison, are able +to produce other programs (or scripts). Even if the generating +programs themselves are internationalized, the generated programs they +produce may need internationalization on their own, and this indirect +internationalization could be automated right from the generating +program. In fact, quite usually, generating and generated programs +could be internationalized independently, as the effort needed is +fairly orthogonal. + +
  • +A few programs include textual tables which might need translation +themselves, independently of the strings contained in the program +itself. For example, RFC 1345 gives an English description for each +character which the recode program is able to reconstruct at execution. +Since these descriptions are extracted from the RFC by mechanical means, +translating them properly would require a prior translation of the RFC +itself. + +
  • +Almost all programs accept options, which are often worded out so to +be descriptive for the English readers; one might want to consider +offering translated versions for program options as well. + +
  • +Many programs read, interpret, compile, or are somewhat driven by +input files which are texts containing keywords, identifiers, or +replies which are inherently translatable. For example, one may want +gcc to allow diacriticized characters in identifiers or use +translated keywords; ‘rm -i’ might accept something else than +‘y’ or ‘n’ for replies, etc. Even if the program will +eventually make most of its output in the foreign languages, one has +to decide whether the input syntax, option values, etc., are to be +localized or not. + +
  • +The manual accompanying a package, as well as all documentation files +in the distribution, could surely be translated, too. Translating a +manual, with the intent of later keeping up with updates, is a major +undertaking in itself, generally. + +
+ +

As we already stressed, translation is only one aspect of locales. +Other internationalization aspects are system services and are handled +in GNU libc. There +are many attributes that are needed to define a country's cultural +conventions. These attributes include beside the country's native +language, the formatting of the date and time, the representation of +numbers, the symbols for currency, etc. These local rules are +termed the country's locale. The locale represents the knowledge +needed to support the country's native attributes. +

+ +

There are a few major areas which may vary between countries and +hence, define what a locale must describe. The following list helps +putting multi-lingual messages into the proper context of other tasks +related to locales. See the GNU libc manual for details. +

+
+
Characters and Codesets
+
+ + + + +

The codeset most commonly used through out the USA and most English +speaking parts of the world is the ASCII codeset. However, there are +many characters needed by various locales that are not found within +this codeset. The 8-bit ISO 8859-1 code set has most of the special +characters needed to handle the major European languages. However, in +many cases, choosing ISO 8859-1 is nevertheless not adequate: it +doesn't even handle the major European currency. Hence each locale +will need to specify which codeset they need to use and will need +to have the appropriate character handling routines to cope with +the codeset. +

+
+
Currency
+
+ + +

The symbols used vary from country to country as does the position +used by the symbol. Software needs to be able to transparently +display currency figures in the native mode for each locale. +

+
+
Dates
+
+ + +

The format of date varies between locales. For example, Christmas day +in 1994 is written as 12/25/94 in the USA and as 25/12/94 in Australia. +Other countries might use ISO 8601 dates, etc. +

+

Time of the day may be noted as hh:mm, hh.mm, +or otherwise. Some locales require time to be specified in 24-hour +mode rather than as AM or PM. Further, the nature and yearly extent +of the Daylight Saving correction vary widely between countries. +

+
+
Numbers
+
+ + +

Numbers can be represented differently in different locales. +For example, the following numbers are all written correctly for +their respective locales: +

+
 
12,345.67       English
+12.345,67       German
+ 12345,67       French
+1,2345.67       Asia
+
+ +

Some programs could go further and use different unit systems, like +English units or Metric units, or even take into account variants +about how numbers are spelled in full. +

+
+
Messages
+
+ + +

The most obvious area is the language support within a locale. This is +where GNU gettext provides the means for developers and users to +easily change the language that the software uses to communicate to +the user. +

+
+
+ + +

These areas of cultural conventions are called locale categories. +It is an unfortunate term; locale aspects or locale feature +categories would be a better term, because each “locale category” +describes an area or task that requires localization. The concrete data +that describes the cultural conventions for such an area and for a particular +culture is also called a locale category. In this sense, a locale +is composed of several locale categories: the locale category describing +the codeset, the locale category describing the formatting of numbers, +the locale category containing the translated messages, and so on. +

+ +

Components of locale outside of message handling are standardized in +the ISO C standard and the POSIX:2001 standard (also known as the SUSV3 +specification). GNU libc +fully implements this, and most other modern systems provide a more +or less reasonable support for at least some of the missing components. +

+ + + +

1.4 Files Conveying Translations

+ +

The letters PO in ‘.po’ files means Portable Object, to +distinguish it from ‘.mo’ files, where MO stands for Machine +Object. This paradigm, as well as the PO file format, is inspired +by the NLS standard developed by Uniforum, and first implemented by +Sun in their Solaris system. +

+

PO files are meant to be read and edited by humans, and associate each +original, translatable string of a given package with its translation +in a particular target language. A single PO file is dedicated to +a single target language. If a package supports many languages, +there is one such PO file per language supported, and each package +has its own set of PO files. These PO files are best created by +the xgettext program, and later updated or refreshed through +the msgmerge program. Program xgettext extracts all +marked messages from a set of C files and initializes a PO file with +empty translations. Program msgmerge takes care of adjusting +PO files between releases of the corresponding sources, commenting +obsolete entries, initializing new ones, and updating all source +line references. Files ending with ‘.pot’ are kind of base +translation files found in distributions, in PO file format. +

+

MO files are meant to be read by programs, and are binary in nature. +A few systems already offer tools for creating and handling MO files +as part of the Native Language Support coming with the system, but the +format of these MO files is often different from system to system, +and non-portable. The tools already provided with these systems don't +support all the features of GNU gettext. Therefore GNU +gettext uses its own format for MO files. Files ending with +‘.gmo’ are really MO files, when it is known that these files use +the GNU format. +

+ + + +

1.5 Overview of GNU gettext

+ +

The following diagram summarizes the relation between the files +handled by GNU gettext and the tools acting on these files. +It is followed by somewhat detailed explanations, which you should +read while keeping an eye on the diagram. Having a clear understanding +of these interrelations will surely help programmers, translators +and maintainers. +

+
 
Original C Sources ───> Preparation ───> Marked C Sources ───╮
+                                                             │
+              ╭─────────<─── GNU gettext Library             │
+╭─── make <───┤                                              │
+│             ╰─────────<────────────────────┬───────────────╯
+│                                            │
+│   ╭─────<─── PACKAGE.pot <─── xgettext <───╯   ╭───<─── PO Compendium
+│   │                                            │              ↑
+│   │                                            ╰───╮          │
+│   ╰───╮                                            ├───> PO editor ───╮
+│       ├────> msgmerge ──────> LANG.po ────>────────╯                  │
+│   ╭───╯                                                               │
+│   │                                                                   │
+│   ╰─────────────<───────────────╮                                     │
+│                                 ├─── New LANG.po <────────────────────╯
+│   ╭─── LANG.gmo <─── msgfmt <───╯
+│   │
+│   ╰───> install ───> /.../LANG/PACKAGE.mo ───╮
+│                                              ├───> "Hello world!"
+╰───────> install ───> /.../bin/PROGRAM ───────╯
+
+ + +

As a programmer, the first step to bringing GNU gettext +into your package is identifying, right in the C sources, those strings +which are meant to be translatable, and those which are untranslatable. +This tedious job can be done a little more comfortably using emacs PO +mode, but you can use any means familiar to you for modifying your +C sources. Beside this some other simple, standard changes are needed to +properly initialize the translation library. See section Preparing Program Sources, for +more information about all this. +

+

For newly written software the strings of course can and should be +marked while writing it. The gettext approach makes this +very easy. Simply put the following lines at the beginning of each file +or in a central header file: +

+
 
#define _(String) (String)
+#define N_(String) String
+#define textdomain(Domain)
+#define bindtextdomain(Package, Directory)
+
+ +

Doing this allows you to prepare the sources for internationalization. +Later when you feel ready for the step to use the gettext library +simply replace these definitions by the following: +

+ +
 
#include <libintl.h>
+#define _(String) gettext (String)
+#define gettext_noop(String) String
+#define N_(String) gettext_noop (String)
+
+ + + +

and link against ‘libintl.a’ or ‘libintl.so’. Note that on +GNU systems, you don't need to link with libintl because the +gettext library functions are already contained in GNU libc. +That is all you have to change. +

+ + +

Once the C sources have been modified, the xgettext program +is used to find and extract all translatable strings, and create a +PO template file out of all these. This ‘package.pot’ file +contains all original program strings. It has sets of pointers to +exactly where in C sources each string is used. All translations +are set to empty. The letter t in ‘.pot’ marks this as +a Template PO file, not yet oriented towards any particular language. +See section Invoking the xgettext Program, for more details about how one calls the +xgettext program. If you are really lazy, you might +be interested at working a lot more right away, and preparing the +whole distribution setup (see section The Maintainer's View). By doing so, you +spare yourself typing the xgettext command, as make +should now generate the proper things automatically for you! +

+

The first time through, there is no ‘lang.po’ yet, so the +msgmerge step may be skipped and replaced by a mere copy of +‘package.pot’ to ‘lang.po’, where lang +represents the target language. See Creating a New PO File for details. +

+

Then comes the initial translation of messages. Translation in +itself is a whole matter, still exclusively meant for humans, +and whose complexity far overwhelms the level of this manual. +Nevertheless, a few hints are given in some other chapter of this +manual (see section The Translator's View). You will also find there indications +about how to contact translating teams, or becoming part of them, +for sharing your translating concerns with others who target the same +native language. +

+

While adding the translated messages into the ‘lang.po’ +PO file, if you are not using one of the dedicated PO file editors +(see section Editing PO Files), you are on your own +for ensuring that your efforts fully respect the PO file format, and quoting +conventions (see section The Format of PO Files). This is surely not an impossible task, +as this is the way many people have handled PO files around 1995. +On the other hand, by using a PO file editor, most details +of PO file format are taken care of for you, but you have to acquire +some familiarity with PO file editor itself. +

+

If some common translations have already been saved into a compendium +PO file, translators may use PO mode for initializing untranslated +entries from the compendium, and also save selected translations into +the compendium, updating it (see section Using Translation Compendia). Compendium files +are meant to be exchanged between members of a given translation team. +

+

Programs, or packages of programs, are dynamic in nature: users write +bug reports and suggestion for improvements, maintainers react by +modifying programs in various ways. The fact that a package has +already been internationalized should not make maintainers shy +of adding new strings, or modifying strings already translated. +They just do their job the best they can. For the Translation +Project to work smoothly, it is important that maintainers do not +carry translation concerns on their already loaded shoulders, and that +translators be kept as free as possible of programming concerns. +

+

The only concern maintainers should have is carefully marking new +strings as translatable, when they should be, and do not otherwise +worry about them being translated, as this will come in proper time. +Consequently, when programs and their strings are adjusted in various +ways by maintainers, and for matters usually unrelated to translation, +xgettext would construct ‘package.pot’ files which are +evolving over time, so the translations carried by ‘lang.po’ +are slowly fading out of date. +

+ +

It is important for translators (and even maintainers) to understand +that package translation is a continuous process in the lifetime of a +package, and not something which is done once and for all at the start. +After an initial burst of translation activity for a given package, +interventions are needed once in a while, because here and there, +translated entries become obsolete, and new untranslated entries +appear, needing translation. +

+

The msgmerge program has the purpose of refreshing an already +existing ‘lang.po’ file, by comparing it with a newer +‘package.pot’ template file, extracted by xgettext +out of recent C sources. The refreshing operation adjusts all +references to C source locations for strings, since these strings +move as programs are modified. Also, msgmerge comments out as +obsolete, in ‘lang.po’, those already translated entries +which are no longer used in the program sources (see section Obsolete Entries). It finally discovers new strings and inserts them in +the resulting PO file as untranslated entries (see section Untranslated Entries). See section Invoking the msgmerge Program, for more information about what +msgmerge really does. +

+

Whatever route or means taken, the goal is to obtain an updated +‘lang.po’ file offering translations for all strings. +

+

The temporal mobility, or fluidity of PO files, is an integral part of +the translation game, and should be well understood, and accepted. +People resisting it will have a hard time participating in the +Translation Project, or will give a hard time to other participants! In +particular, maintainers should relax and include all available official +PO files in their distributions, even if these have not recently been +updated, without exerting pressure on the translator teams to get the +job done. The pressure should rather come +from the community of users speaking a particular language, and +maintainers should consider themselves fairly relieved of any concern +about the adequacy of translation files. On the other hand, translators +should reasonably try updating the PO files they are responsible for, +while the package is undergoing pretest, prior to an official +distribution. +

+

Once the PO file is complete and dependable, the msgfmt program +is used for turning the PO file into a machine-oriented format, which +may yield efficient retrieval of translations by the programs of the +package, whenever needed at runtime (see section The Format of GNU MO Files). See section Invoking the msgfmt Program, for more information about all modes of execution +for the msgfmt program. +

+

Finally, the modified and marked C sources are compiled and linked +with the GNU gettext library, usually through the operation of +make, given a suitable ‘Makefile’ exists for the project, +and the resulting executable is installed somewhere users will find it. +The MO files themselves should also be properly installed. Given the +appropriate environment variables are set (see section Setting the Locale through Environment Variables), +the program should localize itself automatically, whenever it executes. +

+

Shipping the MO files as separate files, +as opposed to embedding them in the executable, +has three advantages: +

    +
  • +For the users: +It allows users to prepare and install new translations, +without needing to rebuild the package (which may require developer skills). +
  • +For the distributors: +It allows distributions to +ship translations that were produced after the release of the package. +
  • +For the vendors of complex packages: +When lengthy quality assurance steps are required before making a release, +this quality assurance can start +before the translators have produced the translations, +shortening the critical path of the release schedule by a week or two. +
+

Embedding the translations in the executable, +whether by the ISO C #embed directive or through other means, +would deprive users without developer skills +of the ability to fix translation mistakes and add new translations. +

+

The remainder of this manual has the purpose of explaining in depth the various +steps outlined above. +

+ + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+

+ + This document was generated by Bruno Haible on July, 2 2025 using texi2html 1.78a. + +
+ +

+ + diff --git a/miniconda3/share/doc/gettext/gettext_10.html b/miniconda3/share/doc/gettext/gettext_10.html new file mode 100644 index 0000000000000000000000000000000000000000..306b8e9f6dc834dd57d1971d48bf312b2bb06f07 --- /dev/null +++ b/miniconda3/share/doc/gettext/gettext_10.html @@ -0,0 +1,1047 @@ + + + + + +GNU gettext utilities: 10. Producing Binary MO Files + + + + + + + + + + + + + + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+ +
+ + +

10. Producing Binary MO Files

+ + + + + + +

10.1 Invoking the msgfmt Program

+ + +
 
msgfmt [option] filename.po …
+
+ + +

The msgfmt programs generates a binary message catalog from a textual +translation description. +

+ + +

10.1.1 Input file location

+ +
+
filename.po …
+
-D directory
+
--directory=directory
+
+ +

Add directory to the list of directories. Source files are +searched relative to this list of directories. The resulting binary +file will be written relative to the current directory, though. +

+
+
+ +

If an input file is ‘-’, standard input is read. +

+ + +

10.1.2 Operation mode

+ +
+
-j
+
--java
+
+ + +

Java mode: generate a Java ResourceBundle class. +

+
+
--java2
+
+

Like –java, and assume Java2 (JDK 1.2 or higher). +

+
+
--csharp
+
+ +

C# mode: generate a .NET .dll file containing a subclass of +GettextResourceSet. +

+
+
--csharp-resources
+
+ +

C# resources mode: generate a .NET ‘.resources’ file. +

+
+
--tcl
+
+ +

Tcl mode: generate a tcl/msgcat ‘.msg’ file. +

+
+
--qt
+
+ +

Qt mode: generate a Qt ‘.qm’ file. +

+
+
--desktop
+
+ +

Desktop Entry mode: generate a ‘.desktop’ file. +

+
+
--xml
+
+ +

XML mode: generate an XML file. +

+
+
+ + + +

10.1.3 Output file location

+ +
+
-o file
+
--output-file=file
+
+ +

Write output to specified file. +

+
+
--strict
+
+

Direct the program to work strictly following the Uniforum/Sun +implementation. Currently this only affects the naming of the output +file. If this option is not given the name of the output file is the +same as the domain name. If the strict Uniforum mode is enabled the +suffix ‘.mo’ is added to the file name if it is not already +present. +

+

We find this behaviour of Sun's implementation rather silly and so by +default this mode is not selected. +

+
+
+ +

If the output file is ‘-’, output is written to standard output. +

+ + +

10.1.4 Output file location in Java mode

+ +
+
-r resource
+
--resource=resource
+
+ +

Specify the resource name. +

+
+
-l locale
+
--locale=locale
+
+ +

Specify the locale name, either a language specification of the form ll +or a combined language and country specification of the form ll_CC. +

+
+
-d directory
+
+

Specify the base directory of classes directory hierarchy. +

+
+
--source
+
+

Produce a .java source file, instead of a compiled .class file. +

+
+
+ +

The class name is determined by appending the locale name to the resource name, +separated with an underscore. The ‘-d’ option is mandatory. The class +is written under the specified directory. +

+ + +

10.1.5 Output file location in C# mode

+ +
+
-r resource
+
--resource=resource
+
+ +

Specify the resource name. +

+
+
-l locale
+
--locale=locale
+
+ +

Specify the locale name, either a language specification of the form ll +or a combined language and country specification of the form ll_CC. +

+
+
-d directory
+
+

Specify the base directory for locale dependent ‘.dll’ files. +

+
+
+ +

The ‘-l’ and ‘-d’ options are mandatory. The ‘.dll’ file is +written in a subdirectory of the specified directory whose name depends on the +locale. +

+ + +

10.1.6 Output file location in Tcl mode

+ +
+
-l locale
+
--locale=locale
+
+ +

Specify the locale name, either a language specification of the form ll +or a combined language and country specification of the form ll_CC. +

+
+
-d directory
+
+

Specify the base directory of ‘.msg’ message catalogs. +

+
+
+ +

The ‘-l’ and ‘-d’ options are mandatory. The ‘.msg’ file is +written in the specified directory. +

+ + +

10.1.7 Desktop Entry mode options

+ +
+
--template=template
+
+

Specify a .desktop file used as a template. +

+
+
-k[keywordspec]
+
--keyword[=keywordspec]
+
+ +

Specify keywordspec as an additional keyword to be looked for. +Without a keywordspec, the option means to not use default keywords. +

+
+
-l locale
+
--locale=locale
+
+ +

Specify the locale name, either a language specification of the form ll +or a combined language and country specification of the form ll_CC. +

+
+
-d directory
+
+

Specify the directory where PO files are read. The directory must +contain the ‘LINGUAS’ file. +

+
+
+ +

To generate a ‘.desktop’ file for a single locale, you can use it +as follows. +

+
 
msgfmt --desktop --template=template --locale=locale \
+  -o file filename.po …
+
+ +

msgfmt provides a special "bulk" operation mode to process multiple +‘.po’ files at a time. +

+
 
msgfmt --desktop --template=template -d directory -o file
+
+ +

msgfmt first reads the ‘LINGUAS’ file under directory, and +then processes all ‘.po’ files listed there. You can also limit +the locales to a subset, through the ‘LINGUAS’ environment +variable. +

+

For either operation modes, the ‘-o’ and ‘--template’ +options are mandatory. +

+ + +

10.1.8 XML mode options

+ +
+
--template=template
+
+

Specify an XML file used as a template. +

+
+
-L name
+
--language=name
+
+ + +

Specifies the language of the input files. +

+
+
-l locale
+
--locale=locale
+
+ +

Specify the locale name, either a language specification of the form ll +or a combined language and country specification of the form ll_CC. +

+
+
-d directory
+
+

Specify the base directory of ‘.po’ message catalogs. +

+
+
--replace-text
+
+

Output XML with translated text replacing the original text, +not augmenting the original text. +With this option, msgfmt produces a mono-lingual XML file. +Without this option, it produces a multi-lingual XML file. +

+
+ +

To generate an XML file for a single locale, you can use it as follows. +

+
 
msgfmt --xml --template=template --locale=locale \
+  -o file filename.po …
+
+ +

msgfmt provides a special "bulk" operation mode to process multiple +‘.po’ files at a time. +

+
 
msgfmt --xml --template=template -d directory -o file
+
+ +

msgfmt first reads the ‘LINGUAS’ file under directory, and +then processes all ‘.po’ files listed there. You can also limit +the locales to a subset, through the ‘LINGUAS’ environment +variable. +

+

For either operation modes, the ‘-o’ and ‘--template’ +options are mandatory. +

+

If your XML file is not of one of the types covered by the system-wide +installed *.its files, +you need a particular *.its file and a corresponding *.loc file +(see section Preparing Rules for XML Internationalization). +Furthermore you need to store these files +in a directory ‘parent_dir/its/’ + +and set the environment variable GETTEXTDATADIRS to include +parent_dir. +More generally, the value of GETTEXTDATADIRS should be +a colon-separated list of directory names. +

+ + +

10.1.9 Input file syntax

+ +
+
-P
+
--properties-input
+
+ +

Assume the input files are Java ResourceBundles in Java .properties +syntax, not in PO file syntax. +

+
+
--stringtable-input
+
+

Assume the input files are NeXTstep/GNUstep localized resource files in +.strings syntax, not in PO file syntax. +

+
+
+ + + +

10.1.10 Input file interpretation

+ +
+
-c
+
--check
+
+ +

Perform all the checks implied by --check-format, --check-header, +--check-domain. +

+
+
--check-format
+
+ +

Check language dependent format strings. +

+

If the string represents a format string used in a +printf-like function both strings should have the same number of +‘%’ format specifiers, with matching types. If the flag +c-format or possible-c-format appears in the special +comment <#,> for this entry a check is performed. For example, the +check will diagnose using ‘%.*s’ against ‘%s’, or ‘%d’ +against ‘%s’, or ‘%d’ against ‘%x’. It can even handle +positional parameters. +

+

Normally the xgettext program automatically decides whether a +string is a format string or not. This algorithm is not perfect, +though. It might regard a string as a format string though it is not +used in a printf-like function and so msgfmt might report +errors where there are none. +

+

To solve this problem the programmer can dictate the decision to the +xgettext program (see section C Format Strings). The translator should not +consider removing the flag from the <#,> line. This "fix" would be +reversed again as soon as msgmerge is called the next time. +

+
+
--check-header
+
+

Verify presence and contents of the header entry. See section Filling in the Header Entry, +for a description of the various fields in the header entry. +

+
+
--check-domain
+
+

Check for conflicts between domain directives and the --output-file +option +

+
+
-C
+
--check-compatibility
+
+ + +

Check that GNU msgfmt behaves like X/Open msgfmt. This will give an error +when attempting to use the GNU extensions. +

+
+
--check-accelerators[=char]
+
+ + + +

Check presence of keyboard accelerators for menu items. This is based on +the convention used in some GUIs that a keyboard accelerator in a menu +item string is designated by an immediately preceding ‘&’ character. +Sometimes a keyboard accelerator is also called "keyboard mnemonic". +This check verifies that if the untranslated string has exactly one +‘&’ character, the translated string has exactly one ‘&’ as well. +If this option is given with a char argument, this char should +be a non-alphanumeric character and is used as keyboard accelerator mark +instead of ‘&’. +

+
+
-f
+
--use-fuzzy
+
+ + +

Use fuzzy entries in output. Note that using this option is usually wrong, +because fuzzy messages are exactly those which have not been validated by +a human translator. +

+
+
+ + + +

10.1.11 Output details

+ +
+
--no-convert
+
+

Don't convert the messages to UTF-8 encoding. By default, messages are +converted to UTF-8 encoding before being stored in a MO file; this helps +avoiding conversions at run time, since nowadays most locales use the +UTF-8 encoding. +

+
+
--no-redundancy
+
+

Don't pre-expand ISO C 99 <inttypes.h> format string directive macros. +By default, messages that are marked as c-format and contain +ISO C 99 <inttypes.h> format string directive macros are pre-expanded +for selected platforms, and these redundant expansions are stored in the +MO file. These redundant expansions make the translations of these +messages work with the gettext implementation in the libc +of that platform, without requiring GNU gettext's libintl. +The platforms that benefit from this pre-expansion are those with the +musl libc. +

+
+
-a number
+
--alignment=number
+
+ +

Align strings to number bytes (default: 1). +

+
+
--endianness=byteorder
+
+

Write out 32-bit numbers in the given byte order. The possible values are +big and little. The default is little. +

+

MO files of any endianness can be used on any platform. When a MO file has +an endianness other than the platform's one, the 32-bit numbers from the MO +file are swapped at runtime. The performance impact is negligible. +

+

This option can be useful to produce MO files that are optimized for one +platform. +

+
+
--no-hash
+
+

Don't include a hash table in the binary file. Lookup will be more expensive +at run time (binary search instead of hash table lookup). +

+
+
+ + + +

10.1.12 Informative output

+ +
+
-h
+
--help
+
+ +

Display this help and exit. +

+
+
-V
+
--version
+
+ +

Output version information and exit. +

+
+
--statistics
+
+

Print statistics about translations. When the option --verbose is used +in combination with --statistics, the input file name is printed in +front of the statistics line. +

+
+
-v
+
--verbose
+
+ +

Increase verbosity level. +

+
+
+ + + + +

10.2 Invoking the msgunfmt Program

+ + +
 
msgunfmt [option] [file]...
+
+ + +

The msgunfmt program converts a binary message catalog to a +Uniforum style .po file. +

+ + +

10.2.1 Operation mode

+ +
+
-j
+
--java
+
+ + +

Java mode: input is a Java ResourceBundle class. +

+
+
--csharp
+
+ +

C# mode: input is a .NET .dll file containing a subclass of +GettextResourceSet. +

+
+
--csharp-resources
+
+ +

C# resources mode: input is a .NET ‘.resources’ file. +

+
+
--tcl
+
+ +

Tcl mode: input is a tcl/msgcat ‘.msg’ file. +

+
+
+ + + +

10.2.2 Input file location

+ +
+
file
+

Input .mo files. +

+
+
+ +

If no input file is given or if it is ‘-’, standard input is read. +

+ + +

10.2.3 Input file location in Java mode

+ +
+
-r resource
+
--resource=resource
+
+ +

Specify the resource name. +

+
+
-l locale
+
--locale=locale
+
+ +

Specify the locale name, either a language specification of the form ll +or a combined language and country specification of the form ll_CC. +

+
+
+ +

The class name is determined by appending the locale name to the resource name, +separated with an underscore. The class is located using the CLASSPATH. +

+ + +

10.2.4 Input file location in C# mode

+ +
+
-r resource
+
--resource=resource
+
+ +

Specify the resource name. +

+
+
-l locale
+
--locale=locale
+
+ +

Specify the locale name, either a language specification of the form ll +or a combined language and country specification of the form ll_CC. +

+
+
-d directory
+
+

Specify the base directory for locale dependent ‘.dll’ files. +

+
+
+ +

The ‘-l’ and ‘-d’ options are mandatory. The ‘.msg’ file is +located in a subdirectory of the specified directory whose name depends on the +locale. +

+ + +

10.2.5 Input file location in Tcl mode

+ +
+
-l locale
+
--locale=locale
+
+ +

Specify the locale name, either a language specification of the form ll +or a combined language and country specification of the form ll_CC. +

+
+
-d directory
+
+

Specify the base directory of ‘.msg’ message catalogs. +

+
+
+ +

The ‘-l’ and ‘-d’ options are mandatory. The ‘.msg’ file is +located in the specified directory. +

+ + +

10.2.6 Output file location

+ +
+
-o file
+
--output-file=file
+
+ +

Write output to specified file. +

+
+
+ +

The results are written to standard output if no output file is specified +or if it is ‘-’. +

+ + +

10.2.7 Output details

+ + +
+
--color
+
--color=when
+
+

Specify whether or when to use colors and other text attributes. +See The --color option for details. +

+
+
--style=style_file
+
+

Specify the CSS style rule file to use for --color. +See The --style option for details. +

+
+
--force-po
+
+

Always write an output file even if it contains no message. +

+
+
-i
+
--indent
+
+ +

Write the .po file using indented style. +

+
+
--strict
+
+

Write out a strict Uniforum conforming PO file. Note that this +Uniforum format should be avoided because it doesn't support the +GNU extensions. +

+
+
-p
+
--properties-output
+
+ +

Write out a Java ResourceBundle in Java .properties syntax. Note +that this file format doesn't support plural forms and silently drops +obsolete messages. +

+
+
--stringtable-output
+
+

Write out a NeXTstep/GNUstep localized resource file in .strings syntax. +Note that this file format doesn't support plural forms. +

+
+
-w number
+
--width=number
+
+ +

Set the output page width. Long strings in the output files will be +split across multiple lines in order to ensure that each line's width +(= number of screen columns) is less or equal to the given number. +

+
+
--no-wrap
+
+

Do not break long message lines. Message lines whose width exceeds the +output page width will not be split into several lines. Only file reference +lines which are wider than the output page width will be split. +

+
+
-s
+
--sort-output
+
+ + +

Generate sorted output. Note that using this option makes it much harder +for the translator to understand each message's context. +

+
+
+ + + +

10.2.8 Informative output

+ +
+
-h
+
--help
+
+ +

Display this help and exit. +

+
+
-V
+
--version
+
+ +

Output version information and exit. +

+
+
-v
+
--verbose
+
+ +

Increase verbosity level. +

+
+
+ + + + +

10.3 The Format of GNU MO Files

+ +

The format of the generated MO files is best described by a picture, +which appears below. +

+ +

The first two words serve the identification of the file. The magic +number will always signal GNU MO files. The number is stored in the +byte order used when the MO file was generated, so the magic number +really is two numbers: 0x950412de and 0xde120495. +

+

The second word describes the current revision of the file format, +composed of a major and a minor revision number. The revision numbers +ensure that the readers of MO files can distinguish new formats from +old ones and handle their contents, as far as possible. For now the +major revision is 0 or 1, and the minor revision is also 0 or 1. More +revisions might be added in the future. A program seeing an unexpected +major revision number should stop reading the MO file entirely; whereas +an unexpected minor revision number means that the file can be read but +will not reveal its full contents, when parsed by a program that +supports only smaller minor revision numbers. +

+

The version is kept +separate from the magic number, instead of using different magic +numbers for different formats, mainly because ‘/etc/magic’ is +not updated often. +

+

Follow a number of pointers to later tables in the file, allowing +for the extension of the prefix part of MO files without having to +recompile programs reading them. This might become useful for later +inserting a few flag bits, indication about the charset used, new +tables, or other things. +

+

Then, at offset O and offset T in the picture, two tables +of string descriptors can be found. In both tables, each string +descriptor uses two 32 bits integers, one for the string length, +another for the offset of the string in the MO file, counting in bytes +from the start of the file. The first table contains descriptors +for the original strings, and is sorted so the original strings +are in increasing lexicographical order. The second table contains +descriptors for the translated strings, and is parallel to the first +table: to find the corresponding translation one has to access the +array slot in the second array with the same index. +

+

Having the original strings sorted enables the use of simple binary +search, for when the MO file does not contain an hashing table, or +for when it is not practical to use the hashing table provided in +the MO file. This also has another advantage, as the empty string +in a PO file GNU gettext is usually translated into +some system information attached to that particular MO file, and the +empty string necessarily becomes the first in both the original and +translated tables, making the system information very easy to find. +

+ +

The size S of the hash table can be zero. In this case, the +hash table itself is not contained in the MO file. Some people might +prefer this because a precomputed hashing table takes disk space, and +does not win that much speed. The hash table contains indices +to the sorted array of strings in the MO file. Conflict resolution is +done by double hashing. The precise hashing algorithm used is fairly +dependent on GNU gettext code, and is not documented here. +

+

As for the strings themselves, they follow the hash file, and each +is terminated with a <NUL>, and this <NUL> is not counted in +the length which appears in the string descriptor. The msgfmt +program has an option selecting the alignment for MO file strings. +With this option, each string is separately aligned so it starts at +an offset which is a multiple of the alignment value. On some RISC +machines, a correct alignment will speed things up. +

+ +

Contexts are stored by storing the concatenation of the context, a +<EOT> byte, and the original string, instead of the original string. +

+ +

Plural forms are stored by letting the plural of the original string +follow the singular of the original string, separated through a +<NUL> byte. The length which appears in the string descriptor +includes both. However, only the singular of the original string +takes part in the hash table lookup. The plural variants of the +translation are all stored consecutively, separated through a +<NUL> byte. Here also, the length in the string descriptor +includes all of them. +

+ +

The character encoding of the strings can be any standard ASCII-compatible +encoding, such as UTF-8, ISO-8859-1, EUC-JP, etc., as long as the +encoding's name is stated in the header entry (see section Filling in the Header Entry). +Starting with GNU gettext version 0.22, the MO files produced by +msgfmt have them in UTF-8 encoding, unless the msgfmt +option ‘--no-convert’ is used. +

+

Nothing prevents a MO file from having embedded <NUL>s in strings. +However, the program interface currently used already presumes +that strings are <NUL> terminated, so embedded <NUL>s are +somewhat useless. But the MO file format is general enough so other +interfaces would be later possible, if for example, we ever want to +implement wide characters right in MO files, where <NUL> bytes may +accidentally appear. (No, we don't want to have wide characters in MO +files. They would make the file unnecessarily large, and the +‘wchar_t’ type being platform dependent, MO files would be +platform dependent as well.) +

+

This particular issue has been strongly debated in the GNU +gettext development forum, and it is expectable that MO file +format will evolve or change over time. It is even possible that many +formats may later be supported concurrently. But surely, we have to +start somewhere, and the MO file format described here is a good start. +Nothing is cast in concrete, and the format may later evolve fairly +easily, so we should feel comfortable with the current approach. +

+
 
        byte
+             +------------------------------------------+
+          0  | magic number = 0x950412de                |
+             |                                          |
+          4  | file format revision = 0                 |
+             |                                          |
+          8  | number of strings                        |  == N
+             |                                          |
+         12  | offset of table with original strings    |  == O
+             |                                          |
+         16  | offset of table with translation strings |  == T
+             |                                          |
+         20  | size of hashing table                    |  == S
+             |                                          |
+         24  | offset of hashing table                  |  == H
+             |                                          |
+             .                                          .
+             .    (possibly more entries later)         .
+             .                                          .
+             |                                          |
+          O  | length & offset 0th string  ----------------.
+      O + 8  | length & offset 1st string  ------------------.
+              ...                                    ...   | |
+O + ((N-1)*8)| length & offset (N-1)th string           |  | |
+             |                                          |  | |
+          T  | length & offset 0th translation  ---------------.
+      T + 8  | length & offset 1st translation  -----------------.
+              ...                                    ...   | | | |
+T + ((N-1)*8)| length & offset (N-1)th translation      |  | | | |
+             |                                          |  | | | |
+          H  | start hash table                         |  | | | |
+              ...                                    ...   | | | |
+  H + S * 4  | end hash table                           |  | | | |
+             |                                          |  | | | |
+             | NUL terminated 0th string  <----------------' | | |
+             |                                          |    | | |
+             | NUL terminated 1st string  <------------------' | |
+             |                                          |      | |
+              ...                                    ...       | |
+             |                                          |      | |
+             | NUL terminated 0th translation  <---------------' |
+             |                                          |        |
+             | NUL terminated 1st translation  <-----------------'
+             |                                          |
+              ...                                    ...
+             |                                          |
+             +------------------------------------------+
+
+ + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+

+ + This document was generated by Bruno Haible on July, 2 2025 using texi2html 1.78a. + +
+ +

+ + diff --git a/miniconda3/share/doc/gettext/gettext_11.html b/miniconda3/share/doc/gettext/gettext_11.html new file mode 100644 index 0000000000000000000000000000000000000000..c806b022d3288529b6c2b2f9423ae9b7fca12199 --- /dev/null +++ b/miniconda3/share/doc/gettext/gettext_11.html @@ -0,0 +1,1427 @@ + + + + + +GNU gettext utilities: 11. The Programmer's View + + + + + + + + + + + + + + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+ +
+ + +

11. The Programmer's View

+ + +

One aim of the current message catalog implementation provided by +GNU gettext was to use the system's message catalog handling, if the +installer wishes to do so. So we perhaps should first take a look at +the solutions we know about. The people in the POSIX committee did not +manage to agree on one of the semi-official standards which we'll +describe below. In fact they couldn't agree on anything, so they decided +only to include an example of an interface. The major Unix vendors +are split in the usage of the two most important specifications: X/Open's +catgets vs. Uniforum's gettext interface. We'll describe them both and +later explain our solution of this dilemma. +

+ + + + +

11.1 About catgets

+ +

The catgets implementation is defined in the X/Open Portability +Guide, Volume 3, XSI Supplementary Definitions, Chapter 5. But the +process of creating this standard seemed to be too slow for some of +the Unix vendors so they created their implementations on preliminary +versions of the standard. Of course this leads again to problems while +writing platform independent programs: even the usage of catgets +does not guarantee a unique interface. +

+

Another, personal comment on this that only a bunch of committee members +could have made this interface. They never really tried to program +using this interface. It is a fast, memory-saving implementation, an +user can happily live with it. But programmers hate it (at least I and +some others do…) +

+

But we must not forget one point: after all the trouble with transferring +the rights on Unix they at last came to X/Open, the very same who +published this specification. This leads me to making the prediction +that this interface will be in future Unix standards (e.g. Spec1170) and +therefore part of all Unix implementation (implementations, which are +allowed to wear this name). +

+ + + + +

11.1.1 The Interface

+ +

The interface to the catgets implementation consists of three +functions which correspond to those used in file access: catopen +to open the catalog for using, catgets for accessing the message +tables, and catclose for closing after work is done. Prototypes +for the functions and the needed definitions are in the +<nl_types.h> header file. +

+ +

catopen is used like in this: +

+
 
nl_catd catd = catopen ("catalog_name", 0);
+
+ +

The function takes as the argument the name of the catalog. This usual +refers to the name of the program or the package. The second parameter +is not further specified in the standard. I don't even know whether it +is implemented consistently among various systems. So the common advice +is to use 0 as the value. The return value is a handle to the +message catalog, equivalent to handles to file returned by open. +

+ +

This handle is of course used in the catgets function which can +be used like this: +

+
 
char *translation = catgets (catd, set_no, msg_id, "original string");
+
+ +

The first parameter is this catalog descriptor. The second parameter +specifies the set of messages in this catalog, in which the message +described by msg_id is obtained. catgets therefore uses a +three-stage addressing: +

+
 
catalog name ⇒ set number ⇒ message ID ⇒ translation
+
+ + +

The fourth argument is not used to address the translation. It is given +as a default value in case when one of the addressing stages fail. One +important thing to remember is that although the return type of catgets +is char * the resulting string must not be changed. It +should better be const char *, but the standard is published in +1988, one year before ANSI C. +

+ +

The last of these functions is used and behaves as expected: +

+
 
catclose (catd);
+
+ +

After this no catgets call using the descriptor is legal anymore. +

+ + + +

11.1.2 Problems with the catgets Interface?!

+ +

Now that this description seemed to be really easy — where are the +problems we speak of? In fact the interface could be used in a +reasonable way, but constructing the message catalogs is a pain. The +reason for this lies in the third argument of catgets: the unique +message ID. This has to be a numeric value for all messages in a single +set. Perhaps you could imagine the problems keeping such a list while +changing the source code. Add a new message here, remove one there. Of +course there have been developed a lot of tools helping to organize this +chaos but one as the other fails in one aspect or the other. We don't +want to say that the other approach has no problems but they are far +more easy to manage. +

+ + + +

11.2 About gettext

+ +

The definition of the gettext interface comes from a Uniforum +proposal. It was submitted there by Sun, who had implemented the +gettext function in SunOS 4, around 1990. Nowadays, the +gettext interface is specified by the OpenI18N standard. +

+

The main point about this solution is that it does not follow the +method of normal file handling (open-use-close) and that it does not +burden the programmer with so many tasks, especially the unique key handling. +Of course here also a unique key is needed, but this key is the message +itself (how long or short it is). See Comparing the Two Interfaces for a more +detailed comparison of the two methods. +

+

The following section contains a rather detailed description of the +interface. We make it that detailed because this is the interface +we chose for the GNU gettext Library. Programmers interested +in using this library will be interested in this description. +

+ + + + +

11.2.1 The Interface

+ +

The minimal functionality an interface must have is a) to select a +domain the strings are coming from (a single domain for all programs is +not reasonable because its construction and maintenance is difficult, +perhaps impossible) and b) to access a string in a selected domain. +

+

This is principally the description of the gettext interface. It +has a global domain which unqualified usages reference. Of course this +domain is selectable by the user. +

+
 
char *textdomain (const char *domain_name);
+
+ +

This provides the possibility to change or query the current status of +the current global domain of the LC_MESSAGE category. The +argument is a null-terminated string, whose characters must be legal in +the use in filenames. If the domain_name argument is NULL, +the function returns the current value. If no value has been set +before, the name of the default domain is returned: messages. +Please note that although the return value of textdomain is of +type char * no changing is allowed. It is also important to know +that no checks of the availability are made. If the name is not +available you will see this by the fact that no translations are provided. +

+

To use a domain set by textdomain the function +

+
 
char *gettext (const char *msgid);
+
+ +

is to be used. This is the simplest reasonable form one can imagine. +The translation of the string msgid is returned if it is available +in the current domain. If it is not available, the argument itself is +returned. If the argument is NULL the result is undefined. +

+

One thing which should come into mind is that no explicit dependency to +the used domain is given. The current value of the domain is used. +If this changes between two +executions of the same gettext call in the program, both calls +reference a different message catalog. +

+

For the easiest case, which is normally used in internationalized +packages, once at the beginning of execution a call to textdomain +is issued, setting the domain to a unique name, normally the package +name. In the following code all strings which have to be translated are +filtered through the gettext function. That's all, the package speaks +your language. +

+ + + +

11.2.2 Solving Ambiguities

+ +

While this single name domain works well for most applications there +might be the need to get translations from more than one domain. Of +course one could switch between different domains with calls to +textdomain, but this is really not convenient nor is it fast. A +possible situation could be one case subject to discussion during this +writing: all +error messages of functions in the set of common used functions should +go into a separate domain error. By this mean we would only need +to translate them once. +Another case are messages from a library, as these have to be +independent of the current domain set by the application. +

+

For this reasons there are two more functions to retrieve strings: +

+
 
char *dgettext (const char *domain_name, const char *msgid);
+char *dcgettext (const char *domain_name, const char *msgid,
+                 int category);
+
+ +

Both take an additional argument at the first place, which corresponds +to the argument of textdomain. The third argument of +dcgettext allows to use another locale category but LC_MESSAGES. +But I really don't know where this can be useful. If the +domain_name is NULL or category has an value beside +the known ones, the result is undefined. It should also be noted that +this function is not part of the second known implementation of this +function family, the one found in Solaris. +

+

A second ambiguity can arise by the fact, that perhaps more than one +domain has the same name. This can be solved by specifying where the +needed message catalog files can be found. +

+
 
char *bindtextdomain (const char *domain_name,
+                      const char *dir_name);
+
+ +

Calling this function binds the given domain to a file in the specified +directory (how this file is determined follows below). Especially a +file in the systems default place is not favored against the specified +file anymore (as it would be by solely using textdomain). A +NULL pointer for the dir_name parameter returns the binding +associated with domain_name. If domain_name itself is +NULL nothing happens and a NULL pointer is returned. Here +again as for all the other functions is true that none of the return +value must be changed! +

+

It is important to remember that relative path names for the +dir_name parameter can be trouble. Since the path is always +computed relative to the current directory different results will be +achieved when the program executes a chdir command. Relative +paths should always be avoided to avoid dependencies and +unreliabilities. +

+
 
wchar_t *wbindtextdomain (const char *domain_name,
+                          const wchar_t *dir_name);
+
+ +

This function is provided only on native Windows platforms. It is like +bindtextdomain, except that the dir_name parameter is a +wide string (in UTF-16 encoding, as usual on Windows). +

+ + + +

11.2.3 Locating Message Catalog Files

+ +

Because many different languages for many different packages have to be +stored we need some way to add these information to file message catalog +files. The way usually used in Unix environments is have this encoding +in the file name. This is also done here. The directory name given in +bindtextdomains second argument (or the default directory), +followed by the name of the locale, the locale category, and the domain name +are concatenated: +

+
 
dir_name/locale/LC_category/domain_name.mo
+
+ +

The default value for dir_name is system specific. For the GNU +library, and for packages adhering to its conventions, it's: +

 
/usr/local/share/locale
+
+ +

locale is the name of the locale category which is designated by +LC_category. For gettext and dgettext this +LC_category is always LC_MESSAGES.(3) +The name of the locale category is determined through +setlocale (LC_category, NULL). +(4) +When using the function dcgettext, you can specify the locale category +through the third argument. +

+ + + +

11.2.4 How to specify the output character set gettext uses

+ +

gettext not only looks up a translation in a message catalog. It +also converts the translation on the fly to the desired output character +set. This is useful if the user is working in a different character set +than the translator who created the message catalog, because it avoids +distributing variants of message catalogs which differ only in the +character set. +

+

The output character set is, by default, the value of nl_langinfo +(CODESET), which depends on the LC_CTYPE part of the current +locale. But programs which store strings in a locale independent way +(e.g. UTF-8) can request that gettext and related functions +return the translations in that encoding, by use of the +bind_textdomain_codeset function. +

+

Note that the msgid argument to gettext is not subject to +character set conversion. Also, when gettext does not find a +translation for msgid, it returns msgid unchanged – +independently of the current output character set. It is therefore +recommended that all msgids be US-ASCII strings. +

+
+
Function: char * bind_textdomain_codeset (const char *domainname, const char *codeset) + +
+

The bind_textdomain_codeset function can be used to specify the +output character set for message catalogs for domain domainname. +The codeset argument must be a valid codeset name which can be used +for the iconv_open function, or a null pointer. +

+

If the codeset parameter is the null pointer, +bind_textdomain_codeset returns the currently selected codeset +for the domain with the name domainname. It returns NULL if +no codeset has yet been selected. +

+

The bind_textdomain_codeset function can be used several times. +If used multiple times with the same domainname argument, the +later call overrides the settings made by the earlier one. +

+

The bind_textdomain_codeset function returns a pointer to a +string containing the name of the selected codeset. The string is +allocated internally in the function and must not be changed by the +user. If the system went out of core during the execution of +bind_textdomain_codeset, the return value is NULL and the +global variable errno is set accordingly. +

+ + + + +

11.2.5 Using contexts for solving ambiguities

+ +

One place where the gettext functions, if used normally, have big +problems is within programs with graphical user interfaces (GUIs). The +problem is that many of the strings which have to be translated are very +short. They have to appear in pull-down menus which restricts the +length. But strings which are not containing entire sentences or at +least large fragments of a sentence may appear in more than one +situation in the program but might have different translations. This is +especially true for the one-word strings which are frequently used in +GUI programs. +

+

As a consequence many people say that the gettext approach is +wrong and instead catgets should be used which indeed does not +have this problem. But there is a very simple and powerful method to +handle this kind of problems with the gettext functions. +

+

Contexts can be added to strings to be translated. A context dependent +translation lookup is when a translation for a given string is searched, +that is limited to a given context. The translation for the same string +in a different context can be different. The different translations of +the same string in different contexts can be stored in the in the same +MO file, and can be edited by the translator in the same PO file. +

+

The ‘gettext.h’ include file contains the lookup macros for strings +with contexts. They are implemented as thin macros and inline functions +over the functions from <libintl.h>. +

+ +
 
const char *pgettext (const char *msgctxt, const char *msgid);
+
+ +

In a call of this macro, msgctxt and msgid must be string +literals. The macro returns the translation of msgid, restricted +to the context given by msgctxt. +

+

The msgctxt string is visible in the PO file to the translator. +You should try to make it somehow canonical and never changing. Because +every time you change an msgctxt, the translator will have to review +the translation of msgid. +

+

Finding a canonical msgctxt string that doesn't change over time can +be hard. But you shouldn't use the file name or class name containing the +pgettext call – because it is a common development task to rename +a file or a class, and it shouldn't cause translator work. Also you shouldn't +use a comment in the form of a complete English sentence as msgctxt – +because orthography or grammar changes are often applied to such sentences, +and again, it shouldn't force the translator to do a review. +

+

The ‘p’ in ‘pgettext’ stands for “particular”: pgettext +fetches a particular translation of the msgid. +

+ + +
 
const char *dpgettext (const char *domain_name,
+                       const char *msgctxt, const char *msgid);
+const char *dcpgettext (const char *domain_name,
+                        const char *msgctxt, const char *msgid,
+                        int category);
+
+ +

These are generalizations of pgettext. They behave similarly to +dgettext and dcgettext, respectively. The domain_name +argument defines the translation domain. The category argument +allows to use another locale category than LC_MESSAGES. +

+

As as example consider the following fictional situation. A GUI program +has a menu bar with the following entries: +

+
 
+------------+------------+--------------------------------------+
+| File       | Printer    |                                      |
++------------+------------+--------------------------------------+
+| Open     | | Select   |
+| New      | | Open     |
++----------+ | Connect  |
+             +----------+
+
+ +

To have the strings File, Printer, Open, +New, Select, and Connect translated there has to be +at some point in the code a call to a function of the gettext +family. But in two places the string passed into the function would be +Open. The translations might not be the same and therefore we +are in the dilemma described above. +

+

What distinguishes the two places is the menu path from the menu root to +the particular menu entries: +

+
 
Menu|File
+Menu|Printer
+Menu|File|Open
+Menu|File|New
+Menu|Printer|Select
+Menu|Printer|Open
+Menu|Printer|Connect
+
+ +

The context is thus the menu path without its last part. So, the calls +look like this: +

+
 
pgettext ("Menu|", "File")
+pgettext ("Menu|", "Printer")
+pgettext ("Menu|File|", "Open")
+pgettext ("Menu|File|", "New")
+pgettext ("Menu|Printer|", "Select")
+pgettext ("Menu|Printer|", "Open")
+pgettext ("Menu|Printer|", "Connect")
+
+ +

Whether or not to use the ‘|’ character at the end of the context is a +matter of style. +

+

For more complex cases, where the msgctxt or msgid are not +string literals, more general macros are available: +

+ + + +
 
const char *pgettext_expr (const char *msgctxt, const char *msgid);
+const char *dpgettext_expr (const char *domain_name,
+                            const char *msgctxt, const char *msgid);
+const char *dcpgettext_expr (const char *domain_name,
+                             const char *msgctxt, const char *msgid,
+                             int category);
+
+ +

Here msgctxt and msgid can be arbitrary string-valued expressions. +These macros are more general. But in the case that both argument expressions +are string literals, the macros without the ‘_expr’ suffix are more +efficient. +

+ + + +

11.2.6 Additional functions for plural forms

+ +

The functions of the gettext family described so far (and all the +catgets functions as well) have one problem in the real world +which have been neglected completely in all existing approaches. What +is meant here is the handling of plural forms. +

+

Looking through Unix source code before the time anybody thought about +internationalization (and, sadly, even afterwards) one can often find +code similar to the following: +

+
 
   printf ("%d file%s deleted", n, n == 1 ? "" : "s");
+
+ +

After the first complaints from people internationalizing the code people +either completely avoided formulations like this or used strings like +"file(s)". Both look unnatural and should be avoided. First +tries to solve the problem correctly looked like this: +

+
 
   if (n == 1)
+     printf ("%d file deleted", n);
+   else
+     printf ("%d files deleted", n);
+
+ +

But this does not solve the problem. It helps languages where the +plural form of a noun is not simply constructed by adding an +‘s’ +but that is all. Once again people fell into the trap of believing the +rules their language is using are universal. But the handling of plural +forms differs widely between the language families. For example, +Rafal Maszkowski <rzm@mat.uni.torun.pl> reports: +

+

In Polish we use e.g. plik (file) this way: +

 
1 plik
+2,3,4 pliki
+5-21 pliko'w
+22-24 pliki
+25-31 pliko'w
+
+

and so on (o' means 8859-2 oacute which should be rather okreska, +similar to aogonek). +

+ +

There are two things which can differ between languages (and even inside +language families); +

+
    +
  • +The form how plural forms are built differs. This is a problem with +languages which have many irregularities. German, for instance, is a +drastic case. Though English and German are part of the same language +family (Germanic), the almost regular forming of plural noun forms +(appending an +‘s’) +is hardly found in German. + +
  • +The number of plural forms differ. This is somewhat surprising for +those who only have experiences with Romanic and Germanic languages +since here the number is the same (there are two). + +

    But other language families have only one form or many forms. More +information on this in an extra section. +

+ +

The consequence of this is that application writers should not try to +solve the problem in their code. This would be localization since it is +only usable for certain, hardcoded language environments. Instead the +extended gettext interface should be used. +

+

These extra functions are taking instead of the one key string two +strings and a numerical argument. The idea behind this is that using +the numerical argument and the first string as a key, the implementation +can select using rules specified by the translator the right plural +form. The two string arguments then will be used to provide a return +value in case no message catalog is found (similar to the normal +gettext behavior). In this case the rules for Germanic language +is used and it is assumed that the first string argument is the singular +form, the second the plural form. +

+

This has the consequence that programs without language catalogs can +display the correct strings only if the program itself is written using +a Germanic language. This is a limitation but since the GNU C library +(as well as the GNU gettext package) are written as part of the +GNU package and the coding standards for the GNU project require program +being written in English, this solution nevertheless fulfills its +purpose. +

+
+
Function: char * ngettext (const char *msgid1, const char *msgid2, unsigned long int n) + +
+

The ngettext function is similar to the gettext function +as it finds the message catalogs in the same way. But it takes two +extra arguments. The msgid1 parameter must contain the singular +form of the string to be converted. It is also used as the key for the +search in the catalog. The msgid2 parameter is the plural form. +The parameter n is used to determine the plural form. If no +message catalog is found msgid1 is returned if n == 1, +otherwise msgid2. +

+

An example for the use of this function is: +

+
 
printf (ngettext ("%d file removed", "%d files removed", n), n);
+
+ +

Please note that the numeric value n has to be passed to the +printf function as well. It is not sufficient to pass it only to +ngettext. +

+

In the English singular case, the number – always 1 – can be replaced with +"one": +

+
 
printf (ngettext ("One file removed", "%d files removed", n), n);
+
+ +

This works because the ‘printf’ function discards excess arguments that +are not consumed by the format string. +

+

If this function is meant to yield a format string that takes two or more +arguments, you can not use it like this: +

+
 
printf (ngettext ("%d file removed from directory %s",
+                  "%d files removed from directory %s",
+                  n),
+        n, dir);
+
+ +

because in many languages the translators want to replace the ‘%d’ +with an explicit word in the singular case, just like “one” in English, +and C format strings cannot consume the second argument but skip the first +argument. Instead, you have to reorder the arguments so that ‘n’ +comes last: +

+
 
printf (ngettext ("%2$d file removed from directory %1$s",
+                  "%2$d files removed from directory %1$s",
+                  n),
+        dir, n);
+
+ +

See C Format Strings for details about this argument reordering syntax. +

+

When you know that the value of n is within a given range, you can +specify it as a comment directed to the xgettext tool. This +information may help translators to use more adequate translations. Like +this: +

+
 
if (days > 7 && days < 14)
+  /* xgettext: range: 1..6 */
+  printf (ngettext ("one week and one day", "one week and %d days",
+                    days - 7),
+          days - 7);
+
+ +

There is one case where using ngettext is not appropriate, +however: +namely, when neither of the two strings contains a cardinal number. +Consider the following example: +

+
 
puts (ngettext ("Delete the selected file?",
+                "Delete the selected files?",
+                n));
+
+

The Russian language translator would need to provide separate +translations for the following count forms: +

    +
  • 1, 21, 31, 41, 51, 61, 71, 81, 91… +
  • 2–4, 22–24, 32–34, 42–44… +
  • 5–20, 25–30, 35–40… +
+

As you can see, +the case n == 1 cannot be expressed with the Russian plural forms. +Instead, in this case, you need to use separate calls to gettext: +

 
puts (n == 1 ? gettext ("Delete the selected file?")
+             : gettext ("Delete the selected files?"));
+
+

The translator will then use the right grammar constructs +for singular and plural without a number. +

+ +
+
Function: char * dngettext (const char *domain, const char *msgid1, const char *msgid2, unsigned long int n) + +
+

The dngettext is similar to the dgettext function in the +way the message catalog is selected. The difference is that it takes +two extra parameter to provide the correct plural form. These two +parameters are handled in the same way ngettext handles them. +

+ +
+
Function: char * dcngettext (const char *domain, const char *msgid1, const char *msgid2, unsigned long int n, int category) + +
+

The dcngettext is similar to the dcgettext function in the +way the message catalog is selected. The difference is that it takes +two extra parameter to provide the correct plural form. These two +parameters are handled in the same way ngettext handles them. +

+ +

Now, how do these functions solve the problem of the plural forms? +Without the input of linguists (which was not available) it was not +possible to determine whether there are only a few different forms in +which plural forms are formed or whether the number can increase with +every new supported language. +

+

Therefore the solution implemented is to allow the translator to specify +the rules of how to select the plural form. Since the formula varies +with every language this is the only viable solution except for +hardcoding the information in the code (which still would require the +possibility of extensions to not prevent the use of new languages). +

+ + + +

The information about the plural form selection has to be stored in the +header entry of the PO file (the one with the empty msgid string). +The plural form information looks like this: +

+
 
Plural-Forms: nplurals=2; plural=n == 1 ? 0 : 1;
+
+ +

The nplurals value must be a decimal number which specifies how +many different plural forms exist for this language. The string +following plural is an expression which is using the C language +syntax. Exceptions are that no negative numbers are allowed, numbers +must be decimal, and the only variable allowed is n. Spaces are +allowed in the expression, but backslash-newlines are not; in the +examples below the backslash-newlines are present for formatting purposes +only. This expression will be evaluated whenever one of the functions +ngettext, dngettext, or dcngettext is called. The +numeric value passed to these functions is then substituted for all uses +of the variable n in the expression. The resulting value then +must be greater or equal to zero and smaller than the value given as the +value of nplurals. +

+ +

The following rules are known at this point. The language with families +are listed. But this does not necessarily mean the information can be +generalized for the whole family (as can be easily seen in the table +below).(5) +

+
+
Only one form:
+

Some languages only require one single form. There is no distinction +between the singular and plural form. An appropriate header entry +would look like this: +

+
 
Plural-Forms: nplurals=1; plural=0;
+
+ +

Languages with this property include: +

+
+
Asian family
+

Japanese, Vietnamese, Korean

+
Tai-Kadai family
+

Thai

+
+ +
+
Two forms, singular used for one only
+

This is the form used in most existing programs since it is what English +is using. A header entry would look like this: +

+
 
Plural-Forms: nplurals=2; plural=n != 1;
+
+ +

(Note: this uses the feature of C expressions that boolean expressions +have to value zero or one.) +

+

Languages with this property include: +

+
+
Germanic family
+

English, German, Dutch, Swedish, Danish, Norwegian, Faroese

+
Romanic family
+

Spanish, Portuguese, Italian

+
Latin/Greek family
+

Greek

+
Slavic family
+

Bulgarian

+
Finno-Ugric family
+

Finnish, Estonian

+
Semitic family
+

Hebrew

+
Austronesian family
+

Bahasa Indonesian

+
Artificial
+

Esperanto

+
+ +

Other languages using the same header entry are: +

+
+
Finno-Ugric family
+

Hungarian

+
Turkic/Altaic family
+

Turkish

+
+ +

Hungarian does not appear to have a plural if you look at sentences involving +cardinal numbers. For example, “1 apple” is “1 alma”, and “123 apples” is +“123 alma”. But when the number is not explicit, the distinction between +singular and plural exists: “the apple” is “az alma”, and “the apples” is +“az almák”. Since ngettext has to support both types of sentences, +it is classified here, under “two forms”. +

+

The same holds for Turkish: “1 apple” is “1 elma”, and “123 apples” is +“123 elma”. But when the number is omitted, the distinction between singular +and plural exists: “the apple” is “elma”, and “the apples” is +“elmalar”. +

+
+
Two forms, singular used for zero and one
+

Exceptional case in the language family. The header entry would be: +

+
 
Plural-Forms: nplurals=2; plural=n>1;
+
+ +

Languages with this property include: +

+
+
Romanic family
+

Brazilian Portuguese, French

+
+ +
+
Three forms, special case for zero
+

The header entry would be: +

+
 
Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2;
+
+ +

Languages with this property include: +

+
+
Baltic family
+

Latvian

+
+ +
+
Three forms, special cases for one and two
+

The header entry would be: +

+
 
Plural-Forms: nplurals=3; plural=n==1 ? 0 : n==2 ? 1 : 2;
+
+ +

Languages with this property include: +

+
+
Celtic
+

Gaeilge (Irish)

+
+ +
+
Three forms, special case for numbers ending in 00 or [2-9][0-9]
+

The header entry would be: +

+
 
Plural-Forms: nplurals=3; \
+    plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < 20)) ? 1 : 2;
+
+ +

Languages with this property include: +

+
+
Romanic family
+

Romanian

+
+ +
+
Three forms, special case for numbers ending in 1[2-9]
+

The header entry would look like this: +

+
 
Plural-Forms: nplurals=3; \
+    plural=n%10==1 && n%100!=11 ? 0 : \
+           n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2;
+
+ +

Languages with this property include: +

+
+
Baltic family
+

Lithuanian

+
+ +
+
Three forms, special cases for numbers ending in 1 and 2, 3, 4, except those ending in 1[1-4]
+

The header entry would look like this: +

+
 
Plural-Forms: nplurals=3; \
+    plural=n%10==1 && n%100!=11 ? 0 : \
+           n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;
+
+ +

Languages with this property include: +

+
+
Slavic family
+

Russian, Ukrainian, Belarusian, Serbian, Croatian

+
+ +
+
Three forms, special cases for 1 and 2, 3, 4
+

The header entry would look like this: +

+
 
Plural-Forms: nplurals=3; \
+    plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;
+
+ +

Languages with this property include: +

+
+
Slavic family
+

Czech, Slovak

+
+ +
+
Three forms, special case for one and some numbers ending in 2, 3, or 4
+

The header entry would look like this: +

+
 
Plural-Forms: nplurals=3; \
+    plural=n==1 ? 0 : \
+           n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;
+
+ +

Languages with this property include: +

+
+
Slavic family
+

Polish

+
+ +
+
Four forms, special case for one and all numbers ending in 02, 03, or 04
+

The header entry would look like this: +

+
 
Plural-Forms: nplurals=4; \
+    plural=n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3;
+
+ +

Languages with this property include: +

+
+
Slavic family
+

Slovenian

+
+ +
+
Six forms, special cases for one, two, all numbers ending in 02, 03, … 10, all numbers ending in 11 … 99, and others
+

The header entry would look like this: +

+
 
Plural-Forms: nplurals=6; \
+    plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 \
+    : n%100>=11 ? 4 : 5;
+
+ +

Languages with this property include: +

+
+
Afroasiatic family
+

Arabic

+
+
+
+ +

You might now ask, ngettext handles only numbers n of type +‘unsigned long’. What about larger integer types? What about negative +numbers? What about floating-point numbers? +

+

About larger integer types, such as ‘uintmax_t’ or +‘unsigned long long’: they can be handled by reducing the value to a +range that fits in an ‘unsigned long’. Simply casting the value to +‘unsigned long’ would not do the right thing, since it would treat +ULONG_MAX + 1 like zero, ULONG_MAX + 2 like singular, and +the like. Here you can exploit the fact that all mentioned plural form +formulas eventually become periodic, with a period that is a divisor of 100 +(or 1000 or 1000000). So, when you reduce a large value to another one in +the range [1000000, 1999999] that ends in the same 6 decimal digits, you +can assume that it will lead to the same plural form selection. This code +does this: +

+
 
#include <inttypes.h>
+uintmax_t nbytes = ...;
+printf (ngettext ("The file has %"PRIuMAX" byte.",
+                  "The file has %"PRIuMAX" bytes.",
+                  (nbytes > ULONG_MAX
+                   ? (nbytes % 1000000) + 1000000
+                   : nbytes)),
+        nbytes);
+
+ +

Negative and floating-point values usually represent physical entities for +which singular and plural don't clearly apply. In such cases, there is no +need to use ngettext; a simple gettext call with a form suitable +for all values will do. For example: +

+
 
printf (gettext ("Time elapsed: %.3f seconds"),
+        num_milliseconds * 0.001);
+
+ +

Even if num_milliseconds happens to be a multiple of 1000, the output +

 
Time elapsed: 1.000 seconds
+
+

is acceptable in English, and similarly for other languages. +

+

The translators' perspective regarding plural forms is explained in +Translating plural forms. +

+ + + +

11.2.7 Optimization of the *gettext functions

+ +

At this point of the discussion we should talk about an advantage of the +GNU gettext implementation. Some readers might have pointed out +that an internationalized program might have a poor performance if some +string has to be translated in an inner loop. While this is unavoidable +when the string varies from one run of the loop to the other it is +simply a waste of time when the string is always the same. Take the +following example: +

+
 
{
+  while (…)
+    {
+      puts (gettext ("Hello world"));
+    }
+}
+
+ +

When the locale selection does not change between two runs the resulting +string is always the same. One way to use this is: +

+
 
{
+  str = gettext ("Hello world");
+  while (…)
+    {
+      puts (str);
+    }
+}
+
+ +

But this solution is not usable in all situation (e.g. when the locale +selection changes) nor does it lead to legible code. +

+

For this reason, GNU gettext caches previous translation results. +When the same translation is requested twice, with no new message +catalogs being loaded in between, gettext will, the second time, +find the result through a single cache lookup. +

+ + + +

11.3 Comparing the Two Interfaces

+ + +

The following discussion is perhaps a little bit colored. As said +above we implemented GNU gettext following the Uniforum +proposal and this surely has its reasons. But it should show how we +came to this decision. +

+

First we take a look at the developing process. When we write an +application using NLS provided by gettext we proceed as always. +Only when we come to a string which might be seen by the users and thus +has to be translated we use gettext("…") instead of +"…". At the beginning of each source file (or in a central +header file) we define +

+
 
#define gettext(String) (String)
+
+ +

Even this definition can be avoided when the system supports the +gettext function in its C library. When we compile this code the +result is the same as if no NLS code is used. When you take a look at +the GNU gettext code you will see that we use _("…") +instead of gettext("…"). This reduces the number of +additional characters per translatable string to 3 (in words: +three). +

+

When now a production version of the program is needed we simply replace +the definition +

+
 
#define _(String) (String)
+
+ +

by +

+ +
 
#include <libintl.h>
+#define _(String) gettext (String)
+
+ +

Additionally we run the program ‘xgettext’ on all source code file +which contain translatable strings and that's it: we have a running +program which does not depend on translations to be available, but which +can use any that becomes available. +

+ +

The same procedure can be done for the gettext_noop invocations +(see section Special Cases of Translatable Strings). One usually defines gettext_noop as a +no-op macro. So you should consider the following code for your project: +

+
 
#define gettext_noop(String) String
+#define N_(String) gettext_noop (String)
+
+ +

N_ is a short form similar to _. The ‘Makefile’ in +the ‘po/’ directory of GNU gettext knows by default both of the +mentioned short forms so you are invited to follow this proposal for +your own ease. +

+

Now to catgets. The main problem is the work for the +programmer. Every time he comes to a translatable string he has to +define a number (or a symbolic constant) which has also be defined in +the message catalog file. He also has to take care for duplicate +entries, duplicate message IDs etc. If he wants to have the same +quality in the message catalog as the GNU gettext program +provides he also has to put the descriptive comments for the strings and +the location in all source code files in the message catalog. This is +nearly a Mission: Impossible. +

+

But there are also some points people might call advantages speaking for +catgets. If you have a single word in a string and this string +is used in different contexts it is likely that in one or the other +language the word has different translations. Example: +

+
 
printf ("%s: %d", gettext ("number"), number_of_errors)
+
+printf ("you should see %d %s", number_count,
+        number_count == 1 ? gettext ("number") : gettext ("numbers"))
+
+ +

Here we have to translate two times the string "number". Even +if you do not speak a language beside English it might be possible to +recognize that the two words have a different meaning. In German the +first appearance has to be translated to "Anzahl" and the second +to "Zahl". +

+

Now you can say that this example is really esoteric. And you are +right! This is exactly how we felt about this problem and decide that +it does not weight that much. The solution for the above problem could +be very easy: +

+
 
printf ("%s %d", gettext ("number:"), number_of_errors)
+
+printf (number_count == 1 ? gettext ("you should see %d number")
+                          : gettext ("you should see %d numbers"),
+        number_count)
+
+ +

We believe that we can solve all conflicts with this method. If it is +difficult one can also consider changing one of the conflicting string a +little bit. But it is not impossible to overcome. +

+

catgets allows same original entry to have different translations, +but gettext has another, scalable approach for solving ambiguities +of this kind: See section Solving Ambiguities. +

+ + + +

11.4 Using libintl.a in own programs

+ +

Starting with version 0.9.4 the library libintl.h should be +self-contained. I.e., you can use it in your own programs without +providing additional functions. The ‘Makefile’ will put the header +and the library in directories selected using the $(prefix). +

+ + + +

11.5 Being a gettext grok

+ +

NOTE: This documentation section is outdated and needs to be +revised. +

+

To fully exploit the functionality of the GNU gettext library it +is surely helpful to read the source code. But for those who don't want +to spend that much time in reading the (sometimes complicated) code here +is a list comments: +

+
    +
  • Changing the language at runtime + + +

    For interactive programs it might be useful to offer a selection of the +used language at runtime. To understand how to do this one need to know +how the used language is determined while executing the gettext +function. The method which is presented here only works correctly +with the GNU implementation of the gettext functions. +

    +

    In the function dcgettext at every call the current setting of +the highest priority environment variable is determined and used. +Highest priority means here the following list with decreasing +priority: +

    +
      +
    1. +
    2. LANGUAGE + +
    3. LC_ALL + + + + + + +
    4. LC_xxx, according to selected locale category + +
    5. LANG +
    + +

    Afterwards the path is constructed using the found value and the +translation file is loaded if available. +

    +

    What happens now when the value for, say, LANGUAGE changes? According +to the process explained above the new value of this variable is found +as soon as the dcgettext function is called. But this also means +the (perhaps) different message catalog file is loaded. In other +words: the used language is changed. +

    +

    But there is one little hook. The code for gcc-2.7.0 and up provides +some optimization. This optimization normally prevents the calling of +the dcgettext function as long as no new catalog is loaded. But +if dcgettext is not called the program also cannot find the +LANGUAGE variable be changed (see section Optimization of the *gettext functions). A +solution for this is very easy. Include the following code in the +language switching function. +

    +
     
      /* Change language.  */
    +  setenv ("LANGUAGE", "fr", 1);
    +
    +  /* Make change known.  */
    +  {
    +    extern int  _nl_msg_cat_cntr;
    +    ++_nl_msg_cat_cntr;
    +  }
    +
    + + +

    The variable _nl_msg_cat_cntr is defined in ‘loadmsgcat.c’. +You don't need to know what this is for. But it can be used to detect +whether a gettext implementation is GNU gettext and not non-GNU +system's native gettext implementation. +

    +
+ + + + +

11.6 Temporary Notes for the Programmers Chapter

+ +

NOTE: This documentation section is outdated and needs to be +revised. +

+ + + + +

11.6.1 Temporary - Two Possible Implementations

+ +

There are two competing methods for language independent messages: +the X/Open catgets method, and the Uniforum gettext +method. The catgets method indexes messages by integers; the +gettext method indexes them by their English translations. +The catgets method has been around longer and is supported +by more vendors. The gettext method is supported by Sun, +and it has been heard that the COSE multi-vendor initiative is +supporting it. Neither method is a POSIX standard; the POSIX.1 +committee had a lot of disagreement in this area. +

+

Neither one is in the POSIX standard. There was much disagreement +in the POSIX.1 committee about using the gettext routines +vs. catgets (XPG). In the end the committee couldn't +agree on anything, so no messaging system was included as part +of the standard. I believe the informative annex of the standard +includes the XPG3 messaging interfaces, “…as an example of +a messaging system that has been implemented…” +

+

They were very careful not to say anywhere that you should use one +set of interfaces over the other. For more on this topic please +see the Programming for Internationalization FAQ. +

+ + + +

11.6.2 Temporary - About catgets

+ +

There have been a few discussions of late on the use of +catgets as a base. I think it important to present both +sides of the argument and hence am opting to play devil's advocate +for a little bit. +

+

I'll not deny the fact that catgets could have been designed +a lot better. It currently has quite a number of limitations and +these have already been pointed out. +

+

However there is a great deal to be said for consistency and +standardization. A common recurring problem when writing Unix +software is the myriad portability problems across Unix platforms. +It seems as if every Unix vendor had a look at the operating system +and found parts they could improve upon. Undoubtedly, these +modifications are probably innovative and solve real problems. +However, software developers have a hard time keeping up with all +these changes across so many platforms. +

+

And this has prompted the Unix vendors to begin to standardize their +systems. Hence the impetus for Spec1170. Every major Unix vendor +has committed to supporting this standard and every Unix software +developer waits with glee the day they can write software to this +standard and simply recompile (without having to use autoconf) +across different platforms. +

+

As I understand it, Spec1170 is roughly based upon version 4 of the +X/Open Portability Guidelines (XPG4). Because catgets and +friends are defined in XPG4, I'm led to believe that catgets +is a part of Spec1170 and hence will become a standardized component +of all Unix systems. +

+ + + +

11.6.3 Temporary - Why a single implementation

+ +

Now it seems kind of wasteful to me to have two different systems +installed for accessing message catalogs. If we do want to remedy +catgets deficiencies why don't we try to expand catgets +(in a compatible manner) rather than implement an entirely new system. +Otherwise, we'll end up with two message catalog access systems installed +with an operating system - one set of routines for packages using GNU +gettext for their internationalization, and another set of routines +(catgets) for all other software. Bloated? +

+

Supposing another catalog access system is implemented. Which do +we recommend? At least for Linux, we need to attract as many +software developers as possible. Hence we need to make it as easy +for them to port their software as possible. Which means supporting +catgets. We will be implementing the libintl code +within our libc, but does this mean we also have to incorporate +another message catalog access scheme within our libc as well? +And what about people who are going to be using the libintl ++ non-catgets routines. When they port their software to +other platforms, they're now going to have to include the front-end +(libintl) code plus the back-end code (the non-catgets +access routines) with their software instead of just including the +libintl code with their software. +

+

Message catalog support is however only the tip of the iceberg. +What about the data for the other locale categories? They also have +a number of deficiencies. Are we going to abandon them as well and +develop another duplicate set of routines (should libintl +expand beyond message catalog support)? +

+

Like many parts of Unix that can be improved upon, we're stuck with balancing +compatibility with the past with useful improvements and innovations for +the future. +

+ + + +

11.6.4 Temporary - Notes

+ +

X/Open agreed very late on the standard form so that many +implementations differ from the final form. Both of my system (old +Linux catgets and Ultrix-4) have a strange variation. +

+

OK. After incorporating the last changes I have to spend some time on +making the GNU/Linux libc gettext functions. So in future +Solaris is not the only system having gettext. +

+ + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+

+ + This document was generated by Bruno Haible on July, 2 2025 using texi2html 1.78a. + +
+ +

+ + diff --git a/miniconda3/share/doc/gettext/gettext_12.html b/miniconda3/share/doc/gettext/gettext_12.html new file mode 100644 index 0000000000000000000000000000000000000000..e69f5fc747494644117c8ba3ada53aa2c783de24 --- /dev/null +++ b/miniconda3/share/doc/gettext/gettext_12.html @@ -0,0 +1,414 @@ + + + + + +GNU gettext utilities: 12. The Translator's View + + + + + + + + + + + + + + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+ +
+ + +

12. The Translator's View

+ + + + + +

12.1 Organization

+ +

For some software packages, each translator works on her own +and communicates directly with the developers of the package. +For some other software packages, on the other hand, +translators are organized +into translation projects and translation teams. +

+

A translation project applies to a group of software packages +and shares procedures and methodologies regarding the translation. +

+

There are currently three major translation projects: +

+
    +
  • +The “Translation Project”, which is used +by all kinds of Free Software packages, but in particular by GNU packages. +It has its home at https://translationproject.org/. + +
  • +The “KDE Localization Project”, which is used by KDE packages. +It is at https://l10n.kde.org/. + +
  • +The “GNOME Localization Project”, which is used by GNOME packages. +It is at https://l10n.gnome.org/. +
+ +

A translation team is a group of translators for a single language, +in the scope of a translation project. +

+ + + +

12.2 Responsibilities in the Translation Project

+ +

The following rules and habits apply to the Translation Project. +

+

The translator's responsibilities are: +

    +
  • +She submits a translations disclaimer to the Free Software Foundation +(once only, and +only when she wants to translate a package that requires a disclaimer). + +

    A disclaimer is a legal document +that allows the software package to distribute her translation work. +It is not as strong as a copyright assignment. +Merely, it says that the signer +will never make use of the copyright on her translations: +will never forbid copying them, +and will never ask for some kind of compensation. +This guarantees that the FSF (and everyone else) +will always be allowed to freely distribute these translations. +The FSF wishes to have this guarantee in a legally binding manner, +to be on the safe side. +

    +

    There are two ways to submit the disclaimer: +Either online through +this form +on the FSF's web site, +or by printing, signing, and submitting +the file ‘disclaim-translations.txt’ found in the GNU gettext distribution. +

    +
  • +Agree with the other translators of the same team +who is “in charge” for the translations of a particular package. +
+ +

The Translation Project has a coordinator. +He can be reached at ‘coordinator@translationproject.org’. +His responsibilities are: +

    +
  • +He maintains the web site https://translationproject.org/. +
  • +When he receives a release or prerelease announcement +from one of the software package maintainers, +he extracts the POT file(s) +and sends notifications to all translation teams about it. +
+ +

The responsibilities of the package maintainers are: +

    +
  • +To incorporate the translations in the software package before a release. +
  • +To forward bug reports about the translations +to the respective translation team. +A developer or maintainer should never apply a translation fix himself, +because that would cause conflicts with the translation team. +
+ + + + + +

12.3 Language dialects

+ +

For many languages, a translation into the main dialect is intelligible +by all speakers of the language. +Speakers of another dialect can have a separate translation if they wish so. +In fact, since the fallback mechanism implemented in GNU libc and GNU libintl +applies on a per-message basis, +the message catalog for the dialect needs only to contain +the translations that differ from those in the main language. +

+

For example, +French speakers in Canada (that is, users in the locale fr_CA) +can use and do accept translations +produced by French speakers in France (typical file name: fr.po). +Nevertheless, the translation system with PO files +enables them to produce special message catalogs (file name: fr_CA.po) +that will take priority over fr.po for users in that locale. +Similarly for users in Austria, +where message catalogs de_AT.po take priority +over the catalogs named de.po that reflect German as spoken in Germany. +

+

The situation is different for Chinese, though: +Since users in the People's Republic of China and in Singapore +want translations with Simplified Chinese characters, +whereas Chinese users in other territories +(such as Taiwan, Hong Kong, and Macao) +want translations with Traditional Chinese characters, +no translator should ever submit a file named zh.po. +Instead, there will typically be two separate translation teams: +a team that produces translations with Simplified Chinese characters +(file name zh_CN.po) +and a team that produces translations with Traditional Chinese characters +(file name zh_TW.po). +

+ + + +

12.4 Translating plural forms

+ +

Suppose you are translating a PO file, and it contains an entry like this: +

+
 
#, c-format
+msgid "One file removed"
+msgid_plural "%d files removed"
+msgstr[0] ""
+msgstr[1] ""
+
+ +

What does this mean? How do you fill it in? +

+

Such an entry denotes a message with plural forms, that is, a message where +the text depends on a cardinal number. The general form of the message, +in English, is the msgid_plural line. The msgid line is the +English singular form, that is, the form for when the number is equal to 1. +More details about plural forms are explained in Additional functions for plural forms. +

+

The first thing you need to look at is the Plural-Forms line in the +header entry of the PO file. It contains the number of plural forms and a +formula. If the PO file does not yet have such a line, you have to add it. +It only depends on the language into which you are translating. You can +get this info by using the msginit command (see Creating a New PO File) – +it contains a database of known plural formulas – or by asking other +members of your translation team. +

+

Suppose the line looks as follows: +

+
 
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
+
+ +

It's logically one line; recall that the PO file formatting is allowed to +break long lines so that each physical line fits in 80 monospaced columns. +

+

The value of nplurals here tells you that there are three plural +forms. The first thing you need to do is to ensure that the entry contains +an msgstr line for each of the forms: +

+
 
#, c-format
+msgid "One file removed"
+msgid_plural "%d files removed"
+msgstr[0] ""
+msgstr[1] ""
+msgstr[2] ""
+
+ +

Then translate the msgid_plural line and fill it in into each +msgstr line: +

+
 
#, c-format
+msgid "One file removed"
+msgid_plural "%d files removed"
+msgstr[0] "%d slika uklonjenih"
+msgstr[1] "%d slika uklonjenih"
+msgstr[2] "%d slika uklonjenih"
+
+ +

Now you can refine the translation so that it matches the plural form. +According to the formula above, msgstr[0] is used when the number +ends in 1 but does not end in 11; msgstr[1] is used when the number +ends in 2, 3, 4, but not in 12, 13, 14; and msgstr[2] is used in +all other cases. With this knowledge, you can refine the translations: +

+
 
#, c-format
+msgid "One file removed"
+msgid_plural "%d files removed"
+msgstr[0] "%d slika je uklonjena"
+msgstr[1] "%d datoteke uklonjenih"
+msgstr[2] "%d slika uklonjenih"
+
+ +

You noticed that in the English singular form (msgid) the number +placeholder could be omitted and replaced by the numeral word “one”. +Can you do this in your translation as well? +

+
 
msgstr[0] "jednom datotekom je uklonjen"
+
+ +

Well, it depends on whether msgstr[0] applies only to the number 1, +or to other numbers as well. If, according to the plural formula, +msgstr[0] applies only to n == 1, then you can use the +specialized translation without the number placeholder. In our case, +however, msgstr[0] also applies to the numbers 21, 31, 41, etc., +and therefore you cannot omit the placeholder. +

+ + + +

12.5 Prioritizing messages: How to determine which messages to translate first

+ +

A translator sometimes has only a limited amount of time per week to +spend on a package, and some packages have quite large message catalogs +(over 1000 messages). Therefore she wishes to translate the messages +first that are the most visible to the user, or that occur most frequently. +This section describes how to determine these "most urgent" messages. +It also applies to determine the "next most urgent" messages after the +message catalog has already been partially translated. +

+

In a first step, she uses the programs like a user would do. While she +does this, the GNU gettext library logs into a file the not yet +translated messages for which a translation was requested from the program. +

+

In a second step, she uses the PO mode to translate precisely this set +of messages. +

+ +

Here are more details. The GNU libintl library (but not the +corresponding functions in GNU libc) supports an environment variable +GETTEXT_LOG_UNTRANSLATED. The GNU libintl library will +log into this file the messages for which gettext() and related +functions couldn't find the translation. If the file doesn't exist, it +will be created as needed. On systems with GNU libc a shared library +‘preloadable_libintl.so’ is provided that can be used with the ELF +‘LD_PRELOAD’ mechanism. +

+

So, in the first step, the translator uses these commands on systems with +GNU libc: +

+
 
$ LD_PRELOAD=/usr/local/lib/preloadable_libintl.so
+$ export LD_PRELOAD
+$ GETTEXT_LOG_UNTRANSLATED=$HOME/gettextlogused
+$ export GETTEXT_LOG_UNTRANSLATED
+
+ +

and these commands on other systems: +

+
 
$ GETTEXT_LOG_UNTRANSLATED=$HOME/gettextlogused
+$ export GETTEXT_LOG_UNTRANSLATED
+
+ +

Then she uses and peruses the programs. (It is a good and recommended +practice to use the programs for which you provide translations: it +gives you the needed context.) When done, she removes the environment +variables: +

+
 
$ unset LD_PRELOAD
+$ unset GETTEXT_LOG_UNTRANSLATED
+
+ +

The second step starts with removing duplicates: +

+
 
$ msguniq $HOME/gettextlogused > missing.po
+
+ +

The result is a PO file, but needs some preprocessing before a PO file editor +can be used with it. First, it is a multi-domain PO file, containing +messages from many translation domains. Second, it lacks all translator +comments and source references. Here is how to get a list of the affected +translation domains: +

+
 
$ sed -n -e 's,^domain "\(.*\)"$,\1,p' < missing.po | sort | uniq
+
+ +

Then the translator can handle the domains one by one. For simplicity, +let's use environment variables to denote the language, domain and source +package. +

+
 
$ lang=nl             # your language
+$ domain=coreutils    # the name of the domain to be handled
+$ package=/usr/src/gnu/coreutils-4.5.4   # the package where it comes from
+
+ +

She takes the latest copy of ‘$lang.po’ from the Translation Project, +or from the package (in most cases, ‘$package/po/$lang.po’), or +creates a fresh one if she's the first translator (see Creating a New PO File). +She then uses the following commands to mark the not urgent messages as +"obsolete". (This doesn't mean that these messages - translated and +untranslated ones - will go away. It simply means that the PO file editor +will ignore them in the following editing session.) +

+
 
$ msggrep --domain=$domain missing.po | grep -v '^domain' \
+  > $domain-missing.po
+$ msgattrib --set-obsolete --ignore-file $domain-missing.po $domain.$lang.po \
+  > $domain.$lang-urgent.po
+
+ +

Then she translates ‘$domain.$lang-urgent.po’ by use of a PO file editor +(see section Editing PO Files). +(FIXME: I don't know whether Lokalize and gtranslator also +preserve obsolete messages, as they should.) +Finally she restores the not urgent messages (with their earlier +translations, for those which were already translated) through this command: +

+
 
$ msgmerge --no-fuzzy-matching $domain.$lang-urgent.po $package/po/$domain.pot \
+  > $domain.$lang.po
+
+ +

Then she can submit ‘$domain.$lang.po’ and proceed to the next domain. +

+ + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+

+ + This document was generated by Bruno Haible on July, 2 2025 using texi2html 1.78a. + +
+ +

+ + diff --git a/miniconda3/share/doc/gettext/gettext_13.html b/miniconda3/share/doc/gettext/gettext_13.html new file mode 100644 index 0000000000000000000000000000000000000000..52985323a418502f48f9399323fc206cc60f4760 --- /dev/null +++ b/miniconda3/share/doc/gettext/gettext_13.html @@ -0,0 +1,1495 @@ + + + + + +GNU gettext utilities: 13. The Maintainer's View + + + + + + + + + + + + + + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+ +
+ + +

13. The Maintainer's View

+ +

The maintainer of a package has many responsibilities. One of them +is ensuring that the package will install easily on many platforms, +and that the magic we described earlier (see section The User's View) will work +for installers and end users. +

+

Of course, there are many possible ways by which GNU gettext +might be integrated in a distribution, and this chapter does not cover +them in all generality. Instead, it details one possible approach which +is especially adequate for many free software distributions following GNU +standards, or even better, Gnits standards, because GNU gettext +is purposely for helping the internationalization of the whole GNU +project, and as many other good free packages as possible. So, the +maintainer's view presented here presumes that the package already has +a ‘configure.ac’ file and uses GNU Autoconf. +

+

Nevertheless, GNU gettext may surely be useful for free packages +not following GNU standards and conventions, but the maintainers of such +packages might have to show imagination and initiative in organizing +their distributions so gettext work for them in all situations. +There are surely many, out there. +

+

Even if gettext methods are now stabilizing, slight adjustments +might be needed between successive gettext versions, so you +should ideally revise this chapter in subsequent releases, looking +for changes. +

+ + + + +

13.1 Flat or Non-Flat Directory Structures

+ +

Some free software packages are distributed as tar files which unpack +in a single directory, these are said to be flat distributions. +Other free software packages have a one level hierarchy of subdirectories, using +for example a subdirectory named ‘doc/’ for the Texinfo manual and +man pages, another called ‘lib/’ for holding functions meant to +replace or complement C libraries, and a subdirectory ‘src/’ for +holding the proper sources for the package. These other distributions +are said to be non-flat. +

+

We cannot say much about flat distributions. A flat +directory structure has the disadvantage of increasing the difficulty +of updating to a new version of GNU gettext. Also, if you have +many PO files, this could somewhat pollute your single directory. +Also, GNU gettext's libintl sources consist of C sources, shell +scripts, sed scripts and complicated Makefile rules, which don't +fit well into an existing flat structure. For these reasons, we +recommend to use non-flat approach in this case as well. +

+

Maybe because GNU gettext itself has a non-flat structure, +we have more experience with this approach, and this is what will be +described in the remaining of this chapter. Some maintainers might +use this as an opportunity to unflatten their package structure. +

+ + + +

13.2 Prerequisite Works

+ +

There are some works which are required for using GNU gettext +in one of your package. These works have some kind of generality +that escape the point by point descriptions used in the remainder +of this chapter. So, we describe them here. +

+
    +
  • +Before attempting to use gettextize you should install some +other packages first. +Ensure that recent versions of GNU m4, GNU Autoconf and GNU +gettext are already installed at your site, and if not, proceed +to do this first. If you get to install these things, beware that +GNU m4 must be fully installed before GNU Autoconf is even +configured. + +

    To further ease the task of a package maintainer the automake +package was designed and implemented. GNU gettext now uses this +tool and the ‘Makefile’ in the ‘po/’ directory therefore +knows about all the goals necessary for using automake. +

    +

    Those four packages are only needed by you, as a maintainer; the +installers of your own package and end users do not really need any of +GNU m4, GNU Autoconf, GNU gettext, or GNU automake +for successfully installing and running your package, with messages +properly translated. But this is not completely true if you provide +internationalized shell scripts within your own package: GNU +gettext shall then be installed at the user site if the end users +want to see the translation of shell script messages. +

    +
  • +Your package should use Autoconf and have a ‘configure.ac’ or +‘configure.in’ file. +If it does not, you have to learn how. The Autoconf documentation +is quite well written, it is a good idea that you print it and get +familiar with it. + +
  • +Your C sources should have already been modified according to +instructions given earlier in this manual. See section Preparing Program Sources. + +
  • +Your ‘po/’ directory should receive all PO files submitted to you +by the translator teams, each having ‘ll.po’ as a name. +This is not usually easy to get translation +work done before your package gets internationalized and available! +Since the cycle has to start somewhere, the easiest for the maintainer +is to start with absolutely no PO files, and wait until various +translator teams get interested in your package, and submit PO files. + +
+ +

It is worth adding here a few words about how the maintainer should +ideally behave with PO files submissions. As a maintainer, your role is +to authenticate the origin of the submission as being the representative +of the appropriate translating teams of the Translation Project (forward +the submission to ‘coordinator@translationproject.org’ in case of doubt), +to ensure that the PO file format is not severely broken and does not +prevent successful installation, and for the rest, to merely put these +PO files in ‘po/’ for distribution. +

+

As a maintainer, you do not have to take on your shoulders the +responsibility of checking if the translations are adequate or +complete, and should avoid diving into linguistic matters. Translation +teams drive themselves and are fully responsible of their linguistic +choices for the Translation Project. Keep in mind that translator teams are not +driven by maintainers. You can help by carefully redirecting all +communications and reports from users about linguistic matters to the +appropriate translation team, or explain users how to reach or join +their team. +

+

Maintainers should never ever apply PO file bug reports +themselves, short-cutting translation teams. If some translator has +difficulty to get some of her points through her team, it should not be +an option for her to directly negotiate translations with maintainers. +Teams ought to settle their problems themselves, if any. If you, as +a maintainer, ever think there is a real problem with a team, please +never try to solve a team's problem on your own. +

+ + + +

13.3 Invoking the gettextize Program

+ + +

The gettextize program is an interactive tool that helps the +maintainer of a package internationalized through GNU gettext. +It is used for two purposes: +

+
    +
  • +As a wizard, when a package is modified to use GNU gettext for +the first time. + +
  • +As a migration tool, for upgrading the GNU gettext support in +a package from a previous to a newer version of GNU gettext. +
+ +

This program performs the following tasks: +

+
    +
  • +It copies into the package some files that are consistently and +identically needed in every package internationalized through +GNU gettext. + +
  • It performs as many of the tasks mentioned in the next section +Files You Must Create or Alter as can be performed automatically. + +
  • It removes obsolete files and idioms used for previous GNU +gettext versions to the form recommended for the current GNU +gettext version. + +
  • It prints a summary of the tasks that ought to be done manually +and could not be done automatically by gettextize. +
+ +

It can be invoked as follows: +

+ + +
 
gettextize [ option… ] [ directory ]
+
+ +

and accepts the following options: +

+
+
-f
+
--force
+
+ +

Force replacement of files which already exist. +

+
+
--po-dir=dir
+
+

Specify a directory containing PO files. Such a directory contains the +translations into various languages of a particular POT file. This +option can be specified multiple times, once for each translation domain. +If it is not specified, the directory named ‘po/’ is updated. +

+
+
--no-changelog
+
+

Don't update or create ChangeLog files. By default, gettextize +logs all changes (file additions, modifications and removals) in a +file called ‘ChangeLog’ in each affected directory. +

+
+
--symlink
+
+

Make symbolic links instead of copying the needed files. This can be +useful to save a few kilobytes of disk space, but it requires extra +effort to create self-contained tarballs, it may disturb some mechanism +the maintainer applies to the sources, and it is likely to introduce +bugs when a newer version of gettext is installed on the system. +

+
+
-n
+
--dry-run
+
+ +

Print modifications but don't perform them. All actions that +gettextize would normally execute are inhibited and instead only +listed on standard output. +

+
+
--help
+
+

Display this help and exit. +

+
+
--version
+
+

Output version information and exit. +

+
+
+ +

If directory is given, this is the top level directory of a +package to prepare for using GNU gettext. If not given, it +is assumed that the current directory is the top level directory of +such a package. +

+

The program gettextize provides the following files. However, +no existing file will be replaced unless the option --force +(-f) is specified. +

+
    +
  1. +The ‘ABOUT-NLS’ file is copied in the main directory of your package, +the one being at the top level. This file contains a reference to the +GNU gettext documentation. It also avoids an error from Automake in +packages that use the Automake option ‘gnits’: +“error: required file './ABOUT-NLS' not found”. + +
  2. +A ‘po/’ directory is created for eventually holding +all translation files, but initially only containing the file +‘po/Makefile.in.in’ from the GNU gettext distribution +(beware the double ‘.in’ in the file name) and a few auxiliary +files. If the ‘po/’ directory already exists, it will be preserved +along with the files it contains, and only ‘Makefile.in.in’ and +the auxiliary files will be overwritten. + +

    If ‘--po-dir’ has been specified, this holds for every directory +specified through ‘--po-dir’, instead of ‘po/’. +

    +
  3. +The file ‘config.rpath’ is copied into the directory containing +configuration support files. It is needed by the AM_GNU_GETTEXT +autoconf macro. + +
  4. +Only if the project is using GNU automake: +A set of autoconf macro files is copied into the package's +autoconf macro repository, usually in a directory called ‘m4/’. +
+ +

If your site support symbolic links, gettextize will not +actually copy the files into your package, but establish symbolic +links instead. This avoids duplicating the disk space needed in +all packages. Merely using the ‘-h’ option while creating the +tar archive of your distribution will resolve each link by an +actual copy in the distribution archive. So, to insist, you really +should use ‘-h’ option with tar within your dist +goal of your main ‘Makefile.in’. +

+

Furthermore, gettextize will update all ‘Makefile.am’ files +in each affected directory, as well as the top level ‘configure.ac’ +or ‘configure.in’ file. +

+

It is interesting to understand that most new files for supporting +GNU gettext facilities in one package go in ‘po/’ and +‘m4/’ subdirectories. Still, these directories will mostly +contain package dependent files. +

+

The gettextize program makes backup files for all files it +replaces or changes, and also write ChangeLog entries about these +changes. This way, the careful maintainer can check after running +gettextize whether its changes are acceptable to him, and +possibly adjust them. An exception to this rule is the ‘intl/’ +directory, which is removed as a whole if it still existed. +

+

It is important to understand that gettextize can not do the +entire job of adapting a package for using GNU gettext. The +amount of remaining work depends on whether the package uses GNU +automake or not. But in any case, the maintainer should still +read the section Files You Must Create or Alter after invoking gettextize. +

+

In particular, if after using ‘gettexize’, you get an error +‘AC_COMPILE_IFELSE was called before AC_GNU_SOURCE’ or +‘AC_RUN_IFELSE was called before AC_GNU_SOURCE’, you can fix it +by modifying ‘configure.ac’, as described in configure.ac’ at top level. +

+

It is also important to understand that gettextize is not part +of the GNU build system, in the sense that it should not be invoked +automatically, and not be invoked by someone who doesn't assume the +responsibilities of a package maintainer. For the latter purpose, a +separate tool is provided, see Invoking the autopoint Program. +

+ + + +

13.4 Files You Must Create or Alter

+ +

Besides files which are automatically added through gettextize, +there are many files needing revision for properly interacting with +GNU gettext. If you are closely following GNU standards for +Makefile engineering and auto-configuration, the adaptations should +be easier to achieve. Here is a point by point description of the +changes needed in each. +

+

So, here comes a list of files, each one followed by a description of +all alterations it needs. Many examples are taken out from the GNU +gettext 0.25.1 distribution itself, or from the GNU +hello distribution (https://www.gnu.org/software/hello). +You may indeed refer to the source code of the GNU gettext and +GNU hello packages, as they are intended to be good examples for +using GNU gettext functionality. +

+ + + + +

13.4.1 ‘POTFILES.in’ in ‘po/

+ +

The ‘po/’ directory should receive a file named +‘POTFILES.in’. This file tells which files, among all program +sources, have marked strings needing translation. Here is an example +of such a file: +

+
 
# List of source files containing translatable strings.
+# Copyright (C) 1995 Free Software Foundation, Inc.
+
+# Common library files
+lib/error.c
+lib/getopt.c
+lib/xmalloc.c
+
+# Package source files
+src/gettext.c
+src/msgfmt.c
+src/xgettext.c
+
+ +

Hash-marked comments and white lines are ignored. All other lines +list those source files containing strings marked for translation +(see section How Marks Appear in Sources), in a notation relative to the top level +of your whole distribution, rather than the location of the +‘POTFILES.in’ file itself. +

+

When a C file is automatically generated by a tool, like flex or +bison, that doesn't introduce translatable strings by itself, +it is recommended to list in ‘po/POTFILES.in’ the real source file +(ending in ‘.l’ in the case of flex, or in ‘.y’ in the +case of bison), not the generated C file. +

+ + + +

13.4.2 ‘LINGUAS’ in ‘po/

+ +

The ‘po/’ directory should also receive a file named +‘LINGUAS’. This file contains the list of available translations. +It is a whitespace separated list. Hash-marked comments and white lines +are ignored. Here is an example file: +

+
 
# Set of available languages.
+de fr
+
+ +

This example means that German and French PO files are available, so +that these languages are currently supported by your package. If you +want to further restrict, at installation time, the set of installed +languages, this should not be done by modifying the ‘LINGUAS’ file, +but rather by using the LINGUAS environment variable +(see section The Installer's and Distributor's View). +

+

It is recommended that you add the "languages" ‘en@quot’ and +‘en@boldquot’ to the LINGUAS file. en@quot is a +variant of English message catalogs (en) which uses real quotation +marks instead of the ugly looking asymmetric ASCII substitutes ‘`’ +and ‘'’. en@boldquot is a variant of en@quot that +additionally outputs quoted pieces of text in a bold font, when used in +a terminal emulator which supports the VT100 escape sequences (such as +xterm or the Linux console, but not Emacs in M-x shell mode). +

+

These extra message catalogs ‘en@quot’ and ‘en@boldquot’ +are constructed automatically, not by translators; to support them, you +need the files ‘Rules-quot’, ‘quot.sed’, ‘boldquot.sed’, +‘en@quot.header’, ‘en@boldquot.header’, ‘insert-header.sed’ +in the ‘po/’ directory. You can copy them from GNU gettext's ‘po/’ +directory; they are also installed by running gettextize. +

+ + + +

13.4.3 ‘Makevars’ in ‘po/

+ +

The ‘po/’ directory also has a file named ‘Makevars’. It +contains variables that are specific to your project. ‘po/Makevars’ +gets inserted into the ‘po/Makefile’ when the latter is created. +The variables thus take effect when the POT file is created or updated, +and when the message catalogs get installed. +

+

The first three variables can be left unmodified if your package has a +single message domain and, accordingly, a single ‘po/’ directory. +Only packages which have multiple ‘po/’ directories at different +locations need to adjust the three first variables defined in +‘Makevars’. +

+

As an alternative to the XGETTEXT_OPTIONS variable, it is also +possible to specify xgettext options through the +AM_XGETTEXT_OPTION autoconf macro. See AM_XGETTEXT_OPTION in ‘po.m4. +

+ + + +

13.4.4 Extending ‘Makefile’ in ‘po/

+ +

All files called ‘Rules-*’ in the ‘po/’ directory get appended to +the ‘po/Makefile’ when it is created. They present an opportunity to +add rules for special PO files to the Makefile, without needing to mess +with ‘po/Makefile.in.in’. +

+ + +

GNU gettext comes with a ‘Rules-quot’ file, containing rules for +building catalogs ‘en@quot.po’ and ‘en@boldquot.po’. The +effect of ‘en@quot.po’ is that people who set their LANGUAGE +environment variable to ‘en@quot’ will get messages with proper +looking symmetric Unicode quotation marks instead of abusing the ASCII +grave accent and the ASCII apostrophe for indicating quotations. To +enable this catalog, simply add en@quot to the ‘po/LINGUAS’ +file. The effect of ‘en@boldquot.po’ is that people who set +LANGUAGE to ‘en@boldquot’ will get not only proper quotation +marks, but also the quoted text will be shown in a bold font on terminals +and consoles. This catalog is useful only for command-line programs, not +GUI programs. To enable it, similarly add en@boldquot to the +‘po/LINGUAS’ file. +

+

Similarly, you can create rules for building message catalogs for the +‘sr@latin’ locale – Serbian written with the Latin alphabet – +from those for the ‘sr’ locale – Serbian written with Cyrillic +letters. See Invoking the msgfilter Program. +

+ + + +

13.4.5 ‘configure.ac’ at top level

+ +

configure.ac’ or ‘configure.in’ - this is the source from which +autoconf generates the ‘configure’ script. +

+
    +
  1. Declare the package and version. + + +

    This is done by a set of lines like these: +

    +
     
    PACKAGE=gettext
    +VERSION=0.25.1
    +AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
    +AC_DEFINE_UNQUOTED(VERSION, "$VERSION")
    +AC_SUBST(PACKAGE)
    +AC_SUBST(VERSION)
    +
    + +

    or, if you are using GNU automake, by a line like this: +

    +
     
    AM_INIT_AUTOMAKE(gettext, 0.25.1)
    +
    + +

    Of course, you replace ‘gettext’ with the name of your package, +and ‘0.25.1’ by its version numbers, exactly as they +should appear in the packaged tar file name of your distribution +(‘gettext-0.25.1.tar.gz’, here). +

    +
  2. Check for internationalization support. + +

    Here is the main m4 macro for triggering internationalization +support. Just add this line to ‘configure.ac’: +

    +
     
    AM_GNU_GETTEXT([external])
    +
    + +

    This call is purposely simple, even if it generates a lot of configure +time checking and actions. +

    +
  3. Have output files created. + +

    The AC_OUTPUT directive, at the end of your ‘configure.ac’ +file, needs to be modified in two ways: +

    +
     
    AC_OUTPUT([existing configuration files po/Makefile.in],
    +[existing additional actions])
    +
    + +

    The modification to the first argument to AC_OUTPUT asks +for substitution in the ‘po/’ directory. +Note the ‘.in’ suffix used for ‘po/’ only. This is because +the distributed file is really ‘po/Makefile.in.in’. +

    +
+ + + + +

13.4.6 ‘config.guess’, ‘config.sub’ at top level

+ +

You need to add the GNU ‘config.guess’ and ‘config.sub’ files +to your distribution. They are needed because the AM_ICONV macro +contains knowledge about specific platforms and therefore needs to +identify the platform. +

+

You can obtain the newest version of ‘config.guess’ and +‘config.sub’ from the ‘config’ project at +‘https://savannah.gnu.org/’. The commands to fetch them are +

 
$ wget -O config.guess 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD'
+$ wget -O config.sub 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD'
+
+

Less recent versions are also contained in the GNU automake and +GNU libtool packages. +

+

Normally, ‘config.guess’ and ‘config.sub’ are put at the +top level of a distribution. But it is also possible to put them in a +subdirectory, altogether with other configuration support files like +‘install-sh’, ‘ltconfig’, ‘ltmain.sh’ or ‘missing’. +All you need to do, other than moving the files, is to add the following line +to your ‘configure.ac’. +

+
 
AC_CONFIG_AUX_DIR([subdir])
+
+ + + + +

13.4.7 ‘mkinstalldirs’ at top level

+ +

With earlier versions of GNU gettext, you needed to add the GNU +‘mkinstalldirs’ script to your distribution. This is not needed any +more. You can remove it. +

+ + + +

13.4.8 ‘aclocal.m4’ at top level

+ +

If you do not have an ‘aclocal.m4’ file in your distribution, +the simplest is to concatenate the files ‘build-to-host.m4’, +‘gettext.m4’, ‘host-cpu-c-abi.m4’, ‘intlmacosx.m4’, +‘iconv.m4’, ‘lib-ld.m4’, ‘lib-link.m4’, ‘lib-prefix.m4’, +‘nls.m4’, ‘po.m4’, ‘progtest.m4’ from GNU gettext's +‘prefix/share/gettext/m4/’ directory into a single file. +

+

If you already have an ‘aclocal.m4’ file, then you will have +to merge the said macro files into your ‘aclocal.m4’. Note that if +you are upgrading from a previous release of GNU gettext, you +should most probably replace the macros (AM_GNU_GETTEXT, +etc.), as they usually +change a little from one release of GNU gettext to the next. +Their contents may vary as we get more experience with strange systems +out there. +

+

You should be using GNU automake 1.9 or newer. With it, you need +to copy the files ‘build-to-host.m4’, ‘gettext.m4’, +‘host-cpu-c-abi.m4’, ‘intlmacosx.m4’, ‘iconv.m4’, +‘lib-ld.m4’, ‘lib-link.m4’, ‘lib-prefix.m4’, ‘nls.m4’, +‘po.m4’, ‘progtest.m4’ from GNU gettext's +‘prefix/share/gettext/m4/’ +directory to a subdirectory named ‘m4/’ and add the line +

+
 
ACLOCAL_AMFLAGS = -I m4
+
+ +

to your top level ‘Makefile.am’. +

+

If you are using GNU automake 1.12 or newer, it is even easier: +Add the line +

+
 
ACLOCAL_AMFLAGS = -I m4
+
+ +

to your top level ‘Makefile.am’, and run +‘aclocal --install --system-acdir=prefix/share/gettext/m4 -I m4’. +This will copy the needed files to the ‘m4/’ subdirectory automatically, +before updating ‘aclocal.m4’. +

+

Note: This --system-acdir option should only be used here, once. +If you were to use it after autopoint has been run, +it would destroy the consistency that autopoint guarantees +and lead to all sorts of malfunction at build time. +

+

These macros check for the internationalization support functions +and related information. +

+ + + +

13.4.9 ‘config.h.in’ at top level

+ +

The include file template that holds the C macros to be defined by +configure is usually called ‘config.h.in’ and may be +maintained either manually or automatically. +

+

If it is maintained automatically, by use of the ‘autoheader’ +program, you need to do nothing about it. This is the case in particular +if you are using GNU automake. +

+

If it is maintained manually, you can get away by adding the +following lines to ‘config.h.in’: +

+
 
/* Define to 1 if translation of program messages to the user's
+   native language is requested. */
+#undef ENABLE_NLS
+
+ + + + +

13.4.10 ‘Makefile.in’ at top level

+ +

Here are a few modifications you need to make to your main, top-level +‘Makefile.in’ file. +

+
    +
  1. +Add the following lines near the beginning of your ‘Makefile.in’, +so the ‘dist:’ goal will work properly (as explained further down): + +
     
    PACKAGE = @PACKAGE@
    +VERSION = @VERSION@
    +
    + +
  2. +Wherever you process subdirectories in your ‘Makefile.in’, be sure +you also process the subdirectory ‘po’. Special +rules in the ‘Makefiles’ take care for the case where no +internationalization is wanted. + +

    If you are using Makefiles, either generated by automake, or hand-written +so they carefully follow the GNU coding standards, the effected goals for +which the new subdirectories must be handled include ‘installdirs’, +‘install’, ‘uninstall’, ‘clean’, ‘distclean’. +

    +

    Here is an example of a canonical order of processing. In this +example, we also define SUBDIRS in Makefile.in for it +to be further used in the ‘dist:’ goal. +

    +
     
    SUBDIRS = doc lib src po
    +
    + +
  3. +A delicate point is the ‘dist:’ goal, as ‘po/Makefile’ will later +assume that the proper directory has been set up from the main ‘Makefile’. +Here is an example at what the ‘dist:’ goal might look like: + +
     
    distdir = $(PACKAGE)-$(VERSION)
    +dist: Makefile
    +	rm -fr $(distdir)
    +	mkdir $(distdir)
    +	chmod 777 $(distdir)
    +	for file in $(DISTFILES); do \
    +	  ln $$file $(distdir) 2>/dev/null || cp -p $$file $(distdir); \
    +	done
    +	for subdir in $(SUBDIRS); do \
    +	  mkdir $(distdir)/$$subdir || exit 1; \
    +	  chmod 777 $(distdir)/$$subdir; \
    +	  (cd $$subdir && $(MAKE) $@) || exit 1; \
    +	done
    +	tar chozf $(distdir).tar.gz $(distdir)
    +	rm -fr $(distdir)
    +
    + +
+ +

Note that if you are using GNU automake, ‘Makefile.in’ is +automatically generated from ‘Makefile.am’, and all needed changes +to ‘Makefile.am’ are already made by running ‘gettextize’. +

+ + + +

13.4.11 ‘Makefile.in’ in ‘src/

+ +

Some of the modifications made in the main ‘Makefile.in’ will +also be needed in the ‘Makefile.in’ from your package sources, +which we assume here to be in the ‘src/’ subdirectory. Here are +all the modifications needed in ‘src/Makefile.in’: +

+
    +
  1. +In view of the ‘dist:’ goal, you should have these lines near the +beginning of ‘src/Makefile.in’: + +
     
    PACKAGE = @PACKAGE@
    +VERSION = @VERSION@
    +
    + +
  2. +If not done already, you should guarantee that top_srcdir +gets defined. This will serve for cpp include files. Just add +the line: + +
     
    top_srcdir = @top_srcdir@
    +
    + +
  3. +You might also want to define subdir as ‘src’, later +allowing for almost uniform ‘dist:’ goals in all your +‘Makefile.in’. At list, the ‘dist:’ goal below assume that +you used: + +
     
    subdir = src
    +
    + +
  4. +The main function of your program will normally call +bindtextdomain (see see section Triggering gettext Operations), like this: + +
     
    bindtextdomain (PACKAGE, LOCALEDIR);
    +textdomain (PACKAGE);
    +
    + +

    On native Windows platforms, the main function may call +wbindtextdomain instead of bindtextdomain. +

    +

    To make LOCALEDIR known to the program, add the following lines to +‘Makefile.in’: +

    +
     
    datadir = @datadir@
    +datarootdir= @datarootdir@
    +localedir = @localedir@
    +DEFS = -DLOCALEDIR=$(localedir_c_make) @DEFS@
    +
    + +

    $(localedir_c_make) expands to the value of localedir, in +C syntax, escaped for use in a Makefile. +Note that @datadir@ defaults to ‘$(prefix)/share’, and +$(localedir) defaults to ‘$(prefix)/share/locale’. +

    +
  5. +You should ensure that the final linking will use @LIBINTL@ or +@LTLIBINTL@ as a library. @LIBINTL@ is for use without +libtool, @LTLIBINTL@ is for use with libtool. An +easy way to achieve this is to manage that it gets into LIBS, like +this: + +
     
    LIBS = @LIBINTL@ @LIBS@
    +
    + +

    In most packages internationalized with GNU gettext, one will +find a directory ‘lib/’ in which a library containing some helper +functions will be build. (You need at least the few functions which the +GNU gettext Library itself needs.) However some of the functions +in the ‘lib/’ also give messages to the user which of course should be +translated, too. Taking care of this, the support library (say +‘libsupport.a’) should be placed before @LIBINTL@ and +@LIBS@ in the above example. So one has to write this: +

    +
     
    LIBS = ../lib/libsupport.a @LIBINTL@ @LIBS@
    +
    + +
  6. +Your ‘dist:’ goal has to conform with others. Here is a +reasonable definition for it: + +
     
    distdir = ../$(PACKAGE)-$(VERSION)/$(subdir)
    +dist: Makefile $(DISTFILES)
    +	for file in $(DISTFILES); do \
    +	  ln $$file $(distdir) 2>/dev/null || cp -p $$file $(distdir) || exit 1; \
    +	done
    +
    + +
+ +

Note that if you are using GNU automake, ‘Makefile.in’ is +automatically generated from ‘Makefile.am’, and the first three +changes and the last change are not necessary. The remaining needed +‘Makefile.am’ modifications are the following: +

+
    +
  1. +To make LOCALEDIR known to the program, add the following to +‘Makefile.am’: + +
     
    <module>_CPPFLAGS = -DLOCALEDIR=$(localedir_c_make)
    +
    + +

    for each specific module or compilation unit, or +

    +
     
    AM_CPPFLAGS = -DLOCALEDIR=$(localedir_c_make)
    +
    + +

    for all modules and compilation units together. +

    +
  2. +To ensure that the final linking will use @LIBINTL@ or +@LTLIBINTL@ as a library, add the following to +‘Makefile.am’: + +
     
    <program>_LDADD = @LIBINTL@
    +
    + +

    for each specific program, or +

    +
     
    LDADD = @LIBINTL@
    +
    + +

    for all programs together. Remember that when you use libtool +to link a program, you need to use @LTLIBINTL@ instead of @LIBINTL@ +for that program. +

    +
+ + + + +

13.4.12 ‘gettext.h’ in ‘lib/

+ +

Internationalization of packages, as provided by GNU gettext, is +optional. It can be turned off in two situations: +

+
    +
  • +When the installer has specified ‘./configure --disable-nls’. This +can be useful when small binaries are more important than features, for +example when building utilities for boot diskettes. It can also be useful +in order to get some specific C compiler warnings about code quality with +some older versions of GCC (older than 3.0). + +
  • +When the libintl.h header (with its associated libintl library, if any) is +not already installed on the system, it is preferable that the package builds +without internationalization support, rather than to give a compilation +error. +
+ +

A C preprocessor macro can be used to detect these two cases. Usually, +when libintl.h was found and not explicitly disabled, the +ENABLE_NLS macro will be defined to 1 in the autoconf generated +configuration file (usually called ‘config.h’). In the two negative +situations, however, this macro will not be defined, thus it will evaluate +to 0 in C preprocessor expressions. +

+ +

gettext.h’ is a convenience header file for conditional use of +‘<libintl.h>’, depending on the ENABLE_NLS macro. If +ENABLE_NLS is set, it includes ‘<libintl.h>’; otherwise it +defines no-op substitutes for the libintl.h functions. We recommend +the use of "gettext.h" over direct use of ‘<libintl.h>’, +so that portability to older systems is guaranteed and installers can +turn off internationalization if they want to. In the C code, you will +then write +

+
 
#include "gettext.h"
+
+ +

instead of +

+
 
#include <libintl.h>
+
+ +

The location of gettext.h is usually in a directory containing +auxiliary include files. In many GNU packages, there is a directory +‘lib/’ containing helper functions; ‘gettext.h’ fits there. +In other packages, it can go into the ‘src’ directory. +

+

Do not install the gettext.h file in public locations. Every +package that needs it should contain a copy of it on its own. +

+ + + +

13.5 Autoconf macros for use in ‘configure.ac

+ +

GNU gettext installs macros for use in a package's +‘configure.ac’ or ‘configure.in’. +See (autoconf)Top section `Introduction' in The Autoconf Manual. +

+

In order to copy these macros into your package, +use the gettextize or autopoint programs. +See Invoking the gettextize Program or Invoking the autopoint Program. +Attempts to use the autoreconf program for this purpose are unreliable. +

+

The primary macro is, of course, AM_GNU_GETTEXT. +

+ + + + +

13.5.1 AM_GNU_GETTEXT in ‘gettext.m4

+ +

The AM_GNU_GETTEXT macro tests for the presence of the GNU gettext +function family in either the C library or a separate libintl +library (shared or static libraries are both supported). It also invokes +AM_PO_SUBDIRS, thus preparing the ‘po/’ directories of the +package for building. +

+

AM_GNU_GETTEXT accepts up to two optional arguments. The general +syntax is +

+
 
AM_GNU_GETTEXT([intlsymbol], [needsymbol])
+
+ +

intlsymbol should always be ‘external’. +

+

If needsymbol is specified and is ‘need-ngettext’, then GNU +gettext implementations (in libc or libintl) without the ngettext() +function will be ignored. If needsymbol is specified and is +‘need-formatstring-macros’, then GNU gettext implementations that don't +support the ISO C 99 ‘<inttypes.h>’ formatstring macros will be ignored. +Only one needsymbol can be specified. These requirements can also be +specified by using the macro AM_GNU_GETTEXT_NEED elsewhere. To specify +more than one requirement, just specify the strongest one among them, or +invoke the AM_GNU_GETTEXT_NEED macro several times. The hierarchy +among the various alternatives is as follows: ‘need-formatstring-macros’ +implies ‘need-ngettext’. +

+

The AM_GNU_GETTEXT macro determines whether GNU gettext is +available and should be used. If so, it sets the USE_NLS variable +to ‘yes’; it defines ENABLE_NLS to 1 in the autoconf +generated configuration file (usually called ‘config.h’); it sets +the variables LIBINTL and LTLIBINTL to the linker options +for use in a Makefile (LIBINTL for use without libtool, +LTLIBINTL for use with libtool); it adds an ‘-I’ option to +CPPFLAGS if necessary. In the negative case, it sets +USE_NLS to ‘no’; it sets LIBINTL and LTLIBINTL +to empty and doesn't change CPPFLAGS. +

+

The complexities that AM_GNU_GETTEXT deals with are the following: +

+
    +
  • + +Some operating systems have gettext in the C library, for example +glibc. Some have it in a separate library libintl. GNU libintl +might have been installed as part of the GNU gettext package. + +
  • +GNU libintl, if installed, is not necessarily already in the search +path (CPPFLAGS for the include file search path, LDFLAGS for +the library search path). + +
  • +Except for glibc and the Solaris 11 libc, the operating system's native +gettext cannot exploit the GNU mo files, doesn't have the +necessary locale dependency features, and cannot convert messages from +the catalog's text encoding to the user's locale encoding. + +
  • +GNU libintl, if installed, is not necessarily already in the +run time library search path. To avoid the need for setting an environment +variable like LD_LIBRARY_PATH, the macro adds the appropriate +run time search path options to the LIBINTL and LTLIBINTL +variables. This works on most systems, but not on some operating systems +with limited shared library support, like SCO. + +
  • +GNU libintl relies on POSIX/XSI iconv. The macro checks for +linker options needed to use iconv and appends them to the LIBINTL +and LTLIBINTL variables. +
+ +

Additionally, the AM_GNU_GETTEXT macro sets two variables, for +convenience. Both are derived from the --localedir configure +option. They are correct even on native Windows, where directories +frequently contain backslashes. +

+
localedir_c
+

This is the value of localedir, in C syntax. This variable is +meant to be substituted into C or C++ code through +AC_CONFIG_FILES. +

+
+
localedir_c_make
+

This is the value of localedir, in C syntax, escaped for use in +a Makefile. This variable is meant to be used in Makefiles, +for example for defining a C macro named LOCALEDIR: +

 
AM_CPPFLAGS = ... -DLOCALEDIR=$(localedir_c_make) ...
+
+
+
+ + + + +

13.5.2 AM_GNU_GETTEXT_VERSION in ‘gettext.m4

+ +

The AM_GNU_GETTEXT_VERSION macro declares the version number of +the GNU gettext infrastructure that is used by the package. +

+

The use of this macro is optional; only the autopoint program makes +use of it (see section Integrating with Version Control Systems). +

+ + + +

13.5.3 AM_GNU_GETTEXT_NEED in ‘gettext.m4

+ +

The AM_GNU_GETTEXT_NEED macro declares a constraint regarding the +GNU gettext implementation. The syntax is +

+
 
AM_GNU_GETTEXT_NEED([needsymbol])
+
+ +

If needsymbol is ‘need-ngettext’, then GNU gettext implementations +(in libc or libintl) without the ngettext() function will be ignored. +If needsymbol is ‘need-formatstring-macros’, then GNU gettext +implementations that don't support the ISO C 99 ‘<inttypes.h>’ +formatstring macros will be ignored. +

+

The optional second argument of AM_GNU_GETTEXT is also taken into +account. +

+

The AM_GNU_GETTEXT_NEED invocations can occur before or after +the AM_GNU_GETTEXT invocation; the order doesn't matter. +

+ + + +

13.5.4 AM_PO_SUBDIRS in ‘po.m4

+ +

The AM_PO_SUBDIRS macro prepares the ‘po/’ directories of the +package for building. This macro should be used in internationalized +programs written in other programming languages than C, C++, Objective C, +for example sh, Python, Lisp. See Other Programming Languages for a list of programming languages that support localization +through PO files. +

+

The AM_PO_SUBDIRS macro determines whether internationalization +should be used. If so, it sets the USE_NLS variable to ‘yes’, +otherwise to ‘no’. It also determines the right values for Makefile +variables in each ‘po/’ directory. +

+ + + +

13.5.5 AM_XGETTEXT_OPTION in ‘po.m4

+ +

The AM_XGETTEXT_OPTION macro registers a command-line option to be +used in the invocations of xgettext in the ‘po/’ directories +of the package. +

+

For example, if you have a source file that defines a function +‘error_at_line’ whose fifth argument is a format string, you can use +

 
AM_XGETTEXT_OPTION([--flag=error_at_line:5:c-format])
+
+

to instruct xgettext to mark all translatable strings in ‘gettext’ +invocations that occur as fifth argument to this function as ‘c-format’. +

+

See Invoking the xgettext Program for the list of options that xgettext +accepts. +

+

The use of this macro is an alternative to the use of the +‘XGETTEXT_OPTIONS’ variable in ‘po/Makevars’. +

+ + + +

13.5.6 AM_ICONV in ‘iconv.m4

+ +

The AM_ICONV macro tests for the presence of the POSIX/XSI +iconv function family in either the C library or a separate +libiconv library. If found, it sets the am_cv_func_iconv +variable to ‘yes’; it defines HAVE_ICONV to 1 in the autoconf +generated configuration file (usually called ‘config.h’); it defines +ICONV_CONST to ‘const’ or to empty, depending on whether the +second argument of iconv() is of type ‘const char **’ or +‘char **’; it sets the variables LIBICONV and +LTLIBICONV to the linker options for use in a Makefile +(LIBICONV for use without libtool, LTLIBICONV for use with +libtool); it adds an ‘-I’ option to CPPFLAGS if +necessary. If not found, it sets LIBICONV and LTLIBICONV to +empty and doesn't change CPPFLAGS. +

+

The complexities that AM_ICONV deals with are the following: +

+
    +
  • + +Some operating systems have iconv in the C library, for example +glibc. Some have it in a separate library libiconv, for example +OSF/1 or FreeBSD. Regardless of the operating system, GNU libiconv +might have been installed. In that case, it should be used instead of the +operating system's native iconv. + +
  • +GNU libiconv, if installed, is not necessarily already in the search +path (CPPFLAGS for the include file search path, LDFLAGS for +the library search path). + +
  • +GNU libiconv is binary incompatible with some operating system's +native iconv, for example on FreeBSD. Use of an ‘iconv.h’ +and ‘libiconv.so’ that don't fit together would produce program +crashes. + +
  • +GNU libiconv, if installed, is not necessarily already in the +run time library search path. To avoid the need for setting an environment +variable like LD_LIBRARY_PATH, the macro adds the appropriate +run time search path options to the LIBICONV variable. This works +on most systems, but not on some operating systems with limited shared +library support, like SCO. +
+ +

iconv.m4’ is distributed with the GNU gettext package because +‘gettext.m4’ relies on it. +

+ + + +

13.6 Integrating with Version Control Systems

+ +

Many projects use version control systems for distributed development +and source backup. This section gives some advice how to manage the +uses of gettextize, autopoint and autoconf on +version controlled files. +

+ + + + +

13.6.1 Avoiding version mismatch in distributed development

+ +

In a project development with multiple developers, there should be a +single developer who occasionally - when there is desire to upgrade to +a new gettext version - runs gettextize and performs the +changes listed in Files You Must Create or Alter, and then commits his changes +to the repository. +

+

It is highly recommended that all developers on a project use the same +version of GNU gettext in the package. In other words, if a +developer runs gettextize, he should go the whole way, make the +necessary remaining changes and commit his changes to the repository. +Otherwise the following damages will likely occur: +

+
    +
  • +Apparent version mismatch between developers. Since some gettext +specific portions in ‘configure.ac’, ‘configure.in’ and +Makefile.am, Makefile.in files depend on the gettext +version, the use of infrastructure files belonging to different +gettext versions can easily lead to build errors. + +
  • +Hidden version mismatch. Such version mismatch can also lead to +malfunctioning of the package, that may be undiscovered by the developers. +The worst case of hidden version mismatch is that internationalization +of the package doesn't work at all. + +
  • +Release risks. All developers implicitly perform constant testing on +a package. This is important in the days and weeks before a release. +If the guy who makes the release tar files uses a different version +of GNU gettext than the other developers, the distribution will +be less well tested than if all had been using the same gettext +version. For example, it is possible that a platform specific bug goes +undiscovered due to this constellation. +
+ + + + +

13.6.2 Files to put under version control

+ +

There are basically three ways to deal with generated files in the +context of a version controlled repository, such as ‘configure’ +generated from ‘configure.ac’, parser.c generated +from parser.y, or po/Makefile.in.in autoinstalled +by gettextize or autopoint. +

+
    +
  1. +All generated files are always committed into the repository. + +
  2. +All generated files are committed into the repository occasionally, +for example each time a release is made. + +
  3. +Generated files are never committed into the repository. +
+ +

Each of these three approaches has different advantages and drawbacks. +

+
    +
  1. +The advantage is that anyone can check out the source at any moment and +gets a working build. The drawbacks are: 1a. It requires some frequent +"push" actions by the maintainers. 1b. The repository grows in size +quite fast. + +
  2. +The advantage is that anyone can check out the source, and the usual +"./configure; make" will work. The drawbacks are: 2a. The one who +checks out the repository needs tools like GNU automake, GNU +autoconf, GNU m4 installed in his PATH; sometimes he +even needs particular versions of them. 2b. When a release is made +and a commit is made on the generated files, the other developers get +conflicts on the generated files when merging the local work back to +the repository. Although these conflicts are easy to resolve, they +are annoying. + +
  3. +The advantage is less work for the maintainers. The drawback is that +anyone who checks out the source not only needs tools like GNU +automake, GNU autoconf, GNU m4 installed in his +PATH, but also that he needs to perform a package specific pre-build +step before being able to "./configure; make". +
+ +

For the first and second approach, all files modified or brought in +by the occasional gettextize invocation and update should be +committed into the repository. +

+

For the third approach, the maintainer can omit from the repository +all the files that gettextize mentions as "copy". Instead, he +adds to the ‘configure.ac’ or ‘configure.in’ a line of the +form +

+
 
AM_GNU_GETTEXT_VERSION(0.25.1)
+
+ +

and adds to the package's pre-build script an invocation of +‘autopoint’. For everyone who checks out the source, this +autopoint invocation will copy into the right place the +gettext infrastructure files that have been omitted from the repository. +

+

The version number used as argument to AM_GNU_GETTEXT_VERSION is +the version of the gettext infrastructure that the package wants +to use. It is also the minimum version number of the ‘autopoint’ +program. So, if you write AM_GNU_GETTEXT_VERSION(0.11.5) then the +developers can have any version >= 0.11.5 installed; the package will work +with the 0.11.5 infrastructure in all developers' builds. When the +maintainer then runs gettextize from, say, version 0.12.1 on the package, +the occurrence of AM_GNU_GETTEXT_VERSION(0.11.5) will be changed +into AM_GNU_GETTEXT_VERSION(0.12.1), and all other developers that +use the CVS will henceforth need to have GNU gettext 0.12.1 or newer +installed. +

+ + + +

13.6.3 Put PO Files under Version Control

+ +

Since translations are valuable assets as well as the source code, it +would make sense to put them under version control. The GNU gettext +infrastructure supports two ways to deal with translations in the +context of a version controlled repository. +

+
    +
  1. +Both POT file and PO files are committed into the repository. + +
  2. +Only PO files are committed into the repository. + +
+ +

If a POT file is absent when building, it will be generated by +scanning the source files with xgettext, and then the PO files +are regenerated as a dependency. On the other hand, some maintainers +want to keep the POT file unchanged during the development phase. So, +even if a POT file is present and older than the source code, it won't +be updated automatically. You can manually update it with make +$(DOMAIN).pot-update, and commit it at certain point. +

+

Special advices for particular version control systems: +

+
    +
  • +Recent version control systems, Git for instance, ignore file's +timestamp. In that case, PO files can be accidentally updated even if +a POT file is not updated. To prevent this, you can set +‘PO_DEPENDS_ON_POT’ variable to no in the ‘Makevars’ +file and do make update-po manually. + +
  • +Location comments such as #: lib/error.c:116 are sometimes +annoying, since these comments are volatile and may introduce unwanted +change to the working copy when building. To mitigate this, you can +decide to omit those comments from the PO files in the repository. + +

    This is possible with the --no-location option of the +msgmerge command (6). The drawback is +that, if the location information is needed, translators have to +recover the location comments by running msgmerge again. +

    +
+ + + + +

13.6.4 Invoking the autopoint Program

+ + +
 
autopoint [option]...
+
+ +

The autopoint program copies standard gettext infrastructure files +into a source package. It extracts from a macro call of the form +AM_GNU_GETTEXT_VERSION(version), found in the package's +‘configure.in’ or ‘configure.ac’ file, the gettext version +used by the package, and copies the infrastructure files belonging to +this version into the package. +

+

To extract the latest available infrastructure which satisfies a version +requirement, then you can use the form +AM_GNU_GETTEXT_REQUIRE_VERSION(version) instead. For +example, if gettext 0.25.1 is installed on your system +and 0.19.1 is requested, then the infrastructure files of version +0.25.1 will be copied into a source package. +

+ + +

13.6.4.1 Options

+ +
+
-f
+
--force
+
+ +

Force overwriting of files that already exist. +

+
+
-n
+
--dry-run
+
+ +

Print modifications but don't perform them. All file copying actions that +autopoint would normally execute are inhibited and instead only +listed on standard output. +

+
+
+ + + +

13.6.4.2 Informative output

+ +
+
--help
+
+

Display this help and exit. +

+
+
--version
+
+

Output version information and exit. +

+
+
+ +

autopoint supports the GNU gettext versions from 0.10.35 +to the current one, 0.25.1. In order to apply +autopoint to a package using a gettext version newer than +0.25.1, you need to install this same version of GNU +gettext at least. +

+

In packages using GNU automake, an invocation of autopoint +should be followed by invocations of aclocal and then autoconf +and autoheader. The reason is that autopoint installs some +autoconf macro files, which are used by aclocal to create +‘aclocal.m4’, and the latter is used by autoconf to create the +package's ‘configure’ script and by autoheader to create the +package's ‘config.h.in’ include file template. +

+

The name ‘autopoint’ is an abbreviation of ‘auto-po-intl-m4’; +in earlier versions, the tool copied or updated mostly files in the ‘po’, +‘intl’, ‘m4’ directories. +

+ + + +

13.7 Creating a Distribution Tarball

+ +

In projects that use GNU automake, the usual commands for creating +a distribution tarball, ‘make dist’ or ‘make distcheck’, +automatically update the PO files as needed. +

+

If GNU automake is not used, the maintainer needs to perform this +update before making a release: +

+
 
$ ./configure
+$ (cd po; make update-po)
+$ make distclean
+
+ + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+

+ + This document was generated by Bruno Haible on July, 2 2025 using texi2html 1.78a. + +
+ +

+ + diff --git a/miniconda3/share/doc/gettext/gettext_14.html b/miniconda3/share/doc/gettext/gettext_14.html new file mode 100644 index 0000000000000000000000000000000000000000..1c5d5d762d931f611d9e02b4535304b08ea1b525 --- /dev/null +++ b/miniconda3/share/doc/gettext/gettext_14.html @@ -0,0 +1,127 @@ + + + + + +GNU gettext utilities: 14. The Installer's and Distributor's View + + + + + + + + + + + + + + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+ +
+ + +

14. The Installer's and Distributor's View

+ +

By default, packages fully using GNU gettext, internally, +are installed in such a way as to allow translation of +messages. At configuration time, those packages should +automatically detect whether the underlying host system already provides +the GNU gettext functions. If not, +the GNU gettext library should be automatically prepared +and used. Installers may use special options at configuration +time for changing this behavior. The command ‘./configure +--with-included-gettext’ bypasses system gettext to +use the included GNU gettext instead, +while ‘./configure --disable-nls’ +produces programs totally unable to translate messages. +

+ +

Internationalized packages have usually many ‘ll.po’ +or ‘ll_CC.po’ files, where +

+
    +
  • +ll gives an ISO 639 two-letter code identifying the language. +For some languages, +a two-letter code does not exist, and a three-letter code is used instead. +
  • +The optional CC is an ISO 3166 two-letter code of a country or +territory. +
+ +

Unless translations are disabled, all those available are installed together +with the package. However, the environment variable LINGUAS +may be set, prior to configuration, to limit the installed set. +LINGUAS should then contain a space separated list of locale names +(of the form ll or ll_CC), +stating which languages or language variants are allowed. +

+

GNU gettext uses *.its and *.loc files (see section Preparing Rules for XML Internationalization) +from other packages, provided they are installed in +‘prefix/share/gettext/its/’, +where prefix is the value of the --prefix option +passed to gettext's configure script. +So, this is the canonical location for installing *.its and *.loc files +from other packages. +

+ + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+

+ + This document was generated by Bruno Haible on July, 2 2025 using texi2html 1.78a. + +
+ +

+ + diff --git a/miniconda3/share/doc/gettext/gettext_15.html b/miniconda3/share/doc/gettext/gettext_15.html new file mode 100644 index 0000000000000000000000000000000000000000..4b9234993182c7119d8939e02e97c8310d1b44ac --- /dev/null +++ b/miniconda3/share/doc/gettext/gettext_15.html @@ -0,0 +1,4710 @@ + + + + + +GNU gettext utilities: 15. Other Programming Languages + + + + + + + + + + + + + + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+ +
+ + +

15. Other Programming Languages

+ +

While the presentation of gettext focuses mostly on C and +implicitly applies to C++ as well, its scope is far broader than that: +Many programming languages, scripting languages and other textual data +like GUI resources or package descriptions can make use of the gettext +approach. +

+ + + + +

15.1 The Language Implementor's View

+ +

All programming and scripting languages that have the notion of strings +are eligible to supporting gettext. Supporting gettext +means the following: +

+
    +
  1. +You should add to the language a syntax for translatable strings. In +principle, a function call of gettext would do, but a shorthand +syntax helps keeping the legibility of internationalized programs. For +example, in C we use the syntax _("string"), and in GNU awk we use +the shorthand _"string". + +
  2. +You should arrange that evaluation of such a translatable string at +runtime calls the gettext function, or performs equivalent +processing. + +
  3. +Similarly, you should make the functions ngettext, +dcgettext, dcngettext available from within the language. +These functions are less often used, but are nevertheless necessary for +particular purposes: ngettext for correct plural handling, and +dcgettext and dcngettext for obeying other locale-related +environment variables than LC_MESSAGES, such as LC_TIME or +LC_MONETARY. For these latter functions, you need to make the +LC_* constants, available in the C header <locale.h>, +referenceable from within the language, usually either as enumeration +values or as strings. + +
  4. +You should allow the programmer to designate a message domain, either by +making the textdomain function available from within the +language, or by introducing a magic variable called TEXTDOMAIN. +Similarly, you should allow the programmer to designate where to search +for message catalogs, by providing access to the bindtextdomain +function or — on native Windows platforms — to the wbindtextdomain +function. + +
  5. +You should either perform a setlocale (LC_ALL, "") call during +the startup of your language runtime, or allow the programmer to do so. +Remember that gettext will act as a no-op if the LC_MESSAGES and +LC_CTYPE locale categories are not both set. + +
  6. +A programmer should have a way to extract translatable strings from a +program into a PO file. The GNU xgettext program is being +extended to support very different programming languages. Please +contact the GNU gettext maintainers to help them doing this. +The GNU gettext maintainers will need from you a formal +description of the lexical structure of source files. It should +answer the questions: +
      +
    • +What does a token look like? +
    • +What does a string literal look like? What escape characters exist +inside a string? +
    • +What escape characters exist outside of strings? If Unicode escapes +are supported, are they applied before or after tokenization? +
    • +What is the syntax for function calls? How are consecutive arguments +in the same function call separated? +
    • +What is the syntax for comments? +
    +

    Based on this description, the GNU gettext maintainers +can add support to xgettext. +

    +

    If the string extractor is best integrated into your language's parser, +GNU xgettext can function as a front end to your string extractor. +

    +
  7. +The language's library should have a string formatting facility. +Additionally: +
      +
    1. +There must be a way, in the format string, to denote the arguments by a +positional number or a name. This is needed because for some languages +and some messages with more than one substitutable argument, the +translation will need to output the substituted arguments in different +order. See section Special Comments preceding Keywords. +
    2. +The syntax of format strings must be documented in a way that translators +can understand. The GNU gettext manual will be extended to +include a pointer to this documentation. +
    +

    Based on this, the GNU gettext maintainers can add a format string +equivalence checker to msgfmt, so that translators get told +immediately when they have made a mistake during the translation of a +format string. +

    +
  8. +If the language has more than one implementation, and not all of the +implementations use gettext, but the programs should be portable +across implementations, you should provide a no-i18n emulation, that +makes the other implementations accept programs written for yours, +without actually translating the strings. + +
  9. +To help the programmer in the task of marking translatable strings, +which is sometimes performed using the Emacs PO mode (see section Marking Translatable Strings), +you are welcome to +contact the GNU gettext maintainers, so they can add support for +your language to ‘po-mode.el’. +
+ +

On the implementation side, two approaches are possible, with +different effects on portability and copyright: +

+
    +
  • +You may link against GNU gettext functions if they are found in +the C library. For example, an autoconf test for gettext() and +ngettext() will detect this situation. For the moment, this test +will succeed on GNU systems and on Solaris 11 platforms. No severe +copyright restrictions apply, except if you want to distribute statically +linked binaries. + +
  • +You may emulate or reimplement the GNU gettext functionality. +This has the advantage of full portability and no copyright +restrictions, but also the drawback that you have to reimplement the GNU +gettext features (such as the LANGUAGE environment +variable, the locale aliases database, the automatic charset conversion, +and plural handling). +
+ + + + +

15.2 The Programmer's View

+ +

For the programmer, the general procedure is the same as for the C +language. The Emacs PO mode marking supports other languages, and the GNU +xgettext string extractor recognizes other languages based on the +file extension or a command-line option. In some languages, +setlocale is not needed because it is already performed by the +underlying language runtime. +

+ + + +

15.3 The Translator's View

+ +

The translator works exactly as in the C language case. The only +difference is that when translating format strings, she has to be aware +of the language's particular syntax for positional arguments in format +strings. +

+ + + + +

15.3.1 C Format Strings

+ +

C format strings are described in POSIX (IEEE P1003.1 2001), section +XSH 3 fprintf(), +https://pubs.opengroup.org/onlinepubs/9799919799/functions/fprintf.html. +See also the fprintf() manual page +man fprintf. +

+

Although format strings with positions that reorder arguments, such as +

+
 
"Only %2$d bytes free on '%1$s'."
+
+ +

which is semantically equivalent to +

+
 
"'%s' has only %d bytes free."
+
+ +

are a POSIX/XSI feature and not specified by ISO C 99, translators can rely +on this reordering ability: On the few platforms where printf(), +fprintf() etc. don't support this feature natively, ‘libintl.a’ +or ‘libintl.so’ provides replacement functions, and GNU <libintl.h> +activates these replacement functions automatically. +

+ +

C format strings can contain placeholders +that reference macros defined in ISO C 99 <inttypes.h>. +For example, <PRId64> references the macro PRId64. +The value of such a macro is system-dependent, +but programmers and translators do not need to know this value. +ISO C 23 specifies system-independent format string elements, +for example, "%w64d" instead of "%" PRId64; +however, as of 2024, these are not implemented across systems +and therefore cannot be used portably. +

+ + +

As a special feature for Farsi (Persian) and maybe Arabic, translators can +insert an ‘I’ flag into numeric format directives. For example, the +translation of "%d" can be "%Id". The effect of this flag, +on systems with GNU libc, is that in the output, the ASCII digits are +replaced with the ‘outdigits’ defined in the LC_CTYPE locale +category. On other systems, the gettext function removes this flag, +so that it has no effect. +

+

Note that the programmer should not put this flag into the +untranslated string. (Putting the ‘I’ format directive flag into an +msgid string would lead to undefined behaviour on platforms without +glibc when NLS is disabled.) +

+ + + +

15.3.2 Objective C Format Strings

+ +

Objective C format strings are like C format strings. They support an +additional format directive: "%@", which when executed consumes an argument +of type Object *. +

+ +

Objective C format strings, like C format strings, can contain placeholders +that reference macros defined in ISO C 99 <inttypes.h>. +

+ + + +

15.3.3 C++ Format Strings

+ +

C++ format strings are described in ISO C++ 20, namely in +https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/n4861.pdf, +section 20.20.2 Format string [format.string]. +

+

An easier-to-read description is found at +https://en.cppreference.com/w/cpp/utility/format/format#Parameters and +https://en.cppreference.com/w/cpp/utility/format/formatter#Standard_format_specification. +

+ + + +

15.3.4 Python Format Strings

+ +

There are two kinds of format strings in Python: those acceptable to +the Python built-in format operator %, labelled as +‘python-format’, and those acceptable to the format method +of the ‘str’ object. +

+

Python % format strings are described in +Python Library reference / +5. Built-in Types / +5.6. Sequence Types / +5.6.2. String Formatting Operations. +https://docs.python.org/2/library/stdtypes.html#string-formatting-operations. +

+

Python brace format strings are described in PEP 3101 – Advanced +String Formatting, https://www.python.org/dev/peps/pep-3101/. +

+ + + +

15.3.5 Java Format Strings

+ +

There are two kinds of format strings in Java: those acceptable to the +MessageFormat.format function, labelled as ‘java-format’, +and those acceptable to the String.format and +PrintStream.printf functions, labelled as ‘java-printf-format’. +

+

Java format strings are described in the JDK documentation for class +java.text.MessageFormat, +https://docs.oracle.com/javase/7/docs/api/java/text/MessageFormat.html. +See also the ICU documentation +http://icu-project.org/apiref/icu4j/com/ibm/icu/text/MessageFormat.html. +

+

Java printf format strings are described in the JDK documentation +for class java.util.Formatter, +https://docs.oracle.com/javase/7/docs/api/java/util/Formatter.html. +

+ + + +

15.3.6 C# Format Strings

+ +

C# format strings are described in the .NET documentation for class +System.String and in +http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpConFormattingOverview.asp. +

+ + + +

15.3.7 JavaScript Format Strings

+ +

Although JavaScript specification itself does not define any format +strings, many JavaScript implementations provide printf-like +functions. xgettext understands a set of common format strings +used in popular JavaScript implementations including Gjs, Seed, and +Node.JS. In such a format string, a directive starts with ‘%’ +and is finished by a specifier: ‘%’ denotes a literal percent +sign, ‘c’ denotes a character, ‘s’ denotes a string, +‘b’, ‘d’, ‘o’, ‘x’, ‘X’ denote an integer, +‘f’ denotes floating-point number, ‘j’ denotes a JSON +object. +

+ + + +

15.3.8 Scheme Format Strings

+ +

Scheme format strings are documented in the SLIB manual, section +Format Specification. +

+ + + +

15.3.9 Lisp Format Strings

+ +

Lisp format strings are described in the Common Lisp HyperSpec, +chapter 22.3 Formatted Output, +http://www.ai.mit.edu/projects/iiip/doc/CommonLISP/HyperSpec/Body/sec_22-3.html. +

+ + + +

15.3.10 Emacs Lisp Format Strings

+ +

Emacs Lisp format strings are documented in the Emacs Lisp reference, +section Formatting Strings, +https://www.gnu.org/manual/elisp-manual-21-2.8/html_chapter/elisp_4.html#SEC75. +Note that as of version 21, XEmacs supports numbered argument specifications +in format strings while FSF Emacs doesn't. +

+ + + +

15.3.11 librep Format Strings

+ +

librep format strings are documented in the librep manual, section +Formatted Output, +http://librep.sourceforge.net/librep-manual.html#Formatted%20Output, +http://www.gwinnup.org/research/docs/librep.html#SEC122. +

+ + + +

15.3.12 Rust Format Strings

+ +

Rust format strings are those supported by the formatx library +https://crates.io/crates/formatx. +These are those supported by the format! built-in +https://doc.rust-lang.org/std/fmt/ +with the restrictions listed in +https://crates.io/crates/formatx, section "Limitations". +

+

A Rust format string consists of +

    +
  • +an opening brace ‘{’, +
  • +an optional non-empty sequence of digits or an optional identifier, +
  • +optionally, a ‘:’ and a format specifier, +where a format specifier is of the form +[[fill]align][sign][#][0][minimumwidth][.precision][type] +where +
      +
    • - +the fill character is any character, +
    • - +the align flag is one of ‘<’, ‘>’, ‘^’, +
    • - +the sign is one of ‘+’, ‘-’, +
    • - +the # flag is ‘#’, +
    • - +the 0 flag is ‘0’, +
    • - +minimumwidth is a non-empty sequence of digits, +
    • - +precision is a non-empty sequence of digits, +
    • - +type is ‘?’, +
    +
  • +optional white-space, +
  • +a closing brace ‘}’. +
+

Brace characters ‘{’ and ‘}’ can be escaped by doubling them: +‘{{’ and ‘}}’. +

+ + + +

15.3.13 Go Format Strings

+ +

Go format strings are documented +on the Go packages site, for package fmt, +at https://pkg.go.dev/fmt. +

+ + + +

15.3.14 Ruby Format Strings

+ +

Ruby format strings are described in the documentation of the Ruby +functions format and sprintf, in +https://ruby-doc.org/core-2.7.1/Kernel.html#method-i-sprintf. +

+

There are two kinds of format strings in Ruby: +

    +
  • +Those that take a list of arguments without names. They support +argument reordering by use of the %n$ syntax. Note +that if one argument uses this syntax, all must use this syntax. +
  • +Those that take a hash table, containing named arguments. The +syntax is %<name>. Note that %{name} is +equivalent to %<name>s. +
+ + + + +

15.3.15 Shell Format Strings

+ +

Shell format strings, as supported by GNU gettext and the ‘envsubst’ +program, are strings with references to shell variables in the form +$variable or ${variable}. References of the form +${variable-default}, +${variable:-default}, +${variable=default}, +${variable:=default}, +${variable+replacement}, +${variable:+replacement}, +${variable?ignored}, +${variable:?ignored}, +that would be valid inside shell scripts, are not supported. The +variable names must consist solely of alphanumeric or underscore +ASCII characters, not start with a digit and be nonempty; otherwise such +a variable reference is ignored. +

+ + + +

15.3.16 awk Format Strings

+ +

awk format strings are described in the gawk documentation, section +Printf, +https://www.gnu.org/manual/gawk/html_node/Printf.html#Printf. +

+ + + +

15.3.17 Lua Format Strings

+ +

Lua format strings are described in the Lua reference manual, section String Manipulation, +https://www.lua.org/manual/5.1/manual.html#pdf-string.format. +

+ + + +

15.3.18 Object Pascal Format Strings

+ +

Object Pascal format strings are described in the documentation of the +Free Pascal runtime library, section Format, +https://www.freepascal.org/docs-html/rtl/sysutils/format.html. +

+ + + +

15.3.19 Modula-2 Format Strings

+ +

Modula-2 format strings are defined as follows: +

    +
  1. +Escape sequences are processed. +These escape sequences are understood: +‘\a’, ‘\b’, ‘\e’, ‘\f’, ‘\n’, ‘\r’, +‘\xhex-digits’, ‘\octal-digits’. +Other than that, a backslash is ignored. +
  2. +A directive consists of +
      +
    • +a ‘%’ character, +
    • +optionally a flag character ‘-’, +
    • +optionally a flag character ‘0’, +
    • +optionally a width specification (a nonnegative integer), +
    • +and finally a specifier: +‘s’ that formats a string, ‘c’ that formats a character, +‘d’ and ‘u’, that format a (signed/unsigned) integer in decimal, +or ‘x’, that formats an unsigned integer in hexadecimal. +
    +

    There is also the directive ‘%%’, that produces a single percent character. +

+ + + + +

15.3.20 D Format Strings

+ +

D format strings are described +in the documentation of the D module std.format, +at https://dlang.org/library/std/format.html. +

+ + + +

15.3.21 Smalltalk Format Strings

+ +

Smalltalk format strings are described in the GNU Smalltalk documentation, +class CharArray, methods ‘bindWith:’ and +‘bindWithArguments:’. +https://www.gnu.org/software/smalltalk/gst-manual/gst_68.html#SEC238. +In summary, a directive starts with ‘%’ and is followed by ‘%’ +or a nonzero digit (‘1’ to ‘9’). +

+ + + +

15.3.22 Qt Format Strings

+ +

Qt format strings are described in the documentation of the QString class +file:/usr/lib/qt-4.3.0/doc/html/qstring.html. +In summary, a directive consists of a ‘%’ followed by a digit. The same +directive cannot occur more than once in a format string. +

+ + + +

15.3.23 Qt Format Strings

+ +

Qt format strings are described in the documentation of the QObject::tr method +file:/usr/lib/qt-4.3.0/doc/html/qobject.html. +In summary, the only allowed directive is ‘%n’. +

+ + + +

15.3.24 KDE Format Strings

+ +

KDE 4 format strings are defined as follows: +A directive consists of a ‘%’ followed by a non-zero decimal number. +If a ‘%n’ occurs in a format strings, all of ‘%1’, ..., ‘%(n-1)’ +must occur as well, except possibly one of them. +

+ + + +

15.3.25 KUIT Format Strings

+ +

KUIT (KDE User Interface Text) is compatible with KDE 4 format strings, +while it also allows programmers to add semantic information to a format +string, through XML markup tags. For example, if the first format +directive in a string is a filename, programmers could indicate that +with a ‘filename’ tag, like ‘<filename>%1</filename>’. +

+

KUIT format strings are described in +https://api.kde.org/frameworks/ki18n/html/prg_guide.html#kuit_markup. +

+ + + +

15.3.26 Boost Format Strings

+ +

Boost format strings are described in the documentation of the +boost::format class, at +https://www.boost.org/libs/format/doc/format.html. +In summary, a directive has either the same syntax as in a C format string, +such as ‘%1$+5d’, or may be surrounded by vertical bars, such as +‘%|1$+5d|’ or ‘%|1$+5|’, or consists of just an argument number +between percent signs, such as ‘%1%’. +

+ + + +

15.3.27 Tcl Format Strings

+ +

Tcl format strings are described in the ‘format.n’ manual page, +http://www.scriptics.com/man/tcl8.3/TclCmd/format.htm. +

+ + + +

15.3.28 Perl Format Strings

+ +

There are two kinds of format strings in Perl: those acceptable to the +Perl built-in function printf, labelled as ‘perl-format’, +and those acceptable to the libintl-perl function __x, +labelled as ‘perl-brace-format’. +

+

Perl printf format strings are described in the sprintf +section of ‘man perlfunc’. +

+

Perl brace format strings are described in the +‘Locale::TextDomain(3pm)’ manual page of the CPAN package +libintl-perl. In brief, Perl format uses placeholders put between +braces (‘{’ and ‘}’). The placeholder must have the syntax +of simple identifiers. +

+ + + +

15.3.29 PHP Format Strings

+ +

PHP format strings are described in the documentation of the PHP function +sprintf, in ‘phpdoc/manual/function.sprintf.html’ or +http://www.php.net/manual/en/function.sprintf.php. +

+ + + +

15.3.30 GCC internal Format Strings

+ +

These format strings are used inside the GCC sources. In such a format +string, a directive starts with ‘%’, is optionally followed by a +size specifier ‘l’, an optional flag ‘+’, another optional flag +‘#’, and is finished by a specifier: ‘%’ denotes a literal +percent sign, ‘c’ denotes a character, ‘s’ denotes a string, +‘i’ and ‘d’ denote an integer, ‘o’, ‘u’, ‘x’ +denote an unsigned integer, ‘.*s’ denotes a string preceded by a +width specification, ‘H’ denotes a ‘location_t *’ pointer, +‘D’ denotes a general declaration, ‘F’ denotes a function +declaration, ‘T’ denotes a type, ‘A’ denotes a function argument, +‘C’ denotes a tree code, ‘E’ denotes an expression, ‘L’ +denotes a programming language, ‘O’ denotes a binary operator, +‘P’ denotes a function parameter, ‘Q’ denotes an assignment +operator, ‘V’ denotes a const/volatile qualifier. +

+ + + +

15.3.31 GFC internal Format Strings

+ +

These format strings are used inside the GNU Fortran Compiler sources, +that is, the Fortran frontend in the GCC sources. In such a format +string, a directive starts with ‘%’ and is finished by a +specifier: ‘%’ denotes a literal percent sign, ‘C’ denotes the +current source location, ‘L’ denotes a source location, ‘c’ +denotes a character, ‘s’ denotes a string, ‘i’ and ‘d’ +denote an integer, ‘u’ denotes an unsigned integer. ‘i’, +‘d’, and ‘u’ may be preceded by a size specifier ‘l’. +

+ + + +

15.3.32 YCP Format Strings

+ +

YCP sformat strings are described in the libycp documentation +file:/usr/share/doc/packages/libycp/YCP-builtins.html. +In summary, a directive starts with ‘%’ and is followed by ‘%’ +or a nonzero digit (‘1’ to ‘9’). +

+ + + + +

15.4 The Maintainer's View

+ +

For the maintainer, the general procedure differs from the C language +case: +

+
    +
  • +If only a single programming language is used, the XGETTEXT_OPTIONS +variable in ‘po/Makevars’ (see section Makevars’ in ‘po/) should be adjusted to +match the xgettext options for that particular programming language. +If the package uses more than one programming language with gettext +support, it becomes necessary to change the POT file construction rule +in ‘po/Makefile.in.in’. It is recommended to make one xgettext +invocation per programming language, each with the options appropriate for +that language, and to combine the resulting files using msgcat. +
+ + + + +

15.5 Individual Programming Languages

+ + + + + + + +

15.5.1 C, C++, Objective C

+ +
+
RPMs
+

gcc, gpp, gobjc, glibc, gettext +

+
+
Ubuntu packages
+

gcc, g++, gobjc, libc6-dev, libasprintf-dev +

+
+
File extension
+

For C: c, h. +
For C++: C, c++, cc, cxx, cpp, hpp. +
For Objective C: m. +

+
+
String syntax
+

"abc" +

+
+
gettext shorthand
+

_("abc") +

+
+
gettext/ngettext functions
+

gettext, dgettext, dcgettext, ngettext, +dngettext, dcngettext +

+
+
textdomain
+

textdomain function +

+
+
bindtextdomain
+

bindtextdomain and wbindtextdomain functions +

+
+
setlocale
+

Programmer must call setlocale (LC_ALL, "") +

+
+
Prerequisite
+

#include <libintl.h> +
#include <locale.h> +
#define _(string) gettext (string) +

+
+
Use or emulate GNU gettext
+

Use +

+
+
Extractor
+

xgettext -k_ +

+
+
Formatting with positions
+

fprintf "%2$d %1$d" +
In C++: autosprintf "%2$d %1$d" +(see (autosprintf)Top section `Introduction' in GNU autosprintf) +
In C++ 20 or newer: std::vformat "{1} {0}" +

+
+
Portability
+

autoconf (gettext.m4) and #if ENABLE_NLS +

+
+
po-mode marking
+

yes +

+
+ +

The following examples are available in the ‘examples’ directory: +hello-c, hello-c-gnome2, hello-c-gnome3, hello-c-http, +hello-c++, hello-c++20, +hello-c++-qt, hello-c++-kde, +hello-c++-gnome2, hello-c++-gnome3, hello-c++-wxwidgets, +hello-objc, hello-objc-gnustep, hello-objc-gnome2. +

+ + + +

15.5.2 Python

+ +
+
RPMs
+

python +

+
+
Ubuntu packages
+

python +

+
+
File extension
+

py +

+
+
String syntax
+

'abc', u'abc', r'abc', ur'abc', +
"abc", u"abc", r"abc", ur"abc", +
'''abc''', u'''abc''', r'''abc''', ur'''abc''', +
"""abc""", u"""abc""", r"""abc""", ur"""abc""" +

+
+
gettext shorthand
+

_('abc') etc. +

+
+
gettext/ngettext functions
+

gettext.gettext, gettext.dgettext, +gettext.ngettext, gettext.dngettext, +also ugettext, ungettext +

+
+
textdomain
+

gettext.textdomain function, or +gettext.install(domain) function +

+
+
bindtextdomain
+

gettext.bindtextdomain function, or +gettext.install(domain,localedir) function +

+
+
setlocale
+

not used by the gettext emulation +

+
+
Prerequisite
+

import gettext +

+
+
Use or emulate GNU gettext
+

emulate +

+
+
Extractor
+

xgettext +

+
+
Formatting with positions
+

'...%(ident)d...' % { 'ident': value } +
'...{ident}...'.format(ident=value) (see PEP 3101) +

+
+
Portability
+

fully portable +

+
+
po-mode marking
+

— +

+
+ +

An example is available in the ‘examples’ directory: hello-python. +

+

A note about format strings: Python supports format strings with unnamed +arguments, such as '...%d...', and format strings with named arguments, +such as '...%(ident)d...'. The latter are preferable for +internationalized programs, for two reasons: +

+
    +
  • +When a format string takes more than one argument, the translator can provide +a translation that uses the arguments in a different order, if the format +string uses named arguments. For example, the translator can reformulate +
     
    "'%(volume)s' has only %(freespace)d bytes free."
    +
    +

    to +

     
    "Only %(freespace)d bytes free on '%(volume)s'."
    +
    +

    Additionally, the identifiers also provide some context to the translator. +

    +
  • +In the context of plural forms, the format string used for the singular form +does not use the numeric argument in many languages. Even in English, one +prefers to write "one hour" instead of "1 hour". Omitting +individual arguments from format strings like this is only possible with +the named argument syntax. (With unnamed arguments, Python – unlike C – +verifies that the format string uses all supplied arguments.) +
+ +

A note about f-strings (PEP 498): xgettext +

    +
  • +syntactically recognizes f-strings, +
  • +is able to extract f-strings that contain no sub-expressions. +
+

However, xgettext does not extract f-strings marked for translation +that contain sub-expressions. This will not work as expected: +

 
_(f"The file {file[i]} does not exist.")
+
+

because the translator is generally not a programmer and should thus not be +confronted with expressions from the programming language. +

+ +

Related software

+ +

An internationalization system based on GNU gettext and PO files is +Babel. +

+ + + +

15.5.3 Java

+ + +
+
RPMs
+

java, java2 +

+
+
Ubuntu packages
+

default-jdk +

+
+
File extension
+

java +

+
+
String syntax
+

"abc", """text block""" +

+
+
gettext shorthand
+

i18n("abc") +

+
+
gettext/ngettext functions
+

GettextResource.gettext, GettextResource.ngettext, +GettextResource.pgettext, GettextResource.npgettext +

+
+
textdomain
+

—, use ResourceBundle.getResource instead +

+
+
bindtextdomain
+

—, use CLASSPATH instead +

+
+
setlocale
+

automatic +

+
+
Prerequisite
+

— +

+
+
Use or emulate GNU gettext
+

—, uses a Java specific message catalog format +

+
+
Extractor
+

xgettext -ki18n +

+
+
Formatting with positions
+

MessageFormat.format "{1,number} {0,number}" +or String.format "%2$d %1$d" +

+
+
Portability
+

fully portable +

+
+
po-mode marking
+

— +

+
+ +

Before marking strings as internationalizable, uses of the string +concatenation operator need to be converted to MessageFormat +applications. For example, "file "+filename+" not found" becomes +MessageFormat.format("file {0} not found", new Object[] { filename }). +Only after this is done, can the strings be marked and extracted. +

+

GNU gettext uses the native Java internationalization mechanism, namely +ResourceBundles. There are two formats of ResourceBundles: +.properties files and .class files. The .properties +format is a text file which the translators can directly edit, like PO +files, but which doesn't support plural forms. Whereas the .class +format is compiled from .java source code and can support plural +forms (provided it is accessed through an appropriate API, see below). +

+

To convert a PO file to a .properties file, the msgcat +program can be used with the option --properties-output. To convert +a .properties file back to a PO file, the msgcat program +can be used with the option --properties-input. All the tools +that manipulate PO files can work with .properties files as well, +if given the --properties-input and/or --properties-output +option. +

+

To convert a PO file to a ResourceBundle class, the msgfmt program +can be used with the option --java or --java2. To convert a +ResourceBundle back to a PO file, the msgunfmt program can be used +with the option --java. +

+

Two different programmatic APIs can be used to access ResourceBundles. +Note that both APIs work with all kinds of ResourceBundles, whether +GNU gettext generated classes, or other .class or .properties +files. +

+
    +
  1. +The java.util.ResourceBundle API. + +

    In particular, its getString function returns a string translation. +Note that a missing translation yields a MissingResourceException. +

    +

    This has the advantage of being the standard API. And it does not require +any additional libraries, only the msgcat generated .properties +files or the msgfmt generated .class files. But it cannot do +plural handling, even if the resource was generated by msgfmt from +a PO file with plural handling. +

    +
  2. +The gnu.gettext.GettextResource API. + +

    Reference documentation in Javadoc 1.1 style format is in the +javadoc2 directory. +

    +

    Its gettext function returns a string translation. Note that when +a translation is missing, the msgid argument is returned unchanged. +

    +

    This has the advantage of having the ngettext function for plural +handling and the pgettext and npgettext for strings constraint +to a particular context. +

    + +

    To use this API, one needs the libintl.jar file which is part of +the GNU gettext package and distributed under the LGPL. +

+ +

Four examples, using the second API, are available in the ‘examples’ +directory: hello-java, hello-java-awt, hello-java-swing, +hello-java-qtjambi. +

+

Now, to make use of the API and define a shorthand for ‘getString’, +there are three idioms that you can choose from: +

+
    +
  • +(This one assumes Java 1.5 or newer.) +In a unique class of your project, say ‘Util’, define a static variable +holding the ResourceBundle instance and the shorthand: + +
     
    private static ResourceBundle myResources =
    +  ResourceBundle.getBundle("domain-name");
    +public static String i18n(String s) {
    +  return myResources.getString(s);
    +}
    +
    + +

    All classes containing internationalized strings then contain +

    +
     
    import static Util.i18n;
    +
    + +

    and the shorthand is used like this: +

    +
     
    System.out.println(i18n("Operation completed."));
    +
    + +
  • +In a unique class of your project, say ‘Util’, define a static variable +holding the ResourceBundle instance: + +
     
    public static ResourceBundle myResources =
    +  ResourceBundle.getBundle("domain-name");
    +
    + +

    All classes containing internationalized strings then contain +

    +
     
    private static ResourceBundle res = Util.myResources;
    +private static String i18n(String s) { return res.getString(s); }
    +
    + +

    and the shorthand is used like this: +

    +
     
    System.out.println(i18n("Operation completed."));
    +
    + +
  • +You add a class with a very short name, say ‘S’, containing just the +definition of the resource bundle and of the shorthand: + +
     
    public class S {
    +  public static ResourceBundle myResources =
    +    ResourceBundle.getBundle("domain-name");
    +  public static String i18n(String s) {
    +    return myResources.getString(s);
    +  }
    +}
    +
    + +

    and the shorthand is used like this: +

    +
     
    System.out.println(S.i18n("Operation completed."));
    +
    +
+ +

Which of the three idioms you choose, will depend on whether your project +requires portability to Java versions prior to Java 1.5 and, if so, whether +copying two lines of codes into every class is more acceptable in your project +than a class with a single-letter name. +

+ + + +

15.5.4 C#

+ +
+
RPMs
+

mono or dotnet8.0 +

+
+
Ubuntu packages
+

mono-mcs or dotnet8 +

+
+
File extension
+

cs +

+
+
String syntax
+

"abc", @"abc" +

+
+
gettext shorthand
+

_("abc") +

+
+
gettext/ngettext functions
+

GettextResourceManager.GetString, +GettextResourceManager.GetPluralString +GettextResourceManager.GetParticularString +GettextResourceManager.GetParticularPluralString +

+
+
textdomain
+

new GettextResourceManager(domain) +

+
+
bindtextdomain
+

—, compiled message catalogs are located in subdirectories of the directory +containing the executable +

+
+
setlocale
+

automatic +

+
+
Prerequisite
+

— +

+
+
Use or emulate GNU gettext
+

—, uses a C# specific message catalog format +

+
+
Extractor
+

xgettext -k_ +

+
+
Formatting with positions
+

String.Format "{1} {0}" +

+
+
Portability
+

fully portable +

+
+
po-mode marking
+

— +

+
+ +

Before marking strings as internationalizable, uses of the string +concatenation operator need to be converted to String.Format +invocations. For example, "file "+filename+" not found" becomes +String.Format("file {0} not found", filename). +Only after this is done, can the strings be marked and extracted. +

+

GNU gettext uses the native C#/.NET internationalization mechanism, namely +the classes ResourceManager and ResourceSet. Applications +use the ResourceManager methods to retrieve the native language +translation of strings. An instance of ResourceSet is the in-memory +representation of a message catalog file. The ResourceManager loads +and accesses ResourceSet instances as needed to look up the +translations. +

+

There are two formats of ResourceSets that can be directly loaded by +the C# runtime: .resources files and .dll files. +

+
    +
  • +The .resources format is a binary file usually generated through the +resgen or monoresgen utility, but which doesn't support plural +forms. .resources files can also be embedded in .NET .exe files. +This only affects whether a file system access is performed to load the message +catalog; it doesn't affect the contents of the message catalog. + +
  • +On the other hand, the .dll format is a binary file that is compiled +from .cs source code and can support plural forms (provided it is +accessed through the GNU gettext API, see below). +
+ +

Note that these .NET .dll and .exe files are not tied to a +particular platform; their file format and GNU gettext for C# can be used +on any platform. +

+

To convert a PO file to a .resources file, the msgfmt program +can be used with the option ‘--csharp-resources’. To convert a +.resources file back to a PO file, the msgunfmt program can be +used with the option ‘--csharp-resources’. You can also, in some cases, +use the monoresgen program (from the mono/mcs package). +This program can also convert a .resources file back to a PO file. But +beware: as of this writing (January 2004), the monoresgen converter is +quite buggy. +

+

To convert a PO file to a .dll file, the msgfmt program can be +used with the option --csharp. The result will be a .dll file +containing a subclass of GettextResourceSet, which itself is a subclass +of ResourceSet. To convert a .dll file containing a +GettextResourceSet subclass back to a PO file, the msgunfmt +program can be used with the option --csharp. +

+

The advantages of the .dll format over the .resources format +are: +

+
    +
  1. +Freedom to localize: Users can add their own translations to an application +after it has been built and distributed. Whereas when the programmer uses +a ResourceManager constructor provided by the system, the set of +.resources files for an application must be specified when the +application is built and cannot be extended afterwards. + +
  2. +Plural handling: A message catalog in .dll format supports the plural +handling function GetPluralString. Whereas .resources files can +only contain data and only support lookups that depend on a single string. + +
  3. +Context handling: A message catalog in .dll format supports the +query-with-context functions GetParticularString and +GetParticularPluralString. Whereas .resources files can +only contain data and only support lookups that depend on a single string. + +
  4. +The GettextResourceManager that loads the message catalogs in +.dll format also provides for inheritance on a per-message basis. +For example, in Austrian (de_AT) locale, translations from the German +(de) message catalog will be used for messages not found in the +Austrian message catalog. This has the consequence that the Austrian +translators need only translate those few messages for which the translation +into Austrian differs from the German one. Whereas when working with +.resources files, each message catalog must provide the translations +of all messages by itself. + +
  5. +The GettextResourceManager that loads the message catalogs in +.dll format also provides for a fallback: The English msgid is +returned when no translation can be found. Whereas when working with +.resources files, a language-neutral .resources file must +explicitly be provided as a fallback. +
+ +

On the side of the programmatic APIs, the programmer can use either the +standard ResourceManager API and the GNU GettextResourceManager +API. The latter is an extension of the former, because +GettextResourceManager is a subclass of ResourceManager. +

+
    +
  1. +The System.Resources.ResourceManager API. + +

    This API works with resources in .resources format. +

    +

    The creation of the ResourceManager is done through +

     
      new ResourceManager(domainname, Assembly.GetExecutingAssembly())
    +
    + +

    The GetString function returns a string's translation. Note that this +function returns null when a translation is missing (i.e. not even found in +the fallback resource file). +

    +
  2. +The GNU.Gettext.GettextResourceManager API. + +

    This API works with resources in .dll format. +

    +

    Reference documentation is in the +csharpdoc directory. +

    +

    The creation of the ResourceManager is done through +

     
      new GettextResourceManager(domainname)
    +
    + +

    The GetString function returns a string's translation. Note that when +a translation is missing, the msgid argument is returned unchanged. +

    +

    The GetPluralString function returns a string translation with plural +handling, like the ngettext function in C. +

    +

    The GetParticularString function returns a string's translation, +specific to a particular context, like the pgettext function in C. +Note that when a translation is missing, the msgid argument is returned +unchanged. +

    +

    The GetParticularPluralString function returns a string translation, +specific to a particular context, with plural handling, like the +npgettext function in C. +

    + +

    To use this API, one needs the GNU.Gettext.dll file which is part of +the GNU gettext package and distributed under the LGPL. +

+ +

You can also mix both approaches: use the +GNU.Gettext.GettextResourceManager constructor, but otherwise use +only the ResourceManager type and only the GetString method. +This is appropriate when you want to profit from the tools for PO files, +but don't want to change an existing source code that uses +ResourceManager and don't (yet) need the GetPluralString method. +

+

Two examples, using the second API, are available in the ‘examples’ +directory: hello-csharp, hello-csharp-forms. +

+

Now, to make use of the API and define a shorthand for ‘GetString’, +there are two idioms that you can choose from: +

+
    +
  • +In a unique class of your project, say ‘Util’, define a static variable +holding the ResourceManager instance: + +
     
    public static GettextResourceManager MyResourceManager =
    +  new GettextResourceManager("domain-name");
    +
    + +

    All classes containing internationalized strings then contain +

    +
     
    private static GettextResourceManager Res = Util.MyResourceManager;
    +private static String _(String s) { return Res.GetString(s); }
    +
    + +

    and the shorthand is used like this: +

    +
     
    Console.WriteLine(_("Operation completed."));
    +
    + +
  • +You add a class with a very short name, say ‘S’, containing just the +definition of the resource manager and of the shorthand: + +
     
    public class S {
    +  public static GettextResourceManager MyResourceManager =
    +    new GettextResourceManager("domain-name");
    +  public static String _(String s) {
    +     return MyResourceManager.GetString(s);
    +  }
    +}
    +
    + +

    and the shorthand is used like this: +

    +
     
    Console.WriteLine(S._("Operation completed."));
    +
    +
+ +

Which of the two idioms you choose, will depend on whether copying two lines +of codes into every class is more acceptable in your project than a class +with a single-letter name. +

+ + + +

15.5.5 JavaScript

+ +
+
RPMs
+

js +

+
+
Ubuntu packages
+

gjs +

+
+
File extension
+

js +

+
+
String syntax
+
    +
  • "abc" + +
  • 'abc' + +
  • `abc` + +
  • tag`abc${expression}def{expression}...`, +see the description of ‘--tag’ in Invoking the xgettext Program. + +
+ +
+
gettext shorthand
+

_("abc") +

+
+
gettext/ngettext functions
+

gettext, dgettext, dcgettext, ngettext, +dngettext +

+
+
textdomain
+

textdomain function +

+
+
bindtextdomain
+

bindtextdomain function +

+
+
setlocale
+

automatic +

+
+
Prerequisite
+

— +

+
+
Use or emulate GNU gettext
+

use, or emulate +

+
+
Extractor
+

xgettext +

+
+
Formatting with positions
+

A format method on strings can be used. +But since it is not standard in JavaScript, +you have to enable it yourself, through +

+
 
const Format = imports.format;
+String.prototype.format = Format.format;
+
+ +
+
Portability
+

On platforms without gettext, the functions are not available. +

+
+
po-mode marking
+

— +

+
+ + + + +

15.5.6 TypeScript and TSX

+ +
+
RPMs
+

js +

+
+
Ubuntu packages
+

gjs +

+
+
File extension
+

ts for TypeScript, tsx for TSX (TypeScript with JSX) +

+
+
String syntax
+
    +
  • "abc" + +
  • 'abc' + +
  • `abc` + +
+ +
+
gettext shorthand
+

_("abc") +

+
+
gettext/ngettext functions
+

gettext, dgettext, dcgettext, ngettext, +dngettext +

+
+
textdomain
+

textdomain function +

+
+
bindtextdomain
+

bindtextdomain function +

+
+
setlocale
+

automatic +

+
+
Prerequisite
+

unknown +

+
+
Use or emulate GNU gettext
+

use, or emulate +

+
+
Extractor
+

xgettext +

+
+
Formatting with positions
+

A format method on strings can be used. +But since it is not standard in TypeScript, +you have to enable it yourself.

+
+
Portability
+

On platforms without gettext, the functions are not available. +

+
+
po-mode marking
+

— +

+
+ + + + +

15.5.7 GNU guile - Scheme

+ +
+
RPMs
+

guile +

+
+
Ubuntu packages
+

guile-2.0 +

+
+
File extension
+

scm +

+
+
String syntax
+

"abc" +

+
+
gettext shorthand
+

(_ "abc"), _"abc" (GIMP script-fu extension) +

+
+
gettext/ngettext functions
+

gettext, ngettext +

+
+
textdomain
+

textdomain +

+
+
bindtextdomain
+

bindtextdomain +

+
+
setlocale
+

(catch #t (lambda () (setlocale LC_ALL "")) (lambda args #f)) +

+
+
Prerequisite
+

(use-modules (ice-9 format)) +

+
+
Use or emulate GNU gettext
+

use +

+
+
Extractor
+

xgettext -L Guile -k_ +

+ + +

xgettext -L Scheme’ and ‘xgettext -L Guile’ are nearly equivalent. +They differ in the interpretation of escape sequences in string literals: +While ‘xgettext -L Scheme’ assumes the +R6RS and +R7RS +syntax of string literals, +‘xgettext -L Guile’ assumes the syntax of string literals +understood by Guile 2.x and 3.0 +(without command-line option --r6rs or --r7rs, +and before a #!r6rs directive is seen). +After a #!r6rs directive, +there is no difference any more +between ‘xgettext -L Scheme’ and ‘xgettext -L Guile’ +for the rest of the file. +

+
+
Formatting with positions
+

— +

+
+
Portability
+

On platforms without gettext, no translation. +

+
+
po-mode marking
+

— +

+
+ +

An example is available in the ‘examples’ directory: hello-guile. +

+ + + +

15.5.8 GNU clisp - Common Lisp

+ +
+
RPMs
+

clisp 2.28 or newer +

+
+
Ubuntu packages
+

clisp +

+
+
File extension
+

lisp +

+
+
String syntax
+

"abc" +

+
+
gettext shorthand
+

(_ "abc"), (ENGLISH "abc") +

+
+
gettext/ngettext functions
+

i18n:gettext, i18n:ngettext +

+
+
textdomain
+

i18n:textdomain +

+
+
bindtextdomain
+

i18n:textdomaindir +

+
+
setlocale
+

automatic +

+
+
Prerequisite
+

— +

+
+
Use or emulate GNU gettext
+

use +

+
+
Extractor
+

xgettext -k_ -kENGLISH +

+
+
Formatting with positions
+

format "~1@*~D ~0@*~D" +

+
+
Portability
+

On platforms without gettext, no translation. +

+
+
po-mode marking
+

— +

+
+ +

An example is available in the ‘examples’ directory: hello-clisp. +

+ + + +

15.5.9 GNU clisp C sources

+ +
+
RPMs
+

clisp +

+
+
Ubuntu packages
+

clisp +

+
+
File extension
+

d +

+
+
String syntax
+

"abc" +

+
+
gettext shorthand
+

ENGLISH ? "abc" : "" +
GETTEXT("abc") +
GETTEXTL("abc") +

+
+
gettext/ngettext functions
+

clgettext, clgettextl +

+
+
textdomain
+

— +

+
+
bindtextdomain
+

— +

+
+
setlocale
+

automatic +

+
+
Prerequisite
+

#include "lispbibl.c" +

+
+
Use or emulate GNU gettext
+

use +

+
+
Extractor
+

clisp-xgettext +

+
+
Formatting with positions
+

fprintf "%2$d %1$d" +

+
+
Portability
+

On platforms without gettext, no translation. +

+
+
po-mode marking
+

— +

+
+ + + + +

15.5.10 Emacs Lisp

+ +
+
RPMs
+

emacs, xemacs +

+
+
Ubuntu packages
+

emacs, xemacs21 +

+
+
File extension
+

el +

+
+
String syntax
+

"abc" +

+
+
gettext shorthand
+

(_"abc") +

+
+
gettext/ngettext functions
+

gettext, dgettext (xemacs only) +

+
+
textdomain
+

domain special form (xemacs only) +

+
+
bindtextdomain
+

bind-text-domain function (xemacs only) +

+
+
setlocale
+

automatic +

+
+
Prerequisite
+

— +

+
+
Use or emulate GNU gettext
+

use +

+
+
Extractor
+

xgettext +

+
+
Formatting with positions
+

format "%2$d %1$d" +

+
+
Portability
+

Only XEmacs. Without I18N3 defined at build time, no translation. +

+
+
po-mode marking
+

— +

+
+ + + + +

15.5.11 librep

+ +
+
RPMs
+

librep 0.15.3 or newer +

+
+
Ubuntu packages
+

librep16 +

+
+
File extension
+

jl +

+
+
String syntax
+

"abc" +

+
+
gettext shorthand
+

(_"abc") +

+
+
gettext/ngettext functions
+

gettext +

+
+
textdomain
+

textdomain function +

+
+
bindtextdomain
+

bindtextdomain function +

+
+
setlocale
+

— +

+
+
Prerequisite
+

(require 'rep.i18n.gettext) +

+
+
Use or emulate GNU gettext
+

use +

+
+
Extractor
+

xgettext +

+
+
Formatting with positions
+

format "%2$d %1$d" +

+
+
Portability
+

On platforms without gettext, no translation. +

+
+
po-mode marking
+

— +

+
+ +

An example is available in the ‘examples’ directory: hello-librep. +

+ + + +

15.5.12 Rust

+ + +
+
RPMs
+

rust, rust-cargo +

+
+
Ubuntu packages
+

rustc, cargo +

+
+
File extension
+

rs +

+
+
String syntax
+

"abc", r"abc", r#"abc"# etc. +

+
+
gettext shorthand
+

— +

+
+
gettext/ngettext functions
+

gettext, ngettext +

+
+
textdomain
+

textdomain function +

+
+
bindtextdomain
+

bindtextdomain function +

+
+
setlocale
+

setlocale function +

+
+
Prerequisite
+

$ cargo add gettext-rs +

+

use gettextrs::*; +

+

Note: We recommend the ‘gettext-rs’ crate. +We do not recommend the ‘gettext’ crate, because +(as of 2025) it does not handle +catalog fallback (e.g. from de_AT to de) +nor the LANGUAGE environment variable. +

+
+
Use or emulate GNU gettext
+

use +

+
+
Extractor
+

xgettext +

+
+
Formatting with positions
+

There are three common ways of doing string formatting in Rust: +

    +
  • +Using the built-ins format!, println!, etc. +This facility supports only constant strings, known at compile-time. +Thus it cannot be used with translated format strings. +You would get an error such as +“error: format argument must be a string literal”. +
  • +Using the strfmt library. +The facility cannot be recommended, +because it does not support the case where +some of the values are strings and some of the values are numbers +(without an excessive amount of contortions). +
  • +Using the formatx library. +This is the one we recommend. +
+ +

So, you have to convert the format!, println!, etc. +invocations to use formatx. +For example, +

 
println!("Hello {}, you got {} coins.", name, left);
+
+

becomes +

 
println!("{}", formatx!(gettext("Hello {}, you got {} coins."),
+                        name, left)
+               .unwrap());
+
+ +

For swapped positions, a translator may translate +"Hello {}, you got {} coins." +with +"Hello, {1} coins are left for you, {0}." +

+
+
Portability
+

fully portable +

+
+
po-mode marking
+

— +

+
+ +

An example is available in the ‘examples’ directory: hello-rust. +

+ + + + +

15.5.13 Go

+ + + +

Three packages are available, +that can be used for message localization with PO files: +

+ +

Go programs can be classified as one of: +

    +
  • +Single-locale programs, +that use the same locale across all threads of the program. +Example: Most command-line programs. +
  • +Multi-locale programs, +that use one locale per thread. +Example: Web servers. +
+ +

The three different packages support these two classes of programs differently: +

    +
  • +github.com/leonelquinteros/gotext package: +It has two different APIs, +one for the single-locale case and one for the multi-locale case. +
  • +github.com/gosexy/gettext package: +Its API supports only the single-locale case. +
  • +github.com/snapcore/go-gettext package: +Its API supports the single-locale case and the multi-locale case in the same way. +
+ + +

Gettext support characteristics:

+ +
+
RPMs
+

golang +

+
+
Ubuntu packages
+

golang-go (which provides the go program), +or gccgo (which provides a go-version command).
+gccgo has better portability; for example it works on SPARC CPUs. +

+
+
File extension
+

go +

+
+
String syntax
+

"abc", `abc` +

+
+
gettext shorthand
+

— +

+
+
gettext/ngettext functions
+

This depends on the API: +

    +
  • +github.com/leonelquinteros/gotext API: +Get, GetD, GetN, GetND +
  • +github.com/gosexy/gettext API: +Gettext, DGettext, DCGettext, NGettext, +DNGettext, DCNGettext +
  • +github.com/snapcore/go-gettext API: +Gettext, NGettext +
+ +

Note that the ngettext-like functions need to take +two argument strings that consume the same number of arguments. +For example, you cannot write +fmt.Sprintf(gotext.GetN("a piece", "%d pieces", n), n) +because in the singular case, +fmt.Sprintf would treat the unused argument as an error and +produce "a piece%!(EXTRA int=1)" instead of the desired "a piece". +As a workaround, you need to convert n to a string and +format that string with precision zero: +fmt.Sprintf(gotext.GetN("%.0sa piece", "%s pieces", n), strconv.Itoa(n)) +

+
+
textdomain
+

This depends on the API: +

    +
  • +github.com/leonelquinteros/gotext API: +Locale.AddDomain method or gotext.Configure function +
  • +github.com/gosexy/gettext API: +Textdomain function +
  • +github.com/snapcore/go-gettext API: +TextDomain constructor +
+ +
+
bindtextdomain
+

This depends on the API: +

    +
  • +github.com/leonelquinteros/gotext API: +gotext.NewLocale function or gotext.Configure function +
  • +github.com/gosexy/gettext API: +BindTextdomain function +
  • +github.com/snapcore/go-gettext API: +TextDomain constructor +
+ +
+
setlocale
+

This depends on the API: +

    +
  • +github.com/leonelquinteros/gotext API: +Programmer must determine the appropriate locale and pass it to the +gotext.NewLocale function or gotext.Configure function. +
  • +github.com/gosexy/gettext API: +Programmer must call gettext.SetLocale(gettext.LcAll, ""). +
  • +github.com/snapcore/go-gettext API: +Programmer must determine the appropriate locale and pass it to the +TextDomain.Locale method. +
+ +
+
Prerequisite
+

This depends on the API: +

    +
  • +github.com/leonelquinteros/gotext API: +import ("github.com/leonelquinteros/gotext") +
  • +github.com/gosexy/gettext API: +import ("github.com/gosexy/gettext") +
  • +github.com/snapcore/go-gettext API: +import ("github.com/snapcore/go-gettext") +
+ +
+
Use or emulate GNU gettext
+

This depends on the API: +

    +
  • +github.com/leonelquinteros/gotext API: +Emulate +
  • +github.com/gosexy/gettext API: +Use +
  • +github.com/snapcore/go-gettext API: +Emulate +
+ +
+
Extractor
+

xgettext +

+
+
Formatting with positions
+

fmt.Sprintf("%[2]d %[1]d", ...) +

+
+
Portability
+

fully portable +

+
+
po-mode marking
+

— +

+
+ +

Two examples are available in the ‘examples’ directory: +hello-go and hello-go-http. +

+ + + +

15.5.14 Ruby

+ +
+
RPMs
+

ruby, ruby-gettext +

+
+
Ubuntu packages
+

ruby, ruby-gettext +

+
+
File extension
+

rb +

+
+
String syntax
+

"abc", 'abc', %q/abc/ etc., +%q(abc), %q[abc], %q{abc} +

+
+
gettext shorthand
+

_("abc") +

+
+
gettext/ngettext functions
+

gettext, ngettext +

+
+
textdomain
+

— +

+
+
bindtextdomain
+

bindtextdomain function +

+
+
setlocale
+

— +

+
+
Prerequisite
+

require 'gettext' +include GetText +

+
+
Use or emulate GNU gettext
+

emulate +

+
+
Extractor
+

xgettext +

+
+
Formatting with positions
+

sprintf("%2$d %1$d", x, y) +
"%{new} replaces %{old}" % {:old => oldvalue, :new => newvalue} +

+
+
Portability
+

fully portable +

+
+
po-mode marking
+

— +

+
+ +

An example is available in the ‘examples’ directory: hello-ruby. +

+ + + +

15.5.15 sh - Shell Script

+ +
+
RPMs
+

bash, gettext +

+
+
Ubuntu packages
+

bash, gettext-base +

+
+
File extension
+

sh +

+
+
String syntax
+

"abc", 'abc', abc +

+
+
gettext shorthand
+

"`gettext \"abc\"`" +

+
+
gettext/ngettext functions
+
+ +

gettext, ngettext programs +
eval_gettext, eval_ngettext, eval_pgettext, +eval_npgettext shell functions +

+
+
textdomain
+
+

environment variable TEXTDOMAIN +

+
+
bindtextdomain
+
+

environment variable TEXTDOMAINDIR +

+
+
setlocale
+

automatic +

+
+
Prerequisite
+

. gettext.sh +

+
+
Use or emulate GNU gettext
+

use +

+
+
Extractor
+

xgettext +

+
+
Formatting with positions
+

— +

+
+
Portability
+

fully portable +

+
+
po-mode marking
+

— +

+
+ +

An example is available in the ‘examples’ directory: hello-sh. +

+ + + + +

15.5.15.1 Preparing Shell Scripts for Internationalization

+ +

Preparing a shell script for internationalization is conceptually similar +to the steps described in Preparing Program Sources. The concrete steps for shell +scripts are as follows. +

+
    +
  1. +Insert the line + +
     
    . gettext.sh
    +
    + +

    near the top of the script. gettext.sh is a shell function library +that provides the functions +eval_gettext (see Invoking the eval_gettext function), +eval_ngettext (see Invoking the eval_ngettext function), +eval_pgettext (see Invoking the eval_pgettext function), and +eval_npgettext (see Invoking the eval_npgettext function). +You have to ensure that gettext.sh can be found in the PATH. +

    +
  2. +Set and export the TEXTDOMAIN and TEXTDOMAINDIR environment +variables. Usually TEXTDOMAIN is the package or program name, and +TEXTDOMAINDIR is the absolute pathname corresponding to +$prefix/share/locale, where $prefix is the installation location. + +
     
    TEXTDOMAIN=@PACKAGE@
    +export TEXTDOMAIN
    +TEXTDOMAINDIR=@LOCALEDIR@
    +export TEXTDOMAINDIR
    +
    + +
  3. +Prepare the strings for translation, as described in Preparing Translatable Strings. + +
  4. +Simplify translatable strings so that they don't contain command substitution +("`...`" or "$(...)"), variable access with defaulting (like +${variable-default}), access to positional arguments +(like $0, $1, ...) or highly volatile shell variables (like +$?). This can always be done through simple local code restructuring. +For example, + +
     
    echo "Usage: $0 [OPTION] FILE..."
    +
    + +

    becomes +

    +
     
    program_name=$0
    +echo "Usage: $program_name [OPTION] FILE..."
    +
    + +

    Similarly, +

    +
     
    echo "Remaining files: `ls | wc -l`"
    +
    + +

    becomes +

    +
     
    filecount="`ls | wc -l`"
    +echo "Remaining files: $filecount"
    +
    + +
  5. +For each translatable string, change the output command ‘echo’ or +‘$echo’ to ‘gettext’ (if the string contains no references to +shell variables) or to ‘eval_gettext’ (if it refers to shell variables), +followed by a no-argument ‘echo’ command (to account for the terminating +newline). Similarly, for cases with plural handling, replace a conditional +‘echo’ command with an invocation of ‘ngettext’ or +‘eval_ngettext’, followed by a no-argument ‘echo’ command. + +

    When doing this, you also need to add an extra backslash before the dollar +sign in references to shell variables, so that the ‘eval_gettext’ +function receives the translatable string before the variable values are +substituted into it. For example, +

    +
     
    echo "Remaining files: $filecount"
    +
    + +

    becomes +

    +
     
    eval_gettext "Remaining files: \$filecount"; echo
    +
    + +

    If the output command is not ‘echo’, you can make it use ‘echo’ +nevertheless, through the use of backquotes. However, note that inside +backquotes, backslashes must be doubled to be effective (because the +backquoting eats one level of backslashes). For example, assuming that +‘error’ is a shell function that signals an error, +

    +
     
    error "file not found: $filename"
    +
    + +

    is first transformed into +

    +
     
    error "`echo \"file not found: \$filename\"`"
    +
    + +

    which then becomes +

    +
     
    error "`eval_gettext \"file not found: \\\$filename\"`"
    +
    +
+ + + + +

15.5.15.2 Contents of gettext.sh

+ +

gettext.sh, contained in the run-time package of GNU gettext, provides +the following: +

+ + + + + +

15.5.15.3 Invoking the gettext program

+ + +
 
gettext [option] [[textdomain] msgid]
+gettext [option] -s [msgid]...
+
+ + +

The gettext program displays the native language translation of a +textual message. +

+

Arguments +

+
+
-c context
+
--context=context
+
+ +

Specify the context for the messages to be translated. +See Using contexts for solving ambiguities for details. +

+
+
-d textdomain
+
--domain=textdomain
+
+ +

Retrieve translated messages from textdomain. Usually a textdomain +corresponds to a package, a program, or a module of a program. +

+
+
-e
+
+

Enable expansion of some escape sequences. This option is for compatibility +with the ‘echo’ program or shell built-in. The escape sequences +‘\a’, ‘\b’, ‘\c’, ‘\f’, ‘\n’, ‘\r’, ‘\t’, +‘\v’, ‘\\’, and ‘\’ followed by one to three octal digits, are +interpreted like the System V ‘echo’ program did. +

+
+
-E
+
+

This option is only for compatibility with the ‘echo’ program or shell +built-in. It has no effect. +

+
+
-h
+
--help
+
+ +

Display this help and exit. +

+
+
-n
+
+

This option has only an effect if the -s option is given. It +suppresses the additional newline at the end. +

+
+
-V
+
--version
+
+ +

Output version information and exit. +

+
+
[textdomain] msgid
+

Retrieve translated message corresponding to msgid from textdomain. +

+
+
+ +

If the textdomain parameter is not given, the domain is determined from +the environment variable TEXTDOMAIN. If the message catalog is not +found in the regular directory, another location can be specified with the +environment variable TEXTDOMAINDIR. +

+

When used with the -s option the program behaves like the ‘echo’ +command. But it does not simply copy its arguments to stdout. Instead those +messages found in the selected catalog are translated. Also, a newline is +added at the end, unless either the option -n is specified or the +option -e is specified and some of the argument strings contains a +‘\c’ escape sequence. +

+

Note: xgettext supports only the one-argument form of the +gettext invocation, where no options are present and the +textdomain is implicit, from the environment. +

+ + + +

15.5.15.4 Invoking the ngettext program

+ + +
 
ngettext [option] [textdomain] msgid msgid-plural count
+
+ + +

The ngettext program displays the native language translation of a +textual message whose grammatical form depends on a number. +

+

Arguments +

+
+
-c context
+
--context=context
+
+ +

Specify the context for the messages to be translated. +See Using contexts for solving ambiguities for details. +

+
+
-d textdomain
+
--domain=textdomain
+
+ +

Retrieve translated messages from textdomain. Usually a textdomain +corresponds to a package, a program, or a module of a program. +

+
+
-e
+
+

Enable expansion of some escape sequences. This option is for compatibility +with the ‘gettext’ program. The escape sequences +‘\a’, ‘\b’, ‘\f’, ‘\n’, ‘\r’, ‘\t’, +‘\v’, ‘\\’, and ‘\’ followed by one to three octal digits, are +interpreted like the System V ‘echo’ program did. +

+
+
-E
+
+

This option is only for compatibility with the ‘gettext’ program. It has +no effect. +

+
+
-h
+
--help
+
+ +

Display this help and exit. +

+
+
-V
+
--version
+
+ +

Output version information and exit. +

+
+
textdomain
+

Retrieve translated message from textdomain. +

+
+
msgid msgid-plural
+

Translate msgid (English singular) / msgid-plural (English plural). +

+
+
count
+

Choose singular/plural form based on this value. +

+
+
+ +

If the textdomain parameter is not given, the domain is determined from +the environment variable TEXTDOMAIN. If the message catalog is not +found in the regular directory, another location can be specified with the +environment variable TEXTDOMAINDIR. +

+

Note: xgettext supports only the three-arguments form of the +ngettext invocation, where no options are present and the +textdomain is implicit, from the environment. +

+ + + +

15.5.15.5 Invoking the envsubst program

+ + +
 
envsubst [option] [shell-format]
+
+ + + + +

The envsubst program substitutes the values of environment variables. +

+

Operation mode +

+
+
-v
+
--variables
+
+ +

Output the variables occurring in shell-format. +

+
+
+ +

Informative output +

+
+
-h
+
--help
+
+ +

Display this help and exit. +

+
+
-V
+
--version
+
+ +

Output version information and exit. +

+
+
+ +

In normal operation mode, standard input is copied to standard output, +with references to environment variables of the form $VARIABLE or +${VARIABLE} being replaced with the corresponding values. If a +shell-format is given, only those environment variables that are +referenced in shell-format are substituted; otherwise all environment +variables references occurring in standard input are substituted. +

+

These substitutions are a subset of the substitutions that a shell performs +on unquoted and double-quoted strings. Other kinds of substitutions done +by a shell, such as ${variable-default} or +$(command-list) or `command-list`, are not performed +by the envsubst program, due to security reasons. +

+

When --variables is used, standard input is ignored, and the output +consists of the environment variables that are referenced in +shell-format, one per line. +

+ + + +

15.5.15.6 Invoking the eval_gettext function

+ +
 
eval_gettext msgid
+
+ + +

This function outputs the native language translation of a textual message, +performing dollar-substitution on the result. Note that only shell variables +mentioned in msgid will be dollar-substituted in the result. +

+ + + +

15.5.15.7 Invoking the eval_ngettext function

+ +
 
eval_ngettext msgid msgid-plural count
+
+ + +

This function outputs the native language translation of a textual message +whose grammatical form depends on a number, performing dollar-substitution +on the result. Note that only shell variables mentioned in msgid or +msgid-plural will be dollar-substituted in the result. +

+ + + +

15.5.15.8 Invoking the eval_pgettext function

+ +
 
eval_pgettext msgctxt msgid
+
+ + +

This function outputs the native language translation of a textual message +in the given context msgctxt (see Using contexts for solving ambiguities), performing +dollar-substitution on the result. Note that only shell variables mentioned +in msgid will be dollar-substituted in the result. +

+ + + +

15.5.15.9 Invoking the eval_npgettext function

+ +
 
eval_npgettext msgctxt msgid msgid-plural count
+
+ + +

This function outputs the native language translation of a textual message +whose grammatical form depends on a number in the given context msgctxt +(see Using contexts for solving ambiguities), performing dollar-substitution on the result. Note +that only shell variables mentioned in msgid or msgid-plural +will be dollar-substituted in the result. +

+ + + +

15.5.16 bash - Bourne-Again Shell Script

+ +

GNU bash 2.0 or newer has a special shorthand for translating a +string and substituting variable values in it: $"msgid". But +the use of this construct is discouraged, due to the security +holes it opens and due to its portability problems. +

+

The security holes of $"..." come from the fact that after looking up +the translation of the string, bash processes it like it processes +any double-quoted string: dollar and backquote processing, like ‘eval’ +does. +

+
    +
  1. +In a locale whose encoding is one of BIG5, BIG5-HKSCS, GBK, GB18030, SHIFT_JIS, +JOHAB, some double-byte characters have a second byte whose value is +0x60. For example, the byte sequence \xe0\x60 is a single +character in these locales. Many versions of bash (all versions +up to bash-2.05, and newer versions on platforms without mbsrtowcs() +function) don't know about character boundaries and see a backquote character +where there is only a particular Chinese character. Thus it can start +executing part of the translation as a command list. This situation can occur +even without the translator being aware of it: if the translator provides +translations in the UTF-8 encoding, it is the gettext() function which +will, during its conversion from the translator's encoding to the user's +locale's encoding, produce the dangerous \x60 bytes. + +
  2. +A translator could - voluntarily or inadvertently - use backquotes +"`...`" or dollar-parentheses "$(...)" in her translations. +The enclosed strings would be executed as command lists by the shell. +
+ +

The portability problem is that bash must be built with +internationalization support; this is normally not the case on systems +that don't have the gettext() function in libc. +

+ + + +

15.5.17 GNU awk

+ +
+
RPMs
+

gawk 3.1 or newer +

+
+
Ubuntu packages
+

gawk +

+
+
File extension
+

awk, gawk, twjr. +The file extension twjr is used by TexiWeb Jr +(https://github.com/arnoldrobbins/texiwebjr). +

+
+
String syntax
+

"abc" +

+
+
gettext shorthand
+

_"abc" +

+
+
gettext/ngettext functions
+

dcgettext, missing dcngettext in gawk-3.1.0 +

+
+
textdomain
+

TEXTDOMAIN variable +

+
+
bindtextdomain
+

bindtextdomain function +

+
+
setlocale
+

automatic, but missing setlocale (LC_MESSAGES, "") in gawk-3.1.0 +

+
+
Prerequisite
+

— +

+
+
Use or emulate GNU gettext
+

use +

+
+
Extractor
+

xgettext +

+
+
Formatting with positions
+

printf "%2$d %1$d" (GNU awk only) +

+
+
Portability
+

On platforms without gettext, no translation. On non-GNU awks, you must +define dcgettext, dcngettext and bindtextdomain +yourself. +

+
+
po-mode marking
+

— +

+
+ +

An example is available in the ‘examples’ directory: hello-gawk. +

+ + + +

15.5.18 Lua

+ +
+
RPMs
+

lua +

+
+
Ubuntu packages
+

lua, lua-gettext +
+You need to install the lua-gettext package from +https://gitlab.com/sukhichev/lua-gettext/blob/master/README.us.md. +Debian and Ubuntu packages of it are available. Download the +appropriate one, and install it through +‘sudo dpkg -i lua-gettext_0.0+nmu1_amd64.deb’. +

+
+
File extension
+

lua +

+
+
String syntax
+
    +
  • "abc" + +
  • 'abc' + +
  • [[abc]] + +
  • [=[abc]=] + +
  • [==[abc]==] + +
  • ... + +
+ +
+
gettext shorthand
+

_("abc") +

+
+
gettext/ngettext functions
+

gettext.gettext, gettext.dgettext, gettext.dcgettext, +gettext.ngettext, gettext.dngettext, gettext.dcngettext +

+
+
textdomain
+

textdomain function +

+
+
bindtextdomain
+

bindtextdomain function +

+
+
setlocale
+

automatic +

+
+
Prerequisite
+

require 'gettext' or running lua interpreter with -l gettext option +

+
+
Use or emulate GNU gettext
+

use +

+
+
Extractor
+

xgettext +

+
+
Formatting with positions
+

— +

+
+
Portability
+

On platforms without gettext, the functions are not available. +

+
+
po-mode marking
+

— +

+
+ + + + +

15.5.19 Pascal - Free Pascal Compiler

+ +
+
RPMs
+

fpc +

+
+
Ubuntu packages
+

fp-compiler, fp-units-fcl +

+
+
File extension
+

pp, pas +

+
+
String syntax
+

'abc' +

+
+
gettext shorthand
+

automatic +

+
+
gettext/ngettext functions
+

—, use ResourceString data type instead +

+
+
textdomain
+

—, use TranslateResourceStrings function instead +

+
+
bindtextdomain
+

—, use TranslateResourceStrings function instead +

+
+
setlocale
+

automatic, but uses only LANG, not LC_MESSAGES or LC_ALL +

+
+
Prerequisite
+

{$mode delphi} or {$mode objfpc}
uses gettext; +

+
+
Use or emulate GNU gettext
+

emulate partially +

+
+
Extractor
+

ppc386 followed by xgettext or rstconv +

+
+
Formatting with positions
+

uses sysutils;
format "%1:d %0:d" +

+
+
Portability
+

? +

+
+
po-mode marking
+

— +

+
+ +

The Pascal compiler has special support for the ResourceString data +type. It generates a .rst file. This is then converted to a +.pot file by use of xgettext or rstconv. At runtime, +a .mo file corresponding to translations of this .pot file +can be loaded using the TranslateResourceStrings function in the +gettext unit. +

+

An example is available in the ‘examples’ directory: hello-pascal. +

+ + + +

15.5.20 Modula-2

+ +
+
RPMs
+

gcc-gm2, libgm2 +

+
+
Ubuntu packages
+

gm2 +

+
+
File extension
+

mod, def +

+
+
String syntax
+

'abc', "abc" +

+
+
gettext shorthand
+

— +

+
+
gettext/ngettext functions
+

Gettext, DGettext, DCGettext, +NGettext, DNGettext, DCNGettext +

+
+
textdomain
+

TextDomain function +

+
+
bindtextdomain
+

BindTextDomain function +

+
+
setlocale
+

Programmer must call SetLocale (LC_ALL, "") +

+
+
Prerequisite
+

FROM Libintl IMPORT Gettext ...; +

+
+
Use or emulate GNU gettext
+

Use +

+
+
Extractor
+

xgettext +

+
+
Formatting with positions
+

— +

+
+
Portability
+

fully portable to all platforms supported by GNU Modula-2 +

+
+
po-mode marking
+

— +

+
+ +

An example is available in the ‘examples’ directory: hello-modula2. +

+ + + +

15.5.21 D

+ +
+
RPMs
+

gcc-gdc or ldc +

+
+
Ubuntu packages
+

gdc or ldc +

+
+
File extension
+

d +

+
+
String syntax
+

r"abc", `abc`, "abc", +q"[abc]", q"(abc)", q"<abc>", q"{abc}", +q{abc}, x"6A 6B 6C" +

+
+
gettext shorthand
+

_("abc") +

+
+
gettext/ngettext functions
+

gettext, dgettext, dcgettext, +ngettext, dngettext, dcngettext +

+

Note that the ngettext-like functions need to take +two argument strings that consume the same number of arguments. +For example, you cannot write +format(ngettext("a piece", "%d pieces", n), n) +because in the singular case, +format would treat the unused argument as an error and +throw an exception. +As a workaround, you need to convert n to a string and +format that string with precision zero: +format(ngettext("%.0sa piece", "%s pieces", n), to!string(n)) +or +format(ngettext("%.0sa piece", "%s pieces", n), text(n)) +

+
+
textdomain
+

textdomain function +

+
+
bindtextdomain
+

bindtextdomain function +

+
+
setlocale
+

Programmer must call setlocale (LC_ALL, "") +

+
+
Prerequisite
+

import gnu.libintl; +
alias _ = gettext; +

+
+
Use or emulate GNU gettext
+

Use +

+
+
Extractor
+

xgettext -k_ --flag=_:1:pass-c-format --flag=_:1:pass-d-format +

+
+
Formatting with positions
+

fprintf "%2$d %1$d", format "%2$d %1$d" +

+
+
Portability
+

fully portable +

+
+
po-mode marking
+

— +

+
+ +

An example is available in the ‘examples’ directory: hello-d. +

+ + + +

15.5.22 GNU Smalltalk

+ +
+
RPMs
+

smalltalk +

+
+
Ubuntu packages
+

gnu-smalltalk +

+
+
File extension
+

st +

+
+
String syntax
+

'abc' +

+
+
gettext shorthand
+

NLS ? 'abc' +

+
+
gettext/ngettext functions
+

LcMessagesDomain>>#at:, LcMessagesDomain>>#at:plural:with: +

+
+
textdomain
+

LcMessages>>#domain:localeDirectory: (returns a LcMessagesDomain +object).
+Example: I18N Locale default messages domain: 'gettext' localeDirectory: /usr/local/share/locale' +

+
+
bindtextdomain
+

LcMessages>>#domain:localeDirectory:, see above. +

+
+
setlocale
+

Automatic if you use I18N Locale default. +

+
+
Prerequisite
+

PackageLoader fileInPackage: 'I18N'! +

+
+
Use or emulate GNU gettext
+

emulate +

+
+
Extractor
+

xgettext +

+
+
Formatting with positions
+

'%1 %2' bindWith: 'Hello' with: 'world' +

+
+
Portability
+

fully portable +

+
+
po-mode marking
+

— +

+
+ +

An example is available in the ‘examples’ directory: +hello-smalltalk. +

+ + + +

15.5.23 Vala

+ +
+
RPMs
+

vala +

+
+
Ubuntu packages
+

valac +

+
+
File extension
+

vala +

+
+
String syntax
+
    +
  • "abc" + +
  • """abc""" + +
+ +
+
gettext shorthand
+

_("abc") +

+
+
gettext/ngettext functions
+

gettext, dgettext, dcgettext, ngettext, +dngettext, dpgettext, dpgettext2 +

+
+
textdomain
+

textdomain function, defined under the Intl namespace +

+
+
bindtextdomain
+

bindtextdomain function, defined under the Intl namespace +

+
+
setlocale
+

Programmer must call Intl.setlocale (LocaleCategory.ALL, "") +

+
+
Prerequisite
+

— +

+
+
Use or emulate GNU gettext
+

Use +

+
+
Extractor
+

xgettext +

+
+
Formatting with positions
+

Same as for the C language. +

+
+
Portability
+

autoconf (gettext.m4) and #if ENABLE_NLS +

+
+
po-mode marking
+

yes +

+
+ + + + +

15.5.24 wxWidgets library

+ +
+
RPMs
+

wxGTK, gettext +

+
+
Ubuntu packages
+

libwxgtk3.0-dev or libwxgtk3.2-dev +

+
+
File extension
+

cpp +

+
+
String syntax
+

"abc" +

+
+
gettext shorthand
+

_("abc") +

+
+
gettext/ngettext functions
+

wxLocale::GetString, wxGetTranslation +

+
+
textdomain
+

wxLocale::AddCatalog +

+
+
bindtextdomain
+

wxLocale::AddCatalogLookupPathPrefix +

+
+
setlocale
+

wxLocale::Init, wxSetLocale +

+
+
Prerequisite
+

#include <wx/intl.h> +

+
+
Use or emulate GNU gettext
+

emulate, see include/wx/intl.h and src/common/intl.cpp +

+
+
Extractor
+

xgettext +

+
+
Formatting with positions
+

wxString::Format supports positions if and only if the system has +wprintf(), vswprintf() functions and they support positions +according to POSIX. +

+
+
Portability
+

fully portable +

+
+
po-mode marking
+

yes +

+
+ + + + +

15.5.25 Tcl - Tk's scripting language

+ +
+
RPMs
+

tcl +

+
+
Ubuntu packages
+

tcl +

+
+
File extension
+

tcl +

+
+
String syntax
+

"abc" +

+
+
gettext shorthand
+

[_ "abc"] +

+
+
gettext/ngettext functions
+

::msgcat::mc +

+
+
textdomain
+

— +

+
+
bindtextdomain
+

—, use ::msgcat::mcload instead +

+
+
setlocale
+

automatic, uses LANG, but ignores LC_MESSAGES and LC_ALL +

+
+
Prerequisite
+

package require msgcat +
proc _ {s} {return [::msgcat::mc $s]} +

+
+
Use or emulate GNU gettext
+

—, uses a Tcl specific message catalog format +

+
+
Extractor
+

xgettext -k_ +

+
+
Formatting with positions
+

format "%2\$d %1\$d" +

+
+
Portability
+

fully portable +

+
+
po-mode marking
+

— +

+
+ +

Two examples are available in the ‘examples’ directory: +hello-tcl, hello-tcl-tk. +

+

Before marking strings as internationalizable, substitutions of variables +into the string need to be converted to format applications. For +example, "file $filename not found" becomes +[format "file %s not found" $filename]. +Only after this is done, can the strings be marked and extracted. +After marking, this example becomes +[format [_ "file %s not found"] $filename] or +[msgcat::mc "file %s not found" $filename]. Note that the +msgcat::mc function implicitly calls format when more than one +argument is given. +

+ + + +

15.5.26 Perl

+ +
+
RPMs
+

perl +

+
+
Ubuntu packages
+

perl, libintl-perl +

+
+
File extension
+

pl, PL, pm, perl, cgi +

+
+
String syntax
+
    +
  • "abc" + +
  • 'abc' + +
  • qq (abc) + +
  • q (abc) + +
  • qr /abc/ + +
  • qx (/bin/date) + +
  • /pattern match/ + +
  • ?pattern match? + +
  • s/substitution/operators/ + +
  • $tied_hash{"message"} + +
  • $tied_hash_reference->{"message"} + +
  • etc., issue the command ‘man perlsyn’ for details + +
+ +
+
gettext shorthand
+

__ (double underscore) +

+
+
gettext/ngettext functions
+

gettext, dgettext, dcgettext, ngettext, +dngettext, dcngettext, pgettext, dpgettext, +dcpgettext, npgettext, dnpgettext, +dcnpgettext +

+
+
textdomain
+

textdomain function +

+
+
bindtextdomain
+

bindtextdomain function +

+
+
bind_textdomain_codeset
+

bind_textdomain_codeset function +

+
+
setlocale
+

Use setlocale (LC_ALL, ""); +

+
+
Prerequisite
+

use POSIX; +
use Locale::TextDomain; (included in the package libintl-perl +which is available on the Comprehensive Perl Archive Network CPAN, +https://www.cpan.org/). +

+
+
Use or emulate GNU gettext
+

platform dependent: gettext_pp emulates, gettext_xs uses GNU gettext +

+
+
Extractor
+

xgettext -k__ -k\$__ -k%__ -k__x -k__n:1,2 -k__nx:1,2 -k__xn:1,2 +-kN__ -kN__n:1,2 -k__p:1c,2 -k__np:1c,2,3 -kN__p:1c,2 -kN__np:1c,2,3 +

+
+
Formatting with positions
+

Both kinds of format strings support formatting with positions. +
printf "%2\$d %1\$d", ... (requires Perl 5.8.0 or newer) +
__expand("[new] replaces [old]", old => $oldvalue, new => $newvalue) +

+
+
Portability
+

The libintl-perl package is platform independent but is not +part of the Perl core. The programmer is responsible for +providing a dummy implementation of the required functions if the +package is not installed on the target system. +

+
+
po-mode marking
+

— +

+
+
Documentation
+

Included in libintl-perl, available on CPAN +(https://www.cpan.org/). +

+
+
+ +

An example is available in the ‘examples’ directory: hello-perl. +

+ + +

The xgettext parser backend for Perl differs significantly from +the parser backends for other programming languages, just as Perl +itself differs significantly from other programming languages. The +Perl parser backend offers many more string marking facilities than +the other backends but it also has some Perl specific limitations, the +worst probably being its imperfectness. +

+ + + + +

15.5.26.1 General Problems Parsing Perl Code

+ +

It is often heard that only Perl can parse Perl. This is not true. +Perl cannot be parsed at all, it can only be executed. +Perl has various built-in ambiguities that can only be resolved at runtime. +

+

The following example may illustrate one common problem: +

+
 
print gettext "Hello World!";
+
+ +

Although this example looks like a bullet-proof case of a function +invocation, it is not: +

+
 
open gettext, ">testfile" or die;
+print gettext "Hello world!"
+
+ +

In this context, the string gettext looks more like a +file handle. But not necessarily: +

+
 
use Locale::Messages qw (:libintl_h);
+open gettext ">testfile" or die;
+print gettext "Hello world!";
+
+ +

Now, the file is probably syntactically incorrect, provided that the module +Locale::Messages found first in the Perl include path exports a +function gettext. But what if the module +Locale::Messages really looks like this? +

+
 
use vars qw (*gettext);
+
+1;
+
+ +

In this case, the string gettext will be interpreted as a file +handle again, and the above example will create a file ‘testfile’ +and write the string “Hello world!” into it. Even advanced +control flow analysis will not really help: +

+
 
if (0.5 < rand) {
+   eval "use Sane";
+} else {
+   eval "use InSane";
+}
+print gettext "Hello world!";
+
+ +

If the module Sane exports a function gettext that does +what we expect, and the module InSane opens a file for writing +and associates the handle gettext with this output +stream, we are clueless again about what will happen at runtime. It is +completely unpredictable. The truth is that Perl has so many ways to +fill its symbol table at runtime that it is impossible to interpret a +particular piece of code without executing it. +

+

Of course, xgettext will not execute your Perl sources while +scanning for translatable strings, but rather use heuristics in order +to guess what you meant. +

+

Another problem is the ambiguity of the slash and the question mark. +Their interpretation depends on the context: +

+
 
# A pattern match.
+print "OK\n" if /foobar/;
+
+# A division.
+print 1 / 2;
+
+# Another pattern match.
+print "OK\n" if ?foobar?;
+
+# Conditional.
+print $x ? "foo" : "bar";
+
+ +

The slash may either act as the division operator or introduce a +pattern match, whereas the question mark may act as the ternary +conditional operator or as a pattern match, too. Other programming +languages like awk present similar problems, but the consequences of a +misinterpretation are particularly nasty with Perl sources. In awk +for instance, a statement can never exceed one line and the parser +can recover from a parsing error at the next newline and interpret +the rest of the input stream correctly. Perl is different, as a +pattern match is terminated by the next appearance of the delimiter +(the slash or the question mark) in the input stream, regardless of +the semantic context. If a slash is really a division sign but +mis-interpreted as a pattern match, the rest of the input file is most +probably parsed incorrectly. +

+

There are certain cases, where the ambiguity cannot be resolved at all: +

+
 
$x = wantarray ? 1 : 0;
+
+ +

The Perl built-in function wantarray does not accept any arguments. +The Perl parser therefore knows that the question mark does not start +a regular expression but is the ternary conditional operator. +

+
 
sub wantarrays {}
+$x = wantarrays ? 1 : 0;
+
+ +

Now the situation is different. The function wantarrays takes +a variable number of arguments (like any non-prototyped Perl function). +The question mark is now the delimiter of a pattern match, and hence +the piece of code does not compile. +

+
 
sub wantarrays() {}
+$x = wantarrays ? 1 : 0;
+
+ +

Now the function is prototyped, Perl knows that it does not accept any +arguments, and the question mark is therefore interpreted as the +ternaray operator again. But that unfortunately outsmarts xgettext. +

+

The Perl parser in xgettext cannot know whether a function has +a prototype and what that prototype would look like. It therefore makes +an educated guess. If a function is known to be a Perl built-in and +this function does not accept any arguments, a following question mark +or slash is treated as an operator, otherwise as the delimiter of a +following regular expression. The Perl built-ins that do not accept +arguments are wantarray, fork, time, times, +getlogin, getppid, getpwent, getgrent, +gethostent, getnetent, getprotoent, getservent, +setpwent, setgrent, endpwent, endgrent, +endhostent, endnetent, endprotoent, and +endservent. +

+

If you find that xgettext fails to extract strings from +portions of your sources, you should therefore look out for slashes +and/or question marks preceding these sections. You may have come +across a bug in xgettext's Perl parser (and of course you +should report that bug). In the meantime you should consider to +reformulate your code in a manner less challenging to xgettext. +

+

In particular, if the parser is too dumb to see that a function +does not accept arguments, use parentheses: +

+
 
$x = somefunc() ? 1 : 0;
+$y = (somefunc) ? 1 : 0;
+
+ +

In fact the Perl parser itself has similar problems and warns you +about such constructs. +

+ + + +

15.5.26.2 Which keywords will xgettext look for?

+ +

Unless you instruct xgettext otherwise by invoking it with one +of the options --keyword or -k, it will recognize the +following keywords in your Perl sources: +

+
    +
  • gettext + +
  • dgettext:2 + +

    The second argument will be extracted. +

    +
  • dcgettext:2 + +

    The second argument will be extracted. +

    +
  • ngettext:1,2 + +

    The first (singular) and the second (plural) argument will be +extracted. +

    +
  • dngettext:2,3 + +

    The second (singular) and the third (plural) argument will be +extracted. +

    +
  • dcngettext:2,3 + +

    The second (singular) and the third (plural) argument will be +extracted. +

    +
  • pgettext:1c,2 + +

    The first (message context) and the second argument will be extracted. +

    +
  • dpgettext:2c,3 + +

    The second (message context) and the third argument will be extracted. +

    +
  • dcpgettext:2c,3 + +

    The second (message context) and the third argument will be extracted. +

    +
  • npgettext:1c,2,3 + +

    The first (message context), second (singular), and third (plural) +argument will be extracted. +

    +
  • dnpgettext:2c,3,4 + +

    The second (message context), third (singular), and fourth (plural) +argument will be extracted. +

    +
  • dcnpgettext:2c,3,4 + +

    The second (message context), third (singular), and fourth (plural) +argument will be extracted. +

    +
  • gettext_noop + +
  • %gettext + +

    The keys of lookups into the hash %gettext will be extracted. +

    +
  • $gettext + +

    The keys of lookups into the hash reference $gettext will be extracted. +

    +
+ + + + +

15.5.26.3 How to Extract Hash Keys

+ +

Translating messages at runtime is normally performed by looking up the +original string in the translation database and returning the +translated version. The “natural” Perl implementation is a hash +lookup, and, of course, xgettext supports such practice. +

+
 
print __"Hello world!";
+print $__{"Hello world!"};
+print $__->{"Hello world!"};
+print $$__{"Hello world!"};
+
+ + +

The above four lines all do the same thing. The Perl module +Locale::TextDomain exports by default a hash %__ that +is tied to the function __(). It also exports a reference +$__ to %__. +

+

If an argument to the xgettext option --keyword, +resp. -k starts with a percent sign, the rest of the keyword is +interpreted as the name of a hash. If it starts with a dollar +sign, the rest of the keyword is interpreted as a reference to a +hash. +

+

Note that you can omit the quotation marks (single or double) around +the hash key (almost) whenever Perl itself allows it: +

+
 
print $gettext{Error};
+
+ +

The exact rule is: You can omit the surrounding quotes, when the hash +key is a valid C (!) identifier, i.e. when it starts with an +underscore or an ASCII letter and is followed by an arbitrary number +of underscores, ASCII letters or digits. Other Unicode characters +are not allowed, regardless of the use utf8 pragma. +

+ + + +

15.5.26.4 What are Strings And Quote-like Expressions?

+ +

Perl offers a plethora of different string constructs. Those that can +be used either as arguments to functions or inside braces for hash +lookups are generally supported by xgettext. +

+
    +
  • double-quoted strings +
    +
     
    print gettext "Hello World!";
    +
    + +
  • single-quoted strings +
    +
     
    print gettext 'Hello World!';
    +
    + +
  • the operator qq +
    +
     
    print gettext qq |Hello World!|;
    +print gettext qq <E-mail: <guido\@imperia.net>>;
    +
    + +

    The operator qq is fully supported. You can use arbitrary +delimiters, including the four bracketing delimiters (round, angle, +square, curly) that nest. +

    +
  • the operator q +
    +
     
    print gettext q |Hello World!|;
    +print gettext q <E-mail: <guido@imperia.net>>;
    +
    + +

    The operator q is fully supported. You can use arbitrary +delimiters, including the four bracketing delimiters (round, angle, +square, curly) that nest. +

    +
  • the operator qx +
    +
     
    print gettext qx ;LANGUAGE=C /bin/date;
    +print gettext qx [/usr/bin/ls | grep '^[A-Z]*'];
    +
    + +

    The operator qx is fully supported. You can use arbitrary +delimiters, including the four bracketing delimiters (round, angle, +square, curly) that nest. +

    +

    The example is actually a useless use of gettext. It will +invoke the gettext function on the output of the command +specified with the qx operator. The feature was included +in order to make the interface consistent (the parser will extract +all strings and quote-like expressions). +

    +
  • here documents +
    +
     
    print gettext <<'EOF';
    +program not found in $PATH
    +EOF
    +
    +print ngettext <<EOF, <<"EOF";
    +one file deleted
    +EOF
    +several files deleted
    +EOF
    +
    + +

    Here-documents are recognized. If the delimiter is enclosed in single +quotes, the string is not interpolated. If it is enclosed in double +quotes or has no quotes at all, the string is interpolated. +

    +

    Delimiters that start with a digit are not supported! +

    +
+ + + + +

15.5.26.5 Unsupported Uses Of String Interpolation

+ +

Perl is capable of interpolating variables into strings. This offers +some nice features in localized programs but can also lead to +problems. +

+

A common error is a construct like the following: +

+
 
print gettext "This is the program $0!\n";
+
+ +

Perl will interpolate at runtime the value of the variable $0 +into the argument of the gettext() function. Hence, this +argument is not a string constant but a variable argument ($0 +is a global variable that holds the name of the Perl script being +executed). The interpolation is performed by Perl before the string +argument is passed to gettext() and will therefore depend on +the name of the script which can only be determined at runtime. +Consequently, it is almost impossible that a translation can be looked +up at runtime (except if, by accident, the interpolated string is found +in the message catalog). +

+

The xgettext program will therefore produce a warning +if it encounters a variable inside of a string to be extracted, +and not extract that string. +In general, this will happen for all kinds of string interpolations that +cannot be safely performed at compile time. If you absolutely know +what you are doing, you can always circumvent this behavior: +

+
 
my $know_what_i_am_doing = "This is program $0!\n";
+print gettext $know_what_i_am_doing;
+
+ +

Since the parser only recognizes strings and quote-like expressions, +but not variables or other terms, the above construct will be +accepted. You will have to find another way, however, to let your +original string make it into your message catalog. +

+

If invoked with the option --extract-all, resp. -a, +variable interpolation will be accepted. Rationale: You will +generally use this option in order to prepare your sources for +internationalization. +

+

Please see the manual page ‘man perlop’ for details of strings and +quote-like expressions that are subject to interpolation and those +that are not. Safe interpolations (that will not lead to a warning) +are: +

+
    +
  • the escape sequences \t (tab, HT, TAB), \n +(newline, NL), \r (return, CR), \f (form feed, FF), +\b (backspace, BS), \a (alarm, bell, BEL), and \e +(escape, ESC). + +
  • octal chars, like \033 +
    +Note that octal escapes in the range of 400-777 are translated into a +UTF-8 representation, regardless of the presence of the use utf8 pragma. + +
  • hex chars, like \x1b + +
  • wide hex chars, like \x{263a} +
    +Note that this escape is translated into a UTF-8 representation, +regardless of the presence of the use utf8 pragma. + +
  • control chars, like \c[ (CTRL-[) + +
  • named Unicode chars, like \N{LATIN CAPITAL LETTER C WITH CEDILLA} +
    +Note that this escape is translated into a UTF-8 representation, +regardless of the presence of the use utf8 pragma. +
+ +

The following escapes are considered partially safe: +

+
    +
  • \l lowercase next char + +
  • \u uppercase next char + +
  • \L lowercase till \E + +
  • \U uppercase till \E + +
  • \E end case modification + +
  • \Q quote non-word characters till \E + +
+ +

These escapes are only considered safe if the string consists of +ASCII characters only. Translation of characters outside the range +defined by ASCII is locale-dependent and can actually only be performed +at runtime; xgettext doesn't do these locale-dependent translations +at extraction time. +

+

Except for the modifier \Q, these translations, albeit valid, +are generally useless and only obfuscate your sources. If a +translation can be safely performed at compile time you can just as +well write what you mean. +

+ + + +

15.5.26.6 Valid Uses Of String Interpolation

+ +

Perl is often used to generate sources for other programming languages +or arbitrary file formats. Web applications that output HTML code +make a prominent example for such usage. +

+

You will often come across situations where you want to intersperse +code written in the target (programming) language with translatable +messages, like in the following HTML example: +

+
 
print gettext <<EOF;
+<h1>My Homepage</h1>
+<script language="JavaScript"><!--
+for (i = 0; i < 100; ++i) {
+    alert ("Thank you so much for visiting my homepage!");
+}
+//--></script>
+EOF
+
+ +

The parser will extract the entire here document, and it will appear +entirely in the resulting PO file, including the JavaScript snippet +embedded in the HTML code. If you exaggerate with constructs like +the above, you will run the risk that the translators of your package +will look out for a less challenging project. You should consider an +alternative expression here: +

+
 
print <<EOF;
+<h1>$gettext{"My Homepage"}</h1>
+<script language="JavaScript"><!--
+for (i = 0; i < 100; ++i) {
+    alert ("$gettext{'Thank you so much for visiting my homepage!'}");
+}
+//--></script>
+EOF
+
+ +

Only the translatable portions of the code will be extracted here, and +the resulting PO file will begrudgingly improve in terms of readability. +

+

You can interpolate hash lookups in all strings or quote-like +expressions that are subject to interpolation (see the manual page +‘man perlop’ for details). Double interpolation is unsupported, however: +

+
 
# TRANSLATORS: Replace "the earth" with the name of your planet.
+print gettext qq{Welcome to $gettext->{"the earth"}};
+
+ +

The qq-quoted string is recognized as an argument to xgettext in +the first place, and checked for unsupported variable interpolation. The +dollar sign of hash-dereferencing will therefore terminate the parser +with an “unsupported interpolation” warning. +

+

It is valid to interpolate hash lookups in regular expressions: +

+
 
if ($var =~ /$gettext{"the earth"}/) {
+   print gettext "Match!\n";
+}
+s/$gettext{"U. S. A."}/$gettext{"U. S. A."} $gettext{"(dial +0)"}/g;
+
+ + + + +

15.5.26.7 When To Use Parentheses

+ +

In Perl, parentheses around function arguments are mostly optional. +xgettext will always assume that all +recognized keywords (except for hashes and hash references) are names +of properly prototyped functions, and will (hopefully) only require +parentheses where Perl itself requires them. All constructs in the +following example are therefore ok to use: +

+
 
print gettext ("Hello World!\n");
+print gettext "Hello World!\n";
+print dgettext ($package => "Hello World!\n");
+print dgettext $package, "Hello World!\n";
+
+# The "fat comma" => turns the left-hand side argument into a
+# single-quoted string!
+print dgettext smellovision => "Hello World!\n";
+
+# The following assignment only works with prototyped functions.
+# Otherwise, the functions will act as "greedy" list operators and
+# eat up all following arguments.
+my $anonymous_hash = {
+   planet => gettext "earth",
+   cakes => ngettext "one cake", "several cakes", $n,
+   still => $works,
+};
+# The same without fat comma:
+my $other_hash = {
+   'planet', gettext "earth",
+   'cakes', ngettext "one cake", "several cakes", $n,
+   'still', $works,
+};
+
+# Parentheses are only significant for the first argument.
+print dngettext 'package', ("one cake", "several cakes", $n), $discarded;
+
+ + + + +

15.5.26.8 How To Grok with Long Lines

+ +

The necessity of long messages can often lead to a cumbersome or +unreadable coding style. Perl has several options that may prevent +you from writing unreadable code, and +xgettext does its best to do likewise. This is where the dot +operator (the string concatenation operator) may come in handy: +

+
 
print gettext ("This is a very long"
+               . " message that is still"
+               . " readable, because"
+               . " it is split into"
+               . " multiple lines.\n");
+
+ +

Perl is smart enough to concatenate these constant string fragments +into one long string at compile time, and so is +xgettext. You will only find one long message in the resulting +POT file. +

+

Note that the future Perl 6 will probably use the underscore +(‘_’) as the string concatenation operator, and the dot +(‘.’) for dereferencing. This new syntax is not yet supported by +xgettext. +

+

If embedded newline characters are not an issue, or even desired, you +may also insert newline characters inside quoted strings wherever you +feel like it: +

+
 
print gettext ("<em>In HTML output
+embedded newlines are generally no
+problem, since adjacent whitespace
+is always rendered into a single
+space character.</em>");
+
+ +

You may also consider to use here documents: +

+
 
print gettext <<EOF;
+<em>In HTML output
+embedded newlines are generally no
+problem, since adjacent whitespace
+is always rendered into a single
+space character.</em>
+EOF
+
+ +

Please do not forget that the line breaks are real, i.e. they +translate into newline characters that will consequently show up in +the resulting POT file. +

+ + + +

15.5.26.9 Bugs, Pitfalls, And Things That Do Not Work

+ +

The foregoing sections should have proven that +xgettext is quite smart in extracting translatable strings from +Perl sources. Yet, some more or less exotic constructs that could be +expected to work, actually do not work. +

+

One of the more relevant limitations can be found in the +implementation of variable interpolation inside quoted strings. Only +simple hash lookups can be used there: +

+
 
print <<EOF;
+$gettext{"The dot operator"
+          . " does not work"
+          . "here!"}
+Likewise, you cannot @{[ gettext ("interpolate function calls") ]}
+inside quoted strings or quote-like expressions.
+EOF
+
+ +

This is valid Perl code and will actually trigger invocations of the +gettext function at runtime. Yet, the Perl parser in +xgettext will fail to recognize the strings. A less obvious +example can be found in the interpolation of regular expressions: +

+
 
s/<!--START_OF_WEEK-->/gettext ("Sunday")/e;
+
+ +

The modifier e will cause the substitution to be interpreted as +an evaluable statement. Consequently, at runtime the function +gettext() is called, but again, the parser fails to extract the +string “Sunday”. Use a temporary variable as a simple workaround if +you really happen to need this feature: +

+
 
my $sunday = gettext "Sunday";
+s/<!--START_OF_WEEK-->/$sunday/;
+
+ +

Hash slices would also be handy but are not recognized: +

+
 
my @weekdays = @gettext{'Sunday', 'Monday', 'Tuesday', 'Wednesday',
+                        'Thursday', 'Friday', 'Saturday'};
+# Or even:
+@weekdays = @gettext{qw (Sunday Monday Tuesday Wednesday Thursday
+                         Friday Saturday) };
+
+ +

This is perfectly valid usage of the tied hash %gettext but the +strings are not recognized and therefore will not be extracted. +

+

Another caveat of the current version is its rudimentary support for +non-ASCII characters in identifiers. You may encounter serious +problems if you use identifiers with characters outside the range of +'A'-'Z', 'a'-'z', '0'-'9' and the underscore '_'. +

+

Maybe some of these missing features will be implemented in future +versions, but since you can always make do without them at minimal effort, +these todos have very low priority. +

+

A nasty problem are brace format strings that already contain braces +as part of the normal text, for example the usage strings typically +encountered in programs: +

+
 
die "usage: $0 {OPTIONS} FILENAME...\n";
+
+ +

If you want to internationalize this code with Perl brace format strings, +you will run into a problem: +

+
 
die __x ("usage: {program} {OPTIONS} FILENAME...\n", program => $0);
+
+ +

Whereas ‘{program}’ is a placeholder, ‘{OPTIONS}’ +is not and should probably be translated. Yet, there is no way to teach +the Perl parser in xgettext to recognize the first one, and leave +the other one alone. +

+

There are two possible work-arounds for this problem. If you are +sure that your program will run under Perl 5.8.0 or newer (these +Perl versions handle positional parameters in printf()) or +if you are sure that the translator will not have to reorder the arguments +in her translation – for example if you have only one brace placeholder +in your string, or if it describes a syntax, like in this one –, you can +mark the string as no-perl-brace-format and use printf(): +

+
 
# xgettext: no-perl-brace-format
+die sprintf ("usage: %s {OPTIONS} FILENAME...\n", $0);
+
+ +

If you want to use the more portable Perl brace format, you will have to do +put placeholders in place of the literal braces: +

+
 
die __x ("usage: {program} {[}OPTIONS{]} FILENAME...\n",
+         program => $0, '[' => '{', ']' => '}');
+
+ +

Perl brace format strings know no escaping mechanism. No matter how this +escaping mechanism looked like, it would either give the programmer a +hard time, make translating Perl brace format strings heavy-going, or +result in a performance penalty at runtime, when the format directives +get executed. Most of the time you will happily get along with +printf() for this special case. +

+ + + +

15.5.27 PHP Hypertext Preprocessor

+ +
+
RPMs
+

php +

+
+
Ubuntu packages
+

php +

+
+
File extension
+

php, php3, php4 +

+
+
String syntax
+

"abc", 'abc', +<<<EOT, <<<"EOT", <<<'EOT' +

+
+
gettext shorthand
+

_("abc") +

+
+
gettext/ngettext functions
+

gettext, dgettext, dcgettext, +ngettext, dngettext, dcngettext +

+
+
textdomain
+

textdomain function +

+
+
bindtextdomain
+

bindtextdomain function +

+
+
setlocale
+

Programmer must call setlocale (LC_ALL, "") +

+
+
Prerequisite
+

— +

+
+
Use or emulate GNU gettext
+

use +

+
+
Extractor
+

xgettext +

+
+
Formatting with positions
+

printf "%2\$d %1\$d" +

+
+
Portability
+

On platforms without gettext, the functions are not available. +

+
+
po-mode marking
+

— +

+
+ +

An example is available in the ‘examples’ directory: hello-php. +

+ + + +

15.5.28 Pike

+ +
+
RPMs
+

roxen +

+
+
Ubuntu packages
+

pike8.0 or pike7.8 +

+
+
File extension
+

pike +

+
+
String syntax
+

"abc" +

+
+
gettext shorthand
+

— +

+
+
gettext/ngettext functions
+

gettext, dgettext, dcgettext +

+
+
textdomain
+

textdomain function +

+
+
bindtextdomain
+

bindtextdomain function +

+
+
setlocale
+

setlocale function +

+
+
Prerequisite
+

import Locale.Gettext; +

+
+
Use or emulate GNU gettext
+

use +

+
+
Extractor
+

— +

+
+
Formatting with positions
+

— +

+
+
Portability
+

On platforms without gettext, the functions are not available. +

+
+
po-mode marking
+

— +

+
+ + + + +

15.5.29 GNU Compiler Collection sources

+ +
+
RPMs
+

gcc +

+
+
Ubuntu packages
+

gcc +

+
+
File extension
+

c, h. +

+
+
String syntax
+

"abc" +

+
+
gettext shorthand
+

_("abc") +

+
+
gettext/ngettext functions
+

gettext, dgettext, dcgettext, ngettext, +dngettext, dcngettext +

+
+
textdomain
+

textdomain function +

+
+
bindtextdomain
+

bindtextdomain function +

+
+
setlocale
+

Programmer must call setlocale (LC_ALL, "") +

+
+
Prerequisite
+

#include "intl.h" +

+
+
Use or emulate GNU gettext
+

Use +

+
+
Extractor
+

xgettext -k_ +

+
+
Formatting with positions
+

— +

+
+
Portability
+

Uses autoconf macros +

+
+
po-mode marking
+

yes +

+
+ + + + +

15.5.30 YCP - YaST2 scripting language

+ +
+
RPMs
+

libycp, libycp-devel, yast2-core, yast2-core-devel +

+
+
Ubuntu packages
+

— +

+
+
File extension
+

ycp +

+
+
String syntax
+

"abc" +

+
+
gettext shorthand
+

_("abc") +

+
+
gettext/ngettext functions
+

_() with 1 or 3 arguments +

+
+
textdomain
+

textdomain statement +

+
+
bindtextdomain
+

— +

+
+
setlocale
+

— +

+
+
Prerequisite
+

— +

+
+
Use or emulate GNU gettext
+

use +

+
+
Extractor
+

xgettext +

+
+
Formatting with positions
+

sformat "%2 %1" +

+
+
Portability
+

fully portable +

+
+
po-mode marking
+

— +

+
+ +

An example is available in the ‘examples’ directory: hello-ycp. +

+ + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+

+ + This document was generated by Bruno Haible on July, 2 2025 using texi2html 1.78a. + +
+ +

+ + diff --git a/miniconda3/share/doc/gettext/gettext_16.html b/miniconda3/share/doc/gettext/gettext_16.html new file mode 100644 index 0000000000000000000000000000000000000000..01b3d3bbaa9526db68bf4fd4fea5a3c3f14d1050 --- /dev/null +++ b/miniconda3/share/doc/gettext/gettext_16.html @@ -0,0 +1,656 @@ + + + + + +GNU gettext utilities: 16. Other Data Formats + + + + + + + + + + + + + + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+ +
+ + +

16. Other Data Formats

+ +

While the GNU gettext tools deal mainly with POT and PO files, they can +also manipulate a couple of other data formats. +

+ + + + +

16.1 Internationalizable Data Formats

+ +

Here is a list of other data formats which can be internationalized +using GNU gettext. +

+ + + + +

16.1.1 POT - Portable Object Template

+ +
+
RPMs
+

gettext +

+
+
Ubuntu packages
+

gettext +

+
+
File extension
+

pot, po +

+
+
Extractor
+

xgettext +

+
+ + + + +

16.1.2 Resource String Table

+ +

RST is the format of resource string table files of the Free Pascal compiler +versions older than 3.0.0. RSJ is the new format of resource string table +files, created by the Free Pascal compiler version 3.0.0 or newer. +

+
+
RPMs
+

fpk +

+
+
Ubuntu packages
+

fp-compiler +

+
+
File extension
+

rst, rsj +

+
+
Extractor
+

xgettext, rstconv +

+
+ + + + +

16.1.3 Glade - GNOME user interface description

+ +
+
RPMs
+

glade, libglade, glade2, libglade2, intltool +

+
+
Ubuntu packages
+

glade, libglade2-dev, intltool +

+
+
File extension
+

glade, glade2, ui +

+
+
Extractor
+

xgettext, libglade-xgettext, xml-i18n-extract, intltool-extract +

+
+ + + + +

16.1.4 GSettings - GNOME user configuration schema

+ +
+
RPMs
+

glib2 +

+
+
Ubuntu packages
+

libglib2.0-dev +

+
+
File extension
+

gschema.xml +

+
+
Extractor
+

xgettext, intltool-extract +

+
+ + + + +

16.1.5 AppData - freedesktop.org application description

+ +

This file format is specified in +https://www.freedesktop.org/software/appstream/docs/. +

+
+
RPMs
+

appdata-tools, appstream, libappstream-glib, libappstream-glib-builder +

+
+
Ubuntu packages
+

appdata-tools, appstream, libappstream-glib-dev +

+
+
File extension
+

appdata.xml, metainfo.xml +

+
+
Extractor
+

xgettext, intltool-extract, itstool +

+
+ + + + +

16.1.6 Preparing Rules for XML Internationalization

+ + + + + + +

16.1.6.1 Specifying ITS Rules

+ +

Marking translatable strings in an XML file is done through a separate +"rule" file, making use of the Internationalization Tag Set standard +(ITS, https://www.w3.org/TR/its20/). The currently supported ITS +data categories are: ‘Translate’, ‘Localization Note’, +‘Elements Within Text’, and ‘Preserve Space’. In addition to +them, xgettext also recognizes the following extended data +categories: +

+
+
Context
+
+

This data category associates msgctxt to the extracted text. In +the global rule, the contextRule element contains the following: +

+
    +
  • +A required selector attribute. It contains an absolute selector +that selects the nodes to which this rule applies. + +
  • +A required contextPointer attribute that contains a relative +selector pointing to a node that holds the msgctxt value. + +
  • +An optional textPointer attribute that contains a relative +selector pointing to a node that holds the msgid value. +
+ +
+
Extended Preserve Space
+
+

This data category extends the standard ‘Preserve Space’ data +category with the additional values ‘trim’ and ‘paragraph’. +‘trim’ means to remove the leading and trailing whitespaces of the +content, but not to normalize whitespaces in the middle. +‘paragraph’ means to normalize the content but keep the paragraph +boundaries. In the global +rule, the preserveSpaceRule element contains the following: +

+
    +
  • +A required selector attribute. It contains an absolute selector +that selects the nodes to which this rule applies. + +
  • +A required space attribute with the value default, +preserve, trim, or paragraph. +
+ +
+
Escape Special Characters
+
+

This data category indicates whether the special XML characters +(<, >, &, ") are escaped with entity +references. In the global rule, the escapeRule element contains +the following: +

+
    +
  • +A required selector attribute. It contains an absolute selector +that selects the nodes to which this rule applies. + +
  • +A required escape attribute with the value yes or no. + +
  • +An optional unescape-if attribute with the value +xml, xhtml, html, or no. +
+ +

The default values, escape="no" and unescape-if="no", +should be good for most XML file types. +A rule with escape="no", +that was necessary with GNU gettext versions before 0.23, +is now redundant. +

+

The unescape-if attribute is useful for XML file types +which present messages with embedded XML elements to the translator. +Such file types are for example DocBook or XHTML. +If unescape-if="xml" is specified and the translation +of a message looks like valid XML, the usual escaping of <, +>, and character references is omitted. +The resulting XML document then is likely what the translator intended. +However, if the translator did not merely copy the XML markup from the +message to the translation, but added or removed markup, +the resulting XML document may be invalid. +It is therefore useful if, after invoking msgfmt, you check +the resulting XML document against the appropriate XML schema or DTD. +

+

Similarly, if unescape-if="xhtml" is specified and the translation +looks like valid XHTML, the usual escaping is omitted. +And likewise for unescape-if="html". +

+
+
+ +

All those extended data categories can only be expressed with global +rules, and the rule elements have to have the +https://www.gnu.org/s/gettext/ns/its/extensions/1.0 namespace. +

+

Given the following XML document in a file ‘messages.xml’: +

+
 
<?xml version="1.0"?>
+<messages>
+  <message>
+    <p>A translatable string</p>
+  </message>
+  <message>
+    <p translatable="no">A non-translatable string</p>
+  </message>
+</messages>
+
+ +

To extract the first text content ("A translatable string"), but not the +second ("A non-translatable string"), the following ITS rules can be used: +

+
 
<?xml version="1.0"?>
+<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
+  <its:translateRule selector="/messages" translate="no"/>
+  <its:translateRule selector="//message/p" translate="yes"/>
+
+  <!-- If 'p' has an attribute 'translatable' with the value 'no', then
+       the content is not translatable.  -->
+  <its:translateRule selector="//message/p[@translatable = 'no']"
+    translate="no"/>
+</its:rules>
+
+ +

ITS rules files must have the ‘.its’ file extension and obey +the XML schema version 1.0 encoded by its.xsd10 or +the XML schema version 1.1 encoded by its.xsd11 +and its auxiliary schema its-extensions.xsd. +

+ + + +

16.1.6.2 Specifying where to find the ITS Rules

+ +

xgettext’ needs another file called "locating rules" to associate +an ITS rule with an XML file. If the above ITS file is saved as +‘messages.its’, the locating rules file would look like: +

+
 
<?xml version="1.0"?>
+<locatingRules>
+  <locatingRule name="Messages" pattern="*.xml">
+    <documentRule localName="messages" target="messages.its"/>
+  </locatingRule>
+  <locatingRule name="Messages" pattern="*.msg" target="messages.its"/>
+</locatingRules>
+
+ +

The locatingRule element must have a pattern attribute, +which denotes either a literal file name or a wildcard pattern of the +XML file(7). The locatingRule element can have child +documentRule element, which adds checks on the content of the XML +file. +

+

The first rule matches any file with the ‘.xml’ file extension, but +it only applies to XML files whose root element is ‘<messages>’. +

+

The second rule indicates that the same ITS rules file are also +applicable to any file with the ‘.msg’ file extension. The +optional name attribute of locatingRule allows to choose +rules by name, typically with xgettext's -L option. +

+

The associated ITS rules file is indicated by the target attribute +of locatingRule or documentRule. If it is specified in a +documentRule element, the parent locatingRule shouldn't +have the target attribute. +

+

Locating rules files must have the ‘.loc’ file extension and obey +the XML schema version 1.0 encoded by locating-rules.xsd10 or +the XML schema version 1.1 encoded by locating-rules.xsd11. +Both ITS rules files and locating rules files must be installed in the +‘$prefix/share/gettext/its’ directory. Once those files are +properly installed, xgettext can extract translatable strings +from the matching XML files. +

+ + +

16.1.6.3 Two Use-cases of Translated Strings in XML

+ +

After strings have been extracted from an XML file to a POT file +through xgettext +and the translator has produced a PO file with translations, +it can be used in two ways: +

+
    +
  • +The PO file (or the MO file generated from it) can be directly consumed +by a program. + +
  • +Or the translated strings can be merged back to the original XML document. +To do this use the msgfmt program with the option --xml. +See section Invoking the msgfmt Program, for more details about how one calls +the ‘msgfmt’ program. + +

    During this merge from a PO file into an XML file, it may happen that +more escaping of special characters for XML is needed +than what msgfmt does by default. +In this case, you can enforce more escaping +either throuch an <escapeRule> ITS rule, +or through an attribute gt:escape="yes" on the particular XML element. +

    +
+ + + + + +

16.2 Localized Data Formats

+ +

Here is a list of file formats that contain localized data and that the +GNU gettext tools can manipulate. +

+ + + + +

16.2.1 Editable Message Catalogs

+ +

These file formats can be used with all of the msg* tools and with +the xgettext program. +

+

If you just want to convert among these formats, you can use the +msgcat program (with the appropriate option) or the xgettext +program. +

+ + + + +

16.2.1.1 PO - Portable Object

+ +
+
File extension
+

po +

+
+ + + + +

16.2.1.2 Java .properties

+ +
+
File extension
+

properties +

+
+ + + + +

16.2.1.3 NeXTstep/GNUstep .strings

+ +
+
File extension
+

strings +

+
+ + + + +

16.2.2 Compiled Message Catalogs

+ +

These file formats can be created through msgfmt and converted back +to PO format through msgunfmt. +

+ + + + +

16.2.2.1 MO - Machine Object

+ +
+
File extension
+

mo +

+
+ +

See section The Format of GNU MO Files for details. +

+ + + +

16.2.2.2 Java ResourceBundle

+ +
+
File extension
+

class +

+
+ +

For more information, see the section Java and the examples +hello-java, hello-java-awt, hello-java-swing. +

+ + + +

16.2.2.3 C# Satellite Assembly

+ +
+
File extension
+

dll +

+
+ +

For more information, see the section C#. +

+ + + +

16.2.2.4 C# Resource

+ +
+
File extension
+

resources +

+
+ +

For more information, see the section C#. +

+ + + +

16.2.2.5 Tcl message catalog

+ +
+
File extension
+

msg +

+
+ +

For more information, see the section Tcl - Tk's scripting language and the examples +hello-tcl, hello-tcl-tk. +

+ + + +

16.2.2.6 Qt message catalog

+ +
+
File extension
+

qm +

+
+ +

For more information, see the examples hello-c++-qt and +hello-c++-kde. +

+ + + +

16.2.3 Desktop Entry files

+ +

The programmer produces a desktop entry file template with only the +English strings. These strings get included in the POT file, by way of +xgettext (usually by listing the template in po/POTFILES.in). +The translators produce PO files, one for each language. Finally, an +msgfmt --desktop invocation collects all the translations in the +desktop entry file. +

+

For more information, see the example hello-c-gnome3. +

+ + + + +

16.2.3.1 How to handle icons in Desktop Entry files

+ +

Icons are generally locale dependent, for the following reasons: +

+
    +
  • +Icons may contain signs that are considered rude in some cultures. For +example, the high-five sign, in some cultures, is perceived as an +unfriendly “stop” sign. +
  • +Icons may contain metaphors that are culture specific. For example, a +mailbox in the U.S. looks different than mailboxes all around the world. +
  • +Icons may need to be mirrored for right-to-left locales. +
  • +Icons may contain text strings (a bad practice, but anyway). +
+ +

However, icons are not covered by GNU gettext localization, because +

    +
  • +Icons cannot be easily embedded in PO files, +
  • +The need to localize an icon is rare, and the ability to do so in a PO +file would introduce translator mistakes. +
+ +

Desktop Entry files may contain an ‘Icon’ property, and this +property is localizable. If a translator wishes to localize an icon, +she should do so by bypassing the normal workflow with PO files: +

    +
  1. +The translator contacts the package developers directly, sending them +the icon appropriate for her locale, with a request to change the +template file. +
  2. +The package developers add the icon file to their repository, and a +line +
     
    Icon[locale]=icon_file_name
    +
    +

    to the template file. +

+

This line remains in place when this template file is merged with the +translators' PO files, through msgfmt. +

+ + + +

16.2.4 XML files

+ +

See the section Preparing Rules for XML Internationalization and +Invoking the msgfmt Program, subsection “XML mode operations”. +

+ + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+

+ + This document was generated by Bruno Haible on July, 2 2025 using texi2html 1.78a. + +
+ +

+ + diff --git a/miniconda3/share/doc/gettext/gettext_17.html b/miniconda3/share/doc/gettext/gettext_17.html new file mode 100644 index 0000000000000000000000000000000000000000..c434f4f2f2840635e890eb6a1d76ff1f78dcafb0 --- /dev/null +++ b/miniconda3/share/doc/gettext/gettext_17.html @@ -0,0 +1,1386 @@ + + + + + +GNU gettext utilities: 17. Concluding Remarks + + + + + + + + + + + + + + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+ +
+ + +

17. Concluding Remarks

+ +

We would like to conclude this GNU gettext manual by presenting +an history of the Translation Project so far. We finally give +a few pointers for those who want to do further research or readings +about Native Language Support matters. +

+ + + + +

17.1 History of GNU gettext

+ +

Internationalization concerns and algorithms have been informally +and casually discussed for years in GNU, sometimes around GNU +libc, maybe around the incoming Hurd, or otherwise +(nobody clearly remembers). And even then, when the work started for +real, this was somewhat independently of these previous discussions. +

+

This all began in July 1994, when Patrick D'Cruze had the idea and +initiative of internationalizing version 3.9.2 of GNU fileutils. +He then asked Jim Meyering, the maintainer, how to get those changes +folded into an official release. That first draft was full of +#ifdefs and somewhat disconcerting, and Jim wanted to find +nicer ways. Patrick and Jim shared some tries and experimentations +in this area. Then, feeling that this might eventually have a deeper +impact on GNU, Jim wanted to know what standards were, and contacted +Richard Stallman, who very quickly and verbally described an overall +design for what was meant to become glocale, at that time. +

+

Jim implemented glocale and got a lot of exhausting feedback +from Patrick and Richard, of course, but also from Mitchum DSouza +(who wrote a catgets-like package), Roland McGrath, maybe David +MacKenzie, François Pinard, and Paul Eggert, all pushing and +pulling in various directions, not always compatible, to the extent +that after a couple of test releases, glocale was torn apart. +In particular, Paul Eggert – always keeping an eye on developments +in Solaris – advocated the use of the gettext API over +glocale's catgets-based API. +

+

While Jim took some distance and time and became dad for a second +time, Roland wanted to get GNU libc internationalized, and +got Ulrich Drepper involved in that project. Instead of starting +from glocale, Ulrich rewrote something from scratch, but +more conforming to the set of guidelines who emerged out of the +glocale effort. Then, Ulrich got people from the previous +forum to involve themselves into this new project, and the switch +from glocale to what was first named msgutils, renamed +nlsutils, and later gettext, became officially accepted +by Richard in May 1995 or so. +

+

Let's summarize by saying that Ulrich Drepper wrote GNU gettext +in April 1995. The first official release of the package, including +PO mode, occurred in July 1995, and was numbered 0.7. Other people +contributed to the effort by providing a discussion forum around +Ulrich, writing little pieces of code, or testing. These are quoted +in the THANKS file which comes with the GNU gettext +distribution. +

+

While this was being done, François adapted half a dozen of +GNU packages to glocale first, then later to gettext, +putting them in pretest, so providing along the way an effective +user environment for fine tuning the evolving tools. He also took +the responsibility of organizing and coordinating the Translation +Project. After nearly a year of informal exchanges between people from +many countries, translator teams started to exist in May 1995, through +the creation and support by Patrick D'Cruze of twenty unmoderated +mailing lists for that many native languages, and two moderated +lists: one for reaching all teams at once, the other for reaching +all willing maintainers of internationalized free software packages. +

+

François also wrote PO mode in June 1995 with the collaboration +of Greg McGary, as a kind of contribution to Ulrich's package. +He also gave a hand with the GNU gettext Texinfo manual. +

+

In 1997, Ulrich Drepper released the GNU libc 2.0, which included the +gettext, textdomain and bindtextdomain functions. +

+

In 2000, Ulrich Drepper added plural form handling (the ngettext +function) to GNU libc. Later, in 2001, he released GNU libc 2.2.x, +which is the first free C library with full internationalization support. +

+

Ulrich being quite busy in his role of General Maintainer of GNU libc, +he handed over the GNU gettext maintenance to Bruno Haible in +2000. Bruno added the plural form handling to the tools as well, added +support for UTF-8 and CJK locales, and wrote a few new tools for +manipulating PO files. +

+ + + + +

17.2 Notes on the Free Translation Project

+ +

This section contains the text that was, for a long time, distributed +as a file named ABOUT-NLS. +

+

NOTE: This documentation section is outdated. It it included +here for historical purposes only. +

+ +

Free software is going international! The Free Translation Project is +a way to get maintainers of free software, translators, and users all +together, so that free software will gradually become able to speak many +languages. A few packages already provide translations for their messages. +

+

If you found this ‘ABOUT-NLS’ file inside a distribution, you +may assume that the distributed package does use GNU gettext +internally, itself available at your nearest GNU archive site. But you +do not need to install GNU gettext prior to configuring, +installing or using this package with messages translated. +

+

Installers will find here some useful hints. These notes also explain +how users should proceed for getting the programs to use the available +translations. They tell how people wanting to contribute and work +on translations can contact the appropriate team. +

+ + + + + +

17.2.1 INSTALL Matters

+ +

Some packages are localizable when properly installed; the +programs they contain can be made to speak your own native language. +Most such packages use GNU gettext. Other packages have their +own ways to internationalization, predating GNU gettext. +

+

By default, this package will be installed to allow translation of +messages. It will automatically detect whether the system already +provides the GNU gettext functions. Installers may use special +options at configuration time for changing the default behaviour. The +command: +

+
 
./configure --disable-nls
+
+ +

will totally disable translation of messages. +

+

When you already have GNU gettext installed on your system and +run configure without an option for your new package, configure +will probably detect the previously built and installed ‘libintl’ +library and will decide to use it. If not, you may have to to use the +‘--with-libintl-prefix’ option to tell configure where to +look for it. +

+

Internationalized packages usually have many ‘po/ll.po’ +or ‘po/ll_CC.po’ +files, where +

+
    +
  • +ll gives an ISO 639 two-letter code identifying the language. +For some languages, +a two-letter code does not exist, and a three-letter code is used instead. +
  • +The optional CC is an ISO 3166 two-letter code of a country or +territory. +
+ +

Unless translations have been forbidden +at configure time by using the ‘--disable-nls’ switch, +all available translations are installed together with the package. +However, the environment variable LINGUAS may be set, prior +to configuration, to limit the installed set. +LINGUAS should then contain a space separated list of locale names +(of the form ll or ll_CC, +stating which languages or language variants are allowed. +

+ + + +

17.2.2 Using This Package

+ +

As a user, if your language has been installed for this package, you +only have to set the LANG environment variable to the appropriate +‘ll_CC’ combination. If you happen to have the LC_ALL +or some other LC_xxx environment variables set, you should unset them +before setting LANG, otherwise the setting of LANG will not +have the desired effect. Here +

+
    +
  • +‘ll’ is an ISO 639 two-letter language code. +For some languages, +a two-letter code does not exist, and a three-letter code is used instead. +
  • +‘CC’ is an ISO 3166 two-letter code of a country or territory. +
+ +

For example, let's suppose that you +speak German and live in Germany. At the shell prompt, merely execute +‘setenv LANG de_DE’ (in csh), +‘export LANG; LANG=de_DE’ (in sh) or +‘export LANG=de_DE’ (in bash). This can be done from your +‘.login’ or ‘.profile’ file, once and for all. +

+

You might think that the country code specification is redundant. But in +fact, some languages have dialects in different countries. For example, +‘de_AT’ is used for Austria, and ‘pt_BR’ for Brazil. The country +code serves to distinguish the dialects. +

+

The locale naming convention of ‘ll_CC’, with +‘ll’ denoting the language and ‘CC’ denoting the +country, is the one use on systems based on GNU libc. On other systems, +some variations of this scheme are used, such as ‘ll’ or +‘ll_CC.encoding’. You can get the list of +locales supported by your system for your language by running the command +‘locale -a | grep '^ll'’. +

+

Not all programs have translations for all languages. By default, an +English message is shown in place of a nonexistent translation. If you +understand other languages, you can set up a priority list of languages. +This is done through a different environment variable, called +LANGUAGE. GNU gettext gives preference to LANGUAGE +over LANG for the purpose of message handling, but you still +need to have LANG set to the primary language; this is required +by other parts of the system libraries. +For example, some Swedish users who would rather read translations in +German than English for when Swedish is not available, set LANGUAGE +to ‘sv:de’ while leaving LANG to ‘sv_SE’. +

+

Special advice for Norwegian users: The language code for Norwegian +bokmål changed from ‘no’ to ‘nb’ recently (in 2003). +During the transition period, while some message catalogs for this language +are installed under ‘nb’ and some older ones under ‘no’, it's +recommended for Norwegian users to set LANGUAGE to ‘nb:no’ so that +both newer and older translations are used. +

+

In the LANGUAGE environment variable, but not in the LANG +environment variable, ‘ll_CC’ combinations can be +abbreviated as ‘ll’ to denote the language's main dialect. +For example, ‘de’ is equivalent to ‘de_DE’ (German as spoken in +Germany), and ‘pt’ to ‘pt_PT’ (Portuguese as spoken in Portugal) +in this context. +

+ + + + +

17.2.3 Translating Teams

+ +

For the Free Translation Project to be a success, we need interested +people who like their own language and write it well, and who are also +able to synergize with other translators speaking the same language. +Each translation team has its own mailing list. The up-to-date list +of teams can be found at the Free Translation Project's homepage, +‘https://translationproject.org/’, in the "Teams" area. +

+

If you'd like to volunteer to work at translating messages, you +should become a member of the translating team for your own language. +The subscribing address is not the same as the list itself, it +has ‘-request’ appended. For example, speakers of Swedish can send +a message to ‘sv-request@li.org’, having this message body: +

+
 
subscribe
+
+ +

Keep in mind that team members are expected to participate +actively in translations, or at solving translational +difficulties, rather than merely lurking around. If your team does not +exist yet and you want to start one, or if you are unsure about what to +do or how to get started, please write to +‘coordinator@translationproject.org’ to reach the +coordinator for all translator teams. +

+

The English team is special. It works at improving and uniformizing +the terminology in use. Proven linguistic skills are praised +more than programming skills, here. +

+ + + +

17.2.4 Available Packages

+ +

Languages are not equally supported in all packages. The following +matrix shows the current state of internationalization, as of +May 2025. The matrix shows, in regard of each package, for which +languages PO files have been submitted to translation coordination, +with a translation percentage of at least 50%. +

+
 
Ready PO files       ab af an ar ast be bg bn bn_IN ca ckb crh cs da
+                   +-------------------------------------------------+
+a2ps               |                                           []    |
+anubis             |                                              [] |
+aspell             |             []  []             []         [] [] |
+bash               |                    []          []         []    |
+beebase            |                                                 |
+bfd                |                                                 |
+binutils           |                                []               |
+bison              |                    []          []               |
+bison-runtime      |             []     []          []            [] |
+buzztrax           |                                           [] [] |
+ccd2cue            |                                              [] |
+ccide              |                                              [] |
+cflow              |                                                 |
+chambercourt       |                                                 |
+clisp              |                                              [] |
+coreutils          |                    []          []         [] [] |
+cpio               |                    []                        [] |
+cppi               |                                              [] |
+cpplib             |                                                 |
+cryptsetup         |                                           [] [] |
+datamash           |                                              [] |
+denemo             |                                []         [] [] |
+dfarc              |                                []            [] |
+dialog             |       []    []                 []         [] [] |
+dico               |                                              [] |
+diffutils          |                    []                     [] [] |
+dink               |                                []            [] |
+direvent           |                                              [] |
+doodle             |                                           [] [] |
+dos2unix           |                                []            [] |
+dos2unix-man       |                                                 |
+e2fsprogs          |                                []         [] [] |
+enscript           |                                []            [] |
+exif               |             []                            [] [] |
+fetchmail          |                                []         [] [] |
+findutils          |                 [] []                     [] [] |
+flex               |                    []          []            [] |
+freedink           |                                []         [] [] |
+fusionforge        |                                                 |
+gas                |                                                 |
+gawk               |                    []          []               |
+gcal               |                                []            [] |
+gcc                |                                                 |
+gdbm               |                                                 |
+gettext-examples   |    []       []     []          []         [] [] |
+gettext-runtime    |             []     []          []         [] [] |
+gettext-tools      |                    []          []            [] |
+gnubik             |          []                                  [] |
+gnuchess           |                                              [] |
+gnucobol           |                                                 |
+gnulib             |                    []                           |
+gnunet             |                                                 |
+gnunet-gtk         |                                                 |
+gnutls             |                                           []    |
+gold               |                                                 |
+gphoto2            |                                           [] [] |
+gprof              |                    []                        [] |
+grep               |                 [] []          []         [] [] |
+grip               |                 [] []          []            [] |
+grub               |             []                 []            [] |
+gsasl              |                                              [] |
+gss                |                                              [] |
+gst-plugins-bad    |             []     []                     [] [] |
+gst-plugins-base   |                    []          []         [] [] |
+gst-plugins-good   |                    []          []         [] [] |
+gst-plugins-ugly   |             []     []          []         [] [] |
+gstreamer          |             []     []          []         [] [] |
+gtick              |                                           [] [] |
+gtkam              |                 []                        [] [] |
+gtkspell           |    []       []  []             []         [] [] |
+gutenprint         |                                []            [] |
+hello              |                                           []    |
+help2man           |                                              [] |
+help2man-texi      |                                                 |
+i18nparse          |                                                 |
+idutils            |                                              [] |
+kbd                |                                           []    |
+klavaro            |          []        [] []       []         [] [] |
+ld                 |                                                 |
+libc               |                 [] []          []         [] [] |
+libexif            |                                              [] |
+libextractor       |                                              [] |
+libgphoto2         |                                           [] [] |
+libgphoto2_port    |                                           [] [] |
+libiconv           |                 [] []                     [] [] |
+libidn             |                                           [] [] |
+libidn2            |                                           [] [] |
+lilypond           |                                []         [] [] |
+lordsawar          |                                []            [] |
+lynx               |                                []         [] [] |
+m4                 |                    []                           |
+mailfromd          |                                              [] |
+mailutils          |                                                 |
+make               |                    []                     [] [] |
+man-db             |             []                 []         [] [] |
+man-db-manpages    |                                                 |
+meritous           |                                              [] |
+midi-instruments   |          []                    []         [] [] |
+minicom            |                                           [] [] |
+mpop               |                                                 |
+msmtp              |                                                 |
+nano               |                                []         [] [] |
+opcodes            |                                                 |
+parted             |                                           [] [] |
+pies               |                                                 |
+procps-ng          |                                                 |
+procps-ng-man      |                                                 |
+psmisc             |                 []                        [] [] |
+psmisc-man         |                                                 |
+pspp               |          []                    []               |
+pyspread           |                                              [] |
+radius             |                                []               |
+recode             |                 []             []         [] [] |
+recutils           |                                                 |
+rush               |                                              [] |
+sarg               |                                              [] |
+savane             |                                                 |
+sed                |             []  [] []          []         [] [] |
+sharutils          |                                           []    |
+shepherd           |                                                 |
+shishi             |                                                 |
+skribilo           |                                              [] |
+solfege            |                                []         [] [] |
+solfege-manual     |                                []               |
+sudo               |             []                 []         [] [] |
+sudoers            |                                []         []    |
+sysstat            |                 []                              |
+tar                |                    []          []         [] [] |
+texinfo            |                                []         [] [] |
+texinfo_document   |                                           []    |
+tigervnc           |                    []                     []    |
+tin                |                                              [] |
+tin-man            |                                                 |
+trader             |                                              [] |
+util-linux         |                                           [] [] |
+util-linux-man     |                                                 |
+vmm                |                                                 |
+vorbis-tools       |                                           [] [] |
+wastesedge         |                                              [] |
+wcd                |                                              [] |
+wcd-man            |                                                 |
+wdiff              |                                []         [] [] |
+wget               |                 []                        [] [] |
+wget2              |                                                 |
+wincoll            |                                                 |
+wyslij-po          |                                              [] |
+xboard             |                                              [] |
+xdg-user-dirs      | [] [] [] [] []  [] []     []   [] []  []  [] [] |
+xkeyboard-config   |          []        []          []         [] [] |
+xz                 |                                []               |
+xz-man             |                                                 |
+                   +-------------------------------------------------+
+                     ab af an ar ast be bg bn bn_IN ca ckb crh cs da
+                      1  3  2  6 15  14 31  1   1   52  1   1  62 95
+
+                     de  el en en_GB eo es  et eu fa fi fr  fur ga gd
+                   +--------------------------------------------------+
+a2ps               | []  []             []  []          []            |
+anubis             | []                 []           [] []            |
+aspell             | []         []   [] []           [] []  []  []    |
+bash               | []              [] []              []      []    |
+beebase            | []                 []              []            |
+bfd                |                    []              []            |
+binutils           |                                    []            |
+bison              | []  []          [] []  []       [] []            |
+bison-runtime      | []  []          [] []  []       [] []      []    |
+buzztrax           | []                 []           [] []            |
+ccd2cue            | []              [] []              []            |
+ccide              | []              [] []           [] []  []        |
+cflow              | []              []                 []            |
+chambercourt       |     []                             []            |
+clisp              | []     []          []              []            |
+coreutils          | []                 []  []          []            |
+cpio               | []                 []           [] []      []    |
+cppi               | []              [] []           [] []            |
+cpplib             | []                                 []            |
+cryptsetup         | []                 []              []            |
+datamash           | []              [] []              []            |
+denemo             |                                                  |
+dfarc              | []              [] []           [] []  []        |
+dialog             | []  []          [] []     [] [] [] []  []  [] [] |
+dico               | []                 []           [] []            |
+diffutils          | []  []          [] []           [] []            |
+dink               | []              [] []           [] []            |
+direvent           | []              [] []              []            |
+doodle             | []              [] []           [] []      []    |
+dos2unix           | []              [] []              []  []        |
+dos2unix-man       | []                 []              []            |
+e2fsprogs          | []                 []              []            |
+enscript           | []         []   [] []           [] []      []    |
+exif               | []              [] []           [] []  []        |
+fetchmail          | ()         []   [] []              []            |
+findutils          | []  []          [] []  []       [] []            |
+flex               | []              [] []           [] []      []    |
+freedink           | []  []          [] []     []    [] []  []        |
+fusionforge        | []                 []              []            |
+gas                |                    []           [] []            |
+gawk               | []                 []           [] []            |
+gcal               | []                 []              []            |
+gcc                | []                                 []            |
+gdbm               | []              [] []              []            |
+gettext-examples   | []  []          [] []           [] []      []    |
+gettext-runtime    | []              [] []           [] []      []    |
+gettext-tools      | []                 []           [] []            |
+gnubik             | []              [] []           [] []  []        |
+gnuchess           | []              [] []              []            |
+gnucobol           | []                                 []            |
+gnulib             | []              [] []           [] []            |
+gnunet             |                    []                            |
+gnunet-gtk         | []                 []                            |
+gnutls             | []              [] []           [] []            |
+gold               |                    []           [] []            |
+gphoto2            | ()              []                 []            |
+gprof              | []              [] []           [] []      []    |
+grep               | []              [] []  []       [] []      []    |
+grip               | []                 []           [] []  []        |
+grub               | []              [] []           [] []            |
+gsasl              | []              [] []           [] []      []    |
+gss                | []              [] []           [] []      []    |
+gst-plugins-bad    | []              [] []              []  []        |
+gst-plugins-base   | []  []          [] []           [] []  []        |
+gst-plugins-good   | []  []          [] []           [] []  []        |
+gst-plugins-ugly   | []  []          [] []     []    [] []  []        |
+gstreamer          | []  []          [] []     []    [] []  []        |
+gtick              | ()              [] []           [] []      []    |
+gtkam              | ()              [] []           [] []            |
+gtkspell           | []  []          [] []     []    [] []  []  []    |
+gutenprint         | []                 []              []            |
+hello              | []                     []    [] [] []            |
+help2man           | []  []          [] []           [] []            |
+help2man-texi      | []                 []              []            |
+i18nparse          | []              [] []              ()            |
+idutils            | []              [] []           [] []      []    |
+kbd                | []  []          [] []              []            |
+klavaro            | []  []          [] []     []       []            |
+ld                 |                    []              []            |
+libc               | []                 []           [] []            |
+libexif            | []                 []              []            |
+libextractor       | []                 []              []            |
+libgphoto2         | ()                 []              []            |
+libgphoto2_port    | ()                 []     []    [] []  []        |
+libiconv           | []              [] []  []       [] []      []    |
+libidn             | []              [] []           [] []            |
+libidn2            | []              [] []              []  []        |
+lilypond           | []              [] []              []            |
+lordsawar          | []                                 []            |
+lynx               | []              []     []       [] []            |
+m4                 | []              [] []              []            |
+mailfromd          | []                                 []            |
+mailutils          | []                 []           [] []            |
+make               | []                 []           [] []      []    |
+man-db             | []              [] []              []            |
+man-db-manpages    | []                 []              []            |
+meritous           |                 []                               |
+midi-instruments   | []  []          [] []  []    [] [] []            |
+minicom            | []                 []           [] []            |
+mpop               | []              [] []              []            |
+msmtp              | []              [] []              []            |
+nano               | []              [] []           [] []      []    |
+opcodes            | []                                 []            |
+parted             | []                 []              []  []        |
+pies               | []                 []              []            |
+procps-ng          | []                 []              []            |
+procps-ng-man      |                                                  |
+psmisc             | []  []          [] []           [] []            |
+psmisc-man         | []                                 []            |
+pspp               | []  []             []              []            |
+pyspread           | []                                 []            |
+radius             |                    []              []            |
+recode             | []              [] []           [] []      []    |
+recutils           | []                              [] []            |
+rush               | []                 []           [] []            |
+sarg               | []                 []              []            |
+savane             | []                 []              []            |
+sed                | []  []          [] []  []       [] []      []    |
+sharutils          | []              []     []          []            |
+shepherd           | []                                               |
+shishi             | []                              [] []            |
+skribilo           |                 [] []              []  []        |
+solfege            | []              [] []  []    [] [] []            |
+solfege-manual     | []              [] []  []          []            |
+sudo               | []              [] []           [] []  []        |
+sudoers            | []              []              [] []            |
+sysstat            | []              []              [] []  []        |
+tar                | []              [] []  []       [] []      []    |
+texinfo            | []              [] []              []            |
+texinfo_document   |                    []              []            |
+tigervnc           | []                 []           [] []  []        |
+tin                | []                     []          []            |
+tin-man            | []         []                                    |
+trader             | []         []   []              [] []            |
+util-linux         | []                 []              []            |
+util-linux-man     | []                                 []            |
+vmm                |                                                  |
+vorbis-tools       | []              [] []              []            |
+wastesedge         |                                    []            |
+wcd                | []              [] []           [] []  []        |
+wcd-man            | []                                 []            |
+wdiff              | []              [] []  []       [] []      []    |
+wget               | []              [] []  []       [] []      []    |
+wget2              | []                 []              []            |
+wincoll            | []  []             []              []            |
+wyslij-po          | []              [] []           [] []            |
+xboard             | []                 []              []            |
+xdg-user-dirs      | []  []          [] []  [] [] [] [] []  []  [] [] |
+xkeyboard-config   | []              [] []           [] []  []        |
+xz                 | []              [] []           []               |
+xz-man             | []                                 []            |
+                   +--------------------------------------------------+
+                     de  el en en_GB eo es  et eu fa fi fr  fur ga gd
+                     131 23  1   5   81 121 19  8  5 74 142 25  26  2
+
+                     gl gu he hi hr hu hy id is it ja ka kk kn ko ku
+                   +-------------------------------------------------+
+a2ps               |             [] []             []          []    |
+anubis             |             [] []    []    []                   |
+aspell             |             [] []    []    [] []                |
+bash               |             [] []                         []    |
+beebase            |                            ()                   |
+bfd                |                                                 |
+binutils           |                                                 |
+bison              |                               []                |
+bison-runtime      | []          [] []    []    [] [] []             |
+buzztrax           |                                                 |
+ccd2cue            |                []                               |
+ccide              |             [] []                []             |
+cflow              |                                                 |
+chambercourt       |                                                 |
+clisp              |                                                 |
+coreutils          |             [] []             []          []    |
+cpio               |             [] []    []    [] []          []    |
+cppi               | []          [] []          [] [] []             |
+cpplib             |                                                 |
+cryptsetup         |                               []                |
+datamash           |                                                 |
+denemo             |                                                 |
+dfarc              |             [] []          []                   |
+dialog             | []          [] []    [] [] [] [] []          [] |
+dico               |                                                 |
+diffutils          |             [] []    []    [] [] []       []    |
+dink               |                []                               |
+direvent           |                []                               |
+doodle             |                            []                   |
+dos2unix           |                []             [] []       []    |
+dos2unix-man       |                                           []    |
+e2fsprogs          |                []                               |
+enscript           |             []       []                         |
+exif               | []          [] []    [] [] [] [] []       []    |
+fetchmail          |                      []    [] []                |
+findutils          |             [] []    []    []    []       []    |
+flex               |                                                 |
+freedink           |             [] []    []    []                   |
+fusionforge        |                                                 |
+gas                |                      []                         |
+gawk               |                      []    ()             []    |
+gcal               |                                                 |
+gcc                |                                                 |
+gdbm               |                                  []             |
+gettext-examples   | []          [] []    []    [] [] []             |
+gettext-runtime    | []          [] []          [] []          []    |
+gettext-tools      |             []       []    [] []          []    |
+gnubik             | []    []    []             []                   |
+gnuchess           | []                                              |
+gnucobol           |                                                 |
+gnulib             |                            []    []             |
+gnunet             |                                                 |
+gnunet-gtk         |                                                 |
+gnutls             |                            []    []             |
+gold               |                                                 |
+gphoto2            |                []    []    [] [] []       []    |
+gprof              |                []    []    []    []             |
+grep               | []          [] []    []    [] [] []       []    |
+grip               |                []          [] []          []    |
+grub               | []    []    [] []    []    []    []       []    |
+gsasl              |                []    []    []    []             |
+gss                |             [] []    []    []    []             |
+gst-plugins-bad    |             [] []    []    []    []             |
+gst-plugins-base   | []          [] []    []    []    []             |
+gst-plugins-good   | []          [] []    []    [] [] []             |
+gst-plugins-ugly   | []          [] []    []    [] [] []             |
+gstreamer          | []          [] []    []    []                   |
+gtick              | []             []    []    []                   |
+gtkam              |       []       []    [] [] [] []                |
+gtkspell           | []    []    [] [] [] [] [] [] [] []             |
+gutenprint         | []          [] []          []    []             |
+hello              |             []                   []             |
+help2man           |             []             [] []          []    |
+help2man-texi      |                                                 |
+i18nparse          |                                  []             |
+idutils            |                []    []          []             |
+kbd                |                      []                         |
+klavaro            | []          [] []    []    []       []          |
+ld                 |                                                 |
+libc               | []          []       []    [] []          []    |
+libexif            |                            []                   |
+libextractor       |                                                 |
+libgphoto2         |                                                 |
+libgphoto2_port    |                            [] [] []             |
+libiconv           | []          [] []    []    [] [] []       []    |
+libidn             |             [] []    []    []             []    |
+libidn2            |                []    []          []       []    |
+lilypond           |                            [] []                |
+lordsawar          |                               []                |
+lynx               |                []    []    [] []                |
+m4                 |                                           []    |
+mailfromd          |                                                 |
+mailutils          |                                                 |
+make               |             []       []    [] []          []    |
+man-db             |                      []    [] []          []    |
+man-db-manpages    |                      []                   []    |
+meritous           |                                                 |
+midi-instruments   | []    []    [] [] [] [] [] [] [] []       [] [] |
+minicom            |                []    []       [] []       []    |
+mpop               |                                                 |
+msmtp              |                                                 |
+nano               | []          [] []    [] [] [] []          []    |
+opcodes            |                                                 |
+parted             |                []    []    [] [] []       []    |
+pies               |                                                 |
+procps-ng          |                                           []    |
+procps-ng-man      |                                                 |
+psmisc             |             [] []    []    []    []       []    |
+psmisc-man         |             []                            []    |
+pspp               |                []             []                |
+pyspread           |                                                 |
+radius             |                      []                         |
+recode             | []    []    [] []    []    []                   |
+recutils           |                                                 |
+rush               |                                                 |
+sarg               |                                  []             |
+savane             |       []                                        |
+sed                | []          [] []    []    [] [] []       []    |
+sharutils          |                                                 |
+shepherd           |                                                 |
+shishi             |                                                 |
+skribilo           |                []                               |
+solfege            | []                         []                   |
+solfege-manual     |                                                 |
+sudo               | []          [] []    []    [] [] []       []    |
+sudoers            |             []       []    [] []          []    |
+sysstat            |             []       []    []    []       []    |
+tar                |             [] []    []    [] []          []    |
+texinfo            |             []             []                   |
+texinfo_document   |             []                   []             |
+tigervnc           |       []             []          []       []    |
+tin                |                                                 |
+tin-man            |                                                 |
+trader             |             [] []                               |
+util-linux         |             []                []          []    |
+util-linux-man     |                                                 |
+vmm                |                                                 |
+vorbis-tools       |             []       []          []             |
+wastesedge         |                            []                   |
+wcd                |                                                 |
+wcd-man            |                                                 |
+wdiff              | []             []          []                   |
+wget               |             [] []    []    [] []          []    |
+wget2              |             []       []       []          []    |
+wincoll            |                                                 |
+wyslij-po          | []          [] []    []                         |
+xboard             |                                                 |
+xdg-user-dirs      | [] [] [] [] [] []    [] [] [] [] [] [] [] [] [] |
+xkeyboard-config   | []    []    [] []    []    []    []       []    |
+xz                 |             [] []          []    []       []    |
+xz-man             |                            []             []    |
+                   +-------------------------------------------------+
+                     gl gu he hi hr hu hy id is it ja ka kk kn ko ku
+                     30  1 10  1 58 62  2 59  7 65 45 44  2  1 45  3
+
+                     ky lg lt lv mk ml mn mr ms mt nb ne nl nn or pa
+                   +-------------------------------------------------+
+a2ps               |                         []    []    []          |
+anubis             |                         []    []    []          |
+aspell             |                   []                []          |
+bash               |                               []    []          |
+beebase            |                                     []          |
+bfd                |                                                 |
+binutils           |                                                 |
+bison              |                         []                      |
+bison-runtime      | []    [] []             []    []    []          |
+buzztrax           |                                                 |
+ccd2cue            |                                                 |
+ccide              |          []                         []          |
+cflow              |                                                 |
+chambercourt       |                                                 |
+clisp              |                                     []          |
+coreutils          |                               []    []          |
+cpio               |                                     []          |
+cppi               |                                                 |
+cpplib             |                                                 |
+cryptsetup         |                                                 |
+datamash           |                               []    []          |
+denemo             |                                     []          |
+dfarc              |             []                      []          |
+dialog             |       [] []             []    []    []          |
+dico               |                                                 |
+diffutils          |          []             []    []    []          |
+dink               |                                     []          |
+direvent           |                                     []          |
+doodle             |                                     []          |
+dos2unix           |                               []    []          |
+dos2unix-man       |                                     []          |
+e2fsprogs          |                                     []          |
+enscript           |                                     []          |
+exif               |          []             []          []          |
+fetchmail          |                                     []          |
+findutils          |                               []    []          |
+flex               |                                     []          |
+freedink           |          []                   []    []          |
+fusionforge        |                                                 |
+gas                |                                                 |
+gawk               |                                     []          |
+gcal               |                                                 |
+gcc                |                                                 |
+gdbm               |                                                 |
+gettext-examples   | []       []             [] [] []    [] []       |
+gettext-runtime    |                               []    [] []       |
+gettext-tools      |                                                 |
+gnubik             |                               []    []          |
+gnuchess           |                               []    []          |
+gnucobol           |                                                 |
+gnulib             |                                     []          |
+gnunet             |                                                 |
+gnunet-gtk         |                                                 |
+gnutls             |                         []          []          |
+gold               |                                                 |
+gphoto2            |                                     []          |
+gprof              |                         []          []          |
+grep               |                               []    []          |
+grip               |                               []    []          |
+grub               |       []                      []    []          |
+gsasl              |                                     []          |
+gss                |                                                 |
+gst-plugins-bad    |          []                   []    []          |
+gst-plugins-base   |          []                   []    []          |
+gst-plugins-good   |          []                   []    []          |
+gst-plugins-ugly   |          []             [] [] []    []          |
+gstreamer          |       [] []                   []    []          |
+gtick              |                               []    []          |
+gtkam              |                               []    []       [] |
+gtkspell           | []    [] []       []    []    []    []          |
+gutenprint         |                                     []          |
+hello              |          []                   []    []          |
+help2man           |                               []                |
+help2man-texi      |                                                 |
+i18nparse          |                                     []          |
+idutils            |                               []    []          |
+kbd                |                                                 |
+klavaro            |                               []    []       [] |
+ld                 |                                                 |
+libc               |                                     []          |
+libexif            |                                     []          |
+libextractor       |                                     []          |
+libgphoto2         |                                     []          |
+libgphoto2_port    |                                     []          |
+libiconv           |       []                            []          |
+libidn             |                                     []          |
+libidn2            |          []                         []          |
+lilypond           |                                     []          |
+lordsawar          |                                                 |
+lynx               |                                     []          |
+m4                 |                                     []          |
+mailfromd          |                                                 |
+mailutils          |                                                 |
+make               |                                     []          |
+man-db             |                                     []          |
+man-db-manpages    |                                                 |
+meritous           |                                                 |
+midi-instruments   |       []          []    []       [] []          |
+minicom            |                               []                |
+mpop               |                                                 |
+msmtp              |                                                 |
+nano               |                         []    []    []          |
+opcodes            |                                                 |
+parted             |                                     []          |
+pies               |                                                 |
+procps-ng          |                                                 |
+procps-ng-man      |                                                 |
+psmisc             |                                     []          |
+psmisc-man         |                                                 |
+pspp               |       []                            []          |
+pyspread           |                                        []       |
+radius             |                                     []          |
+recode             |                               []    []          |
+recutils           |                                     []          |
+rush               |                                     []          |
+sarg               |                                                 |
+savane             |                                                 |
+sed                |                               []    []          |
+sharutils          |                                     []          |
+shepherd           |                                                 |
+shishi             |                                                 |
+skribilo           |                                                 |
+solfege            |                               []    []          |
+solfege-manual     |                                     []          |
+sudo               |                               []    []          |
+sudoers            |                               []                |
+sysstat            |          []                   []    []          |
+tar                | []                            []    []          |
+texinfo            |                               []    []          |
+texinfo_document   |                                                 |
+tigervnc           |                                                 |
+tin                |                                                 |
+tin-man            |                                                 |
+trader             |                               []                |
+util-linux         |                                     []          |
+util-linux-man     |                                                 |
+vmm                |                                                 |
+vorbis-tools       |                                     []          |
+wastesedge         |                                     []          |
+wcd                |                                     []          |
+wcd-man            |                                     []          |
+wdiff              |                         []    []    []          |
+wget               |                               []    []          |
+wget2              |                                                 |
+wincoll            |                                                 |
+wyslij-po          |                                     [] []       |
+xboard             |                                     []          |
+xdg-user-dirs      | [] [] [] [] [] []    []       []    [] [] [] [] |
+xkeyboard-config   |       []                            []          |
+xz                 |                                     []          |
+xz-man             |                                                 |
+                   +-------------------------------------------------+
+                     ky lg lt lv mk ml mn mr ms mt nb ne nl nn or pa
+                      5  1 10 17  2  1  3  1 15  2 44  1 95  5  1  3
+
+                     pl pt pt_BR ro  ru rw sk sl sq sr  sv  sw ta te
+                   +-------------------------------------------------+
+a2ps               | []          []  []             []  []           |
+anubis             | [] []       []  []             []  []           |
+aspell             | [] []  []   []  []    [] [] [] []  []           |
+bash               | [] []  []   []                 []  []           |
+beebase            |             []                 []  []           |
+bfd                |    []       []  []             []  []           |
+binutils           |    []       []  []             []  []           |
+bison              | [] []  []                      []  []           |
+bison-runtime      | [] []  []   []  []       [] [] []  []     []    |
+buzztrax           |        []   []                 []  []           |
+ccd2cue            |        []   []                 []  []           |
+ccide              | []          []  []             []  []           |
+cflow              | []     []   []                 []  []           |
+chambercourt       |        []   []                 []  []           |
+clisp              |                 []             []  []           |
+coreutils          | [] []  []   []  []       []    []  []           |
+cpio               | [] []  []   []  []             []  []           |
+cppi               | []     []   []                 []  []           |
+cpplib             |             []                     []           |
+cryptsetup         | []          []  []             []  []           |
+datamash           |        []   []                 []  []           |
+denemo             |                                                 |
+dfarc              | []     []   []                 []  []           |
+dialog             | [] []  []   []  []    [] [] [] []  []  []       |
+dico               | []     []   []                 []  []           |
+diffutils          | [] []  []   []  []             []  []           |
+dink               |                                    []           |
+direvent           | []     []   []                 []  []           |
+doodle             |        []   []              [] []  []           |
+dos2unix           | []     []   []  []             []  []           |
+dos2unix-man       | []     []   []                 []  []           |
+e2fsprogs          | [] []       []                 []  []           |
+enscript           | []     []   []  []       []    []  []           |
+exif               | [] []  []   []  []    []       []  []           |
+fetchmail          | []          []  []          [] []  []           |
+findutils          | [] []  []   []  []       []    []  []           |
+flex               | [] []  []   []  []             []  []           |
+freedink           | []     []   []  []       []    []  []           |
+fusionforge        |                                                 |
+gas                |             []  []                 []           |
+gawk               | [] []  []   []                 []  []           |
+gcal               |             []                 []  []           |
+gcc                |                 []                 []           |
+gdbm               | []     []   []  []             []  []           |
+gettext-examples   | [] []  []   []  []    [] [] [] []  []     []    |
+gettext-runtime    | [] []  []   []  []    [] []    []  []           |
+gettext-tools      | [] []  []   []  []    [] []    []  []           |
+gnubik             | [] []  []   []           []    []  []           |
+gnuchess           |        []   []                 []  []           |
+gnucobol           |                                []               |
+gnulib             | [] []  []   []  []             []  []           |
+gnunet             |                                []               |
+gnunet-gtk         |                                []               |
+gnutls             | []     []   []                 []  []           |
+gold               |             []                 []               |
+gphoto2            | []     []   []  []             []  []           |
+gprof              |        []   []  []             []  []           |
+grep               | [] []  []   []  []    [] []    []  []     []    |
+grip               | []     []   []  []             []               |
+grub               | [] []  []   []  []       []    []  []           |
+gsasl              | []     []   []        []       []  []           |
+gss                | []     []   []        []       []  []           |
+gst-plugins-bad    | []     []   []  []    [] []    []  []           |
+gst-plugins-base   | []     []   []  []    [] []    []  []           |
+gst-plugins-good   | []     []   []  []    [] []    []  []           |
+gst-plugins-ugly   | []     []   []  []    [] [] [] []  []     []    |
+gstreamer          | []     []   []  []    [] []    []  []           |
+gtick              | []     []   []  []    []       []  []           |
+gtkam              | [] []  []   []  []    []       []  []           |
+gtkspell           | [] []  []   []  []    [] [] [] []  []     []    |
+gutenprint         |             []  []    [] []        []           |
+hello              | [] []  []   []  []    []       []  []     []    |
+help2man           | []     []   []  []             []  []           |
+help2man-texi      | []     []   []                 []  []           |
+i18nparse          |        []   []           []        []           |
+idutils            | []     []   []  []             []  []           |
+kbd                | [] []  []   []  []             []  []           |
+klavaro            | [] []  []   []  []    [] []    []  []           |
+ld                 |        []   []  []             []               |
+libc               | [] []  []   []  []    []       []  []           |
+libexif            | []          []        []       []  []           |
+libextractor       | []     []   []                 []               |
+libgphoto2         | []          []                     []           |
+libgphoto2_port    | []     []   []  []    []       []  []           |
+libiconv           | []     []   []  []    [] []    []  []           |
+libidn             | []     []   []                 []  []           |
+libidn2            | []     []   []  []             []  []           |
+lilypond           |             []                     []           |
+lordsawar          |                 []                 []           |
+lynx               |        []   []  []                 []           |
+m4                 | []     []   []                 []  []           |
+mailfromd          | []     []   []                 []               |
+mailutils          | []     []   []                 []               |
+make               | [] []  []   []  []             []  []           |
+man-db             | [] []  []   []  []             []  []           |
+man-db-manpages    | [] []  []   []  []             []  []           |
+meritous           |        []   []                 []  []           |
+midi-instruments   | [] []  []   []  []    [] []    []  []           |
+minicom            | []     []   []  []             []  []           |
+mpop               |        []   []  []             []  []           |
+msmtp              |        []   []  []             []  []           |
+nano               | [] []  []   []  []    []    [] []  []           |
+opcodes            |        []   []                 []  []           |
+parted             | [] []  []   []  []    [] []    []  []           |
+pies               | []     []   []                 []               |
+procps-ng          | []     []   []                     []           |
+procps-ng-man      |             []                     []           |
+psmisc             | [] []  []   []  []             []  []           |
+psmisc-man         |        []   []  []             []  []           |
+pspp               |                 []                 []     []    |
+pyspread           |        []                      []  []           |
+radius             | []              []             []               |
+recode             | [] []  []   []  []    [] []    []  []           |
+recutils           |        []   []                 []  []           |
+rush               | []     []   []                 []  []           |
+sarg               |        []   []  []             []               |
+savane             |        []   []  ()                              |
+sed                | [] []  []   []  []    [] []    []  []           |
+sharutils          | []     []   []                 []  []           |
+shepherd           |             []        []       []  []           |
+shishi             | []          []                 []  []           |
+skribilo           |        []   []                 []  []           |
+solfege            | []     []   []  []    []           []           |
+solfege-manual     | []     []   []                     []           |
+sudo               | [] []  []   []  []             []  []           |
+sudoers            | [] []  []   []  []             []  []           |
+sysstat            |    []  []   []  []             []  []           |
+tar                | [] []  []   []  []       []    []  []           |
+texinfo            | [] []  []   []  []    []       []  []           |
+texinfo_document   | [] []  []   []        []       []  []           |
+tigervnc           |             []  []    []       []  []           |
+tin                |                 []                              |
+tin-man            |                                                 |
+trader             |        []   []  []             []  []           |
+util-linux         | [] []  []   []                 []  []           |
+util-linux-man     | []          []                 []               |
+vmm                |             []                 []               |
+vorbis-tools       | []     []   []           []    []  []           |
+wastesedge         |        []                          []           |
+wcd                |        []   []                 []  []           |
+wcd-man            |        []   []                 []  []           |
+wdiff              | []     []   []  []       []    []  []           |
+wget               | [] []  []   []  []    []       []  []           |
+wget2              | []          []  []             []  []           |
+wincoll            |        []   []        []       []  []           |
+wyslij-po          | []     []   []                 []  []           |
+xboard             | []          []  []             []  []           |
+xdg-user-dirs      | [] []  []   []  []    [] [] [] []  []     [] [] |
+xkeyboard-config   | [] []  []   []  []       [] [] []  []           |
+xz                 | [] []  []   []                 []  []           |
+xz-man             |        []   []                 []               |
+                   +-------------------------------------------------+
+                     pl pt pt_BR ro  ru rw sk sl sq sr  sv  sw ta te
+                     99 49  113  135 85  0 37 32 11 130 131  1  8  1
+
+                     tg th tr uk  ur vi wa wo zh_CN zh_HK zh_TW
+                   +--------------------------------------------+
+a2ps               |    []    []                                | 20
+anubis             |       [] []     []                         | 21
+aspell             |          []     [] []     []               | 34
+bash               |          []     []        []          []   | 23
+beebase            |          []                                |  8
+bfd                |          []                                |  8
+binutils           |          []                                |  8
+bison              |          []                           []   | 18
+bison-runtime      |    [] [] []     []        []          []   | 41
+buzztrax           |                 []        []               | 12
+ccd2cue            |    []    []     []        []               | 14
+ccide              |          []     []        []               | 20
+cflow              |          []               []               | 10
+chambercourt       |          []                                |  7
+clisp              |                                            | 13
+coreutils          |       [] []     []        []          []   | 27
+cpio               |       [] []     []        []               | 25
+cppi               |          []     []        []               | 20
+cpplib             |          []               []               |  6
+cryptsetup         |          []               []               | 13
+datamash           |          []                                | 12
+denemo             |                           []    []    []   |  7
+dfarc              |                 []                         | 19
+dialog             |    [] [] []     [] []     []          []   | 48
+dico               |          []                                | 11
+diffutils          |       [] []     []        []          []   | 32
+dink               |       []                                   | 11
+direvent           |          []     []                         | 14
+doodle             |          []     []        []               | 18
+dos2unix           |          []     []        []          []   | 23
+dos2unix-man       |          []               []               | 12
+e2fsprogs          |          []     []        []               | 16
+enscript           |       [] []     []                         | 22
+exif               |       [] []     []        []               | 33
+fetchmail          |                 []        []               | 19
+findutils          |       [] []     []        []          []   | 32
+flex               |       [] []     []        []          []   | 22
+freedink           |    []           []                         | 27
+fusionforge        |                                            |  3
+gas                |          []                                |  8
+gawk               |       [] []     []        []               | 19
+gcal               |       []                  []               | 10
+gcc                |          []                                |  5
+gdbm               |          []     []                         | 13
+gettext-examples   |       [] []     []        []    []    []   | 44
+gettext-runtime    |       [] []     []        []          []   | 34
+gettext-tools      |       [] []     []        []          []   | 26
+gnubik             |          []     []        []               | 24
+gnuchess           |          []     []        []               | 15
+gnucobol           |                                            |  3
+gnulib             |          []               []          []   | 19
+gnunet             |                                            |  2
+gnunet-gtk         |                                            |  3
+gnutls             |          []     []        []               | 18
+gold               |          []                                |  6
+gphoto2            |          []     []        []          []   | 21
+gprof              |       [] []     []                         | 22
+grep               |    [] [] []     []        []          []   | 38
+grip               |          []     []        []    []    []   | 25
+grub               |       [] []     []        []               | 31
+gsasl              |          []     []        []               | 21
+gss                |                 []        []               | 20
+gst-plugins-bad    |       [] []     []        []          []   | 30
+gst-plugins-base   |       [] []     []        []               | 32
+gst-plugins-good   |       [] []     []        []          []   | 34
+gst-plugins-ugly   |       [] []     []        []          []   | 40
+gstreamer          |       [] []     []        []          []   | 35
+gtick              |          []     []        []               | 23
+gtkam              |          []     []        []               | 27
+gtkspell           |    [] [] []     [] []     []    []    []   | 51
+gutenprint         |       [] []               []               | 19
+hello              |    []    []               []               | 23
+help2man           |          []     []        []               | 21
+help2man-texi      |          []                                |  9
+i18nparse          |          []                                | 10
+idutils            |          []     []        []               | 21
+kbd                |          []                                | 15
+klavaro            |       [] []  [] []    []  []               | 36
+ld                 |          []                                |  7
+libc               |       [] []     []        []          []   | 29
+libexif            |          []     []                         | 13
+libextractor       |          []     []                         | 11
+libgphoto2         |          []     []                         | 10
+libgphoto2_port    |          []     []        []          []   | 22
+libiconv           |          []     [] []     []          []   | 34
+libidn             |          []     []        []               | 21
+libidn2            |          []               []               | 21
+lilypond           |                           []               | 13
+lordsawar          |       []                                   |  8
+lynx               |       [] []     []                         | 20
+m4                 |          []               []               | 14
+mailfromd          |          []     []                         |  9
+mailutils          |          []     []                         | 10
+make               |          []     []        []          []   | 25
+man-db             |       [] []     []        []          []   | 25
+man-db-manpages    |       [] []               []               | 15
+meritous           |                                            |  6
+midi-instruments   |    [] [] []     []        []          []   | 44
+minicom            |                 []                    []   | 20
+mpop               |          []                                | 10
+msmtp              |          []                                | 10
+nano               |       [] []     []        []          []   | 34
+opcodes            |          []                                |  7
+parted             |       [] []     []        []          []   | 27
+pies               |          []     []                         |  9
+procps-ng          |          []     []        []               | 11
+procps-ng-man      |          []               []               |  4
+psmisc             |          []     []        []          []   | 27
+psmisc-man         |          []                                | 10
+pspp               |    []    []               []               | 16
+pyspread           |          []                                |  8
+radius             |          []     []                         | 10
+recode             |       [] []     []        []               | 31
+recutils           |          []     []                         | 10
+rush               |          []     []        []               | 14
+sarg               |                                            |  9
+savane             |          []                                |  7
+sed                |       [] []     []        []          []   | 38
+sharutils          |          []     []        []               | 14
+shepherd           |          []                                |  6
+shishi             |                 []        []               |  9
+skribilo           |          []                                | 11
+solfege            |       []        []        []               | 23
+solfege-manual     |       []                                   | 12
+sudo               |       [] []     []        []          []   | 32
+sudoers            |          []               []          []   | 22
+sysstat            |       [] []     []        []               | 24
+tar                |       [] []     []        []          []   | 33
+texinfo            |       [] []     []                         | 22
+texinfo_document   |          []                                | 13
+tigervnc           |       [] []               []          []   | 20
+tin                |       []                  []          []   |  8
+tin-man            |                                            |  2
+trader             |                                            | 14
+util-linux         |       [] []               []               | 18
+util-linux-man     |          []                                |  6
+vmm                |          []                                |  3
+vorbis-tools       |                 []                         | 17
+wastesedge         |       []                                   |  7
+wcd                |          []     []        []               | 15
+wcd-man            |          []                                |  8
+wdiff              |          []     []        []          []   | 27
+wget               |       [] []     []        []          []   | 31
+wget2              |          []               []               | 14
+wincoll            |          []                                | 10
+wyslij-po          |          []     []        []               | 20
+xboard             |       [] []               []               | 13
+xdg-user-dirs      |    [] [] []     [] []     []    []    []   | 72
+xkeyboard-config   |       [] []               []               | 33
+xz                 |       [] []     []        []          []   | 22
+xz-man             |          []                                |  8
+                   +--------------------------------------------+
+  85 teams           tg th tr uk  ur vi wa wo zh_CN zh_HK zh_TW
+ 151 domains          0 11 52 125  1 87  5  1  90     5    42    2840
+
+ +

Some counters in the preceding matrix are higher than the number of visible +blocks let us expect. This is because a few extra PO files are used for +implementing regional variants of languages, or language dialects. +

+

For a PO file in the matrix above to be effective, the package to which +it applies should also have been internationalized and distributed as +such by its maintainer. There might be an observable lag between the +mere existence a PO file and its wide availability in a distribution. +

+

If May 2025 seems to be old, you may fetch a more recent copy +of this ‘ABOUT-NLS’ file on most GNU archive sites. The most +up-to-date matrix with full percentage details can be found at +‘https://translationproject.org/extra/matrix.html’. +

+ + + + +

17.2.5 Using gettext in new packages

+ +

If you are writing a freely available program and want to internationalize +it you are welcome to use GNU ‘gettext’ in your package. Of course +you have to respect the GNU Lesser General Public License which covers +the use of the GNU ‘gettext’ library. This means in particular that +even non-free programs can use libintl as a shared library, whereas +only free software can use libintl as a static library or use +modified versions of libintl. +

+

Once the sources are changed appropriately and the setup can handle the +use of gettext the only thing missing are the translations. The +Free Translation Project is also available for packages which are not +developed inside the GNU project. Therefore the information given above +applies also for every other Free Software Project. Contact +‘coordinator@translationproject.org’ to make the ‘.pot’ files +available to the translation teams. +

+ + + +

17.3 Related Readings

+ +

NOTE: This documentation section is outdated and needs to be +revised. +

+

Eugene H. Dorr (‘dorre@well.com’) maintains an interesting +bibliography on internationalization matters, called +Internationalization Reference List, which is available as: +

 
ftp://ftp.ora.com/pub/examples/nutshell/ujip/doc/i18n-books.txt
+
+ +

Michael Gschwind (‘mike@vlsivie.tuwien.ac.at’) maintains a +Frequently Asked Questions (FAQ) list, entitled Programming for +Internationalisation. This FAQ discusses writing programs which +can handle different language conventions, character sets, etc.; +and is applicable to all character set encodings, with particular +emphasis on ISO 8859-1. It is regularly published in Usenet +groups ‘comp.unix.questions’, ‘comp.std.internat’, +‘comp.software.international’, ‘comp.lang.c’, +‘comp.windows.x’, ‘comp.std.c’, ‘comp.answers’ +and ‘news.answers’. The home location of this document is: +

 
ftp://ftp.vlsivie.tuwien.ac.at/pub/8bit/ISO-programming
+
+ +

Patrick D'Cruze (‘pdcruze@li.org’) wrote a tutorial about NLS +matters, and Jochen Hein (‘Hein@student.tu-clausthal.de’) took +over the responsibility of maintaining it. It may be found as: +

 
ftp://sunsite.unc.edu/pub/Linux/utils/nls/catalogs/Incoming/...
+     ...locale-tutorial-0.8.txt.gz
+
+

This site is mirrored in: +

 
ftp://ftp.ibp.fr/pub/linux/sunsite/
+
+ +

A French version of the same tutorial should be findable at: +

 
ftp://ftp.ibp.fr/pub/linux/french/docs/
+
+

together with French translations of many Linux-related documents. +

+ + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+

+ + This document was generated by Bruno Haible on July, 2 2025 using texi2html 1.78a. + +
+ +

+ + diff --git a/miniconda3/share/doc/gettext/gettext_18.html b/miniconda3/share/doc/gettext/gettext_18.html new file mode 100644 index 0000000000000000000000000000000000000000..b0ed2c1d821da34fa2a06dea035e1d1d6ba1d930 --- /dev/null +++ b/miniconda3/share/doc/gettext/gettext_18.html @@ -0,0 +1,846 @@ + + + + + +GNU gettext utilities: A. Language Codes + + + + + + + + + + + + + + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+ +
+ + +

A. Language Codes

+ +

The ISO 639 standard defines two-letter codes for many languages, and +three-letter codes for more rarely used languages. +All abbreviations for languages used in the Translation Project should +come from this standard. +

+ + + + +

A.1 Usual Language Codes

+ +

For the commonly used languages, the ISO 639-1 standard defines two-letter +codes. +

+
+
aa
+

Afar. +

+
ab
+

Abkhazian. +

+
ae
+

Avestan. +

+
af
+

Afrikaans. +

+
ak
+

Akan. +

+
am
+

Amharic. +

+
an
+

Aragonese. +

+
ar
+

Arabic. +

+
as
+

Assamese. +

+
av
+

Avaric. +

+
ay
+

Aymara. +

+
az
+

Azerbaijani. +

+
ba
+

Bashkir. +

+
be
+

Belarusian. +

+
bg
+

Bulgarian. +

+
bh
+

Bihari languages. +

+
bi
+

Bislama. +

+
bm
+

Bambara. +

+
bn
+

Bengali. +

+
bo
+

Tibetan. +

+
br
+

Breton. +

+
bs
+

Bosnian. +

+
ca
+

Catalan; Valencian. +

+
ce
+

Chechen. +

+
ch
+

Chamorro. +

+
co
+

Corsican. +

+
cr
+

Cree. +

+
cs
+

Czech. +

+
cu
+

Church Slavic; Old Slavonic; Church Slavonic; Old Bulgarian; Old Church Slavonic. +

+
cv
+

Chuvash. +

+
cy
+

Welsh. +

+
da
+

Danish. +

+
de
+

German. +

+
dv
+

Divehi; Dhivehi; Maldivian. +

+
dz
+

Dzongkha. +

+
ee
+

Ewe. +

+
el
+

Greek, Modern (1453-). +

+
en
+

English. +

+
eo
+

Esperanto. +

+
es
+

Spanish; Castilian. +

+
et
+

Estonian. +

+
eu
+

Basque. +

+
fa
+

Persian. +

+
ff
+

Fulah. +

+
fi
+

Finnish. +

+
fj
+

Fijian. +

+
fo
+

Faroese. +

+
fr
+

French. +

+
fy
+

Western Frisian. +

+
ga
+

Irish. +

+
gd
+

Gaelic; Scottish Gaelic. +

+
gl
+

Galician. +

+
gn
+

Guarani. +

+
gu
+

Gujarati. +

+
gv
+

Manx. +

+
ha
+

Hausa. +

+
he
+

Hebrew. +

+
hi
+

Hindi. +

+
ho
+

Hiri Motu. +

+
hr
+

Croatian. +

+
ht
+

Haitian; Haitian Creole. +

+
hu
+

Hungarian. +

+
hy
+

Armenian. +

+
hz
+

Herero. +

+
ia
+

Interlingua (International Auxiliary Language Association). +

+
id
+

Indonesian. +

+
ie
+

Interlingue; Occidental. +

+
ig
+

Igbo. +

+
ii
+

Sichuan Yi; Nuosu. +

+
ik
+

Inupiak. +

+
io
+

Ido. +

+
is
+

Icelandic. +

+
it
+

Italian. +

+
iu
+

Inuktitut. +

+
ja
+

Japanese. +

+
jv
+

Javanese. +

+
ka
+

Georgian. +

+
kg
+

Kongo. +

+
ki
+

Kikuyu; Gikuyu. +

+
kj
+

Kuanyama; Kwanyama. +

+
kk
+

Kazakh. +

+
kl
+

Kalaallisut; Greenlandic. +

+
km
+

Central Khmer. +

+
kn
+

Kannada. +

+
ko
+

Korean. +

+
kr
+

Kanuri. +

+
ks
+

Kashmiri. +

+
ku
+

Kurdish. +

+
kv
+

Komi. +

+
kw
+

Cornish. +

+
ky
+

Kirghiz; Kyrgyz. +

+
la
+

Latin. +

+
lb
+

Luxembourgish; Letzeburgesch. +

+
lg
+

Ganda. +

+
li
+

Limburgan; Limburger; Limburgish. +

+
ln
+

Lingala. +

+
lo
+

Lao. +

+
lt
+

Lithuanian. +

+
lu
+

Luba-Katanga. +

+
lv
+

Latvian. +

+
mg
+

Malagasy. +

+
mh
+

Marshallese. +

+
mi
+

Maori. +

+
mk
+

Macedonian. +

+
ml
+

Malayalam. +

+
mn
+

Mongolian. +

+
mr
+

Marathi. +

+
ms
+

Malay. +

+
mt
+

Maltese. +

+
my
+

Burmese. +

+
na
+

Nauru. +

+
nb
+

Bokmål, Norwegian; Norwegian Bokmål. +

+
nd
+

Ndebele, North; North Ndebele. +

+
ne
+

Nepali. +

+
ng
+

Ndonga. +

+
nl
+

Dutch; Flemish. +

+
nn
+

Norwegian Nynorsk; Nynorsk, Norwegian. +

+
no
+

Norwegian. +

+
nr
+

Ndebele, South; South Ndebele. +

+
nv
+

Navajo; Navaho. +

+
ny
+

Chichewa; Nyanja. +

+
oc
+

Occitan (post 1500); Provençal. +

+
oj
+

Ojibwa. +

+
om
+

Oromo. +

+
or
+

Oriya. +

+
os
+

Ossetian; Ossetic. +

+
pa
+

Panjabi; Punjabi. +

+
pi
+

Pali. +

+
pl
+

Polish. +

+
ps
+

Pushto; Pashto. +

+
pt
+

Portuguese. +

+
qu
+

Quechua. +

+
rm
+

Romansh. +

+
rn
+

Rundi. +

+
ro
+

Romanian; Moldavian; Moldovan. +

+
ru
+

Russian. +

+
rw
+

Kinyarwanda. +

+
sa
+

Sanskrit. +

+
sc
+

Sardinian. +

+
sd
+

Sindhi. +

+
se
+

Northern Sami. +

+
sg
+

Sango. +

+
si
+

Sinhala; Sinhalese. +

+
sk
+

Slovak. +

+
sl
+

Slovenian. +

+
sm
+

Samoan. +

+
sn
+

Shona. +

+
so
+

Somali. +

+
sq
+

Albanian. +

+
sr
+

Serbian. +

+
ss
+

Swati. +

+
st
+

Sotho, Southern. +

+
su
+

Sundanese. +

+
sv
+

Swedish. +

+
sw
+

Swahili. +

+
ta
+

Tamil. +

+
te
+

Telugu. +

+
tg
+

Tajik. +

+
th
+

Thai. +

+
ti
+

Tigrinya. +

+
tk
+

Turkmen. +

+
tl
+

Tagalog. +

+
tn
+

Tswana. +

+
to
+

Tonga (Tonga Islands). +

+
tr
+

Turkish. +

+
ts
+

Tsonga. +

+
tt
+

Tatar. +

+
tw
+

Twi. +

+
ty
+

Tahitian. +

+
ug
+

Uighur; Uyghur. +

+
uk
+

Ukrainian. +

+
ur
+

Urdu. +

+
uz
+

Uzbek. +

+
ve
+

Venda. +

+
vi
+

Vietnamese. +

+
vo
+

Volapük. +

+
wa
+

Walloon. +

+
wo
+

Wolof. +

+
xh
+

Xhosa. +

+
yi
+

Yiddish. +

+
yo
+

Yoruba. +

+
za
+

Zhuang; Chuang. +

+
zh
+

Chinese. +

+
zu
+

Zulu. +

+
+ + + + +

A.2 Rare Language Codes

+ +

For rarely used languages, the ISO 639-2 standard defines three-letter +codes. Here is the current list, reduced to only living languages with at least +one million of speakers. +

+
+
ace
+

Achinese. +

+
awa
+

Awadhi. +

+
bal
+

Baluchi. +

+
ban
+

Balinese. +

+
bej
+

Beja; Bedawiyet. +

+
bem
+

Bemba. +

+
bho
+

Bhojpuri. +

+
bik
+

Bikol. +

+
bin
+

Bini; Edo. +

+
bug
+

Buginese. +

+
ceb
+

Cebuano. +

+
din
+

Dinka. +

+
doi
+

Dogri. +

+
fil
+

Filipino; Pilipino. +

+
fon
+

Fon. +

+
gon
+

Gondi. +

+
gsw
+

Swiss German; Alemannic; Alsatian. +

+
hil
+

Hiligaynon. +

+
hmn
+

Hmong. +

+
ilo
+

Iloko. +

+
kab
+

Kabyle. +

+
kam
+

Kamba. +

+
kbd
+

Kabardian. +

+
kmb
+

Kimbundu. +

+
kok
+

Konkani. +

+
kru
+

Kurukh. +

+
lua
+

Luba-Lulua. +

+
luo
+

Luo (Kenya and Tanzania). +

+
mad
+

Madurese. +

+
mag
+

Magahi. +

+
mai
+

Maithili. +

+
mak
+

Makasar. +

+
man
+

Mandingo. +

+
men
+

Mende. +

+
min
+

Minangkabau. +

+
mni
+

Manipuri. +

+
mos
+

Mossi. +

+
mwr
+

Marwari. +

+
nap
+

Neapolitan. +

+
nso
+

Pedi; Sepedi; Northern Sotho. +

+
nym
+

Nyamwezi. +

+
nyn
+

Nyankole. +

+
pag
+

Pangasinan. +

+
pam
+

Pampanga; Kapampangan. +

+
raj
+

Rajasthani. +

+
sas
+

Sasak. +

+
sat
+

Santali. +

+
scn
+

Sicilian. +

+
shn
+

Shan. +

+
sid
+

Sidamo. +

+
srr
+

Serer. +

+
suk
+

Sukuma. +

+
sus
+

Susu. +

+
tem
+

Timne. +

+
tiv
+

Tiv. +

+
tum
+

Tumbuka. +

+
umb
+

Umbundu. +

+
wal
+

Walamo. +

+
war
+

Waray. +

+
yao
+

Yao. +

+
+ + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+

+ + This document was generated by Bruno Haible on July, 2 2025 using texi2html 1.78a. + +
+ +

+ + diff --git a/miniconda3/share/doc/gettext/gettext_19.html b/miniconda3/share/doc/gettext/gettext_19.html new file mode 100644 index 0000000000000000000000000000000000000000..9ac0634e543c3b20a2cc4b2064954ea846cceb3b --- /dev/null +++ b/miniconda3/share/doc/gettext/gettext_19.html @@ -0,0 +1,839 @@ + + + + + +GNU gettext utilities: B. Country Codes + + + + + + + + + + + + + + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+ +
+ + +

B. Country Codes

+ +

The ISO 3166 standard defines two character codes for many countries +and territories. All abbreviations for countries used in the Translation +Project should come from this standard. +

+
+
AD
+

Andorra. +

+
AE
+

United Arab Emirates. +

+
AF
+

Afghanistan. +

+
AG
+

Antigua and Barbuda. +

+
AI
+

Anguilla. +

+
AL
+

Albania. +

+
AM
+

Armenia. +

+
AO
+

Angola. +

+
AQ
+

Antarctica. +

+
AR
+

Argentina. +

+
AS
+

American Samoa. +

+
AT
+

Austria. +

+
AU
+

Australia. +

+
AW
+

Aruba. +

+
AX
+

Aaland Islands. +

+
AZ
+

Azerbaijan. +

+
BA
+

Bosnia and Herzegovina. +

+
BB
+

Barbados. +

+
BD
+

Bangladesh. +

+
BE
+

Belgium. +

+
BF
+

Burkina Faso. +

+
BG
+

Bulgaria. +

+
BH
+

Bahrain. +

+
BI
+

Burundi. +

+
BJ
+

Benin. +

+
BL
+

Saint Barthelemy. +

+
BM
+

Bermuda. +

+
BN
+

Brunei Darussalam. +

+
BO
+

Bolivia, Plurinational State of. +

+
BQ
+

Bonaire, Sint Eustatius and Saba. +

+
BR
+

Brazil. +

+
BS
+

Bahamas. +

+
BT
+

Bhutan. +

+
BV
+

Bouvet Island. +

+
BW
+

Botswana. +

+
BY
+

Belarus. +

+
BZ
+

Belize. +

+
CA
+

Canada. +

+
CC
+

Cocos (Keeling) Islands. +

+
CD
+

Congo, The Democratic Republic of the. +

+
CF
+

Central African Republic. +

+
CG
+

Congo. +

+
CH
+

Switzerland. +

+
CI
+

Côte d'Ivoire. +

+
CK
+

Cook Islands. +

+
CL
+

Chile. +

+
CM
+

Cameroon. +

+
CN
+

China. +

+
CO
+

Colombia. +

+
CR
+

Costa Rica. +

+
CU
+

Cuba. +

+
CV
+

Cape Verde. +

+
CW
+

Curaçao. +

+
CX
+

Christmas Island. +

+
CY
+

Cyprus. +

+
CZ
+

Czech Republic. +

+
DE
+

Germany. +

+
DJ
+

Djibouti. +

+
DK
+

Denmark. +

+
DM
+

Dominica. +

+
DO
+

Dominican Republic. +

+
DZ
+

Algeria. +

+
EC
+

Ecuador. +

+
EE
+

Estonia. +

+
EG
+

Egypt. +

+
EH
+

Western Sahara. +

+
ER
+

Eritrea. +

+
ES
+

Spain. +

+
ET
+

Ethiopia. +

+
FI
+

Finland. +

+
FJ
+

Fiji. +

+
FK
+

Falkland Islands (Malvinas). +

+
FM
+

Micronesia, Federated States of. +

+
FO
+

Faroe Islands. +

+
FR
+

France. +

+
GA
+

Gabon. +

+
GB
+

United Kingdom. +

+
GD
+

Grenada. +

+
GE
+

Georgia. +

+
GF
+

French Guiana. +

+
GG
+

Guernsey. +

+
GH
+

Ghana. +

+
GI
+

Gibraltar. +

+
GL
+

Greenland. +

+
GM
+

Gambia. +

+
GN
+

Guinea. +

+
GP
+

Guadeloupe. +

+
GQ
+

Equatorial Guinea. +

+
GR
+

Greece. +

+
GS
+

South Georgia and the South Sandwich Islands. +

+
GT
+

Guatemala. +

+
GU
+

Guam. +

+
GW
+

Guinea-Bissau. +

+
GY
+

Guyana. +

+
HK
+

Hong Kong. +

+
HM
+

Heard Island and McDonald Islands. +

+
HN
+

Honduras. +

+
HR
+

Croatia. +

+
HT
+

Haiti. +

+
HU
+

Hungary. +

+
ID
+

Indonesia. +

+
IE
+

Ireland. +

+
IL
+

Israel. +

+
IM
+

Isle of Man. +

+
IN
+

India. +

+
IO
+

British Indian Ocean Territory. +

+
IQ
+

Iraq. +

+
IR
+

Iran, Islamic Republic of. +

+
IS
+

Iceland. +

+
IT
+

Italy. +

+
JE
+

Jersey. +

+
JM
+

Jamaica. +

+
JO
+

Jordan. +

+
JP
+

Japan. +

+
KE
+

Kenya. +

+
KG
+

Kyrgyzstan. +

+
KH
+

Cambodia. +

+
KI
+

Kiribati. +

+
KM
+

Comoros. +

+
KN
+

Saint Kitts and Nevis. +

+
KP
+

Korea, Democratic People's Republic of. +

+
KR
+

Korea, Republic of. +

+
KW
+

Kuwait. +

+
KY
+

Cayman Islands. +

+
KZ
+

Kazakhstan. +

+
LA
+

Lao People's Democratic Republic. +

+
LB
+

Lebanon. +

+
LC
+

Saint Lucia. +

+
LI
+

Liechtenstein. +

+
LK
+

Sri Lanka. +

+
LR
+

Liberia. +

+
LS
+

Lesotho. +

+
LT
+

Lithuania. +

+
LU
+

Luxembourg. +

+
LV
+

Latvia. +

+
LY
+

Libya. +

+
MA
+

Morocco. +

+
MC
+

Monaco. +

+
MD
+

Moldova, Republic of. +

+
ME
+

Montenegro. +

+
MF
+

Saint Martin (French part). +

+
MG
+

Madagascar. +

+
MH
+

Marshall Islands. +

+
MK
+

North Macedonia. +

+
ML
+

Mali. +

+
MM
+

Myanmar. +

+
MN
+

Mongolia. +

+
MO
+

Macao. +

+
MP
+

Northern Mariana Islands. +

+
MQ
+

Martinique. +

+
MR
+

Mauritania. +

+
MS
+

Montserrat. +

+
MT
+

Malta. +

+
MU
+

Mauritius. +

+
MV
+

Maldives. +

+
MW
+

Malawi. +

+
MX
+

Mexico. +

+
MY
+

Malaysia. +

+
MZ
+

Mozambique. +

+
NA
+

Namibia. +

+
NC
+

New Caledonia. +

+
NE
+

Niger. +

+
NF
+

Norfolk Island. +

+
NG
+

Nigeria. +

+
NI
+

Nicaragua. +

+
NL
+

Netherlands. +

+
NO
+

Norway. +

+
NP
+

Nepal. +

+
NR
+

Nauru. +

+
NU
+

Niue. +

+
NZ
+

New Zealand. +

+
OM
+

Oman. +

+
PA
+

Panama. +

+
PE
+

Peru. +

+
PF
+

French Polynesia. +

+
PG
+

Papua New Guinea. +

+
PH
+

Philippines. +

+
PK
+

Pakistan. +

+
PL
+

Poland. +

+
PM
+

Saint Pierre and Miquelon. +

+
PN
+

Pitcairn. +

+
PR
+

Puerto Rico. +

+
PS
+

Palestine, State of. +

+
PT
+

Portugal. +

+
PW
+

Palau. +

+
PY
+

Paraguay. +

+
QA
+

Qatar. +

+
RE
+

Reunion. +

+
RO
+

Romania. +

+
RS
+

Serbia. +

+
RU
+

Russian Federation. +

+
RW
+

Rwanda. +

+
SA
+

Saudi Arabia. +

+
SB
+

Solomon Islands. +

+
SC
+

Seychelles. +

+
SD
+

Sudan. +

+
SE
+

Sweden. +

+
SG
+

Singapore. +

+
SH
+

Saint Helena, Ascension and Tristan da Cunha. +

+
SI
+

Slovenia. +

+
SJ
+

Svalbard and Jan Mayen. +

+
SK
+

Slovakia. +

+
SL
+

Sierra Leone. +

+
SM
+

San Marino. +

+
SN
+

Senegal. +

+
SO
+

Somalia. +

+
SR
+

Suriname. +

+
SS
+

South Sudan. +

+
ST
+

Sao Tome and Principe. +

+
SV
+

El Salvador. +

+
SX
+

Sint Maarten (Dutch part). +

+
SY
+

Syrian Arab Republic. +

+
SZ
+

Swaziland. +

+
TC
+

Turks and Caicos Islands. +

+
TD
+

Chad. +

+
TF
+

French Southern Territories. +

+
TG
+

Togo. +

+
TH
+

Thailand. +

+
TJ
+

Tajikistan. +

+
TK
+

Tokelau. +

+
TL
+

Timor-Leste. +

+
TM
+

Turkmenistan. +

+
TN
+

Tunisia. +

+
TO
+

Tonga. +

+
TR
+

Türkiye. +

+
TT
+

Trinidad and Tobago. +

+
TV
+

Tuvalu. +

+
TW
+

Taiwan, Province of China. +

+
TZ
+

Tanzania, United Republic of. +

+
UA
+

Ukraine. +

+
UG
+

Uganda. +

+
UM
+

United States Minor Outlying Islands. +

+
US
+

United States. +

+
UY
+

Uruguay. +

+
UZ
+

Uzbekistan. +

+
VA
+

Holy See (Vatican City State). +

+
VC
+

Saint Vincent and the Grenadines. +

+
VE
+

Venezuela, Bolivarian Republic of. +

+
VG
+

Virgin Islands, British. +

+
VI
+

Virgin Islands, U.S.. +

+
VN
+

Viet Nam. +

+
VU
+

Vanuatu. +

+
WF
+

Wallis and Futuna. +

+
WS
+

Samoa. +

+
YE
+

Yemen. +

+
YT
+

Mayotte. +

+
ZA
+

South Africa. +

+
ZM
+

Zambia. +

+
ZW
+

Zimbabwe. +

+
+ + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+

+ + This document was generated by Bruno Haible on July, 2 2025 using texi2html 1.78a. + +
+ +

+ + diff --git a/miniconda3/share/doc/gettext/gettext_2.html b/miniconda3/share/doc/gettext/gettext_2.html new file mode 100644 index 0000000000000000000000000000000000000000..1368700d1ebcba7625a468fe68881e0a9a567aaa --- /dev/null +++ b/miniconda3/share/doc/gettext/gettext_2.html @@ -0,0 +1,403 @@ + + + + + +GNU gettext utilities: 2. The User's View + + + + + + + + + + + + + + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+ +
+ + +

2. The User's View

+ +

Nowadays, when users log into a computer, they usually find that all +their programs show messages in their native language – at least for +users of languages with an active free software community, like French or +German; to a lesser extent for languages with a smaller participation in +free software and the GNU project, like Hindi and Filipino. +

+

How does this work? How can the user influence the language that is used +by the programs? This chapter will answer it. +

+ + + + +

2.1 Operating System Installation

+ +

The default language is often already specified during operating system +installation. When the operating system is installed, the installer +typically asks for the language used for the installation process and, +separately, for the language to use in the installed system. Some OS +installers only ask for the language once. +

+

This determines the system-wide default language for all users. But the +installers often give the possibility to install extra localizations for +additional languages. For example, the localizations of KDE (the K +Desktop Environment) and LibreOffice are often bundled separately, as one +installable package per language. +

+

At this point it is good to consider the intended use of the machine: If +it is a machine designated for personal use, additional localizations are +probably not necessary. If, however, the machine is in use in an +organization or company that has international relationships, one can +consider the needs of guest users. If you have a guest from abroad, for +a week, what could be his preferred locales? It may be worth installing +these additional localizations ahead of time, since they cost only a bit +of disk space at this point. +

+

The system-wide default language is the locale configuration that is used +when a new user account is created. But the user can have his own locale +configuration that is different from the one of the other users of the +same machine. He can specify it, typically after the first login, as +described in the next section. +

+ + + +

2.2 Setting the Locale Used by GUI Programs

+ +

The immediately available programs in a user's desktop come from a group +of programs called a “desktop environment”; it usually includes the window +manager, a web browser, a text editor, and more. The most common free +desktop environments are KDE, GNOME, and Xfce. +

+

The locale used by GUI programs of the desktop environment can be specified +in a configuration screen called “control center”, “language settings” +or “country settings”. +

+

Individual GUI programs that are not part of the desktop environment can +have their locale specified either in a settings panel, or through environment +variables. +

+

For some programs, it is possible to specify the locale through environment +variables, possibly even to a different locale than the desktop's locale. +This means, instead of starting a program through a menu or from the file +system, you can start it from the command-line, after having set some +environment variables. The environment variables can be those specified +in the next section (Setting the Locale through Environment Variables); for some versions of +KDE, however, the locale is specified through a variable KDE_LANG, +rather than LANG or LC_ALL. +

+ + + +

2.3 Setting the Locale through Environment Variables

+ +

As a user, if your language has been installed for this package, in the +simplest case, you only have to set the LANG environment variable +to the appropriate ‘ll_CC’ combination. For example, +let's suppose that you speak German and live in Germany. At the shell +prompt, merely execute +‘setenv LANG de_DE’ (in csh), +‘export LANG; LANG=de_DE’ (in sh) or +‘export LANG=de_DE’ (in bash). This can be done from your +‘.login’ or ‘.profile’ file, once and for all. +

+ + + + +

2.3.1 Locale Names

+ +

A locale name usually has the form ‘ll_CC’. Here +

+
    +
  • +‘ll’ is an ISO 639 two-letter language code. +For some languages, +a two-letter code does not exist, and a three-letter code is used instead. +
  • +‘CC’ is an ISO 3166 two-letter code of a country or territory. +
+ +

For example, +for German in Germany, ll is de, and CC is DE. +You find a list of the language codes in appendix Language Codes and +a list of the country codes in appendix Country Codes. +

+

You might think that the country code specification is redundant. But in +fact, some languages have dialects in different countries. For example, +‘de_AT’ is used for Austria, and ‘pt_BR’ for Brazil. The country +code serves to distinguish the dialects. +

+

Many locale names have an extended syntax +‘ll_CC.encoding’ that also specifies the character +encoding. These are in use because between 2000 and 2005, most users have +switched to locales in UTF-8 encoding. For example, the German locale on +glibc systems is nowadays ‘de_DE.UTF-8’. The older name ‘de_DE’ +still refers to the German locale as of 2000 that stores characters in +ISO-8859-1 encoding – a text encoding that cannot even accommodate the Euro +currency sign. +

+

Some locale names use ‘ll_CC@variant’ instead of +‘ll_CC’. The ‘@variant’ can denote any kind of +characteristics that is not already implied by the language ll and +the country CC. It can denote a particular monetary unit. For example, +on glibc systems, ‘de_DE@euro’ denotes the locale that uses the Euro +currency, in contrast to the older locale ‘de_DE’ which implies the use +of the currency before 2002. It can also denote a dialect of the language, +or the script used to write text (for example, ‘sr_RS@latin’ uses the +Latin script, whereas ‘sr_RS’ uses the Cyrillic script to write Serbian), +or the orthography rules, or similar. +

+

On other systems, some variations of this scheme are used, such as +‘ll’. You can get the list of locales supported by your system +for your language by running the command ‘locale -a | grep '^ll'’. +

+

There are also two special locales: +

    +
  • The locale called ‘C’.
    +When it is used, it disables all localization: in this locale, all programs +standardized by POSIX use English messages and an unspecified character +encoding (often US-ASCII, but sometimes also ISO-8859-1 or UTF-8, depending on +the operating system). +
  • The locale called ‘C.UTF-8’.
    +This locale exists on all modern GNU and Unix systems, +but not on all operating systems. +When it is used, it disables all localization as well. +It uses UTF-8 as character encoding. +
+ + + + +

2.3.2 Locale Environment Variables

+ +

A locale is composed of several locale categories, see Aspects in Native Language Support. +When a program looks up locale dependent values, it does this according to +the following environment variables, in priority order: +

+
    +
  1. +
  2. LANGUAGE + +
  3. LC_ALL + + + + + + +
  4. LC_xxx, according to selected locale category: +LC_CTYPE, LC_NUMERIC, LC_TIME, LC_COLLATE, +LC_MONETARY, LC_MESSAGES, ... + +
  5. LANG +
+ +

Variables whose value is set but is empty are ignored in this lookup. +

+

LANG is the normal environment variable for specifying a locale. +As a user, you normally set this variable (unless some of the other variables +have already been set by the system, in ‘/etc/profile’ or similar +initialization files). +

+

LC_CTYPE, LC_NUMERIC, LC_TIME, LC_COLLATE, +LC_MONETARY, LC_MESSAGES, and so on, are the environment +variables meant to override LANG and affecting a single locale +category only. For example, assume you are a Swedish user in Spain, and you +want your programs to handle numbers and dates according to Spanish +conventions, and only the messages should be in Swedish. Then you could +create a locale named ‘sv_ES’ or ‘sv_ES.UTF-8’ by use of the +localedef program. But it is simpler, and achieves the same effect, +to set the LANG variable to es_ES.UTF-8 and the +LC_MESSAGES variable to sv_SE.UTF-8; these two locales come +already preinstalled with the operating system. +

+

LC_ALL is an environment variable that overrides all of these. +It is typically used in scripts that run particular programs. For example, +configure scripts generated by GNU autoconf use LC_ALL to make +sure that the configuration tests don't operate in locale dependent ways. +

+

Some systems, unfortunately, set LC_ALL in ‘/etc/profile’ or in +similar initialization files. As a user, you therefore have to unset this +variable if you want to set LANG and optionally some of the other +LC_xxx variables. +

+

The LANGUAGE variable is described in the next subsection. +

+ + + +

2.3.3 Specifying a Priority List of Languages

+ +

Not all programs have translations for all languages. By default, an +English message is shown in place of a nonexistent translation. If you +understand other languages, you can set up a priority list of languages. +This is done through a different environment variable, called +LANGUAGE. GNU gettext gives preference to LANGUAGE +over LC_ALL and LANG for the purpose of message handling, +but you still need to have LANG (or LC_ALL) set to the primary +language; this is required by other parts of the system libraries. +For example, some Swedish users who would rather read translations in +German than English for when Swedish is not available, set LANGUAGE +to ‘sv:de’ while leaving LANG to ‘sv_SE’. +

+

Special advice for Norwegian users: The language code for Norwegian +bokmål changed from ‘no’ to ‘nb’ back in 2003. +Most of the message catalogs for this language are installed under ‘nb’. +But in order to also use the older ones installed under ‘no’, it is +recommended for Norwegian users to set LANGUAGE to ‘nb:no’. +

+

In the LANGUAGE environment variable, but not in the other +environment variables, ‘ll_CC’ combinations can be +abbreviated as ‘ll’ to denote the language's main dialect. +For example, ‘de’ is equivalent to ‘de_DE’ (German as spoken in +Germany), and ‘pt’ to ‘pt_PT’ (Portuguese as spoken in Portugal) +in this context. +

+

Special advice for Chinese users: +Users who want to see translations with Simplified Chinese characters +should set LANGUAGE to zh_CN, +whereas users who want to see translations with Traditional Chinese characters +should set LANGUAGE to zh_TW. +Chinese users in Singapore will want to set it to zh_SG:zh_CN, +Chinese users in Hong Kong will want to set it to zh_HK:zh_TW, +and Chinese users in Macao will want to set it to zh_MO:zh_TW. +Here zh_CN or zh_TW, respectively, acts as fallback, +since only few packages have translations +for zh_SG, zh_HK, or zh_MO. +

+

Note: The variable LANGUAGE is ignored if the locale is set to +‘C’. In other words, you have to first enable localization, by setting +LANG (or LC_ALL) to a value other than ‘C’, before you can +use a language priority list through the LANGUAGE variable. +

+ + + +

2.4 Obtaining good output in a Windows console

+ +

On Windows, consoles such as the one started by the cmd.exe +program do input and output in an encoding, called “OEM code page”, +that is different from the encoding that text-mode programs usually use, +called “ANSI code page”. (Note: This problem does not exist for +Cygwin consoles; these consoles do input and output in the UTF-8 +encoding.) As a workaround, you may request that the programs produce +output in this “OEM” encoding. To do so, set the environment variable +OUTPUT_CHARSET to the “OEM” encoding, through a command such as +

 
set OUTPUT_CHARSET=CP850
+
+

Note: This has an effect only on strings looked up in message catalogs; +other categories of text are usually not affected by this setting. +Note also that this environment variable also affects output sent to a +file or to a pipe; output to a file is most often expected to be in the +“ANSI” or in the UTF-8 encoding. +

+

Here are examples of the “ANSI” and “OEM” code pages: +

+ + + + + + +

Territories  

  ANSI encoding  

  OEM encoding +

Western Europe  

  CP1252  

  CP850 +

Slavic countries (Latin 2)  

  CP1250  

  CP852 +

Baltic countries  

  CP1257  

  CP775 +

Russia  

  CP1251  

  CP866 +

+ + + + +

2.5 Installing Translations for Particular Programs

+ +

Languages are not equally well supported in all packages using GNU +gettext, and more translations are added over time. Usually, you +use the translations that are shipped with the operating system +or with particular packages that you install afterwards. But you can also +install newer localizations directly. For doing this, you will need an +understanding where each localization file is stored on the file system. +

+ +

For programs that participate in the Translation Project, you can start +looking for translations here: +https://translationproject.org/team/index.html. +

+

For programs that are part of the KDE project, the starting point is: +https://l10n.kde.org/. +

+

For programs that are part of the GNOME project, the starting point is: +https://wiki.gnome.org/TranslationProject. +

+

For other programs, you may check whether the program's source code package +contains some ‘ll.po’ files; often they are kept together in a +directory called ‘po/’. Each ‘ll.po’ file contains the +message translations for the language whose abbreviation of ll. +

+ + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+

+ + This document was generated by Bruno Haible on July, 2 2025 using texi2html 1.78a. + +
+ +

+ + diff --git a/miniconda3/share/doc/gettext/gettext_20.html b/miniconda3/share/doc/gettext/gettext_20.html new file mode 100644 index 0000000000000000000000000000000000000000..1be4264f866c3d79fe975d0deadeffc875bc9b2e --- /dev/null +++ b/miniconda3/share/doc/gettext/gettext_20.html @@ -0,0 +1,1544 @@ + + + + + +GNU gettext utilities: C. Licenses + + + + + + + + + + + + + + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+ +
+ + +

C. Licenses

+ +

The files of this package are covered by the licenses indicated in each +particular file or directory. Here is a summary: +

+
    +
  • +The libintl and libasprintf libraries are covered by the +GNU Lesser General Public License (LGPL). +A copy of the license is included in GNU LESSER GENERAL PUBLIC LICENSE. + +
  • +The executable programs of this package and the libgettextpo library +are covered by the GNU General Public License (GPL). +A copy of the license is included in GNU GENERAL PUBLIC LICENSE. + +
  • +This manual is free documentation. It is dually licensed under the +GNU FDL and the GNU GPL. This means that you can redistribute this +manual under either of these two licenses, at your choice. +
    +This manual is covered by the GNU FDL. Permission is granted to copy, +distribute and/or modify this document under the terms of the +GNU Free Documentation License (FDL), either version 1.2 of the +License, or (at your option) any later version published by the +Free Software Foundation (FSF); with no Invariant Sections, with no +Front-Cover Text, and with no Back-Cover Texts. +A copy of the license is included in GNU Free Documentation License. +
    +This manual is covered by the GNU GPL. You can redistribute it and/or +modify it under the terms of the GNU General Public License (GPL), either +version 2 of the License, or (at your option) any later version published +by the Free Software Foundation (FSF). +A copy of the license is included in GNU GENERAL PUBLIC LICENSE. +
+ + + + + + +

C.1 GNU GENERAL PUBLIC LICENSE

+

Version 2, June 1991 +

+ +
 
Copyright © 1989, 1991 Free Software Foundation, Inc.
+<https://fsf.org/>
+
+Everyone is permitted to copy and distribute verbatim copies
+of this license document, but changing it is not allowed.
+
+ + +

Preamble

+ +

The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software—to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. +

+

When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. +

+

To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. +

+

For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. +

+

We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. +

+

Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. +

+

Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. +

+

The precise terms and conditions for copying, distribution and +modification follow. +

+ +

TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

+ +
    +
  1. +This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The “Program”, below, +refers to any such program or work, and a “work based on the Program” +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term “modification”.) Each licensee is addressed as “you”. + +

    Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. +

    +
  2. +You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +

    You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. +

    +
  3. +You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + +
      +
    1. +You must cause the modified files to carry prominent notices +stating that you changed the files and the date of any change. + +
    2. +You must cause any work that you distribute or publish, that in +whole or in part contains or is derived from the Program or any +part thereof, to be licensed as a whole at no charge to all third +parties under the terms of this License. + +
    3. +If the modified program normally reads commands interactively +when run, you must cause it, when started running for such +interactive use in the most ordinary way, to print or display an +announcement including an appropriate copyright notice and a +notice that there is no warranty (or else, saying that you provide +a warranty) and that users may redistribute the program under +these conditions, and telling the user how to view a copy of this +License. (Exception: if the Program itself is interactive but +does not normally print such an announcement, your work based on +the Program is not required to print an announcement.) +
    + +

    These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. +

    +

    Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. +

    +

    In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. +

    +
  4. +You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + +
      +
    1. +Accompany it with the complete corresponding machine-readable +source code, which must be distributed under the terms of Sections +1 and 2 above on a medium customarily used for software interchange; or, + +
    2. +Accompany it with a written offer, valid for at least three +years, to give any third party, for a charge no more than your +cost of physically performing source distribution, a complete +machine-readable copy of the corresponding source code, to be +distributed under the terms of Sections 1 and 2 above on a medium +customarily used for software interchange; or, + +
    3. +Accompany it with the information you received as to the offer +to distribute corresponding source code. (This alternative is +allowed only for noncommercial distribution and only if you +received the program in object code or executable form with such +an offer, in accord with Subsection b above.) +
    + +

    The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. +

    +

    If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. +

    +
  5. +You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + +
  6. +You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + +
  7. +Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + +
  8. +If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +

    If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. +

    +

    It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. +

    +

    This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. +

    +
  9. +If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + +
  10. +The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +

    Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and “any +later version”, you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. +

    +
  11. +If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + +
  12. +BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + +
  13. +IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. +
+ + + + +

Appendix: How to Apply These Terms to Your New Programs

+ +

If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. +

+

To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the “copyright” line and a pointer to where the full notice is found. +

+
 
one line to give the program's name and a brief idea of what it does.
+Copyright (C) yyyy  name of author
+
+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
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, see <https://www.gnu.org/licenses/>.
+
+ +

Also add information on how to contact you by electronic and paper mail. +

+

If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: +

+
 
Gnomovision version 69, Copyright (C) year name of author
+Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+This is free software, and you are welcome to redistribute it
+under certain conditions; type `show c' for details.
+
+ +

The hypothetical commands ‘show w’ and ‘show c’ should show +the appropriate parts of the General Public License. Of course, the +commands you use may be called something other than ‘show w’ and +‘show c’; they could even be mouse-clicks or menu items—whatever +suits your program. +

+

You should also get your employer (if you work as a programmer) or your +school, if any, to sign a “copyright disclaimer” for the program, if +necessary. Here is a sample; alter the names: +

+
 
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+`Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+signature of Moe Ghoul, 1 April 1989
+Moe Ghoul, President of Vice
+
+ +

This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. + +

+ + +

C.2 GNU LESSER GENERAL PUBLIC LICENSE

+

Version 2.1, February 1999 +

+ +
 
Copyright © 1991, 1999 Free Software Foundation, Inc.
+<https://fsf.org/>
+
+Everyone is permitted to copy and distribute verbatim copies
+of this license document, but changing it is not allowed.
+
+[This is the first released version of the Lesser GPL.  It also counts
+as the successor of the GNU Library Public License, version 2, hence the
+version number 2.1.]
+
+ + +

Preamble

+ +

The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software—to make sure the software is free for all its users. +

+

This license, the Lesser General Public License, applies to some +specially designated software—typically libraries—of the Free +Software Foundation and other authors who decide to use it. You can use +it too, but we suggest you first think carefully about whether this +license or the ordinary General Public License is the better strategy to +use in any particular case, based on the explanations below. +

+

When we speak of free software, we are referring to freedom of use, +not price. Our General Public Licenses are designed to make sure that +you have the freedom to distribute copies of free software (and charge +for this service if you wish); that you receive source code or can get +it if you want it; that you can change the software and use pieces of it +in new free programs; and that you are informed that you can do these +things. +

+

To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. +

+

For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. +

+

We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. +

+

To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. +

+

Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. +

+

Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. +

+

When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. +

+

We call this license the Lesser General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. +

+

For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it becomes +a de-facto standard. To achieve this, non-free programs must be +allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. +

+

In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. +

+

Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. +

+

The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +“work based on the library” and a “work that uses the library”. The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. +

+ +

TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

+ +
    +
  1. +This License Agreement applies to any software library or other program +which contains a notice placed by the copyright holder or other +authorized party saying it may be distributed under the terms of this +Lesser General Public License (also called “this License”). Each +licensee is addressed as “you”. + +

    A “library” means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. +

    +

    The “Library”, below, refers to any such software library or work +which has been distributed under these terms. A “work based on the +Library” means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term “modification”.) +

    +

    “Source code” for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. +

    +

    Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. +

    +
  2. +You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + +

    You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. +

    +
  3. +You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + +
      +
    1. +The modified work must itself be a software library. + +
    2. +You must cause the files modified to carry prominent notices +stating that you changed the files and the date of any change. + +
    3. +You must cause the whole of the work to be licensed at no +charge to all third parties under the terms of this License. + +
    4. +If a facility in the modified Library refers to a function or a +table of data to be supplied by an application program that uses +the facility, other than as an argument passed when the facility +is invoked, then you must make a good faith effort to ensure that, +in the event an application does not supply such function or +table, the facility still operates, and performs whatever part of +its purpose remains meaningful. + +

      (For example, a function in a library to compute square roots has +a purpose that is entirely well-defined independent of the +application. Therefore, Subsection 2d requires that any +application-supplied function or table used by this function must +be optional: if the application does not supply it, the square +root function must still compute square roots.) +

    + +

    These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. +

    +

    Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. +

    +

    In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. +

    +
  4. +You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + +

    Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. +

    +

    This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. +

    +
  5. +You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + +

    If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. +

    +
  6. +A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a “work that uses the Library”. Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + +

    However, linking a “work that uses the Library” with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a “work that uses the +library”. The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. +

    +

    When a “work that uses the Library” uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. +

    +

    If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) +

    +

    Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. +

    +
  7. +As an exception to the Sections above, you may also combine or +link a “work that uses the Library” with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + +

    You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: +

    +
      +
    1. +Accompany the work with the complete corresponding +machine-readable source code for the Library including whatever +changes were used in the work (which must be distributed under +Sections 1 and 2 above); and, if the work is an executable linked +with the Library, with the complete machine-readable “work that +uses the Library”, as object code and/or source code, so that the +user can modify the Library and then relink to produce a modified +executable containing the modified Library. (It is understood +that the user who changes the contents of definitions files in the +Library will not necessarily be able to recompile the application +to use the modified definitions.) + +
    2. +Use a suitable shared library mechanism for linking with the Library. A +suitable mechanism is one that (1) uses at run time a copy of the +library already present on the user's computer system, rather than +copying library functions into the executable, and (2) will operate +properly with a modified version of the library, if the user installs +one, as long as the modified version is interface-compatible with the +version that the work was made with. + +
    3. +Accompany the work with a written offer, valid for at +least three years, to give the same user the materials +specified in Subsection 6a, above, for a charge no more +than the cost of performing this distribution. + +
    4. +If distribution of the work is made by offering access to copy +from a designated place, offer equivalent access to copy the above +specified materials from the same place. + +
    5. +Verify that the user has already received a copy of these +materials or that you have already sent this user a copy. +
    + +

    For an executable, the required form of the “work that uses the +Library” must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be distributed need not include anything that is +normally distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies the +executable. +

    +

    It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. +

    +
  8. +You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + +
      +
    1. +Accompany the combined library with a copy of the same work +based on the Library, uncombined with any other library +facilities. This must be distributed under the terms of the +Sections above. + +
    2. +Give prominent notice with the combined library of the fact +that part of it is a work based on the Library, and explaining +where to find the accompanying uncombined form of the same work. +
    + +
  9. +You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + +
  10. +You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + +
  11. +Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties with +this License. + +
  12. +If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +

    If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. +

    +

    It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. +

    +

    This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. +

    +
  13. +If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + +
  14. +The Free Software Foundation may publish revised and/or new +versions of the Lesser General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +

    Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +“any later version”, you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. +

    +
  15. +If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + +

    NO WARRANTY +

    +
  16. +BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY “AS IS” WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +
  17. +IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. +
+ + +

END OF TERMS AND CONDITIONS

+ + + +

How to Apply These Terms to Your New Libraries

+ +

If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms of the +ordinary General Public License). +

+

To apply these terms, attach the following notices to the library. It is +safest to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least the +“copyright” line and a pointer to where the full notice is found. +

+
 
one line to give the library's name and an idea of what it does.
+Copyright (C) year  name of author
+
+This library is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation; either version 2.1 of the License, or (at
+your option) any later version.
+
+This library is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+Lesser General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public
+License along with this library; if not, see <https://www.gnu.org/licenses/>.
+
+ +

Also add information on how to contact you by electronic and paper mail. +

+

You should also get your employer (if you work as a programmer) or your +school, if any, to sign a “copyright disclaimer” for the library, if +necessary. Here is a sample; alter the names: +

+
 
Yoyodyne, Inc., hereby disclaims all copyright interest in the library
+`Frob' (a library for tweaking knobs) written by James Random Hacker.
+
+signature of Moe Ghoul, 1 April 1990
+Moe Ghoul, President of Vice
+
+ +

That's all there is to it! + +

+ + +

C.3 GNU Free Documentation License

+

Version 1.3, 3 November 2008 +

+ +
 
Copyright © 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
+https://fsf.org/
+
+Everyone is permitted to copy and distribute verbatim copies
+of this license document, but changing it is not allowed.
+
+ +
    +
  1. +PREAMBLE + +

    The purpose of this License is to make a manual, textbook, or other +functional and useful document free in the sense of freedom: to +assure everyone the effective freedom to copy and redistribute it, +with or without modifying it, either commercially or noncommercially. +Secondarily, this License preserves for the author and publisher a way +to get credit for their work, while not being considered responsible +for modifications made by others. +

    +

    This License is a kind of “copyleft”, which means that derivative +works of the document must themselves be free in the same sense. It +complements the GNU General Public License, which is a copyleft +license designed for free software. +

    +

    We have designed this License in order to use it for manuals for free +software, because free software needs free documentation: a free +program should come with manuals providing the same freedoms that the +software does. But this License is not limited to software manuals; +it can be used for any textual work, regardless of subject matter or +whether it is published as a printed book. We recommend this License +principally for works whose purpose is instruction or reference. +

    +
  2. +APPLICABILITY AND DEFINITIONS + +

    This License applies to any manual or other work, in any medium, that +contains a notice placed by the copyright holder saying it can be +distributed under the terms of this License. Such a notice grants a +world-wide, royalty-free license, unlimited in duration, to use that +work under the conditions stated herein. The “Document”, below, +refers to any such manual or work. Any member of the public is a +licensee, and is addressed as “you”. You accept the license if you +copy, modify or distribute the work in a way requiring permission +under copyright law. +

    +

    A “Modified Version” of the Document means any work containing the +Document or a portion of it, either copied verbatim, or with +modifications and/or translated into another language. +

    +

    A “Secondary Section” is a named appendix or a front-matter section +of the Document that deals exclusively with the relationship of the +publishers or authors of the Document to the Document's overall +subject (or to related matters) and contains nothing that could fall +directly within that overall subject. (Thus, if the Document is in +part a textbook of mathematics, a Secondary Section may not explain +any mathematics.) The relationship could be a matter of historical +connection with the subject or with related matters, or of legal, +commercial, philosophical, ethical or political position regarding +them. +

    +

    The “Invariant Sections” are certain Secondary Sections whose titles +are designated, as being those of Invariant Sections, in the notice +that says that the Document is released under this License. If a +section does not fit the above definition of Secondary then it is not +allowed to be designated as Invariant. The Document may contain zero +Invariant Sections. If the Document does not identify any Invariant +Sections then there are none. +

    +

    The “Cover Texts” are certain short passages of text that are listed, +as Front-Cover Texts or Back-Cover Texts, in the notice that says that +the Document is released under this License. A Front-Cover Text may +be at most 5 words, and a Back-Cover Text may be at most 25 words. +

    +

    A “Transparent” copy of the Document means a machine-readable copy, +represented in a format whose specification is available to the +general public, that is suitable for revising the document +straightforwardly with generic text editors or (for images composed of +pixels) generic paint programs or (for drawings) some widely available +drawing editor, and that is suitable for input to text formatters or +for automatic translation to a variety of formats suitable for input +to text formatters. A copy made in an otherwise Transparent file +format whose markup, or absence of markup, has been arranged to thwart +or discourage subsequent modification by readers is not Transparent. +An image format is not Transparent if used for any substantial amount +of text. A copy that is not “Transparent” is called “Opaque”. +

    +

    Examples of suitable formats for Transparent copies include plain +ASCII without markup, Texinfo input format, LaTeX input +format, SGML or XML using a publicly available +DTD, and standard-conforming simple HTML, +PostScript or PDF designed for human modification. Examples +of transparent image formats include PNG, XCF and +JPG. Opaque formats include proprietary formats that can be +read and edited only by proprietary word processors, SGML or +XML for which the DTD and/or processing tools are +not generally available, and the machine-generated HTML, +PostScript or PDF produced by some word processors for +output purposes only. +

    +

    The “Title Page” means, for a printed book, the title page itself, +plus such following pages as are needed to hold, legibly, the material +this License requires to appear in the title page. For works in +formats which do not have any title page as such, “Title Page” means +the text near the most prominent appearance of the work's title, +preceding the beginning of the body of the text. +

    +

    The “publisher” means any person or entity that distributes copies +of the Document to the public. +

    +

    A section “Entitled XYZ” means a named subunit of the Document whose +title either is precisely XYZ or contains XYZ in parentheses following +text that translates XYZ in another language. (Here XYZ stands for a +specific section name mentioned below, such as “Acknowledgements”, +“Dedications”, “Endorsements”, or “History”.) To “Preserve the Title” +of such a section when you modify the Document means that it remains a +section “Entitled XYZ” according to this definition. +

    +

    The Document may include Warranty Disclaimers next to the notice which +states that this License applies to the Document. These Warranty +Disclaimers are considered to be included by reference in this +License, but only as regards disclaiming warranties: any other +implication that these Warranty Disclaimers may have is void and has +no effect on the meaning of this License. +

    +
  3. +VERBATIM COPYING + +

    You may copy and distribute the Document in any medium, either +commercially or noncommercially, provided that this License, the +copyright notices, and the license notice saying this License applies +to the Document are reproduced in all copies, and that you add no other +conditions whatsoever to those of this License. You may not use +technical measures to obstruct or control the reading or further +copying of the copies you make or distribute. However, you may accept +compensation in exchange for copies. If you distribute a large enough +number of copies you must also follow the conditions in section 3. +

    +

    You may also lend copies, under the same conditions stated above, and +you may publicly display copies. +

    +
  4. +COPYING IN QUANTITY + +

    If you publish printed copies (or copies in media that commonly have +printed covers) of the Document, numbering more than 100, and the +Document's license notice requires Cover Texts, you must enclose the +copies in covers that carry, clearly and legibly, all these Cover +Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on +the back cover. Both covers must also clearly and legibly identify +you as the publisher of these copies. The front cover must present +the full title with all words of the title equally prominent and +visible. You may add other material on the covers in addition. +Copying with changes limited to the covers, as long as they preserve +the title of the Document and satisfy these conditions, can be treated +as verbatim copying in other respects. +

    +

    If the required texts for either cover are too voluminous to fit +legibly, you should put the first ones listed (as many as fit +reasonably) on the actual cover, and continue the rest onto adjacent +pages. +

    +

    If you publish or distribute Opaque copies of the Document numbering +more than 100, you must either include a machine-readable Transparent +copy along with each Opaque copy, or state in or with each Opaque copy +a computer-network location from which the general network-using +public has access to download using public-standard network protocols +a complete Transparent copy of the Document, free of added material. +If you use the latter option, you must take reasonably prudent steps, +when you begin distribution of Opaque copies in quantity, to ensure +that this Transparent copy will remain thus accessible at the stated +location until at least one year after the last time you distribute an +Opaque copy (directly or through your agents or retailers) of that +edition to the public. +

    +

    It is requested, but not required, that you contact the authors of the +Document well before redistributing any large number of copies, to give +them a chance to provide you with an updated version of the Document. +

    +
  5. +MODIFICATIONS + +

    You may copy and distribute a Modified Version of the Document under +the conditions of sections 2 and 3 above, provided that you release +the Modified Version under precisely this License, with the Modified +Version filling the role of the Document, thus licensing distribution +and modification of the Modified Version to whoever possesses a copy +of it. In addition, you must do these things in the Modified Version: +

    +
      +
    1. +Use in the Title Page (and on the covers, if any) a title distinct +from that of the Document, and from those of previous versions +(which should, if there were any, be listed in the History section +of the Document). You may use the same title as a previous version +if the original publisher of that version gives permission. + +
    2. +List on the Title Page, as authors, one or more persons or entities +responsible for authorship of the modifications in the Modified +Version, together with at least five of the principal authors of the +Document (all of its principal authors, if it has fewer than five), +unless they release you from this requirement. + +
    3. +State on the Title page the name of the publisher of the +Modified Version, as the publisher. + +
    4. +Preserve all the copyright notices of the Document. + +
    5. +Add an appropriate copyright notice for your modifications +adjacent to the other copyright notices. + +
    6. +Include, immediately after the copyright notices, a license notice +giving the public permission to use the Modified Version under the +terms of this License, in the form shown in the Addendum below. + +
    7. +Preserve in that license notice the full lists of Invariant Sections +and required Cover Texts given in the Document's license notice. + +
    8. +Include an unaltered copy of this License. + +
    9. +Preserve the section Entitled “History”, Preserve its Title, and add +to it an item stating at least the title, year, new authors, and +publisher of the Modified Version as given on the Title Page. If +there is no section Entitled “History” in the Document, create one +stating the title, year, authors, and publisher of the Document as +given on its Title Page, then add an item describing the Modified +Version as stated in the previous sentence. + +
    10. +Preserve the network location, if any, given in the Document for +public access to a Transparent copy of the Document, and likewise +the network locations given in the Document for previous versions +it was based on. These may be placed in the “History” section. +You may omit a network location for a work that was published at +least four years before the Document itself, or if the original +publisher of the version it refers to gives permission. + +
    11. +For any section Entitled “Acknowledgements” or “Dedications”, Preserve +the Title of the section, and preserve in the section all the +substance and tone of each of the contributor acknowledgements and/or +dedications given therein. + +
    12. +Preserve all the Invariant Sections of the Document, +unaltered in their text and in their titles. Section numbers +or the equivalent are not considered part of the section titles. + +
    13. +Delete any section Entitled “Endorsements”. Such a section +may not be included in the Modified Version. + +
    14. +Do not retitle any existing section to be Entitled “Endorsements” or +to conflict in title with any Invariant Section. + +
    15. +Preserve any Warranty Disclaimers. +
    + +

    If the Modified Version includes new front-matter sections or +appendices that qualify as Secondary Sections and contain no material +copied from the Document, you may at your option designate some or all +of these sections as invariant. To do this, add their titles to the +list of Invariant Sections in the Modified Version's license notice. +These titles must be distinct from any other section titles. +

    +

    You may add a section Entitled “Endorsements”, provided it contains +nothing but endorsements of your Modified Version by various +parties—for example, statements of peer review or that the text has +been approved by an organization as the authoritative definition of a +standard. +

    +

    You may add a passage of up to five words as a Front-Cover Text, and a +passage of up to 25 words as a Back-Cover Text, to the end of the list +of Cover Texts in the Modified Version. Only one passage of +Front-Cover Text and one of Back-Cover Text may be added by (or +through arrangements made by) any one entity. If the Document already +includes a cover text for the same cover, previously added by you or +by arrangement made by the same entity you are acting on behalf of, +you may not add another; but you may replace the old one, on explicit +permission from the previous publisher that added the old one. +

    +

    The author(s) and publisher(s) of the Document do not by this License +give permission to use their names for publicity for or to assert or +imply endorsement of any Modified Version. +

    +
  6. +COMBINING DOCUMENTS + +

    You may combine the Document with other documents released under this +License, under the terms defined in section 4 above for modified +versions, provided that you include in the combination all of the +Invariant Sections of all of the original documents, unmodified, and +list them all as Invariant Sections of your combined work in its +license notice, and that you preserve all their Warranty Disclaimers. +

    +

    The combined work need only contain one copy of this License, and +multiple identical Invariant Sections may be replaced with a single +copy. If there are multiple Invariant Sections with the same name but +different contents, make the title of each such section unique by +adding at the end of it, in parentheses, the name of the original +author or publisher of that section if known, or else a unique number. +Make the same adjustment to the section titles in the list of +Invariant Sections in the license notice of the combined work. +

    +

    In the combination, you must combine any sections Entitled “History” +in the various original documents, forming one section Entitled +“History”; likewise combine any sections Entitled “Acknowledgements”, +and any sections Entitled “Dedications”. You must delete all +sections Entitled “Endorsements.” +

    +
  7. +COLLECTIONS OF DOCUMENTS + +

    You may make a collection consisting of the Document and other documents +released under this License, and replace the individual copies of this +License in the various documents with a single copy that is included in +the collection, provided that you follow the rules of this License for +verbatim copying of each of the documents in all other respects. +

    +

    You may extract a single document from such a collection, and distribute +it individually under this License, provided you insert a copy of this +License into the extracted document, and follow this License in all +other respects regarding verbatim copying of that document. +

    +
  8. +AGGREGATION WITH INDEPENDENT WORKS + +

    A compilation of the Document or its derivatives with other separate +and independent documents or works, in or on a volume of a storage or +distribution medium, is called an “aggregate” if the copyright +resulting from the compilation is not used to limit the legal rights +of the compilation's users beyond what the individual works permit. +When the Document is included in an aggregate, this License does not +apply to the other works in the aggregate which are not themselves +derivative works of the Document. +

    +

    If the Cover Text requirement of section 3 is applicable to these +copies of the Document, then if the Document is less than one half of +the entire aggregate, the Document's Cover Texts may be placed on +covers that bracket the Document within the aggregate, or the +electronic equivalent of covers if the Document is in electronic form. +Otherwise they must appear on printed covers that bracket the whole +aggregate. +

    +
  9. +TRANSLATION + +

    Translation is considered a kind of modification, so you may +distribute translations of the Document under the terms of section 4. +Replacing Invariant Sections with translations requires special +permission from their copyright holders, but you may include +translations of some or all Invariant Sections in addition to the +original versions of these Invariant Sections. You may include a +translation of this License, and all the license notices in the +Document, and any Warranty Disclaimers, provided that you also include +the original English version of this License and the original versions +of those notices and disclaimers. In case of a disagreement between +the translation and the original version of this License or a notice +or disclaimer, the original version will prevail. +

    +

    If a section in the Document is Entitled “Acknowledgements”, +“Dedications”, or “History”, the requirement (section 4) to Preserve +its Title (section 1) will typically require changing the actual +title. +

    +
  10. +TERMINATION + +

    You may not copy, modify, sublicense, or distribute the Document +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense, or distribute it is void, and +will automatically terminate your rights under this License. +

    +

    However, if you cease all violation of this License, then your license +from a particular copyright holder is reinstated (a) provisionally, +unless and until the copyright holder explicitly and finally +terminates your license, and (b) permanently, if the copyright holder +fails to notify you of the violation by some reasonable means prior to +60 days after the cessation. +

    +

    Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. +

    +

    Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, receipt of a copy of some or all of the same material does +not give you any rights to use it. +

    +
  11. +FUTURE REVISIONS OF THIS LICENSE + +

    The Free Software Foundation may publish new, revised versions +of the GNU Free Documentation License from time to time. Such new +versions will be similar in spirit to the present version, but may +differ in detail to address new problems or concerns. See +https://www.gnu.org/licenses/. +

    +

    Each version of the License is given a distinguishing version number. +If the Document specifies that a particular numbered version of this +License “or any later version” applies to it, you have the option of +following the terms and conditions either of that specified version or +of any later version that has been published (not as a draft) by the +Free Software Foundation. If the Document does not specify a version +number of this License, you may choose any version ever published (not +as a draft) by the Free Software Foundation. If the Document +specifies that a proxy can decide which future versions of this +License can be used, that proxy's public statement of acceptance of a +version permanently authorizes you to choose that version for the +Document. +

    +
  12. +RELICENSING + +

    “Massive Multiauthor Collaboration Site” (or “MMC Site”) means any +World Wide Web server that publishes copyrightable works and also +provides prominent facilities for anybody to edit those works. A +public wiki that anybody can edit is an example of such a server. A +“Massive Multiauthor Collaboration” (or “MMC”) contained in the +site means any set of copyrightable works thus published on the MMC +site. +

    +

    “CC-BY-SA” means the Creative Commons Attribution-Share Alike 3.0 +license published by Creative Commons Corporation, a not-for-profit +corporation with a principal place of business in San Francisco, +California, as well as future copyleft versions of that license +published by that same organization. +

    +

    “Incorporate” means to publish or republish a Document, in whole or +in part, as part of another Document. +

    +

    An MMC is “eligible for relicensing” if it is licensed under this +License, and if all works that were first published under this License +somewhere other than this MMC, and subsequently incorporated in whole +or in part into the MMC, (1) had no cover texts or invariant sections, +and (2) were thus incorporated prior to November 1, 2008. +

    +

    The operator of an MMC Site may republish an MMC contained in the site +under CC-BY-SA on the same site at any time before August 1, 2009, +provided the MMC is eligible for relicensing. +

    +
+ + + +

ADDENDUM: How to use this License for your documents

+ +

To use this License in a document you have written, include a copy of +the License in the document and put the following copyright and +license notices just after the title page: +

+
 
  Copyright (C)  year  your name.
+  Permission is granted to copy, distribute and/or modify this document
+  under the terms of the GNU Free Documentation License, Version 1.3
+  or any later version published by the Free Software Foundation;
+  with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
+  Texts.  A copy of the license is included in the section entitled ``GNU
+  Free Documentation License''.
+
+ +

If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts, +replace the “with…Texts.” line with this: +

+
 
    with the Invariant Sections being list their titles, with
+    the Front-Cover Texts being list, and with the Back-Cover Texts
+    being list.
+
+ +

If you have Invariant Sections without Cover Texts, or some other +combination of the three, merge those two alternatives to suit the +situation. +

+

If your document contains nontrivial examples of program code, we +recommend releasing these examples in parallel under your choice of +free software license, such as the GNU General Public License, +to permit their use in free software. +

+ + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+

+ + This document was generated by Bruno Haible on July, 2 2025 using texi2html 1.78a. + +
+ +

+ + diff --git a/miniconda3/share/doc/gettext/gettext_21.html b/miniconda3/share/doc/gettext/gettext_21.html new file mode 100644 index 0000000000000000000000000000000000000000..e8794dd73cb16bceaa3190ef31fa953ecd913429 --- /dev/null +++ b/miniconda3/share/doc/gettext/gettext_21.html @@ -0,0 +1,171 @@ + + + + + +GNU gettext utilities: Program Index + + + + + + + + + + + + + + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+ +
+ + +

Program Index

+ +
Jump to:   A +   +B +   +E +   +G +   +M +   +N +   +Q +   +R +   +X +   +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Index Entry Section

A
autopoint13.6.4 Invoking the autopoint Program

B
boldquot9.4.5 Built-in filters

E
envsubst15.5.15.5 Invoking the envsubst program

G
gettext15.5.15 sh - Shell Script
gettext15.5.15.3 Invoking the gettext program
gettextize13.3 Invoking the gettextize Program

M
msgattrib9.8 Invoking the msgattrib Program
msgcat9.1 Invoking the msgcat Program
msgcmp9.7 Invoking the msgcmp Program
msgcomm9.6 Invoking the msgcomm Program
msgconv9.2 Invoking the msgconv Program
msgen9.9 Invoking the msgen Program
msgexec9.10 Invoking the msgexec Program
msgfilter9.4 Invoking the msgfilter Program
msgfmt10.1 Invoking the msgfmt Program
msggrep9.3 Invoking the msggrep Program
msginit6.1 Invoking the msginit Program
msgmerge7.1 Invoking the msgmerge Program
msgunfmt10.2 Invoking the msgunfmt Program
msguniq9.5 Invoking the msguniq Program

N
ngettext15.5.15 sh - Shell Script
ngettext15.5.15.4 Invoking the ngettext program

Q
quot9.4.5 Built-in filters

R
recode-sr-latin9.4.5 Built-in filters

X
xgettext5.1 Invoking the xgettext Program

+
Jump to:   A +   +B +   +E +   +G +   +M +   +N +   +Q +   +R +   +X +   +
+ + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+

+ + This document was generated by Bruno Haible on July, 2 2025 using texi2html 1.78a. + +
+ +

+ + diff --git a/miniconda3/share/doc/gettext/gettext_22.html b/miniconda3/share/doc/gettext/gettext_22.html new file mode 100644 index 0000000000000000000000000000000000000000..3ae23a100fab99d6324a178c8fafde71b1b57af6 --- /dev/null +++ b/miniconda3/share/doc/gettext/gettext_22.html @@ -0,0 +1,733 @@ + + + + + +GNU gettext utilities: Option Index + + + + + + + + + + + + + + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+ +
+ + +

Option Index

+ +
Jump to:   - +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Index Entry Section

-
-<, msgcat option9.1.3 Message selection
-<, msgcomm option9.6.3 Message selection
->, msgcat option9.1.3 Message selection
->, msgcomm option9.6.3 Message selection
-a, msgfmt option10.1.11 Output details
-a, xgettext option5.1.6 Language specific options
--add-comments, xgettext option5.1.5 Operation mode
--add-location, msgattrib option9.8.6 Output details
--add-location, msgcat option9.1.5 Output details
--add-location, msgcomm option9.6.5 Output details
--add-location, msgconv option9.2.5 Output details
--add-location, msgen option9.9.4 Output details
--add-location, msgfilter option9.4.7 Output details
--add-location, msggrep option9.3.5 Output details
--add-location, msgmerge option7.1.7 Output details
--add-location, msguniq option9.5.5 Output details
--add-location, xgettext option5.1.8 Output details
--alignment, msgfmt option10.1.11 Output details
--backup, msgmerge option7.1.4 Output file location in update mode
--boost, xgettext option5.1.6 Language specific options
--c++, xgettext option5.1.3 Choice of input file language
-c, gettext option15.5.15.3 Invoking the gettext program
-c, msgfmt option10.1.10 Input file interpretation
-C, msgfmt option10.1.10 Input file interpretation
-C, msggrep option9.3.3 Message selection
-C, msgmerge option7.1.1 Input file location
-c, ngettext option15.5.15.4 Invoking the ngettext program
-c, xgettext option5.1.5 Operation mode
-C, xgettext option5.1.3 Choice of input file language
--check, msgfmt option10.1.10 Input file interpretation
--check, xgettext option5.1.5 Operation mode
--check-accelerators, msgfmt option10.1.10 Input file interpretation
--check-compatibility, msgfmt option10.1.10 Input file interpretation
--check-domain, msgfmt option10.1.10 Input file interpretation
--check-format, msgfmt option10.1.10 Input file interpretation
--check-header, msgfmt option10.1.10 Input file interpretation
--clear-fuzzy, msgattrib option9.8.4 Attribute manipulation
--clear-obsolete, msgattrib option9.8.4 Attribute manipulation
--clear-previous, msgattrib option9.8.4 Attribute manipulation
--color, msgattrib option9.8.6 Output details
--color, msgcat option9.1.5 Output details
--color, msgcat option9.11.1 The --color option
--color, msgcomm option9.6.5 Output details
--color, msgconv option9.2.5 Output details
--color, msgen option9.9.4 Output details
--color, msgfilter option9.4.7 Output details
--color, msggrep option9.3.5 Output details
--color, msginit option6.1.4 Output details
--color, msgmerge option7.1.7 Output details
--color, msgunfmt option10.2.7 Output details
--color, msguniq option9.5.5 Output details
--color, xgettext option5.1.8 Output details
--comment, msggrep option9.3.3 Message selection
--compendium, msgmerge option7.1.1 Input file location
--context, gettext option15.5.15.3 Invoking the gettext program
--context, ngettext option15.5.15.4 Invoking the ngettext program
--copyright-holder, xgettext option5.1.8 Output details
--csharp, msgfmt option10.1.2 Operation mode
--csharp, msgunfmt option10.2.1 Operation mode
--csharp-resources, msgfmt option10.1.2 Operation mode
--csharp-resources, msgunfmt option10.2.1 Operation mode
-d, autopoint option13.6.4.1 Options
-d, gettext option15.5.15.3 Invoking the gettext program
-d, gettextize option13.3 Invoking the gettextize Program
-D, msgattrib option9.8.1 Input file location
-D, msgcat option9.1.1 Input file location
-D, msgcmp option9.7.1 Input file location
-D, msgcomm option9.6.1 Input file location
-D, msgconv option9.2.1 Input file location
-D, msgen option9.9.1 Input file location
-D, msgexec option9.10.1 Input file location
-D, msgfilter option9.4.1 Input file location
-D, msgfmt option10.1.1 Input file location
-d, msgfmt option10.1.4 Output file location in Java mode
-d, msgfmt option10.1.5 Output file location in C# mode
-d, msgfmt option10.1.6 Output file location in Tcl mode
-d, msgfmt option10.1.7 Desktop Entry mode options
-d, msgfmt option10.1.8 XML mode options
-D, msggrep option9.3.1 Input file location
-D, msgmerge option7.1.1 Input file location
-d, msgunfmt option10.2.4 Input file location in C# mode
-d, msgunfmt option10.2.5 Input file location in Tcl mode
-d, msguniq option9.5.3 Message selection
-D, msguniq option9.5.1 Input file location
-d, ngettext option15.5.15.4 Invoking the ngettext program
-D, xgettext option5.1.1 Input file location
-d, xgettext option5.1.2 Output file location
--debug, xgettext option5.1.6 Language specific options
--default-domain, xgettext option5.1.2 Output file location
--desktop, msgfmt option10.1.2 Operation mode
--directory, msgattrib option9.8.1 Input file location
--directory, msgcat option9.1.1 Input file location
--directory, msgcmp option9.7.1 Input file location
--directory, msgcomm option9.6.1 Input file location
--directory, msgconv option9.2.1 Input file location
--directory, msgen option9.9.1 Input file location
--directory, msgexec option9.10.1 Input file location
--directory, msgfilter option9.4.1 Input file location
--directory, msgfmt option10.1.1 Input file location
--directory, msggrep option9.3.1 Input file location
--directory, msgmerge option7.1.1 Input file location
--directory, msguniq option9.5.1 Input file location
--directory, xgettext option5.1.1 Input file location
--domain, gettext option15.5.15.3 Invoking the gettext program
--domain, msggrep option9.3.3 Message selection
--domain, ngettext option15.5.15.4 Invoking the ngettext program
--dry-run, autopoint option13.6.4.1 Options
--dry-run, gettextize option13.3 Invoking the gettextize Program
-E, gettext option15.5.15.3 Invoking the gettext program
-e, gettext option15.5.15.3 Invoking the gettext program
-e, msgfilter option9.4.4 Useful filter-options when the filter is ‘sed
-e, msggrep option9.3.3 Message selection
-E, msggrep option9.3.3 Message selection
-E, ngettext option15.5.15.4 Invoking the ngettext program
-e, ngettext option15.5.15.4 Invoking the ngettext program
--empty, msgattrib option9.8.4 Attribute manipulation
--endianness, msgfmt option10.1.11 Output details
--exclude-file, xgettext option5.1.5 Operation mode
--expression, msgfilter option9.4.4 Useful filter-options when the filter is ‘sed
--extended-regexp, msggrep option9.3.3 Message selection
--extract-all, xgettext option5.1.6 Language specific options
--extracted-comment, msggrep option9.3.3 Message selection
-f, autopoint option13.6.4.1 Options
-f, gettextize option13.3 Invoking the gettextize Program
-F, msgattrib option9.8.6 Output details
-F, msgcat option9.1.5 Output details
-f, msgcat option9.1.1 Input file location
-F, msgcomm option9.6.5 Output details
-f, msgcomm option9.6.1 Input file location
-F, msgconv option9.2.5 Output details
-F, msgen option9.9.4 Output details
-F, msgfilter option9.4.7 Output details
-f, msgfilter option9.4.4 Useful filter-options when the filter is ‘sed
-f, msgfmt option10.1.10 Input file interpretation
-f, msggrep option9.3.3 Message selection
-F, msggrep option9.3.3 Message selection
-F, msgmerge option7.1.7 Output details
-F, msguniq option9.5.5 Output details
-F, xgettext option5.1.8 Output details
-f, xgettext option5.1.1 Input file location
--file, msgfilter option9.4.4 Useful filter-options when the filter is ‘sed
--file, msggrep option9.3.3 Message selection
--files-from, msgcat option9.1.1 Input file location
--files-from, msgcomm option9.6.1 Input file location
--files-from, xgettext option5.1.1 Input file location
--fixed-strings, msggrep option9.3.3 Message selection
--flag, xgettext option5.1.6 Language specific options
--for-msgfmt, msgmerge option7.1.5 Operation modifiers
--force, autopoint option13.6.4.1 Options
--force, gettextize option13.3 Invoking the gettextize Program
--force-po, msgattrib option9.8.6 Output details
--force-po, msgcat option9.1.5 Output details
--force-po, msgcomm option9.6.5 Output details
--force-po, msgconv option9.2.5 Output details
--force-po, msgen option9.9.4 Output details
--force-po, msgfilter option9.4.7 Output details
--force-po, msggrep option9.3.5 Output details
--force-po, msgmerge option7.1.7 Output details
--force-po, msgunfmt option10.2.7 Output details
--force-po, msguniq option9.5.5 Output details
--force-po, xgettext option5.1.8 Output details
--foreign-user, xgettext option5.1.8 Output details
--from-code, xgettext option5.1.4 Input file interpretation
--fuzzy, msgattrib option9.8.4 Attribute manipulation
--generated, xgettext option5.1.8 Output details
-h, envsubst option15.5.15.5 Invoking the envsubst program
-h, gettext option15.5.15.3 Invoking the gettext program
-h, msgattrib option9.8.7 Informative output
-h, msgcat option9.1.6 Informative output
-h, msgcmp option9.7.4 Informative output
-h, msgcomm option9.6.6 Informative output
-h, msgconv option9.2.6 Informative output
-h, msgen option9.9.5 Informative output
-h, msgexec option9.10.3 Informative output
-h, msgfilter option9.4.8 Informative output
-h, msgfmt option10.1.12 Informative output
-h, msggrep option9.3.6 Informative output
-h, msginit option6.1.5 Informative output
-h, msgmerge option7.1.8 Informative output
-h, msgunfmt option10.2.8 Informative output
-h, msguniq option9.5.6 Informative output
-h, ngettext option15.5.15.4 Invoking the ngettext program
-h, xgettext option5.1.9 Informative output
--help, autopoint option13.6.4.2 Informative output
--help, envsubst option15.5.15.5 Invoking the envsubst program
--help, gettext option15.5.15.3 Invoking the gettext program
--help, gettextize option13.3 Invoking the gettextize Program
--help, msgattrib option9.8.7 Informative output
--help, msgcat option9.1.6 Informative output
--help, msgcmp option9.7.4 Informative output
--help, msgcomm option9.6.6 Informative output
--help, msgconv option9.2.6 Informative output
--help, msgen option9.9.5 Informative output
--help, msgexec option9.10.3 Informative output
--help, msgfilter option9.4.8 Informative output
--help, msgfmt option10.1.12 Informative output
--help, msggrep option9.3.6 Informative output
--help, msginit option6.1.5 Informative output
--help, msgmerge option7.1.8 Informative output
--help, msgunfmt option10.2.8 Informative output
--help, msguniq option9.5.6 Informative output
--help, ngettext option15.5.15.4 Invoking the ngettext program
--help, xgettext option5.1.9 Informative output
-i, msgattrib option9.8.6 Output details
-i, msgcat option9.1.5 Output details
-i, msgcomm option9.6.5 Output details
-i, msgconv option9.2.5 Output details
-i, msgen option9.9.4 Output details
-i, msgexec option9.10.1 Input file location
-i, msgfilter option9.4.1 Input file location
-i, msggrep option9.3.3 Message selection
-i, msginit option6.1.1 Input file location
-i, msgmerge option7.1.7 Output details
-i, msgunfmt option10.2.7 Output details
-i, msguniq option9.5.5 Output details
-i, xgettext option5.1.8 Output details
--ignore-case, msggrep option9.3.3 Message selection
--ignore-file, msgattrib option9.8.4 Attribute manipulation
--indent, msgattrib option9.8.6 Output details
--indent, msgcat option9.1.5 Output details
--indent, msgcomm option9.6.5 Output details
--indent, msgconv option9.2.5 Output details
--indent, msgen option9.9.4 Output details
--indent, msgfilter option9.4.7 Output details
--indent, msggrep option9.3.5 Output details
--indent, msgmerge option7.1.7 Output details
--indent, msgunfmt option10.2.7 Output details
--indent, msguniq option9.5.5 Output details
--indent, xgettext option5.1.8 Output details
--input, msgexec option9.10.1 Input file location
--input, msgfilter option9.4.1 Input file location
--input, msginit option6.1.1 Input file location
--invert-match, msggrep option9.3.3 Message selection
--its, xgettext option5.1.7 Options for XML input files
--itstool, xgettext option5.1.8 Output details
-j, msgfmt option10.1.2 Operation mode
-J, msggrep option9.3.3 Message selection
-j, msgunfmt option10.2.1 Operation mode
-j, xgettext option5.1.5 Operation mode
--java, msgfmt option10.1.2 Operation mode
--java, msgunfmt option10.2.1 Operation mode
--java2, msgfmt option10.1.2 Operation mode
--join-existing, xgettext option5.1.5 Operation mode
-k, msgfmt option10.1.7 Desktop Entry mode options
-K, msggrep option9.3.3 Message selection
-k, xgettext option5.1.6 Language specific options
--kde, xgettext option5.1.6 Language specific options
--keep-header, msgfilter option9.4.7 Output details
--keyword, msgfmt option10.1.7 Desktop Entry mode options
--keyword, xgettext option5.1.6 Language specific options
-l, msgfmt option10.1.4 Output file location in Java mode
-L, msgfmt option10.1.8 XML mode options
-l, msgfmt option10.1.5 Output file location in C# mode
-l, msgfmt option10.1.6 Output file location in Tcl mode
-l, msgfmt option10.1.7 Desktop Entry mode options
-l, msgfmt option10.1.8 XML mode options
-l, msginit option6.1.4 Output details
-l, msgunfmt option10.2.3 Input file location in Java mode
-l, msgunfmt option10.2.4 Input file location in C# mode
-l, msgunfmt option10.2.5 Input file location in Tcl mode
-L, xgettext option5.1.3 Choice of input file language
--lang, msgcat option9.1.5 Output details
--lang, msgen option9.9.4 Output details
--lang, msgmerge option7.1.7 Output details
--language, msgfmt option10.1.8 XML mode options
--language, xgettext option5.1.3 Choice of input file language
--less-than, msgcat option9.1.3 Message selection
--less-than, msgcomm option9.6.3 Message selection
--locale, msgfmt option10.1.4 Output file location in Java mode
--locale, msgfmt option10.1.5 Output file location in C# mode
--locale, msgfmt option10.1.6 Output file location in Tcl mode
--locale, msgfmt option10.1.7 Desktop Entry mode options
--locale, msgfmt option10.1.8 XML mode options
--locale, msginit option6.1.4 Output details
--locale, msgunfmt option10.2.3 Input file location in Java mode
--locale, msgunfmt option10.2.4 Input file location in C# mode
--locale, msgunfmt option10.2.5 Input file location in Tcl mode
--location, msggrep option9.3.3 Message selection
-m, msgcmp option9.7.2 Operation modifiers
-M, msggrep option9.3.3 Message selection
-m, msgmerge option7.1.5 Operation modifiers
-m, xgettext option5.1.8 Output details
-M, xgettext option5.1.8 Output details
--more-than, msgcat option9.1.3 Message selection
--more-than, msgcomm option9.6.3 Message selection
--msgctxt, msggrep option9.3.3 Message selection
--msgid, msggrep option9.3.3 Message selection
--msgid-bugs-address, xgettext option5.1.8 Output details
--msgstr, msggrep option9.3.3 Message selection
--msgstr-prefix, xgettext option5.1.8 Output details
--msgstr-suffix, xgettext option5.1.8 Output details
--multi-domain, msgcmp option9.7.2 Operation modifiers
--multi-domain, msgmerge option7.1.5 Operation modifiers
-n, gettext option15.5.15.3 Invoking the gettext program
-n, msgattrib option9.8.6 Output details
-n, msgcat option9.1.5 Output details
-N, msgcmp option9.7.2 Operation modifiers
-n, msgcomm option9.6.5 Output details
-n, msgfilter option9.4.4 Useful filter-options when the filter is ‘sed
-N, msggrep option9.3.3 Message selection
-N, msgmerge option7.1.5 Operation modifiers
-n, msguniq option9.5.5 Output details
-n, xgettext option5.1.8 Output details
--newline, msgfilter option9.4.3 The filter
--newline, msgfilter option9.10 Invoking the msgexec Program
--no-changelog, gettextize option13.3 Invoking the gettextize Program
--no-convert, msgfmt option10.1.11 Output details
--no-fuzzy, msgattrib option9.8.3 Message selection
--no-fuzzy-matching, msgcmp option9.7.2 Operation modifiers
--no-fuzzy-matching, msgmerge option7.1.5 Operation modifiers
--no-git, xgettext option5.1.8 Output details
--no-hash, msgfmt option10.1.11 Output details
--no-location, msgattrib option9.8.6 Output details
--no-location, msgcat option9.1.5 Output details
--no-location, msgcomm option9.6.5 Output details
--no-location, msgconv option9.2.5 Output details
--no-location, msgen option9.9.4 Output details
--no-location, msgfilter option9.4.7 Output details
--no-location, msggrep option9.3.5 Output details
--no-location, msgmerge option7.1.7 Output details
--no-location, msguniq option9.5.5 Output details
--no-location, xgettext option5.1.8 Output details
--no-obsolete, msgattrib option9.8.3 Message selection
--no-redundancy, msgfmt option10.1.11 Output details
--no-translator, msginit option6.1.4 Output details
--no-wrap, msgattrib option9.8.6 Output details
--no-wrap, msgcat option9.1.5 Output details
--no-wrap, msgcomm option9.6.5 Output details
--no-wrap, msgconv option9.2.5 Output details
--no-wrap, msgen option9.9.4 Output details
--no-wrap, msgfilter option9.4.7 Output details
--no-wrap, msggrep option9.3.5 Output details
--no-wrap, msginit option6.1.4 Output details
--no-wrap, msgmerge option7.1.7 Output details
--no-wrap, msgunfmt option10.2.7 Output details
--no-wrap, msguniq option9.5.5 Output details
--no-wrap, xgettext option5.1.8 Output details
-o, msgattrib option9.8.2 Output file location
-o, msgcat option9.1.2 Output file location
-o, msgcomm option9.6.2 Output file location
-o, msgconv option9.2.2 Output file location
-o, msgen option9.9.2 Output file location
-o, msgfilter option9.4.2 Output file location
-o, msgfmt option10.1.3 Output file location
-o, msggrep option9.3.2 Output file location
-o, msginit option6.1.2 Output file location
-o, msgmerge option7.1.3 Output file location
-o, msgunfmt option10.2.6 Output file location
-o, msguniq option9.5.2 Output file location
-o, xgettext option5.1.2 Output file location
--obsolete, msgattrib option9.8.4 Attribute manipulation
--omit-header, msgcomm option9.6.5 Output details
--omit-header, xgettext option5.1.8 Output details
--only-file, msgattrib option9.8.4 Attribute manipulation
--only-fuzzy, msgattrib option9.8.3 Message selection
--only-obsolete, msgattrib option9.8.3 Message selection
--output, xgettext option5.1.2 Output file location
--output-dir, xgettext option5.1.2 Output file location
--output-file, msgattrib option9.8.2 Output file location
--output-file, msgcat option9.1.2 Output file location
--output-file, msgcomm option9.6.2 Output file location
--output-file, msgconv option9.2.2 Output file location
--output-file, msgen option9.9.2 Output file location
--output-file, msgfilter option9.4.2 Output file location
--output-file, msgfmt option10.1.3 Output file location
--output-file, msggrep option9.3.2 Output file location
--output-file, msginit option6.1.2 Output file location
--output-file, msgmerge option7.1.3 Output file location
--output-file, msgunfmt option10.2.6 Output file location
--output-file, msguniq option9.5.2 Output file location
-P, msgattrib option9.8.5 Input file syntax
-p, msgattrib option9.8.6 Output details
-p, msgcat option9.1.5 Output details
-P, msgcat option9.1.4 Input file syntax
-P, msgcmp option9.7.3 Input file syntax
-p, msgcomm option9.6.5 Output details
-P, msgcomm option9.6.4 Input file syntax
-p, msgconv option9.2.5 Output details
-P, msgconv option9.2.4 Input file syntax
-P, msgen option9.9.3 Input file syntax
-p, msgen option9.9.4 Output details
-P, msgexec option9.10.2 Input file syntax
-p, msgfilter option9.4.7 Output details
-P, msgfilter option9.4.6 Input file syntax
-P, msgfmt option10.1.9 Input file syntax
-P, msggrep option9.3.4 Input file syntax
-p, msggrep option9.3.5 Output details
-p, msginit option6.1.4 Output details
-P, msginit option6.1.3 Input file syntax
-P, msgmerge option7.1.6 Input file syntax
-p, msgmerge option7.1.7 Output details
-p, msgunfmt option10.2.7 Output details
-P, msguniq option9.5.4 Input file syntax
-p, msguniq option9.5.5 Output details
-p, xgettext option5.1.2 Output file location
--package-name, xgettext option5.1.8 Output details
--package-version, xgettext option5.1.8 Output details
--po-dir, gettextize option13.3 Invoking the gettextize Program
--previous, msgattrib option9.8.4 Attribute manipulation
--previous, msgmerge option7.1.5 Operation modifiers
--properties-input, msgattrib option9.8.5 Input file syntax
--properties-input, msgcat option9.1.4 Input file syntax
--properties-input, msgcmp option9.7.3 Input file syntax
--properties-input, msgcomm option9.6.4 Input file syntax
--properties-input, msgconv option9.2.4 Input file syntax
--properties-input, msgen option9.9.3 Input file syntax
--properties-input, msgexec option9.10.2 Input file syntax
--properties-input, msgfilter option9.4.6 Input file syntax
--properties-input, msgfmt option10.1.9 Input file syntax
--properties-input, msggrep option9.3.4 Input file syntax
--properties-input, msginit option6.1.3 Input file syntax
--properties-input, msgmerge option7.1.6 Input file syntax
--properties-input, msguniq option9.5.4 Input file syntax
--properties-output, msgattrib option9.8.6 Output details
--properties-output, msgcat option9.1.5 Output details
--properties-output, msgcomm option9.6.5 Output details
--properties-output, msgconv option9.2.5 Output details
--properties-output, msgen option9.9.4 Output details
--properties-output, msgfilter option9.4.7 Output details
--properties-output, msggrep option9.3.5 Output details
--properties-output, msginit option6.1.4 Output details
--properties-output, msgmerge option7.1.7 Output details
--properties-output, msgunfmt option10.2.7 Output details
--properties-output, msguniq option9.5.5 Output details
--properties-output, xgettext option5.1.8 Output details
-q, msgmerge option7.1.8 Informative output
--qt, msgfmt option10.1.2 Operation mode
--qt, xgettext option5.1.6 Language specific options
--quiet, msgfilter option9.4.4 Useful filter-options when the filter is ‘sed
--quiet, msgmerge option7.1.8 Informative output
-r, msgfmt option10.1.4 Output file location in Java mode
-r, msgfmt option10.1.5 Output file location in C# mode
-r, msgunfmt option10.2.3 Input file location in Java mode
-r, msgunfmt option10.2.4 Input file location in C# mode
--reference, xgettext option5.1.8 Output details
--regexp=, msggrep option9.3.3 Message selection
--repeated, msguniq option9.5.3 Message selection
--replace-text, msgfmt option10.1.8 XML mode options
--resource, msgfmt option10.1.4 Output file location in Java mode
--resource, msgfmt option10.1.5 Output file location in C# mode
--resource, msgunfmt option10.2.3 Input file location in Java mode
--resource, msgunfmt option10.2.4 Input file location in C# mode
-s, msgattrib option9.8.6 Output details
-s, msgcat option9.1.5 Output details
-s, msgcomm option9.6.5 Output details
-s, msgconv option9.2.5 Output details
-s, msgen option9.9.4 Output details
-s, msgfilter option9.4.7 Output details
-s, msgmerge option7.1.7 Output details
-s, msgunfmt option10.2.7 Output details
-s, msguniq option9.5.5 Output details
-s, xgettext option5.1.8 Output details
--sentence-end, xgettext option5.1.5 Operation mode
--set-fuzzy, msgattrib option9.8.4 Attribute manipulation
--set-obsolete, msgattrib option9.8.4 Attribute manipulation
--silent, msgfilter option9.4.4 Useful filter-options when the filter is ‘sed
--silent, msgmerge option7.1.8 Informative output
--sort-by-file, msgattrib option9.8.6 Output details
--sort-by-file, msgcat option9.1.5 Output details
--sort-by-file, msgcomm option9.6.5 Output details
--sort-by-file, msgconv option9.2.5 Output details
--sort-by-file, msgen option9.9.4 Output details
--sort-by-file, msgfilter option9.4.7 Output details
--sort-by-file, msggrep option9.3.5 Output details
--sort-by-file, msgmerge option7.1.7 Output details
--sort-by-file, msguniq option9.5.5 Output details
--sort-by-file, xgettext option5.1.8 Output details
--sort-output, msgattrib option9.8.6 Output details
--sort-output, msgcat option9.1.5 Output details
--sort-output, msgcomm option9.6.5 Output details
--sort-output, msgconv option9.2.5 Output details
--sort-output, msgen option9.9.4 Output details
--sort-output, msgfilter option9.4.7 Output details
--sort-output, msggrep option9.3.5 Output details
--sort-output, msgmerge option7.1.7 Output details
--sort-output, msgunfmt option10.2.7 Output details
--sort-output, msguniq option9.5.5 Output details
--sort-output, xgettext option5.1.8 Output details
--source, msgfmt option10.1.4 Output file location in Java mode
--statistics, msgfmt option10.1.12 Informative output
--strict, msgattrib option9.8.6 Output details
--strict, msgcat option9.1.5 Output details
--strict, msgcomm option9.6.5 Output details
--strict, msgconv option9.2.5 Output details
--strict, msgen option9.9.4 Output details
--strict, msgfilter option9.4.7 Output details
--strict, msgfmt option10.1.3 Output file location
--strict, msggrep option9.3.5 Output details
--strict, msgmerge option7.1.7 Output details
--strict, msgunfmt option10.2.7 Output details
--strict, msguniq option9.5.5 Output details
--strict, xgettext option5.1.8 Output details
--stringtable-input, msgattrib option9.8.5 Input file syntax
--stringtable-input, msgcat option9.1.4 Input file syntax
--stringtable-input, msgcmp option9.7.3 Input file syntax
--stringtable-input, msgcomm option9.6.4 Input file syntax
--stringtable-input, msgen option9.9.3 Input file syntax
--stringtable-input, msgexec option9.10.2 Input file syntax
--stringtable-input, msgfilter option9.4.6 Input file syntax
--stringtable-input, msgfmt option10.1.9 Input file syntax
--stringtable-input, msggrep option9.3.4 Input file syntax
--stringtable-input, msginit option6.1.3 Input file syntax
--stringtable-input, msgmerge option7.1.6 Input file syntax
--stringtable-input, msgonv option9.2.4 Input file syntax
--stringtable-input, msguniq option9.5.4 Input file syntax
--stringtable-output, msgattrib option9.8.6 Output details
--stringtable-output, msgcat option9.1.5 Output details
--stringtable-output, msgcomm option9.6.5 Output details
--stringtable-output, msgconv option9.2.5 Output details
--stringtable-output, msgen option9.9.4 Output details
--stringtable-output, msgfilter option9.4.7 Output details
--stringtable-output, msggrep option9.3.5 Output details
--stringtable-output, msginit option6.1.4 Output details
--stringtable-output, msgmerge option7.1.7 Output details
--stringtable-output, msgunfmt option10.2.7 Output details
--stringtable-output, msguniq option9.5.5 Output details
--stringtable-output, xgettext option5.1.8 Output details
--style, msgattrib option9.8.6 Output details
--style, msgcat option9.1.5 Output details
--style, msgcat option9.11.3 The --style option
--style, msgcomm option9.6.5 Output details
--style, msgconv option9.2.5 Output details
--style, msgen option9.9.4 Output details
--style, msgfilter option9.4.7 Output details
--style, msggrep option9.3.5 Output details
--style, msginit option6.1.4 Output details
--style, msgmerge option7.1.7 Output details
--style, msgunfmt option10.2.7 Output details
--style, msguniq option9.5.5 Output details
--style, xgettext option5.1.8 Output details
--suffix, msgmerge option7.1.4 Output file location in update mode
--symlink, gettextize option13.3 Invoking the gettextize Program
-t, msgcat option9.1.5 Output details
-t, msgconv option9.2.3 Conversion target
-T, msggrep option9.3.3 Message selection
-t, msguniq option9.5.5 Output details
-T, xgettext option5.1.6 Language specific options
--tag, xgettext option5.1.6 Language specific options
--tcl, msgfmt option10.1.2 Operation mode
--tcl, msgunfmt option10.2.1 Operation mode
--template, msgfmt option10.1.7 Desktop Entry mode options
--template, msgfmt option10.1.8 XML mode options
--to-code, msgcat option9.1.5 Output details
--to-code, msgconv option9.2.3 Conversion target
--to-code, msguniq option9.5.5 Output details
--translated, msgattrib option9.8.3 Message selection
--trigraphs, xgettext option5.1.6 Language specific options
-u, msgcat option9.1.3 Message selection
-u, msgcomm option9.6.3 Message selection
-U, msgmerge option7.1.2 Operation mode
-u, msguniq option9.5.3 Message selection
--unique, msgcat option9.1.3 Message selection
--unique, msgcomm option9.6.3 Message selection
--unique, msguniq option9.5.3 Message selection
--untranslated, msgattrib option9.8.3 Message selection
--update, msgmerge option7.1.2 Operation mode
--use-first, msgcat option9.1.5 Output details
--use-first, msguniq option9.5.5 Output details
--use-fuzzy, msgcmp option9.7.2 Operation modifiers
--use-fuzzy, msgfmt option10.1.10 Input file interpretation
--use-untranslated, msgcmp option9.7.2 Operation modifiers
-v, envsubst option15.5.15.5 Invoking the envsubst program
-V, envsubst option15.5.15.5 Invoking the envsubst program
-V, gettext option15.5.15.3 Invoking the gettext program
-V, msgattrib option9.8.7 Informative output
-V, msgcat option9.1.6 Informative output
-V, msgcmp option9.7.4 Informative output
-V, msgcomm option9.6.6 Informative output
-V, msgconv option9.2.6 Informative output
-V, msgen option9.9.5 Informative output
-V, msgexec option9.10.3 Informative output
-V, msgfilter option9.4.8 Informative output
-V, msgfmt option10.1.12 Informative output
-v, msgfmt option10.1.12 Informative output
-v, msggrep option9.3.3 Message selection
-V, msggrep option9.3.6 Informative output
-V, msginit option6.1.5 Informative output
-v, msgmerge option7.1.8 Informative output
-V, msgmerge option7.1.8 Informative output
-v, msgunfmt option10.2.8 Informative output
-V, msgunfmt option10.2.8 Informative output
-V, msguniq option9.5.6 Informative output
-V, ngettext option15.5.15.4 Invoking the ngettext program
-V, xgettext option5.1.9 Informative output
-v, xgettext option5.1.9 Informative output
--variables, envsubst option15.5.15.5 Invoking the envsubst program
--verbose, msgfmt option10.1.12 Informative output
--verbose, msgmerge option7.1.8 Informative output
--verbose, msgunfmt option10.2.8 Informative output
--verbose, xgettext option5.1.9 Informative output
--version, autopoint option13.6.4.2 Informative output
--version, envsubst option15.5.15.5 Invoking the envsubst program
--version, gettext option15.5.15.3 Invoking the gettext program
--version, gettextize option13.3 Invoking the gettextize Program
--version, msgattrib option9.8.7 Informative output
--version, msgcat option9.1.6 Informative output
--version, msgcmp option9.7.4 Informative output
--version, msgcomm option9.6.6 Informative output
--version, msgconv option9.2.6 Informative output
--version, msgen option9.9.5 Informative output
--version, msgexec option9.10.3 Informative output
--version, msgfilter option9.4.8 Informative output
--version, msgfmt option10.1.12 Informative output
--version, msggrep option9.3.6 Informative output
--version, msginit option6.1.5 Informative output
--version, msgmerge option7.1.8 Informative output
--version, msgunfmt option10.2.8 Informative output
--version, msguniq option9.5.6 Informative output
--version, ngettext option15.5.15.4 Invoking the ngettext program
--version, xgettext option5.1.9 Informative output
-w, msgattrib option9.8.6 Output details
-w, msgcat option9.1.5 Output details
-w, msgcomm option9.6.5 Output details
-w, msgconv option9.2.5 Output details
-w, msgen option9.9.4 Output details
-w, msgfilter option9.4.7 Output details
-w, msggrep option9.3.5 Output details
-w, msginit option6.1.4 Output details
-w, msgmerge option7.1.7 Output details
-w, msgunfmt option10.2.7 Output details
-w, msguniq option9.5.5 Output details
-w, xgettext option5.1.8 Output details
--width, msgattrib option9.8.6 Output details
--width, msgcat option9.1.5 Output details
--width, msgcomm option9.6.5 Output details
--width, msgconv option9.2.5 Output details
--width, msgen option9.9.4 Output details
--width, msgfilter option9.4.7 Output details
--width, msggrep option9.3.5 Output details
--width, msginit option6.1.4 Output details
--width, msgmerge option7.1.7 Output details
--width, msgunfmt option10.2.7 Output details
--width, msguniq option9.5.5 Output details
--width, xgettext option5.1.8 Output details
-X, msggrep option9.3.3 Message selection
-x, xgettext option5.1.5 Operation mode
--xml, msgfmt option10.1.2 Operation mode

+
Jump to:   - +
+ + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+

+ + This document was generated by Bruno Haible on July, 2 2025 using texi2html 1.78a. + +
+ +

+ + diff --git a/miniconda3/share/doc/gettext/gettext_23.html b/miniconda3/share/doc/gettext/gettext_23.html new file mode 100644 index 0000000000000000000000000000000000000000..63c37952c07b0b66b1f46a6a184c16fefc8c10f2 --- /dev/null +++ b/miniconda3/share/doc/gettext/gettext_23.html @@ -0,0 +1,172 @@ + + + + + +GNU gettext utilities: Variable Index + + + + + + + + + + + + + + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+ +
+ + +

Variable Index

+ +
Jump to:   G +   +L +   +M +   +O +   +P +   +T +   +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Index Entry Section

G
GETTEXT_LOG_UNTRANSLATED, environment variable12.5 Prioritizing messages: How to determine which messages to translate first
GETTEXTDATADIRS, environment variable5.1.7 Options for XML input files
GETTEXTDATADIRS, environment variable10.1.8 XML mode options

L
LANG, environment variable2.3.2 Locale Environment Variables
LANG, environment variable11.5 Being a gettext grok
LANGUAGE, environment variable2.3.2 Locale Environment Variables
LANGUAGE, environment variable11.5 Being a gettext grok
LANGUAGE, environment variable13.4.4 Extending ‘Makefile’ in ‘po/
LC_ALL, environment variable2.3.2 Locale Environment Variables
LC_ALL, environment variable11.5 Being a gettext grok
LC_COLLATE, environment variable2.3.2 Locale Environment Variables
LC_COLLATE, environment variable11.5 Being a gettext grok
LC_CTYPE, environment variable2.3.2 Locale Environment Variables
LC_CTYPE, environment variable11.5 Being a gettext grok
LC_MESSAGES, environment variable2.3.2 Locale Environment Variables
LC_MESSAGES, environment variable11.5 Being a gettext grok
LC_MONETARY, environment variable2.3.2 Locale Environment Variables
LC_MONETARY, environment variable11.5 Being a gettext grok
LC_NUMERIC, environment variable2.3.2 Locale Environment Variables
LC_NUMERIC, environment variable11.5 Being a gettext grok
LC_TIME, environment variable2.3.2 Locale Environment Variables
LC_TIME, environment variable11.5 Being a gettext grok
LINGUAS, environment variable14. The Installer's and Distributor's View

M
MSGEXEC_LOCATION, environment variable9.10 Invoking the msgexec Program
MSGEXEC_MSGCTXT, environment variable9.10 Invoking the msgexec Program
MSGEXEC_MSGID, environment variable9.10 Invoking the msgexec Program
MSGEXEC_MSGID_PLURAL, environment variable9.10 Invoking the msgexec Program
MSGEXEC_PLURAL_FORM, environment variable9.10 Invoking the msgexec Program
MSGEXEC_PREV_MSGCTXT, environment variable9.10 Invoking the msgexec Program
MSGEXEC_PREV_MSGID, environment variable9.10 Invoking the msgexec Program
MSGEXEC_PREV_MSGID_PLURAL, environment variable9.10 Invoking the msgexec Program
MSGFILTER_LOCATION, environment variable9.4 Invoking the msgfilter Program
MSGFILTER_MSGCTXT, environment variable9.4 Invoking the msgfilter Program
MSGFILTER_MSGID, environment variable9.4 Invoking the msgfilter Program
MSGFILTER_MSGID_PLURAL, environment variable9.4 Invoking the msgfilter Program
MSGFILTER_PLURAL_FORM, environment variable9.4 Invoking the msgfilter Program
MSGFILTER_PREV_MSGCTXT, environment variable9.4 Invoking the msgfilter Program
MSGFILTER_PREV_MSGID, environment variable9.4 Invoking the msgfilter Program
MSGFILTER_PREV_MSGID_PLURAL, environment variable9.4 Invoking the msgfilter Program

O
OUTPUT_CHARSET, environment variable2.4 Obtaining good output in a Windows console

P
PO_STYLE, environment variable9.11.3 The --style option

T
TERM, environment variable9.11.2 The environment variable TERM
TEXTDOMAIN, environment variable15.5.15 sh - Shell Script
TEXTDOMAINDIR, environment variable15.5.15 sh - Shell Script

+
Jump to:   G +   +L +   +M +   +O +   +P +   +T +   +
+ + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+

+ + This document was generated by Bruno Haible on July, 2 2025 using texi2html 1.78a. + +
+ +

+ + diff --git a/miniconda3/share/doc/gettext/gettext_24.html b/miniconda3/share/doc/gettext/gettext_24.html new file mode 100644 index 0000000000000000000000000000000000000000..cfd81ab411cbfa2dc8b580d002af60dcda9a04e8 --- /dev/null +++ b/miniconda3/share/doc/gettext/gettext_24.html @@ -0,0 +1,408 @@ + + + + + +GNU gettext utilities: PO Mode Index + + + + + + + + + + + + + + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+ +
+ + +

PO Mode Index

+ +
Jump to:   # +   +, +   +. +   +0 +   +< +   += +   +> +   +? +   +_ +   +
+A +   +C +   +D +   +E +   +F +   +H +   +I +   +K +   +L +   +M +   +N +   +O +   +P +   +Q +   +R +   +S +   +T +   +U +   +V +   +W +   +X +   +Y +   +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Index Entry Section

#
#, PO Mode command8.7.10 Modifying Comments
#, PO Mode command8.7.10 Modifying Comments

,
,, PO Mode command4.5 Marking Translatable Strings

.
., PO Mode command8.7.3 Entry Positioning
., PO Mode command8.7.3 Entry Positioning
.emacs’ customizations8.7.1 Completing GNU gettext Installation

0
0, PO Mode command8.7.2 Main PO mode Commands
0, PO Mode command8.7.2 Main PO mode Commands

<
<, PO Mode command8.7.3 Entry Positioning
<, PO Mode command8.7.3 Entry Positioning

=
=, PO Mode command8.7.2 Main PO mode Commands
=, PO Mode command8.7.2 Main PO mode Commands

>
>, PO Mode command8.7.3 Entry Positioning
>, PO Mode command8.7.3 Entry Positioning

?
?, PO Mode command8.7.2 Main PO mode Commands
?, PO Mode command8.7.2 Main PO mode Commands

_
_, PO Mode command8.7.2 Main PO mode Commands
_, PO Mode command8.7.2 Main PO mode Commands

A
A, PO Mode command8.7.13 Consulting Auxiliary PO Files
a, PO Mode command8.7.13 Consulting Auxiliary PO Files
a, PO Mode command8.7.13 Consulting Auxiliary PO Files
A, PO Mode command8.7.13 Consulting Auxiliary PO Files
auxiliary PO file8.7.13 Consulting Auxiliary PO Files

C
C-c C-a, PO Mode command8.7.11 Details of Sub Edition
C-c C-a, PO Mode command8.7.11 Details of Sub Edition
C-c C-a, PO Mode command8.7.13 Consulting Auxiliary PO Files
C-c C-a, PO Mode command8.7.13 Consulting Auxiliary PO Files
C-c C-c, PO Mode command8.7.11 Details of Sub Edition
C-c C-c, PO Mode command8.7.11 Details of Sub Edition
C-c C-k, PO Mode command8.7.11 Details of Sub Edition
C-c C-k, PO Mode command8.7.11 Details of Sub Edition
C-j, PO Mode command8.7.9 Modifying Translations
C-j, PO Mode command8.7.9 Modifying Translations
commands8.7.2 Main PO mode Commands
comment out PO file entry8.7.8 Obsolete Entries
consulting program sources8.7.12 C Sources Context
consulting translations to other languages8.7.13 Consulting Auxiliary PO Files
current entry of a PO file8.7.3 Entry Positioning
cut and paste for translated strings8.7.9 Modifying Translations

D
DEL, PO Mode command8.7.6 Fuzzy Entries
DEL, PO Mode command8.7.8 Obsolete Entries
DEL, PO Mode command8.7.8 Obsolete Entries

E
editing comments8.7.10 Modifying Comments
editing multiple entries8.7.11 Details of Sub Edition
editing translations8.7.9 Modifying Translations
etags, using for marking strings4.5 Marking Translatable Strings
exiting PO subedit8.7.11 Details of Sub Edition

F
f, PO Mode command8.7.6 Fuzzy Entries
F, PO Mode command8.7.6 Fuzzy Entries
F, PO Mode command8.7.6 Fuzzy Entries
f, PO Mode command8.7.6 Fuzzy Entries
find source fragment for a PO file entry8.7.12 C Sources Context

H
h, PO Mode command8.7.2 Main PO mode Commands
h, PO Mode command8.7.2 Main PO mode Commands

I
installing PO mode8.7.1 Completing GNU gettext Installation

K
K, PO Mode command8.7.10 Modifying Comments
k, PO Mode command8.7.7 Untranslated Entries
K, PO Mode command8.7.10 Modifying Comments
k, PO Mode command8.7.7 Untranslated Entries
k, PO Mode command8.7.9 Modifying Translations
k, PO Mode command8.7.9 Modifying Translations

L
LFD, PO Mode command8.7.9 Modifying Translations
LFD, PO Mode command8.7.9 Modifying Translations
looking at the source to aid translation8.7.12 C Sources Context

M
m, PO Mode command8.7.3 Entry Positioning
m, PO Mode command8.7.3 Entry Positioning
M-,, PO Mode command4.5 Marking Translatable Strings
M-., PO Mode command4.5 Marking Translatable Strings
M-A, PO Mode command8.7.13 Consulting Auxiliary PO Files
M-A, PO Mode command8.7.13 Consulting Auxiliary PO Files
M-s, PO Mode command8.7.12 C Sources Context
M-S, PO Mode command8.7.12 C Sources Context
M-S, PO Mode command8.7.12 C Sources Context
M-s, PO Mode command8.7.12 C Sources Context
marking strings for translation4.5 Marking Translatable Strings
moving by fuzzy entries8.7.6 Fuzzy Entries
moving by obsolete entries8.7.8 Obsolete Entries
moving by translated entries8.7.5 Translated Entries
moving by untranslated entries8.7.7 Untranslated Entries
moving through a PO file8.7.3 Entry Positioning

N
n, PO Mode command8.7.3 Entry Positioning
n, PO Mode command8.7.3 Entry Positioning
next-error, stepping through PO file validation results8.7.2 Main PO mode Commands
normalize, PO Mode command8.7.13 Consulting Auxiliary PO Files

O
O, PO Mode command8.7.8 Obsolete Entries
o, PO Mode command8.7.8 Obsolete Entries
o, PO Mode command8.7.8 Obsolete Entries
O, PO Mode command8.7.8 Obsolete Entries
obsolete active entry8.7.8 Obsolete Entries

P
p, PO Mode command8.7.3 Entry Positioning
p, PO Mode command8.7.3 Entry Positioning
pending subedits8.7.11 Details of Sub Edition
po-auto-edit-with-msgid, PO Mode variable8.7.9 Modifying Translations
po-auto-fuzzy-on-edit, PO Mode variable8.7.5 Translated Entries
po-auto-select-on-unfuzzy, PO Mode variable8.7.6 Fuzzy Entries
po-confirm-and-quit, PO Mode command8.7.2 Main PO mode Commands
po-consider-as-auxiliary, PO Mode command8.7.13 Consulting Auxiliary PO Files
po-consider-source-path, PO Mode command8.7.12 C Sources Context
po-current-entry, PO Mode command8.7.3 Entry Positioning
po-cycle-auxiliary, PO Mode command8.7.13 Consulting Auxiliary PO Files
po-cycle-source-reference, PO Mode command8.7.12 C Sources Context
po-edit-comment, PO Mode command8.7.10 Modifying Comments
po-edit-msgstr, PO Mode command8.7.9 Modifying Translations
po-exchange-location, PO Mode command8.7.3 Entry Positioning
po-fade-out-entry, PO Mode command8.7.6 Fuzzy Entries
po-fade-out-entry, PO Mode command8.7.8 Obsolete Entries
po-first-entry, PO Mode command8.7.3 Entry Positioning
po-help, PO Mode command8.7.2 Main PO mode Commands
po-ignore-as-auxiliary, PO Mode command8.7.13 Consulting Auxiliary PO Files
po-ignore-source-path, PO Mode command8.7.12 C Sources Context
po-kill-comment, PO Mode command8.7.10 Modifying Comments
po-kill-msgstr, PO Mode command8.7.7 Untranslated Entries
po-kill-msgstr, PO Mode command8.7.9 Modifying Translations
po-kill-ring-save-comment, PO Mode command8.7.10 Modifying Comments
po-kill-ring-save-msgstr, PO Mode command8.7.9 Modifying Translations
po-last-entry, PO Mode command8.7.3 Entry Positioning
po-mark-translatable, PO Mode command4.5 Marking Translatable Strings
po-msgid-to-msgstr, PO Mode command8.7.9 Modifying Translations
po-next-entry, PO Mode command8.7.3 Entry Positioning
po-next-fuzzy-entry, PO Mode command8.7.6 Fuzzy Entries
po-next-obsolete-entry, PO Mode command8.7.8 Obsolete Entries
po-next-translated-entry, PO Mode command8.7.5 Translated Entries
po-next-untranslated-entry, PO Mode command8.7.7 Untranslated Entries
po-normalize, PO Mode command8.7.4 Normalizing Strings in Entries
po-other-window, PO Mode command8.7.2 Main PO mode Commands
po-pop-location, PO Mode command8.7.3 Entry Positioning
po-previous-entry, PO Mode command8.7.3 Entry Positioning
po-previous-fuzzy-entry, PO Mode command8.7.6 Fuzzy Entries
po-previous-obsolete-entry, PO Mode command8.7.8 Obsolete Entries
po-previous-translated-entry, PO Mode command8.7.5 Translated Entries
po-previous-untransted-entry, PO Mode command8.7.7 Untranslated Entries
po-push-location, PO Mode command8.7.3 Entry Positioning
po-quit, PO Mode command8.7.2 Main PO mode Commands
po-select-auxiliary, PO Mode command8.7.13 Consulting Auxiliary PO Files
po-select-mark-and-mark, PO Mode command4.5 Marking Translatable Strings
po-select-source-reference, PO Mode command8.7.12 C Sources Context
po-statistics, PO Mode command8.7.2 Main PO mode Commands
po-subedit-abort, PO Mode command8.7.11 Details of Sub Edition
po-subedit-cycle-auxiliary, PO Mode command8.7.11 Details of Sub Edition
po-subedit-exit, PO Mode command8.7.11 Details of Sub Edition
po-subedit-mode-hook, PO Mode variable8.7.10 Modifying Comments
po-tags-search, PO Mode command4.5 Marking Translatable Strings
po-undo, PO Mode command8.7.2 Main PO mode Commands
po-unfuzzy, PO Mode command8.7.6 Fuzzy Entries
po-validate, PO Mode command8.7.2 Main PO mode Commands
po-yank-comment, PO Mode command8.7.10 Modifying Comments
po-yank-msgstr, PO Mode command8.7.9 Modifying Translations

+
Jump to:   # +   +, +   +. +   +0 +   +< +   += +   +> +   +? +   +_ +   +
+A +   +C +   +D +   +E +   +F +   +H +   +I +   +K +   +L +   +M +   +N +   +O +   +P +   +Q +   +R +   +S +   +T +   +U +   +V +   +W +   +X +   +Y +   +
+ + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+

+ + This document was generated by Bruno Haible on July, 2 2025 using texi2html 1.78a. + +
+ +

+ + diff --git a/miniconda3/share/doc/gettext/gettext_25.html b/miniconda3/share/doc/gettext/gettext_25.html new file mode 100644 index 0000000000000000000000000000000000000000..3c3f544bddd3c3570d71724c02dabbc1f3641031 --- /dev/null +++ b/miniconda3/share/doc/gettext/gettext_25.html @@ -0,0 +1,275 @@ + + + + + +GNU gettext utilities: PO Mode Index: Q – Y + + + + + + + + + + + + + + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+ +
+ +

PO Mode Index: Q – Y

+
Jump to:   # +   +, +   +. +   +0 +   +< +   += +   +> +   +? +   +_ +   +
+A +   +C +   +D +   +E +   +F +   +H +   +I +   +K +   +L +   +M +   +N +   +O +   +P +   +Q +   +R +   +S +   +T +   +U +   +V +   +W +   +X +   +Y +   +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Index Entry Section

Q
q, PO Mode command8.7.2 Main PO mode Commands
Q, PO Mode command8.7.2 Main PO mode Commands
Q, PO Mode command8.7.2 Main PO mode Commands
q, PO Mode command8.7.2 Main PO mode Commands

R
r, PO Mode command8.7.3 Entry Positioning
r, PO Mode command8.7.3 Entry Positioning
RET, PO Mode command8.7.9 Modifying Translations
RET, PO Mode command8.7.9 Modifying Translations

S
S, PO Mode command8.7.12 C Sources Context
s, PO Mode command8.7.12 C Sources Context
s, PO Mode command8.7.12 C Sources Context
S, PO Mode command8.7.12 C Sources Context
starting a string translation8.7.9 Modifying Translations
string normalization in entries8.7.4 Normalizing Strings in Entries
subedit minor mode8.7.11 Details of Sub Edition

T
T, PO Mode command8.7.5 Translated Entries
t, PO Mode command8.7.5 Translated Entries
t, PO Mode command8.7.5 Translated Entries
T, PO Mode command8.7.5 Translated Entries
TAB, PO Mode command8.7.6 Fuzzy Entries
TAB, PO Mode command8.7.6 Fuzzy Entries
TAGS’, and marking translatable strings4.5 Marking Translatable Strings

U
u, PO Mode command8.7.7 Untranslated Entries
U, PO Mode command8.7.7 Untranslated Entries
U, PO Mode command8.7.7 Untranslated Entries
u, PO Mode command8.7.7 Untranslated Entries
use the source, Luke8.7.12 C Sources Context
using obsolete translations to make new entries8.7.9 Modifying Translations
using translation compendia8.9 Using Translation Compendia

V
V, PO Mode command8.7.2 Main PO mode Commands
V, PO Mode command8.7.2 Main PO mode Commands

W
W, PO Mode command8.7.10 Modifying Comments
w, PO Mode command8.7.9 Modifying Translations
W, PO Mode command8.7.10 Modifying Comments
w, PO Mode command8.7.9 Modifying Translations

X
x, PO Mode command8.7.3 Entry Positioning
x, PO Mode command8.7.3 Entry Positioning

Y
y, PO Mode command8.7.9 Modifying Translations
Y, PO Mode command8.7.10 Modifying Comments
Y, PO Mode command8.7.10 Modifying Comments
y, PO Mode command8.7.9 Modifying Translations

+
Jump to:   # +   +, +   +. +   +0 +   +< +   += +   +> +   +? +   +_ +   +
+A +   +C +   +D +   +E +   +F +   +H +   +I +   +K +   +L +   +M +   +N +   +O +   +P +   +Q +   +R +   +S +   +T +   +U +   +V +   +W +   +X +   +Y +   +
+ + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+

+ + This document was generated by Bruno Haible on July, 2 2025 using texi2html 1.78a. + +
+ +

+ + diff --git a/miniconda3/share/doc/gettext/gettext_26.html b/miniconda3/share/doc/gettext/gettext_26.html new file mode 100644 index 0000000000000000000000000000000000000000..c03e0419a431cc485492920435d34858ce663794 --- /dev/null +++ b/miniconda3/share/doc/gettext/gettext_26.html @@ -0,0 +1,104 @@ + + + + + +GNU gettext utilities: Autoconf Macro Index + + + + + + + + + + + + + + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+ +
+ + +

Autoconf Macro Index

+ +
Jump to:   A +   +
+ + + + + + + + + + + +
Index Entry Section

A
AM_GNU_GETTEXT13.5.1 AM_GNU_GETTEXT in ‘gettext.m4
AM_GNU_GETTEXT_NEED13.5.3 AM_GNU_GETTEXT_NEED in ‘gettext.m4
AM_GNU_GETTEXT_VERSION13.5.2 AM_GNU_GETTEXT_VERSION in ‘gettext.m4
AM_ICONV13.5.6 AM_ICONV in ‘iconv.m4
AM_PO_SUBDIRS13.5.4 AM_PO_SUBDIRS in ‘po.m4
AM_XGETTEXT_OPTION13.5.5 AM_XGETTEXT_OPTION in ‘po.m4

+
Jump to:   A +   +
+ + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+

+ + This document was generated by Bruno Haible on July, 2 2025 using texi2html 1.78a. + +
+ +

+ + diff --git a/miniconda3/share/doc/gettext/gettext_27.html b/miniconda3/share/doc/gettext/gettext_27.html new file mode 100644 index 0000000000000000000000000000000000000000..6b60aeba5e07faf6bf118740c84a16c85d05c3cf --- /dev/null +++ b/miniconda3/share/doc/gettext/gettext_27.html @@ -0,0 +1,313 @@ + + + + + +GNU gettext utilities: General Index + + + + + + + + + + + + + + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+ +
+ + +

General Index

+ +
Jump to:   _ +   +
+A +   +B +   +C +   +D +   +E +   +F +   +G +   +H +   +I +   +J +   +K +   +L +   +M +   +N +   +O +   +P +   +Q +   +R +   +S +   +T +   +U +   +V +   +W +   +X +   +Y +   +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Index Entry Section

_
_, a macro to mark strings for translation4.4 How Marks Appear in Sources
_nl_msg_cat_cntr11.5 Being a gettext grok

A
ABOUT-NLS’ file2.5 Installing Translations for Particular Programs
ABOUT-NLS’ file17.2 Notes on the Free Translation Project
accumulating translations8.9.1.1 Concatenate PO Files
aclocal.m4’ file13.4.8 ‘aclocal.m4’ at top level
adding keywords, xgettext5.1.6 Language specific options
ambiguities4.3.1 Decent English style
ANSI encoding2.4 Obtaining good output in a Windows console
apply a filter to translations9.4 Invoking the msgfilter Program
apply command to all translations in a catalog9.10 Invoking the msgexec Program
Arabic digits15.3.1 C Format Strings
attribute manipulation9.8 Invoking the msgattrib Program
attribute, fuzzy8.7.6 Fuzzy Entries
attributes of a PO file entry8.7.6 Fuzzy Entries
attributes, manipulating9. Manipulating PO Files
autoconf macros for gettext13.5 Autoconf macros for use in ‘configure.ac
autopoint program, usage13.6.4 Invoking the autopoint Program
auxiliary PO file8.7.13 Consulting Auxiliary PO Files
available translations2.5 Installing Translations for Particular Programs
awk15.5.17 GNU awk
awk, string concatenationString concatenation operator
awk-format flag3. The Format of PO Files

B
backup old file, and msgmerge program7.1.4 Output file location in update mode
bash15.5.16 bash - Bourne-Again Shell Script
bibliography17.3 Related Readings
big picture1.5 Overview of GNU gettext
bind_textdomain_codeset11.2.4 How to specify the output character set gettext uses
Boost format strings5.1.6 Language specific options
boost-format flag3. The Format of PO Files
bug report address1. Introduction

C
C and C-like languages15.5.1 C, C++, Objective C
C trigraphs5.1.6 Language specific options
C#15.5.4 C#
C# mode, and msgfmt program10.1.2 Operation mode
C# mode, and msgunfmt program10.2.1 Operation mode
C# resources mode, and msgfmt program10.1.2 Operation mode
C# resources mode, and msgunfmt program10.2.1 Operation mode
C#, string concatenationString concatenation operator
C#, strings with embedded expressionsStrings with embedded expressions
c++-format flag3. The Format of PO Files
c-format flag3. The Format of PO Files
c-format, and xgettext4.7 Special Comments preceding Keywords
catalog encoding and msgexec output9.10 Invoking the msgexec Program
catclose, a catgets function11.1.1 The Interface
catgets, a catgets function11.1.1 The Interface
catgets, X/Open specification11.1 About catgets
catopen, a catgets function11.1.1 The Interface
character encoding1.3 Aspects in Native Language Support
charset conversion at runtime11.2.4 How to specify the output character set gettext uses
charset of PO files6.2 Filling in the Header Entry
check format strings10.1.10 Input file interpretation
checking of translations9. Manipulating PO Files
clisp15.5.8 GNU clisp - Common Lisp
clisp C sources15.5.9 GNU clisp C sources
codeset1.3 Aspects in Native Language Support
combining two PO files9. Manipulating PO Files
combining two POT files5.2 Combining PO Template Files
comments in PO files3. The Format of PO Files
comments, automatic3. The Format of PO Files
comments, extracted3. The Format of PO Files
comments, translator3. The Format of PO Files
Common Lisp15.5.8 GNU clisp - Common Lisp
compare PO files9.7 Invoking the msgcmp Program
comparison of interfaces11.3 Comparing the Two Interfaces
compatibility with X/Open msgfmt10.1.10 Input file interpretation
compendium8.9 Using Translation Compendia
compendium, creating8.9.1 Creating Compendia
concatenate PO files9.1 Invoking the msgcat Program
concatenating PO files into a compendium8.9.1.1 Concatenate PO Files
concatenation of strings4.3.4 No string concatenation
config.h.in’ file13.4.9 ‘config.h.in’ at top level
context11.2.5 Using contexts for solving ambiguities
context, argument specification in xgettext5.1.6 Language specific options
context, in MO files10.3 The Format of GNU MO Files
context, in PO files3. The Format of PO Files
control characters4.3.7 No unusual markup
convert binary message catalog into PO file10.2 Invoking the msgunfmt Program
convert translations to a different encoding9.2 Invoking the msgconv Program
converting a package to use gettext13.2 Prerequisite Works
country codesB. Country Codes
create new PO file6.1 Invoking the msginit Program
creating a new PO file6. Creating a New PO File
creating compendia8.9.1 Creating Compendia
csharp-format flag3. The Format of PO Files
currency symbols1.3 Aspects in Native Language Support

D
D15.5.21 D
D, string concatenationString concatenation operator
D, strings with embedded expressionsStrings with embedded expressions
d-format flag3. The Format of PO Files
date format1.3 Aspects in Native Language Support
dcngettext11.2.6 Additional functions for plural forms
dcpgettext11.2.5 Using contexts for solving ambiguities
dcpgettext_expr11.2.5 Using contexts for solving ambiguities
debugging messages marked as format strings5.1.6 Language specific options
Desktop Entry mode, and msgfmt program10.1.2 Operation mode
dialect9. Manipulating PO Files
disabling NLS13.4.12 ‘gettext.h’ in ‘lib/
distribution tarball13.7 Creating a Distribution Tarball
dngettext11.2.6 Additional functions for plural forms
dollar substitution15.5.15.5 Invoking the envsubst program
domain ambiguities11.2.2 Solving Ambiguities
dpgettext11.2.5 Using contexts for solving ambiguities
dpgettext_expr11.2.5 Using contexts for solving ambiguities
duplicate elimination9. Manipulating PO Files
duplicate removal9.5 Invoking the msguniq Program

+
Jump to:   _ +   +
+A +   +B +   +C +   +D +   +E +   +F +   +G +   +H +   +I +   +J +   +K +   +L +   +M +   +N +   +O +   +P +   +Q +   +R +   +S +   +T +   +U +   +V +   +W +   +X +   +Y +   +
+ + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+

+ + This document was generated by Bruno Haible on July, 2 2025 using texi2html 1.78a. + +
+ +

+ + diff --git a/miniconda3/share/doc/gettext/gettext_28.html b/miniconda3/share/doc/gettext/gettext_28.html new file mode 100644 index 0000000000000000000000000000000000000000..705fc6cad6f0ccabcae77b5c1a68e2eef95f0190 --- /dev/null +++ b/miniconda3/share/doc/gettext/gettext_28.html @@ -0,0 +1,354 @@ + + + + + +GNU gettext utilities: General Index: E – L + + + + + + + + + + + + + + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+ +
+ +

General Index: E – L

+
Jump to:   _ +   +
+A +   +B +   +C +   +D +   +E +   +F +   +G +   +H +   +I +   +J +   +K +   +L +   +M +   +N +   +O +   +P +   +Q +   +R +   +S +   +T +   +U +   +V +   +W +   +X +   +Y +   +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Index Entry Section

E
editing comments in PO files8.7.10 Modifying Comments
Editing PO Files8. Editing PO Files
editing translations8.7.9 Modifying Translations
elisp-format flag3. The Format of PO Files
Emacs Lisp15.5.10 Emacs Lisp
Emacs PO Mode8.7 Emacs's PO File Editor
encoding1.3 Aspects in Native Language Support
encoding conversion9. Manipulating PO Files
encoding conversion at runtime11.2.4 How to specify the output character set gettext uses
encoding for your language6.2 Filling in the Header Entry
encoding in MO files10.3 The Format of GNU MO Files
encoding list6.2 Filling in the Header Entry
encoding of PO files6.2 Filling in the Header Entry
environment variables15.5.15.5 Invoking the envsubst program
envsubst program, usage15.5.15.5 Invoking the envsubst program
eval_gettext function, usage15.5.15.6 Invoking the eval_gettext function
eval_ngettext function, usage15.5.15.7 Invoking the eval_ngettext function
eval_npgettext function, usage15.5.15.9 Invoking the eval_npgettext function
eval_pgettext function, usage15.5.15.8 Invoking the eval_pgettext function
evolution of packages1.5 Overview of GNU gettext
extracting parts of a PO file into a compendium8.9.1.2 Extract a Message Subset from a PO File

F
FDL, GNU Free Documentation LicenseC.3 GNU Free Documentation License
file format, ‘.mo10.3 The Format of GNU MO Files
file format, ‘.po3. The Format of PO Files
files, ‘.po’ and ‘.mo1.4 Files Conveying Translations
files, ‘.pot1.5 Overview of GNU gettext
filter messages according to attributes9.8 Invoking the msgattrib Program
find common messages9.6 Invoking the msgcomm Program
force use of fuzzy entries10.1.10 Input file interpretation
format strings4.7 Special Comments preceding Keywords
Free Pascal15.5.19 Pascal - Free Pascal Compiler
function attribute, __format__5.1.6 Language specific options
function attribute, __format_arg__5.1.6 Language specific options
fuzzy entries8.7.6 Fuzzy Entries
fuzzy flag3. The Format of PO Files

G
gawk15.5.17 GNU awk
gcc-internal-format flag3. The Format of PO Files
GCC-source15.5.29 GNU Compiler Collection sources
generate binary message catalog from PO file10.1 Invoking the msgfmt Program
generate translation catalog in English9.9 Invoking the msgen Program
gettext files13.4 Files You Must Create or Alter
gettext installation8.7.1 Completing GNU gettext Installation
gettext interface11.2.1 The Interface
gettext program, usage15.5.15.3 Invoking the gettext program
gettext vs catgets11.3 Comparing the Two Interfaces
gettext, a programmer's view11.2 About gettext
gettext.h’ file13.4.12 ‘gettext.h’ in ‘lib/
gettextize program, usage13.3 Invoking the gettextize Program
gfc-internal-format flag3. The Format of PO Files
GNOME PO file editor8.3 GNOME's PO File Editor
Go15.5.13 Go
Go, string concatenationString concatenation operator
go-format flag3. The Format of PO Files
GPL, GNU General Public LicenseC.1 GNU GENERAL PUBLIC LICENSE
GUI programs11.2.5 Using contexts for solving ambiguities
guile15.5.7 GNU guile - Scheme
Guile15.5.7 GNU guile - Scheme
Guile15.5.7 GNU guile - Scheme

H
hash table, inside MO files10.3 The Format of GNU MO Files
he, she, and they1. Introduction
header entry of a PO file6.2 Filling in the Header Entry
help option4.3.3 Split at paragraphs
history of GNU gettext17.1 History of GNU gettext

I
i18n1.2 I18n, L10n, and Such
importing PO files8.7.4 Normalizing Strings in Entries
include file ‘libintl.h1.5 Overview of GNU gettext
include file ‘libintl.h4.1 Importing the gettext declaration
include file ‘libintl.h11.3 Comparing the Two Interfaces
include file ‘libintl.h13.4.12 ‘gettext.h’ in ‘lib/
initialization4.2 Triggering gettext Operations
initialize new PO file6.1 Invoking the msginit Program
initialize translations from a compendium8.9.2.1 Initialize a New Translation File
installing gettext8.7.1 Completing GNU gettext Installation
interface to catgets11.1.1 The Interface
internationalization1.2 I18n, L10n, and Such
inttypes.hThe <inttypes.h> macros
inttypes.h15.3.1 C Format Strings
inttypes.h15.3.2 Objective C Format Strings
ISO 3166B. Country Codes
ISO 639A. Language Codes

J
Java15.5.3 Java
Java mode, and msgfmt program10.1.2 Operation mode
Java mode, and msgunfmt program10.2.1 Operation mode
Java, string concatenationString concatenation operator
java-format flag3. The Format of PO Files
java-printf-format flag3. The Format of PO Files
JavaScript, string concatenationString concatenation operator
JavaScript, strings with embedded expressionsStrings with embedded expressions
javascript-format flag3. The Format of PO Files

K
KDE format strings5.1.6 Language specific options
KDE PO file editor8.2 KDE's PO File Editor
kde-format flag3. The Format of PO Files
keyboard accelerator checking10.1.10 Input file interpretation

L
l10n1.2 I18n, L10n, and Such
language codesA. Language Codes
language selection2.3.2 Locale Environment Variables
language selection at runtime11.5 Being a gettext grok
large package11.2.2 Solving Ambiguities
LGPL, GNU Lesser General Public LicenseC.2 GNU LESSER GENERAL PUBLIC LICENSE
libiconv library13.5.6 AM_ICONV in ‘iconv.m4
libintl for C#15.5.4 C#
libintl for Java15.5.3 Java
libintl library13.5.1 AM_GNU_GETTEXT in ‘gettext.m4
librep Lisp15.5.11 librep
librep-format flag3. The Format of PO Files
License, GNU FDLC.3 GNU Free Documentation License
License, GNU GPLC.1 GNU GENERAL PUBLIC LICENSE
License, GNU LGPLC.2 GNU LESSER GENERAL PUBLIC LICENSE
LicensesC. Licenses
LINGUAS’ file13.4.2 ‘LINGUAS’ in ‘po/
link with ‘libintl1.5 Overview of GNU gettext
Linux1.3 Aspects in Native Language Support
Linux1.5 Overview of GNU gettext
Linux6.2 Filling in the Header Entry
Lisp15.5.8 GNU clisp - Common Lisp
lisp-format flag3. The Format of PO Files
list of translation teams, where to find6.2 Filling in the Header Entry
locale categories1.3 Aspects in Native Language Support
locale categories1.3 Aspects in Native Language Support
locale category, LC_ALL4.2 Triggering gettext Operations
locale category, LC_COLLATE4.2 Triggering gettext Operations
locale category, LC_CTYPE1.3 Aspects in Native Language Support
locale category, LC_CTYPE4.2 Triggering gettext Operations
locale category, LC_CTYPE4.2 Triggering gettext Operations
locale category, LC_MESSAGES1.3 Aspects in Native Language Support
locale category, LC_MESSAGES4.2 Triggering gettext Operations
locale category, LC_MONETARY1.3 Aspects in Native Language Support
locale category, LC_MONETARY4.2 Triggering gettext Operations
locale category, LC_NUMERIC1.3 Aspects in Native Language Support
locale category, LC_NUMERIC4.2 Triggering gettext Operations
locale category, LC_RESPONSES4.2 Triggering gettext Operations
locale category, LC_TIME1.3 Aspects in Native Language Support
locale category, LC_TIME4.2 Triggering gettext Operations
locale program6.2 Filling in the Header Entry
localization1.2 I18n, L10n, and Such
lookup message translation15.5.15.3 Invoking the gettext program
lookup message translation15.5.15.6 Invoking the eval_gettext function
lookup message translation with context15.5.15.8 Invoking the eval_pgettext function
lookup plural message translation15.5.15.4 Invoking the ngettext program
lookup plural message translation15.5.15.7 Invoking the eval_ngettext function
lookup plural message translation with context15.5.15.9 Invoking the eval_npgettext function
Lua, string concatenationString concatenation operator
lua-format flag3. The Format of PO Files

+
Jump to:   _ +   +
+A +   +B +   +C +   +D +   +E +   +F +   +G +   +H +   +I +   +J +   +K +   +L +   +M +   +N +   +O +   +P +   +Q +   +R +   +S +   +T +   +U +   +V +   +W +   +X +   +Y +   +
+ + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+

+ + This document was generated by Bruno Haible on July, 2 2025 using texi2html 1.78a. + +
+ +

+ + diff --git a/miniconda3/share/doc/gettext/gettext_29.html b/miniconda3/share/doc/gettext/gettext_29.html new file mode 100644 index 0000000000000000000000000000000000000000..c5b1169d6d7aa88003b7b72ab3dfc6d7de4b1880 --- /dev/null +++ b/miniconda3/share/doc/gettext/gettext_29.html @@ -0,0 +1,399 @@ + + + + + +GNU gettext utilities: General Index: M – P + + + + + + + + + + + + + + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+ +
+ +

General Index: M – P

+
Jump to:   _ +   +
+A +   +B +   +C +   +D +   +E +   +F +   +G +   +H +   +I +   +J +   +K +   +L +   +M +   +N +   +O +   +P +   +Q +   +R +   +S +   +T +   +U +   +V +   +W +   +X +   +Y +   +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Index Entry Section

M
magic signature of MO files10.3 The Format of GNU MO Files
Makefile.in.in’ extensions13.4.4 Extending ‘Makefile’ in ‘po/
Makevars’ file13.4.3 ‘Makevars’ in ‘po/
manipulating PO files9. Manipulating PO Files
marking Perl sources15.5.26 Perl
marking string initializers4.8 Special Cases of Translatable Strings
marking strings that require translation4.4 How Marks Appear in Sources
marking strings, preparations4.3 Preparing Translatable Strings
marking translatable strings1.5 Overview of GNU gettext
markup4.3.7 No unusual markup
menu entries11.2.5 Using contexts for solving ambiguities
menu, keyboard accelerator support10.1.10 Input file interpretation
merge PO files9.1 Invoking the msgcat Program
merging two PO files9. Manipulating PO Files
merging two POT files5.2 Combining PO Template Files
message catalog files location11.2.3 Locating Message Catalog Files
messages1.3 Aspects in Native Language Support
migration from earlier versions of gettext13.2 Prerequisite Works
mkinstalldirs’ file13.4.7 ‘mkinstalldirs’ at top level
mnemonics of menu entries10.1.10 Input file interpretation
MO file's format10.3 The Format of GNU MO Files
modify message attributes9.8.4 Attribute manipulation
Modula-215.5.20 Modula-2
Modula-2, string concatenationString concatenation operator
modula2-format flag3. The Format of PO Files
msgattrib program, usage9.8 Invoking the msgattrib Program
msgcat program, usage9.1 Invoking the msgcat Program
msgcmp program, usage9.7 Invoking the msgcmp Program
msgcomm program, usage9.6 Invoking the msgcomm Program
msgconv program, usage9.2 Invoking the msgconv Program
msgctxt3. The Format of PO Files
msgen program, usage9.9 Invoking the msgen Program
msgexec program, usage9.10 Invoking the msgexec Program
msgfilter filter and catalog encoding9.4.3 The filter
msgfilter program, usage9.4 Invoking the msgfilter Program
msgfmt program, usage10.1 Invoking the msgfmt Program
msggrep program, usage9.3 Invoking the msggrep Program
msgid3. The Format of PO Files
msgid_plural3. The Format of PO Files
msginit program, usage6.1 Invoking the msginit Program
msgmerge program, usage7.1 Invoking the msgmerge Program
msgstr3. The Format of PO Files
msgunfmt program, usage10.2 Invoking the msgunfmt Program
msguniq program, usage9.5 Invoking the msguniq Program
multi-line strings8.7.4 Normalizing Strings in Entries

N
N_, a convenience macro11.3 Comparing the Two Interfaces
Native Language Support1.2 I18n, L10n, and Such
Natural Language Support1.2 I18n, L10n, and Such
newlines in PO files3. The Format of PO Files
ngettext11.2.6 Additional functions for plural forms
ngettext program, usage15.5.15.4 Invoking the ngettext program
NLS1.2 I18n, L10n, and Such
no-awk-format flag3. The Format of PO Files
no-boost-format flag3. The Format of PO Files
no-c++-format flag3. The Format of PO Files
no-c-format flag3. The Format of PO Files
no-c-format, and xgettext4.7 Special Comments preceding Keywords
no-csharp-format flag3. The Format of PO Files
no-d-format flag3. The Format of PO Files
no-elisp-format flag3. The Format of PO Files
no-gcc-internal-format flag3. The Format of PO Files
no-gfc-internal-format flag3. The Format of PO Files
no-go-format flag3. The Format of PO Files
no-java-format flag3. The Format of PO Files
no-java-printf-format flag3. The Format of PO Files
no-javascript-format flag3. The Format of PO Files
no-kde-format flag3. The Format of PO Files
no-librep-format flag3. The Format of PO Files
no-lisp-format flag3. The Format of PO Files
no-lua-format flag3. The Format of PO Files
no-modula2-format flag3. The Format of PO Files
no-objc-format flag3. The Format of PO Files
no-object-pascal-format flag3. The Format of PO Files
no-perl-brace-format flag3. The Format of PO Files
no-perl-format flag3. The Format of PO Files
no-php-format flag3. The Format of PO Files
no-python-brace-format flag3. The Format of PO Files
no-python-format flag3. The Format of PO Files
no-qt-format flag3. The Format of PO Files
no-qt-plural-format flag3. The Format of PO Files
no-ruby-format flag3. The Format of PO Files
no-rust-format flag3. The Format of PO Files
no-scheme-format flag3. The Format of PO Files
no-sh-format flag3. The Format of PO Files
no-smalltalk-format flag3. The Format of PO Files
no-tcl-format flag3. The Format of PO Files
no-ycp-format flag3. The Format of PO Files
nplurals, in a PO file header11.2.6 Additional functions for plural forms
number format1.3 Aspects in Native Language Support

O
objc-format flag3. The Format of PO Files
Object Pascal15.5.19 Pascal - Free Pascal Compiler
object-pascal-format flag3. The Format of PO Files
obsolete entries8.7.8 Obsolete Entries
OEM encoding2.4 Obtaining good output in a Windows console
optimization of gettext functions11.2.7 Optimization of the *gettext functions
orthography9. Manipulating PO Files
outdigits15.3.1 C Format Strings
output to stdout, xgettext5.1.2 Output file location
overview of gettext1.5 Overview of GNU gettext

P
package and version declaration in ‘configure.ac13.4.5 ‘configure.ac’ at top level
package build and installation options14. The Installer's and Distributor's View
package distributor's view of gettext14. The Installer's and Distributor's View
package installer's view of gettext14. The Installer's and Distributor's View
package maintainer's view of gettext13. The Maintainer's View
paragraphs4.3.3 Split at paragraphs
Pascal15.5.19 Pascal - Free Pascal Compiler
Perl15.5.26 Perl
Perl default keywords15.5.26.2 Which keywords will xgettext look for?
Perl long lines15.5.26.8 How To Grok with Long Lines
Perl parentheses15.5.26.7 When To Use Parentheses
Perl pitfalls15.5.26.9 Bugs, Pitfalls, And Things That Do Not Work
Perl quote-like expressions15.5.26.4 What are Strings And Quote-like Expressions?
Perl special keywords for hash-lookups15.5.26.3 How to Extract Hash Keys
Perl unsupported string interpolation15.5.26.5 Unsupported Uses Of String Interpolation
Perl valid string interpolation15.5.26.6 Valid Uses Of String Interpolation
Perl, string concatenationString concatenation operator
Perl, strings with embedded expressionsStrings with embedded expressions
perl-brace-format flag3. The Format of PO Files
perl-format flag3. The Format of PO Files
pgettext11.2.5 Using contexts for solving ambiguities
pgettext_expr11.2.5 Using contexts for solving ambiguities
PHP15.5.27 PHP Hypertext Preprocessor
PHP, string concatenationString concatenation operator
PHP, strings with embedded expressionsStrings with embedded expressions
php-format flag3. The Format of PO Files
Pike15.5.28 Pike
plural form formulas11.2.6 Additional functions for plural forms
plural forms11.2.6 Additional functions for plural forms
plural forms, in MO files10.3 The Format of GNU MO Files
plural forms, in PO files3. The Format of PO Files
plural forms, translating12.4 Translating plural forms
plural, in a PO file header11.2.6 Additional functions for plural forms
PO files' format3. The Format of PO Files
PO mode (Emacs) commands8.7.2 Main PO mode Commands
PO template file5. Making the PO Template File
po_file_check_all9.13.8 Checking API
po_file_create9.13.2 po_file_t API
po_file_domain_header9.13.5 PO Header Entry API
po_file_domains9.13.2 po_file_t API
po_file_free9.13.2 po_file_t API
po_file_read9.13.2 po_file_t API
po_file_write9.13.2 po_file_t API
po_format_list9.13.7 Format Type API
po_format_pretty_name9.13.7 Format Type API
po_header_field9.13.5 PO Header Entry API
po_header_set_field9.13.5 PO Header Entry API
po_message_add_filepos9.13.6 po_filepos_t API
po_message_check_all9.13.8 Checking API
po_message_check_format9.13.8 Checking API
po_message_comments9.13.4 po_message_t API
po_message_create9.13.4 po_message_t API
po_message_extracted_comments9.13.4 po_message_t API
po_message_filepos9.13.6 po_filepos_t API
po_message_is_format9.13.4 po_message_t API
po_message_is_fuzzy9.13.4 po_message_t API
po_message_is_obsolete9.13.4 po_message_t API
po_message_is_range9.13.4 po_message_t API
po_message_iterator9.13.3 po_message_iterator_t API
po_message_iterator_free9.13.3 po_message_iterator_t API
po_message_msgctxt9.13.4 po_message_t API
po_message_msgid9.13.4 po_message_t API
po_message_msgid_plural9.13.4 po_message_t API
po_message_msgstr9.13.4 po_message_t API
po_message_msgstr_plural9.13.4 po_message_t API
po_message_prev_msgctxt9.13.4 po_message_t API
po_message_prev_msgid9.13.4 po_message_t API
po_message_prev_msgid_plural9.13.4 po_message_t API
po_message_remove_filepos9.13.6 po_filepos_t API
po_message_set_comments9.13.4 po_message_t API
po_message_set_extracted_comments9.13.4 po_message_t API
po_message_set_format9.13.4 po_message_t API
po_message_set_fuzzy9.13.4 po_message_t API
po_message_set_msgctxt9.13.4 po_message_t API
po_message_set_msgid9.13.4 po_message_t API
po_message_set_msgid_plural9.13.4 po_message_t API
po_message_set_msgstr9.13.4 po_message_t API
po_message_set_msgstr_plural9.13.4 po_message_t API
po_message_set_obsolete9.13.4 po_message_t API
po_message_set_prev_msgctxt9.13.4 po_message_t API
po_message_set_prev_msgid9.13.4 po_message_t API
po_message_set_prev_msgid_plural9.13.4 po_message_t API
po_message_set_range9.13.4 po_message_t API
po_next_message9.13.3 po_message_iterator_t API
PologyPology
portability problems with sed9.4.3 The filter
POTFILES.in’ file13.4.1 ‘POTFILES.in’ in ‘po/
preparing programs for translation4. Preparing Program Sources
preparing rules for XML translation16.1.6 Preparing Rules for XML Internationalization
preparing shell scripts for translation15.5.15.1 Preparing Shell Scripts for Internationalization
problems with catgets interface11.1.2 Problems with the catgets Interface?!
programming languages15.1 The Language Implementor's View
Python15.5.2 Python
Python, string concatenationString concatenation operator
Python, strings with embedded expressionsStrings with embedded expressions
python-brace-format flag3. The Format of PO Files
python-format flag3. The Format of PO Files

+
Jump to:   _ +   +
+A +   +B +   +C +   +D +   +E +   +F +   +G +   +H +   +I +   +J +   +K +   +L +   +M +   +N +   +O +   +P +   +Q +   +R +   +S +   +T +   +U +   +V +   +W +   +X +   +Y +   +
+ + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+

+ + This document was generated by Bruno Haible on July, 2 2025 using texi2html 1.78a. + +
+ +

+ + diff --git a/miniconda3/share/doc/gettext/gettext_3.html b/miniconda3/share/doc/gettext/gettext_3.html new file mode 100644 index 0000000000000000000000000000000000000000..05d2b3782f5f3c8671300e10320bb4d72da25b19 --- /dev/null +++ b/miniconda3/share/doc/gettext/gettext_3.html @@ -0,0 +1,610 @@ + + + + + +GNU gettext utilities: 3. The Format of PO Files + + + + + + + + + + + + + + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+ +
+ + +

3. The Format of PO Files

+ +

The GNU gettext toolset helps programmers and translators +at producing, updating and using translation files, mainly those +PO files which are textual, editable files. This chapter explains +the format of PO files. +

+

A PO file is made up of many entries, each entry holding the relation +between an original untranslated string and its corresponding +translation. All entries in a given PO file usually pertain +to a single project, and all translations are expressed in a single +target language. One PO file entry has the following schematic +structure: +

+
 
white-space
+#  translator-comments
+#. extracted-comments
+#: reference…
+#, flag…
+#| msgid previous-untranslated-string
+msgid untranslated-string
+msgstr translated-string
+
+ +

The general structure of a PO file should be well understood by +the translator. When using PO mode, very little has to be known +about the format details, as PO mode takes care of them for her. +

+

A simple entry can look like this: +

+
 
#: lib/error.c:116
+msgid "Unknown system error"
+msgstr "Error desconegut del sistema"
+
+ + + + +

Entries begin with some optional white space. Usually, when generated +through GNU gettext tools, there is exactly one blank line +between entries. Then comments follow, on lines all starting with the +character #. There are two kinds of comments: those which have +some white space immediately following the # - the translator +comments -, which comments are created and maintained exclusively by the +translator, and those which have some non-white character just after the +# - the automatic comments -, which comments are created and +maintained automatically by GNU gettext tools. Comment lines +starting with #. contain comments given by the programmer, directed +at the translator; these comments are called extracted comments +because the xgettext program extracts them from the program's +source code. Comment lines starting with #: contain references to +the program's source code. Comment lines starting with #, contain +flags; more about these below. Comment lines starting with #| +contain the previous untranslated string for which the translator gave +a translation. +

+

All comments, of either kind, are optional. +

+

References to the program's source code, in lines that start with #:, +are of the form file_name:line_number or just +file_name. If the file_name contains spaces. it is enclosed +within Unicode characters U+2068 and U+2069. +

+ + +

After white space and comments, entries show two strings, namely +first the untranslated string as it appears in the original program +sources, and then, the translation of this string. The original +string is introduced by the keyword msgid, and the translation, +by msgstr. The two strings, untranslated and translated, +are quoted in various ways in the PO file, using " +delimiters and \ escapes, but the translator does not really +have to pay attention to the precise quoting format, as PO mode fully +takes care of quoting for her. +

+

The msgid strings, as well as automatic comments, are produced +and managed by other GNU gettext tools, and PO mode does not +provide means for the translator to alter these. The most she can +do is merely deleting them, and only by deleting the whole entry. +On the other hand, the msgstr string, as well as translator +comments, are really meant for the translator, and PO mode gives her +the full control she needs. +

+

The comment lines beginning with #, are special because they are +not completely ignored by the programs as comments generally are. The +comma separated list of flags is used by the msgfmt +program to give the user some better diagnostic messages. Currently +there are two forms of flags defined: +

+
+
fuzzy
+
+

This flag can be generated by the msgmerge program or it can be +inserted by the translator herself. It shows that the msgstr +string might not be a correct translation (anymore). Only the translator +can judge if the translation requires further modification, or is +acceptable as is. Once satisfied with the translation, she then removes +this fuzzy attribute. The msgmerge program inserts this +when it combined the msgid and msgstr entries after fuzzy +search only. See section Fuzzy Entries. +

+
+
c-format
+
+
+
no-c-format
+
+

These flags should not be added by a human. Instead only the +xgettext program adds them. In an automated PO file processing +system as proposed here, the user's changes would be thrown away again as +soon as the xgettext program generates a new template file. +

+

The c-format flag indicates that the untranslated string and the +translation are supposed to be C format strings. The no-c-format +flag indicates that they are not C format strings, even though the untranslated +string happens to look like a C format string (with ‘%’ directives). +

+

When the c-format flag is given for a string the msgfmt +program does some more tests to check the validity of the translation. +See section Invoking the msgfmt Program, Special Comments preceding Keywords and C Format Strings. +

+
+
objc-format
+
+
+
no-objc-format
+
+

Likewise for Objective C, see Objective C Format Strings. +

+
+
c++-format
+
+
+
no-c++-format
+
+

Likewise for C++, see C++ Format Strings. +

+
+
python-format
+
+
+
no-python-format
+
+

Likewise for Python, see Python Format Strings. +

+
+
python-brace-format
+
+
+
no-python-brace-format
+
+

Likewise for Python brace, see Python Format Strings. +

+
+
java-format
+
+
+
no-java-format
+
+

Likewise for Java MessageFormat format strings, see Java Format Strings. +

+
+
java-printf-format
+
+
+
no-java-printf-format
+
+

Likewise for Java printf format strings, see Java Format Strings. +

+
+
csharp-format
+
+
+
no-csharp-format
+
+

Likewise for C#, see C# Format Strings. +

+
+
javascript-format
+
+
+
no-javascript-format
+
+

Likewise for JavaScript, see JavaScript Format Strings. +

+
+
scheme-format
+
+
+
no-scheme-format
+
+

Likewise for Scheme, see Scheme Format Strings. +

+
+
lisp-format
+
+
+
no-lisp-format
+
+

Likewise for Lisp, see Lisp Format Strings. +

+
+
elisp-format
+
+
+
no-elisp-format
+
+

Likewise for Emacs Lisp, see Emacs Lisp Format Strings. +

+
+
librep-format
+
+
+
no-librep-format
+
+

Likewise for librep, see librep Format Strings. +

+
+
rust-format
+
+
+
no-rust-format
+
+

Likewise for Rust, see Rust Format Strings. +

+
+
go-format
+
+
+
no-go-format
+
+

Likewise for Go, see Go Format Strings. +

+
+
ruby-format
+
+
+
no-ruby-format
+
+

Likewise for Ruby, see Ruby Format Strings. +

+
+
sh-format
+
+
+
no-sh-format
+
+

Likewise for Shell, see Shell Format Strings. +

+
+
awk-format
+
+
+
no-awk-format
+
+

Likewise for awk, see awk Format Strings. +

+
+
lua-format
+
+
+
no-lua-format
+
+

Likewise for Lua, see Lua Format Strings. +

+
+
object-pascal-format
+
+
+
no-object-pascal-format
+
+

Likewise for Object Pascal, see Object Pascal Format Strings. +

+
+
modula2-format
+
+
+
no-modula2-format
+
+

Likewise for Modula-2, see Modula-2 Format Strings. +

+
+
d-format
+
+
+
no-d-format
+
+

Likewise for D, see D Format Strings. +

+
+
smalltalk-format
+
+
+
no-smalltalk-format
+
+

Likewise for Smalltalk, see Smalltalk Format Strings. +

+
+
qt-format
+
+
+
no-qt-format
+
+

Likewise for Qt, see Qt Format Strings. +

+
+
qt-plural-format
+
+
+
no-qt-plural-format
+
+

Likewise for Qt plural forms, see Qt Format Strings. +

+
+
kde-format
+
+
+
no-kde-format
+
+

Likewise for KDE, see KDE Format Strings. +

+
+
boost-format
+
+
+
no-boost-format
+
+

Likewise for Boost, see Boost Format Strings. +

+
+
tcl-format
+
+
+
no-tcl-format
+
+

Likewise for Tcl, see Tcl Format Strings. +

+
+
perl-format
+
+
+
no-perl-format
+
+

Likewise for Perl, see Perl Format Strings. +

+
+
perl-brace-format
+
+
+
no-perl-brace-format
+
+

Likewise for Perl brace, see Perl Format Strings. +

+
+
php-format
+
+
+
no-php-format
+
+

Likewise for PHP, see PHP Format Strings. +

+
+
gcc-internal-format
+
+
+
no-gcc-internal-format
+
+

Likewise for the GCC sources, see GCC internal Format Strings. +

+
+
gfc-internal-format
+
+
+
no-gfc-internal-format
+
+

Likewise for the GNU Fortran Compiler sources, see GFC internal Format Strings. +

+
+
ycp-format
+
+
+
no-ycp-format
+
+

Likewise for YCP, see YCP Format Strings. +

+
+
+ + + +

It is also possible to have entries with a context specifier. They look like +this: +

+
 
white-space
+#  translator-comments
+#. extracted-comments
+#: reference…
+#, flag…
+#| msgctxt previous-context
+#| msgid previous-untranslated-string
+msgctxt context
+msgid untranslated-string
+msgstr translated-string
+
+ +

The context serves to disambiguate messages with the same +untranslated-string. It is possible to have several entries with +the same untranslated-string in a PO file, provided that they each +have a different context. Note that an empty context string +and an absent msgctxt line do not mean the same thing. +

+ + +

A different kind of entries is used for translations which involve +plural forms. +

+
 
white-space
+#  translator-comments
+#. extracted-comments
+#: reference…
+#, flag…
+#| msgid previous-untranslated-string-singular
+#| msgid_plural previous-untranslated-string-plural
+msgid untranslated-string-singular
+msgid_plural untranslated-string-plural
+msgstr[0] translated-string-case-0
+...
+msgstr[N] translated-string-case-n
+
+ +

Such an entry can look like this: +

+
 
#: src/msgcmp.c:338 src/po-lex.c:699
+#, c-format
+msgid "found %d fatal error"
+msgid_plural "found %d fatal errors"
+msgstr[0] "s'ha trobat %d error fatal"
+msgstr[1] "s'han trobat %d errors fatals"
+
+ +

Here also, a msgctxt context can be specified before msgid, +like above. +

+

Here, additional kinds of flags can be used: +

+
+
range:
+
+

This flag is followed by a range of non-negative numbers, using the syntax +range: minimum-value..maximum-value. It designates the +possible values that the numeric parameter of the message can take. In some +languages, translators may produce slightly better translations if they know +that the value can only take on values between 0 and 10, for example. +

+
+ +

The previous-untranslated-string is optionally inserted by the +msgmerge program, at the same time when it marks a message fuzzy. +It helps the translator to see which changes were done by the developers +on the untranslated-string. +

+

It happens that some lines, usually whitespace or comments, follow the +very last entry of a PO file. Such lines are not part of any entry, +and will be dropped when the PO file is processed by the tools, or may +disturb some PO file editors. +

+

The remainder of this section may be safely skipped by those using +a PO file editor, yet it may be interesting for everybody to have a better +idea of the precise format of a PO file. On the other hand, those +wishing to modify PO files by hand should carefully continue reading on. +

+

An empty untranslated-string is reserved to contain the header +entry with the meta information (see section Filling in the Header Entry). This header +entry should be the first entry of the file. The empty +untranslated-string is reserved for this purpose and must +not be used anywhere else. +

+

Each of untranslated-string and translated-string respects +the C syntax for a character string, including the surrounding quotes +and embedded backslashed escape sequences, except that universal character +escape sequences (\u and \U) are not allowed. When the time +comes to write multi-line strings, one should not use escaped newlines. +Instead, a closing quote should follow the last character on the +line to be continued, and an opening quote should resume the string +at the beginning of the following PO file line. For example: +

+
 
msgid ""
+"Here is an example of how one might continue a very long string\n"
+"for the common case the string represents multi-line output.\n"
+
+ +

In this example, the empty string is used on the first line, to +allow better alignment of the H from the word ‘Here’ +over the f from the word ‘for’. In this example, the +msgid keyword is followed by three strings, which are meant +to be concatenated. Concatenating the empty string does not change +the resulting overall string, but it is a way for us to comply with +the necessity of msgid to be followed by a string on the same +line, while keeping the multi-line presentation left-justified, as +we find this to be a cleaner disposition. The empty string could have +been omitted, but only if the string starting with ‘Here’ was +promoted on the first line, right after msgid.(2) It was not really necessary +either to switch between the two last quoted strings immediately after +the newline ‘\n’, the switch could have occurred after any +other character, we just did it this way because it is neater. +

+ +

One should carefully distinguish between end of lines marked as +‘\ninside quotes, which are part of the represented +string, and end of lines in the PO file itself, outside string quotes, +which have no incidence on the represented string. +

+ +

Outside strings, white lines and comments may be used freely. +Comments start at the beginning of a line with ‘#’ and extend +until the end of the PO file line. Comments written by translators +should have the initial ‘#’ immediately followed by some white +space. If the ‘#’ is not immediately followed by white space, +this comment is most likely generated and managed by specialized GNU +tools, and might disappear or be replaced unexpectedly when the PO +file is given to msgmerge. +

+

For a PO file to be valid, no two entries without msgctxt may have +the same untranslated-string or untranslated-string-singular. +Similarly, no two entries may have the same msgctxt and the same +untranslated-string or untranslated-string-singular. +

+ + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+

+ + This document was generated by Bruno Haible on July, 2 2025 using texi2html 1.78a. + +
+ +

+ + diff --git a/miniconda3/share/doc/gettext/gettext_30.html b/miniconda3/share/doc/gettext/gettext_30.html new file mode 100644 index 0000000000000000000000000000000000000000..e39f27b5e3fbdd2f07ba68e957b94fda4f6a3b94 --- /dev/null +++ b/miniconda3/share/doc/gettext/gettext_30.html @@ -0,0 +1,303 @@ + + + + + +GNU gettext utilities: General Index: Q – Y + + + + + + + + + + + + + + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+ +
+ +

General Index: Q – Y

+
Jump to:   _ +   +
+A +   +B +   +C +   +D +   +E +   +F +   +G +   +H +   +I +   +J +   +K +   +L +   +M +   +N +   +O +   +P +   +Q +   +R +   +S +   +T +   +U +   +V +   +W +   +X +   +Y +   +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Index Entry Section

Q
Qt format strings5.1.6 Language specific options
Qt mode, and msgfmt program10.1.2 Operation mode
qt-format flag3. The Format of PO Files
qt-plural-format flag3. The Format of PO Files
quotation marks6.2 Filling in the Header Entry
quotation marks13.4.4 Extending ‘Makefile’ in ‘po/
quote characters, use in PO files6.2 Filling in the Header Entry

R
range: flag3. The Format of PO Files
recode-sr-latin program9.4.5 Built-in filters
related reading17.3 Related Readings
release13.7 Creating a Distribution Tarball
RSJ16.1.2 Resource String Table
RST16.1.2 Resource String Table
Ruby15.5.14 Ruby
Ruby, string concatenationString concatenation operator
Ruby, strings with embedded expressionsStrings with embedded expressions
ruby-format flag3. The Format of PO Files
Rust15.5.12 Rust
rust-format flag3. The Format of PO Files

S
Scheme15.5.7 GNU guile - Scheme
Scheme15.5.7 GNU guile - Scheme
scheme-format flag3. The Format of PO Files
scripting languages15.1 The Language Implementor's View
search messages in a catalog9.3 Invoking the msggrep Program
selecting message language2.3.2 Locale Environment Variables
sentence end markers, xgettext5.1.5 Operation mode
sentences4.3.2 Entire sentences
setting up gettext at build time14. The Installer's and Distributor's View
setting up gettext at run time2.3.2 Locale Environment Variables
several domains11.2.2 Solving Ambiguities
sex1. Introduction
sh-format flag3. The Format of PO Files
she, he, and they1. Introduction
shell format string15.5.15.5 Invoking the envsubst program
shell scripts15.5.15 sh - Shell Script
Shell, string concatenationString concatenation operator
Shell, strings with embedded expressionsStrings with embedded expressions
Smalltalk15.5.22 GNU Smalltalk
Smalltalk, string concatenationString concatenation operator
smalltalk-format flag3. The Format of PO Files
sorting msgcat output9.1.5 Output details
sorting msgmerge output7.1.7 Output details
sorting msgunfmt output10.2.7 Output details
sorting output of xgettext5.1.8 Output details
specifying plural form in a PO file11.2.6 Additional functions for plural forms
standard output, and msgcat9.1.2 Output file location
standard output, and msgmerge program7.1.3 Output file location
string concatenation4.3.4 No string concatenation
string normalization in entries8.7.4 Normalizing Strings in Entries
style4.3.1 Decent English style
supported languages, msgfmt10.1.8 XML mode options
supported languages, xgettext5.1.3 Choice of input file language
supported syntax checks, xgettext5.1.5 Operation mode

T
Tcl15.5.25 Tcl - Tk's scripting language
Tcl mode, and msgfmt program10.1.2 Operation mode
Tcl mode, and msgunfmt program10.2.1 Operation mode
Tcl, strings with embedded expressionsStrings with embedded expressions
tcl-format flag3. The Format of PO Files
template PO file1.5 Overview of GNU gettext
testing ‘.po’ files for equivalence5.1.8 Output details
Tk's scripting language15.5.25 Tcl - Tk's scripting language
Translate ToolkitTranslate Toolkit
translated entries8.7.5 Translated Entries
translating menu entries11.2.5 Using contexts for solving ambiguities
translation aspects1.3 Aspects in Native Language Support
Translation Matrix2.5 Installing Translations for Particular Programs
Translation Project1.1 The Purpose of GNU gettext
turning off NLS support13.4.12 ‘gettext.h’ in ‘lib/
tutorial of gettext usage1.5 Overview of GNU gettext
TypeScript, string concatenationString concatenation operator
TypeScript, strings with embedded expressionsStrings with embedded expressions

U
unify duplicate translations9.5 Invoking the msguniq Program
untranslated entries8.7.7 Untranslated Entries
update translations from a compendium8.9.2.2 Update an Existing Translation File
upgrading to new versions of gettext13.2 Prerequisite Works

V
Vala, string concatenationString concatenation operator
version control for backup files, msgmerge7.1.4 Output file location in update mode

W
weblate8.1 Web-based PO editing
Windows2.4 Obtaining good output in a Windows console
wxWidgets library15.5.24 wxWidgets library

X
xargs, and output from msgexec9.10 Invoking the msgexec Program
xerror9.13.1 Error Handling
xerror29.13.1 Error Handling
xgettext program, usage5.1 Invoking the xgettext Program
XML mode, and msgfmt program10.1.2 Operation mode
xmodmap program, and typing quotation marks6.2 Filling in the Header Entry

Y
YaST2 scripting language15.5.30 YCP - YaST2 scripting language
YCP15.5.30 YCP - YaST2 scripting language
ycp-format flag3. The Format of PO Files

+
Jump to:   _ +   +
+A +   +B +   +C +   +D +   +E +   +F +   +G +   +H +   +I +   +J +   +K +   +L +   +M +   +N +   +O +   +P +   +Q +   +R +   +S +   +T +   +U +   +V +   +W +   +X +   +Y +   +
+ + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+

+ + This document was generated by Bruno Haible on July, 2 2025 using texi2html 1.78a. + +
+ +

+ + diff --git a/miniconda3/share/doc/gettext/gettext_4.html b/miniconda3/share/doc/gettext/gettext_4.html new file mode 100644 index 0000000000000000000000000000000000000000..faee4c283411dd90b84c0096bfd5b05879d65f0c --- /dev/null +++ b/miniconda3/share/doc/gettext/gettext_4.html @@ -0,0 +1,1428 @@ + + + + + +GNU gettext utilities: 4. Preparing Program Sources + + + + + + + + + + + + + + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+ +
+ + +

4. Preparing Program Sources

+ + +

For the programmer, changes to the C source code fall into three +categories. First, you have to make the localization functions +known to all modules needing message translation. Second, you should +properly trigger the operation of GNU gettext when the program +initializes, usually from the main function. Last, you should +identify, adjust and mark all constant strings in your program +needing translation. +

+ + + + +

4.1 Importing the gettext declaration

+ +

Presuming that your set of programs, or package, has been adjusted +so all needed GNU gettext files are available, and your +‘Makefile’ files are adjusted (see section The Maintainer's View), each C module +having translated C strings should contain the line: +

+ +
 
#include <libintl.h>
+
+ +

Similarly, each C module containing printf()/fprintf()/... +calls with a format string that could be a translated C string (even if +the C string comes from a different C module) should contain the line: +

+
 
#include <libintl.h>
+
+ + + + +

4.2 Triggering gettext Operations

+ +

The initialization of locale data should be done with more or less +the same code in every program, as demonstrated below: +

+
 
int
+main (int argc, char *argv[])
+{
+  …
+  setlocale (LC_ALL, "");
+  bindtextdomain (PACKAGE, LOCALEDIR);
+  textdomain (PACKAGE);
+  …
+}
+
+ +

PACKAGE and LOCALEDIR should be provided either by +‘config.h’ or by the Makefile. For now consult the gettext +or hello sources for more information. +

+ + +

The use of LC_ALL might not be appropriate for you. +LC_ALL includes all locale categories and especially +LC_CTYPE. This latter category is responsible for determining +character classes with the isalnum etc. functions from +‘ctype.h’ which could especially for programs, which process some +kind of input language, be wrong. For example this would mean that a +source code using the ç (c-cedilla character) is runnable in +France but not in the U.S. +

+

Some systems also have problems with parsing numbers using the +scanf functions if an other but the LC_ALL locale category is +used. The standards say that additional formats but the one known in the +"C" locale might be recognized. But some systems seem to reject +numbers in the "C" locale format. In some situation, it might +also be a problem with the notation itself which makes it impossible to +recognize whether the number is in the "C" locale or the local +format. This can happen if thousands separator characters are used. +Some locales define this character according to the national +conventions to '.' which is the same character used in the +"C" locale to denote the decimal point. +

+

So it is sometimes necessary to replace the LC_ALL line in the +code above by a sequence of setlocale lines +

+
 
{
+  …
+  setlocale (LC_CTYPE, "");
+  setlocale (LC_MESSAGES, "");
+  …
+}
+
+ + + + + + + + +

On all POSIX conformant systems the locale categories LC_CTYPE, +LC_MESSAGES, LC_COLLATE, LC_MONETARY, +LC_NUMERIC, and LC_TIME are available. On some systems +which are only ISO C compliant, LC_MESSAGES is missing, but +a substitute for it is defined in GNU gettext's <libintl.h> and +in GNU gnulib's <locale.h>. +

+

Note that changing the LC_CTYPE also affects the functions +declared in the <ctype.h> standard header and some functions +declared in the <string.h> and <stdlib.h> standard headers. +If this is not +desirable in your application (for example in a compiler's parser), +you can use a set of substitute functions which hardwire the C locale, +such as found in the modules +‘c-ctype’, +‘c-strcase’, +‘c-strcasestr’, +‘c-snprintf’, +‘c-strtod’, ‘c-strtold’, +‘c-dtoastr’, ‘c-ldtoastr’ +in the GNU gnulib source distribution. +

+

It is also possible to switch the locale forth and back between the +environment dependent locale and the C locale, but this approach is +normally avoided because a setlocale call is expensive, +because it is tedious to determine the places where a locale switch +is needed in a large program's source, and because switching a locale +is not multithread-safe. +

+ + + +

4.3 Preparing Translatable Strings

+ +

Before strings can be marked for translations, they sometimes need to +be adjusted. Usually preparing a string for translation is done right +before marking it, during the marking phase which is described in the +next sections. What you have to keep in mind while doing that is the +following. +

+
    +
  • +Decent English style. + +
  • +Entire sentences. + +
  • +Split at paragraphs. + +
  • +Use format strings instead of string concatenation. + +
  • +Use placeholders in format strings instead of embedded URLs. + +
  • +Use placeholders in format strings instead of programmer-defined format +string directives. + +
  • +Avoid unusual markup and unusual control characters. +
+ +

Let's look at some examples of these guidelines. +

+ + + + +

4.3.1 Decent English style

+ +

Translatable strings should be in good English style. If slang language +with abbreviations and shortcuts is used, often translators will not +understand the message and will produce very inappropriate translations. +

+
 
"%s: is parameter\n"
+
+ +

This is nearly untranslatable: Is the displayed item a parameter or +the parameter? +

+
 
"No match"
+
+ +

The ambiguity in this message makes it unintelligible: Is the program +attempting to set something on fire? Does it mean "The given object does +not match the template"? Does it mean "The template does not fit for any +of the objects"? +

+ +

In both cases, adding more words to the message will help both the +translator and the English speaking user. +

+ + + +

4.3.2 Entire sentences

+ +

Translatable strings should be entire sentences. It is often not possible +to translate single verbs or adjectives in a substitutable way. +

+
 
printf ("File %s is %s protected", filename, rw ? "write" : "read");
+
+ +

Most translators will not look at the source and will thus only see the +string "File %s is %s protected", which is unintelligible. Change +this to +

+
 
printf (rw ? "File %s is write protected" : "File %s is read protected",
+        filename);
+
+ +

This way the translator will not only understand the message, she will +also be able to find the appropriate grammatical construction. A French +translator for example translates "write protected" like "protected +against writing". +

+

Entire sentences are also important because in many languages, the +declination of some word in a sentence depends on the gender or the +number (singular/plural) of another part of the sentence. There are +usually more interdependencies between words than in English. The +consequence is that asking a translator to translate two half-sentences +and then combining these two half-sentences through dumb string concatenation +will not work, for many languages, even though it would work for English. +That's why translators need to handle entire sentences. +

+

Often sentences don't fit into a single line. If a sentence is output +using two subsequent printf statements, like this +

+
 
printf ("Locale charset \"%s\" is different from\n", lcharset);
+printf ("input file charset \"%s\".\n", fcharset);
+
+ +

the translator would have to translate two half sentences, but nothing +in the POT file would tell her that the two half sentences belong together. +It is necessary to merge the two printf statements so that the +translator can handle the entire sentence at once and decide at which +place to insert a line break in the translation (if at all): +

+
 
printf ("Locale charset \"%s\" is different from\n\
+input file charset \"%s\".\n", lcharset, fcharset);
+
+ +

You may now ask: how about two or more adjacent sentences? Like in this case: +

+
 
puts ("Apollo 13 scenario: Stack overflow handling failed.");
+puts ("On the next stack overflow we will crash!!!");
+
+ +

Should these two statements merged into a single one? I would recommend to +merge them if the two sentences are related to each other, because then it +makes it easier for the translator to understand and translate both. On +the other hand, if one of the two messages is a stereotypic one, occurring +in other places as well, you will do a favour to the translator by not +merging the two. (Identical messages occurring in several places are +combined by xgettext, so the translator has to handle them once only.) +

+ + + +

4.3.3 Split at paragraphs

+ +

Translatable strings should be limited to one paragraph; don't let a +single message be longer than ten lines. The reason is that when the +translatable string changes, the translator is faced with the task of +updating the entire translated string. Maybe only a single word will +have changed in the English string, but the translator doesn't see that +(with the current translation tools), therefore she has to proofread +the entire message. +

+ +

Many GNU programs have a ‘--help’ output that extends over several +screen pages. It is a courtesy towards the translators to split such a +message into several ones of five to ten lines each. While doing that, +you can also attempt to split the documented options into groups, +such as the input options, the output options, and the informative +output options. This will help every user to find the option he is +looking for. +

+ + + +

4.3.4 No string concatenation

+ +

Hardcoded string concatenation is sometimes used to construct English +strings: +

+
 
strcpy (s, "Replace ");
+strcat (s, object1);
+strcat (s, " with ");
+strcat (s, object2);
+strcat (s, "?");
+
+ +

In order to present to the translator only entire sentences, and also +because in some languages the translator might want to swap the order +of object1 and object2, it is necessary to change this +to use a format string: +

+
 
sprintf (s, "Replace %s with %s?", object1, object2);
+
+ + +

String concatenation operator

+ +

In many programming languages, +a particular operator denotes string concatenation +at runtime (or possibly at compile time, if the compiler supports that). +

+ + + + + + + + + + + + + + + + +
    +
  • +In C++, string concatenation of std::string objects +is denoted by the ‘+’ operator. +
  • +In Python, string concatenation is denoted by the ‘+’ operator. +
  • +In Java, string concatenation is denoted by the ‘+’ operator. +
  • +In C#, string concatenation is denoted by the ‘+’ operator. +
  • +In JavaScript and TypeScript, +string concatenation is denoted by the ‘+’ operator. +
  • +In Go, string concatenation is denoted by the ‘+’ operator. +
  • +In Ruby, string concatenation is denoted by the ‘+’ operator. +
  • +In Shell, string concatenation is denoted by mere juxtaposition of strings. +
  • +In awk, string concatenation is denoted by mere juxtaposition of strings. +
  • +In Lua, string concatenation is denoted by the ‘..’ operator. +
  • +In Modula-2, string concatenation is denoted by the ‘+’ operator. +
  • +In D, string concatenation is denoted by the ‘~’ operator. +
  • +In Smalltalk, string concatenation is denoted by the ‘,’ operator. +
  • +In Vala, string concatenation is denoted by the ‘+’ operator. +
  • +In Perl, string concatenation is denoted by the ‘.’ operator. +
  • +In PHP, string concatenation is denoted by the ‘.’ operator. +
+ +

So, for example, in Java, you would change +

+
 
System.out.println("Replace "+object1+" with "+object2+"?");
+
+ +

into a statement involving a format string: +

+
 
System.out.println(
+    MessageFormat.format("Replace {0} with {1}?",
+                         new Object[] { object1, object2 }));
+
+ +

Similarly, in C#, you would change +

+
 
Console.WriteLine("Replace "+object1+" with "+object2+"?");
+
+ +

into a statement involving a format string: +

+
 
Console.WriteLine(
+    String.Format("Replace {0} with {1}?", object1, object2));
+
+ + +

Strings with embedded expressions

+ +

In some programming languages, +it is possible to have strings with embedded expressions. +The expressions can refer to variables of the program. +The value of such an expression is converted to a string +and inserted in place of the expression; +but no formatting function is called. +

+ + + + + + + + + + +
    +
  • +In Python, f-strings can contain expressions. +Such as f"Hello, {name}!". +
  • +In C#, since C# 6.0, interpolated strings can contain expressions. +Such as $"Hello, {name}!". +
  • +In JavaScript, since ES6, and in TypeScript, +template literals can contain expressions. +Such as `Hello, ${name}!`. +
  • +In Ruby, interpolated strings can contain expressions. +Such as "Hello, #{name}!". +
  • +In Shell language, double-quoted strings can contain +references to variables, along with default values and string operations. +Such as "Hello, $name!" or "Hello, ${name}!". +
  • +In D, interpolation expression sequences can contain expressions. +Such as i"Hello, $(name)!". +
  • +In Tcl, strings are subject to variable substitution. +Such as "Hello, $name!". +
  • +In Perl, interpolated strings can contain expressions. +Such as "Hello, $name!". +
  • +In PHP, string literals are subject to variable parsing. +Such as "Hello, $name!". +
+ +

These cases are effectively string concatenation as well, +just with a different syntax. +

+

So, for example, in Python, you would change +

+
 
print (f'Replace {object1.name} with {object2.name}?')
+
+ +

into a statement involving a format string: +

+
 
print ('Replace %(name1)s with %(name2)s?'
+       % { 'name1': object1.name, 'name2': object2.name })
+
+ +

or equivalently +

 
print ('Replace {name1} with {name2}?'
+       .format(name1 = object1.name, name2 = object2.name))
+
+ +

And in JavaScript, you would change +

+
 
print (`Replace ${object1.name} with ${object2.name}?`)
+
+ +

into a statement involving a format string: +

+
 
print ('Replace %s with %s?'.format(object1.name, object2.name))
+
+ +

Specifically in JavaScript, +an alternative is to use a tagged template literal: +

+
 
print (tag`Replace ${object1.name} with ${object2.name}?`)
+
+ +

and pass an option ‘--tag=tag:format’ to xgettext. +

+ +

Format strings with embedded named references

+ +

Format strings with embedded named references are different: +They are suitable for internationalization, because it is possible +to insert a call to the gettext function (that will return a +translated format string) before the argument values are +inserted in place of the placeholders. +

+

The format string types that allow embedded named references are: +

+ + + +

The <inttypes.h> macros

+ +

A similar case is compile time concatenation of strings. The ISO C 99 +include file <inttypes.h> contains a macro PRId64 that +can be used as a formatting directive for outputting an ‘int64_t’ +integer through printf. It expands to a constant string, usually +"d" or "ld" or "lld" or something like this, depending on the platform. +Assume you have code like +

+
 
printf ("The amount is %0" PRId64 "\n", number);
+
+ +

The gettext tools and library have special support for these +<inttypes.h> macros. You can therefore simply write +

+
 
printf (gettext ("The amount is %0" PRId64 "\n"), number);
+
+ +

The PO file will contain the string "The amount is %0<PRId64>\n". +The translators will provide a translation containing "%0<PRId64>" +as well, and at runtime the gettext function's result will +contain the appropriate constant string, "d" or "ld" or "lld". +

+

This works only for the predefined <inttypes.h> macros. If +you have defined your own similar macros, let's say ‘MYPRId64’, +that are not known to xgettext, the solution for this problem +is to change the code like this: +

+
 
char buf1[100];
+sprintf (buf1, "%0" MYPRId64, number);
+printf (gettext ("The amount is %s\n"), buf1);
+
+ +

This means, you put the platform dependent code in one statement, and the +internationalization code in a different statement. Note that a buffer length +of 100 is safe, because all available hardware integer types are limited to +128 bits, and to print a 128 bit integer one needs at most 54 characters, +regardless whether in decimal, octal or hexadecimal. +

+ + + +

4.3.5 No embedded URLs

+ +

It is good to not embed URLs in translatable strings, for several reasons: +

    +
  • +It avoids possible mistakes during copy and paste. +
  • +Translators cannot translate the URLs or, by mistake, use the URLs from +other packages that are present in their compendium. +
  • +When the URLs change, translators don't need to revisit the translation +of the string. +
+ +

The same holds for email addresses. +

+

So, you would change +

+
 
fputs (_("GNU GPL version 3 <https://gnu.org/licenses/gpl.html>\n"),
+       stream);
+
+ +

to +

+
 
fprintf (stream, _("GNU GPL version 3 <%s>\n"),
+         "https://gnu.org/licenses/gpl.html");
+
+ + + + +

4.3.6 No programmer-defined format string directives

+ +

The GNU C Library's <printf.h> facility and the C++ standard library's <format> header file make it possible for the programmer to define their own format string directives. However, such format directives cannot be used in translatable strings, for two reasons: +

    +
  • +There is no reference documentation for format strings with such directives, that the translators could consult. They would therefore have to guess where the directive starts and where it ends. +
  • +An ‘msgfmt -c’ invocation cannot check whether the translator has produced a compatible translation of the format string. As a consequence, when a format string contains a programmer-defined directive, the program may crash at runtime when it uses the translated format string. +
+ +

To avoid this situation, you need to move the formatting with the custom directive into a format string that does not get translated. +

+

For example, assuming code that makes use of a %r directive: +

+
 
fprintf (stream, _("The contents is: %r"), data);
+
+ +

you would rewrite it to: +

+
 
char *tmp;
+if (asprintf (&tmp, "%r", data) < 0)
+  error (...);
+fprintf (stream, _("The contents is: %s"), tmp);
+free (tmp);
+
+ +

Similarly, in C++, assuming you have defined a custom formatter for the type of data, the code +

+
 
cout << format (_("The contents is: {:#$#}"), data);
+
+ +

should be rewritten to: +

+
 
string tmp = format ("{:#$#}", data);
+cout << format (_("The contents is: {}"), tmp);
+
+ + + + +

4.3.7 No unusual markup

+ +

Unusual markup or control characters should not be used in translatable +strings. Translators will likely not understand the particular meaning +of the markup or control characters. +

+

For example, if you have a convention that ‘|’ delimits the +left-hand and right-hand part of some GUI elements, translators will +often not understand it without specific comments. It might be +better to have the translator translate the left-hand and right-hand +part separately. +

+

Another example is the ‘argp’ convention to use a single ‘\v’ +(vertical tab) control character to delimit two sections inside a +string. This is flawed. Some translators may convert it to a simple +newline, some to blank lines. With some PO file editors it may not be +easy to even enter a vertical tab control character. So, you cannot +be sure that the translation will contain a ‘\v’ character, at the +corresponding position. The solution is, again, to let the translator +translate two separate strings and combine at run-time the two translated +strings with the ‘\v’ required by the convention. +

+

HTML markup, however, is common enough that it's probably ok to use in +translatable strings. But please bear in mind that the GNU gettext tools +don't verify that the translations are well-formed HTML. +

+ + + +

4.4 How Marks Appear in Sources

+ +

All strings requiring translation should be marked in the C sources. Marking +is done in such a way that each translatable string appears to be +the sole argument of some function or preprocessor macro. There are +only a few such possible functions or macros meant for translation, +and their names are said to be marking keywords. The marking is +attached to strings themselves, rather than to what we do with them. +This approach has more uses. A blatant example is an error message +produced by formatting. The format string needs translation, as +well as some strings inserted through some ‘%s’ specification +in the format, while the result from sprintf may have so many +different instances that it is impractical to list them all in some +‘error_string_out()’ routine, say. +

+

This marking operation has two goals. The first goal of marking +is for triggering the retrieval of the translation, at run time. +The keyword is possibly resolved into a routine able to dynamically +return the proper translation, as far as possible or wanted, for the +argument string. Most localizable strings are found in executable +positions, that is, attached to variables or given as parameters to +functions. But this is not universal usage, and some translatable +strings appear in structured initializations. See section Special Cases of Translatable Strings. +

+

The second goal of the marking operation is to help xgettext +at properly extracting all translatable strings when it scans a set +of program sources and produces PO file templates. +

+

The canonical keyword for marking translatable strings is +‘gettext’, it gave its name to the whole GNU gettext +package. For packages making only light use of the ‘gettext’ +keyword, macro or function, it is easily used as is. However, +for packages using the gettext interface more heavily, it +is usually more convenient to give the main keyword a shorter, less +obtrusive name. Indeed, the keyword might appear on a lot of strings +all over the package, and programmers usually do not want nor need +their program sources to remind them forcefully, all the time, that they +are internationalized. Further, a long keyword has the disadvantage +of using more horizontal space, forcing more indentation work on +sources for those trying to keep them within 79 or 80 columns. +

+ +

Many packages use ‘_’ (a simple underline) as a keyword, +and write ‘_("Translatable string")’ instead of ‘gettext +("Translatable string")’. Further, the coding rule, from GNU standards, +wanting that there is a space between the keyword and the opening +parenthesis is relaxed, in practice, for this particular usage. +So, the textual overhead per translatable string is reduced to +only three characters: the underline and the two parentheses. +However, even if GNU gettext uses this convention internally, +it does not offer it officially. The real, genuine keyword is truly +‘gettext’ indeed. It is fairly easy for those wanting to use +‘_’ instead of ‘gettext’ to declare: +

+
 
#include <libintl.h>
+#define _(String) gettext (String)
+
+ +

instead of merely using ‘#include <libintl.h>’. +

+

The marking keywords ‘gettext’ and ‘_’ take the translatable +string as sole argument. It is also possible to define marking functions +that take it at another argument position. It is even possible to make +the marked argument position depend on the total number of arguments of +the function call; this is useful in C++. All this is achieved using +xgettext's ‘--keyword’ option. How to pass such an option +to xgettext, assuming that gettextize is used, is described +in Makevars’ in ‘po/ and AM_XGETTEXT_OPTION in ‘po.m4. +

+

Note also that long strings can be split across lines, into multiple +adjacent string tokens. Automatic string concatenation is performed +at compile time according to ISO C and ISO C++; xgettext also +supports this syntax. +

+

In C++, marking a C++ format string requires a small code change, +because the first argument to std::format must be a constant +expression. +For example, +

 
std::format ("{} {}!", "Hello", "world")
+
+

needs to be changed to +

 
std::vformat (gettext ("{} {}!"), std::make_format_args("Hello", "world"))
+
+ +

Later on, the maintenance is relatively easy. If, as a programmer, +you add or modify a string, you will have to ask yourself if the +new or altered string requires translation, and include it within +‘_()’ if you think it should be translated. For example, ‘"%s"’ +is an example of string not requiring translation. But +‘"%s: %d"does require translation, because in French, unlike +in English, it's customary to put a space before a colon. +

+ + + +

4.5 Marking Translatable Strings

+ +

In PO mode, one set of features is meant more for the programmer than +for the translator, and allows him to interactively mark which strings, +in a set of program sources, are translatable, and which are not. +Even if it is a fairly easy job for a programmer to find and mark +such strings by other means, using any editor of his choice, PO mode +makes this work more comfortable. Further, this gives translators +who feel a little like programmers, or programmers who feel a little +like translators, a tool letting them work at marking translatable +strings in the program sources, while simultaneously producing a set of +translation in some language, for the package being internationalized. +

+ +

The set of program sources, targeted by the PO mode commands describe +here, should have an Emacs tags table constructed for your project, +prior to using these PO file commands. This is easy to do. In any +shell window, change the directory to the root of your project, then +execute a command resembling: +

+
 
etags src/*.[hc] lib/*.[hc]
+
+ +

presuming here you want to process all ‘.h’ and ‘.c’ files +from the ‘src/’ and ‘lib/’ directories. This command will +explore all said files and create a ‘TAGS’ file in your root +directory, somewhat summarizing the contents using a special file +format Emacs can understand. +

+ +

For packages following the GNU coding standards, there is +a make goal tags or TAGS which constructs the tag files in +all directories and for all files containing source code. +

+

Once your ‘TAGS’ file is ready, the following commands assist +the programmer at marking translatable strings in his set of sources. +But these commands are necessarily driven from within a PO file +window, and it is likely that you do not even have such a PO file yet. +This is not a problem at all, as you may safely open a new, empty PO +file, mainly for using these commands. This empty PO file will slowly +fill in while you mark strings as translatable in your program sources. +

+
+
,
+
+

Search through program sources for a string which looks like a +candidate for translation (po-tags-search). +

+
+
M-,
+
+

Mark the last string found with ‘_()’ (po-mark-translatable). +

+
+
M-.
+
+

Mark the last string found with a keyword taken from a set of possible +keywords. This command with a prefix allows some management of these +keywords (po-select-mark-and-mark). +

+
+
+ + +

The , (po-tags-search) command searches for the next +occurrence of a string which looks like a possible candidate for +translation, and displays the program source in another Emacs window, +positioned in such a way that the string is near the top of this other +window. If the string is too big to fit whole in this window, it is +positioned so only its end is shown. In any case, the cursor +is left in the PO file window. If the shown string would be better +presented differently in different native languages, you may mark it +using M-, or M-.. Otherwise, you might rather ignore it +and skip to the next string by merely repeating the , command. +

+

A string is a good candidate for translation if it contains a sequence +of three or more letters. A string containing at most two letters in +a row will be considered as a candidate if it has more letters than +non-letters. The command disregards strings containing no letters, +or isolated letters only. It also disregards strings within comments, +or strings already marked with some keyword PO mode knows (see below). +

+

If you have never told Emacs about some ‘TAGS’ file to use, the +command will request that you specify one from the minibuffer, the +first time you use the command. You may later change your ‘TAGS’ +file by using the regular Emacs command M-x visit-tags-table, +which will ask you to name the precise ‘TAGS’ file you want +to use. See (emacs)Tags section `Tag Tables' in The Emacs Editor. +

+

Each time you use the , command, the search resumes from where it was +left by the previous search, and goes through all program sources, +obeying the ‘TAGS’ file, until all sources have been processed. +However, by giving a prefix argument to the command (C-u +,), you may request that the search be restarted all over again +from the first program source; but in this case, strings that you +recently marked as translatable will be automatically skipped. +

+

Using this , command does not prevent using of other regular +Emacs tags commands. For example, regular tags-search or +tags-query-replace commands may be used without disrupting the +independent , search sequence. However, as implemented, the +initial , command (or the , command is used with a +prefix) might also reinitialize the regular Emacs tags searching to the +first tags file, this reinitialization might be considered spurious. +

+ + +

The M-, (po-mark-translatable) command will mark the +recently found string with the ‘_’ keyword. The M-. +(po-select-mark-and-mark) command will request that you type +one keyword from the minibuffer and use that keyword for marking +the string. Both commands will automatically create a new PO file +untranslated entry for the string being marked, and make it the +current entry (making it easy for you to immediately proceed to its +translation, if you feel like doing it right away). It is possible +that the modifications made to the program source by M-, or +M-. render some source line longer than 80 columns, forcing you +to break and re-indent this line differently. You may use the O +command from PO mode, or any other window changing command from +Emacs, to break out into the program source window, and do any +needed adjustments. You will have to use some regular Emacs command +to return the cursor to the PO file window, if you want command +, for the next string, say. +

+

The M-. command has a few built-in speedups, so you do not +have to explicitly type all keywords all the time. The first such +speedup is that you are presented with a preferred keyword, +which you may accept by merely typing <RET> at the prompt. +The second speedup is that you may type any non-ambiguous prefix of the +keyword you really mean, and the command will complete it automatically +for you. This also means that PO mode has to know all +your possible keywords, and that it will not accept mistyped keywords. +

+

If you reply ? to the keyword request, the command gives a +list of all known keywords, from which you may choose. When the +command is prefixed by an argument (C-u M-.), it inhibits +updating any program source or PO file buffer, and does some simple +keyword management instead. In this case, the command asks for a +keyword, written in full, which becomes a new allowed keyword for +later M-. commands. Moreover, this new keyword automatically +becomes the preferred keyword for later commands. By typing +an already known keyword in response to C-u M-., one merely +changes the preferred keyword and does nothing more. +

+

All keywords known for M-. are recognized by the , command +when scanning for strings, and strings already marked by any of those +known keywords are automatically skipped. If many PO files are opened +simultaneously, each one has its own independent set of known keywords. +There is no provision in PO mode, currently, for deleting a known +keyword, you have to quit the file (maybe using q) and reopen +it afresh. When a PO file is newly brought up in an Emacs window, only +‘gettext’ and ‘_’ are known as keywords, and ‘gettext’ +is preferred for the M-. command. In fact, this is not useful to +prefer ‘_’, as this one is already built in the M-, command. +

+ + + +

4.6 Adding advice for translators

+ +

Sometimes you might want to add advice for the translators to a +particular message. +For example: +

    +
  • +The translatable string might be decent English but nevertheless ambiguous. +
  • +The translatable string refers to something in English culture (such as +a film's name) that is different in other cultures. +
  • +The translator should make an adjustment that is specific to her locale. +
+ +

The way to do this is to add comments, +before the gettext invocation or inside the gettext invocation +but before the string, that start with the substring ‘TRANSLATORS:’. +These comments will be extracted into the POT file, so that translators +can see them. +For example, when you write +

+
 
/* TRANSLATORS: This is an English idiom,
+   meaning not to reveal a secret. */
+puts (gettext ("Don't spill the beans!"));
+
+ +

the POT file will contain: +

+
 
#. TRANSLATORS: This is an English idiom,
+#. meaning not to reveal a secret.
+#: source.c:213
+msgid "Don't spill the beans!"
+msgstr ""
+
+ +

and the translators will be shown the advice +in a particular place in their translation tool. +

+

Only comments that immediately precede the gettext invocation or +the translatable string are considered. +Intervening blank lines are OK, +but if there is other code between the comment and the translatable string, +the comment no longer applies. +

+

Note: The string TRANSLATORS: is a convention, enabled by the +Makefile.in.in file that is part of a package's build system. +It is not enabled by default in xgettext. +If you are using xgettext +without the Makefile.in.in infrastructure, +you will need to pass the option --add-comments=TRANSLATORS: yourself. +

+ + + +

4.7 Special Comments preceding Keywords

+ + +

In C programs strings are often used within calls of functions from the +printf family. The special thing about these format strings is +that they can contain format specifiers introduced with %. Assume +we have the code +

+
 
printf (gettext ("String `%s' has %d characters\n"), s, strlen (s));
+
+ +

A possible German translation for the above string might be: +

+
 
"%d Zeichen lang ist die Zeichenkette `%s'"
+
+ +

A C programmer, even if he cannot speak German, will recognize that +there is something wrong here. The order of the two format specifiers +is changed but of course the arguments in the printf don't have. +This will most probably lead to problems because now the length of the +string is regarded as the address. +

+

To prevent errors at runtime caused by translations, the msgfmt +tool can check statically whether the arguments in the original and the +translation string match in type and number. If this is not the case +and the ‘-c’ option has been passed to msgfmt, msgfmt +will give an error and refuse to produce a MO file. Thus consistent +use of ‘msgfmt -c’ will catch the error, so that it cannot cause +problems at runtime. +

+

If the word order in the above German translation would be correct one +would have to write +

+
 
"%2$d Zeichen lang ist die Zeichenkette `%1$s'"
+
+ +

The routines in msgfmt know about this special notation. +

+

Because not all strings in a program will be format strings, it is not +useful for msgfmt to test all the strings in the ‘.po’ file. +This might cause problems because the string might contain what looks +like a format specifier, but the string is not used in printf. +

+

Therefore xgettext adds a special tag to those messages it +thinks might be a format string. There is no absolute rule for this, +only a heuristic. In the ‘.po’ file the entry is marked using the +c-format flag in the #, comment line (see section The Format of PO Files). +

+ + +

The careful reader now might say that this again can cause problems. +The heuristic might guess it wrong. This is true and therefore +xgettext knows about a special kind of comment which lets +the programmer take over the decision. If in the same line as or +the immediately preceding line to the gettext keyword +the xgettext program finds a comment containing the words +xgettext:c-format, it will mark the string in any case with +the c-format flag. This kind of comment should be used when +xgettext does not recognize the string as a format string but +it really is one and it should be tested. Please note that when the +comment is in the same line as the gettext keyword, it must be +before the string to be translated. Also note that a comment such as +xgettext:c-format applies only to the first string in the same +or the next line, not to multiple strings. +

+

This situation happens quite often. The printf function is often +called with strings which do not contain a format specifier. Of course +one would normally use fputs but it does happen. In this case +xgettext does not recognize this as a format string but what +happens if the translation introduces a valid format specifier? The +printf function will try to access one of the parameters but none +exists because the original code does not pass any parameters. +

+

xgettext of course could make a wrong decision the other way +round, i.e. a string marked as a format string actually is not a format +string. In this case the msgfmt might give too many warnings and +would prevent translating the ‘.po’ file. The method to prevent +this wrong decision is similar to the one used above, only the comment +to use must contain the string xgettext:no-c-format. +

+

If a string is marked with c-format and this is not correct the +user can find out who is responsible for the decision. See +Invoking the xgettext Program to see how the --debug option can be +used for solving this problem. +

+ + + +

4.8 Special Cases of Translatable Strings

+ +

The attentive reader might now point out that it is not always possible +to mark translatable string with gettext or something like this. +Consider the following case: +

+
 
{
+  static const char *messages[] = {
+    "some very meaningful message",
+    "and another one"
+  };
+  const char *string;
+  …
+  string
+    = index > 1 ? "a default message" : messages[index];
+
+  fputs (string);
+  …
+}
+
+ +

While it is no problem to mark the string "a default message" it +is not possible to mark the string initializers for messages. +What is to be done? We have to fulfill two tasks. First we have to mark the +strings so that the xgettext program (see section Invoking the xgettext Program) +can find them, and second we have to translate the string at runtime +before printing them. +

+

The first task can be fulfilled by creating a new keyword, which names a +no-op. For the second we have to mark all access points to a string +from the array. So one solution can look like this: +

+
 
#define gettext_noop(String) String
+
+{
+  static const char *messages[] = {
+    gettext_noop ("some very meaningful message"),
+    gettext_noop ("and another one")
+  };
+  const char *string;
+  …
+  string
+    = index > 1 ? gettext ("a default message") : gettext (messages[index]);
+
+  fputs (string);
+  …
+}
+
+ +

Please convince yourself that the string which is written by +fputs is translated in any case. How to get xgettext know +the additional keyword gettext_noop is explained in Invoking the xgettext Program. +

+

The above is of course not the only solution. You could also come along +with the following one: +

+
 
#define gettext_noop(String) String
+
+{
+  static const char *messages[] = {
+    gettext_noop ("some very meaningful message"),
+    gettext_noop ("and another one")
+  };
+  const char *string;
+  …
+  string
+    = index > 1 ? gettext_noop ("a default message") : messages[index];
+
+  fputs (gettext (string));
+  …
+}
+
+ +

But this has a drawback. The programmer has to take care that +he uses gettext_noop for the string "a default message". +A use of gettext could have in rare cases unpredictable results. +

+

One advantage is that you need not make control flow analysis to make +sure the output is really translated in any case. But this analysis is +generally not very difficult. If it should be in any situation you can +use this second method in this situation. +

+ + + +

4.9 Letting Users Report Translation Bugs

+ +

Code sometimes has bugs, but translations sometimes have bugs too. The +users need to be able to report them. Reporting translation bugs to the +programmer or maintainer of a package is not very useful, since the +maintainer must never change a translation, except on behalf of the +translator. Hence the translation bugs must be reported to the +translators. +

+

Here is a way to organize this so that the maintainer does not need to +forward translation bug reports, nor even keep a list of the addresses of +the translators or their translation teams. +

+

Every program has a place where is shows the bug report address. For +GNU programs, it is the code which handles the “–help” option, +typically in a function called “usage”. In this place, instruct the +translator to add her own bug reporting address. For example, if that +code has a statement +

+
 
printf (_("Report bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+
+ +

you can add some translator instructions like this: +

+
 
/* TRANSLATORS: The placeholder indicates the bug-reporting address
+   for this package.  Please add _another line_ saying
+   "Report translation bugs to <...>\n" with the address for translation
+   bugs (typically your translation team's web or email address).  */
+printf (_("Report bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+
+ +

These will be extracted by ‘xgettext’, leading to a .pot file that +contains this: +

+
 
#. TRANSLATORS: The placeholder indicates the bug-reporting address
+#. for this package.  Please add _another line_ saying
+#. "Report translation bugs to <...>\n" with the address for translation
+#. bugs (typically your translation team's web or email address).
+#: src/hello.c:178
+#, c-format
+msgid "Report bugs to <%s>.\n"
+msgstr ""
+
+ + + + +

4.10 Marking Proper Names for Translation

+ +

Should names of persons, cities, locations etc. be marked for translation +or not? People who only know languages that can be written with Latin +letters (English, Spanish, French, German, etc.) are tempted to say “no”, +because names usually do not change when transported between these languages. +However, in general when translating from one script to another, names +are translated too, usually phonetically or by transliteration. For +example, Russian or Greek names are converted to the Latin alphabet when +being translated to English, and English or French names are converted +to the Katakana script when being translated to Japanese. This is +necessary because the speakers of the target language in general cannot +read the script the name is originally written in. +

+

As a programmer, you should therefore make sure that names are marked +for translation, with a special comment telling the translators that it +is a proper name and how to pronounce it. In its simple form, it looks +like this: +

+
 
printf (_("Written by %s.\n"),
+        /* TRANSLATORS: This is a proper name.  See the gettext
+           manual, section Names.  Note this is actually a non-ASCII
+           name: The first name is (with Unicode escapes)
+           "Fran\u00e7ois" or (with HTML entities) "Fran&ccedil;ois".
+           Pronunciation is like "fraa-swa pee-nar".  */
+        _("Francois Pinard"));
+
+ +

The GNU gnulib library offers a module ‘propername’ +(https://www.gnu.org/software/gnulib/MODULES.html#module=propername) +which takes care to automatically append the original name, in parentheses, +to the translated name. For names that cannot be written in ASCII, it +also frees the translator from the task of entering the appropriate non-ASCII +characters if no script change is needed. In this more comfortable form, +it looks like this: +

+
 
printf (_("Written by %s and %s.\n"),
+        proper_name ("Ulrich Drepper"),
+        /* TRANSLATORS: This is a proper name.  See the gettext
+           manual, section Names.  Note this is actually a non-ASCII
+           name: The first name is (with Unicode escapes)
+           "Fran\u00e7ois" or (with HTML entities) "Fran&ccedil;ois".
+           Pronunciation is like "fraa-swa pee-nar".  */
+        proper_name_utf8 ("Francois Pinard", "Fran\303\247ois Pinard"));
+
+ +

You can also write the original name directly in Unicode (rather than with +Unicode escapes or HTML entities) and denote the pronunciation using the +International Phonetic Alphabet (see +https://en.wikipedia.org/wiki/International_Phonetic_Alphabet). +

+

As a translator, you should use some care when translating names, because +it is frustrating if people see their names mutilated or distorted. +

+

If your language uses the Latin script, all you need to do is to reproduce +the name as perfectly as you can within the usual character set of your +language. In this particular case, this means to provide a translation +containing the c-cedilla character. If your language uses a different +script and the people speaking it don't usually read Latin words, it means +transliteration. If the programmer used the simple case, you should still +give, in parentheses, the original writing of the name – for the sake of +the people that do read the Latin script. If the programmer used the +‘propername’ module mentioned above, you don't need to give the original +writing of the name in parentheses, because the program will already do so. +Here is an example, using Greek as the target script: +

+
 
#. This is a proper name.  See the gettext
+#. manual, section Names.  Note this is actually a non-ASCII
+#. name: The first name is (with Unicode escapes)
+#. "Fran\u00e7ois" or (with HTML entities) "Fran&ccedil;ois".
+#. Pronunciation is like "fraa-swa pee-nar".
+msgid "Francois Pinard"
+msgstr "\phi\rho\alpha\sigma\omicron\alpha \pi\iota\nu\alpha\rho"
+       " (Francois Pinard)"
+
+ +

Because translation of names is such a sensitive domain, it is a good +idea to test your translation before submitting it. +

+ + + +

4.11 Preparing Library Sources

+ +

When you are preparing a library, not a program, for the use of +gettext, only a few details are different. Here we assume that +the library has a translation domain and a POT file of its own. (If +it uses the translation domain and POT file of the main program, then +the previous sections apply without changes.) +

+
    +
  1. +The library code doesn't call setlocale (LC_ALL, ""). It's the +responsibility of the main program to set the locale. The library's +documentation should mention this fact, so that developers of programs +using the library are aware of it. + +
  2. +The library code doesn't call textdomain (PACKAGE), because it +would interfere with the text domain set by the main program. + +
  3. +The initialization code for a program was + +
     
      setlocale (LC_ALL, "");
    +  bindtextdomain (PACKAGE, LOCALEDIR);
    +  textdomain (PACKAGE);
    +
    + +

    For a library it is reduced to +

    +
     
      bindtextdomain (PACKAGE, LOCALEDIR);
    +
    + +

    If your library's API doesn't already have an initialization function, +you need to create one, containing at least the bindtextdomain +invocation. However, you usually don't need to export and document this +initialization function: It is sufficient that all entry points of the +library call the initialization function if it hasn't been called before. +The typical idiom used to achieve this is a static boolean variable that +indicates whether the initialization function has been called. If the +library is meant to be used in multithreaded applications, this variable +needs to be marked volatile, so that its value get propagated +between threads. Like this: +

    +
     
    static volatile bool libfoo_initialized;
    +
    +static void
    +libfoo_initialize (void)
    +{
    +  bindtextdomain (PACKAGE, LOCALEDIR);
    +  libfoo_initialized = true;
    +}
    +
    +/* This function is part of the exported API.  */
    +struct foo *
    +create_foo (...)
    +{
    +  /* Must ensure the initialization is performed.  */
    +  if (!libfoo_initialized)
    +    libfoo_initialize ();
    +  ...
    +}
    +
    +/* This function is part of the exported API.  The argument must be
    +   non-NULL and have been created through create_foo().  */
    +int
    +foo_refcount (struct foo *argument)
    +{
    +  /* No need to invoke the initialization function here, because
    +     create_foo() must already have been called before.  */
    +  ...
    +}
    +
    + +

    The more general solution for initialization functions, POSIX +pthread_once, is not needed in this case. +

    +
  4. +The usual declaration of the ‘_’ macro in each source file was + +
     
    #include <libintl.h>
    +#define _(String) gettext (String)
    +
    + +

    for a program. For a library, which has its own translation domain, +it reads like this: +

    +
     
    #include <libintl.h>
    +#define _(String) dgettext (PACKAGE, String)
    +
    + +

    In other words, dgettext is used instead of gettext. +Similarly, the dngettext function should be used in place of the +ngettext function. +

+ + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+

+ + This document was generated by Bruno Haible on July, 2 2025 using texi2html 1.78a. + +
+ +

+ + diff --git a/miniconda3/share/doc/gettext/gettext_5.html b/miniconda3/share/doc/gettext/gettext_5.html new file mode 100644 index 0000000000000000000000000000000000000000..771e9b3f687e37cbda25a17e48c35f69e6e42920 --- /dev/null +++ b/miniconda3/share/doc/gettext/gettext_5.html @@ -0,0 +1,1090 @@ + + + + + +GNU gettext utilities: 5. Making the PO Template File + + + + + + + + + + + + + + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+ +
+ + +

5. Making the PO Template File

+ +

After preparing the sources, the programmer creates a PO template file. +This section explains how to use xgettext for this purpose. +

+

xgettext creates a file named ‘domainname.po’. You +should then rename it to ‘domainname.pot’. (Why doesn't +xgettext create it under the name ‘domainname.pot’ +right away? The answer is: for historical reasons. When xgettext +was specified, the distinction between a PO file and PO file template +was fuzzy, and the suffix ‘.pot’ wasn't in use at that time.) +

+ + + + + +

5.1 Invoking the xgettext Program

+ + +
 
xgettext [option] [inputfile] …
+
+ +

The xgettext program extracts translatable strings from given +input files. +

+ + +

5.1.1 Input file location

+ +
+
inputfile
+

Input files. +

+
+
-f file
+
--files-from=file
+
+ +

Read the names of the input files from file instead of getting +them from the command line. +

+

Often file is a temporary file, generated during the build process. +In this case, you should also pass the --generated=file option. +

+
+
-D directory
+
--directory=directory
+
+ +

Add directory to the list of directories. Source files are +searched relative to this list of directories. The resulting ‘.po’ +file will be written relative to the current directory, though. +

+
+
+ +

If inputfile is ‘-’, standard input is read. +

+ + +

5.1.2 Output file location

+ +
+
-d name
+
--default-domain=name
+
+ +

Use ‘name.po’ for output (instead of ‘messages.po’). +

+
+
-o file
+
--output=file
+
+ +

Write output to specified file (instead of ‘name.po’ or +‘messages.po’). +

+
+
-p dir
+
--output-dir=dir
+
+ +

Output files will be placed in directory dir. +

+
+
+ + +

If the output file is ‘-’ or ‘/dev/stdout’, the output +is written to standard output. +

+ + +

5.1.3 Choice of input file language

+ +
+
-L name
+
--language=name
+
+ + +

Specifies the language of the input files. The supported languages are +C, C++, ObjectiveC, +PO, +Python, +Java, JavaProperties, +C#, +JavaScript, +TypeScript, TSX, +Scheme, Guile, +Lisp, +EmacsLisp, +librep, +Rust, +Go, +Ruby, +Shell, +awk, +Lua, +Modula-2, +D, +Smalltalk, +Vala, +Tcl, +Perl, +PHP, +GCC-source, +YCP, +NXStringTable, +RST, RSJ, +Glade, +GSettings, +Desktop. +

+
+
-C
+
--c++
+
+ +

This is a shorthand for --language=C++. +

+
+
+ +

By default the language is guessed depending on the input file name +extension. +

+ + +

5.1.4 Input file interpretation

+ +
+
--from-code=name
+
+

Specifies the encoding of the input files. This option is needed only +if some untranslated message strings or their corresponding comments +contain non-ASCII characters. Note that Tcl and Glade input files are +always assumed to be in UTF-8, regardless of this option. +

+
+
+ +

By default the input files are assumed to be in ASCII. +

+ + +

5.1.5 Operation mode

+ +
+
-j
+
--join-existing
+
+ +

Join messages with existing file. +

+
+
-x file
+
--exclude-file=file
+
+ +

Entries from file are not extracted. file should be a PO or +POT file. +

+
+
-c[tag]
+
--add-comments[=tag]
+
+ +

Place comment blocks starting with tag and preceding keyword lines +in the output file. Without a tag, the option means to put all +comment blocks preceding keyword lines in the output file. +

+

Note that comment blocks are only extracted if there is no program code +between the comment and the string that gets extracted. +For example, in the following C source code: +

+
 
/* This is the first comment.  */
+gettext ("foo");
+
+/* This is the second comment: not extracted  */
+gettext (
+  "bar");
+
+gettext (
+  /* This is the third comment.  */
+  "baz");
+
+/* This is the fourth comment.  */
+
+gettext ("I love blank lines in my programs");
+
+ +

the second comment line will not be extracted, because there is a line +with some tokens between the comment line and the line that contains +the string. But the fourth comment is extracted, because between it and +the line with the string there is merely a blank line. +

+
+
--check[=CHECK]
+
+ +

Perform a syntax check on msgid and msgid_plural. The supported checks +are: +

+
+
ellipsis-unicode
+

Prefer Unicode ellipsis character over ASCII ... +

+
+
space-ellipsis
+

Prohibit whitespace before an ellipsis character +

+
+
quote-unicode
+

Prefer Unicode quotation marks over ASCII "'` +

+
+
bullet-unicode
+

Prefer Unicode bullet character over ASCII * or - +

+
+
+ +

The option has an effect on all input files. To enable or disable +checks for a certain string, you can mark it with an xgettext: +special comment in the source file. For example, if you specify the +--check=space-ellipsis option, but want to suppress the check on +a particular string, add the following comment: +

+
 
/* xgettext: no-space-ellipsis-check */
+gettext ("We really want a space before ellipsis here ...");
+
+ +

The xgettext: comment can be followed by flags separated with a +comma. The possible flags are of the form ‘[no-]name-check’, +where name is the name of a valid syntax check. If a flag is +prefixed by no-, the meaning is negated. +

+

Some tests apply the checks to each sentence within the msgid, rather +than the whole string. xgettext detects the end of sentence by +performing a pattern match, which usually looks for a period followed by +a certain number of spaces. The number is specified with the +--sentence-end option. +

+
+
--sentence-end[=TYPE]
+
+ +

The supported values are: +

+
+
single-space
+

Expect at least one whitespace after a period +

+
+
double-space
+

Expect at least two whitespaces after a period +

+
+
+ +
+
+ + + +

5.1.6 Language specific options

+ +
+
-a
+
--extract-all
+
+ +

Extract all strings. +

+

This option has an effect with most languages, namely +C, C++, ObjectiveC, +Python, +Java, +C#, +JavaScript, +Scheme, Guile, +Lisp, +EmacsLisp, +librep, +Rust, +Go, +Shell, +awk, +Lua, +Modula-2, +D, +Vala, +Tcl, +Perl, +PHP, +GCC-source, +Glade, +GSettings. +

+
+
-k[keywordspec]
+
--keyword[=keywordspec]
+
+ +

Specify keywordspec as an additional keyword to be looked for. +Without a keywordspec, the option means to not use default keywords. +

+ + +

If keywordspec is a C identifier id, xgettext looks +for strings in the first argument of each call to the function or macro +id. If keywordspec is of the form +‘id:argnum’, xgettext looks for strings in the +argnumth argument of the call. If keywordspec is of the form +‘id:argnum1,argnum2’, xgettext looks for +strings in the argnum1st argument and in the argnum2nd argument +of the call, and treats them as singular/plural variants for a message +with plural handling. Also, if keywordspec is of the form +‘id:contextargnumc,argnum’ or +‘id:argnum,contextargnumc’, xgettext treats +strings in the contextargnumth argument as a context specifier. +And, as a special-purpose support for GNOME, if keywordspec is of the +form ‘id:argnumg’, xgettext recognizes the +argnumth argument as a string with context, using the GNOME glib +syntax ‘"msgctxt|msgid"’. +
+Furthermore, if keywordspec is of the form +‘id:…,totalnumargst’, xgettext recognizes this +argument specification only if the number of actual arguments is equal to +totalnumargs. This is useful for disambiguating overloaded function +calls in C++. +
+Finally, if keywordspec is of the form +‘id:argnum...,"xcomment"’, xgettext, when +extracting a message from the specified argument strings, adds an extracted +comment xcomment to the message. Note that when used through a normal +shell command line, the double-quotes around the xcomment need to be +escaped. +

+

This option has an effect with most languages, namely +C, C++, ObjectiveC, +Python, +Java, +C#, +JavaScript, +TypeScript, TSX, +Scheme, Guile, +Lisp, +EmacsLisp, +librep, +Rust, +Go, +Shell, +awk, +Lua, +Modula-2, +D, +Vala, +Tcl, +Perl, +PHP, +GCC-source, +Glade, +GSettings, +Desktop. +

+

The default keyword specifications, which are always looked for if not +explicitly disabled, are language dependent. They are: +

+
    +
  • +For C, C++, and GCC-source: gettext, dgettext:2, +dcgettext:2, ngettext:1,2, dngettext:2,3, +dcngettext:2,3, gettext_noop, and pgettext:1c,2, +dpgettext:2c,3, dcpgettext:2c,3, npgettext:1c,2,3, +dnpgettext:2c,3,4, dcnpgettext:2c,3,4. + +
  • +For Objective C: Like for C, and also NSLocalizedString, _, +NSLocalizedStaticString, __. + +
  • +For Shell scripts: gettext, ngettext:1,2, eval_gettext, +eval_ngettext:1,2, eval_pgettext:1c,2, +eval_npgettext:1c,2,3. + +
  • +For Python: gettext, ugettext, dgettext:2, +ngettext:1,2, ungettext:1,2, dngettext:2,3, _. + +
  • +For Lisp: gettext, ngettext:1,2, gettext-noop. + +
  • +For EmacsLisp: _. + +
  • +For librep: _. + +
  • +For Scheme and Guile: gettext, ngettext:1,2, gettext-noop. + +
  • +For Java: GettextResource.gettext:2, +GettextResource.ngettext:2,3, GettextResource.pgettext:2c,3, +GettextResource.npgettext:2c,3,4, gettext, ngettext:1,2, +pgettext:1c,2, npgettext:1c,2,3, getString. + +
  • +For C#: GetString, GetPluralString:1,2, +GetParticularString:1c,2, GetParticularPluralString:1c,2,3. + +
  • +For awk: dcgettext, dcngettext:1,2. + +
  • +For Tcl: ::msgcat::mc. + +
  • +For Perl: gettext, %gettext, $gettext, dgettext:2, +dcgettext:2, ngettext:1,2, dngettext:2,3, +dcngettext:2,3, gettext_noop. + +
  • +For PHP: _, gettext, dgettext:2, dcgettext:2, +ngettext:1,2, dngettext:2,3, dcngettext:2,3. + +
  • +For Glade 1: label, title, text, format, +copyright, comments, preview_text, tooltip. + +
  • +For Lua: _, gettext.gettext, gettext.dgettext:2, +gettext.dcgettext:2, gettext.ngettext:1,2, +gettext.dngettext:2,3, gettext.dcngettext:2,3. + +
  • +For D: gettext, dgettext:2, dcgettext:2, +ngettext:1,2, dngettext:2,3, dcngettext:2,3. + +
  • +For JavaScript, TypeScript, TSX: +_, gettext, dgettext:2, +dcgettext:2, ngettext:1,2, dngettext:2,3, +pgettext:1c,2, dpgettext:2c,3. + +
  • +For Vala: _, Q_, N_, NC_, dgettext:2, +dcgettext:2, ngettext:1,2, dngettext:2,3, +dpgettext:2c,3, dpgettext2:2c,3. + +
  • +For Desktop: Name, GenericName, Comment, +Keywords. +
+ +

To disable the default keyword specifications, the option ‘-k’ or +‘--keyword’ or ‘--keyword=’, without a keywordspec, can be +used. +

+
+
--flag=word:arg:flag
+
+

Specifies additional flags for strings occurring as part of the argth +argument of the function word. The possible flags are the possible +format string indicators, such as ‘c-format’, and their negations, +such as ‘no-c-format’, possibly prefixed with ‘pass-’. +
+ +The meaning of --flag=function:arg:lang-format +is that in language lang, the specified function expects as +argth argument a format string. (For those of you familiar with +GCC function attributes, --flag=function:arg:c-format is +roughly equivalent to the declaration +‘__attribute__ ((__format__ (__printf__, arg, ...)))’ attached +to function in a C source file.) +For example, if you use the ‘error’ function from GNU libc, you can +specify its behaviour through --flag=error:3:c-format. The effect of +this specification is that xgettext will mark as format strings all +gettext invocations that occur as argth argument of +function. +This is useful when such strings contain no format string directives: +together with the checks done by ‘msgfmt -c’ it will ensure that +translators cannot accidentally use format string directives that would +lead to a crash at runtime. +
+ +The meaning of --flag=function:arg:pass-lang-format +is that in language lang, if the function call occurs in a +position that must yield a format string, then its argth argument +must yield a format string of the same type as well. (If you know GCC +function attributes, the --flag=function:arg:pass-c-format +option is roughly equivalent to the declaration +‘__attribute__ ((__format_arg__ (arg)))’ attached to function +in a C source file.) +For example, if you use the ‘_’ shortcut for the gettext function, +you should use --flag=_:1:pass-c-format. The effect of this +specification is that xgettext will propagate a format string +requirement for a _("string") call to its first argument, the literal +"string", and thus mark it as a format string. +This is useful when such strings contain no format string directives: +together with the checks done by ‘msgfmt -c’ it will ensure that +translators cannot accidentally use format string directives that would +lead to a crash at runtime. +
+This option has an effect with most languages, namely +C, C++, ObjectiveC, +Python, +Java, +C#, +JavaScript, +TypeScript, TSX, +Scheme, Guile, +Lisp, +EmacsLisp, +librep, +Rust, +Go, +Shell, +awk, +Lua, +Modula-2, +D, +Vala, +Tcl, +Perl, +PHP, +GCC-source, +YCP. +

+
+
--tag=word:format
+
+

Defines the behaviour of tagged template literals with tag word. +This option has an effect only with language JavaScript. +
+format is a symbolic description +of the first step of the JavaScript function named word, +namely how this function constructs a format string +based on the parts of the template literal. +Currently only one value is supported: javascript-gnome-format, +which describes the construction of a format string with numbered placeholders +{0}, {1}, {2}, etc. +For example, javascript-gnome-format transforms the template literal +word`My name is ${id.name} and I am ${id.age} years old.` +into the format string "My name is {0} and I am {1} years old.". +

+
+
-T
+
--trigraphs
+
+ + +

Understand ANSI C trigraphs for input +(deprecated, since trigraphs have been removed from ISO C 23). +
+This option has an effect only with the languages C, C++, ObjectiveC. +

+
+
--qt
+
+ +

Recognize Qt format strings. +
+This option has an effect only with the language C++. +

+
+
--kde
+
+ +

Recognize KDE 4 format strings. +
+This option has an effect only with the language C++. +

+
+
--boost
+
+ +

Recognize Boost format strings. +
+This option has an effect only with the language C++. +

+
+
--debug
+
+ +

Use the flags c-format and possible-c-format to show who was +responsible for marking a message as a format string. The latter form is +used if the xgettext program decided, the former form is used if +the programmer prescribed it. +

+

By default only the c-format form is used. The translator should +not have to care about these details. +

+
+
+ +

This implementation of xgettext is able to process a few awkward +cases, like strings in preprocessor macros, ANSI concatenation of +adjacent strings, and escaped end of lines for continued strings. +

+ + +

5.1.7 Options for XML input files

+ +

When some of the input files are XML files +and they are not of one of the types covered +by the system-wide installed *.its files, +a *.its file is needed for each such file type, +so that xgettext can handle them. +There are two ways to specify such a file: +

+
    +
  • +
    +
    --its=file
    +
    +

    Use the ITS rules defined in file. +

    +
    + +
  • +The environment variable GETTEXTDATADIRS. +Together with the *.its file, you need a corresponding *.loc file +(see section Preparing Rules for XML Internationalization). +Furthermore you need to store these files +in a directory ‘parent_dir/its/’ + +and set the environment variable GETTEXTDATADIRS to include +parent_dir. +More generally, the value of GETTEXTDATADIRS should be +a colon-separated list of directory names. +
+ +

Note that when the option --its is specified, +the system-wide installed *.its files are ignored +and the environment variable GETTEXTDATADIRS has no effect either. +

+ + +

5.1.8 Output details

+ + +
+
--color
+
--color=when
+
+

Specify whether or when to use colors and other text attributes. +See The --color option for details. +

+
+
--style=style_file
+
+

Specify the CSS style rule file to use for --color. +See The --style option for details. +

+
+
--force-po
+
+

Always write an output file even if no message is defined. +

+
+
-i
+
--indent
+
+ +

Write the .po file using indented style. +

+
+
--no-location
+
+

Do not write ‘#: filename:line’ lines. Note that using +this option makes it harder for technically skilled translators to understand +each message's context. +

+
+
-n
+
--add-location=type
+
+ +

Generate ‘#: filename:line’ lines (default). +

+

The optional type can be either ‘full’, ‘file’, or +‘never’. If it is not given or ‘full’, it generates the +lines with both file name and line number. If it is ‘file’, the +line number part is omitted. If it is ‘never’, it completely +suppresses the lines (same as --no-location). +

+
+
--strict
+
+

Write out a strict Uniforum conforming PO file. Note that this +Uniforum format should be avoided because it doesn't support the +GNU extensions. +

+
+
--properties-output
+
+

Write out a Java ResourceBundle in Java .properties syntax. Note +that this file format doesn't support plural forms and silently drops +obsolete messages. +

+
+
--stringtable-output
+
+

Write out a NeXTstep/GNUstep localized resource file in .strings syntax. +Note that this file format doesn't support plural forms. +

+
+
--itstool
+
+

Write out comments recognized by itstool (http://itstool.org). +Note that this is only effective with XML files. +

+
+
-w number
+
--width=number
+
+ +

Set the output page width. Long strings in the output files will be +split across multiple lines in order to ensure that each line's width +(= number of screen columns) is less or equal to the given number. +

+
+
--no-wrap
+
+

Do not break long message lines. Message lines whose width exceeds the +output page width will not be split into several lines. Only file reference +lines which are wider than the output page width will be split. +

+
+
-s
+
--sort-output
+
+ + +

Generate sorted output (deprecated). Note that using this option makes it +much harder for the translator to understand each message's context. +

+
+
-F
+
--sort-by-file
+
+ +

Sort output by file location. +

+
+
--omit-header
+
+

Don't write header with ‘msgid ""’ entry. +Note: Using this option may lead to an error in subsequent operations +if the output contains non-ASCII characters. +

+ +

This is useful for testing purposes because it eliminates a source +of variance for generated .gmo files. With --omit-header, +two invocations of xgettext on the same files with the same +options at different times are guaranteed to produce the same results. +

+

Note that using this option will lead to an error if the resulting file +would not entirely be in ASCII. +

+
+
--no-git
+
+

Don't use the git program +to produce a reproducible ‘POT-Creation-Date’ field in the output. +

+

Use this option, for speed, if +your project has a very long Git history +(hundreds of thousands of commits) +or you are specifying thousands of input files. +

+

By default, xgettext determines the ‘POT-Creation-Date’ as +the maximum version-controlled modification time +among all the given input files. +With this option, you can specify that it should instead use +the maximum modification time (time stamp on disk) +among all the given input files. +

+

By “version control”, here we mean the Git version control system. +

+
+
--copyright-holder=string
+
+

Set the copyright holder in the output. string should be the +copyright holder of the surrounding package. (Note that the msgid +strings, extracted from the package's sources, belong to the copyright +holder of the package.) Translators are expected to transfer or disclaim +the copyright for their translations, so that package maintainers can +distribute them without legal risk. If string is empty, the output +files are marked as being in the public domain; in this case, the translators +are expected to disclaim their copyright, again so that package maintainers +can distribute them without legal risk. +

+

The default value for string is the Free Software Foundation, Inc., +simply because xgettext was first used in the GNU project. +

+
+
--foreign-user
+
+

Omit FSF copyright in output. This option is equivalent to +‘--copyright-holder=''’. It can be useful for packages outside the GNU +project that want their translations to be in the public domain. +

+
+
--package-name=package
+
+

Set the package name in the header of the output. +

+
+
--package-version=version
+
+

Set the package version in the header of the output. This option has an +effect only if the ‘--package-name’ option is also used. +

+
+
--msgid-bugs-address=email@address
+
+

Set the reporting address for msgid bugs. This is the email address or URL +to which the translators shall report bugs in the untranslated strings: +

+
    +
  • - Strings which are not entire sentences; see the maintainer guidelines +in Preparing Translatable Strings. +
  • - Strings which use unclear terms or require additional context to be +understood. +
  • - Strings which make invalid assumptions about notation of date, time or +money. +
  • - Pluralisation problems. +
  • - Incorrect English spelling. +
  • - Incorrect formatting. +
+ +

It can be your email address, or a mailing list address where translators +can write to without being subscribed, or the URL of a web page through +which the translators can contact you. +

+

The default value is empty, which means that translators will be clueless! +Don't forget to specify this option. +

+
+
--generated=file
+
+ +

Declares that the given file is generated +and therefore should not have +an influence on the ‘POT-Creation-Date’ field in the output. +

+

When you specify this option, +you should also specify one or more --reference options, +to indicate the files from which the given file was generated. +

+
+
--reference=file
+
+ +

Declares that the output depends on the contents of the given file. +This has an influence on the ‘POT-Creation-Date’ field in the output. +

+

By default, xgettext determines the ‘POT-Creation-Date’ as +the maximum version-controlled modification time +among all the given input files. +With this option, you can specify that +the output depends also on some other files. +For example, use this option when +some of the input files is not under version control +but instead is generated from one or more files that are under version control. +

+

By “version control”, here we mean the Git version control system. +

+
+
-m[string]
+
--msgstr-prefix[=string]
+
+ +

Use string (or "" if not specified) as prefix for msgstr values. +

+
+
-M[string]
+
--msgstr-suffix[=string]
+
+ +

Use string (or "" if not specified) as suffix for msgstr values. +

+
+
+ + + +

5.1.9 Informative output

+ +
+
-h
+
--help
+
+ +

Display this help and exit. +

+
+
-V
+
--version
+
+ +

Output version information and exit. +

+
+
-v
+
--verbose
+
+ +

Increase verbosity level. +

+
+
+ + + +

5.1.10 Example

+ +

A sample invocation of xgettext, in a project +that has a single source file ‘src/hello.c’ +that uses ‘_’ as shorthand for the gettext function, +could be: +

+
 
xgettext -o hello.pot \
+         --add-comments=TRANSLATORS: \
+         --keyword=_ --flag=_:1:pass-c-format \
+         --directory=.. \
+         src/hello.c
+
+ + + + +

5.2 Combining PO Template Files

+ +

When a package contains sources in different programming languages and +different, incompatible xgettext command line options are required +for these different parts of the package, the solution is to create +intermediate PO template files for each of the parts and then combine (merge) +them together. +

+ + +

For example, assume you have two source files ‘a.c’ and ‘b.py’, +and want to extract their translatable strings in separate steps. +

+

Each of the following command sequences does this. The output is the same. +

+
    +
  • +This command sequence creates intermediate POT files and then combines them. +
     
    xgettext -o part-c.pot a.c
    +xgettext -o part-py.pot b.py
    +xgettext -o all.pot part-c.pot part-py.pot
    +
    +
  • +This command sequence does several xgettext invocations, with a +single POT file that accumulates the translatable strings. +
     
    xgettext -o all.pot a.c
    +xgettext -o all.pot --join-existing b.py
    +
    +
  • +Likewise here, but a ‘--default-domain’ option is used to denote +the output file rather than a ‘-o’ option. +
     
    xgettext --default-domain=all a.c
    +xgettext --default-domain=all --join-existing b.py
    +mv all.po all.pot
    +
    +
+ +

One might be tempted to think that ‘msgcat’ can do the same thing, +through a command sequence such as: +

 
xgettext -o part-c.pot a.c
+xgettext -o part-py.pot b.py
+msgcat -o all.pot part-c.pot part-py.pot
+
+

But no, this does not work reliably, because sometimes part-c.pot +and part-py.pot will contain different POT-Creation-Date +values, and msgcat then produces an all.pot file that has +conflict markers in the header entry. +This is because msgcat generally is meant to produce PO files that +are to be reviewed and edited by a translator; this is not desired here. +

+ + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+

+ + This document was generated by Bruno Haible on July, 2 2025 using texi2html 1.78a. + +
+ +

+ + diff --git a/miniconda3/share/doc/gettext/gettext_6.html b/miniconda3/share/doc/gettext/gettext_6.html new file mode 100644 index 0000000000000000000000000000000000000000..d94e11bba54ef466e81d0c1772153ee04c2e3207 --- /dev/null +++ b/miniconda3/share/doc/gettext/gettext_6.html @@ -0,0 +1,537 @@ + + + + + +GNU gettext utilities: 6. Creating a New PO File + + + + + + + + + + + + + + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+ +
+ + +

6. Creating a New PO File

+ +

When starting a new translation, the translator creates a file called +‘LANG.po’, as a copy of the ‘package.pot’ template +file with modifications in the initial comments (at the beginning of the file) +and in the header entry (the first entry, near the beginning of the file). +

+

The easiest way to do so is by use of the ‘msginit’ program. +For example: +

+
 
$ cd PACKAGE-VERSION
+$ cd po
+$ msginit
+
+ +

The alternative way is to do the copy and modifications by hand. +To do so, the translator copies ‘package.pot’ to +‘LANG.po’. Then she modifies the initial comments and +the header entry of this file. +

+ + + + +

6.1 Invoking the msginit Program

+ + +
 
msginit [option]
+
+ + + +

The msginit program creates a new PO file, initializing the meta +information with values from the user's environment. +

+

Here are more details. The following header fields of a PO file are +automatically filled, when possible. +

+
+
Project-Id-Version
+

The value is guessed from the configure script or any other files +in the current directory. +

+
+
PO-Revision-Date
+

The value is taken from the PO-Creation-Data in the input POT +file, or the current date is used. +

+
+
Last-Translator
+

The value is taken from user's password file entry and the mailer +configuration files. +

+
+
Language-Team, Language
+

These values are set according to the current locale and the predefined +list of translation teams. +

+
+
MIME-Version, Content-Type, Content-Transfer-Encoding
+

These values are set according to the content of the POT file and the +current locale. If the POT file contains charset=UTF-8, it means that +the POT file contains non-ASCII characters, and we keep the UTF-8 +encoding. Otherwise, when the POT file is plain ASCII, we use the +locale's encoding. +

+
+
Plural-Forms
+

The value is first looked up from the embedded table. +

+

As an experimental feature, you can instruct msginit to use the +information from Unicode CLDR, by setting the GETTEXTCLDRDIR +environment variable. The program will look for a file named +common/supplemental/plurals.xml under that directory. You can +get the CLDR data from http://cldr.unicode.org/. +

+
+
+ + + +

6.1.1 Input file location

+ +
+
-i inputfile
+
--input=inputfile
+
+ +

Input POT file. +

+
+
+ +

If no inputfile is given, the current directory is searched for the +POT file. If it is ‘-’, standard input is read. +

+ + +

6.1.2 Output file location

+ +
+
-o file
+
--output-file=file
+
+ +

Write output to specified PO file. +

+
+
+ +

If no output file is given, it depends on the ‘--locale’ option or the +user's locale setting. If it is ‘-’, the results are written to +standard output. +

+ + +

6.1.3 Input file syntax

+ +
+
-P
+
--properties-input
+
+ +

Assume the input file is a Java ResourceBundle in Java .properties +syntax, not in PO file syntax. +

+
+
--stringtable-input
+
+

Assume the input file is a NeXTstep/GNUstep localized resource file in +.strings syntax, not in PO file syntax. +

+
+
+ + + +

6.1.4 Output details

+ +
+
-l ll_CC[.encoding]
+
--locale=ll_CC[.encoding]
+
+ +

Set target locale. ll should be a language code, and CC should +be a country code. The optional part .encoding specifies the encoding +of the locale; most often this part is .UTF-8. +The command ‘locale -a’ can be used to output a list +of all installed locales. The default is the user's locale setting. +

+
+
--no-translator
+
+

Declares that the PO file will not have a human translator and is instead +automatically generated. +

+
+
--color
+
--color=when
+
+

Specify whether or when to use colors and other text attributes. +See The --color option for details. +

+
+
--style=style_file
+
+

Specify the CSS style rule file to use for --color. +See The --style option for details. +

+
+
-p
+
--properties-output
+
+ +

Write out a Java ResourceBundle in Java .properties syntax. Note +that this file format doesn't support plural forms and silently drops +obsolete messages. +

+
+
--stringtable-output
+
+

Write out a NeXTstep/GNUstep localized resource file in .strings syntax. +Note that this file format doesn't support plural forms. +

+
+
-w number
+
--width=number
+
+ +

Set the output page width. Long strings in the output files will be +split across multiple lines in order to ensure that each line's width +(= number of screen columns) is less or equal to the given number. +

+
+
--no-wrap
+
+

Do not break long message lines. Message lines whose width exceeds the +output page width will not be split into several lines. Only file reference +lines which are wider than the output page width will be split. +

+
+
+ + + +

6.1.5 Informative output

+ +
+
-h
+
--help
+
+ +

Display this help and exit. +

+
+
-V
+
--version
+
+ +

Output version information and exit. +

+
+
+ + + + +

6.2 Filling in the Header Entry

+ +

The initial comments "SOME DESCRIPTIVE TITLE", "YEAR" and +"FIRST AUTHOR <EMAIL@ADDRESS>, YEAR" ought to be replaced by sensible +information. This can be done in any text editor; if Emacs is used +and it switched to PO mode automatically (because it has recognized +the file's suffix), you can disable it by typing M-x fundamental-mode. +

+

Modifying the header entry can already be done using PO mode: in Emacs, +type M-x po-mode RET and then RET again to start editing the +entry. You should fill in the following fields. +

+
+
Project-Id-Version
+

This is the name and version of the package. Fill it in if it has not +already been filled in by xgettext. +

+
+
Report-Msgid-Bugs-To
+

This has already been filled in by xgettext. It contains an email +address or URL where you can report bugs in the untranslated strings: +

+
    +
  • - Strings which are not entire sentences, see the maintainer guidelines +in Preparing Translatable Strings. +
  • - Strings which use unclear terms or require additional context to be +understood. +
  • - Strings which make invalid assumptions about notation of date, time or +money. +
  • - Pluralisation problems. +
  • - Incorrect English spelling. +
  • - Incorrect formatting. +
+ +
+
POT-Creation-Date
+

This has already been filled in by xgettext. +

+
+
PO-Revision-Date
+

You don't need to fill this in. It will be filled by the PO file editor +when you save the file. +

+
+
Last-Translator
+

Fill in your name and email address (without double quotes). +

+
+
Language-Team
+

Fill in the English name of the language, and the email address or +homepage URL of the language team you are part of. +

+

Before starting a translation, it is a good idea to get in touch with +your translation team, not only to make sure you don't do duplicated work, +but also to coordinate difficult linguistic issues. +

+ +

In the Free Translation Project, each translation team has its own mailing +list. The up-to-date list of teams can be found at the Free Translation +Project's homepage, https://translationproject.org/, in the "Teams" +area. +

+
+
Language
+

Fill in the language code of the language. This can be in one of three +forms: +

+
    +
  • - +‘ll’, an ISO 639 two-letter language code (lowercase). +For some languages, +a two-letter code does not exist, and a three-letter code is used instead. +See Language Codes for the list of codes. + +
  • - +‘ll_CC’, where ‘ll’ is an ISO 639 two-letter +or three-letter +language code (lowercase) and ‘CC’ is an ISO 3166 two-letter +country code (uppercase). The country code specification is not redundant: +Some languages have dialects in different countries. For example, +‘de_AT’ is used for Austria, and ‘pt_BR’ for Brazil. The country +code serves to distinguish the dialects. See Language Codes and +Country Codes for the lists of codes. + +
  • - +‘ll_CC@variant’, where ‘ll’ is an +ISO 639 two-letter +or three-letter +language code (lowercase), ‘CC’ is an +ISO 3166 two-letter country code (uppercase), and ‘variant’ is +a variant designator. The variant designator (lowercase) can be a script +designator, such as ‘latin’ or ‘cyrillic’. +
+ +

The naming convention ‘ll_CC’ is also the way locales are +named on systems based on GNU libc. But there are three important differences: +

+
    +
  • +In this PO file field, but not in locale names, ‘ll_CC’ +combinations denoting a language's main dialect are abbreviated as +‘ll’. For example, ‘de’ is equivalent to ‘de_DE’ +(German as spoken in Germany), and ‘pt’ to ‘pt_PT’ (Portuguese as +spoken in Portugal) in this context. + +
  • +In this PO file field, suffixes like ‘.encoding’ are not used. + +
  • +In this PO file field, variant designators that are not relevant to message +translation, such as ‘@euro’, are not used. +
+ +

So, if your locale name is ‘de_DE.UTF-8’, the language specification in +PO files is just ‘de’. +

+
+
Content-Type
+
+ +

Replace ‘CHARSET’ with the character encoding used for your language, +in your locale, or UTF-8. This field is needed for correct operation of the +msgmerge and msgfmt programs, as well as for users whose +locale's character encoding differs from yours (see How to specify the output character set gettext uses). +

+ +

You get the character encoding of your locale by running the shell command +‘locale charmap’. If the result is ‘C’ or ‘ANSI_X3.4-1968’, +which is equivalent to ‘ASCII’ (= ‘US-ASCII’), it means that your +locale is not correctly configured. In this case, ask your translation +team which charset to use. ‘ASCII’ is not usable for any language +except Latin. +

+ +

Because the PO files must be portable to operating systems with less advanced +internationalization facilities, the character encodings that can be used +are limited to those supported by both GNU libc and GNU +libiconv. These are: +ASCII, ISO-8859-1, ISO-8859-2, ISO-8859-3, +ISO-8859-4, ISO-8859-5, ISO-8859-6, ISO-8859-7, +ISO-8859-8, ISO-8859-9, ISO-8859-13, ISO-8859-14, +ISO-8859-15, +KOI8-R, KOI8-U, KOI8-T, +CP850, CP866, CP874, +CP932, CP949, CP950, CP1250, CP1251, +CP1252, CP1253, CP1254, CP1255, CP1256, +CP1257, GB2312, EUC-JP, EUC-KR, EUC-TW, +BIG5, BIG5-HKSCS, GBK, GB18030, SHIFT_JIS, +JOHAB, TIS-620, VISCII, GEORGIAN-PS, UTF-8. +

+ +

In the GNU system, the following encodings are frequently used for the +corresponding languages. +

+ +
    +
  • ISO-8859-1 for +Afrikaans, Albanian, Basque, Breton, Catalan, Cornish, Danish, Dutch, +English, Estonian, Faroese, Finnish, French, Galician, German, +Greenlandic, Icelandic, Indonesian, Irish, Italian, Malay, Manx, +Norwegian, Occitan, Portuguese, Spanish, Swedish, Tagalog, Uzbek, +Walloon, +
  • ISO-8859-2 for +Bosnian, Croatian, Czech, Hungarian, Polish, Romanian, Serbian, Slovak, +Slovenian, +
  • ISO-8859-3 for Maltese, +
  • ISO-8859-5 for Macedonian, Serbian, +
  • ISO-8859-6 for Arabic, +
  • ISO-8859-7 for Greek, +
  • ISO-8859-8 for Hebrew, +
  • ISO-8859-9 for Turkish, +
  • ISO-8859-13 for Latvian, Lithuanian, Maori, +
  • ISO-8859-14 for Welsh, +
  • ISO-8859-15 for +Basque, Catalan, Dutch, English, Finnish, French, Galician, German, Irish, +Italian, Portuguese, Spanish, Swedish, Walloon, +
  • KOI8-R for Russian, +
  • KOI8-U for Ukrainian, +
  • KOI8-T for Tajik, +
  • CP1251 for Bulgarian, Belarusian, +
  • GB2312, GBK, GB18030 +for simplified writing of Chinese, +
  • BIG5, BIG5-HKSCS +for traditional writing of Chinese, +
  • EUC-JP for Japanese, +
  • EUC-KR for Korean, +
  • TIS-620 for Thai, +
  • GEORGIAN-PS for Georgian, +
  • UTF-8 for any language, including those listed above. +
+ + + +

When single quote characters or double quote characters are used in +translations for your language, and your locale's encoding is one of the +ISO-8859-* charsets, it is best if you create your PO files in UTF-8 +encoding, instead of your locale's encoding. This is because in UTF-8 +the real quote characters can be represented (single quote characters: +U+2018, U+2019, double quote characters: U+201C, U+201D), whereas none of +ISO-8859-* charsets has them all. Users in UTF-8 locales will see the +real quote characters, whereas users in ISO-8859-* locales will see the +vertical apostrophe and the vertical double quote instead (because that's +what the character set conversion will transliterate them to). +

+ +

To enter such quote characters under X11, you can change your keyboard +mapping using the xmodmap program. The X11 names of the quote +characters are "leftsinglequotemark", "rightsinglequotemark", +"leftdoublequotemark", "rightdoublequotemark", "singlelowquotemark", +"doublelowquotemark". +

+

The character encoding name can be written in either upper or lower case. +Usually upper case is preferred. +

+
+
Content-Transfer-Encoding
+

Set this to 8bit. +

+
+
Plural-Forms
+

This field is optional. It is only needed if the PO file has plural forms. +You can find them by searching for the ‘msgid_plural’ keyword. The +format of the plural forms field is described in Additional functions for plural forms and +Translating plural forms. +

+
+ + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+

+ + This document was generated by Bruno Haible on July, 2 2025 using texi2html 1.78a. + +
+ +

+ + diff --git a/miniconda3/share/doc/gettext/gettext_7.html b/miniconda3/share/doc/gettext/gettext_7.html new file mode 100644 index 0000000000000000000000000000000000000000..8fd242cb58cd712e6bee9b4751555342360e92ad --- /dev/null +++ b/miniconda3/share/doc/gettext/gettext_7.html @@ -0,0 +1,429 @@ + + + + + +GNU gettext utilities: 7. Updating Existing PO Files + + + + + + + + + + + + + + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+ +
+ + +

7. Updating Existing PO Files

+ + + + + +

7.1 Invoking the msgmerge Program

+ + +
 
msgmerge [option] def.po ref.pot
+
+ +

The msgmerge program merges two Uniforum style .po files together. +The def.po file is an existing PO file with translations which will +be taken over to the newly created file as long as they still match; +comments will be preserved, but extracted comments and file positions will +be discarded. The ref.pot file is the last created PO file with +up-to-date source references but old translations, or a PO Template file +(generally created by xgettext); any translations or comments +in the file will be discarded, however dot comments and file positions +will be preserved. Where an exact match cannot be found, fuzzy matching +is used to produce better results. +

+ + +

7.1.1 Input file location

+ +
+
def.po
+

Translations referring to old sources. +

+
+
ref.pot
+

References to the new sources. +

+
+
-D directory
+
--directory=directory
+
+ +

Add directory to the list of directories. Source files are +searched relative to this list of directories. The resulting ‘.po’ +file will be written relative to the current directory, though. +

+
+
-C file
+
--compendium=file
+
+ +

Specify an additional library of message translations. See section Using Translation Compendia. +This option may be specified more than once. +

+
+
+ + + +

7.1.2 Operation mode

+ +
+
-U
+
--update
+
+ +

Update def.po. Do nothing if def.po is already up to date. +

+
+
+ + + +

7.1.3 Output file location

+ +
+
-o file
+
--output-file=file
+
+ +

Write output to specified file. +

+
+
+ + +

The results are written to standard output if no output file is specified +or if it is ‘-’. +

+ + +

7.1.4 Output file location in update mode

+ +

The result is written back to def.po. +

+
+
--backup=control
+
+ +

Make a backup of def.po +

+
+
--suffix=suffix
+
+

Override the usual backup suffix. +

+
+
+ + +

The version control method may be selected via the --backup option +or through the VERSION_CONTROL environment variable. Here are the +values: +

+
+
none
+
off
+

Never make backups (even if --backup is given). +

+
+
numbered
+
t
+

Make numbered backups. +

+
+
existing
+
nil
+

Make numbered backups if numbered backups for this file already exist, +otherwise make simple backups. +

+
+
simple
+
never
+

Always make simple backups. +

+
+
+ +

The backup suffix is ‘~’, unless set with --suffix or the +SIMPLE_BACKUP_SUFFIX environment variable. +

+ + +

7.1.5 Operation modifiers

+ +
+
-m
+
--multi-domain
+
+ +

Apply ref.pot to each of the domains in def.po. +

+
+
--for-msgfmt
+
+

Produce a PO file meant for msgfmt only, not for a translator. +This option omits untranslated messages, fuzzy messages (except the header +entry), and obsolete messages from the output. Also, it omits translator +comments and ‘#: filename:line’ lines from the output. +In particular, this option implies ‘--no-fuzzy-matching’. +

+
+
-N
+
--no-fuzzy-matching
+
+ +

Do not use fuzzy matching when an exact match is not found. This may speed +up the operation considerably. +

+
+
--previous
+
+

Keep the previous msgids of translated messages, marked with ‘#|’, when +adding the fuzzy marker to such messages. +

+
+ + + +

7.1.6 Input file syntax

+ +
+
-P
+
--properties-input
+
+ +

Assume the input files are Java ResourceBundles in Java .properties +syntax, not in PO file syntax. +

+
+
--stringtable-input
+
+

Assume the input files are NeXTstep/GNUstep localized resource files in +.strings syntax, not in PO file syntax. +

+
+
+ + + +

7.1.7 Output details

+ + +
+
--lang=catalogname
+
+

Specify the ‘Language’ field to be used in the header entry. See +Filling in the Header Entry for the meaning of this field. Note: The +‘Language-Team’ and ‘Plural-Forms’ fields are left unchanged. +If this option is not specified, the ‘Language’ field is inferred, as +best as possible, from the ‘Language-Team’ field. +

+
+
--color
+
--color=when
+
+

Specify whether or when to use colors and other text attributes. +See The --color option for details. +

+
+
--style=style_file
+
+

Specify the CSS style rule file to use for --color. +See The --style option for details. +

+
+
--force-po
+
+

Always write an output file even if it contains no message. +

+
+
-i
+
--indent
+
+ +

Write the .po file using indented style. +

+
+
--no-location
+
+

Do not write ‘#: filename:line’ lines. +

+
+
-n
+
--add-location=type
+
+

Generate ‘#: filename:line’ lines (default). +

+

The optional type can be either ‘full’, ‘file’, or +‘never’. If it is not given or ‘full’, it generates the +lines with both file name and line number. If it is ‘file’, the +line number part is omitted. If it is ‘never’, it completely +suppresses the lines (same as --no-location). +

+
+
--strict
+
+

Write out a strict Uniforum conforming PO file. Note that this +Uniforum format should be avoided because it doesn't support the +GNU extensions. +

+
+
-p
+
--properties-output
+
+ +

Write out a Java ResourceBundle in Java .properties syntax. Note +that this file format doesn't support plural forms and silently drops +obsolete messages. +

+
+
--stringtable-output
+
+

Write out a NeXTstep/GNUstep localized resource file in .strings syntax. +Note that this file format doesn't support plural forms. +

+
+
-w number
+
--width=number
+
+ +

Set the output page width. Long strings in the output files will be +split across multiple lines in order to ensure that each line's width +(= number of screen columns) is less or equal to the given number. +

+
+
--no-wrap
+
+

Do not break long message lines. Message lines whose width exceeds the +output page width will not be split into several lines. Only file reference +lines which are wider than the output page width will be split. +

+
+
-s
+
--sort-output
+
+ + +

Generate sorted output (deprecated). Note that using this option makes it +much harder for the translator to understand each message's context. +

+
+
-F
+
--sort-by-file
+
+ +

Sort output by file location. +

+
+
+ + + +

7.1.8 Informative output

+ +
+
-h
+
--help
+
+ +

Display this help and exit. +

+
+
-V
+
--version
+
+ +

Output version information and exit. +

+
+
-v
+
--verbose
+
+ +

Increase verbosity level. +

+
+
-q
+
--quiet
+
--silent
+
+ + +

Suppress progress indicators. +

+
+
+ + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+

+ + This document was generated by Bruno Haible on July, 2 2025 using texi2html 1.78a. + +
+ +

+ + diff --git a/miniconda3/share/doc/gettext/gettext_8.html b/miniconda3/share/doc/gettext/gettext_8.html new file mode 100644 index 0000000000000000000000000000000000000000..628391eac0483feedb4fa878c6dfc43f02416a5b --- /dev/null +++ b/miniconda3/share/doc/gettext/gettext_8.html @@ -0,0 +1,1682 @@ + + + + + +GNU gettext utilities: 8. Editing PO Files + + + + + + + + + + + + + + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+ +
+ + +

8. Editing PO Files

+ +

As a translator, you will typically edit a PO file +in an editor that has built-in knowledge about the PO file format. +You most probably won't want to edit a PO file +in a text editor for plain-text files, +because that would be cumbersome regarding cursor navigation +and would also easily lead to syntax mistakes. +

+ + + + +

8.1 Web-based PO editing

+ +

There are two ways to edit a PO file: +either through a web-based PO editor, in a browser, +or through a PO editor that you can install on your computer. +Which one you choose, depends on your habits. +

+

Typically, the software project for which you want to provide translations +has set up a workflow that you, as a translator, have to follow. +

+
    +
  • +There are projects which use the Weblate +localization suite. +In this case, you have the choice between a +web-based PO editor +and a workflow +where you download the previous translation, +update it with your preferred PO editor, +and then upload it back. + +
  • +There are projects which offer you only a web-based PO editor, as only choice. +Since web-based tools restrict your freedom as a user – you cannot make +modifications on your own to that tool –, +you should complain to that project and claim the choice of using a locally +installed PO editor, because that is the only way that can guarantee +your freedom of choice and freedom to modify the software. + +
  • +There are projects which do not support web-based localizations. +In this case, pick a PO file editor as listed in the next few sections. +Examples for such projects are +the Free Translation Project, +as well as projects where you directly interact with the version control +system of the project. +
+ + + + +

8.2 KDE's PO File Editor

+ +

Lokalize (https://apps.kde.org/lokalize/) +is the PO file editor made by the KDE project. +It is present in many +GNU/Linux distributions. +

+ + + +

8.3 GNOME's PO File Editor

+ +

Gtranslator (https://wiki.gnome.org/Apps/Gtranslator) +is the PO file editor made by the GNOME project. +It is present in many +GNU/Linux distributions. +

+ + + +

8.4 Poedit

+ +

Poedit (https://github.com/vslavik/poedit) +is another decent PO file editor. +It works on all major desktop OSes and +is present in many +GNU/Linux distributions. +

+ + + +

8.5 OmegaT

+ +

OmegaT +(Wikipedia: https://en.wikipedia.org/wiki/OmegaT, +home page: https://omegat.org/, +code: https://github.com/omegat-org/omegat) +is a translation editor +that focuses on speeding up the translator's work through advanced features +like translation memory, spell-checking, glossaries, dictionaries. +It supports not only PO files, but also +direct translation of various file formats +(such as plain text, web pages, OpenDocument files, DocBook XML, etc.) +without using intermediate files. +It is present in many +GNU/Linux distributions. +

+ + + +

8.6 The Virtaal Translation Editor

+ +

Virtaal +(Wikipedia: https://en.wikipedia.org/wiki/Virtaal, +home page: https://virtaal.translatehouse.org/, +code: https://github.com/translate/virtaal) +is a translation editor +that supports not only PO files but also XLIFF files. +It is present in some +GNU/Linux distributions, +such as Debian up to Debian 11. +

+ + + +

8.7 Emacs's PO File Editor

+ + +

For those of you being +the lucky users of Emacs, PO mode has been specifically created +for providing a cozy environment for editing or modifying PO files. +While editing a PO file, PO mode allows for the easy browsing of +auxiliary and compendium PO files, as well as for following references into +the set of C program sources from which PO files have been derived. +It has a few special features, among which are the interactive marking +of program strings as translatable, and the validation of PO files +with easy repositioning to PO file lines showing errors. +

+

For the beginning, besides main PO mode commands +(see section Main PO mode Commands), you should know how to move between entries +(see section Entry Positioning), and how to handle untranslated entries +(see section Untranslated Entries). +

+ + + + +

8.7.1 Completing GNU gettext Installation

+ +

Once you have received, unpacked, configured and compiled the GNU +gettext distribution, the ‘make install’ command puts in +place the programs xgettext, msgfmt, gettext, and +msgmerge, as well as their available message catalogs. To +top off a comfortable installation, you might also want to make the +PO mode available to your Emacs users. +

+ + +

During the installation of the PO mode, you might want to modify your +file ‘.emacs’, once and for all, so it contains a few lines looking +like: +

+
 
(setq auto-mode-alist
+      (cons '("\\.po\\'\\|\\.po\\." . po-mode) auto-mode-alist))
+(autoload 'po-mode "po-mode" "Major mode for translators to edit PO files" t)
+
+ +

Later, whenever you edit some ‘.po’ +file, or any file having the string ‘.po.’ within its name, +Emacs loads ‘po-mode.elc’ (or ‘po-mode.el’) as needed, and +automatically activates PO mode commands for the associated buffer. +The string PO appears in the mode line for any buffer for +which PO mode is active. Many PO files may be active at once in a +single Emacs session. +

+

If you are using Emacs version 20 or newer, and have already installed +the appropriate international fonts on your system, you may also tell +Emacs how to determine automatically the coding system of every PO file. +This will often (but not always) cause the necessary fonts to be loaded +and used for displaying the translations on your Emacs screen. For this +to happen, add the lines: +

+
 
(modify-coding-system-alist 'file "\\.po\\'\\|\\.po\\."
+                            'po-find-file-coding-system)
+(autoload 'po-find-file-coding-system "po-mode")
+
+ +

to your ‘.emacs’ file. If, with this, you still see boxes instead +of international characters, try a different font set (via Shift Mouse +button 1). +

+ + + +

8.7.2 Main PO mode Commands

+ +

After setting up Emacs with something similar to the lines in +Completing GNU gettext Installation, PO mode is activated for a window when Emacs finds a +PO file in that window. This puts the window read-only and establishes a +po-mode-map, which is a genuine Emacs mode, in a way that is not derived +from text mode in any way. Functions found on po-mode-hook, +if any, will be executed. +

+

When PO mode is active in a window, the letters ‘PO’ appear +in the mode line for that window. The mode line also displays how +many entries of each kind are held in the PO file. For example, +the string ‘132t+3f+10u+2o’ would tell the translator that the +PO mode contains 132 translated entries (see section Translated Entries, +3 fuzzy entries (see section Fuzzy Entries), 10 untranslated entries +(see section Untranslated Entries) and 2 obsolete entries (see section Obsolete Entries). Zero-coefficients items are not shown. So, in this example, if +the fuzzy entries were unfuzzied, the untranslated entries were translated +and the obsolete entries were deleted, the mode line would merely display +‘145t’ for the counters. +

+

The main PO commands are those which do not fit into the other categories of +subsequent sections. These allow for quitting PO mode or for managing windows +in special ways. +

+
+
_
+
+

Undo last modification to the PO file (po-undo). +

+
+
Q
+
+

Quit processing and save the PO file (po-quit). +

+
+
q
+
+

Quit processing, possibly after confirmation (po-confirm-and-quit). +

+
+
0
+
+

Temporary leave the PO file window (po-other-window). +

+
+
?
+
h
+
+ +

Show help about PO mode (po-help). +

+
+
=
+
+

Give some PO file statistics (po-statistics). +

+
+
V
+
+

Batch validate the format of the whole PO file (po-validate). +

+
+
+ + + +

The command _ (po-undo) interfaces to the Emacs +undo facility. See (emacs)Undo section `Undoing Changes' in The Emacs Editor. Each time _ is typed, modifications which the translator +did to the PO file are undone a little more. For the purpose of +undoing, each PO mode command is atomic. This is especially true for +the <RET> command: the whole edition made by using a single +use of this command is undone at once, even if the edition itself +implied several actions. However, while in the editing window, one +can undo the edition work quite parsimoniously. +

+ + + + +

The commands Q (po-quit) and q +(po-confirm-and-quit) are used when the translator is done with the +PO file. The former is a bit less verbose than the latter. If the file +has been modified, it is saved to disk first. In both cases, and prior to +all this, the commands check if any untranslated messages remain in the +PO file and, if so, the translator is asked if she really wants to leave +off working with this PO file. This is the preferred way of getting rid +of an Emacs PO file buffer. Merely killing it through the usual command +C-x k (kill-buffer) is not the tidiest way to proceed. +

+ + +

The command 0 (po-other-window) is another, softer way, +to leave PO mode, temporarily. It just moves the cursor to some other +Emacs window, and pops one if necessary. For example, if the translator +just got PO mode to show some source context in some other, she might +discover some apparent bug in the program source that needs correction. +This command allows the translator to change sex, become a programmer, +and have the cursor right into the window containing the program she +(or rather he) wants to modify. By later getting the cursor back +in the PO file window, or by asking Emacs to edit this file once again, +PO mode is then recovered. +

+ + + +

The command h (po-help) displays a summary of all available PO +mode commands. The translator should then type any character to resume +normal PO mode operations. The command ? has the same effect +as h. +

+ + +

The command = (po-statistics) computes the total number of +entries in the PO file, the ordinal of the current entry (counted from +1), the number of untranslated entries, the number of obsolete entries, +and displays all these numbers. +

+ + +

The command V (po-validate) launches msgfmt in +checking and verbose +mode over the current PO file. This command first offers to save the +current PO file on disk. The msgfmt tool, from GNU gettext, +has the purpose of creating a MO file out of a PO file, and PO mode uses +the features of this program for checking the overall format of a PO file, +as well as all individual entries. +

+ +

The program msgfmt runs asynchronously with Emacs, so the +translator regains control immediately while her PO file is being studied. +Error output is collected in the Emacs ‘*compilation*’ buffer, +displayed in another window. The regular Emacs command C-x` +(next-error), as well as other usual compile commands, allow the +translator to reposition quickly to the offending parts of the PO file. +Once the cursor is on the line in error, the translator may decide on +any PO mode action which would help correcting the error. +

+ + + +

8.7.3 Entry Positioning

+ +

The cursor in a PO file window is almost always part of +an entry. The only exceptions are the special case when the cursor +is after the last entry in the file, or when the PO file is +empty. The entry where the cursor is found to be is said to be the +current entry. Many PO mode commands operate on the current entry, +so moving the cursor does more than allowing the translator to browse +the PO file, this also selects on which entry commands operate. +

+ +

Some PO mode commands alter the position of the cursor in a specialized +way. A few of those special purpose positioning are described here, +the others are described in following sections (for a complete list try +C-h m): +

+
+
.
+
+

Redisplay the current entry (po-current-entry). +

+
+
n
+
+

Select the entry after the current one (po-next-entry). +

+
+
p
+
+

Select the entry before the current one (po-previous-entry). +

+
+
<
+
+

Select the first entry in the PO file (po-first-entry). +

+
+
>
+
+

Select the last entry in the PO file (po-last-entry). +

+
+
m
+
+

Record the location of the current entry for later use +(po-push-location). +

+
+
r
+
+

Return to a previously saved entry location (po-pop-location). +

+
+
x
+
+

Exchange the current entry location with the previously saved one +(po-exchange-location). +

+
+
+ + + +

Any Emacs command able to reposition the cursor may be used +to select the current entry in PO mode, including commands which +move by characters, lines, paragraphs, screens or pages, and search +commands. However, there is a kind of standard way to display the +current entry in PO mode, which usual Emacs commands moving +the cursor do not especially try to enforce. The command . +(po-current-entry) has the sole purpose of redisplaying the +current entry properly, after the current entry has been changed by +means external to PO mode, or the Emacs screen otherwise altered. +

+

It is yet to be decided if PO mode helps the translator, or otherwise +irritates her, by forcing a rigid window disposition while she +is doing her work. We originally had quite precise ideas about +how windows should behave, but on the other hand, anyone used to +Emacs is often happy to keep full control. Maybe a fixed window +disposition might be offered as a PO mode option that the translator +might activate or deactivate at will, so it could be offered on an +experimental basis. If nobody feels a real need for using it, or +a compulsion for writing it, we should drop this whole idea. +The incentive for doing it should come from translators rather than +programmers, as opinions from an experienced translator are surely +more worth to me than opinions from programmers thinking about +how others should do translation. +

+ + + + +

The commands n (po-next-entry) and p +(po-previous-entry) move the cursor the entry following, +or preceding, the current one. If n is given while the +cursor is on the last entry of the PO file, or if p +is given while the cursor is on the first entry, no move is done. +

+ + + + +

The commands < (po-first-entry) and > +(po-last-entry) move the cursor to the first entry, or last +entry, of the PO file. When the cursor is located past the last +entry in a PO file, most PO mode commands will return an error saying +‘After last entry’. Moreover, the commands < and > +have the special property of being able to work even when the cursor +is not into some PO file entry, and one may use them for nicely +correcting this situation. But even these commands will fail on a +truly empty PO file. There are development plans for the PO mode for it +to interactively fill an empty PO file from sources. See section Marking Translatable Strings. +

+

The translator may decide, before working at the translation of +a particular entry, that she needs to browse the remainder of the +PO file, maybe for finding the terminology or phraseology used +in related entries. She can of course use the standard Emacs idioms +for saving the current cursor location in some register, and use that +register for getting back, or else, use the location ring. +

+ + + + +

PO mode offers another approach, by which cursor locations may be saved +onto a special stack. The command m (po-push-location) +merely adds the location of current entry to the stack, pushing +the already saved locations under the new one. The command +r (po-pop-location) consumes the top stack element and +repositions the cursor to the entry associated with that top element. +This position is then lost, for the next r will move the cursor +to the previously saved location, and so on until no locations remain +on the stack. +

+

If the translator wants the position to be kept on the location stack, +maybe for taking a look at the entry associated with the top +element, then go elsewhere with the intent of getting back later, she +ought to use m immediately after r. +

+ + +

The command x (po-exchange-location) simultaneously +repositions the cursor to the entry associated with the top element of +the stack of saved locations, and replaces that top element with the +location of the current entry before the move. Consequently, repeating +the x command toggles alternatively between two entries. +For achieving this, the translator will position the cursor on the +first entry, use m, then position to the second entry, and +merely use x for making the switch. +

+ + + +

8.7.4 Normalizing Strings in Entries

+ +

There are many different ways for encoding a particular string into a +PO file entry, because there are so many different ways to split and +quote multi-line strings, and even, to represent special characters +by backslashed escaped sequences. Some features of PO mode rely on +the ability for PO mode to scan an already existing PO file for a +particular string encoded into the msgid field of some entry. +Even if PO mode has internally all the built-in machinery for +implementing this recognition easily, doing it fast is technically +difficult. To facilitate a solution to this efficiency problem, +we decided on a canonical representation for strings. +

+

A conventional representation of strings in a PO file is currently +under discussion, and PO mode experiments with a canonical representation. +Having both xgettext and PO mode converging towards a uniform +way of representing equivalent strings would be useful, as the internal +normalization needed by PO mode could be automatically satisfied +when using xgettext from GNU gettext. An explicit +PO mode normalization should then be only necessary for PO files +imported from elsewhere, or for when the convention itself evolves. +

+

So, for achieving normalization of at least the strings of a given +PO file needing a canonical representation, the following PO mode +command is available: +

+ +
+
M-x po-normalize
+
+

Tidy the whole PO file by making entries more uniform. +

+
+
+ +

The special command M-x po-normalize, which has no associated +keys, revises all entries, ensuring that strings of both original +and translated entries use uniform internal quoting in the PO file. +It also removes any crumb after the last entry. This command may be +useful for PO files freshly imported from elsewhere, or if we ever +improve on the canonical quoting format we use. This canonical format +is not only meant for getting cleaner PO files, but also for greatly +speeding up msgid string lookup for some other PO mode commands. +

+

M-x po-normalize presently makes three passes over the entries. +The first implements heuristics for converting PO files for GNU +gettext 0.6 and earlier, in which msgid and msgstr +fields were using K&R style C string syntax for multi-line strings. +These heuristics may fail for comments not related to obsolete +entries and ending with a backslash; they also depend on subsequent +passes for finalizing the proper commenting of continued lines for +obsolete entries. This first pass might disappear once all oldish PO +files would have been adjusted. The second and third pass normalize +all msgid and msgstr strings respectively. They also +clean out those trailing backslashes used by XView's msgfmt +for continued lines. +

+ +

Having such an explicit normalizing command allows for importing PO +files from other sources, but also eases the evolution of the current +convention, evolution driven mostly by aesthetic concerns, as of now. +It is easy to make suggested adjustments at a later time, as the +normalizing command and eventually, other GNU gettext tools +should greatly automate conformance. A description of the canonical +string format is given below, for the particular benefit of those not +having Emacs handy, and who would nevertheless want to handcraft +their PO files in nice ways. +

+ +

Right now, in PO mode, strings are single line or multi-line. A string +goes multi-line if and only if it has embedded newlines, that +is, if it matches ‘[^\n]\n+[^\n]’. So, we would have: +

+
 
msgstr "\n\nHello, world!\n\n\n"
+
+ +

but, replacing the space by a newline, this becomes: +

+
 
msgstr ""
+"\n"
+"\n"
+"Hello,\n"
+"world!\n"
+"\n"
+"\n"
+
+ +

We are deliberately using a caricatural example, here, to make the +point clearer. Usually, multi-lines are not that bad looking. +It is probable that we will implement the following suggestion. +We might lump together all initial newlines into the empty string, +and also all newlines introducing empty lines (that is, for n +> 1, the n-1'th last newlines would go together on a separate +string), so making the previous example appear: +

+
 
msgstr "\n\n"
+"Hello,\n"
+"world!\n"
+"\n\n"
+
+ +

There are a few yet undecided little points about string normalization, +to be documented in this manual, once these questions settle. +

+ + + +

8.7.5 Translated Entries

+ +

Each PO file entry for which the msgstr field has been filled with +a translation, and which is not marked as fuzzy (see section Fuzzy Entries), +is said to be a translated entry. Only translated entries will +later be compiled by GNU msgfmt and become usable in programs. +Other entry types will be excluded; translation will not occur for them. +

+ +

Some commands are more specifically related to translated entry processing. +

+
+
t
+
+

Find the next translated entry (po-next-translated-entry). +

+
+
T
+
+

Find the previous translated entry (po-previous-translated-entry). +

+
+
+ + + + + +

The commands t (po-next-translated-entry) and T +(po-previous-translated-entry) move forwards or backwards, chasing +for an translated entry. If none is found, the search is extended and +wraps around in the PO file buffer. +

+ +

Translated entries usually result from the translator having edited in +a translation for them, Modifying Translations. However, if the +variable po-auto-fuzzy-on-edit is not nil, the entry having +received a new translation first becomes a fuzzy entry, which ought to +be later unfuzzied before becoming an official, genuine translated entry. +See section Fuzzy Entries. +

+ + + +

8.7.6 Fuzzy Entries

+ +

Each PO file entry may have a set of attributes, which are +qualities given a name and explicitly associated with the translation, +using a special system comment. One of these attributes +has the name fuzzy, and entries having this attribute are said +to have a fuzzy translation. They are called fuzzy entries, for short. +

+

Fuzzy entries, even if they account for translated entries for +most other purposes, usually call for revision by the translator. +Those may be produced by applying the program msgmerge to +update an older translated PO files according to a new PO template +file, when this tool hypothesises that some new msgid has +been modified only slightly out of an older one, and chooses to pair +what it thinks to be the old translation for the new modified entry. +The slight alteration in the original string (the msgid string) +should often be reflected in the translated string, and this requires +the intervention of the translator. For this reason, msgmerge +might mark some entries as being fuzzy. +

+ +

Also, the translator may decide herself to mark an entry as fuzzy +for her own convenience, when she wants to remember that the entry +has to be later revisited. So, some commands are more specifically +related to fuzzy entry processing. +

+
+
f
+
+

Find the next fuzzy entry (po-next-fuzzy-entry). +

+
+
F
+
+

Find the previous fuzzy entry (po-previous-fuzzy-entry). +

+
+
<TAB>
+
+

Remove the fuzzy attribute of the current entry (po-unfuzzy). +

+
+
+ + + + + +

The commands f (po-next-fuzzy-entry) and F +(po-previous-fuzzy-entry) move forwards or backwards, chasing for +a fuzzy entry. If none is found, the search is extended and wraps +around in the PO file buffer. +

+ + + +

The command <TAB> (po-unfuzzy) removes the fuzzy +attribute associated with an entry, usually leaving it translated. +Further, if the variable po-auto-select-on-unfuzzy has not +the nil value, the <TAB> command will automatically chase +for another interesting entry to work on. The initial value of +po-auto-select-on-unfuzzy is nil. +

+

The initial value of po-auto-fuzzy-on-edit is nil. However, +if the variable po-auto-fuzzy-on-edit is set to t, any entry +edited through the <RET> command is marked fuzzy, as a way to +ensure some kind of double check, later. In this case, the usual paradigm +is that an entry becomes fuzzy (if not already) whenever the translator +modifies it. If she is satisfied with the translation, she then uses +<TAB> to pick another entry to work on, clearing the fuzzy attribute +on the same blow. If she is not satisfied yet, she merely uses <SPC> +to chase another entry, leaving the entry fuzzy. +

+ + +

The translator may also use the <DEL> command +(po-fade-out-entry) over any translated entry to mark it as being +fuzzy, when she wants to easily leave a trace she wants to later return +working at this entry. +

+

Also, when time comes to quit working on a PO file buffer with the q +command, the translator is asked for confirmation, if fuzzy string +still exists. +

+ + + +

8.7.7 Untranslated Entries

+ +

When xgettext originally creates a PO file, unless told +otherwise, it initializes the msgid field with the untranslated +string, and leaves the msgstr string to be empty. Such entries, +having an empty translation, are said to be untranslated entries. +Later, when the programmer slightly modifies some string right in +the program, this change is later reflected in the PO file +by the appearance of a new untranslated entry for the modified string. +

+

The usual commands moving from entry to entry consider untranslated +entries on the same level as active entries. Untranslated entries +are easily recognizable by the fact they end with ‘msgstr ""’. +

+ +

The work of the translator might be (quite naively) seen as the process +of seeking for an untranslated entry, editing a translation for +it, and repeating these actions until no untranslated entries remain. +Some commands are more specifically related to untranslated entry +processing. +

+
+
u
+
+

Find the next untranslated entry (po-next-untranslated-entry). +

+
+
U
+
+

Find the previous untranslated entry (po-previous-untransted-entry). +

+
+
k
+
+

Turn the current entry into an untranslated one (po-kill-msgstr). +

+
+
+ + + + + +

The commands u (po-next-untranslated-entry) and U +(po-previous-untransted-entry) move forwards or backwards, +chasing for an untranslated entry. If none is found, the search is +extended and wraps around in the PO file buffer. +

+ + +

An entry can be turned back into an untranslated entry by +merely emptying its translation, using the command k +(po-kill-msgstr). See section Modifying Translations. +

+

Also, when time comes to quit working on a PO file buffer +with the q command, the translator is asked for confirmation, +if some untranslated string still exists. +

+ + + +

8.7.8 Obsolete Entries

+ +

By obsolete PO file entries, we mean those entries which are +commented out, usually by msgmerge when it found that the +translation is not needed anymore by the package being localized. +

+

The usual commands moving from entry to entry consider obsolete +entries on the same level as active entries. Obsolete entries are +easily recognizable by the fact that all their lines start with +#, even those lines containing msgid or msgstr. +

+

Commands exist for emptying the translation or reinitializing it +to the original untranslated string. Commands interfacing with the +kill ring may force some previously saved text into the translation. +The user may interactively edit the translation. All these commands +may apply to obsolete entries, carefully leaving the entry obsolete +after the fact. +

+ +

Moreover, some commands are more specifically related to obsolete +entry processing. +

+
+
o
+
+

Find the next obsolete entry (po-next-obsolete-entry). +

+
+
O
+
+

Find the previous obsolete entry (po-previous-obsolete-entry). +

+
+
<DEL>
+
+

Make an active entry obsolete, or zap out an obsolete entry +(po-fade-out-entry). +

+
+
+ + + + + +

The commands o (po-next-obsolete-entry) and O +(po-previous-obsolete-entry) move forwards or backwards, +chasing for an obsolete entry. If none is found, the search is +extended and wraps around in the PO file buffer. +

+

PO mode does not provide ways for un-commenting an obsolete entry +and making it active, because this would reintroduce an original +untranslated string which does not correspond to any marked string +in the program sources. This goes with the philosophy of never +introducing useless msgid values. +

+ + + + +

However, it is possible to comment out an active entry, so making +it obsolete. GNU gettext utilities will later react to the +disappearance of a translation by using the untranslated string. +The command <DEL> (po-fade-out-entry) pushes the current entry +a little further towards annihilation. If the entry is active (it is a +translated entry), then it is first made fuzzy. If it is already fuzzy, +then the entry is merely commented out, with confirmation. If the entry +is already obsolete, then it is completely deleted from the PO file. +It is easy to recycle the translation so deleted into some other PO file +entry, usually one which is untranslated. See section Modifying Translations. +

+

Here is a quite interesting problem to solve for later development of +PO mode, for those nights you are not sleepy. The idea would be that +PO mode might become bright enough, one of these days, to make good +guesses at retrieving the most probable candidate, among all obsolete +entries, for initializing the translation of a newly appeared string. +I think it might be a quite hard problem to do this algorithmically, as +we have to develop good and efficient measures of string similarity. +Right now, PO mode completely lets the decision to the translator, +when the time comes to find the adequate obsolete translation, it +merely tries to provide handy tools for helping her to do so. +

+ + + +

8.7.9 Modifying Translations

+ +

PO mode prevents direct modification of the PO file, by the usual +means Emacs gives for altering a buffer's contents. By doing so, +it pretends helping the translator to avoid little clerical errors +about the overall file format, or the proper quoting of strings, +as those errors would be easily made. Other kinds of errors are +still possible, but some may be caught and diagnosed by the batch +validation process, which the translator may always trigger by the +V command. For all other errors, the translator has to rely on +her own judgment, and also on the linguistic reports submitted to her +by the users of the translated package, having the same mother tongue. +

+

When the time comes to create a translation, correct an error diagnosed +mechanically or reported by a user, the translators have to resort to +using the following commands for modifying the translations. +

+
+
<RET>
+
+

Interactively edit the translation (po-edit-msgstr). +

+
+
<LFD>
+
C-j
+
+ +

Reinitialize the translation with the original, untranslated string +(po-msgid-to-msgstr). +

+
+
k
+
+

Save the translation on the kill ring, and delete it (po-kill-msgstr). +

+
+
w
+
+

Save the translation on the kill ring, without deleting it +(po-kill-ring-save-msgstr). +

+
+
y
+
+

Replace the translation, taking the new from the kill ring +(po-yank-msgstr). +

+
+
+ + + +

The command <RET> (po-edit-msgstr) opens a new Emacs +window meant to edit in a new translation, or to modify an already existing +translation. The new window contains a copy of the translation taken from +the current PO file entry, all ready for edition, expunged of all quoting +marks, fully modifiable and with the complete extent of Emacs modifying +commands. When the translator is done with her modifications, she may use +C-c C-c to close the subedit window with the automatically requoted +results, or C-c C-k to abort her modifications. See section Details of Sub Edition, +for more information. +

+ + + +

The command <LFD> (po-msgid-to-msgstr) initializes, or +reinitializes the translation with the original string. This command is +normally used when the translator wants to redo a fresh translation of +the original string, disregarding any previous work. +

+ +

It is possible to arrange so, whenever editing an untranslated +entry, the <LFD> command be automatically executed. If you set +po-auto-edit-with-msgid to t, the translation gets +initialised with the original string, in case none exists already. +The default value for po-auto-edit-with-msgid is nil. +

+ +

In fact, whether it is best to start a translation with an empty +string, or rather with a copy of the original string, is a matter of +taste or habit. Sometimes, the source language and the +target language are so different that is simply best to start writing +on an empty page. At other times, the source and target languages +are so close that it would be a waste to retype a number of words +already being written in the original string. A translator may also +like having the original string right under her eyes, as she will +progressively overwrite the original text with the translation, even +if this requires some extra editing work to get rid of the original. +

+ + + + + +

The command k (po-kill-msgstr) merely empties the +translation string, so turning the entry into an untranslated +one. But while doing so, its previous contents is put apart in +a special place, known as the kill ring. The command w +(po-kill-ring-save-msgstr) has also the effect of taking a +copy of the translation onto the kill ring, but it otherwise leaves +the entry alone, and does not remove the translation from the +entry. Both commands use exactly the Emacs kill ring, which is shared +between buffers, and which is well known already to Emacs lovers. +

+

The translator may use k or w many times in the course +of her work, as the kill ring may hold several saved translations. +From the kill ring, strings may later be reinserted in various +Emacs buffers. In particular, the kill ring may be used for moving +translation strings between different entries of a single PO file +buffer, or if the translator is handling many such buffers at once, +even between PO files. +

+

To facilitate exchanges with buffers which are not in PO mode, the +translation string put on the kill ring by the k command is fully +unquoted before being saved: external quotes are removed, multi-line +strings are concatenated, and backslash escaped sequences are turned +into their corresponding characters. In the special case of obsolete +entries, the translation is also uncommented prior to saving. +

+ + +

The command y (po-yank-msgstr) completely replaces the +translation of the current entry by a string taken from the kill ring. +Following Emacs terminology, we then say that the replacement +string is yanked into the PO file buffer. +See (emacs)Yanking section `Yanking' in The Emacs Editor. +The first time y is used, the translation receives the value of +the most recent addition to the kill ring. If y is typed once +again, immediately, without intervening keystrokes, the translation +just inserted is taken away and replaced by the second most recent +addition to the kill ring. By repeating y many times in a row, +the translator may travel along the kill ring for saved strings, +until she finds the string she really wanted. +

+

When a string is yanked into a PO file entry, it is fully and +automatically requoted for complying with the format PO files should +have. Further, if the entry is obsolete, PO mode then appropriately +push the inserted string inside comments. Once again, translators +should not burden themselves with quoting considerations besides, of +course, the necessity of the translated string itself respective to +the program using it. +

+

Note that k or w are not the only commands pushing strings +on the kill ring, as almost any PO mode command replacing translation +strings (or the translator comments) automatically saves the old string +on the kill ring. The main exceptions to this general rule are the +yanking commands themselves. +

+ +

To better illustrate the operation of killing and yanking, let's +use an actual example, taken from a common situation. When the +programmer slightly modifies some string right in the program, his +change is later reflected in the PO file by the appearance +of a new untranslated entry for the modified string, and the fact +that the entry translating the original or unmodified string becomes +obsolete. In many cases, the translator might spare herself some work +by retrieving the unmodified translation from the obsolete entry, +then initializing the untranslated entry msgstr field with +this retrieved translation. Once this done, the obsolete entry is +not wanted anymore, and may be safely deleted. +

+

When the translator finds an untranslated entry and suspects that a +slight variant of the translation exists, she immediately uses m +to mark the current entry location, then starts chasing obsolete +entries with o, hoping to find some translation corresponding +to the unmodified string. Once found, she uses the <DEL> command +for deleting the obsolete entry, knowing that <DEL> also kills +the translation, that is, pushes the translation on the kill ring. +Then, r returns to the initial untranslated entry, and y +then yanks the saved translation right into the msgstr +field. The translator is then free to use <RET> for fine +tuning the translation contents, and maybe to later use u, +then m again, for going on with the next untranslated string. +

+

When some sequence of keys has to be typed over and over again, the +translator may find it useful to become better acquainted with the Emacs +capability of learning these sequences and playing them back under request. +See (emacs)Keyboard Macros section `Keyboard Macros' in The Emacs Editor. +

+ + + +

8.7.10 Modifying Comments

+ +

Any translation work done seriously will raise many linguistic +difficulties, for which decisions have to be made, and the choices +further documented. These documents may be saved within the +PO file in form of translator comments, which the translator +is free to create, delete, or modify at will. These comments may +be useful to herself when she returns to this PO file after a while. +

+

Comments not having whitespace after the initial ‘#’, for example, +those beginning with ‘#.’ or ‘#:’, are not translator +comments, they are exclusively created by other gettext tools. +So, the commands below will never alter such system added comments, +they are not meant for the translator to modify. See section The Format of PO Files. +

+

The following commands are somewhat similar to those modifying translations, +so the general indications given for those apply here. See section Modifying Translations. +

+
+
#
+
+

Interactively edit the translator comments (po-edit-comment). +

+
+
K
+
+

Save the translator comments on the kill ring, and delete it +(po-kill-comment). +

+
+
W
+
+

Save the translator comments on the kill ring, without deleting it +(po-kill-ring-save-comment). +

+
+
Y
+
+

Replace the translator comments, taking the new from the kill ring +(po-yank-comment). +

+
+
+ +

These commands parallel PO mode commands for modifying the translation +strings, and behave much the same way as they do, except that they handle +this part of PO file comments meant for translator usage, rather +than the translation strings. So, if the descriptions given below are +slightly succinct, it is because the full details have already been given. +See section Modifying Translations. +

+ + +

The command # (po-edit-comment) opens a new Emacs window +containing a copy of the translator comments on the current PO file entry. +If there are no such comments, PO mode understands that the translator wants +to add a comment to the entry, and she is presented with an empty screen. +Comment marks (#) and the space following them are automatically +removed before edition, and reinstated after. For translator comments +pertaining to obsolete entries, the uncommenting and recommenting operations +are done twice. Once in the editing window, the keys C-c C-c +allow the translator to tell she is finished with editing the comment. +See section Details of Sub Edition, for further details. +

+ +

Functions found on po-subedit-mode-hook, if any, are executed after +the string has been inserted in the edit buffer. +

+ + + + + + +

The command K (po-kill-comment) gets rid of all +translator comments, while saving those comments on the kill ring. +The command W (po-kill-ring-save-comment) takes +a copy of the translator comments on the kill ring, but leaves +them undisturbed in the current entry. The command Y +(po-yank-comment) completely replaces the translator comments +by a string taken at the front of the kill ring. When this command +is immediately repeated, the comments just inserted are withdrawn, +and replaced by other strings taken along the kill ring. +

+

On the kill ring, all strings have the same nature. There is no +distinction between translation strings and translator +comments strings. So, for example, let's presume the translator +has just finished editing a translation, and wants to create a new +translator comment to document why the previous translation was +not good, just to remember what was the problem. Foreseeing that she +will do that in her documentation, the translator may want to quote +the previous translation in her translator comments. To do so, she +may initialize the translator comments with the previous translation, +still at the head of the kill ring. Because editing already pushed the +previous translation on the kill ring, she merely has to type M-w +prior to #, and the previous translation will be right there, +all ready for being introduced by some explanatory text. +

+

On the other hand, presume there are some translator comments already +and that the translator wants to add to those comments, instead +of wholly replacing them. Then, she should edit the comment right +away with #. Once inside the editing window, she can use the +regular Emacs commands C-y (yank) and M-y +(yank-pop) to get the previous translation where she likes. +

+ + + +

8.7.11 Details of Sub Edition

+ +

The PO subedit minor mode has a few peculiarities worth being described +in fuller detail. It installs a few commands over the usual editing set +of Emacs, which are described below. +

+
+
C-c C-c
+
+

Complete edition (po-subedit-exit). +

+
+
C-c C-k
+
+

Abort edition (po-subedit-abort). +

+
+
C-c C-a
+
+

Consult auxiliary PO files (po-subedit-cycle-auxiliary). +

+
+
+ + + + +

The window's contents represents a translation for a given message, +or a translator comment. The translator may modify this window to +her heart's content. Once this is done, the command C-c C-c +(po-subedit-exit) may be used to return the edited translation into +the PO file, replacing the original translation, even if it moved out of +sight or if buffers were switched. +

+ + +

If the translator becomes unsatisfied with her translation or comment, +to the extent she prefers keeping what was existent prior to the +<RET> or # command, she may use the command C-c C-k +(po-subedit-abort) to merely get rid of edition, while preserving +the original translation or comment. Another way would be for her to exit +normally with C-c C-c, then type U once for undoing the +whole effect of last edition. +

+ + +

The command C-c C-a (po-subedit-cycle-auxiliary) +allows for glancing through translations +already achieved in other languages, directly while editing the current +translation. This may be quite convenient when the translator is fluent +at many languages, but of course, only makes sense when such completed +auxiliary PO files are already available to her (see section Consulting Auxiliary PO Files). +

+

Functions found on po-subedit-mode-hook, if any, are executed after +the string has been inserted in the edit buffer. +

+

While editing her translation, the translator should pay attention to not +inserting unwanted <RET> (newline) characters at the end of +the translated string if those are not meant to be there, or to removing +such characters when they are required. Since these characters are not +visible in the editing buffer, they are easily introduced by mistake. +To help her, <RET> automatically puts the character < +at the end of the string being edited, but this < is not really +part of the string. On exiting the editing window with C-c C-c, +PO mode automatically removes such < and all whitespace added after +it. If the translator adds characters after the terminating <, it +looses its delimiting property and integrally becomes part of the string. +If she removes the delimiting <, then the edited string is taken +as is, with all trailing newlines, even if invisible. Also, if +the translated string ought to end itself with a genuine <, then +the delimiting < may not be removed; so the string should appear, +in the editing window, as ending with two < in a row. +

+ +

When a translation (or a comment) is being edited, the translator may move +the cursor back into the PO file buffer and freely move to other entries, +browsing at will. If, with an edition pending, the translator wanders in the +PO file buffer, she may decide to start modifying another entry. Each entry +being edited has its own subedit buffer. It is possible to simultaneously +edit the translation and the comment of a single entry, or to +edit entries in different PO files, all at once. Typing <RET> +on a field already being edited merely resumes that particular edit. Yet, +the translator should better be comfortable at handling many Emacs windows! +

+ +

Pending subedits may be completed or aborted in any order, regardless +of how or when they were started. When many subedits are pending and the +translator asks for quitting the PO file (with the q command), subedits +are automatically resumed one at a time, so she may decide for each of them. +

+ + + +

8.7.12 C Sources Context

+ +

PO mode is particularly powerful when used with PO files +created through GNU gettext utilities, as those utilities +insert special comments in the PO files they generate. +Some of these special comments relate the PO file entry to +exactly where the untranslated string appears in the program sources. +

+

When the translator gets to an untranslated entry, she is fairly +often faced with an original string which is not as informative as +it normally should be, being succinct, cryptic, or otherwise ambiguous. +Before choosing how to translate the string, she needs to understand +better what the string really means and how tight the translation has +to be. Most of the time, when problems arise, the only way left to make +her judgment is looking at the true program sources from where this +string originated, searching for surrounding comments the programmer +might have put in there, and looking around for helping clues of +any kind. +

+

Surely, when looking at program sources, the translator will receive +more help if she is a fluent programmer. However, even if she is +not versed in programming and feels a little lost in C code, the +translator should not be shy at taking a look, once in a while. +It is most probable that she will still be able to find some of the +hints she needs. She will learn quickly to not feel uncomfortable +in program code, paying more attention to programmer's comments, +variable and function names (if he dared choosing them well), and +overall organization, than to the program code itself. +

+ +

The following commands are meant to help the translator at getting +program source context for a PO file entry. +

+
+
s
+
+

Resume the display of a program source context, or cycle through them +(po-cycle-source-reference). +

+
+
M-s
+
+

Display of a program source context selected by menu +(po-select-source-reference). +

+
+
S
+
+

Add a directory to the search path for source files +(po-consider-source-path). +

+
+
M-S
+
+

Delete a directory from the search path for source files +(po-ignore-source-path). +

+
+
+ + + + + +

The commands s (po-cycle-source-reference) and M-s +(po-select-source-reference) both open another window displaying +some source program file, and already positioned in such a way that +it shows an actual use of the string to be translated. By doing +so, the command gives source program context for the string. But if +the entry has no source context references, or if all references +are unresolved along the search path for program sources, then the +command diagnoses this as an error. +

+

Even if s (or M-s) opens a new window, the cursor stays +in the PO file window. If the translator really wants to +get into the program source window, she ought to do it explicitly, +maybe by using command O. +

+

When s is typed for the first time, or for a PO file entry which +is different of the last one used for getting source context, then the +command reacts by giving the first context available for this entry, +if any. If some context has already been recently displayed for the +current PO file entry, and the translator wandered off to do other +things, typing s again will merely resume, in another window, +the context last displayed. In particular, if the translator moved +the cursor away from the context in the source file, the command will +bring the cursor back to the context. By using s many times +in a row, with no other commands intervening, PO mode will cycle to +the next available contexts for this particular entry, getting back +to the first context once the last has been shown. +

+

The command M-s behaves differently. Instead of cycling through +references, it lets the translator choose a particular reference among +many, and displays that reference. It is best used with completion, +if the translator types <TAB> immediately after M-s, in +response to the question, she will be offered a menu of all possible +references, as a reminder of which are the acceptable answers. +This command is useful only where there are really many contexts +available for a single string to translate. +

+ + + + +

Program source files are usually found relative to where the PO +file stands. As a special provision, when this fails, the file is +also looked for, but relative to the directory immediately above it. +Those two cases take proper care of most PO files. However, it might +happen that a PO file has been moved, or is edited in a different +place than its normal location. When this happens, the translator +should tell PO mode in which directory normally sits the genuine PO +file. Many such directories may be specified, and all together, they +constitute what is called the search path for program sources. +The command S (po-consider-source-path) is used to interactively +enter a new directory at the front of the search path, and the command +M-S (po-ignore-source-path) is used to select, with completion, +one of the directories she does not want anymore on the search path. +

+ + + +

8.7.13 Consulting Auxiliary PO Files

+ +

PO mode is able to help the knowledgeable translator, being fluent in +many languages, at taking advantage of translations already achieved +in other languages she just happens to know. It provides these other +language translations as additional context for her own work. Moreover, +it has features to ease the production of translations for many languages +at once, for translators preferring to work in this way. +

+ + +

An auxiliary PO file is an existing PO file meant for the same +package the translator is working on, but targeted to a different mother +tongue language. Commands exist for declaring and handling auxiliary +PO files, and also for showing contexts for the entry under work. +

+

Here are the auxiliary file commands available in PO mode. +

+
+
a
+
+

Seek auxiliary files for another translation for the same entry +(po-cycle-auxiliary). +

+
+
C-c C-a
+
+

Switch to a particular auxiliary file (po-select-auxiliary). +

+
+
A
+
+

Declare this PO file as an auxiliary file (po-consider-as-auxiliary). +

+
+
M-A
+
+

Remove this PO file from the list of auxiliary files +(po-ignore-as-auxiliary). +

+
+
+ + + + + +

Command A (po-consider-as-auxiliary) adds the current +PO file to the list of auxiliary files, while command M-A +(po-ignore-as-auxiliary just removes it. +

+ + +

The command a (po-cycle-auxiliary) seeks all auxiliary PO +files, round-robin, searching for a translated entry in some other language +having an msgid field identical as the one for the current entry. +The found PO file, if any, takes the place of the current PO file in +the display (its window gets on top). Before doing so, the current PO +file is also made into an auxiliary file, if not already. So, a +in this newly displayed PO file will seek another PO file, and so on, +so repeating a will eventually yield back the original PO file. +

+ + +

The command C-c C-a (po-select-auxiliary) asks the translator +for her choice of a particular auxiliary file, with completion, and +then switches to that selected PO file. The command also checks if +the selected file has an msgid field identical as the one for +the current entry, and if yes, this entry becomes current. Otherwise, +the cursor of the selected file is left undisturbed. +

+

For all this to work fully, auxiliary PO files will have to be normalized, +in that way that msgid fields should be written exactly +the same way. It is possible to write msgid fields in various +ways for representing the same string, different writing would break the +proper behaviour of the auxiliary file commands of PO mode. This is not +expected to be much a problem in practice, as most existing PO files have +their msgid entries written by the same GNU gettext tools. +

+ +

However, PO files initially created by PO mode itself, while marking +strings in source files, are normalised differently. So are PO +files resulting of the ‘M-x normalize’ command. Until these +discrepancies between PO mode and other GNU gettext tools get +fully resolved, the translator should stay aware of normalisation issues. +

+ + + +

8.8 Editing PO Files in vim

+ +

FIXME: Try these scripts. Do they work well? How do they compare? +

+

There are two vim plugins for editing PO files in vim: +

+ + +

Additionally, if you only need syntax highlighting, not editing, of PO files, +there is a vim script for that at +https://www.vim.org/scripts/script.php?script_id=913. +

+ + + +

8.9 Using Translation Compendia

+ +

A compendium is a special PO file containing a set of +translations recurring in many different packages. The translator can +use gettext tools to build a new compendium, to add entries to her +compendium, and to initialize untranslated entries, or to update +already translated entries, from translations kept in the compendium. +

+ + + + +

8.9.1 Creating Compendia

+ +

Basically every PO file consisting of translated entries only can be +declared as a valid compendium. Often the translator wants to have +special compendia; let's consider two cases: concatenating PO +files and extracting a message subset from a PO file. +

+ + +

8.9.1.1 Concatenate PO Files

+ +

To concatenate several valid PO files into one compendium file you can +use ‘msgcomm’ or ‘msgcat’ (the latter preferred): +

+
 
msgcat -o compendium.po file1.po file2.po
+
+ +

By default, msgcat will accumulate divergent translations +for the same string. Those occurrences will be marked as fuzzy +and highly visible decorated; calling msgcat on +‘file1.po’: +

+
 
#: src/hello.c:200
+#, c-format
+msgid "Report bugs to <%s>.\n"
+msgstr "Comunicar `bugs' a <%s>.\n"
+
+ +

and ‘file2.po’: +

+
 
#: src/bye.c:100
+#, c-format
+msgid "Report bugs to <%s>.\n"
+msgstr "Comunicar \"bugs\" a <%s>.\n"
+
+ +

will result in: +

+
 
#: src/hello.c:200 src/bye.c:100
+#, fuzzy, c-format
+msgid "Report bugs to <%s>.\n"
+msgstr ""
+"#-#-#-#-#  file1.po  #-#-#-#-#\n"
+"Comunicar `bugs' a <%s>.\n"
+"#-#-#-#-#  file2.po  #-#-#-#-#\n"
+"Comunicar \"bugs\" a <%s>.\n"
+
+ +

The translator will have to resolve this “conflict” manually; she +has to decide whether the first or the second version is appropriate +(or provide a new translation), to delete the “marker lines”, and +finally to remove the fuzzy mark. +

+

If the translator knows in advance the first found translation of a +message is always the best translation she can make use to the +‘--use-first’ switch: +

+
 
msgcat --use-first -o compendium.po file1.po file2.po
+
+ +

A good compendium file must not contain fuzzy or untranslated +entries. If input files are “dirty” you must preprocess the input +files or postprocess the result using ‘msgattrib --translated --no-fuzzy’. +

+ + +

8.9.1.2 Extract a Message Subset from a PO File

+ +

Nobody wants to translate the same messages again and again; thus you +may wish to have a compendium file containing ‘getopt.c’ messages. +

+

To extract a message subset (e.g., all ‘getopt.c’ messages) from an +existing PO file into one compendium file you can use ‘msggrep’: +

+
 
msggrep --location src/getopt.c -o compendium.po file.po
+
+ + + + +

8.9.2 Using Compendia

+ +

You can use a compendium file to initialize a translation from scratch +or to update an already existing translation. +

+ + +

8.9.2.1 Initialize a New Translation File

+ +

Since a PO file with translations does not exist the translator can +merely use ‘/dev/null’ to fake the “old” translation file. +

+
 
msgmerge --compendium compendium.po -o file.po /dev/null file.pot
+
+ + + +

8.9.2.2 Update an Existing Translation File

+ +

Concatenate the compendium file(s) and the existing PO, merge the +result with the POT file and remove the obsolete entries (optional, +here done using ‘msgattrib’): +

+
 
msgcat --use-first -o update.po compendium1.po compendium2.po file.po
+msgmerge update.po file.pot | msgattrib --no-obsolete > file.po
+
+ + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+

+ + This document was generated by Bruno Haible on July, 2 2025 using texi2html 1.78a. + +
+ +

+ + diff --git a/miniconda3/share/doc/gettext/gettext_9.html b/miniconda3/share/doc/gettext/gettext_9.html new file mode 100644 index 0000000000000000000000000000000000000000..61254a277e5d35b099d9fc0cf5ded0a94b02bbc5 --- /dev/null +++ b/miniconda3/share/doc/gettext/gettext_9.html @@ -0,0 +1,3735 @@ + + + + + +GNU gettext utilities: 9. Manipulating PO Files + + + + + + + + + + + + + + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+ +
+ + +

9. Manipulating PO Files

+ +

Sometimes it is necessary to manipulate PO files in a way that is better +performed automatically than by hand. GNU gettext includes a +complete set of tools for this purpose. +

+ + +

When merging two packages into a single package, the resulting POT file +will be the concatenation of the two packages' POT files. Thus the +maintainer must concatenate the two existing package translations into +a single translation catalog, for each language. This is best performed +using ‘msgcat’. It is then the translators' duty to deal with any +possible conflicts that arose during the merge. +

+ +

When a translator takes over the translation job from another translator, +but she uses a different character encoding in her locale, she will +convert the catalog to her character encoding. This is best done through +the ‘msgconv’ program. +

+

When a maintainer takes a source file with tagged messages from another +package, he should also take the existing translations for this source +file (and not let the translators do the same job twice). One way to do +this is through ‘msggrep’, another is to create a POT file for +that source file and use ‘msgmerge’. +

+ + +

When a translator wants to adjust some translation catalog for a special +dialect or orthography — for example, German as written in Switzerland +versus German as written in Germany — she needs to apply some text +processing to every message in the catalog. The tool for doing this is +‘msgfilter’. +

+

Another use of msgfilter is to produce approximately the POT file for +which a given PO file was made. This can be done through a filter command +like ‘msgfilter sed -e d | sed -e '/^# /d'’. Note that the original +POT file may have had different comments and different plural message counts, +that's why it's better to use the original POT file if available. +

+ +

When a translator wants to check her translations, for example according +to orthography rules or using a non-interactive spell checker, she can do +so using the ‘msgexec’ program. +

+ +

When third party tools create PO or POT files, sometimes duplicates cannot +be avoided. But the GNU gettext tools give an error when they +encounter duplicate msgids in the same file and in the same domain. +To merge duplicates, the ‘msguniq’ program can be used. +

+

msgcomm’ is a more general tool for keeping or throwing away +duplicates, occurring in different files. +

+

msgcmp’ can be used to check whether a translation catalog is +completely translated. +

+ +

msgattrib’ can be used to select and extract only the fuzzy +or untranslated messages of a translation catalog. +

+

msgen’ is useful as a first step for preparing English translation +catalogs. It copies each message's msgid to its msgstr. +

+

Finally, for those applications where all these various programs are not +sufficient, a library ‘libgettextpo’ is provided that can be used to +write other specialized programs that process PO files. +

+ + + + +

9.1 Invoking the msgcat Program

+ + +
 
msgcat [option] [inputfile]...
+
+ + + +

The msgcat program concatenates and merges the specified PO files. +It finds messages which are common to two or more of the specified PO files. +By using the --more-than option, greater commonality may be requested +before messages are printed. Conversely, the --less-than option may be +used to specify less commonality before messages are printed (i.e. +‘--less-than=2’ will only print the unique messages). Translations, +comments, extracted comments, and file positions will be cumulated, except that +if --use-first is specified, they will be taken from the first PO file +to define them. +

+

To concatenate POT files, better use xgettext, not msgcat, +because msgcat would choke on the undefined charsets in the specified +POT files. +

+ + +

9.1.1 Input file location

+ +
+
inputfile
+

Input files. +

+
+
-f file
+
--files-from=file
+
+ +

Read the names of the input files from file instead of getting +them from the command line. +

+
+
-D directory
+
--directory=directory
+
+ +

Add directory to the list of directories. Source files are +searched relative to this list of directories. The resulting ‘.po’ +file will be written relative to the current directory, though. +

+
+
+ +

If inputfile is ‘-’, standard input is read. +

+ + +

9.1.2 Output file location

+ +
+
-o file
+
--output-file=file
+
+ +

Write output to specified file. +

+
+
+ + +

The results are written to standard output if no output file is specified +or if it is ‘-’. +

+ + +

9.1.3 Message selection

+ +
+
-< number
+
--less-than=number
+
+ +

Print messages with less than number definitions, defaults to infinite +if not set. +

+
+
-> number
+
--more-than=number
+
+ +

Print messages with more than number definitions, defaults to 0 if not +set. +

+
+
-u
+
--unique
+
+ +

Shorthand for ‘--less-than=2’. Requests that only unique messages be +printed. +

+
+
+ + + +

9.1.4 Input file syntax

+ +
+
-P
+
--properties-input
+
+ +

Assume the input files are Java ResourceBundles in Java .properties +syntax, not in PO file syntax. +

+
+
--stringtable-input
+
+

Assume the input files are NeXTstep/GNUstep localized resource files in +.strings syntax, not in PO file syntax. +

+
+
+ + + +

9.1.5 Output details

+ + +
+
-t
+
--to-code=name
+
+ +

Specify encoding for output. +

+
+
--use-first
+
+

Use first available translation for each message. Don't merge several +translations into one. +

+
+
--lang=catalogname
+
+

Specify the ‘Language’ field to be used in the header entry. See +Filling in the Header Entry for the meaning of this field. Note: The +‘Language-Team’ and ‘Plural-Forms’ fields are left unchanged. +

+
+
--color
+
--color=when
+
+

Specify whether or when to use colors and other text attributes. +See The --color option for details. +

+
+
--style=style_file
+
+

Specify the CSS style rule file to use for --color. +See The --style option for details. +

+
+
--force-po
+
+

Always write an output file even if it contains no message. +

+
+
-i
+
--indent
+
+ +

Write the .po file using indented style. +

+
+
--no-location
+
+

Do not write ‘#: filename:line’ lines. +

+
+
-n
+
--add-location=type
+
+ +

Generate ‘#: filename:line’ lines (default). +

+

The optional type can be either ‘full’, ‘file’, or +‘never’. If it is not given or ‘full’, it generates the +lines with both file name and line number. If it is ‘file’, the +line number part is omitted. If it is ‘never’, it completely +suppresses the lines (same as --no-location). +

+
+
--strict
+
+

Write out a strict Uniforum conforming PO file. Note that this +Uniforum format should be avoided because it doesn't support the +GNU extensions. +

+
+
-p
+
--properties-output
+
+ +

Write out a Java ResourceBundle in Java .properties syntax. Note +that this file format doesn't support plural forms and silently drops +obsolete messages. +

+
+
--stringtable-output
+
+

Write out a NeXTstep/GNUstep localized resource file in .strings syntax. +Note that this file format doesn't support plural forms. +

+
+
-w number
+
--width=number
+
+ +

Set the output page width. Long strings in the output files will be +split across multiple lines in order to ensure that each line's width +(= number of screen columns) is less or equal to the given number. +

+
+
--no-wrap
+
+

Do not break long message lines. Message lines whose width exceeds the +output page width will not be split into several lines. Only file reference +lines which are wider than the output page width will be split. +

+
+
-s
+
--sort-output
+
+ + +

Generate sorted output. Note that using this option makes it much harder +for the translator to understand each message's context. +

+
+
-F
+
--sort-by-file
+
+ +

Sort output by file location. +

+
+
+ + + +

9.1.6 Informative output

+ +
+
-h
+
--help
+
+ +

Display this help and exit. +

+
+
-V
+
--version
+
+ +

Output version information and exit. +

+
+
+ + + + +

9.2 Invoking the msgconv Program

+ + +
 
msgconv [option] [inputfile]
+
+ + +

The msgconv program converts a translation catalog to a different +character encoding. +

+ + +

9.2.1 Input file location

+ +
+
inputfile
+

Input PO file. +

+
+
-D directory
+
--directory=directory
+
+ +

Add directory to the list of directories. Source files are +searched relative to this list of directories. The resulting ‘.po’ +file will be written relative to the current directory, though. +

+
+
+ +

If no inputfile is given or if it is ‘-’, standard input is read. +

+ + +

9.2.2 Output file location

+ +
+
-o file
+
--output-file=file
+
+ +

Write output to specified file. +

+
+
+ +

The results are written to standard output if no output file is specified +or if it is ‘-’. +

+ + +

9.2.3 Conversion target

+ +
+
-t
+
--to-code=name
+
+ +

Specify encoding for output. +

+
+
+ +

The default encoding is the current locale's encoding. +

+ + +

9.2.4 Input file syntax

+ +
+
-P
+
--properties-input
+
+ +

Assume the input file is a Java ResourceBundle in Java .properties +syntax, not in PO file syntax. +

+
+
--stringtable-input
+
+

Assume the input file is a NeXTstep/GNUstep localized resource file in +.strings syntax, not in PO file syntax. +

+
+
+ + + +

9.2.5 Output details

+ + +
+
--color
+
--color=when
+
+

Specify whether or when to use colors and other text attributes. +See The --color option for details. +

+
+
--style=style_file
+
+

Specify the CSS style rule file to use for --color. +See The --style option for details. +

+
+
--force-po
+
+

Always write an output file even if it contains no message. +

+
+
-i
+
--indent
+
+ +

Write the .po file using indented style. +

+
+
--no-location
+
+

Do not write ‘#: filename:line’ lines. +

+
+
-n
+
--add-location=type
+
+

Generate ‘#: filename:line’ lines (default). +

+

The optional type can be either ‘full’, ‘file’, or +‘never’. If it is not given or ‘full’, it generates the +lines with both file name and line number. If it is ‘file’, the +line number part is omitted. If it is ‘never’, it completely +suppresses the lines (same as --no-location). +

+
+
--strict
+
+

Write out a strict Uniforum conforming PO file. Note that this +Uniforum format should be avoided because it doesn't support the +GNU extensions. +

+
+
-p
+
--properties-output
+
+ +

Write out a Java ResourceBundle in Java .properties syntax. Note +that this file format doesn't support plural forms and silently drops +obsolete messages. +

+
+
--stringtable-output
+
+

Write out a NeXTstep/GNUstep localized resource file in .strings syntax. +Note that this file format doesn't support plural forms. +

+
+
-w number
+
--width=number
+
+ +

Set the output page width. Long strings in the output files will be +split across multiple lines in order to ensure that each line's width +(= number of screen columns) is less or equal to the given number. +

+
+
--no-wrap
+
+

Do not break long message lines. Message lines whose width exceeds the +output page width will not be split into several lines. Only file reference +lines which are wider than the output page width will be split. +

+
+
-s
+
--sort-output
+
+ +

Generate sorted output. Note that using this option makes it much harder +for the translator to understand each message's context. +

+
+
-F
+
--sort-by-file
+
+ +

Sort output by file location. +

+
+
+ + + +

9.2.6 Informative output

+ +
+
-h
+
--help
+
+ +

Display this help and exit. +

+
+
-V
+
--version
+
+ +

Output version information and exit. +

+
+
+ + + + +

9.3 Invoking the msggrep Program

+ + +
 
msggrep [option] [inputfile]
+
+ + +

The msggrep program extracts all messages of a translation catalog +that match a given pattern or belong to some given source files. +

+ + +

9.3.1 Input file location

+ +
+
inputfile
+

Input PO file. +

+
+
-D directory
+
--directory=directory
+
+ +

Add directory to the list of directories. Source files are +searched relative to this list of directories. The resulting ‘.po’ +file will be written relative to the current directory, though. +

+
+
+ +

If no inputfile is given or if it is ‘-’, standard input is read. +

+ + +

9.3.2 Output file location

+ +
+
-o file
+
--output-file=file
+
+ +

Write output to specified file. +

+
+
+ +

The results are written to standard output if no output file is specified +or if it is ‘-’. +

+ + +

9.3.3 Message selection

+ +
 
  [-N sourcefile]... [-M domainname]...
+  [-J msgctxt-pattern] [-K msgid-pattern] [-T msgstr-pattern]
+  [-C comment-pattern]
+
+ +

A message is selected if +

    +
  • it comes from one of the specified source files, +
  • or if it comes from one of the specified domains, +
  • or if ‘-J’ is given and its context (msgctxt) matches +msgctxt-pattern, +
  • or if ‘-K’ is given and its key (msgid or msgid_plural) matches +msgid-pattern, +
  • or if ‘-T’ is given and its translation (msgstr) matches +msgstr-pattern, +
  • or if ‘-C’ is given and the translator's comment matches +comment-pattern. +
+ +

When more than one selection criterion is specified, the set of selected +messages is the union of the selected messages of each criterion. +

+

msgctxt-pattern or msgid-pattern or msgstr-pattern syntax: +

 
  [-E | -F] [-e pattern | -f file]...
+
+

patterns are basic regular expressions by default, or extended regular +expressions if -E is given, or fixed strings if -F is given. +

+
+
-N sourcefile
+
--location=sourcefile
+
+ +

Select messages extracted from sourcefile. sourcefile can be +either a literal file name or a wildcard pattern. +

+
+
-M domainname
+
--domain=domainname
+
+ +

Select messages belonging to domain domainname. +

+
+
-J
+
--msgctxt
+
+ +

Start of patterns for the msgctxt. +

+
+
-K
+
--msgid
+
+ +

Start of patterns for the msgid. +

+
+
-T
+
--msgstr
+
+ +

Start of patterns for the msgstr. +

+
+
-C
+
--comment
+
+ +

Start of patterns for the translator's comment. +

+
+
-X
+
--extracted-comment
+
+ +

Start of patterns for the extracted comments. +

+
+
-E
+
--extended-regexp
+
+ +

Specify that pattern is an extended regular expression. +

+
+
-F
+
--fixed-strings
+
+ +

Specify that pattern is a set of newline-separated strings. +

+
+
-e pattern
+
--regexp=pattern
+
+ +

Use pattern as a regular expression. +

+
+
-f file
+
--file=file
+
+ +

Obtain pattern from file. +

+
+
-i
+
--ignore-case
+
+ +

Ignore case distinctions. +

+
+
-v
+
--invert-match
+
+ +

Output only the messages that do not match any selection criterion, instead +of the messages that match a selection criterion. +

+
+
+ + + +

9.3.4 Input file syntax

+ +
+
-P
+
--properties-input
+
+ +

Assume the input file is a Java ResourceBundle in Java .properties +syntax, not in PO file syntax. +

+
+
--stringtable-input
+
+

Assume the input file is a NeXTstep/GNUstep localized resource file in +.strings syntax, not in PO file syntax. +

+
+
+ + + +

9.3.5 Output details

+ + +
+
--color
+
--color=when
+
+

Specify whether or when to use colors and other text attributes. +See The --color option for details. +

+
+
--style=style_file
+
+

Specify the CSS style rule file to use for --color. +See The --style option for details. +

+
+
--force-po
+
+

Always write an output file even if it contains no message. +

+
+
--indent
+
+

Write the .po file using indented style. +

+
+
--no-location
+
+

Do not write ‘#: filename:line’ lines. +

+
+
-n
+
--add-location=type
+
+

Generate ‘#: filename:line’ lines (default). +

+

The optional type can be either ‘full’, ‘file’, or +‘never’. If it is not given or ‘full’, it generates the +lines with both file name and line number. If it is ‘file’, the +line number part is omitted. If it is ‘never’, it completely +suppresses the lines (same as --no-location). +

+
+
--strict
+
+

Write out a strict Uniforum conforming PO file. Note that this +Uniforum format should be avoided because it doesn't support the +GNU extensions. +

+
+
-p
+
--properties-output
+
+ +

Write out a Java ResourceBundle in Java .properties syntax. Note +that this file format doesn't support plural forms and silently drops +obsolete messages. +

+
+
--stringtable-output
+
+

Write out a NeXTstep/GNUstep localized resource file in .strings syntax. +Note that this file format doesn't support plural forms. +

+
+
-w number
+
--width=number
+
+ +

Set the output page width. Long strings in the output files will be +split across multiple lines in order to ensure that each line's width +(= number of screen columns) is less or equal to the given number. +

+
+
--no-wrap
+
+

Do not break long message lines. Message lines whose width exceeds the +output page width will not be split into several lines. Only file reference +lines which are wider than the output page width will be split. +

+
+
--sort-output
+
+

Generate sorted output. Note that using this option makes it much harder +for the translator to understand each message's context. +

+
+
--sort-by-file
+
+

Sort output by file location. +

+
+
+ + + +

9.3.6 Informative output

+ +
+
-h
+
--help
+
+ +

Display this help and exit. +

+
+
-V
+
--version
+
+ +

Output version information and exit. +

+
+
+ + + +

9.3.7 Examples

+ +

To extract the messages that come from the source files +gnulib-lib/error.c and gnulib-lib/getopt.c: +

+
 
msggrep -N gnulib-lib/error.c -N gnulib-lib/getopt.c input.po
+
+ +

To extract the messages that contain the string “Please specify” in the +original string: +

+
 
msggrep --msgid -F -e 'Please specify' input.po
+
+ +

To extract the messages that have a context specifier of either “Menu>File” +or “Menu>Edit” or a submenu of them: +

+
 
msggrep --msgctxt -E -e '^Menu>(File|Edit)' input.po
+
+ +

To extract the messages whose translation contains one of the strings in the +file wordlist.txt: +

+
 
msggrep --msgstr -F -f wordlist.txt input.po
+
+ + + + +

9.4 Invoking the msgfilter Program

+ + +
 
msgfilter [option] filter [filter-option]
+
+ + +

The msgfilter program applies a filter to all translations of a +translation catalog. +

+ + + + + + + + +

During each filter invocation, the environment variable +MSGFILTER_MSGID is bound to the message's msgid, and the environment +variable MSGFILTER_LOCATION is bound to the location in the PO file +of the message. If the message has a context, the environment variable +MSGFILTER_MSGCTXT is bound to the message's msgctxt, otherwise it is +unbound. If the message has a plural form, environment variable +MSGFILTER_MSGID_PLURAL is bound to the message's msgid_plural and +MSGFILTER_PLURAL_FORM is bound to the order number of the plural +actually processed (starting with 0), otherwise both are unbound. +If the message has a previous msgid (added by msgmerge), +environment variable MSGFILTER_PREV_MSGCTXT is bound to the +message's previous msgctxt, MSGFILTER_PREV_MSGID is bound to +the previous msgid, and MSGFILTER_PREV_MSGID_PLURAL is bound to +the previous msgid_plural. +

+ + +

9.4.1 Input file location

+ +
+
-i inputfile
+
--input=inputfile
+
+ +

Input PO file. +

+
+
-D directory
+
--directory=directory
+
+ +

Add directory to the list of directories. Source files are +searched relative to this list of directories. The resulting ‘.po’ +file will be written relative to the current directory, though. +

+
+
+ +

If no inputfile is given or if it is ‘-’, standard input is read. +

+ + +

9.4.2 Output file location

+ +
+
-o file
+
--output-file=file
+
+ +

Write output to specified file. +

+
+
+ +

The results are written to standard output if no output file is specified +or if it is ‘-’. +

+ + +

9.4.3 The filter

+ +

The filter can be any program that reads a translation from standard +input and writes a modified translation to standard output. A frequently +used filter is ‘sed’. A few particular built-in filters are also +recognized. +

+
+
--newline
+
+

Add newline at the end of each input line and also strip the ending +newline from the output line. +

+
+
+ + +

Note: If the filter is not a built-in filter, you have to care about encodings: +It is your responsibility to ensure that the filter can cope +with input encoded in the translation catalog's encoding. If the +filter wants input in a particular encoding, you can in a first step +convert the translation catalog to that encoding using the ‘msgconv’ +program, before invoking ‘msgfilter’. If the filter wants input +in the locale's encoding, but you want to avoid the locale's encoding, then +you can first convert the translation catalog to UTF-8 using the +‘msgconv’ program and then make ‘msgfilter’ work in an UTF-8 +locale, by using the LC_ALL environment variable. +

+ +

Note: Most translations in a translation catalog don't end with a +newline character. For this reason, unless the --newline +option is used, it is important that the filter recognizes its +last input line even if it ends without a newline, and that it doesn't +add an undesired trailing newline at the end. The ‘sed’ program on +some platforms is known to ignore the last line of input if it is not +terminated with a newline. You can use GNU sed instead; it does +not have this limitation. +

+ + +

9.4.4 Useful filter-options when the filter is ‘sed

+ +
+
-e script
+
--expression=script
+
+ +

Add script to the commands to be executed. +

+
+
-f scriptfile
+
--file=scriptfile
+
+ +

Add the contents of scriptfile to the commands to be executed. +

+
+
-n
+
--quiet
+
--silent
+
+ + +

Suppress automatic printing of pattern space. +

+
+
+ + + +

9.4.5 Built-in filters

+ +

The filter ‘recode-sr-latin’ is recognized as a built-in filter. +The command ‘recode-sr-latin’ converts Serbian text, written in the +Cyrillic script, to the Latin script. +The command ‘msgfilter recode-sr-latin’ applies this conversion to the +translations of a PO file. Thus, it can be used to convert an ‘sr.po’ +file to an ‘sr@latin.po’ file. +

+ +

The filter ‘quot’ is recognized as a built-in filter. +The command ‘msgfilter quot’ converts any quotations surrounded +by a pair of ‘"’, ‘'’, and ‘`’. +

+ +

The filter ‘boldquot’ is recognized as a built-in filter. +The command ‘msgfilter boldquot’ converts any quotations +surrounded by a pair of ‘"’, ‘'’, and ‘`’, also adding the +VT100 escape sequences to the text to decorate it as bold. +

+

The use of built-in filters is not sensitive to the current locale's encoding. +Moreover, when used with a built-in filter, ‘msgfilter’ can automatically +convert the message catalog to the UTF-8 encoding when needed. +

+ + +

9.4.6 Input file syntax

+ +
+
-P
+
--properties-input
+
+ +

Assume the input file is a Java ResourceBundle in Java .properties +syntax, not in PO file syntax. +

+
+
--stringtable-input
+
+

Assume the input file is a NeXTstep/GNUstep localized resource file in +.strings syntax, not in PO file syntax. +

+
+
+ + + +

9.4.7 Output details

+ + +
+
--color
+
--color=when
+
+

Specify whether or when to use colors and other text attributes. +See The --color option for details. +

+
+
--style=style_file
+
+

Specify the CSS style rule file to use for --color. +See The --style option for details. +

+
+
--force-po
+
+

Always write an output file even if it contains no message. +

+
+
--indent
+
+

Write the .po file using indented style. +

+
+
--keep-header
+
+

Keep the header entry, i.e. the message with ‘msgid ""’, unmodified, +instead of filtering it. By default, the header entry is subject to +filtering like any other message. +

+
+
--no-location
+
+

Do not write ‘#: filename:line’ lines. +

+
+
-n
+
--add-location=type
+
+

Generate ‘#: filename:line’ lines (default). +

+

The optional type can be either ‘full’, ‘file’, or +‘never’. If it is not given or ‘full’, it generates the +lines with both file name and line number. If it is ‘file’, the +line number part is omitted. If it is ‘never’, it completely +suppresses the lines (same as --no-location). +

+
+
--strict
+
+

Write out a strict Uniforum conforming PO file. Note that this +Uniforum format should be avoided because it doesn't support the +GNU extensions. +

+
+
-p
+
--properties-output
+
+ +

Write out a Java ResourceBundle in Java .properties syntax. Note +that this file format doesn't support plural forms and silently drops +obsolete messages. +

+
+
--stringtable-output
+
+

Write out a NeXTstep/GNUstep localized resource file in .strings syntax. +Note that this file format doesn't support plural forms. +

+
+
-w number
+
--width=number
+
+ +

Set the output page width. Long strings in the output files will be +split across multiple lines in order to ensure that each line's width +(= number of screen columns) is less or equal to the given number. +

+
+
--no-wrap
+
+

Do not break long message lines. Message lines whose width exceeds the +output page width will not be split into several lines. Only file reference +lines which are wider than the output page width will be split. +

+
+
-s
+
--sort-output
+
+ +

Generate sorted output. Note that using this option makes it much harder +for the translator to understand each message's context. +

+
+
-F
+
--sort-by-file
+
+ +

Sort output by file location. +

+
+
+ + + +

9.4.8 Informative output

+ +
+
-h
+
--help
+
+ +

Display this help and exit. +

+
+
-V
+
--version
+
+ +

Output version information and exit. +

+
+
+ + + +

9.4.9 Examples

+ +

To convert German translations to Swiss orthography (in an UTF-8 locale): +

+
 
msgconv -t UTF-8 de.po | msgfilter sed -e 's/ß/ss/g'
+
+ +

To convert Serbian translations in Cyrillic script to Latin script: +

+
 
msgfilter recode-sr-latin < sr.po
+
+ + + + +

9.5 Invoking the msguniq Program

+ + +
 
msguniq [option] [inputfile]
+
+ + + +

The msguniq program unifies duplicate translations in a translation +catalog. It finds duplicate translations of the same message ID. Such +duplicates are invalid input for other programs like msgfmt, +msgmerge or msgcat. By default, duplicates are merged +together. When using the ‘--repeated’ option, only duplicates are +output, and all other messages are discarded. Comments and extracted +comments will be cumulated, except that if ‘--use-first’ is +specified, they will be taken from the first translation. File positions +will be cumulated. When using the ‘--unique’ option, duplicates are +discarded. +

+ + +

9.5.1 Input file location

+ +
+
inputfile
+

Input PO file. +

+
+
-D directory
+
--directory=directory
+
+ +

Add directory to the list of directories. Source files are +searched relative to this list of directories. The resulting ‘.po’ +file will be written relative to the current directory, though. +

+
+
+ +

If no inputfile is given or if it is ‘-’, standard input is read. +

+ + +

9.5.2 Output file location

+ +
+
-o file
+
--output-file=file
+
+ +

Write output to specified file. +

+
+
+ +

The results are written to standard output if no output file is specified +or if it is ‘-’. +

+ + +

9.5.3 Message selection

+ +
+
-d
+
--repeated
+
+ +

Print only duplicates. +

+
+
-u
+
--unique
+
+ +

Print only unique messages, discard duplicates. +

+
+
+ + + +

9.5.4 Input file syntax

+ +
+
-P
+
--properties-input
+
+ +

Assume the input file is a Java ResourceBundle in Java .properties +syntax, not in PO file syntax. +

+
+
--stringtable-input
+
+

Assume the input file is a NeXTstep/GNUstep localized resource file in +.strings syntax, not in PO file syntax. +

+
+
+ + + +

9.5.5 Output details

+ + +
+
-t
+
--to-code=name
+
+ +

Specify encoding for output. +

+
+
--use-first
+
+

Use first available translation for each message. Don't merge several +translations into one. +

+
+
--color
+
--color=when
+
+

Specify whether or when to use colors and other text attributes. +See The --color option for details. +

+
+
--style=style_file
+
+

Specify the CSS style rule file to use for --color. +See The --style option for details. +

+
+
--force-po
+
+

Always write an output file even if it contains no message. +

+
+
-i
+
--indent
+
+ +

Write the .po file using indented style. +

+
+
--no-location
+
+

Do not write ‘#: filename:line’ lines. +

+
+
-n
+
--add-location=type
+
+ +

Generate ‘#: filename:line’ lines (default). +

+

The optional type can be either ‘full’, ‘file’, or +‘never’. If it is not given or ‘full’, it generates the +lines with both file name and line number. If it is ‘file’, the +line number part is omitted. If it is ‘never’, it completely +suppresses the lines (same as --no-location). +

+
+
--strict
+
+

Write out a strict Uniforum conforming PO file. Note that this +Uniforum format should be avoided because it doesn't support the +GNU extensions. +

+
+
-p
+
--properties-output
+
+ +

Write out a Java ResourceBundle in Java .properties syntax. Note +that this file format doesn't support plural forms and silently drops +obsolete messages. +

+
+
--stringtable-output
+
+

Write out a NeXTstep/GNUstep localized resource file in .strings syntax. +Note that this file format doesn't support plural forms. +

+
+
-w number
+
--width=number
+
+ +

Set the output page width. Long strings in the output files will be +split across multiple lines in order to ensure that each line's width +(= number of screen columns) is less or equal to the given number. +

+
+
--no-wrap
+
+

Do not break long message lines. Message lines whose width exceeds the +output page width will not be split into several lines. Only file reference +lines which are wider than the output page width will be split. +

+
+
-s
+
--sort-output
+
+ +

Generate sorted output. Note that using this option makes it much harder +for the translator to understand each message's context. +

+
+
-F
+
--sort-by-file
+
+ +

Sort output by file location. +

+
+
+ + + +

9.5.6 Informative output

+ +
+
-h
+
--help
+
+ +

Display this help and exit. +

+
+
-V
+
--version
+
+ +

Output version information and exit. +

+
+
+ + + + +

9.6 Invoking the msgcomm Program

+ + +
 
msgcomm [option] [inputfile]...
+
+ + +

The msgcomm program finds messages which are common to two or more +of the specified PO files. +By using the --more-than option, greater commonality may be requested +before messages are printed. Conversely, the --less-than option may be +used to specify less commonality before messages are printed (i.e. +‘--less-than=2’ will only print the unique messages). Translations, +comments and extracted comments will be preserved, but only from the first +PO file to define them. File positions from all PO files will be +cumulated. +

+ + +

9.6.1 Input file location

+ +
+
inputfile
+

Input files. +

+
+
-f file
+
--files-from=file
+
+ +

Read the names of the input files from file instead of getting +them from the command line. +

+
+
-D directory
+
--directory=directory
+
+ +

Add directory to the list of directories. Source files are +searched relative to this list of directories. The resulting ‘.po’ +file will be written relative to the current directory, though. +

+
+
+ +

If inputfile is ‘-’, standard input is read. +

+ + +

9.6.2 Output file location

+ +
+
-o file
+
--output-file=file
+
+ +

Write output to specified file. +

+
+
+ +

The results are written to standard output if no output file is specified +or if it is ‘-’. +

+ + +

9.6.3 Message selection

+ +
+
-< number
+
--less-than=number
+
+ +

Print messages with less than number definitions, defaults to infinite +if not set. +

+
+
-> number
+
--more-than=number
+
+ +

Print messages with more than number definitions, defaults to 1 if not +set. +

+
+
-u
+
--unique
+
+ +

Shorthand for ‘--less-than=2’. Requests that only unique messages be +printed. +

+
+
+ + + +

9.6.4 Input file syntax

+ +
+
-P
+
--properties-input
+
+ +

Assume the input files are Java ResourceBundles in Java .properties +syntax, not in PO file syntax. +

+
+
--stringtable-input
+
+

Assume the input files are NeXTstep/GNUstep localized resource files in +.strings syntax, not in PO file syntax. +

+
+
+ + + +

9.6.5 Output details

+ + +
+
--color
+
--color=when
+
+

Specify whether or when to use colors and other text attributes. +See The --color option for details. +

+
+
--style=style_file
+
+

Specify the CSS style rule file to use for --color. +See The --style option for details. +

+
+
--force-po
+
+

Always write an output file even if it contains no message. +

+
+
-i
+
--indent
+
+ +

Write the .po file using indented style. +

+
+
--no-location
+
+

Do not write ‘#: filename:line’ lines. +

+
+
-n
+
--add-location=type
+
+ +

Generate ‘#: filename:line’ lines (default). +

+

The optional type can be either ‘full’, ‘file’, or +‘never’. If it is not given or ‘full’, it generates the +lines with both file name and line number. If it is ‘file’, the +line number part is omitted. If it is ‘never’, it completely +suppresses the lines (same as --no-location). +

+
+
--strict
+
+

Write out a strict Uniforum conforming PO file. Note that this +Uniforum format should be avoided because it doesn't support the +GNU extensions. +

+
+
-p
+
--properties-output
+
+ +

Write out a Java ResourceBundle in Java .properties syntax. Note +that this file format doesn't support plural forms and silently drops +obsolete messages. +

+
+
--stringtable-output
+
+

Write out a NeXTstep/GNUstep localized resource file in .strings syntax. +Note that this file format doesn't support plural forms. +

+
+
-w number
+
--width=number
+
+ +

Set the output page width. Long strings in the output files will be +split across multiple lines in order to ensure that each line's width +(= number of screen columns) is less or equal to the given number. +

+
+
--no-wrap
+
+

Do not break long message lines. Message lines whose width exceeds the +output page width will not be split into several lines. Only file reference +lines which are wider than the output page width will be split. +

+
+
-s
+
--sort-output
+
+ +

Generate sorted output. Note that using this option makes it much harder +for the translator to understand each message's context. +

+
+
-F
+
--sort-by-file
+
+ +

Sort output by file location. +

+
+
--omit-header
+
+

Don't write header with ‘msgid ""’ entry. +Note: Using this option may lead to an error in subsequent operations +if the output contains non-ASCII characters. +

+
+
+ + + +

9.6.6 Informative output

+ +
+
-h
+
--help
+
+ +

Display this help and exit. +

+
+
-V
+
--version
+
+ +

Output version information and exit. +

+
+
+ + + + +

9.7 Invoking the msgcmp Program

+ + +
 
msgcmp [option] def.po ref.pot
+
+ + +

The msgcmp program compares two Uniforum style .po files to check that +both contain the same set of msgid strings. The def.po file is an +existing PO file with the translations. The ref.pot file is the last +created PO file, or a PO Template file (generally created by xgettext). +This is useful for checking that you have translated each and every message +in your program. Where an exact match cannot be found, fuzzy matching is +used to produce better diagnostics. +

+ + +

9.7.1 Input file location

+ +
+
def.po
+

Translations. +

+
+
ref.pot
+

References to the sources. +

+
+
-D directory
+
--directory=directory
+
+ +

Add directory to the list of directories. Source files are +searched relative to this list of directories. +

+
+
+ + + +

9.7.2 Operation modifiers

+ +
+
-m
+
--multi-domain
+
+ +

Apply ref.pot to each of the domains in def.po. +

+
+
-N
+
--no-fuzzy-matching
+
+ +

Do not use fuzzy matching when an exact match is not found. This may speed +up the operation considerably. +

+
+
--use-fuzzy
+
+

Consider fuzzy messages in the def.po file like translated messages. +Note that using this option is usually wrong, because fuzzy messages are +exactly those which have not been validated by a human translator. +

+
+
--use-untranslated
+
+

Consider untranslated messages in the def.po file like translated +messages. Note that using this option is usually wrong. +

+
+
+ + + +

9.7.3 Input file syntax

+ +
+
-P
+
--properties-input
+
+ +

Assume the input files are Java ResourceBundles in Java .properties +syntax, not in PO file syntax. +

+
+
--stringtable-input
+
+

Assume the input files are NeXTstep/GNUstep localized resource files in +.strings syntax, not in PO file syntax. +

+
+
+ + + +

9.7.4 Informative output

+ +
+
-h
+
--help
+
+ +

Display this help and exit. +

+
+
-V
+
--version
+
+ +

Output version information and exit. +

+
+
+ + + + +

9.8 Invoking the msgattrib Program

+ + +
 
msgattrib [option] [inputfile]
+
+ + + +

The msgattrib program filters the messages of a translation catalog +according to their attributes, and manipulates the attributes. +

+ + +

9.8.1 Input file location

+ +
+
inputfile
+

Input PO file. +

+
+
-D directory
+
--directory=directory
+
+ +

Add directory to the list of directories. Source files are +searched relative to this list of directories. The resulting ‘.po’ +file will be written relative to the current directory, though. +

+
+
+ +

If no inputfile is given or if it is ‘-’, standard input is read. +

+ + +

9.8.2 Output file location

+ +
+
-o file
+
--output-file=file
+
+ +

Write output to specified file. +

+
+
+ +

The results are written to standard output if no output file is specified +or if it is ‘-’. +

+ + +

9.8.3 Message selection

+ +
+
--translated
+
+

Keep translated messages, remove untranslated messages. +

+
+
--untranslated
+
+

Keep untranslated messages, remove translated messages. +

+
+
--no-fuzzy
+
+

Remove +‘fuzzy’ +marked messages. +

+
+
--only-fuzzy
+
+

Keep +‘fuzzy’ +marked messages, remove all other messages. +

+
+
--no-obsolete
+
+

Remove obsolete #~ messages. +

+
+
--only-obsolete
+
+

Keep obsolete #~ messages, remove all other messages. +

+
+
+ + + +

9.8.4 Attribute manipulation

+ +

Attributes are modified after the message selection/removal has been +performed. If the ‘--only-file’ or ‘--ignore-file’ option is +specified, the attribute modification is applied only to those messages +that are listed in the only-file and not listed in the +ignore-file. +

+
+
--set-fuzzy
+
+

Set all messages +‘fuzzy’. +

+
+
--clear-fuzzy
+
+

Set all messages +non-‘fuzzy’. +

+
+
--set-obsolete
+
+

Set all messages obsolete. +

+
+
--clear-obsolete
+
+

Set all messages non-obsolete. +

+
+
--previous
+
+

When setting +‘fuzzy’ +mark, keep “previous msgid” of translated messages. +

+
+
--clear-previous
+
+

Remove the “previous msgid” (‘#|’) comments from all messages. +

+
+
--empty
+
+

When removing +‘fuzzy’ +mark, also set msgstr empty. +

+
+
--only-file=file
+
+

Limit the attribute changes to entries that are listed in file. +file should be a PO or POT file. +

+
+
--ignore-file=file
+
+

Limit the attribute changes to entries that are not listed in file. +file should be a PO or POT file. +

+
+
--fuzzy
+
+

Synonym for ‘--only-fuzzy --clear-fuzzy’: It keeps only the fuzzy +messages and removes their +‘fuzzy’ +mark. +

+
+
--obsolete
+
+

Synonym for ‘--only-obsolete --clear-obsolete’: It keeps only the +obsolete messages and makes them non-obsolete. +

+
+
+ + + +

9.8.5 Input file syntax

+ +
+
-P
+
--properties-input
+
+ +

Assume the input file is a Java ResourceBundle in Java .properties +syntax, not in PO file syntax. +

+
+
--stringtable-input
+
+

Assume the input file is a NeXTstep/GNUstep localized resource file in +.strings syntax, not in PO file syntax. +

+
+
+ + + +

9.8.6 Output details

+ + +
+
--color
+
--color=when
+
+

Specify whether or when to use colors and other text attributes. +See The --color option for details. +

+
+
--style=style_file
+
+

Specify the CSS style rule file to use for --color. +See The --style option for details. +

+
+
--force-po
+
+

Always write an output file even if it contains no message. +

+
+
-i
+
--indent
+
+ +

Write the .po file using indented style. +

+
+
--no-location
+
+

Do not write ‘#: filename:line’ lines. +

+
+
-n
+
--add-location=type
+
+ +

Generate ‘#: filename:line’ lines (default). +

+

The optional type can be either ‘full’, ‘file’, or +‘never’. If it is not given or ‘full’, it generates the +lines with both file name and line number. If it is ‘file’, the +line number part is omitted. If it is ‘never’, it completely +suppresses the lines (same as --no-location). +

+
+
--strict
+
+

Write out a strict Uniforum conforming PO file. Note that this +Uniforum format should be avoided because it doesn't support the +GNU extensions. +

+
+
-p
+
--properties-output
+
+ +

Write out a Java ResourceBundle in Java .properties syntax. Note +that this file format doesn't support plural forms and silently drops +obsolete messages. +

+
+
--stringtable-output
+
+

Write out a NeXTstep/GNUstep localized resource file in .strings syntax. +Note that this file format doesn't support plural forms. +

+
+
-w number
+
--width=number
+
+ +

Set the output page width. Long strings in the output files will be +split across multiple lines in order to ensure that each line's width +(= number of screen columns) is less or equal to the given number. +

+
+
--no-wrap
+
+

Do not break long message lines. Message lines whose width exceeds the +output page width will not be split into several lines. Only file reference +lines which are wider than the output page width will be split. +

+
+
-s
+
--sort-output
+
+ +

Generate sorted output. Note that using this option makes it much harder +for the translator to understand each message's context. +

+
+
-F
+
--sort-by-file
+
+ +

Sort output by file location. +

+
+
+ + + +

9.8.7 Informative output

+ +
+
-h
+
--help
+
+ +

Display this help and exit. +

+
+
-V
+
--version
+
+ +

Output version information and exit. +

+
+
+ + + + +

9.9 Invoking the msgen Program

+ + +
 
msgen [option] inputfile
+
+ + +

The msgen program creates an English translation catalog. The +input file is the last created English PO file, or a PO Template file +(generally created by xgettext). Untranslated entries are assigned a +translation that is identical to the msgid. +

+

Note: ‘msginit --no-translator --locale=en’ performs a very similar +task. The main difference is that msginit cares specially about +the header entry, whereas msgen doesn't. +

+ + +

9.9.1 Input file location

+ +
+
inputfile
+

Input PO or POT file. +

+
+
-D directory
+
--directory=directory
+
+ +

Add directory to the list of directories. Source files are +searched relative to this list of directories. The resulting ‘.po’ +file will be written relative to the current directory, though. +

+
+
+ +

If inputfile is ‘-’, standard input is read. +

+ + +

9.9.2 Output file location

+ +
+
-o file
+
--output-file=file
+
+ +

Write output to specified file. +

+
+
+ +

The results are written to standard output if no output file is specified +or if it is ‘-’. +

+ + +

9.9.3 Input file syntax

+ +
+
-P
+
--properties-input
+
+ +

Assume the input file is a Java ResourceBundle in Java .properties +syntax, not in PO file syntax. +

+
+
--stringtable-input
+
+

Assume the input file is a NeXTstep/GNUstep localized resource file in +.strings syntax, not in PO file syntax. +

+
+
+ + + +

9.9.4 Output details

+ + +
+
--lang=catalogname
+
+

Specify the ‘Language’ field to be used in the header entry. See +Filling in the Header Entry for the meaning of this field. Note: The +‘Language-Team’ and ‘Plural-Forms’ fields are not set by this +option. +

+
+
--color
+
--color=when
+
+

Specify whether or when to use colors and other text attributes. +See The --color option for details. +

+
+
--style=style_file
+
+

Specify the CSS style rule file to use for --color. +See The --style option for details. +

+
+
--force-po
+
+

Always write an output file even if it contains no message. +

+
+
-i
+
--indent
+
+ +

Write the .po file using indented style. +

+
+
--no-location
+
+

Do not write ‘#: filename:line’ lines. +

+
+
-n
+
--add-location=type
+
+

Generate ‘#: filename:line’ lines (default). +

+

The optional type can be either ‘full’, ‘file’, or +‘never’. If it is not given or ‘full’, it generates the +lines with both file name and line number. If it is ‘file’, the +line number part is omitted. If it is ‘never’, it completely +suppresses the lines (same as --no-location). +

+
+
--strict
+
+

Write out a strict Uniforum conforming PO file. Note that this +Uniforum format should be avoided because it doesn't support the +GNU extensions. +

+
+
-p
+
--properties-output
+
+ +

Write out a Java ResourceBundle in Java .properties syntax. Note +that this file format doesn't support plural forms and silently drops +obsolete messages. +

+
+
--stringtable-output
+
+

Write out a NeXTstep/GNUstep localized resource file in .strings syntax. +Note that this file format doesn't support plural forms. +

+
+
-w number
+
--width=number
+
+ +

Set the output page width. Long strings in the output files will be +split across multiple lines in order to ensure that each line's width +(= number of screen columns) is less or equal to the given number. +

+
+
--no-wrap
+
+

Do not break long message lines. Message lines whose width exceeds the +output page width will not be split into several lines. Only file reference +lines which are wider than the output page width will be split. +

+
+
-s
+
--sort-output
+
+ +

Generate sorted output. Note that using this option makes it much harder +for the translator to understand each message's context. +

+
+
-F
+
--sort-by-file
+
+ +

Sort output by file location. +

+
+
+ + + +

9.9.5 Informative output

+ +
+
-h
+
--help
+
+ +

Display this help and exit. +

+
+
-V
+
--version
+
+ +

Output version information and exit. +

+
+
+ + + + +

9.10 Invoking the msgexec Program

+ + +
 
msgexec [option] command [command-option]
+
+ + +

The msgexec program applies a command to all translations of a +translation catalog. +The command can be any program that reads a translation from standard +input. It is invoked once for each translation. Its output becomes +msgexec's output. msgexec's return code is the maximum return code +across all invocations. +

+ +

A special builtin command called ‘0’ outputs the translation, followed +by a null byte. The output of ‘msgexec 0’ is suitable as input for +‘xargs -0’. +

+
+
--newline
+
+

Add newline at the end of each input line. +

+
+
+ + + + + + + + + +

During each command invocation, the environment variable +MSGEXEC_MSGID is bound to the message's msgid, and the environment +variable MSGEXEC_LOCATION is bound to the location in the PO file +of the message. If the message has a context, the environment variable +MSGEXEC_MSGCTXT is bound to the message's msgctxt, otherwise it is +unbound. If the message has a plural form, environment variable +MSGEXEC_MSGID_PLURAL is bound to the message's msgid_plural and +MSGEXEC_PLURAL_FORM is bound to the order number of the plural +actually processed (starting with 0), otherwise both are unbound. +If the message has a previous msgid (added by msgmerge), +environment variable MSGEXEC_PREV_MSGCTXT is bound to the +message's previous msgctxt, MSGEXEC_PREV_MSGID is bound to +the previous msgid, and MSGEXEC_PREV_MSGID_PLURAL is bound to +the previous msgid_plural. +

+ +

Note: It is your responsibility to ensure that the command can cope +with input encoded in the translation catalog's encoding. If the +command wants input in a particular encoding, you can in a first step +convert the translation catalog to that encoding using the ‘msgconv’ +program, before invoking ‘msgexec’. If the command wants input +in the locale's encoding, but you want to avoid the locale's encoding, then +you can first convert the translation catalog to UTF-8 using the +‘msgconv’ program and then make ‘msgexec’ work in an UTF-8 +locale, by using the LC_ALL environment variable. +

+ + +

9.10.1 Input file location

+ +
+
-i inputfile
+
--input=inputfile
+
+ +

Input PO file. +

+
+
-D directory
+
--directory=directory
+
+ +

Add directory to the list of directories. Source files are +searched relative to this list of directories. The resulting ‘.po’ +file will be written relative to the current directory, though. +

+
+
+ +

If no inputfile is given or if it is ‘-’, standard input is read. +

+ + +

9.10.2 Input file syntax

+ +
+
-P
+
--properties-input
+
+ +

Assume the input file is a Java ResourceBundle in Java .properties +syntax, not in PO file syntax. +

+
+
--stringtable-input
+
+

Assume the input file is a NeXTstep/GNUstep localized resource file in +.strings syntax, not in PO file syntax. +

+
+
+ + + +

9.10.3 Informative output

+ +
+
-h
+
--help
+
+ +

Display this help and exit. +

+
+
-V
+
--version
+
+ +

Output version information and exit. +

+
+
+ + + + +

9.11 Highlighting parts of PO files

+ +

Translators are usually only interested in seeing the untranslated and +fuzzy messages of a PO file. Also, when a message is set fuzzy because +the msgid changed, they want to see the differences between the previous +msgid and the current one (especially if the msgid is long and only few +words in it have changed). Finally, it's always welcome to highlight the +different sections of a message in a PO file (comments, msgid, msgstr, etc.). +

+

Such highlighting is possible through the options ‘--color’ and +‘--style’. They are supported by all the programs that produce +a PO file on standard output, such as msgcat, msgmerge, +and msgunfmt. +

+ + + + +

9.11.1 The --color option

+ +

The ‘--color=when’ option specifies under which conditions +colorized output should be generated. The when part can be one of +the following: +

+
+
always
+
yes
+

The output will be colorized. +

+
+
never
+
no
+

The output will not be colorized. +

+
+
auto
+
tty
+

The output will be colorized if the output device is a tty, i.e. when the +output goes directly to a text screen or terminal emulator window. +

+
+
html
+

The output will be colorized and be in HTML format. +

+
+
test
+

This is a special value, understood only by the msgcat program. It +is explained in the next section (The environment variable TERM). +

+
+ +

--color’ is equivalent to ‘--color=yes’. The default is +‘--color=auto’. +

+

Thus, a command like ‘msgcat vi.po’ will produce colorized output +when called by itself in a command window. Whereas in a pipe, such as +‘msgcat vi.po | less -R’, it will not produce colorized output. To +get colorized output in this situation nevertheless, use the command +‘msgcat --color vi.po | less -R’. +

+

The ‘--color=html’ option will produce output that can be viewed in +a browser. This can be useful, for example, for Indic languages, +because the renderic of Indic scripts in browsers is usually better than +in terminal emulators. +

+

Note that the output produced with the --color option is not +a valid PO file in itself. It contains additional terminal-specific escape +sequences or HTML tags. A PO file reader will give a syntax error when +confronted with such content. Except for the ‘--color=html’ case, +you therefore normally don't need to save output produced with the +--color option in a file. +

+ + + +

9.11.2 The environment variable TERM

+ +

The environment variable TERM contains a identifier for the text +window's capabilities. You can get a detailed list of these cababilities +by using the ‘infocmp’ command, using ‘man 5 terminfo’ as a +reference. +

+

When producing text with embedded color directives, msgcat looks +at the TERM variable. Text windows today typically support at least +8 colors. Often, however, the text window supports 16 or more colors, +even though the TERM variable is set to a identifier denoting only +8 supported colors. It can be worth setting the TERM variable to +a different value in these cases: +

+
+
xterm
+

xterm is in most cases built with support for 16 colors. It can also +be built with support for 88 or 256 colors (but not both). You can try to +set TERM to either xterm-16color, xterm-88color, or +xterm-256color. +

+
+
rxvt
+

rxvt is often built with support for 16 colors. You can try to set +TERM to rxvt-16color. +

+
+
konsole
+

konsole too is often built with support for 16 colors. You can try to +set TERM to konsole-16color or xterm-16color. +

+
+ +

After setting TERM, you can verify it by invoking +‘msgcat --color=test’ and seeing whether the output looks like a +reasonable color map. +

+ + + +

9.11.3 The --style option

+ +

The ‘--style=style_file’ option specifies the style file to use +when colorizing. It has an effect only when the --color option is +effective. +

+ +

If the --style option is not specified, the environment variable +PO_STYLE is considered. It is meant to point to the user's +preferred style for PO files. +

+

The default style file is ‘$prefix/share/gettext/styles/po-default.css’, +where $prefix is the installation location. +

+

A few style files are predefined: +

+
po-vim.css
+

This style imitates the look used by vim 7. +

+
+
po-emacs-x.css
+

This style imitates the look used by GNU Emacs 21 and 22 in an X11 window. +

+
+
po-emacs-xterm.css
+
po-emacs-xterm16.css
+
po-emacs-xterm256.css
+

This style imitates the look used by GNU Emacs 22 in a terminal of type +‘xterm’ (8 colors) or ‘xterm-16color’ (16 colors) or +‘xterm-256color’ (256 colors), respectively. +

+
+ +

You can use these styles without specifying a directory. They are actually +located in ‘$prefix/share/gettext/styles/’, where $prefix is the +installation location. +

+

You can also design your own styles. This is described in the next section. +

+ + + + +

9.11.4 Style rules for PO files

+ +

The same style file can be used for styling of a PO file, for terminal +output and for HTML output. It is written in CSS (Cascading Style Sheet) +syntax. See https://www.w3.org/TR/css2/cover.html for a formal +definition of CSS. Many HTML authoring tutorials also contain explanations +of CSS. +

+

In the case of HTML output, the style file is embedded in the HTML output. +In the case of text output, the style file is interpreted by the +msgcat program. This means, in particular, that when +@import is used with relative file names, the file names are +

+
    +
  • - +relative to the resulting HTML file, in the case of HTML output, + +
  • - +relative to the style sheet containing the @import, in the case of +text output. (Actually, @imports are not yet supported in this case, +due to a limitation in libcroco.) +
+ +

CSS rules are built up from selectors and declarations. The declarations +specify graphical properties; the selectors specify when they apply. +

+

In PO files, the following simple selectors (based on "CSS classes", see +the CSS2 spec, section 5.8.3) are supported. +

+
    +
  • +Selectors that apply to entire messages: + +
    +
    .header
    +

    This matches the header entry of a PO file. +

    +
    +
    .translated
    +

    This matches a translated message. +

    +
    +
    .untranslated
    +

    This matches an untranslated message (i.e. a message with empty translation). +

    +
    +
    .fuzzy
    +

    This matches a fuzzy message (i.e. a message which has a translation that +needs review by the translator). +

    +
    +
    .obsolete
    +

    This matches an obsolete message (i.e. a message that was translated but is +not needed by the current POT file any more). +

    +
    + +
  • +Selectors that apply to parts of a message in PO syntax. Recall the general +structure of a message in PO syntax: + +
     
    white-space
    +#  translator-comments
    +#. extracted-comments
    +#: reference…
    +#, flag…
    +#| msgid previous-untranslated-string
    +msgid untranslated-string
    +msgstr translated-string
    +
    + +
    +
    .comment
    +

    This matches all comments (translator comments, extracted comments, +source file reference comments, flag comments, previous message comments, +as well as the entire obsolete messages). +

    +
    +
    .translator-comment
    +

    This matches the translator comments. +

    +
    +
    .extracted-comment
    +

    This matches the extracted comments, i.e. the comments placed by the +programmer at the attention of the translator. +

    +
    +
    .reference-comment
    +

    This matches the source file reference comments (entire lines). +

    +
    +
    .reference
    +

    This matches the individual source file references inside the source file +reference comment lines. +

    +
    +
    .flag-comment
    +

    This matches the flag comment lines (entire lines). +

    +
    +
    .flag
    +

    This matches the individual flags inside flag comment lines. +

    +
    +
    .fuzzy-flag
    +

    This matches the `fuzzy' flag inside flag comment lines. +

    +
    +
    .previous-comment
    +

    This matches the comments containing the previous untranslated string (entire +lines). +

    +
    +
    .previous
    +

    This matches the previous untranslated string including the string delimiters, +the associated keywords (msgid etc.) and the spaces between them. +

    +
    +
    .msgid
    +

    This matches the untranslated string including the string delimiters, +the associated keywords (msgid etc.) and the spaces between them. +

    +
    +
    .msgstr
    +

    This matches the translated string including the string delimiters, +the associated keywords (msgstr etc.) and the spaces between them. +

    +
    +
    .keyword
    +

    This matches the keywords (msgid, msgstr, etc.). +

    +
    +
    .string
    +

    This matches strings, including the string delimiters (double quotes). +

    +
    + +
  • +Selectors that apply to parts of strings: + +
    +
    .text
    +

    This matches the entire contents of a string (excluding the string delimiters, +i.e. the double quotes). +

    +
    +
    .escape-sequence
    +

    This matches an escape sequence (starting with a backslash). +

    +
    +
    .format-directive
    +

    This matches a format string directive (starting with a ‘%’ sign in the +case of most programming languages, with a ‘{’ in the case of +java-format and csharp-format, with a ‘~’ in the case of +lisp-format and scheme-format, or with ‘$’ in the case of +sh-format). +

    +
    +
    .invalid-format-directive
    +

    This matches an invalid format string directive. +

    +
    +
    .added
    +

    In an untranslated string, this matches a part of the string that was not +present in the previous untranslated string. (Not yet implemented in this +release.) +

    +
    +
    .changed
    +

    In an untranslated string or in a previous untranslated string, this matches +a part of the string that is changed or replaced. (Not yet implemented in +this release.) +

    +
    +
    .removed
    +

    In a previous untranslated string, this matches a part of the string that +is not present in the current untranslated string. (Not yet implemented in +this release.) +

    +
    +
+ +

These selectors can be combined to hierarchical selectors. For example, +

+
 
.msgstr .invalid-format-directive { color: red; }
+
+ +

will highlight the invalid format directives in the translated strings. +

+

In text mode, pseudo-classes (CSS2 spec, section 5.11) and pseudo-elements +(CSS2 spec, section 5.12) are not supported. +

+

The declarations in HTML mode are not limited; any graphical attribute +supported by the browsers can be used. +

+

The declarations in text mode are limited to the following properties. Other +properties will be silently ignored. +

+
+
color (CSS2 spec, section 14.1)
+
background-color (CSS2 spec, section 14.2.1)
+

These properties is supported. Colors will be adjusted to match the terminal's +capabilities. Note that many terminals support only 8 colors. +

+
+
font-weight (CSS2 spec, section 15.2.3)
+

This property is supported, but most terminals can only render two different +weights: normal and bold. Values >= 600 are rendered as +bold. +

+
+
font-style (CSS2 spec, section 15.2.3)
+

This property is supported. The values italic and oblique are +rendered the same way. +

+
+
text-decoration (CSS2 spec, section 16.3.1)
+

This property is supported, limited to the values none and +underline. +

+
+ + + + +

9.11.5 Customizing less for viewing PO files

+ +

The ‘less’ program is a popular text file browser for use in a text +screen or terminal emulator. It also supports text with embedded escape +sequences for colors and text decorations. +

+

You can use less to view a PO file like this (assuming an UTF-8 +environment): +

+
 
msgcat --to-code=UTF-8 --color xyz.po | less -R
+
+ +

You can simplify this to this simple command: +

+
 
less xyz.po
+
+ +

after these three preparations: +

+
    +
  1. +Add the options ‘-R’ and ‘-f’ to the LESS environment +variable. In sh shells: +
     
    $ LESS="$LESS -R -f"
    +$ export LESS
    +
    + +
  2. +If your system does not already have the ‘lessopen.sh’ and +‘lessclose.sh’ scripts, create them and set the LESSOPEN and +LESSCLOSE environment variables, as indicated in the manual page +(‘man less’). + +
  3. +Add to ‘lessopen.sh’ a piece of script that recognizes PO files +through their file extension and invokes msgcat on them, producing +a temporary file. Like this: + +
     
    case "$1" in
    +  *.po)
    +    tmpfile=`mktemp "${TMPDIR-/tmp}/less.XXXXXX"`
    +    msgcat --to-code=UTF-8 --color "$1" > "$tmpfile"
    +    echo "$tmpfile"
    +    exit 0
    +    ;;
    +esac
    +
    +
+ + + + +

9.12 Other tools for manipulating PO files

+ + +

Pology

+ +

The “Pology” package is a Free Software package for manipulating PO files. +It features, in particular: +

+
    +
  • +Examination and in-place modification of collections of PO files. +
  • +Format-aware diffing and patching of PO files. +
  • +Handling of version-control branches. +
  • +Fine-grained asynchronous review workflow. +
  • +Custom translation validation. +
  • +Language and project specific support. +
+ +

Its home page is at http://pology.nedohodnik.net/. +

+ +

Translate Toolkit

+ +

The “Translate Toolkit” is a Free Software package. +It contains a set of programs to +convert between PO files and other file formats, +merge translations, +and perform various checks. +

+

Its home page is at https://toolkit.translatehouse.org/. +The code is at https://github.com/translate/translate. +

+ + + +

9.13 Writing your own programs that process PO files

+ +

For the tasks for which a combination of ‘msgattrib’, ‘msgcat’ etc. +is not sufficient, a set of C functions is provided in a library, to make it +possible to process PO files in your own programs. When you use this library, +you don't need to write routines to parse the PO file; instead, you retrieve +a pointer in memory to each of messages contained in the PO file. Functions +for writing those memory structures to a file after working with them are +provided too. +

+

The functions are declared in the header file ‘<gettext-po.h>’, and are +defined in a library called ‘libgettextpo’. +

+

The library is multithread-safe in the following sense: +Different threads can safely use the various functions simultaneously on +unrelated data objects. +For example, if several threads have created separate po_file_t objects, +each of them can safely work on its respective po_file_t object, +without caring about the other threads. +

+ +

The following example shows code how these functions can be used. Error +handling code is omitted, as its implementation is delegated to the user +provided functions. +

+
 
struct po_xerror_handler handler =
+  {
+    .xerror = …,
+    .xerror2 = …
+  };
+const char *filename = …;
+/* Read the file into memory.  */
+po_file_t file = po_file_read (filename, &handler);
+
+{
+  const char * const *domains = po_file_domains (file);
+  const char * const *domainp;
+
+  /* Iterate the domains contained in the file.  */
+  for (domainp = domains; *domainp; domainp++)
+    {
+      po_message_t *message;
+      const char *domain = *domainp;
+      po_message_iterator_t iterator = po_message_iterator (file, domain);
+
+      /* Iterate each message inside the domain.  */
+      while ((message = po_next_message (iterator)) != NULL)
+        {
+          /* Read data from the message …  */
+          const char *msgid = po_message_msgid (message);
+          const char *msgstr = po_message_msgstr (message);
+
+          …
+
+          /* Modify its contents …  */
+          if (perform_some_tests (msgid, msgstr))
+            po_message_set_fuzzy (message, 1);
+
+          …
+        }
+      /* Always release returned po_message_iterator_t.  */
+      po_message_iterator_free (iterator);
+    }
+
+  /* Write back the result.  */
+  po_file_t result = po_file_write (file, filename, &handler);
+}
+
+/* Always release the returned po_file_t.  */
+po_file_free (file);
+
+ + + + +

9.13.1 Error Handling

+ +

Error management is performed through callbacks provided by the user of +the library. They are provided through a parameter with the following +type: +

+
+
Data Type: struct po_xerror_handler + +
+

Its pointer is defined as po_xerror_handler_t. Contains +two fields, xerror and xerror2, with the following function +signatures. +

+ +
+
Function: void xerror (int severity, po_message_t message, const char *filename, size_t lineno, size_t column, int multiline_p, const char *message_text) + +
+

This function is called to signal a problem of the given severity. +It must not return if severity is +PO_SEVERITY_FATAL_ERROR. +

+

message_text is the problem description. When multiline_p +is true, it can contain multiple lines of text, each terminated with a +newline, otherwise a single line. +

+

message and/or filename and lineno indicate where the +problem occurred: +

+
    +
  • +If filename is NULL, filename and lineno and +column should be ignored. + +
  • +If lineno is (size_t)(-1), lineno and column +should be ignored. + +
  • +If column is (size_t)(-1), it should be ignored. +
+
+ +
+
Function: void xerror2 (int severity, po_message_t message1, const char *filename1, size_t lineno1, size_t column1, int multiline_p1, const char *message_text1, po_message_t message2, const char *filename2, size_t lineno2, size_t column2, int multiline_p2, const char *message_text2) + +
+

This function is called to signal a problem of the given severity +that refers to two messages. It must not return if +severity is PO_SEVERITY_FATAL_ERROR. +

+

It is similar to two calls to xerror. If possible, an ellipsis can be +appended to message_text1 and prepended to message_text2. +

+ + + + +

9.13.2 po_file_t API

+ +
+
Data Type: po_file_t + +
+

This is a pointer type that refers to the contents of a PO file, after it has +been read into memory. +

+ +
+
Function: po_file_t po_file_create () + +
+

The po_file_create function creates an empty PO file representation in +memory. +

+ +
+
Function: po_file_t po_file_read (const char *filename, struct po_xerror_handler *handler) + +
+

The po_file_read function reads a PO file into memory. The file name +is given as argument. The return value is a handle to the PO file's contents, +valid until po_file_free is called on it. In case of error, the +functions from handler are called to signal it. +

+

This function is exported as ‘po_file_read_v3’ at ABI level, but is +defined as po_file_read in C code after the inclusion of +‘<gettext-po.h>’. +

+ +
+
Function: po_file_t po_file_write (po_file_t file, const char *filename, struct po_xerror_handler *handler) + +
+

The po_file_write function writes the contents of the memory +structure file the filename given. The return value is +file after a successful operation. In case of error, the +functions from handler are called to signal it. +

+

This function is exported as ‘po_file_write_v2’ at ABI level, but +is defined as po_file_write in C code after the inclusion of +‘<gettext-po.h>’. +

+ +
+
Function: void po_file_free (po_file_t file) + +
+

The po_file_free function frees a PO file's contents from memory, +including all messages that are only implicitly accessible through iterators. +

+ +
+
Function: const char * const * po_file_domains (po_file_t file) + +
+

The po_file_domains function returns the domains for which the given +PO file has messages. The return value is a NULL terminated array +which is valid as long as the file handle is valid. For PO files which +contain no ‘domain’ directive, the return value contains only one domain, +namely the default domain "messages". +

+ + + + +

9.13.3 po_message_iterator_t API

+ +
+
Data Type: po_message_iterator_t + +
+

This is a pointer type that refers to an iterator that produces a sequence of +messages. +

+ +
+
Function: po_message_iterator_t po_message_iterator (po_file_t file, const char *domain) + +
+

The po_message_iterator returns an iterator that will produce the +messages of file that belong to the given domain. If domain +is NULL, the default domain is used instead. To list the messages, +use the function po_next_message repeatedly. +

+ +
+
Function: void po_message_iterator_free (po_message_iterator_t iterator) + +
+

The po_message_iterator_free function frees an iterator previously +allocated through the po_message_iterator function. +

+ +
+
Function: po_message_t po_next_message (po_message_iterator_t iterator) + +
+

The po_next_message function returns the next message from +iterator and advances the iterator. It returns NULL when the +iterator has reached the end of its message list. +

+ + + + +

9.13.4 po_message_t API

+ +
+
Data Type: po_message_t + +
+

This is a pointer type that refers to a message of a PO file, including its +translation. +

+ +
+
Function: po_message_t po_message_create (void) + +
+

Returns a freshly constructed message. To finish initializing the +message, you must set the msgid and msgstr. It must be +inserted into a file to manage its memory, as there is no +po_message_free available to the user of the library. +

+ +

The following functions access details of a po_message_t. Recall +that the results are valid as long as the file handle is valid. +

+
+
Function: const char * po_message_msgctxt (po_message_t message) + +
+

The po_message_msgctxt function returns the msgctxt, the +context of message. Returns NULL for a message not restricted +to a context. +

+ +
+
Function: void po_message_set_msgctxt (po_message_t message, const char *msgctxt) + +
+

The po_message_set_msgctxt function changes the msgctxt, +the context of the message, to the value provided through +msgctxt. The value NULL removes the restriction. +

+ +
+
Function: const char * po_message_msgid (po_message_t message) + +
+

The po_message_msgid function returns the msgid (untranslated +English string) of message. This is guaranteed to be non-NULL. +

+ +
+
Function: void po_message_set_msgid (po_message_t message, const char *msgid) + +
+

The po_message_set_msgid function changes the msgid +(untranslated English string) of message to the value provided through +msgid, a non-NULL string. +

+ +
+
Function: const char * po_message_msgid_plural (po_message_t message) + +
+

The po_message_msgid_plural function returns the msgid_plural +(untranslated English plural string) of message, a message with plurals, +or NULL for a message without plural. +

+ +
+
Function: void po_message_set_msgid_plural (po_message_t message, const char *msgid_plural) + +
+

The po_message_set_msgid_plural function changes the +msgid_plural (untranslated English plural string) of a message to +the value provided through msgid_plural, or removes the plurals if +NULL is provided as msgid_plural. +

+ +
+
Function: const char * po_message_msgstr (po_message_t message) + +
+

The po_message_msgstr function returns the msgstr (translation) +of message. For an untranslated message, the return value is an empty +string. +

+ +
+
Function: void po_message_set_msgstr (po_message_t message, const char *msgstr) + +
+

The po_message_set_msgstr function changes the msgstr +(translation) of message to the value provided through msgstr, a +non-NULL string. +

+ +
+
Function: const char * po_message_msgstr_plural (po_message_t message, int index) + +
+

The po_message_msgstr_plural function returns the +msgstr[index] of message, a message with plurals, or +NULL when the index is out of range or for a message without +plural. +

+ +
+
Function: void po_message_set_msgstr_plural (po_message_t message, int index, const char *msgstr_plural) + +
+

The po_message_set_msgstr_plural function changes the +msgstr[index] of message, a message with plurals, to +the value provided through msgstr_plural. message must be a +message with plurals. +Use NULL as the value of msgstr_plural with +index pointing to the last element to reduce the number of plural +forms. +

+ +
+
Function: const char * po_message_comments (po_message_t message) + +
+

The po_message_comments function returns the comments of message, +a multiline string, ending in a newline, or a non-NULL empty string. +

+ +
+
Function: void po_message_set_comments (po_message_t message, const char *comments) + +
+

The po_message_set_comments function changes the comments of +message to the value comments, a multiline string, ending in a +newline, or a non-NULL empty string. +

+ +
+
Function: const char * po_message_extracted_comments (po_message_t message) + +
+

The po_message_extracted_comments function returns the extracted +comments of message, a multiline string, ending in a newline, or a +non-NULL empty string. +

+ +
+
Function: void po_message_set_extracted_comments (po_message_t message, const char *extracted_comments) + +
+

The po_message_set_extracted_comments function changes the +comments of message to the value extracted_comments, a multiline +string, ending in a newline, or a non-NULL empty string. +

+ +
+
Function: const char * po_message_prev_msgctxt (po_message_t message) + +
+

The po_message_prev_msgctxt function returns the previous +msgctxt, the previous context of message. Return +NULL for a message that does not have a previous context. +

+ +
+
Function: void po_message_set_prev_msgctxt (po_message_t message, const char *prev_msgctxt) + +
+

The po_message_set_prev_msgctxt function changes the previous +msgctxt, the context of the message, to the value provided +through prev_msgctxt. The value NULL removes the stored +previous msgctxt. +

+ +
+
Function: const char * po_message_prev_msgid (po_message_t message) + +
+

The po_message_prev_msgid function returns the previous +msgid (untranslated English string) of message, or +NULL if there is no previous msgid stored. +

+ +
+
Function: void po_message_set_prev_msgid (po_message_t message, const char *prev_msgid) + +
+

The po_message_set_prev_msgid function changes the previous +msgid (untranslated English string) of message to the value +provided through prev_msgid, or removes the message when it is +NULL. +

+ +
+
Function: const char * po_message_prev_msgid_plural (po_message_t message) + +
+

The po_message_prev_msgid_plural function returns the previous +msgid_plural (untranslated English plural string) of +message, a message with plurals, or NULL for a message +without plural without any stored previous msgid_plural. +

+ +
+
Function: void po_message_set_prev_msgid_plural (po_message_t message, const char *prev_msgid_plural) + +
+

The po_message_set_prev_msgid_plural function changes the +previous msgid_plural (untranslated English plural string) of a +message to the value provided through prev_msgid_plural, or +removes the stored previous msgid_plural if NULL is +provided as prev_msgid_plural. +

+ +
+
Function: int po_message_is_obsolete (po_message_t message) + +
+

The po_message_is_obsolete function returns true when message +is marked as obsolete. +

+ +
+
Function: void po_message_set_obsolete (po_message_t message, int obsolete) + +
+

The po_message_set_obsolete function changes the obsolete mark of +message. +

+ +
+
Function: int po_message_is_fuzzy (po_message_t message) + +
+

The po_message_is_fuzzy function returns true when message +is marked as fuzzy. +

+ +
+
Function: void po_message_set_fuzzy (po_message_t message, int fuzzy) + +
+

The po_message_set_fuzzy function changes the fuzzy mark of +message. +

+ +
+
Function: int po_message_is_format (po_message_t message, const char *format_type) + +
+

The po_message_is_format function returns true when the message +is marked as being a format string of format_type. +

+ +
+
Function: void po_message_set_format (po_message_t message, const char *format_type, int value) + +
+

The po_message_set_format function changes +the format string mark of the message for the format_type provided. +Pass value = 1 +to assert the format string mark (leading to e.g. ‘c-format’), +value = 0 +to assert the opposite (leading to e.g. ‘no-c-format’), +or value = -1 +to remove the format string mark and its opposite. +

+ +
+
Function: int po_message_is_range (po_message_t message, int *minp, int *maxp) + +
+

The po_message_is_range function returns true when the message +has a numeric range set, and stores the minimum and maximum value in the +locations pointed by minp and maxp respectively. +

+ +
+
Function: void po_message_set_range (po_message_t message, int min, int max) + +
+

The po_message_set_range function changes the numeric range of +the message. min and max must be non-negative, with +min < max. Use min and max with value -1 +to remove the numeric range of message. +

+ + + + +

9.13.5 PO Header Entry API

+ +

The following functions provide an interface to extract and manipulate +the header entry (see section Filling in the Header Entry) from a file loaded in memory. +The meta information must be written back into the domain message with +the empty string as msgid. +

+
+
Function: const char * po_file_domain_header (po_file_t file, const char *domain) + +
+

Returns the header entry of a domain from file, a PO file loaded in +memory. The value NULL provided as domain denotes the +default domain. Returns NULL if there is no header entry. +

+ +
+
Function: char * po_header_field (const char *header, const char *field) + +
+

Returns the value of field in the header entry. The return +value is either a freshly allocated string, to be freed by the caller, +or NULL. +

+ +
+
Function: char * po_header_set_field (const char *header, const char *field, const char *value) + +
+

Returns a freshly allocated string which contains the entry from +header with field set to value. The field is added if +necessary. +

+ + + + +

9.13.6 po_filepos_t API

+ +
+
Data Type: po_filepos_t + +
+

This is a pointer type that refers to a string's position within a +source file. +

+ +

The following functions provide an interface to extract and manipulate +these references. +

+
+
Function: po_filepos_t po_message_filepos (po_message_t message, int index) + +
+

Returns the file reference in position index from the message. If +index is out of range, returns NULL. +

+ +
+
Function: void po_message_remove_filepos (po_message_t message, int index) + +
+

Removes the file reference in position index from the message. It +moves all references following index one position backwards. +

+ +
+
Function: void po_message_add_filepos (po_message_t message, const char *file, size_t start_line) + +
+

Adds a reference to the string from file starting at +start_line, if it is not already present for the message. The +value (size_t)(-1) for start_line denotes that the line +number is not available. +

+ + + + +

9.13.7 Format Type API

+ +
+
Function: const char * const * po_format_list (void) + +
+

Returns a NULL terminated array of the supported format types. +

+ +
+
Function: const char * po_format_pretty_name (const char *format_type) + +
+

Returns the pretty name associated with format_type. For example, +it returns “C#” when format_type is “csharp_format”. +Return NULL if format_type is not a supported format type. +

+ + + + +

9.13.8 Checking API

+ +
+
Function: void po_file_check_all (po_file_t file, po_xerror_handler_t handler) + +
+

Tests whether the entire file is valid, like msgfmt does it. If it +is invalid, passes the reasons to handler. +

+ +
+
Function: void po_message_check_all (po_message_t message, po_message_iterator_t iterator, po_xerror_handler_t handler) + +
+

Tests message, to be inserted at iterator in a PO file in memory, +like msgfmt does it. If it is invalid, passes the reasons to +handler. iterator is not modified by this call; it only +specifies the file and the domain. +

+ +
+
Function: void po_message_check_format (po_message_t message, po_xerror_handler_t handler) + +
+

Tests whether the message translation from message is a valid +format string if the message is marked as being a format string. If it +is invalid, passes the reasons to handler. +

+

This function is exported as ‘po_message_check_format_v2’ at ABI +level, but is defined as po_message_check_format in C code after +the inclusion of ‘<gettext-po.h>’. +

+ + + + + + + + + + + + + + +
[ << ][ >> ]           [Top][Contents][Index][ ? ]
+

+ + This document was generated by Bruno Haible on July, 2 2025 using texi2html 1.78a. + +
+ +

+ + diff --git a/miniconda3/share/doc/gettext/gettext_abt.html b/miniconda3/share/doc/gettext/gettext_abt.html new file mode 100644 index 0000000000000000000000000000000000000000..3ffc8ac94c4ce4acfeb0883c5cfbca0762cf7c97 --- /dev/null +++ b/miniconda3/share/doc/gettext/gettext_abt.html @@ -0,0 +1,167 @@ + + + + + +GNU gettext utilities: About This Document + + + + + + + + + + + + + + + + + + + + +
[Top][Contents][Index][ ? ]
+

About This Document

+

+ This document was generated by Bruno Haible on July, 2 2025 using texi2html 1.78a. +

+

+ The buttons in the navigation panels have the following meaning: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Button Name Go to From 1.2.3 go to
[ < ] BackPrevious section in reading order1.2.2
[ > ] ForwardNext section in reading order1.2.4
[ << ] FastBackBeginning of this chapter or previous chapter1
[ Up ] UpUp section1.2
[ >> ] FastForwardNext chapter2
[Top] TopCover (top) of document  
[Contents] ContentsTable of contents  
[Index] IndexIndex  
[ ? ] AboutAbout (help)  
+ +

+ where the Example assumes that the current position is at Subsubsection One-Two-Three of a document of the following structure: +

+ +
    +
  • 1. Section One +
      +
    • 1.1 Subsection One-One +
        +
      • ...
      • +
      +
    • +
    • 1.2 Subsection One-Two +
        +
      • 1.2.1 Subsubsection One-Two-One
      • +
      • 1.2.2 Subsubsection One-Two-Two
      • +
      • 1.2.3 Subsubsection One-Two-Three     + <== Current Position
      • +
      • 1.2.4 Subsubsection One-Two-Four
      • +
      +
    • +
    • 1.3 Subsection One-Three +
        +
      • ...
      • +
      +
    • +
    • 1.4 Subsection One-Four
    • +
    +
  • +
+ +
+ + + + + +
[Top][Contents][Index][ ? ]
+

+ + This document was generated by Bruno Haible on July, 2 2025 using texi2html 1.78a. + +
+ +

+ + diff --git a/miniconda3/share/doc/gettext/gettext_fot.html b/miniconda3/share/doc/gettext/gettext_fot.html new file mode 100644 index 0000000000000000000000000000000000000000..fc7126e6afc79b5a9fd1d62b166b59ce67cc24c1 --- /dev/null +++ b/miniconda3/share/doc/gettext/gettext_fot.html @@ -0,0 +1,101 @@ + + + + + +GNU gettext utilities: Footnotes + + + + + + + + + + + + + + + + + + + + +
[Top][Contents][Index][ ? ]
+

Footnotes

+

(1)

+

In this manual, all mentions of Emacs +refers to either GNU Emacs or to XEmacs, which people sometimes call FSF +Emacs and Lucid Emacs, respectively. +

(2)

+

This +limitation is not imposed by GNU gettext, but is for compatibility +with the msgfmt implementation on Solaris. +

(3)

+

Some +system, e.g. mingw, don't have LC_MESSAGES. Here we use a more or +less arbitrary value for it, namely 1729, the smallest positive integer +which can be represented in two different ways as the sum of two cubes. +

(4)

+

When the system does not support setlocale its behavior +in setting the locale values is simulated by looking at the environment +variables. +

(5)

+

Additions are welcome. Send appropriate information to +bug-gettext@gnu.org and bug-glibc-manual@gnu.org. +The Unicode CLDR Project (http://cldr.unicode.org) provides a +comprehensive set of plural forms in a different format. The +msginit program has preliminary support for the format so you can +use it as a baseline (see section Invoking the msginit Program). +

(6)

+

you can also use it through the +‘MSGMERGE_OPTIONS’ option from ‘Makevars’ +

(7)

+

Note that the file name matching is done after +removing any .in suffix from the input file name. Thus the +pattern attribute must not include a pattern matching .in. +For example, if the input file name is ‘foo.msg.in’, the pattern +should be either *.msg or just *, rather than +*.in. +


+ + + + + +
[Top][Contents][Index][ ? ]
+

+ + This document was generated by Bruno Haible on July, 2 2025 using texi2html 1.78a. + +
+ +

+ + diff --git a/miniconda3/share/doc/gettext/gettext_toc.html b/miniconda3/share/doc/gettext/gettext_toc.html new file mode 100644 index 0000000000000000000000000000000000000000..5cd9faab3980741351575ce4a0380dcdb6c5f960 --- /dev/null +++ b/miniconda3/share/doc/gettext/gettext_toc.html @@ -0,0 +1,606 @@ + + + + + +GNU gettext utilities: GNU gettext utilities + + + + + + + + + + + + + + + + + + + +
[Top][Contents][Index][ ? ]
+

GNU gettext utilities

+ +

Table of Contents

+
+ + +
+ + + + +

This manual documents the GNU gettext tools and the GNU libintl library, +version 0.25.1. +

+ + +
+ + + + + +
[Top][Contents][Index][ ? ]
+

+ + This document was generated by Bruno Haible on July, 2 2025 using texi2html 1.78a. + +
+ +

+ + diff --git a/miniconda3/share/doc/gettext/gettextize.1.html b/miniconda3/share/doc/gettext/gettextize.1.html new file mode 100644 index 0000000000000000000000000000000000000000..7a9bb2219ea3832efd28aa53ad70f64564411aeb --- /dev/null +++ b/miniconda3/share/doc/gettext/gettextize.1.html @@ -0,0 +1,166 @@ + + + + + + + + +GETTEXTIZE + + + + +

GETTEXTIZE

+ +NAME
+SYNOPSIS
+DESCRIPTION
+OPTIONS
+AUTHOR
+REPORTING BUGS
+COPYRIGHT
+SEE ALSO
+ +
+ + +

NAME + +

+ + +

gettextize +- install or upgrade gettext infrastructure

+ +

SYNOPSIS + +

+ + + +

gettextize +[OPTION]... [package-dir]

+ +

DESCRIPTION + +

+ + +

Prepares a +source package to use gettext.

+ +

OPTIONS + +

+ + + + + + + + + +
+ + +

--help

+ + +

print this help and exit

+
+ + +

--version

+ +

print version information and +exit

+ +

-f, +--force

+ +

force writing of new files even +if old exist

+ + +

--po-dir=DIR

+ +

specify directory with PO +files

+ + +

--no-changelog

+ +

don’t update or create +ChangeLog files

+ + +

--symlink

+ +

make symbolic links instead of +copying files

+ +

-n, +--dry-run

+ +

print modifications but +don’t perform them

+ +

AUTHOR + +

+ + +

Written by +Ulrich Drepper

+ +

REPORTING BUGS + +

+ + +

Report bugs in +the bug tracker at +<https://savannah.gnu.org/projects/gettext> or by +email to <bug-gettext@gnu.org>.

+ +

COPYRIGHT + +

+ + +

Copyright +© 1995-2025 Free Software Foundation, Inc. +License GPLv3+: GNU GPL version 3 or later +<https://gnu.org/licenses/gpl.html>
+This is free software: you are free to change and +redistribute it. There is NO WARRANTY, to the extent +permitted by law.

+ +

SEE ALSO + +

+ + +

The full +documentation for gettextize is maintained as a +Texinfo manual. If the info and gettextize +programs are properly installed at your site, the +command

+ +

info +gettextize

+ +

should give you +access to the complete manual.

+
+ + diff --git a/miniconda3/share/doc/gettext/msgattrib.1.html b/miniconda3/share/doc/gettext/msgattrib.1.html new file mode 100644 index 0000000000000000000000000000000000000000..81de5bd059d3adfb7841bd0cc1d0df380f39f159 --- /dev/null +++ b/miniconda3/share/doc/gettext/msgattrib.1.html @@ -0,0 +1,366 @@ + + + + + + + + +MSGATTRIB + + + + +

MSGATTRIB

+ +NAME
+SYNOPSIS
+DESCRIPTION
+AUTHOR
+REPORTING BUGS
+COPYRIGHT
+SEE ALSO
+ +
+ + +

NAME + +

+ + +

msgattrib +- attribute matching and manipulation on message +catalog

+ +

SYNOPSIS + +

+ + + +

msgattrib +[OPTION] [INPUTFILE]

+ +

DESCRIPTION + +

+ + +

Filters the +messages of a translation catalog according to their +attributes, and manipulates the attributes.

+ +

Mandatory +arguments to long options are mandatory for short options +too.

+ +

Input file +location:
+INPUTFILE

+ +

input PO file

+ +

-D, +--directory=DIRECTORY

+ +

add DIRECTORY to list for input +files search

+ +

If no input +file is given or if it is -, standard input is +read.

+ +

Output file +location:
+-o
, +--output-file=FILE

+ +

write output to specified +file

+ +

The results are +written to standard output if no output file is specified or +if it is -.

+ +

Message +selection:
+--translated

+ +

keep translated, remove +untranslated messages

+ + +

--untranslated

+ +

keep untranslated, remove +translated messages

+ + +

--no-fuzzy

+ +

remove ’fuzzy’ +marked messages

+ + +

--only-fuzzy

+ +

keep ’fuzzy’ marked +messages

+ + +

--no-obsolete

+ +

remove obsolete #~ messages

+ + +

--only-obsolete

+ +

keep obsolete #~ messages

+ +

Attribute +manipulation:
+--set-fuzzy

+ +

set all messages +’fuzzy’

+ + +

--clear-fuzzy

+ +

set all messages +non-’fuzzy’

+ + +

--set-obsolete

+ +

set all messages obsolete

+ + +

--clear-obsolete

+ +

set all messages +non-obsolete

+ + +

--previous

+ +

when setting +’fuzzy’, keep previous msgids of translated +messages.

+ + +

--clear-previous

+ +

remove the "previous +msgid" from all messages

+ +

--empty

+ +

when removing +’fuzzy’, also set msgstr empty

+ + +

--only-file=FILE.po

+ +

manipulate only entries listed +in FILE.po

+ + +

--ignore-file=FILE.po

+ +

manipulate only entries not +listed in FILE.po

+ +

--fuzzy

+ +

synonym for +--only-fuzzy +--clear-fuzzy

+ + +

--obsolete

+ +

synonym for +--only-obsolete +--clear-obsolete

+ +

Input file +syntax:
+-P
, +--properties-input

+ +

input file is in Java +.properties syntax

+ + +

--stringtable-input

+ +

input file is in +NeXTstep/GNUstep .strings syntax

+ +

Output +details:
+--color

+ +

use colors and other text +attributes always

+ + +

--color=WHEN

+ +

use colors and other text +attributes if WHEN. WHEN may be ’always’, +’never’, ’auto’, or +’html’.

+ + +

--style=STYLEFILE

+ +

specify CSS style rule file for +--color

+ +

-e, +--no-escape

+ +

do not use C escapes in output +(default)

+ +

-E, +--escape

+ +

use C escapes in output, no +extended chars

+ + +

--force-po

+ +

write PO file even if empty

+ +

-i, +--indent

+ +

write the .po file using +indented style

+ + +

--no-location

+ +

do not write ’#: +filename:line’ lines

+ +

-n, +--add-location

+ +

generate ’#: +filename:line’ lines (default)

+ + +

--strict

+ +

write out strict Uniforum +conforming .po file

+ +

-p, +--properties-output

+ +

write out a Java .properties +file

+ + +

--stringtable-output

+ +

write out a NeXTstep/GNUstep +.strings file

+ +

-w, +--width=NUMBER

+ +

set output page width

+ + +

--no-wrap

+ +

do not break long message +lines, longer than the output page width, into several +lines

+ +

-s, +--sort-output

+ +

generate sorted output

+ +

-F, +--sort-by-file

+ +

sort output by file +location

+ +

Informative +output:
+-h
, --help

+ +

display this help and exit

+ +

-V, +--version

+ +

output version information and +exit

+ +

AUTHOR + +

+ + +

Written by +Bruno Haible.

+ +

REPORTING BUGS + +

+ + +

Report bugs in +the bug tracker at +<https://savannah.gnu.org/projects/gettext> or by +email to <bug-gettext@gnu.org>.

+ +

COPYRIGHT + +

+ + +

Copyright +© 2001-2025 Free Software Foundation, Inc. +License GPLv3+: GNU GPL version 3 or later +<https://gnu.org/licenses/gpl.html>
+This is free software: you are free to change and +redistribute it. There is NO WARRANTY, to the extent +permitted by law.

+ +

SEE ALSO + +

+ + +

The full +documentation for msgattrib is maintained as a +Texinfo manual. If the info and msgattrib +programs are properly installed at your site, the +command

+ +

info +msgattrib

+ +

should give you +access to the complete manual.

+
+ + diff --git a/miniconda3/share/doc/gettext/msgcat.1.html b/miniconda3/share/doc/gettext/msgcat.1.html new file mode 100644 index 0000000000000000000000000000000000000000..311b9b4092bce2854b49a0fd7e2b90d12895ebcb --- /dev/null +++ b/miniconda3/share/doc/gettext/msgcat.1.html @@ -0,0 +1,314 @@ + + + + + + + + +MSGCAT + + + + +

MSGCAT

+ +NAME
+SYNOPSIS
+DESCRIPTION
+AUTHOR
+REPORTING BUGS
+COPYRIGHT
+SEE ALSO
+ +
+ + +

NAME + +

+ + +

msgcat - +combines several message catalogs

+ +

SYNOPSIS + +

+ + +

msgcat +[OPTION] [INPUTFILE]...

+ +

DESCRIPTION + +

+ + +

Concatenates +and merges the specified PO files. Find messages which are +common to two or more of the specified PO files. By using +the --more-than option, greater +commonality may be requested before messages are printed. +Conversely, the --less-than option +may be used to specify less commonality before messages are +printed (i.e. --less-than=2 +will only print the unique messages). Translations, +comments, extracted comments, and file positions will be +cumulated, except that if +--use-first is specified, they will +be taken from the first PO file to define them.

+ +

Mandatory +arguments to long options are mandatory for short options +too.

+ +

Input file +location:
+INPUTFILE ...

+ +

input files

+ +

-f, +--files-from=FILE

+ +

get list of input files from +FILE

+ +

-D, +--directory=DIRECTORY

+ +

add DIRECTORY to list for input +files search

+ +

If input file +is -, standard input is read.

+ +

Output file +location:
+-o
, +--output-file=FILE

+ +

write output to specified +file

+ +

The results are +written to standard output if no output file is specified or +if it is -.

+ +

Message +selection:
+-<, +--less-than=NUMBER

+ +

print messages with less than +this many definitions, defaults to infinite if not set

+ +

->, +--more-than=NUMBER

+ +

print messages with more than +this many definitions, defaults to 0 if not set

+ +

-u, +--unique

+ +

shorthand for +--less-than=2, requests that +only unique messages be printed

+ +

Input file +syntax:
+-P
, +--properties-input

+ +

input files are in Java +.properties syntax

+ + +

--stringtable-input

+ +

input files are in +NeXTstep/GNUstep .strings syntax

+ +

Output +details:
+-t
, +--to-code=NAME

+ +

encoding for output

+ + +

--use-first

+ +

use first available translation +for each message, don’t merge several translations

+ + +

--lang=CATALOGNAME

+ +

set ’Language’ +field in the header entry

+ +

--color

+ +

use colors and other text +attributes always

+ + +

--color=WHEN

+ +

use colors and other text +attributes if WHEN. WHEN may be ’always’, +’never’, ’auto’, or +’html’.

+ + +

--style=STYLEFILE

+ +

specify CSS style rule file for +--color

+ +

-e, +--no-escape

+ +

do not use C escapes in output +(default)

+ +

-E, +--escape

+ +

use C escapes in output, no +extended chars

+ + +

--force-po

+ +

write PO file even if empty

+ +

-i, +--indent

+ +

write the .po file using +indented style

+ + +

--no-location

+ +

do not write ’#: +filename:line’ lines

+ +

-n, +--add-location

+ +

generate ’#: +filename:line’ lines (default)

+ + +

--strict

+ +

write out strict Uniforum +conforming .po file

+ +

-p, +--properties-output

+ +

write out a Java .properties +file

+ + +

--stringtable-output

+ +

write out a NeXTstep/GNUstep +.strings file

+ +

-w, +--width=NUMBER

+ +

set output page width

+ + +

--no-wrap

+ +

do not break long message +lines, longer than the output page width, into several +lines

+ +

-s, +--sort-output

+ +

generate sorted output

+ +

-F, +--sort-by-file

+ +

sort output by file +location

+ +

Informative +output:
+-h
, --help

+ +

display this help and exit

+ +

-V, +--version

+ +

output version information and +exit

+ +

AUTHOR + +

+ + +

Written by +Bruno Haible.

+ +

REPORTING BUGS + +

+ + +

Report bugs in +the bug tracker at +<https://savannah.gnu.org/projects/gettext> or by +email to <bug-gettext@gnu.org>.

+ +

COPYRIGHT + +

+ + +

Copyright +© 2001-2025 Free Software Foundation, Inc. +License GPLv3+: GNU GPL version 3 or later +<https://gnu.org/licenses/gpl.html>
+This is free software: you are free to change and +redistribute it. There is NO WARRANTY, to the extent +permitted by law.

+ +

SEE ALSO + +

+ + +

The full +documentation for msgcat is maintained as a Texinfo +manual. If the info and msgcat programs are +properly installed at your site, the command

+ +

info +msgcat

+ +

should give you +access to the complete manual.

+
+ + diff --git a/miniconda3/share/doc/gettext/msgcmp.1.html b/miniconda3/share/doc/gettext/msgcmp.1.html new file mode 100644 index 0000000000000000000000000000000000000000..85242674b3c671e35ac6609a9a7ef0828509411c --- /dev/null +++ b/miniconda3/share/doc/gettext/msgcmp.1.html @@ -0,0 +1,195 @@ + + + + + + + + +MSGCMP + + + + +

MSGCMP

+ +NAME
+SYNOPSIS
+DESCRIPTION
+AUTHOR
+REPORTING BUGS
+COPYRIGHT
+SEE ALSO
+ +
+ + +

NAME + +

+ + +

msgcmp - +compare message catalog and template

+ +

SYNOPSIS + +

+ + +

msgcmp +[OPTION] def.po ref.pot

+ +

DESCRIPTION + +

+ + +

Compare two +Uniforum style .po files to check that both contain the same +set of msgid strings. The def.po file is an existing PO file +with the translations. The ref.pot file is the last created +PO file, or a PO Template file (generally created by +xgettext). This is useful for checking that you have +translated each and every message in your program. Where an +exact match cannot be found, fuzzy matching is used to +produce better diagnostics.

+ +

Mandatory +arguments to long options are mandatory for short options +too.

+ +

Input file +location:

+ + + + + + + + +
+ + +

def.po

+ + +

translations

+
+ +

ref.pot

+ +

references to the sources

+ +

-D, +--directory=DIRECTORY

+ +

add DIRECTORY to list for input +files search

+ +

Operation +modifiers:
+-m
, --multi-domain

+ +

apply ref.pot to each of the +domains in def.po

+ +

-N, +--no-fuzzy-matching

+ +

do not use fuzzy matching

+ + +

--use-fuzzy

+ +

consider fuzzy entries

+ + +

--use-untranslated

+ +

consider untranslated +entries

+ +

Input file +syntax:
+-P
, +--properties-input

+ +

input files are in Java +.properties syntax

+ + +

--stringtable-input

+ +

input files are in +NeXTstep/GNUstep .strings syntax

+ +

Informative +output:
+-h
, --help

+ +

display this help and exit

+ +

-V, +--version

+ +

output version information and +exit

+ +

AUTHOR + +

+ + +

Written by +Peter Miller.

+ +

REPORTING BUGS + +

+ + +

Report bugs in +the bug tracker at +<https://savannah.gnu.org/projects/gettext> or by +email to <bug-gettext@gnu.org>.

+ +

COPYRIGHT + +

+ + +

Copyright +© 1995-2025 Free Software Foundation, Inc. +License GPLv3+: GNU GPL version 3 or later +<https://gnu.org/licenses/gpl.html>
+This is free software: you are free to change and +redistribute it. There is NO WARRANTY, to the extent +permitted by law.

+ +

SEE ALSO + +

+ + +

The full +documentation for msgcmp is maintained as a Texinfo +manual. If the info and msgcmp programs are +properly installed at your site, the command

+ +

info +msgcmp

+ +

should give you +access to the complete manual.

+
+ + diff --git a/miniconda3/share/doc/gettext/msgcomm.1.html b/miniconda3/share/doc/gettext/msgcomm.1.html new file mode 100644 index 0000000000000000000000000000000000000000..71e3d7966569b39df744b9efe4309af0c59d05f8 --- /dev/null +++ b/miniconda3/share/doc/gettext/msgcomm.1.html @@ -0,0 +1,302 @@ + + + + + + + + +MSGCOMM + + + + +

MSGCOMM

+ +NAME
+SYNOPSIS
+DESCRIPTION
+AUTHOR
+REPORTING BUGS
+COPYRIGHT
+SEE ALSO
+ +
+ + +

NAME + +

+ + +

msgcomm - +match two message catalogs

+ +

SYNOPSIS + +

+ + +

msgcomm +[OPTION] [INPUTFILE]...

+ +

DESCRIPTION + +

+ + +

Find messages +which are common to two or more of the specified PO files. +By using the --more-than option, +greater commonality may be requested before messages are +printed. Conversely, the +--less-than option may be used to +specify less commonality before messages are printed (i.e. +--less-than=2 will only +print the unique messages). Translations, comments and +extracted comments will be preserved, but only from the +first PO file to define them. File positions from all PO +files will be cumulated.

+ +

Mandatory +arguments to long options are mandatory for short options +too.

+ +

Input file +location:
+INPUTFILE ...

+ +

input files

+ +

-f, +--files-from=FILE

+ +

get list of input files from +FILE

+ +

-D, +--directory=DIRECTORY

+ +

add DIRECTORY to list for input +files search

+ +

If input file +is -, standard input is read.

+ +

Output file +location:
+-o
, +--output-file=FILE

+ +

write output to specified +file

+ +

The results are +written to standard output if no output file is specified or +if it is -.

+ +

Message +selection:
+-<, +--less-than=NUMBER

+ +

print messages with less than +this many definitions, defaults to infinite if not set

+ +

->, +--more-than=NUMBER

+ +

print messages with more than +this many definitions, defaults to 1 if not set

+ +

-u, +--unique

+ +

shorthand for +--less-than=2, requests that +only unique messages be printed

+ +

Input file +syntax:
+-P
, +--properties-input

+ +

input files are in Java +.properties syntax

+ + +

--stringtable-input

+ +

input files are in +NeXTstep/GNUstep .strings syntax

+ +

Output +details:
+--color

+ +

use colors and other text +attributes always

+ + +

--color=WHEN

+ +

use colors and other text +attributes if WHEN. WHEN may be ’always’, +’never’, ’auto’, or +’html’.

+ + +

--style=STYLEFILE

+ +

specify CSS style rule file for +--color

+ +

-e, +--no-escape

+ +

do not use C escapes in output +(default)

+ +

-E, +--escape

+ +

use C escapes in output, no +extended chars

+ + +

--force-po

+ +

write PO file even if empty

+ +

-i, +--indent

+ +

write the .po file using +indented style

+ + +

--no-location

+ +

do not write ’#: +filename:line’ lines

+ +

-n, +--add-location

+ +

generate ’#: +filename:line’ lines (default)

+ + +

--strict

+ +

write out strict Uniforum +conforming .po file

+ +

-p, +--properties-output

+ +

write out a Java .properties +file

+ + +

--stringtable-output

+ +

write out a NeXTstep/GNUstep +.strings file

+ +

-w, +--width=NUMBER

+ +

set output page width

+ + +

--no-wrap

+ +

do not break long message +lines, longer than the output page width, into several +lines

+ +

-s, +--sort-output

+ +

generate sorted output

+ +

-F, +--sort-by-file

+ +

sort output by file +location

+ + +

--omit-header

+ +

don’t write header with +’msgid ""’ entry

+ +

Informative +output:
+-h
, --help

+ +

display this help and exit

+ +

-V, +--version

+ +

output version information and +exit

+ +

AUTHOR + +

+ + +

Written by +Peter Miller.

+ +

REPORTING BUGS + +

+ + +

Report bugs in +the bug tracker at +<https://savannah.gnu.org/projects/gettext> or by +email to <bug-gettext@gnu.org>.

+ +

COPYRIGHT + +

+ + +

Copyright +© 1995-2025 Free Software Foundation, Inc. +License GPLv3+: GNU GPL version 3 or later +<https://gnu.org/licenses/gpl.html>
+This is free software: you are free to change and +redistribute it. There is NO WARRANTY, to the extent +permitted by law.

+ +

SEE ALSO + +

+ + +

The full +documentation for msgcomm is maintained as a Texinfo +manual. If the info and msgcomm programs are +properly installed at your site, the command

+ +

info +msgcomm

+ +

should give you +access to the complete manual.

+
+ + diff --git a/miniconda3/share/doc/gettext/msgconv.1.html b/miniconda3/share/doc/gettext/msgconv.1.html new file mode 100644 index 0000000000000000000000000000000000000000..f371523509b463aa9283433d303048ba51526f31 --- /dev/null +++ b/miniconda3/share/doc/gettext/msgconv.1.html @@ -0,0 +1,269 @@ + + + + + + + + +MSGCONV + + + + +

MSGCONV

+ +NAME
+SYNOPSIS
+DESCRIPTION
+AUTHOR
+REPORTING BUGS
+COPYRIGHT
+SEE ALSO
+ +
+ + +

NAME + +

+ + +

msgconv - +character set conversion for message catalog

+ +

SYNOPSIS + +

+ + +

msgconv +[OPTION] [INPUTFILE]

+ +

DESCRIPTION + +

+ + +

Converts a +translation catalog to a different character encoding.

+ +

Mandatory +arguments to long options are mandatory for short options +too.

+ +

Input file +location:
+INPUTFILE

+ +

input PO file

+ +

-D, +--directory=DIRECTORY

+ +

add DIRECTORY to list for input +files search

+ +

If no input +file is given or if it is -, standard input is +read.

+ +

Output file +location:
+-o
, +--output-file=FILE

+ +

write output to specified +file

+ +

The results are +written to standard output if no output file is specified or +if it is -.

+ +

Conversion +target:
+-t
, +--to-code=NAME

+ +

encoding for output

+ +

The default +encoding is the current locale’s encoding.

+ +

Input file +syntax:
+-P
, +--properties-input

+ +

input file is in Java +.properties syntax

+ + +

--stringtable-input

+ +

input file is in +NeXTstep/GNUstep .strings syntax

+ +

Output +details:
+--color

+ +

use colors and other text +attributes always

+ + +

--color=WHEN

+ +

use colors and other text +attributes if WHEN. WHEN may be ’always’, +’never’, ’auto’, or +’html’.

+ + +

--style=STYLEFILE

+ +

specify CSS style rule file for +--color

+ +

-e, +--no-escape

+ +

do not use C escapes in output +(default)

+ +

-E, +--escape

+ +

use C escapes in output, no +extended chars

+ + +

--force-po

+ +

write PO file even if empty

+ +

-i, +--indent

+ +

indented output style

+ + +

--no-location

+ +

suppress ’#: +filename:line’ lines

+ +

-n, +--add-location

+ +

preserve ’#: +filename:line’ lines (default)

+ + +

--strict

+ +

strict Uniforum output +style

+ +

-p, +--properties-output

+ +

write out a Java .properties +file

+ + +

--stringtable-output

+ +

write out a NeXTstep/GNUstep +.strings file

+ +

-w, +--width=NUMBER

+ +

set output page width

+ + +

--no-wrap

+ +

do not break long message +lines, longer than the output page width, into several +lines

+ +

-s, +--sort-output

+ +

generate sorted output

+ +

-F, +--sort-by-file

+ +

sort output by file +location

+ +

Informative +output:
+-h
, --help

+ +

display this help and exit

+ +

-V, +--version

+ +

output version information and +exit

+ +

AUTHOR + +

+ + +

Written by +Bruno Haible.

+ +

REPORTING BUGS + +

+ + +

Report bugs in +the bug tracker at +<https://savannah.gnu.org/projects/gettext> or by +email to <bug-gettext@gnu.org>.

+ +

COPYRIGHT + +

+ + +

Copyright +© 2001-2025 Free Software Foundation, Inc. +License GPLv3+: GNU GPL version 3 or later +<https://gnu.org/licenses/gpl.html>
+This is free software: you are free to change and +redistribute it. There is NO WARRANTY, to the extent +permitted by law.

+ +

SEE ALSO + +

+ + +

The full +documentation for msgconv is maintained as a Texinfo +manual. If the info and msgconv programs are +properly installed at your site, the command

+ +

info +msgconv

+ +

should give you +access to the complete manual.

+
+ + diff --git a/miniconda3/share/doc/gettext/msgen.1.html b/miniconda3/share/doc/gettext/msgen.1.html new file mode 100644 index 0000000000000000000000000000000000000000..1e1638e4876aac902b78b6ae045098bacaad7d84 --- /dev/null +++ b/miniconda3/share/doc/gettext/msgen.1.html @@ -0,0 +1,266 @@ + + + + + + + + +MSGEN + + + + +

MSGEN

+ +NAME
+SYNOPSIS
+DESCRIPTION
+AUTHOR
+REPORTING BUGS
+COPYRIGHT
+SEE ALSO
+ +
+ + +

NAME + +

+ + +

msgen - +create English message catalog

+ +

SYNOPSIS + +

+ + +

msgen +[OPTION] INPUTFILE

+ +

DESCRIPTION + +

+ + +

Creates an +English translation catalog. The input file is the last +created English PO file, or a PO Template file (generally +created by xgettext). Untranslated entries are assigned a +translation that is identical to the msgid.

+ +

Mandatory +arguments to long options are mandatory for short options +too.

+ +

Input file +location:
+INPUTFILE

+ +

input PO or POT file

+ +

-D, +--directory=DIRECTORY

+ +

add DIRECTORY to list for input +files search

+ +

If input file +is -, standard input is read.

+ +

Output file +location:
+-o
, +--output-file=FILE

+ +

write output to specified +file

+ +

The results are +written to standard output if no output file is specified or +if it is -.

+ +

Input file +syntax:
+-P
, +--properties-input

+ +

input file is in Java +.properties syntax

+ + +

--stringtable-input

+ +

input file is in +NeXTstep/GNUstep .strings syntax

+ +

Output +details:
+--lang
=CATALOGNAME

+ +

set ’Language’ +field in the header entry

+ +

--color

+ +

use colors and other text +attributes always

+ + +

--color=WHEN

+ +

use colors and other text +attributes if WHEN. WHEN may be ’always’, +’never’, ’auto’, or +’html’.

+ + +

--style=STYLEFILE

+ +

specify CSS style rule file for +--color

+ +

-e, +--no-escape

+ +

do not use C escapes in output +(default)

+ +

-E, +--escape

+ +

use C escapes in output, no +extended chars

+ + +

--force-po

+ +

write PO file even if empty

+ +

-i, +--indent

+ +

indented output style

+ + +

--no-location

+ +

suppress ’#: +filename:line’ lines

+ +

-n, +--add-location

+ +

preserve ’#: +filename:line’ lines (default)

+ + +

--strict

+ +

strict Uniforum output +style

+ +

-p, +--properties-output

+ +

write out a Java .properties +file

+ + +

--stringtable-output

+ +

write out a NeXTstep/GNUstep +.strings file

+ +

-w, +--width=NUMBER

+ +

set output page width

+ + +

--no-wrap

+ +

do not break long message +lines, longer than the output page width, into several +lines

+ +

-s, +--sort-output

+ +

generate sorted output

+ +

-F, +--sort-by-file

+ +

sort output by file +location

+ +

Informative +output:
+-h
, --help

+ +

display this help and exit

+ +

-V, +--version

+ +

output version information and +exit

+ +

AUTHOR + +

+ + +

Written by +Bruno Haible.

+ +

REPORTING BUGS + +

+ + +

Report bugs in +the bug tracker at +<https://savannah.gnu.org/projects/gettext> or by +email to <bug-gettext@gnu.org>.

+ +

COPYRIGHT + +

+ + +

Copyright +© 2001-2025 Free Software Foundation, Inc. +License GPLv3+: GNU GPL version 3 or later +<https://gnu.org/licenses/gpl.html>
+This is free software: you are free to change and +redistribute it. There is NO WARRANTY, to the extent +permitted by law.

+ +

SEE ALSO + +

+ + +

The full +documentation for msgen is maintained as a Texinfo +manual. If the info and msgen programs are +properly installed at your site, the command

+ +

info +msgen

+ +

should give you +access to the complete manual.

+
+ + diff --git a/miniconda3/share/doc/gettext/msgexec.1.html b/miniconda3/share/doc/gettext/msgexec.1.html new file mode 100644 index 0000000000000000000000000000000000000000..adb3c829012ae179514f9db8a2f3880d47b0770b --- /dev/null +++ b/miniconda3/share/doc/gettext/msgexec.1.html @@ -0,0 +1,170 @@ + + + + + + + + +MSGEXEC + + + + +

MSGEXEC

+ +NAME
+SYNOPSIS
+DESCRIPTION
+AUTHOR
+REPORTING BUGS
+COPYRIGHT
+SEE ALSO
+ +
+ + +

NAME + +

+ + +

msgexec - +process translations of message catalog

+ +

SYNOPSIS + +

+ + +

msgexec +[OPTION] COMMAND [COMMAND-OPTION]

+ +

DESCRIPTION + +

+ + +

Applies a +command to all translations of a translation catalog. The +COMMAND can be any program that reads a translation from +standard input. It is invoked once for each translation. Its +output becomes msgexec’s output. msgexec’s +return code is the maximum return code across all +invocations.

+ +

A special +builtin command called ’0’ outputs the +translation, followed by a null byte. The output of +"msgexec 0" is suitable as input for "xargs +-0".

+ +

Command +input:
+--newline

+ +

add newline at the end of +input

+ +

Mandatory +arguments to long options are mandatory for short options +too.

+ +

Input file +location:
+-i
, +--input=INPUTFILE

+ +

input PO file

+ +

-D, +--directory=DIRECTORY

+ +

add DIRECTORY to list for input +files search

+ +

If no input +file is given or if it is -, standard input is +read.

+ +

Input file +syntax:
+-P
, +--properties-input

+ +

input file is in Java +.properties syntax

+ + +

--stringtable-input

+ +

input file is in +NeXTstep/GNUstep .strings syntax

+ +

Informative +output:
+-h
, --help

+ +

display this help and exit

+ +

-V, +--version

+ +

output version information and +exit

+ +

AUTHOR + +

+ + +

Written by +Bruno Haible.

+ +

REPORTING BUGS + +

+ + +

Report bugs in +the bug tracker at +<https://savannah.gnu.org/projects/gettext> or by +email to <bug-gettext@gnu.org>.

+ +

COPYRIGHT + +

+ + +

Copyright +© 2001-2025 Free Software Foundation, Inc. +License GPLv3+: GNU GPL version 3 or later +<https://gnu.org/licenses/gpl.html>
+This is free software: you are free to change and +redistribute it. There is NO WARRANTY, to the extent +permitted by law.

+ +

SEE ALSO + +

+ + +

The full +documentation for msgexec is maintained as a Texinfo +manual. If the info and msgexec programs are +properly installed at your site, the command

+ +

info +msgexec

+ +

should give you +access to the complete manual.

+
+ + diff --git a/miniconda3/share/doc/gettext/msgfilter.1.html b/miniconda3/share/doc/gettext/msgfilter.1.html new file mode 100644 index 0000000000000000000000000000000000000000..695b9b2b6abeb344ff54dfaf34631de57839a0d7 --- /dev/null +++ b/miniconda3/share/doc/gettext/msgfilter.1.html @@ -0,0 +1,299 @@ + + + + + + + + +MSGFILTER + + + + +

MSGFILTER

+ +NAME
+SYNOPSIS
+DESCRIPTION
+AUTHOR
+REPORTING BUGS
+COPYRIGHT
+SEE ALSO
+ +
+ + +

NAME + +

+ + +

msgfilter +- edit translations of message catalog

+ +

SYNOPSIS + +

+ + + +

msgfilter +[OPTION] FILTER [FILTER-OPTION]

+ +

DESCRIPTION + +

+ + +

Applies a +filter to all translations of a translation catalog.

+ +

Mandatory +arguments to long options are mandatory for short options +too.

+ +

Input file +location:
+-i
, +--input=INPUTFILE

+ +

input PO file

+ +

-D, +--directory=DIRECTORY

+ +

add DIRECTORY to list for input +files search

+ +

If no input +file is given or if it is -, standard input is +read.

+ +

Output file +location:
+-o
, +--output-file=FILE

+ +

write output to specified +file

+ +

The results are +written to standard output if no output file is specified or +if it is -.

+ +

The FILTER can +be any program that reads a translation from standard input +and writes a modified translation to standard output.

+ +

Filter input +and output:
+--newline

+ +

add a newline at the end of +input and remove a newline from the end of output

+ +

Useful +FILTER-OPTIONs when the FILTER is ’sed’:
+-e
, +--expression=SCRIPT

+ +

add SCRIPT to the commands to +be executed

+ +

-f, +--file=SCRIPTFILE

+ +

add the contents of SCRIPTFILE +to the commands to be executed

+ +

-n, +--quiet, --silent

+ +

suppress automatic printing of +pattern space

+ +

Input file +syntax:
+-P
, +--properties-input

+ +

input file is in Java +.properties syntax

+ + +

--stringtable-input

+ +

input file is in +NeXTstep/GNUstep .strings syntax

+ +

Output +details:
+--color

+ +

use colors and other text +attributes always

+ + +

--color=WHEN

+ +

use colors and other text +attributes if WHEN. WHEN may be ’always’, +’never’, ’auto’, or +’html’.

+ + +

--style=STYLEFILE

+ +

specify CSS style rule file for +--color

+ + +

--no-escape

+ +

do not use C escapes in output +(default)

+ +

-E, +--escape

+ +

use C escapes in output, no +extended chars

+ + +

--force-po

+ +

write PO file even if empty

+ + +

--indent

+ +

indented output style

+ + +

--keep-header

+ +

keep header entry unmodified, +don’t filter it

+ + +

--no-location

+ +

suppress ’#: +filename:line’ lines

+ +

-n, +--add-location

+ +

preserve ’#: +filename:line’ lines (default)

+ + +

--strict

+ +

strict Uniforum output +style

+ +

-p, +--properties-output

+ +

write out a Java .properties +file

+ + +

--stringtable-output

+ +

write out a NeXTstep/GNUstep +.strings file

+ +

-w, +--width=NUMBER

+ +

set output page width

+ + +

--no-wrap

+ +

do not break long message +lines, longer than the output page width, into several +lines

+ +

-s, +--sort-output

+ +

generate sorted output

+ +

-F, +--sort-by-file

+ +

sort output by file +location

+ +

Informative +output:
+-h
, --help

+ +

display this help and exit

+ +

-V, +--version

+ +

output version information and +exit

+ +

AUTHOR + +

+ + +

Written by +Bruno Haible.

+ +

REPORTING BUGS + +

+ + +

Report bugs in +the bug tracker at +<https://savannah.gnu.org/projects/gettext> or by +email to <bug-gettext@gnu.org>.

+ +

COPYRIGHT + +

+ + +

Copyright +© 2001-2025 Free Software Foundation, Inc. +License GPLv3+: GNU GPL version 3 or later +<https://gnu.org/licenses/gpl.html>
+This is free software: you are free to change and +redistribute it. There is NO WARRANTY, to the extent +permitted by law.

+ +

SEE ALSO + +

+ + +

The full +documentation for msgfilter is maintained as a +Texinfo manual. If the info and msgfilter +programs are properly installed at your site, the +command

+ +

info +msgfilter

+ +

should give you +access to the complete manual.

+
+ + diff --git a/miniconda3/share/doc/gettext/msgfmt.1.html b/miniconda3/share/doc/gettext/msgfmt.1.html new file mode 100644 index 0000000000000000000000000000000000000000..cf949d605c15cbfc87b41a1b2a3f74cf7205251a --- /dev/null +++ b/miniconda3/share/doc/gettext/msgfmt.1.html @@ -0,0 +1,484 @@ + + + + + + + + +MSGFMT + + + + +

MSGFMT

+ +NAME
+SYNOPSIS
+DESCRIPTION
+AUTHOR
+REPORTING BUGS
+COPYRIGHT
+SEE ALSO
+ +
+ + +

NAME + +

+ + +

msgfmt - +compile message catalog to binary format

+ +

SYNOPSIS + +

+ + +

msgfmt +[OPTION] filename.po ...

+ +

DESCRIPTION + +

+ + +

Generate binary +message catalog from textual translation description.

+ +

Mandatory +arguments to long options are mandatory for short options +too. Similarly for optional arguments.

+ +

Input file +location:
+filename.po ...

+ +

input files

+ +

-D, +--directory=DIRECTORY

+ +

add DIRECTORY to list for input +files search

+ +

If input file +is -, standard input is read.

+ +

Operation +mode:
+-j
, --java

+ +

Java mode: generate a Java +ResourceBundle class

+ +

--java2

+ +

like --java, +and assume Java2 (JDK 1.2 or higher)

+ + +

--csharp

+ +

C# mode: generate a .NET .dll +file

+ + +

--csharp-resources

+ +

C# resources mode: generate a +.NET .resources file

+ + + + + + + + + + + + + + +
+ + +

--tcl

+ + +

Tcl mode: generate a tcl/msgcat .msg file

+
+ + +

--qt

+ + +

Qt mode: generate a Qt .qm file

+
+ + +

--desktop

+ +

Desktop Entry mode: generate a +.desktop file

+ + + + + + + + +
+ + +

--xml

+ + +

XML mode: generate XML file

+
+ +

Output file +location:
+-o
, +--output-file=FILE

+ +

write output to specified +file

+ + +

--strict

+ +

enable strict Uniforum mode

+ +

If output file +is -, output is written to standard output.

+ +

Output file +location in Java mode:
+-r
, +--resource=RESOURCE

+ +

resource name

+ +

-l, +--locale=LOCALE

+ +

locale name, either language or +language_COUNTRY

+ + +

--source

+ +

produce a .java file, instead +of a .class file

+ +

-d DIRECTORY

+ +

base directory of classes +directory hierarchy

+ +

The class name +is determined by appending the locale name to the resource +name, separated with an underscore. The -d +option is mandatory. The class is written under the +specified directory.

+ +

Output file +location in C# mode:
+-r
, +--resource=RESOURCE

+ +

resource name

+ +

-l, +--locale=LOCALE

+ +

locale name, either language or +language_COUNTRY

+ +

-d DIRECTORY

+ +

base directory for locale +dependent .dll files

+ +

The +-l and -d options are mandatory. +The .dll file is written in a subdirectory of the specified +directory whose name depends on the locale.

+ +

Output file +location in Tcl mode:
+-l
, --locale=LOCALE

+ +

locale name, either language or +language_COUNTRY

+ +

-d DIRECTORY

+ +

base directory of .msg message +catalogs

+ +

The +-l and -d options are mandatory. +The .msg file is written in the specified directory.

+ +

Desktop +Entry mode options:
+-l
, --locale=LOCALE

+ +

locale name, either language or +language_COUNTRY

+ +

-o, +--output-file=FILE

+ +

write output to specified +file

+ + +

--template=TEMPLATE

+ +

a .desktop file used as a +template

+ +

-d DIRECTORY

+ +

base directory of .po files

+ +

-kWORD, +--keyword=WORD

+ +

look for WORD as an additional +keyword

+ +

-k, +--keyword

+ +

do not to use default +keywords

+ +

The +-l, -o, and +--template options are mandatory. If +-D is specified, input files are read from the +directory instead of the command line arguments.

+ +

XML mode +options:
+-l
, --locale=LOCALE

+ +

locale name, either language or +language_COUNTRY

+ +

-L, +--language=NAME

+ +

recognise the specified XML +language

+ +

-o, +--output-file=FILE

+ +

write output to specified +file

+ + +

--template=TEMPLATE

+ +

an XML file used as a +template

+ +

-d DIRECTORY

+ +

base directory of .po files

+ + +

--replace-text

+ +

output XML with translated text +replacing the original text, not augmenting the original +text

+ +

The +-l, -o, and +--template options are mandatory. If +-D is specified, input files are read from the +directory instead of the command line arguments.

+ +

Input file +syntax:
+-P
, +--properties-input

+ +

input files are in Java +.properties syntax

+ + +

--stringtable-input

+ +

input files are in +NeXTstep/GNUstep .strings syntax

+ +

Input file +interpretation:
+-c
, --check

+ +

perform all the checks implied +by --check-format, +--check-header, +--check-domain

+ + +

--check-format

+ +

check language dependent format +strings

+ + +

--check-header

+ +

verify presence and contents of +the header entry

+ + +

--check-domain

+ +

check for conflicts between +domain directives and the +--output-file option

+ +

-C, +--check-compatibility

+ +

check that GNU msgfmt behaves +like X/Open msgfmt

+ + +

--check-accelerators[=CHAR]

+ +

check presence of keyboard +accelerators for menu items

+ +

-f, +--use-fuzzy

+ +

use fuzzy entries in output

+ +

Output +details:
+--no-convert

+ +

don’t convert the +messages to UTF-8 encoding

+ + +

--no-redundancy

+ +

don’t pre-expand +ISO C 99 <inttypes.h> format string directive +macros

+ +

-a, +--alignment=NUMBER

+ +

align strings to NUMBER bytes +(default: 1)

+ + +

--endianness=BYTEORDER

+ +

write out 32-bit numbers +in the given byte order (big or little, default depends on +platform)

+ + +

--no-hash

+ +

binary file will not include +the hash table

+ +

Informative +output:
+-h
, --help

+ +

display this help and exit

+ +

-V, +--version

+ +

output version information and +exit

+ + +

--statistics

+ +

print statistics about +translations

+ +

-v, +--verbose

+ +

increase verbosity level

+ +

AUTHOR + +

+ + +

Written by +Ulrich Drepper.

+ +

REPORTING BUGS + +

+ + +

Report bugs in +the bug tracker at +<https://savannah.gnu.org/projects/gettext> or by +email to <bug-gettext@gnu.org>.

+ +

COPYRIGHT + +

+ + +

Copyright +© 1995-2025 Free Software Foundation, Inc. +License GPLv3+: GNU GPL version 3 or later +<https://gnu.org/licenses/gpl.html>
+This is free software: you are free to change and +redistribute it. There is NO WARRANTY, to the extent +permitted by law.

+ +

SEE ALSO + +

+ + +

The full +documentation for msgfmt is maintained as a Texinfo +manual. If the info and msgfmt programs are +properly installed at your site, the command

+ +

info +msgfmt

+ +

should give you +access to the complete manual.

+
+ + diff --git a/miniconda3/share/doc/gettext/msggrep.1.html b/miniconda3/share/doc/gettext/msggrep.1.html new file mode 100644 index 0000000000000000000000000000000000000000..906110ebedf1ac19d6455f7cc7503a9dd109f53d --- /dev/null +++ b/miniconda3/share/doc/gettext/msggrep.1.html @@ -0,0 +1,377 @@ + + + + + + + + +MSGGREP + + + + +

MSGGREP

+ +NAME
+SYNOPSIS
+DESCRIPTION
+AUTHOR
+REPORTING BUGS
+COPYRIGHT
+SEE ALSO
+ +
+ + +

NAME + +

+ + +

msggrep - +pattern matching on message catalog

+ +

SYNOPSIS + +

+ + +

msggrep +[OPTION] [INPUTFILE]

+ +

DESCRIPTION + +

+ + +

Extracts all +messages of a translation catalog that match a given pattern +or belong to some given source files.

+ +

Mandatory +arguments to long options are mandatory for short options +too.

+ +

Input file +location:
+INPUTFILE

+ +

input PO file

+ +

-D, +--directory=DIRECTORY

+ +

add DIRECTORY to list for input +files search

+ +

If no input +file is given or if it is -, standard input is +read.

+ +

Output file +location:
+-o
, +--output-file=FILE

+ +

write output to specified +file

+ +

The results are +written to standard output if no output file is specified or +if it is -.

+ +

Message +selection:

+ +

[-N SOURCEFILE]... +[-M DOMAINNAME]... [-J MSGCTXT-PATTERN] +[-K MSGID-PATTERN] [-T +MSGSTR-PATTERN] [-C COMMENT-PATTERN] +[-X EXTRACTED-COMMENT-PATTERN]

+ +

A message is +selected if it comes from one of the specified source files, +or if it comes from one of the specified domains, or if +-J is given and its context (msgctxt) matches +MSGCTXT-PATTERN, or if -K is given and +its key (msgid or msgid_plural) matches MSGID-PATTERN, +or if -T is given and its translation (msgstr) +matches MSGSTR-PATTERN, or if -C is given +and the translator’s comment matches +COMMENT-PATTERN, or if -X is given and +the extracted comment matches +EXTRACTED-COMMENT-PATTERN.

+ +

When more than +one selection criterion is specified, the set of selected +messages is the union of the selected messages of each +criterion.

+ + +

MSGCTXT-PATTERN +or MSGID-PATTERN or MSGSTR-PATTERN or +COMMENT-PATTERN or +EXTRACTED-COMMENT-PATTERN syntax:

+ +

[-E | +-F] [-e PATTERN | -f +FILE]...

+ +

PATTERNs are +basic regular expressions by default, or extended regular +expressions if -E is given, or fixed strings if +-F is given.
+-N
, +--location=SOURCEFILE

+ +

select messages extracted from +SOURCEFILE

+ +

-M, +--domain=DOMAINNAME

+ +

select messages belonging to +domain DOMAINNAME

+ +

-J, +--msgctxt

+ +

start of patterns for the +msgctxt

+ +

-K, +--msgid

+ +

start of patterns for the +msgid

+ +

-T, +--msgstr

+ +

start of patterns for the +msgstr

+ +

-C, +--comment

+ +

start of patterns for the +translator’s comment

+ +

-X, +--extracted-comment

+ +

start of patterns for the +extracted comment

+ +

-E, +--extended-regexp

+ +

PATTERN is an extended regular +expression

+ +

-F, +--fixed-strings

+ +

PATTERN is a set of +newline-separated strings

+ +

-e, +--regexp=PATTERN

+ +

use PATTERN as a regular +expression

+ +

-f, +--file=FILE

+ +

obtain PATTERN from FILE

+ +

-i, +--ignore-case

+ +

ignore case distinctions

+ +

-v, +--invert-match

+ +

output only the messages that +do not match any selection criterion

+ +

Input file +syntax:
+-P
, +--properties-input

+ +

input file is in Java +.properties syntax

+ + +

--stringtable-input

+ +

input file is in +NeXTstep/GNUstep .strings syntax

+ +

Output +details:
+--color

+ +

use colors and other text +attributes always

+ + +

--color=WHEN

+ +

use colors and other text +attributes if WHEN. WHEN may be ’always’, +’never’, ’auto’, or +’html’.

+ + +

--style=STYLEFILE

+ +

specify CSS style rule file for +--color

+ + +

--no-escape

+ +

do not use C escapes in output +(default)

+ + +

--escape

+ +

use C escapes in output, no +extended chars

+ + +

--force-po

+ +

write PO file even if empty

+ + +

--indent

+ +

indented output style

+ + +

--no-location

+ +

suppress ’#: +filename:line’ lines

+ +

-n, +--add-location

+ +

preserve ’#: +filename:line’ lines (default)

+ + +

--strict

+ +

strict Uniforum output +style

+ +

-p, +--properties-output

+ +

write out a Java .properties +file

+ + +

--stringtable-output

+ +

write out a NeXTstep/GNUstep +.strings file

+ +

-w, +--width=NUMBER

+ +

set output page width

+ + +

--no-wrap

+ +

do not break long message +lines, longer than the output page width, into several +lines

+ + +

--sort-output

+ +

generate sorted output

+ + +

--sort-by-file

+ +

sort output by file +location

+ +

Informative +output:
+-h
, --help

+ +

display this help and exit

+ +

-V, +--version

+ +

output version information and +exit

+ +

AUTHOR + +

+ + +

Written by +Bruno Haible.

+ +

REPORTING BUGS + +

+ + +

Report bugs in +the bug tracker at +<https://savannah.gnu.org/projects/gettext> or by +email to <bug-gettext@gnu.org>.

+ +

COPYRIGHT + +

+ + +

Copyright +© 2001-2025 Free Software Foundation, Inc. +License GPLv3+: GNU GPL version 3 or later +<https://gnu.org/licenses/gpl.html>
+This is free software: you are free to change and +redistribute it. There is NO WARRANTY, to the extent +permitted by law.

+ +

SEE ALSO + +

+ + +

The full +documentation for msggrep is maintained as a Texinfo +manual. If the info and msggrep programs are +properly installed at your site, the command

+ +

info +msggrep

+ +

should give you +access to the complete manual.

+
+ + diff --git a/miniconda3/share/doc/gettext/msginit.1.html b/miniconda3/share/doc/gettext/msginit.1.html new file mode 100644 index 0000000000000000000000000000000000000000..b7406f960772f9d29f6f639de1662a40587fa80b --- /dev/null +++ b/miniconda3/share/doc/gettext/msginit.1.html @@ -0,0 +1,216 @@ + + + + + + + + +MSGINIT + + + + +

MSGINIT

+ +NAME
+SYNOPSIS
+DESCRIPTION
+AUTHOR
+REPORTING BUGS
+COPYRIGHT
+SEE ALSO
+ +
+ + +

NAME + +

+ + +

msginit - +initialize a message catalog

+ +

SYNOPSIS + +

+ + +

msginit +[OPTION]

+ +

DESCRIPTION + +

+ + +

Creates a new +PO file, initializing the meta information with values from +the user’s environment.

+ +

Mandatory +arguments to long options are mandatory for short options +too.

+ +

Input file +location:
+-i
, +--input=INPUTFILE

+ +

input POT file

+ +

If no input +file is given, the current directory is searched for the POT +file. If it is -, standard input is read.

+ +

Output file +location:
+-o
, +--output-file=FILE

+ +

write output to specified PO +file

+ +

If no output +file is given, it depends on the --locale +option or the user’s locale setting. If it is -, +the results are written to standard output.

+ +

Input file +syntax:
+-P
, +--properties-input

+ +

input file is in Java +.properties syntax

+ + +

--stringtable-input

+ +

input file is in +NeXTstep/GNUstep .strings syntax

+ +

Output +details:
+-l
, +--locale=LL_CC[.ENCODING]

+ +

set target locale

+ + +

--no-translator

+ +

assume the PO file is +automatically generated

+ +

--color

+ +

use colors and other text +attributes always

+ + +

--color=WHEN

+ +

use colors and other text +attributes if WHEN. WHEN may be ’always’, +’never’, ’auto’, or +’html’.

+ + +

--style=STYLEFILE

+ +

specify CSS style rule file for +--color

+ +

-p, +--properties-output

+ +

write out a Java .properties +file

+ + +

--stringtable-output

+ +

write out a NeXTstep/GNUstep +.strings file

+ +

-w, +--width=NUMBER

+ +

set output page width

+ + +

--no-wrap

+ +

do not break long message +lines, longer than the output page width, into several +lines

+ +

Informative +output:
+-h
, --help

+ +

display this help and exit

+ +

-V, +--version

+ +

output version information and +exit

+ +

AUTHOR + +

+ + +

Written by +Bruno Haible.

+ +

REPORTING BUGS + +

+ + +

Report bugs in +the bug tracker at +<https://savannah.gnu.org/projects/gettext> or by +email to <bug-gettext@gnu.org>.

+ +

COPYRIGHT + +

+ + +

Copyright +© 2001-2025 Free Software Foundation, Inc. +License GPLv3+: GNU GPL version 3 or later +<https://gnu.org/licenses/gpl.html>
+This is free software: you are free to change and +redistribute it. There is NO WARRANTY, to the extent +permitted by law.

+ +

SEE ALSO + +

+ + +

The full +documentation for msginit is maintained as a Texinfo +manual. If the info and msginit programs are +properly installed at your site, the command

+ +

info +msginit

+ +

should give you +access to the complete manual.

+
+ + diff --git a/miniconda3/share/doc/gettext/msgmerge.1.html b/miniconda3/share/doc/gettext/msgmerge.1.html new file mode 100644 index 0000000000000000000000000000000000000000..739b4c08cedc987c8d20b577d5852648a7726803 --- /dev/null +++ b/miniconda3/share/doc/gettext/msgmerge.1.html @@ -0,0 +1,380 @@ + + + + + + + + +MSGMERGE + + + + +

MSGMERGE

+ +NAME
+SYNOPSIS
+DESCRIPTION
+AUTHOR
+REPORTING BUGS
+COPYRIGHT
+SEE ALSO
+ +
+ + +

NAME + +

+ + +

msgmerge +- merge message catalog and template

+ +

SYNOPSIS + +

+ + + +

msgmerge +[OPTION] def.po ref.pot

+ +

DESCRIPTION + +

+ + +

Merges two +Uniforum style .po files together. The def.po file is an +existing PO file with translations which will be taken over +to the newly created file as long as they still match; +comments will be preserved, but extracted comments and file +positions will be discarded. The ref.pot file is the last +created PO file with up-to-date source +references but old translations, or a PO Template file +(generally created by xgettext); any translations or +comments in the file will be discarded, however dot comments +and file positions will be preserved. Where an exact match +cannot be found, fuzzy matching is used to produce better +results.

+ +

Mandatory +arguments to long options are mandatory for short options +too.

+ +

Input file +location:

+ + + + + + + + +
+ + +

def.po

+ + +

translations referring to old sources

+
+ +

ref.pot

+ +

references to new sources

+ +

-D, +--directory=DIRECTORY

+ +

add DIRECTORY to list for input +files search

+ +

-C, +--compendium=FILE

+ +

additional library of message +translations, may be specified more than once

+ +

Operation +mode:
+-U
, --update

+ +

update def.po, do nothing if +def.po already up to date

+ +

Output file +location:
+-o
, +--output-file=FILE

+ +

write output to specified +file

+ +

The results are +written to standard output if no output file is specified or +if it is -.

+ +

Output file +location in update mode: The result is written back to +def.po.
+--backup
=CONTROL

+ +

make a backup of def.po

+ + +

--suffix=SUFFIX

+ +

override the usual backup +suffix

+ +

The version +control method may be selected via the +--backup option or through the +VERSION_CONTROL environment variable. Here are the values: +
+none, off

+ +

never make backups (even if +--backup is given)

+ +

numbered, t

+ +

make numbered backups

+ +

existing, nil

+ +

numbered if numbered backups +exist, simple otherwise

+ +

simple, never

+ +

always make simple backups

+ +

The backup +suffix is ’~’, unless set with +--suffix or the SIMPLE_BACKUP_SUFFIX +environment variable.

+ +

Operation +modifiers:
+-m
, --multi-domain

+ +

apply ref.pot to each of the +domains in def.po

+ + +

--for-msgfmt

+ +

produce output for +’msgfmt’, not for a translator

+ +

-N, +--no-fuzzy-matching

+ +

do not use fuzzy matching

+ + +

--previous

+ +

keep previous msgids of +translated messages

+ +

Input file +syntax:
+-P
, +--properties-input

+ +

input files are in Java +.properties syntax

+ + +

--stringtable-input

+ +

input files are in +NeXTstep/GNUstep .strings syntax

+ +

Output +details:
+--lang
=CATALOGNAME

+ +

set ’Language’ +field in the header entry

+ +

--color

+ +

use colors and other text +attributes always

+ + +

--color=WHEN

+ +

use colors and other text +attributes if WHEN. WHEN may be ’always’, +’never’, ’auto’, or +’html’.

+ + +

--style=STYLEFILE

+ +

specify CSS style rule file for +--color

+ +

-e, +--no-escape

+ +

do not use C escapes in output +(default)

+ +

-E, +--escape

+ +

use C escapes in output, no +extended chars

+ + +

--force-po

+ +

write PO file even if empty

+ +

-i, +--indent

+ +

indented output style

+ + +

--no-location

+ +

suppress ’#: +filename:line’ lines

+ +

-n, +--add-location

+ +

preserve ’#: +filename:line’ lines (default)

+ + +

--strict

+ +

strict Uniforum output +style

+ +

-p, +--properties-output

+ +

write out a Java .properties +file

+ + +

--stringtable-output

+ +

write out a NeXTstep/GNUstep +.strings file

+ +

-w, +--width=NUMBER

+ +

set output page width

+ + +

--no-wrap

+ +

do not break long message +lines, longer than the output page width, into several +lines

+ +

-s, +--sort-output

+ +

generate sorted output +(deprecated)

+ +

-F, +--sort-by-file

+ +

sort output by file +location

+ +

Informative +output:
+-h
, --help

+ +

display this help and exit

+ +

-V, +--version

+ +

output version information and +exit

+ +

-v, +--verbose

+ +

increase verbosity level

+ +

-q, +--quiet, --silent

+ +

suppress progress +indicators

+ +

AUTHOR + +

+ + +

Written by +Peter Miller.

+ +

REPORTING BUGS + +

+ + +

Report bugs in +the bug tracker at +<https://savannah.gnu.org/projects/gettext> or by +email to <bug-gettext@gnu.org>.

+ +

COPYRIGHT + +

+ + +

Copyright +© 1995-2025 Free Software Foundation, Inc. +License GPLv3+: GNU GPL version 3 or later +<https://gnu.org/licenses/gpl.html>
+This is free software: you are free to change and +redistribute it. There is NO WARRANTY, to the extent +permitted by law.

+ +

SEE ALSO + +

+ + +

The full +documentation for msgmerge is maintained as a Texinfo +manual. If the info and msgmerge programs are +properly installed at your site, the command

+ +

info +msgmerge

+ +

should give you +access to the complete manual.

+
+ + diff --git a/miniconda3/share/doc/gettext/msgunfmt.1.html b/miniconda3/share/doc/gettext/msgunfmt.1.html new file mode 100644 index 0000000000000000000000000000000000000000..1595be6d7e3f1f4f436e687d5fcedb92efbaf678 --- /dev/null +++ b/miniconda3/share/doc/gettext/msgunfmt.1.html @@ -0,0 +1,319 @@ + + + + + + + + +MSGUNFMT + + + + +

MSGUNFMT

+ +NAME
+SYNOPSIS
+DESCRIPTION
+AUTHOR
+REPORTING BUGS
+COPYRIGHT
+SEE ALSO
+ +
+ + +

NAME + +

+ + +

msgunfmt +- uncompile message catalog from binary format

+ +

SYNOPSIS + +

+ + + +

msgunfmt +[OPTION] [FILE]...

+ +

DESCRIPTION + +

+ + +

Convert binary +message catalog to Uniforum style .po file.

+ +

Mandatory +arguments to long options are mandatory for short options +too.

+ +

Operation +mode:
+-j
, --java

+ +

Java mode: input is a Java +ResourceBundle class

+ + +

--csharp

+ +

C# mode: input is a .NET .dll +file

+ + +

--csharp-resources

+ +

C# resources mode: input is a +.NET .resources file

+ + + + + + + + +
+ + +

--tcl

+ + +

Tcl mode: input is a tcl/msgcat .msg file

+
+ +

Input file +location:
+FILE ...

+ +

input .mo files

+ +

If no input +file is given or if it is -, standard input is +read.

+ +

Input file +location in Java mode:
+-r
, +--resource=RESOURCE

+ +

resource name

+ +

-l, +--locale=LOCALE

+ +

locale name, either language or +language_COUNTRY

+ +

The class name +is determined by appending the locale name to the resource +name, separated with an underscore. The class is located +using the CLASSPATH.

+ +

Input file +location in C# mode:
+-r
, +--resource=RESOURCE

+ +

resource name

+ +

-l, +--locale=LOCALE

+ +

locale name, either language or +language_COUNTRY

+ +

-d DIRECTORY

+ +

base directory for locale +dependent .dll files

+ +

The +-l and -d options are mandatory. +The .dll file is located in a subdirectory of the specified +directory whose name depends on the locale.

+ +

Input file +location in Tcl mode:
+-l
, --locale=LOCALE

+ +

locale name, either language or +language_COUNTRY

+ +

-d DIRECTORY

+ +

base directory of .msg message +catalogs

+ +

The +-l and -d options are mandatory. +The .msg file is located in the specified directory.

+ +

Output file +location:
+-o
, +--output-file=FILE

+ +

write output to specified +file

+ +

The results are +written to standard output if no output file is specified or +if it is -.

+ +

Output +details:
+--color

+ +

use colors and other text +attributes always

+ + +

--color=WHEN

+ +

use colors and other text +attributes if WHEN. WHEN may be ’always’, +’never’, ’auto’, or +’html’.

+ + +

--style=STYLEFILE

+ +

specify CSS style rule file for +--color

+ +

-e, +--no-escape

+ +

do not use C escapes in output +(default)

+ +

-E, +--escape

+ +

use C escapes in output, no +extended chars

+ + +

--force-po

+ +

write PO file even if empty

+ +

-i, +--indent

+ +

write indented output style

+ + +

--strict

+ +

write strict uniforum style

+ +

-p, +--properties-output

+ +

write out a Java .properties +file

+ + +

--stringtable-output

+ +

write out a NeXTstep/GNUstep +.strings file

+ +

-w, +--width=NUMBER

+ +

set output page width

+ + +

--no-wrap

+ +

do not break long message +lines, longer than the output page width, into several +lines

+ +

-s, +--sort-output

+ +

generate sorted output

+ +

Informative +output:
+-h
, --help

+ +

display this help and exit

+ +

-V, +--version

+ +

output version information and +exit

+ +

-v, +--verbose

+ +

increase verbosity level

+ +

AUTHOR + +

+ + +

Written by +Ulrich Drepper.

+ +

REPORTING BUGS + +

+ + +

Report bugs in +the bug tracker at +<https://savannah.gnu.org/projects/gettext> or by +email to <bug-gettext@gnu.org>.

+ +

COPYRIGHT + +

+ + +

Copyright +© 1995-2025 Free Software Foundation, Inc. +License GPLv3+: GNU GPL version 3 or later +<https://gnu.org/licenses/gpl.html>
+This is free software: you are free to change and +redistribute it. There is NO WARRANTY, to the extent +permitted by law.

+ +

SEE ALSO + +

+ + +

The full +documentation for msgunfmt is maintained as a Texinfo +manual. If the info and msgunfmt programs are +properly installed at your site, the command

+ +

info +msgunfmt

+ +

should give you +access to the complete manual.

+
+ + diff --git a/miniconda3/share/doc/gettext/msguniq.1.html b/miniconda3/share/doc/gettext/msguniq.1.html new file mode 100644 index 0000000000000000000000000000000000000000..492a0d84856c8ff454404db9021bd588caf913f6 --- /dev/null +++ b/miniconda3/share/doc/gettext/msguniq.1.html @@ -0,0 +1,294 @@ + + + + + + + + +MSGUNIQ + + + + +

MSGUNIQ

+ +NAME
+SYNOPSIS
+DESCRIPTION
+AUTHOR
+REPORTING BUGS
+COPYRIGHT
+SEE ALSO
+ +
+ + +

NAME + +

+ + +

msguniq - +unify duplicate translations in message catalog

+ +

SYNOPSIS + +

+ + +

msguniq +[OPTION] [INPUTFILE]

+ +

DESCRIPTION + +

+ + +

Unifies +duplicate translations in a translation catalog. Finds +duplicate translations of the same message ID. Such +duplicates are invalid input for other programs like msgfmt, +msgmerge or msgcat. By default, duplicates are merged +together. When using the --repeated +option, only duplicates are output, and all other messages +are discarded. Comments and extracted comments will be +cumulated, except that if +--use-first is specified, they will +be taken from the first translation. File positions will be +cumulated. When using the --unique +option, duplicates are discarded.

+ +

Mandatory +arguments to long options are mandatory for short options +too.

+ +

Input file +location:
+INPUTFILE

+ +

input PO file

+ +

-D, +--directory=DIRECTORY

+ +

add DIRECTORY to list for input +files search

+ +

If no input +file is given or if it is -, standard input is +read.

+ +

Output file +location:
+-o
, +--output-file=FILE

+ +

write output to specified +file

+ +

The results are +written to standard output if no output file is specified or +if it is -.

+ +

Message +selection:
+-d
, --repeated

+ +

print only duplicates

+ +

-u, +--unique

+ +

print only unique messages, +discard duplicates

+ +

Input file +syntax:
+-P
, +--properties-input

+ +

input file is in Java +.properties syntax

+ + +

--stringtable-input

+ +

input file is in +NeXTstep/GNUstep .strings syntax

+ +

Output +details:
+-t
, +--to-code=NAME

+ +

encoding for output

+ + +

--use-first

+ +

use first available translation +for each message, don’t merge several translations

+ +

--color

+ +

use colors and other text +attributes always

+ + +

--color=WHEN

+ +

use colors and other text +attributes if WHEN. WHEN may be ’always’, +’never’, ’auto’, or +’html’.

+ + +

--style=STYLEFILE

+ +

specify CSS style rule file for +--color

+ +

-e, +--no-escape

+ +

do not use C escapes in output +(default)

+ +

-E, +--escape

+ +

use C escapes in output, no +extended chars

+ + +

--force-po

+ +

write PO file even if empty

+ +

-i, +--indent

+ +

write the .po file using +indented style

+ + +

--no-location

+ +

do not write ’#: +filename:line’ lines

+ +

-n, +--add-location

+ +

generate ’#: +filename:line’ lines (default)

+ + +

--strict

+ +

write out strict Uniforum +conforming .po file

+ +

-p, +--properties-output

+ +

write out a Java .properties +file

+ + +

--stringtable-output

+ +

write out a NeXTstep/GNUstep +.strings file

+ +

-w, +--width=NUMBER

+ +

set output page width

+ + +

--no-wrap

+ +

do not break long message +lines, longer than the output page width, into several +lines

+ +

-s, +--sort-output

+ +

generate sorted output

+ +

-F, +--sort-by-file

+ +

sort output by file +location

+ +

Informative +output:
+-h
, --help

+ +

display this help and exit

+ +

-V, +--version

+ +

output version information and +exit

+ +

AUTHOR + +

+ + +

Written by +Bruno Haible.

+ +

REPORTING BUGS + +

+ + +

Report bugs in +the bug tracker at +<https://savannah.gnu.org/projects/gettext> or by +email to <bug-gettext@gnu.org>.

+ +

COPYRIGHT + +

+ + +

Copyright +© 2001-2025 Free Software Foundation, Inc. +License GPLv3+: GNU GPL version 3 or later +<https://gnu.org/licenses/gpl.html>
+This is free software: you are free to change and +redistribute it. There is NO WARRANTY, to the extent +permitted by law.

+ +

SEE ALSO + +

+ + +

The full +documentation for msguniq is maintained as a Texinfo +manual. If the info and msguniq programs are +properly installed at your site, the command

+ +

info +msguniq

+ +

should give you +access to the complete manual.

+
+ + diff --git a/miniconda3/share/doc/gettext/ngettext.1.html b/miniconda3/share/doc/gettext/ngettext.1.html new file mode 100644 index 0000000000000000000000000000000000000000..6910fbc3c44ec126439c0a8480c87ae5ff67345a --- /dev/null +++ b/miniconda3/share/doc/gettext/ngettext.1.html @@ -0,0 +1,202 @@ + + + + + + + + +NGETTEXT + + + + +

NGETTEXT

+ +NAME
+SYNOPSIS
+DESCRIPTION
+AUTHOR
+REPORTING BUGS
+COPYRIGHT
+SEE ALSO
+ +
+ + +

NAME + +

+ + +

ngettext +- translate message and choose plural form

+ +

SYNOPSIS + +

+ + + +

ngettext +[OPTION] [TEXTDOMAIN] MSGID MSGID-PLURAL +COUNT

+ +

DESCRIPTION + +

+ + +

The +ngettext program translates a natural language +message into the user’s language, by looking up the +translation in a message catalog, and chooses the +appropriate plural form, which depends on the number +COUNT and the language of the message catalog where +the translation was found.

+ +

Display native +language translation of a textual message whose grammatical +form depends on a number.
+-d
, +--domain=TEXTDOMAIN

+ +

retrieve translated message +from TEXTDOMAIN

+ +

-c, +--context=CONTEXT

+ +

specify context for MSGID

+ + + + + + + + + + + + + + +
+ + +

-e

+ + +

enable expansion of some escape sequences

+
+ + +

-E

+ + +

(ignored for compatibility)

+
+ +

[TEXTDOMAIN]

+ +

retrieve translated message +from TEXTDOMAIN

+ +

MSGID MSGID-PLURAL

+ +

translate MSGID (singular) / +MSGID-PLURAL (plural)

+ + + + + + + + +
+ + +

COUNT

+ + +

choose singular/plural form based on this value

+
+ +

Informative +output:
+-h
, --help

+ +

display this help and exit

+ +

-V, +--version

+ +

display version information and +exit

+ +

If the +TEXTDOMAIN parameter is not given, the domain is determined +from the environment variable TEXTDOMAIN. If the message +catalog is not found in the regular directory, another +location can be specified with the environment variable +TEXTDOMAINDIR. Standard search directory: /mnt/bn/bohanzhainas1/jiashuo/miniconda3/share/locale

+ +

AUTHOR + +

+ + +

Written by +Ulrich Drepper.

+ +

REPORTING BUGS + +

+ + +

Report bugs in +the bug tracker at +<https://savannah.gnu.org/projects/gettext> or by +email to <bug-gettext@gnu.org>.

+ +

COPYRIGHT + +

+ + +

Copyright +© 1995-2025 Free Software Foundation, Inc. +License GPLv3+: GNU GPL version 3 or later +<https://gnu.org/licenses/gpl.html>
+This is free software: you are free to change and +redistribute it. There is NO WARRANTY, to the extent +permitted by law.

+ +

SEE ALSO + +

+ + +

The full +documentation for ngettext is maintained as a Texinfo +manual. If the info and ngettext programs are +properly installed at your site, the command

+ +

info +ngettext

+ +

should give you +access to the complete manual.

+
+ + diff --git a/miniconda3/share/doc/gettext/ngettext.3.html b/miniconda3/share/doc/gettext/ngettext.3.html new file mode 100644 index 0000000000000000000000000000000000000000..1e42951d1f2f035a2b6732bc3ab1523813428fd8 --- /dev/null +++ b/miniconda3/share/doc/gettext/ngettext.3.html @@ -0,0 +1,138 @@ + + + + + + + + +NGETTEXT + + + + +

NGETTEXT

+ +NAME
+SYNOPSIS
+DESCRIPTION
+RETURN VALUE
+ERRORS
+BUGS
+SEE ALSO
+ +
+ + +

NAME + +

+ + +

ngettext, +dngettext, dcngettext - translate message and choose +plural form

+ +

SYNOPSIS + +

+ + +

#include +<libintl.h>

+ +

char * +ngettext (const char * msgid, const char * +msgid_plural,
+unsigned long int
n);
+char * dngettext (const char *
domainname, +
+const char *
msgid, const char * +msgid_plural,
+unsigned long int
n);
+char * dcngettext (const char *
domainname, +
+const char *
msgid, const char * +msgid_plural,
+unsigned long int
n, int +category);

+ +

DESCRIPTION + +

+ + +

The +ngettext, dngettext and dcngettext +functions attempt to translate a text string into the +user’s native language, by looking up the appropriate +plural form of the translation in a message catalog.

+ +

Plural forms +are grammatical variants depending on the a number. Some +languages have two forms, called singular and plural. Other +languages have three forms, called singular, dual and +plural. There are also languages with four forms.

+ +

The +ngettext, dngettext and dcngettext +functions work like the gettext, dgettext and +dcgettext functions, respectively. Additionally, they +choose the appropriate plural form, which depends on the +number n and the language of the message catalog +where the translation was found.

+ +

In the +"C" locale, or if none of the used catalogs +contain a translation for msgid, the ngettext, +dngettext and dcngettext functions return +msgid if n == 1, or msgid_plural if +n != 1.

+ +

RETURN VALUE + +

+ + +

If a +translation was found in one of the specified catalogs, the +appropriate plural form is converted to the locale’s +codeset and returned. The resulting string is statically +allocated and must not be modified or freed. Otherwise +msgid or msgid_plural is returned, as +described above.

+ +

ERRORS + +

+ + +

errno is +not modified.

+ +

BUGS + +

+ + +

The return type +ought to be const char *, but is char * to +avoid warnings in C code predating ANSI C.

+ +

SEE ALSO + +

+ + + +

gettext(3), +dgettext(3), dcgettext(3)

+
+ + diff --git a/miniconda3/share/doc/gettext/recode-sr-latin.1.html b/miniconda3/share/doc/gettext/recode-sr-latin.1.html new file mode 100644 index 0000000000000000000000000000000000000000..4e573499ecb1be0dc244f81f3c68738f5953a248 --- /dev/null +++ b/miniconda3/share/doc/gettext/recode-sr-latin.1.html @@ -0,0 +1,123 @@ + + + + + + + + +RECODE-SR-LATIN + + + + +

RECODE-SR-LATIN

+ +NAME
+SYNOPSIS
+DESCRIPTION
+AUTHOR
+REPORTING BUGS
+COPYRIGHT
+SEE ALSO
+ +
+ + +

NAME + +

+ + + +

recode-sr-latin +- convert Serbian text from Cyrillic to Latin +script

+ +

SYNOPSIS + +

+ + + +

recode-sr-latin +[OPTION]

+ +

DESCRIPTION + +

+ + +

Recode Serbian +text from Cyrillic to Latin script. The input text is read +from standard input. The converted text is output to +standard output.

+ +

Informative +output:
+-h
, --help

+ +

display this help and exit

+ +

-V, +--version

+ +

output version information and +exit

+ +

AUTHOR + +

+ + +

Written by +Danilo Segan and Bruno Haible.

+ +

REPORTING BUGS + +

+ + +

Report bugs in +the bug tracker at +<https://savannah.gnu.org/projects/gettext> or by +email to <bug-gettext@gnu.org>.

+ +

COPYRIGHT + +

+ + +

Copyright +© 2006-2025 Free Software Foundation, Inc. +License GPLv3+: GNU GPL version 3 or later +<https://gnu.org/licenses/gpl.html>
+This is free software: you are free to change and +redistribute it. There is NO WARRANTY, to the extent +permitted by law.

+ +

SEE ALSO + +

+ + +

The full +documentation for recode-sr-latin is maintained as a +Texinfo manual. If the info and +recode-sr-latin programs are properly installed at +your site, the command

+ +

info +recode-sr-latin

+ +

should give you +access to the complete manual.

+
+ + diff --git a/miniconda3/share/doc/gettext/textdomain.3.html b/miniconda3/share/doc/gettext/textdomain.3.html new file mode 100644 index 0000000000000000000000000000000000000000..64beae64566eb7d5b25a2fbd5597b6c6e405dfb8 --- /dev/null +++ b/miniconda3/share/doc/gettext/textdomain.3.html @@ -0,0 +1,140 @@ + + + + + + + + +TEXTDOMAIN + + + + +

TEXTDOMAIN

+ +NAME
+SYNOPSIS
+DESCRIPTION
+RETURN VALUE
+ERRORS
+BUGS
+SEE ALSO
+ +
+ + +

NAME + +

+ + +

textdomain +- set domain for future gettext() calls

+ +

SYNOPSIS + +

+ + +

#include +<libintl.h>

+ +

char * +textdomain (const char * domainname);

+ +

DESCRIPTION + +

+ + +

The +textdomain function sets or retrieves the current +message domain.

+ +

A message +domain is a set of translatable msgid messages. +Usually, every software package has its own message domain. +The domain name is used to determine the message catalog +where a translation is looked up; it must be a non-empty +string.

+ +

The current +message domain is used by the gettext, +ngettext functions, and by the dgettext, +dcgettext, dngettext and dcngettext +functions when called with a NULL domainname argument.

+ +

If +domainname is not NULL, the current message domain is +set to domainname. The string the function stores +internally is a copy of the domainname argument.

+ +

If +domainname is NULL, the function returns the current +message domain.

+ +

RETURN VALUE + +

+ + +

If successful, +the textdomain function returns the current message +domain, after possibly changing it. The resulting string is +valid until the next textdomain call and must not be +modified or freed. If a memory allocation failure occurs, it +sets errno to ENOMEM and returns NULL.

+ +

ERRORS + +

+ + +

The following +error can occur, among others:

+ + + + + + + + +
+ + +

ENOMEM

+ + +

Not enough memory available.

+
+ +

BUGS + +

+ + +

The return type +ought to be const char *, but is char * to +avoid warnings in C code predating ANSI C.

+ +

SEE ALSO + +

+ + + +

gettext(3), +ngettext(3), bindtextdomain(3), +bind_textdomain_codeset(3)

+
+ + diff --git a/miniconda3/share/doc/gettext/tutorial.html b/miniconda3/share/doc/gettext/tutorial.html new file mode 100644 index 0000000000000000000000000000000000000000..c5685355fdaf8fc44d049743d5ed00881da7c342 --- /dev/null +++ b/miniconda3/share/doc/gettext/tutorial.html @@ -0,0 +1,745 @@ + + + + + + +A tutorial on Native Language Support using GNU gettext + + + + + + + + + + + + + + + + + +

A tutorial on Native Language Support using GNU gettext

+ +

G. Mohanty

+

Revision 0.3: 24 July 2004

+
+ +

Abstract:

+
+ The use of the GNU gettext utilities to implement support for native +languages is described here. Though, the language to be supported is +considered to be Oriya, the method is generally applicable. Likewise, while +Linux was used as the platform here, any system using GNU gettext should work +in a similar fashion. + +

+We go through a step-by-step description of how to make on-screen messages +from a toy program to appear in Oriya instead of English; starting from the +programming and ending with the user's viewpoint. Some discussion is also made +of how to go about the task of translation. +

+

+

+Introduction +

+Currently, both commercial and free computer software is typically written and +documented in English. Till recently, little effort was expended towards +allowing them to interact with the user in languages other than English, thus +leaving the non-English speaking world at a disadvantage. However, that +changed with the release of the GNU gettext utilities, and nowadays most GNU +programs are written within a framework that allows easy translation of the +program message to languages other than English. Provided that translations +are available, the language used by the program to interact with the user can +be set at the time of running it. gettext manages to achieve this seemingly +miraculous task in a manner that simplifies the work of both the programmer +and the translator, and, more importantly, allows them to work independently +of each other. + +

+This article describes how to support native languages under a system using +the GNU gettext utilities. While it should be applicable to other versions of +gettext, the one actually used for the examples here is version +0.12.1. Another system, called catgets, described in the X/Open +Portability Guide, is also in use, but we shall not discuss that here. + +

+ +

+A simple example +

+Our first example of using gettext will be the good old Hello World program, +whose sole function is to print the phrase “Hello, world!” to the terminal. +The internationalized version of this program might be saved in hello.c as: +
+1    #include <libintl.h>
+2    #include <locale.h>
+3    #include <stdio.h>
+4    #include <stdlib.h>
+5    int main(void)
+6    {
+7      setlocale( LC_ALL, "" );
+8      bindtextdomain( "hello", "/usr/share/locale" );
+9      textdomain( "hello" );
+10      printf( gettext( "Hello, world!\n" ) );
+11      exit(0);
+12    }
+
+Of course, a real program would check the return values of the functions and +try to deal with any errors, but we have omitted that part of the code for +clarity. Compile as usual with gcc -o hello hello.c. The program should +be linked to the GNU libintl library, but as this is part of the GNU C +library, this is done automatically for you under Linux, and other systems +using glibc. + +

+The programmer's viewpoint +

+ As expected, when the hello executable is run under the default locale +(usually the C locale) it prints “Hello, world!” in the terminal. Besides +some initial setup work, the only additional burden faced by the programmer is +to replace any string to be printed with gettext(string), i.e., to +instead pass the string as an argument to the gettext function. For lazy +people like myself, the amount of extra typing can be reduced even further by +a CPP macro, e.g., put this at the beginning of the source code file, +
+  #define _(STRING)    gettext(STRING)
+
+and then use _(string) instead of gettext(string). + +

+Let us dissect the program line-by-line. + +

    +
  1. locale.h defines C data structures used to hold locale + information, and is needed by the setlocale function. libintl.h + prototypes the GNU text utilities functions, and is needed here by + bindtextdomain, gettext, and textdomain. +
  2. +
  3. The call to setlocale () on line 7, with LC_ALL as the first argument + and an empty string as the second one, initializes the entire current locale + of the program as per environment variables set by the user. In other words, + the program locale is initialized to match that of the user. For details see + “man setlocale.” +
  4. +
  5. The bindtextdomain function on line 8 sets the base directory for the + message catalogs for a given message domain. A message domain is a set of + translatable messages, with every software package typically having its own + domain. Here, we have used “hello” as the name of the message domain for + our toy program. As the second argument, /usr/share/locale, is the default + system location for message catalogs, what we are saying here is that we are + going to place the message catalog in the default system directory. Thus, we + could have dispensed with the call to bindtextdomain here, and this + function is useful only if the message catalogs are installed in a + non-standard place, e.g., a packaged software distribution might have + the catalogs under a po/ directory under its own main directory. See “man + bindtextdomain” for details. +
  6. +
  7. The textdomain call on line 9 sets the message domain of the current + program to “hello,” i.e., the name that we are using for our example + program. “man textdomain” will give usage details for the function. +
  8. +
  9. Finally, on line 10, we have replaced what would normally have been, +
    +  printf( "Hello, world!\n" );
    +
    +with, +
    +  printf( gettext( "Hello, world!\n" ) );
    +
    +(If you are unfamiliar with C, the +\n at the end of the string +produces a newline at the end of the output.) This simple modification to all +translatable strings allows the translator to work independently from the +programmer. gettextize eases the task of the programmer in adapting a +package to use GNU gettext for the first time, or to upgrade to a newer +version of gettext. +
  10. +
+ +

+Extracting translatable strings +

+ Now, it is time to extract the strings to be translated from the program +source code. This is achieved with xgettext, which can be invoked as follows: +

+  xgettext -d hello -o hello.pot hello.c
+
+This processes the source code in hello.c, saving the output in hello.pot (the +argument to the -o option). +The message domain for the program should be specified as the argument +to the -d option, and should match the domain specified in the call to +textdomain (on line 9 of the program source). Other details on how to use +gettext can be found from “man gettext.” + +

+A .pot (portable object template) file is used as the basis for translating +program messages into any language. To start translation, one can simply copy +hello.pot to oriya.po (this preserves the template file for later translation +into a different language). However, the preferred way to do this is by +use of the msginit program, which takes care of correctly setting up some +default values, +


+  msginit -l or_IN -o oriya.po -i hello.pot
+
+Here, the -l option defines the locale (an Oriya locale should have been +installed on your system), and the -i and -o options define the input and +output files, respectively. If there is only a single .pot file in the +directory, it will be used as the input file, and the -i option can be +omitted. For me, the oriya.po file produced by msginit would look like: +
+  # Oriya translations for PACKAGE package.
+  # Copyright (C) 2004 THE PACKAGE'S COPYRIGHT HOLDER
+  # This file is distributed under the same license as the PACKAGE package.
+  # Gora Mohanty <gora_mohanty@yahoo.co.in>, 2004.
+  #
+  msgid ""
+  msgstr ""
+  "Project-Id-Version: PACKAGE VERSION\n"
+  "Report-Msgid-Bugs-To: \n"
+  "POT-Creation-Date: 2004-06-22 02:22+0530\n"
+  "PO-Revision-Date: 2004-06-22 02:38+0530\n"
+  "Last-Translator: Gora Mohanty <gora_mohanty@yahoo.co.in>\n"
+  "Language-Team: Oriya\n"
+  "MIME-Version: 1.0\n"
+  "Content-Type: text/plain; charset=UTF-8\n"
+  "Content-Transfer-Encoding: 8bit\n"
+ 
+  #: hello.c:10
+  msgid "Hello, world!\n"
+  msgstr ""
+
+msginit prompted for my email address, and probably obtained my real name +from the system password file. It also filled in values such as the revision +date, language, character set, presumably using information from the or_IN +locale. + +

+It is important to respect the format of the entries in the .po (portable +object) file. Each entry has the following structure: +

+  WHITE-SPACE
+  #  TRANSLATOR-COMMENTS
+  #. AUTOMATIC-COMMENTS
+  #: REFERENCE...
+  #, FLAG...
+  msgid UNTRANSLATED-STRING
+  msgstr TRANSLATED-STRING
+
+where, the initial white-space (spaces, tabs, newlines,...), and all +comments might or might not exist for a particular entry. Comment lines start +with a '#' as the first character, and there are two kinds: (i) manually +added translator comments, that have some white-space immediately following the +'#,' and (ii) automatic comments added and maintained by the gettext tools, +with a non-white-space character after the '#.' The msgid line contains +the untranslated (English) string, if there is one for that PO file entry, and +the msgstr line is where the translated string is to be entered. More on +this later. For details on the format of PO files see gettext::Basics::PO +Files:: in the Emacs info-browser (see Appdx. A for an +introduction to using the info-browser in Emacs). + +

+Making translations +

+ The oriya.po file can then be edited to add the translated Oriya +strings. While the editing can be carried out in any editor if one is careful +to follow the PO file format, there are several editors that ease the task of +editing PO files, among them being po-mode in Emacs, kbabel, gtranslator, +poedit, etc. Appdx. B describes features of some of +these editors. + +

+The first thing to do is fill in the comments at the beginning and the header +entry, parts of which have already been filled in by msginit. The lines in +the header entry are pretty much self-explanatory, and details can be found in +the gettext::Creating::Header Entry:: info node. After that, the remaining +work consists of typing the Oriya text that is to serve as translations for +the corresponding English string. For the msgstr line in each of the +remaining entries, add the translated Oriya text between the double quotes; +the translation corresponding to the English phrase in the msgid string +for the entry. For example, for the phrase “Hello world! +\n” in +oriya.po, we could enter “ନମସ୍କାର +\n”. The final +oriya.po file might look like: +

+  # Oriya translations for hello example package.
+  # Copyright (C) 2004 Gora Mohanty
+  # This file is distributed under the same license as the hello example package.
+  # Gora Mohanty <gora_mohanty@yahoo.co.in>, 2004.
+  #
+  msgid ""
+  msgstr ""
+  "Project-Id-Version: oriya\n"
+  "Report-Msgid-Bugs-To: \n"
+  "POT-Creation-Date: 2004-06-22 02:22+0530\n"
+  "PO-Revision-Date: 2004-06-22 10:54+0530\n"
+  "Last-Translator: Gora Mohanty <gora_mohanty@yahoo.co.in>\n"
+  "Language-Team: Oriya\n"
+  "MIME-Version: 1.0\n"
+  "Content-Type: text/plain; charset=UTF-8\n"
+  "Content-Transfer-Encoding: 8bit\n"
+  "X-Generator: KBabel 1.3\n"
+
+  #: hello.c:10
+  msgid "Hello, world!\n"
+  msgstr "ନମସ୍କାର\n"
+
+ +

+For editing PO files, I have found the kbabel editor suits me the best. The +only problem is that while Oriya text can be entered directly into kbabel +using the xkb Oriya keyboard layouts [1] and the entries +are saved properly, the text is not displayed correctly in the kbabel window +if it includes conjuncts. Emacs po-mode is a little restrictive, but strictly +enforces conformance with the PO file format. The main problem with it is that +it does not seem currently possible to edit Oriya text in Emacs. yudit +is the best at editing Oriya text, but does not ensure that the PO file format +is followed. You can play around a bit with these editors to find one that +suits your personal preferences. One possibility might be to first edit the +header entry with kbabel or Emacs po-mode, and then use yudit to enter +the Oriya text on the msgstr lines. + +

+Message catalogs +

+ After completing the translations in the oriya.po file, it must be compiled to +a binary format that can be quickly loaded by the gettext tools. To do that, +use: +

+  msgfmt -c -v -o hello.mo oriya.po
+
+The -c option does detailed checking of the PO file format, -v makes the +program verbose, and the output filename is given by the argument to the -o +option. Note that the base of the output filename should match the message +domain given in the first arguments to bindtextdomain and textdomain on +lines 8 and 9 of the example program in Sec. 2. The .mo +(machine object) file should be stored in the location whose base directory is +given by the second argument to bindtextdomain. The final location of the +file will be in the sub-directory LL/LC_MESSAGES or LL_CC/LC_MESSAGES under +the base directory, where LL stands for a language, and CC for a country. For +example, as we have chosen the standard location, /usr/share/locale, for our +base directory, and for us the language and country strings are “or” and +“IN,” respectively, we will place hello.mo in /usr/share/locale/or_IN. Note +that you will need super-user privilege to copy hello.mo to this system +directory. Thus, +

+  mkdir -p /usr/share/locale/or_IN/LC_MESSAGES
+  cp hello.mo /usr/share/locale/or_IN/LC_MESSAGES
+
+ +

+The user's viewpoint +

+ Once the message catalogs have been properly installed, any user on the system +can use the Oriya version of the Hello World program, provided an Oriya locale +is available. First, change your locale with, +

+  echo $LANG
+  export LANG=or_IN
+
+The first statement shows you the current setting of your locale (this is +usually en_US, and you will need it to reset the default locale at the end), +while the second one sets it to an Oriya locale. + +

+A Unicode-capable terminal emulator is needed to view Oriya output +directly. The new versions of both gnome-terminal and konsole (the KDE +terminal emulator) are Unicode-aware. I will focus on gnome-terminal as it +seems to have better support for internationalization. gnome-terminal needs to +be told that the bytes arriving are UTF-8 encoded multibyte sequences. This +can be done by (a) choosing Terminal -> Character Coding -> +Unicode (UTF-8), or (b) typing “/bin/echo -n -e +' +\033% +\G'” in the terminal, or (c) by running +/bin/unicode_start. Likewise, you can revert to the default locale by (a) +choosing Terminal -> Character Coding -> Current Locale +(ISO-8859-1), or (b) “/bin/echo -n -e ' +\033% +\@',” or +(c) by running /bin/unicode_stop. Now, running the example program (after +compiling with gcc as described in Sec. 2) with, +


+  ./hello
+
+should give you output in Oriya. Please note that conjuncts will most likely +be displayed with a “halant” as the terminal probably does not render Indian +language fonts correctly. Also, as most terminal emulators assume fixed-width +fonts, the results are hardly likely to be aesthetically appealing. + +

+An alternative is to save the program output in a file, and view it with +yudit which will render the glyphs correctly. Thus, +


+  ./hello > junk
+  yudit junk
+
+Do not forget to reset the locale before resuming usual work in the +terminal. Else, your English characters might look funny. + +

+While all this should give the average user some pleasure in being able to see +Oriya output from a program without a whole lot of work, it should be kept in +mind that we are still far from our desired goal. Hopefully, one day the +situation will be such that rather than deriving special pleasure from it, +users take it for granted that Oriya should be available and are upset +otherwise. + +

+ +

+Adding complications: program upgrade +

+The previous section presented a simple example of how Oriya language support +could be added to a C program. Like all programs, we might now wish to further +enhance it. For example, we could include a greeting to the user by adding +another printf statement after the first one. Our new hello.c source +code might look like this: +
+1    #include <libintl.h>
+2    #include <locale.h>
+3    #include <stdio.h>
+4    #include <stdlib.h>
+5    int main(void)
+6    {
+7      setlocale( LC_ALL, "" );
+8      bindtextdomain( "hello", "/usr/share/locale" );
+9      textdomain( "hello" );
+10      printf( gettext( "Hello, world!\n" ) );
+11      printf( gettext( "How are you\n" ) );
+12      exit(0);
+13    }
+
+For such a small change, it would be simple enough to just repeat the above +cycle of extracting the relevant English text, translating it to Oriya, and +preparing a new message catalog. We can even simplify the work by cutting and +pasting most of the old oriya.po file into the new one. However, real programs +will have thousands of such strings, and we would like to be able to translate +only the changed strings, and have the gettext utilities handle the drudgery +of combining the new translations with the old ones. This is indeed possible. + +

+Merging old and new translations +

+ As before, extract the translatable strings from hello.c to a new portable +object template file, hello-new.pot, using xgettext, +

+  xgettext -d hello -o hello-new.pot hello.c
+
+Now, we use a new program, msgmerge, to merge the existing .po file with +translations into the new template file, viz., +

+  msgmerge -U oriya.po hello-new.pot
+
+The -U option updates the existing +.po file, oriya.po. We could have chosen to instead create a new .po file by +using “-o <filename>” instead of -U. The updated .po file will still +have the old translations embedded in it, and new entries with untranslated +msgid lines. For us, the new lines in oriya.po will look like, +
+  #: hello.c:11
+  msgid "How are you?\n"
+  msgstr ""
+
+For the new translation, we could use, “ଆପଣ +କିପରି ଅଛନ୍ତି?” in +place of the English phrase “How are you?” The updated oriya.po file, +including the translation might look like: +
+  # Oriya translations for hello example package.
+  # Copyright (C) 2004 Gora Mohanty
+  # This file is distributed under the same license as the hello examplepackage.
+  # Gora Mohanty <gora_mohanty@yahoo.co.in>, 2004.
+  #
+  msgid ""
+  msgstr ""
+  "Project-Id-Version: oriya\n"
+  "Report-Msgid-Bugs-To: \n"
+  "POT-Creation-Date: 2004-06-23 14:30+0530\n"
+  "PO-Revision-Date: 2004-06-22 10:54+0530\n"
+  "Last-Translator: Gora Mohanty <gora_mohanty@yahoo.co.in>\n"
+  "Language-Team: Oriya\n"
+  "MIME-Version: 1.0\n"
+  "Content-Type: text/plain; charset=UTF-8\n"
+  "Content-Transfer-Encoding: 8bit\n"
+  "X-Generator: KBabel 1.3\n"
+  
+  #: hello.c:10
+  msgid "Hello, world!\n"
+  msgstr "ନମସ୍କାର\n"
+
+  #: hello.c:11
+  msgid "How are you?\n"
+  msgstr "ଆପଣ କିପରି ଅଛନ୍ତି?\n"
+
+ +

+Compile oriya.po to a machine object file, and install in the appropriate +place as in Sec. 2.4. Thus, +


+  msgfmt -c -v -o hello.mo oriya.po
+  mkdir -p /usr/share/locale/or_IN/LC_MESSAGES
+  cp hello.mo /usr/share/locale/or_IN/LC_MESSAGES
+
+You can test the Oriya output as above, after recompiling hello.c and running +it in an Oriya locale. + +

+ +

+More about gettext +

+The GNU gettext info pages provide a well-organized and complete description +of the gettext utilities and their usage for enabling Native Language +Support. One should, at the very least, read the introductory material at +gettext::Introduction::, and the suggested references in +gettext::Conclusion::References::. Besides the gettext utilities described in +this document, various other programs to manipulate .po files are discussed in +gettext:Manipulating::. Finally, support for programming languages other than +C/C++ is discussed in gettext::Programming Languages::. + +

+ +

+The work of translation +

+ Besides the obvious program message strings that have been the sole focus of +our discussion here, there are many other things that require translation, +including GUI messages, command-line option strings, configuration files, +program documentation, etc. Besides these obvious aspects, there are a +significant number of programs and/or scripts that are automatically generated +by other programs. These generated programs might also themselves require +translation. So, in any effort to provide support for a given native language, +carrying out the translation and keeping up with program updates becomes a +major part of the undertaking, requiring a continuing commitment from the +language team. A plan has been outlined for the Oriya localization +project [2]. + +

+ +

+Acknowledgments +

+Extensive use has obviously been made of the GNU gettext manual in preparing +this document. I have also been helped by an article in the Linux +Journal [3]. + +

+This work is part of the project for enabling the use of Oriya under Linux. I +thank my uncle, N. M. Pattnaik, for conceiving of the project. We have all +benefited from the discussions amidst the group of people working on this +project. On the particular issue of translation, the help of H. R. Pansari, +A. Nayak, and M. Chand is much appreciated. + +

+The Emacs info browser +

+You can start up Emacs from the command-line by typing “emacs,” or “emacs +<filename>.” It can be started from the menu in some desktops, e.g., on +my GNOME desktop, it is under Main Menu -> Programming -> +Emacs. If you are unfamiliar with Emacs, a tutorial can be started by typing +“C-h t” in an Emacs window, or from the Help item in the menubar at the +top. Emacs makes extensive use of the Control (sometimes labelled as “CTRL” +or “CTL”) and Meta (sometimes labelled as “Edit” or “Alt”) keys. In +Emacs parlance, a hyphenated sequence, such as “C-h” means to press the +Control and ‘h’ key simultaneously, while “C-h t” would mean to press the +Control and ‘h’ key together, release them, and press the ‘t’ key. Similarly, +“M-x” is used to indicate that the Meta and ‘x’ keys should be pressed at +the same time. + +

+The info browser can be started by typing “C-h i” in Emacs. The first time +you do this, it will briefly list some commands available inside the info +browser, and present you with a menu of major topics. Each menu item, or +cross-reference is hyperlinked to the appropriate node, and you can visit that +node either by moving the cursor to the item and pressing Enter, or by +clicking on it with the middle mouse button. To get to the gettext menu items, +you can either scroll down to the line, +

+  * gettext: (gettext).                          GNU gettext utilities.
+
+and visit that node. Or, as it is several pages down, you can locate it using +“I-search.” Type “C-s” to enter “I-search” which will then prompt you +for a string in the mini-buffer at the bottom of the window. This is an +incremental search, so that Emacs will keep moving you forward through the +buffer as you are entering your search string. If you have reached the last +occurrence of the search string in the current buffer, you will get a message +saying “Failing I-search: ...” on pressing “C-s.” At that point, press +“C-s” again to resume the search at the beginning of the buffer. Likewise, +“C-r” incrementally searches backwards from the present location. + +

+Info nodes are listed in this document with a “::” separator, so +that one can go to the gettext::Creating::Header Entry:: by visiting the +“gettext” node from the main info menu, navigating to the “Creating” +node, and following that to the “Header Entry” node. + +

+A stand-alone info browser, independent of Emacs, is also available on many +systems. Thus, the gettext info page can also be accessed by typing +“info gettext” in a terminal. xinfo is an X application serving as an +info browser, so that if it is installed, typing “xinfo gettext” from the +command line will open a new browser window with the gettext info page. + +

+ +

+PO file editors +

+While the yudit editor is adequate for our present purposes, and we are +planning on using that as it is platform-independent, and currently the best +at rendering Oriya. This section describes some features of some editors that +are specialized for editing PO files under Linux. This is still work in +progress, as I am in the process of trying out different editors before +settling on one. The ones considered here are: Emacs in po-mode, poedit, +kbabel, and gtranslator. + +

+Emacs PO mode +

+ Emacs should automatically enter po-mode when you load a .po file, as +indicated by “PO” in the modeline at the bottom. The window is made +read-only, so that you can edit the .po file only through special commands. A +description of Emacs po-mode can be found under the gettext::Basics info node, +or type ‘h’ or ‘?’ in a po-mode window for a list of available commands. While +I find Emacs po-mode quite restrictive, this is probably due to unfamiliarity +with it. Its main advantage is that it imposes rigid conformance to the PO +file format, and checks the file format when closing the .po file +buffer. Emacs po-mode is not useful for Oriya translation, as I know of no way +to directly enter Oriya text under Emacs. + +

+poedit +

+ XXX: in preparation. + +

+KDE: the kbabel editor +

+ kbabel [4] is a more user-friendly and configurable editor than +either of Emacs po-mode or poedit. It is integrated into KDE, and offers +extensive contextual help. Besides support for various PO file features, it +has a plugin framework for dictionaries, that allows consistency checks and +translation suggestions. + +

+GNOME: the gtranslator editor +

+ XXX: in preparation. + +

+Bibliography +

1 +
+G. Mohanty, +
A practical primer for using Oriya under Linux, v0.3, +
http://oriya.sarovar.org/docs/getting_started/index.html, 2004, +
Sec. 6.2 describes the xkb layouts for Oriya. + +

2 +
+G. Mohanty, +
A plan for Oriya localization, v0.1, +
http://oriya.sarovar.org/docs/translation_plan/index.html, + 2004. + +

3 +
+Linux Journal article on internationalization, +
https://www.linuxjournal.com/article/3023. + +

4 +
+Features of the kbabel editor, +
http://i18n.kde.org/tools/kbabel/features.html. +
+ +

+About this document ... +

+ A tutorial on Native Language Support using GNU gettext

+This document was generated using the +LaTeX2HTML translator Version 2002-2-1 (1.70) +

+Copyright © 1993, 1994, 1995, 1996, +Nikos Drakos, +Computer Based Learning Unit, University of Leeds. +
Copyright © 1997, 1998, 1999, +Ross Moore, +Mathematics Department, Macquarie University, Sydney. +

+The command line arguments were:
+ latex2html -no_math -html_version 4.0,math,unicode,i18n,tables -split 0 memo +

+The translation was initiated by Gora Mohanty on 2004-07-24 +