diff --git a/website/src/screens/IsolatedEntry.tsx b/website/src/screens/IsolatedEntry.tsx
index 0a0a435..276fdd5 100644
--- a/website/src/screens/IsolatedEntry.tsx
+++ b/website/src/screens/IsolatedEntry.tsx
@@ -226,13 +226,19 @@ function IsolatedEntry({ state, dictionary, isolateEntry }: {
}
{editSubmitted &&
Thank you for your help!
}
{inf && <>
- {inf.inflections &&
-
Inflection pattern {humanReadableInflectionPattern(getInflectionPattern(
+ {inf.inflections && (() => {
+ const pattern = getInflectionPattern(
// @ts-ignore
entry
- ), textOptions)}
-
-
}
+ );
+ return ;
+ })()}
{"plural" in inf && inf.plural !== undefined &&
Plural
@@ -284,4 +290,21 @@ function explodeEntry(entry: T.DictionaryEntry): T.DictionaryEntry {
};
}
+function inflectionSubUrl(pattern: T.InflectionPattern): string {
+ return pattern === 0
+ ? ""
+ : pattern === 1
+ ? "#1-basic"
+ : pattern === 2
+ ? "#2-words-ending-in-an-unstressed-ی---ey"
+ : pattern === 3
+ ? "#3-words-ending-in-a-stressed-ی---éy"
+ : pattern === 4
+ ? "#4-words-with-the-pashtoon-pattern"
+ : pattern === 5
+ ? "#5-shorter-words-that-squish"
+ // : pattern === 6
+ : "#6-inanimate-feminine-nouns-ending-in-ي---ee"
+}
+
export default IsolatedEntry;
\ No newline at end of file