From 0098c0708f1bf11e216b06512a073dce3fe8ad1a Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Wed, 12 Oct 2022 14:52:01 +0200 Subject: [PATCH] fix: translate skill picker details --- src/components/SkillPicker.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/SkillPicker.vue b/src/components/SkillPicker.vue index 8b06074..37c8019 100644 --- a/src/components/SkillPicker.vue +++ b/src/components/SkillPicker.vue @@ -54,6 +54,7 @@ import { Project } from '@/model/projects'; import * as skills from '@/service/skills'; import * as projects from '@/service/projects'; import { go } from '@/service/scroller'; +import { Locales } from '@/locales'; interface Details { icon: string|null; @@ -174,7 +175,7 @@ export default class SkillPicker extends Vue { icon, title: this.$t(skillLabel(id)).toString(), projects: projects.bySkill(id), - text: skill.info, + text: skill.info[this.$i18n.locale as Locales], }; }