Selaa lähdekoodia

fix typo: allows to -> allows one to

Gianfranco Costamagna 7 vuotta sitten
vanhempi
sitoutus
111a19f7fa

+ 1 - 1
docs/changes.rst

@@ -1493,7 +1493,7 @@ Bug fixes:
 - borg delete:
 
   - make it possible to delete a repo without manifest
-  - borg delete --forced allows to delete corrupted archives, #1139
+  - borg delete --forced allows one to delete corrupted archives, #1139
 - borg check:
 
   - make borg check work for empty repo

+ 2 - 2
docs/internals/data-structures.rst

@@ -374,7 +374,7 @@ needs to be handled.
 
 Lastly, cache_ invalidation is handled by noting which feature
 flags were and which were not understood while manipulating a cache.
-This allows to detect whether the cache needs to be invalidated,
+This allows one to detect whether the cache needs to be invalidated,
 i.e. rebuilt from scratch. See `Cache feature flags`_ below.
 
 The *config* key stores the feature flags enabled on a repository:
@@ -1022,7 +1022,7 @@ Before feeding the checksum algorithm any data, the file name (i.e. without any
 is mixed into the checksum, since the name encodes the context of the data for Borg.
 
 The various indices used by Borg have separate header and main data parts.
-IntegrityCheckedFile allows to checksum them independently, which avoids
+IntegrityCheckedFile allows one to checksum them independently, which avoids
 even reading the data when the header is corrupted. When a part is signalled,
 the length of the part name is mixed into the checksum state first (encoded
 as an ASCII string via `%10d` printf format), then the name of the part

+ 1 - 1
docs/man/borg-key-export.1

@@ -36,7 +36,7 @@ borg [common options] key export [options] [REPOSITORY] [PATH]
 .SH DESCRIPTION
 .sp
 If repository encryption is used, the repository is inaccessible
-without the key. This command allows to backup this essential key.
+without the key. This command allows one to backup this essential key.
 Note that the backup produced does not include the passphrase itself
 (i.e. the exported key stays encrypted). In order to regain access to a
 repository, one needs both the exported key and the original passphrase.

+ 1 - 1
docs/man/borg-key-import.1

@@ -35,7 +35,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 borg [common options] key import [options] [REPOSITORY] [PATH]
 .SH DESCRIPTION
 .sp
-This command allows to restore a key previously backed up with the
+This command allows one to restore a key previously backed up with the
 export command.
 .sp
 If the \fB\-\-paper\fP option is given, the import will be an interactive

+ 1 - 1
docs/man/borg-recreate.1

@@ -46,7 +46,7 @@ resulting archive will only contain files from these PATHs.
 Note that all paths in an archive are relative, therefore absolute patterns/paths
 will \fInot\fP match (\fB\-\-exclude\fP, \fB\-\-exclude\-from\fP, PATHs).
 .sp
-\fB\-\-recompress\fP allows to change the compression of existing data in archives.
+\fB\-\-recompress\fP allows one to change the compression of existing data in archives.
 Due to how Borg stores compressed size information this might display
 incorrect information for archives that were not recreated at the same time.
 There is no risk of data loss by this.

+ 1 - 1
docs/usage/key_export.rst.inc

@@ -58,7 +58,7 @@ Description
 ~~~~~~~~~~~
 
 If repository encryption is used, the repository is inaccessible
-without the key. This command allows to backup this essential key.
+without the key. This command allows one to backup this essential key.
 Note that the backup produced does not include the passphrase itself
 (i.e. the exported key stays encrypted). In order to regain access to a
 repository, one needs both the exported key and the original passphrase.

+ 1 - 1
docs/usage/key_import.rst.inc

@@ -54,7 +54,7 @@ borg key import
 Description
 ~~~~~~~~~~~
 
-This command allows to restore a key previously backed up with the
+This command allows one to restore a key previously backed up with the
 export command.
 
 If the ``--paper`` option is given, the import will be an interactive

+ 1 - 1
docs/usage/recreate.rst.inc

@@ -126,7 +126,7 @@ resulting archive will only contain files from these PATHs.
 Note that all paths in an archive are relative, therefore absolute patterns/paths
 will *not* match (``--exclude``, ``--exclude-from``, PATHs).
 
-``--recompress`` allows to change the compression of existing data in archives.
+``--recompress`` allows one to change the compression of existing data in archives.
 Due to how Borg stores compressed size information this might display
 incorrect information for archives that were not recreated at the same time.
 There is no risk of data loss by this.

+ 1 - 1
scripts/borg.exe.spec

@@ -43,7 +43,7 @@ exe = EXE(pyz,
 
 if False:
     # Enable this block to build a directory-based binary instead of
-    # a packed single file. This allows to easily look at all included
+    # a packed single file. This allows one to easily look at all included
     # files (e.g. without having to strace or halt the built binary
     # and introspect /tmp).
     coll = COLLECT(exe,

+ 4 - 4
src/borg/archiver.py

@@ -2070,7 +2070,7 @@ class Archiver:
         then, after parsing the command line, multiple definitions are resolved.
 
         Defaults are handled by only setting them on the top-level parser and setting
-        a sentinel object in all sub-parsers, which then allows to discern which parser
+        a sentinel object in all sub-parsers, which then allows one to discern which parser
         supplied the option.
         """
 
@@ -2613,7 +2613,7 @@ class Archiver:
 
         key_export_epilog = process_epilog("""
         If repository encryption is used, the repository is inaccessible
-        without the key. This command allows to backup this essential key.
+        without the key. This command allows one to backup this essential key.
         Note that the backup produced does not include the passphrase itself
         (i.e. the exported key stays encrypted). In order to regain access to a
         repository, one needs both the exported key and the original passphrase.
@@ -2650,7 +2650,7 @@ class Archiver:
                                help='Create an html file suitable for printing and later type-in or qr scan')
 
         key_import_epilog = process_epilog("""
-        This command allows to restore a key previously backed up with the
+        This command allows one to restore a key previously backed up with the
         export command.
 
         If the ``--paper`` option is given, the import will be an interactive
@@ -3425,7 +3425,7 @@ class Archiver:
         Note that all paths in an archive are relative, therefore absolute patterns/paths
         will *not* match (``--exclude``, ``--exclude-from``, PATHs).
 
-        ``--recompress`` allows to change the compression of existing data in archives.
+        ``--recompress`` allows one to change the compression of existing data in archives.
         Due to how Borg stores compressed size information this might display
         incorrect information for archives that were not recreated at the same time.
         There is no risk of data loss by this.