Skip to content

Commit

Permalink
fix: Fix typo in UnsupportedType and NoObviousConstructor diagnostics (
Browse files Browse the repository at this point in the history
  • Loading branch information
DrBarnabus authored Oct 8, 2024
1 parent 54c9d60 commit 3f1f9a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CompositeKey.SourceGeneration/Resources/Strings.resx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<value>The CompositeKey source generator does not support C# {0}. Please use language version {1} or greater.</value>
</data>
<data name="UnsupportedCompositeTypeTitle" xml:space="preserve">
<value>The type annotated with the 'CompositeKey' attribtue is not supported.</value>
<value>The type annotated with the 'CompositeKey' attribute is not supported.</value>
</data>
<data name="UnsupportedCompositeTypeMessageFormat" xml:space="preserve">
<value>The 'CompositeKey' type '{0}' is not currently supported, at present, only record types are supported.</value>
Expand All @@ -37,7 +37,7 @@
<value>The 'CompositeKey' type '{0}' (and all containing types) must be partial to kick off source generation.</value>
</data>
<data name="NoObviousDefaultConstructorTitle" xml:space="preserve">
<value>The type annotated with the 'CompositeKey' attribtue has no obvious constructor.</value>
<value>The type annotated with the 'CompositeKey' attribute has no obvious constructor.</value>
</data>
<data name="NoObviousDefaultConstructorMessageFormat" xml:space="preserve">
<value>The 'CompositeKey' type '{0}' has no obvious constructor, at present, only types with either a single constructor or types with a parameterless constructor are supported.</value>
Expand Down

0 comments on commit 3f1f9a0

Please sign in to comment.