From eb5dd282f745867b1ce1c1d84f535ab869b98b43 Mon Sep 17 00:00:00 2001
From: Liviu Preda <143171366+liviu-preda-tsystems@users.noreply.github.com>
Date: Tue, 19 Nov 2024 10:23:37 +0000
Subject: [PATCH] fix linter errors
---
l10n/de.json | 6 +-
l10n/de_DE.json | 6 +-
l10n/en.json | 6 +-
l10n/en_GB.json | 6 +-
src/components/AddAllEmailsButton.vue | 58 ++++++++
...kButton.vue => OpenSharingModalButton.vue} | 12 +-
src/components/SharingEntryLink.vue | 38 ++----
.../SharingEntryQuickShareSelect.vue | 38 +++++-
src/components/SharingInput.vue | 51 ++++++-
src/files_sharing_tab.js | 5 +
src/views/SharingDetailsTab.vue | 50 +++----
src/views/SharingLinkList.vue | 71 +++++++---
src/views/SharingTab.vue | 125 +++++++++++++++---
13 files changed, 363 insertions(+), 109 deletions(-)
create mode 100644 src/components/AddAllEmailsButton.vue
rename src/components/{AddLinkButton.vue => OpenSharingModalButton.vue} (90%)
diff --git a/l10n/de.json b/l10n/de.json
index 437e986..719c52e 100644
--- a/l10n/de.json
+++ b/l10n/de.json
@@ -2,6 +2,7 @@
"translations": {
"Sharing": "Teilen",
"Add link": "Link erstellen",
+ "Share": "Teilen",
"Read only": "Nur lesen",
"Can edit": "Kann bearbeiten",
"File drop": "Sammelbox",
@@ -14,6 +15,8 @@
"Advanced": "Erweiterte",
"Set password": "Passwortschutz",
"Your shares": "Ihre Freigaben",
+ "Links sent per E-mail": "Links per E-mail versandt",
+ "Links to Copy": "Links zum Kopieren",
"No shares created yet.": "Noch keine Freigaben erstellt.",
"Advanced permissions": "Erweiterte Berechtigungen",
"Allow resharing": "Weiterteilen erlauben",
@@ -21,7 +24,8 @@
"Resharing is allowed": "Weiterteilen ist erlaubt",
"You can create links or send shares by mail. If you invite MagentaCLOUD users, you have more opportunities for collaboration.": "Sie können Links erstellen oder Freigaben per Mail versenden. Wenn Sie MagentaCLOUD Nutzer einladen, bieten sich Ihnen mehr Möglichkeiten der Zusammenarbeit.",
"Share updated": "Freigabe aktualisiert",
- "This share was limited to {limit} downloads. There is still {downloadsLeft} left allowed.": "Diese Freigabe ist auf {limit} Downloads beschränkt. Es sind noch {downloadsLeft} Downloads zugelassen."
+ "This share was limited to {limit} downloads. There is still {downloadsLeft} left allowed.": "Diese Freigabe ist auf {limit} Downloads beschränkt. Es sind noch {downloadsLeft} Downloads zugelassen.",
+ "Manage Access": "Zugriff verwalten"
},
"pluralForm": "nplurals=2; plural=(n != 1);"
}
\ No newline at end of file
diff --git a/l10n/de_DE.json b/l10n/de_DE.json
index 437e986..719c52e 100644
--- a/l10n/de_DE.json
+++ b/l10n/de_DE.json
@@ -2,6 +2,7 @@
"translations": {
"Sharing": "Teilen",
"Add link": "Link erstellen",
+ "Share": "Teilen",
"Read only": "Nur lesen",
"Can edit": "Kann bearbeiten",
"File drop": "Sammelbox",
@@ -14,6 +15,8 @@
"Advanced": "Erweiterte",
"Set password": "Passwortschutz",
"Your shares": "Ihre Freigaben",
+ "Links sent per E-mail": "Links per E-mail versandt",
+ "Links to Copy": "Links zum Kopieren",
"No shares created yet.": "Noch keine Freigaben erstellt.",
"Advanced permissions": "Erweiterte Berechtigungen",
"Allow resharing": "Weiterteilen erlauben",
@@ -21,7 +24,8 @@
"Resharing is allowed": "Weiterteilen ist erlaubt",
"You can create links or send shares by mail. If you invite MagentaCLOUD users, you have more opportunities for collaboration.": "Sie können Links erstellen oder Freigaben per Mail versenden. Wenn Sie MagentaCLOUD Nutzer einladen, bieten sich Ihnen mehr Möglichkeiten der Zusammenarbeit.",
"Share updated": "Freigabe aktualisiert",
- "This share was limited to {limit} downloads. There is still {downloadsLeft} left allowed.": "Diese Freigabe ist auf {limit} Downloads beschränkt. Es sind noch {downloadsLeft} Downloads zugelassen."
+ "This share was limited to {limit} downloads. There is still {downloadsLeft} left allowed.": "Diese Freigabe ist auf {limit} Downloads beschränkt. Es sind noch {downloadsLeft} Downloads zugelassen.",
+ "Manage Access": "Zugriff verwalten"
},
"pluralForm": "nplurals=2; plural=(n != 1);"
}
\ No newline at end of file
diff --git a/l10n/en.json b/l10n/en.json
index d914374..8b0302c 100644
--- a/l10n/en.json
+++ b/l10n/en.json
@@ -2,6 +2,7 @@
"translations": {
"Sharing": "Sharing",
"Add link": "Add link",
+ "Share": "Share",
"Read only": "Read only",
"Can edit": "Can edit",
"File drop": "File drop",
@@ -14,6 +15,8 @@
"Advanced": "Advanced",
"Set password": "Set password",
"Your shares": "Your shares",
+ "Links sent per E-mail": "Links sent per E-mail",
+ "Links to Copy": "Links to Copy",
"No shares created yet.": "No shares created yet.",
"Advanced permissions": "Advanced permissions",
"Allow resharing": "Allow resharing",
@@ -21,7 +24,8 @@
"Resharing is allowed": "Resharing is allowed",
"You can create links or send shares by mail. If you invite MagentaCLOUD users, you have more opportunities for collaboration.": "You can create links or send shares by mail. If you invite MagentaCLOUD users, you have more opportunities for collaboration.",
"Share updated": "Share updated",
- "This share was limited to {limit} downloads. There is still {downloadsLeft} left allowed.": "This share was limited to {limit} downloads. There is still {downloadsLeft} left allowed."
+ "This share was limited to {limit} downloads. There is still {downloadsLeft} left allowed.": "This share was limited to {limit} downloads. There is still {downloadsLeft} left allowed.",
+ "Manage Access": "Manage Access"
},
"pluralForm": "nplurals=2; plural=(n != 1);"
}
\ No newline at end of file
diff --git a/l10n/en_GB.json b/l10n/en_GB.json
index d914374..8b0302c 100644
--- a/l10n/en_GB.json
+++ b/l10n/en_GB.json
@@ -2,6 +2,7 @@
"translations": {
"Sharing": "Sharing",
"Add link": "Add link",
+ "Share": "Share",
"Read only": "Read only",
"Can edit": "Can edit",
"File drop": "File drop",
@@ -14,6 +15,8 @@
"Advanced": "Advanced",
"Set password": "Set password",
"Your shares": "Your shares",
+ "Links sent per E-mail": "Links sent per E-mail",
+ "Links to Copy": "Links to Copy",
"No shares created yet.": "No shares created yet.",
"Advanced permissions": "Advanced permissions",
"Allow resharing": "Allow resharing",
@@ -21,7 +24,8 @@
"Resharing is allowed": "Resharing is allowed",
"You can create links or send shares by mail. If you invite MagentaCLOUD users, you have more opportunities for collaboration.": "You can create links or send shares by mail. If you invite MagentaCLOUD users, you have more opportunities for collaboration.",
"Share updated": "Share updated",
- "This share was limited to {limit} downloads. There is still {downloadsLeft} left allowed.": "This share was limited to {limit} downloads. There is still {downloadsLeft} left allowed."
+ "This share was limited to {limit} downloads. There is still {downloadsLeft} left allowed.": "This share was limited to {limit} downloads. There is still {downloadsLeft} left allowed.",
+ "Manage Access": "Manage Access"
},
"pluralForm": "nplurals=2; plural=(n != 1);"
}
\ No newline at end of file
diff --git a/src/components/AddAllEmailsButton.vue b/src/components/AddAllEmailsButton.vue
new file mode 100644
index 0000000..ca95af6
--- /dev/null
+++ b/src/components/AddAllEmailsButton.vue
@@ -0,0 +1,58 @@
+e``
+
+
+ {{ t('nmcsharing', 'Add All Emails') }}
+
+
+
+
+
+
+
diff --git a/src/components/AddLinkButton.vue b/src/components/OpenSharingModalButton.vue
similarity index 90%
rename from src/components/AddLinkButton.vue
rename to src/components/OpenSharingModalButton.vue
index 2e23562..c6dde1e 100644
--- a/src/components/AddLinkButton.vue
+++ b/src/components/OpenSharingModalButton.vue
@@ -1,7 +1,7 @@