summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--l10n/eu.js17
-rw-r--r--l10n/eu.json17
-rw-r--r--src/components/AppNavigation/CircleNavigationItem.vue9
-rw-r--r--src/models/circle.d.ts4
-rw-r--r--src/models/circle.ts7
5 files changed, 53 insertions, 1 deletions
diff --git a/l10n/eu.js b/l10n/eu.js
index 0f77afb2..c289d5b2 100644
--- a/l10n/eu.js
+++ b/l10n/eu.js
@@ -16,6 +16,7 @@ OC.L10N.register(
"Create contacts" : "Sortu kontaktuak",
"Add contacts" : "Gehitu kontaktuak",
"Loading …" : "Kargatzen …",
+ "Add member" : "Gehitu kidea",
"Delete circle" : "Ezabatu zirkulua",
"Download" : "Jaitsi",
"Groups" : "Taldeak",
@@ -23,6 +24,8 @@ OC.L10N.register(
"Group name" : "Taldearen izena",
"Circles" : "Zirkuluak",
"Create a new circle" : "Sortu zirkulu berria",
+ "Show all groups" : "Erakutsi talde guztiak",
+ "Show all circles" : "Sortu zirkulu guztiak",
"This group already exists" : "Talde hau existitzen da dagoeneko",
"Rename" : "Aldatu izena",
"Enabled" : "Gaitua",
@@ -57,6 +60,7 @@ OC.L10N.register(
"Sort by {sorting}" : "{sorting}(r)en arabera ordenatu",
"Update avatars from social media" : "Eguneratu avatarrak sare sozialetatik",
"(refreshed once per week)" : "(astean behin freskatzen da)",
+ "Circle name" : "Zirkuluaren izena",
"Description" : "Deskribapena",
"Add new property" : "Gehitu propietate berria",
"Choose property type" : "Aukeratu propietate mota",
@@ -96,10 +100,17 @@ OC.L10N.register(
"An error occurred while trying to copy the contact" : "Errorea gertatu da kontaktua kopiatzen saiatzerakoan",
"Remove {type}" : "Kendu {type}",
"Search {types}" : "Bilatu {types}",
+ "Search for people to add" : "Bilatu gehitzeko pertsonak",
"No results" : "Emaitzarik ez",
"Add to group" : "Gehitu taldera",
"Add {type}" : "Gehitu {type}",
+ "New circle name" : "Zirkulu izen berria",
"Personal circle" : "Zirkulu pertsonala",
+ "Create circle" : "Sortu zirkulua",
+ "Add members" : "Gehitu kideak",
+ "Show circle details" : "Erakutsi zirkuluaren xehetasunak",
+ "There was an issue adding members to the circle" : "Arazo bat izan da kideak zirkulura gehitzean",
+ "Remove member" : "Kendu kidea",
"Select type" : "Hautatu mota",
"Select Date" : "Hautatu data",
"Add contact in group" : "Gehitu kontaktua taldera",
@@ -113,6 +124,8 @@ OC.L10N.register(
"_Importing %n contact into {addressbook}_::_Importing %n contacts into {addressbook}_" : ["Kontaktu %n inportatzen {addressbook}(e)ra","%n kontaktu inportaten {addressbook}(e)ra"],
"_Done importing %n contact into {addressbook}_::_Done importing %n contacts into {addressbook}_" : ["Kontaktu %n inportatu da {addressbook}(e)ra"," %n kontaktu inportatu dira {addressbook}(e)ra"],
"Import" : "Inportatu",
+ "Join circle" : "Batu zirkulura",
+ "Could not copy link to the clipboard." : "Ezin izan da esteka arbelera kopiatu",
"Not grouped" : "Taldekatu gabe",
"Recently contacted" : "Berriki kontaktatuak",
"Circle" : "Zirkulua",
@@ -124,7 +137,10 @@ OC.L10N.register(
"Moderator" : "Moderatzailea",
"Admin" : "Administratzailea",
"Owner" : "Jabea",
+ "Anyone can request membership" : "Edonork eskatu dezake kidetza",
+ "Visible to everyone" : "Denontzat ikusgai",
"Users" : "Erabiltzaileak",
+ "Emails" : "E-postak",
"Nickname" : "Ezizena",
"Detailed name" : "Izen osoa",
"Additional names" : "Tarteko izenak",
@@ -185,6 +201,7 @@ OC.L10N.register(
"Timezone" : "Ordu-zona",
"Spoken languages" : "Hitz egiteko erabilitako hizkuntzak",
"_{failed} contact failed to be read_::_{failed} contacts failed to be read_" : ["Ezin izan da kontaktu {failed} irakurri","Ezin izan dira {failed} kontaktu irakurri"],
+ "Unable to delete circle {circleId}" : "Ezin izan da zirkulua ezabatu",
"Unable to delete contact" : "Ezin izan da kontaktua ezabatu",
"Your web browser is out of date" : "Zure web-arakatzailea zaharkituta dago",
"This application is not compatible with Internet Explorer" : "Aplikazio hau ez da Internet Explorerekin bateragarria"
diff --git a/l10n/eu.json b/l10n/eu.json
index ef937777..8fe225bf 100644
--- a/l10n/eu.json
+++ b/l10n/eu.json
@@ -14,6 +14,7 @@
"Create contacts" : "Sortu kontaktuak",
"Add contacts" : "Gehitu kontaktuak",
"Loading …" : "Kargatzen …",
+ "Add member" : "Gehitu kidea",
"Delete circle" : "Ezabatu zirkulua",
"Download" : "Jaitsi",
"Groups" : "Taldeak",
@@ -21,6 +22,8 @@
"Group name" : "Taldearen izena",
"Circles" : "Zirkuluak",
"Create a new circle" : "Sortu zirkulu berria",
+ "Show all groups" : "Erakutsi talde guztiak",
+ "Show all circles" : "Sortu zirkulu guztiak",
"This group already exists" : "Talde hau existitzen da dagoeneko",
"Rename" : "Aldatu izena",
"Enabled" : "Gaitua",
@@ -55,6 +58,7 @@
"Sort by {sorting}" : "{sorting}(r)en arabera ordenatu",
"Update avatars from social media" : "Eguneratu avatarrak sare sozialetatik",
"(refreshed once per week)" : "(astean behin freskatzen da)",
+ "Circle name" : "Zirkuluaren izena",
"Description" : "Deskribapena",
"Add new property" : "Gehitu propietate berria",
"Choose property type" : "Aukeratu propietate mota",
@@ -94,10 +98,17 @@
"An error occurred while trying to copy the contact" : "Errorea gertatu da kontaktua kopiatzen saiatzerakoan",
"Remove {type}" : "Kendu {type}",
"Search {types}" : "Bilatu {types}",
+ "Search for people to add" : "Bilatu gehitzeko pertsonak",
"No results" : "Emaitzarik ez",
"Add to group" : "Gehitu taldera",
"Add {type}" : "Gehitu {type}",
+ "New circle name" : "Zirkulu izen berria",
"Personal circle" : "Zirkulu pertsonala",
+ "Create circle" : "Sortu zirkulua",
+ "Add members" : "Gehitu kideak",
+ "Show circle details" : "Erakutsi zirkuluaren xehetasunak",
+ "There was an issue adding members to the circle" : "Arazo bat izan da kideak zirkulura gehitzean",
+ "Remove member" : "Kendu kidea",
"Select type" : "Hautatu mota",
"Select Date" : "Hautatu data",
"Add contact in group" : "Gehitu kontaktua taldera",
@@ -111,6 +122,8 @@
"_Importing %n contact into {addressbook}_::_Importing %n contacts into {addressbook}_" : ["Kontaktu %n inportatzen {addressbook}(e)ra","%n kontaktu inportaten {addressbook}(e)ra"],
"_Done importing %n contact into {addressbook}_::_Done importing %n contacts into {addressbook}_" : ["Kontaktu %n inportatu da {addressbook}(e)ra"," %n kontaktu inportatu dira {addressbook}(e)ra"],
"Import" : "Inportatu",
+ "Join circle" : "Batu zirkulura",
+ "Could not copy link to the clipboard." : "Ezin izan da esteka arbelera kopiatu",
"Not grouped" : "Taldekatu gabe",
"Recently contacted" : "Berriki kontaktatuak",
"Circle" : "Zirkulua",
@@ -122,7 +135,10 @@
"Moderator" : "Moderatzailea",
"Admin" : "Administratzailea",
"Owner" : "Jabea",
+ "Anyone can request membership" : "Edonork eskatu dezake kidetza",
+ "Visible to everyone" : "Denontzat ikusgai",
"Users" : "Erabiltzaileak",
+ "Emails" : "E-postak",
"Nickname" : "Ezizena",
"Detailed name" : "Izen osoa",
"Additional names" : "Tarteko izenak",
@@ -183,6 +199,7 @@
"Timezone" : "Ordu-zona",
"Spoken languages" : "Hitz egiteko erabilitako hizkuntzak",
"_{failed} contact failed to be read_::_{failed} contacts failed to be read_" : ["Ezin izan da kontaktu {failed} irakurri","Ezin izan dira {failed} kontaktu irakurri"],
+ "Unable to delete circle {circleId}" : "Ezin izan da zirkulua ezabatu",
"Unable to delete contact" : "Ezin izan da kontaktua ezabatu",
"Your web browser is out of date" : "Zure web-arakatzailea zaharkituta dago",
"This application is not compatible with Internet Explorer" : "Aplikazio hau ez da Internet Explorerekin bateragarria"
diff --git a/src/components/AppNavigation/CircleNavigationItem.vue b/src/components/AppNavigation/CircleNavigationItem.vue
index f1059f4f..9b4ec1d6 100644
--- a/src/components/AppNavigation/CircleNavigationItem.vue
+++ b/src/components/AppNavigation/CircleNavigationItem.vue
@@ -119,7 +119,14 @@ export default {
computed: {
memberCount() {
- return Object.values(this.circle?.members || []).length
+ const count = Object.keys(this.circle?.members || []).length
+
+ // If member list is empty, let's try the population initial count
+ if (count === 0 && this.circle.population > 0) {
+ return this.circle.population
+ }
+
+ return count
},
},
}
diff --git a/src/models/circle.d.ts b/src/models/circle.d.ts
index a51a56a8..badc2ced 100644
--- a/src/models/circle.d.ts
+++ b/src/models/circle.d.ts
@@ -59,6 +59,10 @@ export default class Circle {
*/
set description(text: string);
/**
+ * Circle member count
+ */
+ get population(): any;
+ /**
* Circle ini_initiator the current
* user info for this circle
*/
diff --git a/src/models/circle.ts b/src/models/circle.ts
index 3a5880e3..38e0ab0d 100644
--- a/src/models/circle.ts
+++ b/src/models/circle.ts
@@ -105,6 +105,13 @@ export default class Circle {
this._data.description = text
}
+ /**
+ * Circle member count
+ */
+ get population() {
+ return this._data.population
+ }
+
// MEMBERSHIP -----------------------------------------
/**
* Circle ini_initiator the current