Localize IPFS upload and attach messages
Give IpfsUploadConfigException a reason enum mapped to l10n strings in the attach flow, and show a localized empty-file message and generic upload-failed message instead of raw English exception text.
This commit is contained in:
1 parent
34db64d7af
commit
c111835bd0
24 files changed
+536
-13
No files matched your search
@@ -21,6 +21,11 @@
|
||||
"chat_sendImageIpfs",
|
||||
"chat_ipfsUploadFailed",
|
||||
"chat_ipfsUploadNotConfigured",
|
||||
"chat_ipfsSelectedFileEmpty",
|
||||
"chat_ipfsEndpointInvalid",
|
||||
"chat_ipfsPinataTokenMissing",
|
||||
"chat_ipfsFilebaseTokenMissing",
|
||||
"chat_ipfsKuboPathInvalid",
|
||||
"chat_ipfsLinkNoRoom",
|
||||
"chat_ipfsLinkOverLimit",
|
||||
"map_pathTraceAddMoreHint",
|
||||
@@ -66,6 +71,11 @@
|
||||
"chat_sendImageIpfs",
|
||||
"chat_ipfsUploadFailed",
|
||||
"chat_ipfsUploadNotConfigured",
|
||||
"chat_ipfsSelectedFileEmpty",
|
||||
"chat_ipfsEndpointInvalid",
|
||||
"chat_ipfsPinataTokenMissing",
|
||||
"chat_ipfsFilebaseTokenMissing",
|
||||
"chat_ipfsKuboPathInvalid",
|
||||
"chat_ipfsLinkNoRoom",
|
||||
"chat_ipfsLinkOverLimit",
|
||||
"map_pathTraceAddMoreHint",
|
||||
@@ -111,6 +121,11 @@
|
||||
"chat_sendImageIpfs",
|
||||
"chat_ipfsUploadFailed",
|
||||
"chat_ipfsUploadNotConfigured",
|
||||
"chat_ipfsSelectedFileEmpty",
|
||||
"chat_ipfsEndpointInvalid",
|
||||
"chat_ipfsPinataTokenMissing",
|
||||
"chat_ipfsFilebaseTokenMissing",
|
||||
"chat_ipfsKuboPathInvalid",
|
||||
"chat_ipfsLinkNoRoom",
|
||||
"chat_ipfsLinkOverLimit",
|
||||
"map_pathTraceAddMoreHint",
|
||||
@@ -156,6 +171,11 @@
|
||||
"chat_sendImageIpfs",
|
||||
"chat_ipfsUploadFailed",
|
||||
"chat_ipfsUploadNotConfigured",
|
||||
"chat_ipfsSelectedFileEmpty",
|
||||
"chat_ipfsEndpointInvalid",
|
||||
"chat_ipfsPinataTokenMissing",
|
||||
"chat_ipfsFilebaseTokenMissing",
|
||||
"chat_ipfsKuboPathInvalid",
|
||||
"chat_ipfsLinkNoRoom",
|
||||
"chat_ipfsLinkOverLimit",
|
||||
"map_pathTraceAddMoreHint",
|
||||
@@ -201,6 +221,11 @@
|
||||
"chat_sendImageIpfs",
|
||||
"chat_ipfsUploadFailed",
|
||||
"chat_ipfsUploadNotConfigured",
|
||||
"chat_ipfsSelectedFileEmpty",
|
||||
"chat_ipfsEndpointInvalid",
|
||||
"chat_ipfsPinataTokenMissing",
|
||||
"chat_ipfsFilebaseTokenMissing",
|
||||
"chat_ipfsKuboPathInvalid",
|
||||
"chat_ipfsLinkNoRoom",
|
||||
"chat_ipfsLinkOverLimit",
|
||||
"map_pathTraceAddMoreHint",
|
||||
@@ -246,6 +271,11 @@
|
||||
"chat_sendImageIpfs",
|
||||
"chat_ipfsUploadFailed",
|
||||
"chat_ipfsUploadNotConfigured",
|
||||
"chat_ipfsSelectedFileEmpty",
|
||||
"chat_ipfsEndpointInvalid",
|
||||
"chat_ipfsPinataTokenMissing",
|
||||
"chat_ipfsFilebaseTokenMissing",
|
||||
"chat_ipfsKuboPathInvalid",
|
||||
"chat_ipfsLinkNoRoom",
|
||||
"chat_ipfsLinkOverLimit",
|
||||
"map_pathTraceAddMoreHint",
|
||||
@@ -291,6 +321,11 @@
|
||||
"chat_sendImageIpfs",
|
||||
"chat_ipfsUploadFailed",
|
||||
"chat_ipfsUploadNotConfigured",
|
||||
"chat_ipfsSelectedFileEmpty",
|
||||
"chat_ipfsEndpointInvalid",
|
||||
"chat_ipfsPinataTokenMissing",
|
||||
"chat_ipfsFilebaseTokenMissing",
|
||||
"chat_ipfsKuboPathInvalid",
|
||||
"chat_ipfsLinkNoRoom",
|
||||
"chat_ipfsLinkOverLimit",
|
||||
"map_pathTraceAddMoreHint",
|
||||
@@ -336,6 +371,11 @@
|
||||
"chat_sendImageIpfs",
|
||||
"chat_ipfsUploadFailed",
|
||||
"chat_ipfsUploadNotConfigured",
|
||||
"chat_ipfsSelectedFileEmpty",
|
||||
"chat_ipfsEndpointInvalid",
|
||||
"chat_ipfsPinataTokenMissing",
|
||||
"chat_ipfsFilebaseTokenMissing",
|
||||
"chat_ipfsKuboPathInvalid",
|
||||
"chat_ipfsLinkNoRoom",
|
||||
"chat_ipfsLinkOverLimit",
|
||||
"map_pathTraceAddMoreHint",
|
||||
@@ -381,6 +421,11 @@
|
||||
"chat_sendImageIpfs",
|
||||
"chat_ipfsUploadFailed",
|
||||
"chat_ipfsUploadNotConfigured",
|
||||
"chat_ipfsSelectedFileEmpty",
|
||||
"chat_ipfsEndpointInvalid",
|
||||
"chat_ipfsPinataTokenMissing",
|
||||
"chat_ipfsFilebaseTokenMissing",
|
||||
"chat_ipfsKuboPathInvalid",
|
||||
"chat_ipfsLinkNoRoom",
|
||||
"chat_ipfsLinkOverLimit",
|
||||
"map_pathTraceAddMoreHint",
|
||||
@@ -426,6 +471,11 @@
|
||||
"chat_sendImageIpfs",
|
||||
"chat_ipfsUploadFailed",
|
||||
"chat_ipfsUploadNotConfigured",
|
||||
"chat_ipfsSelectedFileEmpty",
|
||||
"chat_ipfsEndpointInvalid",
|
||||
"chat_ipfsPinataTokenMissing",
|
||||
"chat_ipfsFilebaseTokenMissing",
|
||||
"chat_ipfsKuboPathInvalid",
|
||||
"chat_ipfsLinkNoRoom",
|
||||
"chat_ipfsLinkOverLimit",
|
||||
"map_pathTraceAddMoreHint",
|
||||
@@ -471,6 +521,11 @@
|
||||
"chat_sendImageIpfs",
|
||||
"chat_ipfsUploadFailed",
|
||||
"chat_ipfsUploadNotConfigured",
|
||||
"chat_ipfsSelectedFileEmpty",
|
||||
"chat_ipfsEndpointInvalid",
|
||||
"chat_ipfsPinataTokenMissing",
|
||||
"chat_ipfsFilebaseTokenMissing",
|
||||
"chat_ipfsKuboPathInvalid",
|
||||
"chat_ipfsLinkNoRoom",
|
||||
"chat_ipfsLinkOverLimit",
|
||||
"map_pathTraceAddMoreHint",
|
||||
@@ -516,6 +571,11 @@
|
||||
"chat_sendImageIpfs",
|
||||
"chat_ipfsUploadFailed",
|
||||
"chat_ipfsUploadNotConfigured",
|
||||
"chat_ipfsSelectedFileEmpty",
|
||||
"chat_ipfsEndpointInvalid",
|
||||
"chat_ipfsPinataTokenMissing",
|
||||
"chat_ipfsFilebaseTokenMissing",
|
||||
"chat_ipfsKuboPathInvalid",
|
||||
"chat_ipfsLinkNoRoom",
|
||||
"chat_ipfsLinkOverLimit",
|
||||
"map_pathTraceAddMoreHint",
|
||||
@@ -561,6 +621,11 @@
|
||||
"chat_sendImageIpfs",
|
||||
"chat_ipfsUploadFailed",
|
||||
"chat_ipfsUploadNotConfigured",
|
||||
"chat_ipfsSelectedFileEmpty",
|
||||
"chat_ipfsEndpointInvalid",
|
||||
"chat_ipfsPinataTokenMissing",
|
||||
"chat_ipfsFilebaseTokenMissing",
|
||||
"chat_ipfsKuboPathInvalid",
|
||||
"chat_ipfsLinkNoRoom",
|
||||
"chat_ipfsLinkOverLimit",
|
||||
"map_pathTraceAddMoreHint",
|
||||
@@ -606,6 +671,11 @@
|
||||
"chat_sendImageIpfs",
|
||||
"chat_ipfsUploadFailed",
|
||||
"chat_ipfsUploadNotConfigured",
|
||||
"chat_ipfsSelectedFileEmpty",
|
||||
"chat_ipfsEndpointInvalid",
|
||||
"chat_ipfsPinataTokenMissing",
|
||||
"chat_ipfsFilebaseTokenMissing",
|
||||
"chat_ipfsKuboPathInvalid",
|
||||
"chat_ipfsLinkNoRoom",
|
||||
"chat_ipfsLinkOverLimit",
|
||||
"map_pathTraceAddMoreHint",
|
||||
@@ -651,6 +721,11 @@
|
||||
"chat_sendImageIpfs",
|
||||
"chat_ipfsUploadFailed",
|
||||
"chat_ipfsUploadNotConfigured",
|
||||
"chat_ipfsSelectedFileEmpty",
|
||||
"chat_ipfsEndpointInvalid",
|
||||
"chat_ipfsPinataTokenMissing",
|
||||
"chat_ipfsFilebaseTokenMissing",
|
||||
"chat_ipfsKuboPathInvalid",
|
||||
"chat_ipfsLinkNoRoom",
|
||||
"chat_ipfsLinkOverLimit",
|
||||
"map_pathTraceAddMoreHint",
|
||||
@@ -696,6 +771,11 @@
|
||||
"chat_sendImageIpfs",
|
||||
"chat_ipfsUploadFailed",
|
||||
"chat_ipfsUploadNotConfigured",
|
||||
"chat_ipfsSelectedFileEmpty",
|
||||
"chat_ipfsEndpointInvalid",
|
||||
"chat_ipfsPinataTokenMissing",
|
||||
"chat_ipfsFilebaseTokenMissing",
|
||||
"chat_ipfsKuboPathInvalid",
|
||||
"chat_ipfsLinkNoRoom",
|
||||
"chat_ipfsLinkOverLimit",
|
||||
"map_pathTraceAddMoreHint",
|
||||
@@ -741,6 +821,11 @@
|
||||
"chat_sendImageIpfs",
|
||||
"chat_ipfsUploadFailed",
|
||||
"chat_ipfsUploadNotConfigured",
|
||||
"chat_ipfsSelectedFileEmpty",
|
||||
"chat_ipfsEndpointInvalid",
|
||||
"chat_ipfsPinataTokenMissing",
|
||||
"chat_ipfsFilebaseTokenMissing",
|
||||
"chat_ipfsKuboPathInvalid",
|
||||
"chat_ipfsLinkNoRoom",
|
||||
"chat_ipfsLinkOverLimit",
|
||||
"map_pathTraceAddMoreHint",
|
||||
|
||||
Reference in new issue
Block a user