mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-09 15:20:34 +02:00
Report Manager - Excel export fix and added localization
This commit is contained in:
parent
1cd83cc395
commit
adc52db15a
|
@ -175,7 +175,7 @@ namespace MediaBrowser.Api.Reports
|
|||
if (reportResult.IsGrouped)
|
||||
foreach (ReportGroup group in reportResult.Groups)
|
||||
{
|
||||
returnValue.AppendLine("<tr style='background-color: rgb(51, 51, 51);'>");
|
||||
returnValue.AppendLine("<tr>");
|
||||
returnValue.AppendLine("<th scope='rowgroup' colspan='" + reportResult.Headers.Count + "'>" + (string.IsNullOrEmpty(group.Name) ? " " : group.Name) + "</th>");
|
||||
returnValue.AppendLine("</tr>");
|
||||
foreach (ReportRow row in group.Rows)
|
||||
|
@ -183,7 +183,7 @@ namespace MediaBrowser.Api.Reports
|
|||
ExportToExcelRow(reportResult, returnValue, row);
|
||||
}
|
||||
returnValue.AppendLine("<tr>");
|
||||
returnValue.AppendLine("<th scope='rowgroup' colspan='" + reportResult.Headers.Count + "'>" + " " + "</th>");
|
||||
returnValue.AppendLine("<th style='background-color: #ffffff;' scope='rowgroup' colspan='" + reportResult.Headers.Count + "'>" + " " + "</th>");
|
||||
returnValue.AppendLine("</tr>");
|
||||
}
|
||||
|
||||
|
|
|
@ -1435,5 +1435,10 @@
|
|||
"LabelSelectViewStyles": "Enable rich presentations for:",
|
||||
"LabelSelectViewStylesHelp": "If enabled, views will be built with metadata to offer categories such as Suggestions, Latest, Genres, and more. If disabled, they'll be displayed with simple folders.",
|
||||
"TabPhotos": "Photos",
|
||||
"TabVideos": "Videos"
|
||||
"TabVideos": "Videos",
|
||||
"OptionReportList": "List View",
|
||||
"OptionReportStatistics": "Statistics",
|
||||
"OptionReportGrouping": "Grouping",
|
||||
"OptionReportExport": "Report Export",
|
||||
"OptionReportColumns": "Report Columns"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue