From 9a702b150c8ddeafa8c10c9f120dafdeb08ef93b Mon Sep 17 00:00:00 2001 From: Jakub Wilk Date: Sun, 10 Feb 2019 12:51:30 +0100 Subject: Fix various typos in the documentation --- apt-pkg/contrib/strutl.cc | 2 +- doc/apt-get.8.xml | 4 ++-- doc/design.dbk | 2 +- doc/dpkg-tech.dbk | 4 ++-- doc/guide.dbk | 2 +- doc/libapt-pkg2_to_3.txt | 6 +++--- doc/po/apt-doc.pot | 6 +++--- doc/po/de.po | 6 +++--- doc/po/es.po | 8 ++++---- doc/po/fr.po | 6 +++--- doc/po/it.po | 8 ++++---- doc/po/ja.po | 6 +++--- doc/po/nl.po | 6 +++--- doc/po/pl.po | 6 +++--- doc/po/pt.po | 6 +++--- doc/po/pt_BR.po | 6 +++--- test/integration/test-apt-get-source-authenticated | 2 +- test/interactive-helper/aptwebserver.cc | 2 +- 18 files changed, 44 insertions(+), 44 deletions(-) diff --git a/apt-pkg/contrib/strutl.cc b/apt-pkg/contrib/strutl.cc index 2e3e025ec..50344d1fe 100644 --- a/apt-pkg/contrib/strutl.cc +++ b/apt-pkg/contrib/strutl.cc @@ -989,7 +989,7 @@ static time_t timegm(struct tm *t) } #endif /*}}}*/ -// RFC1123StrToTime - Converts a HTTP1.1 full date strings into a time_t /*{{{*/ +// RFC1123StrToTime - Converts an HTTP1.1 full date strings into a time_t /*{{{*/ // --------------------------------------------------------------------- /* tries to parses a full date as specified in RFC7231 §7.1.1.1 with one exception: HTTP/1.1 valid dates need to have GMT as timezone. diff --git a/doc/apt-get.8.xml b/doc/apt-get.8.xml index 81f580c31..b757c3d30 100644 --- a/doc/apt-get.8.xml +++ b/doc/apt-get.8.xml @@ -356,7 +356,7 @@ Automatic yes to prompts; assume "yes" as answer to all prompts and run non-interactively. If an undesirable situation, such as changing a held - package, trying to install a unauthenticated package or removing an essential package + package, trying to install an unauthenticated package or removing an essential package occurs then apt-get will abort. Configuration Item: APT::Get::Assume-Yes. @@ -413,7 +413,7 @@ Allow installing new packages when used in conjunction with upgrade. This is useful if - the update of a installed package requires new dependencies to be + the update of an installed package requires new dependencies to be installed. Instead of holding the package back upgrade will upgrade the package and install the new dependencies. Note that upgrade with this option will never remove packages, diff --git a/doc/design.dbk b/doc/design.dbk index 157e75c1a..fabc915e5 100644 --- a/doc/design.dbk +++ b/doc/design.dbk @@ -262,7 +262,7 @@ dependencies) Build a list of events. Simple topological sorting gives order of packages in dependency order. At certain points in this ordering, -predependencies/immediate configure directives cause an break in normal +predependencies/immediate configure directives cause a break in normal ordering. We need to insert the uninstall/purge directive in the stream (default: as early as possible). diff --git a/doc/dpkg-tech.dbk b/doc/dpkg-tech.dbk index d2d5061ab..62c587976 100644 --- a/doc/dpkg-tech.dbk +++ b/doc/dpkg-tech.dbk @@ -271,7 +271,7 @@ successful. half-installed -An attempt was made to remove the packagem but there was a failure in the +An attempt was made to remove the package but there was a failure in the prerm script. @@ -803,7 +803,7 @@ These files are created internally by dpkg's "checkpoint" function, and are cleaned up when dpkg exits cleanly. -Juding by the use of the updates directory I would call it a Journal. Inorder +Judging by the use of the updates directory I would call it a Journal. Inorder to efficiently ensure the complete integrity of the status file dpkg will "checkpoint" or journal all of it's activities in the updates directory. By merging the contents of the updates directory (in order!!) against the original diff --git a/doc/guide.dbk b/doc/guide.dbk index dbc4f5431..ab4b0c6d0 100644 --- a/doc/guide.dbk +++ b/doc/guide.dbk @@ -231,7 +231,7 @@ use packages on your CD-ROM before downloading from the Internet. The Sources setup starts by asking for the base of the -Debian archive, defaulting to a HTTP mirror. Next it asks for the distribution +Debian archive, defaulting to an HTTP mirror. Next it asks for the distribution to get. diff --git a/doc/libapt-pkg2_to_3.txt b/doc/libapt-pkg2_to_3.txt index 2806f4081..6beaafbf8 100644 --- a/doc/libapt-pkg2_to_3.txt +++ b/doc/libapt-pkg2_to_3.txt @@ -1,5 +1,5 @@ libapt-pkg v2 to v3 incorporates several source-incompatible changes -that people need to be aware of.. Many of this changes are done so that +that people need to be aware of.. Many of these changes are done so that most old source will continue to function, but perhaps at reduced functionality. @@ -34,12 +34,12 @@ functionality. by the Cache or _system structures. * Initialization is now two stage (define APT_COMPATIBILITY..) The first stage, pkgInitConfig is called before commandline parsing, and - pkgInitSystem is called after. This gives the user the oppertunity to + pkgInitSystem is called after. This gives the user the opportunity to override default settings from the config files before startup has been finalized. * pkgSourceList has been gutted. All the junk that was in there before is cleaned up and put in the pkgIndexFile class. There is very little API - corrispondence here.. + correspondence here.. * pkgMakeStatusCacheMem is gone, pkgMakeStatusCache does the same thing if you set the AllowMem flag. Also, you can get a copy of the map used to store the cache to advoid having to remap it in the calling code. A bunch diff --git a/doc/po/apt-doc.pot b/doc/po/apt-doc.pot index 51fb547ef..57afc4c6f 100644 --- a/doc/po/apt-doc.pot +++ b/doc/po/apt-doc.pot @@ -1162,7 +1162,7 @@ msgstr "" msgid "" "Automatic yes to prompts; assume \"yes\" as answer to all prompts and run " "non-interactively. If an undesirable situation, such as changing a held " -"package, trying to install a unauthenticated package or removing an " +"package, trying to install an unauthenticated package or removing an " "essential package occurs then apt-get will abort. " "Configuration Item: APT::Get::Assume-Yes." msgstr "" @@ -1229,7 +1229,7 @@ msgstr "" #: apt-get.8.xml msgid "" "Allow installing new packages when used in conjunction with " -"upgrade. This is useful if the update of a installed " +"upgrade. This is useful if the update of an installed " "package requires new dependencies to be installed. Instead of holding the " "package back upgrade will upgrade the package and install " "the new dependencies. Note that upgrade with this option " @@ -8003,7 +8003,7 @@ msgstr "" #: guide.dbk msgid "" "The Sources setup starts by asking for the base of the " -"Debian archive, defaulting to a HTTP mirror. Next it asks for the " +"Debian archive, defaulting to an HTTP mirror. Next it asks for the " "distribution to get." msgstr "" diff --git a/doc/po/de.po b/doc/po/de.po index e751ade26..ff685f29e 100644 --- a/doc/po/de.po +++ b/doc/po/de.po @@ -1593,7 +1593,7 @@ msgstr "" msgid "" "Automatic yes to prompts; assume \"yes\" as answer to all prompts and run " "non-interactively. If an undesirable situation, such as changing a held " -"package, trying to install a unauthenticated package or removing an " +"package, trying to install an unauthenticated package or removing an " "essential package occurs then apt-get will abort. " "Configuration Item: APT::Get::Assume-Yes." msgstr "" @@ -1692,7 +1692,7 @@ msgstr "" #: apt-get.8.xml msgid "" "Allow installing new packages when used in conjunction with " -"upgrade. This is useful if the update of a installed " +"upgrade. This is useful if the update of an installed " "package requires new dependencies to be installed. Instead of holding the " "package back upgrade will upgrade the package and install " "the new dependencies. Note that upgrade with this option " @@ -11523,7 +11523,7 @@ msgstr "" #: guide.dbk msgid "" "The Sources setup starts by asking for the base of the " -"Debian archive, defaulting to a HTTP mirror. Next it asks for the " +"Debian archive, defaulting to an HTTP mirror. Next it asks for the " "distribution to get." msgstr "" "Das Einrichten der Quellen beginnt durch das Erfragen " diff --git a/doc/po/es.po b/doc/po/es.po index b4c07e3c4..44ed108d4 100644 --- a/doc/po/es.po +++ b/doc/po/es.po @@ -1634,7 +1634,7 @@ msgstr "" msgid "" "Automatic yes to prompts; assume \"yes\" as answer to all prompts and run " "non-interactively. If an undesirable situation, such as changing a held " -"package, trying to install a unauthenticated package or removing an " +"package, trying to install an unauthenticated package or removing an " "essential package occurs then apt-get will abort. " "Configuration Item: APT::Get::Assume-Yes." msgstr "" @@ -1752,7 +1752,7 @@ msgstr "" #: apt-get.8.xml msgid "" "Allow installing new packages when used in conjunction with " -"upgrade. This is useful if the update of a installed " +"upgrade. This is useful if the update of an installed " "package requires new dependencies to be installed. Instead of holding the " "package back upgrade will upgrade the package and install " "the new dependencies. Note that upgrade with this option " @@ -9991,7 +9991,7 @@ msgid "" "from polluting its cache with (big) .deb files." msgstr "" "Se proporcionan tres opciones de configuración para el control de la caché " -"con proxy cachés conformes a HTTP/1.1. No-Cache indica al " +"con proxy cachés conformes an HTTP/1.1. No-Cache indica al " "proxy que nunca utilice la respuesta cacheada. Max-Age " "define la máxima antigüedad permitida (en segundos) de un fichero de índice " "en la caché de un proxy. No-Store define que el proxy no " @@ -11008,7 +11008,7 @@ msgstr "" #: guide.dbk msgid "" "The Sources setup starts by asking for the base of the " -"Debian archive, defaulting to a HTTP mirror. Next it asks for the " +"Debian archive, defaulting to an HTTP mirror. Next it asks for the " "distribution to get." msgstr "" "La configuración de las fuentes comienza preguntando la " diff --git a/doc/po/fr.po b/doc/po/fr.po index 05d896374..d34e33b03 100644 --- a/doc/po/fr.po +++ b/doc/po/fr.po @@ -1594,7 +1594,7 @@ msgstr "" msgid "" "Automatic yes to prompts; assume \"yes\" as answer to all prompts and run " "non-interactively. If an undesirable situation, such as changing a held " -"package, trying to install a unauthenticated package or removing an " +"package, trying to install an unauthenticated package or removing an " "essential package occurs then apt-get will abort. " "Configuration Item: APT::Get::Assume-Yes." msgstr "" @@ -1693,7 +1693,7 @@ msgstr "" #: apt-get.8.xml msgid "" "Allow installing new packages when used in conjunction with " -"upgrade. This is useful if the update of a installed " +"upgrade. This is useful if the update of an installed " "package requires new dependencies to be installed. Instead of holding the " "package back upgrade will upgrade the package and install " "the new dependencies. Note that upgrade with this option " @@ -11480,7 +11480,7 @@ msgstr "" #: guide.dbk msgid "" "The Sources setup starts by asking for the base of the " -"Debian archive, defaulting to a HTTP mirror. Next it asks for the " +"Debian archive, defaulting to an HTTP mirror. Next it asks for the " "distribution to get." msgstr "" "La configuration des Sources débute par l'indication de " diff --git a/doc/po/it.po b/doc/po/it.po index a849966c7..79a265475 100644 --- a/doc/po/it.po +++ b/doc/po/it.po @@ -1634,7 +1634,7 @@ msgstr "" msgid "" "Automatic yes to prompts; assume \"yes\" as answer to all prompts and run " "non-interactively. If an undesirable situation, such as changing a held " -"package, trying to install a unauthenticated package or removing an " +"package, trying to install an unauthenticated package or removing an " "essential package occurs then apt-get will abort. " "Configuration Item: APT::Get::Assume-Yes." msgstr "" @@ -1732,7 +1732,7 @@ msgstr "" #: apt-get.8.xml msgid "" "Allow installing new packages when used in conjunction with " -"upgrade. This is useful if the update of a installed " +"upgrade. This is useful if the update of an installed " "package requires new dependencies to be installed. Instead of holding the " "package back upgrade will upgrade the package and install " "the new dependencies. Note that upgrade with this option " @@ -10135,7 +10135,7 @@ msgid "" "from polluting its cache with (big) .deb files." msgstr "" "Sono fornite tre impostazioni per il controllo della cache in proxy con " -"cache conformi a HTTP/1.1. No-Cache indica al proxy di " +"cache conformi an HTTP/1.1. No-Cache indica al proxy di " "non usare la sua risposta in cache in nessuna circostanza. Max-Age imposta l'età massima consentita (in secondi) di un file indice " "nella cache del proxy. No-Store specifica che il proxy " @@ -11188,7 +11188,7 @@ msgstr "" #: guide.dbk msgid "" "The Sources setup starts by asking for the base of the " -"Debian archive, defaulting to a HTTP mirror. Next it asks for the " +"Debian archive, defaulting to an HTTP mirror. Next it asks for the " "distribution to get." msgstr "" "La configurazione delle fonti inizia chiedendo la base " diff --git a/doc/po/ja.po b/doc/po/ja.po index 11ac98253..b83f9d99c 100644 --- a/doc/po/ja.po +++ b/doc/po/ja.po @@ -1584,7 +1584,7 @@ msgstr "" msgid "" "Automatic yes to prompts; assume \"yes\" as answer to all prompts and run " "non-interactively. If an undesirable situation, such as changing a held " -"package, trying to install a unauthenticated package or removing an " +"package, trying to install an unauthenticated package or removing an " "essential package occurs then apt-get will abort. " "Configuration Item: APT::Get::Assume-Yes." msgstr "" @@ -1677,7 +1677,7 @@ msgstr "" #: apt-get.8.xml msgid "" "Allow installing new packages when used in conjunction with " -"upgrade. This is useful if the update of a installed " +"upgrade. This is useful if the update of an installed " "package requires new dependencies to be installed. Instead of holding the " "package back upgrade will upgrade the package and install " "the new dependencies. Note that upgrade with this option " @@ -10782,7 +10782,7 @@ msgstr "" #: guide.dbk msgid "" "The Sources setup starts by asking for the base of the " -"Debian archive, defaulting to a HTTP mirror. Next it asks for the " +"Debian archive, defaulting to an HTTP mirror. Next it asks for the " "distribution to get." msgstr "" "ソースの準備は基礎となる Debian アーカイブの質問から始ま" diff --git a/doc/po/nl.po b/doc/po/nl.po index 0f5462d19..70d728bb5 100644 --- a/doc/po/nl.po +++ b/doc/po/nl.po @@ -1664,7 +1664,7 @@ msgstr "" msgid "" "Automatic yes to prompts; assume \"yes\" as answer to all prompts and run " "non-interactively. If an undesirable situation, such as changing a held " -"package, trying to install a unauthenticated package or removing an " +"package, trying to install an unauthenticated package or removing an " "essential package occurs then apt-get will abort. " "Configuration Item: APT::Get::Assume-Yes." msgstr "" @@ -1765,7 +1765,7 @@ msgstr "" #: apt-get.8.xml msgid "" "Allow installing new packages when used in conjunction with " -"upgrade. This is useful if the update of a installed " +"upgrade. This is useful if the update of an installed " "package requires new dependencies to be installed. Instead of holding the " "package back upgrade will upgrade the package and install " "the new dependencies. Note that upgrade with this option " @@ -11673,7 +11673,7 @@ msgstr "" #: guide.dbk msgid "" "The Sources setup starts by asking for the base of the " -"Debian archive, defaulting to a HTTP mirror. Next it asks for the " +"Debian archive, defaulting to an HTTP mirror. Next it asks for the " "distribution to get." msgstr "" "Het instellen van de Sources (pakketbronnen) begint met " diff --git a/doc/po/pl.po b/doc/po/pl.po index e885d11ee..3b9fe65cb 100644 --- a/doc/po/pl.po +++ b/doc/po/pl.po @@ -1620,7 +1620,7 @@ msgstr "" msgid "" "Automatic yes to prompts; assume \"yes\" as answer to all prompts and run " "non-interactively. If an undesirable situation, such as changing a held " -"package, trying to install a unauthenticated package or removing an " +"package, trying to install an unauthenticated package or removing an " "essential package occurs then apt-get will abort. " "Configuration Item: APT::Get::Assume-Yes." msgstr "" @@ -1745,7 +1745,7 @@ msgstr "" #: apt-get.8.xml msgid "" "Allow installing new packages when used in conjunction with " -"upgrade. This is useful if the update of a installed " +"upgrade. This is useful if the update of an installed " "package requires new dependencies to be installed. Instead of holding the " "package back upgrade will upgrade the package and install " "the new dependencies. Note that upgrade with this option " @@ -10169,7 +10169,7 @@ msgstr "" #: guide.dbk msgid "" "The Sources setup starts by asking for the base of the " -"Debian archive, defaulting to a HTTP mirror. Next it asks for the " +"Debian archive, defaulting to an HTTP mirror. Next it asks for the " "distribution to get." msgstr "" "Ustawianie źródeł zaczyna się od pytania o bazową lokalizację Debiana. " diff --git a/doc/po/pt.po b/doc/po/pt.po index a580af081..33dbd7890 100644 --- a/doc/po/pt.po +++ b/doc/po/pt.po @@ -1600,7 +1600,7 @@ msgstr "" msgid "" "Automatic yes to prompts; assume \"yes\" as answer to all prompts and run " "non-interactively. If an undesirable situation, such as changing a held " -"package, trying to install a unauthenticated package or removing an " +"package, trying to install an unauthenticated package or removing an " "essential package occurs then apt-get will abort. " "Configuration Item: APT::Get::Assume-Yes." msgstr "" @@ -1702,7 +1702,7 @@ msgstr "" #: apt-get.8.xml msgid "" "Allow installing new packages when used in conjunction with " -"upgrade. This is useful if the update of a installed " +"upgrade. This is useful if the update of an installed " "package requires new dependencies to be installed. Instead of holding the " "package back upgrade will upgrade the package and install " "the new dependencies. Note that upgrade with this option " @@ -10948,7 +10948,7 @@ msgstr "" #: guide.dbk msgid "" "The Sources setup starts by asking for the base of the " -"Debian archive, defaulting to a HTTP mirror. Next it asks for the " +"Debian archive, defaulting to an HTTP mirror. Next it asks for the " "distribution to get." msgstr "" "A configuração de Sources começa por perguntar pela " diff --git a/doc/po/pt_BR.po b/doc/po/pt_BR.po index f02fe2969..92fbfc4f6 100644 --- a/doc/po/pt_BR.po +++ b/doc/po/pt_BR.po @@ -1143,7 +1143,7 @@ msgstr "" msgid "" "Automatic yes to prompts; assume \"yes\" as answer to all prompts and run " "non-interactively. If an undesirable situation, such as changing a held " -"package, trying to install a unauthenticated package or removing an " +"package, trying to install an unauthenticated package or removing an " "essential package occurs then apt-get will abort. " "Configuration Item: APT::Get::Assume-Yes." msgstr "" @@ -1210,7 +1210,7 @@ msgstr "" #: apt-get.8.xml msgid "" "Allow installing new packages when used in conjunction with " -"upgrade. This is useful if the update of a installed " +"upgrade. This is useful if the update of an installed " "package requires new dependencies to be installed. Instead of holding the " "package back upgrade will upgrade the package and install " "the new dependencies. Note that upgrade with this option " @@ -8334,7 +8334,7 @@ msgstr "" #: guide.dbk msgid "" "The Sources setup starts by asking for the base of the " -"Debian archive, defaulting to a HTTP mirror. Next it asks for the " +"Debian archive, defaulting to an HTTP mirror. Next it asks for the " "distribution to get." msgstr "" diff --git a/test/integration/test-apt-get-source-authenticated b/test/integration/test-apt-get-source-authenticated index 40710d5d6..d5a4facd5 100755 --- a/test/integration/test-apt-get-source-authenticated +++ b/test/integration/test-apt-get-source-authenticated @@ -2,7 +2,7 @@ # # Regression test for debian bug #749795. Ensure that we fail with # an error if apt-get source foo will download a source that comes -# from a unauthenticated repository +# from an unauthenticated repository # set -e diff --git a/test/interactive-helper/aptwebserver.cc b/test/interactive-helper/aptwebserver.cc index 109364d7a..2243ccea9 100644 --- a/test/interactive-helper/aptwebserver.cc +++ b/test/interactive-helper/aptwebserver.cc @@ -464,7 +464,7 @@ static bool parseFirstLine(std::ostream &log, int const client, std::string cons closeConnection = strcasecmp(LookupTag(request, "Connection", "Keep-Alive").c_str(), "close") == 0; else { - sendError(log, client, 500, request, sendContent, "Not a HTTP/1.{0,1} request", headers); + sendError(log, client, 500, request, sendContent, "Not an HTTP/1.{0,1} request", headers); return false; } -- cgit v1.2.3