From 8050f772caeedafffab6e3ec2f309205a019f3d0 Mon Sep 17 00:00:00 2001 From: Ben Beltran Date: Sat, 20 Jun 2020 14:58:26 +0200 Subject: Add internationalized error block --- app/components/error_block/error_block.svelte | 31 +++++++++++++++++++++++++++ app/components/forum_list/forum_list.svelte | 5 +++++ app/components/topic_index/topic_index.svelte | 2 ++ 3 files changed, 38 insertions(+) create mode 100644 app/components/error_block/error_block.svelte (limited to 'app/components') diff --git a/app/components/error_block/error_block.svelte b/app/components/error_block/error_block.svelte new file mode 100644 index 0000000..d649fb4 --- /dev/null +++ b/app/components/error_block/error_block.svelte @@ -0,0 +1,31 @@ + + +
+

{$_('error.generic.title')}

+

{message}

+
+ + + diff --git a/app/components/forum_list/forum_list.svelte b/app/components/forum_list/forum_list.svelte index f77c79a..c218bac 100644 --- a/app/components/forum_list/forum_list.svelte +++ b/app/components/forum_list/forum_list.svelte @@ -1,8 +1,13 @@