Browse Source

Localize the error

pull/17903/head
Enis Necipoglu 2 years ago
parent
commit
e78e5abe2b
No known key found for this signature in database GPG Key ID: 1EC55E13241E1680
  1. 8
      modules/cms-kit/src/Volo.CmsKit.Common.Web/Pages/CmsKit/Components/Contents/ContentFragment.cshtml
  2. 3
      modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/ar.json
  3. 3
      modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/cs.json
  4. 3
      modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/de-DE.json
  5. 3
      modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/el.json
  6. 3
      modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/en.json
  7. 3
      modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/es.json
  8. 3
      modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/fa.json
  9. 3
      modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/fi.json
  10. 3
      modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/fr.json
  11. 3
      modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/hi.json
  12. 3
      modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/hu.json
  13. 3
      modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/is.json
  14. 3
      modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/it.json
  15. 3
      modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/nl.json
  16. 3
      modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/pl-PL.json
  17. 3
      modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/pt-BR.json
  18. 3
      modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/ro-RO.json
  19. 3
      modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/ru.json
  20. 3
      modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/sk.json
  21. 3
      modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/sl.json
  22. 3
      modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/tr.json
  23. 3
      modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/vi.json
  24. 3
      modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/zh-Hans.json
  25. 3
      modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/zh-Hant.json

8
modules/cms-kit/src/Volo.CmsKit.Common.Web/Pages/CmsKit/Components/Contents/ContentFragment.cshtml

@ -1,8 +1,10 @@
@using Microsoft.AspNetCore.Mvc.ViewComponents @using Microsoft.AspNetCore.Mvc.ViewComponents
@using Microsoft.Extensions.Localization
@using Microsoft.Extensions.Logging @using Microsoft.Extensions.Logging
@using Volo.Abp.Data @using Volo.Abp.Data
@using Volo.Abp.Reflection @using Volo.Abp.Reflection
@using Volo.CmsKit.Contents @using Volo.CmsKit.Contents
@using Volo.CmsKit.Localization
@using Volo.CmsKit.Web.Renderers; @using Volo.CmsKit.Web.Renderers;
@using Volo.CmsKit.Web.Pages.CmsKit.Components.Contents; @using Volo.CmsKit.Web.Pages.CmsKit.Components.Contents;
@ -11,6 +13,7 @@
@inject IMarkdownToHtmlRenderer MarkdownRenderer @inject IMarkdownToHtmlRenderer MarkdownRenderer
@inject IViewComponentSelector ViewComponentSelector @inject IViewComponentSelector ViewComponentSelector
@inject ILogger<ContentFragmentViewComponent> Logger @inject ILogger<ContentFragmentViewComponent> Logger
@inject IStringLocalizer<CmsKitResource> L
@foreach (var contentFragment in Model.ContentDto.ContentFragments) @foreach (var contentFragment in Model.ContentDto.ContentFragments)
{ {
@ -43,9 +46,8 @@
} }
catch (Exception ex) catch (Exception ex)
{ {
<div class="alert alert-danger alert-dismissible fade show" role="alert"> <div class="alert alert-danger" role="alert">
@L["ThisPartOfContentCouldntBeLoaded"]
This part of content couldn't be loaded.
</div> </div>
Logger.LogWarning(ex, $"Couldn't load the widget: {componentName}"); Logger.LogWarning(ex, $"Couldn't load the widget: {componentName}");

3
modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/ar.json

@ -159,6 +159,7 @@
"YourEmailAddress": "عنوان بريدك الإلكتروني", "YourEmailAddress": "عنوان بريدك الإلكتروني",
"YourFullName": "اسمك الكامل", "YourFullName": "اسمك الكامل",
"YourMessage": "رسالتك", "YourMessage": "رسالتك",
"YourReply": "ردك" "YourReply": "ردك",
"ThisPartOfContentCouldntBeLoaded": "لا يمكن تحميل هذا الجزء من المحتوى.",
} }
} }

3
modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/cs.json

@ -159,6 +159,7 @@
"YourEmailAddress": "Vaše emailová adresa", "YourEmailAddress": "Vaše emailová adresa",
"YourFullName": "Vaše celé jméno", "YourFullName": "Vaše celé jméno",
"YourMessage": "Vaše zpráva", "YourMessage": "Vaše zpráva",
"YourReply": "Vaše odpověď" "YourReply": "Vaše odpověď",
"ThisPartOfContentCouldntBeLoaded": "Tato část obsahu nemohla být načtena."
} }
} }

3
modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/de-DE.json

