platform/plugins/attachment-resources/src/plugin.ts
Ruslan Izhitsky ca2b5ba0f3
Chunter: file browser additional fixes (#1547)
Signed-off-by: Ruslan Izhitsky <ruslan.izhitskiy@xored.com>
2022-04-27 14:47:29 +06:00

50 lines
1.8 KiB
TypeScript

//
// Copyright © 2020, 2021 Anticrm Platform Contributors.
// Copyright © 2021, 2022 Hardcore Engineering Inc.
//
// Licensed under the Eclipse Public License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License. You may
// obtain a copy of the License at https://www.eclipse.org/legal/epl-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//
// See the License for the specific language governing permissions and
// limitations under the License.
//
import { mergeIds } from '@anticrm/platform'
import type { IntlString } from '@anticrm/platform'
import attachment, { attachmentId } from '@anticrm/attachment'
import { ViewAction } from '@anticrm/view'
export default mergeIds(attachmentId, attachment, {
string: {
NoAttachments: '' as IntlString,
UploadDropFilesHere: '' as IntlString,
Attachments: '' as IntlString,
Photos: '' as IntlString,
FileBrowser: '' as IntlString,
FileBrowserFileCounter: '' as IntlString,
FileBrowserFilterFrom: '' as IntlString,
FileBrowserFilterIn: '' as IntlString,
FileBrowserFilterDate: '' as IntlString,
FileBrowserFilterFileType: '' as IntlString,
FileBrowserSort: '' as IntlString,
FileBrowserSortNewest: '' as IntlString,
FileBrowserSortOldest: '' as IntlString,
FileBrowserSortAZ: '' as IntlString,
FileBrowserSortZA: '' as IntlString,
FileBrowserSortSmallest: '' as IntlString,
FileBrowserSortBiggest: '' as IntlString,
AddAttachmentToSaved: '' as IntlString,
RemoveAttachmentFromSaved: '' as IntlString
},
actionImpl: {
AddAttachmentToSaved: '' as ViewAction,
DeleteAttachmentFromSaved: '' as ViewAction
}
})