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

desruisseaux pushed a commit to branch geoapi-4.0
in repository https://gitbox.apache.org/repos/asf/sis.git

commit f8421abcf54561335c4d45a1c06b4a430f8734db
Author: Martin Desruisseaux <[email protected]>
AuthorDate: Wed Jul 17 12:37:00 2024 +0200

    Add "the" in some English error messages.
---
 .../main/org/apache/sis/feature/AbstractAttribute.java              | 2 +-
 .../main/org/apache/sis/feature/AbstractFeature.java                | 2 +-
 .../test/org/apache/sis/feature/SingletonAttributeTest.java         | 2 +-
 .../main/org/apache/sis/referencing/internal/Resources.java         | 2 +-
 .../main/org/apache/sis/referencing/internal/Resources.properties   | 2 +-
 .../org/apache/sis/referencing/AbstractIdentifiedObjectTest.java    | 2 +-
 .../main/org/apache/sis/util/resources/Errors.java                  | 6 +++---
 .../main/org/apache/sis/util/resources/Errors.properties            | 6 +++---
 8 files changed, 12 insertions(+), 12 deletions(-)

diff --git 
a/endorsed/src/org.apache.sis.feature/main/org/apache/sis/feature/AbstractAttribute.java
 
b/endorsed/src/org.apache.sis.feature/main/org/apache/sis/feature/AbstractAttribute.java
index 819d50cd46..13449f784b 100644
--- 
a/endorsed/src/org.apache.sis.feature/main/org/apache/sis/feature/AbstractAttribute.java
+++ 
b/endorsed/src/org.apache.sis.feature/main/org/apache/sis/feature/AbstractAttribute.java
@@ -436,7 +436,7 @@ public abstract class AbstractAttribute<V> extends Field<V> 
implements Attribute
      *         │   └─Code………………………………………… population
      *         ├─Evaluation method type…… Direct internal
      *         └─Result
-     *             ├─Explanation……………………… Missing value for “population” 
property.
+     *             ├─Explanation……………………… Missing value for the “population” 
property.
      *             └─Pass………………………………………… false</pre>
      *
      * @return reports on all constraint violations found.
diff --git 
a/endorsed/src/org.apache.sis.feature/main/org/apache/sis/feature/AbstractFeature.java
 