@ -159,6 +159,7 @@
"YourEmailAddress": "Ihre E-Mail-Adresse", "YourEmailAddress": "Ihre E-Mail-Adresse",
"YourFullName": "Ihren vollständigen Namen", "YourFullName": "Ihren vollständigen Namen",
"YourMessage": "Ihre Nachricht", "YourMessage": "Ihre Nachricht",
"YourReply": "Ihre Antwort" "YourReply": "Ihre Antwort",
"ThisPartOfContentCouldntBeLoaded": "Dieser Teil des Inhalts konnte nicht geladen werden."
} }
} }

3
modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/el.json

@ -182,6 +182,7 @@
"HasBlogPostWaitingForReviewMessage": "Έχετε μια ανάρτηση ιστολογίου σε αναμονή για έλεγχο. Κάντε κλικ για λίστα.", "HasBlogPostWaitingForReviewMessage": "Έχετε μια ανάρτηση ιστολογίου σε αναμονή για έλεγχο. Κάντε κλικ για λίστα.",
"SelectAStatus": "Επιλέξτε μια κατάσταση", "SelectAStatus": "Επιλέξτε μια κατάσταση",
"Status": "Κατάσταση", "Status": "Κατάσταση",
"CmsKit.BlogPost.ScrollIndex": "Γραμμή γρήγορης πλοήγησης σε αναρτήσεις ιστολογίου" "CmsKit.BlogPost.ScrollIndex": "Γραμμή γρήγορης πλοήγησης σε αναρτήσεις ιστολογίου",
"ThisPartOfContentCouldntBeLoaded": "Αυτό το τμήμα του περιεχομένου δεν μπορούσε να φορτωθεί."
} }
} }

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

@ -224,6 +224,7 @@
"RemoveCoverImageConfirmationMessage": "Are you sure you want to remove the cover image?", "RemoveCoverImageConfirmationMessage": "Are you sure you want to remove the cover image?",
"RemoveCoverImage": "Remove cover image", "RemoveCoverImage": "Remove cover image",
"CssClass": "CSS Class", "CssClass": "CSS Class",
"TagsHelpText": "Tags should be comma-separated (e.g.: tag1, tag2, tag3)" "TagsHelpText": "Tags should be comma-separated (e.g.: tag1, tag2, tag3)",
"ThisPartOfContentCouldntBeLoaded": "This part of content couldn't be loaded."
} }
} }

3
modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/es.json

@ -159,6 +159,7 @@
"YourEmailAddress": "Tu correo electrónico", "YourEmailAddress": "Tu correo electrónico",
"YourFullName": "Tu nombre completo", "YourFullName": "Tu nombre completo",
"YourMessage": "Tu mensaje", "YourMessage": "Tu mensaje",
"YourReply": "Tu respuesta" "YourReply": "Tu respuesta",
"ThisPartOfContentCouldntBeLoaded": "Esta parte del contenido no se pudo cargar."
} }
} }

3
modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/fa.json

@ -182,6 +182,7 @@
"SelectAStatus": "انتخاب وضعیت", "SelectAStatus": "انتخاب وضعیت",
"Status": "وضعیت", "Status": "وضعیت",
"CmsKit.BlogPost.ScrollIndex": "نوار پیمایش سریع در پست های وبلاگ", "CmsKit.BlogPost.ScrollIndex": "نوار پیمایش سریع در پست های وبلاگ",
"CmsKit.BlogPost.PreventXssFeature": "جلوگیری از XSS" "CmsKit.BlogPost.PreventXssFeature": "جلوگیری از XSS",
"ThisPartOfContentCouldntBeLoaded": "این قسمت از محتوا قابل بارگیری نیست."
} }
} }

3
modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/fi.json

@ -217,6 +217,7 @@
"CaptchaCode": "Captcha-koodi", "CaptchaCode": "Captcha-koodi",
"CommentTextRequired": "Kommentti vaaditaan", "CommentTextRequired": "Kommentti vaaditaan",
"CaptchaCodeErrorMessage": "CAPTCHA:lle antamasi vastaus ei ollut oikea. Yritä uudelleen", "CaptchaCodeErrorMessage": "CAPTCHA:lle antamasi vastaus ei ollut oikea. Yritä uudelleen",
"CaptchaCodeMissingMessage": "Captcha-koodi puuttuu!" "CaptchaCodeMissingMessage": "Captcha-koodi puuttuu!",
"ThisPartOfContentCouldntBeLoaded": "Tämä sisällön osa ei voitu ladata."
} }
} }

3
modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/fr.json

@ -159,6 +159,7 @@
"YourEmailAddress": "Votre adresse email", "YourEmailAddress": "Votre adresse email",
"YourFullName": "Ton nom complet", "YourFullName": "Ton nom complet",
"YourMessage": "Votre message", "YourMessage": "Votre message",
"YourReply": "Votre réponse" "YourReply": "Votre réponse",
"ThisPartOfContentCouldntBeLoaded": "Cette partie du contenu n'a pas pu être chargée."
} }
} }

