Add terms of use translations, sync detection, and refactor book components
- Introduced new translations for terms of use in French and English locales. - Added sync status detection logic for books in `BookList` and `BookCard` components. - Refactored `BookCard` to handle additional props and improve layout flexibility. - Enhanced `TermsOfUse` component with complete localization support and refuse functionality. - Updated data decryption logic in Rust services to handle optional fields and additional metadata consistently. - Improved offline/online synchronization workflows with extended context properties.
This commit is contained in:
@@ -1372,7 +1372,29 @@
|
||||
"passwordUnknown": "An unknown error occurred."
|
||||
}
|
||||
},
|
||||
"terms": {
|
||||
"title": "Terms of Use",
|
||||
"subtitle": "Acceptance required to access ERitors Scribe",
|
||||
"mandatory": "Mandatory acceptance",
|
||||
"mandatoryDesc1": "To use our services, such as <strong>ERitors Scribe</strong>, you must accept the terms of use by clicking <strong>I accept</strong>.",
|
||||
"mandatoryDesc2": "Please carefully read the detailed terms and conditions page before proceeding with acceptance.",
|
||||
"mandatoryDesc3": "If you do not accept these conditions, you will not be able to access our services and will be redirected to the home page.",
|
||||
"fullDoc": "Full documentation",
|
||||
"fullDocDesc": "To view our complete terms and conditions, please visit our dedicated page:",
|
||||
"fullDocLink": "View full terms",
|
||||
"importance": "Critical importance",
|
||||
"importanceDesc": "This acceptance is mandatory and constitutes a legal prerequisite for the use of our AI-assisted editing services.",
|
||||
"required": "Decision required to continue",
|
||||
"refuse": "Decline and exit",
|
||||
"accept": "I accept the terms"
|
||||
},
|
||||
"offline": {
|
||||
"toggle": {
|
||||
"online": "Online",
|
||||
"offline": "Offline",
|
||||
"switchToOnline": "Switch to online mode",
|
||||
"switchToOffline": "Switch to offline mode"
|
||||
},
|
||||
"mode": {
|
||||
"title": "Offline mode",
|
||||
"backToOnline": "Back online"
|
||||
|
||||
@@ -1371,7 +1371,29 @@
|
||||
"passwordUnknown": "Une erreur inconnue est survenue."
|
||||
}
|
||||
},
|
||||
"terms": {
|
||||
"title": "Termes d'utilisation",
|
||||
"subtitle": "Acceptation requise pour accéder à ERitors Scribe",
|
||||
"mandatory": "Acceptation obligatoire",
|
||||
"mandatoryDesc1": "Pour pouvoir utiliser nos services, tel qu'<strong>ERitors Scribe</strong>, vous devez accepter les termes d'utilisation en cliquant sur <strong>J'accepte</strong>.",
|
||||
"mandatoryDesc2": "Veuillez lire attentivement la page détaillée des termes et conditions d'utilisation avant de procéder à l'acceptation.",
|
||||
"mandatoryDesc3": "Si vous n'acceptez pas ces conditions, vous ne pourrez pas accéder à nos services et serez redirigé vers la page d'accueil.",
|
||||
"fullDoc": "Documentation complète",
|
||||
"fullDocDesc": "Pour consulter l'intégralité de nos termes et conditions d'utilisation, veuillez visiter notre page dédiée :",
|
||||
"fullDocLink": "Consulter les termes complets",
|
||||
"importance": "Importance capitale",
|
||||
"importanceDesc": "Cette acceptation est obligatoire et constitue un prérequis légal pour l'utilisation de nos services d'édition assistée par intelligence artificielle.",
|
||||
"required": "Décision requise pour continuer",
|
||||
"refuse": "Refuser et quitter",
|
||||
"accept": "J'accepte les termes"
|
||||
},
|
||||
"offline": {
|
||||
"toggle": {
|
||||
"online": "En ligne",
|
||||
"offline": "Hors ligne",
|
||||
"switchToOnline": "Passer en mode en ligne",
|
||||
"switchToOffline": "Passer en mode hors ligne"
|
||||
},
|
||||
"mode": {
|
||||
"title": "Mode hors-ligne",
|
||||
"backToOnline": "Retour en ligne"
|
||||
|
||||
Reference in New Issue
Block a user