Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

add: translation

kruzhambuse5e56f348361
diff --git a/public/locales/en.json b/public/locales/en.json
index 504d8dd5e..86fbc8a1d 100644
--- a/public/locales/en.json
+++ b/public/locales/en.json
@@ -642,7 +642,14 @@
"transfer": "Transfer project",
"transferTo": "Transfer project",
"transferHint": "You can transfer '{{name}}' project to another user.\nThis user will become the project's owner and will be able to manage the project's settings, add/remove members, and invite new users.\nYou will be assigned to the project as an administrator. However, the new owner will be able to remove you from the project.",
- "transfereeEmail": "Transferee email"
+ "transfereeEmail": "Transferee email",
+ "reseted": {
+ "all": "Reset all",
+ "allHint": "All the projects and all the data related to them will be deleted from our servers.",
+ "partially": "Reset partial",
+ "partiallyDesc": "The 'Reset partial' function allows you to reset the data of a specific project within a given date range.",
+ "partiallyHint": "To reset the data of a specific project within a date range, select the start and end dates of the range and the project you wish to reset.\nDouble-check that you have selected the correct project and date range before clicking 'Reset'.\nOnce you click 'Reset', all the data associated with the selected project within the selected date range will be permanently deleted and cannot be recovered."
+ }
},
"captcha": {
"settings": {
diff --git a/src/pages/Project/Settings/ProjectSettings.tsx b/src/pages/Project/Settings/ProjectSettings.tsx
index 06c6d4f34..e1f52e7a3 100644
--- a/src/pages/Project/Settings/ProjectSettings.tsx
+++ b/src/pages/Project/Settings/ProjectSettings.tsx
@@ -47,11 +47,11 @@ const MAX_IPBLACKLIST_LENGTH = 300
const tabDeleteDataModal = [
{
name: 'all',
- title: 'project.settings.delete.all',
+ title: 'project.settings.reseted.all',
},
{
name: 'partially',
- title: 'project.settings.delete.partially',
+ title: 'project.settings.reseted.partially',
},
]
@@ -89,11 +89,11 @@ const ModalMessage = ({
</div>
{tab === tabDeleteDataModal[1].name && (
<>
- <p className='text-gray-500 dark:text-gray-300 italic mt-4 mb-4 text-sm'>
- {t('project.settings.delete.partiallyHint')}
+ <p className='text-gray-500 dark:text-gray-300 mt-4 mb-2 text-sm'>
+ {t('project.settings.reseted.partiallyDesc')}
</p>
- <p className='text-gray-500 dark:text-gray-300 italic mt-1 mb-4 text-sm'>
- if you want to reset the project not all project please select the date range
+ <p className='text-gray-500 dark:text-gray-300 italic mt-1 mb-2 text-sm'>
+ {t('project.settings.reseted.partiallyHint')}
</p>
<input type='text' className='h-0 w-0 border-0 p-0 m-0 focus:text-transparent focus:border-transparent focus:shadow-none focus:ring-transparent' />
<FlatPicker
@@ -107,7 +107,7 @@ const ModalMessage = ({
)}
{tab === tabDeleteDataModal[0].name && (
<p className='text-gray-500 dark:text-gray-300 italic mt-4 mb-4 text-sm'>
- {t('project.settings.delete.allHint')}
+ {t('project.settings.reseted.allHint')}
</p>
)}
</>