diff --git a/package.json b/package.json index 9be0b23ac..9fc29467e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "iSunFA", - "version": "0.8.0+9", + "version": "0.8.0+10", "private": false, "scripts": { "dev": "next dev", diff --git a/src/components/login_confirm_modal/information_statement.tsx b/src/components/login_confirm_modal/information_statement.tsx index 362bf1113..c3976d668 100644 --- a/src/components/login_confirm_modal/information_statement.tsx +++ b/src/components/login_confirm_modal/information_statement.tsx @@ -1,128 +1,86 @@ import React from 'react'; +import { useTranslation } from 'react-i18next'; const InformationStatement: React.FC = () => { + const { t } = useTranslation('common'); return ( -
Dear User,
-- Thank you for choosing to use our accounting software. During your use - of this software, we may collect and process some of your personal - information. This statement aims to inform you about the information we - collect, how it is used, and how we protect your privacy. -
+{t('INFO_COLLECTION.DEAR_USER')}
+{t('INFO_COLLECTION.THANK_YOU')}
-1. Types of Information Collected
-- During your use of the accounting software, we may collect the following - information: -
-{t('INFO_COLLECTION.TYPES_OF_INFO')}
+{t('INFO_COLLECTION.COLLECT_INFO')}
+2. Use of Information
-The information we collect will primarily be used for the following purposes:
-{t('INFO_COLLECTION.USE_OF_INFO')}
+{t('INFO_COLLECTION.USE_OF_INFO_DESC')}
+3. Protection of Information
-- We commit to taking reasonable technical and organizational measures to - protect your personal information from unauthorized access, disclosure, - alteration, or destruction. These measures include but are not limited to: -
-{t('INFO_COLLECTION.PROTECTION_OF_INFO')}
+{t('INFO_COLLECTION.PROTECTION_DESC')}
+4. Sharing of Information
-- We will not sell, rent, or trade your personal information to any third - party without your consent. However, we may share your information in the - following circumstances: -
-{t('INFO_COLLECTION.SHARING_OF_INFO')}
+{t('INFO_COLLECTION.SHARING_DESC')}
+5. Your Rights
-- You have the right to access, correct, or delete your personal - information at any time. If you wish to exercise these rights or have - any questions, please contact us via: -
-Email: support@isunfa.com
-Phone: +123-456-7890
-- We will strive to respond to your request within a reasonable time frame. -
+{t('INFO_COLLECTION.YOUR_RIGHTS')}
+{t('INFO_COLLECTION.RIGHTS_DESC')}
+{t('INFO_COLLECTION.EMAIL')}
+{t('INFO_COLLECTION.PHONE')}
+{t('INFO_COLLECTION.RESPONSE_TIME')}
-6. Changes to the Statement
-- We may update this statement from time to time to reflect changes in our - information handling practices. When we make significant changes to this - statement, we will notify you through in-software notifications or via - email. -
+{t('INFO_COLLECTION.CHANGES')}
+{t('INFO_COLLECTION.CHANGES_DESC')}
-Thank you for your trust and support in our accounting software!
-iSunFA August 6, 2024
+{t('INFO_COLLECTION.THANK_YOU_END')}
+{t('INFO_COLLECTION.SIGN_OFF')}
Dear User,
-- Welcome to our accounting software. To ensure you fully understand our - services and how we protect your personal information, please carefully - read the following Terms of Service and Privacy Policy. -
- -I. Terms of Service
- -Service Content
-- Our accounting software includes features such as bookkeeping, report - generation, invoice management, and financial analysis. We reserve the - right to update or modify the service content at any time and will - notify you of such changes through appropriate means. -
- -Eligibility
-- You must be at least 18 years old or meet the legal age requirements of - your country, and have full legal capacity to use our services. You - agree to use our services in accordance with relevant laws and - regulations and not engage in any illegal or improper activities. -
- -Account Management
-- You need to provide accurate and complete registration information and - are responsible for maintaining the security of your account. If you - discover any unauthorized account use or security vulnerabilities, - please notify us immediately. -
- -Service Fees
-- Some features or services may require payment. Specific fees and payment - methods will be detailed on relevant pages or documents. Payments are - non-refundable once confirmed, unless otherwise required by law. -
- -Limitation of Liability
-- We are not liable for any indirect, incidental, special, or - consequential damages arising from the use of our services. We are not - responsible for any third-party services or links provided. -
- -Termination of Service
-- We reserve the right to terminate or suspend the service at any time for - any reason without liability. You may cancel the use of our services at - any time, but fees paid are non-refundable. -
- -II. Privacy Policy
- -Information Collection
-- We collect various types of information related to your use of the - accounting software, including but not limited to personal - identification information, Usage data, and technical information. For - more details, please refer to the `"`Information Collection Statement.`"` -
- -Use of Information
-- The collected information will be used to provide, maintain, and improve - our services, ensure security, and conduct data analysis. We will not - use your information for any other purposes without your consent. -
- -Information Protection
-- We take reasonable technical and organizational measures to protect your - information, including data encryption, access control, and regular - security audits. For details, please refer to the `"`Information - Collection Statement.`"` -
- -Information Sharing
-- We will not sell, rent, or trade your personal information to third - parties without your consent, except in specific situations such as - legal requirements, service provider cooperation, or business transfers. - For more details, please refer to the `"`Information Collection - Statement.`"` -
- -Your Rights
-- You have the right to access, correct, or delete your personal - information at any time. If needed, please contact us via - support@isunfa.com or +123-456-7890. -
- -Changes to the Privacy Policy
-- We may update the Privacy Policy from time to time. When significant - changes are made, we will notify you through appropriate means and - publish the changes in the updated policy. -
- -Thank you for your trust and support in our accounting software!
-iSunFA August 6, 2024
+{t('TOS_N_PP.DEAR_USER')}
+{t('TOS_N_PP.WELCOME')}
+ +{t('TOS_N_PP.TERMS_OF_SERVICE')}
+ +{t('TOS_N_PP.SERVICE_CONTENT_TITLE')}
+{t('TOS_N_PP.SERVICE_CONTENT')}
+ +{t('TOS_N_PP.ELIGIBILITY_TITLE')}
+{t('TOS_N_PP.ELIGIBILITY')}
+ +{t('TOS_N_PP.ACCOUNT_MANAGEMENT_TITLE')}
+{t('TOS_N_PP.ACCOUNT_MANAGEMENT')}
+ +{t('TOS_N_PP.SERVICE_FEES_TITLE')}
+{t('TOS_N_PP.SERVICE_FEES')}
+ +{t('TOS_N_PP.LIABILITY_TITLE')}
+{t('TOS_N_PP.LIABILITY')}
+ +{t('TOS_N_PP.TERMINATION_TITLE')}
+{t('TOS_N_PP.TERMINATION')}
+ +{t('TOS_N_PP.PRIVACY_POLICY')}
+ +{t('TOS_N_PP.INFO_COLLECTION_TITLE')}
+{t('TOS_N_PP.INFO_COLLECTION')}
+ +{t('TOS_N_PP.USE_OF_INFO_TITLE')}
+{t('TOS_N_PP.USE_OF_INFO')}
+ +{t('TOS_N_PP.PROTECTION_TITLE')}
+{t('TOS_N_PP.PROTECTION')}
+ +{t('TOS_N_PP.SHARING_TITLE')}
+{t('TOS_N_PP.SHARING')}
+ +{t('TOS_N_PP.YOUR_RIGHTS_TITLE')}
+{t('TOS_N_PP.YOUR_RIGHTS')}
+{t('TOS_N_PP.EMAIL')}
+{t('TOS_N_PP.PHONE')}
+{t('TOS_N_PP.RESPONSE_TIME')}
+ +{t('TOS_N_PP.CHANGES_TITLE')}
+{t('TOS_N_PP.CHANGES')}
+ +{t('TOS_N_PP.THANK_YOU')}
+{t('TOS_N_PP.SIGN_OFF')}