diff --git a/client/src/languages/en.json b/client/src/languages/en.json index 6d574fb..d59b153 100644 --- a/client/src/languages/en.json +++ b/client/src/languages/en.json @@ -84,6 +84,10 @@ "id": { "title": "Get joke by ID", "body": "You'll get consistent joke for every call with the same ID." + }, + "total": { + "title": "Get total number of jokes", + "body": "...in a form of JSON response." } }, "more": "More documentation will soon arrive here..." diff --git a/client/src/languages/id.json b/client/src/languages/id.json index 0742ecf..89bfd66 100644 --- a/client/src/languages/id.json +++ b/client/src/languages/id.json @@ -84,6 +84,10 @@ "id": { "title": "Dapatkan joke berdasarkan ID", "body": "Bapak akan dapat hasil yang konsisten pada setiap request dengan ID yang sama." + }, + "total": { + "title": "Dapatkan total jumlah jokes", + "body": "...dalam bentuk JSON response." } }, "more": "Dokumentasi lebih lanjut akan segera tiba disini..." diff --git a/client/src/routes/api.svelte b/client/src/routes/api.svelte index 7cabf34..002f7fb 100644 --- a/client/src/routes/api.svelte +++ b/client/src/routes/api.svelte @@ -38,12 +38,13 @@
{$_('api.get.id.body')}
{$_('api.get.total.body')}
+{$_('api.more')}