diff options
| author | Fuwn <[email protected]> | 2024-02-11 04:07:46 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-02-11 04:07:46 -0800 |
| commit | 286c75a6e0d810894bfee2c5c80b747c31f6f082 (patch) | |
| tree | 796b50e60c46767dd379fa66da5c8fb149303682 /src/lib/Error | |
| parent | refactor(settings): move attributions to categories (diff) | |
| download | due.moe-286c75a6e0d810894bfee2c5c80b747c31f6f082.tar.xz due.moe-286c75a6e0d810894bfee2c5c80b747c31f6f082.zip | |
refactor: remove wikipedia for rate-limit
Diffstat (limited to 'src/lib/Error')
| -rw-r--r-- | src/lib/Error/AnimeRateLimited.svelte | 2 | ||||
| -rw-r--r-- | src/lib/Error/RateLimited.svelte | 6 |
2 files changed, 3 insertions, 5 deletions
diff --git a/src/lib/Error/AnimeRateLimited.svelte b/src/lib/Error/AnimeRateLimited.svelte index 073a3879..a6ab056d 100644 --- a/src/lib/Error/AnimeRateLimited.svelte +++ b/src/lib/Error/AnimeRateLimited.svelte @@ -5,7 +5,7 @@ <Popup locked fullscreen> <p><slot /></p> - <span>It is likely that you have been rate limited by AniList. Please try again later.</span> + <span>It is likely that you have been rate-limited by AniList. Please try again later.</span> {#await fetch('https://api.waifu.pics/sfw/cry') then response} {#await response.json() then json} diff --git a/src/lib/Error/RateLimited.svelte b/src/lib/Error/RateLimited.svelte index bdddc3c0..2360a44a 100644 --- a/src/lib/Error/RateLimited.svelte +++ b/src/lib/Error/RateLimited.svelte @@ -12,8 +12,7 @@ <ul> <li> <p> - {type} could not be loaded. You{might ? ' might' : ''} have been - <a href="https://en.wikipedia.org/wiki/Rate_limiting" target="_blank">rate limited</a>. {#if !might} + {type} could not be loaded. You{might ? ' might' : ''} have been rate-limited. {#if !might} Try again in one minute. {/if} </p> @@ -37,8 +36,7 @@ </ul> {:else} <p> - {type} could not be loaded. You{might ? ' might' : ''} have been - <a href="https://en.wikipedia.org/wiki/Rate_limiting" target="_blank">rate limited</a>. {#if !might} + {type} could not be loaded. You{might ? ' might' : ''} have been rate-limited. {#if !might} Try again in one minute. {/if} </p> |