Skip to content

Commit

Permalink
skill descriptions can be translations
Browse files Browse the repository at this point in the history
  • Loading branch information
nornagon committed Nov 9, 2024
1 parent 9f15a98 commit 4dadf9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types/Skill.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { t } from "@transifex/native";
import { getContext } from "svelte";
import { byName, CddaData, singularName } from "../data";
import { byName, CddaData, singular, singularName } from "../data";
import LimitedList from "../LimitedList.svelte";
import type { Skill, SupportedTypesWithMapped } from "../types";
import ItemSymbol from "./item/ItemSymbol.svelte";
Expand Down Expand Up @@ -53,7 +53,7 @@ practiceRecipes.sort(

<h1>{t("Skill")}: {singularName(item)}</h1>
<section>
<p style="color: var(--cata-color-gray)">{item.description}</p>
<p style="color: var(--cata-color-gray)">{singular(item.description)}</p>
</section>

{#if booksWithSkill.length}
Expand Down

0 comments on commit 4dadf9b

Please sign in to comment.