Skip to content

Commit

Permalink
Prepare preview release
Browse files Browse the repository at this point in the history
  • Loading branch information
meenzen committed Jul 2, 2024
1 parent dcc0f65 commit 1abaeb6
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 4 deletions.
7 changes: 7 additions & 0 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@
"husky"
],
"rollForward": false
},
"nbgv": {
"version": "3.6.139",
"commands": [
"nbgv"
],
"rollForward": false
}
}
}
23 changes: 20 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,35 @@

Community translations for the MudBlazor component library.

## Compatibility

| MudBlazor | MudBlazor.Translations |
|-----------|------------------------|
| 7.x.x | 1.x.x |

## Installation

Install the package

```bash
dotnet add package MudBlazor.Translations
```

Add the following to the relevant sections of `Program.cs`

```csharp
using MudBlazor.Translations;
// ...
```

```csharp
builder.Services.AddMudTranslations();
```

To learn more about Localization in Blazor visit the [ASP.NET Core Blazor globalization and localization](https://learn.microsoft.com/en-us/aspnet/core/blazor/globalization-localization)
> [!IMPORTANT]
> Blazor localization needs to be configured, otherwise Blazor will default to English.
To learn more about Localization in Blazor visit
the [ASP.NET Core Blazor globalization and localization](https://learn.microsoft.com/en-us/aspnet/core/blazor/globalization-localization)
documentation page.

## Translation Status
Expand All @@ -28,7 +44,8 @@ documentation page.

## Contributing

If you want to contribute to the translations, please visit the [Weblate project](https://hosted.weblate.org/engage/mudblazor/).
If you want to contribute to the translations, please visit
the [Weblate project](https://hosted.weblate.org/engage/mudblazor/).

## License

Expand Down
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
"version": "1.0-alpha.{height}",
"version": "1.0.0-preview.{height}",
"versionHeightOffset": -1,
"nugetPackageVersion": {
"semVer": 2
Expand Down

0 comments on commit 1abaeb6

Please sign in to comment.