7 references to Loc
Aspire.Dashboard (7)
Components\Controls\Chart\MetricTable.razor.cs (3)
308ValueDirectionChange.Up => (new Icons.Filled.Size16.ArrowCircleUp().WithColor(Color.Success), Loc[nameof(ControlsStrings.MetricTableValueIncreased)]), 309ValueDirectionChange.Down => (new Icons.Filled.Size16.ArrowCircleDown().WithColor(Color.Warning), Loc[nameof(ControlsStrings.MetricTableValueDecreased)]), 310ValueDirectionChange.Constant => (new Icons.Filled.Size16.ArrowCircleRight().WithColor(Color.Info), Loc[nameof(ControlsStrings.MetricTableValueNoChange)]),
Components\Controls\Chart\PlotlyChart.razor.cs (4)
50{Loc[nameof(ControlsStrings.PlotlyChartValue)]}: {formattedValue}<br /> 51{Loc[nameof(ControlsStrings.PlotlyChartTime)]}: {FormatHelpers.FormatTime(TimeProvider, TimeProvider.ToLocal(xValue))} 147Name = Loc[nameof(ControlsStrings.PlotlyChartExemplars)], 158: $"{Loc[nameof(ControlsStrings.PlotlyChartTrace)]}: {OtlpHelpers.ToShortenedId(exemplar.TraceId)}";