diff options
Diffstat (limited to 'apps/files_sharing')
42 files changed, 176 insertions, 55 deletions
diff --git a/apps/files_sharing/css/icons.css b/apps/files_sharing/css/icons.css index ff5c5844df6..3c5fbf8539d 100644 --- a/apps/files_sharing/css/icons.css +++ b/apps/files_sharing/css/icons.css @@ -77,18 +77,15 @@ * @returns A background image with the url to the set to the requested icon. */ .icon-room { - /* $dir is the app name, so we add this to the icon var to avoid conflicts between apps */ - background-image: var(--icon-app-dark); + background-image: var(--icon-talk-dark); } .icon-circle { - /* $dir is the app name, so we add this to the icon var to avoid conflicts between apps */ background-image: var(--icon-circles-dark); } .icon-guests { - /* $dir is the app name, so we add this to the icon var to avoid conflicts between apps */ - background-image: var(--icon-app-dark); + background-image: var(--icon-user-dark); } /*# sourceMappingURL=icons.css.map */ diff --git a/apps/files_sharing/css/icons.css.map b/apps/files_sharing/css/icons.css.map index a2766ac03f7..09610c8b8fe 100644 --- a/apps/files_sharing/css/icons.css.map +++ b/apps/files_sharing/css/icons.css.map @@ -1 +1 @@ -{"version":3,"sourceRoot":"","sources":["../../../core/css/variables.scss","icons.scss","../../../core/css/functions.scss"],"names":[],"mappings":";AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAsBA;AAAA;AAAA;AA4BA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ADzBA;ACsCC;EAEA;;;ADrCD;ACmCC;EAEA;;;ADlCD;ACgCC;EAEA","file":"icons.css"}
\ No newline at end of file +{"version":3,"sourceRoot":"","sources":["../../../core/css/variables.scss","icons.scss","../../../core/css/functions.scss"],"names":[],"mappings":";AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAsBA;AAAA;AAAA;AA4BA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ADzBA;EACC;;;AAED;EACC;;;AAED;EACC","file":"icons.css"}
\ No newline at end of file diff --git a/apps/files_sharing/css/icons.scss b/apps/files_sharing/css/icons.scss index 529d8bd5100..21bd1bde019 100644 --- a/apps/files_sharing/css/icons.scss +++ b/apps/files_sharing/css/icons.scss @@ -24,11 +24,11 @@ // This is the icons used in the sharing ui (multiselect) .icon-room { - @include icon-color('app', 'spreed', variables.$color-black); + background-image: var(--icon-talk-dark); } .icon-circle { - @include icon-color('circles', 'circles', variables.$color-black, 3, false); + background-image: var(--icon-circles-dark); } .icon-guests { - @include icon-color('app', 'guests', variables.$color-black); + background-image: var(--icon-user-dark); }
\ No newline at end of file diff --git a/apps/files_sharing/l10n/bg.js b/apps/files_sharing/l10n/bg.js index fb1c4f99259..0ba9c30cdec 100644 --- a/apps/files_sharing/l10n/bg.js +++ b/apps/files_sharing/l10n/bg.js @@ -210,6 +210,7 @@ OC.L10N.register( "Share link" : "Връзка за споделяне", "Error, please enter proper password and/or expiration date" : "Грешка, моля да въведете правилната парола и / или срок на годност", "Error while creating the share" : "Грешка при създаване на споделянето", + "Search for share recipients" : "Търсене на получатели на споделяне", "No recommendations. Start typing." : "Няма препоръки. Започнете да пишете.", "Resharing is not allowed" : "Повторното споделяне е забранено", "Name or email …" : "Име или имейл", diff --git a/apps/files_sharing/l10n/bg.json b/apps/files_sharing/l10n/bg.json index a86c43374c7..c1b4638eb03 100644 --- a/apps/files_sharing/l10n/bg.json +++ b/apps/files_sharing/l10n/bg.json @@ -208,6 +208,7 @@ "Share link" : "Връзка за споделяне", "Error, please enter proper password and/or expiration date" : "Грешка, моля да въведете правилната парола и / или срок на годност", "Error while creating the share" : "Грешка при създаване на споделянето", + "Search for share recipients" : "Търсене на получатели на споделяне", "No recommendations. Start typing." : "Няма препоръки. Започнете да пишете.", "Resharing is not allowed" : "Повторното споделяне е забранено", "Name or email …" : "Име или имейл", diff --git a/apps/files_sharing/l10n/ca.js b/apps/files_sharing/l10n/ca.js index cbd5f7a8a75..6046cc4b116 100644 --- a/apps/files_sharing/l10n/ca.js +++ b/apps/files_sharing/l10n/ca.js @@ -13,7 +13,7 @@ OC.L10N.register( "Deleted shares" : "Comparticions suprimides", "No deleted shares" : "No hi ha cap compartició suprimida", "Shares you deleted will show up here" : "Les comparticions que heu suprimit es mostraran aquí", - "Pending shares" : "Compartits pendents", + "Pending shares" : "Comparticions pendents", "No pending shares" : "Sense comparticions pendents", "Shares you have received but not confirmed will show up here" : "Les comparticions que heu rebut però no confirmades es mostraran aquí", "Shares" : "Comparticions", @@ -31,9 +31,9 @@ OC.L10N.register( "finished" : "finalitzat", "This will stop your current uploads." : "Això aturarà les càrregues actuals.", "Move or copy" : "Mou o copia", - "Download" : "Baixa", + "Download" : "Baixada", "Delete" : "Suprimeix", - "You can upload into this folder" : "Podeu carregar dins d'aquesta carpeta", + "You can upload into this folder" : "Podeu pujar dins d'aquesta carpeta", "Terms of service" : "Condicions del servei", "Show list view" : "Mostra en vista de llista", "Show grid view" : "Mostra en vista de graella", @@ -209,6 +209,10 @@ OC.L10N.register( "Share link ({label})" : "Comparteix l'enllaç ({label})", "Share link" : "Enllaç de compartició", "Error, please enter proper password and/or expiration date" : "Error, introduïu la contrasenya i/o data de caducitat adequades", + "Error while creating the share" : "S'ha produït un error en crear la compartició", + "Share label saved" : "S'ha desat l'etiqueta de compartició", + "Share password saved" : "S’ha desat la contrasenya de compartició", + "Search for share recipients" : "Cerca destinataris compartits", "No recommendations. Start typing." : "No hi ha recomanacions. Comenceu a escriure.", "Resharing is not allowed" : "No està permesa la re-compartició", "Name or email …" : "Nom o correu …", @@ -231,6 +235,9 @@ OC.L10N.register( "Error creating the share" : "S'ha produït un error en crear la compartició", "Error updating the share: {errorMessage}" : "Error en actualitzar la compartició: {errorMessage}", "Error updating the share" : "S'ha produït un error en actualitzar la compartició", + "Share note saved" : "S'ha desat la nota de compartició", + "File \"{path}\" has been unshared" : "El fitxer “{path}” s’ha deixat de compartir", + "Folder \"{path}\" has been unshared" : "La carpeta \"{path}\" s'ha deixat de compartir", "Shared" : "Compartit", "Share" : "Comparteix", "Shared with" : "Compartit amb", diff --git a/apps/files_sharing/l10n/ca.json b/apps/files_sharing/l10n/ca.json index 61048247aa7..f89c88f3b3a 100644 --- a/apps/files_sharing/l10n/ca.json +++ b/apps/files_sharing/l10n/ca.json @@ -11,7 +11,7 @@ "Deleted shares" : "Comparticions suprimides", "No deleted shares" : "No hi ha cap compartició suprimida", "Shares you deleted will show up here" : "Les comparticions que heu suprimit es mostraran aquí", - "Pending shares" : "Compartits pendents", + "Pending shares" : "Comparticions pendents", "No pending shares" : "Sense comparticions pendents", "Shares you have received but not confirmed will show up here" : "Les comparticions que heu rebut però no confirmades es mostraran aquí", "Shares" : "Comparticions", @@ -29,9 +29,9 @@ "finished" : "finalitzat", "This will stop your current uploads." : "Això aturarà les càrregues actuals.", "Move or copy" : "Mou o copia", - "Download" : "Baixa", + "Download" : "Baixada", "Delete" : "Suprimeix", - "You can upload into this folder" : "Podeu carregar dins d'aquesta carpeta", + "You can upload into this folder" : "Podeu pujar dins d'aquesta carpeta", "Terms of service" : "Condicions del servei", "Show list view" : "Mostra en vista de llista", "Show grid view" : "Mostra en vista de graella", @@ -207,6 +207,10 @@ "Share link ({label})" : "Comparteix l'enllaç ({label})", "Share link" : "Enllaç de compartició", "Error, please enter proper password and/or expiration date" : "Error, introduïu la contrasenya i/o data de caducitat adequades", + "Error while creating the share" : "S'ha produït un error en crear la compartició", + "Share label saved" : "S'ha desat l'etiqueta de compartició", + "Share password saved" : "S’ha desat la contrasenya de compartició", + "Search for share recipients" : "Cerca destinataris compartits", "No recommendations. Start typing." : "No hi ha recomanacions. Comenceu a escriure.", "Resharing is not allowed" : "No està permesa la re-compartició", "Name or email …" : "Nom o correu …", @@ -229,6 +233,9 @@ "Error creating the share" : "S'ha produït un error en crear la compartició", "Error updating the share: {errorMessage}" : "Error en actualitzar la compartició: {errorMessage}", "Error updating the share" : "S'ha produït un error en actualitzar la compartició", + "Share note saved" : "S'ha desat la nota de compartició", + "File \"{path}\" has been unshared" : "El fitxer “{path}” s’ha deixat de compartir", + "Folder \"{path}\" has been unshared" : "La carpeta \"{path}\" s'ha deixat de compartir", "Shared" : "Compartit", "Share" : "Comparteix", "Shared with" : "Compartit amb", diff --git a/apps/files_sharing/l10n/cs.js b/apps/files_sharing/l10n/cs.js index 3a157d536a7..ab3eba688b2 100644 --- a/apps/files_sharing/l10n/cs.js +++ b/apps/files_sharing/l10n/cs.js @@ -210,6 +210,9 @@ OC.L10N.register( "Share link" : "Odkaz pro sdílení", "Error, please enter proper password and/or expiration date" : "Chyba – zadejte správné heslo a/nebo datum skončení platnosti", "Error while creating the share" : "Chyba při vytváření sdílení", + "Share label saved" : "Štítek sdílení uložen", + "Share password saved" : "Heslo ke sdílení uloženo", + "Search for share recipients" : "Vyhledat příjemce sdílení", "No recommendations. Start typing." : "Žádná doporučení. Pište", "Resharing is not allowed" : "Příjemcům tohoto sdílení není dovoleno ho nasdílet dál dalším", "Name or email …" : "Jméno nebo e-mail…", @@ -232,6 +235,9 @@ OC.L10N.register( "Error creating the share" : "Chyba při vytváření sdílení", "Error updating the share: {errorMessage}" : "Chyba při aktualizaci sdílení: {errorMessage}", "Error updating the share" : "Chyba při aktualizaci sdílení", + "Share note saved" : "Poznámka ke sdílení uložena", + "File \"{path}\" has been unshared" : "Sdílení souboru „{path}“ bylo zrušeno", + "Folder \"{path}\" has been unshared" : "Sdílení složky „{path}“ bylo zrušeno", "Shared" : "Sdíleno", "Share" : "Sdílet", "Shared with" : "Sdíleno s", diff --git a/apps/files_sharing/l10n/cs.json b/apps/files_sharing/l10n/cs.json index 13d7a4e188a..1b0fc367c01 100644 --- a/apps/files_sharing/l10n/cs.json +++ b/apps/files_sharing/l10n/cs.json @@ -208,6 +208,9 @@ "Share link" : "Odkaz pro sdílení", "Error, please enter proper password and/or expiration date" : "Chyba – zadejte správné heslo a/nebo datum skončení platnosti", "Error while creating the share" : "Chyba při vytváření sdílení", + "Share label saved" : "Štítek sdílení uložen", + "Share password saved" : "Heslo ke sdílení uloženo", + "Search for share recipients" : "Vyhledat příjemce sdílení", "No recommendations. Start typing." : "Žádná doporučení. Pište", "Resharing is not allowed" : "Příjemcům tohoto sdílení není dovoleno ho nasdílet dál dalším", "Name or email …" : "Jméno nebo e-mail…", @@ -230,6 +233,9 @@ "Error creating the share" : "Chyba při vytváření sdílení", "Error updating the share: {errorMessage}" : "Chyba při aktualizaci sdílení: {errorMessage}", "Error updating the share" : "Chyba při aktualizaci sdílení", + "Share note saved" : "Poznámka ke sdílení uložena", + "File \"{path}\" has been unshared" : "Sdílení souboru „{path}“ bylo zrušeno", + "Folder \"{path}\" has been unshared" : "Sdílení složky „{path}“ bylo zrušeno", "Shared" : "Sdíleno", "Share" : "Sdílet", "Shared with" : "Sdíleno s", diff --git a/apps/files_sharing/l10n/de_DE.js b/apps/files_sharing/l10n/de_DE.js index effd6893d22..4653b056185 100644 --- a/apps/files_sharing/l10n/de_DE.js +++ b/apps/files_sharing/l10n/de_DE.js @@ -210,6 +210,9 @@ OC.L10N.register( "Share link" : "Link teilen", "Error, please enter proper password and/or expiration date" : "Fehler. Bitte gebe das richtige Passwort und/oder Ablaufdatum ein", "Error while creating the share" : "Fehler beim Erstellen der Freigabe", + "Share label saved" : "Freigabe-Label gespeichert", + "Share password saved" : "Freigabe-Passwort gespeichert", + "Search for share recipients" : "Nach Freigabeempfängern suchen", "No recommendations. Start typing." : "Keine Empfehlungen. Beginnen Sie mit der Eingabe.", "Resharing is not allowed" : "Das Weiterteilen ist nicht erlaubt ", "Name or email …" : "Name oder E-Mail-Adresse …", @@ -232,6 +235,9 @@ OC.L10N.register( "Error creating the share" : "Fehler beim Erstellen der Freigabe", "Error updating the share: {errorMessage}" : "Fehler beim Aktualisieren der Freigabe: {errorMessage}", "Error updating the share" : "Fehler beim Aktualisieren der Freigabe", + "Share note saved" : "Freigabe-Notiz gespeichert", + "File \"{path}\" has been unshared" : "Freigabe für die Datei \"{path}\" wurde entfernt", + "Folder \"{path}\" has been unshared" : "Freigabe für den Ordner \"{path}\" wurde entfernt", "Shared" : "Geteilt", "Share" : "Teilen", "Shared with" : "Geteilt mit", diff --git a/apps/files_sharing/l10n/de_DE.json b/apps/files_sharing/l10n/de_DE.json index 149cd2243bb..257f88246ad 100644 --- a/apps/files_sharing/l10n/de_DE.json +++ b/apps/files_sharing/l10n/de_DE.json @@ -208,6 +208,9 @@ "Share link" : "Link teilen", "Error, please enter proper password and/or expiration date" : "Fehler. Bitte gebe das richtige Passwort und/oder Ablaufdatum ein", "Error while creating the share" : "Fehler beim Erstellen der Freigabe", + "Share label saved" : "Freigabe-Label gespeichert", + "Share password saved" : "Freigabe-Passwort gespeichert", + "Search for share recipients" : "Nach Freigabeempfängern suchen", "No recommendations. Start typing." : "Keine Empfehlungen. Beginnen Sie mit der Eingabe.", "Resharing is not allowed" : "Das Weiterteilen ist nicht erlaubt ", "Name or email …" : "Name oder E-Mail-Adresse …", @@ -230,6 +233,9 @@ "Error creating the share" : "Fehler beim Erstellen der Freigabe", "Error updating the share: {errorMessage}" : "Fehler beim Aktualisieren der Freigabe: {errorMessage}", "Error updating the share" : "Fehler beim Aktualisieren der Freigabe", + "Share note saved" : "Freigabe-Notiz gespeichert", + "File \"{path}\" has been unshared" : "Freigabe für die Datei \"{path}\" wurde entfernt", + "Folder \"{path}\" has been unshared" : "Freigabe für den Ordner \"{path}\" wurde entfernt", "Shared" : "Geteilt", "Share" : "Teilen", "Shared with" : "Geteilt mit", diff --git a/apps/files_sharing/l10n/en_GB.js b/apps/files_sharing/l10n/en_GB.js index 450b596d0d7..912dc803774 100644 --- a/apps/files_sharing/l10n/en_GB.js +++ b/apps/files_sharing/l10n/en_GB.js @@ -210,6 +210,7 @@ OC.L10N.register( "Share link" : "Share link", "Error, please enter proper password and/or expiration date" : "Error, please enter proper password and/or expiration date", "Error while creating the share" : "Error while creating the share", + "Search for share recipients" : "Search for share recipients", "No recommendations. Start typing." : "No recommendations. Start typing.", "Resharing is not allowed" : "Resharing is not allowed", "Name or email …" : "Name or email …", diff --git a/apps/files_sharing/l10n/en_GB.json b/apps/files_sharing/l10n/en_GB.json index d675c4a4335..5a4d94a880f 100644 --- a/apps/files_sharing/l10n/en_GB.json +++ b/apps/files_sharing/l10n/en_GB.json @@ -208,6 +208,7 @@ "Share link" : "Share link", "Error, please enter proper password and/or expiration date" : "Error, please enter proper password and/or expiration date", "Error while creating the share" : "Error while creating the share", + "Search for share recipients" : "Search for share recipients", "No recommendations. Start typing." : "No recommendations. Start typing.", "Resharing is not allowed" : "Resharing is not allowed", "Name or email …" : "Name or email …", diff --git a/apps/files_sharing/l10n/es.js b/apps/files_sharing/l10n/es.js index 9e18bd8ffd3..27cd3f164b6 100644 --- a/apps/files_sharing/l10n/es.js +++ b/apps/files_sharing/l10n/es.js @@ -210,6 +210,7 @@ OC.L10N.register( "Share link" : "Compartir enlace", "Error, please enter proper password and/or expiration date" : "Error, por favor, introduce la contraseña y/o fecha de caducidad adecuada", "Error while creating the share" : "Error mientras se creaba el recurso compartido", + "Search for share recipients" : "Buscar destinatarios del compartido", "No recommendations. Start typing." : "No hay recomendaciones. Comience a escribir.", "Resharing is not allowed" : "No se permite compartir de nuevo", "Name or email …" : "Nombre o correo electrónico …", diff --git a/apps/files_sharing/l10n/es.json b/apps/files_sharing/l10n/es.json index eda4f21b273..a1a824bad87 100644 --- a/apps/files_sharing/l10n/es.json +++ b/apps/files_sharing/l10n/es.json @@ -208,6 +208,7 @@ "Share link" : "Compartir enlace", "Error, please enter proper password and/or expiration date" : "Error, por favor, introduce la contraseña y/o fecha de caducidad adecuada", "Error while creating the share" : "Error mientras se creaba el recurso compartido", + "Search for share recipients" : "Buscar destinatarios del compartido", "No recommendations. Start typing." : "No hay recomendaciones. Comience a escribir.", "Resharing is not allowed" : "No se permite compartir de nuevo", "Name or email …" : "Nombre o correo electrónico …", diff --git a/apps/files_sharing/l10n/fr.js b/apps/files_sharing/l10n/fr.js index 6d173f1e934..a598cdab0a6 100644 --- a/apps/files_sharing/l10n/fr.js +++ b/apps/files_sharing/l10n/fr.js @@ -209,6 +209,8 @@ OC.L10N.register( "Share link ({label})" : "Lien de partage ({label})", "Share link" : "Lien de partage", "Error, please enter proper password and/or expiration date" : "Erreur. Merci d'entrer un mot de passe valide et/ou une date d'expiration", + "Error while creating the share" : "Erreur lors de la création du partage", + "Search for share recipients" : "Recherche les destinataires du partage", "No recommendations. Start typing." : "Aucune recommandation. Commencez à écrire.", "Resharing is not allowed" : "Le repartage n'est pas autorisé", "Name or email …" : "Nom ou adresse e-mail...", diff --git a/apps/files_sharing/l10n/fr.json b/apps/files_sharing/l10n/fr.json index 91781467de2..1f1e57d4d7f 100644 --- a/apps/files_sharing/l10n/fr.json +++ b/apps/files_sharing/l10n/fr.json @@ -207,6 +207,8 @@ "Share link ({label})" : "Lien de partage ({label})", "Share link" : "Lien de partage", "Error, please enter proper password and/or expiration date" : "Erreur. Merci d'entrer un mot de passe valide et/ou une date d'expiration", + "Error while creating the share" : "Erreur lors de la création du partage", + "Search for share recipients" : "Recherche les destinataires du partage", "No recommendations. Start typing." : "Aucune recommandation. Commencez à écrire.", "Resharing is not allowed" : "Le repartage n'est pas autorisé", "Name or email …" : "Nom ou adresse e-mail...", diff --git a/apps/files_sharing/l10n/hu.js b/apps/files_sharing/l10n/hu.js index 81dc89e28da..bb8b7718404 100644 --- a/apps/files_sharing/l10n/hu.js +++ b/apps/files_sharing/l10n/hu.js @@ -210,6 +210,7 @@ OC.L10N.register( "Share link" : "Megosztási hivatkozás", "Error, please enter proper password and/or expiration date" : "Hiba, írja be a megfelelő jelszót vagy lejárati dátumot", "Error while creating the share" : "Hiba a megosztás létrehozása során", + "Search for share recipients" : "Megosztás résztvevőinek keresése", "No recommendations. Start typing." : "Nincs javaslat. Kezdjen gépelni.", "Resharing is not allowed" : "A megosztás továbbadása nem engedélyezett", "Name or email …" : "Név vagy e-mail-cím…", diff --git a/apps/files_sharing/l10n/hu.json b/apps/files_sharing/l10n/hu.json index 44f6e3eb2aa..eaf232af3e3 100644 --- a/apps/files_sharing/l10n/hu.json +++ b/apps/files_sharing/l10n/hu.json @@ -208,6 +208,7 @@ "Share link" : "Megosztási hivatkozás", "Error, please enter proper password and/or expiration date" : "Hiba, írja be a megfelelő jelszót vagy lejárati dátumot", "Error while creating the share" : "Hiba a megosztás létrehozása során", + "Search for share recipients" : "Megosztás résztvevőinek keresése", "No recommendations. Start typing." : "Nincs javaslat. Kezdjen gépelni.", "Resharing is not allowed" : "A megosztás továbbadása nem engedélyezett", "Name or email …" : "Név vagy e-mail-cím…", diff --git a/apps/files_sharing/l10n/mk.js b/apps/files_sharing/l10n/mk.js index 6d9731f00c2..f6974608a13 100644 --- a/apps/files_sharing/l10n/mk.js +++ b/apps/files_sharing/l10n/mk.js @@ -209,6 +209,8 @@ OC.L10N.register( "Share link ({label})" : "Сподели линк ({label})", "Share link" : "Сподели линк", "Error, please enter proper password and/or expiration date" : "Грешка, внесете лозинка и/или рок на траење", + "Error while creating the share" : "Грешка при креирање на споделување", + "Search for share recipients" : "Пребарај за примачи на споделувањето", "No recommendations. Start typing." : "Нема препораки. Започнете со пишување.", "Resharing is not allowed" : "Повторно споделување не е дозволено", "Name or email …" : "Име или е-пошта ...", diff --git a/apps/files_sharing/l10n/mk.json b/apps/files_sharing/l10n/mk.json index ebb27b38fd3..5da1a3cee11 100644 --- a/apps/files_sharing/l10n/mk.json +++ b/apps/files_sharing/l10n/mk.json @@ -207,6 +207,8 @@ "Share link ({label})" : "Сподели линк ({label})", "Share link" : "Сподели линк", "Error, please enter proper password and/or expiration date" : "Грешка, внесете лозинка и/или рок на траење", + "Error while creating the share" : "Грешка при креирање на споделување", + "Search for share recipients" : "Пребарај за примачи на споделувањето", "No recommendations. Start typing." : "Нема препораки. Започнете со пишување.", "Resharing is not allowed" : "Повторно споделување не е дозволено", "Name or email …" : "Име или е-пошта ...", diff --git a/apps/files_sharing/l10n/pl.js b/apps/files_sharing/l10n/pl.js index e68e7b560ae..2f2c3ec6daa 100644 --- a/apps/files_sharing/l10n/pl.js +++ b/apps/files_sharing/l10n/pl.js @@ -210,6 +210,7 @@ OC.L10N.register( "Share link" : "Udostępnij link", "Error, please enter proper password and/or expiration date" : "Błąd, wprowadź prawidłowe hasło i/lub datę ważności", "Error while creating the share" : "Błąd podczas tworzenia udostępniania", + "Search for share recipients" : "Szukaj odbiorców udostępnienia", "No recommendations. Start typing." : "Brak rekomendacji. Możesz napisać.", "Resharing is not allowed" : "Udostępnianie dalej jest niedozwolone", "Name or email …" : "Nazwa lub adres e-mail…", diff --git a/apps/files_sharing/l10n/pl.json b/apps/files_sharing/l10n/pl.json index 326ef7e291d..1adf0109869 100644 --- a/apps/files_sharing/l10n/pl.json +++ b/apps/files_sharing/l10n/pl.json @@ -208,6 +208,7 @@ "Share link" : "Udostępnij link", "Error, please enter proper password and/or expiration date" : "Błąd, wprowadź prawidłowe hasło i/lub datę ważności", "Error while creating the share" : "Błąd podczas tworzenia udostępniania", + "Search for share recipients" : "Szukaj odbiorców udostępnienia", "No recommendations. Start typing." : "Brak rekomendacji. Możesz napisać.", "Resharing is not allowed" : "Udostępnianie dalej jest niedozwolone", "Name or email …" : "Nazwa lub adres e-mail…", diff --git a/apps/files_sharing/l10n/pt_BR.js b/apps/files_sharing/l10n/pt_BR.js index bf5effcfee5..69dc5c70110 100644 --- a/apps/files_sharing/l10n/pt_BR.js +++ b/apps/files_sharing/l10n/pt_BR.js @@ -15,7 +15,7 @@ OC.L10N.register( "Shares you deleted will show up here" : "Compartilhamentos apagados aparecem aqui", "Pending shares" : "Compartilhamentos pendentes", "No pending shares" : "Não há compartilhamentos pendentes", - "Shares you have received but not confirmed will show up here" : "Compartilhamentos que você recebeu mas não confirmou, serão exibidos aqui", + "Shares you have received but not confirmed will show up here" : "Compartilhamentos que você recebeu, mas ainda não confirmou, serão exibidos aqui", "Shares" : "Compartilhamentos", "No shares" : "Sem compartilhamentos", "Shares will show up here" : "Compartilhamentos serão mostrados aqui", diff --git a/apps/files_sharing/l10n/pt_BR.json b/apps/files_sharing/l10n/pt_BR.json index 4d97d256966..4543f9e76ac 100644 --- a/apps/files_sharing/l10n/pt_BR.json +++ b/apps/files_sharing/l10n/pt_BR.json @@ -13,7 +13,7 @@ "Shares you deleted will show up here" : "Compartilhamentos apagados aparecem aqui", "Pending shares" : "Compartilhamentos pendentes", "No pending shares" : "Não há compartilhamentos pendentes", - "Shares you have received but not confirmed will show up here" : "Compartilhamentos que você recebeu mas não confirmou, serão exibidos aqui", + "Shares you have received but not confirmed will show up here" : "Compartilhamentos que você recebeu, mas ainda não confirmou, serão exibidos aqui", "Shares" : "Compartilhamentos", "No shares" : "Sem compartilhamentos", "Shares will show up here" : "Compartilhamentos serão mostrados aqui", diff --git a/apps/files_sharing/l10n/ru.js b/apps/files_sharing/l10n/ru.js index ff1e3b1edfc..d9ce361cafa 100644 --- a/apps/files_sharing/l10n/ru.js +++ b/apps/files_sharing/l10n/ru.js @@ -176,9 +176,11 @@ OC.L10N.register( "Shared with the group {user} by {owner}" : "{owner} предоставил(а) доступ группе {group}", "Shared with the conversation {user} by {owner}" : "Пользователь {owner} предоставил(а) {user} доступ во время беседы", "Shared with {user} by {owner}" : "{owner} предоставил(а) доступ {user} ", + "Allow download" : "Разрешить скачивать", "Added by {initiator}" : "Добавлено пользователем {initiator}", "Via “{folder}”" : "Через «{folder}»", "Internal link" : "Внутренняя ссылка", + "Copy internal link to clipboard" : "Скопировать внутреннюю ссылку в буфер обмена", "Link copied" : "Ссылка скопирована", "Cannot copy, please copy the link manually" : "Не удалось скопировать, выполните копирование вручную", "Copy to clipboard" : "Копировать в буфер обмена", @@ -207,6 +209,8 @@ OC.L10N.register( "Share link ({label})" : "Ссылка общего доступа ({label})", "Share link" : "Общий доступ по ссылке", "Error, please enter proper password and/or expiration date" : "Введите действительный пароль и/или дату истечения", + "Error while creating the share" : "Не удалось создать общий ресурс", + "Search for share recipients" : "Найти больше получателей общего ресурса", "No recommendations. Start typing." : "Рекомендации отсутствуют, начните вводить символы", "Resharing is not allowed" : "Повторное открытие доступа запрещено", "Name or email …" : "Имя или адрес эл.почты…", diff --git a/apps/files_sharing/l10n/ru.json b/apps/files_sharing/l10n/ru.json index 53a5675423d..6bf2e20ce8a 100644 --- a/apps/files_sharing/l10n/ru.json +++ b/apps/files_sharing/l10n/ru.json @@ -174,9 +174,11 @@ "Shared with the group {user} by {owner}" : "{owner} предоставил(а) доступ группе {group}", "Shared with the conversation {user} by {owner}" : "Пользователь {owner} предоставил(а) {user} доступ во время беседы", "Shared with {user} by {owner}" : "{owner} предоставил(а) доступ {user} ", + "Allow download" : "Разрешить скачивать", "Added by {initiator}" : "Добавлено пользователем {initiator}", "Via “{folder}”" : "Через «{folder}»", "Internal link" : "Внутренняя ссылка", + "Copy internal link to clipboard" : "Скопировать внутреннюю ссылку в буфер обмена", "Link copied" : "Ссылка скопирована", "Cannot copy, please copy the link manually" : "Не удалось скопировать, выполните копирование вручную", "Copy to clipboard" : "Копировать в буфер обмена", @@ -205,6 +207,8 @@ "Share link ({label})" : "Ссылка общего доступа ({label})", "Share link" : "Общий доступ по ссылке", "Error, please enter proper password and/or expiration date" : "Введите действительный пароль и/или дату истечения", + "Error while creating the share" : "Не удалось создать общий ресурс", + "Search for share recipients" : "Найти больше получателей общего ресурса", "No recommendations. Start typing." : "Рекомендации отсутствуют, начните вводить символы", "Resharing is not allowed" : "Повторное открытие доступа запрещено", "Name or email …" : "Имя или адрес эл.почты…", diff --git a/apps/files_sharing/l10n/sk.js b/apps/files_sharing/l10n/sk.js index 01ac9d3c444..3cb3b776025 100644 --- a/apps/files_sharing/l10n/sk.js +++ b/apps/files_sharing/l10n/sk.js @@ -209,6 +209,8 @@ OC.L10N.register( "Share link ({label})" : "Odkaz na zdieľanie ({label})", "Share link" : "Sprístupniť odkaz", "Error, please enter proper password and/or expiration date" : "Chyba, zadajte správne heslo a/alebo dátum ukončenia platnosti", + "Error while creating the share" : "Chyba pri vytváraní zdieľania", + "Search for share recipients" : "Vyhľadanie ďalších účastníkov zdieľania", "No recommendations. Start typing." : "Žiadne odporúčania. Píšte.", "Resharing is not allowed" : "Opätovné sprístupňovanie nie je povolené", "Name or email …" : "Meno alebo e-mail …", diff --git a/apps/files_sharing/l10n/sk.json b/apps/files_sharing/l10n/sk.json index 5cca14d91cf..994e3fe6d50 100644 --- a/apps/files_sharing/l10n/sk.json +++ b/apps/files_sharing/l10n/sk.json @@ -207,6 +207,8 @@ "Share link ({label})" : "Odkaz na zdieľanie ({label})", "Share link" : "Sprístupniť odkaz", "Error, please enter proper password and/or expiration date" : "Chyba, zadajte správne heslo a/alebo dátum ukončenia platnosti", + "Error while creating the share" : "Chyba pri vytváraní zdieľania", + "Search for share recipients" : "Vyhľadanie ďalších účastníkov zdieľania", "No recommendations. Start typing." : "Žiadne odporúčania. Píšte.", "Resharing is not allowed" : "Opätovné sprístupňovanie nie je povolené", "Name or email …" : "Meno alebo e-mail …", diff --git a/apps/files_sharing/l10n/sv.js b/apps/files_sharing/l10n/sv.js index cbeb58552e9..741a157e708 100644 --- a/apps/files_sharing/l10n/sv.js +++ b/apps/files_sharing/l10n/sv.js @@ -210,6 +210,7 @@ OC.L10N.register( "Share link" : "Dela länk", "Error, please enter proper password and/or expiration date" : "Fel, ange korrekt lösenord och/eller utgångsdatum", "Error while creating the share" : "Det gick inte att skapa delningen", + "Search for share recipients" : "Sök efter delningsmottagare", "No recommendations. Start typing." : "Inga rekommendationer. Börja skriva.", "Resharing is not allowed" : "Dela vidare är inte tillåtet", "Name or email …" : "Namn eller e-post ...", diff --git a/apps/files_sharing/l10n/sv.json b/apps/files_sharing/l10n/sv.json index 6de0d54d70c..caee4541ea7 100644 --- a/apps/files_sharing/l10n/sv.json +++ b/apps/files_sharing/l10n/sv.json @@ -208,6 +208,7 @@ "Share link" : "Dela länk", "Error, please enter proper password and/or expiration date" : "Fel, ange korrekt lösenord och/eller utgångsdatum", "Error while creating the share" : "Det gick inte att skapa delningen", + "Search for share recipients" : "Sök efter delningsmottagare", "No recommendations. Start typing." : "Inga rekommendationer. Börja skriva.", "Resharing is not allowed" : "Dela vidare är inte tillåtet", "Name or email …" : "Namn eller e-post ...", diff --git a/apps/files_sharing/l10n/tr.js b/apps/files_sharing/l10n/tr.js index 6421a780d10..0bf21796e49 100644 --- a/apps/files_sharing/l10n/tr.js +++ b/apps/files_sharing/l10n/tr.js @@ -194,7 +194,7 @@ OC.L10N.register( "Expiration date (enforced)" : "Son kullanma tarihi (dayatılmış)", "Create share" : "Paylaşım ekle", "Cancel" : "İptal", - "Share label" : "Etiketi paylaş", + "Share label" : "Paylaşım etiketi", "Hide download" : "İndirme gizlensin", "Password protect" : "Parola koruması", "Password expires {passwordExpirationTime}" : "Parolanın geçerlilik süresi sonu {passwordExpirationTime}", @@ -205,11 +205,14 @@ OC.L10N.register( "Create a new share link" : "Yeni bir paylaşım bağlantısı ekle", "{shareWith} by {initiator}" : "{initiator} tarafından {shareWith}", "Shared via link by {initiator}" : "{initiator} tarafından bağlantı ile paylaşıldı", - "Mail share ({label})" : "E-posta paylaşımı ({label})", - "Share link ({label})" : "Bağlantıyı paylaş ({label})", + "Mail share ({label})" : "E-posta ile paylaş ({label})", + "Share link ({label})" : "Bağlantı ile paylaş ({label})", "Share link" : "Paylaşım bağlantısı", "Error, please enter proper password and/or expiration date" : "Hata. Lütfen uygun bir parola ya da son kullanma tarihi yazın", "Error while creating the share" : "Paylaşım oluşturulurken sorun çıktı", + "Share label saved" : "Paylaşım etiketi kaydedildi", + "Share password saved" : "Paylaşım parolası kaydedildi", + "Search for share recipients" : "Paylaşım alıcıları arayın", "No recommendations. Start typing." : "Herhangi bir öneri yok. Yazmaya başlayın.", "Resharing is not allowed" : "Yeniden paylaşıma izin verilmiyor", "Name or email …" : "Ad ya da e-posta adresi …", @@ -232,6 +235,9 @@ OC.L10N.register( "Error creating the share" : "Paylaşım oluşturulurken sorun çıktı", "Error updating the share: {errorMessage}" : "Paylaşım güncellenirken sorun çıktı: {errorMessage}", "Error updating the share" : "Paylaşım güncellenirken sorun çıktı", + "Share note saved" : "Paylaşım notu kaydedildi", + "File \"{path}\" has been unshared" : "\"{path}\" dosyası paylaşımdan kaldırıldı", + "Folder \"{path}\" has been unshared" : "\"{path}\" klasörü paylaşımdan kaldırıldı", "Shared" : "Paylaşılan", "Share" : "Paylaş", "Shared with" : "Şunlarla paylaşılmış", diff --git a/apps/files_sharing/l10n/tr.json b/apps/files_sharing/l10n/tr.json index bf5192f95d4..3b6f74d4a55 100644 --- a/apps/files_sharing/l10n/tr.json +++ b/apps/files_sharing/l10n/tr.json @@ -192,7 +192,7 @@ "Expiration date (enforced)" : "Son kullanma tarihi (dayatılmış)", "Create share" : "Paylaşım ekle", "Cancel" : "İptal", - "Share label" : "Etiketi paylaş", + "Share label" : "Paylaşım etiketi", "Hide download" : "İndirme gizlensin", "Password protect" : "Parola koruması", "Password expires {passwordExpirationTime}" : "Parolanın geçerlilik süresi sonu {passwordExpirationTime}", @@ -203,11 +203,14 @@ "Create a new share link" : "Yeni bir paylaşım bağlantısı ekle", "{shareWith} by {initiator}" : "{initiator} tarafından {shareWith}", "Shared via link by {initiator}" : "{initiator} tarafından bağlantı ile paylaşıldı", - "Mail share ({label})" : "E-posta paylaşımı ({label})", - "Share link ({label})" : "Bağlantıyı paylaş ({label})", + "Mail share ({label})" : "E-posta ile paylaş ({label})", + "Share link ({label})" : "Bağlantı ile paylaş ({label})", "Share link" : "Paylaşım bağlantısı", "Error, please enter proper password and/or expiration date" : "Hata. Lütfen uygun bir parola ya da son kullanma tarihi yazın", "Error while creating the share" : "Paylaşım oluşturulurken sorun çıktı", + "Share label saved" : "Paylaşım etiketi kaydedildi", + "Share password saved" : "Paylaşım parolası kaydedildi", + "Search for share recipients" : "Paylaşım alıcıları arayın", "No recommendations. Start typing." : "Herhangi bir öneri yok. Yazmaya başlayın.", "Resharing is not allowed" : "Yeniden paylaşıma izin verilmiyor", "Name or email …" : "Ad ya da e-posta adresi …", @@ -230,6 +233,9 @@ "Error creating the share" : "Paylaşım oluşturulurken sorun çıktı", "Error updating the share: {errorMessage}" : "Paylaşım güncellenirken sorun çıktı: {errorMessage}", "Error updating the share" : "Paylaşım güncellenirken sorun çıktı", + "Share note saved" : "Paylaşım notu kaydedildi", + "File \"{path}\" has been unshared" : "\"{path}\" dosyası paylaşımdan kaldırıldı", + "Folder \"{path}\" has been unshared" : "\"{path}\" klasörü paylaşımdan kaldırıldı", "Shared" : "Paylaşılan", "Share" : "Paylaş", "Shared with" : "Şunlarla paylaşılmış", diff --git a/apps/files_sharing/l10n/zh_HK.js b/apps/files_sharing/l10n/zh_HK.js index 9b425ed3508..cb1f2e67bdc 100644 --- a/apps/files_sharing/l10n/zh_HK.js +++ b/apps/files_sharing/l10n/zh_HK.js @@ -210,6 +210,9 @@ OC.L10N.register( "Share link" : "分享連結", "Error, please enter proper password and/or expiration date" : "錯誤,請輸入正確的密碼和/或有效期", "Error while creating the share" : "創建分享出錯", + "Share label saved" : "已保存分享標籤", + "Share password saved" : "已保存分享密碼", + "Search for share recipients" : "搜尋分享參與者", "No recommendations. Start typing." : "沒有建議。開始輸入。", "Resharing is not allowed" : "不允許重新分享", "Name or email …" : "名字或電郵地址", @@ -232,6 +235,9 @@ OC.L10N.register( "Error creating the share" : "創建分享出錯", "Error updating the share: {errorMessage}" : "更新分享出錯:{errorMessage}", "Error updating the share" : "更新分享出錯", + "Share note saved" : "已保存分享筆記", + "File \"{path}\" has been unshared" : "檔案 “{path}” 已取消共享", + "Folder \"{path}\" has been unshared" : "資料夾 “{path}” 已取消共享", "Shared" : "已分享", "Share" : "分享", "Shared with" : "分享給", diff --git a/apps/files_sharing/l10n/zh_HK.json b/apps/files_sharing/l10n/zh_HK.json index 7b98fef1a6f..7095da690a9 100644 --- a/apps/files_sharing/l10n/zh_HK.json +++ b/apps/files_sharing/l10n/zh_HK.json @@ -208,6 +208,9 @@ "Share link" : "分享連結", "Error, please enter proper password and/or expiration date" : "錯誤,請輸入正確的密碼和/或有效期", "Error while creating the share" : "創建分享出錯", + "Share label saved" : "已保存分享標籤", + "Share password saved" : "已保存分享密碼", + "Search for share recipients" : "搜尋分享參與者", "No recommendations. Start typing." : "沒有建議。開始輸入。", "Resharing is not allowed" : "不允許重新分享", "Name or email …" : "名字或電郵地址", @@ -230,6 +233,9 @@ "Error creating the share" : "創建分享出錯", "Error updating the share: {errorMessage}" : "更新分享出錯:{errorMessage}", "Error updating the share" : "更新分享出錯", + "Share note saved" : "已保存分享筆記", + "File \"{path}\" has been unshared" : "檔案 “{path}” 已取消共享", + "Folder \"{path}\" has been unshared" : "資料夾 “{path}” 已取消共享", "Shared" : "已分享", "Share" : "分享", "Shared with" : "分享給", diff --git a/apps/files_sharing/l10n/zh_TW.js b/apps/files_sharing/l10n/zh_TW.js index 3644fb2049d..5acba38cb43 100644 --- a/apps/files_sharing/l10n/zh_TW.js +++ b/apps/files_sharing/l10n/zh_TW.js @@ -210,6 +210,7 @@ OC.L10N.register( "Share link" : "分享連結", "Error, please enter proper password and/or expiration date" : "錯誤,請輸入正確的密碼及/或到期日", "Error while creating the share" : "建立分享時發生錯誤", + "Search for share recipients" : "搜尋分享參與者", "No recommendations. Start typing." : "沒有建議。開始輸入。", "Resharing is not allowed" : "不允許重新分享", "Name or email …" : "名稱或電子郵件……", diff --git a/apps/files_sharing/l10n/zh_TW.json b/apps/files_sharing/l10n/zh_TW.json index 4a8939f5d14..a6c977ef7a5 100644 --- a/apps/files_sharing/l10n/zh_TW.json +++ b/apps/files_sharing/l10n/zh_TW.json @@ -208,6 +208,7 @@ "Share link" : "分享連結", "Error, please enter proper password and/or expiration date" : "錯誤,請輸入正確的密碼及/或到期日", "Error while creating the share" : "建立分享時發生錯誤", + "Search for share recipients" : "搜尋分享參與者", "No recommendations. Start typing." : "沒有建議。開始輸入。", "Resharing is not allowed" : "不允許重新分享", "Name or email …" : "名稱或電子郵件……", diff --git a/apps/files_sharing/lib/AppInfo/Application.php b/apps/files_sharing/lib/AppInfo/Application.php index 63fdced9011..960d376c6d3 100644 --- a/apps/files_sharing/lib/AppInfo/Application.php +++ b/apps/files_sharing/lib/AppInfo/Application.php @@ -29,6 +29,7 @@ */ namespace OCA\Files_Sharing\AppInfo; +use OC\Group\DisplayNameCache as GroupDisplayNameCache; use OC\Share\Share; use OC\User\DisplayNameCache; use OCA\Files_Sharing\Capabilities; @@ -66,6 +67,7 @@ use OCP\Files\Config\IMountProviderCollection; use OCP\Files\Events\BeforeDirectFileDownloadEvent; use OCP\Files\Events\BeforeZipCreatedEvent; use OCP\Files\IRootFolder; +use OCP\Group\Events\GroupChangedEvent; use OCP\Group\Events\UserAddedEvent; use OCP\IDBConnection; use OCP\IGroup; @@ -108,6 +110,7 @@ class Application extends App implements IBootstrap { $context->registerNotifierService(Notifier::class); $context->registerEventListener(UserChangedEvent::class, DisplayNameCache::class); + $context->registerEventListener(GroupChangedEvent::class, GroupDisplayNameCache::class); } public function boot(IBootContext $context): void { diff --git a/apps/files_sharing/src/components/SharingEntryInternal.vue b/apps/files_sharing/src/components/SharingEntryInternal.vue index 03a1ba87b71..9912648357c 100644 --- a/apps/files_sharing/src/components/SharingEntryInternal.vue +++ b/apps/files_sharing/src/components/SharingEntryInternal.vue @@ -9,27 +9,33 @@ <div class="avatar-external icon-external-white" /> </template> - <NcActionLink :href="internalLink" - :aria-label="t('files_sharing', 'Copy internal link to clipboard')" - target="_blank" - :icon="copied && copySuccess ? 'icon-checkmark-color' : 'icon-clippy'" + <NcActionButton :aria-label="t('files_sharing', 'Copy internal link to clipboard')" @click.prevent="copyLink"> + <template #icon> + <Check v-if="copied && copySuccess" :size="20" /> + <ClipboardTextMultipleOutline v-else :size="20" /> + </template> {{ clipboardTooltip }} - </NcActionLink> + </NcActionButton> </SharingEntrySimple> </ul> </template> <script> import { generateUrl } from '@nextcloud/router' -import NcActionLink from '@nextcloud/vue/dist/Components/NcActionLink' +import { NcActionButton } from '@nextcloud/vue' import SharingEntrySimple from './SharingEntrySimple' +import Check from 'vue-material-design-icons/Check.vue' +import ClipboardTextMultipleOutline from 'vue-material-design-icons/ClipboardTextMultipleOutline.vue' + export default { name: 'SharingEntryInternal', components: { - NcActionLink, + Check, + ClipboardTextMultipleOutline, + NcActionButton, SharingEntrySimple, }, diff --git a/apps/files_sharing/src/components/SharingEntryLink.vue b/apps/files_sharing/src/components/SharingEntryLink.vue index 207db7d8514..930bae849c2 100644 --- a/apps/files_sharing/src/components/SharingEntryLink.vue +++ b/apps/files_sharing/src/components/SharingEntryLink.vue @@ -38,13 +38,14 @@ <NcActions v-if="share && !isEmailShareType && share.token" ref="copyButton" class="sharing-entry__copy"> - <NcActionLink :href="shareLink" - target="_blank" - :aria-label="t('files_sharing', 'Copy public link to clipboard')" - :icon="copied && copySuccess ? 'icon-checkmark-color' : 'icon-clippy'" + <NcActionButton :aria-label="t('files_sharing', 'Copy public link to clipboard')" @click.stop.prevent="copyLink"> + <template #icon> + <Check v-if="copied && copySuccess" :size="20" /> + <ClipboardTextMultipleOutline v-else :size="20" /> + </template> {{ clipboardTooltip }} - </NcActionLink> + </NcActionButton> </NcActions> <!-- pending actions --> @@ -299,20 +300,22 @@ <script> import { generateUrl } from '@nextcloud/router' -import { showError } from '@nextcloud/dialogs' +import { showError, showSuccess } from '@nextcloud/dialogs' import { Type as ShareTypes } from '@nextcloud/sharing' import Vue from 'vue' -import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton' -import NcActionCheckbox from '@nextcloud/vue/dist/Components/NcActionCheckbox' -import NcActionInput from '@nextcloud/vue/dist/Components/NcActionInput' -import NcActionLink from '@nextcloud/vue/dist/Components/NcActionLink' -import NcActionText from '@nextcloud/vue/dist/Components/NcActionText' -import NcActionSeparator from '@nextcloud/vue/dist/Components/NcActionSeparator' -import NcActionTextEditable from '@nextcloud/vue/dist/Components/NcActionTextEditable' -import NcActions from '@nextcloud/vue/dist/Components/NcActions' -import NcAvatar from '@nextcloud/vue/dist/Components/NcAvatar' -import Tooltip from '@nextcloud/vue/dist/Directives/Tooltip' +import { + NcActionButton, + NcActionCheckbox, + NcActionInput, + NcActionLink, + NcActions, + NcActionSeparator, + NcActionText, + NcActionTextEditable, + NcAvatar, + Tooltip, +} from '@nextcloud/vue' import ExternalShareAction from './ExternalShareAction.vue' import SharePermissionsEditor from './SharePermissionsEditor.vue' @@ -320,20 +323,25 @@ import GeneratePassword from '../utils/GeneratePassword.js' import Share from '../models/Share.js' import SharesMixin from '../mixins/SharesMixin.js' +import Check from 'vue-material-design-icons/Check.vue' +import ClipboardTextMultipleOutline from 'vue-material-design-icons/ClipboardTextMultipleOutline.vue' + export default { name: 'SharingEntryLink', components: { - NcActions, + Check, + ClipboardTextMultipleOutline, + ExternalShareAction, NcActionButton, NcActionCheckbox, NcActionInput, NcActionLink, + NcActions, + NcActionSeparator, NcActionText, NcActionTextEditable, - NcActionSeparator, NcAvatar, - ExternalShareAction, SharePermissionsEditor, }, @@ -766,6 +774,7 @@ export default { if (typeof this.share.newLabel === 'string') { this.share.label = this.share.newLabel this.$delete(this.share, 'newLabel') + showSuccess(t('files_sharing', 'Share label saved')) this.queueUpdate('label') } }, @@ -832,6 +841,7 @@ export default { onPasswordSubmit() { if (this.hasUnsavedPassword) { this.share.password = this.share.newPassword.trim() + showSuccess(t('files_sharing', 'Share password saved')) this.queueUpdate('password') } }, diff --git a/apps/files_sharing/src/files_sharing_tab.js b/apps/files_sharing/src/files_sharing_tab.js index c06ec051c4e..85bbd869932 100644 --- a/apps/files_sharing/src/files_sharing_tab.js +++ b/apps/files_sharing/src/files_sharing_tab.js @@ -25,11 +25,14 @@ import Vue from 'vue' import VueClipboard from 'vue-clipboard2' import { translate as t, translatePlural as n } from '@nextcloud/l10n' -import SharingTab from './views/SharingTab' -import ShareSearch from './services/ShareSearch' -import ExternalLinkActions from './services/ExternalLinkActions' -import ExternalShareActions from './services/ExternalShareActions' -import TabSections from './services/TabSections' +import SharingTab from './views/SharingTab.vue' +import ShareSearch from './services/ShareSearch.js' +import ExternalLinkActions from './services/ExternalLinkActions.js' +import ExternalShareActions from './services/ExternalShareActions.js' +import TabSections from './services/TabSections.js' + +// eslint-disable-next-line node/no-missing-import, import/no-unresolved +import ShareVariant from '@mdi/svg/svg/share-variant.svg?raw' // Init Sharing Tab Service if (!window.OCA.Sharing) { @@ -53,7 +56,7 @@ window.addEventListener('DOMContentLoaded', function() { OCA.Files.Sidebar.registerTab(new OCA.Files.Sidebar.Tab({ id: 'sharing', name: t('files_sharing', 'Sharing'), - icon: 'icon-share', + iconSvg: ShareVariant, async mount(el, fileInfo, context) { if (TabInstance) { diff --git a/apps/files_sharing/src/mixins/SharesMixin.js b/apps/files_sharing/src/mixins/SharesMixin.js index 68468d76de4..e5fb141e127 100644 --- a/apps/files_sharing/src/mixins/SharesMixin.js +++ b/apps/files_sharing/src/mixins/SharesMixin.js @@ -25,6 +25,7 @@ * */ +import { showSuccess } from '@nextcloud/dialogs' import { getCurrentUser } from '@nextcloud/auth' // eslint-disable-next-line import/no-unresolved, node/no-missing-import import PQueue from 'p-queue' @@ -211,6 +212,7 @@ export default { if (this.share.newNote) { this.share.note = this.share.newNote this.$delete(this.share, 'newNote') + showSuccess(t('files_sharing', 'Share note saved')) this.queueUpdate('note') } }, @@ -224,6 +226,10 @@ export default { this.open = false await this.deleteShare(this.share.id) console.debug('Share deleted', this.share.id) + const message = this.share.itemType === 'file' + ? t('files_sharing', 'File "{path}" has been unshared', { path: this.share.path }) + : t('files_sharing', 'Folder "{path}" has been unshared', { path: this.share.path }) + showSuccess(message) this.$emit('remove:share', this.share) } catch (error) { // re-open menu if error |