132 lines
5.2 KiB
JSON
Executable File
132 lines
5.2 KiB
JSON
Executable File
{
|
|
"AUTH": {
|
|
"LOGIN": {
|
|
"SUCCESS": "Login successful. Welcome back!"
|
|
},
|
|
"ERROR": {
|
|
"EMAIL_EXISTS": "This email is already registered.",
|
|
"UNAUTHORIZED": "Unauthorized access."
|
|
}
|
|
},
|
|
"SENTINEL": {
|
|
"LOCK": {
|
|
"MSG": "Account locked for security reasons."
|
|
},
|
|
"APPROVAL": {
|
|
"REQUIRED": "Approval required"
|
|
}
|
|
},
|
|
"COMMON": {
|
|
"SAVE_SUCCESS": "Saved successfully!"
|
|
},
|
|
"EMAIL": {
|
|
"REG": {
|
|
"SUBJECT": "Confirm your registration - Service Finder",
|
|
"GREETING": "Hi {{first_name}}!",
|
|
"BODY": "Thank you for registering! Click the button below to activate your account:",
|
|
"BUTTON": "Activate Account",
|
|
"FOOTER": "If you did not register, please ignore this email."
|
|
},
|
|
"PWD_RESET": {
|
|
"SUBJECT": "Password Reset Request",
|
|
"GREETING": "Hi!",
|
|
"BODY": "You requested a password reset. Click the button below to set a new password:",
|
|
"BUTTON": "Reset Password",
|
|
"FOOTER": "If you did not request a password reset, please ignore this email."
|
|
},
|
|
"TEST": {
|
|
"SUBJECT": "🧪 Test Email - Service Finder",
|
|
"GREETING": "Hi {{first_name}}!",
|
|
"BODY": "This is a test email from the Service Finder system. If you see this, email sending is working!",
|
|
"BUTTON": "Go to Dashboard",
|
|
"FOOTER": "Service Finder - Test system message"
|
|
}
|
|
},
|
|
"ORGANIZATION": {
|
|
"ERROR": {
|
|
"NOT_FOUND": "Organization not found.",
|
|
"INVALID_TAX_FORMAT": "Invalid Hungarian tax number format!",
|
|
"TAX_LOOKUP_FAILED": "Tax number lookup failed.",
|
|
"FORBIDDEN": "You do not have permission to access this organization.",
|
|
"INVALID_ROLE": "Invalid role specified.",
|
|
"CANNOT_REMOVE_OWNER": "The owner cannot be removed from the organization.",
|
|
"CANNOT_DEMOTE_OWNER": "The owner's role cannot be changed.",
|
|
"ALREADY_MEMBER": "You are already a member of this organization.",
|
|
"NO_ACTIVE_ADMIN": "This organization has no active admin. Use the /claim endpoint.",
|
|
"HAS_ACTIVE_ADMIN": "This organization has an active admin. Use the /join-request endpoint.",
|
|
"EMAIL_MISMATCH": "The email does not match the organization owner's email.",
|
|
"INVALID_CODE": "Invalid or expired code.",
|
|
"CODE_ORG_MISMATCH": "The code does not belong to this organization.",
|
|
"INVITE_EXPIRED": "The invitation has expired.",
|
|
"INVITE_INVALID": "Invalid invitation token."
|
|
},
|
|
"SUCCESS": {
|
|
"ONBOARDED": "Company successfully created and registered.",
|
|
"MEMBER_REMOVED": "Member successfully removed.",
|
|
"ROLE_UPDATED": "Role successfully updated.",
|
|
"UPDATED": "Organization data successfully updated.",
|
|
"VISUAL_SETTINGS_UPDATED": "Visual settings successfully updated."
|
|
},
|
|
"INVITATION": {
|
|
"CREATED": "Invitation created successfully.",
|
|
"ACCEPTED": "Invitation accepted.",
|
|
"REVOKED": "Invitation revoked."
|
|
},
|
|
"JOIN_REQUEST": {
|
|
"SENT": "Your join request has been submitted. Waiting for admin approval."
|
|
},
|
|
"CLAIM": {
|
|
"OTP_SENT": "A 6-digit verification code has been sent to the organization owner's email.",
|
|
"SUCCESS": "You have successfully taken over the organization. You are now the admin."
|
|
}
|
|
},
|
|
"REGISTRATION_DOCUMENTS": {
|
|
"CERTIFICATE_NUMBER": "Registration Certificate Number",
|
|
"CERTIFICATE_VALIDITY": "Registration Certificate Validity",
|
|
"DOCUMENT_NUMBER": "Vehicle Registration Document Number",
|
|
"TITLE": "Registration Certificate & Vehicle Document"
|
|
},
|
|
"GAMIFICATION": {
|
|
"SUBMIT_SERVICE": {
|
|
"SELF_DEFENSE_BLOCKED": "You cannot submit new service data due to self-defense restriction.",
|
|
"SUCCESS": "Service submitted to the system for analysis!",
|
|
"POINTS_ERROR": "Error during scoring: {error}",
|
|
"SUBMIT_ERROR": "Error during submission: {error}"
|
|
},
|
|
"QUIZ": {
|
|
"ALREADY_PLAYED": "You have already played the daily quiz today. Come back tomorrow!",
|
|
"NO_QUIZ_AVAILABLE": "No quiz available for today.",
|
|
"ALREADY_COMPLETED": "Daily quiz already marked as completed today.",
|
|
"COMPLETED_SUCCESS": "Daily quiz marked as completed for today.",
|
|
"QUESTION_NOT_FOUND": "Question not found.",
|
|
"POINTS_FAILED": "Failed to award quiz points: {error}"
|
|
},
|
|
"BADGE": {
|
|
"NOT_FOUND": "Badge not found.",
|
|
"ALREADY_AWARDED": "Badge already awarded to this user.",
|
|
"AWARDED_SUCCESS": "Badge '{badge_name}' awarded to user.",
|
|
"POINTS_FAILED": "Failed to award badge points: {error}"
|
|
},
|
|
"SEASON": {
|
|
"NOT_FOUND": "Season not found.",
|
|
"NO_ACTIVE": "No active season found."
|
|
},
|
|
"ACHIEVEMENTS": {
|
|
"XP_NOVICE": "Novice",
|
|
"XP_APPRENTICE": "Apprentice",
|
|
"XP_EXPERT": "Expert",
|
|
"XP_MASTER": "Master",
|
|
"XP_NOVICE_DESC": "Earn 100 XP",
|
|
"XP_APPRENTICE_DESC": "Earn 500 XP",
|
|
"XP_EXPERT_DESC": "Earn 2000 XP",
|
|
"XP_MASTER_DESC": "Earn 5000 XP",
|
|
"QUIZ_BEGINNER": "Quiz Beginner",
|
|
"QUIZ_ENTHUSIAST": "Quiz Enthusiast",
|
|
"QUIZ_MASTER": "Quiz Master",
|
|
"QUIZ_BEGINNER_DESC": "Earn 50 quiz points",
|
|
"QUIZ_ENTHUSIAST_DESC": "Earn 200 quiz points",
|
|
"QUIZ_MASTER_DESC": "Earn 500 quiz points"
|
|
}
|
|
}
|
|
}
|