Skip to content

Commit

Permalink
Fix typo in string resources (#1178)
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHubPang authored Jul 21, 2021
1 parent 68fc259 commit 7f0e3bb
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@
<value>Use of key '{0}' requires the key '{1}' to be present.</value>
</data>
<data name="ADP_InvalidConnectionOptionValueLength" xml:space="preserve">
<value>The value's length for key '{0}' exceeds it's limit of '{1}'.</value>
<value>The value's length for key '{0}' exceeds its limit of '{1}'.</value>
</data>
<data name="ADP_KeywordNotSupported" xml:space="preserve">
<value>Keyword not supported: '{0}'.</value>
Expand Down Expand Up @@ -1546,7 +1546,7 @@
<value>Internal error. Invalid key encryption algorithm specified: '{0}'. Expected value: '{1}'.</value>
</data>
<data name="TCE_InvalidKeySize" xml:space="preserve">
<value>The column encryption key has been successfully decrypted but it's length: {1} does not match the length: {2} for algorithm '{0}'. Verify the encrypted value of the column encryption key in the database.</value>
<value>The column encryption key has been successfully decrypted but its length: {1} does not match the length: {2} for algorithm '{0}'. Verify the encrypted value of the column encryption key in the database.</value>
</data>
<data name="TCE_InvalidKeyStoreProviderName" xml:space="preserve">
<value>Invalid key store provider name: '{0}'. A key store provider name must denote either a system key store provider or a registered custom key store provider. Valid system key store provider names are: {1}. Valid (currently registered) custom key store provider names are: {2}. Please verify key store provider information in column master key definitions in the database, and verify all custom key store providers used in your application are registered properly.</value>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/Microsoft.Data.SqlClient/netfx/src/Resources/Strings.resx
Original file line number Diff line number Diff line change
Expand Up @@ -1771,7 +1771,7 @@
<value>Specified QuotePrefix and QuoteSuffix values do not match.</value>
</data>
<data name="ADP_InvalidArgumentLength" xml:space="preserve">
<value>The length of argument '{0}' exceeds it's limit of '{1}'.</value>
<value>The length of argument '{0}' exceeds its limit of '{1}'.</value>
</data>
<data name="SQL_WrongType" xml:space="preserve">
<value>Expecting argument of type {1}, but received type {0}.</value>
Expand All @@ -1783,7 +1783,7 @@
<value>Use of key '{0}' requires the key '{1}' to be present.</value>
</data>
<data name="ADP_InvalidConnectionOptionValueLength" xml:space="preserve">
<value>The value's length for key '{0}' exceeds it's limit of '{1}'.</value>
<value>The value's length for key '{0}' exceeds its limit of '{1}'.</value>
</data>
<data name="ADP_KeywordNotSupported" xml:space="preserve">
<value>Keyword not supported: '{0}'.</value>
Expand Down Expand Up @@ -4162,7 +4162,7 @@
<value>Internal error. Column encryption key cannot be null.</value>
</data>
<data name="TCE_InvalidKeySize" xml:space="preserve">
<value>The column encryption key has been successfully decrypted but it's length: {1} does not match the length: {2} for algorithm '{0}'. Verify the encrypted value of the column encryption key in the database.</value>
<value>The column encryption key has been successfully decrypted but its length: {1} does not match the length: {2} for algorithm '{0}'. Verify the encrypted value of the column encryption key in the database.</value>
</data>
<data name="TCE_InvalidEncryptionType" xml:space="preserve">
<value>Encryption type '{1}' specified for the column in the database is either invalid or corrupted. Valid encryption types for algorithm '{0}' are: {2}.</value>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ public void ChangePassword_NewPassword_ExceedMaxLength()
{
ArgumentException ex = Assert.Throws<ArgumentException>(() => SqlConnection.ChangePassword("server=SQLSRV", new string('d', 129)));
// The length of argument 'newPassword' exceeds
// it's limit of '128'
// its limit of '128'
Assert.Null(ex.InnerException);
Assert.NotNull(ex.Message);
Assert.True(ex.Message.IndexOf("'newPassword'") != -1);
Expand Down

0 comments on commit 7f0e3bb

Please sign in to comment.