Added missing translation logic for "Upload documents(optional)" in _UpgradeRecordModal.cshtml

This commit is contained in:
Scorpoon
2024-11-10 14:10:49 +01:00
parent 3729d2c23f
commit df45378bce

View File

@@ -1,6 +1,6 @@
@using CarCareTracker.Helper
@inject IConfigHelper config
@inject IConfigHelper config
@inject ITranslationHelper translator
@using CarCareTracker.Helper
@model UpgradeRecordInput
@{
var isNew = Model.Id == 0;
@@ -87,7 +87,7 @@
</label>
</div>
}
<label for="upgradeRecordFiles">Upload documents(optional)</label>
<label for="upgradeRecordFiles">@translator.Translate(userLanguage,"Upload documents(optional)")</label>
<input onChange="uploadVehicleFilesAsync(this)" type="file" multiple accept="@config.GetAllowedFileUploadExtensions()" class="form-control-file" id="upgradeRecordFiles">
<br /><small class="text-body-secondary">@translator.Translate(userLanguage, "Max File Size: 28.6MB")</small>
}