You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2021/11/26 17:10:09 UTC

[commons-vfs] 06/16: Fix typos in error messages.

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-vfs.git

commit 1489c552fc243f417eaaf641414460bdb4010716
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Nov 26 10:17:32 2021 -0500

    Fix typos in error messages.
---
 .../resources/org/apache/commons/vfs2/Resources.properties | 14 +++++++-------
 src/changes/changes.xml                                    |  3 +++
 2 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/commons-vfs2/src/main/resources/org/apache/commons/vfs2/Resources.properties b/commons-vfs2/src/main/resources/org/apache/commons/vfs2/Resources.properties
index 51e1b8b..7904775 100644
--- a/commons-vfs2/src/main/resources/org/apache/commons/vfs2/Resources.properties
+++ b/commons-vfs2/src/main/resources/org/apache/commons/vfs2/Resources.properties
@@ -24,7 +24,7 @@ vfs.provider/random-access-not-supported.error=The file type does not support ra
 vfs.provider/random-access-read-not-supported.error=The file type does not support read in random access mode.
 vfs.provider/random-access-write-not-supported.error=The file type does not support write in random access mode.
 vfs.provider/create-folder-not-supported.error=This file type does not support folder creation.
-vfs.provider/get-last-modified-not-supported.error=This file type does not support retriving last modified time.
+vfs.provider/get-last-modified-not-supported.error=This file type does not support retrieving last modified time.
 vfs.provider/set-last-modified-not-supported.error=This file type does not support setting last modified time.
 vfs.provider/set-attribute-not-supported.error=This file type does not support setting attributes.
 vfs.provider/remove-attribute-not-supported.error=This file type does not support removing attributes.
@@ -100,10 +100,10 @@ vfs.provider/invalid-absolute-uri.error=Invalid absolute URI "{0}".
 vfs.provider/not-layered-fs.error=File system for URL scheme "{0}" is not a layered file system.
 vfs.provider/no-config-builder.error=File provider for URL scheme "{0}" does not provide a configuration builder.
 vfs.provider/config-key-invalid.error=The configuration builder for scheme "{0}" has no option "{1}".
-vfs.provider/config-value-invalid.error=The delegating configuration builder cant convert value "{2}" for key "{1}" scheme "{0}".
+vfs.provider/config-value-invalid.error=The delegating configuration builder can't convert value "{2}" for key "{1}" scheme "{0}".
 vfs.provider/config-too-many-values.error=Too many values for configuration builder for scheme "{0}" key "{1}".
 vfs.provider/config-unexpected-primitive.error=Unexpected primitive "{0}".
-vfs.provider/config-unexpected-value-class.error=Cant convert a "{0}" value for scheme "{1}" key "{2}".
+vfs.provider/config-unexpected-value-class.error=Can't convert a "{0}" value for scheme "{1}" key "{2}".
 
 # AbstractFileSystem
 vfs.provider/files-cache-missing.error=No files-cache implementation set.
@@ -145,7 +145,7 @@ vfs.impl/unknown-scheme.error=Unknown scheme "{0}" in URI "{1}".
 vfs.impl/find-rel-file.error=Could not find file with URI "{0}" because it is a relative path, and no base URI was provided.
 vfs.impl/multiple-providers-for-scheme.error=Multiple providers registered for URL scheme "{0}".
 vfs.impl/configuration-already-set.error=FilesCache implementation already set.
-vfs.impl/configuration-already-in-use.error=The configuration is already attached to an filesystemmanager. You cant change it anymore.
+vfs.impl/configuration-already-in-use.error=The configuration is already attached to a file system manager. You can't change it anymore.
 vfs.impl/unknown-provider.error=No file provider is registered with URI scheme "{0}" to handle file "{1}".
 vfs.impl/no-provider-for-file.error=Could not find a file provider that can handle file "{0}".
 vfs.impl/no-local-file-provider.error=Could not find a file provider which can handle local files.
@@ -153,8 +153,8 @@ vfs.impl/no-replicator.error=No file replicator configured.
 vfs.impl/no-temp-file-store.error=No temporary file store configured.
 vfs.impl/replicate-file.error=Could not replicate "{0}".
 vfs.impl/delete-temp.warn=Could not clean up temporary file "{0}".
-vfs.impl/init-replicator.error=Could not initialise file replicator.
-vfs.impl/already-inited.error=Manager already inited, cant change the configuration now.
+vfs.impl/init-replicator.error=Could not initialize file replicator.
+vfs.impl/already-inited.error=Manager already initialized, can't change the configuration now.
 vfs.impl/invalid-decorator.error="{0}" is not a valid decorator. It has to extend "DecoratedFileObject" and must provide a single argument constructor which takes a "FileObject"
 vfs.impl/temp-dir.debug=Using "{0}" as temporary files store.
 
@@ -301,4 +301,4 @@ vfs.selectors/filefilter.missing.error=Configure a fileFilter or override accept
 
 # Utils
 vfs.util/find-abstract-file-object.error=Object "{0}" did not extend from AbstractFileObject.
-vfs.util/missing-capability.error=The Filesystem does not provide the required capability "{0}".
+vfs.util/missing-capability.error=The file system does not provide the required capability "{0}".
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index ed41182..ee8cb29 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -62,6 +62,9 @@ The <action> type attribute can be add,update,fix,remove.
       <action type="fix" issue="VFS-793" dev="ggregory" due-to="Vitali Nashkevich, Gary Gregory">
         GenericFileName.getURI() returns invalid URI.
       </action>
+      <action type="fix" dev="ggregory" due-to="Gary Gregory">
+        Fix typos in error messages.
+      </action>
       <!-- ADD -->
       <action type="add" dev="ggregory" due-to="Seth Falco">
         Add vscode files to gitignore #205.