Skip to content

Commit 021b489

Browse files
authored
Merge pull request #3 from fmazzant/upgrade-packages
Upgrade packages
2 parents c327f00 + bb14632 commit 021b489

19 files changed

Lines changed: 29 additions & 37 deletions

File tree

.github/workflows/nuget_localization.blazor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup .NET
1717
uses: actions/setup-dotnet@v2
1818
with:
19-
dotnet-version: 6.0.x
19+
dotnet-version: 7.0.x
2020

2121
- name: Restore dependencies
2222
run: dotnet restore src/Localization.Blazor/Localization.Blazor.csproj

.github/workflows/nuget_localization.mvc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup .NET
1717
uses: actions/setup-dotnet@v2
1818
with:
19-
dotnet-version: 6.0.x
19+
dotnet-version: 7.0.x
2020

2121
- name: Restore dependencies
2222
run: dotnet restore src/Localization.Mvc/Localization.Mvc.csproj

.github/workflows/nuget_localization.windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup .NET
1717
uses: actions/setup-dotnet@v2
1818
with:
19-
dotnet-version: 6.0.x
19+
dotnet-version: 7.0.x
2020

2121
- name: Restore dependencies
2222
run: dotnet restore src/Localization.Windows/Localization.Windows.csproj

.github/workflows/nuget_localization.xamarin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup .NET
1717
uses: actions/setup-dotnet@v2
1818
with:
19-
dotnet-version: 6.0.x
19+
dotnet-version: 76.0.x
2020

2121
- name: Restore dependencies
2222
run: dotnet restore src/Localization.Xamarin/Localization.Xamarin.csproj

.github/workflows/nuget_localization.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup .NET
1717
uses: actions/setup-dotnet@v2
1818
with:
19-
dotnet-version: 6.0.x
19+
dotnet-version: 7.0.x
2020

2121
- name: Restore dependencies
2222
run: dotnet restore src/Localization/Localization.csproj

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,5 @@
5555
*.v1
5656
/src/.vs/Localization/FileContentIndex
5757
/src/.vs/ProjectEvaluation
58+
/samples/.vs/Localization.Samples/FileContentIndex
59+
/src/.vs/Localization/v17

samples/Localization.Samples.AppBlazor/Localization.Samples.AppBlazor.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</PropertyGroup>
66

77
<ItemGroup>
8-
<PackageReference Include="Mafe.Localization.Blazor" Version="2.0.0" />
8+
<PackageReference Include="Mafe.Localization.Blazor" Version="2.0.1" />
99
</ItemGroup>
1010

1111
<Import Project="..\Localization.Samples.VocabolaryServiceProvider\Localization.Samples.VocabolaryServiceProvider.projitems" Label="Shared" />

samples/Localization.Samples.AppMvc/Localization.Samples.AppMvc.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<Import Project="..\Localization.Samples.VocabolaryServiceProvider\Localization.Samples.VocabolaryServiceProvider.projitems" Label="Shared" />
88

99
<ItemGroup>
10-
<PackageReference Include="Mafe.Localization.Mvc" Version="2.0.0" />
10+
<PackageReference Include="Mafe.Localization.Mvc" Version="2.0.1" />
1111
</ItemGroup>
1212

1313
</Project>

samples/Localization.Samples.AppWpf/Localization.Samples.AppWpf.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<Import Project="..\Localization.Samples.VocabolaryServiceProvider\Localization.Samples.VocabolaryServiceProvider.projitems" Label="Shared" />
1010

1111
<ItemGroup>
12-
<PackageReference Include="Mafe.Localization.Windows" Version="2.0.0" />
12+
<PackageReference Include="Mafe.Localization.Windows" Version="2.0.1" />
1313
</ItemGroup>
1414

1515
</Project>

samples/Localization.Samples.AppWpf/MainWindow.xaml.cs

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,8 @@
1-
using System;
2-
using System.Collections.Generic;
1+
using Localization.Windows.Extensions;
2+
using System;
33
using System.Globalization;
4-
using System.Linq;
5-
using System.Text;
6-
using System.Threading.Tasks;
74
using System.Windows;
85
using System.Windows.Controls;
9-
using System.Windows.Data;
10-
using System.Windows.Documents;
11-
using System.Windows.Input;
12-
using System.Windows.Media;
13-
using System.Windows.Media.Imaging;
14-
using System.Windows.Navigation;
15-
using System.Windows.Shapes;
16-
using Localization.Windows.Extensions;
176

187
namespace Localization.Samples.AppWpf
198
{
@@ -32,8 +21,9 @@ protected override void OnActivated(EventArgs e)
3221
base.OnActivated(e);
3322

3423
int numberOfCultureChanged = 0;
35-
labelBindingTest.Translate(Label.ContentProperty, () => {
36-
return $"ciao {++numberOfCultureChanged}";
24+
labelBindingTest.Translate(Label.ContentProperty, () =>
25+
{
26+
return $"pressed {++numberOfCultureChanged} times";
3727
});
3828
}
3929

0 commit comments

Comments
 (0)