Browse Source

localization updated

pull/19964/head
honurbu 2 years ago
parent
commit
edfc538790
  1. 7
      modules/blogging/src/Volo.Blogging.Domain.Shared/Volo/Blogging/Localization/Resources/en.json
  2. 4
      modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Members/Index.cshtml
  3. 3
      modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Posts/Index.cshtml
  4. 1
      modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Posts/New.cshtml

7
modules/blogging/src/Volo.Blogging.Domain.Shared/Volo/Blogging/Localization/Resources/en.json

@ -87,11 +87,6 @@
"Views": "views",
"Biography": "biography",
"Social": "Social",
"NewBlogPost": "New Blog Post",
"NewBlogPostDescription": "Create a new blog post and share your knowledge and experience with ABP.",
"BlogPage_Title": "ABP Blog",
"BlogPageDescription": "Stay updated with the latest news, updates and insights about ABP Platform.",
"Member_Page_Title": "{0} - Blog Posts",
"Member_Page_Description": "{0} is a member of the ABP Blog community. Read his blog posts and benefit from this experience."
"NewBlogPost" : "New Blog Post"
}
}

4
modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Members/Index.cshtml

@ -9,9 +9,7 @@
@inject IStringLocalizer<BloggingResource> L
@inject ICurrentUser CurrentUser
@{
//ViewBag.Title = @Model.User.UserName.ToUpper() + " - " + L["Blogs"].Value;
ViewBag.Title = L["Member_Page_Title",Model.User.UserName].Value;
ViewBag.Description = L["Member_Page_Description", Model.User.UserName].Value;
ViewBag.Title = @Model.User.UserName.ToUpper() + " - " + L["Blogs"].Value;
}
@section scripts {

3
modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Posts/Index.cshtml

@ -13,8 +13,7 @@
@inject IStringLocalizer<BloggingResource> L
@inject BloggingPageHelper BloggingPageHelper
@{
ViewBag.Title = L["BlogPage_Title"].Value;
ViewBag.Description = L["BlogPageDescription"].Value;
ViewBag.Title = "Read All Blog Posts";
var blogShortNameRouteParam = Model.BlogOptions.SingleBlogMode.Enabled ? null : Model.BlogShortName;
}
@section scripts {

1
modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Posts/New.cshtml

@ -8,7 +8,6 @@
@model Volo.Blogging.Pages.Blogs.Posts.NewModel
@{
ViewBag.PageTitle = @L["NewBlogPost"];
ViewBag.Description = @L["NewBlogPostDescription"];
}
@section styles {
<abp-style-bundle name="@typeof(NewModel).FullName">

Loading…
Cancel
Save