b/endorsed/src/org.apache.sis.feature/main/org/apache/sis/feature/AbstractFeature.java
index c073f80a18..ba848a3aeb 100644
--- 
a/endorsed/src/org.apache.sis.feature/main/org/apache/sis/feature/AbstractFeature.java
+++ 
b/endorsed/src/org.apache.sis.feature/main/org/apache/sis/feature/AbstractFeature.java
@@ -797,7 +797,7 @@ public abstract class AbstractFeature implements Feature, 
Serializable {
      *         │   └─Code………………………………………… population
      *         ├─Evaluation method type…… Direct internal
      *         └─Result
-     *             ├─Explanation……………………… Missing value for “population” 
property.
+     *             ├─Explanation……………………… Missing value for the “population” 
property.
      *             └─Pass………………………………………… false</pre>
      *
      * @return reports on all constraint violations found.
diff --git 
a/endorsed/src/org.apache.sis.feature/test/org/apache/sis/feature/SingletonAttributeTest.java
 
b/endorsed/src/org.apache.sis.feature/test/org/apache/sis/feature/SingletonAttributeTest.java
index 1070c28dfc..570fe8caf4 100644
--- 
a/endorsed/src/org.apache.sis.feature/test/org/apache/sis/feature/SingletonAttributeTest.java
+++ 
b/endorsed/src/org.apache.sis.feature/test/org/apache/sis/feature/SingletonAttributeTest.java
@@ -96,7 +96,7 @@ public final class SingletonAttributeTest extends TestCase {
         DataQuality quality = attribute.quality();
         assertEquals(ScopeCode.ATTRIBUTE, quality.getScope().getLevel());
         assertDomainConsistencyEquals("population",
-                "Missing value for “population” property.",
+                "Missing value for the “population” property.",
                 (DomainConsistency) getSingleton(quality.getReports()));
         /*
          * Intentionally store a value of the wrong type, and test again.
diff --git 
a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/internal/Resources.java
 
b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/internal/Resources.java
index 1709cc3110..11a8ad71a4 100644
--- 
a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/internal/Resources.java
+++ 
b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/internal/Resources.java
@@ -393,7 +393,7 @@ public class Resources extends IndexedResourceBundle {
         public static final short MissingReferenceFrameEpoch_1 = 102;
 
         /**
-         * Missing value for “{0}” parameter.
+         * Missing value for the “{0}” parameter.
          */
         public static final short MissingValueForParameter_1 = 44;
 
diff --git 
a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/internal/Resources.properties
 
b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/internal/Resources.properties
index 0f3b751097..a79a91f56e 100644
--- 
a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/internal/Resources.properties
+++ 
b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/internal/Resources.properties
@@ -96,7 +96,7 @@ MissingAuthorityCode_1            = Missing or empty 
\u201cID[\u2026]\u201d elem
 MissingInterpolationOrdinates     = Not enough dimension in 
\u2018MathTransform\u2019 input or output coordinates for the interpolation 
points.
 MissingParameterValues_1          = Missing parameter values for 
\u201c{0}\u201d coordinate operation.
 MissingReferenceFrameEpoch_1      = A coordinate epoch is mandatory because 
the \u201c{0}\u201d reference system is dynamic.
-MissingValueForParameter_1        = Missing value for \u201c{0}\u201d 
parameter.
+MissingValueForParameter_1        = Missing value for the \u201c{0}\u201d 
parameter.
 MissingValuesInLocalizationGrid   = The localization grid still have some 
undefined source or target coordinates.
 NoConvergence                     = No convergence.
 NoConvergenceForPoints_2          = No convergence for points {0} and {1}.
diff --git 
a/endorsed/src/org.apache.sis.referencing/test/org/apache/sis/referencing/AbstractIdentifiedObjectTest.java
 
b/endorsed/src/org.apache.sis.referencing/test/org/apache/sis/referencing/AbstractIdentifiedObjectTest.java
index 44798340d0..fef7aec5d4 100644
--- 
a/endorsed/src/org.apache.sis.referencing/test/org/apache/sis/referencing/AbstractIdentifiedObjectTest.java
+++ 
b/endorsed/src/org.apache.sis.referencing/test/org/apache/sis/referencing/AbstractIdentifiedObjectTest.java
@@ -118,7 +118,7 @@ public final class AbstractIdentifiedObjectTest extends 
TestCase {
         // Try again, with error messages forced to English.
         assertNull(properties.put(AbstractIdentifiedObject.LOCALE_KEY, 
Locale.US));
         exception = assertThrows(IllegalArgumentException.class, test, "Should 
not allow unnamed object.");
-        assertEquals("Missing value for “name” property.", 
exception.getMessage());
+        assertEquals("Missing value for the “name” property.", 
exception.getMessage());
 
         // "code" with String value is accepted as well.
         assertNull(properties.put("code", "Test"));
diff --git 
a/endorsed/src/org.apache.sis.util/main/org/apache/sis/util/resources/Errors.java
 
b/endorsed/src/org.apache.sis.util/main/org/apache/sis/util/resources/Errors.java
index 027b7f1b48..3175d60500 100644
--- 
a/endorsed/src/org.apache.sis.util/main/org/apache/sis/util/resources/Errors.java
+++ 
b/endorsed/src/org.apache.sis.util/main/org/apache/sis/util/resources/Errors.java
@@ -619,17 +619,17 @@ public class Errors extends IndexedResourceBundle {
         public static final short MissingRequiredModule_1 = 109;
 
         /**
-         * Missing value for “{0}” option.
+         * Missing value for the “{0}” option.
          */
         public static final short MissingValueForOption_1 = 110;
 
         /**
-         * Missing value for “{0}” property.
+         * Missing value for the “{0}” property.
          */
         public static final short MissingValueForProperty_1 = 111;
 
         /**
-         * Missing value for “{1}” property in “{0}”.
+         * Missing value for the “{1}” property in “{0}”.
          */
         public static final short MissingValueForProperty_2 = 112;
 
diff --git 
a/endorsed/src/org.apache.sis.util/main/org/apache/sis/util/resources/Errors.properties
 
b/endorsed/src/org.apache.sis.util/main/org/apache/sis/util/resources/Errors.properties
index 9fdefff89d..616b01d17b 100644
--- 
a/endorsed/src/org.apache.sis.util/main/org/apache/sis/util/resources/Errors.properties
+++ 
b/endorsed/src/org.apache.sis.util/main/org/apache/sis/util/resources/Errors.properties
@@ -135,9 +135,9 @@ MissingComponentInElement_2       = Missing a 
\u201c{1}\u201d component in \u201
 MissingJAXBContext                = JAXB context has not been specified.
 MissingOrEmptyAttribute_2         = Missing or empty \u2018{1}\u2019 attribute 
in \u201c{0}\u201d.
 MissingRequiredModule_1           = This operation requires the 
\u201c{0}\u201d module.
-MissingValueForOption_1           = Missing value for \u201c{0}\u201d option.
-MissingValueForProperty_1         = Missing value for \u201c{0}\u201d property.
-MissingValueForProperty_2         = Missing value for \u201c{1}\u201d property 
in \u201c{0}\u201d.
+MissingValueForOption_1           = Missing value for the \u201c{0}\u201d 
option.
+MissingValueForProperty_1         = Missing value for the \u201c{0}\u201d 
property.
+MissingValueForProperty_2         = Missing value for the \u201c{1}\u201d 
property in \u201c{0}\u201d.
 MissingValueInColumn_1            = Missing value in the \u201c{0}\u201d 
column.
 MultiOccurenceValueAtIndices_3    = Cannot return a single value for 
\u201c{0}\u201d because there is at least two occurrences, at indices {1} and 
{2}.
 MutuallyExclusiveOptions_2        = Options \u201c{0}\u201d and 
\u201c{1}\u201d are mutually exclusive.

Reply via email to