diff --git a/abp_io/AbpIoLocalization/AbpIoLocalization/Blog/Localization/Resources/en.json b/abp_io/AbpIoLocalization/AbpIoLocalization/Blog/Localization/Resources/en.json index 208052caad..6f52556e72 100644 --- a/abp_io/AbpIoLocalization/AbpIoLocalization/Blog/Localization/Resources/en.json +++ b/abp_io/AbpIoLocalization/AbpIoLocalization/Blog/Localization/Resources/en.json @@ -1,7 +1,7 @@ { "culture": "en", "texts": { - "ABPTitle": "ABP Framework - Open Source Web Application Framework", - "ABPDescription": "ABP is an open source application framework focused on AspNet Core based web application development. Don't repeat yourself, focus on your own business code." + "AbpTitle": "ABP Framework - Open Source Web Application Framework", + "AbpDescription": "ABP is an open source application framework focused on AspNet Core based web application development. Don't repeat yourself, focus on your own business code." } } \ No newline at end of file diff --git a/abp_io/AbpIoLocalization/AbpIoLocalization/Www/Localization/Resources/en.json b/abp_io/AbpIoLocalization/AbpIoLocalization/Www/Localization/Resources/en.json index 4d115771d6..612459a04a 100644 --- a/abp_io/AbpIoLocalization/AbpIoLocalization/Www/Localization/Resources/en.json +++ b/abp_io/AbpIoLocalization/AbpIoLocalization/Www/Localization/Resources/en.json @@ -326,18 +326,13 @@ "OrderOn": "Order on {0}", "DownloadFreeDDDBook": "Download Free DDD Book", "WhatIsABPFramework": "What is the ABP Framework?", - "Tenant1Database": "Tenant 1 Database", - "Tenant2Database": "Tenant 2 Database", - "Tenant3Database": "Tenant 3 Database", + "TenantDatabase": "Tenant {0} Database", "SharedDatabase": "Shared Database", "ConnectionResolver": "Connection Resolver", "TenantBasedDataFilter": "Tenant Based Data Filter", "ApplicationCode": "Application Code", "TenantResolution": "Tenant Resolution", - "Tenant1User": "Tenant 1 User", - "Tenant2User": "Tenant 2 User", - "Tenant3User": "Tenant 3 User", - "Tenant4User": "Tenant 4 User", + "TenantUser": "Tenant {0} User", "CardTitle": "Card title", "View": "View", "Model": "Model", @@ -377,23 +372,6 @@ "WhatYouWillLearn8": "Write unit, integration, and UI tests using ABP Framework.", "WhoIsThisBookFor": "Who's this book for", "WhoIsThisBookForDescription": "This book is for web developers who want to learn software architectures and best practices for building\n maintainable web-based solutions using Microsoft technologies and ABP Framework. Basic knowledge of C#\n and ASP.NET Core is necessary to get started with this book.", - "Computers&Technology": "Computers & Technology", - "TableOfContents1": "Modern Software Development and ABP Framework", - "TableOfContents2": "Getting Started with ABP Framework", - "TableOfContents3": "Step-By-Step Application Development", - "TableOfContents4": "Understanding the Reference Solution", - "TableOfContents5": "Exploring the ASP.NET and ABP Infrastructure", - "TableOfContents6": "Working with the Data Access Infrastructure", - "TableOfContents7": "Exploring Cross-Cutting Concerns", - "TableOfContents8": "Using the Features and Services of ABP", - "TableOfContents9": "Understanding Domain-Driven Design", - "TableOfContents10": "DDD – The Domain Layer", - "TableOfContents11": "DDD – The Application Layer", - "TableOfContents12": "Working with MVC/Razor Pages", - "TableOfContents13": "Working with the Blazor WebAssembly UI", - "TableOfContents14": "Building HTTP APIs and Real-Time Services", - "TableOfContents15": "Working with Modularity", - "TableOfContents16": "Implementing Multi-Tenancy", - "TableOfContents17": "Building Automated Tests" + "ComputersAndTechnology": "Computers & Technology" } } diff --git a/modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Posts/Index.cshtml b/modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Posts/Index.cshtml index ec48bfab46..03514aaf3a 100644 --- a/modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Posts/Index.cshtml +++ b/modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Posts/Index.cshtml @@ -4,11 +4,11 @@ @using Volo.Blogging @inject IAuthorizationService Authorization @model Volo.Blogging.Pages.Blog.Posts.IndexModel -@using Microsoft.AspNetCore.Mvc.Localization +@using Microsoft.Extensions.Localization @using Volo.Blogging.Localization @using Volo.Blogging.Pages.Blog @using IndexModel = Volo.Blogging.Pages.Blog.Posts.IndexModel -@inject IHtmlLocalizer L +@inject IStringLocalizer L @inject BloggingPageHelper BloggingPageHelper @{ ViewBag.Title = "Read All Blog Posts";