diff --git a/README.md b/README.md index c0e9c10..0ff0d44 100644 --- a/README.md +++ b/README.md @@ -302,42 +302,40 @@ const options = { ### 🏳️ Localization -Default is [EN_US](https://github.com/bytescale/bytescale-upload-widget-angular/blob/main/lib/src/modules/locales/EN_US.ts): +Default is [EN_US](https://github.com/bytescale/bytescale-upload-widget/blob/main/lib/src/modules/locales/EN_US.ts): ```javascript const myCustomLocale = { - "error!": "Error!", - "done": "Done", - "addAnotherFile": "Add another file...", - "addAnotherImage": "Add another image...", - "cancel": "cancel", - "cancelInPreviewWindow": "Cancel", - "cancelled!": "cancelled", - "continue": "Continue", - "customValidationFailed": "Failed to validate file.", - "crop": "Crop", - "finish": "Finished", - "finishIcon": true, - "image": "Image", - "maxFilesReached": "Maximum number of files:", - "maxImagesReached": "Maximum number of images:", - "maxSize": "File size limit:", - "next": "Next", - "of": "of", - "orDragDropFile": "...or drag and drop a file.", - "orDragDropFiles": "...or drag and drop files.", - "orDragDropImage": "...or drag and drop an image.", - "orDragDropImages": "...or drag and drop images.", - "pleaseWait": "Please wait...", - "removed!": "removed", - "remove": "remove", - "skip": "Skip", - "unsupportedFileType": "File type not supported.", - "uploadFile": "Upload a File", - "uploadFiles": "Upload Files", - "uploadImage": "Upload an Image", - "uploadImages": "Upload Images", - "validatingFile": "Validating file..." + addAnotherFileBtn: "Add another file...", + addAnotherImageBtn: "Add another image...", + cancelBtn: "cancel", + cancelBtnClicked: "cancelled", + cancelPreviewBtn: "Cancel", + continueBtn: "Continue", + cropBtn: "Crop", + customValidationFailed: "Failed to validate file.", + doneBtn: "Done", + fileSizeLimitPrefix: "File size limit:", + finishBtn: "Finished", + finishBtnIcon: true, + imageCropNumberPrefix: "Image", + maxFilesReachedPrefix: "Maximum number of files:", + maxImagesReachedPrefix: "Maximum number of images:", + orDragDropFile: "...or drag and drop a file.", + orDragDropFileMulti: "...or drag and drop files.", + orDragDropImage: "...or drag and drop an image.", + orDragDropImageMulti: "...or drag and drop images.", + processingFile: "Processing file...", + removeBtn: "remove", + removeBtnClicked: "removed", + submitBtnError: "Error!", + submitBtnLoading: "Please wait...", + unsupportedFileType: "File type not supported.", + uploadFileBtn: "Upload a File", + uploadFileMultiBtn: "Upload Files", + uploadImageBtn: "Upload an Image", + uploadImageMultiBtn: "Upload Images", + xOfY: "of" } ```