From: Ben Beltran Date: Sat, 20 Jun 2020 12:58:26 +0000 (+0200) Subject: Add internationalized error block X-Git-Url: https://git.r.bdr.sh/rbdr/forum/commitdiff_plain/8050f772caeedafffab6e3ec2f309205a019f3d0?ds=inline;hp=2dc5448262ce444ead594376c47a62c3e88e0f8e Add internationalized error block --- 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 @@