Skip to content

Commit

Permalink
Added tests
Browse files Browse the repository at this point in the history
  • Loading branch information
skbhagat0502 committed Nov 5, 2023
2 parents c877359 + b2a41dd commit 969de9c
Show file tree
Hide file tree
Showing 56 changed files with 5,279 additions and 1,780 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
name: Adding Issue Label
runs-on: ubuntu-latest
steps:
- uses: Renato66/auto-label@v2.2.0
- uses: Renato66/auto-label@v2.3.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
ignore-comments: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/stale@v7
- uses: actions/stale@v8
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue.'
Expand Down
20 changes: 20 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
"react-dom": "^17.0.2",
"react-google-recaptcha": "^2.1.0",
"react-i18next": "^11.18.1",
"react-infinite-scroll-component": "^6.1.0",
"react-redux": "^7.2.5",
"react-router-dom": "^5.2.0",
"react-scripts": "5.0.1",
Expand Down
42 changes: 35 additions & 7 deletions public/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"cancel": "Cancel",
"noOrgErrorTitle": "Organizations Not Found",
"noOrgErrorDescription": "Please create an organization through dashboard",

"endOfResults": "End of results",
"manageFeatures": "Manage Features",
"manageFeaturesInfo": "Creation Successful ! Please select features that you want to enale for this organization from the plugin store.",
"goToStore": "Go to Plugin Store",
Expand All @@ -109,6 +109,15 @@
"name": "Name",
"email": "Email",
"roles_userType": "Role/User-Type",
"joined_organizations": "Joined Organizations",
"blocked_organizations": "Blocked Organizations",
"orgJoinedBy": "Organizations Joined By",
"orgThatBlocked": "Organizations That Blocked",
"endOfResults": "End of results",
"hasNotJoinedAnyOrg": "has not joined any organization",
"isNotBlockedByAnyOrg": "is not blocked by any organization",
"searchByOrgName": "Search By Organization Name",
"view": "View",
"admin": "ADMIN",
"superAdmin": "SUPERADMIN",
"user": "USER",
Expand All @@ -131,6 +140,7 @@
"accept": "Accept",
"reject": "Reject",
"enterName": "Enter Name",
"endOfResults": "End of results",
"loadingRequests": "Loading Requests...",
"noRequestFound": "No Request Found",
"sort": "Sort",
Expand All @@ -153,6 +163,13 @@
"events": "Events",
"blockedUsers": "Blocked Users",
"requests": "Requests",
"viewAll": "View All",
"upcomingEvents": "Upcoming Events",
"noUpcomingEvents": "No Upcoming Events",
"latestPosts": "Latest Posts",
"noPostsPresent": "No Posts Present",
"membershipRequests": "Membership requests",
"noMembershipRequests": "No Membership requests present",
"talawaApiUnavailable": "Talawa-API service is unavailable. Is it running? Check your network connectivity too."
},
"organizationPeople": {
Expand Down Expand Up @@ -251,17 +268,25 @@
"posts": "Posts",
"createPost": "Create Post",
"postDetails": "Post Details",
"postTitle1": "Write title of the post",
"postTitle": "Title",
"information": "Information",
"information1": "Write information of the post",
"image": "Post Image",
"video": "Video",
"video": "Post Video",
"addPost": "Add Post",
"searchTitle": "Search By Title",
"searchText": "Search By Text",
"ptitle": "Post Title",
"postDes": "What do you to talk about?",
"Title": "Title",
"Text": "Text"
"Text": "Text",
"cancel": "Cancel",
"searchBy": "Search By",
"Oldest": "Oldest First",
"Latest": "Latest First",
"sortPost": "Sort Post",
"tag": " Your browser does not support the video tag"
},
"postNotFound": {
"post": "Post",
Expand All @@ -283,6 +308,7 @@
"author": "Author",
"imageURL": "Image URL",
"videoURL": "Video URL",
"edit": "Edit Post",
"deletePost": "Delete Post",
"deletePostMsg": "Do you want to remove this post?",
"no": "No",
Expand All @@ -296,6 +322,8 @@
"updatePost": "Update Post",
"postDeleted": "Post deleted successfully.",
"postUpdated": "Post Updated successfully.",
"tag": " Your browser does not support the video tag",
"pin": "Pin Post",
"talawaApiUnavailable": "Talawa-API service is unavailable. Is it running? Check your network connectivity too."
},
"blockUnblockUser": {
Expand Down Expand Up @@ -328,7 +356,7 @@
"enterNewPassword": "Enter New Password",
"cofirmNewPassword": "Confirm New Password",
"changePassword": "Change Password",
"backToHome": "Back to Home",
"backToLogin": "Back to Login",
"userOtp": "e.g. 12345",
"password": "Password",
"emailNotRegistered": "Email is not registered.",
Expand Down Expand Up @@ -377,9 +405,9 @@
"deleteOrg": {
"deleteOrganization": "Delete Organization",
"deleteMsg": "Do you want to delete this organization?",
"no": "No",
"yes": "Yes",
"longDelOrgMsg": "By clicking on Delete organization button you will the organization will be permanently deleted along with its events, tags and all related data."
"cancel": "Cancel",
"confirmDelete": "Confirm Delete",
"longDelOrgMsg": "By clicking on Delete Organization button the organization will be permanently deleted along with its events, tags and all related data."
},
"userUpdate": {
"firstName": "First Name",
Expand Down
71 changes: 50 additions & 21 deletions public/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
"sort": "Trier",
"filter": "Filtre",
"cancel": "Annuler",
"endOfResults": "Fin des résultats",
"noOrgErrorTitle": "Organisations non trouvées",
"noOrgErrorDescription": "Veuillez créer une organisation via le tableau de bord",
"noResultsFoundFor": "Aucun résultat trouvé pour "
Expand All @@ -104,6 +105,15 @@
"name": "Nom",
"email": "E-mail",
"roles_userType": "Rôle/Type d'utilisateur",
"joined_organizations": "Organisations rejointes",
"blocked_organizations": "Organisations bloquées",
"endOfResults": "Fin des résultats",
"orgJoinedBy": "Organisation rejointe par",
"orgThatBlocked": "Organisation bloquée par",
"hasNotJoinedAnyOrg": "n'a rejoint aucune organisation",
"isNotBlockedByAnyOrg": "n'est bloqué par aucune organisation",
"searchByOrgName": "Rechercher par nom d'organisation",
"view": "Vue",
"admin": "ADMIN",
"superAdmin": "SUPERADMIN",
"user": "UTILISATEUR",
Expand All @@ -125,6 +135,7 @@
"accept": "Accepter",
"reject": "Rejeter",
"enterName": "Entrez le nom",
"endOfResults": "Fin des résultats",
"loadingRequests": "Chargement des demandes...",
"noRequestFound": "Aucune demande trouvée",
"sort": "Trier",
Expand All @@ -146,6 +157,13 @@
"events": "Événements",
"blockedUsers": "Utilisateurs bloqués",
"requests": "Demandes",
"viewAll": "Voir tout",
"upcomingEvents": "Événements à venir",
"noUpcomingEvents": "Aucun événement à venir",
"latestPosts": "Derniers messages",
"noPostsPresent": "Aucune publication présente",
"membershipRequests": "Demandes d'adhésion",
"noMembershipRequests": "Aucune demande d'adhésion",
"talawaApiUnavailable": "Le service Talawa-API n'est pas disponible. Est-il en cours d'exécution ? Vérifiez également votre connectivité réseau."
},
"organizationPeople": {
Expand Down Expand Up @@ -239,22 +257,30 @@
"talawaApiUnavailable": "Le service Talawa-API n'est pas disponible. Est-il en cours d'exécution ? Vérifiez également votre connectivité réseau."
},
"orgPost": {
"title": "Postes de Talawa",
"searchPost": "Rechercher un article",
"posts": "Des postes",
"createPostnot found": "Créer un article",
"title": "Talawa Publications",
"searchPost": "Rechercher une publication",
"posts": "Publications",
"createPost": "Créer une publication",
"postDetails": "Détails de la publication",
"postTitle1": "Écrire le titre de la publication",
"postTitle": "Titre",
"information": "Informations",
"image": "Image",
"video": "Vidéo",
"addPost": "Ajouter un article",
"information1": "Écrire les informations de la publication",
"image": "Image de la publication",
"video": "Vidéo de la publication",
"addPost": "Ajouter une publication",
"searchTitle": "Rechercher par titre",
"searchText": "Rechercher par texte",
"ptitle": "Titre de l'article",
"postDes": "De quoi parlez-vous ?",
"ptitle": "Titre de la publication",
"postDes": "De quoi voulez-vous parler?",
"Title": "Titre",
"Text": "Texte"
"Text": "Texte",
"cancel": "Annuler",
"searchBy": "Rechercher par",
"Oldest": "Les plus anciennes d'abord",
"Latest": "Les plus récentes d'abord",
"sortPost": "Trier les publications",
"tag": "Votre navigateur ne prend pas en charge la balise vidéo"
},
"postNotFound": {
"post": "Poste",
Expand All @@ -276,19 +302,22 @@
"author": "Auteur",
"imageURL": "URL de l'image",
"videoURL": "URL de la vidéo",
"deletePost": "Supprimer le message",
"deletePostMsg": "Voulez-vous supprimer ce message ?",
"edit": "Modifier la publication",
"deletePost": "Supprimer la publication",
"deletePostMsg": "Voulez-vous supprimer cette publication ?",
"no": "Non",
"yes": "Oui",
"editPost": "Modifier le message",
"editPost": "Modifier la publication",
"postTitle": "Titre",
"information": "Informations",
"image": "Image",
"video": "Vidéo",
"close": "Proche",
"updatePost": "Mettre à jour le message",
"postDeleted": "Message supprimé avec succès.",
"postUpdated": "Message mis à jour avec succès.",
"close": "Fermer",
"pin": "Épingler la publication",
"updatePost": "Mettre à jour la publication",
"postDeleted": "Publication supprimée avec succès.",
"postUpdated": "Publication mise à jour avec succès.",
"tag": "Votre navigateur ne prend pas en charge la balise vidéo",
"talawaApiUnavailable": "Le service Talawa-API n'est pas disponible. Est-il en cours d'exécution ? Vérifiez également votre connectivité réseau."
},
"blockUnblockUser": {
Expand Down Expand Up @@ -321,7 +350,7 @@
"enterNewPassword": "Entrez un nouveau mot de passe",
"cofirmNewPassword": "Confirmer le nouveau mot de passe",
"changePassword": "Changer le mot de passe",
"backToHome": "De retour à la maison",
"backToLogin": "Retour à la connexion",
"userOtp": "par exemple. 12345",
"password": "Mot de passe",
"emailNotRegistered": "L'e-mail n'est pas enregistré.",
Expand Down Expand Up @@ -372,9 +401,9 @@
"deleteOrg": {
"deleteOrganization": "Supprimer l'organisation",
"deleteMsg": "Voulez-vous supprimer cette organisation ?",
"no": "Non",
"yes": "Oui",
"longDelOrgMsg": "En cliquant sur le bouton Supprimer l'organisation, l'organisation sera définitivement supprimée, ainsi que ses événements, étiquettes et toutes les données associées."
"cancel": "Annuler",
"confirmDelete": "Confirmer la suppression",
"longDelOrgMsg": "En cliquant sur le bouton Supprimer l'organisation, l'organisation sera définitivement supprimée ainsi que ses événements, balises et toutes les données associées."
},
"userUpdate": {
"firstName": "Prénom",
Expand Down
Loading

0 comments on commit 969de9c

Please sign in to comment.