diff --git a/src/Resources/Views.Home.Locations.de.resx b/src/Resources/Views.Home.Locations.de.resx index c8db175..329daac 100644 --- a/src/Resources/Views.Home.Locations.de.resx +++ b/src/Resources/Views.Home.Locations.de.resx @@ -22,10 +22,10 @@ Ort ID - + Ort Name - + Raumnummer @@ -61,4 +61,25 @@ Erstellung des Ortes ist fehlgeschlagen + + Ort anpassen + + + Abbrechen + + + Sitzplatz + + + Erstellen + + + Sind Sie sich sicher, dass Sie den Ort {0} löschen möchten? + + + Ja, löschen + + + Löschen bestätigen + diff --git a/src/Resources/Views.Home.Locations.en.resx b/src/Resources/Views.Home.Locations.en.resx new file mode 100644 index 0000000..b2f1f12 --- /dev/null +++ b/src/Resources/Views.Home.Locations.en.resx @@ -0,0 +1,19 @@ + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, ... + + + System.Resources.ResXResourceWriter, System.Windows.Forms, ... + + + + Are you sure you want to delete the location {0}? + + diff --git a/src/Views/Home/Locations.cshtml b/src/Views/Home/Locations.cshtml index 73ddb16..b432a01 100644 --- a/src/Views/Home/Locations.cshtml +++ b/src/Views/Home/Locations.cshtml @@ -1,3 +1,4 @@ +@using Microsoft.AspNetCore.Html @using Microsoft.AspNetCore.Mvc.Localization @using Berufsschule_HAM.Models @model LocationsIndexViewModel @@ -21,8 +22,8 @@ @T["Location ID"] - @T["Location name"] - @T["Room number"] + @T["Location Name"] + @T["Room Number"] @T["Seat"] @T["Action"] @@ -68,52 +69,24 @@ - Confirm Delete + @T["Confirm Delete"] - Are you sure you want to delete the location (ID: )? + + @T["DeleteLocationConfirmation", new HtmlString("")] + - - -
Are you sure you want to delete the location (ID: )?
+ @T["DeleteLocationConfirmation", new HtmlString("")] +