Skip to content

Commit 1abaeb6

Browse files
committed
Prepare preview release
1 parent dcc0f65 commit 1abaeb6

File tree

3 files changed

+28
-4
lines changed

3 files changed

+28
-4
lines changed

.config/dotnet-tools.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515
"husky"
1616
],
1717
"rollForward": false
18+
},
19+
"nbgv": {
20+
"version": "3.6.139",
21+
"commands": [
22+
"nbgv"
23+
],
24+
"rollForward": false
1825
}
1926
}
2027
}

README.md

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,35 @@
77

88
Community translations for the MudBlazor component library.
99

10+
## Compatibility
11+
12+
| MudBlazor | MudBlazor.Translations |
13+
|-----------|------------------------|
14+
| 7.x.x | 1.x.x |
15+
1016
## Installation
1117

18+
Install the package
19+
1220
```bash
1321
dotnet add package MudBlazor.Translations
1422
```
1523

24+
Add the following to the relevant sections of `Program.cs`
25+
1626
```csharp
1727
using MudBlazor.Translations;
18-
// ...
28+
```
29+
30+
```csharp
1931
builder.Services.AddMudTranslations();
2032
```
2133

22-
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)
34+
> [!IMPORTANT]
35+
> Blazor localization needs to be configured, otherwise Blazor will default to English.
36+
37+
To learn more about Localization in Blazor visit
38+
the [ASP.NET Core Blazor globalization and localization](https://learn.microsoft.com/en-us/aspnet/core/blazor/globalization-localization)
2339
documentation page.
2440

2541
## Translation Status
@@ -28,7 +44,8 @@ documentation page.
2844

2945
## Contributing
3046

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

3350
## License
3451

version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
3-
"version": "1.0-alpha.{height}",
3+
"version": "1.0.0-preview.{height}",
44
"versionHeightOffset": -1,
55
"nugetPackageVersion": {
66
"semVer": 2

0 commit comments

Comments
 (0)