Skip to content

Commit 662bdb9

Browse files
authored
Update Localization apps (#305)
* Update ServerLocalizationResx app * Update common/localization/ServerLocalizationResx/Components/_Imports.razor * Update common/localization/ServerLocalizationResx/ServerLocalizationResx.csproj * Update WASM localization example * Update common/localization/readme.md * Render key if string not found. Add user-friendly headings to Home page * Simplify localization services * Remove unnecessary stuff from Program.cs
1 parent 661b6be commit 662bdb9

File tree

117 files changed

+10964
-7543
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

117 files changed

+10964
-7543
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
<Router AppAssembly="@typeof(Program).Assembly">
2-
<Found Context="routeData">
3-
<RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
4-
</Found>
5-
<NotFound>
6-
<LayoutView Layout="@typeof(MainLayout)">
7-
<p>Sorry, there's nothing at this address.</p>
8-
</LayoutView>
9-
</NotFound>
10-
</Router>
1+
<Router AppAssembly="@typeof(App).Assembly">
2+
<Found Context="routeData">
3+
<RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
4+
<FocusOnNavigate RouteData="@routeData" Selector="h1" />
5+
</Found>
6+
<NotFound>
7+
<PageTitle>Not found</PageTitle>
8+
<LayoutView Layout="@typeof(MainLayout)">
9+
<p role="alert">Sorry, there's nothing at this address.</p>
10+
</LayoutView>
11+
</NotFound>
12+
</Router>

common/localization/ClientLocalizationResx/Client/ClientLocalizationResx.Client.csproj

Lines changed: 0 additions & 19 deletions
This file was deleted.

common/localization/ClientLocalizationResx/Client/Pages/Counter.razor

Lines changed: 0 additions & 16 deletions
This file was deleted.

common/localization/ClientLocalizationResx/Client/Pages/FetchData.razor

Lines changed: 0 additions & 46 deletions
This file was deleted.

common/localization/ClientLocalizationResx/Client/Pages/Index.razor

Lines changed: 0 additions & 86 deletions
This file was deleted.

common/localization/ClientLocalizationResx/Client/Program.cs

Lines changed: 0 additions & 48 deletions
This file was deleted.

common/localization/ClientLocalizationResx/Client/Properties/launchSettings.json

Lines changed: 0 additions & 27 deletions
This file was deleted.

common/localization/ClientLocalizationResx/Client/Shared/CultureChooser.razor

Lines changed: 0 additions & 40 deletions
This file was deleted.

common/localization/ClientLocalizationResx/Client/Shared/MainLayout.razor

Lines changed: 0 additions & 17 deletions
This file was deleted.

common/localization/ClientLocalizationResx/Client/Shared/NavMenu.razor

Lines changed: 0 additions & 37 deletions
This file was deleted.

common/localization/ClientLocalizationResx/Client/_Imports.razor

Lines changed: 0 additions & 10 deletions
This file was deleted.

common/localization/ClientLocalizationResx/Client/wwwroot/css/bootstrap/bootstrap.min.css

Lines changed: 0 additions & 7 deletions
This file was deleted.

common/localization/ClientLocalizationResx/Client/wwwroot/css/bootstrap/bootstrap.min.css.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)