fix: translate skill picker details
This commit is contained in:
parent
879bcab044
commit
0098c0708f
|
@ -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],
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue