const linesValue = useDiffMetric
? getLeakValue(findMeasure(measures, linesMetric))
: findMeasure(measures, linesMetric)?.value;
- const linesLabel =
- measurementType === MeasurementType.Coverage
- ? 'overview.quality_gate.on_x_new_lines_to_cover'
- : 'overview.quality_gate.on_x_new_lines';
+ const linesLabel = `overview.${metricKey}.on_x_new_lines`;
const linesUrl = getComponentDrilldownUrl({
componentKey,
metric: linesMetric,
overview.quality_gate.hide_project_conditions_x=Hide failed conditions for project {0}
overview.quality_gate.coverage=Coverage
overview.quality_gate.duplications=Duplications
-overview.quality_gate.on_x_new_lines_to_cover=On {link} New Lines to cover.
-overview.quality_gate.on_x_new_lines=On {link} New Lines.
+overview.new_coverage.on_x_new_lines=On {link} New Lines to cover.
+overview.coverage.on_x_new_lines=On {link} lines to cover.
+overview.new_duplicated_lines_density.on_x_new_lines=On {link} New Lines.
+overview.duplicated_lines_density.on_x_new_lines=On {link} lines.
overview.quality_gate.x_estimated_after_merge={value} Estimated after merge
overview.quality_gate.require_fixing={count, plural, one {requires} other {require}} fixing
overview.quality_gate.require_reviewing={count, plural, one {requires} other {require}} reviewing