e7cff56954
- lib/stripe.ts: createCheckoutSession (crea sesión Stripe + StripeLog en
home_stripelog, success_url con {CHECKOUT_SESSION_ID}), isSessionPaid,
claimPaidCheckout (verifica pagado + no entregado, marca fulfilled -> evita
re-entregas; port de require_paid_stripe).
- lib/prices.ts: precios desde home_*price (rename/customize/race/faction/level).
- components/PaidServiceForm.tsx: selector + botón de pago -> redirige a la URL de
Checkout de Stripe (session.url, sin stripe.js).
- Rename: route /api/character/rename/checkout (guard + valida personaje + crea
checkout), página /rename (PaidServiceForm) y /rename/success (verifica pago y
ejecuta SOAP .char rename, i18n). STRIPE_* + NEXT_PUBLIC_STRIPE_PUBLIC_KEY en
.env.local. Namespace Rename.
Verificado: checkout sin sesión 401, /rename redirige a login, /rename/success con
session_id inválido no entrega el servicio (muestra error). Patrón para los demás
servicios de pago (cambiar precio + comando SOAP).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
149 lines
5.8 KiB
JSON
149 lines
5.8 KiB
JSON
{
|
|
"Metadata": {
|
|
"title": "Nova WoW WoW WotLK 3.4.3 Server - Latino & Español 💎",
|
|
"description": "Download and play WotLK Classic for free on Nova WoW - WoW WotLK 3.4.3 server - The best WoW server 🔥"
|
|
},
|
|
"Nav": {
|
|
"home": "Home",
|
|
"login": "Sign in",
|
|
"register": "Create account",
|
|
"account": "My account",
|
|
"logout": "Log out",
|
|
"language": "Language"
|
|
},
|
|
"Home": {
|
|
"brand": "Nova WoW",
|
|
"serverStatus": "Server status",
|
|
"server": "Server",
|
|
"onlineCharacters": "Online characters",
|
|
"login": "Login",
|
|
"address": "Address",
|
|
"notAvailable": "Not available",
|
|
"news": "News",
|
|
"noNews": "There are no news available at the moment.",
|
|
"link": "Link",
|
|
"here": "here"
|
|
},
|
|
"Login": {
|
|
"title": "Sign in to Nova WoW",
|
|
"email": "Email",
|
|
"password": "Password",
|
|
"submit": "Sign in",
|
|
"connecting": "Signing in…",
|
|
"success": "Signed in successfully. Redirecting…",
|
|
"invalidCredentials": "Incorrect email or password",
|
|
"missingFields": "Please fill in all fields.",
|
|
"invalidRequest": "Invalid request.",
|
|
"genericError": "Something went wrong. Please try again later.",
|
|
"forgot": "I forgot my password/username",
|
|
"newHere": "New to the community? You can create an account",
|
|
"createAccount": "here",
|
|
"captchaFailed": "Anti-bot verification failed. Please retry."
|
|
},
|
|
"Account": {
|
|
"title": "My account",
|
|
"bnetAccount": "Account (Battle.net)",
|
|
"gameAccount": "Game account",
|
|
"logout": "Log out",
|
|
"points": "Points",
|
|
"dp": "DP",
|
|
"vp": "VP",
|
|
"battlepayCredits": "Battlepay credits",
|
|
"securityToken": "Security token",
|
|
"requested": "Requested",
|
|
"notRequested": "Not requested",
|
|
"characters": "My characters",
|
|
"level": "Level",
|
|
"noCharacters": "You have no characters yet."
|
|
},
|
|
"SelectAccount": {
|
|
"title": "Select your game account",
|
|
"loggedInAs": "Logged in as",
|
|
"choose": "Your Battle.net account has several game accounts. Choose which one to continue with:",
|
|
"noAccounts": "No game accounts were found linked to this Battle.net account.",
|
|
"entering": "Entering…",
|
|
"error": "The account could not be selected."
|
|
},
|
|
"Register": {
|
|
"title": "Create account",
|
|
"info": "Your account is Battle.net type: it is identified by your email. The password must be alphanumeric and up to 16 characters. The email must be a Gmail address.",
|
|
"password": "Password",
|
|
"confPassword": "Confirm password",
|
|
"email": "Gmail email address",
|
|
"confEmail": "Confirm email address",
|
|
"recruiter": "Recruiter (optional)",
|
|
"terms": "I accept the Rules, Terms and Conditions and Privacy Policy",
|
|
"submit": "Create account",
|
|
"creating": "Creating…",
|
|
"success": "The account has been created. Check your email to activate it.",
|
|
"missingFields": "Please fill in all fields.",
|
|
"passwordMismatch": "Passwords do not match.",
|
|
"passwordTooLong": "The password must not exceed 16 characters.",
|
|
"invalidEmail": "The email address is not valid.",
|
|
"emailExists": "An account with that email already exists.",
|
|
"recruiterNotFound": "The recruiter entered does not exist.",
|
|
"genericError": "Something went wrong. Please try again later.",
|
|
"captchaFailed": "Anti-bot verification failed. Please retry."
|
|
},
|
|
"Activate": {
|
|
"activating": "Activating your account…",
|
|
"success": "Account activated! You can now sign in.",
|
|
"invalidLink": "The link is invalid or has already been used.",
|
|
"expiredLink": "The link has expired. Please request a new one.",
|
|
"goLogin": "Go to sign in"
|
|
},
|
|
"Recover": {
|
|
"title": "Recover account",
|
|
"type": "What do you want to recover?",
|
|
"typePassword": "Password",
|
|
"typeAccountName": "Account name",
|
|
"typeActivation": "Activation link",
|
|
"email": "Gmail email address",
|
|
"submit": "Request",
|
|
"sending": "Sending…",
|
|
"success": "If an account exists with that email, we have sent you the information.",
|
|
"invalidEmail": "Enter a valid Gmail address.",
|
|
"genericError": "Something went wrong. Please try again later.",
|
|
"captchaFailed": "Anti-bot verification failed. Please retry."
|
|
},
|
|
"Reset": {
|
|
"title": "Reset password",
|
|
"password": "New password",
|
|
"confPassword": "Confirm password",
|
|
"submit": "Reset",
|
|
"saving": "Saving…",
|
|
"success": "Password reset. You can now sign in.",
|
|
"goLogin": "Go to sign in",
|
|
"invalidLink": "The link is invalid or has already been used.",
|
|
"expiredLink": "The link has expired. Please request a new one.",
|
|
"passwordMismatch": "Passwords do not match.",
|
|
"passwordTooLong": "The password must not exceed 16 characters.",
|
|
"accountNotFound": "Account not found.",
|
|
"genericError": "Something went wrong. Please try again later."
|
|
},
|
|
"Services": {
|
|
"reviveTitle": "Revive character",
|
|
"unstuckTitle": "Unstuck character",
|
|
"reviveAction": "Revive",
|
|
"unstuckAction": "Unstuck",
|
|
"selectCharacter": "Select a character",
|
|
"noCharactersYet": "You have no available characters.",
|
|
"processing": "Processing…",
|
|
"success": "Action completed successfully.",
|
|
"noCharacter": "Select a character.",
|
|
"notOfflineOrOwned": "The character must be offline and yours.",
|
|
"cooldown": "You can only do this once every 12 hours.",
|
|
"soapError": "Server communication error. Please try again later.",
|
|
"genericError": "Something went wrong. Please try again later."
|
|
},
|
|
"Rename": {
|
|
"title": "Rename character",
|
|
"pay": "Rename for {price} €",
|
|
"successTitle": "Rename character",
|
|
"success": "Character {name} has been flagged for rename. The change will apply on next login.",
|
|
"error": "The operation could not be completed. If you were charged, contact support.",
|
|
"invalidCharacter": "Select a valid character.",
|
|
"stripeError": "Could not start the payment. Please try again later."
|
|
}
|
|
}
|