Skip to content

Commit

Permalink
Updated statistics table texts
Browse files Browse the repository at this point in the history
  • Loading branch information
tsv2013 committed Sep 3, 2024
1 parent e991640 commit a74e3f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/analytics-localization/english.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions src/statistics-table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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", {
Expand Down

0 comments on commit a74e3f7

Please sign in to comment.