diff --git a/i18next/client.babel b/i18next/client.babel index d8a6555b71..125d2046c0 100644 --- a/i18next/client.babel +++ b/i18next/client.babel @@ -15822,6 +15822,246 @@ + + FormRoomDescription + + + + + + ar-SA + false + + + az-Latn-AZ + false + + + bg-BG + false + + + cs-CZ + false + + + de-DE + false + + + el-GR + false + + + en-US + false + + + es-ES + false + + + fi-FI + false + + + fr-FR + false + + + hy-AM + false + + + it-IT + false + + + ja-JP + false + + + ko-KR + false + + + lo-LA + false + + + lv-LV + false + + + nl-NL + false + + + pl-PL + false + + + pt-BR + false + + + pt-PT + false + + + ro-RO + false + + + ru-RU + false + + + sk-SK + false + + + sl-SI + false + + + tr-TR + false + + + uk-UA + false + + + vi-VN + false + + + zh-CN + false + + + + + FormRoomTitle + + + + + + ar-SA + false + + + az-Latn-AZ + false + + + bg-BG + false + + + cs-CZ + false + + + de-DE + false + + + el-GR + false + + + en-US + false + + + es-ES + false + + + fi-FI + false + + + fr-FR + false + + + hy-AM + false + + + it-IT + false + + + ja-JP + false + + + ko-KR + false + + + lo-LA + false + + + lv-LV + false + + + nl-NL + false + + + pl-PL + false + + + pt-BR + false + + + pt-PT + false + + + ro-RO + false + + + ru-RU + false + + + sk-SK + false + + + sl-SI + false + + + tr-TR + false + + + uk-UA + false + + + vi-VN + false + + + zh-CN + false + + + Icon @@ -16542,6 +16782,246 @@ + + PublicRoomSystemFoldersDescription + + + + + + ar-SA + false + + + az-Latn-AZ + false + + + bg-BG + false + + + cs-CZ + false + + + de-DE + false + + + el-GR + false + + + en-US + false + + + es-ES + false + + + fi-FI + false + + + fr-FR + false + + + hy-AM + false + + + it-IT + false + + + ja-JP + false + + + ko-KR + false + + + lo-LA + false + + + lv-LV + false + + + nl-NL + false + + + pl-PL + false + + + pt-BR + false + + + pt-PT + false + + + ro-RO + false + + + ru-RU + false + + + sk-SK + false + + + sl-SI + false + + + tr-TR + false + + + uk-UA + false + + + vi-VN + false + + + zh-CN + false + + + + + PublicRoomSystemFoldersTitle + + + + + + ar-SA + false + + + az-Latn-AZ + false + + + bg-BG + false + + + cs-CZ + false + + + de-DE + false + + + el-GR + false + + + en-US + false + + + es-ES + false + + + fi-FI + false + + + fr-FR + false + + + hy-AM + false + + + it-IT + false + + + ja-JP + false + + + ko-KR + false + + + lo-LA + false + + + lv-LV + false + + + nl-NL + false + + + pl-PL + false + + + pt-BR + false + + + pt-PT + false + + + ro-RO + false + + + ru-RU + false + + + sk-SK + false + + + sl-SI + false + + + tr-TR + false + + + uk-UA + false + + + vi-VN + false + + + zh-CN + false + + + ReviewRoomDescription @@ -28722,126 +29202,6 @@ - - AdditionalLinks - - - - - - ar-SA - false - - - az-Latn-AZ - false - - - bg-BG - false - - - cs-CZ - false - - - de-DE - false - - - el-GR - false - - - en-US - false - - - es-ES - false - - - fi-FI - false - - - fr-FR - false - - - hy-AM - false - - - it-IT - false - - - ja-JP - false - - - ko-KR - false - - - lo-LA - false - - - lv-LV - false - - - nl-NL - false - - - pl-PL - false - - - pt-BR - false - - - pt-PT - false - - - ro-RO - false - - - ru-RU - false - - - sk-SK - false - - - sl-SI - false - - - tr-TR - false - - - uk-UA - false - - - vi-VN - false - - - zh-CN - false - - - AddMembersDescription @@ -30642,6 +31002,246 @@ + + BadgeAlertDescription + + + + + + ar-SA + false + + + az-Latn-AZ + false + + + bg-BG + false + + + cs-CZ + false + + + de-DE + false + + + el-GR + false + + + en-US + false + + + es-ES + false + + + fi-FI + false + + + fr-FR + false + + + hy-AM + false + + + it-IT + false + + + ja-JP + false + + + ko-KR + false + + + lo-LA + false + + + lv-LV + false + + + nl-NL + false + + + pl-PL + false + + + pt-BR + false + + + pt-PT + false + + + ro-RO + false + + + ru-RU + false + + + sk-SK + false + + + sl-SI + false + + + tr-TR + false + + + uk-UA + false + + + vi-VN + false + + + zh-CN + false + + + + + BadgeMyDraftTitle + + + + + + ar-SA + false + + + az-Latn-AZ + false + + + bg-BG + false + + + cs-CZ + false + + + de-DE + false + + + el-GR + false + + + en-US + false + + + es-ES + false + + + fi-FI + false + + + fr-FR + false + + + hy-AM + false + + + it-IT + false + + + ja-JP + false + + + ko-KR + false + + + lo-LA + false + + + lv-LV + false + + + nl-NL + false + + + pl-PL + false + + + pt-BR + false + + + pt-PT + false + + + ro-RO + false + + + ru-RU + false + + + sk-SK + false + + + sl-SI + false + + + tr-TR + false + + + uk-UA + false + + + vi-VN + false + + + zh-CN + false + + + ByAuthor @@ -31842,126 +32442,6 @@ - - CopyGeneralLink - - - - - - ar-SA - false - - - az-Latn-AZ - false - - - bg-BG - false - - - cs-CZ - false - - - de-DE - false - - - el-GR - false - - - en-US - false - - - es-ES - false - - - fi-FI - false - - - fr-FR - false - - - hy-AM - false - - - it-IT - false - - - ja-JP - false - - - ko-KR - false - - - lo-LA - false - - - lv-LV - false - - - nl-NL - false - - - pl-PL - false - - - pt-BR - false - - - pt-PT - false - - - ro-RO - false - - - ru-RU - false - - - sk-SK - false - - - sl-SI - false - - - tr-TR - false - - - uk-UA - false - - - vi-VN - false - - - zh-CN - false - - - CopyItem @@ -32562,6 +33042,126 @@ + + CopySharedLink + + + + + + ar-SA + false + + + az-Latn-AZ + false + + + bg-BG + false + + + cs-CZ + false + + + de-DE + false + + + el-GR + false + + + en-US + false + + + es-ES + false + + + fi-FI + false + + + fr-FR + false + + + hy-AM + false + + + it-IT + false + + + ja-JP + false + + + ko-KR + false + + + lo-LA + false + + + lv-LV + false + + + nl-NL + false + + + pl-PL + false + + + pt-BR + false + + + pt-PT + false + + + ro-RO + false + + + ru-RU + false + + + sk-SK + false + + + sl-SI + false + + + tr-TR + false + + + uk-UA + false + + + vi-VN + false + + + zh-CN + false + + + CreateAndCopy @@ -33162,126 +33762,6 @@ - - DeleteGeneralLink - - - - - - ar-SA - false - - - az-Latn-AZ - false - - - bg-BG - false - - - cs-CZ - false - - - de-DE - false - - - el-GR - false - - - en-US - false - - - es-ES - false - - - fi-FI - false - - - fr-FR - false - - - hy-AM - false - - - it-IT - false - - - ja-JP - false - - - ko-KR - false - - - lo-LA - false - - - lv-LV - false - - - nl-NL - false - - - pl-PL - false - - - pt-BR - false - - - pt-PT - false - - - ro-RO - false - - - ru-RU - false - - - sk-SK - false - - - sl-SI - false - - - tr-TR - false - - - uk-UA - false - - - vi-VN - false - - - zh-CN - false - - - DeleteLink @@ -33522,6 +34002,126 @@ + + DeleteSharedLink + + + + + + ar-SA + false + + + az-Latn-AZ + false + + + bg-BG + false + + + cs-CZ + false + + + de-DE + false + + + el-GR + false + + + en-US + false + + + es-ES + false + + + fi-FI + false + + + fr-FR + false + + + hy-AM + false + + + it-IT + false + + + ja-JP + false + + + ko-KR + false + + + lo-LA + false + + + lv-LV + false + + + nl-NL + false + + + pl-PL + false + + + pt-BR + false + + + pt-PT + false + + + ro-RO + false + + + ru-RU + false + + + sk-SK + false + + + sl-SI + false + + + tr-TR + false + + + uk-UA + false + + + vi-VN + false + + + zh-CN + false + + + DisableDownload @@ -34362,126 +34962,6 @@ - - EditGeneralLink - - - - - - ar-SA - false - - - az-Latn-AZ - false - - - bg-BG - false - - - cs-CZ - false - - - de-DE - false - - - el-GR - false - - - en-US - false - - - es-ES - false - - - fi-FI - false - - - fr-FR - false - - - hy-AM - false - - - it-IT - false - - - ja-JP - false - - - ko-KR - false - - - lo-LA - false - - - lv-LV - false - - - nl-NL - false - - - pl-PL - false - - - pt-BR - false - - - pt-PT - false - - - ro-RO - false - - - ru-RU - false - - - sk-SK - false - - - sl-SI - false - - - tr-TR - false - - - uk-UA - false - - - vi-VN - false - - - zh-CN - false - - - EditLink @@ -34722,6 +35202,126 @@ + + EditSharedLink + + + + + + ar-SA + false + + + az-Latn-AZ + false + + + bg-BG + false + + + cs-CZ + false + + + de-DE + false + + + el-GR + false + + + en-US + false + + + es-ES + false + + + fi-FI + false + + + fr-FR + false + + + hy-AM + false + + + it-IT + false + + + ja-JP + false + + + ko-KR + false + + + lo-LA + false + + + lv-LV + false + + + nl-NL + false + + + pl-PL + false + + + pt-BR + false + + + pt-PT + false + + + ro-RO + false + + + ru-RU + false + + + sk-SK + false + + + sl-SI + false + + + tr-TR + false + + + uk-UA + false + + + vi-VN + false + + + zh-CN + false + + + EmbeddingSettings @@ -35442,6 +36042,966 @@ + + EmptyFolderHeader + + + + + + ar-SA + false + + + az-Latn-AZ + false + + + bg-BG + false + + + cs-CZ + false + + + de-DE + false + + + el-GR + false + + + en-US + false + + + es-ES + false + + + fi-FI + false + + + fr-FR + false + + + hy-AM + false + + + it-IT + false + + + ja-JP + false + + + ko-KR + false + + + lo-LA + false + + + lv-LV + false + + + nl-NL + false + + + pl-PL + false + + + pt-BR + false + + + pt-PT + false + + + ro-RO + false + + + ru-RU + false + + + sk-SK + false + + + sl-SI + false + + + tr-TR + false + + + uk-UA + false + + + vi-VN + false + + + zh-CN + false + + + + + EmptyFormFolderDoneDescriptionText + + + + + + ar-SA + false + + + az-Latn-AZ + false + + + bg-BG + false + + + cs-CZ + false + + + de-DE + false + + + el-GR + false + + + en-US + false + + + es-ES + false + + + fi-FI + false + + + fr-FR + false + + + hy-AM + false + + + it-IT + false + + + ja-JP + false + + + ko-KR + false + + + lo-LA + false + + + lv-LV + false + + + nl-NL + false + + + pl-PL + false + + + pt-BR + false + + + pt-PT + false + + + ro-RO + false + + + ru-RU + false + + + sk-SK + false + + + sl-SI + false + + + tr-TR + false + + + uk-UA + false + + + vi-VN + false + + + zh-CN + false + + + + + EmptyFormFolderDoneHeaderText + + + + + + ar-SA + false + + + az-Latn-AZ + false + + + bg-BG + false + + + cs-CZ + false + + + de-DE + false + + + el-GR + false + + + en-US + false + + + es-ES + false + + + fi-FI + false + + + fr-FR + false + + + hy-AM + false + + + it-IT + false + + + ja-JP + false + + + ko-KR + false + + + lo-LA + false + + + lv-LV + false + + + nl-NL + false + + + pl-PL + false + + + pt-BR + false + + + pt-PT + false + + + ro-RO + false + + + ru-RU + false + + + sk-SK + false + + + sl-SI + false + + + tr-TR + false + + + uk-UA + false + + + vi-VN + false + + + zh-CN + false + + + + + EmptyFormFolderProgressDescriptionText + + + + + + ar-SA + false + + + az-Latn-AZ + false + + + bg-BG + false + + + cs-CZ + false + + + de-DE + false + + + el-GR + false + + + en-US + false + + + es-ES + false + + + fi-FI + false + + + fr-FR + false + + + hy-AM + false + + + it-IT + false + + + ja-JP + false + + + ko-KR + false + + + lo-LA + false + + + lv-LV + false + + + nl-NL + false + + + pl-PL + false + + + pt-BR + false + + + pt-PT + false + + + ro-RO + false + + + ru-RU + false + + + sk-SK + false + + + sl-SI + false + + + tr-TR + false + + + uk-UA + false + + + vi-VN + false + + + zh-CN + false + + + + + EmptyFormFolderProgressHeaderText + + + + + + ar-SA + false + + + az-Latn-AZ + false + + + bg-BG + false + + + cs-CZ + false + + + de-DE + false + + + el-GR + false + + + en-US + false + + + es-ES + false + + + fi-FI + false + + + fr-FR + false + + + hy-AM + false + + + it-IT + false + + + ja-JP + false + + + ko-KR + false + + + lo-LA + false + + + lv-LV + false + + + nl-NL + false + + + pl-PL + false + + + pt-BR + false + + + pt-PT + false + + + ro-RO + false + + + ru-RU + false + + + sk-SK + false + + + sl-SI + false + + + tr-TR + false + + + uk-UA + false + + + vi-VN + false + + + zh-CN + false + + + + + EmptyFormSubFolderDoneDescriptionText + + + + + + ar-SA + false + + + az-Latn-AZ + false + + + bg-BG + false + + + cs-CZ + false + + + de-DE + false + + + el-GR + false + + + en-US + false + + + es-ES + false + + + fi-FI + false + + + fr-FR + false + + + hy-AM + false + + + it-IT + false + + + ja-JP + false + + + ko-KR + false + + + lo-LA + false + + + lv-LV + false + + + nl-NL + false + + + pl-PL + false + + + pt-BR + false + + + pt-PT + false + + + ro-RO + false + + + ru-RU + false + + + sk-SK + false + + + sl-SI + false + + + tr-TR + false + + + uk-UA + false + + + vi-VN + false + + + zh-CN + false + + + + + EmptyFormSubFolderHeaderText + + + + + + ar-SA + false + + + az-Latn-AZ + false + + + bg-BG + false + + + cs-CZ + false + + + de-DE + false + + + el-GR + false + + + en-US + false + + + es-ES + false + + + fi-FI + false + + + fr-FR + false + + + hy-AM + false + + + it-IT + false + + + ja-JP + false + + + ko-KR + false + + + lo-LA + false + + + lv-LV + false + + + nl-NL + false + + + pl-PL + false + + + pt-BR + false + + + pt-PT + false + + + ro-RO + false + + + ru-RU + false + + + sk-SK + false + + + sl-SI + false + + + tr-TR + false + + + uk-UA + false + + + vi-VN + false + + + zh-CN + false + + + + + EmptyFormSubFolderProgressDescriptionText + + + + + + ar-SA + false + + + az-Latn-AZ + false + + + bg-BG + false + + + cs-CZ + false + + + de-DE + false + + + el-GR + false + + + en-US + false + + + es-ES + false + + + fi-FI + false + + + fr-FR + false + + + hy-AM + false + + + it-IT + false + + + ja-JP + false + + + ko-KR + false + + + lo-LA + false + + + lv-LV + false + + + nl-NL + false + + + pl-PL + false + + + pt-BR + false + + + pt-PT + false + + + ro-RO + false + + + ru-RU + false + + + sk-SK + false + + + sl-SI + false + + + tr-TR + false + + + uk-UA + false + + + vi-VN + false + + + zh-CN + false + + + EmptyRecycleBin @@ -36402,6 +37962,126 @@ + + FileDownloadingIsRestricted + + + + + + ar-SA + false + + + az-Latn-AZ + false + + + bg-BG + false + + + cs-CZ + false + + + de-DE + false + + + el-GR + false + + + en-US + false + + + es-ES + false + + + fi-FI + false + + + fr-FR + false + + + hy-AM + false + + + it-IT + false + + + ja-JP + false + + + ko-KR + false + + + lo-LA + false + + + lv-LV + false + + + nl-NL + false + + + pl-PL + false + + + pt-BR + false + + + pt-PT + false + + + ro-RO + false + + + ru-RU + false + + + sk-SK + false + + + sl-SI + false + + + tr-TR + false + + + uk-UA + false + + + vi-VN + false + + + zh-CN + false + + + FileRemoved @@ -36642,6 +38322,126 @@ + + FilesWillAppearHere + + + + + + ar-SA + false + + + az-Latn-AZ + false + + + bg-BG + false + + + cs-CZ + false + + + de-DE + false + + + el-GR + false + + + en-US + false + + + es-ES + false + + + fi-FI + false + + + fr-FR + false + + + hy-AM + false + + + it-IT + false + + + ja-JP + false + + + ko-KR + false + + + lo-LA + false + + + lv-LV + false + + + nl-NL + false + + + pl-PL + false + + + pt-BR + false + + + pt-PT + false + + + ro-RO + false + + + ru-RU + false + + + sk-SK + false + + + sl-SI + false + + + tr-TR + false + + + uk-UA + false + + + vi-VN + false + + + zh-CN + false + + + FillingFormRooms @@ -37362,6 +39162,126 @@ + + FormRoom + + + + + + ar-SA + false + + + az-Latn-AZ + false + + + bg-BG + false + + + cs-CZ + false + + + de-DE + false + + + el-GR + false + + + en-US + false + + + es-ES + false + + + fi-FI + false + + + fr-FR + false + + + hy-AM + false + + + it-IT + false + + + ja-JP + false + + + ko-KR + false + + + lo-LA + false + + + lv-LV + false + + + nl-NL + false + + + pl-PL + false + + + pt-BR + false + + + pt-PT + false + + + ro-RO + false + + + ru-RU + false + + + sk-SK + false + + + sl-SI + false + + + tr-TR + false + + + uk-UA + false + + + vi-VN + false + + + zh-CN + false + + + Forms @@ -37602,126 +39522,6 @@ - - GeneralLink - - - - - - ar-SA - false - - - az-Latn-AZ - false - - - bg-BG - false - - - cs-CZ - false - - - de-DE - false - - - el-GR - false - - - en-US - false - - - es-ES - false - - - fi-FI - false - - - fr-FR - false - - - hy-AM - false - - - it-IT - false - - - ja-JP - false - - - ko-KR - false - - - lo-LA - false - - - lv-LV - false - - - nl-NL - false - - - pl-PL - false - - - pt-BR - false - - - pt-PT - false - - - ro-RO - false - - - ru-RU - false - - - sk-SK - false - - - sl-SI - false - - - tr-TR - false - - - uk-UA - false - - - vi-VN - false - - - zh-CN - false - - - GeneralLinkDeletedSuccessfully @@ -39402,6 +41202,126 @@ + + LinkSettings + + + + + + ar-SA + false + + + az-Latn-AZ + false + + + bg-BG + false + + + cs-CZ + false + + + de-DE + false + + + el-GR + false + + + en-US + false + + + es-ES + false + + + fi-FI + false + + + fr-FR + false + + + hy-AM + false + + + it-IT + false + + + ja-JP + false + + + ko-KR + false + + + lo-LA + false + + + lv-LV + false + + + nl-NL + false + + + pl-PL + false + + + pt-BR + false + + + pt-PT + false + + + ro-RO + false + + + ru-RU + false + + + sk-SK + false + + + sl-SI + false + + + tr-TR + false + + + uk-UA + false + + + vi-VN + false + + + zh-CN + false + + + LinkSuccessfullyCopied @@ -41442,6 +43362,126 @@ + + MyDocuments + + + + + + ar-SA + false + + + az-Latn-AZ + false + + + bg-BG + false + + + cs-CZ + false + + + de-DE + false + + + el-GR + false + + + en-US + false + + + es-ES + false + + + fi-FI + false + + + fr-FR + false + + + hy-AM + false + + + it-IT + false + + + ja-JP + false + + + ko-KR + false + + + lo-LA + false + + + lv-LV + false + + + nl-NL + false + + + pl-PL + false + + + pt-BR + false + + + pt-PT + false + + + ro-RO + false + + + ru-RU + false + + + sk-SK + false + + + sl-SI + false + + + tr-TR + false + + + uk-UA + false + + + vi-VN + false + + + zh-CN + false + + + New @@ -44202,6 +46242,246 @@ + + RecentlyAccessible + + + + + + ar-SA + false + + + az-Latn-AZ + false + + + bg-BG + false + + + cs-CZ + false + + + de-DE + false + + + el-GR + false + + + en-US + false + + + es-ES + false + + + fi-FI + false + + + fr-FR + false + + + hy-AM + false + + + it-IT + false + + + ja-JP + false + + + ko-KR + false + + + lo-LA + false + + + lv-LV + false + + + nl-NL + false + + + pl-PL + false + + + pt-BR + false + + + pt-PT + false + + + ro-RO + false + + + ru-RU + false + + + sk-SK + false + + + sl-SI + false + + + tr-TR + false + + + uk-UA + false + + + vi-VN + false + + + zh-CN + false + + + + + RecentViaLinkEmptyContainerDescription + + + + + + ar-SA + false + + + az-Latn-AZ + false + + + bg-BG + false + + + cs-CZ + false + + + de-DE + false + + + el-GR + false + + + en-US + false + + + es-ES + false + + + fi-FI + false + + + fr-FR + false + + + hy-AM + false + + + it-IT + false + + + ja-JP + false + + + ko-KR + false + + + lo-LA + false + + + lv-LV + false + + + nl-NL + false + + + pl-PL + false + + + pt-BR + false + + + pt-PT + false + + + ro-RO + false + + + ru-RU + false + + + sk-SK + false + + + sl-SI + false + + + tr-TR + false + + + uk-UA + false + + + vi-VN + false + + + zh-CN + false + + + RecycleBinAction @@ -45162,6 +47442,126 @@ + + RoomEmptyAtTheMoment + + + + + + ar-SA + false + + + az-Latn-AZ + false + + + bg-BG + false + + + cs-CZ + false + + + de-DE + false + + + el-GR + false + + + en-US + false + + + es-ES + false + + + fi-FI + false + + + fr-FR + false + + + hy-AM + false + + + it-IT + false + + + ja-JP + false + + + ko-KR + false + + + lo-LA + false + + + lv-LV + false + + + nl-NL + false + + + pl-PL + false + + + pt-BR + false + + + pt-PT + false + + + ro-RO + false + + + ru-RU + false + + + sk-SK + false + + + sl-SI + false + + + tr-TR + false + + + uk-UA + false + + + vi-VN + false + + + zh-CN + false + + + RoomEmptyContainerDescription @@ -46962,6 +49362,366 @@ + + SharedLinks + + + + + + ar-SA + false + + + az-Latn-AZ + false + + + bg-BG + false + + + cs-CZ + false + + + de-DE + false + + + el-GR + false + + + en-US + false + + + es-ES + false + + + fi-FI + false + + + fr-FR + false + + + hy-AM + false + + + it-IT + false + + + ja-JP + false + + + ko-KR + false + + + lo-LA + false + + + lv-LV + false + + + nl-NL + false + + + pl-PL + false + + + pt-BR + false + + + pt-PT + false + + + ro-RO + false + + + ru-RU + false + + + sk-SK + false + + + sl-SI + false + + + tr-TR + false + + + uk-UA + false + + + vi-VN + false + + + zh-CN + false + + + + + ShareFolder + + + + + + ar-SA + false + + + az-Latn-AZ + false + + + bg-BG + false + + + cs-CZ + false + + + de-DE + false + + + el-GR + false + + + en-US + false + + + es-ES + false + + + fi-FI + false + + + fr-FR + false + + + hy-AM + false + + + it-IT + false + + + ja-JP + false + + + ko-KR + false + + + lo-LA + false + + + lv-LV + false + + + nl-NL + false + + + pl-PL + false + + + pt-BR + false + + + pt-PT + false + + + ro-RO + false + + + ru-RU + false + + + sk-SK + false + + + sl-SI + false + + + tr-TR + false + + + uk-UA + false + + + vi-VN + false + + + zh-CN + false + + + + + ShareFolderDescription + + + + + + ar-SA + false + + + az-Latn-AZ + false + + + bg-BG + false + + + cs-CZ + false + + + de-DE + false + + + el-GR + false + + + en-US + false + + + es-ES + false + + + fi-FI + false + + + fr-FR + false + + + hy-AM + false + + + it-IT + false + + + ja-JP + false + + + ko-KR + false + + + lo-LA + false + + + lv-LV + false + + + nl-NL + false + + + pl-PL + false + + + pt-BR + false + + + pt-PT + false + + + ro-RO + false + + + ru-RU + false + + + sk-SK + false + + + sl-SI + false + + + tr-TR + false + + + uk-UA + false + + + vi-VN + false + + + zh-CN + false + + + ShareRoom @@ -117522,6 +120282,126 @@ + + AdditionalLinkRemove + + + + + + ar-SA + false + + + az-Latn-AZ + false + + + bg-BG + false + + + cs-CZ + false + + + de-DE + false + + + el-GR + false + + + en-US + false + + + es-ES + false + + + fi-FI + false + + + fr-FR + false + + + hy-AM + false + + + it-IT + false + + + ja-JP + false + + + ko-KR + false + + + lo-LA + false + + + lv-LV + false + + + nl-NL + false + + + pl-PL + false + + + pt-BR + false + + + pt-PT + false + + + ro-RO + false + + + ru-RU + false + + + sk-SK + false + + + sl-SI + false + + + tr-TR + false + + + uk-UA + false + + + vi-VN + false + + + zh-CN + false + + + AddShareMessage @@ -117642,6 +120522,126 @@ + + AnyoneWithLink + + + + + + ar-SA + false + + + az-Latn-AZ + false + + + bg-BG + false + + + cs-CZ + false + + + de-DE + false + + + el-GR + false + + + en-US + false + + + es-ES + false + + + fi-FI + false + + + fr-FR + false + + + hy-AM + false + + + it-IT + false + + + ja-JP + false + + + ko-KR + false + + + lo-LA + false + + + lv-LV + false + + + nl-NL + false + + + pl-PL + false + + + pt-BR + false + + + pt-PT + false + + + ro-RO + false + + + ru-RU + false + + + sk-SK + false + + + sl-SI + false + + + tr-TR + false + + + uk-UA + false + + + vi-VN + false + + + zh-CN + false + + + Comment @@ -117882,6 +120882,126 @@ + + CreateAndCopy + + + + + + ar-SA + false + + + az-Latn-AZ + false + + + bg-BG + false + + + cs-CZ + false + + + de-DE + false + + + el-GR + false + + + en-US + false + + + es-ES + false + + + fi-FI + false + + + fr-FR + false + + + hy-AM + false + + + it-IT + false + + + ja-JP + false + + + ko-KR + false + + + lo-LA + false + + + lv-LV + false + + + nl-NL + false + + + pl-PL + false + + + pt-BR + false + + + pt-PT + false + + + ro-RO + false + + + ru-RU + false + + + sk-SK + false + + + sl-SI + false + + + tr-TR + false + + + uk-UA + false + + + vi-VN + false + + + zh-CN + false + + + CustomFilter @@ -118122,6 +121242,246 @@ + + DoсSpaceUsersOnly + + + + + + ar-SA + false + + + az-Latn-AZ + false + + + bg-BG + false + + + cs-CZ + false + + + de-DE + false + + + el-GR + false + + + en-US + false + + + es-ES + false + + + fi-FI + false + + + fr-FR + false + + + hy-AM + false + + + it-IT + false + + + ja-JP + false + + + ko-KR + false + + + lo-LA + false + + + lv-LV + false + + + nl-NL + false + + + pl-PL + false + + + pt-BR + false + + + pt-PT + false + + + ro-RO + false + + + ru-RU + false + + + sk-SK + false + + + sl-SI + false + + + tr-TR + false + + + uk-UA + false + + + vi-VN + false + + + zh-CN + false + + + + + Editing + + + + + + ar-SA + false + + + az-Latn-AZ + false + + + bg-BG + false + + + cs-CZ + false + + + de-DE + false + + + el-GR + false + + + en-US + false + + + es-ES + false + + + fi-FI + false + + + fr-FR + false + + + hy-AM + false + + + it-IT + false + + + ja-JP + false + + + ko-KR + false + + + lo-LA + false + + + lv-LV + false + + + nl-NL + false + + + pl-PL + false + + + pt-BR + false + + + pt-PT + false + + + ro-RO + false + + + ru-RU + false + + + sk-SK + false + + + sl-SI + false + + + tr-TR + false + + + uk-UA + false + + + vi-VN + false + + + zh-CN + false + + + EncryptedFileSharing @@ -118482,6 +121842,486 @@ + + GeneralAccessLink + + + + + + ar-SA + false + + + az-Latn-AZ + false + + + bg-BG + false + + + cs-CZ + false + + + de-DE + false + + + el-GR + false + + + en-US + false + + + es-ES + false + + + fi-FI + false + + + fr-FR + false + + + hy-AM + false + + + it-IT + false + + + ja-JP + false + + + ko-KR + false + + + lo-LA + false + + + lv-LV + false + + + nl-NL + false + + + pl-PL + false + + + pt-BR + false + + + pt-PT + false + + + ro-RO + false + + + ru-RU + false + + + sk-SK + false + + + sl-SI + false + + + tr-TR + false + + + uk-UA + false + + + vi-VN + false + + + zh-CN + false + + + + + GeneralAccessLinkCopied + + + + + + ar-SA + false + + + az-Latn-AZ + false + + + bg-BG + false + + + cs-CZ + false + + + de-DE + false + + + el-GR + false + + + en-US + false + + + es-ES + false + + + fi-FI + false + + + fr-FR + false + + + hy-AM + false + + + it-IT + false + + + ja-JP + false + + + ko-KR + false + + + lo-LA + false + + + lv-LV + false + + + nl-NL + false + + + pl-PL + false + + + pt-BR + false + + + pt-PT + false + + + ro-RO + false + + + ru-RU + false + + + sk-SK + false + + + sl-SI + false + + + tr-TR + false + + + uk-UA + false + + + vi-VN + false + + + zh-CN + false + + + + + GeneralAccessLinkCreated + + + + + + ar-SA + false + + + az-Latn-AZ + false + + + bg-BG + false + + + cs-CZ + false + + + de-DE + false + + + el-GR + false + + + en-US + false + + + es-ES + false + + + fi-FI + false + + + fr-FR + false + + + hy-AM + false + + + it-IT + false + + + ja-JP + false + + + ko-KR + false + + + lo-LA + false + + + lv-LV + false + + + nl-NL + false + + + pl-PL + false + + + pt-BR + false + + + pt-PT + false + + + ro-RO + false + + + ru-RU + false + + + sk-SK + false + + + sl-SI + false + + + tr-TR + false + + + uk-UA + false + + + vi-VN + false + + + zh-CN + false + + + + + GeneralAccessLinkRemove + + + + + + ar-SA + false + + + az-Latn-AZ + false + + + bg-BG + false + + + cs-CZ + false + + + de-DE + false + + + el-GR + false + + + en-US + false + + + es-ES + false + + + fi-FI + false + + + fr-FR + false + + + hy-AM + false + + + it-IT + false + + + ja-JP + false + + + ko-KR + false + + + lo-LA + false + + + lv-LV + false + + + nl-NL + false + + + pl-PL + false + + + pt-BR + false + + + pt-PT + false + + + ro-RO + false + + + ru-RU + false + + + sk-SK + false + + + sl-SI + false + + + tr-TR + false + + + uk-UA + false + + + vi-VN + false + + + zh-CN + false + + + InternalLink @@ -118602,6 +122442,486 @@ + + LinkAccessDenied + + + + + + ar-SA + false + + + az-Latn-AZ + false + + + bg-BG + false + + + cs-CZ + false + + + de-DE + false + + + el-GR + false + + + en-US + false + + + es-ES + false + + + fi-FI + false + + + fr-FR + false + + + hy-AM + false + + + it-IT + false + + + ja-JP + false + + + ko-KR + false + + + lo-LA + false + + + lv-LV + false + + + nl-NL + false + + + pl-PL + false + + + pt-BR + false + + + pt-PT + false + + + ro-RO + false + + + ru-RU + false + + + sk-SK + false + + + sl-SI + false + + + tr-TR + false + + + uk-UA + false + + + vi-VN + false + + + zh-CN + false + + + + + LinkExpireAfter + + + + + + ar-SA + false + + + az-Latn-AZ + false + + + bg-BG + false + + + cs-CZ + false + + + de-DE + false + + + el-GR + false + + + en-US + false + + + es-ES + false + + + fi-FI + false + + + fr-FR + false + + + hy-AM + false + + + it-IT + false + + + ja-JP + false + + + ko-KR + false + + + lo-LA + false + + + lv-LV + false + + + nl-NL + false + + + pl-PL + false + + + pt-BR + false + + + pt-PT + false + + + ro-RO + false + + + ru-RU + false + + + sk-SK + false + + + sl-SI + false + + + tr-TR + false + + + uk-UA + false + + + vi-VN + false + + + zh-CN + false + + + + + LinkExpired + + + + + + ar-SA + false + + + az-Latn-AZ + false + + + bg-BG + false + + + cs-CZ + false + + + de-DE + false + + + el-GR + false + + + en-US + false + + + es-ES + false + + + fi-FI + false + + + fr-FR + false + + + hy-AM + false + + + it-IT + false + + + ja-JP + false + + + ko-KR + false + + + lo-LA + false + + + lv-LV + false + + + nl-NL + false + + + pl-PL + false + + + pt-BR + false + + + pt-PT + false + + + ro-RO + false + + + ru-RU + false + + + sk-SK + false + + + sl-SI + false + + + tr-TR + false + + + uk-UA + false + + + vi-VN + false + + + zh-CN + false + + + + + LinkIsValid + + + + + + ar-SA + false + + + az-Latn-AZ + false + + + bg-BG + false + + + cs-CZ + false + + + de-DE + false + + + el-GR + false + + + en-US + false + + + es-ES + false + + + fi-FI + false + + + fr-FR + false + + + hy-AM + false + + + it-IT + false + + + ja-JP + false + + + ko-KR + false + + + lo-LA + false + + + lv-LV + false + + + nl-NL + false + + + pl-PL + false + + + pt-BR + false + + + pt-PT + false + + + ro-RO + false + + + ru-RU + false + + + sk-SK + false + + + sl-SI + false + + + tr-TR + false + + + uk-UA + false + + + vi-VN + false + + + zh-CN + false + + + LinkName @@ -118962,6 +123282,246 @@ + + ShareDocument + + + + + + ar-SA + false + + + az-Latn-AZ + false + + + bg-BG + false + + + cs-CZ + false + + + de-DE + false + + + el-GR + false + + + en-US + false + + + es-ES + false + + + fi-FI + false + + + fr-FR + false + + + hy-AM + false + + + it-IT + false + + + ja-JP + false + + + ko-KR + false + + + lo-LA + false + + + lv-LV + false + + + nl-NL + false + + + pl-PL + false + + + pt-BR + false + + + pt-PT + false + + + ro-RO + false + + + ru-RU + false + + + sk-SK + false + + + sl-SI + false + + + tr-TR + false + + + uk-UA + false + + + vi-VN + false + + + zh-CN + false + + + + + ShareDocumentDescription + + + + + + ar-SA + false + + + az-Latn-AZ + false + + + bg-BG + false + + + cs-CZ + false + + + de-DE + false + + + el-GR + false + + + en-US + false + + + es-ES + false + + + fi-FI + false + + + fr-FR + false + + + hy-AM + false + + + it-IT + false + + + ja-JP + false + + + ko-KR + false + + + lo-LA + false + + + lv-LV + false + + + nl-NL + false + + + pl-PL + false + + + pt-BR + false + + + pt-PT + false + + + ro-RO + false + + + ru-RU + false + + + sk-SK + false + + + sl-SI + false + + + tr-TR + false + + + uk-UA + false + + + vi-VN + false + + + zh-CN + false + + + ShareEmailBody diff --git a/package.json b/package.json index fab454cf4f..032110ea63 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "docspace", - "version": "2.0.2", + "version": "2.0.3", "private": true, "workspaces": { "packages": [ diff --git a/packages/client/.eslintrc.cjs b/packages/client/.eslintrc.cjs new file mode 100644 index 0000000000..39bf91784d --- /dev/null +++ b/packages/client/.eslintrc.cjs @@ -0,0 +1,15 @@ +module.exports = { + extends: "../shared/.eslintrc.cjs", + parserOptions: { + project: "tsconfig.eslint.json", + tsconfigRootDir: __dirname, + sourceType: "module", + }, + + ignorePatterns: [ + "./tsconfig.json", + "coverage/**", + "storybook-static/**", + "*.js", + ], +}; diff --git a/packages/client/.prettierrc.json b/packages/client/.prettierrc.json new file mode 100644 index 0000000000..558d71d1a8 --- /dev/null +++ b/packages/client/.prettierrc.json @@ -0,0 +1,3 @@ +{ + "extends": "../shared/.prettierrc.json" +} diff --git a/packages/client/index.d.ts b/packages/client/index.d.ts index c3ab6153bb..27cac0ad3f 100644 --- a/packages/client/index.d.ts +++ b/packages/client/index.d.ts @@ -1,5 +1,5 @@ interface Window { - zESettings?: any; + zESettings?: unknown; zE?: { apply: Function; }; diff --git a/packages/client/package.json b/packages/client/package.json index cba193fbbd..f8fc297f6a 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,6 +1,6 @@ { "name": "@docspace/client", - "version": "2.0.2", + "version": "2.0.3", "private": true, "homepage": "", "scripts": { @@ -59,6 +59,7 @@ }, "devDependencies": { "@babel/core": "^7.21.3", + "@babel/eslint-parser": "^7.21.8", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-proposal-export-default-from": "^7.18.10", "@babel/plugin-transform-runtime": "^7.21.0", @@ -66,16 +67,30 @@ "@babel/preset-react": "^7.18.6", "@babel/preset-typescript": "^7.21.0", "@svgr/webpack": "^5.5.0", + "@types/eslint": "^8.44.7", + "@typescript-eslint/eslint-plugin": "^6.12.0", + "@typescript-eslint/parser": "^6.12.0", "babel-loader": "^8.3.0", "clean-webpack-plugin": "^4.0.0", "copy-webpack-plugin": "^9.1.0", "css-loader": "^6.7.3", + "eslint": "^8.54.0", + "eslint-config-airbnb": "^19.0.4", + "eslint-config-airbnb-typescript": "^17.1.0", + "eslint-config-prettier": "^9.0.0", + "eslint-plugin-import": "^2.29.0", + "eslint-plugin-jsx-a11y": "^6.8.0", + "eslint-plugin-prettier": "^5.0.1", + "eslint-plugin-react": "^7.33.2", + "eslint-plugin-react-hooks": "^4.6.0", + "eslint-plugin-storybook": "^0.6.15", "external-remotes-plugin": "^1.0.0", "file-loader": "^6.2.0", "html-loader": "^4.2.0", "html-webpack-plugin": "5.5.0", "json-loader": "^0.5.7", "playwright": "^1.32.0", + "prettier": "^3.1.0", "sass": "^1.59.3", "sass-loader": "^12.6.0", "serve": "14.2.0", diff --git a/packages/client/public/locales/ar-SA/Translations.json b/packages/client/public/locales/ar-SA/Translations.json index d8ef223d8f..f7ee0e30ee 100644 --- a/packages/client/public/locales/ar-SA/Translations.json +++ b/packages/client/public/locales/ar-SA/Translations.json @@ -35,7 +35,7 @@ "MobileWin": "حمّل ONLYOFFICE Desktop Editors لنظام ويندوز", "MoveHere": "انقل إلى هنا", "MoveToOperation": "جارٍ النقل", - "NewForm": "قوالب جاهزة", + "NewForm": "نموذج PDF", "Other": "آخر", "OwnerChange": "تغيير المالك", "Presentations": "العروض التقديمية", diff --git a/packages/client/public/locales/az/Translations.json b/packages/client/public/locales/az/Translations.json index 6980df39fe..217e8b01f6 100644 --- a/packages/client/public/locales/az/Translations.json +++ b/packages/client/public/locales/az/Translations.json @@ -35,7 +35,7 @@ "MobileWin": "Windows üçün ONLYOFFICE Masaüstü Redaktorları endirin", "MoveHere": "Bura köçürün", "MoveToOperation": "Yer dəyişdirmə", - "NewForm": "Forma şablonu", + "NewForm": "PDF forma", "Other": "Digər", "OwnerChange": "Sahibi dəyiş", "Presentations": "Təqdimatlar", diff --git a/packages/client/public/locales/bg/Translations.json b/packages/client/public/locales/bg/Translations.json index f687b7a884..2cef2c8ee3 100644 --- a/packages/client/public/locales/bg/Translations.json +++ b/packages/client/public/locales/bg/Translations.json @@ -35,7 +35,7 @@ "MobileWin": "Изтеглете ONLYOFFICE настолни редактори за Windows", "MoveHere": "Премести се тук", "MoveToOperation": "Преместване", - "NewForm": "Шаблон на формуляр", + "NewForm": "PDF формуляр", "Other": "Друг", "OwnerChange": "Смени собственик", "Presentations": "Презентации", diff --git a/packages/client/public/locales/cs/Translations.json b/packages/client/public/locales/cs/Translations.json index 3f7c108bca..1cde927286 100644 --- a/packages/client/public/locales/cs/Translations.json +++ b/packages/client/public/locales/cs/Translations.json @@ -35,7 +35,7 @@ "MobileWin": "Stáhnout ONLYOFFICE Desktop Editors pro Windows", "MoveHere": "Přesunout zde", "MoveToOperation": "Přesouvám", - "NewForm": "Šablona formuláře", + "NewForm": "PDF formulář", "Other": "Jiný", "OwnerChange": "Změnit vlastníka", "Presentations": "Prezentace", diff --git a/packages/client/public/locales/de/Translations.json b/packages/client/public/locales/de/Translations.json index 12f4e7ac90..1e38c1932a 100644 --- a/packages/client/public/locales/de/Translations.json +++ b/packages/client/public/locales/de/Translations.json @@ -35,7 +35,7 @@ "MobileWin": "Download ONLYOFFICE Desktop Editors für Windows", "MoveHere": "Verschieben", "MoveToOperation": "Wird verschoben", - "NewForm": "Formularvorlage", + "NewForm": "PDF-Formular", "Other": "Sonstiges", "OwnerChange": "Besitzer ändern", "Presentations": "Präsentationen", diff --git a/packages/client/public/locales/el-GR/Translations.json b/packages/client/public/locales/el-GR/Translations.json index 9d7fe061c0..93ea74b722 100644 --- a/packages/client/public/locales/el-GR/Translations.json +++ b/packages/client/public/locales/el-GR/Translations.json @@ -35,7 +35,7 @@ "MobileWin": "Λήψη ONLYOFFICE Desktop Editors για Windows", "MoveHere": "Μετακίνηση εδώ", "MoveToOperation": "Μετακίνηση", - "NewForm": "Πρότυπο φόρμας", + "NewForm": "Φόρμα PDF", "Other": "Άλλο", "OwnerChange": "Αλλαγή κατόχου", "Presentations": "Παρουσιάσεις", diff --git a/packages/client/public/locales/en/Files.json b/packages/client/public/locales/en/Files.json index 1b938a9ebc..66bd881710 100644 --- a/packages/client/public/locales/en/Files.json +++ b/packages/client/public/locales/en/Files.json @@ -14,9 +14,9 @@ "ArchiveEmptyScreenUser": "Rooms that have been archived will appear here.", "Archives": "Archives", "AssignOwner": "Assign Owner", + "BackToParentFolderButton": "Back to parent folder", "BadgeAlertDescription": "Several roles are specified in this form. Forms with multiple roles are not available for filling in this type of room", "BadgeMyDraftTitle": "My draft", - "BackToParentFolderButton": "Back to parent folder", "ByAuthor": "Author", "ByCreation": "Created", "ByErasure": "Erasure", @@ -27,20 +27,20 @@ "CollaborationRooms": "Collaboration", "ContainsSpecCharacter": "The title can't contain any of the following characters: *+:\"<>?|/", "Convert": "Convert", - "CopySharedLink": "Copy shared link", "CopyItem": "{{title}} copied", "CopyItems": "{{qty}} elements copied", "CopyLink": "Copy link", "CopyLinkPassword": "Copy link password", "CopyPassword": "Copy password", + "CopySharedLink": "Copy shared link", "CreateAndCopy": "Create and copy", "CreateNewLink": "Create new link", "CreateRoom": "Create room", "CustomRooms": "Custom", "DaysRemaining": "Days remaining: {{daysRemaining}}", - "DeleteSharedLink": "The previous link will become unavailable. A new shared link will be created.", "DeleteLink": "Delete link", "DeleteLinkNote": "The link will be deleted permanently. You will not be able to undo this action.", + "DeleteSharedLink": "The previous link will become unavailable. A new shared link will be created.", "DisableDownload": "Restrict file content copy, file download and printing", "DisableLink": "Disable link", "DisableNotifications": "Disable notifications", @@ -48,9 +48,9 @@ "DocumentEdited": "Cannot perform the action because the document is being edited.", "DownloadAll": "Download all", "EditAdditionalLink": "Edit additional link", - "EditSharedLink": "Edit shared link", "EditLink": "Edit link", "EditRoom": "Edit room", + "EditSharedLink": "Edit shared link", "EmbeddingSettings": "Embedding settings", "EmptyFile": "Empty file", "EmptyFilterDescriptionText": "No files or folders match this filter. Try a different one or clear filter to view all files. ", @@ -58,12 +58,12 @@ "EmptyFolderDecription": "Drop files here or create new ones", "EmptyFolderDescriptionUser": "Files and folders uploaded by admins will appear here.", "EmptyFolderHeader": "No files in this folder", - "EmptyFormFolderDoneHeaderText": "No finished forms yet", "EmptyFormFolderDoneDescriptionText": "This section will display all forms that are complete.", - "EmptyFormFolderProgressHeaderText": "Nothing here yet", + "EmptyFormFolderDoneHeaderText": "No finished forms yet", "EmptyFormFolderProgressDescriptionText": "This section will display the forms in progress.", - "EmptyFormSubFolderHeaderText": "No files in this folder yet", + "EmptyFormFolderProgressHeaderText": "Nothing here yet", "EmptyFormSubFolderDoneDescriptionText": "Here you will find forms which have been completely filled out by other users.", + "EmptyFormSubFolderHeaderText": "No files in this folder yet", "EmptyFormSubFolderProgressDescriptionText": "Here you will find forms in progress, i.e. forms which users have started to fill out but haven't completed. ", "EmptyRecycleBin": "Empty Trash", "EmptyRootRoomHeader": "Welcome to DocSpace", @@ -73,8 +73,10 @@ "ExcludeSubfolders": "Exclude subfolders", "FavoritesEmptyContainerDescription": "To mark files as favorites or remove them from this list, use the context menu.", "FileContents": "File contents", + "FileDownloadingIsRestricted": "File downloading is restricted in this room.", "FileRemoved": "File moved to Trash", "FileRenamed": "The document '{{oldTitle}}' is renamed to '{{newTitle}}'", + "FilesWillAppearHere": "Files and folders added to the room will appear here.", "FillingFormRooms": "Filling form", "Filter": "Filter", "FinalizeVersion": "Finalize version", @@ -84,7 +86,6 @@ "FormRoom": "Form room", "Forms": "Forms", "FormsTemplates": "Forms templates", - "SharedLinks": "Shared links", "GeneralLinkDeletedSuccessfully": "New general link created successfully", "GoToMyRooms": "Go to rooms", "GoToPersonal": "Go to My Documents", @@ -99,6 +100,7 @@ "LinkEditedSuccessfully": "Link successfully edited and copied", "LinkEnabledSuccessfully": "Link enabled successfully", "LinkForPortalUsers": "Link for DocSpace users", + "LinkSettings": "Link settings", "LinkSuccessfullyCopied": "Link successfully copied to clipboard", "LinkSuccessfullyCreatedAndCopied": "Link successfully created and copied to clipboard", "LinkValidUntil": "This link will be valid until", @@ -139,8 +141,8 @@ "PrivateRoomHeader": "Welcome to ONLYOFFICE private room where every symbol you type is encrypted", "PrivateRoomSupport": "Work in Private Room is available via {{organizationName}} desktop app. <3>Instructions", "PublicRoom": "Public room", - "RecentlyAccessible": "Recently accessible via link", "RecentEmptyContainerDescription": "Your last viewed or edited docs will be displayed in this section.", + "RecentlyAccessible": "Recently accessible via link", "RecentViaLinkEmptyContainerDescription": "Here you will find a list of the recently opened files shared with you via an external link.", "RecycleBinAction": "Empty trash", "RemovedFromFavorites": "Removed from favorites", @@ -150,6 +152,7 @@ "RevokeLink": "Revoke link", "RoomAvailableViaExternalLink": "Room available via external link", "RoomCreated": "Room created", + "RoomEmptyAtTheMoment": "This room is empty at the moment.", "RoomEmptyContainerDescription": "Please create the first room.", "RoomEmptyContainerDescriptionUser": "Rooms shared with you will appear here.", "RoomNotificationsDisabled": "Room notifications disabled", @@ -165,6 +168,7 @@ "SelectorEmptyScreenHeader": "No files and folders here yet", "SendByEmail": "Send by email", "Share": "Share", + "SharedLinks": "Shared links", "ShareFolder": "Share folder", "ShareFolderDescription": "A new room will be created and all the contents of the selected folder will be copied there. Afterwards, you can invite other users to collaborate on the files within a room.", "ShareRoom": "Share room", @@ -190,9 +194,5 @@ "WantToRestoreTheRoom": "All shared links in this room will become active, and its contents will be available to everyone with the link. Do you want to restore the room?", "WantToRestoreTheRooms": "All shared links in restored rooms will become active, and their contents will be available to everyone with the room links. Do you want to restore the rooms?", "WithSubfolders": "With subfolders", - "YouLeftTheRoom": "You have left the room", - "LinkSettings": "Link settings", - "FileDownloadingIsRestricted": "File downloading is restricted in this room.", - "RoomEmptyAtTheMoment": "This room is empty at the moment.", - "FilesWillAppearHere": "Files and folders added to the room will appear here." + "YouLeftTheRoom": "You have left the room" } diff --git a/packages/client/public/locales/en/InviteDialog.json b/packages/client/public/locales/en/InviteDialog.json index dcc384465e..4f07bcc7f2 100644 --- a/packages/client/public/locales/en/InviteDialog.json +++ b/packages/client/public/locales/en/InviteDialog.json @@ -12,5 +12,6 @@ "InviteViaLinkDescriptionRoom": "Create a universal link for self-authorization in the room", "LinkCopySuccess": "Link has been copied", "ResetChange": "Reset change", - "SendInvitation": "Send invitation" + "SendInvitation": "Send invitation", + "UsersAlreadyAdded": "Some users have already been added" } diff --git a/packages/client/public/locales/en/JavascriptSdk.json b/packages/client/public/locales/en/JavascriptSdk.json index 5439ae5e79..2673adfae2 100644 --- a/packages/client/public/locales/en/JavascriptSdk.json +++ b/packages/client/public/locales/en/JavascriptSdk.json @@ -1,38 +1,100 @@ { + "ActionButton": "Action button", + "ActionButtonDescription": "You can disable the Action and + buttons in the current section header to limit creation of files, folders, and rooms.", + "AddWatermarks": "Add watermarks to documents", "AdvancedDisplay": "Advanced display settings", "APILink": "API library", "Ascending": "Ascending", + "AllTypes": "All types", + "ButtonColor": "Button color", + "ButtonCustomization": "Button customization", + "ButtonText": "Button text", + "CancelButtonText": "Cancel button text", "Code": "Code to insert", "CopyWindowCode": "Copy window embed code", "CreateSampleHeader": "Create sample DocSpace embed", + "Chat": "Chat", "CSPDescription": "To safely embed DocSpace as an iframe in a website, add its URL to your allow list.", "CSPHeader": "Embed DocSpace as iframe", "CSPHelp": "This setting is a security mechanism that can be used to protect against content injection attacks. The CSP describes secure resource download sources. Downloading from resources not included in the `white list` is blocked. Specify the domains (together with the protocol) with which it will work.", "CSPInputPlaceholder": "Enter URL like this: https://example.com", "CustomizingDisplay": "Customizing the display", + "DefaultColumnsOption": "Default (Quantity depends on screen width)", "DataDisplay": "Data display settings", "Descending": "Descending", + "DisplayColumns": "Displaying columns in a file row", "EmbedCodeSuccessfullyCopied": "Embed code successfully copied to clipboard", + "Editor": "Editor", + "EditorDescription": "Allows you to open the SDK as a document editor for editing by specifying the id parameter for a file.", + "EditorPresetDescription": "This mode allows you to open the SDK as a document editor for editing by specifying the id parameter for a file.", "EnterCount": "Enter count", "EnterHeight": "Enter height", "EnterId": "Enter id", "EnterPage": "Enter page number", "EnterWidth": "Enter width", + "ElementItself": "The element itself", + "ElementCalledAfterClicking": "The element will be called after clicking", + "FeedbackAndSupport": "Feedback&Support", "Filter": "Search, Filter and Sort", + "FileSelector": "File selector", + "FileSelectorDescription": "Opens the file selector and allows you to select a file from a list of available files.", + "FileSelectorPresetDescription": "Use this mode to display the file selector. It allows selecting a file from the list of the available ones.", + "FileTypeDisplay": "File type display", "FrameId": "Frame id", + "FileId": "File ID", "GetCode": "Get code to insert", "Header": "Header", + "HeaderDescription": "You can disable header in the mobile version to limit access to the DocSpace sections (just like disabling the left menu in the desktop version).", "InterfaceElements": "Interface elements", + "InitializeSDK": "Initialize the SDK in the following modes", + "InLeftPanel": "in the left panel", "ItemsCount": "Items count on one page", "ItemsCountDescription": "You can specify the number of files / folders displayed on one page, as well as specify which page to start displaying", "JavascriptSdk": "Javascript SDK", + "Manager": "Manager", + "ManagerDescription": "Displays a list of entities depending on the specified rootPath. It allows you to create rooms, folders, and files and work with them.", + "ManagerPresetDescription": "Use this mode to display a list of entities depending on the specified rootPath. It allows creating and working with rooms, folders and files.", + "MainElementParameter": "Main element parameter", "Menu": "Left menu", + "MenuDescription": "You can disable the left menu if users don't need to navigate to other sections.", "MobileOnly": "only mobile devices", "Page": "Display page (number)", + "RoomDescription": "You can select the room you want to display", "RoomOrFolder": "Room or Folder", "RoomOrFolderDescription": "You can select the section, room or folder you want to display", - "SDKDescription": "Using JavaScript SDK, you can embed a room or a folder from ONLYOFFICE DocSpace into your web interface as an iframe. Here, you can find settings for creating a sample iframe and configuring CSP. To use the complete SDK, please refer to the ", + "RoomSelector": "Room selector", + "RoomSelectorDescription": "Opens the room selector and allows you to select a room from a list of the available rooms.", + "RoomSelectorPresetDescription": "Use this mode to display the room selector. It allows selecting a room from the list of the available ones.", + "RoomTypeDisplay": "Room type display", + "Rotate": "Rotate", + "RightPanelCollapsed": "Right panel collapsed", + "Scale": "Scale", + "SDKDescription": "Using JavaScript SDK, you can embed one of the available ONLYOFFICE DocSpace modes into your web interface as an iframe (file manager, room or file selector, editor and viewer). Here, you can find settings for creating a sample iframe using modes and configuring CSP. To use the complete SDK, please refer to the ", + "SearchBlock": "Search block", + "ManagerSearchBlockDescription": "You can disable the search, filter and sort options.", + "FilesSearchDescription": "File search within the opened folder/room.", "SearchTerm": "Search term", + "SelectToDocSpace": "Select to DocSpace", + "SelectImage": "Select image", + "SettingUpColumns": "Setting up Columns", + "SettingUpColumnsDescription": "You can disable the ability for users to manage and customize file information columns in list view.", + "SetItUp": "Set it up", + "SelectButtonText": "Select Button text", + "SelectFile": "Select a file", + "SelectRoom": "Select a room", + "SelectTypes": "Select types", + "SelectorPreview": "Selector preview", "SortOrder": "Sort order", - "Title": "Navigate and Title" + "SetUp": "SET UP", + "SimpleRoom": "Simple Room", + "SimpleRoomDescription": "Opens the room selector and allows you to select a room from a list of the available rooms.", + "SimpleRoomPresetDescription": "Use this mode to display a list of entities depending on the specified rootPath. It allows creating and working with rooms, folders and files.", + "Subtitle": "Subtitle", + "SubtitleDescription": "Subtitle with additional comments or descriptions for the current directory.", + "TabPlugins": "Tab Plugins", + "Title": "Navigate and Title", + "ManagerTitleDescription": "You can disable the title of the current section/room/folder.", + "Viewer": "Viewer", + "ViewerDescription": "Allows you to open the SDK as a document editor for viewing by specifying the id parameter for a file.", + "ViewerPresetDescription": "Allows you to open the SDK as a document editor for viewing by specifying the id parameter for a file." } diff --git a/packages/client/public/locales/en/SharingPanel.json b/packages/client/public/locales/en/SharingPanel.json index fcedb9de36..9243f82eb4 100644 --- a/packages/client/public/locales/en/SharingPanel.json +++ b/packages/client/public/locales/en/SharingPanel.json @@ -1,7 +1,7 @@ { "AddGroupsForSharingButton": "Add groups", - "AddShareMessage": "Add message", "AdditionalLinkRemove": "Additional link remove", + "AddShareMessage": "Add message", "AnyoneWithLink": "Anyone with the link", "Comment": "Comment", "CopyExternalLink": "Copy external link", @@ -19,16 +19,16 @@ "GeneralAccessLinkRemove": "General access link remove", "InternalLink": "Internal link", "LinkAccessDenied": "Access to the link has been denied", - "LinkName": "Link name", "LinkExpireAfter": "The link will expire after <1>{{date}}", "LinkExpired": "The link has expired.", "LinkIsValid": "The link is valid for <1>{{date}}", + "LinkName": "Link name", "Notify users": "Notify users", "ReadOnly": "Read only", - "ShareEmailBody": "You have been granted access to the {{itemName}} document. Click the link below to open the document right now: {{shareLink}}.", - "ShareEmailSubject": "You have been granted access to the {{itemName}} document", "ShareDocument": "Share this document", "ShareDocumentDescription": "Provide access to the document and set the permission levels.", + "ShareEmailBody": "You have been granted access to the {{itemName}} document. Click the link below to open the document right now: {{shareLink}}.", + "ShareEmailSubject": "You have been granted access to the {{itemName}} document", "ShareVia": "Share via", "SharingSettingsTitle": "Sharing settings" } diff --git a/packages/client/public/locales/en/Translations.json b/packages/client/public/locales/en/Translations.json index fe63fe1cc3..961cae5d53 100644 --- a/packages/client/public/locales/en/Translations.json +++ b/packages/client/public/locales/en/Translations.json @@ -35,7 +35,7 @@ "MobileWin": "Download ONLYOFFICE Desktop Editors for Windows", "MoveHere": "Move here", "MoveToOperation": "Moving", - "NewForm": "Form template", + "NewForm": "PDF Form", "Other": "Other", "OwnerChange": "Change owner", "Presentations": "Presentations", diff --git a/packages/client/public/locales/es/Translations.json b/packages/client/public/locales/es/Translations.json index cfb0e1467c..87213db4e7 100644 --- a/packages/client/public/locales/es/Translations.json +++ b/packages/client/public/locales/es/Translations.json @@ -35,7 +35,7 @@ "MobileWin": "Descargar los editores de escritorio ONLYOFFICE para Windows", "MoveHere": "Mover aquí", "MoveToOperation": "Moviendo", - "NewForm": "Plantilla de formulario", + "NewForm": "Formulario PDF", "Other": "Otro", "OwnerChange": "Cambiar propietario", "Presentations": "Presentaciones", diff --git a/packages/client/public/locales/fi/Translations.json b/packages/client/public/locales/fi/Translations.json index 42f4528d60..f245196ed4 100644 --- a/packages/client/public/locales/fi/Translations.json +++ b/packages/client/public/locales/fi/Translations.json @@ -35,7 +35,7 @@ "MobileWin": "Lataa ONLYOFFICE Desktop Editors Windowsille", "MoveHere": "Siirrä tänne", "MoveToOperation": "Siirretään", - "NewForm": "Lomakemalli", + "NewForm": "PDF-lomake", "Other": "Muu", "OwnerChange": "Vaihda omistaja", "Presentations": "Esitykset", diff --git a/packages/client/public/locales/fr/Translations.json b/packages/client/public/locales/fr/Translations.json index 74e6fbe0a1..a58c5cbbf3 100644 --- a/packages/client/public/locales/fr/Translations.json +++ b/packages/client/public/locales/fr/Translations.json @@ -35,7 +35,7 @@ "MobileWin": "Télécharger les applications de bureau ONLYOFFICE pour Windows", "MoveHere": "Déplacer ici", "MoveToOperation": "Déplacement", - "NewForm": "Modèle de formulaire", + "NewForm": "Formulaire PDF", "Other": "Autre", "OwnerChange": "Changer le propriétaire", "Presentations": "Présentations", diff --git a/packages/client/public/locales/hy-AM/Translations.json b/packages/client/public/locales/hy-AM/Translations.json index cbe807227f..4d2cbf36d5 100644 --- a/packages/client/public/locales/hy-AM/Translations.json +++ b/packages/client/public/locales/hy-AM/Translations.json @@ -35,7 +35,7 @@ "MobileWin": "Ներբեռնել ONLYOFFICE Desktop Editors Windows-ի համար", "MoveHere": "Տեղափոխել այստեղ", "MoveToOperation": "Տեղափոխություն", - "NewForm": "Ձևանմուշ", + "NewForm": "PDF Ձև", "Other": "Այլ", "OwnerChange": "Փոխել տնօրինողին", "Presentations": "Ներկայացումներ", diff --git a/packages/client/public/locales/it/Translations.json b/packages/client/public/locales/it/Translations.json index 6c4acedbc7..2ebb289d87 100644 --- a/packages/client/public/locales/it/Translations.json +++ b/packages/client/public/locales/it/Translations.json @@ -35,7 +35,7 @@ "MobileWin": "Scarica ONLYOFFICE Desktop Editors per Windows", "MoveHere": "Sposta qui", "MoveToOperation": "Sta spostando", - "NewForm": "Modello di modulo", + "NewForm": "Modulo PDF", "Other": "Altro", "OwnerChange": "Cambiare proprietario", "Presentations": "Presentazioni", diff --git a/packages/client/public/locales/ja-JP/Translations.json b/packages/client/public/locales/ja-JP/Translations.json index ed0ca852d5..ffe7310fd9 100644 --- a/packages/client/public/locales/ja-JP/Translations.json +++ b/packages/client/public/locales/ja-JP/Translations.json @@ -35,7 +35,7 @@ "MobileWin": "Windows用のONLYOFFICEデスクトップエディタをダウンロードする", "MoveHere": "ここに移動", "MoveToOperation": "移動中", - "NewForm": "フォーム テンプレート", + "NewForm": "PDFフォーム", "Other": "その他", "OwnerChange": "オーナー変更", "Presentations": "プレゼンテーション", diff --git a/packages/client/public/locales/ko-KR/Translations.json b/packages/client/public/locales/ko-KR/Translations.json index 10bf2cb0d5..4edd3d73ed 100644 --- a/packages/client/public/locales/ko-KR/Translations.json +++ b/packages/client/public/locales/ko-KR/Translations.json @@ -35,7 +35,7 @@ "MobileWin": "Windows용 ONLYOFFICE Desktop Editors를 다운로드 받으세요", "MoveHere": "여기로 이동", "MoveToOperation": "이동 중", - "NewForm": "양식 템플릿", + "NewForm": "PDF 양식", "Other": "기타", "OwnerChange": "소유자 변경", "Presentations": "프레젠테이션", diff --git a/packages/client/public/locales/lo-LA/Translations.json b/packages/client/public/locales/lo-LA/Translations.json index b855fba26f..69bbfae9d8 100644 --- a/packages/client/public/locales/lo-LA/Translations.json +++ b/packages/client/public/locales/lo-LA/Translations.json @@ -34,7 +34,7 @@ "MobileWin": "ດາວໂຫລດ ONLYOFFICE Desktop Editors ສໍາລັບ Windows", "MoveHere": "ຍ້າຍ ນີ້", "MoveToOperation": "ກຳລັງເຄື່ອນຍ້າຍ", - "NewForm": "ແບບຟອມ", + "NewForm": "ແບບຟອມ PDF", "Other": "ອື່ນໆ", "OwnerChange": "ປ່ຽນເຈົ້າຂອງ", "Presentations": "ບົດສະເຫນີ", diff --git a/packages/client/public/locales/lv/Translations.json b/packages/client/public/locales/lv/Translations.json index 739e1d9639..57d1beed75 100644 --- a/packages/client/public/locales/lv/Translations.json +++ b/packages/client/public/locales/lv/Translations.json @@ -35,7 +35,7 @@ "MobileWin": "Lejupielādēt ONLYOFFICE darbvirsmas redaktorus operētājsistēmai Windows", "MoveHere": "Pārvietoties šeit", "MoveToOperation": "Pārvieto", - "NewForm": "Veidlapas veidne", + "NewForm": "PDF veidlapa", "Other": "Cits", "OwnerChange": "Mainīt īpašnieku", "Presentations": "Prezentācijas", diff --git a/packages/client/public/locales/nl/Translations.json b/packages/client/public/locales/nl/Translations.json index 0bac262c08..1482cb2005 100644 --- a/packages/client/public/locales/nl/Translations.json +++ b/packages/client/public/locales/nl/Translations.json @@ -35,7 +35,7 @@ "MobileWin": "Download ONLYOFFICE Desktop Editors voor Windows", "MoveHere": "Hierheen verplaatsen", "MoveToOperation": "Verplaatsen", - "NewForm": "Formulier sjabloon", + "NewForm": "PDF-formulier", "Other": "Overige", "OwnerChange": "Wijzig eigenaar", "Presentations": "Presentaties", diff --git a/packages/client/public/locales/pl/Translations.json b/packages/client/public/locales/pl/Translations.json index 169bfcf43f..3c7921dddc 100644 --- a/packages/client/public/locales/pl/Translations.json +++ b/packages/client/public/locales/pl/Translations.json @@ -35,7 +35,7 @@ "MobileWin": "Pobierz ONLYOFFICE Desktop Editors dla Windows", "MoveHere": "Przenieś tutaj", "MoveToOperation": "Przenoszenie", - "NewForm": "Szablon formularza", + "NewForm": "Formularz PDF", "Other": "Inny", "OwnerChange": "Zmień właściciela", "Presentations": "Prezentacje", diff --git a/packages/client/public/locales/pt-BR/Translations.json b/packages/client/public/locales/pt-BR/Translations.json index 1bae8fb11c..f19e0ddff2 100644 --- a/packages/client/public/locales/pt-BR/Translations.json +++ b/packages/client/public/locales/pt-BR/Translations.json @@ -35,7 +35,7 @@ "MobileWin": "Baixar ONLYOFFICE Desktop Editors para Windows", "MoveHere": "Mover aqui", "MoveToOperation": "Movendo", - "NewForm": "Modelo de formulário", + "NewForm": "Formulário PDF", "Other": "Outro", "OwnerChange": "Alterar proprietário", "Presentations": "Apresentações ", diff --git a/packages/client/public/locales/pt/Translations.json b/packages/client/public/locales/pt/Translations.json index 0d8d3555d8..fa8c7ad686 100644 --- a/packages/client/public/locales/pt/Translations.json +++ b/packages/client/public/locales/pt/Translations.json @@ -35,7 +35,7 @@ "MobileWin": "Faça o download do ONLYOFFICE Desktop Editors para Windows", "MoveHere": "Mover para aqui", "MoveToOperation": "A mover", - "NewForm": "Modelo de Formulário", + "NewForm": "Formulário PDF", "Other": "Outros", "OwnerChange": "Alterar dono", "Presentations": "Apresentações ", diff --git a/packages/client/public/locales/ro/Translations.json b/packages/client/public/locales/ro/Translations.json index d9644a0fb1..248b654638 100644 --- a/packages/client/public/locales/ro/Translations.json +++ b/packages/client/public/locales/ro/Translations.json @@ -35,7 +35,7 @@ "MobileWin": "Descarcă ONLYOFFICE Desktop Editors pentru Windows", "MoveHere": "Mutare în acest loc", "MoveToOperation": "Mutare", - "NewForm": "Șablon formă,", + "NewForm": "Formular PDF", "Other": "Altă", "OwnerChange": "Schimbare proprietar", "Presentations": "Prezentări", diff --git a/packages/client/public/locales/ru/Translations.json b/packages/client/public/locales/ru/Translations.json index 00c63adaad..9a9676f02b 100644 --- a/packages/client/public/locales/ru/Translations.json +++ b/packages/client/public/locales/ru/Translations.json @@ -35,7 +35,7 @@ "MobileWin": "Скачать десктопные редакторы ONLYOFFICE для Windows", "MoveHere": "Переместить сюда", "MoveToOperation": "Перемещение", - "NewForm": "Шаблон формы", + "NewForm": "PDF-форма", "Other": "Другой", "OwnerChange": "Сменить владельца", "Presentations": "Презентации", diff --git a/packages/client/public/locales/sk/Translations.json b/packages/client/public/locales/sk/Translations.json index 599dafcf65..74ac3a4018 100644 --- a/packages/client/public/locales/sk/Translations.json +++ b/packages/client/public/locales/sk/Translations.json @@ -35,7 +35,7 @@ "MobileWin": "Stiahnite si ONLYOFFICE Desktop Editors pre Windows", "MoveHere": "Posunúť sem", "MoveToOperation": "Presúva sa", - "NewForm": "Šablóna formulára", + "NewForm": "Formulár PDF", "Other": "Iný", "OwnerChange": "Zmeniť vlastníka", "Presentations": "Prezentácie", diff --git a/packages/client/public/locales/sl/Translations.json b/packages/client/public/locales/sl/Translations.json index c0a21e2ddb..acb8d8c9fb 100644 --- a/packages/client/public/locales/sl/Translations.json +++ b/packages/client/public/locales/sl/Translations.json @@ -35,7 +35,7 @@ "MobileWin": "Prenesi ONLYOFFICE namizne urejevalnike za Windows", "MoveHere": "Premakni sem", "MoveToOperation": "Premikanje", - "NewForm": "Predloga obrazca", + "NewForm": "PDF obrazec", "Other": "Drugo", "OwnerChange": "Spremeni lastnika", "Presentations": "Predstavitve", diff --git a/packages/client/public/locales/tr/Translations.json b/packages/client/public/locales/tr/Translations.json index 7b32ed697e..1daa5cbc91 100644 --- a/packages/client/public/locales/tr/Translations.json +++ b/packages/client/public/locales/tr/Translations.json @@ -35,7 +35,7 @@ "MobileWin": "Windows için ONLYOFFICE Masaüstü Düzenleyicilerini İndirin", "MoveHere": "Buraya taşı", "MoveToOperation": "Taşınıyor", - "NewForm": "Form şablonu", + "NewForm": "PDF formu", "Other": "Diğer", "OwnerChange": "Sahibi değiştir", "Presentations": "Sunumlar", diff --git a/packages/client/public/locales/uk-UA/Translations.json b/packages/client/public/locales/uk-UA/Translations.json index 348268585a..68beb5c6ff 100644 --- a/packages/client/public/locales/uk-UA/Translations.json +++ b/packages/client/public/locales/uk-UA/Translations.json @@ -35,7 +35,7 @@ "MobileWin": "Завантажити настільні редактори ONLYOFFICE для Windows", "MoveHere": "Перемістити сюди", "MoveToOperation": "Переміщення", - "NewForm": "Шаблон форми", + "NewForm": "Форма PDF", "Other": "Інше", "OwnerChange": "Змінити власника", "Presentations": "Презентації", diff --git a/packages/client/public/locales/vi/Translations.json b/packages/client/public/locales/vi/Translations.json index 530d3a83be..42f2d3b663 100644 --- a/packages/client/public/locales/vi/Translations.json +++ b/packages/client/public/locales/vi/Translations.json @@ -35,7 +35,7 @@ "MobileWin": "Tải xuống Trình chỉnh sửa ONLYOFFICE cho máy tính Windows", "MoveHere": "Chuyển vào đây", "MoveToOperation": "Đang di chuyển", - "NewForm": "Mẫu biểu mẫu", + "NewForm": "Mẫu PDF", "Other": "Khác", "OwnerChange": "Thay đổi chủ sở hữu", "Presentations": "Bản trình bày", diff --git a/packages/client/public/locales/zh-CN/Translations.json b/packages/client/public/locales/zh-CN/Translations.json index da0ad6dff1..90d45219c9 100644 --- a/packages/client/public/locales/zh-CN/Translations.json +++ b/packages/client/public/locales/zh-CN/Translations.json @@ -35,7 +35,7 @@ "MobileWin": "下载适用于Windows的ONLYOFFICE桌面编辑器", "MoveHere": "移到这里", "MoveToOperation": "移动中", - "NewForm": "表单模板", + "NewForm": "PDF表格", "Other": "其他", "OwnerChange": "变更所有者", "Presentations": "演示文稿", diff --git a/packages/client/src/components/Article/MainButton/index.js b/packages/client/src/components/Article/MainButton/index.js index f8f99104d9..93ab063a79 100644 --- a/packages/client/src/components/Article/MainButton/index.js +++ b/packages/client/src/components/Article/MainButton/index.js @@ -134,6 +134,9 @@ const ArticleMainButtonContent = (props) => { isGracePeriod, setInviteUsersWarningDialogVisible, currentDeviceType, + + isFrame, + disableActionButton, } = props; const navigate = useNavigate(); @@ -492,7 +495,9 @@ const ArticleMainButtonContent = (props) => { ? t("Common:Invite") : t("Common:Actions"); - const isDisabled = isSettingsPage + const isDisabled = isFrame + ? disableActionButton + : isSettingsPage ? isSettingsPage : isAccountsPage ? !isAccountsPage @@ -638,6 +643,8 @@ export default inject( const { setOformFromFolderId, oformsFilter } = oformsStore; const { mainButtonItemsList } = pluginStore; + const { frameConfig, isFrame } = settingsStore + return { isGracePeriod, setInviteUsersWarningDialogVisible, @@ -680,6 +687,9 @@ export default inject( versionHistoryPanelVisible, security, currentDeviceType, + + isFrame, + disableActionButton: frameConfig?.disableActionButton, }; } )( diff --git a/packages/client/src/components/Badges.js b/packages/client/src/components/Badges.js index 95585884b8..c2d53c4157 100644 --- a/packages/client/src/components/Badges.js +++ b/packages/client/src/components/Badges.js @@ -130,7 +130,7 @@ const Badges = ({ const iconForm = sizeBadge === "medium" ? FormFillRectSvgUrl : AccessEditFormReactSvgUrl; - const iconEdit = !isForm ? FileActionsConvertEditDocReactSvgUrl : iconForm; + const iconEdit = !isPdf ? FileActionsConvertEditDocReactSvgUrl : iconForm; const iconRefresh = desktopView ? Refresh12ReactSvgUrl : RefreshReactSvgUrl; @@ -206,7 +206,7 @@ const Badges = ({ /> )} - {isEditing && !isVisitor && !isPdf && !(isRecentTab && !canEditing) && ( + {isEditing && !isVisitor && !(isRecentTab && !canEditing) && ( )} {item.viewAccessibility?.MustConvert && diff --git a/packages/client/src/components/FilesSelector/FilesSelector.types.ts b/packages/client/src/components/FilesSelector/FilesSelector.types.ts index 47d29d5db4..4d40cfc4f5 100644 --- a/packages/client/src/components/FilesSelector/FilesSelector.types.ts +++ b/packages/client/src/components/FilesSelector/FilesSelector.types.ts @@ -142,6 +142,10 @@ export type FilesSelectorProps = { onClose?: () => void; + withSearch: boolean; + withBreadCrumbs: boolean; + withSubtitle: boolean; + isMove?: boolean; isCopy?: boolean; isRestore: boolean; @@ -226,6 +230,8 @@ export type FilesSelectorProps = { embedded: boolean; withHeader: boolean; withCancelButton: boolean; + cancelButtonLabel: string; + acceptButtonLabel: string; settings: any; roomsFolderId?: number; diff --git a/packages/client/src/components/FilesSelector/index.tsx b/packages/client/src/components/FilesSelector/index.tsx index 4f81f3aa97..3021eac252 100644 --- a/packages/client/src/components/FilesSelector/index.tsx +++ b/packages/client/src/components/FilesSelector/index.tsx @@ -46,6 +46,10 @@ const FilesSelector = ({ onClose, + withSearch = true, + withBreadCrumbs = true, + withSubtitle = true, + isMove, isCopy, isRestore, @@ -76,7 +80,7 @@ const FilesSelector = ({ onSelectFolder, onSetBaseFolderPath, - //onSetNewFolderPath, + // onSetNewFolderPath, setIsDataReady, onSelectTreeNode, onSave, @@ -103,6 +107,8 @@ const FilesSelector = ({ embedded, withHeader, withCancelButton = true, + cancelButtonLabel, + acceptButtonLabel, getIcon, isRoomBackup, @@ -162,8 +168,8 @@ const FilesSelector = ({ } = useLoadersHelper({ items }); useEffect(() => { - setIsDataReady && setIsDataReady(!showLoader); - }, [showLoader]); + setIsDataReady?.(!showLoader); + }, [showLoader, setIsDataReady]); const { isRoot, setIsRoot, getRootData } = useRootHelper({ setIsBreadCrumbsLoading, @@ -265,24 +271,31 @@ const FilesSelector = ({ }, [selectedItemId, isRoot]); React.useEffect(() => { + const sessionPath = window.sessionStorage.getItem("filesSelectorPath"); + let folderId = currentFolderId + ? currentFolderId + : sessionPath && (isMove || isCopy || isRestore || isRestoreAll) + ? +sessionPath + : fromFolderId; + const getRoomSettings = () => { setSelectedItemType("rooms"); getRoomList(0, true); }; - const needRoomList = isRoomsOnly && !currentFolderId; + const needRoomList = isRoomsOnly && !folderId; if (needRoomList) { getRoomSettings(); return; } - if (!currentFolderId) { + if (!folderId) { getRootData(); return; } - setSelectedItemId(currentFolderId); + setSelectedItemId(folderId); if ( needRoomList || @@ -296,8 +309,8 @@ const FilesSelector = ({ } setSelectedItemType("files"); - getFileList(0, currentFolderId, true); - }, []); + getFileList(0, folderId, true); + }, [currentFolderId]); const onClickBreadCrumb = (item: BreadCrumb) => { if (!isFirstLoad) { @@ -312,7 +325,7 @@ const FilesSelector = ({ setItems(null); const idx = breadCrumbs.findIndex( - (value) => value.id.toString() === item.id.toString() + (value) => value.id.toString() === item.id.toString(), ); const maxLength = breadCrumbs.length - 1; @@ -321,7 +334,7 @@ const FilesSelector = ({ const newBreadCrumbs = breadCrumbs.map((item, index) => { if (!foundParentId) { currentFolderIndex = disabledItems.findIndex( - (id) => id === item?.id + (id) => id === item?.id, ); } @@ -405,7 +418,7 @@ const FilesSelector = ({ items: any, accessRights: any, fileName: string, - isChecked: boolean + isChecked: boolean, ) => { const isPublic = breadCrumbs.findIndex((f: any) => f.roomType === RoomsType.PublicRoom) > @@ -502,10 +515,10 @@ const FilesSelector = ({ isMove, isSelect, filterParam, - isRestore + isRestore, ); - const acceptButtonLabel = getAcceptButtonLabel( + const defaultAcceptButtonLabel = getAcceptButtonLabel( t, isEditorDialog, isCopy, @@ -513,7 +526,7 @@ const FilesSelector = ({ isMove, isSelect, filterParam, - isRestore + isRestore, ); const isDisabled = getIsDisabled( @@ -530,7 +543,7 @@ const FilesSelector = ({ filterParam, !!selectedFileInfo, includeFolder, - isRestore + isRestore, ); const SelectorBody = ( @@ -544,10 +557,10 @@ const FilesSelector = ({ onClearSearch={onClearSearchAction} items={items ? items : []} onSelect={onSelectAction} - acceptButtonLabel={acceptButtonLabel} + acceptButtonLabel={acceptButtonLabel || defaultAcceptButtonLabel} onAccept={onAcceptAction} withCancelButton={withCancelButton} - cancelButtonLabel={t("Common:CancelButton")} + cancelButtonLabel={cancelButtonLabel || t("Common:CancelButton")} onCancel={onCloseAction} emptyScreenImage={ theme.isBase ? EmptyScreenAltSvgUrl : EmptyScreenAltSvgDarkUrl @@ -561,12 +574,12 @@ const FilesSelector = ({ } searchEmptyScreenHeader={t("Common:NotFoundTitle")} searchEmptyScreenDescription={t("EmptyFilterDescriptionText")} - withBreadCrumbs + withBreadCrumbs={withBreadCrumbs} breadCrumbs={breadCrumbs} onSelectBreadCrumb={onClickBreadCrumb} isLoading={showLoader} isBreadCrumbsLoading={showBreadCrumbsLoader} - withSearch={!isRoot && items ? items.length > 0 : !isRoot && isFirstLoad} + withSearch={withSearch && !isRoot && items ? items.length > 0 : !isRoot && isFirstLoad} rowLoader={ { const { id: selectedId, parentId, rootFolderType } = selectedFolderStore; @@ -652,8 +665,6 @@ export default inject( filesActionsStore; const { itemOperationToFolder, clearActiveOperations } = uploadDataStore; - const sessionPath = window.sessionStorage.getItem("filesSelectorPath"); - const { treeFolders, roomsFolderId } = treeFoldersStore; const { @@ -727,13 +738,8 @@ export default inject( ? parentId : selectedId; - const currentFolderId = - sessionPath && (isMove || isCopy || isRestore || isRestoreAll) - ? +sessionPath - : fromFolderId; return { - currentFolderId, fromFolderId, parentId, rootFolderType, @@ -770,5 +776,5 @@ export default inject( roomsFolderId, }; - } + }, )(observer(FilesSelector)); diff --git a/packages/client/src/components/StandaloneComponents/ContactContainer.js b/packages/client/src/components/StandaloneComponents/ContactContainer.js index 53532dca41..bdc6c46cf2 100644 --- a/packages/client/src/components/StandaloneComponents/ContactContainer.js +++ b/packages/client/src/components/StandaloneComponents/ContactContainer.js @@ -123,9 +123,9 @@ const ContactContainer = (props) => { ); }; -export default inject(({ authStore, settingsStore, payments }) => { +export default inject(({ authStore, settingsStore, paymentStore }) => { const { isCommunity } = authStore; - const { helpUrl, salesEmail } = payments; + const { helpUrl, salesEmail } = paymentStore; const { theme } = settingsStore; return { helpUrl, salesEmail, theme, isCommunity }; })(observer(ContactContainer)); diff --git a/packages/client/src/components/dialogs/AvatarEditorDialog/index.js b/packages/client/src/components/dialogs/AvatarEditorDialog/index.js index 07d8b4f351..f26667550f 100644 --- a/packages/client/src/components/dialogs/AvatarEditorDialog/index.js +++ b/packages/client/src/components/dialogs/AvatarEditorDialog/index.js @@ -43,7 +43,9 @@ const AvatarEditorDialog = (props) => { const { visible, onClose, profile, updateCreatedAvatar, setHasAvatar } = props; const [avatar, setAvatar] = useState({ - uploadedFile: profile.hasAvatar ? profile.avatarMax : DefaultUserAvatarMax, + uploadedFile: profile.hasAvatar + ? profile.avatarOriginal + : DefaultUserAvatarMax, x: 0.5, y: 0.5, zoom: 1, @@ -63,7 +65,6 @@ const AvatarEditorDialog = (props) => { onClose(); return; } - const file = await dataUrlToFile(preview); const avatarData = new FormData(); diff --git a/packages/client/src/components/dialogs/ChangePricingPlanDialog/index.js b/packages/client/src/components/dialogs/ChangePricingPlanDialog/index.js index 1648a30817..3fcce63570 100644 --- a/packages/client/src/components/dialogs/ChangePricingPlanDialog/index.js +++ b/packages/client/src/components/dialogs/ChangePricingPlanDialog/index.js @@ -106,8 +106,8 @@ ChangePricingPlanDialog.propTypes = { onClose: PropTypes.func.isRequired, }; -export default inject(({ payments, currentQuotaStore }) => { - const { managersCount, allowedStorageSizeByQuota } = payments; +export default inject(({ paymentStore, currentQuotaStore }) => { + const { managersCount, allowedStorageSizeByQuota } = paymentStore; const { addedManagersCount, usedTotalStorageSizeCount } = currentQuotaStore; return { diff --git a/packages/client/src/components/dialogs/PluginDialog/index.js b/packages/client/src/components/dialogs/PluginDialog/index.js index d10a893730..99acd9cece 100644 --- a/packages/client/src/components/dialogs/PluginDialog/index.js +++ b/packages/client/src/components/dialogs/PluginDialog/index.js @@ -7,7 +7,7 @@ import { Portal } from "@docspace/shared/components/portal"; import { Base } from "@docspace/shared/themes"; import WrappedComponent from "SRC_DIR/helpers/plugins/WrappedComponent"; -import { PluginComponents } from "SRC_DIR/helpers/plugins/constants"; +import { PluginComponents } from "SRC_DIR/helpers/plugins/enums"; import { messageActions } from "SRC_DIR/helpers/plugins/utils"; const StyledFullScreen = styled.div` @@ -83,7 +83,7 @@ const PluginDialog = ({ updateMainButtonItems, updateProfileMenuItems, updateEventListenerItems, - updateFileItems + updateFileItems, ); }; @@ -111,7 +111,7 @@ const PluginDialog = ({ updateMainButtonItems, updateProfileMenuItems, updateEventListenerItems, - updateFileItems + updateFileItems, ); }; diff --git a/packages/client/src/components/dialogs/SalesDepartmentRequestDialog/index.js b/packages/client/src/components/dialogs/SalesDepartmentRequestDialog/index.js index 4820599bd7..b0b85cb3bb 100644 --- a/packages/client/src/components/dialogs/SalesDepartmentRequestDialog/index.js +++ b/packages/client/src/components/dialogs/SalesDepartmentRequestDialog/index.js @@ -198,8 +198,8 @@ SalesDepartmentRequestDialog.propTypes = { onClose: PropTypes.func.isRequired, }; -export default inject(({ payments }) => { - const { sendPaymentRequest } = payments; +export default inject(({ paymentStore }) => { + const { sendPaymentRequest } = paymentStore; return { sendPaymentRequest, diff --git a/packages/client/src/components/dialogs/SettingsPluginDialog/index.js b/packages/client/src/components/dialogs/SettingsPluginDialog/index.js index 4673e85249..ce6a319db8 100644 --- a/packages/client/src/components/dialogs/SettingsPluginDialog/index.js +++ b/packages/client/src/components/dialogs/SettingsPluginDialog/index.js @@ -5,7 +5,7 @@ import { useTranslation } from "react-i18next"; import { Button } from "@docspace/shared/components/button"; import { ModalDialog } from "@docspace/shared/components/modal-dialog"; -import { PluginComponents } from "SRC_DIR/helpers/plugins/constants"; +import { PluginComponents } from "SRC_DIR/helpers/plugins/enums"; import WrappedComponent from "SRC_DIR/helpers/plugins/WrappedComponent"; import Header from "./sub-components/Header"; diff --git a/packages/client/src/components/dialogs/SettingsPluginDialog/sub-components/Info.js b/packages/client/src/components/dialogs/SettingsPluginDialog/sub-components/Info.js index bffd3e9e08..e19686ffbf 100644 --- a/packages/client/src/components/dialogs/SettingsPluginDialog/sub-components/Info.js +++ b/packages/client/src/components/dialogs/SettingsPluginDialog/sub-components/Info.js @@ -7,7 +7,7 @@ import { Text } from "@docspace/shared/components/text"; import { Link } from "@docspace/shared/components/link"; import { getCorrectDate, getCookie } from "@docspace/shared/utils"; -import { PluginStatus } from "SRC_DIR/helpers/plugins/constants"; +import { PluginStatus } from "SRC_DIR/helpers/plugins/enums"; import { Base } from "@docspace/shared/themes"; const StyledContainer = styled.div` @@ -121,7 +121,7 @@ const Info = ({ t, plugin, withDelete, withSeparator }) => { lineHeight={"20px"} noSelect > - {plugin.createBy} + {plugin.createBy.displayName} )} diff --git a/packages/client/src/components/panels/AddUsersPanel/index.js b/packages/client/src/components/panels/AddUsersPanel/index.js index cbdbac7d71..32497f3a76 100644 --- a/packages/client/src/components/panels/AddUsersPanel/index.js +++ b/packages/client/src/components/panels/AddUsersPanel/index.js @@ -53,7 +53,7 @@ const AddUsersPanel = ({ const onBackClick = () => onClose(); const getFilterWithOutDisabledUser = useCallback( () => Filter.getFilterWithOutDisabledUser(), - [] + [], ); const onKeyPress = (e) => { @@ -88,6 +88,8 @@ const AddUsersPanel = ({ avatar: item.avatar, isOwner: item.isOwner, isAdmin: item.isAdmin, + isVisitor: item.isVisitor, + isCollaborator: item.isCollaborator, }; items.push(newItem); } @@ -100,7 +102,7 @@ const AddUsersPanel = ({ }; const selectedAccess = accessOptions.filter( - (access) => access.access === accessRight + (access) => access.access === accessRight, )[0]; const [itemsList, setItemsList] = useState(null); @@ -110,11 +112,11 @@ const AddUsersPanel = ({ const [total, setTotal] = useState(0); const [isLoading, setIsLoading] = useLoadingWithTimeout( LOADER_TIMEOUT, - false + false, ); const [isLoadingSearch, setIsLoadingSearch] = useLoadingWithTimeout( LOADER_TIMEOUT, - false + false, ); useEffect(() => { @@ -321,7 +323,7 @@ export default inject(({ settingsStore }) => { })( observer( withTranslation(["SharingPanel", "PeopleTranslations", "Common"])( - withLoader(AddUsersPanel)() - ) - ) + withLoader(AddUsersPanel)(), + ), + ), ); diff --git a/packages/client/src/components/panels/InvitePanel/StyledInvitePanel.js b/packages/client/src/components/panels/InvitePanel/StyledInvitePanel.js index a2295e801d..07d42034ed 100644 --- a/packages/client/src/components/panels/InvitePanel/StyledInvitePanel.js +++ b/packages/client/src/components/panels/InvitePanel/StyledInvitePanel.js @@ -292,6 +292,28 @@ const StyledDropDown = styled(DropDown)` text-overflow: ellipsis; overflow: hidden; } + + .email-list_avatar { + display: flex; + align-items: center; + gap: 8px; + overflow: hidden; + } + + .email-list_add-button { + display: flex; + margin-left: auto; + align-items: center; + gap: 4px; + + p { + color: #4781d1; + } + + svg path { + fill: #4781d1; + } + } } `; diff --git a/packages/client/src/components/panels/InvitePanel/sub-components/InviteInput.js b/packages/client/src/components/panels/InvitePanel/sub-components/InviteInput.js index 68fb9eacf7..3a8837a998 100644 --- a/packages/client/src/components/panels/InvitePanel/sub-components/InviteInput.js +++ b/packages/client/src/components/panels/InvitePanel/sub-components/InviteInput.js @@ -8,7 +8,7 @@ import { Text } from "@docspace/shared/components/text"; import { TextInput } from "@docspace/shared/components/text-input"; import { DropDownItem } from "@docspace/shared/components/drop-down-item"; import { toastr } from "@docspace/shared/components/toast"; -import { parseAddresses } from "@docspace/shared/utils"; +import { parseAddresses, getParts } from "@docspace/shared/utils"; import { ComboBox } from "@docspace/shared/components/combobox"; import Filter from "@docspace/shared/api/people/filter"; @@ -34,6 +34,9 @@ import { ResetLink, } from "../StyledInvitePanel"; +import AtReactSvgUrl from "PUBLIC_DIR/images/@.react.svg?url"; +import ArrowIcon from "PUBLIC_DIR/images/arrow.right.react.svg"; + const minSearchValue = 2; const InviteInput = ({ @@ -60,10 +63,10 @@ const InviteInput = ({ const [inputValue, setInputValue] = useState(""); const [usersList, setUsersList] = useState([]); const [isChangeLangMail, setIsChangeLangMail] = useState(false); - const [searchPanelVisible, setSearchPanelVisible] = useState(false); const [isAddEmailPanelBlocked, setIsAddEmailPanelBlocked] = useState(true); const [selectedAccess, setSelectedAccess] = useState(defaultAccess); + const [dropDownWidth, setDropDownWidth] = useState(0); const searchRef = useRef(); @@ -74,6 +77,13 @@ const InviteInput = ({ isBeta: isBetaLanguage(language), }; + useEffect(() => { + setTimeout(() => { + const width = searchRef?.current?.offsetWidth ?? 0; + if (width !== dropDownWidth) setDropDownWidth(width); + }, 0); + }); + useEffect(() => { !culture.key && setInviteLanguage({ @@ -95,6 +105,7 @@ const InviteInput = ({ access: selectedAccess, displayName: address.email, errors: address.parseErrors, + isEmailInvite: true, }; }); } @@ -105,32 +116,34 @@ const InviteInput = ({ access: selectedAccess, displayName: addresses[0].email, errors: addresses[0].parseErrors, + isEmailInvite: true, }; }; const searchByQuery = async (value) => { const query = value.trim(); - if (query.length >= minSearchValue) { + if (query.length > minSearchValue) { const filter = Filter.getFilterWithOutDisabledUser(); filter.search = query; const users = await getMembersList(roomId, filter); setUsersList(users.items); - setIsAddEmailPanelBlocked(false); + + if (users.total) setIsAddEmailPanelBlocked(false); } if (!query) { - closeInviteInputPanel(); setInputValue(""); setUsersList([]); + setIsAddEmailPanelBlocked(true); } }; const debouncedSearch = useCallback( debounce((value) => searchByQuery(value), 300), - [] + [], ); const onChange = (e) => { @@ -145,20 +158,22 @@ const InviteInput = ({ return; } - if ( - (!!usersList.length || clearValue.length >= minSearchValue) && - !searchPanelVisible - ) { - openInviteInputPanel(); - } - if (roomId !== -1) { debouncedSearch(clearValue); - - return; } - setIsAddEmailPanelBlocked(false); + const regex = + /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{0,}))$/g; + + const parts = getParts(value); + for (let i = 0; i < parts.length; i += 1) { + if (regex.test(parts[i])) { + setIsAddEmailPanelBlocked(false); + return; + } + } + + setIsAddEmailPanelBlocked(true); }; const removeExist = (items) => { @@ -167,8 +182,7 @@ const InviteInput = ({ return unique; }, []); - if (items.length > filtered.length) - toastr.warning("Some users have already been added"); + if (items.length > filtered.length) toastr.warning(t("UsersAlreadyAdded")); return filtered; }; @@ -179,22 +193,25 @@ const InviteInput = ({ item.access = selectedAccess; const addUser = () => { - if (item.isOwner || item.isAdmin) - item.access = ShareAccessRights.RoomManager; + if (shared) { + toastr.warning(t("UsersAlreadyAdded")); + } else { + if (item.isOwner || item.isAdmin) + item.access = ShareAccessRights.RoomManager; - const items = removeExist([item, ...inviteItems]); + const items = removeExist([item, ...inviteItems]); + setInviteItems(items); + } - setInviteItems(items); - closeInviteInputPanel(); setInputValue(""); setUsersList([]); + setIsAddEmailPanelBlocked(true); }; return ( { setInputValue(""); setAddUsersPanelVisible(true); + setIsAddEmailPanelBlocked(true); }; const closeUsersPanel = () => { setAddUsersPanelVisible(false); }; - const openInviteInputPanel = (e) => { - setSearchPanelVisible(true); - }; - - const closeInviteInputPanel = (e) => { - if (e?.target?.tagName?.toUpperCase() === "INPUT") return; - - setSearchPanelVisible(false); - }; - const foundUsers = usersList.map((user) => getItemContent(user)); const addEmailPanel = ( - {t("Common:AddButton")} «{inputValue}» +
+ + + {inputValue} + +
+
+ + {t("Common:AddButton")} + + +
); @@ -278,7 +296,7 @@ const InviteInput = ({ }; const onKeyPress = (e) => { - if (e.key === "Enter" && !!!usersList.length && inputValue.length > 2) { + if (e.key === "Enter") { addEmail(); } }; @@ -401,28 +419,27 @@ const InviteInput = ({ : t("InviteRoomSearchPlaceholder") } value={inputValue} - onFocus={openInviteInputPanel} isAutoFocussed={true} onKeyDown={onKeyDown} /> - {inputValue.length >= minSearchValue && - (isAddEmailPanelBlocked ? ( - <> - ) : ( - - {!!usersList.length ? foundUsers : addEmailPanel} - - ))} + {isAddEmailPanelBlocked ? ( + <> + ) : ( + + {!!usersList.length ? foundUsers : addEmailPanel} + + )} { const { avatar, displayName, email, id, errors, access } = item; const name = !!avatar ? (displayName !== "" ? displayName : email) : email; const source = !!avatar ? avatar : AtReactSvgUrl; - const role = getUserRole(item); const [edit, setEdit] = useState(false); const [inputValue, setInputValue] = useState(name); const [parseErrors, setParseErrors] = useState(errors); - const accesses = getAccessOptions(t, roomType, true, true, isOwner); + const accesses = getAccessOptions( + t, + roomType, + true, + true, + isOwner, + standalone, + ); const filteredAccesses = filterUserRoleOptions(accesses, item, true); const defaultAccess = filteredAccesses.find( - (option) => option.access === +access + (option) => option.access === +access, ); + const role = getUserRole(item); + const typeLabel = item?.isEmailInvite + ? getUserTypeLabel(defaultAccess.type, t) + : getUserTypeLabel(role, t); + const errorsInList = () => { const hasErrors = inviteItems.some((item) => !!item.errors?.length); setHasErrors(hasErrors); @@ -133,7 +144,7 @@ const Item = ({ color="#A3A9AE" truncate > - {`${capitalize(role)} | ${email}`} + {item.userName ? `${typeLabel} | ${email}` : `${typeLabel}`} @@ -167,6 +178,7 @@ const Item = ({ setIsOpenItemAccess={setIsOpenItemAccess} isMobileView={isMobileView} noBorder + standalone={standalone} /> )} diff --git a/packages/client/src/components/panels/InvitePanel/sub-components/ItemsList.js b/packages/client/src/components/panels/InvitePanel/sub-components/ItemsList.js index 3015016950..9e88807a1a 100644 --- a/packages/client/src/components/panels/InvitePanel/sub-components/ItemsList.js +++ b/packages/client/src/components/panels/InvitePanel/sub-components/ItemsList.js @@ -22,6 +22,7 @@ const Row = memo(({ data, index, style }) => { inputsRef, setIsOpenItemAccess, isMobileView, + standalone, } = data; if (inviteItems === undefined) return; @@ -42,6 +43,7 @@ const Row = memo(({ data, index, style }) => { inputsRef={inputsRef} setIsOpenItemAccess={setIsOpenItemAccess} isMobileView={isMobileView} + standalone={standalone} /> ); @@ -60,6 +62,7 @@ const ItemsList = ({ inputsRef, invitePanelBodyRef, isMobileView, + standalone, }) => { const [bodyHeight, setBodyHeight] = useState(0); const [offsetTop, setOffsetTop] = useState(0); @@ -146,6 +149,7 @@ const ItemsList = ({ setIsOpenItemAccess, isMobileView, t, + standalone, }} outerElementType={!scrollAllPanelContent && CustomScrollbarsVirtualList} > @@ -155,14 +159,16 @@ const ItemsList = ({ ); }; -export default inject(({ userStore, dialogsStore }) => { +export default inject(({ userStore, dialogsStore, settingsStore }) => { const { setInviteItems, inviteItems, changeInviteItem } = dialogsStore; const { isOwner } = userStore.user; + const { standalone } = settingsStore; return { setInviteItems, inviteItems, changeInviteItem, isOwner, + standalone, }; })(observer(ItemsList)); diff --git a/packages/client/src/components/panels/InvitePanel/utils/index.js b/packages/client/src/components/panels/InvitePanel/utils/index.js index 3787702800..e4c7b38fa0 100644 --- a/packages/client/src/components/panels/InvitePanel/utils/index.js +++ b/packages/client/src/components/panels/InvitePanel/utils/index.js @@ -10,7 +10,7 @@ export const getAccessOptions = ( withRemove = false, withSeparator = false, isOwner = false, - standalone = false + standalone = false, ) => { let options = []; const accesses = { @@ -22,6 +22,7 @@ export const getAccessOptions = ( color: "#EDC409", access: roomType === -1 ? EmployeeType.Admin : ShareAccessRights.FullAccess, + type: "admin", }, roomAdmin: { key: "roomAdmin", @@ -31,6 +32,7 @@ export const getAccessOptions = ( color: "#EDC409", access: roomType === -1 ? EmployeeType.User : ShareAccessRights.RoomManager, + type: "manager", }, collaborator: { key: "collaborator", @@ -42,42 +44,49 @@ export const getAccessOptions = ( roomType === -1 ? EmployeeType.Collaborator : ShareAccessRights.Collaborator, + type: "collaborator", }, user: { key: "user", label: t("Common:User"), description: t("Translations:RoleUserDescription"), access: EmployeeType.Guest, + type: "user", }, editor: { key: "editor", label: t("Translations:RoleEditor"), description: t("Translations:RoleEditorDescription"), access: ShareAccessRights.Editing, + type: "user", }, formFiller: { key: "formFiller", label: t("Translations:RoleFormFiller"), description: t("Translations:RoleFormFillerDescription"), access: ShareAccessRights.FormFilling, + type: "user", }, reviewer: { key: "reviewer", label: t("Translations:RoleReviewer"), description: t("Translations:RoleReviewerDescription"), access: ShareAccessRights.Review, + type: "user", }, commentator: { key: "commentator", label: t("Translations:RoleCommentator"), description: t("Translations:RoleCommentatorDescription"), access: ShareAccessRights.Comment, + type: "user", }, viewer: { key: "viewer", label: t("Translations:RoleViewer"), description: t("Translations:RoleViewerDescription"), access: ShareAccessRights.ReadOnly, + type: "user", }, }; diff --git a/packages/client/src/helpers/confirmRoute.js b/packages/client/src/helpers/confirmRoute.js index 4c2badabf9..4b2a9008a2 100644 --- a/packages/client/src/helpers/confirmRoute.js +++ b/packages/client/src/helpers/confirmRoute.js @@ -93,7 +93,7 @@ const ConfirmRoute = ({ window.location.href = combineUrl( window.DocSpaceConfig?.proxy?.url, path, - "/error" + "/error", ); break; case ValidationResult.Expired: @@ -104,7 +104,7 @@ const ConfirmRoute = ({ window.location.href = combineUrl( window.DocSpaceConfig?.proxy?.url, path, - "/error" + "/error", ); break; case ValidationResult.TariffLimit: @@ -115,7 +115,7 @@ const ConfirmRoute = ({ window.location.href = combineUrl( window.DocSpaceConfig?.proxy?.url, path, - "/error?messageKey=20" + "/error?messageKey=20", ); break; default: @@ -126,7 +126,7 @@ const ConfirmRoute = ({ window.location.href = combineUrl( window.DocSpaceConfig?.proxy?.url, path, - "/error" + "/error", ); break; } @@ -145,7 +145,7 @@ const ConfirmRoute = ({ window.location.href = combineUrl( window.DocSpaceConfig?.proxy?.url, path, - "/error" + "/error", ); }); }, [getData, doAuthenticated, isAuthenticated, storeIsLoaded, logout]); diff --git a/packages/client/src/helpers/plugins/WrappedComponent.js b/packages/client/src/helpers/plugins/WrappedComponent.js index 611ac464c4..202947fd6f 100644 --- a/packages/client/src/helpers/plugins/WrappedComponent.js +++ b/packages/client/src/helpers/plugins/WrappedComponent.js @@ -13,7 +13,7 @@ import { Button } from "@docspace/shared/components/button"; import { ToggleButton } from "@docspace/shared/components/toggle-button"; import { ComboBox } from "@docspace/shared/components/combobox"; -import { PluginComponents } from "./constants"; +import { PluginComponents } from "./enums"; import { messageActions } from "./utils"; @@ -74,7 +74,7 @@ const ComponentPure = ({ component={item} pluginName={pluginName} /> - ) + ), ); return {childrenComponents}; @@ -110,7 +110,7 @@ const ComponentPure = ({ updateMainButtonItems, updateProfileMenuItems, updateEventListenerItems, - updateFileItems + updateFileItems, ); }; @@ -139,7 +139,7 @@ const ComponentPure = ({ updateMainButtonItems, updateProfileMenuItems, updateEventListenerItems, - updateFileItems + updateFileItems, ); }; @@ -168,11 +168,11 @@ const ComponentPure = ({ updateMainButtonItems, updateProfileMenuItems, updateEventListenerItems, - updateFileItems + updateFileItems, ); }; - return