while most strings which fineuploader sends to end users (not the developer fixing bugs in embedding fine uploader) come from the template, and are hereby easily translateable on the serverside creating that template, I've found some places which don't seem to have this origin?
the place which came to me during using:
confirmMessage: "Are you sure you want to delete {filename}?",
a couple of other strings can be found when grepping through fineuploader-4.2.1.js:
qq.status = {
SUBMITTING: "submitting",
SUBMITTED: "submitted",
REJECTED: "rejected",
QUEUED: "queued",
CANCELED: "canceled",
PAUSED: "paused",
UPLOADING: "uploading",
UPLOAD_RETRYING: "retrying upload",
UPLOAD_SUCCESSFUL: "upload successful",
UPLOAD_FAILED: "upload failed",
DELETE_FAILED: "delete failed",
DELETING: "deleting",
DELETED: "deleted"
return new qq.Promise().failure(imgOrCanvas, "File or URL not found.");
"due to CORS on a user agent that does not support pre-flighting.", "warn");
this._options.callbacks.onError(id, name, "Delete request failed", xhrOrXdr);
this._options.callbacks.onError(id, name, "Delete request failed with response code " + xhrOrXdr.status, xhrOrXdr);
this._options.callbacks.onError(id, name, "XHR returned response code " + xhr.status, xhr);
typeError: "{file} has an invalid extension. Valid extension(s): {extensions}.",
sizeError: "{file} is too large, maximum file size is {sizeLimit}.",
minSizeError: "{file} is too small, minimum file size is {minSizeLimit}.",
emptyError: "{file} is empty, please select files again without it.",
noFilesError: "No files to upload.",
tooManyItemsError: "Too many items ({netItems}) would be uploaded. Item limit is {itemLimit}.",
maxHeightImageError: "Image is too tall.",
maxWidthImageError: "Image is too wide.",
minHeightImageError: "Image is not tall enough.",
minWidthImageError: "Image is not wide enough.",
retryFailTooManyItems: "Retry failed - you have reached your file limit.",
onLeave: "The files are being uploaded, if you leave now the upload will be canceled."
responseProperty: "error",
tooManyFilesError: "You may only drop one file",
unsupportedBrowser: "Unrecoverable error - this browser does not permit file uploading of any kind."
autoRetryNote: "Retrying {retryNum}/{maxAuto}..."
confirmMessage: "Are you sure you want to delete {filename}?",
deletingStatusText: "Deleting...",
deletingFailedText: "Delete failed"
namePromptMessage: "Please name this image"
throw new Error("file with passed id was not added, or already uploaded or canceled");
promise.failure(img, "Problem drawing thumbnail!");
drawPreview.failure(container, "Browser cannot render image!");
drawPreview.failure(container, "Not previewable");
thePromise.failure("No EXIF header to be found!");
did I miss something in the documentation here?
THIA - Cheers,
Willi