diff --git a/l10n/af.js b/l10n/af.js
index 89dc1a1d2..88815ef33 100644
--- a/l10n/af.js
+++ b/l10n/af.js
@@ -24,6 +24,7 @@ OC.L10N.register(
"Comments" : "Kommentare",
"Modified" : "Gewysig",
"Created" : "Geskep",
+ "File already exists" : "Lêer bestaan reeds",
"Save" : "Stoor",
"Reply" : "Antwoord",
"Update" : "Werk by",
diff --git a/l10n/af.json b/l10n/af.json
index 54ac26f84..5b88698f2 100644
--- a/l10n/af.json
+++ b/l10n/af.json
@@ -22,6 +22,7 @@
"Comments" : "Kommentare",
"Modified" : "Gewysig",
"Created" : "Geskep",
+ "File already exists" : "Lêer bestaan reeds",
"Save" : "Stoor",
"Reply" : "Antwoord",
"Update" : "Werk by",
diff --git a/l10n/ast.js b/l10n/ast.js
index 161b6a159..b13ac20f9 100644
--- a/l10n/ast.js
+++ b/l10n/ast.js
@@ -30,6 +30,7 @@ OC.L10N.register(
"Comments" : "Comentarios",
"Modified" : "Modificóse'l",
"Created" : "Creóse",
+ "File already exists" : "Yá esiste'l ficheru",
"Save" : "Guardar",
"Reply" : "Rempuesta",
"Update" : "Anovar",
diff --git a/l10n/ast.json b/l10n/ast.json
index 1813b4a27..4e1a1b464 100644
--- a/l10n/ast.json
+++ b/l10n/ast.json
@@ -28,6 +28,7 @@
"Comments" : "Comentarios",
"Modified" : "Modificóse'l",
"Created" : "Creóse",
+ "File already exists" : "Yá esiste'l ficheru",
"Save" : "Guardar",
"Reply" : "Rempuesta",
"Update" : "Anovar",
diff --git a/l10n/bg.js b/l10n/bg.js
index 4cf7b611e..f128989e2 100644
--- a/l10n/bg.js
+++ b/l10n/bg.js
@@ -32,6 +32,8 @@ OC.L10N.register(
"Modified" : "Промяна",
"Created" : "Създаден",
"Upload attachment" : "Качване",
+ "File already exists" : "Файлът вече съществува",
+ "Do you want to overwrite it?" : "Искате ли да го презапишете?",
"Save" : "Запазване",
"Reply" : "Отговори",
"Update" : "Обновяване",
diff --git a/l10n/bg.json b/l10n/bg.json
index 9708cf18c..2ee47d5f8 100644
--- a/l10n/bg.json
+++ b/l10n/bg.json
@@ -30,6 +30,8 @@
"Modified" : "Промяна",
"Created" : "Създаден",
"Upload attachment" : "Качване",
+ "File already exists" : "Файлът вече съществува",
+ "Do you want to overwrite it?" : "Искате ли да го презапишете?",
"Save" : "Запазване",
"Reply" : "Отговори",
"Update" : "Обновяване",
diff --git a/l10n/de_DE.js b/l10n/de_DE.js
index a0f7b9c31..9f9f3c4d9 100644
--- a/l10n/de_DE.js
+++ b/l10n/de_DE.js
@@ -159,6 +159,9 @@ OC.L10N.register(
"Modified" : "Geändert",
"Created" : "Erstellt",
"Upload attachment" : "Anhang hochladen",
+ "File already exists" : "Datei bereits vorhanden",
+ "Do you want to overwrite it?" : "Soll überschrieben werden?",
+ "Maximum file size of {size} exceeded" : "Maximale Dateigröße von {size} überschritten",
"No comments yet. Begin the discussion!" : "Bislang keine Kommentare. Beginnen Sie die Diskussion!",
"Save" : "Speichern",
"The comment cannot be empty." : "Der Kommentar darf nicht leer sein.",
diff --git a/l10n/de_DE.json b/l10n/de_DE.json
index 6e5168466..59fda0683 100644
--- a/l10n/de_DE.json
+++ b/l10n/de_DE.json
@@ -157,6 +157,9 @@
"Modified" : "Geändert",
"Created" : "Erstellt",
"Upload attachment" : "Anhang hochladen",
+ "File already exists" : "Datei bereits vorhanden",
+ "Do you want to overwrite it?" : "Soll überschrieben werden?",
+ "Maximum file size of {size} exceeded" : "Maximale Dateigröße von {size} überschritten",
"No comments yet. Begin the discussion!" : "Bislang keine Kommentare. Beginnen Sie die Diskussion!",
"Save" : "Speichern",
"The comment cannot be empty." : "Der Kommentar darf nicht leer sein.",
diff --git a/l10n/el.js b/l10n/el.js
index 3712c4ee3..b9130869c 100644
--- a/l10n/el.js
+++ b/l10n/el.js
@@ -159,6 +159,9 @@ OC.L10N.register(
"Modified" : "Τροποποιήθηκε",
"Created" : "Δημιουργήθηκε",
"Upload attachment" : "Μεταφόρτωση συνημμένων",
+ "File already exists" : "Το αρχείο υπάρχει ήδη",
+ "Do you want to overwrite it?" : "Επιθυμείτε να γίνει αντικατάσταση του?",
+ "Maximum file size of {size} exceeded" : "Υπέρβαση επιτρεπόμενου μεγέθους αρχείου {size}",
"No comments yet. Begin the discussion!" : "Χωρίς σχόλια ακόμη. Ξεκινήστε την συζήτηση!",
"Save" : "Αποθήκευση",
"The comment cannot be empty." : "Το σχόλιο δεν μπορεί να είναι κενό.",
diff --git a/l10n/el.json b/l10n/el.json
index 84aa07af5..d844fdcd5 100644
--- a/l10n/el.json
+++ b/l10n/el.json
@@ -157,6 +157,9 @@
"Modified" : "Τροποποιήθηκε",
"Created" : "Δημιουργήθηκε",
"Upload attachment" : "Μεταφόρτωση συνημμένων",
+ "File already exists" : "Το αρχείο υπάρχει ήδη",
+ "Do you want to overwrite it?" : "Επιθυμείτε να γίνει αντικατάσταση του?",
+ "Maximum file size of {size} exceeded" : "Υπέρβαση επιτρεπόμενου μεγέθους αρχείου {size}",
"No comments yet. Begin the discussion!" : "Χωρίς σχόλια ακόμη. Ξεκινήστε την συζήτηση!",
"Save" : "Αποθήκευση",
"The comment cannot be empty." : "Το σχόλιο δεν μπορεί να είναι κενό.",
diff --git a/l10n/en_GB.js b/l10n/en_GB.js
index 67ba4ad71..b6659e102 100644
--- a/l10n/en_GB.js
+++ b/l10n/en_GB.js
@@ -44,6 +44,8 @@ OC.L10N.register(
"Modified" : "Modified",
"Created" : "Created",
"Upload attachment" : "Upload attachment",
+ "File already exists" : "File already exists",
+ "Do you want to overwrite it?" : "Do you want to overwrite it?",
"Save" : "Save",
"Reply" : "Reply",
"Update" : "Update",
diff --git a/l10n/en_GB.json b/l10n/en_GB.json
index 81a8bf1c0..9f901e0ac 100644
--- a/l10n/en_GB.json
+++ b/l10n/en_GB.json
@@ -42,6 +42,8 @@
"Modified" : "Modified",
"Created" : "Created",
"Upload attachment" : "Upload attachment",
+ "File already exists" : "File already exists",
+ "Do you want to overwrite it?" : "Do you want to overwrite it?",
"Save" : "Save",
"Reply" : "Reply",
"Update" : "Update",
diff --git a/l10n/eo.js b/l10n/eo.js
index 43f817bdd..033d1fd07 100644
--- a/l10n/eo.js
+++ b/l10n/eo.js
@@ -129,6 +129,8 @@ OC.L10N.register(
"Modified" : "Modifita",
"Created" : "Kreita",
"Upload attachment" : "Alŝuti dosieran aldonaĵon",
+ "File already exists" : "La dosiero jam ekzistas",
+ "Maximum file size of {size} exceeded" : "Maksimuma dosiergrando {size} transpasita",
"Save" : "Konservi",
"Reply" : "Respondi",
"Update" : "Ĝisdatigi",
diff --git a/l10n/eo.json b/l10n/eo.json
index 41065d8ed..aa2260db8 100644
--- a/l10n/eo.json
+++ b/l10n/eo.json
@@ -127,6 +127,8 @@
"Modified" : "Modifita",
"Created" : "Kreita",
"Upload attachment" : "Alŝuti dosieran aldonaĵon",
+ "File already exists" : "La dosiero jam ekzistas",
+ "Maximum file size of {size} exceeded" : "Maksimuma dosiergrando {size} transpasita",
"Save" : "Konservi",
"Reply" : "Respondi",
"Update" : "Ĝisdatigi",
diff --git a/l10n/es_419.js b/l10n/es_419.js
index c74041201..c10e133f4 100644
--- a/l10n/es_419.js
+++ b/l10n/es_419.js
@@ -39,6 +39,8 @@ OC.L10N.register(
"Modified" : "Modificado",
"Created" : "Creado",
"Upload attachment" : "Cargar adjunto",
+ "File already exists" : "El archivo ya existe",
+ "Do you want to overwrite it?" : "¿Deseas sobre escribirlo?",
"Save" : "Guardar",
"Reply" : "Responder",
"Update" : "Actualizar",
diff --git a/l10n/es_419.json b/l10n/es_419.json
index af4e28cba..427f7b16f 100644
--- a/l10n/es_419.json
+++ b/l10n/es_419.json
@@ -37,6 +37,8 @@
"Modified" : "Modificado",
"Created" : "Creado",
"Upload attachment" : "Cargar adjunto",
+ "File already exists" : "El archivo ya existe",
+ "Do you want to overwrite it?" : "¿Deseas sobre escribirlo?",
"Save" : "Guardar",
"Reply" : "Responder",
"Update" : "Actualizar",
diff --git a/l10n/es_CL.js b/l10n/es_CL.js
index 604dab92a..baba753c7 100644
--- a/l10n/es_CL.js
+++ b/l10n/es_CL.js
@@ -42,6 +42,8 @@ OC.L10N.register(
"Modified" : "Modificado",
"Created" : "Creado",
"Upload attachment" : "Cargar adjunto",
+ "File already exists" : "El archivo ya existe",
+ "Do you want to overwrite it?" : "¿Deseas sobre escribirlo?",
"Save" : "Guardar",
"Reply" : "Responder",
"Update" : "Actualizar",
diff --git a/l10n/es_CL.json b/l10n/es_CL.json
index 10c1a8a9f..3c4a632f0 100644
--- a/l10n/es_CL.json
+++ b/l10n/es_CL.json
@@ -40,6 +40,8 @@
"Modified" : "Modificado",
"Created" : "Creado",
"Upload attachment" : "Cargar adjunto",
+ "File already exists" : "El archivo ya existe",
+ "Do you want to overwrite it?" : "¿Deseas sobre escribirlo?",
"Save" : "Guardar",
"Reply" : "Responder",
"Update" : "Actualizar",
diff --git a/l10n/es_CO.js b/l10n/es_CO.js
index 604dab92a..baba753c7 100644
--- a/l10n/es_CO.js
+++ b/l10n/es_CO.js
@@ -42,6 +42,8 @@ OC.L10N.register(
"Modified" : "Modificado",
"Created" : "Creado",
"Upload attachment" : "Cargar adjunto",
+ "File already exists" : "El archivo ya existe",
+ "Do you want to overwrite it?" : "¿Deseas sobre escribirlo?",
"Save" : "Guardar",
"Reply" : "Responder",
"Update" : "Actualizar",
diff --git a/l10n/es_CO.json b/l10n/es_CO.json
index 10c1a8a9f..3c4a632f0 100644
--- a/l10n/es_CO.json
+++ b/l10n/es_CO.json
@@ -40,6 +40,8 @@
"Modified" : "Modificado",
"Created" : "Creado",
"Upload attachment" : "Cargar adjunto",
+ "File already exists" : "El archivo ya existe",
+ "Do you want to overwrite it?" : "¿Deseas sobre escribirlo?",
"Save" : "Guardar",
"Reply" : "Responder",
"Update" : "Actualizar",
diff --git a/l10n/es_CR.js b/l10n/es_CR.js
index 604dab92a..baba753c7 100644
--- a/l10n/es_CR.js
+++ b/l10n/es_CR.js
@@ -42,6 +42,8 @@ OC.L10N.register(
"Modified" : "Modificado",
"Created" : "Creado",
"Upload attachment" : "Cargar adjunto",
+ "File already exists" : "El archivo ya existe",
+ "Do you want to overwrite it?" : "¿Deseas sobre escribirlo?",
"Save" : "Guardar",
"Reply" : "Responder",
"Update" : "Actualizar",
diff --git a/l10n/es_CR.json b/l10n/es_CR.json
index 10c1a8a9f..3c4a632f0 100644
--- a/l10n/es_CR.json
+++ b/l10n/es_CR.json
@@ -40,6 +40,8 @@
"Modified" : "Modificado",
"Created" : "Creado",
"Upload attachment" : "Cargar adjunto",
+ "File already exists" : "El archivo ya existe",
+ "Do you want to overwrite it?" : "¿Deseas sobre escribirlo?",
"Save" : "Guardar",
"Reply" : "Responder",
"Update" : "Actualizar",
diff --git a/l10n/es_DO.js b/l10n/es_DO.js
index 604dab92a..baba753c7 100644
--- a/l10n/es_DO.js
+++ b/l10n/es_DO.js
@@ -42,6 +42,8 @@ OC.L10N.register(
"Modified" : "Modificado",
"Created" : "Creado",
"Upload attachment" : "Cargar adjunto",
+ "File already exists" : "El archivo ya existe",
+ "Do you want to overwrite it?" : "¿Deseas sobre escribirlo?",
"Save" : "Guardar",
"Reply" : "Responder",
"Update" : "Actualizar",
diff --git a/l10n/es_DO.json b/l10n/es_DO.json
index 10c1a8a9f..3c4a632f0 100644
--- a/l10n/es_DO.json
+++ b/l10n/es_DO.json
@@ -40,6 +40,8 @@
"Modified" : "Modificado",
"Created" : "Creado",
"Upload attachment" : "Cargar adjunto",
+ "File already exists" : "El archivo ya existe",
+ "Do you want to overwrite it?" : "¿Deseas sobre escribirlo?",
"Save" : "Guardar",
"Reply" : "Responder",
"Update" : "Actualizar",
diff --git a/l10n/es_EC.js b/l10n/es_EC.js
index 604dab92a..baba753c7 100644
--- a/l10n/es_EC.js
+++ b/l10n/es_EC.js
@@ -42,6 +42,8 @@ OC.L10N.register(
"Modified" : "Modificado",
"Created" : "Creado",
"Upload attachment" : "Cargar adjunto",
+ "File already exists" : "El archivo ya existe",
+ "Do you want to overwrite it?" : "¿Deseas sobre escribirlo?",
"Save" : "Guardar",
"Reply" : "Responder",
"Update" : "Actualizar",
diff --git a/l10n/es_EC.json b/l10n/es_EC.json
index 10c1a8a9f..3c4a632f0 100644
--- a/l10n/es_EC.json
+++ b/l10n/es_EC.json
@@ -40,6 +40,8 @@
"Modified" : "Modificado",
"Created" : "Creado",
"Upload attachment" : "Cargar adjunto",
+ "File already exists" : "El archivo ya existe",
+ "Do you want to overwrite it?" : "¿Deseas sobre escribirlo?",
"Save" : "Guardar",
"Reply" : "Responder",
"Update" : "Actualizar",
diff --git a/l10n/es_GT.js b/l10n/es_GT.js
index 604dab92a..baba753c7 100644
--- a/l10n/es_GT.js
+++ b/l10n/es_GT.js
@@ -42,6 +42,8 @@ OC.L10N.register(
"Modified" : "Modificado",
"Created" : "Creado",
"Upload attachment" : "Cargar adjunto",
+ "File already exists" : "El archivo ya existe",
+ "Do you want to overwrite it?" : "¿Deseas sobre escribirlo?",
"Save" : "Guardar",
"Reply" : "Responder",
"Update" : "Actualizar",
diff --git a/l10n/es_GT.json b/l10n/es_GT.json
index 10c1a8a9f..3c4a632f0 100644
--- a/l10n/es_GT.json
+++ b/l10n/es_GT.json
@@ -40,6 +40,8 @@
"Modified" : "Modificado",
"Created" : "Creado",
"Upload attachment" : "Cargar adjunto",
+ "File already exists" : "El archivo ya existe",
+ "Do you want to overwrite it?" : "¿Deseas sobre escribirlo?",
"Save" : "Guardar",
"Reply" : "Responder",
"Update" : "Actualizar",
diff --git a/l10n/es_HN.js b/l10n/es_HN.js
index a127a4477..07b8e0311 100644
--- a/l10n/es_HN.js
+++ b/l10n/es_HN.js
@@ -38,6 +38,8 @@ OC.L10N.register(
"Modified" : "Modificado",
"Created" : "Creado",
"Upload attachment" : "Cargar adjunto",
+ "File already exists" : "El archivo ya existe",
+ "Do you want to overwrite it?" : "¿Deseas sobre escribirlo?",
"Save" : "Guardar",
"Reply" : "Responder",
"Update" : "Actualizar",
diff --git a/l10n/es_HN.json b/l10n/es_HN.json
index 5ad9b60a6..2d36a6fbe 100644
--- a/l10n/es_HN.json
+++ b/l10n/es_HN.json
@@ -36,6 +36,8 @@
"Modified" : "Modificado",
"Created" : "Creado",
"Upload attachment" : "Cargar adjunto",
+ "File already exists" : "El archivo ya existe",
+ "Do you want to overwrite it?" : "¿Deseas sobre escribirlo?",
"Save" : "Guardar",
"Reply" : "Responder",
"Update" : "Actualizar",
diff --git a/l10n/es_MX.js b/l10n/es_MX.js
index ff76b7f5a..5338a4bf3 100644
--- a/l10n/es_MX.js
+++ b/l10n/es_MX.js
@@ -44,6 +44,8 @@ OC.L10N.register(
"Modified" : "Modificado",
"Created" : "Creado",
"Upload attachment" : "Cargar adjunto",
+ "File already exists" : "El archivo ya existe",
+ "Do you want to overwrite it?" : "¿Deseas sobre escribirlo?",
"Save" : "Guardar",
"Reply" : "Responder",
"Update" : "Actualizar",
diff --git a/l10n/es_MX.json b/l10n/es_MX.json
index e3e631917..e2d43dbe4 100644
--- a/l10n/es_MX.json
+++ b/l10n/es_MX.json
@@ -42,6 +42,8 @@
"Modified" : "Modificado",
"Created" : "Creado",
"Upload attachment" : "Cargar adjunto",
+ "File already exists" : "El archivo ya existe",
+ "Do you want to overwrite it?" : "¿Deseas sobre escribirlo?",
"Save" : "Guardar",
"Reply" : "Responder",
"Update" : "Actualizar",
diff --git a/l10n/es_NI.js b/l10n/es_NI.js
index a127a4477..07b8e0311 100644
--- a/l10n/es_NI.js
+++ b/l10n/es_NI.js
@@ -38,6 +38,8 @@ OC.L10N.register(
"Modified" : "Modificado",
"Created" : "Creado",
"Upload attachment" : "Cargar adjunto",
+ "File already exists" : "El archivo ya existe",
+ "Do you want to overwrite it?" : "¿Deseas sobre escribirlo?",
"Save" : "Guardar",
"Reply" : "Responder",
"Update" : "Actualizar",
diff --git a/l10n/es_NI.json b/l10n/es_NI.json
index 5ad9b60a6..2d36a6fbe 100644
--- a/l10n/es_NI.json
+++ b/l10n/es_NI.json
@@ -36,6 +36,8 @@
"Modified" : "Modificado",
"Created" : "Creado",
"Upload attachment" : "Cargar adjunto",
+ "File already exists" : "El archivo ya existe",
+ "Do you want to overwrite it?" : "¿Deseas sobre escribirlo?",
"Save" : "Guardar",
"Reply" : "Responder",
"Update" : "Actualizar",
diff --git a/l10n/es_PA.js b/l10n/es_PA.js
index a127a4477..07b8e0311 100644
--- a/l10n/es_PA.js
+++ b/l10n/es_PA.js
@@ -38,6 +38,8 @@ OC.L10N.register(
"Modified" : "Modificado",
"Created" : "Creado",
"Upload attachment" : "Cargar adjunto",
+ "File already exists" : "El archivo ya existe",
+ "Do you want to overwrite it?" : "¿Deseas sobre escribirlo?",
"Save" : "Guardar",
"Reply" : "Responder",
"Update" : "Actualizar",
diff --git a/l10n/es_PA.json b/l10n/es_PA.json
index 5ad9b60a6..2d36a6fbe 100644
--- a/l10n/es_PA.json
+++ b/l10n/es_PA.json
@@ -36,6 +36,8 @@
"Modified" : "Modificado",
"Created" : "Creado",
"Upload attachment" : "Cargar adjunto",
+ "File already exists" : "El archivo ya existe",
+ "Do you want to overwrite it?" : "¿Deseas sobre escribirlo?",
"Save" : "Guardar",
"Reply" : "Responder",
"Update" : "Actualizar",
diff --git a/l10n/es_PE.js b/l10n/es_PE.js
index a127a4477..07b8e0311 100644
--- a/l10n/es_PE.js
+++ b/l10n/es_PE.js
@@ -38,6 +38,8 @@ OC.L10N.register(
"Modified" : "Modificado",
"Created" : "Creado",
"Upload attachment" : "Cargar adjunto",
+ "File already exists" : "El archivo ya existe",
+ "Do you want to overwrite it?" : "¿Deseas sobre escribirlo?",
"Save" : "Guardar",
"Reply" : "Responder",
"Update" : "Actualizar",
diff --git a/l10n/es_PE.json b/l10n/es_PE.json
index 5ad9b60a6..2d36a6fbe 100644
--- a/l10n/es_PE.json
+++ b/l10n/es_PE.json
@@ -36,6 +36,8 @@
"Modified" : "Modificado",
"Created" : "Creado",
"Upload attachment" : "Cargar adjunto",
+ "File already exists" : "El archivo ya existe",
+ "Do you want to overwrite it?" : "¿Deseas sobre escribirlo?",
"Save" : "Guardar",
"Reply" : "Responder",
"Update" : "Actualizar",
diff --git a/l10n/es_PR.js b/l10n/es_PR.js
index a127a4477..07b8e0311 100644
--- a/l10n/es_PR.js
+++ b/l10n/es_PR.js
@@ -38,6 +38,8 @@ OC.L10N.register(
"Modified" : "Modificado",
"Created" : "Creado",
"Upload attachment" : "Cargar adjunto",
+ "File already exists" : "El archivo ya existe",
+ "Do you want to overwrite it?" : "¿Deseas sobre escribirlo?",
"Save" : "Guardar",
"Reply" : "Responder",
"Update" : "Actualizar",
diff --git a/l10n/es_PR.json b/l10n/es_PR.json
index 5ad9b60a6..2d36a6fbe 100644
--- a/l10n/es_PR.json
+++ b/l10n/es_PR.json
@@ -36,6 +36,8 @@
"Modified" : "Modificado",
"Created" : "Creado",
"Upload attachment" : "Cargar adjunto",
+ "File already exists" : "El archivo ya existe",
+ "Do you want to overwrite it?" : "¿Deseas sobre escribirlo?",
"Save" : "Guardar",
"Reply" : "Responder",
"Update" : "Actualizar",
diff --git a/l10n/es_SV.js b/l10n/es_SV.js
index 604dab92a..baba753c7 100644
--- a/l10n/es_SV.js
+++ b/l10n/es_SV.js
@@ -42,6 +42,8 @@ OC.L10N.register(
"Modified" : "Modificado",
"Created" : "Creado",
"Upload attachment" : "Cargar adjunto",
+ "File already exists" : "El archivo ya existe",
+ "Do you want to overwrite it?" : "¿Deseas sobre escribirlo?",
"Save" : "Guardar",
"Reply" : "Responder",
"Update" : "Actualizar",
diff --git a/l10n/es_SV.json b/l10n/es_SV.json
index 10c1a8a9f..3c4a632f0 100644
--- a/l10n/es_SV.json
+++ b/l10n/es_SV.json
@@ -40,6 +40,8 @@
"Modified" : "Modificado",
"Created" : "Creado",
"Upload attachment" : "Cargar adjunto",
+ "File already exists" : "El archivo ya existe",
+ "Do you want to overwrite it?" : "¿Deseas sobre escribirlo?",
"Save" : "Guardar",
"Reply" : "Responder",
"Update" : "Actualizar",
diff --git a/l10n/es_UY.js b/l10n/es_UY.js
index a127a4477..07b8e0311 100644
--- a/l10n/es_UY.js
+++ b/l10n/es_UY.js
@@ -38,6 +38,8 @@ OC.L10N.register(
"Modified" : "Modificado",
"Created" : "Creado",
"Upload attachment" : "Cargar adjunto",
+ "File already exists" : "El archivo ya existe",
+ "Do you want to overwrite it?" : "¿Deseas sobre escribirlo?",
"Save" : "Guardar",
"Reply" : "Responder",
"Update" : "Actualizar",
diff --git a/l10n/es_UY.json b/l10n/es_UY.json
index 5ad9b60a6..2d36a6fbe 100644
--- a/l10n/es_UY.json
+++ b/l10n/es_UY.json
@@ -36,6 +36,8 @@
"Modified" : "Modificado",
"Created" : "Creado",
"Upload attachment" : "Cargar adjunto",
+ "File already exists" : "El archivo ya existe",
+ "Do you want to overwrite it?" : "¿Deseas sobre escribirlo?",
"Save" : "Guardar",
"Reply" : "Responder",
"Update" : "Actualizar",
diff --git a/l10n/fi.js b/l10n/fi.js
index 404465ab8..c2b983797 100644
--- a/l10n/fi.js
+++ b/l10n/fi.js
@@ -126,6 +126,9 @@ OC.L10N.register(
"Modified" : "Muokattu",
"Created" : "Luotu",
"Upload attachment" : "Lähetä liite",
+ "File already exists" : "Tiedosto on jo olemassa",
+ "Do you want to overwrite it?" : "Haluatko ylikirjoittaa sen?",
+ "Maximum file size of {size} exceeded" : "Tiedoston enimmäiskoko {size} ylitetty",
"Save" : "Tallenna",
"Reply" : "Vastaa",
"Update" : "Päivitä",
diff --git a/l10n/fi.json b/l10n/fi.json
index 9e028038e..e1211c997 100644
--- a/l10n/fi.json
+++ b/l10n/fi.json
@@ -124,6 +124,9 @@
"Modified" : "Muokattu",
"Created" : "Luotu",
"Upload attachment" : "Lähetä liite",
+ "File already exists" : "Tiedosto on jo olemassa",
+ "Do you want to overwrite it?" : "Haluatko ylikirjoittaa sen?",
+ "Maximum file size of {size} exceeded" : "Tiedoston enimmäiskoko {size} ylitetty",
"Save" : "Tallenna",
"Reply" : "Vastaa",
"Update" : "Päivitä",
diff --git a/l10n/fr.js b/l10n/fr.js
index 043e62eb7..bdd36ceed 100644
--- a/l10n/fr.js
+++ b/l10n/fr.js
@@ -159,6 +159,9 @@ OC.L10N.register(
"Modified" : "Modifié",
"Created" : "Créé",
"Upload attachment" : "Envoyer une pièce jointe",
+ "File already exists" : "Le fichier existe déjà",
+ "Do you want to overwrite it?" : "Souhaitez-vous l'écraser ?",
+ "Maximum file size of {size} exceeded" : "Taille de fichier maximale de {size} dépassée",
"No comments yet. Begin the discussion!" : "Aucun commentaire pour l'instant, démarrez la discussion !",
"Save" : "Enregistrer",
"The comment cannot be empty." : "Un commentaire ne peut pas être vide.",
diff --git a/l10n/fr.json b/l10n/fr.json
index bfb048608..f5b448b93 100644
--- a/l10n/fr.json
+++ b/l10n/fr.json
@@ -157,6 +157,9 @@
"Modified" : "Modifié",
"Created" : "Créé",
"Upload attachment" : "Envoyer une pièce jointe",
+ "File already exists" : "Le fichier existe déjà",
+ "Do you want to overwrite it?" : "Souhaitez-vous l'écraser ?",
+ "Maximum file size of {size} exceeded" : "Taille de fichier maximale de {size} dépassée",
"No comments yet. Begin the discussion!" : "Aucun commentaire pour l'instant, démarrez la discussion !",
"Save" : "Enregistrer",
"The comment cannot be empty." : "Un commentaire ne peut pas être vide.",
diff --git a/l10n/gl.js b/l10n/gl.js
index 533f50dca..c4bbe1106 100644
--- a/l10n/gl.js
+++ b/l10n/gl.js
@@ -159,6 +159,9 @@ OC.L10N.register(
"Modified" : "Modificado",
"Created" : "Creado",
"Upload attachment" : "Enviar anexos",
+ "File already exists" : "O ficheiro xa existe",
+ "Do you want to overwrite it?" : "Quere sobrescribilo?",
+ "Maximum file size of {size} exceeded" : "Excedeuse o tamaño máximo de ficheiro de {size}",
"No comments yet. Begin the discussion!" : "Aínda non hai comentarios. Comece o debate!",
"Save" : "Gardar",
"The comment cannot be empty." : "O comentario non pode estar baleiro",
diff --git a/l10n/gl.json b/l10n/gl.json
index f49d24ab1..ea0f11de5 100644
--- a/l10n/gl.json
+++ b/l10n/gl.json
@@ -157,6 +157,9 @@
"Modified" : "Modificado",
"Created" : "Creado",
"Upload attachment" : "Enviar anexos",
+ "File already exists" : "O ficheiro xa existe",
+ "Do you want to overwrite it?" : "Quere sobrescribilo?",
+ "Maximum file size of {size} exceeded" : "Excedeuse o tamaño máximo de ficheiro de {size}",
"No comments yet. Begin the discussion!" : "Aínda non hai comentarios. Comece o debate!",
"Save" : "Gardar",
"The comment cannot be empty." : "O comentario non pode estar baleiro",
diff --git a/l10n/hr.js b/l10n/hr.js
index 94a90f1ac..d18c27979 100644
--- a/l10n/hr.js
+++ b/l10n/hr.js
@@ -159,6 +159,9 @@ OC.L10N.register(
"Modified" : "Promijenjeno",
"Created" : "Stvoreno",
"Upload attachment" : "Otpremi privitak",
+ "File already exists" : "Datoteka već postoji",
+ "Do you want to overwrite it?" : "Želite li prepisati?",
+ "Maximum file size of {size} exceeded" : "Prekoračena je maksimalna veličina datoteke od {size}",
"No comments yet. Begin the discussion!" : "Nema komentara. Započnite raspravu!",
"Save" : "Spremi",
"The comment cannot be empty." : "Komentar ne može biti prazan.",
diff --git a/l10n/hr.json b/l10n/hr.json
index f25b1ae65..45cf99e2c 100644
--- a/l10n/hr.json
+++ b/l10n/hr.json
@@ -157,6 +157,9 @@
"Modified" : "Promijenjeno",
"Created" : "Stvoreno",
"Upload attachment" : "Otpremi privitak",
+ "File already exists" : "Datoteka već postoji",
+ "Do you want to overwrite it?" : "Želite li prepisati?",
+ "Maximum file size of {size} exceeded" : "Prekoračena je maksimalna veličina datoteke od {size}",
"No comments yet. Begin the discussion!" : "Nema komentara. Započnite raspravu!",
"Save" : "Spremi",
"The comment cannot be empty." : "Komentar ne može biti prazan.",
diff --git a/l10n/hu.js b/l10n/hu.js
index 84c392d80..653d9e8ce 100644
--- a/l10n/hu.js
+++ b/l10n/hu.js
@@ -128,6 +128,9 @@ OC.L10N.register(
"Modified" : "Módosítva",
"Created" : "Létrehozva",
"Upload attachment" : "Melléklet feltöltése",
+ "File already exists" : "A fájl már létezik",
+ "Do you want to overwrite it?" : "Felülírod?",
+ "Maximum file size of {size} exceeded" : "A legnagyobb fájlméret ({size}) túllépve",
"Save" : "Mentés",
"Reply" : "Válasz",
"Update" : "Frissítés",
diff --git a/l10n/hu.json b/l10n/hu.json
index 06b21f638..518b9648d 100644
--- a/l10n/hu.json
+++ b/l10n/hu.json
@@ -126,6 +126,9 @@
"Modified" : "Módosítva",
"Created" : "Létrehozva",
"Upload attachment" : "Melléklet feltöltése",
+ "File already exists" : "A fájl már létezik",
+ "Do you want to overwrite it?" : "Felülírod?",
+ "Maximum file size of {size} exceeded" : "A legnagyobb fájlméret ({size}) túllépve",
"Save" : "Mentés",
"Reply" : "Válasz",
"Update" : "Frissítés",
diff --git a/l10n/is.js b/l10n/is.js
index 9d606f03f..58b76c421 100644
--- a/l10n/is.js
+++ b/l10n/is.js
@@ -159,6 +159,9 @@ OC.L10N.register(
"Modified" : "Breytt",
"Created" : "Búið til þann",
"Upload attachment" : "Senda inn viðhengi",
+ "File already exists" : "Skrá er þegar til",
+ "Do you want to overwrite it?" : "Viltu skrifa yfir það?",
+ "Maximum file size of {size} exceeded" : "Fór yfir hámarks skráarstærð {size}",
"No comments yet. Begin the discussion!" : "Engar athugasemdir ennþá. Byrjaðu umræðuna!",
"Save" : "Vista",
"The comment cannot be empty." : "Athugasemdin má ekki vera tóm.",
diff --git a/l10n/is.json b/l10n/is.json
index ec5b7b8d6..df99e450e 100644
--- a/l10n/is.json
+++ b/l10n/is.json
@@ -157,6 +157,9 @@
"Modified" : "Breytt",
"Created" : "Búið til þann",
"Upload attachment" : "Senda inn viðhengi",
+ "File already exists" : "Skrá er þegar til",
+ "Do you want to overwrite it?" : "Viltu skrifa yfir það?",
+ "Maximum file size of {size} exceeded" : "Fór yfir hámarks skráarstærð {size}",
"No comments yet. Begin the discussion!" : "Engar athugasemdir ennþá. Byrjaðu umræðuna!",
"Save" : "Vista",
"The comment cannot be empty." : "Athugasemdin má ekki vera tóm.",
diff --git a/l10n/it.js b/l10n/it.js
index a97f3aa36..4fc505831 100644
--- a/l10n/it.js
+++ b/l10n/it.js
@@ -163,6 +163,7 @@ OC.L10N.register(
"Save" : "Salva",
"The comment cannot be empty." : "Il commento non può essere vuoto.",
"The comment cannot be longer than 1000 characters." : "Il commento non può essere più lungo di 1000 caratteri.",
+ "In reply to" : "In risposta a",
"Reply" : "Rispondi",
"Update" : "Aggiorna",
"seconds ago" : "secondi fa",
diff --git a/l10n/it.json b/l10n/it.json
index d51792aa9..ecc1c4326 100644
--- a/l10n/it.json
+++ b/l10n/it.json
@@ -161,6 +161,7 @@
"Save" : "Salva",
"The comment cannot be empty." : "Il commento non può essere vuoto.",
"The comment cannot be longer than 1000 characters." : "Il commento non può essere più lungo di 1000 caratteri.",
+ "In reply to" : "In risposta a",
"Reply" : "Rispondi",
"Update" : "Aggiorna",
"seconds ago" : "secondi fa",
diff --git a/l10n/lv.js b/l10n/lv.js
index 221479c06..76f59b784 100644
--- a/l10n/lv.js
+++ b/l10n/lv.js
@@ -28,6 +28,8 @@ OC.L10N.register(
"Comments" : "Komentāri",
"Modified" : "Mainīts",
"Created" : "Izveidots",
+ "File already exists" : "Datne jau pastāv",
+ "Do you want to overwrite it?" : "Vai tu gribi pārrakstīt to?",
"Save" : "Saglabāt",
"Reply" : "Atbildēt",
"Update" : "Atjaunināt",
diff --git a/l10n/lv.json b/l10n/lv.json
index eed2bc9f6..1a040060d 100644
--- a/l10n/lv.json
+++ b/l10n/lv.json
@@ -26,6 +26,8 @@
"Comments" : "Komentāri",
"Modified" : "Mainīts",
"Created" : "Izveidots",
+ "File already exists" : "Datne jau pastāv",
+ "Do you want to overwrite it?" : "Vai tu gribi pārrakstīt to?",
"Save" : "Saglabāt",
"Reply" : "Atbildēt",
"Update" : "Atjaunināt",
diff --git a/l10n/nl.js b/l10n/nl.js
index 967f8cff6..798046614 100644
--- a/l10n/nl.js
+++ b/l10n/nl.js
@@ -159,6 +159,9 @@ OC.L10N.register(
"Modified" : "Aangepast",
"Created" : "Gemaakt",
"Upload attachment" : "Uploaden bijlage",
+ "File already exists" : "Bestand bestaat al",
+ "Do you want to overwrite it?" : "Wil je het overschrijven?",
+ "Maximum file size of {size} exceeded" : "Maximale bestandsomvang van {size} overschreden",
"No comments yet. Begin the discussion!" : "Nog geen reacties. Begin de discussie!",
"Save" : "Opslaan",
"The comment cannot be empty." : "De reactie kan niet leeg zijn.",
diff --git a/l10n/nl.json b/l10n/nl.json
index 918cd421b..d7720d5f6 100644
--- a/l10n/nl.json
+++ b/l10n/nl.json
@@ -157,6 +157,9 @@
"Modified" : "Aangepast",
"Created" : "Gemaakt",
"Upload attachment" : "Uploaden bijlage",
+ "File already exists" : "Bestand bestaat al",
+ "Do you want to overwrite it?" : "Wil je het overschrijven?",
+ "Maximum file size of {size} exceeded" : "Maximale bestandsomvang van {size} overschreden",
"No comments yet. Begin the discussion!" : "Nog geen reacties. Begin de discussie!",
"Save" : "Opslaan",
"The comment cannot be empty." : "De reactie kan niet leeg zijn.",
diff --git a/l10n/pt_BR.js b/l10n/pt_BR.js
index 23e3f0c4d..6547dcea8 100644
--- a/l10n/pt_BR.js
+++ b/l10n/pt_BR.js
@@ -159,6 +159,9 @@ OC.L10N.register(
"Modified" : "Modificado",
"Created" : "Criado",
"Upload attachment" : "Enviar anexo",
+ "File already exists" : "Arquivo já existe",
+ "Do you want to overwrite it?" : "Quer sobrescrever?",
+ "Maximum file size of {size} exceeded" : "Excedeu o tamanho máximo de arquivo de {size}",
"No comments yet. Begin the discussion!" : "Nenhum comentário ainda. Inicie a conversa!",
"Save" : "Salvar",
"The comment cannot be empty." : "O comentário não pode zer vazio.",
diff --git a/l10n/pt_BR.json b/l10n/pt_BR.json
index b436dde2f..629fb5ac7 100644
--- a/l10n/pt_BR.json
+++ b/l10n/pt_BR.json
@@ -157,6 +157,9 @@
"Modified" : "Modificado",
"Created" : "Criado",
"Upload attachment" : "Enviar anexo",
+ "File already exists" : "Arquivo já existe",
+ "Do you want to overwrite it?" : "Quer sobrescrever?",
+ "Maximum file size of {size} exceeded" : "Excedeu o tamanho máximo de arquivo de {size}",
"No comments yet. Begin the discussion!" : "Nenhum comentário ainda. Inicie a conversa!",
"Save" : "Salvar",
"The comment cannot be empty." : "O comentário não pode zer vazio.",
diff --git a/l10n/ru.js b/l10n/ru.js
index 99adc0bc8..0bf178e97 100644
--- a/l10n/ru.js
+++ b/l10n/ru.js
@@ -159,6 +159,9 @@ OC.L10N.register(
"Modified" : "Изменён",
"Created" : "Создана",
"Upload attachment" : "Загрузить вложение",
+ "File already exists" : "Файл уже существует",
+ "Do you want to overwrite it?" : "Перезаписать?",
+ "Maximum file size of {size} exceeded" : "Превышен максимально разрешённый размер файла в {size}",
"No comments yet. Begin the discussion!" : "Комментарии отсутствуют, начните обсуждение!",
"Save" : "Сохранить",
"The comment cannot be empty." : "Комментарий не может быть пустым.",
diff --git a/l10n/ru.json b/l10n/ru.json
index 6f56e4d91..967d85a2a 100644
--- a/l10n/ru.json
+++ b/l10n/ru.json
@@ -157,6 +157,9 @@
"Modified" : "Изменён",
"Created" : "Создана",
"Upload attachment" : "Загрузить вложение",
+ "File already exists" : "Файл уже существует",
+ "Do you want to overwrite it?" : "Перезаписать?",
+ "Maximum file size of {size} exceeded" : "Превышен максимально разрешённый размер файла в {size}",
"No comments yet. Begin the discussion!" : "Комментарии отсутствуют, начните обсуждение!",
"Save" : "Сохранить",
"The comment cannot be empty." : "Комментарий не может быть пустым.",
diff --git a/l10n/sl.js b/l10n/sl.js
index e2e15ebc3..ae3ebdbb4 100644
--- a/l10n/sl.js
+++ b/l10n/sl.js
@@ -150,6 +150,8 @@ OC.L10N.register(
"Modified" : "Spremenjeno",
"Created" : "Ustvarjeno",
"Upload attachment" : "Pošlji prilogo",
+ "File already exists" : "Datoteka s tem imenom že obstaja.",
+ "Maximum file size of {size} exceeded" : "Omejitev velikosti datoteke {size} je prekoračena.",
"Save" : "Shrani",
"The comment cannot be empty." : "Polje opombe ne sme biti prazno.",
"The comment cannot be longer than 1000 characters." : "Opomba ne sme biti daljša od 1000 znakov.",
diff --git a/l10n/sl.json b/l10n/sl.json
index 87dbee5d5..e8864a03d 100644
--- a/l10n/sl.json
+++ b/l10n/sl.json
@@ -148,6 +148,8 @@
"Modified" : "Spremenjeno",
"Created" : "Ustvarjeno",
"Upload attachment" : "Pošlji prilogo",
+ "File already exists" : "Datoteka s tem imenom že obstaja.",
+ "Maximum file size of {size} exceeded" : "Omejitev velikosti datoteke {size} je prekoračena.",
"Save" : "Shrani",
"The comment cannot be empty." : "Polje opombe ne sme biti prazno.",
"The comment cannot be longer than 1000 characters." : "Opomba ne sme biti daljša od 1000 znakov.",
diff --git a/l10n/sr.js b/l10n/sr.js
index 6fa0874aa..8354364da 100644
--- a/l10n/sr.js
+++ b/l10n/sr.js
@@ -159,6 +159,9 @@ OC.L10N.register(
"Modified" : "Измењен",
"Created" : "Направљен",
"Upload attachment" : "Отпреми прилог",
+ "File already exists" : "Фајл већ постоји",
+ "Do you want to overwrite it?" : "Да ли желите да га препишете?",
+ "Maximum file size of {size} exceeded" : "Премашена максимална величина фајла од {size}",
"No comments yet. Begin the discussion!" : "Нема још коментара. Започните дискусију!",
"Save" : "Сачувај",
"The comment cannot be empty." : "Коментар не може да буде празан.",
diff --git a/l10n/sr.json b/l10n/sr.json
index 40f55a9d1..b0e445af9 100644
--- a/l10n/sr.json
+++ b/l10n/sr.json
@@ -157,6 +157,9 @@
"Modified" : "Измењен",
"Created" : "Направљен",
"Upload attachment" : "Отпреми прилог",
+ "File already exists" : "Фајл већ постоји",
+ "Do you want to overwrite it?" : "Да ли желите да га препишете?",
+ "Maximum file size of {size} exceeded" : "Премашена максимална величина фајла од {size}",
"No comments yet. Begin the discussion!" : "Нема још коментара. Започните дискусију!",
"Save" : "Сачувај",
"The comment cannot be empty." : "Коментар не може да буде празан.",
diff --git a/l10n/sv.js b/l10n/sv.js
index 8140a03c2..e11c4e5b5 100644
--- a/l10n/sv.js
+++ b/l10n/sv.js
@@ -158,6 +158,9 @@ OC.L10N.register(
"Modified" : "Ändrad",
"Created" : "Skapat",
"Upload attachment" : "Ladda upp bilaga",
+ "File already exists" : "Filen finns redan",
+ "Do you want to overwrite it?" : "Vill du skriva över det?",
+ "Maximum file size of {size} exceeded" : "Maximal filstorlek på {size} överskriden",
"No comments yet. Begin the discussion!" : "Inga kommentarer än. Börja diskussionen!",
"Save" : "Spara",
"The comment cannot be empty." : "Kommentaren kan inte vara tom.",
diff --git a/l10n/sv.json b/l10n/sv.json
index 5d1d9ed46..7840fe9d5 100644
--- a/l10n/sv.json
+++ b/l10n/sv.json
@@ -156,6 +156,9 @@
"Modified" : "Ändrad",
"Created" : "Skapat",
"Upload attachment" : "Ladda upp bilaga",
+ "File already exists" : "Filen finns redan",
+ "Do you want to overwrite it?" : "Vill du skriva över det?",
+ "Maximum file size of {size} exceeded" : "Maximal filstorlek på {size} överskriden",
"No comments yet. Begin the discussion!" : "Inga kommentarer än. Börja diskussionen!",
"Save" : "Spara",
"The comment cannot be empty." : "Kommentaren kan inte vara tom.",
diff --git a/l10n/uk.js b/l10n/uk.js
index e03b9b1ca..c25655fdc 100644
--- a/l10n/uk.js
+++ b/l10n/uk.js
@@ -34,6 +34,7 @@ OC.L10N.register(
"Attachments" : "Вкладення",
"Comments" : "Коментарі",
"Modified" : "Змінено",
+ "File already exists" : "Файл вже існує",
"Save" : "Зберегти",
"Reply" : "Відповісти",
"Update" : "Оновлення",
diff --git a/l10n/uk.json b/l10n/uk.json
index bca75bff0..8c864010b 100644
--- a/l10n/uk.json
+++ b/l10n/uk.json
@@ -32,6 +32,7 @@
"Attachments" : "Вкладення",
"Comments" : "Коментарі",
"Modified" : "Змінено",
+ "File already exists" : "Файл вже існує",
"Save" : "Зберегти",
"Reply" : "Відповісти",
"Update" : "Оновлення",
diff --git a/l10n/vi.js b/l10n/vi.js
index 8f4e72211..097a8bbad 100644
--- a/l10n/vi.js
+++ b/l10n/vi.js
@@ -69,6 +69,7 @@ OC.L10N.register(
"Modified" : "Thay đổi",
"Created" : "Đã tạo",
"Upload attachment" : "Tải lên một đính kèm",
+ "Maximum file size of {size} exceeded" : "Đã vượt quá kích thước {size} tối đa tập tin",
"Save" : "Lưu",
"Reply" : "Trả l",
"Update" : "Cập nhật",
diff --git a/l10n/vi.json b/l10n/vi.json
index bc6b910d0..deeedd808 100644
--- a/l10n/vi.json
+++ b/l10n/vi.json
@@ -67,6 +67,7 @@
"Modified" : "Thay đổi",
"Created" : "Đã tạo",
"Upload attachment" : "Tải lên một đính kèm",
+ "Maximum file size of {size} exceeded" : "Đã vượt quá kích thước {size} tối đa tập tin",
"Save" : "Lưu",
"Reply" : "Trả l",
"Update" : "Cập nhật",
diff --git a/l10n/zh_CN.js b/l10n/zh_CN.js
index 443f79c63..3c4d07faa 100644
--- a/l10n/zh_CN.js
+++ b/l10n/zh_CN.js
@@ -159,6 +159,9 @@ OC.L10N.register(
"Modified" : "已修改",
"Created" : "已创建",
"Upload attachment" : "上传附件",
+ "File already exists" : "文件已存在",
+ "Do you want to overwrite it?" : "您确定要覆盖吗?",
+ "Maximum file size of {size} exceeded" : "文件大小 {size} 超出最大限制",
"No comments yet. Begin the discussion!" : "还没有评论。 开始讨论吧!",
"Save" : "保存",
"The comment cannot be empty." : "注释不能为空。",
diff --git a/l10n/zh_CN.json b/l10n/zh_CN.json
index ba625c48f..53eac13a9 100644
--- a/l10n/zh_CN.json
+++ b/l10n/zh_CN.json
@@ -157,6 +157,9 @@
"Modified" : "已修改",
"Created" : "已创建",
"Upload attachment" : "上传附件",
+ "File already exists" : "文件已存在",
+ "Do you want to overwrite it?" : "您确定要覆盖吗?",
+ "Maximum file size of {size} exceeded" : "文件大小 {size} 超出最大限制",
"No comments yet. Begin the discussion!" : "还没有评论。 开始讨论吧!",
"Save" : "保存",
"The comment cannot be empty." : "注释不能为空。",
diff --git a/l10n/zh_TW.js b/l10n/zh_TW.js
index d7def8c17..30a9b745b 100644
--- a/l10n/zh_TW.js
+++ b/l10n/zh_TW.js
@@ -45,6 +45,8 @@ OC.L10N.register(
"Modified" : "已修改",
"Created" : "已新增",
"Upload attachment" : "上傳附件",
+ "File already exists" : "檔案已存在",
+ "Maximum file size of {size} exceeded" : "達到最大的檔案大小 {size} ",
"Save" : "儲存",
"Reply" : "回覆",
"Update" : "更新",
diff --git a/l10n/zh_TW.json b/l10n/zh_TW.json
index fb6f3f9ff..ff0ed93b0 100644
--- a/l10n/zh_TW.json
+++ b/l10n/zh_TW.json
@@ -43,6 +43,8 @@
"Modified" : "已修改",
"Created" : "已新增",
"Upload attachment" : "上傳附件",
+ "File already exists" : "檔案已存在",
+ "Maximum file size of {size} exceeded" : "達到最大的檔案大小 {size} ",
"Save" : "儲存",
"Reply" : "回覆",
"Update" : "更新",
diff --git a/lib/Controller/PageController.php b/lib/Controller/PageController.php
index bcd45b1c6..720b4aaff 100644
--- a/lib/Controller/PageController.php
+++ b/lib/Controller/PageController.php
@@ -23,7 +23,9 @@
namespace OCA\Deck\Controller;
+use OCA\Deck\AppInfo\Application;
use OCA\Deck\Service\PermissionService;
+use OCP\IInitialStateService;
use OCP\IRequest;
use OCP\AppFramework\Http\TemplateResponse;
use OCP\AppFramework\Controller;
@@ -34,11 +36,13 @@ class PageController extends Controller {
private $permissionService;
private $userId;
private $l10n;
+ private $initialState;
public function __construct(
$AppName,
IRequest $request,
PermissionService $permissionService,
+ IInitialStateService $initialStateService,
IL10N $l10n,
$userId
) {
@@ -46,6 +50,7 @@ class PageController extends Controller {
$this->userId = $userId;
$this->permissionService = $permissionService;
+ $this->initialState = $initialStateService;
$this->l10n = $l10n;
}
@@ -57,13 +62,10 @@ class PageController extends Controller {
* @NoCSRFRequired
*/
public function index() {
- $params = [
- 'user' => $this->userId,
- 'maxUploadSize' => (int)\OCP\Util::uploadLimit(),
- 'canCreate' => $this->permissionService->canCreate()
- ];
+ $this->initialState->provideInitialState(Application::APP_ID, 'maxUploadSize', (int)\OCP\Util::uploadLimit());
+ $this->initialState->provideInitialState(Application::APP_ID, 'canCreate', $this->permissionService->canCreate());
- return new TemplateResponse('deck', 'main', $params);
+ return new TemplateResponse('deck', 'main');
}
}
diff --git a/package-lock.json b/package-lock.json
index 7b326bd34..07efc94ac 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -3500,6 +3500,21 @@
}
}
},
+ "@nextcloud/initial-state": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@nextcloud/initial-state/-/initial-state-1.1.0.tgz",
+ "integrity": "sha512-c8VNSv7CbcPdaMNQO3ERJUMhsGyCvAgSBlvBHhugYHxGqlySjE+J+SqkpXmqB+eQ/DujDTahBX1IwoF3zjPtOw==",
+ "requires": {
+ "core-js": "3.6.1"
+ },
+ "dependencies": {
+ "core-js": {
+ "version": "3.6.1",
+ "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.6.1.tgz",
+ "integrity": "sha512-186WjSik2iTGfDjfdCZAxv2ormxtKgemjC3SI6PL31qOA0j5LhTDVjHChccoc7brwLvpvLPiMyRlcO88C4l1QQ=="
+ }
+ }
+ },
"@nextcloud/l10n": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@nextcloud/l10n/-/l10n-1.1.0.tgz",
diff --git a/package.json b/package.json
index 6ff7e4314..3dc8aac7b 100644
--- a/package.json
+++ b/package.json
@@ -31,9 +31,10 @@
"@juliushaertl/vue-richtext": "^0.3.0",
"@nextcloud/auth": "^1.2.1",
"@nextcloud/axios": "^1.3.1",
- "@nextcloud/l10n": "^1.1.0",
"@nextcloud/dialogs": "^1.2.1",
"@nextcloud/files": "^1.0.0",
+ "@nextcloud/initial-state": "^1.1.0",
+ "@nextcloud/l10n": "^1.1.0",
"@nextcloud/moment": "^1.1.0",
"@nextcloud/router": "^1.0.0",
"@nextcloud/vue": "^1.4.0",
diff --git a/src/components/card/CardSidebarTabAttachments.vue b/src/components/card/CardSidebarTabAttachments.vue
index d82620a1f..9fe95e786 100644
--- a/src/components/card/CardSidebarTabAttachments.vue
+++ b/src/components/card/CardSidebarTabAttachments.vue
@@ -106,6 +106,9 @@ import { showError } from '@nextcloud/dialogs'
import { formatFileSize } from '@nextcloud/files'
import relativeDate from '../../mixins/relativeDate'
import { mapState } from 'vuex'
+import { loadState } from '@nextcloud/initial-state'
+const maxUploadSizeState = loadState('deck', 'maxUploadSize')
+
export default {
name: 'CardSidebarTabAttachments',
@@ -127,6 +130,7 @@ export default {
file: '',
overwriteAttachment: null,
isDraggingOver: false,
+ maxUploadSize: maxUploadSizeState,
}
},
computed: {
@@ -188,11 +192,19 @@ export default {
this.$refs.localAttachments.click()
},
async onLocalAttachmentSelected(file) {
+ if (this.maxUploadSize > 0 && file.size > this.maxUploadSize) {
+ showError(
+ t('deck', `Failed to upload {name}`, { name: file.name }) + ' - '
+ + t('deck', 'Maximum file size of {size} exceeded', { size: formatFileSize(this.maxUploadSize) })
+ )
+ event.target.value = ''
+ return
+ }
+
const bodyFormData = new FormData()
bodyFormData.append('cardId', this.card.id)
bodyFormData.append('type', 'deck_file')
bodyFormData.append('file', file)
- this.file = file
try {
await this.$store.dispatch('createAttachment', { cardId: this.card.id, formData: bodyFormData })
} catch (err) {
diff --git a/src/components/navigation/AppNavigation.vue b/src/components/navigation/AppNavigation.vue
index 2e48baa6c..e9919dac5 100644
--- a/src/components/navigation/AppNavigation.vue
+++ b/src/components/navigation/AppNavigation.vue
@@ -39,7 +39,7 @@
:text="t('deck', 'Shared boards')"
:boards="sharedBoards"
icon="icon-shared" />
-