1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-29 21:24:44 +03:00

Extract inline JS for import's upload progress logic

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
Maurício Meneghini Fauth
2022-11-25 17:02:35 -03:00
parent a00fabc80e
commit f115608c45
4 changed files with 150 additions and 165 deletions

View File

@@ -853,6 +853,19 @@ final class JavaScriptMessagesController
'These functions are meant to return a binary result; to avoid inconsistent results you should store'
. ' it in a BINARY, VARBINARY, or BLOB column.'
),
'uploadProgressMaximumAllowedSize' => __(
'The file being uploaded is probably larger than the maximum allowed size.'
),
'uploadProgressStatusText' => __('%s of %s'),
'uploadProgressPerSecond' => __('%s/sec.'),
'uploadProgressRemainingMin' => __('About %MIN min. %SEC sec. remaining.'),
'uploadProgressRemainingSec' => __('About %SEC sec. remaining.'),
'uploadProgressBeingProcessed' => __('The file is being processed, please be patient.'),
'uploadProgressUploading' => __('Uploading your import file…'),
'uploadProgressNoDetails' => __(
'Please be patient, the file is being uploaded. Details about the upload are not available.'
),
];
}
}