1<?php
2
3// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
4// See the LICENCE file in the repository root for full licence text.
5
6return [
7 'load_failed' => 'Failed to load data.',
8 'missing_route' => 'Invalid url or incorrect request method.',
9 'no_restricted_access' => 'You are not able to perform this action while your account is in a restricted state.',
10 'supporter_only' => 'You must be an osu!supporter to use this feature.',
11 'unknown' => 'Unknown error occurred.',
12
13 'codes' => [
14 'http-401' => 'Please sign in to proceed.',
15 'http-403' => 'Access denied.',
16 'http-404' => 'Not found.',
17 'http-429' => 'Too many attempts. Try again later.',
18 ],
19 'account' => [
20 'profile-order' => [
21 'generic' => 'An error occured. Try refreshing the page.',
22 ],
23 ],
24 'beatmaps' => [
25 'invalid_mode' => 'Invalid mode specified.',
26 'standard_converts_only' => 'No scores are available for the requested mode on this beatmap difficulty.',
27 ],
28 'checkout' => [
29 'generic' => 'An error occurred while preparing your checkout.',
30 ],
31 'scores' => [
32 'invalid_id' => 'Invalid score id.',
33 ],
34 'search' => [
35 'default' => 'Could not get any results, try again later.',
36 'invalid_cursor_exception' => 'Invalid cursor parameter specified.',
37 'operation_timeout_exception' => 'Search is currently busier than usual, try again later.',
38 ],
39 'user_report' => [
40 'recently_reported' => "You've already reported this recently.",
41 ],
42];