Localisation

This commit is contained in:
2019-06-23 00:05:23 +01:00
parent afabc9a9e0
commit a63fb5c835
158 changed files with 485 additions and 451 deletions

View File

@ -1,10 +1,10 @@
@model CoWorking
@{
ViewData["Title"] = "Create";
ViewData["Title"] = @SR["Create"];
}
<h2>Create</h2>
<h2>@SR["Create"]</h2>
<form asp-action="Create">
<div class="form-horizontal">
@ -32,7 +32,7 @@
</form>
<div>
<a asp-action="Index">Back to List</a>
<a asp-action="Index">@SR["Back to List"]</a>
</div>
@section Scripts {

View File

@ -1,12 +1,12 @@
@model CoWorking
@{
ViewData["Title"] = "Delete";
ViewData["Title"] = @SR["Delete"];
}
<h2>Delete</h2>
<h2>@SR["Delete"]</h2>
<h3>Are you sure you want to delete this?</h3>
<h3>@SR["AreYourSureYouWantToDeleteThis"]</h3>
<div>
<h4>CoWorking</h4>
<hr />
@ -16,7 +16,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

@ -1,10 +1,10 @@
@model CoWorking
@{
ViewData["Title"] = "Details";
ViewData["Title"] = @SR["Details"];
}
<h2>Details</h2>
<h2>@SR["Details"]</h2>
<div>
<h4>CoWorking</h4>
@ -13,6 +13,6 @@
</dl>
</div>
<p>
<a asp-action="Edit" asp-route-id="@Model.Id">Edit</a> |
<a asp-action="Index">Back to List</a>
<a asp-action="Edit" asp-route-id="@Model.Id">@SR["Edit"]</a> |
<a asp-action="Index">@SR["Back to List"]</a>
</p>

View File

@ -4,7 +4,7 @@
ViewData["Title"] = "Edit";
}
<h2>Edit</h2>
<h2>@SR["Edit"]</h2>
<form asp-action="Edit">
<div class="form-horizontal">
@ -35,7 +35,7 @@
</form>
<div>
<a asp-action="Index">Back to List</a>
<a asp-action="Index">@SR["Back to List"]</a>
</div>
@section Scripts {

View File

@ -1,13 +1,13 @@
@model IEnumerable<CoWorking>
@{
ViewData["Title"] = "Index";
ViewData["Title"] = @SR["Index"];
}
<h2>Index</h2>
<h2>@SR["Index"]</h2>
<p>
<a asp-action="Create">Create New</a>
<a asp-action="Create">@SR["Create New"]</a>
</p>
<table class="table">
<tr>