|
@@ -1,9 +1,10 @@
|
|
|
+/* eslint-disable @typescript-eslint/ban-ts-comment */
|
|
|
import type { Locale } from '@uppy/utils/lib/Translator'
|
|
|
|
|
|
const en_US: Locale<0 | 1> = {
|
|
|
strings: {},
|
|
|
- pluralize(count) {
|
|
|
- if (count === 1) {
|
|
|
+ pluralize(n) {
|
|
|
+ if (n === 1) {
|
|
|
return 0
|
|
|
}
|
|
|
return 1
|
|
@@ -21,6 +22,8 @@ en_US.strings = {
|
|
|
'%{count} additional restrictions were not fulfilled',
|
|
|
addMore: 'Add more',
|
|
|
addMoreFiles: 'Add more files',
|
|
|
+ aggregateExceedsSize:
|
|
|
+ 'You selected %{size} of files, but maximum allowed size is %{sizeAllowed}',
|
|
|
allFilesFromFolderNamed: 'All files from folder %{name}',
|
|
|
allowAccessDescription:
|
|
|
'In order to take pictures or record video with your camera, please allow camera access for this site.',
|
|
@@ -70,8 +73,8 @@ en_US.strings = {
|
|
|
dropPasteImportFiles: 'Drop files here, %{browseFiles} or import from:',
|
|
|
dropPasteImportFolders: 'Drop files here, %{browseFolders} or import from:',
|
|
|
editFile: 'Edit file',
|
|
|
- editImage: 'Edit image',
|
|
|
editFileWithFilename: 'Edit file %{file}',
|
|
|
+ editImage: 'Edit image',
|
|
|
editing: 'Editing %{file}',
|
|
|
emptyFolderAdded: 'No files were added from empty folder',
|
|
|
encoding: 'Encoding...',
|
|
@@ -90,7 +93,7 @@ en_US.strings = {
|
|
|
},
|
|
|
filter: 'Filter',
|
|
|
finishEditingFile: 'Finish editing file',
|
|
|
- flipHorizontal: 'Flip horizontal',
|
|
|
+ flipHorizontal: 'Flip horizontally',
|
|
|
folderAdded: {
|
|
|
'0': 'Added %{smart_count} file from %{folder}',
|
|
|
'1': 'Added %{smart_count} files from %{folder}',
|
|
@@ -134,8 +137,12 @@ en_US.strings = {
|
|
|
pluginNameDropbox: 'Dropbox',
|
|
|
pluginNameFacebook: 'Facebook',
|
|
|
pluginNameGoogleDrive: 'Google Drive',
|
|
|
+ pluginNameGooglePhotos: 'Google Photos',
|
|
|
pluginNameInstagram: 'Instagram',
|
|
|
pluginNameOneDrive: 'OneDrive',
|
|
|
+ pluginNameScreenCapture: 'Screencast',
|
|
|
+ pluginNameUnsplash: 'Unsplash',
|
|
|
+ pluginNameUrl: 'Link',
|
|
|
pluginNameZoom: 'Zoom',
|
|
|
poweredBy: 'Powered by %{uppy}',
|
|
|
processingXFiles: {
|
|
@@ -160,8 +167,8 @@ en_US.strings = {
|
|
|
resumeUpload: 'Resume upload',
|
|
|
retry: 'Retry',
|
|
|
retryUpload: 'Retry upload',
|
|
|
- revert: 'Revert',
|
|
|
- rotate: 'Rotate',
|
|
|
+ revert: 'Reset',
|
|
|
+ rotate: 'Rotate 90°',
|
|
|
save: 'Save',
|
|
|
saveChanges: 'Save changes',
|
|
|
search: 'Search',
|
|
@@ -185,7 +192,7 @@ en_US.strings = {
|
|
|
submitRecordedFile: 'Submit recorded file',
|
|
|
takePicture: 'Take a picture',
|
|
|
takePictureBtn: 'Take Picture',
|
|
|
- timedOut: 'Upload stalled for %{seconds} seconds, aborting.',
|
|
|
+ unnamed: 'Unnamed',
|
|
|
upload: 'Upload',
|
|
|
uploadComplete: 'Upload complete',
|
|
|
uploadFailed: 'Upload failed',
|
|
@@ -227,4 +234,10 @@ en_US.strings = {
|
|
|
zoomOut: 'Zoom out',
|
|
|
}
|
|
|
|
|
|
+// @ts-ignore untyped
|
|
|
+if (typeof Uppy !== 'undefined') {
|
|
|
+ // @ts-ignore untyped
|
|
|
+ globalThis.Uppy.locales.en_US = en_US
|
|
|
+}
|
|
|
+
|
|
|
export default en_US
|