- Added translation for "No Recurring Reminders Found" in _RecurringReminderSelector.cshtml

- Added translation for "No Vehicles Available" in _VehicleSelector.cshtml
- Added translations for the DB-Migration tool
- Added the new translation records to the default language file en_US.json
This commit is contained in:
Scorpoon
2024-11-10 13:30:07 +01:00
parent 89ece413c8
commit 3729d2c23f
4 changed files with 18 additions and 11 deletions

View File

@@ -1,5 +1,12 @@
@using CarCareTracker.Helper
@inject IConfigHelper config
@inject ITranslationHelper translator
@using CarCareTracker.Helper
@model List<Vehicle>
@{
var userLanguage = config.GetUserConfig(User).UserLanguage;
}
@if (Model.Any())
{
<div id="vehicleSelector">
@@ -15,5 +22,5 @@
</div>
} else
{
<div id="vehicleSelector"><span class="lead">No Vehicles Available</span></div>
<div id="vehicleSelector"><span class="lead">@translator.Translate(userLanguage, "No Vehicles Available")</span></div>
}