Skip to content

Commit

Permalink
Fix translation
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniil Suleiman committed Jan 29, 2021
1 parent de9fd91 commit c4ddf8d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ export function addPercentageColumn(table: TableContext, name: string) {
const percentageColumnId = `${id}-percents`;
const formatter = getFormatService().deserialize({ id: 'percent' });
const percentageColumnName = i18n.translate('visTypeTable.params.percentageTableColumnName', {
defaultMessage: '{name} percentages',
values: { name },
defaultMessage: '{title} percentages',
values: { title: name },
});
const newCols = insertColumn(columns, insertAtIndex, {
name: percentageColumnName,
Expand Down

0 comments on commit c4ddf8d

Please sign in to comment.