Skip to content

Commit

Permalink
Update HxInputFileDropZone.razor.cs
Browse files Browse the repository at this point in the history
Correction of #525
  • Loading branch information
TPIvan committed Apr 24, 2023
1 parent fd25f83 commit 500ff92
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,14 +132,14 @@ protected string GetFilesPickedText()
{
if (fileCount == 1)
{
return String.Format(Localizer["SingleFileSelected"], firstFileNames[0]);
return Localizer["SingleFileSelected", firstFileNames[0]];
}
else
{
var result = String.Format(Localizer["MultipleFilesSelected"], fileCount, String.Join(", ", firstFileNames));
string result = Localizer["MultipleFilesSelected", fileCount, String.Join(", ", firstFileNames)];
if (fileCount > firstFileNames.Count)
{
result = result + " " + String.Format(Localizer["MoreFiles"], fileCount - firstFileNames.Count);
result = result + " " + Localizer["MoreFiles", fileCount - firstFileNames.Count];
}
return result;
}
Expand Down

0 comments on commit 500ff92

Please sign in to comment.