unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Julien Lepiller <julien@lepiller.eu>
To: 58564@debbugs.gnu.org
Subject: [bug#58564] [PATCH] gnu: Fix typos.
Date: Sun, 16 Oct 2022 12:50:53 +0200	[thread overview]
Message-ID: <20221016125053.2c4a14c1@sybil.lepiller.eu> (raw)

[-- Attachment #1: Type: text/plain, Size: 101 bytes --]

Hi Guix!

These two patches fix typos in the code and in the manual. These were
reported on weblate.

[-- Attachment #2: 0001-guix-Fix-typos.patch --]
[-- Type: text/x-patch, Size: 5341 bytes --]

From 4f2f3d0220287a2c623ef0762fe069805dd8594e Mon Sep 17 00:00:00 2001
From: Julien Lepiller <julien@lepiller.eu>
Date: Sun, 16 Oct 2022 12:26:54 +0200
Subject: [PATCH 1/2] guix: Fix typos.

These typos were found and reported through weblate.

* gnu/packages/audio.scm (wildmidi)[description]: Fix typo.
* gnu/packages/games.scm (cgoban)[description]: Fix typo.
* gnu/services/version-control.scm (gitolite-service-type)[description]:
  Fix typo.
* gnu/installer/newt/substitutes.scm (run-substitutes-page): Remove full
  stop at end of title.
* gnu/machine/ssh.scm (machine-ssh-configuration-system): Move
  punctuation outside of quotes.
* guix/scripts/home.scm (process-action): Remove trailing space before
  newline.
* guix/scripts/system.scm (show-help): Fix typo.
---
 gnu/installer/newt/substitutes.scm | 2 +-
 gnu/machine/ssh.scm                | 2 +-
 gnu/packages/audio.scm             | 2 +-
 gnu/packages/games.scm             | 3 ++-
 gnu/services/version-control.scm   | 2 +-
 guix/scripts/home.scm              | 2 +-
 guix/scripts/system.scm            | 2 +-
 7 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/gnu/installer/newt/substitutes.scm b/gnu/installer/newt/substitutes.scm
index 938cb1a53b..7599d450b6 100644
--- a/gnu/installer/newt/substitutes.scm
+++ b/gnu/installer/newt/substitutes.scm
@@ -28,7 +28,7 @@ (define* (run-substitutes-page)
   (match (current-clients)
     (()
      (case (choice-window
-            (G_ "Substitute server discovery.")
+            (G_ "Substitute server discovery")
             (G_ "Enable") (G_ "Disable")
             (G_ " By turning this option on, you allow Guix to fetch \
 substitutes (pre-built binaries) during installation from servers \
diff --git a/gnu/machine/ssh.scm b/gnu/machine/ssh.scm
index 60d127340a..1230b1ec0d 100644
--- a/gnu/machine/ssh.scm
+++ b/gnu/machine/ssh.scm
@@ -466,7 +466,7 @@ (define system (machine-ssh-configuration-system config))
          (machine-configuration machine))
     (unless (file-exists? %public-key-file)
       (raise (formatted-message (G_ "no signing key '~a'. \
-have you run 'guix archive --generate-key?'")
+Have you run 'guix archive --generate-key'?")
                                 %public-key-file)))
     (remote-authorize-signing-key (call-with-input-file %public-key-file
                                     (lambda (port)
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index f57c22240a..7adb471060 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -236,7 +236,7 @@ (define-public wildmidi
        ("openal" ,openal)))
     (synopsis "Software Synthesizer")
     (description "WildMIDI is a simple software midi player which has a core
-softsynth library that can be use with other applications.")
+softsynth library that can be used with other applications.")
     (home-page "https://www.mindwerks.net/projects/wildmidi/")
     (license
      (list
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 75af645dac..574b60276c 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -10813,7 +10813,8 @@ (define-public cgoban
     (description "Provides a large set of Go-related services for X11:
 @itemize
 @item Local games with precise implementation of the Chinese and Japanese rulesets
-@item Edition and visualization of SGF files-Connection to the NNGS or IGS Go servers
+@item Edition and visualization of SGF files
+@item Connection to the NNGS or IGS Go servers
 @item Bridge to Go modem protocol, allowing to play against Go modem-capable AIs
 such as GnuGo.
 @end itemize")
diff --git a/gnu/services/version-control.scm b/gnu/services/version-control.scm
index 17a5f9c867..184316b2fe 100644
--- a/gnu/services/version-control.scm
+++ b/gnu/services/version-control.scm
@@ -405,7 +405,7 @@ (define gitolite-service-type
                                (list
                                 (gitolite-configuration-package config))))))
    (description
-    "Setup @command{gitolite}, a Git hosting tool providing access over SSH..
+    "Setup @command{gitolite}, a Git hosting tool providing access over SSH.
 By default, the @code{git} user is used, but this is configurable.
 Additionally, Gitolite can integrate with with tools like gitweb or cgit to
 provide a web interface to view selected repositories.")))
diff --git a/guix/scripts/home.scm b/guix/scripts/home.scm
index 4add7e7c69..683dfd58cd 100644
--- a/guix/scripts/home.scm
+++ b/guix/scripts/home.scm
@@ -476,7 +476,7 @@ (define (process-action action args opts)
   (define (ensure-home-environment file-or-exp obj)
     (ensure-profile-directory)
     (unless (home-environment? obj)
-      (leave (G_ "'~a' does not return a home environment ~%")
+      (leave (G_ "'~a' does not return a home environment~%")
              file-or-exp))
     obj)
 
diff --git a/guix/scripts/system.scm b/guix/scripts/system.scm
index 560f56408c..e568a051b3 100644
--- a/guix/scripts/system.scm
+++ b/guix/scripts/system.scm
@@ -1046,7 +1046,7 @@ (define (show-help)
   (newline)
   (display (G_ "
       --graph-backend=BACKEND
-                         use BACKEND for 'extension-graphs' and 'shepherd-graph'"))
+                         use BACKEND for 'extension-graph' and 'shepherd-graph'"))
   (newline)
   (display (G_ "
   -I, --list-installed[=REGEXP]
-- 
2.38.0


[-- Attachment #3: 0002-doc-Fix-typos.patch --]
[-- Type: text/x-patch, Size: 2586 bytes --]

From 4c051b28ec4d21bbc2597c0ab94fe5daf3fd32d3 Mon Sep 17 00:00:00 2001
From: Julien Lepiller <julien@lepiller.eu>
Date: Sun, 16 Oct 2022 12:49:24 +0200
Subject: [PATCH 2/2] doc: Fix typos.

These typos were found and reported on weblate.

* doc/guix.texi: Fix typos.
---
 doc/guix.texi | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index bdff4004d0..1069152533 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -21627,7 +21627,7 @@ The name of the icon theme to use.
 The name of the cursor theme to use.
 
 @item @code{cursor-theme-size} (default: @code{16}) (type: number)
-The size to use for the the cursor theme.
+The size to use for the cursor theme.
 
 @item @code{allow-debugging?} (type: maybe-boolean)
 Set to #t to enable debug log level.
@@ -22962,7 +22962,7 @@ Enable polling the kernel for battery level changes.
 Ignore the lid state, this can be useful if it's incorrect on a device.
 
 @item @code{use-percentage-for-policy?} (default: @code{#t})
-Whether a to use a policy based on battery percentage rather than on
+Whether to use a policy based on battery percentage rather than on
 estimated time left.  A policy based on battery percentage is usually
 more reliable.
 
@@ -26752,7 +26752,7 @@ When left unspecified, the value from the account archive prevails.
 Whether peer discovery should be enabled.  Peer discovery is used to
 discover other OpenDHT nodes on the local network, which can be useful
 to maintain communication between devices on such network even when the
-connection to the the Internet has been lost.  When left unspecified,
+connection to the Internet has been lost.  When left unspecified,
 the value from the account archive prevails.
 
 @item @code{bootstrap-hostnames} (type: maybe-string-list)
@@ -30989,7 +30989,7 @@ can run on headless servers.  The Xvnc implementations provided by the
 
 The @code{xvnc-server-type} service can be configured via the
 @code{xvnc-configuration} record, documented below.  A second virtual
-display could be made available on a remote machine for via the
+display could be made available on a remote machine via the
 following configuration:
 @end defvar
 
@@ -30998,7 +30998,7 @@ following configuration:
 @end lisp
 
 As a demonstration, the @command{xclock} command could then be started
-on the remote machine on display number 10, and it could be display
+on the remote machine on display number 10, and it could be displayed
 locally via the @command{vncviewer} command:
 @example
 # Start xclock on the remote machine.
-- 
2.38.0


             reply	other threads:[~2022-10-16 10:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-16 10:50 Julien Lepiller [this message]
2022-10-16 10:58 ` [bug#58564] [PATCH] gnu: Fix typos Tobias Geerinckx-Rice via Guix-patches via
2022-10-17  5:34   ` bug#58564: " Julien Lepiller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221016125053.2c4a14c1@sybil.lepiller.eu \
    --to=julien@lepiller.eu \
    --cc=58564@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).