InvokeAsync(string content)
+ {
+ var fragments = await ContentAppService.ParseAsync(content);
+
+ return View("~/Pages/CmsKit/Components/ContentPreview/Default.cshtml", new DefaultContentDto
+ {
+ ContentFragments = fragments
+ });
+ }
+}
diff --git a/modules/cms-kit/src/Volo.CmsKit.Common.Web/Pages/CmsKit/Components/ContentPreview/Default.cshtml b/modules/cms-kit/src/Volo.CmsKit.Common.Web/Pages/CmsKit/Components/ContentPreview/Default.cshtml
new file mode 100644
index 0000000000..6baf41716e
--- /dev/null
+++ b/modules/cms-kit/src/Volo.CmsKit.Common.Web/Pages/CmsKit/Components/ContentPreview/Default.cshtml
@@ -0,0 +1,10 @@
+@using Volo.CmsKit.Contents
+@using Volo.CmsKit.Web.Pages.CmsKit.Components.Contents
+
+@model DefaultContentDto
+
+
+
+ @await Component.InvokeAsync(typeof(ContentFragmentViewComponent), Model)
+
+
\ No newline at end of file
diff --git a/modules/cms-kit/src/Volo.CmsKit.Common.Web/Contents/CmsKitContentWidgetOptions.cs b/modules/cms-kit/src/Volo.CmsKit.Common.Web/Pages/CmsKit/Components/Contents/CmsKitContentWidgetOptions.cs
similarity index 100%
rename from modules/cms-kit/src/Volo.CmsKit.Common.Web/Contents/CmsKitContentWidgetOptions.cs
rename to modules/cms-kit/src/Volo.CmsKit.Common.Web/Pages/CmsKit/Components/Contents/CmsKitContentWidgetOptions.cs
diff --git a/modules/cms-kit/src/Volo.CmsKit.Common.Web/Pages/CmsKit/Components/Contents/ContentFragment.cshtml b/modules/cms-kit/src/Volo.CmsKit.Common.Web/Pages/CmsKit/Components/Contents/ContentFragment.cshtml
new file mode 100644
index 0000000000..0fa7d59064
--- /dev/null
+++ b/modules/cms-kit/src/Volo.CmsKit.Common.Web/Pages/CmsKit/Components/Contents/ContentFragment.cshtml
@@ -0,0 +1,20 @@
+@using System.Dynamic
+@using Volo.Abp.Data
+@using Volo.CmsKit.Web.Renderers;
+@using Volo.CmsKit.Web.Pages.CmsKit.Components.Contents;
+
+@model ContentFragmentViewComponent
+
+@inject IMarkdownToHtmlRenderer MarkdownRenderer
+
+@foreach (var contentFragment in Model.ContentDto.ContentFragments)
+{
+ if (contentFragment.Type == "Markdown")
+ {
+ @Html.Raw(await MarkdownRenderer.RenderAsync(contentFragment.GetProperty("Content")))
+ }
+ else if (contentFragment.Type == "Widget")
+ {
+ @await Component.InvokeAsync(contentFragment.GetProperty("Type"), contentFragment.ExtraProperties.ConvertToDynamicObject())
+ }
+}
\ No newline at end of file
diff --git a/modules/cms-kit/src/Volo.CmsKit.Common.Web/Pages/CmsKit/Components/Contents/ContentFragmentViewComponent.cs b/modules/cms-kit/src/Volo.CmsKit.Common.Web/Pages/CmsKit/Components/Contents/ContentFragmentViewComponent.cs
new file mode 100644
index 0000000000..d276165982
--- /dev/null
+++ b/modules/cms-kit/src/Volo.CmsKit.Common.Web/Pages/CmsKit/Components/Contents/ContentFragmentViewComponent.cs
@@ -0,0 +1,21 @@
+using System.Threading.Tasks;
+using Microsoft.AspNetCore.Mvc;
+using Volo.Abp.AspNetCore.Mvc;
+using Volo.Abp.AspNetCore.Mvc.UI.Widgets;
+using Volo.CmsKit.Contents;
+
+namespace Volo.CmsKit.Web.Pages.CmsKit.Components.Contents;
+
+[ViewComponent(Name = "ContentFragment")]
+[Widget(
+ AutoInitialize = true
+)]
+public class ContentFragmentViewComponent : AbpViewComponent
+{
+ public IContent ContentDto { get; set; }
+
+ public virtual async Task InvokeAsync(IContent contentDto)
+ {
+ return View("~/Pages/CmsKit/Components/Contents/ContentFragment.cshtml", new ContentFragmentViewComponent() { ContentDto = contentDto });
+ }
+}
\ No newline at end of file
diff --git a/modules/cms-kit/src/Volo.CmsKit.Common.Web/Contents/ContentParser.cs b/modules/cms-kit/src/Volo.CmsKit.Common.Web/Pages/CmsKit/Components/Contents/ContentParser.cs
similarity index 100%
rename from modules/cms-kit/src/Volo.CmsKit.Common.Web/Contents/ContentParser.cs
rename to modules/cms-kit/src/Volo.CmsKit.Common.Web/Pages/CmsKit/Components/Contents/ContentParser.cs
diff --git a/modules/cms-kit/src/Volo.CmsKit.Common.Web/Contents/ContentWidgetConfig.cs b/modules/cms-kit/src/Volo.CmsKit.Common.Web/Pages/CmsKit/Components/Contents/ContentWidgetConfig.cs
similarity index 100%
rename from modules/cms-kit/src/Volo.CmsKit.Common.Web/Contents/ContentWidgetConfig.cs
rename to modules/cms-kit/src/Volo.CmsKit.Common.Web/Pages/CmsKit/Components/Contents/ContentWidgetConfig.cs
diff --git a/modules/cms-kit/src/Volo.CmsKit.Common.Web/Contents/IContentRenderer.cs b/modules/cms-kit/src/Volo.CmsKit.Common.Web/Pages/CmsKit/Components/Contents/IContentRenderer.cs
similarity index 66%
rename from modules/cms-kit/src/Volo.CmsKit.Common.Web/Contents/IContentRenderer.cs
rename to modules/cms-kit/src/Volo.CmsKit.Common.Web/Pages/CmsKit/Components/Contents/IContentRenderer.cs
index 879b27cda7..b33c044392 100644
--- a/modules/cms-kit/src/Volo.CmsKit.Common.Web/Contents/IContentRenderer.cs
+++ b/modules/cms-kit/src/Volo.CmsKit.Common.Web/Pages/CmsKit/Components/Contents/IContentRenderer.cs
@@ -1,6 +1,6 @@
using System.Threading.Tasks;
-namespace Volo.CmsKit.Web.Contents;
+namespace Volo.CmsKit.Web.Pages.CmsKit.Components.Contents;
public interface IContentRenderer
{
diff --git a/modules/cms-kit/src/Volo.CmsKit.Common.Web/Contents/PlainTextContentRenderer.cs b/modules/cms-kit/src/Volo.CmsKit.Common.Web/Pages/CmsKit/Components/Contents/PlainTextContentRenderer.cs
similarity index 80%
rename from modules/cms-kit/src/Volo.CmsKit.Common.Web/Contents/PlainTextContentRenderer.cs
rename to modules/cms-kit/src/Volo.CmsKit.Common.Web/Pages/CmsKit/Components/Contents/PlainTextContentRenderer.cs
index cf68e25e15..3fcc78f658 100644
--- a/modules/cms-kit/src/Volo.CmsKit.Common.Web/Contents/PlainTextContentRenderer.cs
+++ b/modules/cms-kit/src/Volo.CmsKit.Common.Web/Pages/CmsKit/Components/Contents/PlainTextContentRenderer.cs
@@ -1,7 +1,7 @@
using System.Threading.Tasks;
using Volo.Abp.DependencyInjection;
-namespace Volo.CmsKit.Web.Contents;
+namespace Volo.CmsKit.Web.Pages.CmsKit.Components.Contents;
public class PlainTextContentRenderer : IContentRenderer, ITransientDependency
{
diff --git a/modules/cms-kit/src/Volo.CmsKit.Public.Web/Renderers/IMarkdownToHtmlRenderer.cs b/modules/cms-kit/src/Volo.CmsKit.Common.Web/Renderers/IMarkdownToHtmlRenderer.cs
similarity index 80%
rename from modules/cms-kit/src/Volo.CmsKit.Public.Web/Renderers/IMarkdownToHtmlRenderer.cs
rename to modules/cms-kit/src/Volo.CmsKit.Common.Web/Renderers/IMarkdownToHtmlRenderer.cs
index 0dd60f34c5..565437af7e 100644
--- a/modules/cms-kit/src/Volo.CmsKit.Public.Web/Renderers/IMarkdownToHtmlRenderer.cs
+++ b/modules/cms-kit/src/Volo.CmsKit.Common.Web/Renderers/IMarkdownToHtmlRenderer.cs
@@ -1,6 +1,6 @@
using System.Threading.Tasks;
-namespace Volo.CmsKit.Public.Web.Renderers;
+namespace Volo.CmsKit.Web.Renderers;
public interface IMarkdownToHtmlRenderer
{
diff --git a/modules/cms-kit/src/Volo.CmsKit.Public.Web/Renderers/MarkdownToHtmlRenderer.cs b/modules/cms-kit/src/Volo.CmsKit.Common.Web/Renderers/MarkdownToHtmlRenderer.cs
similarity index 98%
rename from modules/cms-kit/src/Volo.CmsKit.Public.Web/Renderers/MarkdownToHtmlRenderer.cs
rename to modules/cms-kit/src/Volo.CmsKit.Common.Web/Renderers/MarkdownToHtmlRenderer.cs
index 4ef7c82c0d..83317c2111 100644
--- a/modules/cms-kit/src/Volo.CmsKit.Public.Web/Renderers/MarkdownToHtmlRenderer.cs
+++ b/modules/cms-kit/src/Volo.CmsKit.Common.Web/Renderers/MarkdownToHtmlRenderer.cs
@@ -7,7 +7,7 @@ using Ganss.XSS;
using Markdig;
using Volo.Abp.DependencyInjection;
-namespace Volo.CmsKit.Public.Web.Renderers;
+namespace Volo.CmsKit.Web.Renderers;
public class MarkdownToHtmlRenderer : IMarkdownToHtmlRenderer, ITransientDependency
{
diff --git a/modules/cms-kit/src/Volo.CmsKit.Common.Web/Volo.CmsKit.Common.Web.csproj b/modules/cms-kit/src/Volo.CmsKit.Common.Web/Volo.CmsKit.Common.Web.csproj
index 1ca9a78b27..e717f49be5 100644
--- a/modules/cms-kit/src/Volo.CmsKit.Common.Web/Volo.CmsKit.Common.Web.csproj
+++ b/modules/cms-kit/src/Volo.CmsKit.Common.Web/Volo.CmsKit.Common.Web.csproj
@@ -1,38 +1,40 @@
-
-
+
+
-
- net6.0
- $(AssetTargetFallback);portable-net45+win8+wp8+wpa81;
- true
- Library
- Volo.CmsKit.Web
- true
-
+
+ net6.0
+ $(AssetTargetFallback);portable-net45+win8+wp8+wpa81;
+ true
+ Library
+ Volo.CmsKit.Web
+ true
+
-
-
-
-
-
+
+
+
+
+
-
-
-
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo.CmsKit.Domain.Shared.csproj b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo.CmsKit.Domain.Shared.csproj
index 22160272fd..550a704a75 100644
--- a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo.CmsKit.Domain.Shared.csproj
+++ b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo.CmsKit.Domain.Shared.csproj
@@ -12,6 +12,7 @@
+
diff --git a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Features/CmsKitFeatureDefinitionProvider.cs b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Features/CmsKitFeatureDefinitionProvider.cs
new file mode 100644
index 0000000000..597e5240e8
--- /dev/null
+++ b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Features/CmsKitFeatureDefinitionProvider.cs
@@ -0,0 +1,73 @@
+using Volo.Abp.Features;
+using Volo.Abp.Localization;
+using Volo.Abp.Validation.StringValues;
+using Volo.CmsKit.Localization;
+
+namespace Volo.CmsKit.Features;
+public class CmsKitFeatureDefinitionProvider : FeatureDefinitionProvider
+{
+ public override void Define(IFeatureDefinitionContext context)
+ {
+ var group = context.AddGroup(CmsKitFeatures.GroupName,
+ L("Feature:CmsKitGroup"));
+
+ group.AddFeature(CmsKitFeatures.BlogEnable,
+ "true",
+ L("Feature:BlogEnable"),
+ L("Feature:BlogEnableDescription"),
+ new ToggleStringValueType());
+
+ group.AddFeature(CmsKitFeatures.CommentEnable,
+ "true",
+ L("Feature:CommentEnable"),
+ L("Feature:CommentEnableDescription"),
+ new ToggleStringValueType());
+
+ group.AddFeature(CmsKitFeatures.GlobalResourceEnable,
+ "true",
+ L("Feature:GlobalResourceEnable"),
+ L("Feature:GlobalResourceEnableDescription"),
+ new ToggleStringValueType());
+
+ group.AddFeature(CmsKitFeatures.MediaEnable,
+ "true",
+ L("Feature:MediaEnable"),
+ L("Feature:MediaEnableDescription"),
+ new ToggleStringValueType());
+
+ group.AddFeature(CmsKitFeatures.MenuEnable,
+ "true",
+ L("Feature:MenuEnable"),
+ L("Feature:MenuEnableDescription"),
+ new ToggleStringValueType());
+
+ group.AddFeature(CmsKitFeatures.PageEnable,
+ "true",
+ L("Feature:PageEnable"),
+ L("Feature:PageEnableDescription"),
+ new ToggleStringValueType());
+
+ group.AddFeature(CmsKitFeatures.RatingEnable,
+ "true",
+ L("Feature:RatingEnable"),
+ L("Feature:RatingEnableDescription"),
+ new ToggleStringValueType());
+
+ group.AddFeature(CmsKitFeatures.ReactionEnable,
+ "true",
+ L("Feature:ReactionEnable"),
+ L("Feature:ReactionEnableDescription"),
+ new ToggleStringValueType());
+
+ group.AddFeature(CmsKitFeatures.TagEnable,
+ "true",
+ L("Feature:TagEnable"),
+ L("Feature:TagEnableDescription"),
+ new ToggleStringValueType());
+ }
+
+ private static LocalizableString L(string name)
+ {
+ return LocalizableString.Create(name);
+ }
+}
diff --git a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Features/CmsKitFeatures.cs b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Features/CmsKitFeatures.cs
new file mode 100644
index 0000000000..1dbf642755
--- /dev/null
+++ b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Features/CmsKitFeatures.cs
@@ -0,0 +1,15 @@
+namespace Volo.CmsKit.Features;
+public static class CmsKitFeatures
+{
+ public const string GroupName = "CmsKit";
+
+ public const string BlogEnable = GroupName + ".BlogEnable";
+ public const string CommentEnable = GroupName + ".CommentEnable";
+ public const string GlobalResourceEnable = GroupName + ".GlobalResourceEnable";
+ public const string MediaEnable = GroupName + ".MediaEnable";
+ public const string MenuEnable = GroupName + ".MenuEnable";
+ public const string PageEnable = GroupName + ".PageEnable";
+ public const string RatingEnable = GroupName + ".RatingEnable";
+ public const string ReactionEnable = GroupName + ".ReactionEnable";
+ public const string TagEnable = GroupName + ".TagEnable";
+}
diff --git a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/GlobalFeatures/ContentsFeature.cs b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/GlobalFeatures/ContentsFeature.cs
new file mode 100644
index 0000000000..ac752a68c4
--- /dev/null
+++ b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/GlobalFeatures/ContentsFeature.cs
@@ -0,0 +1,28 @@
+using JetBrains.Annotations;
+using Volo.Abp.GlobalFeatures;
+
+namespace Volo.CmsKit.GlobalFeatures;
+
+[GlobalFeatureName(Name)]
+public class ContentsFeature : GlobalFeature
+{
+ public const string Name = "CmsKit.Contents";
+
+ internal ContentsFeature(
+ [NotNull] GlobalCmsKitFeatures cmsKit
+ ) : base(cmsKit)
+ {
+
+ }
+
+ public override void Enable()
+ {
+ var userFeature = FeatureManager.Modules.CmsKit().User;
+ if (!userFeature.IsEnabled)
+ {
+ userFeature.Enable();
+ }
+
+ base.Enable();
+ }
+}
diff --git a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/ar.json b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/ar.json
index 922059463f..3119bf618c 100644
--- a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/ar.json
+++ b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/ar.json
@@ -75,7 +75,7 @@
"PageDeletionConfirmationMessage": "هل أنت متأكد من حذف هذه الصفحة؟",
"PageId": "صفحة",
"Pages": "الصفحات",
- "PageSlugInformation": "سبيكة تستخدم على url. سيكون عنوان url الخاص بك هو \"/pages/{{slug}}\".",
+ "PageSlugInformation": "سبيكة تستخدم على url. سيكون عنوان url الخاص بك هو \"/{slug}}\".",
"Permission:BlogManagement": "إدارة المدونة",
"Permission:BlogManagement.Create": "إنشاء",
"Permission:BlogManagement.Delete": "حذف",
diff --git a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/cs.json b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/cs.json
index 9192b48abe..8ae9479b06 100644
--- a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/cs.json
+++ b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/cs.json
@@ -75,7 +75,7 @@
"PageDeletionConfirmationMessage": "Opravdu chcete smazat tuto stránku?",
"PageId": "Strana",
"Pages": "stránky",
- "PageSlugInformation": "Na adrese URL je použit Slug. Vaše adresa URL bude '/pages/{{slug}}'.",
+ "PageSlugInformation": "Na adrese URL je použit Slug. Vaše adresa URL bude '/{{slug}}'.",
"Permission:BlogManagement": "Správa blogu",
"Permission:BlogManagement.Create": "Vytvořit",
"Permission:BlogManagement.Delete": "Vymazat",
diff --git a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/de-DE.json b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/de-DE.json
index 903a7e3d0a..857f7f1e1a 100644
--- a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/de-DE.json
+++ b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/de-DE.json
@@ -75,7 +75,7 @@
"PageDeletionConfirmationMessage": "Möchten Sie diese Seite wirklich löschen?",
"PageId": "Buchseite",
"Pages": "Seiten",
- "PageSlugInformation": "Slug wird auf URL verwendet. Ihre URL lautet '/pages/{{slug}}'.",
+ "PageSlugInformation": "Slug wird auf URL verwendet. Ihre URL lautet '/{{slug}}'.",
"Permission:BlogManagement": "Blog-Verwaltung",
"Permission:BlogManagement.Create": "Schaffen",
"Permission:BlogManagement.Delete": "Löschen",
diff --git a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/el.json b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/el.json
index 222cbe0fbd..7a838b120a 100644
--- a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/el.json
+++ b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/el.json
@@ -75,7 +75,7 @@
"PageDeletionConfirmationMessage": "Είστε βέβαιοι ότι θα διαγράψετε αυτήν τη σελίδα;",
"PageId": "Σελίδα",
"Pages": "Σελίδες",
- "PageSlugInformation": "Το Slug χρησιμοποιείται στο url. Το url σας θα είναι '/pages/{{slug}}'.",
+ "PageSlugInformation": "Το Slug χρησιμοποιείται στο url. Το url σας θα είναι '/{{slug}}'.",
"Permission:BlogManagement": "Διαχείριση ιστολογίου",
"Permission:BlogManagement.Create": "Δημιουργώ",
"Permission:BlogManagement.Delete": "Διαγράφω",
diff --git a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/en.json b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/en.json
index 8da6be8bd5..0faaf04e81 100644
--- a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/en.json
+++ b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/en.json
@@ -75,7 +75,7 @@
"PageDeletionConfirmationMessage": "Are you sure to delete this page?",
"PageId": "Page",
"Pages": "Pages",
- "PageSlugInformation": "Slug is used on url. Your url will be '/pages/{{slug}}'.",
+ "PageSlugInformation": "Slug is used on url. Your url will be '/{{slug}}'.",
"Permission:BlogManagement": "Blog Management",
"Permission:BlogManagement.Create": "Create",
"Permission:BlogManagement.Delete": "Delete",
@@ -185,8 +185,27 @@
"Add": "Add",
"AddWidget": "Add Widget",
"PleaseConfigureWidgets": "Please configure widgets",
- "SelectAnAuthor":"Select an Author",
- "InThisDocument":"In This Document",
- "GoToTop":"Go To Top"
+ "SelectAnAuthor": "Select an Author",
+ "InThisDocument": "In This Document",
+ "GoToTop": "Go To Top",
+ "Feature:CmsKitGroup": "Cms Kit",
+ "Feature:BlogEnable": "Enabled blog page",
+ "Feature:BlogEnableDescription": "Enable blog page in the application.",
+ "Feature:CommentEnable": "Enabled commenting",
+ "Feature:CommentEnableDescription": "Enable comment in the application.",
+ "Feature:GlobalResourceEnable": "Enabled global resourcing",
+ "Feature:GlobalResourceEnableDescription": "Enable global resource in the application.",
+ "Feature:MediaEnable": "Enabled media",
+ "Feature:MediaEnableDescription": "Enable media in the application.",
+ "Feature:MenuEnable": "Enabled menu",
+ "Feature:MenuEnableDescription": "Enable menu in the application.",
+ "Feature:PageEnable": "Enabled paging page",
+ "Feature:PageEnableDescription": "Enable paging page in the application.",
+ "Feature:RatingEnable": "Enabled rating",
+ "Feature:RatingEnableDescription": "Enable rating in the application.",
+ "Feature:ReactionEnable": "Enabled reaction",
+ "Feature:ReactionEnableDescription": "Enable reaction in the application.",
+ "Feature:TagEnable": "Enabled taging",
+ "Feature:TagEnableDescription": "Enable taging in the application."
}
}
\ No newline at end of file
diff --git a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/es.json b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/es.json
index 19df2c45a2..8e8750e530 100644
--- a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/es.json
+++ b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/es.json
@@ -75,7 +75,7 @@
"PageDeletionConfirmationMessage": "¿Está seguro de eliminar esta página?",
"PageId": "Página",
"Pages": "Paginas",
- "PageSlugInformation": "Slug se usa en la URL. Su URL será '/pages/{{slug}}'.",
+ "PageSlugInformation": "Slug se usa en la URL. Su URL será '/{{slug}}'.",
"Permission:BlogManagement": "Gestión de blogs",
"Permission:BlogManagement.Create": "Crear",
"Permission:BlogManagement.Delete": "Borrar",
diff --git a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/fa.json b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/fa.json
index 3ac961feef..855b6d091d 100644
--- a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/fa.json
+++ b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/fa.json
@@ -75,7 +75,7 @@
"PageDeletionConfirmationMessage": "آیا مطمئن هستید که این صفحه را حذف می کنید؟",
"PageId": "صفحه",
"Pages": "صفحات",
- "PageSlugInformation": "Slug در url استفاده می شود. آدرس اینترنتی شما '/pages/{{slug}}' خواهد بود.",
+ "PageSlugInformation": "Slug در url استفاده می شود. آدرس اینترنتی شما '/{{slug}}' خواهد بود.",
"Permission:BlogManagement": "مدیریت وبلاگ",
"Permission:BlogManagement.Create": "ایجاد",
"Permission:BlogManagement.Delete": "حذف",
diff --git a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/fi.json b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/fi.json
index 30a56fa9c0..438818cdfb 100644
--- a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/fi.json
+++ b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/fi.json
@@ -75,7 +75,7 @@
"PageDeletionConfirmationMessage": "Haluatko varmasti poistaa tämän sivun?",
"PageId": "Sivu",
"Pages": "Sivut",
- "PageSlugInformation": "Etanaa käytetään URL-osoitteessa. URL-osoitteesi on '/pages/{{slug}}'.",
+ "PageSlugInformation": "Etanaa käytetään URL-osoitteessa. URL-osoitteesi on '/{{slug}}'.",
"Permission:BlogManagement": "Blogin hallinta",
"Permission:BlogManagement.Create": "Luoda",
"Permission:BlogManagement.Delete": "Poistaa",
diff --git a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/fr.json b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/fr.json
index 6d4e8f4cf5..5c789e996e 100644
--- a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/fr.json
+++ b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/fr.json
@@ -75,7 +75,7 @@
"PageDeletionConfirmationMessage": "Êtes-vous sûr de vouloir supprimer cette page?",
"PageId": "Page",
"Pages": "Pages",
- "PageSlugInformation": "Slug est utilisé sur l'url. Votre URL sera '/pages/{{slug}}'.",
+ "PageSlugInformation": "Slug est utilisé sur l'url. Votre URL sera '/{{slug}}'.",
"Permission:BlogManagement": "Gestion de blog",
"Permission:BlogManagement.Create": "Créer",
"Permission:BlogManagement.Delete": "Effacer",
diff --git a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/hi.json b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/hi.json
index 732ca3d2de..8f69f2e25f 100644
--- a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/hi.json
+++ b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/hi.json
@@ -75,7 +75,7 @@
"PageDeletionConfirmationMessage": "क्या आप इस पृष्ठ को हटाना सुनिश्चित कर रहे हैं?",
"PageId": "पृष्ठ",
"Pages": "पृष्ठों",
- "PageSlugInformation": "स्लग का उपयोग url पर किया जाता है। आपका url '/pages/{{slug}}' होगा।",
+ "PageSlugInformation": "स्लग का उपयोग url पर किया जाता है। आपका url '/{{slug}}' होगा।",
"Permission:BlogManagement": "ब्लॉग प्रबंधन",
"Permission:BlogManagement.Create": "सृजन करना",
"Permission:BlogManagement.Delete": "हटाएं",
diff --git a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/hu.json b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/hu.json
index 49b7d5f828..ebeb5dad25 100644
--- a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/hu.json
+++ b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/hu.json
@@ -75,7 +75,7 @@
"PageDeletionConfirmationMessage": "Biztosan törlöd ezt az oldalt?",
"PageId": "oldal",
"Pages": "Oldalak",
- "PageSlugInformation": "A Slug az url-en használatos. Az Ön URL-je a következő lesz: „/pages/{{slug}}”.",
+ "PageSlugInformation": "A Slug az url-en használatos. Az Ön URL-je a következő lesz: „/{{slug}}”.",
"Permission:BlogManagement": "Blogkezelés",
"Permission:BlogManagement.Create": "Teremt",
"Permission:BlogManagement.Delete": "Töröl",
diff --git a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/it.json b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/it.json
index f5bb342dc6..60c8d13744 100644
--- a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/it.json
+++ b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/it.json
@@ -75,7 +75,7 @@
"PageDeletionConfirmationMessage": "Sei sicuro di cancellare questa pagina?",
"PageId": "Pagina",
"Pages": "Pagine",
- "PageSlugInformation": "Lo slug viene utilizzato sull'URL. Il tuo URL sarà '/pages/{{slug}}'.",
+ "PageSlugInformation": "Lo slug viene utilizzato sull'URL. Il tuo URL sarà '/{{slug}}'.",
"Permission:BlogManagement": "Gestione del blog",
"Permission:BlogManagement.Create": "Crea",
"Permission:BlogManagement.Delete": "Elimina",
diff --git a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/nl.json b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/nl.json
index b8adbbd5bb..39779d1d57 100644
--- a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/nl.json
+++ b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/nl.json
@@ -75,7 +75,7 @@
"PageDeletionConfirmationMessage": "Weet u zeker dat u deze pagina wilt verwijderen?",
"PageId": "Bladzijde",
"Pages": "Pagina's",
- "PageSlugInformation": "Slug wordt gebruikt voor de url. Uw url wordt '/pages/{{slug}}'.",
+ "PageSlugInformation": "Slug wordt gebruikt voor de url. Uw url wordt '/{{slug}}'.",
"Permission:BlogManagement": "Blogbeheer",
"Permission:BlogManagement.Create": "Toevoegen",
"Permission:BlogManagement.Delete": "Verwijderen",
diff --git a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/pl-PL.json b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/pl-PL.json
index 6c5e77a7d3..5a2ed06a5d 100644
--- a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/pl-PL.json
+++ b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/pl-PL.json
@@ -75,7 +75,7 @@
"PageDeletionConfirmationMessage": "Czy na pewno chcesz usunąć tę stronę?",
"PageId": "Strona",
"Pages": "Strony",
- "PageSlugInformation": "Slug jest używany na adresie URL. Twój adres URL to „/pages/{{slug}}”.",
+ "PageSlugInformation": "Slug jest używany na adresie URL. Twój adres URL to „/{{slug}}”.",
"Permission:BlogManagement": "Zarządzanie blogiem",
"Permission:BlogManagement.Create": "Tworzyć",
"Permission:BlogManagement.Delete": "Kasować",
diff --git a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/pt-BR.json b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/pt-BR.json
index 5ec2a64799..fff05fefdd 100644
--- a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/pt-BR.json
+++ b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/pt-BR.json
@@ -75,7 +75,7 @@
"PageDeletionConfirmationMessage": "Tem certeza que deseja deletar esta página?",
"PageId": "Página",
"Pages": "Páginas",
- "PageSlugInformation": "Slug é usado na url. Sua url será '/pages/{{slug}}'.",
+ "PageSlugInformation": "Slug é usado na url. Sua url será '/{{slug}}'.",
"Permission:BlogManagement": "Gerenciamento de blogs",
"Permission:BlogManagement.Create": "Criar",
"Permission:BlogManagement.Delete": "Excluir",
@@ -181,6 +181,31 @@
"HasBlogPostWaitingForReviewMessage": "Você tem uma postagem para revisão. Clique para listar.",
"SelectAStatus": "Selecione um status",
"Status": "Status",
- "CmsKit.BlogPost.ScrollIndex": "Barra de navegação rápida em postagens"
+ "CmsKit.BlogPost.ScrollIndex": "Barra de navegação rápida em postagens",
+ "Add": "Adicionar",
+ "AddWidget": "Adicionar Widget",
+ "PleaseConfigureWidgets": "Por favor, configure os widgets",
+ "SelectAnAuthor": "Selecione um Autor",
+ "InThisDocument": "Neste Documento",
+ "GoToTop": "Ir para o Topo",
+ "Feature:CmsKitGroup": "Cms Kit",
+ "Feature:BlogEnable": "Habilitar página de blog",
+ "Feature:BlogEnableDescription": "Habilitar página de blog no aplicativo.",
+ "Feature:CommentEnable": "Habilitar comentários",
+ "Feature:CommentEnableDescription": "Habilitar comentários no aplicativo.",
+ "Feature:GlobalResourceEnable": "Recursos globais ativados",
+ "Feature:GlobalResourceEnableDescription": "Habilitar recurso global no aplicativo.",
+ "Feature:MediaEnable": "Mídia ativada",
+ "Feature:MediaEnableDescription": "Mídia ativada no aplicativo.",
+ "Feature:MenuEnable": "Menu habilitado",
+ "Feature:MenuEnableDescription": "Menu habilitado no aplicativo.",
+ "Feature:PageEnable": "Página de paginação ativada",
+ "Feature:PageEnableDescription": "Página de paginação ativada no aplicativo.",
+ "Feature:RatingEnable": "Classificação ativada",
+ "Feature:RatingEnableDescription": "Classificação ativada no aplicativo.",
+ "Feature:ReactionEnable": "Reações habilitadas",
+ "Feature:ReactionEnableDescription": "Reações habilitadas no aplicativo.",
+ "Feature:TagEnable": "Habilitar tag",
+ "Feature:TagEnableDescription": "Habilitar tag no aplicativo."
}
}
\ No newline at end of file
diff --git a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/ro-RO.json b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/ro-RO.json
index 3e7e1caaa9..9cd519bb53 100644
--- a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/ro-RO.json
+++ b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/ro-RO.json
@@ -75,7 +75,7 @@
"PageDeletionConfirmationMessage": "Sunteţi sigur(ă) că vreţi să ştergeţi această pagină?",
"PageId": "Pagina",
"Pages": "Pagini",
- "PageSlugInformation": "Slug este folosit pe url. Url-ul dumneavoastră va fi '/pages/{{slug}}'.",
+ "PageSlugInformation": "Slug este folosit pe url. Url-ul dumneavoastră va fi '/{{slug}}'.",
"Permission:BlogManagement": "Administrare Blog",
"Permission:BlogManagement.Create": "Creează",
"Permission:BlogManagement.Delete": "Şterge",
diff --git a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/ru.json b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/ru.json
index 289b952e1b..f95ee910e4 100644
--- a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/ru.json
+++ b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/ru.json
@@ -75,7 +75,7 @@
"PageDeletionConfirmationMessage": "Вы уверены, что хотите удалить эту страницу?",
"PageId": "Страница",
"Pages": "Страницы",
- "PageSlugInformation": "Слаг используется для URL. Ваш URL-адрес будет '/pages/{{slug}}'.",
+ "PageSlugInformation": "Слаг используется для URL. Ваш URL-адрес будет '/{{slug}}'.",
"Permission:BlogManagement": "Управление блогом",
"Permission:BlogManagement.Create": "Создавать",
"Permission:BlogManagement.Delete": "Удалить",
diff --git a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/sk.json b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/sk.json
index d5873f42e1..2cf9410ca9 100644
--- a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/sk.json
+++ b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/sk.json
@@ -75,7 +75,7 @@
"PageDeletionConfirmationMessage": "Určite chcete túto stránku vymazať?",
"PageId": "Stránka",
"Pages": "Stránky",
- "PageSlugInformation": "Slug sa používa v URL. Vaša URL bude '/pages/{{slug}}'.",
+ "PageSlugInformation": "Slug sa používa v URL. Vaša URL bude '/{{slug}}'.",
"Permission:BlogManagement": "Správa blogov",
"Permission:BlogManagement.Create": "Vytvoriť",
"Permission:BlogManagement.Delete": "Zmazať",
diff --git a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/sl.json b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/sl.json
index 0a79428aac..22f252ea51 100644
--- a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/sl.json
+++ b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/sl.json
@@ -75,7 +75,7 @@
"PageDeletionConfirmationMessage": "Ali ste prepričani, da želite izbrisati to stran?",
"PageId": "stran",
"Pages": "strani",
- "PageSlugInformation": "Slug se uporablja na url-ju. Vaš url bo '/pages/{{slug}}'.",
+ "PageSlugInformation": "Slug se uporablja na url-ju. Vaš url bo '/{{slug}}'.",
"Permission:BlogManagement": "Upravljanje blogov",
"Permission:BlogManagement.Create": "Ustvari",
"Permission:BlogManagement.Delete": "Izbriši",
diff --git a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/tr.json b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/tr.json
index 431c50596c..78fb34087b 100644
--- a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/tr.json
+++ b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/tr.json
@@ -75,7 +75,7 @@
"PageDeletionConfirmationMessage": "Bu sayfayı silmek istediğinize emin misiniz?",
"PageId": "Sayfa",
"Pages": "Sayfalar",
- "PageSlugInformation": "Etiket URL'de kullanılır. Url şöyle görünür: '/pages/{{slug}}'.",
+ "PageSlugInformation": "Etiket URL'de kullanılır. Url şöyle görünür: '/{{slug}}'.",
"Permission:BlogManagement": "Blog Yönetimi",
"Permission:BlogManagement.Create": "Oluşturma",
"Permission:BlogManagement.Delete": "Silme",
@@ -190,6 +190,25 @@
"CmsKit.BlogPost.ScrollIndex": "Blog yazılarında hızlı gezinme çubuğu",
"Add": "Ekle",
"AddWidget": "Widget Ekle",
- "PleaseConfigureWidgets": "Lütfen widget'leri yapılandırın"
+ "PleaseConfigureWidgets": "Lütfen widget'leri yapılandırın",
+ "Feature:CmsKitGroup": "Cms Kit",
+ "Feature:BlogEnable": "Blog sayfasını etkinleştirin",
+ "Feature:BlogEnableDescription": "Uygulamınızdaki blog sayfasını etkinleştirir.",
+ "Feature:CommentEnable": "Yorum özelliğini etkinleştirin",
+ "Feature:CommentEnableDescription": "Uygulamınızdaki yorum özelliğini etkinleştirir.",
+ "Feature:GlobalResourceEnable": "Blog global kaynakları etkinleştirin",
+ "Feature:GlobalResourceEnableDescription": "Uygulamınızdaki global kaynakları etkinleştirir.",
+ "Feature:MediaEnable": "Medyayı etkinleştirin",
+ "Feature:MediaEnableDescription": "Uygulamınızdaki medyayı etkinleştirir.",
+ "Feature:MenuEnable": "Menüyü etkinleştirin",
+ "Feature:MenuEnableDescription": "Uygulamınızdaki menüyü etkinleştirir.",
+ "Feature:PageEnable": "Sayfa özelliğini etkinleştirin",
+ "Feature:PageEnableDescription": "Uygulamınızdaki sayfa özelliğini etkinleştirir.",
+ "Feature:RatingEnable": "Oylamayı etkinleştirin",
+ "Feature:RatingEnableDescription": "Uygulamınızdaki oylamayı etkinleştirir.",
+ "Feature:ReactionEnable": "Reaksiyonları etkinleştirin",
+ "Feature:ReactionEnableDescription": "Uygulamınızdaki reaksiyonları etkinleştirir.",
+ "Feature:TagEnable": "Etkiketleri etkinleştirin",
+ "Feature:TagEnableDescription": "Uygulamınızdaki etiketleri etkinleştirir."
}
}
diff --git a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/vi.json b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/vi.json
index b0ed51a5d6..a581da6362 100644
--- a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/vi.json
+++ b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/vi.json
@@ -75,7 +75,7 @@
"PageDeletionConfirmationMessage": "Bạn có chắc chắn xóa trang này không?",
"PageId": "Trang",
"Pages": "Các trang",
- "PageSlugInformation": "Slug được sử dụng trên url. Url của bạn sẽ là '/pages/{{slug}}'.",
+ "PageSlugInformation": "Slug được sử dụng trên url. Url của bạn sẽ là '/{{slug}}'.",
"Permission:BlogManagement": "Quản lý blog",
"Permission:BlogManagement.Create": "Tạo ra",
"Permission:BlogManagement.Delete": "Xóa bỏ",
diff --git a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/zh-Hans.json b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/zh-Hans.json
index b312349ef4..bba6fff938 100644
--- a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/zh-Hans.json
+++ b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/zh-Hans.json
@@ -75,7 +75,7 @@
"PageDeletionConfirmationMessage": "你确定删除这个页面吗?",
"PageId": "页",
"Pages": "页面",
- "PageSlugInformation": "Slug用于url. 你的url将是 '/pages/{{slug}}'.",
+ "PageSlugInformation": "Slug用于url. 你的url将是 '/{{slug}}'.",
"Permission:BlogManagement": "博客管理",
"Permission:BlogManagement.Create": "创建",
"Permission:BlogManagement.Delete": "删除",
diff --git a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/zh-Hant.json b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/zh-Hant.json
index 49584e5af0..91a742deba 100644
--- a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/zh-Hant.json
+++ b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/zh-Hant.json
@@ -75,7 +75,7 @@
"PageDeletionConfirmationMessage": "你確定刪除這個頁面嗎?",
"PageId": "頁",
"Pages": "頁面",
- "PageSlugInformation": "Slug用於網址. 你的網址將是 '/pages/{{slug}}'.",
+ "PageSlugInformation": "Slug用於網址. 你的網址將是 '/{{slug}}'.",
"Permission:BlogManagement": "部落格管理",
"Permission:BlogManagement.Create": "創建",
"Permission:BlogManagement.Delete": "刪除",
diff --git a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Pages/PageConsts.cs b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Pages/PageConsts.cs
index 9f03dc809f..ff07df87a1 100644
--- a/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Pages/PageConsts.cs
+++ b/modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Pages/PageConsts.cs
@@ -2,7 +2,7 @@
namespace Volo.CmsKit.Pages;
-public class PageConsts
+public static class PageConsts
{
public const string EntityType = "Page";
@@ -16,7 +16,7 @@ public class PageConsts
public static int MaxStyleLength { get; set; } = int.MaxValue;
- private static string _urlPrefix = "/pages/";
+ private static string _urlPrefix = "/";
public static string UrlPrefix {
get => _urlPrefix;
set => _urlPrefix = value.EnsureEndsWith('/').EnsureStartsWith('/');
diff --git a/modules/cms-kit/src/Volo.CmsKit.Domain/Volo/CmsKit/CmsKitDbProperties.cs b/modules/cms-kit/src/Volo.CmsKit.Domain/Volo/CmsKit/AbpCmsKitDbProperties.cs
similarity index 83%
rename from modules/cms-kit/src/Volo.CmsKit.Domain/Volo/CmsKit/CmsKitDbProperties.cs
rename to modules/cms-kit/src/Volo.CmsKit.Domain/Volo/CmsKit/AbpCmsKitDbProperties.cs
index 6a29834233..1ce1fd8413 100644
--- a/modules/cms-kit/src/Volo.CmsKit.Domain/Volo/CmsKit/CmsKitDbProperties.cs
+++ b/modules/cms-kit/src/Volo.CmsKit.Domain/Volo/CmsKit/AbpCmsKitDbProperties.cs
@@ -1,6 +1,6 @@
namespace Volo.CmsKit;
-public static class CmsKitDbProperties
+public static class AbpCmsKitDbProperties
{
public static string DbTablePrefix { get; set; } = "Cms";
diff --git a/modules/cms-kit/src/Volo.CmsKit.Domain/Volo/CmsKit/Tags/EntityTagManager.cs b/modules/cms-kit/src/Volo.CmsKit.Domain/Volo/CmsKit/Tags/EntityTagManager.cs
index 2707b8854c..98a401af17 100644
--- a/modules/cms-kit/src/Volo.CmsKit.Domain/Volo/CmsKit/Tags/EntityTagManager.cs
+++ b/modules/cms-kit/src/Volo.CmsKit.Domain/Volo/CmsKit/Tags/EntityTagManager.cs
@@ -1,9 +1,9 @@
-using JetBrains.Annotations;
-using System;
+using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
+using JetBrains.Annotations;
using Volo.Abp.Domain.Services;
namespace Volo.CmsKit.Tags;
@@ -62,7 +62,7 @@ public class EntityTagManager : DomainService
var deletedTags = existingTags.Where(x => !tags.Contains(x.Name)).ToList();
var addedTags = tags.Where(x => !existingTags.Any(a => a.Name == x));
- await EntityTagRepository.DeleteManyAsync(deletedTags.Select(s => s.Id).ToArray());
+ await EntityTagRepository.DeleteManyAsync(deletedTags.Select(s => s.Id).ToArray(), entityId);
foreach (var addedTag in addedTags)
{
@@ -85,6 +85,6 @@ public class EntityTagManager : DomainService
[CanBeNull] Guid? tenantId,
CancellationToken cancellationToken = default)
{
- return await EntityTagRepository.GetEntityIdsFilteredByTagNameAsync(tagName, entityType,tenantId, cancellationToken);
+ return await EntityTagRepository.GetEntityIdsFilteredByTagNameAsync(tagName, entityType, tenantId, cancellationToken);
}
}
\ No newline at end of file
diff --git a/modules/cms-kit/src/Volo.CmsKit.Domain/Volo/CmsKit/Tags/IEntityTagRepository.cs b/modules/cms-kit/src/Volo.CmsKit.Domain/Volo/CmsKit/Tags/IEntityTagRepository.cs
index 5105635c82..098ac8e46c 100644
--- a/modules/cms-kit/src/Volo.CmsKit.Domain/Volo/CmsKit/Tags/IEntityTagRepository.cs
+++ b/modules/cms-kit/src/Volo.CmsKit.Domain/Volo/CmsKit/Tags/IEntityTagRepository.cs
@@ -1,8 +1,8 @@
-using JetBrains.Annotations;
-using System;
+using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
+using JetBrains.Annotations;
using Volo.Abp.Domain.Repositories;
namespace Volo.CmsKit.Tags;
@@ -15,7 +15,7 @@ public interface IEntityTagRepository : IBasicRepository
[CanBeNull] Guid? tenantId,
CancellationToken cancellationToken = default);
- Task DeleteManyAsync(Guid[] tagIds, CancellationToken cancellationToken = default);
+ Task DeleteManyAsync(Guid[] tagIds, string entityId, CancellationToken cancellationToken = default);
Task> GetEntityIdsFilteredByTagAsync(
[NotNull] Guid tagId,
@@ -25,6 +25,6 @@ public interface IEntityTagRepository : IBasicRepository
Task> GetEntityIdsFilteredByTagNameAsync(
[NotNull] string tagName,
[NotNull] string entityType,
- [CanBeNull] Guid? tenantId=null,
- CancellationToken cancellationToken=default);
+ [CanBeNull] Guid? tenantId = null,
+ CancellationToken cancellationToken = default);
}
diff --git a/modules/cms-kit/src/Volo.CmsKit.EntityFrameworkCore/Volo/CmsKit/EntityFrameworkCore/CmsKitDbContext.cs b/modules/cms-kit/src/Volo.CmsKit.EntityFrameworkCore/Volo/CmsKit/EntityFrameworkCore/CmsKitDbContext.cs
index 8f501f4c98..265495f5bf 100644
--- a/modules/cms-kit/src/Volo.CmsKit.EntityFrameworkCore/Volo/CmsKit/EntityFrameworkCore/CmsKitDbContext.cs
+++ b/modules/cms-kit/src/Volo.CmsKit.EntityFrameworkCore/Volo/CmsKit/EntityFrameworkCore/CmsKitDbContext.cs
@@ -14,7 +14,7 @@ using Volo.CmsKit.Users;
namespace Volo.CmsKit.EntityFrameworkCore;
-[ConnectionStringName(CmsKitDbProperties.ConnectionStringName)]
+[ConnectionStringName(AbpCmsKitDbProperties.ConnectionStringName)]
public class CmsKitDbContext : AbpDbContext, ICmsKitDbContext
{
public DbSet Comments { get; set; }
diff --git a/modules/cms-kit/src/Volo.CmsKit.EntityFrameworkCore/Volo/CmsKit/EntityFrameworkCore/CmsKitDbContextModelCreatingExtensions.cs b/modules/cms-kit/src/Volo.CmsKit.EntityFrameworkCore/Volo/CmsKit/EntityFrameworkCore/CmsKitDbContextModelCreatingExtensions.cs
index 9ab103fefc..9a42f6c4b0 100644
--- a/modules/cms-kit/src/Volo.CmsKit.EntityFrameworkCore/Volo/CmsKit/EntityFrameworkCore/CmsKitDbContextModelCreatingExtensions.cs
+++ b/modules/cms-kit/src/Volo.CmsKit.EntityFrameworkCore/Volo/CmsKit/EntityFrameworkCore/CmsKitDbContextModelCreatingExtensions.cs
@@ -28,7 +28,7 @@ public static class CmsKitDbContextModelCreatingExtensions
{
builder.Entity(b =>
{
- b.ToTable(CmsKitDbProperties.DbTablePrefix + "Users", CmsKitDbProperties.DbSchema);
+ b.ToTable(AbpCmsKitDbProperties.DbTablePrefix + "Users", AbpCmsKitDbProperties.DbSchema);
b.ConfigureByConvention();
b.ConfigureAbpUser();
@@ -48,7 +48,7 @@ public static class CmsKitDbContextModelCreatingExtensions
{
builder.Entity(b =>
{
- b.ToTable(CmsKitDbProperties.DbTablePrefix + "UserReactions", CmsKitDbProperties.DbSchema);
+ b.ToTable(AbpCmsKitDbProperties.DbTablePrefix + "UserReactions", AbpCmsKitDbProperties.DbSchema);
b.ConfigureByConvention();
@@ -71,7 +71,7 @@ public static class CmsKitDbContextModelCreatingExtensions
{
builder.Entity(b =>
{
- b.ToTable(CmsKitDbProperties.DbTablePrefix + "Comments", CmsKitDbProperties.DbSchema);
+ b.ToTable(AbpCmsKitDbProperties.DbTablePrefix + "Comments", AbpCmsKitDbProperties.DbSchema);
b.ConfigureByConvention();
@@ -95,7 +95,7 @@ public static class CmsKitDbContextModelCreatingExtensions
{
builder.Entity(r =>
{
- r.ToTable(CmsKitDbProperties.DbTablePrefix + "Ratings", CmsKitDbProperties.DbSchema);
+ r.ToTable(AbpCmsKitDbProperties.DbTablePrefix + "Ratings", AbpCmsKitDbProperties.DbSchema);
r.ConfigureByConvention();
@@ -117,7 +117,7 @@ public static class CmsKitDbContextModelCreatingExtensions
{
builder.Entity(b =>
{
- b.ToTable(CmsKitDbProperties.DbTablePrefix + "Tags", CmsKitDbProperties.DbSchema);
+ b.ToTable(AbpCmsKitDbProperties.DbTablePrefix + "Tags", AbpCmsKitDbProperties.DbSchema);
b.ConfigureByConvention();
@@ -134,7 +134,7 @@ public static class CmsKitDbContextModelCreatingExtensions
builder.Entity(b =>
{
- b.ToTable(CmsKitDbProperties.DbTablePrefix + "EntityTags", CmsKitDbProperties.DbSchema);
+ b.ToTable(AbpCmsKitDbProperties.DbTablePrefix + "EntityTags", AbpCmsKitDbProperties.DbSchema);
b.ConfigureByConvention();
@@ -158,7 +158,7 @@ public static class CmsKitDbContextModelCreatingExtensions
{
builder.Entity(b =>
{
- b.ToTable(CmsKitDbProperties.DbTablePrefix + "Pages", CmsKitDbProperties.DbSchema);
+ b.ToTable(AbpCmsKitDbProperties.DbTablePrefix + "Pages", AbpCmsKitDbProperties.DbSchema);
b.ConfigureByConvention();
@@ -180,7 +180,7 @@ public static class CmsKitDbContextModelCreatingExtensions
{
builder.Entity(b =>
{
- b.ToTable(CmsKitDbProperties.DbTablePrefix + "Blogs", CmsKitDbProperties.DbSchema);
+ b.ToTable(AbpCmsKitDbProperties.DbTablePrefix + "Blogs", AbpCmsKitDbProperties.DbSchema);
b.ConfigureByConvention();
@@ -193,7 +193,7 @@ public static class CmsKitDbContextModelCreatingExtensions
builder.Entity(b =>
{
- b.ToTable(CmsKitDbProperties.DbTablePrefix + "BlogPosts", CmsKitDbProperties.DbSchema);
+ b.ToTable(AbpCmsKitDbProperties.DbTablePrefix + "BlogPosts", AbpCmsKitDbProperties.DbSchema);
b.ConfigureByConvention();
@@ -210,7 +210,7 @@ public static class CmsKitDbContextModelCreatingExtensions
builder.Entity(b =>
{
- b.ToTable(CmsKitDbProperties.DbTablePrefix + "BlogFeatures", CmsKitDbProperties.DbSchema);
+ b.ToTable(AbpCmsKitDbProperties.DbTablePrefix + "BlogFeatures", AbpCmsKitDbProperties.DbSchema);
b.ConfigureByConvention();
@@ -230,7 +230,7 @@ public static class CmsKitDbContextModelCreatingExtensions
{
builder.Entity(b =>
{
- b.ToTable(CmsKitDbProperties.DbTablePrefix + "MediaDescriptors", CmsKitDbProperties.DbSchema);
+ b.ToTable(AbpCmsKitDbProperties.DbTablePrefix + "MediaDescriptors", AbpCmsKitDbProperties.DbSchema);
b.ConfigureByConvention();
@@ -251,7 +251,7 @@ public static class CmsKitDbContextModelCreatingExtensions
{
builder.Entity