Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions client/modules/i18n/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,8 @@ Template.registerHelper("i18n", function (i18nKey, i18nMessage) {

i18nextDep.depend();

const message = new Spacebars.SafeString(i18nMessage);

// returning translated key
return i18next.t(i18nKey, { defaultValue: message });
return i18next.t(i18nKey, { defaultValue: i18nMessage });
});

/**
Expand Down