# ===================================
# CoreWing I18n Resource Bundle - English
# ===================================

# ==================== Common Messages ====================
common.success=Operation successful
common.error=Operation failed

# ==================== User Module ====================
# User Controller
user.code.send.success=Verification code sent successfully
user.code.send.failed=Failed to send verification code
user.login.success=Login successful
user.register.success=Registration successful
user.logout.success=Logout successful
user.not.found=User not found
user.update.success=Update successful
user.update.failed=Update failed
user.password.old.incorrect=Incorrect old password
user.password.update.success=Password updated successfully

# User Service Exceptions
error.user.not.found=User not found
error.password.incorrect=Incorrect password
error.account.disabled=Account has been disabled
error.username.exists=Username already exists
error.email.or.phone.required=At least one of email or phone number is required
error.email.exists=Email already in use
error.phone.exists=Phone number already in use
error.verify.code.invalid=Verification code is incorrect or expired

# ==================== Verification Code Module ====================
error.account.empty=Account cannot be empty
error.verify.type.empty=Verification type cannot be empty
error.account.format.invalid=Please enter a valid phone number or email
error.sms.send.failed=SMS sending failed, please try again later
error.email.send.failed=Email sending failed, please try again later
error.sms.send.exceed=SMS sending failed, the number of available times on that day exceeded

# ==================== Feedback Module ====================
# Feedback Controller
feedback.submit.success=Feedback submitted successfully
feedback.submit.failed=Failed to submit feedback
feedback.not.found=Feedback not found
feedback.status.update.success=Status updated successfully
feedback.status.update.failed=Failed to update status
feedback.delete.success=Deleted successfully
feedback.delete.failed=Failed to delete
feedback.dingtalk.test.message=Test message
feedback.dingtalk.test.success=DingTalk push test successful, please check the DingTalk group
feedback.dingtalk.test.failed=DingTalk push test failed, please check configuration and logs
feedback.dingtalk.test.error=Test exception: {0}

# Feedback Service Exceptions
error.feedback.user.id.empty=User ID cannot be empty
error.feedback.id.empty=Feedback ID cannot be empty
error.feedback.status.empty=Status cannot be empty

# ==================== Global Exception Handler ====================
error.token.missing=Login credentials not provided
error.token.invalid=Invalid login credentials
error.token.expired=Login has expired, please login again
error.token.replaced=Account has been logged in elsewhere
error.token.kicked.out=Account has been kicked offline
error.not.login=Not logged in, please login first
error.server.internal=Internal server error: {0}

# ==================== Utility Classes ====================
# Redis Utility
error.redis.increment.positive=Increment factor must be greater than 0
error.redis.decrement.positive=Decrement factor must be greater than 0

# ==================== Email Template ====================
email.subject.verify.code=[CoreWing] Verification Code
email.greeting=Hi there!
email.verify.intro=Thank you for using CoreWing. We received your verification request. Please use the following verification code to complete the operation:
email.verify.code.label=Verification Code
email.verify.notice.title=Important Notice
email.verify.notice.content=The verification code is valid for 5 minutes. Please do not share it with others
email.verify.security.tips=If this was not you, you can safely ignore this email. Your account is still secure.
email.verify.support.tips=If you have any questions, feel free to contact our support team.
email.footer.notice=This is an automated email. Please do not reply directly
email.footer.copyright=© 2025 CoreWing · All Rights Reserved

# ==================== SMS Template ====================
sms.verify.code.template=[CoreWing] Your verification code is {0}, valid for 5 minutes. Do not share with others!
sms.result.success=Sent successfully
sms.result.password.error=Password error
sms.result.account.not.exist=Account does not exist
sms.result.balance.insufficient=Insufficient balance
sms.result.account.expired=Account has expired
sms.result.ip.restricted=IP address restricted
sms.result.sensitive.word=Content contains sensitive words
sms.result.phone.incorrect=Incorrect phone number
sms.result.unknown.error=Unknown error

# ==================== DingTalk Push ====================
dingtalk.feedback.title=📢 New User Feedback
dingtalk.feedback.header=### 📢 New User Feedback
dingtalk.feedback.user.id=**User ID:**
dingtalk.feedback.user.anonymous=Anonymous User
dingtalk.feedback.type=**Feedback Type:**
dingtalk.feedback.title.label=**Title:**
dingtalk.feedback.content.label=**Description:**
dingtalk.feedback.contact=**Contact:**
dingtalk.feedback.submit.ip=**Submit IP:**
dingtalk.feedback.submit.region=**IP Location:**
dingtalk.feedback.submit.time=**Submit Time:**
dingtalk.feedback.footer=> Please handle user feedback promptly!

# DingTalk Log Messages (Optional)
dingtalk.webhook.not.configured=DingTalk Webhook not configured, skipping message push
dingtalk.text.send.failed=Failed to send DingTalk text message: {0}
dingtalk.markdown.send.failed=Failed to send DingTalk Markdown message: {0}
dingtalk.sign.mode=Using signature mode, timestamp: {0}
dingtalk.send.message=Sending DingTalk message: {0}
dingtalk.push.success=DingTalk message pushed successfully, response: {0}
dingtalk.push.failed=DingTalk message push failed, HTTP status code: {0}, response: {1}
dingtalk.push.exception=DingTalk message push exception: {0}

# ==================== Parameters Center Module ====================
# Parameters Center Controller
params.create.success=Parameter created successfully
params.create.failed=Failed to create parameter
params.update.success=Parameter updated successfully
params.update.failed=Failed to update parameter
params.delete.success=Parameter deleted successfully
params.delete.failed=Failed to delete parameter
params.not.found=Parameter not found
params.no.permission=No permission to operate this parameter
params.download.success=Download successful
params.download.failed=Download failed
params.download.exceed=Exceeded the number of downloads

# ==================== Firmware Management Module ====================
# Firmware Controller
firmware.name.exists=Firmware name already exists
firmware.add.success=Firmware added successfully
firmware.add.failed=Failed to add firmware
firmware.delete.success=Firmware deleted successfully
firmware.delete.failed=Failed to delete firmware
firmware.update.success=Firmware updated successfully
firmware.update.failed=Failed to update firmware
firmware.not.found=Firmware not found
firmware.type.required=Firmware type is required
