cozy-viewer 31.0.3 → 31.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/dist/locales/index.d.ts +6 -0
- package/dist/locales/index.js +354 -0
- package/package.json +5 -5
- package/src/locales/de.json +117 -0
- package/src/locales/es.json +117 -0
- package/src/locales/index.js +4 -1
- package/src/locales/it.json +117 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [31.1.1](https://github.com/cozy/cozy-libs/compare/cozy-viewer@31.1.0...cozy-viewer@31.1.1) (2026-10-06)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package cozy-viewer
|
|
9
|
+
|
|
10
|
+
# [31.1.0](https://github.com/cozy/cozy-libs/compare/cozy-viewer@31.0.3...cozy-viewer@31.1.0) (2026-10-06)
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
- **cozy-viewer:** Add Spanish, German and Italian locales ([396f8ef](https://github.com/cozy/cozy-libs/commit/396f8ef7516799761e3991aa223f9285e3b56f0a))
|
|
15
|
+
|
|
6
16
|
## [31.0.3](https://github.com/cozy/cozy-libs/compare/cozy-viewer@31.0.2...cozy-viewer@31.0.3) (2026-10-06)
|
|
7
17
|
|
|
8
18
|
**Note:** Version bump only for package cozy-viewer
|
package/dist/locales/index.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export namespace locales {
|
|
2
|
+
export { de };
|
|
2
3
|
export { en };
|
|
4
|
+
export { es };
|
|
3
5
|
export { fr };
|
|
6
|
+
export { it };
|
|
4
7
|
export { ru };
|
|
5
8
|
export { vi };
|
|
6
9
|
}
|
|
@@ -9,7 +12,10 @@ export function getViewerI18n(): {
|
|
|
9
12
|
f: (date: any, formatStr: any, opts?: {}) => string;
|
|
10
13
|
lang: any;
|
|
11
14
|
};
|
|
15
|
+
import de from './de.json';
|
|
12
16
|
import en from './en.json';
|
|
17
|
+
import es from './es.json';
|
|
13
18
|
import fr from './fr.json';
|
|
19
|
+
import it from './it.json';
|
|
14
20
|
import ru from './ru.json';
|
|
15
21
|
import vi from './vi.json';
|
package/dist/locales/index.js
CHANGED
|
@@ -7,6 +7,123 @@ exports.locales = exports.getViewerI18n = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _twakeI18n = require("twake-i18n");
|
|
9
9
|
|
|
10
|
+
var de = {
|
|
11
|
+
Viewer: {
|
|
12
|
+
actions: {
|
|
13
|
+
download: "Herunterladen",
|
|
14
|
+
forward: "Senden"
|
|
15
|
+
},
|
|
16
|
+
alert: {
|
|
17
|
+
preparing: "Ihre Dateien werden vorbereitet\u2026"
|
|
18
|
+
},
|
|
19
|
+
close: "schlie\xDFen",
|
|
20
|
+
cancel: "Abbrechen",
|
|
21
|
+
ok: "OK",
|
|
22
|
+
download: "Herunterladen",
|
|
23
|
+
share_btn: "Teilen",
|
|
24
|
+
complete: "Dokument vervollst\xE4ndigen",
|
|
25
|
+
noImage: "Kein Bild",
|
|
26
|
+
error: {
|
|
27
|
+
downloadFile: {
|
|
28
|
+
offline: "Sie m\xFCssen online sein, um diese Datei herunterzuladen"
|
|
29
|
+
},
|
|
30
|
+
generic: "Beim \xD6ffnen dieser Datei ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.",
|
|
31
|
+
missing: "Diese Datei fehlt",
|
|
32
|
+
network: "Diese Datei konnte nicht geladen werden. Haben Sie gerade eine funktionierende Internetverbindung?"
|
|
33
|
+
},
|
|
34
|
+
goto: "Zu %{url} wechseln",
|
|
35
|
+
next: "Weiter",
|
|
36
|
+
openWith: "\xD6ffnen mit...",
|
|
37
|
+
openInOnlyOffice: "Mit Only Office \xF6ffnen",
|
|
38
|
+
editPdf: "Bearbeiten",
|
|
39
|
+
panel: {
|
|
40
|
+
collapse: "Einklappen",
|
|
41
|
+
header: "Details",
|
|
42
|
+
summary: "Zusammenfassung",
|
|
43
|
+
edit_summary: "Zusammenfassung bearbeiten",
|
|
44
|
+
shorter: "K\xFCrzer fassen",
|
|
45
|
+
expand: "Weitere Details hinzuf\xFCgen",
|
|
46
|
+
sharing: "Wer hat Zugriff?",
|
|
47
|
+
manage_access: "Zugriff verwalten",
|
|
48
|
+
informations: {
|
|
49
|
+
format: {
|
|
50
|
+
title: "%{format}-Dokument",
|
|
51
|
+
subtitle: "Format"
|
|
52
|
+
},
|
|
53
|
+
size: "Gr\xF6\xDFe",
|
|
54
|
+
location: "Speicherort",
|
|
55
|
+
creation: "Erstellung",
|
|
56
|
+
modification: "Letzte \xC4nderung"
|
|
57
|
+
},
|
|
58
|
+
certifications: {
|
|
59
|
+
carbonCopy: {
|
|
60
|
+
title: "Originalkopie",
|
|
61
|
+
caption: "Gibt an, ob das Dokument von Twake Workplace, dem Hoster Ihres Twake, als \u201Eauthentisch und original\u201C eingestuft wird, da es best\xE4tigen kann, dass es ohne jede \xC4nderung direkt von einem Drittanbieterdienst stammt."
|
|
62
|
+
},
|
|
63
|
+
electronicSafe: {
|
|
64
|
+
title: "Elektronischer Tresor",
|
|
65
|
+
caption: "Gibt an, ob das Originaldokument in Ihrem pers\xF6nlichen digitalen Tresor gesichert ist, mit den Zertifizierungen, die ihm Beweiskraft und eine Aufbewahrungsgarantie von 50 Jahren ab seiner Hinterlegung verleihen."
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
qualification: {
|
|
69
|
+
empty: {
|
|
70
|
+
primary: "Dokumenttyp",
|
|
71
|
+
secondary: "Rechnungen, Vertrag, Personalausweis..."
|
|
72
|
+
},
|
|
73
|
+
actions: {
|
|
74
|
+
copy: "Kopieren",
|
|
75
|
+
copyClipboard: "In die Zwischenablage kopieren",
|
|
76
|
+
edit: "Bearbeiten"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
antivirus: {
|
|
80
|
+
scanning: "Wird von Twake gepr\xFCft",
|
|
81
|
+
scanned: "Von Twake gepr\xFCft",
|
|
82
|
+
infected: "Virus von Twake erkannt",
|
|
83
|
+
info: {
|
|
84
|
+
title: "Pr\xFCfung von Anh\xE4ngen in Twake",
|
|
85
|
+
description: "Zum Schutz Ihres Arbeitsbereichs blockiert Twake automatisch Anh\xE4nge, die als sch\xE4dlich erkannt wurden. Laden Sie Dateien immer nur aus vertrauensw\xFCrdigen Quellen herunter.",
|
|
86
|
+
learnMore: "Mehr erfahren"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
expiration: {
|
|
90
|
+
dismiss: "Verstanden"
|
|
91
|
+
},
|
|
92
|
+
title: "N\xFCtzliche Informationen",
|
|
93
|
+
more_menu: "Weitere Optionen",
|
|
94
|
+
collapse_btn: "Einklappen"
|
|
95
|
+
},
|
|
96
|
+
previous: "Zur\xFCck",
|
|
97
|
+
retry: "Erneut versuchen",
|
|
98
|
+
scaledown: "Verkleinern",
|
|
99
|
+
scaleup: "Vergr\xF6\xDFern",
|
|
100
|
+
share: {
|
|
101
|
+
title: "Link zu meinem Dokument %{name}",
|
|
102
|
+
text: "Hier ist ein Link zu meinem Dokument %{name}: ",
|
|
103
|
+
error: "Problem beim Abrufen des Links: %{error}",
|
|
104
|
+
success: "Ihre Datei wurde erfolgreich geteilt"
|
|
105
|
+
},
|
|
106
|
+
snackbar: {
|
|
107
|
+
copiedToClipboard: {
|
|
108
|
+
success: "In die Zwischenablage kopiert",
|
|
109
|
+
error: "Kopieren in die Zwischenablage nicht m\xF6glich"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
summariseWithAi: "Zusammenfassen",
|
|
113
|
+
ai: {
|
|
114
|
+
panelTitle: "KI-Assistent",
|
|
115
|
+
bodyText: "Zusammenfassung",
|
|
116
|
+
error: {
|
|
117
|
+
summary: "Die Zusammenfassung konnte nicht erstellt werden. Bitte versuchen Sie es erneut.",
|
|
118
|
+
documentTooLarge: "Dieses Dokument ist zu gro\xDF f\xFCr eine Zusammenfassung. Bitte versuchen Sie es mit einem k\xFCrzeren Dokument."
|
|
119
|
+
},
|
|
120
|
+
copied: "Zusammenfassung in die Zwischenablage kopiert",
|
|
121
|
+
footerText: "Dieser Inhalt wurde von KI erstellt und kann Fehler enthalten.",
|
|
122
|
+
stop: "Stoppen",
|
|
123
|
+
loadingText: "Inhalt wird zusammengefasst"
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
};
|
|
10
127
|
var en = {
|
|
11
128
|
Viewer: {
|
|
12
129
|
actions: {
|
|
@@ -124,6 +241,123 @@ var en = {
|
|
|
124
241
|
}
|
|
125
242
|
}
|
|
126
243
|
};
|
|
244
|
+
var es = {
|
|
245
|
+
Viewer: {
|
|
246
|
+
actions: {
|
|
247
|
+
download: "Descargar",
|
|
248
|
+
forward: "Enviar"
|
|
249
|
+
},
|
|
250
|
+
alert: {
|
|
251
|
+
preparing: "Preparando sus archivos\u2026"
|
|
252
|
+
},
|
|
253
|
+
close: "cerrar",
|
|
254
|
+
cancel: "Cancelar",
|
|
255
|
+
ok: "Aceptar",
|
|
256
|
+
download: "Descargar",
|
|
257
|
+
share_btn: "Compartir",
|
|
258
|
+
complete: "Completar el documento",
|
|
259
|
+
noImage: "Ninguna imagen",
|
|
260
|
+
error: {
|
|
261
|
+
downloadFile: {
|
|
262
|
+
offline: "Debe estar conectado para descargar este archivo"
|
|
263
|
+
},
|
|
264
|
+
generic: "Se ha producido un error al abrir este archivo. Int\xE9ntelo de nuevo.",
|
|
265
|
+
missing: "Falta este archivo",
|
|
266
|
+
network: "No se ha podido cargar este archivo. \xBFTiene conexi\xF3n a Internet en este momento?"
|
|
267
|
+
},
|
|
268
|
+
goto: "Ir a %{url}",
|
|
269
|
+
next: "Siguiente",
|
|
270
|
+
openWith: "Abrir con...",
|
|
271
|
+
openInOnlyOffice: "Abrir con Only Office",
|
|
272
|
+
editPdf: "Editar",
|
|
273
|
+
panel: {
|
|
274
|
+
collapse: "Contraer",
|
|
275
|
+
header: "Detalles",
|
|
276
|
+
summary: "Resumen",
|
|
277
|
+
edit_summary: "Editar el resumen",
|
|
278
|
+
shorter: "Acortar",
|
|
279
|
+
expand: "A\xF1adir m\xE1s detalles",
|
|
280
|
+
sharing: "\xBFQui\xE9n tiene acceso?",
|
|
281
|
+
manage_access: "Gestionar el acceso",
|
|
282
|
+
informations: {
|
|
283
|
+
format: {
|
|
284
|
+
title: "Documento %{format}",
|
|
285
|
+
subtitle: "Formato"
|
|
286
|
+
},
|
|
287
|
+
size: "Tama\xF1o",
|
|
288
|
+
location: "Ubicaci\xF3n",
|
|
289
|
+
creation: "Creaci\xF3n",
|
|
290
|
+
modification: "\xDAltima modificaci\xF3n"
|
|
291
|
+
},
|
|
292
|
+
certifications: {
|
|
293
|
+
carbonCopy: {
|
|
294
|
+
title: "Copia aut\xE9ntica",
|
|
295
|
+
caption: "Indica si Twake Workplace, el proveedor de alojamiento de su Twake, define el documento como \"aut\xE9ntico y original\", ya que puede afirmar que procede directamente de un servicio de terceros sin haber sufrido ninguna modificaci\xF3n."
|
|
296
|
+
},
|
|
297
|
+
electronicSafe: {
|
|
298
|
+
title: "Caja fuerte electr\xF3nica",
|
|
299
|
+
caption: "Indica si el documento original est\xE1 protegido por su caja fuerte digital personal con las certificaciones que le otorgan valor probatorio y una garant\xEDa de conservaci\xF3n de 50 a\xF1os a partir de su dep\xF3sito."
|
|
300
|
+
}
|
|
301
|
+
},
|
|
302
|
+
qualification: {
|
|
303
|
+
empty: {
|
|
304
|
+
primary: "Tipo de documento",
|
|
305
|
+
secondary: "Facturas, contrato, documento de identidad..."
|
|
306
|
+
},
|
|
307
|
+
actions: {
|
|
308
|
+
copy: "Copiar",
|
|
309
|
+
copyClipboard: "Copiar en el portapapeles",
|
|
310
|
+
edit: "Editar"
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
antivirus: {
|
|
314
|
+
scanning: "Twake est\xE1 analizando",
|
|
315
|
+
scanned: "Analizado por Twake",
|
|
316
|
+
infected: "Virus detectado por Twake",
|
|
317
|
+
info: {
|
|
318
|
+
title: "An\xE1lisis de archivos adjuntos en Twake",
|
|
319
|
+
description: "Para proteger su espacio de trabajo, Twake bloquea autom\xE1ticamente los archivos adjuntos identificados como maliciosos. Descargue siempre archivos solo de fuentes de confianza.",
|
|
320
|
+
learnMore: "M\xE1s informaci\xF3n"
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
expiration: {
|
|
324
|
+
dismiss: "Entendido"
|
|
325
|
+
},
|
|
326
|
+
title: "Informaci\xF3n \xFAtil",
|
|
327
|
+
more_menu: "M\xE1s opciones",
|
|
328
|
+
collapse_btn: "Contraer"
|
|
329
|
+
},
|
|
330
|
+
previous: "Anterior",
|
|
331
|
+
retry: "Reintentar",
|
|
332
|
+
scaledown: "Alejar",
|
|
333
|
+
scaleup: "Acercar",
|
|
334
|
+
share: {
|
|
335
|
+
title: "Enlace a mi documento %{name}",
|
|
336
|
+
text: "Aqu\xED tienes un enlace a mi documento %{name}: ",
|
|
337
|
+
error: "Problema al recuperar el enlace: %{error}",
|
|
338
|
+
success: "Su archivo se ha compartido correctamente"
|
|
339
|
+
},
|
|
340
|
+
snackbar: {
|
|
341
|
+
copiedToClipboard: {
|
|
342
|
+
success: "Copiado en el portapapeles",
|
|
343
|
+
error: "No se puede copiar en el portapapeles"
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
summariseWithAi: "Resumir",
|
|
347
|
+
ai: {
|
|
348
|
+
panelTitle: "Asistente de IA",
|
|
349
|
+
bodyText: "Resumen",
|
|
350
|
+
error: {
|
|
351
|
+
summary: "No se ha podido generar el resumen. Int\xE9ntelo de nuevo.",
|
|
352
|
+
documentTooLarge: "Este documento es demasiado grande para resumirlo. Pruebe con un documento m\xE1s corto."
|
|
353
|
+
},
|
|
354
|
+
copied: "Resumen copiado en el portapapeles",
|
|
355
|
+
footerText: "Este contenido lo genera la IA y puede contener errores.",
|
|
356
|
+
stop: "Detener",
|
|
357
|
+
loadingText: "Resumiendo el contenido"
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
};
|
|
127
361
|
var fr = {
|
|
128
362
|
Viewer: {
|
|
129
363
|
actions: {
|
|
@@ -241,6 +475,123 @@ var fr = {
|
|
|
241
475
|
}
|
|
242
476
|
}
|
|
243
477
|
};
|
|
478
|
+
var it = {
|
|
479
|
+
Viewer: {
|
|
480
|
+
actions: {
|
|
481
|
+
download: "Scarica",
|
|
482
|
+
forward: "Invia"
|
|
483
|
+
},
|
|
484
|
+
alert: {
|
|
485
|
+
preparing: "Preparazione dei tuoi file\u2026"
|
|
486
|
+
},
|
|
487
|
+
close: "chiudi",
|
|
488
|
+
cancel: "Annulla",
|
|
489
|
+
ok: "OK",
|
|
490
|
+
download: "Scarica",
|
|
491
|
+
share_btn: "Condividi",
|
|
492
|
+
complete: "Completa il documento",
|
|
493
|
+
noImage: "Nessuna immagine",
|
|
494
|
+
error: {
|
|
495
|
+
downloadFile: {
|
|
496
|
+
offline: "Devi essere online per scaricare questo file"
|
|
497
|
+
},
|
|
498
|
+
generic: "Si \xE8 verificato un errore durante l'apertura di questo file, riprova.",
|
|
499
|
+
missing: "Questo file \xE8 mancante",
|
|
500
|
+
network: "Impossibile caricare questo file. La tua connessione a Internet funziona?"
|
|
501
|
+
},
|
|
502
|
+
goto: "Vai a %{url}",
|
|
503
|
+
next: "Successivo",
|
|
504
|
+
openWith: "Apri con...",
|
|
505
|
+
openInOnlyOffice: "Apri con Only Office",
|
|
506
|
+
editPdf: "Modifica",
|
|
507
|
+
panel: {
|
|
508
|
+
collapse: "Comprimi",
|
|
509
|
+
header: "Dettagli",
|
|
510
|
+
summary: "Riepilogo",
|
|
511
|
+
edit_summary: "Modifica il riepilogo",
|
|
512
|
+
shorter: "Rendilo pi\xF9 breve",
|
|
513
|
+
expand: "Aggiungi pi\xF9 dettagli",
|
|
514
|
+
sharing: "Chi ha accesso?",
|
|
515
|
+
manage_access: "Gestisci l'accesso",
|
|
516
|
+
informations: {
|
|
517
|
+
format: {
|
|
518
|
+
title: "Documento %{format}",
|
|
519
|
+
subtitle: "Formato"
|
|
520
|
+
},
|
|
521
|
+
size: "Dimensione",
|
|
522
|
+
location: "Posizione",
|
|
523
|
+
creation: "Creazione",
|
|
524
|
+
modification: "Ultima modifica"
|
|
525
|
+
},
|
|
526
|
+
certifications: {
|
|
527
|
+
carbonCopy: {
|
|
528
|
+
title: "Copia conforme",
|
|
529
|
+
caption: "Indica se il documento \xE8 definito \"autentico e originale\" da Twake Workplace, l'hosting del tuo Twake, in quanto pu\xF2 affermare che proviene direttamente da un servizio di terze parti senza aver subito alcuna modifica."
|
|
530
|
+
},
|
|
531
|
+
electronicSafe: {
|
|
532
|
+
title: "Cassaforte elettronica",
|
|
533
|
+
caption: "Indica se il documento originale \xE8 protetto dalla tua cassaforte digitale personale con le certificazioni che gli conferiscono valore probatorio e una garanzia di conservazione di 50 anni dal deposito."
|
|
534
|
+
}
|
|
535
|
+
},
|
|
536
|
+
qualification: {
|
|
537
|
+
empty: {
|
|
538
|
+
primary: "Tipo di documento",
|
|
539
|
+
secondary: "Bollette, contratto, carta d'identit\xE0..."
|
|
540
|
+
},
|
|
541
|
+
actions: {
|
|
542
|
+
copy: "Copia",
|
|
543
|
+
copyClipboard: "Copia negli appunti",
|
|
544
|
+
edit: "Modifica"
|
|
545
|
+
}
|
|
546
|
+
},
|
|
547
|
+
antivirus: {
|
|
548
|
+
scanning: "Analisi di Twake in corso",
|
|
549
|
+
scanned: "Analizzato da Twake",
|
|
550
|
+
infected: "Virus rilevato da Twake",
|
|
551
|
+
info: {
|
|
552
|
+
title: "Analisi degli allegati in Twake",
|
|
553
|
+
description: "Per proteggere il tuo spazio di lavoro, Twake blocca automaticamente gli allegati identificati come dannosi. Scarica sempre i file solo da fonti attendibili.",
|
|
554
|
+
learnMore: "Scopri di pi\xF9"
|
|
555
|
+
}
|
|
556
|
+
},
|
|
557
|
+
expiration: {
|
|
558
|
+
dismiss: "Ho capito"
|
|
559
|
+
},
|
|
560
|
+
title: "Informazioni utili",
|
|
561
|
+
more_menu: "Altre opzioni",
|
|
562
|
+
collapse_btn: "Comprimi"
|
|
563
|
+
},
|
|
564
|
+
previous: "Precedente",
|
|
565
|
+
retry: "Riprova",
|
|
566
|
+
scaledown: "Riduci",
|
|
567
|
+
scaleup: "Ingrandisci",
|
|
568
|
+
share: {
|
|
569
|
+
title: "Link al mio documento %{name}",
|
|
570
|
+
text: "Ecco un link al mio documento %{name}: ",
|
|
571
|
+
error: "Problema durante il recupero del link: %{error}",
|
|
572
|
+
success: "Il tuo file \xE8 stato condiviso correttamente"
|
|
573
|
+
},
|
|
574
|
+
snackbar: {
|
|
575
|
+
copiedToClipboard: {
|
|
576
|
+
success: "Copiato negli appunti",
|
|
577
|
+
error: "Impossibile copiare negli appunti"
|
|
578
|
+
}
|
|
579
|
+
},
|
|
580
|
+
summariseWithAi: "Riassumi",
|
|
581
|
+
ai: {
|
|
582
|
+
panelTitle: "Assistente IA",
|
|
583
|
+
bodyText: "Riepilogo",
|
|
584
|
+
error: {
|
|
585
|
+
summary: "Impossibile generare il riepilogo. Riprova.",
|
|
586
|
+
documentTooLarge: "Questo documento \xE8 troppo grande per essere riassunto. Prova con un documento pi\xF9 breve."
|
|
587
|
+
},
|
|
588
|
+
copied: "Riepilogo copiato negli appunti",
|
|
589
|
+
footerText: "Questo contenuto \xE8 generato dall'IA e pu\xF2 contenere errori.",
|
|
590
|
+
stop: "Interrompi",
|
|
591
|
+
loadingText: "Riepilogo del contenuto in corso"
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
};
|
|
244
595
|
var ru = {
|
|
245
596
|
Viewer: {
|
|
246
597
|
actions: {
|
|
@@ -476,8 +827,11 @@ var vi = {
|
|
|
476
827
|
}
|
|
477
828
|
};
|
|
478
829
|
var locales = {
|
|
830
|
+
de: de,
|
|
479
831
|
en: en,
|
|
832
|
+
es: es,
|
|
480
833
|
fr: fr,
|
|
834
|
+
it: it,
|
|
481
835
|
ru: ru,
|
|
482
836
|
vi: vi
|
|
483
837
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cozy-viewer",
|
|
3
|
-
"version": "31.
|
|
3
|
+
"version": "31.1.1",
|
|
4
4
|
"description": "Cozy-Viewer provides a component to show files in a viewer.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"cozy-device-helper": "2.0.0",
|
|
35
35
|
"cozy-intent": "^2.31.1",
|
|
36
36
|
"cozy-logger": "^1.18.1",
|
|
37
|
-
"cozy-sharing": "^38.1
|
|
37
|
+
"cozy-sharing": "^38.2.1",
|
|
38
38
|
"cozy-ui": "^138.1.0",
|
|
39
|
-
"cozy-ui-plus": "^13.0
|
|
39
|
+
"cozy-ui-plus": "^13.2.0",
|
|
40
40
|
"identity-obj-proxy": "3.0.0",
|
|
41
41
|
"jest": "30.3.0",
|
|
42
42
|
"jest-canvas-mock": "2.3.1",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"react-router-dom": "^6.14.2",
|
|
47
47
|
"react-test-renderer": "16.12.0",
|
|
48
48
|
"stylus": "0.63.0",
|
|
49
|
-
"twake-i18n": "^0.
|
|
49
|
+
"twake-i18n": "^0.7.0",
|
|
50
50
|
"typescript": "5.5.2"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
"react-router-dom": ">=6.14.2",
|
|
72
72
|
"twake-i18n": ">=0.3.0"
|
|
73
73
|
},
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "cda284e9a6b5c8f96847f0c962edee03de193c69"
|
|
75
75
|
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Viewer": {
|
|
3
|
+
"actions": {
|
|
4
|
+
"download": "Herunterladen",
|
|
5
|
+
"forward": "Senden"
|
|
6
|
+
},
|
|
7
|
+
"alert": {
|
|
8
|
+
"preparing": "Ihre Dateien werden vorbereitet…"
|
|
9
|
+
},
|
|
10
|
+
"close": "schließen",
|
|
11
|
+
"cancel": "Abbrechen",
|
|
12
|
+
"ok": "OK",
|
|
13
|
+
"download": "Herunterladen",
|
|
14
|
+
"share_btn": "Teilen",
|
|
15
|
+
"complete": "Dokument vervollständigen",
|
|
16
|
+
"noImage": "Kein Bild",
|
|
17
|
+
"error": {
|
|
18
|
+
"downloadFile": {
|
|
19
|
+
"offline": "Sie müssen online sein, um diese Datei herunterzuladen"
|
|
20
|
+
},
|
|
21
|
+
"generic": "Beim Öffnen dieser Datei ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.",
|
|
22
|
+
"missing": "Diese Datei fehlt",
|
|
23
|
+
"network": "Diese Datei konnte nicht geladen werden. Haben Sie gerade eine funktionierende Internetverbindung?"
|
|
24
|
+
},
|
|
25
|
+
"goto": "Zu %{url} wechseln",
|
|
26
|
+
"next": "Weiter",
|
|
27
|
+
"openWith": "Öffnen mit...",
|
|
28
|
+
"openInOnlyOffice": "Mit Only Office öffnen",
|
|
29
|
+
"editPdf": "Bearbeiten",
|
|
30
|
+
"panel": {
|
|
31
|
+
"collapse": "Einklappen",
|
|
32
|
+
"header": "Details",
|
|
33
|
+
"summary": "Zusammenfassung",
|
|
34
|
+
"edit_summary": "Zusammenfassung bearbeiten",
|
|
35
|
+
"shorter": "Kürzer fassen",
|
|
36
|
+
"expand": "Weitere Details hinzufügen",
|
|
37
|
+
"sharing": "Wer hat Zugriff?",
|
|
38
|
+
"manage_access": "Zugriff verwalten",
|
|
39
|
+
"informations": {
|
|
40
|
+
"format": {
|
|
41
|
+
"title": "%{format}-Dokument",
|
|
42
|
+
"subtitle": "Format"
|
|
43
|
+
},
|
|
44
|
+
"size": "Größe",
|
|
45
|
+
"location": "Speicherort",
|
|
46
|
+
"creation": "Erstellung",
|
|
47
|
+
"modification": "Letzte Änderung"
|
|
48
|
+
},
|
|
49
|
+
"certifications": {
|
|
50
|
+
"carbonCopy": {
|
|
51
|
+
"title": "Originalkopie",
|
|
52
|
+
"caption": "Gibt an, ob das Dokument von Twake Workplace, dem Hoster Ihres Twake, als „authentisch und original“ eingestuft wird, da es bestätigen kann, dass es ohne jede Änderung direkt von einem Drittanbieterdienst stammt."
|
|
53
|
+
},
|
|
54
|
+
"electronicSafe": {
|
|
55
|
+
"title": "Elektronischer Tresor",
|
|
56
|
+
"caption": "Gibt an, ob das Originaldokument in Ihrem persönlichen digitalen Tresor gesichert ist, mit den Zertifizierungen, die ihm Beweiskraft und eine Aufbewahrungsgarantie von 50 Jahren ab seiner Hinterlegung verleihen."
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"qualification": {
|
|
60
|
+
"empty": {
|
|
61
|
+
"primary": "Dokumenttyp",
|
|
62
|
+
"secondary": "Rechnungen, Vertrag, Personalausweis..."
|
|
63
|
+
},
|
|
64
|
+
"actions": {
|
|
65
|
+
"copy": "Kopieren",
|
|
66
|
+
"copyClipboard": "In die Zwischenablage kopieren",
|
|
67
|
+
"edit": "Bearbeiten"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"antivirus": {
|
|
71
|
+
"scanning": "Wird von Twake geprüft",
|
|
72
|
+
"scanned": "Von Twake geprüft",
|
|
73
|
+
"infected": "Virus von Twake erkannt",
|
|
74
|
+
"info": {
|
|
75
|
+
"title": "Prüfung von Anhängen in Twake",
|
|
76
|
+
"description": "Zum Schutz Ihres Arbeitsbereichs blockiert Twake automatisch Anhänge, die als schädlich erkannt wurden. Laden Sie Dateien immer nur aus vertrauenswürdigen Quellen herunter.",
|
|
77
|
+
"learnMore": "Mehr erfahren"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"expiration": {
|
|
81
|
+
"dismiss": "Verstanden"
|
|
82
|
+
},
|
|
83
|
+
"title": "Nützliche Informationen",
|
|
84
|
+
"more_menu": "Weitere Optionen",
|
|
85
|
+
"collapse_btn": "Einklappen"
|
|
86
|
+
},
|
|
87
|
+
"previous": "Zurück",
|
|
88
|
+
"retry": "Erneut versuchen",
|
|
89
|
+
"scaledown": "Verkleinern",
|
|
90
|
+
"scaleup": "Vergrößern",
|
|
91
|
+
"share": {
|
|
92
|
+
"title": "Link zu meinem Dokument %{name}",
|
|
93
|
+
"text": "Hier ist ein Link zu meinem Dokument %{name}: ",
|
|
94
|
+
"error": "Problem beim Abrufen des Links: %{error}",
|
|
95
|
+
"success": "Ihre Datei wurde erfolgreich geteilt"
|
|
96
|
+
},
|
|
97
|
+
"snackbar": {
|
|
98
|
+
"copiedToClipboard": {
|
|
99
|
+
"success": "In die Zwischenablage kopiert",
|
|
100
|
+
"error": "Kopieren in die Zwischenablage nicht möglich"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"summariseWithAi": "Zusammenfassen",
|
|
104
|
+
"ai": {
|
|
105
|
+
"panelTitle": "KI-Assistent",
|
|
106
|
+
"bodyText": "Zusammenfassung",
|
|
107
|
+
"error": {
|
|
108
|
+
"summary": "Die Zusammenfassung konnte nicht erstellt werden. Bitte versuchen Sie es erneut.",
|
|
109
|
+
"documentTooLarge": "Dieses Dokument ist zu groß für eine Zusammenfassung. Bitte versuchen Sie es mit einem kürzeren Dokument."
|
|
110
|
+
},
|
|
111
|
+
"copied": "Zusammenfassung in die Zwischenablage kopiert",
|
|
112
|
+
"footerText": "Dieser Inhalt wurde von KI erstellt und kann Fehler enthalten.",
|
|
113
|
+
"stop": "Stoppen",
|
|
114
|
+
"loadingText": "Inhalt wird zusammengefasst"
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Viewer": {
|
|
3
|
+
"actions": {
|
|
4
|
+
"download": "Descargar",
|
|
5
|
+
"forward": "Enviar"
|
|
6
|
+
},
|
|
7
|
+
"alert": {
|
|
8
|
+
"preparing": "Preparando sus archivos…"
|
|
9
|
+
},
|
|
10
|
+
"close": "cerrar",
|
|
11
|
+
"cancel": "Cancelar",
|
|
12
|
+
"ok": "Aceptar",
|
|
13
|
+
"download": "Descargar",
|
|
14
|
+
"share_btn": "Compartir",
|
|
15
|
+
"complete": "Completar el documento",
|
|
16
|
+
"noImage": "Ninguna imagen",
|
|
17
|
+
"error": {
|
|
18
|
+
"downloadFile": {
|
|
19
|
+
"offline": "Debe estar conectado para descargar este archivo"
|
|
20
|
+
},
|
|
21
|
+
"generic": "Se ha producido un error al abrir este archivo. Inténtelo de nuevo.",
|
|
22
|
+
"missing": "Falta este archivo",
|
|
23
|
+
"network": "No se ha podido cargar este archivo. ¿Tiene conexión a Internet en este momento?"
|
|
24
|
+
},
|
|
25
|
+
"goto": "Ir a %{url}",
|
|
26
|
+
"next": "Siguiente",
|
|
27
|
+
"openWith": "Abrir con...",
|
|
28
|
+
"openInOnlyOffice": "Abrir con Only Office",
|
|
29
|
+
"editPdf": "Editar",
|
|
30
|
+
"panel": {
|
|
31
|
+
"collapse": "Contraer",
|
|
32
|
+
"header": "Detalles",
|
|
33
|
+
"summary": "Resumen",
|
|
34
|
+
"edit_summary": "Editar el resumen",
|
|
35
|
+
"shorter": "Acortar",
|
|
36
|
+
"expand": "Añadir más detalles",
|
|
37
|
+
"sharing": "¿Quién tiene acceso?",
|
|
38
|
+
"manage_access": "Gestionar el acceso",
|
|
39
|
+
"informations": {
|
|
40
|
+
"format": {
|
|
41
|
+
"title": "Documento %{format}",
|
|
42
|
+
"subtitle": "Formato"
|
|
43
|
+
},
|
|
44
|
+
"size": "Tamaño",
|
|
45
|
+
"location": "Ubicación",
|
|
46
|
+
"creation": "Creación",
|
|
47
|
+
"modification": "Última modificación"
|
|
48
|
+
},
|
|
49
|
+
"certifications": {
|
|
50
|
+
"carbonCopy": {
|
|
51
|
+
"title": "Copia auténtica",
|
|
52
|
+
"caption": "Indica si Twake Workplace, el proveedor de alojamiento de su Twake, define el documento como \"auténtico y original\", ya que puede afirmar que procede directamente de un servicio de terceros sin haber sufrido ninguna modificación."
|
|
53
|
+
},
|
|
54
|
+
"electronicSafe": {
|
|
55
|
+
"title": "Caja fuerte electrónica",
|
|
56
|
+
"caption": "Indica si el documento original está protegido por su caja fuerte digital personal con las certificaciones que le otorgan valor probatorio y una garantía de conservación de 50 años a partir de su depósito."
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"qualification": {
|
|
60
|
+
"empty": {
|
|
61
|
+
"primary": "Tipo de documento",
|
|
62
|
+
"secondary": "Facturas, contrato, documento de identidad..."
|
|
63
|
+
},
|
|
64
|
+
"actions": {
|
|
65
|
+
"copy": "Copiar",
|
|
66
|
+
"copyClipboard": "Copiar en el portapapeles",
|
|
67
|
+
"edit": "Editar"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"antivirus": {
|
|
71
|
+
"scanning": "Twake está analizando",
|
|
72
|
+
"scanned": "Analizado por Twake",
|
|
73
|
+
"infected": "Virus detectado por Twake",
|
|
74
|
+
"info": {
|
|
75
|
+
"title": "Análisis de archivos adjuntos en Twake",
|
|
76
|
+
"description": "Para proteger su espacio de trabajo, Twake bloquea automáticamente los archivos adjuntos identificados como maliciosos. Descargue siempre archivos solo de fuentes de confianza.",
|
|
77
|
+
"learnMore": "Más información"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"expiration": {
|
|
81
|
+
"dismiss": "Entendido"
|
|
82
|
+
},
|
|
83
|
+
"title": "Información útil",
|
|
84
|
+
"more_menu": "Más opciones",
|
|
85
|
+
"collapse_btn": "Contraer"
|
|
86
|
+
},
|
|
87
|
+
"previous": "Anterior",
|
|
88
|
+
"retry": "Reintentar",
|
|
89
|
+
"scaledown": "Alejar",
|
|
90
|
+
"scaleup": "Acercar",
|
|
91
|
+
"share": {
|
|
92
|
+
"title": "Enlace a mi documento %{name}",
|
|
93
|
+
"text": "Aquí tienes un enlace a mi documento %{name}: ",
|
|
94
|
+
"error": "Problema al recuperar el enlace: %{error}",
|
|
95
|
+
"success": "Su archivo se ha compartido correctamente"
|
|
96
|
+
},
|
|
97
|
+
"snackbar": {
|
|
98
|
+
"copiedToClipboard": {
|
|
99
|
+
"success": "Copiado en el portapapeles",
|
|
100
|
+
"error": "No se puede copiar en el portapapeles"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"summariseWithAi": "Resumir",
|
|
104
|
+
"ai": {
|
|
105
|
+
"panelTitle": "Asistente de IA",
|
|
106
|
+
"bodyText": "Resumen",
|
|
107
|
+
"error": {
|
|
108
|
+
"summary": "No se ha podido generar el resumen. Inténtelo de nuevo.",
|
|
109
|
+
"documentTooLarge": "Este documento es demasiado grande para resumirlo. Pruebe con un documento más corto."
|
|
110
|
+
},
|
|
111
|
+
"copied": "Resumen copiado en el portapapeles",
|
|
112
|
+
"footerText": "Este contenido lo genera la IA y puede contener errores.",
|
|
113
|
+
"stop": "Detener",
|
|
114
|
+
"loadingText": "Resumiendo el contenido"
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
package/src/locales/index.js
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { getI18n } from 'twake-i18n'
|
|
2
2
|
|
|
3
|
+
import de from './de.json'
|
|
3
4
|
import en from './en.json'
|
|
5
|
+
import es from './es.json'
|
|
4
6
|
import fr from './fr.json'
|
|
7
|
+
import it from './it.json'
|
|
5
8
|
import ru from './ru.json'
|
|
6
9
|
import vi from './vi.json'
|
|
7
10
|
|
|
8
|
-
export const locales = { en, fr, ru, vi }
|
|
11
|
+
export const locales = { de, en, es, fr, it, ru, vi }
|
|
9
12
|
|
|
10
13
|
export const getViewerI18n = () => getI18n(undefined, lang => locales[lang])
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Viewer": {
|
|
3
|
+
"actions": {
|
|
4
|
+
"download": "Scarica",
|
|
5
|
+
"forward": "Invia"
|
|
6
|
+
},
|
|
7
|
+
"alert": {
|
|
8
|
+
"preparing": "Preparazione dei tuoi file…"
|
|
9
|
+
},
|
|
10
|
+
"close": "chiudi",
|
|
11
|
+
"cancel": "Annulla",
|
|
12
|
+
"ok": "OK",
|
|
13
|
+
"download": "Scarica",
|
|
14
|
+
"share_btn": "Condividi",
|
|
15
|
+
"complete": "Completa il documento",
|
|
16
|
+
"noImage": "Nessuna immagine",
|
|
17
|
+
"error": {
|
|
18
|
+
"downloadFile": {
|
|
19
|
+
"offline": "Devi essere online per scaricare questo file"
|
|
20
|
+
},
|
|
21
|
+
"generic": "Si è verificato un errore durante l'apertura di questo file, riprova.",
|
|
22
|
+
"missing": "Questo file è mancante",
|
|
23
|
+
"network": "Impossibile caricare questo file. La tua connessione a Internet funziona?"
|
|
24
|
+
},
|
|
25
|
+
"goto": "Vai a %{url}",
|
|
26
|
+
"next": "Successivo",
|
|
27
|
+
"openWith": "Apri con...",
|
|
28
|
+
"openInOnlyOffice": "Apri con Only Office",
|
|
29
|
+
"editPdf": "Modifica",
|
|
30
|
+
"panel": {
|
|
31
|
+
"collapse": "Comprimi",
|
|
32
|
+
"header": "Dettagli",
|
|
33
|
+
"summary": "Riepilogo",
|
|
34
|
+
"edit_summary": "Modifica il riepilogo",
|
|
35
|
+
"shorter": "Rendilo più breve",
|
|
36
|
+
"expand": "Aggiungi più dettagli",
|
|
37
|
+
"sharing": "Chi ha accesso?",
|
|
38
|
+
"manage_access": "Gestisci l'accesso",
|
|
39
|
+
"informations": {
|
|
40
|
+
"format": {
|
|
41
|
+
"title": "Documento %{format}",
|
|
42
|
+
"subtitle": "Formato"
|
|
43
|
+
},
|
|
44
|
+
"size": "Dimensione",
|
|
45
|
+
"location": "Posizione",
|
|
46
|
+
"creation": "Creazione",
|
|
47
|
+
"modification": "Ultima modifica"
|
|
48
|
+
},
|
|
49
|
+
"certifications": {
|
|
50
|
+
"carbonCopy": {
|
|
51
|
+
"title": "Copia conforme",
|
|
52
|
+
"caption": "Indica se il documento è definito \"autentico e originale\" da Twake Workplace, l'hosting del tuo Twake, in quanto può affermare che proviene direttamente da un servizio di terze parti senza aver subito alcuna modifica."
|
|
53
|
+
},
|
|
54
|
+
"electronicSafe": {
|
|
55
|
+
"title": "Cassaforte elettronica",
|
|
56
|
+
"caption": "Indica se il documento originale è protetto dalla tua cassaforte digitale personale con le certificazioni che gli conferiscono valore probatorio e una garanzia di conservazione di 50 anni dal deposito."
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"qualification": {
|
|
60
|
+
"empty": {
|
|
61
|
+
"primary": "Tipo di documento",
|
|
62
|
+
"secondary": "Bollette, contratto, carta d'identità..."
|
|
63
|
+
},
|
|
64
|
+
"actions": {
|
|
65
|
+
"copy": "Copia",
|
|
66
|
+
"copyClipboard": "Copia negli appunti",
|
|
67
|
+
"edit": "Modifica"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"antivirus": {
|
|
71
|
+
"scanning": "Analisi di Twake in corso",
|
|
72
|
+
"scanned": "Analizzato da Twake",
|
|
73
|
+
"infected": "Virus rilevato da Twake",
|
|
74
|
+
"info": {
|
|
75
|
+
"title": "Analisi degli allegati in Twake",
|
|
76
|
+
"description": "Per proteggere il tuo spazio di lavoro, Twake blocca automaticamente gli allegati identificati come dannosi. Scarica sempre i file solo da fonti attendibili.",
|
|
77
|
+
"learnMore": "Scopri di più"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"expiration": {
|
|
81
|
+
"dismiss": "Ho capito"
|
|
82
|
+
},
|
|
83
|
+
"title": "Informazioni utili",
|
|
84
|
+
"more_menu": "Altre opzioni",
|
|
85
|
+
"collapse_btn": "Comprimi"
|
|
86
|
+
},
|
|
87
|
+
"previous": "Precedente",
|
|
88
|
+
"retry": "Riprova",
|
|
89
|
+
"scaledown": "Riduci",
|
|
90
|
+
"scaleup": "Ingrandisci",
|
|
91
|
+
"share": {
|
|
92
|
+
"title": "Link al mio documento %{name}",
|
|
93
|
+
"text": "Ecco un link al mio documento %{name}: ",
|
|
94
|
+
"error": "Problema durante il recupero del link: %{error}",
|
|
95
|
+
"success": "Il tuo file è stato condiviso correttamente"
|
|
96
|
+
},
|
|
97
|
+
"snackbar": {
|
|
98
|
+
"copiedToClipboard": {
|
|
99
|
+
"success": "Copiato negli appunti",
|
|
100
|
+
"error": "Impossibile copiare negli appunti"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"summariseWithAi": "Riassumi",
|
|
104
|
+
"ai": {
|
|
105
|
+
"panelTitle": "Assistente IA",
|
|
106
|
+
"bodyText": "Riepilogo",
|
|
107
|
+
"error": {
|
|
108
|
+
"summary": "Impossibile generare il riepilogo. Riprova.",
|
|
109
|
+
"documentTooLarge": "Questo documento è troppo grande per essere riassunto. Prova con un documento più breve."
|
|
110
|
+
},
|
|
111
|
+
"copied": "Riepilogo copiato negli appunti",
|
|
112
|
+
"footerText": "Questo contenuto è generato dall'IA e può contenere errori.",
|
|
113
|
+
"stop": "Interrompi",
|
|
114
|
+
"loadingText": "Riepilogo del contenuto in corso"
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|