From c4e16b1e15de5fc489051b81207e83c94eafcf2f Mon Sep 17 00:00:00 2001 From: FloatingGhost Date: Tue, 21 Jun 2022 17:09:58 +0100 Subject: [PATCH] add explanations to rate limit input --- src/lang/en.js | 2 + .../inputComponents/RateLimitInput.vue | 48 ++++++++++--------- src/views/styles/settings.scss | 4 +- 3 files changed, 30 insertions(+), 24 deletions(-) diff --git a/src/lang/en.js b/src/lang/en.js index 033348f4..2700532f 100644 --- a/src/lang/en.js +++ b/src/lang/en.js @@ -471,6 +471,8 @@ export default { setLimits: 'Set different limits for unauthenticated and authenticated users', unauthenticatedUsers: 'Unauthenticated users', authenticatedUsers: 'Authenticated users', + scale: 'Timespan (ms)', + limit: 'Requests', setLimitsForAll: 'Set limit for all users', ref: 'Ref', file: 'File', diff --git a/src/views/settings/components/inputComponents/RateLimitInput.vue b/src/views/settings/components/inputComponents/RateLimitInput.vue index 2da336ac..42878491 100644 --- a/src/views/settings/components/inputComponents/RateLimitInput.vue +++ b/src/views/settings/components/inputComponents/RateLimitInput.vue @@ -1,19 +1,20 @@