+ {failed ? (
+
+
{copy.error}
+
+
+ ) : photos === null ? (
+
+ {copy.loading}
+
+ ) : photos.length === 0 ? (
+
{copy.empty}
+ ) : (
+
+ {photos.map((photo) => (
+
+ ))}
+
+ )}
+ {editable && scope === "me" ? (
+
+
+
= 10
+ }
+ onChange={(event) => void selectFile(event)}
+ />
+
+ {copy.hint} {copy.publication}
+
+ {photos?.length === 10 ? (
+
{copy.limit}
+ ) : null}
+
+ ) : null}
+
+ {uploading ? copy.uploading : saved ? copy.saved : null}
+
+ {uploadFailed ? (
+
+ {copy.uploadError}
+
+ ) : null}
+
+