Skip to content

Commit 1cd6094

Browse files
committed
Changed the open source license.
1 parent 6230efa commit 1cd6094

10 files changed

+241
-384
lines changed

Diff for: LICENSE

+201-373
Large diffs are not rendered by default.

Diff for: LocalizedDataAnnotationsValidator/Internals/ValidationAttributeStores/PropertyStoreItem.cs

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
using System;
1+
// This source code is fork from https://github.com/dotnet/corefx/blob/master/src/System.ComponentModel.Annotations/src/System/ComponentModel/DataAnnotations/ValidationAttributeStore.cs
2+
// The .NET Foundation licenses the original file of this forked file to you under the MIT license.
3+
// See the LICENSE file for the original file of this forked file: https://github.com/dotnet/corefx/blob/master/LICENSE.TXT
4+
5+
using System;
26
using System.Collections.Generic;
37

48
namespace Toolbelt.Blazor.Forms.Internals.ValidationAttributeStores

Diff for: LocalizedDataAnnotationsValidator/Internals/ValidationAttributeStores/StoreItem.cs

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
using System;
1+
// This source code is fork from https://github.com/dotnet/corefx/blob/master/src/System.ComponentModel.Annotations/src/System/ComponentModel/DataAnnotations/ValidationAttributeStore.cs
2+
// The .NET Foundation licenses the original file of this forked file to you under the MIT license.
3+
// See the LICENSE file for the original file of this forked file: https://github.com/dotnet/corefx/blob/master/LICENSE.TXT
4+
5+
using System;
26
using System.Collections.Generic;
37
using System.ComponentModel.DataAnnotations;
48
using System.Linq;

Diff for: LocalizedDataAnnotationsValidator/Internals/ValidationAttributeStores/TypeStoreItem.cs

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
using System;
1+
// This source code is fork from https://github.com/dotnet/corefx/blob/master/src/System.ComponentModel.Annotations/src/System/ComponentModel/DataAnnotations/ValidationAttributeStore.cs
2+
// The .NET Foundation licenses the original file of this forked file to you under the MIT license.
3+
// See the LICENSE file for the original file of this forked file: https://github.com/dotnet/corefx/blob/master/LICENSE.TXT
4+
5+
using System;
26
using System.Collections.Generic;
37
using System.Linq;
48
using System.Reflection;

Diff for: LocalizedDataAnnotationsValidator/Internals/ValidationAttributeStores/ValidationAttributeStore.cs

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
using System;
1+
// This source code is fork from https://github.com/dotnet/corefx/blob/master/src/System.ComponentModel.Annotations/src/System/ComponentModel/DataAnnotations/ValidationAttributeStore.cs
2+
// The .NET Foundation licenses the original file of this forked file to you under the MIT license.
3+
// See the LICENSE file for the original file of this forked file: https://github.com/dotnet/corefx/blob/master/LICENSE.TXT
4+
5+
using System;
26
using System.Collections.Generic;
37
using System.ComponentModel.DataAnnotations;
48
using System.Reflection;

Diff for: LocalizedDataAnnotationsValidator/Internals/Validators/LocalizedValidator.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// This source code is fork from https://github.com/dotnet/corefx/blob/master/src/System.ComponentModel.Annotations/src/System/ComponentModel/DataAnnotations/Validator.cs
2+
// The .NET Foundation licenses the original file of this forked file to you under the MIT license.
3+
// See the LICENSE file for the original file of this forked file: https://github.com/dotnet/corefx/blob/master/LICENSE.TXT
4+
25
using System.Collections.Generic;
36
using System.ComponentModel.DataAnnotations;
47
using System.Linq;

Diff for: LocalizedDataAnnotationsValidator/Internals/Validators/ValidationError.cs

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
using System.ComponentModel.DataAnnotations;
1+
// This source code is fork from https://github.com/dotnet/corefx/blob/master/src/System.ComponentModel.Annotations/src/System/ComponentModel/DataAnnotations/Validator.cs
2+
// The .NET Foundation licenses the original file of this forked file to you under the MIT license.
3+
// See the LICENSE file for the original file of this forked file: https://github.com/dotnet/corefx/blob/master/LICENSE.TXT
4+
5+
using System.ComponentModel.DataAnnotations;
26

37
namespace Toolbelt.Blazor.Forms.Internals.Validators
48
{

Diff for: LocalizedDataAnnotationsValidator/LocalizedDataAnnotationsValidator.csproj

+5-3
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,18 @@
1111
</PropertyGroup>
1212

1313
<PropertyGroup>
14-
<Version>1.0.0.0</Version>
14+
<Version>1.0.1.0</Version>
1515
<Authors>J.Sakamoto</Authors>
1616
<Copyright>Copyright © 2019 J.Sakamoto, Mozilla Public License 2.0</Copyright>
1717
<Description>The Data Annotations Validator Component for Blazor to localize validation error messages, based on "Microsoft.Extensions.Localization".</Description>
1818
<PackageTags>blazor,localize,localization,i18n,validation,dataannotations</PackageTags>
19-
<PackageLicenseExpression>MPL-2.0</PackageLicenseExpression>
19+
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
2020
<PackageLicenseUrl></PackageLicenseUrl>
2121
<PackageProjectUrl>https://github.com/jsakamoto/Toolbelt.Blazor.LocalizedDataAnnotationsValidator/</PackageProjectUrl>
2222
<RepositoryUrl>https://github.com/jsakamoto/Toolbelt.Blazor.LocalizedDataAnnotationsValidator/</RepositoryUrl>
23-
<PackageReleaseNotes>v.1.0.0
23+
<PackageReleaseNotes>v.1.0.1
24+
- Change license from MPL-2.0 to Apache-2.0
25+
v.1.0.0
2426
- Initial release.</PackageReleaseNotes>
2527
</PropertyGroup>
2628

Diff for: LocalizedDataAnnotationsValidator/LocalizedEditContextDataAnnotationsExtensions.cs

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
using System;
1+
// This source code is fork from https://github.com/aspnet/AspNetCore/blob/master/src/Components/Forms/src/EditContextDataAnnotationsExtensions.cs
2+
// The .NET Foundation licenses the original file of this forked file to you under the Apache License, Version 2.0.
3+
// See the LICENSE file for the original file of this forked file: https://github.com/aspnet/AspNetCore/blob/master/LICENSE.txt
4+
5+
using System;
26
using System.Collections.Concurrent;
37
using System.Collections.Generic;
48
using System.ComponentModel.DataAnnotations;

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,4 @@ You can get the source code of Live Demo site from this repository.
7575

7676
## License
7777

78-
[Mozilla Public License Version 2.0](https://github.com/jsakamoto/Toolbelt.Blazor.LocalizedDataAnnotationsValidator/blob/master/LICENSE)
78+
[Apache License Version 2.0](https://github.com/jsakamoto/Toolbelt.Blazor.LocalizedDataAnnotationsValidator/blob/master/LICENSE)

0 commit comments

Comments
 (0)