stable

Clone or download

Read-only

Replace <translate> and `v-translate` by standard gettext usage

part of request #30736 Convert document app in vue3 These directives have been dropped whenever I can, it will ease the migration of document plugin in vue3 as it won't need any dedicated configuration in webpack All directives have not been migrated, something is odd in tests, I can have following error: [Vue warn]: Avoid using variables that start with _ or $ in setup(). All remaining directives will be dropped when I'll introduce vue-compat-mode Change-Id: I2c501112ab7c8298bbd7367468f08dc9aaa55f87

Modified Files

Name
M plugins/document/scripts/document/components/AdvancedSearch/Criteria/CriterionDate.vue +8 −4 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/Criteria/CriterionList.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/Criteria/__snapshots__/CriterionDate.test.ts.snap +12 −20 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/Criteria/__snapshots__/CriterionList.test.ts.snap +0 −2 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchCriteriaBreadcrumb.vue +3 −3 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchCriteriaPanel.vue +2 −3 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/SearchResultError.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/TableBodyEmpty.vue +1 −2 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/__snapshots__/SearchCriteriaBreadcrumb.test.ts.snap +1 −10 Go to diff View file
M plugins/document/scripts/document/components/Breadcrumb/DocumentBreadcrumb.vue +2 −2 Go to diff View file
M plugins/document/scripts/document/components/Folder/ActionsQuickLookButton/QuickLookButton.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/Clipboard/ClipboardContentInformation.vue +46 −31 Go to diff View file
M plugins/document/scripts/document/components/Folder/DragNDrop/ErrorModal.vue +3 −8 Go to diff View file
M plugins/document/scripts/document/components/Folder/DragNDrop/FileAlreadyExistsDragndropErrorModal.vue +7 −4 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/CopyItem.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/CutItem.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/Delete/DeleteItem.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/Delete/ModalConfirmDeletion.vue +1 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/Delete/PostItemDeletionNotification.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/DownloadFile.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/DownloadFolderAsZip/DownloadFolderAsZip.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/DownloadFolderAsZip/ModalArchiveSizeWarning.vue +1 −2 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/DropDownMenu.vue +5 −5 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/Lock/LockItem.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/Lock/UnlockItem.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewDocument/CreationModalPermissionsSection.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewDocument/PropertiesForCreate/FolderDefaultPropertiesForCreate.vue +7 −4 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewDocument/PropertiesForCreate/OtherInformationPropertiesForCreate.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewDocument/UnderTheFoldNotification.vue +2 −2 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewVersion/History/FileVersionHistory.vue +9 −7 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewVersion/History/__snapshots__/FileVersionHistory.test.ts.snap +14 −26 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewVersion/PropertiesForUpdate/ApprovalUpdateProperties.vue +13 −10 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/PasteItem.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/PropertiesForCreateOrUpdate/AlwaysThereProperties/DescriptionProperty.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/PropertiesForCreateOrUpdate/AlwaysThereProperties/OwnerProperty.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/PropertiesForCreateOrUpdate/ChangelogProperty.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/PropertiesForCreateOrUpdate/EmbeddedProperties.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/PropertiesForCreateOrUpdate/FileProperties.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/PropertiesForCreateOrUpdate/LinkProperties.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/PropertiesForCreateOrUpdate/RecursionOptions.vue +5 −5 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/PropertiesForCreateOrUpdate/StatusProperty.vue +9 −7 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/PropertiesForCreateOrUpdate/VersionTitleProperty.vue +2 −2 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/PropertiesForCreateOrUpdate/WikiProperties.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/UpdatePermissions.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/UpdateProperties/FolderDefaultPropertiesForUpdate.vue +7 −4 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/UpdateProperties/ObsolescenceDatePropertyForUpdate.vue +7 −7 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/UpdateProperties/OtherInformationPropertiesForUpdate.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/UpdateProperties/UpdateProperties.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/EmptyState/EmptyFolderForReaders.vue +4 −4 Go to diff View file
M plugins/document/scripts/document/components/Folder/EmptyState/EmptyFolderForWriters.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/Error/GlobalErrorModal.vue +5 −7 Go to diff View file
M plugins/document/scripts/document/components/Folder/Error/GoBackToRootButton.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/Error/PermissionError.vue +4 −4 Go to diff View file
M plugins/document/scripts/document/components/Folder/Error/ShowErrorDetails.vue +6 −7 Go to diff View file
M plugins/document/scripts/document/components/Folder/FilesUploads/FilesUploadsModal.vue +6 −11 Go to diff View file
M plugins/document/scripts/document/components/Folder/FolderContent.vue +4 −5 Go to diff View file
M plugins/document/scripts/document/components/Folder/FolderLoadingScreen.vue +6 −4 Go to diff View file
M plugins/document/scripts/document/components/Folder/Permissions/PermissionsUpdateFolderSubItems.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/SearchBox.vue +2 −2 Go to diff View file
M plugins/document/scripts/document/components/Folder/SwitchToOldUI.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/__snapshots__/FolderLoadingScreen.test.ts.snap +3 −9 Go to diff View file
M plugins/document/scripts/document/components/QuickLook/QuickLookDocumentPreview.vue +12 −12 Go to diff View file
M plugins/document/scripts/document/components/QuickLook/QuickLookDocumentProperties.vue +4 −4 Go to diff View file
M plugins/document/scripts/document/components/QuickLook/QuickLookEmbedded.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/QuickLook/QuickLookFile.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/QuickLook/QuickLookGlobal.vue +3 −1 Go to diff View file
M plugins/document/scripts/document/components/QuickLook/QuickLookItemIsLockedMessage.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/QuickLook/QuickLookLink.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/QuickLook/QuickLookPropertyDate.vue +4 −11 Go to diff View file
M plugins/document/scripts/document/components/QuickLook/QuickLookWiki.vue +1 −1 Go to diff View file
M plugins/document/scripts/document/components/QuickLook/__snapshots__/QuickLookEmbedded.test.ts.snap +3 −6 Go to diff View file
M plugins/document/scripts/document/components/QuickLook/__snapshots__/QuickLookItemIsLockedMessage.test.ts.snap +2 −5 Go to diff View file
M plugins/document/scripts/document/components/QuickLook/__snapshots__/QuickLookLink.test.ts.snap +3 −6 Go to diff View file
M plugins/document/scripts/document/components/QuickLook/__snapshots__/QuickLookWiki.test.ts.snap +3 −6 Go to diff View file
M plugins/document/scripts/document/po/fr_FR.po +9 −12 Go to diff View file
M plugins/document/scripts/document/po/pt_BR.po +9 −12 Go to diff View file