Files
biblical-guide.com/messages/en.json
andupetcu 196ca00194 Fix authentication state persistence and admin role display
- Implement complete authentication system with JWT token validation
- Add auth provider with persistent login state across page refreshes
- Create multilingual login/register forms with Material-UI components
- Fix token validation using raw SQL queries to bypass Prisma sync issues
- Add comprehensive error handling for expired/invalid tokens
- Create profile and settings pages with full i18n support
- Add proper user role management (admin/user) with database sync
- Implement secure middleware with CSRF protection and auth checks
- Add debug endpoints for troubleshooting authentication issues
- Fix Zustand store persistence for authentication state

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-21 01:06:30 +03:00

285 lines
8.3 KiB
JSON

{
"navigation": {
"home": "Home",
"bible": "Bible",
"prayers": "Prayers",
"search": "Search",
"profile": "Profile",
"settings": "Settings",
"logout": "Logout",
"language": "Language"
},
"chat": {
"title": "Biblical AI Chat",
"subtitle": "Assistant for biblical questions",
"placeholder": "Ask your biblical question...",
"loading": "Writing response...",
"send": "Send",
"minimize": "Minimize",
"close": "Close",
"openFullPage": "Open full page",
"enterToSend": "Enter to send • Shift+Enter for new line",
"suggestions": {
"title": "Suggested questions:",
"questions": [
"What does the Bible say about love?",
"Explain the parable of the sower",
"What are the fruits of the Spirit?",
"What does it mean to be born again?",
"How can I pray better?"
]
}
},
"home": {
"hero": {
"title": "Biblical Guide",
"subtitle": "Explore Scripture with artificial intelligence",
"description": "A modern platform for Bible study, with intelligent AI chat, advanced search, and a prayer community that supports you on your spiritual journey.",
"cta": {
"readBible": "Start reading",
"askAI": "Ask AI"
}
},
"features": {
"title": "Discover the features",
"subtitle": "Everything you need for a complete Bible study experience",
"bible": {
"title": "Read the Bible",
"description": "Explore Scripture with a modern and easy-to-use interface"
},
"chat": {
"title": "AI Chat",
"description": "Ask questions about Scripture and receive clear answers"
},
"prayers": {
"title": "Prayers",
"description": "Share prayers and pray together with the community"
},
"search": {
"title": "Search",
"description": "Search for verses and passages throughout Scripture"
}
},
"stats": {
"books": "Biblical books",
"verses": "Verses",
"aiAvailable": "AI Chat available"
},
"cta": {
"title": "Begin your spiritual journey",
"description": "Join our community and discover the wisdom of Scripture",
"startNow": "Start now"
}
},
"pages": {
"bible": {
"title": "Read the Bible",
"subtitle": "Explore Scripture with a modern and intuitive interface",
"selectBook": "Select book",
"selectChapter": "Select chapter",
"book": "Book",
"chapter": "Chapter",
"verse": "Verse",
"verses": "verses",
"save": "Save",
"share": "Share",
"previousChapter": "Previous chapter",
"nextChapter": "Next chapter",
"loading": "Loading verses...",
"noVerses": "No verses found for this selection.",
"startReading": "Start exploring Scripture"
},
"prayers": {
"title": "Prayers",
"subtitle": "Share prayers and pray together with the community",
"addRequest": "Add prayer request",
"anonymous": "Anonymous",
"prayFor": "Pray for this",
"categories": {
"title": "Categories",
"personal": "Personal",
"family": "Family",
"health": "Health",
"work": "Work",
"ministry": "Ministry",
"world": "World"
},
"stats": {
"title": "Statistics",
"activeRequests": "{count} active requests",
"totalPrayers": "{count} total prayers",
"youPrayed": "{count} requests you prayed for"
},
"buttons": {
"pray": "Pray",
"prayed": "Prayed",
"share": "Share"
},
"dialog": {
"title": "Add a prayer request",
"titleLabel": "Title",
"categoryLabel": "Category",
"descriptionLabel": "Description",
"placeholder": "Describe your prayer request...",
"cancel": "Cancel",
"submit": "Add prayer"
},
"samples": {
"item1": {
"title": "Prayer for healing",
"description": "Please pray for my father who is in the hospital. He needs God's healing.",
"author": "Maria P."
},
"item2": {
"title": "God's guidance in career",
"description": "Seeking God's direction for the next step in my career. Please pray for clarity and peace.",
"author": "Alex M."
},
"item3": {
"title": "Unity in our family",
"description": "Please pray for restoration of relationships in our family and for mutual forgiveness.",
"author": "Anonymous"
}
}
},
"search": {
"title": "Search Scripture",
"subtitle": "Find verses and passages across the Bible",
"input": {
"placeholder": "Search words, phrases or references..."
},
"button": {
"search": "Search"
},
"filters": {
"title": "Filters",
"clear": "Clear",
"testament": "Testament",
"version": "Version",
"options": {
"all": "Whole Bible",
"old": "Old Testament",
"new": "New Testament"
},
"specificBooks": "Specific books"
},
"history": {
"title": "Recent searches"
},
"popular": {
"title": "Popular searches",
"items": [
"love",
"faith",
"hope",
"forgiveness",
"peace",
"prayer",
"wisdom",
"joy",
"patience",
"mercy"
]
},
"searching": "Searching...",
"results": "Results ({count})",
"relevance": "relevance",
"searchIn": "Searching in: {books}",
"noResults": {
"title": "No results found",
"description": "Try changing the search term or adjusting the filters."
},
"empty": {
"title": "Start searching Scripture",
"description": "Enter a word, a phrase, or a Bible reference to find relevant verses."
}
}
},
"auth": {
"email": "Email",
"password": "Password",
"confirmPassword": "Confirm password",
"name": "Name",
"optional": "(optional)",
"login": "Login",
"register": "Register",
"logout": "Logout",
"logging_in": "Logging in...",
"registering": "Registering...",
"loginError": "Login error",
"registerError": "Registration error",
"connectionError": "Connection error",
"passwordMismatch": "Passwords don't match",
"createAccount": "Create account",
"alreadyHaveAccount": "Already have an account?",
"noAccount": "Don't have an account?",
"forgotPassword": "Forgot password?",
"welcomeBack": "Welcome back!",
"joinUs": "Join us!"
},
"profile": {
"title": "Profile",
"subtitle": "Manage your account information",
"personalInfo": "Personal Information",
"accountDetails": "Account Details",
"name": "Name",
"email": "Email",
"role": "Role",
"memberSince": "Member Since",
"edit": "Edit",
"save": "Save Changes",
"saving": "Saving...",
"cancel": "Cancel",
"emailCannotChange": "Email cannot be changed",
"profileUpdated": "Profile updated successfully!",
"updateError": "Error updating profile",
"user": "User",
"admin": "Administrator",
"moderator": "Moderator"
},
"settings": {
"title": "Settings",
"subtitle": "Customize your experience",
"appearance": "Appearance",
"languageAndNotifications": "Language & Notifications",
"security": "Security",
"theme": "Theme",
"fontSize": "Font Size",
"language": "Language",
"notifications": "Enable notifications",
"emailUpdates": "Email updates",
"changePassword": "Change Password",
"changePasswordSoon": "Change Password (Coming Soon)",
"passwordSecurity": "Password and security settings",
"saveSettings": "Save Settings",
"settingsSaved": "Settings saved successfully!",
"settingsError": "Error saving settings",
"themes": {
"light": "Light",
"dark": "Dark",
"auto": "Auto"
},
"fontSizes": {
"small": "Small",
"medium": "Medium",
"large": "Large"
},
"languages": {
"ro": "Română",
"en": "English"
}
},
"common": {
"loading": "Loading...",
"error": "An error occurred",
"save": "Save",
"cancel": "Cancel",
"delete": "Delete",
"edit": "Edit",
"close": "Close",
"back": "Back",
"next": "Next",
"previous": "Previous"
}
}