From 75ddac456e2f1e0cdc07e1de81546a2e1c46bebf Mon Sep 17 00:00:00 2001 From: boxmoji Date: Mon, 13 Jan 2025 12:57:04 -0800 Subject: [PATCH 1/3] fix(content-explorer): add file selection validation callback Co-Authored-By: Swaroop Butala --- i18n/bn-IN.properties | 2 +- i18n/da-DK.properties | 2 +- i18n/de-DE.properties | 2 +- i18n/es-419.properties | 2 +- i18n/es-ES.properties | 2 +- i18n/fi-FI.properties | 2 +- i18n/fr-CA.properties | 2 +- i18n/fr-FR.properties | 2 +- i18n/hi-IN.properties | 2 +- i18n/it-IT.properties | 2 +- i18n/ko-KR.properties | 4 ++-- i18n/nb-NO.properties | 2 +- i18n/nl-NL.properties | 2 +- i18n/pl-PL.properties | 2 +- i18n/pt-BR.properties | 2 +- i18n/ru-RU.properties | 4 ++-- i18n/sv-SE.properties | 2 +- i18n/tr-TR.properties | 4 ++-- i18n/zh-CN.properties | 2 +- i18n/zh-TW.properties | 2 +- .../content-explorer/ContentExplorer.js | 7 +++++++ .../content-explorer/ContentExplorer.js.flow | 14 ++++++++++++++ 22 files changed, 44 insertions(+), 23 deletions(-) create mode 100644 src/features/content-explorer/content-explorer/ContentExplorer.js.flow diff --git a/i18n/bn-IN.properties b/i18n/bn-IN.properties index a2de5d61ae..e4907f82a4 100644 --- a/i18n/bn-IN.properties +++ b/i18n/bn-IN.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} v{version_number}মুছে দিয়েছে # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} কোলাবোরেটর {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} জন সহযোগী v{versions}আপলোড করেছে # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/da-DK.properties b/i18n/da-DK.properties index 26ea7951e5..043179ec7b 100644 --- a/i18n/da-DK.properties +++ b/i18n/da-DK.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} slettede v{version_number} # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} samarbejdspartnere {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} samarbejdspartnere uploadede v{versions} # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/de-DE.properties b/i18n/de-DE.properties index 172234a5ac..a5d5d74320 100644 --- a/i18n/de-DE.properties +++ b/i18n/de-DE.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} hat Version {version_number} gelöscht # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} Mitarbeiter {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} Mitarbeiter haben Versionen {versions} hochgeladen # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/es-419.properties b/i18n/es-419.properties index c61db8a791..e0bf0cb3c4 100644 --- a/i18n/es-419.properties +++ b/i18n/es-419.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} ha eliminado la versión {version_number} # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} colaboradores {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} colaboradores han cargado las versiones {versions} # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/es-ES.properties b/i18n/es-ES.properties index 99e3b0d445..bd6cfd2977 100644 --- a/i18n/es-ES.properties +++ b/i18n/es-ES.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} ha eliminado la versión {version_number} # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} colaboradores {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} colaboradores han cargado las versiones {versions} # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/fi-FI.properties b/i18n/fi-FI.properties index e7571da4bc..6ca4cceb60 100644 --- a/i18n/fi-FI.properties +++ b/i18n/fi-FI.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} poisti version {version_number} # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} yhteistyökumppania {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} yhteistyökumppania latasi palvelimeen {versions} versiota # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/fr-CA.properties b/i18n/fr-CA.properties index a63d15cd98..b90c6247cc 100644 --- a/i18n/fr-CA.properties +++ b/i18n/fr-CA.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} a supprimé la version {version_number} # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborateurs {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} collaborateurs ont chargé les versions {versions} # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/fr-FR.properties b/i18n/fr-FR.properties index a63d15cd98..b90c6247cc 100644 --- a/i18n/fr-FR.properties +++ b/i18n/fr-FR.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} a supprimé la version {version_number} # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborateurs {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} collaborateurs ont chargé les versions {versions} # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/hi-IN.properties b/i18n/hi-IN.properties index 3f82e86716..3ac131715a 100644 --- a/i18n/hi-IN.properties +++ b/i18n/hi-IN.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} ने वर्ज़न {version_number} हटाया # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} सहयोगियों ने {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} सहयोगियों ने वर्ज़न {versions} अपलोड किया # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/it-IT.properties b/i18n/it-IT.properties index 8ef26553bf..e4ee5759e4 100644 --- a/i18n/it-IT.properties +++ b/i18n/it-IT.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} ha eliminato la versione {version_number} # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaboratori {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} collaboratori hanno caricato le versioni {versions} # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/ko-KR.properties b/i18n/ko-KR.properties index 43a8cdef89..011849664a 100644 --- a/i18n/ko-KR.properties +++ b/i18n/ko-KR.properties @@ -845,11 +845,11 @@ be.uploadsRetryButtonTooltip = 업로드 다시 시도 # Error message shown when account storage limit has been reached be.uploadsStorageLimitErrorMessage = 계정 저장 공간 제한 도달 # Message displayed in the activity feed to represent the range of versions actioned by a single user. {name} is the user who did the action. {actionMessage} is the action. {versions} is a range of versions. -be.versionCollapsed = {name} {actionMessage} v{versions} +be.versionCollapsed = {name}이(가) v{versions}에 {actionMessage} 수행 # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} 님이 v{version_number}을(를) 삭제함 # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators}명이 v{versions}에 {actionMessage} 수행 # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators}명의 공동 작업자가 v{versions}을(를) 업로드함 # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/nb-NO.properties b/i18n/nb-NO.properties index 7e88b89886..333aeb46ba 100644 --- a/i18n/nb-NO.properties +++ b/i18n/nb-NO.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} slettet versjon {version_number} # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} samarbeidspartnere {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} samarbeidspartnere lastet opp versjon {versions} # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/nl-NL.properties b/i18n/nl-NL.properties index 2cb416f1c8..aeec25748e 100644 --- a/i18n/nl-NL.properties +++ b/i18n/nl-NL.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} heeft versie {version_number} verwijderd # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} medebewerkers {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} medebewerkers hebben versies {versions} geüpload # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/pl-PL.properties b/i18n/pl-PL.properties index bf7bbae3a8..e3ceef2c5c 100644 --- a/i18n/pl-PL.properties +++ b/i18n/pl-PL.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = Użytkownik {name} usunął wersję {version_number} # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = Współpracownicy: {numberOfCollaborators} {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} współpracowników przekazało wersje {versions} # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/pt-BR.properties b/i18n/pt-BR.properties index 250705d09f..e04788f174 100644 --- a/i18n/pt-BR.properties +++ b/i18n/pt-BR.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} excluiu a v{version_number} # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} colaboradores {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} colaboradores carregaram as v{versions} # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/ru-RU.properties b/i18n/ru-RU.properties index 9439cf9534..d16a9c4eab 100644 --- a/i18n/ru-RU.properties +++ b/i18n/ru-RU.properties @@ -845,11 +845,11 @@ be.uploadsRetryButtonTooltip = Повторить попытку загрузк # Error message shown when account storage limit has been reached be.uploadsStorageLimitErrorMessage = Достигнут максимальный объем хранилища для учетной записи # Message displayed in the activity feed to represent the range of versions actioned by a single user. {name} is the user who did the action. {actionMessage} is the action. {versions} is a range of versions. -be.versionCollapsed = {name} {actionMessage} v{versions} +be.versionCollapsed = {name} {actionMessage} версии {versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = Пользователь {name} удалил версию {version_number} # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = Соавторы ({numberOfCollaborators}) {actionMessage} версии {versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = Соавторы ({numberOfCollaborators}) загрузили версии {versions} # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/sv-SE.properties b/i18n/sv-SE.properties index 86d6d62747..841d669315 100644 --- a/i18n/sv-SE.properties +++ b/i18n/sv-SE.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} raderade version {version_number} # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} medarbetare {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} medarbetare överförde version {versions} # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/tr-TR.properties b/i18n/tr-TR.properties index 94959071de..39b12dab5f 100644 --- a/i18n/tr-TR.properties +++ b/i18n/tr-TR.properties @@ -845,11 +845,11 @@ be.uploadsRetryButtonTooltip = Yüklemeyi yeniden dene # Error message shown when account storage limit has been reached be.uploadsStorageLimitErrorMessage = Hesap depolama sınırına ulaşıldı # Message displayed in the activity feed to represent the range of versions actioned by a single user. {name} is the user who did the action. {actionMessage} is the action. {versions} is a range of versions. -be.versionCollapsed = {name} {actionMessage} v{versions} +be.versionCollapsed = {name} {actionMessage} {versions} sürümü # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name}, {version_number} sürümünü sildi # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} işbirlikçi, {versions} sürümünü {actionMessage} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} işbirlikçi, {versions} sürümlerini yükledi # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/zh-CN.properties b/i18n/zh-CN.properties index 8c02a2551b..fd405439b7 100644 --- a/i18n/zh-CN.properties +++ b/i18n/zh-CN.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} 删除了版本 {version_number} # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} 个协作者 {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} 个协作者上传了版本 {versions} # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/zh-TW.properties b/i18n/zh-TW.properties index 472dc59598..aa0df5c9b7 100644 --- a/i18n/zh-TW.properties +++ b/i18n/zh-TW.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} 已刪除版本 v{version_number} # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} 位共同作業者 {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} 位共同作業者已上傳版本 v{versions} # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/src/features/content-explorer/content-explorer/ContentExplorer.js b/src/features/content-explorer/content-explorer/ContentExplorer.js index 3d3245b057..8b82177da9 100644 --- a/src/features/content-explorer/content-explorer/ContentExplorer.js +++ b/src/features/content-explorer/content-explorer/ContentExplorer.js @@ -91,6 +91,12 @@ class ContentExplorer extends Component { onSelectedClick: PropTypes.func, /** Called when the number of items selected text is clicked */ onViewSelectedClick: PropTypes.func, + /** + * Called before finalizing item selection to validate the selection + * @param {Array} selectedItems - Array of selected items + * @returns {boolean} - Return false to prevent selection, true or undefined to allow + */ + onSelection: PropTypes.func, /** * Called when a destination folder has been selected for moving an item to * @@ -168,6 +174,7 @@ class ContentExplorer extends Component { cancelButtonProps: {}, chooseButtonProps: {}, className: '', + onSelection: undefined, searchInputProps: {}, }; diff --git a/src/features/content-explorer/content-explorer/ContentExplorer.js.flow b/src/features/content-explorer/content-explorer/ContentExplorer.js.flow new file mode 100644 index 0000000000..2f14f78e18 --- /dev/null +++ b/src/features/content-explorer/content-explorer/ContentExplorer.js.flow @@ -0,0 +1,14 @@ +// @flow +import * as React from 'react'; +import type { BoxItem } from '../../../common/types/core'; + +type Props = { + onSelection?: (selectedItems: Array) => boolean, + ...React$ElementConfig, +}; + +declare export default class ContentExplorer extends React.Component { + static defaultProps: { + onSelection: void, + }; +} From f893eecdd1abc3077d8164134cbf76796d968f68 Mon Sep 17 00:00:00 2001 From: boxmoji Date: Mon, 13 Jan 2025 12:57:04 -0800 Subject: [PATCH 2/3] fix(content-explorer): add file selection validation callback Co-Authored-By: Swaroop Butala --- i18n/bn-IN.properties | 2 +- i18n/da-DK.properties | 2 +- i18n/de-DE.properties | 2 +- i18n/es-419.properties | 2 +- i18n/es-ES.properties | 2 +- i18n/fi-FI.properties | 2 +- i18n/fr-CA.properties | 2 +- i18n/fr-FR.properties | 2 +- i18n/hi-IN.properties | 2 +- i18n/it-IT.properties | 2 +- i18n/ko-KR.properties | 4 +- i18n/nb-NO.properties | 2 +- i18n/nl-NL.properties | 2 +- i18n/pl-PL.properties | 2 +- i18n/pt-BR.properties | 2 +- i18n/ru-RU.properties | 4 +- i18n/sv-SE.properties | 2 +- i18n/tr-TR.properties | 4 +- i18n/zh-CN.properties | 2 +- i18n/zh-TW.properties | 2 +- .../content-explorer/ContentExplorer.js | 32 ++++++- .../content-explorer/ContentExplorer.js.flow | 14 +++ .../__tests__/ContentExplorer.test.js | 94 +++++++++++++++++++ 23 files changed, 162 insertions(+), 24 deletions(-) create mode 100644 src/features/content-explorer/content-explorer/ContentExplorer.js.flow diff --git a/i18n/bn-IN.properties b/i18n/bn-IN.properties index a2de5d61ae..e4907f82a4 100644 --- a/i18n/bn-IN.properties +++ b/i18n/bn-IN.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} v{version_number}মুছে দিয়েছে # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} কোলাবোরেটর {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} জন সহযোগী v{versions}আপলোড করেছে # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/da-DK.properties b/i18n/da-DK.properties index 26ea7951e5..043179ec7b 100644 --- a/i18n/da-DK.properties +++ b/i18n/da-DK.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} slettede v{version_number} # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} samarbejdspartnere {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} samarbejdspartnere uploadede v{versions} # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/de-DE.properties b/i18n/de-DE.properties index 172234a5ac..a5d5d74320 100644 --- a/i18n/de-DE.properties +++ b/i18n/de-DE.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} hat Version {version_number} gelöscht # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} Mitarbeiter {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} Mitarbeiter haben Versionen {versions} hochgeladen # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/es-419.properties b/i18n/es-419.properties index c61db8a791..e0bf0cb3c4 100644 --- a/i18n/es-419.properties +++ b/i18n/es-419.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} ha eliminado la versión {version_number} # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} colaboradores {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} colaboradores han cargado las versiones {versions} # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/es-ES.properties b/i18n/es-ES.properties index 99e3b0d445..bd6cfd2977 100644 --- a/i18n/es-ES.properties +++ b/i18n/es-ES.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} ha eliminado la versión {version_number} # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} colaboradores {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} colaboradores han cargado las versiones {versions} # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/fi-FI.properties b/i18n/fi-FI.properties index e7571da4bc..6ca4cceb60 100644 --- a/i18n/fi-FI.properties +++ b/i18n/fi-FI.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} poisti version {version_number} # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} yhteistyökumppania {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} yhteistyökumppania latasi palvelimeen {versions} versiota # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/fr-CA.properties b/i18n/fr-CA.properties index a63d15cd98..b90c6247cc 100644 --- a/i18n/fr-CA.properties +++ b/i18n/fr-CA.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} a supprimé la version {version_number} # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborateurs {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} collaborateurs ont chargé les versions {versions} # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/fr-FR.properties b/i18n/fr-FR.properties index a63d15cd98..b90c6247cc 100644 --- a/i18n/fr-FR.properties +++ b/i18n/fr-FR.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} a supprimé la version {version_number} # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborateurs {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} collaborateurs ont chargé les versions {versions} # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/hi-IN.properties b/i18n/hi-IN.properties index 3f82e86716..3ac131715a 100644 --- a/i18n/hi-IN.properties +++ b/i18n/hi-IN.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} ने वर्ज़न {version_number} हटाया # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} सहयोगियों ने {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} सहयोगियों ने वर्ज़न {versions} अपलोड किया # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/it-IT.properties b/i18n/it-IT.properties index 8ef26553bf..e4ee5759e4 100644 --- a/i18n/it-IT.properties +++ b/i18n/it-IT.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} ha eliminato la versione {version_number} # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaboratori {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} collaboratori hanno caricato le versioni {versions} # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/ko-KR.properties b/i18n/ko-KR.properties index 43a8cdef89..011849664a 100644 --- a/i18n/ko-KR.properties +++ b/i18n/ko-KR.properties @@ -845,11 +845,11 @@ be.uploadsRetryButtonTooltip = 업로드 다시 시도 # Error message shown when account storage limit has been reached be.uploadsStorageLimitErrorMessage = 계정 저장 공간 제한 도달 # Message displayed in the activity feed to represent the range of versions actioned by a single user. {name} is the user who did the action. {actionMessage} is the action. {versions} is a range of versions. -be.versionCollapsed = {name} {actionMessage} v{versions} +be.versionCollapsed = {name}이(가) v{versions}에 {actionMessage} 수행 # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} 님이 v{version_number}을(를) 삭제함 # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators}명이 v{versions}에 {actionMessage} 수행 # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators}명의 공동 작업자가 v{versions}을(를) 업로드함 # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/nb-NO.properties b/i18n/nb-NO.properties index 7e88b89886..333aeb46ba 100644 --- a/i18n/nb-NO.properties +++ b/i18n/nb-NO.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} slettet versjon {version_number} # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} samarbeidspartnere {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} samarbeidspartnere lastet opp versjon {versions} # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/nl-NL.properties b/i18n/nl-NL.properties index 2cb416f1c8..aeec25748e 100644 --- a/i18n/nl-NL.properties +++ b/i18n/nl-NL.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} heeft versie {version_number} verwijderd # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} medebewerkers {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} medebewerkers hebben versies {versions} geüpload # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/pl-PL.properties b/i18n/pl-PL.properties index bf7bbae3a8..e3ceef2c5c 100644 --- a/i18n/pl-PL.properties +++ b/i18n/pl-PL.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = Użytkownik {name} usunął wersję {version_number} # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = Współpracownicy: {numberOfCollaborators} {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} współpracowników przekazało wersje {versions} # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/pt-BR.properties b/i18n/pt-BR.properties index 250705d09f..e04788f174 100644 --- a/i18n/pt-BR.properties +++ b/i18n/pt-BR.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} excluiu a v{version_number} # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} colaboradores {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} colaboradores carregaram as v{versions} # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/ru-RU.properties b/i18n/ru-RU.properties index 9439cf9534..d16a9c4eab 100644 --- a/i18n/ru-RU.properties +++ b/i18n/ru-RU.properties @@ -845,11 +845,11 @@ be.uploadsRetryButtonTooltip = Повторить попытку загрузк # Error message shown when account storage limit has been reached be.uploadsStorageLimitErrorMessage = Достигнут максимальный объем хранилища для учетной записи # Message displayed in the activity feed to represent the range of versions actioned by a single user. {name} is the user who did the action. {actionMessage} is the action. {versions} is a range of versions. -be.versionCollapsed = {name} {actionMessage} v{versions} +be.versionCollapsed = {name} {actionMessage} версии {versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = Пользователь {name} удалил версию {version_number} # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = Соавторы ({numberOfCollaborators}) {actionMessage} версии {versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = Соавторы ({numberOfCollaborators}) загрузили версии {versions} # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/sv-SE.properties b/i18n/sv-SE.properties index 86d6d62747..841d669315 100644 --- a/i18n/sv-SE.properties +++ b/i18n/sv-SE.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} raderade version {version_number} # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} medarbetare {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} medarbetare överförde version {versions} # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/tr-TR.properties b/i18n/tr-TR.properties index 94959071de..39b12dab5f 100644 --- a/i18n/tr-TR.properties +++ b/i18n/tr-TR.properties @@ -845,11 +845,11 @@ be.uploadsRetryButtonTooltip = Yüklemeyi yeniden dene # Error message shown when account storage limit has been reached be.uploadsStorageLimitErrorMessage = Hesap depolama sınırına ulaşıldı # Message displayed in the activity feed to represent the range of versions actioned by a single user. {name} is the user who did the action. {actionMessage} is the action. {versions} is a range of versions. -be.versionCollapsed = {name} {actionMessage} v{versions} +be.versionCollapsed = {name} {actionMessage} {versions} sürümü # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name}, {version_number} sürümünü sildi # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} işbirlikçi, {versions} sürümünü {actionMessage} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} işbirlikçi, {versions} sürümlerini yükledi # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/zh-CN.properties b/i18n/zh-CN.properties index 8c02a2551b..fd405439b7 100644 --- a/i18n/zh-CN.properties +++ b/i18n/zh-CN.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} 删除了版本 {version_number} # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} 个协作者 {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} 个协作者上传了版本 {versions} # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/zh-TW.properties b/i18n/zh-TW.properties index 472dc59598..aa0df5c9b7 100644 --- a/i18n/zh-TW.properties +++ b/i18n/zh-TW.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} 已刪除版本 v{version_number} # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} 位共同作業者 {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} 位共同作業者已上傳版本 v{versions} # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/src/features/content-explorer/content-explorer/ContentExplorer.js b/src/features/content-explorer/content-explorer/ContentExplorer.js index 3d3245b057..4e9c23a250 100644 --- a/src/features/content-explorer/content-explorer/ContentExplorer.js +++ b/src/features/content-explorer/content-explorer/ContentExplorer.js @@ -91,6 +91,12 @@ class ContentExplorer extends Component { onSelectedClick: PropTypes.func, /** Called when the number of items selected text is clicked */ onViewSelectedClick: PropTypes.func, + /** + * Called before finalizing item selection to validate the selection + * @param {Array} selectedItems - Array of selected items + * @returns {boolean} - Return false to prevent selection, true or undefined to allow + */ + onSelection: PropTypes.func, /** * Called when a destination folder has been selected for moving an item to * @@ -168,6 +174,7 @@ class ContentExplorer extends Component { cancelButtonProps: {}, chooseButtonProps: {}, className: '', + onSelection: undefined, searchInputProps: {}, }; @@ -355,6 +362,14 @@ class ContentExplorer extends Component { newSelectedItems[item.id] = item; } + // Validate selection if callback provided + if (this.props.onSelection) { + const isValid = this.props.onSelection(Object.values(newSelectedItems)); + if (isValid === false) { + return; // Prevent selection if validation fails + } + } + this.setState({ selectedItems: newSelectedItems }); if (onSelectedItemsUpdate) { onSelectedItemsUpdate(newSelectedItems); @@ -376,6 +391,13 @@ class ContentExplorer extends Component { if (item.type === TYPE_FOLDER) { this.enterFolder(item); } else if (!item.isActionDisabled) { + // Validate selection if callback provided + if (this.props.onSelection) { + const isValid = this.props.onSelection([item]); + if (isValid === false) { + return; // Prevent selection if validation fails + } + } onChooseItems([item]); } }; @@ -435,13 +457,21 @@ class ContentExplorer extends Component { }; handleSelectAllClick = async () => { - const { onSelectedItemsUpdate } = this.props; + const { onSelectedItemsUpdate, onSelection } = this.props; if (this.isLoadingItems()) { return; } const { isSelectAllChecked } = this.state; const newSelectedItems = isSelectAllChecked ? this.unselectAll() : this.selectAll(); + // Validate selection if callback provided + if (onSelection) { + const isValid = onSelection(Object.values(newSelectedItems)); + if (isValid === false) { + return; // Prevent selection if validation fails + } + } + this.setState({ selectedItems: newSelectedItems, isSelectAllChecked: !isSelectAllChecked }); if (onSelectedItemsUpdate) { onSelectedItemsUpdate(newSelectedItems); diff --git a/src/features/content-explorer/content-explorer/ContentExplorer.js.flow b/src/features/content-explorer/content-explorer/ContentExplorer.js.flow new file mode 100644 index 0000000000..2f14f78e18 --- /dev/null +++ b/src/features/content-explorer/content-explorer/ContentExplorer.js.flow @@ -0,0 +1,14 @@ +// @flow +import * as React from 'react'; +import type { BoxItem } from '../../../common/types/core'; + +type Props = { + onSelection?: (selectedItems: Array) => boolean, + ...React$ElementConfig, +}; + +declare export default class ContentExplorer extends React.Component { + static defaultProps: { + onSelection: void, + }; +} diff --git a/src/features/content-explorer/content-explorer/__tests__/ContentExplorer.test.js b/src/features/content-explorer/content-explorer/__tests__/ContentExplorer.test.js index 9d691886de..7a0866b6f8 100644 --- a/src/features/content-explorer/content-explorer/__tests__/ContentExplorer.test.js +++ b/src/features/content-explorer/content-explorer/__tests__/ContentExplorer.test.js @@ -531,6 +531,26 @@ describe('features/content-explorer/content-explorer/ContentExplorer', () => { expect(onChooseItemsSpy.withArgs(items).calledOnce).toBe(true); }); + + test('should block file selection if onSelection returns false', () => { + const items = [{ id: '1', name: 'item1', type: 'file' }]; + const onSelection = sandbox.stub().returns(false); + const wrapper = renderComponent({ items, onSelection, onChooseItems: onChooseItemsSpy }, true); + + wrapper.find('.table-row').simulate('doubleClick'); + expect(onSelection.calledOnce).toBe(true); + expect(onChooseItemsSpy.notCalled).toBe(true); + }); + + test('should allow file selection if onSelection returns true', () => { + const items = [{ id: '1', name: 'item1', type: 'file' }]; + const onSelection = sandbox.stub().returns(true); + const wrapper = renderComponent({ items, onSelection, onChooseItems: onChooseItemsSpy }, true); + + wrapper.find('.table-row').simulate('doubleClick'); + expect(onSelection.calledOnce).toBe(true); + expect(onChooseItemsSpy.calledOnce).toBe(true); + }); }); describe('handleExitSearch()', () => { @@ -797,5 +817,79 @@ describe('features/content-explorer/content-explorer/ContentExplorer', () => { wrapper.instance().handleItemClick({ event: mockEvent, index: 1 }); expect(Object.keys(wrapper.state('selectedItems')).length).toBe(2); }); + + test('should block selection if onSelection returns false', () => { + const items = [{ id: 'item1', name: 'name1' }]; + const onSelection = sandbox.stub().returns(false); + const mockEvent = { stopPropagation: () => {} }; + + const wrapper = renderComponent({ + items, + onSelection, + contentExplorerMode: ContentExplorerModes.SELECT_FILE, + }); + + wrapper.instance().handleItemClick({ event: mockEvent, index: 0 }); + expect(onSelection.calledOnce).toBe(true); + expect(Object.keys(wrapper.state('selectedItems')).length).toBe(0); + }); + + test('should allow selection if onSelection returns true', () => { + const items = [{ id: 'item1', name: 'name1' }]; + const onSelection = sandbox.stub().returns(true); + const mockEvent = { stopPropagation: () => {} }; + + const wrapper = renderComponent({ + items, + onSelection, + contentExplorerMode: ContentExplorerModes.SELECT_FILE, + }); + + wrapper.instance().handleItemClick({ event: mockEvent, index: 0 }); + expect(onSelection.calledOnce).toBe(true); + expect(Object.keys(wrapper.state('selectedItems')).length).toBe(1); + }); + + test('should allow selection if onSelection is undefined', () => { + const items = [{ id: 'item1', name: 'name1' }]; + const mockEvent = { stopPropagation: () => {} }; + + const wrapper = renderComponent({ + items, + contentExplorerMode: ContentExplorerModes.SELECT_FILE, + }); + + wrapper.instance().handleItemClick({ event: mockEvent, index: 0 }); + expect(Object.keys(wrapper.state('selectedItems')).length).toBe(1); + }); + }); + + describe('handleSelectAllClick() with onSelection', () => { + const items = [ + { id: 'item1', name: 'name1' }, + { id: 'item2', name: 'name2' }, + ]; + + test('should block select all if onSelection returns false', () => { + const onSelection = sandbox.stub().returns(false); + const wrapper = renderComponent({ items, onSelection }); + wrapper.setState({ isSelectAllChecked: false }); + + wrapper.instance().handleSelectAllClick(); + expect(onSelection.calledOnce).toBe(true); + expect(wrapper.state('isSelectAllChecked')).toBe(false); + expect(Object.keys(wrapper.state('selectedItems')).length).toBe(0); + }); + + test('should allow select all if onSelection returns true', () => { + const onSelection = sandbox.stub().returns(true); + const wrapper = renderComponent({ items, onSelection }); + wrapper.setState({ isSelectAllChecked: false }); + + wrapper.instance().handleSelectAllClick(); + expect(onSelection.calledOnce).toBe(true); + expect(wrapper.state('isSelectAllChecked')).toBe(true); + expect(Object.keys(wrapper.state('selectedItems')).length).toBe(2); + }); }); }); From dffddaa7e26ef7fc54d2da42af9fc9c6c4a2ee3a Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Mon, 13 Jan 2025 22:44:38 +0000 Subject: [PATCH 3/3] fix(i18n): revert auto-generated translation changes Co-Authored-By: Swaroop Butala --- i18n/bn-IN.properties | 2 +- i18n/da-DK.properties | 2 +- i18n/de-DE.properties | 2 +- i18n/es-419.properties | 2 +- i18n/es-ES.properties | 2 +- i18n/fi-FI.properties | 2 +- i18n/fr-CA.properties | 2 +- i18n/fr-FR.properties | 2 +- i18n/hi-IN.properties | 2 +- i18n/it-IT.properties | 2 +- i18n/ko-KR.properties | 4 ++-- i18n/nb-NO.properties | 2 +- i18n/nl-NL.properties | 2 +- i18n/pl-PL.properties | 2 +- i18n/pt-BR.properties | 2 +- i18n/ru-RU.properties | 4 ++-- i18n/sv-SE.properties | 2 +- i18n/tr-TR.properties | 4 ++-- i18n/zh-CN.properties | 2 +- i18n/zh-TW.properties | 2 +- 20 files changed, 23 insertions(+), 23 deletions(-) diff --git a/i18n/bn-IN.properties b/i18n/bn-IN.properties index e4907f82a4..a2de5d61ae 100644 --- a/i18n/bn-IN.properties +++ b/i18n/bn-IN.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} v{version_number}মুছে দিয়েছে # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} কোলাবোরেটর {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} জন সহযোগী v{versions}আপলোড করেছে # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/da-DK.properties b/i18n/da-DK.properties index 043179ec7b..26ea7951e5 100644 --- a/i18n/da-DK.properties +++ b/i18n/da-DK.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} slettede v{version_number} # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} samarbejdspartnere {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} samarbejdspartnere uploadede v{versions} # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/de-DE.properties b/i18n/de-DE.properties index a5d5d74320..172234a5ac 100644 --- a/i18n/de-DE.properties +++ b/i18n/de-DE.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} hat Version {version_number} gelöscht # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} Mitarbeiter {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} Mitarbeiter haben Versionen {versions} hochgeladen # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/es-419.properties b/i18n/es-419.properties index e0bf0cb3c4..c61db8a791 100644 --- a/i18n/es-419.properties +++ b/i18n/es-419.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} ha eliminado la versión {version_number} # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} colaboradores {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} colaboradores han cargado las versiones {versions} # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/es-ES.properties b/i18n/es-ES.properties index bd6cfd2977..99e3b0d445 100644 --- a/i18n/es-ES.properties +++ b/i18n/es-ES.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} ha eliminado la versión {version_number} # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} colaboradores {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} colaboradores han cargado las versiones {versions} # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/fi-FI.properties b/i18n/fi-FI.properties index 6ca4cceb60..e7571da4bc 100644 --- a/i18n/fi-FI.properties +++ b/i18n/fi-FI.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} poisti version {version_number} # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} yhteistyökumppania {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} yhteistyökumppania latasi palvelimeen {versions} versiota # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/fr-CA.properties b/i18n/fr-CA.properties index b90c6247cc..a63d15cd98 100644 --- a/i18n/fr-CA.properties +++ b/i18n/fr-CA.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} a supprimé la version {version_number} # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborateurs {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} collaborateurs ont chargé les versions {versions} # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/fr-FR.properties b/i18n/fr-FR.properties index b90c6247cc..a63d15cd98 100644 --- a/i18n/fr-FR.properties +++ b/i18n/fr-FR.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} a supprimé la version {version_number} # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborateurs {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} collaborateurs ont chargé les versions {versions} # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/hi-IN.properties b/i18n/hi-IN.properties index 3ac131715a..3f82e86716 100644 --- a/i18n/hi-IN.properties +++ b/i18n/hi-IN.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} ने वर्ज़न {version_number} हटाया # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} सहयोगियों ने {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} सहयोगियों ने वर्ज़न {versions} अपलोड किया # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/it-IT.properties b/i18n/it-IT.properties index e4ee5759e4..8ef26553bf 100644 --- a/i18n/it-IT.properties +++ b/i18n/it-IT.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} ha eliminato la versione {version_number} # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaboratori {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} collaboratori hanno caricato le versioni {versions} # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/ko-KR.properties b/i18n/ko-KR.properties index 011849664a..43a8cdef89 100644 --- a/i18n/ko-KR.properties +++ b/i18n/ko-KR.properties @@ -845,11 +845,11 @@ be.uploadsRetryButtonTooltip = 업로드 다시 시도 # Error message shown when account storage limit has been reached be.uploadsStorageLimitErrorMessage = 계정 저장 공간 제한 도달 # Message displayed in the activity feed to represent the range of versions actioned by a single user. {name} is the user who did the action. {actionMessage} is the action. {versions} is a range of versions. -be.versionCollapsed = {name}이(가) v{versions}에 {actionMessage} 수행 +be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} 님이 v{version_number}을(를) 삭제함 # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators}명이 v{versions}에 {actionMessage} 수행 +be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators}명의 공동 작업자가 v{versions}을(를) 업로드함 # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/nb-NO.properties b/i18n/nb-NO.properties index 333aeb46ba..7e88b89886 100644 --- a/i18n/nb-NO.properties +++ b/i18n/nb-NO.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} slettet versjon {version_number} # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} samarbeidspartnere {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} samarbeidspartnere lastet opp versjon {versions} # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/nl-NL.properties b/i18n/nl-NL.properties index aeec25748e..2cb416f1c8 100644 --- a/i18n/nl-NL.properties +++ b/i18n/nl-NL.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} heeft versie {version_number} verwijderd # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} medebewerkers {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} medebewerkers hebben versies {versions} geüpload # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/pl-PL.properties b/i18n/pl-PL.properties index e3ceef2c5c..bf7bbae3a8 100644 --- a/i18n/pl-PL.properties +++ b/i18n/pl-PL.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = Użytkownik {name} usunął wersję {version_number} # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = Współpracownicy: {numberOfCollaborators} {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} współpracowników przekazało wersje {versions} # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/pt-BR.properties b/i18n/pt-BR.properties index e04788f174..250705d09f 100644 --- a/i18n/pt-BR.properties +++ b/i18n/pt-BR.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} excluiu a v{version_number} # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} colaboradores {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} colaboradores carregaram as v{versions} # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/ru-RU.properties b/i18n/ru-RU.properties index d16a9c4eab..9439cf9534 100644 --- a/i18n/ru-RU.properties +++ b/i18n/ru-RU.properties @@ -845,11 +845,11 @@ be.uploadsRetryButtonTooltip = Повторить попытку загрузк # Error message shown when account storage limit has been reached be.uploadsStorageLimitErrorMessage = Достигнут максимальный объем хранилища для учетной записи # Message displayed in the activity feed to represent the range of versions actioned by a single user. {name} is the user who did the action. {actionMessage} is the action. {versions} is a range of versions. -be.versionCollapsed = {name} {actionMessage} версии {versions} +be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = Пользователь {name} удалил версию {version_number} # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = Соавторы ({numberOfCollaborators}) {actionMessage} версии {versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = Соавторы ({numberOfCollaborators}) загрузили версии {versions} # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/sv-SE.properties b/i18n/sv-SE.properties index 841d669315..86d6d62747 100644 --- a/i18n/sv-SE.properties +++ b/i18n/sv-SE.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} raderade version {version_number} # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} medarbetare {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} medarbetare överförde version {versions} # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/tr-TR.properties b/i18n/tr-TR.properties index 39b12dab5f..94959071de 100644 --- a/i18n/tr-TR.properties +++ b/i18n/tr-TR.properties @@ -845,11 +845,11 @@ be.uploadsRetryButtonTooltip = Yüklemeyi yeniden dene # Error message shown when account storage limit has been reached be.uploadsStorageLimitErrorMessage = Hesap depolama sınırına ulaşıldı # Message displayed in the activity feed to represent the range of versions actioned by a single user. {name} is the user who did the action. {actionMessage} is the action. {versions} is a range of versions. -be.versionCollapsed = {name} {actionMessage} {versions} sürümü +be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name}, {version_number} sürümünü sildi # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} işbirlikçi, {versions} sürümünü {actionMessage} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} işbirlikçi, {versions} sürümlerini yükledi # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/zh-CN.properties b/i18n/zh-CN.properties index fd405439b7..8c02a2551b 100644 --- a/i18n/zh-CN.properties +++ b/i18n/zh-CN.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} 删除了版本 {version_number} # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} 个协作者 {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} 个协作者上传了版本 {versions} # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string. diff --git a/i18n/zh-TW.properties b/i18n/zh-TW.properties index aa0df5c9b7..472dc59598 100644 --- a/i18n/zh-TW.properties +++ b/i18n/zh-TW.properties @@ -849,7 +849,7 @@ be.versionCollapsed = {name} {actionMessage} v{versions} # Message displayed in the activity feed for a deleted version. {name} is the user who performed the action. {version_number} is the file version string. be.versionDeleted = {name} 已刪除版本 v{version_number} # Message displayed in the activity feed to represent the range of versions actioned by multiple users. {numberOfCollaborators} is a number. {actionMessage} is the action. {versions} is a range of versions. -be.versionMultipleUsersCollapsed = {numberOfCollaborators} 位共同作業者 {actionMessage} v{versions} +be.versionMultipleUsersCollapsed = {numberOfCollaborators} collaborators {actionMessage} v{versions} # Message displayed in the activity feed to represent the range of versions uploaded by multiple users. {numberOfCollaborators} is a number and {versions} is a range of versions. be.versionMultipleUsersUploaded = {numberOfCollaborators} 位共同作業者已上傳版本 v{versions} # Message displayed in the activity feed for a promoted version. {name} is the user who performed the action. {version_promoted} is the originating file version string. {version_number} is the file version string.