Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat : User can leave the org by clicking on button #2298

Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 2 additions & 10 deletions public/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,5 @@
"removedSuccessfully": "{{item}} removed Successfully",
"successfullyUpdated": "Successfully Updated",
"sort": "Sort",
"all": "All",
"active": "Active",
"disabled": "Disabled",
"pending": "Pending",
"completed": "Completed",
"late": "Late",
"createdLatest": "Created Latest",
"createdEarliest": "Created Earliest",
"searchBy": "Search by {{item}}"
}
"confirm": "Confirm"
}
2 changes: 1 addition & 1 deletion public/locales/en/errors.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
"notFoundMsg": "Oops! The Page you requested was not found!",
"errorOccurredCouldntCreate": "An error occurred. Couldn't create {{entity}}",
"errorLoading": "Error occured while loading {{entity}} data"
}
}
42 changes: 18 additions & 24 deletions public/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@
"roleUpdated": "Role Updated.",
"joinNow": "Join Now",
"visit": "Visit",
"leave": "Leave",
"withdraw": "Widthdraw",
"removeUserFrom": "Remove User from {{org}}",
"removeConfirmation": "Are you sure you want to remove '{{name}}' from organization '{{org}}'?"
Expand Down Expand Up @@ -283,8 +284,9 @@
"assignmentDate": "Assignment Date",
"active": "Active",
"clearFilters": "Clear Filters",
"completed": "Completed",
"completionDate": "Completion Date",
"createActionItem": "Create Action Item",
"createActionItem": "Create Action Items",
"deleteActionItem": "Delete Action Item",
"deleteActionItemMsg": "Do you want to remove this action item?",
"details": "Details",
Expand All @@ -307,14 +309,7 @@
"successfulCreation": "Action Item created successfully",
"successfulUpdation": "Action Item updated successfully",
"successfulDeletion": "Action Item deleted successfully",
"title": "Action Items",
"category": "Category",
"allotedHours": "Alloted Hours",
"latestDueDate": "Latest Due Date",
"earliestDueDate": "Earliest Due Date",
"updateActionItem": "Update Action Item",
"noneUpdated": "None of the fields were updated",
"updateStatusMsg": "Are you sure you want to mark this action item as pending?"
"title": "Action Items"
},
"organizationAgendaCategory": {
"agendaCategoryDetails": "Agenda Category Details",
Expand Down Expand Up @@ -607,8 +602,7 @@
"noData": "No data",
"otherSettings": "Other Settings",
"changeLanguage": "Change Language",
"manageCustomFields": "Manage Custom Fields",
"agendaItemCategories": "Agenda Item Categories"
"manageCustomFields": "Manage Custom Fields"
},
"deleteOrg": {
"deleteOrganization": "Delete Organization",
Expand Down Expand Up @@ -765,7 +759,8 @@
"communityProfile": "Community Profile",
"logout": "Logout",
"settings": "Settings",
"chat": "Chat"
"chat": "Chat",
"leave": "Leave Organization"
},
"organizationSidebar": {
"viewAll": "View all",
Expand Down Expand Up @@ -861,10 +856,7 @@
"yourPreviousDonations": "Your Previous Donations",
"donate": "Donate",
"nothingToShow": "Nothing to show here.",
"success": "Donation Successful",
"invalidAmount": "Please enter a numerical value for the donation amount.",
"donationAmountDescription": "Please enter the numerical value for the donation amount.",
"donationOutOfRange": "Donation amount must be between {{min}} and {{max}}."
"success": "Donation Successful"
},
"userEvents": {
"title": "Events",
Expand Down Expand Up @@ -944,18 +936,13 @@
"disableButton": "Disable",
"updateActionItemCategory": "Update",
"actionItemCategoryName": "Name",
"categoryDetails": "Category Details",
"actionItemCategoryDetails": "Action Item Category Details",
"enterName": "Enter Name",
"successfulCreation": "Action Item Category created successfully",
"successfulUpdation": "Action Item Category updated successfully",
"sameNameConflict": "Please change the name to make an update",
"categoryEnabled": "Action Item Category Enabled",
"categoryDisabled": "Action Item Category Disabled",
"noActionItemCategories": "No Action Item Categories",
"status": "Status",
"categoryDeleted": "Action Item Category deleted successfully",
"deleteCategory": "Delete Category",
"deleteCategoryMsg": "Are you sure you want to delete this Action Item Category?"
"categoryDisabled": "Action Item Category Disabled"
},
"organizationVenues": {
"title": "Venues",
Expand Down Expand Up @@ -1051,5 +1038,12 @@
},
"userPledges": {
"title": "My Pledges"
},
"orgLeave": {
"confirmation": "Are you sure you want to leave the organization? ",
"heading": "Leaving organization ?",
"description": "Are you sure you want to leave the organization? This action cannot be undone. If the organization requires approval, you will not be able to rejoin without it. Any related data or permissions may also be lost.",
"errorOccured": "An error occurred. Please try again later.",
"orgLeft": "You have left the organization."
}
}
}
12 changes: 2 additions & 10 deletions public/locales/fr/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,5 @@
"updatedSuccessfully": "{{item}} mis à jour avec succès",
"removedSuccessfully": "{{item}} supprimé avec succès",
"successfullyUpdated": "Mis à jour avec succès",
"all": "Tous",
"active": "Actif",
"disabled": "Désactivé",
"pending": "En attente",
"completed": "Complété",
"late": "En retard",
"createdLatest": "Créé le plus récemment",
"createdEarliest": "Créé le plus tôt",
"searchBy": "Rechercher par {{item}}"
}
"confirm": "Confirmer"
}
2 changes: 1 addition & 1 deletion public/locales/fr/errors.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
"notFoundMsg": "Oops! ",
"errorOccurredCouldntCreate": "Une erreur s'est produite. Impossible de créer {{entity}}",
"errorLoading": "Une erreur s'est produite lors du chargement des données {{entity}}"
}
}
44 changes: 19 additions & 25 deletions public/locales/fr/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@
"roleUpdated": "Rôle mis à jour.",
"joinNow": "Adhérer maintenant",
"visit": "Visite",
"leave": "partir",
"withdraw": "Largeur de tirage",
"removeUserFrom": "Supprimer l'Utilisateur de {{org}}",
"removeConfirmation": "Êtes-vous sûr de vouloir supprimer '{{name}}' de l'organisation '{{org}}' ?"
Expand Down Expand Up @@ -286,6 +287,7 @@
"assignmentDate": "Date d'affectation",
"active": "Actif",
"clearFilters": "Effacer les filtres",
"completed": "Complété",
"completionDate": "Date d'achèvement",
"createActionItem": "Créer un élément d'action",
"deleteActionItem": "Supprimer l'élément d'action",
Expand All @@ -310,14 +312,7 @@
"successfulCreation": "Élément d'action créé avec succès",
"successfulUpdation": "Élément d'action mis à jour avec succès",
"successfulDeletion": "Élément d'action supprimé avec succès",
"title": "Éléments d'action",
"category": "Catégorie",
"allotedHours": "Heures allouées",
"latestDueDate": "Date d'échéance la plus récente",
"earliestDueDate": "Date d'échéance la plus ancienne",
"updateActionItem": "Mettre à jour l'élément d'action",
"noneUpdated": "Aucun des champs n'a été mis à jour",
"updateStatusMsg": "Êtes-vous sûr de vouloir marquer cet élément d'action comme en attente?"
"title": "Éléments d'action"
},
"organizationAgendaCategory": {
"agendaCategoryDetails": "Détails de la catégorie d'ordre du jour",
Expand Down Expand Up @@ -610,11 +605,10 @@
"actionItemCategories": "Catégories d'éléments d'action",
"updateOrganization": "Mettre à jour l'organisation",
"seeRequest": "Voir la demande",
"noData": "Aucune donnée",
"otherSettings": "Autres paramètres",
"noData": "Pas de données",
"otherSettings": "Autres réglages",
"changeLanguage": "Changer de langue",
"manageCustomFields": "Gérer les champs personnalisés",
"agendaItemCategories": "Catégories d'éléments d'agenda"
"manageCustomFields": "Gérer les champs personnalisés"
},
"deleteOrg": {
"deleteOrganization": "Supprimer l'organisation",
Expand Down Expand Up @@ -765,7 +759,8 @@
"viewAll": "Voir tout",
"talawaUserPortal": "Portail utilisateur Talawa",
"my organizations": "Mes organisations",
"communityProfile": "Profil de la communauté"
"communityProfile": "Profil de la communauté",
"leave": "Quitter l'organisation"
},
"organizationSidebar": {
"viewAll": "Voir tout",
Expand Down Expand Up @@ -861,10 +856,7 @@
"yourPreviousDonations": "Vos dons précédents",
"donate": "Faire un don",
"nothingToShow": "Rien à montrer ici.",
"success": "Don réussi",
"invalidAmount": "Veuillez saisir une valeur numérique pour le montant du don.",
"donationAmountDescription": "Veuillez saisir la valeur numérique du montant du don.",
"donationOutOfRange": "Le montant du don doit être compris entre {{min}} et {{max}}."
"success": "Don réussi"
},
"userEvents": {
"title": "Événements",
Expand Down Expand Up @@ -945,18 +937,13 @@
"disableButton": "Désactiver",
"updateActionItemCategory": "Mise à jour",
"actionItemCategoryName": "Nom",
"categoryDetails": "Détails de la catégorie",
"actionItemCategoryDetails": "Détails de la catégorie d'élément d'action",
"enterName": "Entrez le nom",
"successfulCreation": "Catégorie d'élément d'action créée avec succès",
"successfulUpdation": "Catégorie d'élément d'action mise à jour avec succès",
"sameNameConflict": "Veuillez changer le nom pour effectuer une mise à jour",
"categoryEnabled": "Catégorie d'élément d'action activée",
"categoryDisabled": "Catégorie d'élément d'action désactivée",
"noActionItemCategories": "Aucune catégorie d'élément d'action",
"status": "Statut",
"categoryDeleted": "Catégorie d'élément d'action supprimée avec succès",
"deleteCategory": "Supprimer la catégorie",
"deleteCategoryMsg": "Êtes-vous sûr de vouloir supprimer cette catégorie d'élément d'action ?"
"categoryDisabled": "Catégorie d'élément d'action désactivée"
},
"organizationVenues": {
"title": "Lieux",
Expand Down Expand Up @@ -1052,5 +1039,12 @@
},
"userPledges": {
"title": "Mes Promesses"
},
"orgLeave": {
"confirmation": "Etes-vous sûr de vouloir quitter l'organisation ? ",
"heading": "Quitter l'organisation ?",
"description": "Etes-vous sûr de vouloir quitter l'organisation ? Cette action ne peut pas être annulée. Si l'organisation nécessite une approbation, vous ne pourrez pas la rejoindre sans cette approbation. Toutes les données ou autorisations associées peuvent également être perdues.",
"errorOccured": "Une erreur s'est produite. Veuillez réessayer plus tard.",
"orgLeft": "Vous avez quitté l'organisation."
}
}
}
12 changes: 2 additions & 10 deletions public/locales/hi/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,5 @@
"updatedSuccessfully": "{{item}} सफलतापूर्वक अपडेट किया गया",
"removedSuccessfully": "{{item}} सफलतापूर्वक हटाया गया",
"successfullyUpdated": "सफलतापूर्वक अपडेट किया गया",
"all": "सभी",
"active": "सक्रिय",
"disabled": "अक्षम",
"pending": "लंबित",
"completed": "पूरा हुआ",
"late": "देर से",
"createdLatest": "नवीनतम बनाया गया",
"createdEarliest": "सबसे पहले बनाया गया",
"searchBy": "के द्वारा खोजें {{item}}"
}
"confirm": "पुष्टि करें"
}
2 changes: 1 addition & 1 deletion public/locales/hi/errors.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
"notFoundMsg": "उफ़! ",
"errorOccurredCouldntCreate": "एक त्रुटि हुई। {{entity}} नहीं बना सके",
"errorLoading": "{{entity}} डेटा लोड करते समय त्रुटि हुई"
}
}
50 changes: 22 additions & 28 deletions public/locales/hi/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,8 @@
"visit": "मिलने जाना",
"withdraw": "चौड़ाई निकालना",
"removeUserFrom": "{{org}} से उपयोगकर्ता हटाएं",
"removeConfirmation": "क्या आप वाकई '{{org}}' संगठन से '{{name}}' को हटाना चाहते हैं?"
"removeConfirmation": "क्या आप वाकई '{{org}}' संगठन से '{{name}}' को हटाना चाहते हैं?",
"leave": "छोड़ो"
},
"communityProfile": {
"title": "सामुदायिक प्रोफ़ाइल",
Expand Down Expand Up @@ -286,6 +287,7 @@
"assignmentDate": "असाइनमेंट दिनांक",
"active": "सक्रिय",
"clearFilters": "फ़िल्टर साफ़ करें",
"completed": "पुरा होना।",
"completionDate": "पूरा करने की तिथि",
"createActionItem": "कार्रवाई आइटम बनाएं",
"deleteActionItem": "क्रिया आइटम हटाएँ",
Expand All @@ -310,14 +312,7 @@
"successfulCreation": "कार्रवाई आइटम सफलतापूर्वक बनाया गया",
"successfulUpdation": "कार्रवाई आइटम सफलतापूर्वक अपडेट किया गया",
"successfulDeletion": "कार्रवाई आइटम सफलतापूर्वक हटा दिया गया",
"title": "एक्शन आइटम्स",
"category": "श्रेणी",
"allotedHours": "आवंटित घंटे",
"latestDueDate": "सबसे अधिक नियत तिथि",
"earliestDueDate": "सबसे पहले की नियत तिथि",
"updateActionItem": "कार्य आइटम अपडेट करें",
"noneUpdated": "कोई फ़ील्ड अपडेट नहीं किया गया",
"updateStatusMsg": "क्या आप वाकई इस कार्य आइटम को लंबित के रूप में चिह्नित करना चाहते हैं?"
"title": "एक्शन आइटम्स"
},
"organizationAgendaCategory": {
"agendaCategoryDetails": "एजेंडा श्रेणी विवरण",
Expand Down Expand Up @@ -605,16 +600,15 @@
"amount": "मात्रा"
},
"orgSettings": {
"title": "सेटिंग्स",
"title": "समायोजन",
"general": "सामान्य",
"actionItemCategories": "कार्य आइटम श्रेणियाँ",
"updateOrganization": "संगठन अपडेट करें",
"actionItemCategories": "कार्रवाई आइटम श्रेणियाँ",
"updateOrganization": "संगठन अद्यतन करें",
"seeRequest": "अनुरोध देखें",
"noData": "कोई डेटा नहीं",
"otherSettings": "अन्य सेटिंग्स",
"otherSettings": "अन्य सेटिंग",
"changeLanguage": "भाषा बदलें",
"manageCustomFields": "कस्टम फ़ील्ड प्रबंधित करें",
"agendaItemCategories": "एजेंडा आइटम श्रेणियाँ"
"manageCustomFields": "कस्टम फ़ील्ड प्रबंधित करें"
},
"deleteOrg": {
"deleteOrganization": "संगठन हटाएँ",
Expand Down Expand Up @@ -765,7 +759,8 @@
"viewAll": "सभी को देखें",
"talawaUserPortal": "तलावा उपयोगकर्ता पोर्टल",
"my organizations": "मेरे संगठन",
"communityProfile": "सामुदायिक प्रोफ़ाइल"
"communityProfile": "सामुदायिक प्रोफ़ाइल",
"leave": "संगठन छोड़ें"
},
"organizationSidebar": {
"viewAll": "सभी को देखें",
Expand Down Expand Up @@ -861,10 +856,7 @@
"yourPreviousDonations": "आपका पिछला दान",
"donate": "दान करें",
"nothingToShow": "यहां दिखाने के लिए कुछ भी नहीं है.",
"success": "दान सफल",
"invalidAmount": "कृपया दान राशि के लिए संख्यात्मक मान दर्ज करें.",
"donationAmountDescription": "कृपया दान राशि के लिए संख्यात्मक मान दर्ज करें.",
"donationOutOfRange": "दान राशि {{min}} और {{max}} के बीच होनी चाहिए."
"success": "दान सफल"
},
"userEvents": {
"title": "ईवेंट",
Expand Down Expand Up @@ -945,18 +937,13 @@
"disableButton": "अक्षम करना",
"updateActionItemCategory": "अद्यतन",
"actionItemCategoryName": "नाम",
"categoryDetails": "श्रेणी विवरण",
"actionItemCategoryDetails": "कार्य आइटम श्रेणी विवरण",
"enterName": "नाम दर्ज करें",
"successfulCreation": "कार्रवाई आइटम श्रेणी सफलतापूर्वक बनाई गई",
"successfulUpdation": "कार्रवाई आइटम श्रेणी सफलतापूर्वक अपडेट की गई",
"sameNameConflict": "अपडेट करने के लिए कृपया नाम बदलें",
"categoryEnabled": "कार्य आइटम श्रेणी सक्षम",
"categoryDisabled": "कार्रवाई आइटम श्रेणी अक्षम",
"noActionItemCategories": "कोई कार्रवाई आइटम श्रेणी नहीं",
"status": "स्थिति",
"categoryDeleted": "कार्रवाई आइटम श्रेणी सफलतापूर्वक हटा दी गई",
"deleteCategory": "श्रेणी हटाएं",
"deleteCategoryMsg": "क्या आप वाकई इस कार्रवाई आइटम श्रेणी को हटाना चाहते हैं?"
"categoryDisabled": "कार्रवाई आइटम श्रेणी अक्षम"
},
"organizationVenues": {
"title": "स्थानों",
Expand Down Expand Up @@ -1052,5 +1039,12 @@
},
"userPledges": {
"title": "मेरी प्रतिज्ञाएँ"
},
"orgLeave": {
"confirmation": "क्या आप वाकई संगठन छोड़ना चाहते हैं?",
"heading": "संगठन छोड़ रहे हैं?",
"description": "क्या आप वाकई संगठन छोड़ना चाहते हैं? इस एक्शन को वापस नहीं किया जा सकता। यदि संगठन को अनुमोदन की आवश्यकता है, तो आप इसके बिना पुनः शामिल नहीं हो पाएंगे। कोई भी संबंधित डेटा या अनुमतियाँ भी खो सकती हैं।",
"errorOccured": "एक त्रुटि पाई गई। कृपया बाद में पुन: प्रयास करें।",
"orgLeft": "आपने संगठन छोड़ दिया है."
}
}
}
Loading