From a74e3f7fd5ce595493d36b39881f9e1317e47eec Mon Sep 17 00:00:00 2001 From: tsv2013 Date: Tue, 3 Sep 2024 16:24:42 +0300 Subject: [PATCH] Updated statistics table texts --- src/analytics-localization/english.ts | 2 ++ src/statistics-table.ts | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/analytics-localization/english.ts b/src/analytics-localization/english.ts index 2c03df0f6..7f5d29851 100644 --- a/src/analytics-localization/english.ts +++ b/src/analytics-localization/english.ts @@ -67,6 +67,8 @@ export var englishStrings = { answer: "Answer", correctAnswer: "Correct answer: ", percent: "Percent", + percentage: "Percentage", + statistics_chart: "Chart", responses: "Responses", visualizer_nps: "NPS", npsScore: "NPS", diff --git a/src/statistics-table.ts b/src/statistics-table.ts index 08cb10298..5cd4cc48f 100644 --- a/src/statistics-table.ts +++ b/src/statistics-table.ts @@ -43,11 +43,11 @@ export class StatisticsTableAdapter { }); headerRow.appendChild(labelCell); var sparklineCell = DocumentHelper.createElement("th", "sa-statistics-table__cell-header", { - textContent: "", + textContent: localization.getString("statistics_chart"), }); headerRow.appendChild(sparklineCell); var percentCell = DocumentHelper.createElement("th", "sa-statistics-table__cell-header", { - textContent: localization.getString("percent"), + textContent: localization.getString("percentage"), }); headerRow.appendChild(percentCell); var valueCell = DocumentHelper.createElement("th", "sa-statistics-table__cell-header", {