diff --git a/userfront/lib/features/auth/presentation/signup_screen.dart b/userfront/lib/features/auth/presentation/signup_screen.dart index 8cf6946c..135dc419 100644 --- a/userfront/lib/features/auth/presentation/signup_screen.dart +++ b/userfront/lib/features/auth/presentation/signup_screen.dart @@ -838,11 +838,19 @@ class _SignupScreenState extends State { static String _resolveAgreementText( String key, { required String fallback, + String? englishFallback, required Set placeholders, }) { final localized = tr(key, fallback: '').trim(); - if (localized.isEmpty || placeholders.contains(localized)) { - return fallback; + final hasCorruptedEscapes = RegExp(r'\\{3,}').hasMatch(localized); + final preferredLocaleCode = resolvePreferredLocaleCode(); + final useEnglishFallback = + preferredLocaleCode.startsWith('en') && englishFallback != null; + if ( + localized.isEmpty || + placeholders.contains(localized) || + hasCorruptedEscapes) { + return useEnglishFallback ? englishFallback : fallback; } return localized; } @@ -918,10 +926,106 @@ class _SignupScreenState extends State { 본 약관에 따른 분쟁은 서울중앙지방법원을 관할 법원으로 합니다. 부칙 본 약관은 2024년 10월 1일부터 시행됩니다. +"""; + const englishFallback = """ +Baron Software Terms of Service + +Chapter 1. General Provisions +Article 1 (Purpose) +These Terms of Service define the rights, obligations, responsibilities, and other necessary matters between Baron Consultant Co., Ltd. (the "Company") and users in connection with the use of Baron Software and related services (the "Service"). + +Article 2 (Definitions) +1. "Service" means the software and related services provided by the Company. +2. "User" means any member or non-member who accesses and uses the Service. +3. "Member" means a person who agrees to these Terms and enters into a service agreement with the Company. +4. "Non-member" means a person who uses part of the Service without registering as a member. + +Article 3 (Effect and Amendment of the Terms) +These Terms take effect when the User agrees to them and the Company accepts the registration. The Company may amend these Terms when necessary, and amended Terms become effective after notice is provided through the Service. + +Article 4 (Governing Rules) +Matters not expressly provided in these Terms shall be governed by applicable laws of the Republic of Korea and general commercial practice. + +Chapter 2. Service Agreement +Article 5 (Formation of the Agreement) +The service agreement is formed when the User agrees to these Terms, submits the registration form provided by the Company, and the Company approves the registration. + +Article 6 (Reservation or Refusal of Registration) +The Company may reserve or refuse registration if the application contains false information or if it is technically difficult to provide the Service. + +Article 7 (Changes to User Information) +Members may review and edit their information at any time through the account management menu. Members must promptly update changed information and are responsible for problems arising from failure to do so. + +Chapter 3. Privacy Protection +Article 8 (Principles of Privacy Protection) +The Company protects Members' personal information in accordance with applicable laws. Detailed privacy matters are governed by the separate Privacy Policy. + +Article 9 (Compliance with the Privacy Policy) +The collection, use, disclosure, retention, and protection of personal information are governed by the Privacy Policy, which Users may review at any time. + +Article 10 (Children Under 14) +If the Company collects personal information from a child under the age of 14, the consent of a legal guardian is required. + +Chapter 4. Use of the Service +Article 11 (Provision of the Service) +The Company begins providing the Service once a registration request is approved. In principle, the Service is available 24 hours a day, 7 days a week. + +Article 12 (Change or Suspension of the Service) +The Company may change or suspend the Service after prior notice when provision of the Service becomes difficult. + +Chapter 5. Information and Advertising +Article 13 (Information and Advertising) +The Company may provide information and advertising considered necessary during use of the Service. Members may opt out of unwanted communications where permitted. + +Chapter 6. User Content +Article 14 (Management of Content) +The Company may delete content posted by a Member if it is illegal or violates these Terms. + +Article 15 (Copyright) +Copyright in content posted by Members belongs to the Member, but the Company may use such content for service promotion and improvement where permitted by law. + +Chapter 7. Termination and Restrictions +Article 16 (Termination) +Members may request termination of the agreement at any time, and the Company will process the request promptly. + +Article 17 (Restriction of Use) +The Company may restrict access to the Service if a Member violates these Terms. + +Chapter 8. Damages and Disclaimer +Article 18 (Damages) +The Company is not liable for damages arising from free services unless required by law. + +Article 19 (Disclaimer) +The Company is not liable where the Service cannot be provided due to force majeure such as natural disasters. + +Chapter 9. Paid Services +Article 20 (Use of Paid Services) +The Company may provide certain services for a fee. Pricing, payment methods, and refund procedures will be described on the service information page and payment screen. Fees are generally prepaid. + +Article 21 (Refund Policy) +Users may receive a full refund if they do not start using a paid service within 7 days after payment. Partial refunds may apply when service suspension occurs for reasons not attributable to the User. + +Article 22 (Suspension and Cancellation of Paid Services) +Members who wish to cancel a paid service must submit a cancellation request through customer support. The Company may immediately suspend and terminate paid services if the Member violates these Terms or uses the service improperly. + +Chapter 10. No Assignment +Article 23 (No Assignment) +Members may not assign, transfer, donate, or pledge their right to use the Service or their contractual status to a third party. + +Chapter 11. Governing Court +Article 24 (Dispute Resolution) +If a dispute arises in connection with the use of the Service, the Company and the Member shall make good-faith efforts to resolve it. + +Article 25 (Jurisdiction) +Any dispute arising under these Terms shall be subject to the exclusive jurisdiction of the Seoul Central District Court. + +Supplementary Provision +These Terms take effect on October 1, 2024. """; return _resolveAgreementText( 'msg.userfront.signup.tos_full', fallback: fallback, + englishFallback: englishFallback, placeholders: {'서비스 이용약관 전문...', 'Tos Full'}, ); } @@ -1035,10 +1139,83 @@ class _SignupScreenState extends State { 회사는 이용자의 개인정보를 국외로 이전하지 않으며, 향후 필요한 경우, 사전에 이용자의 동의를 받습니다. 제8조 (기타) 본 방침에 명시되지 않은 사항은 회사의 내부 방침과 관련 법령에 따릅니다. +"""; + const englishFallback = """ +Consent to Collection and Use of Personal Information + +Baron Service Privacy Policy + +Article 1 (Purpose) +Baron Consultant Co., Ltd. (the "Company") establishes this Privacy Policy to protect the personal information of customers and users of Baron Service (the "Service") and to fulfill its duties under the Personal Information Protection Act and other applicable laws. + +Article 2 (Purposes of Processing Personal Information) +The Company processes personal information for the following purposes: +- identity verification for registration and account management +- communication by phone or email +- provision of notices and operation of the Service +- delivery of product materials +- consultation and demo requests +- event participation and seminar guidance +- delivery of security guidance materials +- technical support +- service improvement feedback +- marketing communications for users who have separately agreed + +Article 3 (Retention Period) +The Company retains and uses personal information within the period required by law or agreed to by the data subject. +- member information: from registration until 1 year after account deletion +- promotional, consultation, and contract-related information: 2 years + +Article 4 (Provision to Third Parties) +The Company processes personal information only within the scope described in this Policy and provides it to third parties only where consent has been obtained or where required by law. + +Article 5 (Entrustment of Processing) +The Company does not currently entrust personal information processing to external processors for the core scope described here. If outsourcing becomes necessary, the Company will provide notice and obtain consent where required. + +Article 6 (Rights of Data Subjects) +Data subjects may request access, correction, deletion, suspension of processing, and other rights permitted by law. Requests may be submitted in writing, by email, or by facsimile. The Company may verify the identity or authority of the requester. + +Article 7 (Items of Personal Information Processed) +The Company may process the following items: +- required: name, mobile phone number, email address +- optional: company telephone number, inquiry details +- collection channels: website, phone, email + +Article 8 (Destruction of Personal Information) +When personal information is no longer needed due to expiration of the retention period or achievement of the processing purpose, the Company destroys it without delay. Electronic records are deleted using technically appropriate methods, and paper documents are shredded or incinerated. + +Article 9 (Security Measures) +The Company implements administrative, technical, and physical safeguards, including internal management plans, employee training, access control, encryption where appropriate, security software, and restricted access to facilities. + +Article 10 (Automatic Collection Devices) +The Company does not use cookies for this Service in the scope described here. + +Article 11 (Chief Privacy Officer) +The Company designates a privacy officer responsible for overall personal information protection and complaint handling. + +Article 12 (Requests for Access) +Data subjects may submit requests for access to personal information to the department designated by the Company, and the Company will make reasonable efforts to respond promptly. + +Article 13 (Remedies for Rights Infringement) +Data subjects may seek dispute resolution or consultation from competent authorities and institutions handling personal information disputes and complaints. + +Article 14 (Changes to This Privacy Policy) +If this Policy is added to, deleted from, or otherwise modified due to changes in law, policy, or security technology, the Company will provide advance notice before the effective date. + +Supplementary Provisions +1. Effective Date +This Privacy Policy takes effect on October 1, 2024. +2. Notice of Amendments +The Company will notify users of amendments through service notices, the website, or email as appropriate. +3. Severability +If any part of this Policy is held invalid or unenforceable, the remaining provisions will remain effective. +4. Miscellaneous +Matters not expressly provided in this Policy are governed by the Company's internal policies and applicable laws. """; return _resolveAgreementText( 'msg.userfront.signup.privacy_full', fallback: fallback, + englishFallback: englishFallback, placeholders: {'개인정보 수집 및 이용 동의 전문...', 'Privacy Full'}, ); }