diff --git a/src/lang/en/drivers.json b/src/lang/en/drivers.json index 35a0bf4d8..ad5c31c0a 100755 --- a/src/lang/en/drivers.json +++ b/src/lang/en/drivers.json @@ -738,6 +738,35 @@ "root_folder_id": "Root folder id", "show_archive": "Show archive" }, + "GuangYaPan": { + "access_token": "Access token", + "access_token-tips": "Bearer access token (optional if refresh_token is provided)", + "captcha_token": "Captcha token", + "captcha_token-tips": "Captcha token required by /v1/auth/verification", + "client_id": "Client id", + "client_id-tips": "Client ID for GuangYaPan API, must be provided", + "device_id": "Device id", + "device_id-tips": "Optional custom device id (32 hex chars), auto-generated when empty", + "device_sign": "Device sign", + "device_sign-tips": "Optional custom X-Device-Sign header (generated from device_id when empty)", + "order_by": "Order by", + "order_by-tips": "Sort field used by the file list", + "page_size": "Page size", + "phone_number": "Phone number", + "phone_number-tips": "Phone number for SMS login, e.g. +86 13800000000", + "refresh_token": "Refresh token", + "refresh_token-tips": "Refresh token for auto-login/auto-refresh", + "root_path": "Root path", + "root_path-tips": "Full path in GuangYaPan cloud drive", + "send_code": "Send code", + "send_code-tips": "Set true and save to send SMS code, it auto-resets to false after sending", + "sort_type": "Sort type", + "sort_type-tips": "Sort direction used by the file list", + "verification_id": "Verification id", + "verification_id-tips": "Auto-generated after sending SMS code; do not edit manually", + "verify_code": "Verify code", + "verify_code-tips": "SMS verification code used with phone_number; fill then save to finish login" + }, "HalalCloud": { "app_id": "App id", "app_secret": "App secret", @@ -1586,6 +1615,9 @@ "GitHub Releases": {}, "GoogleDrive": {}, "GooglePhoto": {}, + "GuangYaPan": { + "alert": "Two-stage SMS login: (1) fill phone_number (+ captcha_token if needed), set send_code=true and save; (2) fill verify_code and save to finish login and auto-save access_token/refresh_token." + }, "HalalCloud": {}, "HalalCloudOpen": {}, "ILanZou": {}, @@ -1682,6 +1714,7 @@ "GitHub Releases": "GitHub Releases", "GoogleDrive": "GoogleDrive", "GooglePhoto": "GooglePhoto", + "GuangYaPan": "GuangYaPan", "HalalCloud": "HalalCloud", "HalalCloudOpen": "HalalCloudOpen", "ILanZou": "ILanZou", @@ -1733,4 +1766,4 @@ "YandexDisk": "YandexDisk", "cloudflare_imgbed": "Cloudflare imgbed" } -} +} \ No newline at end of file