3
modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/hi.json

@ -159,6 +159,7 @@
"YourEmailAddress": "आपका ईमेल पता", "YourEmailAddress": "आपका ईमेल पता",
"YourFullName": "आपका पूरा नाम", "YourFullName": "आपका पूरा नाम",
"YourMessage": "आपका संदेश", "YourMessage": "आपका संदेश",
"YourReply": "आपके उत्तर" "YourReply": "आपके उत्तर",
"ThisPartOfContentCouldntBeLoaded": "यह भाग लोड नहीं किया जा सका।"
} }
} }

3
modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/hu.json

@ -205,6 +205,7 @@
"Feature:ReactionEnable": "Engedélyezett reakció", "Feature:ReactionEnable": "Engedélyezett reakció",
"Feature:ReactionEnableDescription": "Reakció engedélyezése az alkalmazásban.", "Feature:ReactionEnableDescription": "Reakció engedélyezése az alkalmazásban.",
"Feature:TagEnable": "Címkézés engedélyezve", "Feature:TagEnable": "Címkézés engedélyezve",
"Feature:TagEnableDescription": "Engedélyezze a címkézést az alkalmazásban." "Feature:TagEnableDescription": "Engedélyezze a címkézést az alkalmazásban.",
"ThisPartOfContentCouldntBeLoaded": "A tartalom ezen része nem tölthető be."
} }
} }

3
modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/is.json

@ -159,6 +159,7 @@
"YourEmailAddress": "Netfangið þitt", "YourEmailAddress": "Netfangið þitt",
"YourFullName": "Fullt nafn", "YourFullName": "Fullt nafn",
"YourMessage": "Skilaboð þín", "YourMessage": "Skilaboð þín",
"YourReply": "Svarið þitt" "YourReply": "Svarið þitt",
"ThisPartOfContentCouldntBeLoaded": "Þessi hluti af efni gat ekki verið hlaðið inn."
} }
} }

3
modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/it.json

@ -159,6 +159,7 @@
"YourEmailAddress": "Il tuo indirizzo di posta elettronica", "YourEmailAddress": "Il tuo indirizzo di posta elettronica",
"YourFullName": "Il tuo nome completo", "YourFullName": "Il tuo nome completo",
"YourMessage": "Il tuo messaggio", "YourMessage": "Il tuo messaggio",
"YourReply": "La tua risposta" "YourReply": "La tua risposta",
"ThisPartOfContentCouldntBeLoaded": "Questa parte del contenuto non può essere caricata."
} }
} }

3
modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/nl.json

@ -159,6 +159,7 @@
"YourEmailAddress": "Uw e-mailadres", "YourEmailAddress": "Uw e-mailadres",
"YourFullName": "Uw volledige naam", "YourFullName": "Uw volledige naam",
"YourMessage": "Uw bericht", "YourMessage": "Uw bericht",
"YourReply": "Uw antwoord" "YourReply": "Uw antwoord",
"ThisPartOfContentCouldntBeLoaded": "Dit deel van de inhoud kon niet worden geladen."
} }
} }

3
modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/pl-PL.json

@ -159,6 +159,7 @@
"YourEmailAddress": "Twój adres email", "YourEmailAddress": "Twój adres email",
"YourFullName": "Twoje pełne imię", "YourFullName": "Twoje pełne imię",
"YourMessage": "Twoja wiadomość", "YourMessage": "Twoja wiadomość",
"YourReply": "Pańska odpowiedź" "YourReply": "Pańska odpowiedź",
"ThisPartOfContentCouldntBeLoaded": "Ta część zawartości nie mogła zostać załadowana."
} }
} }

3
modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/pt-BR.json

@ -205,6 +205,7 @@
"Feature:ReactionEnable": "Reações habilitadas", "Feature:ReactionEnable": "Reações habilitadas",
"Feature:ReactionEnableDescription": "Reações habilitadas no aplicativo.", "Feature:ReactionEnableDescription": "Reações habilitadas no aplicativo.",
"Feature:TagEnable": "Habilitar tag", "Feature:TagEnable": "Habilitar tag",
"Feature:TagEnableDescription": "Habilitar tag no aplicativo." "Feature:TagEnableDescription": "Habilitar tag no aplicativo.",
"ThisPartOfContentCouldntBeLoaded": "Esta parte do conteúdo não pôde ser carregada."
} }
} }

3
modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/ro-RO.json

