import type { RuntimeTranslator } from '@/i18n/runtime';
import { type PolicySection } from './types';
export const TERMS_LAST_UPDATED = '2026-06-07';
/**
* ------------------------------------------------------------------
* 服务条款 (TERMS OF SERVICE)
* ------------------------------------------------------------------
*/
export function createTermsSections(rt: RuntimeTranslator): PolicySection[] {
return [
{
value: 'contract-establishment',
title: rt('1_agreement_and_service_overview_511c6782'),
content: (
{rt('1_1_parties_d2bf79cd')}{' '}
{rt('these_terms_of_service_the_agreement_govern_1e6754fc')}
{rt('1_2_read_carefully_dfde346e')}{' '}
{rt('this_system_is_a_general_purpose_full_f1d395fe')}
{rt('1_3_agreement_contents_f05cebc0')}{' '}
{rt('the_agreement_includes_these_terms_and_any_43e244b6')}
),
},
{
value: 'service-definition',
title: rt('2_service_definition_and_nature_61db87f8'),
content: (
-
{rt('your_responsibility_527cbdbf')}{' '}
{rt('the_entity_deploying_and_operating_a_customized_047c6a8f')}
),
},
{
value: 'account-specifications',
title: rt('3_registration_and_account_use_cfab1555'),
content: (
{rt('3_1_accounts_2631c114')}{' '}
{rt('users_may_register_through_the_frontend_or_e527ef52')}
{rt('3_2_password_and_token_security_80dd80d9')}
-
{rt('password_security_7a29e44e')}{' '}
{rt('keep_your_account_password_secure_eb9adf10')}
-
{rt('api_token_security_34af066f')}{' '}
{rt('a_personal_access_token_api_key_represents_6215b3b0')}{' '}
{rt('you_are_responsible_for_data_loss_or_0c9acc88')}
),
},
{
value: 'user-conduct',
title: rt('4_prohibited_user_conduct_bd5628b6'),
content: (
{rt('when_using_this_system_you_must_comply_1e54356c')}{' '}
{rt('the_following_activities_are_strictly_prohibited_5b57de7f')}
-
{rt('endangering_national_security_4a160c4e')}{' '}
{rt(
'opposing_constitutional_principles_endangering_national_security_disclosing_bdfb8814',
)}
-
{rt('illegal_information_services_c97748bb')}{' '}
{rt('hacking_tools_ddos_attack_services_server_brute_686746c4')}
-
{rt('pornography_gambling_and_drugs_fdb44a54')}{' '}
{rt(
'creating_copying_publishing_or_distributing_obscene_pornographic_ec8c0fdb',
)}
-
{rt('intellectual_property_infringement_cc10b950')}
{' '}
{rt('selling_pirated_software_or_media_illegal_game_3f0f4159')}
-
{rt('other_unlawful_information_4085c17c')}{' '}
{rt(
'spreading_rumors_promoting_cults_or_superstition_insulting_a062981a',
)}
{rt('enforcement_9c7cfd68')}{' '}
{rt('if_these_rules_are_violated_the_platform_86df3b18')}
{rt('permanently_suspend_your_account_block_all_access_b9f04a42')}
),
},
{
value: 'liability-limitation',
title: rt('5_disclaimer_and_force_majeure_be649f43'),
content: (
{rt('5_1_general_disclaimer_30d01f0d')}{' '}
{rt('this_development_platform_is_provided_as_is_23bc2b55')}
{rt('5_2_service_interruptions_16558fa8')}{' '}
{rt('the_platform_is_not_liable_for_interruptions_405b1c95')}
-
{rt(
'natural_disasters_including_typhoons_earthquakes_tsunamis_and_1bbbfb21',
)}
-
{rt(
'government_actions_cybersecurity_law_changes_or_administrative_2b7322f5',
)}
-
{rt('telecommunication_faults_or_damage_to_data_center_259a542f')}
-
{rt('data_corruption_or_downtime_caused_by_hacking_68f2e04f')}
),
},
{
value: 'governing-law',
title: rt('6_governing_law_and_disputes_b9663c86'),
content: (
{rt('6_1_governing_law_ff2afc5e')}{' '}
{rt(
'the_formation_performance_interpretation_and_resolution_of_c1510775',
)}
{rt('the_laws_of_the_people_s_republic_5d5c80d6')}{' '}
{rt('excluding_the_conflict_of_laws_rules_of_b235c4e3')}
{rt('6_2_dispute_resolution_44e871de')}{' '}
{rt('disputes_should_first_be_resolved_through_friendly_1ccf4610')}
),
},
];
}