fix: translate skill picker details

This commit is contained in:
Adrien Marquès 2022-10-12 14:52:01 +02:00
parent 879bcab044
commit 0098c0708f
Signed by: xdrm-brackets
GPG Key ID: D75243CA236D825E
1 changed files with 2 additions and 1 deletions

View File

@ -54,6 +54,7 @@ import { Project } from '@/model/projects';
import * as skills from '@/service/skills'; import * as skills from '@/service/skills';
import * as projects from '@/service/projects'; import * as projects from '@/service/projects';
import { go } from '@/service/scroller'; import { go } from '@/service/scroller';
import { Locales } from '@/locales';
interface Details { interface Details {
icon: string|null; icon: string|null;
@ -174,7 +175,7 @@ export default class SkillPicker extends Vue {
icon, icon,
title: this.$t(skillLabel(id)).toString(), title: this.$t(skillLabel(id)).toString(),
projects: projects.bySkill(id), projects: projects.bySkill(id),
text: skill.info, text: skill.info[this.$i18n.locale as Locales],
}; };
} }