Skip to content

Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.

feat(frontend:files): add "Open after creation" option in file dialog

johaven5acfad9b2b66
diff --git a/backend/src/applications/files/editors/drawio/drawio.constants.ts b/backend/src/applications/files/editors/drawio/drawio.constants.ts
new file mode 100644
index 00000000..af5b7676
--- /dev/null
+++ b/backend/src/applications/files/editors/drawio/drawio.constants.ts
@@ -0,0 +1,2 @@
+export const DRAWIO_INTERNAL_URI = '/drawio/' as const
+export const DRAWIO_EXTENSIONS = new Set<string>(['drawio', 'dwb'])
diff --git a/backend/src/applications/files/editors/file-editor-providers.interface.ts b/backend/src/applications/files/editors/file-editor-providers.interface.ts
index 13a89017..54264f2a 100644
--- a/backend/src/applications/files/editors/file-editor-providers.interface.ts
+++ b/backend/src/applications/files/editors/file-editor-providers.interface.ts
@@ -1,5 +1,6 @@
export interface FileEditorProviders {
collabora: boolean
+ drawio: boolean
eurooffice: boolean
onlyoffice: boolean
}
diff --git a/frontend/src/app/applications/files/components/dialogs/files-new-dialog.component.html b/frontend/src/app/applications/files/components/dialogs/files-new-dialog.component.html
index da24372f..595bc548 100755
--- a/frontend/src/app/applications/files/components/dialogs/files-new-dialog.component.html
+++ b/frontend/src/app/applications/files/components/dialogs/files-new-dialog.component.html
@@ -44,7 +44,9 @@
type="button">
<img [src]="documentMimeUrl(item.value)" alt="" draggable="false" height="24" width="24" />
<span l10nTranslate>{{ item.key }}</span>
- <span class="ms-auto fs-xs opacity-75">.{{ item.value }}</span>
+ @if (item.value) {
+ <span class="ms-auto fs-xs opacity-75">.{{ item.value }}</span>
+ }
</button>
</div>
}
@@ -88,9 +90,19 @@
</div>
</div>
<div class="modal-footer">
- @if (error) {
- <span class="me-auto fs-sm text-danger" l10nTranslate>{{ error }}</span>
- }
+ <div class="me-auto d-flex align-items-center gap-3">
+ @if (canOpenAfterCreation()) {
+ <div class="form-check mb-0 ps-0">
+ <label class="form-check-label ps-1">
+ <input [(ngModel)]="openAfterCreate" type="checkbox" />
+ <span l10nTranslate>Open after creation</span>
+ </label>
+ </div>
+ }
+ @if (error) {
+ <span class="fs-sm text-danger" l10nTranslate>{{ error }}</span>
+ }
+ </div>
<button (click)="layout.closeDialog()" class="btn btn-secondary" data-dismiss="modal" type="button" l10nTranslate>Cancel</button>
<button
(click)="onSubmit()"
diff --git a/frontend/src/app/applications/files/components/dialogs/files-new-dialog.component.ts b/frontend/src/app/applications/files/components/dialogs/files-new-dialog.component.ts
index 9ac77dba..4c61cc97 100644
--- a/frontend/src/app/applications/files/components/dialogs/files-new-dialog.component.ts
+++ b/frontend/src/app/applications/files/components/dialogs/files-new-dialog.component.ts
@@ -2,6 +2,9 @@ import { KeyValuePipe } from '@angular/common'
import { AfterViewInit, Component, ElementRef, EventEmitter, inject, Input, OnInit, Output, ViewChild } from '@angular/core'
import { FormsModule } from '@angular/forms'
import { LucideDynamicIcon, LucideFileText, LucideGlobe } from '@lucide/angular'
+import { COLLABORA_ONLINE_EXTENSIONS } from '@sync-in-server/backend/src/applications/files/editors/collabora-online/collabora-online.constants'
+import { DRAWIO_EXTENSIONS } from '@sync-in-server/backend/src/applications/files/editors/drawio/drawio.constants'
+import { ONLY_OFFICE_EXTENSIONS } from '@sync-in-server/backend/src/applications/files/editors/only-office/only-office.constants'
import { L10N_LOCALE, L10nLocale, L10nTranslateDirective, L10nTranslatePipe } from 'angular-l10n'
import { AutofocusDirective } from '../../../../common/directives/auto-focus.directive'
import { originalOrderKeyValue } from '../../../../common/utils/functions'
@@ -13,6 +16,7 @@ import { FileModel } from '../../models/file.model'
import { FilesService } from '../../services/files.service'
const DOCUMENT_MIME_TYPES: Record<string, string> = {
+ drawio: 'application-x-drawio',
odt: 'application-vnd.oasis.opendocument.text',
ods: 'application-vnd.oasis.opendocument.spreadsheet',
odp: 'application-vnd.oasis.opendocument.presentation',
@@ -40,9 +44,9 @@ export class FilesNewDialogComponent implements OnInit, AfterViewInit {
protected readonly directoryMimeUrl = getAssetsMimeUrl(mimeDirectory)
protected fileProp = { title: '', name: '', placeholder: '' }
protected downloadProp = { title: '', url: '', placeholder: 'URL (https://...)' }
- protected selectedDocType = 'Text'
private store = inject(StoreService)
- protected docTypes = this.store.server().files.sampleDocuments
+ protected readonly docTypes = this.buildDocumentTypes(this.store.server().files.sampleDocuments)
+ protected openAfterCreate = false
protected submitted = false
protected error: string
private filesService = inject(FilesService)
@@ -54,10 +58,10 @@ export class FilesNewDialogComponent implements OnInit, AfterViewInit {
return
}
- this.selectedDocType = this.docTypes[this.selectedDocType] ? this.selectedDocType : Object.keys(this.docTypes)[0]
if (this.inputType === 'file') {
+ const docType = this.docTypes.Text ? 'Text' : Object.keys(this.docTypes)[0]
this.fileProp.title = 'New document'
- this.fileProp.name = `${this.layout.translateString('New document')}${this.docTypeExtension(this.selectedDocType)}`
+ this.fileProp.name = `${this.layout.translateString('New document')}${this.docTypeExtension(docType)}`
this.fileProp.placeholder = 'Document name'
} else {
this.fileProp.title = 'New folder'
@@ -80,7 +84,6 @@ export class FilesNewDialogComponent implements OnInit, AfterViewInit {
}
this.inputType = 'file'
this.fileProp.title = 'New document'
- this.selectedDocType = docType
this.fileProp.placeholder = 'Document name'
this.fileProp.name = `${baseName || this.layout.translateString('New document')}${this.docTypeExtension(docType)}`
this.updateFileSelection()
@@ -123,7 +126,7 @@ export class FilesNewDialogComponent implements OnInit, AfterViewInit {
}
this.filesService.downloadFromUrl(this.downloadProp.url, this.fileProp.name)
} else {
- this.filesService.make(this.inputType, this.fileProp.name)
+ this.filesService.make(this.inputType, this.fileProp.name, undefined, false, this.openAfterCreate && this.canOpenAfterCreation())
}
this.layout.closeDialog()
}
@@ -139,24 +142,50 @@ export class FilesNewDialogComponent implements OnInit, AfterViewInit {
}
protected selectedDocumentMimeUrl() {
- const extensionPosition = this.fileNamePosition()
- const extension = extensionPosition >= 0 ? this.fileProp.name.slice(extensionPosition + 1).toLowerCase() : ''
- const documentType = Object.values(this.docTypes).find((type) => type.toLowerCase() === extension)
- return this.documentMimeUrl(documentType || '')
+ return this.documentMimeUrl(this.docTypes[this.currentDocType()])
}
protected isSelectedDocType(docType: string) {
- const extensionPosition = this.fileNamePosition()
- const extension = extensionPosition >= 0 ? this.fileProp.name.slice(extensionPosition + 1).toLowerCase() : ''
- return this.inputType === 'file' && extension === this.docTypes[docType]?.toLowerCase()
+ return this.inputType === 'file' && docType === this.currentDocType()
+ }
+
+ protected canOpenAfterCreation(): boolean {
+ const docType = this.currentDocType()
+ if (this.inputType !== 'file' || docType === 'Other') return false
+ const extension = this.docTypes[docType].toLowerCase()
+ if (extension === 'txt' || extension === 'md') return true
+ const editors = this.store.server().files.editors
+ return (
+ (editors.drawio && DRAWIO_EXTENSIONS.has(extension)) ||
+ (editors.collabora && COLLABORA_ONLINE_EXTENSIONS.has(extension)) ||
+ ((editors.onlyoffice || editors.eurooffice) && ONLY_OFFICE_EXTENSIONS.has(extension))
+ )
+ }
+
+ private buildDocumentTypes(documentTypes: Record<string, string>): Record<string, string> {
+ const { Diagram, Text, Markdown, ...officeDocumentTypes } = documentTypes
+ return {
+ ...officeDocumentTypes,
+ ...(Diagram ? { Diagram } : {}),
+ ...(Markdown ? { Markdown } : {}),
+ ...(Text ? { Text } : {}),
+ Other: ''
+ }
}
private fileNamePosition() {
return this.fileProp.name.lastIndexOf('.')
}
+ private currentDocType(): string {
+ const extensionPosition = this.fileNamePosition()
+ const extension = extensionPosition >= 0 ? this.fileProp.name.slice(extensionPosition + 1).toLowerCase() : ''
+ return Object.keys(this.docTypes).find((docType) => this.docTypes[docType] && this.docTypes[docType].toLowerCase() === extension) || 'Other'
+ }
+
private docTypeExtension(docType: string) {
- return `.${this.docTypes[docType]}`
+ const extension = this.docTypes[docType]
+ return extension ? `.${extension}` : ''
}
private updateFileSelection(selectAll = false) {
diff --git a/frontend/src/app/applications/files/files.constants.ts b/frontend/src/app/applications/files/files.constants.ts
index 78a3ce82..853f11d2 100644
--- a/frontend/src/app/applications/files/files.constants.ts
+++ b/frontend/src/app/applications/files/files.constants.ts
@@ -15,8 +15,10 @@ export function getAssetsMimeUrl(asset: string): string {
export const linkProtected = `${assetsUrl}/protected.png`
export const defaultMimeUrl = getAssetsMimeUrl(mimeFile)
export const MAX_TEXT_FILE_SIZE = 25 * 1024 * 1024 // 25 MB
+export const MAX_DIAGRAM_FILE_SIZE = 10 * 1024 * 1024 // 10 MB
export const COMPRESSIBLE_MIMES = new Set(['application-gzip', 'application-zip', 'application-x-tar'])
export const SHORT_MIME = {
+ DIAGRAM: 'diagram',
DOCUMENT: 'document',
TEXT: 'text',
MARKDOWN: 'markdown',
@@ -135,6 +137,8 @@ export const UNSUPPORTED_VIEW_EXTENSIONS = new Set([
'vst',
'vstm',
'vstx',
+ 'drawio',
+ 'dwb',
'dwg',
'sketch',
'fig',
diff --git a/frontend/src/app/applications/files/interfaces/file-event.interface.ts b/frontend/src/app/applications/files/interfaces/file-event.interface.ts
index 44565048..8ff1914b 100644
--- a/frontend/src/app/applications/files/interfaces/file-event.interface.ts
+++ b/frontend/src/app/applications/files/interfaces/file-event.interface.ts
@@ -7,6 +7,7 @@ export interface FileEvent {
reload?: boolean
delete?: boolean
focus?: boolean
+ openAfterCreate?: boolean
archiveId?: string
// special case on move task, the src is removed, the dst is added
reloadFocusOnDst?: boolean
diff --git a/frontend/src/app/applications/files/models/file.model.ts b/frontend/src/app/applications/files/models/file.model.ts
index c83291a8..192d8d60 100644
--- a/frontend/src/app/applications/files/models/file.model.ts
+++ b/frontend/src/app/applications/files/models/file.model.ts
@@ -5,6 +5,7 @@ import {
} from '@sync-in-server/backend/src/applications/files/constants/routes'
import type { FileLockProps, FileProps } from '@sync-in-server/backend/src/applications/files/interfaces/file-props.interface'
import { COLLABORA_ONLINE_EXTENSIONS } from '@sync-in-server/backend/src/applications/files/editors/collabora-online/collabora-online.constants'
+import { DRAWIO_EXTENSIONS } from '@sync-in-server/backend/src/applications/files/editors/drawio/drawio.constants'
import type { FileEditorProviders } from '@sync-in-server/backend/src/applications/files/editors/file-editor-providers.interface'
import { ONLY_OFFICE_EXTENSIONS } from '@sync-in-server/backend/src/applications/files/editors/only-office/only-office.constants'
import type { File } from '@sync-in-server/backend/src/applications/files/schemas/file.interface'
@@ -181,6 +182,13 @@ export class FileModel implements File {
const dash = mime?.indexOf('-') ?? -1
const temporaryMime = mime && dash >= 0 ? mime.slice(0, dash) : mime
+ if (editorConfig.drawio === true && DRAWIO_EXTENSIONS.has(extension)) {
+ this.shortMime = SHORT_MIME.DIAGRAM
+ this.isEditable = true
+ this.isViewable = true
+ return mime || mimeFile
+ }
+
if (extension === SHORT_MIME.PDF) {
this.shortMime = SHORT_MIME.PDF
this.isViewable = true
diff --git a/frontend/src/app/applications/files/services/files.service.ts b/frontend/src/app/applications/files/services/files.service.ts
index e237b539..141b77d0 100644
--- a/frontend/src/app/applications/files/services/files.service.ts
+++ b/frontend/src/app/applications/files/services/files.service.ts
@@ -53,7 +53,7 @@ import { type FilesOverwriteAction, FilesOverwriteDialogComponent } from '../com
import type { FilesViewerDialogComponent as FilesViewerDialogComponentState } from '../components/dialogs/files-viewer-dialog.component'
import { FilesViewerSelectDialog } from '../components/dialogs/files-viewer-select-dialog.component'
import { fileLockPropsToString } from '../components/utils/file-lock.utils'
-import { MAX_TEXT_FILE_SIZE, SHORT_MIME } from '../files.constants'
+import { MAX_DIAGRAM_FILE_SIZE, MAX_TEXT_FILE_SIZE, SHORT_MIME } from '../files.constants'
import { FileContentModel } from '../models/file-content.model'
import { FileFavoriteModel } from '../models/file-favorite.model'
import { FileRecentModel } from '../models/file-recent.model'
@@ -76,7 +76,7 @@ export class FilesService {
// Files
public currentRoute: string
private readonly editorMetadataReconciliationDelay = 2_000
- private readonly textFileSizeLimitExceededMessage = 'File size limit exceeded'
+ private readonly fileSizeLimitExceededMessage = 'File size limit exceeded'
private readonly textBinaryProbeBytes = 4096
private readonly http = inject(HttpClient)
private readonly layout = inject(LayoutService)
@@ -190,8 +190,8 @@ export class FilesService {
}
make(type: 'file' | 'directory', name: string, dirPath: string, asCallBack: true): Observable<any>
- make(type: 'file' | 'directory', name: string, dirPath?: string, asCallBack?: false): void
- make(type: 'file' | 'directory', name: string, dirPath: string = null, asCallBack = false): Observable<any> | void {
+ make(type: 'file' | 'directory', name: string, dirPath?: string, asCallBack?: false, openAfterCreate?: boolean): void
+ make(type: 'file' | 'directory', name: string, dirPath: string = null, asCallBack = false, openAfterCreate = false): Observable<any> | void {
if (!this.isValidName(name)) return
dirPath = dirPath || this.currentRoute
const op: MakeFileDto = { type: type }
@@ -199,7 +199,7 @@ export class FilesService {
return this.http.post(`${API_FILES_OPERATION_MAKE}/${dirPath}/${name}`, op)
} else {
this.http.post(`${API_FILES_OPERATION_MAKE}/${dirPath}/${name}`, op).subscribe({
- next: () => this.store.filesOnEvent.next({ filePath: dirPath, fileName: name, focus: true, reload: true }),
+ next: () => this.store.filesOnEvent.next({ filePath: dirPath, fileName: name, focus: true, reload: true, openAfterCreate }),
error: (e: HttpErrorResponse) => this.layout.sendNotification('error', 'Creation failed', name, e)
})
}
@@ -413,7 +413,7 @@ export class FilesService {
this.layout.sendNotification('info', 'The file is locked', fileLockPropsToString(file.lock))
}
- const editorProvider: FileEditorProviders = { collabora: false, eurooffice: false, onlyoffice: false }
+ const editorProvider: FileEditorProviders = { collabora: false, drawio: false, eurooffice: false, onlyoffice: false }
if (hookedShortMime === SHORT_MIME.DOCUMENT) {
const officeEditorProvider: keyof FileEditorProviders = this.store.server().files.editors.onlyoffice ? 'onlyoffice' : 'eurooffice'
const officeEditorEnabled = this.store.server().files.editors[officeEditorProvider]
@@ -481,13 +481,16 @@ export class FilesService {
}
private async viewerHook(file: FileModel): Promise<ViewerHookResult> {
+ if (file.shortMime === SHORT_MIME.DIAGRAM && file.size >= MAX_DIAGRAM_FILE_SIZE) {
+ return { action: 'download', message: this.fileSizeLimitExceededMessage }
+ }
if (file.shortMime === SHORT_MIME.TEXT || file.shortMime === SHORT_MIME.MARKDOWN) {
if (file.shortMime === SHORT_MIME.TEXT && (await this.hasBinaryContent(file))) {
return { action: 'download' }
}
if (file.size >= MAX_TEXT_FILE_SIZE) {
// Download if too large
- return { action: 'download', message: this.textFileSizeLimitExceededMessage }
+ return { action: 'download', message: this.fileSizeLimitExceededMessage }
}
return { action: 'open', shortMime: file.shortMime }
}
diff --git a/frontend/src/app/applications/spaces/components/spaces-browser.component.ts b/frontend/src/app/applications/spaces/components/spaces-browser.component.ts
index 5acee41b..deb97468 100644
--- a/frontend/src/app/applications/spaces/components/spaces-browser.component.ts
+++ b/frontend/src/app/applications/spaces/components/spaces-browser.component.ts
@@ -260,6 +260,7 @@ export class SpacesBrowserComponent implements OnInit, AfterViewInit, OnDestroy
// Others
private subscriptions: Subscription[] = []
private focusOnSelect: string
+ private openAfterReload: string
private selectionAnchor: FileModel | null = null
private selectionFocus: FileModel | null = null
private selectionControlMode = false
@@ -344,11 +345,13 @@ export class SpacesBrowserComponent implements OnInit, AfterViewInit, OnDestroy
} else {
this.scrollView.scrollInto(-1)
}
+ this.openCreatedFileAfterReload()
if (focusView) {
setTimeout(() => this.focusFilesView(focusOrigin), 0)
}
},
error: (e: HttpErrorResponse) => {
+ this.openAfterReload = null
this.files = []
this.updateFilesStats(this.files)
if (e.status !== 401) {
@@ -667,6 +670,7 @@ export class SpacesBrowserComponent implements OnInit, AfterViewInit, OnDestroy
const mustReloadFocus = matchDstPath && ev.reloadFocusOnDst
if (ev.fileName) {
if (ev.focus || mustReloadFocus) this.focusOnSelect = ev.fileName
+ if (ev.openAfterCreate) this.openAfterReload = ev.fileName
if (ev.delete && !mustReloadFocus) {
if (ev.status === FileTaskStatus.SUCCESS) {
this.files = this.files.filter((file: FileModel) => file.name !== ev.fileName)
@@ -733,6 +737,16 @@ export class SpacesBrowserComponent implements OnInit, AfterViewInit, OnDestroy
this.filesService.openViewerDialog(f, this.files, permissions).catch(console.error)
}
+ private openCreatedFileAfterReload() {
+ if (!this.openAfterReload) return
+ const fileName = this.openAfterReload
+ this.openAfterReload = null
+ const file = this.files.find((item) => item.name.toLowerCase() === fileName.toLowerCase())
+ if (!file || (!file.isViewable && !file.isEditable)) return
+ this.setSelection([file], file, file)
+ this.openViewerDialog()
+ }
+
private focusOn(selectName: string) {
if (!selectName) {
this.focusOnSelect = null
diff --git a/frontend/src/app/common/components/select/select.component.html b/frontend/src/app/common/components/select/select.component.html
index 7311f30f..b592df03 100644
--- a/frontend/src/app/common/components/select/select.component.html
+++ b/frontend/src/app/common/components/select/select.component.html
@@ -57,7 +57,7 @@
</div>
</ng-template>
<ng-template #DefaultOptions let-i="i" let-o="o">
- <a class="dropdown-item cursor-pointer" href="javascript:void(0)" style="padding: 3px 5px">
+ <button class="dropdown-item cursor-pointer" style="padding: 3px 5px" type="button">
<div class="d-flex align-items-center">
<span class="ui-icon circle-primary-icon me-2">
<svg [lucideIcon]="itemIcon"></svg>
@@ -69,6 +69,6 @@
}
</div>
</div>
- </a>
+ </button>
</ng-template>
<!--End Templates-->
diff --git a/frontend/src/i18n/de.json b/frontend/src/i18n/de.json
index 4b9d0cc9..81a7737b 100644
--- a/frontend/src/i18n/de.json
+++ b/frontend/src/i18n/de.json
@@ -19,6 +19,7 @@
"Cancel": "Abbrechen",
"Close": "Schließen",
"Open": "Öffnen",
+ "Open after creation": "Nach der Erstellung öffnen",
"Server connection error": "Fehler bei der Serververbindung",
"Service interruption": "Dienstunterbrechung",
"Service unavailable": "Dienst nicht verfügbar",
@@ -388,6 +389,7 @@
"Spreadsheet": "Tabellenkalkulation",
"Presentation": "Präsentation",
"Text": "Text",
+ "Other": "Sonstiges",
"Forbidden characters": "Unzulässige Zeichen",
"Elements": "Elemente",
"Malformed URL": "Fehlerhafte URL",
diff --git a/frontend/src/i18n/es.json b/frontend/src/i18n/es.json
index 48682ea0..058ddde8 100644
--- a/frontend/src/i18n/es.json
+++ b/frontend/src/i18n/es.json
@@ -19,6 +19,7 @@
"Cancel": "Cancelar",
"Close": "Cerrar",
"Open": "Abrir",
+ "Open after creation": "Abrir después de la creación",
"Server connection error": "Error de conexión con el servidor",
"Service interruption": "Interrupción del servicio",
"Service unavailable": "Servicio no disponible",
@@ -388,6 +389,7 @@
"Spreadsheet": "Hoja de cálculo",
"Presentation": "Presentación",
"Text": "Texto",
+ "Other": "Otro",
"Forbidden characters": "Caracteres prohibidos",
"Elements": "Elementos",
"Malformed URL": "URL mal formada",
diff --git a/frontend/src/i18n/fr.json b/frontend/src/i18n/fr.json
index 8e1e6651..eb67a6de 100644
--- a/frontend/src/i18n/fr.json
+++ b/frontend/src/i18n/fr.json
@@ -19,6 +19,7 @@
"Cancel": "Annuler",
"Close": "Fermer",
"Open": "Ouvrir",
+ "Open after creation": "Ouvrir après la création",
"Server connection error": "Erreur de connexion au serveur",
"Service interruption": "Interruption de service",
"Service unavailable": "Service indisponible",
@@ -388,6 +389,7 @@
"Spreadsheet": "Tableur",
"Presentation": "Présentation",
"Text": "Texte",
+ "Other": "Autre",
"Forbidden characters": "Caractères interdits",
"Elements": "Éléments",
"Malformed URL": "URL mal formée",
diff --git a/frontend/src/i18n/hi.json b/frontend/src/i18n/hi.json
index 13096b7e..bf240d8e 100644
--- a/frontend/src/i18n/hi.json
+++ b/frontend/src/i18n/hi.json
@@ -19,6 +19,7 @@
"Cancel": "रद्द करें",
"Close": "बंद करें",
"Open": "खोलें",
+ "Open after creation": "बनाने के बाद खोलें",
"Server connection error": "सर्वर कनेक्शन त्रुटि",
"Service interruption": "सेवा में व्यवधान",
"Service unavailable": "सेवा उपलब्ध नहीं है",
@@ -388,6 +389,7 @@
"Spreadsheet": "स्प्रेडशीट",
"Presentation": "प्रस्तुति",
"Text": "पाठ",
+ "Other": "अन्य",
"Forbidden characters": "निषिद्ध अक्षर",
"Elements": "तत्व",
"Malformed URL": "त्रुटिपूर्ण URL",
diff --git a/frontend/src/i18n/it.json b/frontend/src/i18n/it.json
index 589edc31..5aacb8e4 100644
--- a/frontend/src/i18n/it.json
+++ b/frontend/src/i18n/it.json
@@ -19,6 +19,7 @@
"Cancel": "Annulla",
"Close": "Chiudi",
"Open": "Apri",
+ "Open after creation": "Apri dopo la creazione",
"Server connection error": "Errore di connessione al server",
"Service interruption": "Interruzione del servizio",
"Service unavailable": "Servizio non disponibile",
@@ -388,6 +389,7 @@
"Spreadsheet": "Foglio di calcolo",
"Presentation": "Presentazione",
"Text": "Testo",
+ "Other": "Altro",
"Forbidden characters": "Caratteri non consentiti",
"Elements": "Elementi",
"Malformed URL": "URL malformato",
diff --git a/frontend/src/i18n/ja.json b/frontend/src/i18n/ja.json
index 5345521f..798ae92c 100644
--- a/frontend/src/i18n/ja.json
+++ b/frontend/src/i18n/ja.json
@@ -19,6 +19,7 @@
"Cancel": "キャンセル",
"Close": "閉じる",
"Open": "開く",
+ "Open after creation": "作成後に開く",
"Server connection error": "サーバー接続エラー",
"Service interruption": "サービスの中断",
"Service unavailable": "サービスを利用できません",
@@ -388,6 +389,7 @@
"Spreadsheet": "スプレッドシート",
"Presentation": "プレゼンテーション",
"Text": "テキスト",
+ "Other": "その他",
"Forbidden characters": "使用できない文字",
"Elements": "要素",
"Malformed URL": "不正なURL",
diff --git a/frontend/src/i18n/ko.json b/frontend/src/i18n/ko.json
index cdbd2874..c05d55dc 100644
--- a/frontend/src/i18n/ko.json
+++ b/frontend/src/i18n/ko.json
@@ -19,6 +19,7 @@
"Cancel": "취소",
"Close": "닫기",
"Open": "열기",
+ "Open after creation": "생성 후 열기",
"Server connection error": "서버 연결 오류",
"Service interruption": "서비스 중단",
"Service unavailable": "서비스를 사용할 수 없습니다",
@@ -388,6 +389,7 @@
"Spreadsheet": "스프레드시트",
"Presentation": "프레젠테이션",
"Text": "텍스트",
+ "Other": "기타",
"Forbidden characters": "허용되지 않는 문자",
"Elements": "요소",
"Malformed URL": "잘못된 URL",
diff --git a/frontend/src/i18n/nl.json b/frontend/src/i18n/nl.json
index fa96c314..e0a658c4 100644
--- a/frontend/src/i18n/nl.json
+++ b/frontend/src/i18n/nl.json
@@ -19,6 +19,7 @@
"Cancel": "Annuleren",
"Close": "Sluiten",
"Open": "Openen",
+ "Open after creation": "Openen na aanmaken",
"Server connection error": "Fout met serververbinding",
"Service interruption": "Dienstonderbreking",
"Service unavailable": "Dienst niet beschikbaar",
@@ -388,6 +389,7 @@
"Spreadsheet": "Spreadsheet",
"Presentation": "Presentatie",
"Text": "Tekst",
+ "Other": "Overig",
"Forbidden characters": "Niet-toegestane tekens",
"Elements": "Items",
"Malformed URL": "Incorrecte URL",
diff --git a/frontend/src/i18n/pl.json b/frontend/src/i18n/pl.json
index 83cf4faa..d8947ff5 100644
--- a/frontend/src/i18n/pl.json
+++ b/frontend/src/i18n/pl.json
@@ -19,6 +19,7 @@
"Cancel": "Anuluj",
"Close": "Zamknij",
"Open": "Otwórz",
+ "Open after creation": "Otwórz po utworzeniu",
"Server connection error": "Błąd połączenia z serwerem",
"Service interruption": "Przerwa w działaniu usługi",
"Service unavailable": "Usługa niedostępna",
@@ -388,6 +389,7 @@
"Spreadsheet": "Arkusz kalkulacyjny",
"Presentation": "Prezentacja",
"Text": "Tekst",
+ "Other": "Inne",
"Forbidden characters": "Niedozwolone znaki",
"Elements": "Elementy",
"Malformed URL": "Nieprawidłowy URL",
diff --git a/frontend/src/i18n/pt-BR.json b/frontend/src/i18n/pt-BR.json
index 61bc96b8..92d2691e 100644
--- a/frontend/src/i18n/pt-BR.json
+++ b/frontend/src/i18n/pt-BR.json
@@ -19,6 +19,7 @@
"Cancel": "Cancelar",
"Close": "Fechar",
"Open": "Abrir",
+ "Open after creation": "Abrir após a criação",
"Server connection error": "Erro de conexão com o servidor",
"Service interruption": "Interrupção do serviço",
"Service unavailable": "Serviço indisponível",
@@ -388,6 +389,7 @@
"Spreadsheet": "Planilha",
"Presentation": "Apresentação",
"Text": "Texto",
+ "Other": "Outro",
"Forbidden characters": "Caracteres proibidos",
"Elements": "Elementos",
"Malformed URL": "URL malformada",
diff --git a/frontend/src/i18n/pt.json b/frontend/src/i18n/pt.json
index 2b99229f..45b6c475 100644
--- a/frontend/src/i18n/pt.json
+++ b/frontend/src/i18n/pt.json
@@ -19,6 +19,7 @@
"Cancel": "Cancelar",
"Close": "Fechar",
"Open": "Abrir",
+ "Open after creation": "Abrir após a criação",
"Server connection error": "Erro de conexão com o servidor",
"Service interruption": "Interrupção do serviço",
"Service unavailable": "Serviço indisponível",
@@ -388,6 +389,7 @@
"Spreadsheet": "Folha de cálculo",
"Presentation": "Apresentação",
"Text": "Texto",
+ "Other": "Outro",
"Forbidden characters": "Caracteres proibidos",
"Elements": "Elementos",
"Malformed URL": "URL malformada",
diff --git a/frontend/src/i18n/ru.json b/frontend/src/i18n/ru.json
index 8ad8af00..18d04e46 100644
--- a/frontend/src/i18n/ru.json
+++ b/frontend/src/i18n/ru.json
@@ -19,6 +19,7 @@
"Cancel": "Отмена",
"Close": "Закрыть",
"Open": "Открыть",
+ "Open after creation": "Открыть после создания",
"Server connection error": "Ошибка подключения к серверу",
"Service interruption": "Перерыв в работе сервиса",
"Service unavailable": "Сервис недоступен",
@@ -388,6 +389,7 @@
"Spreadsheet": "Электронная таблица",
"Presentation": "Презентация",
"Text": "Текст",
+ "Other": "Другое",
"Forbidden characters": "Запрещённые символы",
"Elements": "Элементы",
"Malformed URL": "Некорректный URL",
diff --git a/frontend/src/i18n/tr.json b/frontend/src/i18n/tr.json
index 715ee3ff..a932e16a 100644
--- a/frontend/src/i18n/tr.json
+++ b/frontend/src/i18n/tr.json
@@ -19,6 +19,7 @@
"Cancel": "İptal",
"Close": "Kapat",
"Open": "Aç",
+ "Open after creation": "Oluşturduktan sonra aç",
"Server connection error": "Sunucu bağlantı hatası",
"Service interruption": "Hizmet kesintisi",
"Service unavailable": "Hizmet kullanılamıyor",
@@ -388,6 +389,7 @@
"Spreadsheet": "Elektronik tablo",
"Presentation": "Sunum",
"Text": "Metin",
+ "Other": "Diğer",
"Forbidden characters": "İzin verilmeyen karakterler",
"Elements": "Öğeler",
"Malformed URL": "Hatalı URL",
diff --git a/frontend/src/i18n/zh.json b/frontend/src/i18n/zh.json
index f93794e3..fef8bf7c 100644
--- a/frontend/src/i18n/zh.json
+++ b/frontend/src/i18n/zh.json
@@ -19,6 +19,7 @@
"Cancel": "取消",
"Close": "关闭",
"Open": "打开",
+ "Open after creation": "创建后打开",
"Server connection error": "服务器连接错误",
"Service interruption": "服务中断",
"Service unavailable": "服务不可用",
@@ -388,6 +389,7 @@
"Spreadsheet": "电子表格",
"Presentation": "演示文稿",
"Text": "文本",
+ "Other": "其他",
"Forbidden characters": "禁止字符",
"Elements": "元素",
"Malformed URL": "URL 格式错误",