diff --git a/FluentLauncher.Localization b/FluentLauncher.Localization index 845e3d3e..e11a2573 160000 --- a/FluentLauncher.Localization +++ b/FluentLauncher.Localization @@ -1 +1 @@ -Subproject commit 845e3d3e2d4693a31554c77e0882fa9e423dfda2 +Subproject commit e11a2573e1b97c28e3043eea3218bd7585064e34 diff --git a/Natsurainko.FluentLauncher.sln b/Natsurainko.FluentLauncher.sln index bb4f0e4e..5ebded83 100644 --- a/Natsurainko.FluentLauncher.sln +++ b/Natsurainko.FluentLauncher.sln @@ -17,16 +17,20 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FluentLauncher.Infra.Settin EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FluentLauncher.Infra.Settings.SourceGenerators", "infra\FluentLauncher.Infra.Settings.SourceGenerators\FluentLauncher.Infra.Settings.SourceGenerators.csproj", "{0BE5C833-0FA6-446B-89FA-FD4D3B1B7CD5}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FluentLauncher.Infra.Localizer", "FluentLauncher.Localization\FluentLauncher.Infra.Localizer\FluentLauncher.Infra.Localizer.csproj", "{93801D2A-80E9-CFF0-8A0C-1D08549D3AA4}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU Debug|ARM64 = Debug|ARM64 Debug|x64 = Debug|x64 + Debug-AOT|Any CPU = Debug-AOT|Any CPU Debug-AOT|ARM64 = Debug-AOT|ARM64 Debug-AOT|x64 = Debug-AOT|x64 Release|Any CPU = Release|Any CPU Release|ARM64 = Release|ARM64 Release|x64 = Release|x64 + Release-AOT|Any CPU = Release-AOT|Any CPU Release-AOT|ARM64 = Release-AOT|ARM64 Release-AOT|x64 = Release-AOT|x64 EndGlobalSection @@ -39,7 +43,6 @@ Global {25A06654-F92D-43C8-BA6C-4B84BED2A505}.Debug|x64.ActiveCfg = Debug|x64 {25A06654-F92D-43C8-BA6C-4B84BED2A505}.Debug|x64.Build.0 = Debug|x64 {25A06654-F92D-43C8-BA6C-4B84BED2A505}.Debug|x64.Deploy.0 = Debug|x64 - {25A06654-F92D-43C8-BA6C-4B84BED2A505}.Debug|x86.ActiveCfg = Debug|x64 {25A06654-F92D-43C8-BA6C-4B84BED2A505}.Debug-AOT|Any CPU.ActiveCfg = Debug-AOT|x64 {25A06654-F92D-43C8-BA6C-4B84BED2A505}.Debug-AOT|Any CPU.Build.0 = Debug-AOT|x64 {25A06654-F92D-43C8-BA6C-4B84BED2A505}.Debug-AOT|Any CPU.Deploy.0 = Debug-AOT|x64 @@ -49,7 +52,6 @@ Global {25A06654-F92D-43C8-BA6C-4B84BED2A505}.Debug-AOT|x64.ActiveCfg = Debug-AOT|x64 {25A06654-F92D-43C8-BA6C-4B84BED2A505}.Debug-AOT|x64.Build.0 = Debug-AOT|x64 {25A06654-F92D-43C8-BA6C-4B84BED2A505}.Debug-AOT|x64.Deploy.0 = Debug-AOT|x64 - {25A06654-F92D-43C8-BA6C-4B84BED2A505}.Debug-AOT|x86.ActiveCfg = Debug-AOT|x64 {25A06654-F92D-43C8-BA6C-4B84BED2A505}.Release|Any CPU.ActiveCfg = Release|x64 {25A06654-F92D-43C8-BA6C-4B84BED2A505}.Release|Any CPU.Build.0 = Release|x64 {25A06654-F92D-43C8-BA6C-4B84BED2A505}.Release|Any CPU.Deploy.0 = Release|x64 @@ -57,7 +59,6 @@ Global {25A06654-F92D-43C8-BA6C-4B84BED2A505}.Release|ARM64.Build.0 = Release|ARM64 {25A06654-F92D-43C8-BA6C-4B84BED2A505}.Release|x64.ActiveCfg = Release|x64 {25A06654-F92D-43C8-BA6C-4B84BED2A505}.Release|x64.Build.0 = Release|x64 - {25A06654-F92D-43C8-BA6C-4B84BED2A505}.Release|x86.ActiveCfg = Release|x64 {25A06654-F92D-43C8-BA6C-4B84BED2A505}.Release-AOT|Any CPU.ActiveCfg = Release-AOT|x64 {25A06654-F92D-43C8-BA6C-4B84BED2A505}.Release-AOT|Any CPU.Build.0 = Release-AOT|x64 {25A06654-F92D-43C8-BA6C-4B84BED2A505}.Release-AOT|Any CPU.Deploy.0 = Release-AOT|x64 @@ -67,169 +68,150 @@ Global {25A06654-F92D-43C8-BA6C-4B84BED2A505}.Release-AOT|x64.ActiveCfg = Release-AOT|x64 {25A06654-F92D-43C8-BA6C-4B84BED2A505}.Release-AOT|x64.Build.0 = Release-AOT|x64 {25A06654-F92D-43C8-BA6C-4B84BED2A505}.Release-AOT|x64.Deploy.0 = Release-AOT|x64 - {25A06654-F92D-43C8-BA6C-4B84BED2A505}.Release-AOT|x86.ActiveCfg = Release-AOT|x64 - {25A06654-F92D-43C8-BA6C-4B84BED2A505}.Release-AOT|x86.Build.0 = Release-AOT|x64 - {25A06654-F92D-43C8-BA6C-4B84BED2A505}.Release-AOT|x86.Deploy.0 = Release-AOT|x64 {7CA745E6-DEE6-4018-87DB-4012EC94C3B8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {7CA745E6-DEE6-4018-87DB-4012EC94C3B8}.Debug|Any CPU.Build.0 = Debug|Any CPU {7CA745E6-DEE6-4018-87DB-4012EC94C3B8}.Debug|ARM64.ActiveCfg = Debug|Any CPU {7CA745E6-DEE6-4018-87DB-4012EC94C3B8}.Debug|ARM64.Build.0 = Debug|Any CPU {7CA745E6-DEE6-4018-87DB-4012EC94C3B8}.Debug|x64.ActiveCfg = Debug|Any CPU {7CA745E6-DEE6-4018-87DB-4012EC94C3B8}.Debug|x64.Build.0 = Debug|Any CPU - {7CA745E6-DEE6-4018-87DB-4012EC94C3B8}.Debug|x86.ActiveCfg = Debug|Any CPU - {7CA745E6-DEE6-4018-87DB-4012EC94C3B8}.Debug|x86.Build.0 = Debug|Any CPU {7CA745E6-DEE6-4018-87DB-4012EC94C3B8}.Debug-AOT|Any CPU.ActiveCfg = Debug|Any CPU {7CA745E6-DEE6-4018-87DB-4012EC94C3B8}.Debug-AOT|Any CPU.Build.0 = Debug|Any CPU {7CA745E6-DEE6-4018-87DB-4012EC94C3B8}.Debug-AOT|ARM64.ActiveCfg = Debug|Any CPU {7CA745E6-DEE6-4018-87DB-4012EC94C3B8}.Debug-AOT|ARM64.Build.0 = Debug|Any CPU {7CA745E6-DEE6-4018-87DB-4012EC94C3B8}.Debug-AOT|x64.ActiveCfg = Debug|Any CPU {7CA745E6-DEE6-4018-87DB-4012EC94C3B8}.Debug-AOT|x64.Build.0 = Debug|Any CPU - {7CA745E6-DEE6-4018-87DB-4012EC94C3B8}.Debug-AOT|x86.ActiveCfg = Debug|Any CPU - {7CA745E6-DEE6-4018-87DB-4012EC94C3B8}.Debug-AOT|x86.Build.0 = Debug|Any CPU {7CA745E6-DEE6-4018-87DB-4012EC94C3B8}.Release|Any CPU.ActiveCfg = Release|Any CPU {7CA745E6-DEE6-4018-87DB-4012EC94C3B8}.Release|Any CPU.Build.0 = Release|Any CPU {7CA745E6-DEE6-4018-87DB-4012EC94C3B8}.Release|ARM64.ActiveCfg = Release|Any CPU {7CA745E6-DEE6-4018-87DB-4012EC94C3B8}.Release|ARM64.Build.0 = Release|Any CPU {7CA745E6-DEE6-4018-87DB-4012EC94C3B8}.Release|x64.ActiveCfg = Release|Any CPU {7CA745E6-DEE6-4018-87DB-4012EC94C3B8}.Release|x64.Build.0 = Release|Any CPU - {7CA745E6-DEE6-4018-87DB-4012EC94C3B8}.Release|x86.ActiveCfg = Release|Any CPU - {7CA745E6-DEE6-4018-87DB-4012EC94C3B8}.Release|x86.Build.0 = Release|Any CPU {7CA745E6-DEE6-4018-87DB-4012EC94C3B8}.Release-AOT|Any CPU.ActiveCfg = Release|Any CPU {7CA745E6-DEE6-4018-87DB-4012EC94C3B8}.Release-AOT|Any CPU.Build.0 = Release|Any CPU {7CA745E6-DEE6-4018-87DB-4012EC94C3B8}.Release-AOT|ARM64.ActiveCfg = Release|Any CPU {7CA745E6-DEE6-4018-87DB-4012EC94C3B8}.Release-AOT|ARM64.Build.0 = Release|Any CPU {7CA745E6-DEE6-4018-87DB-4012EC94C3B8}.Release-AOT|x64.ActiveCfg = Release|Any CPU {7CA745E6-DEE6-4018-87DB-4012EC94C3B8}.Release-AOT|x64.Build.0 = Release|Any CPU - {7CA745E6-DEE6-4018-87DB-4012EC94C3B8}.Release-AOT|x86.ActiveCfg = Release|Any CPU - {7CA745E6-DEE6-4018-87DB-4012EC94C3B8}.Release-AOT|x86.Build.0 = Release|Any CPU {EC4A7DE1-589A-4FFF-9E2A-48ED6114182F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {EC4A7DE1-589A-4FFF-9E2A-48ED6114182F}.Debug|Any CPU.Build.0 = Debug|Any CPU {EC4A7DE1-589A-4FFF-9E2A-48ED6114182F}.Debug|ARM64.ActiveCfg = Debug|Any CPU {EC4A7DE1-589A-4FFF-9E2A-48ED6114182F}.Debug|ARM64.Build.0 = Debug|Any CPU {EC4A7DE1-589A-4FFF-9E2A-48ED6114182F}.Debug|x64.ActiveCfg = Debug|Any CPU {EC4A7DE1-589A-4FFF-9E2A-48ED6114182F}.Debug|x64.Build.0 = Debug|Any CPU - {EC4A7DE1-589A-4FFF-9E2A-48ED6114182F}.Debug|x86.ActiveCfg = Debug|Any CPU - {EC4A7DE1-589A-4FFF-9E2A-48ED6114182F}.Debug|x86.Build.0 = Debug|Any CPU {EC4A7DE1-589A-4FFF-9E2A-48ED6114182F}.Debug-AOT|Any CPU.ActiveCfg = Debug|Any CPU {EC4A7DE1-589A-4FFF-9E2A-48ED6114182F}.Debug-AOT|Any CPU.Build.0 = Debug|Any CPU {EC4A7DE1-589A-4FFF-9E2A-48ED6114182F}.Debug-AOT|ARM64.ActiveCfg = Debug|Any CPU {EC4A7DE1-589A-4FFF-9E2A-48ED6114182F}.Debug-AOT|ARM64.Build.0 = Debug|Any CPU {EC4A7DE1-589A-4FFF-9E2A-48ED6114182F}.Debug-AOT|x64.ActiveCfg = Debug|Any CPU {EC4A7DE1-589A-4FFF-9E2A-48ED6114182F}.Debug-AOT|x64.Build.0 = Debug|Any CPU - {EC4A7DE1-589A-4FFF-9E2A-48ED6114182F}.Debug-AOT|x86.ActiveCfg = Debug|Any CPU - {EC4A7DE1-589A-4FFF-9E2A-48ED6114182F}.Debug-AOT|x86.Build.0 = Debug|Any CPU {EC4A7DE1-589A-4FFF-9E2A-48ED6114182F}.Release|Any CPU.ActiveCfg = Release|Any CPU {EC4A7DE1-589A-4FFF-9E2A-48ED6114182F}.Release|Any CPU.Build.0 = Release|Any CPU {EC4A7DE1-589A-4FFF-9E2A-48ED6114182F}.Release|ARM64.ActiveCfg = Release|Any CPU {EC4A7DE1-589A-4FFF-9E2A-48ED6114182F}.Release|ARM64.Build.0 = Release|Any CPU {EC4A7DE1-589A-4FFF-9E2A-48ED6114182F}.Release|x64.ActiveCfg = Release|Any CPU {EC4A7DE1-589A-4FFF-9E2A-48ED6114182F}.Release|x64.Build.0 = Release|Any CPU - {EC4A7DE1-589A-4FFF-9E2A-48ED6114182F}.Release|x86.ActiveCfg = Release|Any CPU - {EC4A7DE1-589A-4FFF-9E2A-48ED6114182F}.Release|x86.Build.0 = Release|Any CPU {EC4A7DE1-589A-4FFF-9E2A-48ED6114182F}.Release-AOT|Any CPU.ActiveCfg = Release|Any CPU {EC4A7DE1-589A-4FFF-9E2A-48ED6114182F}.Release-AOT|Any CPU.Build.0 = Release|Any CPU {EC4A7DE1-589A-4FFF-9E2A-48ED6114182F}.Release-AOT|ARM64.ActiveCfg = Release|Any CPU {EC4A7DE1-589A-4FFF-9E2A-48ED6114182F}.Release-AOT|ARM64.Build.0 = Release|Any CPU {EC4A7DE1-589A-4FFF-9E2A-48ED6114182F}.Release-AOT|x64.ActiveCfg = Release|Any CPU {EC4A7DE1-589A-4FFF-9E2A-48ED6114182F}.Release-AOT|x64.Build.0 = Release|Any CPU - {EC4A7DE1-589A-4FFF-9E2A-48ED6114182F}.Release-AOT|x86.ActiveCfg = Release|Any CPU - {EC4A7DE1-589A-4FFF-9E2A-48ED6114182F}.Release-AOT|x86.Build.0 = Release|Any CPU {0AD85018-AAA2-49D9-A29F-910E6A82A6BF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {0AD85018-AAA2-49D9-A29F-910E6A82A6BF}.Debug|Any CPU.Build.0 = Debug|Any CPU {0AD85018-AAA2-49D9-A29F-910E6A82A6BF}.Debug|ARM64.ActiveCfg = Debug|Any CPU {0AD85018-AAA2-49D9-A29F-910E6A82A6BF}.Debug|ARM64.Build.0 = Debug|Any CPU {0AD85018-AAA2-49D9-A29F-910E6A82A6BF}.Debug|x64.ActiveCfg = Debug|Any CPU {0AD85018-AAA2-49D9-A29F-910E6A82A6BF}.Debug|x64.Build.0 = Debug|Any CPU - {0AD85018-AAA2-49D9-A29F-910E6A82A6BF}.Debug|x86.ActiveCfg = Debug|Any CPU - {0AD85018-AAA2-49D9-A29F-910E6A82A6BF}.Debug|x86.Build.0 = Debug|Any CPU {0AD85018-AAA2-49D9-A29F-910E6A82A6BF}.Debug-AOT|Any CPU.ActiveCfg = Debug|Any CPU {0AD85018-AAA2-49D9-A29F-910E6A82A6BF}.Debug-AOT|Any CPU.Build.0 = Debug|Any CPU {0AD85018-AAA2-49D9-A29F-910E6A82A6BF}.Debug-AOT|ARM64.ActiveCfg = Debug|Any CPU {0AD85018-AAA2-49D9-A29F-910E6A82A6BF}.Debug-AOT|ARM64.Build.0 = Debug|Any CPU {0AD85018-AAA2-49D9-A29F-910E6A82A6BF}.Debug-AOT|x64.ActiveCfg = Debug|Any CPU {0AD85018-AAA2-49D9-A29F-910E6A82A6BF}.Debug-AOT|x64.Build.0 = Debug|Any CPU - {0AD85018-AAA2-49D9-A29F-910E6A82A6BF}.Debug-AOT|x86.ActiveCfg = Debug|Any CPU - {0AD85018-AAA2-49D9-A29F-910E6A82A6BF}.Debug-AOT|x86.Build.0 = Debug|Any CPU {0AD85018-AAA2-49D9-A29F-910E6A82A6BF}.Release|Any CPU.ActiveCfg = Release|Any CPU {0AD85018-AAA2-49D9-A29F-910E6A82A6BF}.Release|Any CPU.Build.0 = Release|Any CPU {0AD85018-AAA2-49D9-A29F-910E6A82A6BF}.Release|ARM64.ActiveCfg = Release|Any CPU {0AD85018-AAA2-49D9-A29F-910E6A82A6BF}.Release|ARM64.Build.0 = Release|Any CPU {0AD85018-AAA2-49D9-A29F-910E6A82A6BF}.Release|x64.ActiveCfg = Release|Any CPU {0AD85018-AAA2-49D9-A29F-910E6A82A6BF}.Release|x64.Build.0 = Release|Any CPU - {0AD85018-AAA2-49D9-A29F-910E6A82A6BF}.Release|x86.ActiveCfg = Release|Any CPU - {0AD85018-AAA2-49D9-A29F-910E6A82A6BF}.Release|x86.Build.0 = Release|Any CPU {0AD85018-AAA2-49D9-A29F-910E6A82A6BF}.Release-AOT|Any CPU.ActiveCfg = Release|Any CPU {0AD85018-AAA2-49D9-A29F-910E6A82A6BF}.Release-AOT|Any CPU.Build.0 = Release|Any CPU {0AD85018-AAA2-49D9-A29F-910E6A82A6BF}.Release-AOT|ARM64.ActiveCfg = Release|Any CPU {0AD85018-AAA2-49D9-A29F-910E6A82A6BF}.Release-AOT|ARM64.Build.0 = Release|Any CPU {0AD85018-AAA2-49D9-A29F-910E6A82A6BF}.Release-AOT|x64.ActiveCfg = Release|Any CPU {0AD85018-AAA2-49D9-A29F-910E6A82A6BF}.Release-AOT|x64.Build.0 = Release|Any CPU - {0AD85018-AAA2-49D9-A29F-910E6A82A6BF}.Release-AOT|x86.ActiveCfg = Release|Any CPU - {0AD85018-AAA2-49D9-A29F-910E6A82A6BF}.Release-AOT|x86.Build.0 = Release|Any CPU {FBF301A2-326F-4B53-94A2-399102202D7E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {FBF301A2-326F-4B53-94A2-399102202D7E}.Debug|Any CPU.Build.0 = Debug|Any CPU {FBF301A2-326F-4B53-94A2-399102202D7E}.Debug|ARM64.ActiveCfg = Debug|Any CPU {FBF301A2-326F-4B53-94A2-399102202D7E}.Debug|ARM64.Build.0 = Debug|Any CPU {FBF301A2-326F-4B53-94A2-399102202D7E}.Debug|x64.ActiveCfg = Debug|Any CPU {FBF301A2-326F-4B53-94A2-399102202D7E}.Debug|x64.Build.0 = Debug|Any CPU - {FBF301A2-326F-4B53-94A2-399102202D7E}.Debug|x86.ActiveCfg = Debug|Any CPU - {FBF301A2-326F-4B53-94A2-399102202D7E}.Debug|x86.Build.0 = Debug|Any CPU {FBF301A2-326F-4B53-94A2-399102202D7E}.Debug-AOT|Any CPU.ActiveCfg = Debug|Any CPU {FBF301A2-326F-4B53-94A2-399102202D7E}.Debug-AOT|Any CPU.Build.0 = Debug|Any CPU {FBF301A2-326F-4B53-94A2-399102202D7E}.Debug-AOT|ARM64.ActiveCfg = Debug|Any CPU {FBF301A2-326F-4B53-94A2-399102202D7E}.Debug-AOT|ARM64.Build.0 = Debug|Any CPU {FBF301A2-326F-4B53-94A2-399102202D7E}.Debug-AOT|x64.ActiveCfg = Debug|Any CPU {FBF301A2-326F-4B53-94A2-399102202D7E}.Debug-AOT|x64.Build.0 = Debug|Any CPU - {FBF301A2-326F-4B53-94A2-399102202D7E}.Debug-AOT|x86.ActiveCfg = Debug|Any CPU - {FBF301A2-326F-4B53-94A2-399102202D7E}.Debug-AOT|x86.Build.0 = Debug|Any CPU {FBF301A2-326F-4B53-94A2-399102202D7E}.Release|Any CPU.ActiveCfg = Release|Any CPU {FBF301A2-326F-4B53-94A2-399102202D7E}.Release|Any CPU.Build.0 = Release|Any CPU {FBF301A2-326F-4B53-94A2-399102202D7E}.Release|ARM64.ActiveCfg = Release|Any CPU {FBF301A2-326F-4B53-94A2-399102202D7E}.Release|ARM64.Build.0 = Release|Any CPU {FBF301A2-326F-4B53-94A2-399102202D7E}.Release|x64.ActiveCfg = Release|Any CPU {FBF301A2-326F-4B53-94A2-399102202D7E}.Release|x64.Build.0 = Release|Any CPU - {FBF301A2-326F-4B53-94A2-399102202D7E}.Release|x86.ActiveCfg = Release|Any CPU - {FBF301A2-326F-4B53-94A2-399102202D7E}.Release|x86.Build.0 = Release|Any CPU {FBF301A2-326F-4B53-94A2-399102202D7E}.Release-AOT|Any CPU.ActiveCfg = Release|Any CPU {FBF301A2-326F-4B53-94A2-399102202D7E}.Release-AOT|Any CPU.Build.0 = Release|Any CPU {FBF301A2-326F-4B53-94A2-399102202D7E}.Release-AOT|ARM64.ActiveCfg = Release|Any CPU {FBF301A2-326F-4B53-94A2-399102202D7E}.Release-AOT|ARM64.Build.0 = Release|Any CPU {FBF301A2-326F-4B53-94A2-399102202D7E}.Release-AOT|x64.ActiveCfg = Release|Any CPU {FBF301A2-326F-4B53-94A2-399102202D7E}.Release-AOT|x64.Build.0 = Release|Any CPU - {FBF301A2-326F-4B53-94A2-399102202D7E}.Release-AOT|x86.ActiveCfg = Release|Any CPU - {FBF301A2-326F-4B53-94A2-399102202D7E}.Release-AOT|x86.Build.0 = Release|Any CPU {0BE5C833-0FA6-446B-89FA-FD4D3B1B7CD5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {0BE5C833-0FA6-446B-89FA-FD4D3B1B7CD5}.Debug|Any CPU.Build.0 = Debug|Any CPU {0BE5C833-0FA6-446B-89FA-FD4D3B1B7CD5}.Debug|ARM64.ActiveCfg = Debug|Any CPU {0BE5C833-0FA6-446B-89FA-FD4D3B1B7CD5}.Debug|ARM64.Build.0 = Debug|Any CPU {0BE5C833-0FA6-446B-89FA-FD4D3B1B7CD5}.Debug|x64.ActiveCfg = Debug|Any CPU {0BE5C833-0FA6-446B-89FA-FD4D3B1B7CD5}.Debug|x64.Build.0 = Debug|Any CPU - {0BE5C833-0FA6-446B-89FA-FD4D3B1B7CD5}.Debug|x86.ActiveCfg = Debug|Any CPU - {0BE5C833-0FA6-446B-89FA-FD4D3B1B7CD5}.Debug|x86.Build.0 = Debug|Any CPU {0BE5C833-0FA6-446B-89FA-FD4D3B1B7CD5}.Debug-AOT|Any CPU.ActiveCfg = Debug|Any CPU {0BE5C833-0FA6-446B-89FA-FD4D3B1B7CD5}.Debug-AOT|Any CPU.Build.0 = Debug|Any CPU {0BE5C833-0FA6-446B-89FA-FD4D3B1B7CD5}.Debug-AOT|ARM64.ActiveCfg = Debug|Any CPU {0BE5C833-0FA6-446B-89FA-FD4D3B1B7CD5}.Debug-AOT|ARM64.Build.0 = Debug|Any CPU {0BE5C833-0FA6-446B-89FA-FD4D3B1B7CD5}.Debug-AOT|x64.ActiveCfg = Debug|Any CPU {0BE5C833-0FA6-446B-89FA-FD4D3B1B7CD5}.Debug-AOT|x64.Build.0 = Debug|Any CPU - {0BE5C833-0FA6-446B-89FA-FD4D3B1B7CD5}.Debug-AOT|x86.ActiveCfg = Debug|Any CPU - {0BE5C833-0FA6-446B-89FA-FD4D3B1B7CD5}.Debug-AOT|x86.Build.0 = Debug|Any CPU {0BE5C833-0FA6-446B-89FA-FD4D3B1B7CD5}.Release|Any CPU.ActiveCfg = Release|Any CPU {0BE5C833-0FA6-446B-89FA-FD4D3B1B7CD5}.Release|Any CPU.Build.0 = Release|Any CPU {0BE5C833-0FA6-446B-89FA-FD4D3B1B7CD5}.Release|ARM64.ActiveCfg = Release|Any CPU {0BE5C833-0FA6-446B-89FA-FD4D3B1B7CD5}.Release|ARM64.Build.0 = Release|Any CPU {0BE5C833-0FA6-446B-89FA-FD4D3B1B7CD5}.Release|x64.ActiveCfg = Release|Any CPU {0BE5C833-0FA6-446B-89FA-FD4D3B1B7CD5}.Release|x64.Build.0 = Release|Any CPU - {0BE5C833-0FA6-446B-89FA-FD4D3B1B7CD5}.Release|x86.ActiveCfg = Release|Any CPU - {0BE5C833-0FA6-446B-89FA-FD4D3B1B7CD5}.Release|x86.Build.0 = Release|Any CPU {0BE5C833-0FA6-446B-89FA-FD4D3B1B7CD5}.Release-AOT|Any CPU.ActiveCfg = Release|Any CPU {0BE5C833-0FA6-446B-89FA-FD4D3B1B7CD5}.Release-AOT|Any CPU.Build.0 = Release|Any CPU {0BE5C833-0FA6-446B-89FA-FD4D3B1B7CD5}.Release-AOT|ARM64.ActiveCfg = Release|Any CPU {0BE5C833-0FA6-446B-89FA-FD4D3B1B7CD5}.Release-AOT|ARM64.Build.0 = Release|Any CPU {0BE5C833-0FA6-446B-89FA-FD4D3B1B7CD5}.Release-AOT|x64.ActiveCfg = Release|Any CPU {0BE5C833-0FA6-446B-89FA-FD4D3B1B7CD5}.Release-AOT|x64.Build.0 = Release|Any CPU - {0BE5C833-0FA6-446B-89FA-FD4D3B1B7CD5}.Release-AOT|x86.ActiveCfg = Release|Any CPU - {0BE5C833-0FA6-446B-89FA-FD4D3B1B7CD5}.Release-AOT|x86.Build.0 = Release|Any CPU + {93801D2A-80E9-CFF0-8A0C-1D08549D3AA4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {93801D2A-80E9-CFF0-8A0C-1D08549D3AA4}.Debug|Any CPU.Build.0 = Debug|Any CPU + {93801D2A-80E9-CFF0-8A0C-1D08549D3AA4}.Debug|ARM64.ActiveCfg = Debug|Any CPU + {93801D2A-80E9-CFF0-8A0C-1D08549D3AA4}.Debug|ARM64.Build.0 = Debug|Any CPU + {93801D2A-80E9-CFF0-8A0C-1D08549D3AA4}.Debug|x64.ActiveCfg = Debug|Any CPU + {93801D2A-80E9-CFF0-8A0C-1D08549D3AA4}.Debug|x64.Build.0 = Debug|Any CPU + {93801D2A-80E9-CFF0-8A0C-1D08549D3AA4}.Debug-AOT|Any CPU.ActiveCfg = Debug|Any CPU + {93801D2A-80E9-CFF0-8A0C-1D08549D3AA4}.Debug-AOT|Any CPU.Build.0 = Debug|Any CPU + {93801D2A-80E9-CFF0-8A0C-1D08549D3AA4}.Debug-AOT|ARM64.ActiveCfg = Debug|Any CPU + {93801D2A-80E9-CFF0-8A0C-1D08549D3AA4}.Debug-AOT|ARM64.Build.0 = Debug|Any CPU + {93801D2A-80E9-CFF0-8A0C-1D08549D3AA4}.Debug-AOT|x64.ActiveCfg = Debug|Any CPU + {93801D2A-80E9-CFF0-8A0C-1D08549D3AA4}.Debug-AOT|x64.Build.0 = Debug|Any CPU + {93801D2A-80E9-CFF0-8A0C-1D08549D3AA4}.Release|Any CPU.ActiveCfg = Release|Any CPU + {93801D2A-80E9-CFF0-8A0C-1D08549D3AA4}.Release|Any CPU.Build.0 = Release|Any CPU + {93801D2A-80E9-CFF0-8A0C-1D08549D3AA4}.Release|ARM64.ActiveCfg = Release|Any CPU + {93801D2A-80E9-CFF0-8A0C-1D08549D3AA4}.Release|ARM64.Build.0 = Release|Any CPU + {93801D2A-80E9-CFF0-8A0C-1D08549D3AA4}.Release|x64.ActiveCfg = Release|Any CPU + {93801D2A-80E9-CFF0-8A0C-1D08549D3AA4}.Release|x64.Build.0 = Release|Any CPU + {93801D2A-80E9-CFF0-8A0C-1D08549D3AA4}.Release-AOT|Any CPU.ActiveCfg = Release|Any CPU + {93801D2A-80E9-CFF0-8A0C-1D08549D3AA4}.Release-AOT|Any CPU.Build.0 = Release|Any CPU + {93801D2A-80E9-CFF0-8A0C-1D08549D3AA4}.Release-AOT|ARM64.ActiveCfg = Release|Any CPU + {93801D2A-80E9-CFF0-8A0C-1D08549D3AA4}.Release-AOT|ARM64.Build.0 = Release|Any CPU + {93801D2A-80E9-CFF0-8A0C-1D08549D3AA4}.Release-AOT|x64.ActiveCfg = Release|Any CPU + {93801D2A-80E9-CFF0-8A0C-1D08549D3AA4}.Release-AOT|x64.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -239,6 +221,7 @@ Global {0AD85018-AAA2-49D9-A29F-910E6A82A6BF} = {0537A9FF-BF86-4F92-A731-B6141B27ADDB} {FBF301A2-326F-4B53-94A2-399102202D7E} = {0537A9FF-BF86-4F92-A731-B6141B27ADDB} {0BE5C833-0FA6-446B-89FA-FD4D3B1B7CD5} = {0537A9FF-BF86-4F92-A731-B6141B27ADDB} + {93801D2A-80E9-CFF0-8A0C-1D08549D3AA4} = {0537A9FF-BF86-4F92-A731-B6141B27ADDB} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {7BD789E2-AC9A-40C1-BD71-A7DA5DFBF325} diff --git a/update-localization.ps1 b/update-localization.ps1 index 0204bd3a..edb7bbb0 100644 --- a/update-localization.ps1 +++ b/update-localization.ps1 @@ -1,12 +1,14 @@ -$localizer = ".\FluentLauncher.Localization\build.bat" +$localizerProject = ".\FluentLauncher.Localization\FluentLauncher.Infra.Localizer" # Check if localizer exists -if (-not (Test-Path $localizer)) { +if (-not (Test-Path $localizerProject)) { Write-Host "Localization tool not found! Check the localization project submodule." exit } # Check modification dates +$csvFolder = ".\FluentLauncher.Localization\Views" +$reswFolder = ".\Natsurainko.FluentLauncher\Assets\Strings" # Function to get the most recent modification date in a directory function Get-MostRecentModificationDate { @@ -19,23 +21,14 @@ function Get-MostRecentModificationDate { } # Get the most recent modification dates -$latestViewsDate = Get-MostRecentModificationDate -path ".\FluentLauncher.Localization\Views" -$latestStringsDate = Get-MostRecentModificationDate -path ".\Natsurainko.FluentLauncher\Strings" +$latestCsvDate = Get-MostRecentModificationDate -path $csvFolder +$latestReswDate = Get-MostRecentModificationDate -path $reswFolder # Compare dates and exit if no compilation is needed -if ($latestStringsDate -ge $latestViewsDate) { +if ($latestReswDate -ge $latestCsvDate) { Write-Host "Skipped generation of resw files. Translations are up-to-date." exit } -# Change directory and call build.bat -Set-Location .\FluentLauncher.Localization -Write-Output `n | & ".\build.bat" - -# Copy resw files generated to the FluentLauncher project -$source = Join-Path (Get-Location) "Strings" -$target = Join-Path $PSScriptRoot "Natsurainko.FluentLauncher" -Copy-Item -Path $source -Destination $target -Recurse -Force - -# Display message -Write-Host "COPIED $source TO $target" +# Generate .resw files if trnaslations are updated +dotnet run --project $localizerProject -- --src $csvFolder --out $reswFolder --languages en-US zh-Hans zh-Hant ru-RU uk-UA --default-language en-US