@ -159,6 +159,7 @@
"YourEmailAddress": "Adresa dumneavoastră de e-mail", "YourEmailAddress": "Adresa dumneavoastră de e-mail",
"YourFullName": "Numele dumneavoastră complet", "YourFullName": "Numele dumneavoastră complet",
"YourMessage": "Mesajul dumneavoastră", "YourMessage": "Mesajul dumneavoastră",
"YourReply": "Replica dumneavoastră" "YourReply": "Replica dumneavoastră",
"ThisPartOfContentCouldntBeLoaded": "Această parte a conţinutului nu a putut fi încărcată."
} }
} }

3
modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/ru.json

@ -159,6 +159,7 @@
"YourEmailAddress": "Ваш адрес электронной почты", "YourEmailAddress": "Ваш адрес электронной почты",
"YourFullName": "Ваше полное имя", "YourFullName": "Ваше полное имя",
"YourMessage": "Твое сообщение", "YourMessage": "Твое сообщение",
"YourReply": "Ваш ответ" "YourReply": "Ваш ответ",
"ThisPartOfContentCouldntBeLoaded": "Эта часть содержимого не может быть загружена."
} }
} }

3
modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/sk.json

@ -159,6 +159,7 @@
"YourEmailAddress": "Vaša emailová adresa", "YourEmailAddress": "Vaša emailová adresa",
"YourFullName": "Vaše celé meno", "YourFullName": "Vaše celé meno",
"YourMessage": "Vaša správa", "YourMessage": "Vaša správa",
"YourReply": "Vaša odpoveď" "YourReply": "Vaša odpoveď",
"ThisPartOfContentCouldntBeLoaded": "Táto časť obsahu sa nedá načítať."
} }
} }

3
modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/sl.json

@ -159,6 +159,7 @@
"YourEmailAddress": "Vaš email naslov", "YourEmailAddress": "Vaš email naslov",
"YourFullName": "Tvoje polno ime", "YourFullName": "Tvoje polno ime",
"YourMessage": "Tvoje sporočilo", "YourMessage": "Tvoje sporočilo",
"YourReply": "Vaš odgovor" "YourReply": "Vaš odgovor",
"ThisPartOfContentCouldntBeLoaded": "Ta del vsebine ni bil naložen."
} }
} }

3
modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/tr.json

@ -216,6 +216,7 @@
"DeleteBlogPostMessage": "Blog silinecek. Emin misiniz?", "DeleteBlogPostMessage": "Blog silinecek. Emin misiniz?",
"CaptchaCode": "Captcha kodu", "CaptchaCode": "Captcha kodu",
"CommentTextRequired": "Yorum zorunlu", "CommentTextRequired": "Yorum zorunlu",
"PopularTags": "Popüler Etiketler" "PopularTags": "Popüler Etiketler",
"ThisPartOfContentCouldntBeLoaded": "Bu içerik yüklenemedi"
} }
} }

3
modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/vi.json

@ -159,6 +159,7 @@
"YourEmailAddress": "Địa chỉ email của bạn", "YourEmailAddress": "Địa chỉ email của bạn",
"YourFullName": "Tên đầy đủ của bạn", "YourFullName": "Tên đầy đủ của bạn",
"YourMessage": "Tin nhắn của bạn", "YourMessage": "Tin nhắn của bạn",
"YourReply": "Câu trả lời của bạn" "YourReply": "Câu trả lời của bạn",
"ThisPartOfContentCouldntBeLoaded": "Phần này của nội dung không thể được tải."
} }
} }

3
modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/zh-Hans.json

@ -217,6 +217,7 @@
"CaptchaCode": "验证码", "CaptchaCode": "验证码",
"CommentTextRequired": "请输入评论", "CommentTextRequired": "请输入评论",
"CaptchaCodeErrorMessage": "验证码错误,请重试", "CaptchaCodeErrorMessage": "验证码错误,请重试",
"CaptchaCodeMissingMessage": "请输入验证码!" "CaptchaCodeMissingMessage": "请输入验证码!",
"ThisPartOfContentCouldntBeLoaded": "无法加载此部分内容"
} }
} }

3
modules/cms-kit/src/Volo.CmsKit.Domain.Shared/Volo/CmsKit/Localization/Resources/zh-Hant.json

@ -160,6 +160,7 @@
"YourFullName": "你的全名", "YourFullName": "你的全名",
"YourMessage": "你的消息", "YourMessage": "你的消息",
"YourReply": "你的回覆", "YourReply": "你的回覆",
"MarkdownSupported": "支援 <a href=\"https://www.markdownguide.org/basic-syntax/\">Markdown</a> ." "MarkdownSupported": "支援 <a href=\"https://www.markdownguide.org/basic-syntax/\">Markdown</a> .",
"ThisPartOfContentCouldntBeLoaded": "這部分內容無法加載"
} }
} }

Loading…
Cancel
Save