955f9b13c1
Task 9 (P3 plan): queue tab replaces the stub, continuous capture page enqueues per shot, album detail gains an upload FAB, and the upload engine lifecycle is now bound to the login session. - Engine scope: session account drives UploadEngine start/stop; wired from app boot, login success, logout, and 401 eviction. Tasks stay in the store across logout (accountId hard isolation). - Queue tab: album x state x time filter bar, task rows with thumbnail, state chip, localized error copy, attempt count, per-row progress via a broadcast progress hub, state-dependent actions (re-pick retry, retryNow, cancel, delete), batch retry bar, 200ms-debounced live refresh from drift table updates. - Capture page: camera preview via injected CaptureSource, one enqueue per shutter press, persistent album/category/badges overlay with a switch-only-affects-new-shots hint, gallery multi-pick, exit confirm while uploads are pending, permission-denied and init-failure views. - POST_NOTIFICATIONS runtime permission via a small MethodChannel (photolive/permissions) + PermissionPlugin.kt: single runtime permission need, avoids permission_handler dependency; requested once on first enqueue, silent degradation when denied or unavailable. - Album detail FAB: capture-and-upload / pick-from-gallery sheet. - l10n: ~50 new keys in zh/en arbs; tests: +45 (filter matrix, engine scope lifecycle, permission gate, queue tab, capture page, FAB entry); existing page tests updated to inject session/task-store fakes. Co-Authored-By: Claude Code <noreply@anthropic.com>
177 lines
7.6 KiB
Plaintext
177 lines
7.6 KiB
Plaintext
{
|
|
"@@locale": "en",
|
|
"appName": "Photo Live",
|
|
"login": "Sign in",
|
|
"logout": "Sign out",
|
|
"username": "Account",
|
|
"password": "Password",
|
|
"albums": "Albums",
|
|
"albumDetail": "Album details",
|
|
"queue": "Upload queue",
|
|
"settings": "Settings",
|
|
"language": "Language",
|
|
"localeFollowSystem": "Follow system",
|
|
"localeChinese": "中文",
|
|
"localeEnglish": "English",
|
|
"retry": "Retry",
|
|
"cancel": "Cancel",
|
|
"errorGeneric": "Something went wrong, please retry",
|
|
"ok": "OK",
|
|
"homeTabAlbums": "Albums",
|
|
"homeTabQueue": "Queue",
|
|
"homeTabSettings": "Settings",
|
|
"loginHint": "Sign in with your staff account",
|
|
"fieldRequired": "This field is required",
|
|
"passwordChangeTitle": "Change password",
|
|
"currentPassword": "Current password",
|
|
"newPassword": "New password",
|
|
"confirmNewPassword": "Confirm new password",
|
|
"passwordMinLength": "New password must be at least 8 characters",
|
|
"passwordMismatch": "New passwords do not match",
|
|
"passwordChangeSuccess": "Password changed",
|
|
"errorAuthInvalidCredentials": "Incorrect account or password",
|
|
"errorOldPasswordIncorrect": "Current password is incorrect",
|
|
"errorAuthRateLimited": "Too many attempts. Please try again later",
|
|
"errorAuthTokenExpired": "Session expired. Please sign in again",
|
|
"errorValidation": "Invalid input. Please check and retry",
|
|
"errorNetwork": "Network error. Check your connection and retry",
|
|
"errorNetworkTimeout": "Network timed out. Please retry",
|
|
"errorInternal": "Service temporarily unavailable. Please retry later",
|
|
"albumsEmpty": "No albums yet. Tap \"Create album\" to get started",
|
|
"loadMoreFailed": "Failed to load more. Tap to retry",
|
|
"albumCreate": "Create album",
|
|
"albumEdit": "Edit album",
|
|
"albumTitle": "Title",
|
|
"albumDescription": "Description",
|
|
"albumVenue": "Venue",
|
|
"albumAddress": "Address",
|
|
"albumDefaultLocale": "Default locale",
|
|
"albumStartAt": "Start time",
|
|
"albumEndAtOptional": "End time (optional)",
|
|
"clearEndAt": "Clear end time",
|
|
"albumTimezone": "Timezone",
|
|
"albumTimezoneInvalid": "Invalid IANA timezone name",
|
|
"switchUpload": "Allow uploads",
|
|
"switchPublic": "Publicly visible",
|
|
"switchDownload": "Allow downloads",
|
|
"switchOriginalDownload": "Allow original downloads",
|
|
"formStartAtRequired": "Pick a start time",
|
|
"formDefaultLocaleMissing": "Default locale must have a title",
|
|
"formTitleRequiredWithFields": "Title is required when description, venue or address is filled",
|
|
"formEndAtNotAfterStartAt": "End time must be after start time",
|
|
"create": "Create",
|
|
"save": "Save",
|
|
"albumStatusActive": "Active",
|
|
"albumStatusOffline": "Offline",
|
|
"tagUpload": "Upload",
|
|
"tagPublic": "Public",
|
|
"tagDownload": "Download",
|
|
"tagOriginal": "Original",
|
|
"notSet": "Not set",
|
|
"actionEdit": "Edit",
|
|
"albumMembers": "Members",
|
|
"albumCategories": "Categories",
|
|
"shareQrTitle": "Share QR code",
|
|
"albumPhotos": "Photos",
|
|
"delete": "Delete",
|
|
"deleteConfirmCategory": "Delete this category? Its photos will become uncategorized.",
|
|
"categoryEmpty": "No categories yet. Tap + to add one",
|
|
"categoryAdd": "Add category",
|
|
"categoryEdit": "Edit category",
|
|
"categoryNameZh": "Chinese name",
|
|
"categoryNameEn": "English name",
|
|
"categorySortOrder": "Sort order",
|
|
"categoryNameRequired": "At least one language name is required",
|
|
"categorySortOrderInvalid": "Sort order must be an integer",
|
|
"albumMembersEmpty": "No members yet",
|
|
"inviteSearchHint": "Search by account prefix to invite (at least 2 characters)",
|
|
"inviteNoResults": "No matching users",
|
|
"invite": "Invite",
|
|
"memberInvited": "Invited",
|
|
"removeMember": "Remove member",
|
|
"removeMemberConfirm": "Remove this member?",
|
|
"roleOwner": "Owner",
|
|
"roleCollaborator": "Collaborator",
|
|
"selfMarker": " (you)",
|
|
"errorMemberConflict": "User is already a member",
|
|
"qrHint": "Scan the code or open the link to view",
|
|
"copyLink": "Copy link",
|
|
"copiedToClipboard": "Copied",
|
|
"photosTask9Placeholder": "Photo management is a placeholder; the full experience ships in Task 9",
|
|
"albumPhotosEmpty": "No photos yet",
|
|
"visibilityPublished": "Published",
|
|
"visibilityUnpublished": "Unpublished",
|
|
"visibilityHidden": "Hidden",
|
|
"visibilityDeleted": "Deleted",
|
|
"procPendingUpload": "Pending upload",
|
|
"procUploaded": "Uploaded",
|
|
"procProcessing": "Processing",
|
|
"procReady": "Ready",
|
|
"procProcessingFailed": "Processing failed",
|
|
"queueStubHint": "Local upload queue and continuous capture arrive in Task 9",
|
|
"serverHistoryEntry": "View server upload history",
|
|
"serverHistoryTitle": "Server upload history",
|
|
"serverHistoryBanner": "Server-side history (cross-device) — for this device's pending uploads see the Queue tab",
|
|
"serverHistoryEmpty": "No upload sessions yet",
|
|
"uploadStatePending": "Pending",
|
|
"uploadStateConfirmed": "Confirmed",
|
|
"uploadStateCancelled": "Cancelled",
|
|
"uploadStateExpired": "Expired",
|
|
"thisDevice": "This device",
|
|
"queueAlbumFilterAll": "All albums",
|
|
"queueStateAll": "All",
|
|
"queueStatePreparing": "Preparing",
|
|
"queueStateQueued": "Queued",
|
|
"queueStateUploading": "Uploading",
|
|
"queueStateWaitingNetwork": "Waiting for network",
|
|
"queueStateFailed": "Failed",
|
|
"queueStateCompleted": "Done",
|
|
"queueTimeAll": "Any time",
|
|
"queueTimeToday": "Today",
|
|
"queueTimeLast7Days": "Last 7 days",
|
|
"queueTimeLast30Days": "Last 30 days",
|
|
"queueEmpty": "No upload tasks",
|
|
"queueRetryAllFailed": "Retry all failed",
|
|
"queueAttemptCount": "{count} attempt(s)",
|
|
"@queueAttemptCount": { "placeholders": { "count": { "type": "int" } } },
|
|
"taskStatePreparing": "Preparing",
|
|
"taskStatePreparationFailed": "Preparation failed",
|
|
"taskStateQueued": "Queued",
|
|
"taskStateUploading": "Uploading",
|
|
"taskStateUploadedConfirming": "Confirming",
|
|
"taskStateCompleted": "Completed",
|
|
"taskStateWaitingNetwork": "Waiting for network",
|
|
"taskStateRetryableFailed": "Upload failed",
|
|
"taskStateCancelled": "Cancelled",
|
|
"errorPrepSourceUnreadable": "Could not read the selected photo. Please reselect",
|
|
"errorPrepUnsupportedType": "Only JPG, PNG and HEIC images are supported",
|
|
"errorPrepTooLarge": "Photo exceeds the 50MB limit",
|
|
"errorPrepCopyFailed": "Failed to copy the photo. Please retry",
|
|
"errorUploadSourceMissing": "Source file is missing. Please reselect",
|
|
"errorAlbumUploadDisabled": "Album uploads are disabled",
|
|
"errorUploadSessionConflict": "Upload session conflict. Please retry",
|
|
"errorUploadVerifyFailed": "Upload verification failed. Will retry",
|
|
"captureTitle": "Continuous capture",
|
|
"captureCategoryDefault": "Default category",
|
|
"captureSwitchHint": "Switching only affects photos captured afterwards",
|
|
"capturePendingBadge": "Pending {count}",
|
|
"@capturePendingBadge": { "placeholders": { "count": { "type": "int" } } },
|
|
"captureFailedBadge": "Failed {count}",
|
|
"@captureFailedBadge": { "placeholders": { "count": { "type": "int" } } },
|
|
"capturePickFromGallery": "Pick from gallery",
|
|
"captureShutter": "Capture",
|
|
"captureExitTitle": "Leave shooting?",
|
|
"captureExitBody": "{count} photo(s) are still uploading. Tasks will continue in the background after you leave.",
|
|
"@captureExitBody": { "placeholders": { "count": { "type": "int" } } },
|
|
"captureKeepShooting": "Keep shooting",
|
|
"captureExitConfirm": "Leave",
|
|
"cameraPermissionDenied": "Camera unavailable. Allow camera access in system settings",
|
|
"cameraInitFailed": "Camera failed to initialize",
|
|
"uploadActionCapture": "Capture and upload",
|
|
"uploadActionPick": "Pick from gallery",
|
|
"uploadAction": "Upload",
|
|
"uploadEnqueuedCount": "Added {count} photo(s) to the upload queue",
|
|
"@uploadEnqueuedCount": { "placeholders": { "count": { "type": "int" } } },
|
|
"uploadPickNone": "No photos selected"
|
|
}
|