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 | |
| 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')
| -rw-r--r-- | src/lib/Error/AnimeRateLimited.svelte | 2 | ||||
| -rw-r--r-- | src/lib/Error/RateLimited.svelte | 6 | ||||
| -rw-r--r-- | src/lib/Settings/Categories/Attributions.svelte | 1 | ||||
| -rw-r--r-- | src/lib/Tools/EpisodeDiscussionCollector.svelte | 7 | ||||
| -rw-r--r-- | src/routes/settings/+page.svelte | 2 |
5 files changed, 5 insertions, 13 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> diff --git a/src/lib/Settings/Categories/Attributions.svelte b/src/lib/Settings/Categories/Attributions.svelte index dad576e4..0b6bd263 100644 --- a/src/lib/Settings/Categories/Attributions.svelte +++ b/src/lib/Settings/Categories/Attributions.svelte @@ -52,7 +52,6 @@ <li><a href="https://myanimelist.net/">MyAnimeList</a> (if selected)</li> <li><a href="https://animeschedule.net/">AnimeSchedule.net</a> (if selected)</li> <li><a href="https://www.livechart.me/">LiveChart.me</a> (if selected)</li> - <li><a href="https://www.wikipedia.org/">Wikipedia</a> (if rate-limited)</li> </ul> </li> </ol> diff --git a/src/lib/Tools/EpisodeDiscussionCollector.svelte b/src/lib/Tools/EpisodeDiscussionCollector.svelte index cebea553..4e38161e 100644 --- a/src/lib/Tools/EpisodeDiscussionCollector.svelte +++ b/src/lib/Tools/EpisodeDiscussionCollector.svelte @@ -71,12 +71,7 @@ {/each} </ul> {:catch} - <p> - Threads could not be loaded. You might have been <a - href="https://en.wikipedia.org/wiki/Rate_limiting" - target="_blank">rate limited</a - >. - </p> + <p>Threads could not be loaded. You might have been rate-limited.</p> <p> Try again in a few minutes. If the problem persists, please contact <a href="https://anilist.co/user/fuwn" diff --git a/src/routes/settings/+page.svelte b/src/routes/settings/+page.svelte index 8dcbc2ca..42127f51 100644 --- a/src/routes/settings/+page.svelte +++ b/src/routes/settings/+page.svelte @@ -58,7 +58,7 @@ <p> <b>{$locale().settings.fields.notice}</b> - AniList has temporarily increased their API rate limits, so you may experience more occasional rate + AniList has temporarily increased their API rate-limits, so you may experience more occasional rate limits than usual, both on <a href={root('/')}>due.moe</a> and on AniList. </p> --> </blockquote> |