@@ -460,7 +459,7 @@ function BrowserFileView({
) : (
-
+
Click to select a file
@@ -483,7 +482,7 @@ function BrowserFileView({
Popular images
-
+
{popularImages.map((image, index) => (
-
+
{formatters.truncateMiddle(image.name, 40)}
{image.description && (
@@ -809,7 +808,7 @@ function DeviceFileView({
-
+
No images available
@@ -827,7 +826,7 @@ function DeviceFileView({
) : (
-
+
{currentFiles.map((file, index) => (
@@ -1282,7 +1281,7 @@ function UploadFileView({
-
+
{incompleteFileName
? `Click to select "${incompleteFileName.replace(".incomplete", "")}"`
: "Click to select a file"}
@@ -1336,7 +1335,7 @@ function UploadFileView({
-
+
Upload successful
@@ -1422,7 +1421,7 @@ function ErrorView({
-
Mount Error
+
Mount Error
An error occurred while attempting to mount the media. Please try again.
@@ -1481,8 +1480,8 @@ function PreUploadedImageItem({
}}
>
-
-
+
+
{formatters.truncateMiddle(name, 45)}
@@ -1494,7 +1493,7 @@ function PreUploadedImageItem({
-
+
e.stopPropagation()} // Prevent double-firing of onSelect
/>
) : (
@@ -1540,7 +1539,7 @@ function PreUploadedImageItem({
function ViewHeader({ title, description }: { title: string; description: string }) {
return (