Skip to content

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

chore(i18n): generalize office editor translation

johaven93a80132f89c
diff --git a/frontend/src/app/applications/files/components/dialogs/files-viewer-dialog.component.html b/frontend/src/app/applications/files/components/dialogs/files-viewer-dialog.component.html
index 5764a813..73ae9d7c 100644
--- a/frontend/src/app/applications/files/components/dialogs/files-viewer-dialog.component.html
+++ b/frontend/src/app/applications/files/components/dialogs/files-viewer-dialog.component.html
@@ -6,7 +6,7 @@
@if (canToggleViewer) {
<button (click)="toggleViewer()" class="btn btn-sm btn-primary me-2" type="button">
<fa-icon [icon]="isReadonly() ? icons.faPen : icons.faEye"></fa-icon>
- <span class="d-none d-sm-inline ms-2" l10nTranslate>{{ isReadonly() ? editOfficeEditorText : 'View in PDF.js' }}</span>
+ <span class="d-none d-sm-inline ms-2">{{ toggleViewerText }}</span>
</button>
}
<button (click)="onMinimize()" aria-label="Minimize" class="btn-minimize btn-minimize-white" [class.ms-1]="canToggleViewer" type="button"></button>
diff --git a/frontend/src/app/applications/files/components/dialogs/files-viewer-dialog.component.ts b/frontend/src/app/applications/files/components/dialogs/files-viewer-dialog.component.ts
index edcdded7..55d88482 100644
--- a/frontend/src/app/applications/files/components/dialogs/files-viewer-dialog.component.ts
+++ b/frontend/src/app/applications/files/components/dialogs/files-viewer-dialog.component.ts
@@ -100,8 +100,10 @@ export class FilesViewerDialogComponent implements OnInit, OnDestroy {
return this.store.server().files.editors.onlyoffice ? 'OnlyOffice' : 'Euro-Office'
}
- protected get editOfficeEditorText(): string {
- return `Edit in ${this.officeEditorName}`
+ protected get toggleViewerText(): string {
+ return this.isReadonly()
+ ? this.layout.translateString('edit_in_office_editor', { editor: this.officeEditorName })
+ : this.layout.translateString('View in PDF.js')
}
private onResize() {
diff --git a/frontend/src/app/applications/files/components/utils/only-office.component.ts b/frontend/src/app/applications/files/components/utils/only-office.component.ts
index 3e159e20..da963b69 100644
--- a/frontend/src/app/applications/files/components/utils/only-office.component.ts
+++ b/frontend/src/app/applications/files/components/utils/only-office.component.ts
@@ -11,7 +11,7 @@ export class OnlyOfficeComponent implements OnInit, OnChanges, OnDestroy {
@Input({ required: true }) editorName: string
@Input({ required: true }) documentServerUrl: string
@Input({ required: true }) config: OnlyOfficeConfig
- @Output() loadError = new EventEmitter<{ title: string; message: string }>()
+ @Output() loadError = new EventEmitter<{ title: string; titleArgs: { editor: string }; message: string }>()
private isFirstOnChanges = true
ngOnInit(): void {
@@ -75,15 +75,19 @@ export class OnlyOfficeComponent implements OnInit, OnChanges, OnDestroy {
}
private onError(errorCode: number) {
- const error = { title: `Unknown ${this.editorName} error`, message: `Code: ${errorCode}` }
+ const error = {
+ title: 'office_editor_unknown_error',
+ titleArgs: { editor: this.editorName },
+ message: `Code: ${errorCode}`
+ }
switch (errorCode) {
case -2:
- error.title = `Unable to load ${this.editorName} editor`
+ error.title = 'office_editor_load_error'
error.message = 'The document server may be unreachable or the configuration is invalid'
break
case -3:
- error.title = `${this.editorName} editor failed to initialize`
+ error.title = 'office_editor_init_error'
error.message = 'DocsAPI not available'
break
}
diff --git a/frontend/src/app/applications/files/components/viewers/files-viewer-only-office.component.ts b/frontend/src/app/applications/files/components/viewers/files-viewer-only-office.component.ts
index 1b282907..af91e819 100644
--- a/frontend/src/app/applications/files/components/viewers/files-viewer-only-office.component.ts
+++ b/frontend/src/app/applications/files/components/viewers/files-viewer-only-office.component.ts
@@ -89,15 +89,15 @@ export class FilesViewerOnlyOfficeComponent implements OnInit, OnDestroy {
this.layout.sendNotification(
'error',
'Unable to open document',
- e.status === 404 ? `Unable to load ${this.officeEditorName} editor` : e.error.message
+ e.status === 404 ? this.layout.translateString('office_editor_load_error', { editor: this.officeEditorName }) : e.error.message
)
}
})
}
- loadError(e: { title: string; message: string }): void {
+ loadError(e: { title: string; titleArgs: { editor: string }; message: string }): void {
this.layout.closeDialog()
- this.layout.sendNotification('error', e.title, e.message)
+ this.layout.sendNotification('error', this.layout.translateString(e.title, e.titleArgs), e.message)
}
ngOnDestroy() {
diff --git a/frontend/src/i18n/de.json b/frontend/src/i18n/de.json
index 88e83505..52038ee2 100644
--- a/frontend/src/i18n/de.json
+++ b/frontend/src/i18n/de.json
@@ -661,11 +661,11 @@
"Fullscreen": "Vollbild",
"Dimensions": "Abmessungen",
"Start Slideshow": "Diashow starten",
- "Unable to load OnlyOffice editor": "OnlyOffice‑Editor konnte nicht geladen werden",
+ "office_editor_load_error": "{{ editor }}‑Editor konnte nicht geladen werden",
"The document server may be unreachable or the configuration is invalid": "Der Dokumentenserver ist möglicherweise nicht erreichbar oder die Konfiguration ist ungültig",
- "OnlyOffice editor failed to initialize": "Initialisierung des OnlyOffice‑Editors ist fehlgeschlagen",
+ "office_editor_init_error": "Initialisierung des {{ editor }}‑Editors ist fehlgeschlagen",
"DocsAPI not available": "DocsAPI ist nicht verfügbar",
- "Unknown OnlyOffice error": "Unbekannter OnlyOffice‑Fehler",
+ "office_editor_unknown_error": "Unbekannter {{ editor }}‑Fehler",
"No editor found": "Kein Editor gefunden",
"Choose which editor you want to use to open this document.": "Wählen Sie den Editor aus, mit dem Sie dieses Dokument öffnen möchten.",
"Open-source office suite built on LibreOffice.": "Open-Source-Office-Suite basierend auf LibreOffice.",
@@ -706,7 +706,6 @@
"checksums are not identical": "Prüfsummen sind nicht identisch",
"size has changed since parsing": "Die Größe hat sich seit dem Parsen geändert",
"No synchronized folder": "Kein synchronisierter Ordner",
- "Edit in OnlyOffice": "In OnlyOffice bearbeiten",
- "Edit in Euro-Office": "In Euro-Office bearbeiten",
+ "edit_in_office_editor": "In {{ editor }} bearbeiten",
"View in PDF.js": "In PDF.js ansehen"
}
diff --git a/frontend/src/i18n/en.json b/frontend/src/i18n/en.json
index b39bd1cc..56c6ded6 100644
--- a/frontend/src/i18n/en.json
+++ b/frontend/src/i18n/en.json
@@ -18,7 +18,8 @@
"scheduler_unit_hour": "hours",
"scheduler_unit_minute": "minutes",
"scheduler_unit_day": "days",
- "Client deleted": "Client deleted",
- "Unable to delete client": "Unable to delete client",
- "Cancelled": "Cancelled"
+ "office_editor_load_error": "Unable to load {{ editor }} editor",
+ "office_editor_init_error": "{{ editor }} editor failed to initialize",
+ "office_editor_unknown_error": "Unknown {{ editor }} error",
+ "edit_in_office_editor": "Edit in {{ editor }}"
}
diff --git a/frontend/src/i18n/es.json b/frontend/src/i18n/es.json
index f1bb683f..8950b8e5 100644
--- a/frontend/src/i18n/es.json
+++ b/frontend/src/i18n/es.json
@@ -661,11 +661,11 @@
"Fullscreen": "Pantalla completa",
"Dimensions": "Dimensiones",
"Start Slideshow": "Iniciar presentación",
- "Unable to load OnlyOffice editor": "No se pudo cargar el editor de OnlyOffice",
+ "office_editor_load_error": "No se pudo cargar el editor de {{ editor }}",
"The document server may be unreachable or the configuration is invalid": "Es posible que el servidor de documentos no sea accesible o que la configuración sea inválida",
- "OnlyOffice editor failed to initialize": "No se pudo inicializar el editor de OnlyOffice",
+ "office_editor_init_error": "No se pudo inicializar el editor de {{ editor }}",
"DocsAPI not available": "DocsAPI no está disponible",
- "Unknown OnlyOffice error": "Error desconocido de OnlyOffice",
+ "office_editor_unknown_error": "Error desconocido de {{ editor }}",
"No editor found": "No se encontró un editor",
"Choose which editor you want to use to open this document.": "Elija qué editor desea utilizar para abrir este documento.",
"Open-source office suite built on LibreOffice.": "Suite ofimática de código abierto basada en LibreOffice.",
@@ -706,7 +706,6 @@
"checksums are not identical": "Las sumas de comprobación no son idénticas",
"size has changed since parsing": "El tamaño ha cambiado desde el análisis",
"No synchronized folder": "Ninguna carpeta sincronizada",
- "Edit in OnlyOffice": "Editar en OnlyOffice",
- "Edit in Euro-Office": "Editar en Euro-Office",
+ "edit_in_office_editor": "Editar en {{ editor }}",
"View in PDF.js": "Ver en PDF.js"
}
diff --git a/frontend/src/i18n/fr.json b/frontend/src/i18n/fr.json
index d74c4966..a0e4b5a9 100644
--- a/frontend/src/i18n/fr.json
+++ b/frontend/src/i18n/fr.json
@@ -661,11 +661,11 @@
"Fullscreen": "Plein écran",
"Dimensions": "Dimensions",
"Start Slideshow": "Démarrer le diaporama",
- "Unable to load OnlyOffice editor": "Impossible de charger l’éditeur OnlyOffice",
+ "office_editor_load_error": "Impossible de charger l’éditeur {{ editor }}",
"The document server may be unreachable or the configuration is invalid": "Le serveur de documents est peut-être injoignable ou la configuration est invalide",
- "OnlyOffice editor failed to initialize": "Échec de l’initialisation de l’éditeur OnlyOffice",
+ "office_editor_init_error": "Échec de l’initialisation de l’éditeur {{ editor }}",
"DocsAPI not available": "DocsAPI n’est pas disponible",
- "Unknown OnlyOffice error": "Erreur OnlyOffice inconnue",
+ "office_editor_unknown_error": "Erreur {{ editor }} inconnue",
"No editor found": "Aucun éditeur trouvé",
"Choose which editor you want to use to open this document.": "Choisissez l'éditeur que vous souhaitez utiliser pour ouvrir ce document.",
"Open-source office suite built on LibreOffice.": "Suite bureautique open-source basée sur LibreOffice.",
@@ -706,7 +706,6 @@
"checksums are not identical": "Les sommes de contrôle ne sont pas identiques",
"size has changed since parsing": "La taille a changé depuis l'analyse",
"No synchronized folder": "Aucun dossier synchronisé",
- "Edit in OnlyOffice": "Modifier dans OnlyOffice",
- "Edit in Euro-Office": "Modifier dans Euro-Office",
+ "edit_in_office_editor": "Modifier dans {{ editor }}",
"View in PDF.js": "Voir dans PDF.js"
}
diff --git a/frontend/src/i18n/hi.json b/frontend/src/i18n/hi.json
index 607ba084..8767af4e 100644
--- a/frontend/src/i18n/hi.json
+++ b/frontend/src/i18n/hi.json
@@ -661,11 +661,11 @@
"Fullscreen": "पूर्ण स्क्रीन",
"Dimensions": "आयाम",
"Start Slideshow": "स्लाइड शो शुरू करें",
- "Unable to load OnlyOffice editor": "OnlyOffice संपादक लोड नहीं हो सका",
+ "office_editor_load_error": "{{ editor }} संपादक लोड नहीं हो सका",
"The document server may be unreachable or the configuration is invalid": "दस्तावेज़ सर्वर उपलब्ध नहीं हो सकता या विन्यास अमान्य है",
- "OnlyOffice editor failed to initialize": "OnlyOffice संपादक प्रारंभ करने में विफल रहा",
+ "office_editor_init_error": "{{ editor }} संपादक प्रारंभ करने में विफल रहा",
"DocsAPI not available": "DocsAPI उपलब्ध नहीं है",
- "Unknown OnlyOffice error": "अज्ञात OnlyOffice त्रुटि",
+ "office_editor_unknown_error": "अज्ञात {{ editor }} त्रुटि",
"No editor found": "संपादक नहीं मिला",
"Choose which editor you want to use to open this document.": "इस दस्तावेज़ को खोलने के लिए आप कौन सा संपादक उपयोग करना चाहते हैं, चुनें।",
"Open-source office suite built on LibreOffice.": "LibreOffice पर आधारित ओपन-सोर्स ऑफिस सुइट।",
@@ -706,7 +706,6 @@
"checksums are not identical": "चेकसम एक जैसे नहीं हैं",
"size has changed since parsing": "पार्सिंग के बाद से आकार बदल गया है",
"No synchronized folder": "कोई सिंक्रोनाइज़्ड फ़ोल्डर नहीं",
- "Edit in OnlyOffice": "OnlyOffice में संपादित करें",
- "Edit in Euro-Office": "Euro-Office में संपादित करें",
+ "edit_in_office_editor": "{{ editor }} में संपादित करें",
"View in PDF.js": "PDF.js में देखें"
}
diff --git a/frontend/src/i18n/it.json b/frontend/src/i18n/it.json
index 13b9c178..c9bc1151 100644
--- a/frontend/src/i18n/it.json
+++ b/frontend/src/i18n/it.json
@@ -661,11 +661,11 @@
"Fullscreen": "Schermo intero",
"Dimensions": "Dimensioni",
"Start Slideshow": "Avvia presentazione",
- "Unable to load OnlyOffice editor": "Impossibile caricare l’editor OnlyOffice",
+ "office_editor_load_error": "Impossibile caricare l’editor {{ editor }}",
"The document server may be unreachable or the configuration is invalid": "Il server dei documenti potrebbe non essere raggiungibile o la configurazione non è valida",
- "OnlyOffice editor failed to initialize": "Impossibile inizializzare l’editor OnlyOffice",
+ "office_editor_init_error": "Impossibile inizializzare l’editor {{ editor }}",
"DocsAPI not available": "DocsAPI non è disponibile",
- "Unknown OnlyOffice error": "Errore sconosciuto di OnlyOffice",
+ "office_editor_unknown_error": "Errore sconosciuto di {{ editor }}",
"No editor found": "Nessun editor trovato",
"Choose which editor you want to use to open this document.": "Scegli quale editor desideri utilizzare per aprire questo documento.",
"Open-source office suite built on LibreOffice.": "Suite per ufficio open-source basata su LibreOffice.",
@@ -706,7 +706,6 @@
"checksums are not identical": "I checksum non sono identici",
"size has changed since parsing": "La dimensione è cambiata dall'analisi",
"No synchronized folder": "Nessuna cartella sincronizzata",
- "Edit in OnlyOffice": "Modifica in OnlyOffice",
- "Edit in Euro-Office": "Modifica in Euro-Office",
+ "edit_in_office_editor": "Modifica in {{ editor }}",
"View in PDF.js": "Visualizza in PDF.js"
}
diff --git a/frontend/src/i18n/ja.json b/frontend/src/i18n/ja.json
index 692146a5..dc66c906 100644
--- a/frontend/src/i18n/ja.json
+++ b/frontend/src/i18n/ja.json
@@ -661,11 +661,11 @@
"Fullscreen": "全画面表示",
"Dimensions": "サイズ",
"Start Slideshow": "スライドショーを開始",
- "Unable to load OnlyOffice editor": "OnlyOffice エディタを読み込めませんでした",
+ "office_editor_load_error": "{{ editor }} エディタを読み込めませんでした",
"The document server may be unreachable or the configuration is invalid": "ドキュメントサーバーに接続できないか、設定が無効です",
- "OnlyOffice editor failed to initialize": "OnlyOffice エディタの初期化に失敗しました",
+ "office_editor_init_error": "{{ editor }} エディタの初期化に失敗しました",
"DocsAPI not available": "DocsAPI を利用できません",
- "Unknown OnlyOffice error": "不明な OnlyOffice エラーです",
+ "office_editor_unknown_error": "不明な {{ editor }} エラーです",
"No editor found": "エディタが見つかりません",
"Choose which editor you want to use to open this document.": "このドキュメントを開くために使用するエディタを選択してください。",
"Open-source office suite built on LibreOffice.": "LibreOffice をベースにしたオープンソースのオフィススイート。",
@@ -706,7 +706,6 @@
"checksums are not identical": "チェックサムが一致しません",
"size has changed since parsing": "解析後にサイズが変更されました",
"No synchronized folder": "同期されたフォルダーはありません",
- "Edit in OnlyOffice": "OnlyOfficeで編集",
- "Edit in Euro-Office": "Euro-Officeで編集",
+ "edit_in_office_editor": "{{ editor }}で編集",
"View in PDF.js": "PDF.jsで表示"
}
diff --git a/frontend/src/i18n/ko.json b/frontend/src/i18n/ko.json
index 7bbe42f8..be39ab86 100644
--- a/frontend/src/i18n/ko.json
+++ b/frontend/src/i18n/ko.json
@@ -661,11 +661,11 @@
"Fullscreen": "전체 화면",
"Dimensions": "크기",
"Start Slideshow": "슬라이드 쇼 시작",
- "Unable to load OnlyOffice editor": "OnlyOffice 편집기를 불러올 수 없습니다",
+ "office_editor_load_error": "{{ editor }} 편집기를 불러올 수 없습니다",
"The document server may be unreachable or the configuration is invalid": "문서 서버에 연결할 수 없거나 설정이 잘못되었습니다",
- "OnlyOffice editor failed to initialize": "OnlyOffice 편집기 초기화에 실패했습니다",
+ "office_editor_init_error": "{{ editor }} 편집기 초기화에 실패했습니다",
"DocsAPI not available": "DocsAPI 를 사용할 수 없습니다",
- "Unknown OnlyOffice error": "알 수 없는 OnlyOffice 오류",
+ "office_editor_unknown_error": "알 수 없는 {{ editor }} 오류",
"No editor found": "편집기를 찾을 수 없습니다",
"Choose which editor you want to use to open this document.": "이 문서를 열 때 사용할 편집기를 선택하세요.",
"Open-source office suite built on LibreOffice.": "LibreOffice 기반의 오픈소스 오피스 스위트.",
@@ -706,7 +706,6 @@
"checksums are not identical": "체크섬이 동일하지 않습니다",
"size has changed since parsing": "파싱 이후 크기가 변경되었습니다",
"No synchronized folder": "동기화된 폴더 없음",
- "Edit in OnlyOffice": "OnlyOffice에서 편집",
- "Edit in Euro-Office": "Euro-Office에서 편집",
+ "edit_in_office_editor": "{{ editor }}에서 편집",
"View in PDF.js": "PDF.js에서 보기"
}
diff --git a/frontend/src/i18n/nl.json b/frontend/src/i18n/nl.json
index b7c9a551..346a22c2 100644
--- a/frontend/src/i18n/nl.json
+++ b/frontend/src/i18n/nl.json
@@ -661,11 +661,11 @@
"Fullscreen": "Volledig scherm",
"Dimensions": "Afmetingen",
"Start Slideshow": "Diavoorstelling starten",
- "Unable to load OnlyOffice editor": "Kan OnlyOffice-editor niet laden",
+ "office_editor_load_error": "Kan {{ editor }}-editor niet laden",
"The document server may be unreachable or the configuration is invalid": "De documentserver is mogelijk niet bereikbaar of de configuratie is ongeldig",
- "OnlyOffice editor failed to initialize": "OnlyOffice-editor kon niet worden geïnitialiseerd",
+ "office_editor_init_error": "{{ editor }}-editor kon niet worden geïnitialiseerd",
"DocsAPI not available": "DocsAPI is niet beschikbaar",
- "Unknown OnlyOffice error": "Onbekende fout met OnlyOffice",
+ "office_editor_unknown_error": "Onbekende fout met {{ editor }}",
"No editor found": "Geen Editor gevonden",
"Choose which editor you want to use to open this document.": "Kies de editor die u wilt gebruiken om dit document te openen.",
"Open-source office suite built on LibreOffice.": "Open-source kantoorsuite gebouwd op basis van LibreOffice.",
@@ -706,7 +706,6 @@
"checksums are not identical": "controlesommen komen niet overeen",
"size has changed since parsing": "grootte is gewijzigd sinds verwerking",
"No synchronized folder": "Geen gesynchroniseerde map",
- "Edit in OnlyOffice": "Bewerken in OnlyOffice",
- "Edit in Euro-Office": "Bewerken in Euro-Office",
+ "edit_in_office_editor": "Bewerken in {{ editor }}",
"View in PDF.js": "Weergeven in PDF.js"
}
diff --git a/frontend/src/i18n/pl.json b/frontend/src/i18n/pl.json
index 49c53fa8..baf519f4 100644
--- a/frontend/src/i18n/pl.json
+++ b/frontend/src/i18n/pl.json
@@ -661,11 +661,11 @@
"Fullscreen": "Pełny ekran",
"Dimensions": "Wymiary",
"Start Slideshow": "Uruchom pokaz slajdów",
- "Unable to load OnlyOffice editor": "Nie można załadować edytora OnlyOffice",
+ "office_editor_load_error": "Nie można załadować edytora {{ editor }}",
"The document server may be unreachable or the configuration is invalid": "Serwer dokumentów może być niedostępny lub konfiguracja jest nieprawidłowa",
- "OnlyOffice editor failed to initialize": "Nie udało się zainicjować edytora OnlyOffice",
+ "office_editor_init_error": "Nie udało się zainicjować edytora {{ editor }}",
"DocsAPI not available": "DocsAPI jest niedostępne",
- "Unknown OnlyOffice error": "Nieznany błąd OnlyOffice",
+ "office_editor_unknown_error": "Nieznany błąd {{ editor }}",
"No editor found": "Nie znaleziono edytora",
"Choose which editor you want to use to open this document.": "Wybierz, którego edytora chcesz użyć do otwarcia tego dokumentu.",
"Open-source office suite built on LibreOffice.": "Otwarty pakiet biurowy oparty na LibreOffice.",
@@ -706,7 +706,6 @@
"checksums are not identical": "Sumy kontrolne nie są identyczne",
"size has changed since parsing": "Rozmiar zmienił się od czasu parsowania",
"No synchronized folder": "Brak zsynchronizowanego folderu",
- "Edit in OnlyOffice": "Edytuj w OnlyOffice",
- "Edit in Euro-Office": "Edytuj w Euro-Office",
+ "edit_in_office_editor": "Edytuj w {{ editor }}",
"View in PDF.js": "Wyświetl w PDF.js"
}
diff --git a/frontend/src/i18n/pt-BR.json b/frontend/src/i18n/pt-BR.json
index 64117aca..cf6bd3ff 100644
--- a/frontend/src/i18n/pt-BR.json
+++ b/frontend/src/i18n/pt-BR.json
@@ -661,11 +661,11 @@
"Fullscreen": "Tela cheia",
"Dimensions": "Dimensões",
"Start Slideshow": "Iniciar apresentação de slides",
- "Unable to load OnlyOffice editor": "Não foi possível carregar o editor OnlyOffice",
+ "office_editor_load_error": "Não foi possível carregar o editor {{ editor }}",
"The document server may be unreachable or the configuration is invalid": "O servidor de documentos pode estar inacessível ou a configuração é inválida",
- "OnlyOffice editor failed to initialize": "Falha ao inicializar o editor OnlyOffice",
+ "office_editor_init_error": "Falha ao inicializar o editor {{ editor }}",
"DocsAPI not available": "DocsAPI não está disponível",
- "Unknown OnlyOffice error": "Erro desconhecido do OnlyOffice",
+ "office_editor_unknown_error": "Erro desconhecido do {{ editor }}",
"No editor found": "Nenhum editor encontrado",
"Choose which editor you want to use to open this document.": "Escolha qual editor você deseja usar para abrir este documento.",
"Open-source office suite built on LibreOffice.": "Suíte de escritório de código aberto baseada no LibreOffice.",
@@ -706,7 +706,6 @@
"checksums are not identical": "As somas de verificação não são idênticas",
"size has changed since parsing": "O tamanho mudou desde a análise",
"No synchronized folder": "Nenhuma pasta sincronizada",
- "Edit in OnlyOffice": "Editar no OnlyOffice",
- "Edit in Euro-Office": "Editar no Euro-Office",
+ "edit_in_office_editor": "Editar no {{ editor }}",
"View in PDF.js": "Visualizar no PDF.js"
}
diff --git a/frontend/src/i18n/pt.json b/frontend/src/i18n/pt.json
index f30d3da3..da5066d2 100644
--- a/frontend/src/i18n/pt.json
+++ b/frontend/src/i18n/pt.json
@@ -661,11 +661,11 @@
"Fullscreen": "Tela cheia",
"Dimensions": "Dimensões",
"Start Slideshow": "Iniciar apresentação de slides",
- "Unable to load OnlyOffice editor": "Não foi possível carregar o editor OnlyOffice",
+ "office_editor_load_error": "Não foi possível carregar o editor {{ editor }}",
"The document server may be unreachable or the configuration is invalid": "O servidor de documentos pode estar inacessível ou a configuração é inválida",
- "OnlyOffice editor failed to initialize": "Falha ao inicializar o editor OnlyOffice",
+ "office_editor_init_error": "Falha ao inicializar o editor {{ editor }}",
"DocsAPI not available": "DocsAPI não está disponível",
- "Unknown OnlyOffice error": "Erro desconhecido do OnlyOffice",
+ "office_editor_unknown_error": "Erro desconhecido do {{ editor }}",
"No editor found": "Nenhum editor encontrado",
"Choose which editor you want to use to open this document.": "Escolha qual editor deseja usar para abrir este documento.",
"Open-source office suite built on LibreOffice.": "Suíte de escritório de código aberto baseada no LibreOffice.",
@@ -706,7 +706,6 @@
"checksums are not identical": "As somas de verificação não são idênticas",
"size has changed since parsing": "O tamanho mudou desde a análise",
"No synchronized folder": "Nenhuma pasta sincronizada",
- "Edit in OnlyOffice": "Editar no OnlyOffice",
- "Edit in Euro-Office": "Editar no Euro-Office",
+ "edit_in_office_editor": "Editar no {{ editor }}",
"View in PDF.js": "Visualizar no PDF.js"
}
diff --git a/frontend/src/i18n/ru.json b/frontend/src/i18n/ru.json
index 195fa6a6..2bb285c9 100644
--- a/frontend/src/i18n/ru.json
+++ b/frontend/src/i18n/ru.json
@@ -661,11 +661,11 @@
"Fullscreen": "Полный экран",
"Dimensions": "Размеры",
"Start Slideshow": "Запустить слайд‑шоу",
- "Unable to load OnlyOffice editor": "Не удалось загрузить редактор OnlyOffice",
+ "office_editor_load_error": "Не удалось загрузить редактор {{ editor }}",
"The document server may be unreachable or the configuration is invalid": "Сервер документов может быть недоступен или конфигурация неверна",
- "OnlyOffice editor failed to initialize": "Не удалось инициализировать редактор OnlyOffice",
+ "office_editor_init_error": "Не удалось инициализировать редактор {{ editor }}",
"DocsAPI not available": "DocsAPI недоступен",
- "Unknown OnlyOffice error": "Неизвестная ошибка OnlyOffice",
+ "office_editor_unknown_error": "Неизвестная ошибка {{ editor }}",
"No editor found": "Редактор не найден",
"Choose which editor you want to use to open this document.": "Выберите редактор, который вы хотите использовать для открытия этого документа.",
"Open-source office suite built on LibreOffice.": "Офисный пакет с открытым исходным кодом на основе LibreOffice.",
@@ -706,7 +706,6 @@
"checksums are not identical": "Контрольные суммы не совпадают",
"size has changed since parsing": "Размер изменился с момента разбора",
"No synchronized folder": "Нет синхронизированной папки",
- "Edit in OnlyOffice": "Редактировать в OnlyOffice",
- "Edit in Euro-Office": "Редактировать в Euro-Office",
+ "edit_in_office_editor": "Редактировать в {{ editor }}",
"View in PDF.js": "Просмотр в PDF.js"
}
diff --git a/frontend/src/i18n/tr.json b/frontend/src/i18n/tr.json
index fc8cf4c9..8cfd4944 100644
--- a/frontend/src/i18n/tr.json
+++ b/frontend/src/i18n/tr.json
@@ -661,11 +661,11 @@
"Fullscreen": "Tam ekran",
"Dimensions": "Boyutlar",
"Start Slideshow": "Slayt gösterisini başlat",
- "Unable to load OnlyOffice editor": "OnlyOffice düzenleyici yüklenemedi",
+ "office_editor_load_error": "{{ editor }} düzenleyici yüklenemedi",
"The document server may be unreachable or the configuration is invalid": "Belge sunucusuna ulaşılamıyor olabilir veya yapılandırma geçersiz",
- "OnlyOffice editor failed to initialize": "OnlyOffice düzenleyici başlatılamadı",
+ "office_editor_init_error": "{{ editor }} düzenleyici başlatılamadı",
"DocsAPI not available": "DocsAPI kullanılamıyor",
- "Unknown OnlyOffice error": "Bilinmeyen OnlyOffice hatası",
+ "office_editor_unknown_error": "Bilinmeyen {{ editor }} hatası",
"No editor found": "Düzenleyici bulunamadı",
"Choose which editor you want to use to open this document.": "Bu belgeyi açmak için hangi düzenleyiciyi kullanmak istediğinizi seçin.",
"Open-source office suite built on LibreOffice.": "LibreOffice tabanlı açık kaynak ofis paketi.",
@@ -706,7 +706,6 @@
"checksums are not identical": "Sağlama toplamları aynı değil",
"size has changed since parsing": "Boyut ayrıştırmadan beri değişti",
"No synchronized folder": "Senkronize edilmiş klasör yok",
- "Edit in OnlyOffice": "OnlyOffice'te Düzenle",
- "Edit in Euro-Office": "Euro-Office'te Düzenle",
+ "edit_in_office_editor": "{{ editor }}'te Düzenle",
"View in PDF.js": "PDF.js'de Görüntüle"
}
diff --git a/frontend/src/i18n/zh.json b/frontend/src/i18n/zh.json
index b7136498..db1fe80e 100644
--- a/frontend/src/i18n/zh.json
+++ b/frontend/src/i18n/zh.json
@@ -661,11 +661,11 @@
"Fullscreen": "全屏",
"Dimensions": "尺寸",
"Start Slideshow": "开始幻灯片放映",
- "Unable to load OnlyOffice editor": "无法加载 OnlyOffice 编辑器",
+ "office_editor_load_error": "无法加载 {{ editor }} 编辑器",
"The document server may be unreachable or the configuration is invalid": "文档服务器可能无法访问,或者配置无效",
- "OnlyOffice editor failed to initialize": "OnlyOffice 编辑器初始化失败",
+ "office_editor_init_error": "{{ editor }} 编辑器初始化失败",
"DocsAPI not available": "DocsAPI 不可用",
- "Unknown OnlyOffice error": "未知的 OnlyOffice 错误",
+ "office_editor_unknown_error": "未知的 {{ editor }} 错误",
"No editor found": "未找到编辑器",
"Choose which editor you want to use to open this document.": "选择您要使用哪个编辑器来打开此文档。",
"Open-source office suite built on LibreOffice.": "基于 LibreOffice 的开源办公套件。",
@@ -706,7 +706,6 @@
"checksums are not identical": "校验和不一致",
"size has changed since parsing": "自解析后大小已更改",
"No synchronized folder": "没有同步文件夹",
- "Edit in OnlyOffice": "在OnlyOffice中编辑",
- "Edit in Euro-Office": "在Euro-Office中编辑",
+ "edit_in_office_editor": "在{{ editor }}中编辑",
"View in PDF.js": "在PDF.js中查看"
}