Currently, I am utilizing Vue.js 3, Quasar 2, and vue-i18n for my translations. I have encountered an issue while trying to use $t or $tc in the translation file. The error message "$tc is not defined" keeps popping up.
export default {
survey: {
name: 'Questionnaire' || 'Questionnaires',
new: 'Nouveau ' + $tc('survey.name', 1) || 'Nouveaux ' + $tc('survey.name', 2),
wd: 'Un ' + $tc('survey.name', 1) || 'Des ' + $tc('survey.name', 2),
mine: 'Mon ' + $tc('survey.name', 1) || 'Mes ' + $tc('survey.name', 2),
show: 'Voir le ' + $tc('survey.name', 1) || 'Voir les ' + $tc('survey.name', 2)
}