diff --git a/public/locales/en.json b/public/locales/en.json index 2c024f6ad1..d7d84e47cd 100644 --- a/public/locales/en.json +++ b/public/locales/en.json @@ -394,8 +394,8 @@ "deleteOrg": { "deleteOrganization": "Delete Organization", "deleteMsg": "Do you want to delete this organization?", - "no": "No", - "yes": "Yes", + "cancel": "Cancel", + "confirmDelete": "Confirm Delete", "longDelOrgMsg": "By clicking on Delete organization button you will the organization will be permanently deleted along with its events, tags and all related data." }, "userUpdate": { diff --git a/public/locales/fr.json b/public/locales/fr.json index 66bb7cb02f..d1a3a0c173 100644 --- a/public/locales/fr.json +++ b/public/locales/fr.json @@ -390,8 +390,8 @@ "deleteOrg": { "deleteOrganization": "Supprimer l'organisation", "deleteMsg": "Voulez-vous supprimer cette organisation ?", - "no": "Non", - "yes": "Oui", + "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, étiquettes et toutes les données associées." }, "userUpdate": { @@ -632,4 +632,4 @@ "selectContact": "Sélectionnez un contact pour démarrer la conversation", "sendMessage": "Envoyer le message" } -} +} \ No newline at end of file diff --git a/public/locales/hi.json b/public/locales/hi.json index 7952f0879c..354d38af49 100644 --- a/public/locales/hi.json +++ b/public/locales/hi.json @@ -390,8 +390,8 @@ "deleteOrg": { "deleteOrganization": "संगठन हटाएं", "deleteMsg": "क्या आप इस संगठन को हटाना चाहते हैं?", - "no": "नहीं", - "yes": "हां", + "cancel": "रद्द करना", + "confirmDelete": "हटाने की पुष्टि करें", "longDelOrgMsg": "संगठन हटाने के बटन पर क्लिक करके, संगठन को स्थायित रूप से हटा दिया जाएगा, साथ ही उसके आयोजन, टैग और सभी संबंधित डेटा भी हटा दिया जाएगा।" }, "userUpdate": { @@ -633,4 +633,4 @@ "selectContact": "बातचीत शुरू करने के लिए एक संपर्क चुनें", "sendMessage": "मेसेज भेजें" } -} +} \ No newline at end of file diff --git a/public/locales/sp.json b/public/locales/sp.json index 540844d648..a82d7329d3 100644 --- a/public/locales/sp.json +++ b/public/locales/sp.json @@ -390,8 +390,8 @@ "deleteOrg": { "deleteOrganization": "Eliminar organización", "deleteMsg": "¿Desea eliminar esta organización?", - "no": "No", - "yes": "Sí", + "cancel": "Cancelar", + "confirmDelete": "Confirmar eliminación", "longDelOrgMsg": "Al hacer clic en el botón de Eliminar organización, se eliminará permanentemente la organización junto con sus eventos, etiquetas y todos los datos relacionados." }, "userUpdate": { @@ -633,4 +633,4 @@ "selectContact": "Seleccione un contacto para iniciar una conversación", "sendMessage": "Enviar mensaje" } -} +} \ No newline at end of file diff --git a/public/locales/zh.json b/public/locales/zh.json index 8c2a38f86d..0a63314bab 100644 --- a/public/locales/zh.json +++ b/public/locales/zh.json @@ -390,8 +390,8 @@ "deleteOrg": { "deleteOrganization": "删除组织", "deleteMsg": "您是否要删除此组织?", - "no": "否", - "yes": "是", + "cancel": "取消", + "confirmDelete": "确认删除", "longDelOrgMsg": "点击删除组织按钮后,将永久删除该组织以及其活动、标签和所有相关数据。" }, "userUpdate": { @@ -633,4 +633,4 @@ "selectContact": "選擇聯絡人開始對話", "sendMessage": "傳訊息" } -} +} \ No newline at end of file diff --git a/src/components/DeleteOrg/DeleteOrg.tsx b/src/components/DeleteOrg/DeleteOrg.tsx index e6442d6558..91fe4263f4 100644 --- a/src/components/DeleteOrg/DeleteOrg.tsx +++ b/src/components/DeleteOrg/DeleteOrg.tsx @@ -66,18 +66,18 @@ function deleteOrg(): JSX.Element { {t('deleteMsg')} diff --git a/src/screens/OrgSettings/OrgSettings.tsx b/src/screens/OrgSettings/OrgSettings.tsx index d0df92b2c6..91a8874fa1 100644 --- a/src/screens/OrgSettings/OrgSettings.tsx +++ b/src/screens/OrgSettings/OrgSettings.tsx @@ -15,7 +15,7 @@ function orgSettings(): JSX.Element { }); document.title = t('title'); - const currentUrl = window.location.href.split('=')[1]; + const orgId = window.location.href.split('=')[1]; return ( <> @@ -29,7 +29,7 @@ function orgSettings(): JSX.Element { - {currentUrl && } + {orgId && }