Remove SyncService and introduce context-based offline mode and state management
- Delete `SyncService` and its associated bidirectional synchronization logic. - Add multiple context providers (`OfflineProvider`, `AlertProvider`, `LangContext`, `UserContext`, `SessionContext`, `WorldContext`, `SettingBookContext`) for contextual state management. - Implement `SecureStorage` for OS-level secure data encryption and replace dependency on `SyncService` synchronization. - Update localization files (`en.json`, `fr.json`) with offline mode and error-related strings.
This commit is contained in:
@@ -834,7 +834,10 @@
|
||||
"userNotFound": "Utilisateur non trouvé",
|
||||
"authenticationError": "Erreur pendant l'authentification",
|
||||
"termsAcceptError": "Erreur lors de l'acceptation des conditions d'utilisation",
|
||||
"lastChapterError": "Erreur lors de la récupération du dernier chapitre"
|
||||
"lastChapterError": "Erreur lors de la récupération du dernier chapitre",
|
||||
"localDataError": "Impossible de charger les données locales",
|
||||
"encryptionKeyError": "Clé de chiffrement non trouvée",
|
||||
"offlineModeError": "Erreur lors de l'initialisation du mode hors ligne"
|
||||
}
|
||||
},
|
||||
"shortStoryGenerator": {
|
||||
|
||||
Reference in New Issue
Block a user