Browse Source

CMS: Add missing localizations for tag & blog features

pull/17589/head
Engincan VESKE 3 years ago
parent
commit
5bdf3002cc
  1. 1
      modules/cms-kit/src/Volo.CmsKit.Admin.Web/Pages/CmsKit/Tags/Components/TagEditor/Default.cshtml
  2. 8
      modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/en.json

1
modules/cms-kit/src/Volo.CmsKit.Admin.Web/Pages/CmsKit/Tags/Components/TagEditor/Default.cshtml

@ -11,6 +11,7 @@
<div class="mb-3">
<label class="form-label">@L["Tags"]</label>
<input name="tags" value="@string.Join(',', Model.Tags.Select(s => s.Name))" class="form-control"/>
<div class="form-text">@L["TagsHelpText"]</div>
</div>
@if (Model.DisplaySubmitButton)

8
modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/en.json

@ -215,10 +215,14 @@
"DeleteBlogPostMessage": "The blog will be deleted. Are you sure?",
"CaptchaCode": "Captcha code",
"CommentTextRequired": "Comment is required",
"CaptchaCodeErrorMessage" : "The answer you entered for the CAPTCHA was not correct. Please try again",
"CaptchaCodeErrorMessage": "The answer you entered for the CAPTCHA was not correct. Please try again",
"CaptchaCodeMissingMessage": "The captcha code is missing!",
"UnAllowedExternalUrlMessage": "You included an unallowed external URL. Please try again without the external URL.",
"URL": "URL",
"PopularTags": "Popular Tags"
"PopularTags": "Popular Tags",
"RemoveCoverImageConfirmationMessage": "Are you sure you want to remove the cover image?",
"RemoveCoverImage": "Remove cover image",
"CssClass": "CSS Class",
"TagsHelpText": "Tags should be comma-separated (e.g.: tag1, tag2, tag3)"
}
}
Loading…
Cancel
Save