trypost/lang/en/assets.php
Paulo Castellano f0e2907ab5 fix(accounts,media): address PR review findings
Connect flow:
- surface OAuth failures: useOAuthPopup forwards {success, message}; the
  accounts grid toasts the error instead of silently reloading
- detect a blocked popup and toast a "allow popups" message
- PopupCallback only promises auto-close when it has an opener, otherwise
  tells the user to close it; adds role=status/aria-live and aria-hidden icons
- drop the dead LinkedInPage connect-route entry and the unsent access_token
  field on the Facebook page-select type

Media/gallery:
- delete dead code: MediaDropzone.vue and useDragAndDrop.ts (no references)
- GalleryBrowser toasts per-file upload failures instead of swallowing them;
  cards are always clickable now that videos open in the lightbox
- formatDurationMs rounds the sub-second branch and tolerates undefined
- advertise PDF in the gallery's accepted-formats hint

i18n: popup_blocked, manual_close (accounts) and upload.failed (assets) in all locales.
2026-06-25 19:06:43 -03:00

52 lines
1.6 KiB
PHP

<?php
return [
'title' => 'Assets',
'tabs' => [
'my_uploads' => 'My Uploads',
'stock_photos' => 'Stock Photos',
'gifs' => 'GIFs',
],
'upload' => [
'drag_drop' => 'Drag & drop your files here, or click to select',
'formats' => 'JPEG, PNG, GIF, WebP, MP4, PDF',
'uploading' => 'Uploading...',
'failed' => 'Could not upload :file. Please try again.',
],
'empty' => [
'title' => 'No assets yet',
'description' => 'Upload images and videos to build your media library.',
],
'save_to_assets' => 'Save to Assets',
'saved' => 'Saved to your assets!',
'create_post' => 'Create post',
'add_to_post' => 'Add to post',
'search_placeholder' => 'Search media...',
'delete' => [
'title' => 'Delete asset',
'description' => 'Are you sure you want to delete this asset? This action cannot be undone.',
'confirm' => 'Delete',
'cancel' => 'Cancel',
],
'unsplash' => [
'search_placeholder' => 'Search free photos...',
'no_results' => 'No photos found',
'no_results_description' => 'Try a different search term.',
'trending' => 'Trending on Unsplash',
'start_searching' => 'Search for free stock photos from Unsplash',
],
'giphy' => [
'trending' => 'Trending on Giphy',
'search_placeholder' => 'Search GIFs...',
'no_results' => 'No GIFs found',
'no_results_description' => 'Try a different search term.',
'powered_by' => 'Powered by GIPHY',
],
];