Skip to content

Commit

Permalink
Fixed some grammatical errors in resource files (#6773)
Browse files Browse the repository at this point in the history
  • Loading branch information
glen-84 authored Dec 15, 2023
1 parent e12d641 commit b01aa33
Show file tree
Hide file tree
Showing 13 changed files with 20 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<value>Could not load the type inspector while building type {0}</value>
</data>
<data name="ThrowHelper_ErrorObjectType_MessageWasNotDefinedOnError" xml:space="preserve">
<value>Error while building type {0}. The runtime type {1} does not defined a property `Message`</value>
<value>Error while building type {0}. The runtime type {1} does not define a property named `Message`</value>
</data>
<data name="ThrowHelper_InputMiddleware_ArgumentTypeNameMissMatch" xml:space="preserve">
<value>Could not find a unique type name for input type of the argument {0} on field {1}. The type name {2} collides with {3}.
Expand Down
4 changes: 2 additions & 2 deletions src/HotChocolate/Core/src/Types/Properties/TypeResources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -899,10 +899,10 @@ Type: `{0}`</value>
<value>The {0} type must also declare all interfaces declared by implemented interfaces.</value>
</data>
<data name="ErrorHelper_InvalidFieldType" xml:space="preserve">
<value>Field `{0}` must return a type which is equal to or a sub‐type of (covariant) the return type `{1}` of the interface field.</value>
<value>Field `{0}` must return a type which is equal to or a subtype of (covariant) the return type `{1}` of the interface field.</value>
</data>
<data name="ErrorHelper_FieldNotImplemented" xml:space="preserve">
<value>The field `{0}` must be implement by {1} type `{2}`.</value>
<value>The field `{0}` must be implemented by {1} type `{2}`.</value>
</data>
<data name="ErrorHelper_InvalidArgumentType" xml:space="preserve">
<value>The named argument `{0}` on field `{1}` must accept the same type `{2}` (invariant) as that named argument on the interface `{3}`.</value>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"message": "The field `def` must be implement by object type `Foo`.",
"message": "The field `def` must be implemented by object type `Foo`.",
"type": "Foo",
"extensions": {
"implementedField": "def",
Expand All @@ -8,7 +8,7 @@
}

{
"message": "The field `def` must be implement by object type `Foo`.",
"message": "The field `def` must be implemented by object type `Foo`.",
"type": "Foo",
"extensions": {
"implementedField": "def",
Expand All @@ -17,7 +17,7 @@
}

{
"message": "The field `def` must be implement by object type `Foo`.",
"message": "The field `def` must be implemented by object type `Foo`.",
"type": "Foo",
"extensions": {
"implementedField": "def",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"message": "Field `bar` must return a type which is equal to or a sub‐type of (covariant) the return type `String!` of the interface field.",
"message": "Field `bar` must return a type which is equal to or a subtype of (covariant) the return type `String!` of the interface field.",
"type": "Foo",
"extensions": {
"field": "bar",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"message": "The field `cde` must be implement by object type `Foo`.",
"message": "The field `cde` must be implemented by object type `Foo`.",
"type": "Foo",
"extensions": {
"implementedField": "cde",
Expand All @@ -8,7 +8,7 @@
}

{
"message": "The field `cde` must be implement by object type `Foo`.",
"message": "The field `cde` must be implemented by object type `Foo`.",
"type": "Foo",
"extensions": {
"implementedField": "cde",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"message": "The field `cde` must be implement by object type `Foo`.",
"message": "The field `cde` must be implemented by object type `Foo`.",
"type": "Foo",
"extensions": {
"implementedField": "cde",
Expand All @@ -8,7 +8,7 @@
}

{
"message": "The field `cde` must be implement by object type `Foo`.",
"message": "The field `cde` must be implemented by object type `Foo`.",
"type": "Foo",
"extensions": {
"implementedField": "cde",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"message": "The field `__badField` must be implement by object type `Bar`.",
"message": "The field `__badField` must be implemented by object type `Bar`.",
"type": "Bar",
"extensions": {
"implementedField": "__badField",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"message": "The field `second` must be implement by object type `Foo`.",
"message": "The field `second` must be implemented by object type `Foo`.",
"type": "Foo",
"extensions": {
"implementedField": "second",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"message": "Field `first` must return a type which is equal to or a sub‐type of (covariant) the return type `String!` of the interface field.",
"message": "Field `first` must return a type which is equal to or a subtype of (covariant) the return type `String!` of the interface field.",
"type": "Foo",
"extensions": {
"field": "first",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"message": "Field `first` must return a type which is equal to or a sub‐type of (covariant) the return type `String` of the interface field.",
"message": "Field `first` must return a type which is equal to or a subtype of (covariant) the return type `String` of the interface field.",
"type": "Foo",
"extensions": {
"field": "first",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
For more details look at the `Errors` property.

1. Field `a` must return a type which is equal to or a subtype of (covariant) the return type `String` of the interface field. (HotChocolate.Types.ObjectType)
2. Field `a` must return a type which is equal to or a subtype of (covariant) the return type `String` of the interface field. (HotChocolate.Types.ObjectType)
1. Field `a` must return a type which is equal to or a subtype of (covariant) the return type `String` of the interface field. (HotChocolate.Types.ObjectType)
2. Field `a` must return a type which is equal to or a subtype of (covariant) the return type `String` of the interface field. (HotChocolate.Types.ObjectType)
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
For more details look at the `Errors` property.

1. Field `a` must return a type which is equal to or a subtype of (covariant) the return type `Int` of the interface field. (HotChocolate.Types.ObjectType)
1. Field `a` must return a type which is equal to or a subtype of (covariant) the return type `Int` of the interface field. (HotChocolate.Types.ObjectType)
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<value>No types were found in the given .graphql files.</value>
</data>
<data name="Throwhelper_Generator_SyntaxError" xml:space="preserve">
<value>One of the given .graphql files contains a graphql syntax error. </value>
<value>One of the given .graphql files contains a GraphQL syntax error. </value>
</data>
<data name="OperationServiceDescriptor_Description" xml:space="preserve">
<value>Represents the operation service of the {0} GraphQL operation</value>
Expand All @@ -43,7 +43,7 @@
<value>The specified return fragment does not exist.</value>
</data>
<data name="ThrowHelper_FragmentMustBeImplementedByAllTypeFragments" xml:space="preserve">
<value>The specified return fragment must be implement by all type fragments.</value>
<value>The specified return fragment must be implemented by all type fragments.</value>
</data>
<data name="ThrowHelper_ResultTypeNameCollision" xml:space="preserve">
<value>There is a name collision between a fragment and the result type name `{0}`.</value>
Expand Down

0 comments on commit b01aa33

Please sign in to comment.