From 066e16b53d1f676bd27f7a2069ddc446b2fb5101 Mon Sep 17 00:00:00 2001 From: Avinash Gusain Date: Wed, 21 Jun 2023 12:50:37 +0530 Subject: [PATCH] starred group Signed-off-by: Avinash Gusain --- l10n/de.js | 3 +- l10n/de.json | 3 +- l10n/de_DE.js | 3 +- l10n/de_DE.json | 3 +- l10n/es.js | 3 +- l10n/es.json | 3 +- l10n/fr.js | 3 +- l10n/fr.json | 3 +- l10n/it.js | 3 +- l10n/it.json | 3 +- .../AppNavigation/GroupNavigationItem.vue | 14 +- src/components/ContactDetails.vue | 19 ++- .../ContactDetails/ContactDetailsStarred.vue | 120 +++++++++++++++++ .../ContactsList/ContactsListItem.vue | 41 ++++++ src/components/DetailsHeader.vue | 18 ++- .../EntityPicker/ContactsPicker.vue | 4 + src/components/Properties/PropertyGroups.vue | 124 +++++++++++++++++- 17 files changed, 345 insertions(+), 25 deletions(-) create mode 100644 src/components/ContactDetails/ContactDetailsStarred.vue diff --git a/l10n/de.js b/l10n/de.js index 8101de659..b1bbdab76 100644 --- a/l10n/de.js +++ b/l10n/de.js @@ -289,6 +289,7 @@ OC.L10N.register( "An error has occurred in circle(s). Check the console for more details." : "Es ist ein Fehler in Kreis(en) ist aufgetreten. Weitere Informationen findest du in der Konsole.", "Unable to create circle {circleName}" : "Kreis {circleName} konnte nicht erstellt werden", "Unable to delete circle {circleId}" : "Kontakt konnte nicht gelöscht werden", - "Unable to delete contact" : "Kontakt konnte nicht gelöscht werden" + "Unable to delete contact" : "Kontakt konnte nicht gelöscht werden", + "Favorites" : "Favoriten" }, "nplurals=2; plural=(n != 1);"); diff --git a/l10n/de.json b/l10n/de.json index 8d978589f..ab3888dfa 100644 --- a/l10n/de.json +++ b/l10n/de.json @@ -287,6 +287,7 @@ "An error has occurred in circle(s). Check the console for more details." : "Es ist ein Fehler in Kreis(en) ist aufgetreten. Weitere Informationen findest du in der Konsole.", "Unable to create circle {circleName}" : "Kreis {circleName} konnte nicht erstellt werden", "Unable to delete circle {circleId}" : "Kontakt konnte nicht gelöscht werden", - "Unable to delete contact" : "Kontakt konnte nicht gelöscht werden" + "Unable to delete contact" : "Kontakt konnte nicht gelöscht werden", + "Favorites" : "Favoriten" },"pluralForm" :"nplurals=2; plural=(n != 1);" } \ No newline at end of file diff --git a/l10n/de_DE.js b/l10n/de_DE.js index c2877d645..1b6c9def3 100644 --- a/l10n/de_DE.js +++ b/l10n/de_DE.js @@ -291,6 +291,7 @@ OC.L10N.register( "An error has occurred in circle(s). Check the console for more details." : "In Kreis(en) ist ein Fehler aufgetreten. Weitere Informationen finden Sie in der Konsole.", "Unable to create circle {circleName}" : "Fehler beim Erstellen des Kreises {circleName}", "Unable to delete circle {circleId}" : "Fehler beim Löschen des Kreises {circleId}", - "Unable to delete contact" : "Kontakt konnte nicht gelöscht werden" + "Unable to delete contact" : "Kontakt konnte nicht gelöscht werden", + "Favorites" : "Favoriten" }, "nplurals=2; plural=(n != 1);"); diff --git a/l10n/de_DE.json b/l10n/de_DE.json index 8bdab8c10..517ccc66a 100644 --- a/l10n/de_DE.json +++ b/l10n/de_DE.json @@ -289,6 +289,7 @@ "An error has occurred in circle(s). Check the console for more details." : "In Kreis(en) ist ein Fehler aufgetreten. Weitere Informationen finden Sie in der Konsole.", "Unable to create circle {circleName}" : "Fehler beim Erstellen des Kreises {circleName}", "Unable to delete circle {circleId}" : "Fehler beim Löschen des Kreises {circleId}", - "Unable to delete contact" : "Kontakt konnte nicht gelöscht werden" + "Unable to delete contact" : "Kontakt konnte nicht gelöscht werden", + "Favorites" : "Favoriten" },"pluralForm" :"nplurals=2; plural=(n != 1);" } \ No newline at end of file diff --git a/l10n/es.js b/l10n/es.js index 0ce96ee19..52d5c489a 100644 --- a/l10n/es.js +++ b/l10n/es.js @@ -291,6 +291,7 @@ OC.L10N.register( "An error has occurred in circle(s). Check the console for more details." : "Ha ocurrido un error en uno o varios circles. Chequee la consola para más detalles.", "Unable to create circle {circleName}" : "No se pudo crear el círculo {circleName}", "Unable to delete circle {circleId}" : "No se pudo eliminar el círculo {circleId}", - "Unable to delete contact" : "No se ha podido eliminar el contacto" + "Unable to delete contact" : "No se ha podido eliminar el contacto", + "Favorites" : "Favoritos" }, "nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"); diff --git a/l10n/es.json b/l10n/es.json index 0ac9d704b..8c49da270 100644 --- a/l10n/es.json +++ b/l10n/es.json @@ -289,6 +289,7 @@ "An error has occurred in circle(s). Check the console for more details." : "Ha ocurrido un error en uno o varios circles. Chequee la consola para más detalles.", "Unable to create circle {circleName}" : "No se pudo crear el círculo {circleName}", "Unable to delete circle {circleId}" : "No se pudo eliminar el círculo {circleId}", - "Unable to delete contact" : "No se ha podido eliminar el contacto" + "Unable to delete contact" : "No se ha podido eliminar el contacto", + "Favorites" : "Favoritos" },"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;" } \ No newline at end of file diff --git a/l10n/fr.js b/l10n/fr.js index 1cfc5cb64..474ed8c59 100644 --- a/l10n/fr.js +++ b/l10n/fr.js @@ -291,6 +291,7 @@ OC.L10N.register( "An error has occurred in circle(s). Check the console for more details." : "Une erreur est survenue dans le·s cercle·s. Vérifiez la console pour plus de détails.", "Unable to create circle {circleName}" : "Impossible de créer le cercle {circleName}", "Unable to delete circle {circleId}" : "Impossible de supprimer le cercle {circleId}", - "Unable to delete contact" : "Impossible de supprimer le contact." + "Unable to delete contact" : "Impossible de supprimer le contact.", + "Favorites" : "Favoris" }, "nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"); diff --git a/l10n/fr.json b/l10n/fr.json index 650096a64..6e02d7a48 100644 --- a/l10n/fr.json +++ b/l10n/fr.json @@ -289,6 +289,7 @@ "An error has occurred in circle(s). Check the console for more details." : "Une erreur est survenue dans le·s cercle·s. Vérifiez la console pour plus de détails.", "Unable to create circle {circleName}" : "Impossible de créer le cercle {circleName}", "Unable to delete circle {circleId}" : "Impossible de supprimer le cercle {circleId}", - "Unable to delete contact" : "Impossible de supprimer le contact." + "Unable to delete contact" : "Impossible de supprimer le contact.", + "Favorites" : "Favoris" },"pluralForm" :"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;" } \ No newline at end of file diff --git a/l10n/it.js b/l10n/it.js index f1ddf462a..561d40a2e 100644 --- a/l10n/it.js +++ b/l10n/it.js @@ -271,6 +271,7 @@ OC.L10N.register( "_{failed} contact failed to be read_::_{failed} contacts failed to be read_" : ["lettura di {failed} contatto non riuscita","lettura di {failed} contatti non riuscita","lettura di {failed} contatti non riuscita"], "Unable to create circle {circleName}" : "Impossibile creare la cerchia {circleName}", "Unable to delete circle {circleId}" : "Impossibile eliminare la cerchia {circleId}", - "Unable to delete contact" : "Impossibile eliminare il contatto" + "Unable to delete contact" : "Impossibile eliminare il contatto", + "Favorites" : "Preferiti" }, "nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"); diff --git a/l10n/it.json b/l10n/it.json index e1c925c63..e14c8e468 100644 --- a/l10n/it.json +++ b/l10n/it.json @@ -269,6 +269,7 @@ "_{failed} contact failed to be read_::_{failed} contacts failed to be read_" : ["lettura di {failed} contatto non riuscita","lettura di {failed} contatti non riuscita","lettura di {failed} contatti non riuscita"], "Unable to create circle {circleName}" : "Impossibile creare la cerchia {circleName}", "Unable to delete circle {circleId}" : "Impossibile eliminare la cerchia {circleId}", - "Unable to delete contact" : "Impossibile eliminare il contatto" + "Unable to delete contact" : "Impossibile eliminare il contatto", + "Favorites" : "Preferiti" },"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;" } \ No newline at end of file diff --git a/src/components/AppNavigation/GroupNavigationItem.vue b/src/components/AppNavigation/GroupNavigationItem.vue index 968210f10..cf720dc4c 100644 --- a/src/components/AppNavigation/GroupNavigationItem.vue +++ b/src/components/AppNavigation/GroupNavigationItem.vue @@ -22,9 +22,10 @@