From 060734bd11438a2ff3a6bb2beab15d91c2808d91 Mon Sep 17 00:00:00 2001 From: Merlijn Vos Date: Mon, 16 Dec 2024 14:20:26 +0100 Subject: [PATCH] Add missing Google Picker locale entries (#5552) --- packages/@uppy/google-drive-picker/src/locale.ts | 4 +++- packages/@uppy/google-photos-picker/src/locale.ts | 4 +++- packages/@uppy/locales/src/en_US.ts | 5 +++++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/packages/@uppy/google-drive-picker/src/locale.ts b/packages/@uppy/google-drive-picker/src/locale.ts index 6dcfedeef9..192fe75dd3 100644 --- a/packages/@uppy/google-drive-picker/src/locale.ts +++ b/packages/@uppy/google-drive-picker/src/locale.ts @@ -1,3 +1,5 @@ export default { - strings: {}, + strings: { + pluginNameGoogleDrive: 'Google Drive', + }, } diff --git a/packages/@uppy/google-photos-picker/src/locale.ts b/packages/@uppy/google-photos-picker/src/locale.ts index 6dcfedeef9..e12b583018 100644 --- a/packages/@uppy/google-photos-picker/src/locale.ts +++ b/packages/@uppy/google-photos-picker/src/locale.ts @@ -1,3 +1,5 @@ export default { - strings: {}, + strings: { + pluginNameGooglePhotos: 'Google Photos', + }, } diff --git a/packages/@uppy/locales/src/en_US.ts b/packages/@uppy/locales/src/en_US.ts index 76324ee4be..63db6e5714 100644 --- a/packages/@uppy/locales/src/en_US.ts +++ b/packages/@uppy/locales/src/en_US.ts @@ -61,6 +61,7 @@ en_US.strings = { dashboardTitle: 'Uppy Dashboard', dashboardWindowTitle: 'Uppy Dashboard Window (Press escape to close)', dataUploadedOfTotal: '%{complete} of %{total}', + dataUploadedOfUnknown: '%{complete} of unknown', discardRecordedFile: 'Discard recorded file', done: 'Done', dropHereOr: 'Drop here or %{browse}', @@ -106,6 +107,7 @@ en_US.strings = { inferiorSize: 'This file is smaller than the allowed size of %{size}', loadedXFiles: 'Loaded %{numFiles} files', loading: 'Loading...', + logIn: 'Log in', logOut: 'Log out', micDisabled: 'Microphone access denied by user', missingRequiredMetaField: 'Missing required meta fields', @@ -131,6 +133,9 @@ en_US.strings = { pause: 'Pause', paused: 'Paused', pauseUpload: 'Pause upload', + pickFiles: 'Pick files', + pickPhotos: 'Pick photos', + pleaseWait: 'Please wait', pluginNameAudio: 'Audio', pluginNameBox: 'Box', pluginNameCamera: 'Camera',