+
+{#each entries as _, index}
+
+{/each}
+
+
diff --git a/Foxnouns.Frontend/src/lib/defaultPronouns/en.ts b/Foxnouns.Frontend/src/lib/defaultPronouns/en.ts
new file mode 100644
index 0000000..412689a
--- /dev/null
+++ b/Foxnouns.Frontend/src/lib/defaultPronouns/en.ts
@@ -0,0 +1,16 @@
+const enPronouns = {
+ "they/them": { pronouns: ["they", "them", "their", "theirs", "themself"] },
+ "they/them (singular)": {
+ pronouns: ["they", "them", "their", "theirs", "themself"],
+ display: "they/them (singular)",
+ },
+ "they/them (plural)": {
+ pronouns: ["they", "them", "their", "theirs", "themselves"],
+ display: "they/them (plural)",
+ },
+ "he/him": { pronouns: ["he", "him", "his", "his", "himself"] },
+ "she/her": { pronouns: ["she", "her", "her", "hers", "herself"] },
+ "it/its": { pronouns: ["it", "it", "its", "its", "itself"], display: "it/its" },
+} as Record;
+
+export default enPronouns;
diff --git a/Foxnouns.Frontend/src/lib/defaultPronouns/index.ts b/Foxnouns.Frontend/src/lib/defaultPronouns/index.ts
new file mode 100644
index 0000000..e60d38b
--- /dev/null
+++ b/Foxnouns.Frontend/src/lib/defaultPronouns/index.ts
@@ -0,0 +1,7 @@
+import enPronouns from "./en";
+
+const defaultPronouns = {
+ en: enPronouns,
+} as Record>;
+
+export default defaultPronouns;
diff --git a/Foxnouns.Frontend/src/lib/errorCodes.svelte.ts b/Foxnouns.Frontend/src/lib/errorCodes.ts
similarity index 100%
rename from Foxnouns.Frontend/src/lib/errorCodes.svelte.ts
rename to Foxnouns.Frontend/src/lib/errorCodes.ts
diff --git a/Foxnouns.Frontend/src/lib/i18n/locales/en.json b/Foxnouns.Frontend/src/lib/i18n/locales/en.json
index 4dd0cb6..f743706 100644
--- a/Foxnouns.Frontend/src/lib/i18n/locales/en.json
+++ b/Foxnouns.Frontend/src/lib/i18n/locales/en.json
@@ -55,7 +55,7 @@
"account-already-linked": "This account is already linked with a pronouns.cc account.",
"last-auth-method": "You cannot remove your last authentication method.",
"validation-max-length-error": "Value is too long, maximum length is {{max}}, current length is {{actual}}.",
- "validation-min-length-error": "Value is too long, minimum length is {{min}}, current length is {{actual}}.",
+ "validation-min-length-error": "Value is too short, minimum length is {{min}}, current length is {{actual}}.",
"validation-disallowed-value-1": "The following value is not allowed here",
"validation-disallowed-value-2": "Allowed values are",
"validation-reason": "Reason",
@@ -123,7 +123,7 @@
"fields-tab": "Fields",
"flags-links-tab": "Flags & links",
"back-to-settings-tab": "Back to settings",
- "member-header": "Editing member {{name}}",
+ "member-header": "Editing profile of {{name}}",
"username": "Username",
"change-username-info": "As changing your username will also change all of your members' links, you can only change it in your account settings.",
"change-username-link": "Go to settings",
@@ -131,8 +131,20 @@
"change-member-name": "Change name",
"display-name": "Display name",
"unlisted-label": "Hide from member list",
- "unlisted-note": "This only hides this member from your public member list. They will still be visible to anyone at this link:"
+ "unlisted-note": "This only hides this member from your public member list. They will still be visible to anyone at this link:",
+ "edit-names-pronouns-header": "Edit names and pronouns",
+ "back-to-profile-tab": "Back to profile"
},
"save-changes": "Save changes",
- "change": "Change"
+ "change": "Change",
+ "editor": {
+ "remove-entry": "Remove entry",
+ "move-entry-down": "Move entry down",
+ "move-entry-up": "Move entry up",
+ "add-entry": "Add entry",
+ "change-display-text": "Change display text",
+ "display-text-example": "Optional display text (e.g. it/its)",
+ "display-text-label": "Display text",
+ "display-text-info": "This is the short text shown on your profile page. If you leave it empty, it will default to the first two forms of the full set."
+ }
}
diff --git a/Foxnouns.Frontend/src/lib/tippy.ts b/Foxnouns.Frontend/src/lib/tippy.ts
index 3fce60d..39e2ca0 100644
--- a/Foxnouns.Frontend/src/lib/tippy.ts
+++ b/Foxnouns.Frontend/src/lib/tippy.ts
@@ -5,6 +5,7 @@ import { createTippy } from "svelte-tippy";
// temporary (probably) until sveltestrap works with svelte 5
const tippy = createTippy({
animation: "scale-subtle",
+ delay: [null, 0],
});
export default tippy;
diff --git a/Foxnouns.Frontend/src/routes/@[username]/+page.svelte b/Foxnouns.Frontend/src/routes/@[username]/+page.svelte
index f2234c2..903312d 100644
--- a/Foxnouns.Frontend/src/routes/@[username]/+page.svelte
+++ b/Foxnouns.Frontend/src/routes/@[username]/+page.svelte
@@ -33,7 +33,7 @@