Localisation

This commit is contained in:
Paul Schneider 2019-06-23 00:05:23 +01:00
commit 0eff78d00b
158 changed files with 485 additions and 451 deletions

View file

@ -1,10 +1,10 @@
@model BlogPost
@{
ViewData["Title"] = "Create";
ViewData["Title"] = @SR["Create"];
}
<h2>Create</h2>
<h2>@SR["Create"]</h2>
<form asp-action="Create" role="form" method="POST">
<div class="form-horizontal">
@ -49,7 +49,7 @@
</form>
<div>
<a asp-action="Index">Back to List</a>
<a asp-action="Index">@SR["Back to List"]</a>
</div>

View file

@ -1,12 +1,12 @@
@model BlogPost
@{
ViewData["Title"] = "Delete";
ViewData["Title"] = @SR["Delete"];
}
@section Scripts {
@{ await Html.RenderPartialAsync("_ValidationScriptsPartial"); }
}
<h3>Are you sure you want to delete this?</h3>
<h3>@SR["AreYourSureYouWantToDeleteThis"]</h3>
<div>
<h4>Blog</h4>
<hr />
@ -64,7 +64,7 @@
<form asp-action="Delete">
<div class="form-actions no-color">
<input type="submit" value="Delete" class="btn btn-default" /> |
<a asp-action="Index">Back to List</a>
<a asp-action="Index">@SR["Back to List"]</a>
</div>
</form>
</div>

View file

@ -239,6 +239,6 @@
</form>
</div>
<div>
<a asp-action="Index">Back to List</a>
<a asp-action="Index">@SR["Back to List"]</a>
</div>

View file

@ -3,10 +3,10 @@
ViewData["Title"] = "User posts";
}
<h2>Index</h2>
<h2>@SR["Index"]</h2>
<p class="text-success">@ViewData["StatusMessage"]</p>
<p>
<a asp-action="Create">Create New</a>
<a asp-action="Create">@SR["Create New"]</a>
</p>
<table class="table">
<tr>