Browse Source

Localize warning about missing document

pull/1264/head
Xeevis 7 years ago
parent
commit
bc07b824de
  1. 3
      modules/docs/src/Volo.Docs.Domain/Volo/Docs/Localization/Domain/cs.json
  2. 3
      modules/docs/src/Volo.Docs.Domain/Volo/Docs/Localization/Domain/en.json
  3. 4
      modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/Index.cshtml

3
modules/docs/src/Volo.Docs.Domain/Volo/Docs/Localization/Domain/cs.json

@ -13,6 +13,7 @@
"Projects": "Projekt(y)",
"NoProjectWarning": "Zatím zde není žádný projekt!",
"DocumentNotFound": "Ups, vyžádaný dokument neexistuje!",
"NavigationDocumentNotFound": "Tato verze nemá navigační dokument!"
"NavigationDocumentNotFound": "Tato verze nemá navigační dokument!",
"DocumentNotFoundInSelectedLanguage": "Tento dokument není dostupný ve vybraném jazyce. Zobrazen dokument ve výchozím jazyce."
}
}

3
modules/docs/src/Volo.Docs.Domain/Volo/Docs/Localization/Domain/en.json

@ -13,6 +13,7 @@
"Projects": "Project(s)",
"NoProjectWarning": "There are no projects yet!",
"DocumentNotFound": "Oops, the requested document was not found!",
"NavigationDocumentNotFound": "This version does not have a navigation document!"
"NavigationDocumentNotFound": "This version does not have a navigation document!",
"DocumentNotFoundInSelectedLanguage": "Document in the language you wanted is not found. Document in the default language is shown."
}
}

4
modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/Index.cshtml

@ -192,8 +192,8 @@
<article class="docs-body">
@if (Model.DocumentLanguageIsDifferent)
{
<abp-alert alert-type="Warning" dismissible="true" class="mb-0">
Document in the language you wanted is not found. Document in the default language is shown.
<abp-alert alert-type="Warning" dismissible="true" class="mb-0">
@L["DocumentNotFoundInSelectedLanguage"]
</abp-alert>
}
@Html.Raw(Model.Document.Content)

Loading…
Cancel
Save