From 67bab8c2284336db0b3c173b62cf3d91848d336e Mon Sep 17 00:00:00 2001 From: Andrea Vos Date: Thu, 18 Sep 2025 13:48:57 +0200 Subject: [PATCH] (profile) add spoiler style --- locale/_base/translations.suml | 1 + locale/en/translations.suml | 1 + locale/pl/translations.suml | 1 + shared/styling.ts | 2 +- 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/locale/_base/translations.suml b/locale/_base/translations.suml index 892136111..a2edb9de6 100644 --- a/locale/_base/translations.suml +++ b/locale/_base/translations.suml @@ -816,6 +816,7 @@ profile: bold: 'Bold' italics: 'Italics' small: 'Small' + spoiler: 'Hidden (spoiler, content warning)' validation: missingIcon: 'Icon is required' missingDescription: 'Description is required' diff --git a/locale/en/translations.suml b/locale/en/translations.suml index 1152e2d48..3572b82b8 100644 --- a/locale/en/translations.suml +++ b/locale/en/translations.suml @@ -1032,6 +1032,7 @@ profile: bold: 'Bold' italics: 'Italics' small: 'Small' + spoiler: 'Hidden (spoiler, content warning)' validation: missingIcon: 'Icon is required' missingDescription: 'Description is required' diff --git a/locale/pl/translations.suml b/locale/pl/translations.suml index 89c049774..2222cf716 100644 --- a/locale/pl/translations.suml +++ b/locale/pl/translations.suml @@ -1645,6 +1645,7 @@ profile: bold: 'Pogrubiony' italics: 'Kursywa' small: 'Mały' + spoiler: 'Schowany (spoiler, ostrzeżenie)' validation: missingIcon: 'Ikona jest wymagana' missingDescription: 'Opis jest wymagany' diff --git a/shared/styling.ts b/shared/styling.ts index de234ae6f..816181d6f 100644 --- a/shared/styling.ts +++ b/shared/styling.ts @@ -1,2 +1,2 @@ export const colours = ['', 'pink', 'red', 'orange', 'brown', 'yellow', 'green', 'teal', 'blue', 'purple', 'grey']; -export const styles = ['', 'bold-italics', 'bold', 'italics', 'small']; +export const styles = ['', 'bold-italics', 'bold', 'italics', 'small', 'spoiler']