- Adds i18n for error messages when uploading images.

- Forces nip95 to be under 80Kb
- Fixes bug that wouldn't show an error when uploading images in the reels page.
- Only saves default server if not NIP95
This commit is contained in:
Vitor Pamplona
2023-12-17 17:26:17 -05:00
parent 238ade9ccb
commit 9026c877ac
6 changed files with 71 additions and 50 deletions
+8
View File
@@ -684,4 +684,12 @@
<string name="classifieds_category_food">Food</string>
<string name="classifieds_category_misc">Miscellaneous</string>
<string name="classifieds_category_other">Other</string>
<string name="failed_to_upload_media_no_details">Failed to upload media</string>
<string name="could_not_open_the_compressed_file">Could not open the compressed file</string>
<string name="error_when_compressing_media">Error when compressing media: %1$s</string>
<string name="failed_to_upload_media">Uploading error: %1$s</string>
<string name="server_did_not_provide_a_url_after_uploading">Server did not provide a URL after uploading</string>
<string name="could_not_download_from_the_server">Could not download uploaded media from the server</string>
<string name="could_not_prepare_local_file_to_upload">Could not prepare local file to upload: %1$s</string>
</resources>