Untitled

mail@pastecode.io avatar
unknown
plain_text
3 years ago
38 kB
1
Indexable
Never
// ==UserScript==
// @name        Showdown - Traducción al Castellano
// @match       http://play.pokemonshowdown.com/*
// @match       http://replay.pokemonshowdown.com/*
// @match       https://play.pokemonshowdown.com/*
// @match       https://replay.pokemonshowdown.com/*
// @version     0.1
// @description Traducción de Pokémon Showdown al castellano
// @author      PdRoC
// @require     http://code.jquery.com/jquery-latest.min.js
// @run-at      document-end
// @namespace https://greasyfork.org/users/171803
// ==/UserScript==
 
var translations = {
 
    // Sistema
	"Home": "Índice",
	"[Gen 7] Random Battle": "[Gen 7] Combate aleatorio",
	"Add game": "Nueva partida",
	"Format:": "Formato:",
	"Team:": "Equipo",
	"Battle!": "¡Lucha!",
	"Find a random opponent": "Encontrar oponente aleatorio",
	"Teambuilder": "Constructor de equipos",
	"Ladder": "Clasificación",
	"Watch a battle": "Ver un combate",
	"Find a user": "Encontrar un usuario",
	"Did you have a good day?": "¿Tienes un buen día?",
	"[Gen 7] OU battle started between": "[Gen 7] El combate OU comenzará entre",
	"and": "y",
	"forfeited": "decomisado",
	"Random team": "Equipo aleatorio",
	"Abilities": "Habilidades",
	"Hidden Ability": "Habilidad oculta",
	"Will be": "Será",
	"after Mega Evolving.": "tras la Mega Evolving.",
	"Nickname": "Alias",
	"Item": "Objeto",
	"Ability": "Habilidad",
	"Level": "Nivel",
	"Gender": "Género",
	"Happiness": "Felicidad",
	"Shiny": "Variocolor",
	"Level:": "Nivel:",
	"Gender:": "Género:",
	"Happiness:": "Felicidad:",
	"Shiny:": "Variocolor:",
	"Moves": "Movimientos",
	"Copy": "Copiar",
	"Import/Export": "Importar/Exportar",
	"Move": "Mover",
	"Delete": "Borrar",
	"Team": "Equipo",
	"Validate": "Validar",
	"Add Pokémon": "Añadir Pokémon",
	"New Team": "Nuevo equipo",
	"Male": "Macho",
	"Female": "Hembra",
	"Random": "Aleatorio",
	"Format List": "Format List", // Sin traducir
	"List": "Lista",
	"Edit": "Editar",
	"Save": "Guardar",
	"Switch": "Cambiar",
	"Change avatar": "Cambiar avatar",
	"Password change": "Cambiar contraseña",
	"Graphics": "Gráficos",
	"Layout:": "Visor:",
	"◫ Left and right panels": "2 paneles",
	"◻ Single panel": "1 panel",
	"Background: ": "Fondo: ",
	"Change background": "Cambiar fondo",
	" Dark mode": " Modo noche",
	" Disable animations": " Desactivar animaciones",
	" Use BW sprites instead of XY models":  " Usar los sprites de Pokémon Blanco y Negro en lugar de los modelos XY",
	" Use modern sprites for past generations": " Usar sprites modernos para generaciones pasadas",
	" Ignore tournaments": " Ignorar torneos",
	" Show PMs in chat rooms": " Mostrar mensajes privados en las salas de chat",
	" Highlight when your name is said in chat": " Subrayar tu nombre en el chat",
	" Notifications disappear automatically": " Las notificaciones desaparecen automáticamente",
	"Timestamps in chat rooms: ": "Hora en las salas de chat: ",
	"Off": "Desactivado",
	"Timestamps in PMs: ": "Hora en los mensajes privados: ",
	"Chat preferences: ": "Preferencias de chat: ",
	"Text formatting": "Formato de texto",
	"You can choose to display formatted text as normal text": "Puedes elegir mostrar texto formateado como texto normal",
	" Change name": " Cambiar nombre",
	" Log out": " Log out",
	" Connecting...": " Conectando...",
	" Searching...": " Buscando...",
	"Cancel": "Cancelar",
    "Join chat": "Abrir chat",
	"← Your opponent has disconnected. Click this if they don't reconnect.": "← Tu oponente está desconectado. Haz click aquí si no se reconecta.",
	"Waiting for opponent...": "Esperando al oponente...",
 
	// Tipos de combate
	"US/UM Singles": "UltraSol/UltraLuna Individual",
	"RoA Spotlight": "Destacados - Ruinas Alfa",
	"[Gen 3] UU": "[Gen 3] Menos usados",
	"[Gen 4] LC": "[Gen 4] Copa Nivel 5",
	"[Gen 2] OU + Ho-Oh + Celebi": "[Gen 2] Más usados + Ho-Oh + Celebi",
 
	"Past Gens OU": "Más usados - Otras generaciones",
	"[Gen 6] OU": "Sexta generación",
	"[Gen 5] OU": "Quinta generación",
	"[Gen 4] OU": "Cuarta generación",
	"[Gen 3] OU": "Tercera generación",
	"[Gen 2] OU": "Segunda generación",
	"[Gen 1] OU": "Primera generación",
 
    // Habilidades
    "Adaptability": "Adaptable",
	"Aerilate": "Piel celeste",
	"Aftermath": "Resquicio",
	"Air Lock": "Bucle aire",
	"Analytic": "Cálculo final",
	"Anger Point": "Irascible",
	"Anticipation": "Anticipación",
	"Arena Trap": "Trampa arena",
	"Aroma Veil": "Velo aroma",
	"Aura break": "Rompeaura",
	"Bad dreams": "Mal sueño",
	"Battery": "Batería",
	"Battle Armor": "Armadura batalla",
	"Battle Bond": "Fuerte afecto",
	"Beast Boost": "Ultraimpulso",
	"Berserk": "Cólera",
	"Big Pecks": "Sacapecho",
	"Blaze": "Mar llamas",
	"Bulletproof": "Antibalas",
	"Cacophony": "Cacofonía",
	"Cheek Pouch": "Carrillo",
	"Chlorophyll": "Clorofila",
	"Clear Body": "Cuerpo puro",
	"Cloud Nine": "Aclimatación",
	"Color Change": "Cambio color",
	"Comatose": "Letargo perenne",
	"Competitive": "Tenacidad",
	"Compoundeyes": "Ojo compuesto",
	"Contrary": "Respondón",
	"Corrosion": "Corrosión",
	"Cursed Body": "Cuerpo maldito",
	"Cute Charm": "Gran encanto",
	"Damp": "Humedad",
	"Dancer": "Pareja de baile",
	"Dark Aura": "Aura oscura",
	"Dazzling": "Cuerpo vívido",
	"Defeatist": "Flaqueza",
	"Defiant": "Competitivo",
	"Delta Stream": "Ráfaga delta",
	"Desolate Land": "Tierra del ocaso",
	"Disguise": "Disfraz",
	"Download": "Descarga",
	"Drizzle": "Llovizna",
	"Drought": "Sequía",
	"Dry Skin": "Piel seca",
	"Early Bird": "Madrugar",
	"Effect Spore": "Efecto espora",
	"Electric Surge": "Electrogénesis",
	"Emergency Exit": "Retirada",
	"Fairy Aura": "Aura feérica",
	"Filter": "Filtro",
	"Flame Body": "Cuerpo llama",
	"Flare Boost": "Ímpetu ardiente",
	"Flash Fire": "Absorbe fuego",
	"Flower Gift": "Don floral",
	"Flower Veil": "Velo flor",
	"Fluffy": "Peluche",
	"Forecast": "Predicción",
	"Forewarn": "Alerta",
	"Friend Guard": "Compiescolta",
	"Frisk": "Cacheo",
	"Full Metal Body": "Guardia metálica",
	"Fur Coat": "Pelaje recio",
	"Gale Wings": "Alas vendaval",
	"Galvanize": "Piel eléctrica",
	"Gluttony": "Gula",
	"Gooey": "Baba",
	"Grass Pelt": "Manto frondoso",
	"Grassy Surge": "Herbogénesis",
	"Guts": "Agallas",
	"Harvest": "Cosecha",
	"Healer": "Alma cura",
	"Heatproof": "Ignífugo",
	"Heavy Metal": "Metal pesado",
	"Honey Gather": "Recogemiel",
	"Huge Power": "Potencia",
	"Hustle": "Entusiasmo",
	"Hydration": "Hidratación",
	"Hyper Cutter": "Corte fuerte",
	"Ice Body": "Gélido",
	"Illuminate": "Iluminación",
	"Illusion": "Ilusión",
	"Immunity": "Inmunidad",
	"Imposter": "Impostor",
	"Infiltrator": "Allanamiento",
	"Innards Out": "Revés",
	"Inner Focus": "Foco interno",
	"Insomnia": "Insomnio",
	"Intimidate": "Intimidación",
	"Iron Barbs": "Punta acero",
	"Iron Fist": "Puño férreo",
	"Justified": "Justiciero",
	"Keen Eye": "Vista lince",
	"Klutz": "Zoquete",
	"Leaf Guard": "Defensa hoja",
	"Levitate": "Levitación",
	"Light Metal": "Metal liviano",
	"Lightningrod": "Pararrayos",
	"Limber": "Flexibilidad",
	"Liquid Ooze": "Lodo líquido",
	"Liquid Voice": "Voz fluida",
	"Long Reach": "Remoto",
	"Magic Bounce": "Espejo mágico",
	"Magic Guard": "Muro mágico",
	"Magician": "Prestidigitador",
	"Magma Armor": "Escudo magma",
	"Magnet Pull": "Imán",
	"Marvel Scale": "Escama especial",
	"Mega Launcher": "Megadisparador",
	"Merciless": "Ensañamiento",
	"Minus": "Menos",
	"Misty Surge": "Nebulogénesis",
	"Mold Breaker": "Rompemoldes",
	"Moody": "Veleta",
	"Motor Drive": "Electromotor",
	"Moxie": "Autoestima",
	"Multiscale": "Compensación",
	"Multitype": "Multitipo",
	"Mummy": "Momia",
	"Natural Cure": "Cura natural",
	"No Guard": "Indefenso",
	"Normalize": "Normalidad",
	"Oblivious": "Despiste",
	"Overcoat": "Funda",
	"Overgrow": "Espesura",
	"Own Tempo": "Ritmo propio",
	"Parental Bond": "Amor filial",
	"Pickpocket": "Hurto",
	"Pickup": "Recogida",
	"Pixilate": "Piel feérica",
	"Plus": "Más",
	"Poison Heal": "Antídoto",
	"Poison Point": "Punto tóxico",
	"Poison Touch": "Toque tóxico",
	"Power Construct": "Agrupamiento",
	"Power of Alchemy": "Reacción química",
	"Prankster": "Bromista",
	"Pressure": "Presión",
	"Primordial Sea": "Mar del albor",
	"Prism Armor": "Armadura prisma",
	"Protean": "Mutatipo",
	"Psychic Surge": "Psicogénesis",
	"Pure Power": "Energía pura",
	"Queenly Majesty": "Regia presencia",
	"Quick Feet": "Pies rápidos",
	"Rain Dish": "Cura lluvia",
	"Rattled": "Cobardía",
	"Receiver": "Receptor",
	"Reckless": "Audaz",
	"Refrigerate": "Piel helada",
	"Regenerator": "Regeneración",
	"Rivalry": "Rivalidad",
	"RKS System": "Sistema alfa",
	"Rock Head": "Cabeza roca",
	"Rough Skin": "Piel tosca",
	"Run Away": "Fuga",
	"Sand Force": "Poder arena",
	"Sand Rush": "Ímpetu arena",
	"Sand Stream": "Chorro arena",
	"Sand Veil": "Velo arena",
	"Sap Sipper": "Herbívoro",
	"Schooling": "Banco",
	"Scrappy": "Intrépido",
	"Serene Grace": "Dicha",
	"Shadow Shield": "Guardia espectro",
	"Shadow Tag": "Sombra trampa",
	"Shed Skin": "Mudar",
	"Sheer Force": "Potencia bruta",
	"Shell Armor": "Caparazón",
	"Shield Dust": "Polvo escudo",
	"Shields Down": "Escudo limitado",
	"Simple": "Simple",
	"Skill Link": "Encadenado",
	"Slow Start": "Inicio lento",
	"Slush Rush": "Quitanieves",
	"Sniper": "Francotirador",
	"Snow Cloak": "Manto níveo",
	"Snow Warning": "Nevada",
	"Solar Power": "Poder solar",
	"Solid Rock": "Roca sólida",
	"Soul-Heart": "Coránima",
	"Soundproof": "Insonorizar",
	"Speed Boost": "Impulso",
	"Stakeout": "Vigilante",
	"Stall": "Rezagado",
	"Stamina": "Firmeza",
	"Stance Change": "Cambio táctico",
	"Static": "Electricidad estática",
	"Steadfast": "Impasible",
	"Steelworker": "Acero templado",
	"Stench": "Hedor",
	"Sticky Hold": "Viscosidad",
	"Storm Drain": "Colector",
	"Strong Jaw": "Mandíbula fuerte",
	"Sturdy": "Robustez",
	"Suction Cups": "Ventosas",
	"Super Luck": "Afortunado",
	"Surge Surfer": "Cola surf",
	"Swarm": "Enjambre",
	"Sweet Veil": "Velo dulce",
	"Swift Swim": "Nado rápido",
	"Symbiosis": "Simbiosis",
	"Synchronize": "Sincronía",
	"Tangled Feet": "Tumbos",
	"Tangling Hair": "Rizos rebeldes",
	"Technician": "Experto",
	"Telepathy": "Telepatía",
	"Teravolt": "Terravoltaje",
	"Thick Fat": "Sebo",
	"Tinted Lens": "Cromolente",
	"Torrent": "Torrente",
	"Tough Claws": "Garra dura",
	"Toxic Boost": "Ímpetu tóxico",
	"Trace": "Rastro",
	"Triage": "Primer auxilio",
	"Truant": "Ausente",
	"Turboblaze": "Turbollama",
	"Unaware": "Ignorante",
	"Unburden": "Liviano",
	"Unnerve": "Nerviosismo",
	"Victory Star": "Tinovictoria",
	"Vital Spirit": "Espíritu vital",
	"Water Absorb": "Absorbe agua",
	"Water Bubble": "Pompa",
	"Water Compaction": "Hidrorrefuerzo",
	"Water Veil": "Velo agua",
	"Weak Armor": "Armadura frágil",
	"White Smoke": "Humo blanco",
	"Wimp Out": "Huida",
	"Wonder Guard": "Superguarda",
	"Wonder Skin": "Piel milagro",
	"Zen Mode": "Modo Daruma",
 
    // Movimientos
	"Absorb": "Absorber",
	"Accelerock": "Roca veloz",
	"Acid": "Ácido",
	"Acid Armor": "Armadura ácida",
	"Acid Downpour": "Diluvio corrosivo",
	"Acid Spray": "Bomba ácida",
	"Acrobatics": "Acróbata",
	"Acupressure": "Acupresión",
	"Aerial Ace": "Golpe aéreo",
	"Aeroblast": "Aerochorro",
	"After You": "Cede paso",
	"Agility": "Agilidad",
	"Air Cutter": "Aire afilado",
	"Air Slash": "Tajo aéreo",
	"All-Out Pummeling": "Ráfaga demoledora",
	"Ally Switch": "Cambio banda",
	"Amnesia": "Amnesia",
	"Anchor Shot": "Anclaje",
	"Ancient Power": "Poder pasado",
	"Aqua Jet": "Acua jet",
	"Aqua Ring": "Acua aro",
	"Aqua Tail": "Acua cola",
	"Arm Thrust": "Empujón",
	"Aromatherapy": "Aromaterapia",
	"Aromatic Mist": "Niebla aromática",
	"Assist": "Ayuda",
	"Assurance": "Buena baza",
	"Astonish": "Impresionar",
	"Attack Order": "Al ataque",
	"Attract": "Atracción",
	"Aura Sphere": "Esfera aural",
	"Aurora Beam": "Rayo aurora",
	"Aurora Veil": "Velo aurora",
	"Autotomize": "Aligerar",
	"Avalanche": "Alud",
	"Baby-Doll Eyes": "Ojitos tiernos",
	"Baneful Bunker": "Búnker",
	"Barrage": "Presa",
	"Barrier": "Barrera",
	"Baton Pass": "Relevo",
	"Beak Blast": "Pico cañón",
	"Beat Up": "Paliza",
	"Belch": "Eructo",
	"Belly Drum": "Tambor",
	"Bestow": "Ofrenda",
	"Bide": "Venganza",
	"Bind": "Atadura",
	"Bite": "Mordisco",
	"Black Hole Eclipse": "Agujero negro aniquilador",
	"Blast Burn": "Anillo ígneo",
	"Blaze Kick": "Patada ígnea",
	"Blizzard": "Ventisca",
	"Block": "Bloqueo",
	"Bloom Doom": "Megatón floral",
	"Blue Flare": "Llama azul",
	"Body Slam": "Golpe cuerpo",
	"Bolt Strike": "Ataque fulgor",
	"Bone Club": "Hueso palo",
	"Bone Rush": "Ataque óseo",
	"Bonemerang": "Huesomerang",
	"Boomburst": "Estruendo",
	"Bounce": "Bote",
	"Brave Bird": "Pájaro osado",
	"Breakneck Blitz": "Carrera arrolladora",
	"Brick Break": "Demolición",
	"Brine": "Salmuera",
	"Brutal Swing": "Giro vil",
	"Bubble": "Burbuja",
	"Bubble Beam": "Rayo burbuja",
	"Bug Bite": "Picadura",
	"Bug Buzz": "Zumbido",
	"Bulk Up": "Corpulencia",
	"Bulldoze": "Terratemblor",
	"Bullet Punch": "Puño bala",
	"Bullet Seed": "Recurrente",
	"Burn Up": "Llama final",
	"Calm Mind": "Paz mental",
	"Camouflage": "Camuflaje",
	"Captivate": "Seducción",
	"Catastropika": "Pikavoltio letal",
	"Celebrate": "Celebración",
	"Charge": "Carga",
	"Charge Beam": "Rayo carga",
	"Charm": "Encanto7",
	"Chatter": "Cháchara",
	"Chip Away": "Guardia baja",
	"Circle Throw": "Llave giro",
	"Clamp": "Tenaza",
	"Clanging Scales": "Fragor escamas",
	"Clear Smog": "Niebla clara",
	"Close Combat": "A bocajarro",
	"Coil": "Enrosque",
	"Comet Punch": "Puño cometa",
	"Confide": "Confidencia",
	"Confuse Ray": "Rayo confuso",
	"Confusion": "Confusión",
	"Constrict": "Restricción",
	"Continental Crush": "Aplastamiento gigalítico",
	"Conversion": "Conversión",
	"Conversion 2": "Conversión2",
	"Copycat": "Copión",
	"Core Enforcer": "Núcleo castigo",
	"Corkscrew Crash": "Hélice trepanadora",
	"Cosmic Power": "Masa cósmica",
	"Cotton Guard": "Rizo algodón",
	"Cotton Spore": "Esporagodón",
	"Counter": "Contraataque",
	"Covet": "Antojo",
	"Crabhammer": "Martillazo",
	"Crafty Shield": "Truco defensa",
	"Cross Chop": "Tajo cruzado",
	"Cross Poison": "Veneno X",
	"Crunch": "Triturar",
	"Crush Claw": "Garra brutal",
	"Crush Grip": "Agarrón",
	"Curse": "Maldición",
	"Cut": "Corte",
	"Dark Pulse": "Pulso umbrío",
	"Dark Void": "Brecha negra",
	"Darkest Lariat": "Lariat oscuro",
	"Dazzling Gleam": "Brillo mágico",
	"Defend Order": "A defender",
	"Defense Curl": "Rizo defensa",
	"Defog": "Despejar",
	"Destiny Bond": "Mismo destino",
	"Detect": "Detección",
	"Devastating Drake": "Dracoaliento devastador",
	"Diamond Storm": "Tormenta de diamantes",
	"Dig": "Excavar",
	"Disable": "Anulación",
	"Disarming Voice": "Voz cautivadora",
	"Discharge": "Chispazo",
	"Dive": "Buceo",
	"Dizzy Punch": "Puño mareo",
	"Doom Desire": "Deseo oculto",
	"Double Hit": "Doble golpe",
	"Double Kick": "Doble patada",
	"Double Slap": "Doble bofetón",
	"Double Team": "Doble equipo",
	"Double-Edge": "Doble filo",
	"Draco Meteor": "Cometa draco",
	"Dragon Ascent": "Ascenso draco",
	"Dragon Breath": "Dragoaliento",
	"Dragon Claw": "Garra dragón",
	"Dragon Dance": "Danza dragón",
	"Dragon Hammer": "Martillo dragón",
	"Dragon Pulse": "Pulso dragón",
	"Dragon Rage": "Furia dragón",
	"Dragon Rush": "Carga dragón",
	"Dragon Tail": "Cola dragón",
	"Drain Punch": "Puño drenaje",
	"Draining Kiss": "Beso drenaje",
	"Dream Eater": "Come sueños",
	"Drill Peck": "Pico taladro",
	"Drill Run": "Taladradora",
	"Dual Chop": "Golpe bis",
	"Dynamic Punch": "Puño dinámico",
	"Earth Power": "Tierra viva",
	"Earthquake": "Terremoto",
	"Echoed Voice": "Eco voz",
	"Eerie Impulse": "Onda anómala",
	"Egg Bomb": "Bomba huevo",
	"Electric Terrain": "Campo eléctrico",
	"Electrify": "Electrificación",
	"Electro Ball": "Bola voltio",
	"Electroweb": "Electrotela",
	"Embargo": "Embargo",
	"Ember": "Ascuas",
	"Encore": "Otra vez",
	"Endeavor": "Esfuerzo",
	"Endure": "Aguante",
	"Energy Ball": "Energibola",
	"Entrainment": "Danza amiga",
	"Eruption": "Estallido",
	"Explosion": "Explosión",
	"Extrasensory": "Paranormal",
	"Extreme Evoboost": "Novena potencia",
	"Extreme Speed": "Velocidad extrema",
	"Facade": "Imagen",
	"Fairy Lock": "Cerrojo feérico",
	"Fairy Wind": "Viento feérico",
	"Fake Out": "Sorpresa",
	"Fake Tears": "Llanto falso",
	"False Swipe": "Falsotortazo",
	"Feather Dance": "Danza pluma",
	"Feint": "Amago",
	"Feint Attack": "Finta",
	"Fell Stinger": "Aguijón letal",
	"Fiery Dance": "Danza llama",
	"Final Gambit": "Sacrificio",
	"Fire Blast": "Llamarada",
	"Fire Fang": "Colmillo ígneo",
	"Fire Lash": "Látigo ígneo",
	"Fire Pledge": "Voto fuego",
	"Fire Punch": "Puño fuego",
	"Fire Spin": "Giro fuego",
	"First Impression": "Escaramuza",
	"Fissure": "Fisura",
	"Flail": "Azote",
	"Flame Burst": "Pirotecnia",
	"Flame Charge": "Nitrocarga",
	"Flame Wheel": "Rueda fuego",
	"Flamethrower": "Lanzallamas",
	"Flare Blitz": "Envite ígneo",
	"Flash": "Destello",
	"Flash Cannon": "Foco resplandor",
	"Flatter": "Camelo",
	"Fleur cannon": "Cañón floral",
	"Fling": "Lanzamiento",
	"Floral healing": "Cura floral",
	"Flower Shield": "Defensa floral",
	"Fly": "Vuelo",
	"Flying Press": "Plancha voladora",
	"Focus Blast": "Onda certera",
	"Focus Energy": "Foco energía",
	"Focus Punch": "Puño certero",
	"Follow Me": "Señuelo",
	"Force Palm": "Palmeo",
	"Foresight": "Profecía",
	"Forest's Curse": "Condena silvana",
	"Foul Play": "Juego sucio",
	"Freeze Shock": "Rayo gélido",
	"Freeze-Dry": "Liofilización",
	"Frenzy Plant": "Planta feroz",
	"Frost Breath": "Vaho gélido",
	"Frustration": "Frustración",
	"Fury Attack": "Ataque furia",
	"Fury Cutter": "Corte furia",
	"Fury Swipes": "Golpes furia",
	"Fusion Bolt": "Rayo fusión",
	"Fusion Flare": "Llama fusión",
	"Future Sight": "Premonición",
	"Gastro Acid": "Bilis",
	"Gear Grind": "Rueda doble",
	"Gear Up": "Piñón auxiliar",
	"Geomancy": "Geocontrol",
	"Giga Drain": "Gigadrenado",
	"Giga Impact": "Giga impacto",
	"Gigavolt Havoc": "Gigavoltio destructor",
	"Glaciate": "Mundo gélido",
	"Glare": "Deslumbrar",
	"Grass Knot": "Hierba lazo",
	"Grass Pledge": "Voto planta",
	"Grass Whistle": "Silbato",
	"Grassy Terrain": "Campo de hierba",
	"Gravity": "Gravedad",
	"Growl": "Gruñido",
	"Growth": "Desarrollo",
	"Grudge": "Rabia",
	"Guard Split": "Isoguardia",
	"Guard Swap": "Cambia defensa",
	"Guardian of Alola": "Cólera del guardián",
	"Guillotine": "Guillotina",
	"Gunk Shot": "Lanza mugre",
	"Gust": "Tornado",
	"Gyro Ball": "Giro bola",
	"Hail": "Granizo",
	"Hammer Arm": "Machada",
	"Happy Hour": "Paga extra",
	"Harden": "Fortaleza",
	"Haze": "Niebla",
	"Head Charge": "Ariete",
	"Head Smash": "Testarazo",
	"Headbutt": "Golpe cabeza",
	"Heal Bell": "Campana cura",
	"Heal Block": "Anticura",
	"Heal Order": "Auxilio",
	"Heal Pulse": "Pulso cura",
	"Healing Wish": "Deseo cura",
	"Heart Stamp": "Arrumaco",
	"Heart Swap": "Cambia almas",
	"Heat Crash": "Golpe calor",
	"Heat Wave": "Onda ígnea",
	"Heavy Slam": "Cuerpo pesado",
	"Helping Hand": "Refuerzo",
	"Hex": "Infortunio",
	"Hidden Power": "Poder oculto",
	"High Horsepower": "Fuerza equina",
	"High Jump Kick": "Patada salto alta",
	"Hold Back": "Clemencia",
	"Hold Hands": "Manos juntas",
	"Hone Claws": "Afilagarras",
	"Horn Attack": "Cornada",
	"Horn Drill": "Perforador",
	"Horn Leech": "Asta drenaje",
	"Howl": "Aullido",
	"Hurricane": "Vendaval",
	"Hydro Cannon": "Hidrocañón",
	"Hydro Pump": "Hidrobomba",
	"Hydro Vortex": "Hidrovórtice abisal",
	"Hyper Beam": "Hiperrayo",
	"Hyper Fang": "Hipercolmillo",
	"Hyper Voice": "Vozarrón",
	"Hyperspace Hole": "Paso dimensional",
	"Hypnosis": "Hipnosis",
	"Ice Ball": "Bola hielo",
	"Ice Beam": "Rayo hielo",
	"Ice Burn": "Llama gélida",
	"Ice Fang": "Colmillo hielo",
	"Ice Hammer": "Martillo hielo",
	"Ice Punch": "Puño hielo",
	"Ice Shard": "Canto helado",
	"Icicle Crash": "Chuzos",
	"Icicle Spear": "Carámbano",
	"Icy Wind": "Viento hielo",
	"Imprison": "Cerca",
	"Incinerate": "Calcinación",
	"Inferno": "Infierno",
	"Inferno Overdrive": "Hecatombe pírica",
	"Infestation": "Acoso",
	"Ingrain": "Arraigo",
	"Instruct": "Mandato",
	"Ion Deluge": "Cortina plasma",
	"Iron Defense": "Defensa férrea",
	"Iron Head": "Cabeza de hierro",
	"Iron Tail": "Cola férrea",
	"Judgment": "Sentencia",
	"Jump Kick": "Patada salto",
	"Karate Chop": "Golpe kárate",
	"Kinesis": "Kinético",
	"King's Shield": "Escudo real",
	"Knock Off": "Desarme",
	"Land's Wrath": "Fuerza telúrica",
	"Laser focus": "Aguzar",
	"Last Resort": "Última baza",
	"Lava Plume": "Humareda",
	"Leaf Blade": "Hoja aguda",
	"Leaf Storm": "Lluevehojas",
	"Leaf Tornado": "Ciclón de hojas",
	"Leafage": "Follaje",
	"Leech Life": "Chupavidas",
	"Leech Seed": "Drenadoras",
	"Leer": "Malicioso",
	"Lick": "Lengüetazo",
	"Light of Ruin": "Luz aniquiladora",
	"Light Screen": "Pantalla de luz",
	"Liquidation": "Hidroariete",
	"Lock-On": "Fijar blanco",
	"Lovely Kiss": "Beso amoroso",
	"Low Kick": "Patada baja",
	"Low Sweep": "Puntapié",
	"Lucky Chant": "Conjuro",
	"Lunar Dance": "Danza lunar",
	"Lunge": "Plancha",
	"Luster Purge": "Resplandor",
	"Mach Punch": "Ultrapuño",
	"Magic Coat": "Capa mágica",
	"Magic Room": "Zona mágica",
	"Magical Leaf": "Hoja mágica",
	"Magma Storm": "Lluvia ígnea",
	"Magnet Bomb": "Bomba imán",
	"Magnet Rise": "Levitón",
	"Magnetic Flux": "Aura magnética",
	"Magnitude": "Magnitud",
	"Malicious Moonsault": "Hiperplancha oscura",
	"Mat Block": "Escudo tatami",
	"Me First": "Yo primero",
	"Mean Look": "Mal de ojo",
	"Meditate": "Meditación",
	"Mega Drain": "Megaagotar",
	"Mega Kick": "Megapatada",
	"Mega Punch": "Megapuño",
	"Megahorn": "Megacuerno",
	"Memento": "Legado",
	"Metal Burst": "Represión metal",
	"Metal Claw": "Garra metal",
	"Metal Sound": "Eco metálico",
	"Meteor Mash": "Puño meteoro",
	"Metronome": "Metrónomo",
	"Milk Drink": "Batido",
	"Mimic": "Mimético",
	"Mind Reader": "Telépata",
	"Minimize": "Reducción",
	"Miracle Eye": "Gran ojo",
	"Mirror Coat": "Manto espejo",
	"Mirror Move": "Movimiento espejo",
	"Mirror Shot": "Disparo espejo",
	"Mist": "Neblina",
	"Mist Ball": "Bola neblina",
	"Misty Terrain": "Campo de niebla",
	"Moonblast": "Fuerza lunar",
	"Moongeist Beam": "Rayo umbrío",
	"Moonlight": "Luz lunar",
	"Morning Sun": "Sol matinal",
	"Mud Bomb": "Bomba fango",
	"Mud Shot": "Disparo lodo",
	"Mud Sport": "Chapoteo lodo",
	"Muddy Water": "Agua lodosa",
	"Mud-Slap": "Bofetón lodo",
	"Multi-Attack": "Multiataque",
	"Mystical Fire": "Llama embrujada",
	"Nasty Plot": "Maquinación",
	"Natural Gift": "Don natural",
	"Nature Power": "Adaptación",
	"Nature's Madness": "Furia natural",
	"Needle Arm": "Brazo pincho",
	"Never-Ending Nightmare": "Presa espectral",
	"Night Daze": "Pulso noche",
	"Night Shade": "Tinieblas",
	"Night Slash": "Tajo umbrío",
	"Nightmare": "Pesadilla",
	"Noble Roar": "Rugido de guerra",
	"Nuzzle": "Moflete estático",
	"Oblivion Wing": "Ala mortífera",
	"Oceanic Operetta": "Sinfonía de la diva marina",
	"Octazooka": "Pulpocañón",
	"Odor Sleuth": "Rastreo",
	"Ominous Wind": "Viento aciago",
	"Origin Pulse": "Pulso primigenio",
	"Outrage": "Enfado",
	"Overheat": "Sofoco",
	"Pain Split": "Divide dolor",
	"Parabolic Charge": "Carga parábola",
	"Parting Shot": "Última palabra",
	"Pay Day": "Día de pago",
	"Payback": "Vendetta",
	"Peck": "Picotazo",
	"Perish Song": "Canto mortal",
	"Petal Blizzard": "Tormenta floral",
	"Petal Dance": "Danza pétalo",
	"Phantom Force": "Golpe fantasma",
	"Pin Missile": "Pin misil",
	"Play Nice": "Camaradería",
	"Play Rough": "Carantoña",
	"Pluck": "Picoteo",
	"Poison Fang": "Colmillo veneno",
	"Poison Gas": "Gas venenoso",
	"Poison Jab": "Puya nociva",
	"Poison Powder": "Polvo veneno",
	"Poison Sting": "Picotazo veneno",
	"Poison Tail": "Cola veneno",
	"Pollen Puff": "Bola de polen",
	"Pound": "Destructor",
	"Powder": "Polvo explosivo",
	"Powder Snow": "Nieve polvo",
	"Power Gem": "Joya de luz",
	"Power Split": "Isofuerza",
	"Power Swap": "Cambia fuerza",
	"Power Trick": "Truco fuerza",
	"Power trip": "Chulería",
	"Power Whip": "Latigazo",
	"Power-Up Punch": "Puño incremento",
	"Precipice Blades": "Filo del abismo",
	"Present": "Presente",
	"Prismatic Laser": "Láser prisma",
	"Protect": "Protección",
	"Psybeam": "Psicorrayo",
	"Psych Up": "Más psique",
	"Psychic": "Psíquico",
	"Psychic Fangs": "Psicocolmillo",
	"Psychic terrain": "Campo psíquico",
	"Psycho Boost": "Psicoataque",
	"Psycho Cut": "Psicocorte",
	"Psycho Shift": "Psicocambio",
	"Psyshock": "Psicocarga",
	"Psystrike": "Onda mental",
	"Psywave": "Psicoonda",
	"Pulverizing Pancake": "Arrojo intempestivo",
	"Punishment": "Castigo",
	"Purify": "Purificación",
	"Pursuit": "Persecución",
	"Quash": "Último lugar",
	"Quick Attack": "Ataque rápido",
	"Quick Guard": "Anticipo",
	"Quiver Dance": "Danza aleteo",
	"Rage": "Furia",
	"Rage Powder": "Polvo ira",
	"Rain Dance": "Danza lluvia",
	"Rapid Spin": "Giro rápido",
	"Razor Leaf": "Hoja afilada",
	"Razor Shell": "Concha filo",
	"Razor Wind": "Viento cortante",
	"Recover": "Recuperación",
	"Recycle": "Reciclaje",
	"Reflect": "Reflejo",
	"Reflect Type": "Clonatipo",
	"Refresh": "Alivio",
	"Relic Song": "Canto arcaico",
	"Rest": "Descanso",
	"Retaliate": "Represalia",
	"Return": "Retribución",
	"Revelation dance": "Danza despertar",
	"Revenge": "Desquite",
	"Reversal": "Inversión",
	"Roar": "Rugido",
	"Roar of Time": "Distorsión",
	"Rock Blast": "Pedrada",
	"Rock Climb": "Treparrocas",
	"Rock Polish": "Pulimento",
	"Rock Slide": "Avalancha",
	"Rock Smash": "Golpe roca",
	"Rock Throw": "Lanzarrocas",
	"Rock Tomb": "Tumba rocas",
	"Rock Wrecker": "Romperrocas",
	"Role Play": "Imitación",
	"Rolling Kick": "Patada giro",
	"Rollout": "Desenrollar",
	"Roost": "Respiro",
	"Rototiller": "Fertilizante",
	"Round": "Canon",
	"Sacred Fire": "Fuego sagrado",
	"Sacred Sword": "Espada santa",
	"Safeguard": "Velo sagrado",
	"Sand Attack": "Ataque arena",
	"Sand Tomb": "Bucle arena",
	"Sandstorm": "Tormenta de arena",
	"Savage Spin-Out": "Guadaña sedosa",
	"Scald": "Escaldar",
	"Scary Face": "Cara susto",
	"Scratch": "Arañazo",
	"Screech": "Chirrido",
	"Searing Shot": "Bomba ígnea",
	"Secret Power": "Daño secreto",
	"Secret Sword": "Sable místico",
	"Seed Bomb": "Bomba germen",
	"Seed Flare": "Fogonazo",
	"Seismic Toss": "Movimiento sísmico",
	"Self-Destruct": "Autodestrucción",
	"Shadow Ball": "Bola sombra",
	"Shadow Bone": "Hueso sombrío",
	"Shadow Claw": "Garra umbría",
	"Shadow Force": "Golpe umbrío",
	"Shadow Punch": "Puño sombra",
	"Shadow Sneak": "Sombra vil",
	"Sharpen": "Afilar",
	"Shattered Psyche": "Disruptor psíquico",
	"Sheer Cold": "Frío polar",
	"Shell Smash": "Rompecoraza",
	"Shell trap": "Coraza trampa",
	"Shift Gear": "Cambio de marcha",
	"Shock Wave": "Onda voltio",
	"Shore Up": "Recogearena",
	"Signal Beam": "Doble rayo",
	"Silver Wind": "Viento plata",
	"Simple Beam": "Onda simple",
	"Sing": "Canto",
	"Sinister Arrow Raid": "Aluvión de flechas sombrías",
	"Sketch": "Esquema",
	"Skill Swap": "Intercambio",
	"Skull Bash": "Cabezazo",
	"Sky Attack": "Ataque aéreo",
	"Sky Drop": "Caída libre",
	"Sky Uppercut": "Gancho alto",
	"Slack Off": "Relajo",
	"Slam": "Atizar6",
	"Slash": "Cuchillada",
	"Sleep Powder": "Somnífero",
	"Sleep Talk": "Sonámbulo",
	"Sludge": "Residuos",
	"Sludge Bomb": "Bomba lodo",
	"Sludge Wave": "Onda tóxica",
	"Smack Down": "Antiaéreo",
	"Smart strike": "Cuerno certero",
	"Smelling Salts": "Estímulo",
	"Smog": "Polución",
	"Smokescreen": "Pantalla de humo",
	"Snarl": "Alarido",
	"Snatch": "Robo",
	"Snore": "Ronquido",
	"Soak": "Anegar",
	"Soft-Boiled": "Amortiguador",
	"Solar Beam": "Rayo solar",
	"Solar blade": "Cuchilla solar",
	"Sonic Boom": "Bomba sónica",
	"Spacial Rend": "Corte vacío",
	"Spark": "Chispa",
	"Sparkling aria": "Aria burbuja",
	"Speed Swap": "Cambia velocidad",
	"Spider Web": "Telaraña",
	"Spike Cannon": "Clavo cañón",
	"Spikes": "Púas",
	"Spiky Shield": "Barrera espinosa",
	"Spirit Shackle": "Puntada sombría",
	"Spit Up": "Escupir",
	"Spite": "Rencor",
	"Splash": "Salpicadura",
	"Spore": "Espora",
	"Spotlight": "Foco",
	"Stealth Rock": "Trampa rocas",
	"Steam Eruption": "Chorro de vapor",
	"Steamroller": "Rodillo de púas",
	"Steel Wing": "Ala de acero",
	"Sticky Web": "Red viscosa",
	"Stockpile": "Reserva",
	"Stoked Sparksurfer": "Surfeo galvánico",
	"Stomp": "Pisotón",
	"Stomping Tantrum": "Pataleta",
	"Stone Edge": "Roca afilada",
	"Stored Power": "Poder reserva",
	"Storm Throw": "Llave corsé",
	"Strength": "Fuerza",
	"Strength sap": "Absorbefuerza",
	"String Shot": "Disparo demora",
	"Struggle Bug": "Estoicismo",
	"Stun Spore": "Paralizador",
	"Submission": "Sumisión",
	"Substitute": "Sustituto",
	"Subzero Slammer": "Crioaliento despiadado",
	"Sucker Punch": "Golpe bajo",
	"Sunny Day": "Día soleado",
	"Sunsteel Strike": "Meteoimpacto",
	"Super Fang": "Superdiente",
	"Superpower": "Fuerza bruta",
	"Supersonic": "Supersónico",
	"Supersonic Skystrike": "Picado supersónico",
	"Surf": "Surf",
	"Swagger": "Contoneo",
	"Swallow": "Tragar",
	"Sweet Kiss": "Beso dulce7",
	"Sweet Scent": "Dulce aroma",
	"Swift": "Rapidez",
	"Switcheroo": "Trapicheo",
	"Swords Dance": "Danza espada",
	"Synchronoise": "Sincrorruido",
	"Synthesis": "Síntesis",
	"Tackle": "Placaje",
	"Tail Glow": "Ráfaga",
	"Tail Slap": "Plumerazo",
	"Tail Whip": "Látigo",
	"Tailwind": "Viento afín",
	"Take Down": "Derribo",
	"Taunt": "Mofa",
	"Tearful Look": "Ojos llorosos",
	"Techno Blast": "Tecno shock",
	"Tectonic Rage": "Barrena telúrica",
	"Teeter Dance": "Danza caos",
	"Telekinesis": "Telequinesis",
	"Teleport": "Teletransporte",
	"Thief": "Ladrón",
	"Thousand Arrows": "Mil flechas",
	"Thousand Waves": "Mil temblores",
	"Thrash": "Golpe",
	"Throat Chop": "Golpe mordaza",
	"Thunder": "Trueno",
	"Thunder Fang": "Colmillo rayo",
	"Thunder Punch": "Puño trueno",
	"Thunder Shock": "Impactrueno",
	"Thunder Wave": "Onda trueno",
	"Thunderbolt": "Rayo",
	"Tickle": "Cosquillas",
	"Topsy-Turvy": "Reversión",
	"Torment": "Tormento",
	"Toxic": "Tóxico",
	"Toxic Spikes": "Púas tóxicas",
	"Toxic Thread": "Hilo venenoso",
	"Transform": "Transformación",
	"Tri Attack": "Triataque",
	"Trick": "Truco",
	"Trick Room": "Espacio raro",
	"Trick-or-Treat": "Halloween",
	"Triple Kick": "Triple patada",
	"Trop Kick": "Patada tropical",
	"Trump Card": "As oculto",
	"Twineedle": "Doble ataque",
	"Twinkle Tackle": "Arrumaco sideral",
	"Twister": "Ciclón",
	"Uproar": "Alboroto",
	"U-turn": "Ida y vuelta",
	"Vacuum Wave": "Onda vacío",
	"V-create": "V de fuego",
	"Venom Drench": "Trampa venenosa",
	"Venoshock": "Carga tóxica",
	"Vice Grip": "Agarre",
	"Vine Whip": "Látigo cepa",
	"Vital Throw": "Tiro vital",
	"Volt Switch": "Voltiocambio",
	"Volt Tackle": "Placaje eléctrico",
	"Wake-Up Slap": "Espabila",
	"Water Gun": "Pistola agua",
	"Water Pledge": "Voto agua",
	"Water Pulse": "Hidropulso",
	"Water Shuriken": "Shuriken de agua",
	"Water Sport": "Hidrochorro",
	"Water Spout": "Salpicar",
	"Waterfall": "Cascada",
	"Weather Ball": "Meteorobola",
	"Whirlpool": "Torbellino",
	"Whirlwind": "Remolino",
	"Wide Guard": "Vastaguardia",
	"Wild Charge": "Voltio cruel",
	"Will-O-Wisp": "Fuego fatuo",
	"Wing Attack": "Ataque ala",
	"Wish": "Deseo",
	"Withdraw": "Refugio",
	"Wonder Room": "Zona extraña",
	"Wood Hammer": "Mazazo",
	"Work Up": "Avivar",
	"Worry Seed": "Abatidoras",
	"Wrap": "Constricción9",
	"Wring Out": "Estrujón",
	"X-Scissor": "Tijera X",
	"Yawn": "Bostezo",
	"Zap Cannon": "Electrocañón",
	"Zen Headbutt": "Cabezazo zen",
	"Zing Zap": "Electropunzada",
 
	// Objetos
	"Black Sludge": "Lodo negro",
	"King's Rock": "Roca del rey",
	"Leftovers": "Restos",
	"Life Orb": "Vidasfera",
	"Metal Powder": "Polvo metálico",
 
	"is paralyzed! It can't move!": "está paralizado. ¡No se puede mover!",
	"It's super effective! ": "¡Es super efectivo!",
	"It's not very effective... ": "No es muy efectivo...",
	"A critical hit! ": "¡Golpe crítico!",
	"Go!": "¡Vamos!",
	"the opposing": "el oponente",
	"The opposing ": "El oponente ",
	" used ": " usó ",
	", come back!": ", ¡vuelve!",
	"joined": "se unió",
	" lost ": " perdió ",
	" of its health!": " de salud.",
 
	// Movimientos de campo
	"The effects of the weather disappeared.": "Los efectos del tiempo desaparecieron.",
 
	// Estados alterados
	" restored a little HP using its Leftovers!": " ha recuperado unos pocos PS con los restos.",
	"is paralyzed! It may be unable to move!": "está paralizado. ¡Puede que no se mueva!",
	" was hurt by poison! ": " fue herido por el veneno.",
	" was burned!": " fue quemado.",
	" was hurt by its burn! ": " fue herido por las quemaduras.",
	" is hurt by the spikes! ": " es herido por las púas.",
	" became confused!": " ha quedado confuso.",
	" is confused!": " está confundido."
 
};
 
var regex_ability = new RegExp(/Ability: ([A-Za-z- ]+)$/);
var regex_abi_and_item = new RegExp(/Ability: ([A-Za-z- ]+) \/ Item: ([(A-Za-z- ]+[A-za-z)])$/);
var regex_possible_ability = new RegExp(/Possible abilities: ([A-za-z- ]+[A-za-z])$/);
var regex_possible_ability2 = new RegExp(/Possible abilities: ([A-za-z- ]+[A-za-z]), ([A-za-z- ]+[A-za-z])$/);
var regex_possible_ability3 = new RegExp(/Possible abilities: ([A-za-z- ]+[A-za-z]), ([A-za-z- ]+[A-za-z]), ([A-za-z- ]+[A-za-z])$/);
var regex_Item = new RegExp(/Item: ([(A-Za-z- ]+[A-za-z)])$/);
var regex_stat_change = new RegExp(/^'s ([A-za-z ]+) (fell|rose) ?(sharply|harshly)?! ?(The opposing)?/);
var regex_magic_bounce = new RegExp(/bounced the ([A-za-z -]+) back!/);
var regex_preview = new RegExp(/^([A-za-z* -]+ \/ )+([A-za-z* -]+)$/);
var regex_start_battle = new RegExp(/Battle between (.+) and (.+) started!/);
var regex_uturn = new RegExp(/went back to (.*)!/);
var regex_hurtby = new RegExp(/is hurt by ([A-Za-z- ]+)!/);
var regex_gems = new RegExp(/The ([A-za-z ]+) strengthened ([A-za-z- ]+)'s power!/);
var regex_eat = new RegExp(/ate its ([A-Za-z ]+)!/);
var regex_restorehp = new RegExp(/restored HP using its ([A-Za-z ]+)!/);
 
// var regex_pointed_stones=new RegExp(/Pointed stones dug into (the opposing )?([A-za-z -]+)!/);
var regex_pointed_stones = new RegExp(/Pointed stones dug into/);
var regex_doesnt_affect = new RegExp(/It doesn't affect (the opposing )?([A-za-z -]+)/);
var regex_forme = new RegExp(/(sent out $)|(withdrew $)|(Go! $)/);
var regex_z_prtct = new RegExp(/([A-za-z -]+) couldn't fully protect itself and got hurt!/);
var regex_megastone = new RegExp(/'s ([A-Za-z ]+) is reacting to the Key Stone!/);
var regex_weakened = new RegExp(/The ([A-Za-z ]+) weakened the damage to (the opposing )?([A-Za-z -]+) !/);
var regex_Z_hojo = new RegExp(/^Z-([A-Za-z ]+)/);
var regex_Z_boost = new RegExp(/boosted its ([A-Za-z ]+) using its Z-Power!/);
var regex_copied = new RegExp(/copied (the opposing )?([A-Za-z ]+) 's (stat changes)?([A-Za-z- ]+ Ability)?!/);
var regex_attack = new RegExp(/([A-Za-z ]+) will use ([A-za-z- ]+[A-za-z])./);
 
var regex_search = new RegExp(/It's not very effective on|It's super effective on|\.? ?A critical hit on| weakened the damage to /);
// var regex_search = new RegExp(/It's not very effective on|It's super effective on|\.? ?A critical hit on/);
 
var t_ = function (a) {
  return a;
};
var t = function (originalStr, n) {
    var splitted, poke_name, text, opp;
 
	if (originalStr.indexOf("sent out ") != -1) {
		splitted = originalStr.split(" sent out ");
		poke_name = splitted[1].split(" (");
		text = (poke_name[1]) ? translateText(poke_name[0]) + "(" + translateText(poke_name[1].replace(")", "")) + ")" : translateText(splitted[1].replace("!", ""));
		return splitted[0] + " envió a " + text + ".";
	}
	if (originalStr.indexOf(" withdrew ") != -1) {
		splitted = originalStr.split(" withdrew ");
		poke_name = splitted[1].split(" (");
		text = (poke_name[1]) ? translateText(poke_name[0]) + "(" + translateText(poke_name[1].replace(")", "")) + ")" : translateText(splitted[1].replace("!", ""));
		return splitted[0] + " retiró a " + text + " del campo de batalla.";
	}
	if (originalStr.indexOf("Go! ") != -1) {
		splitted = originalStr.replace("Go! ", "");
		poke_name = splitted.split(" (");
		text = (poke_name[1]) ? translateText(poke_name[0]) + "(" + translateText(poke_name[1].replace(")", "")) + ")" : translateText(splitted.replace("!", ""));
		return "¡Vamos, " + text + "!";
	}
 
	if (originalStr.match(regex_ability))
		return "Habilidad: " + translateText(RegExp.$1);
	if (originalStr.match(regex_possible_ability))
		return "Posibles habilidades: " + translateText(RegExp.$1);
	if (originalStr.match(regex_possible_ability2))
		return "Posibles habilidades: " + translateText(RegExp.$1) + "," + translateText(RegExp.$2);
	if (originalStr.match(regex_possible_ability3))
		return "Posibles habilidades: " + translateText(RegExp.$1) + "," + translateText(RegExp.$2) + "," + translateText(RegExp.$3);
	if (originalStr.match(regex_Item))
		return "Objeto: " + translateText(RegExp.$1);
	if (originalStr.match(regex_attack))
		return RegExp.$1 + " usará " + translateText(RegExp.$2);
 
	return translateText(originalStr).replace(/ lost ([0-9]+)% of its health!/, " perdió $1% de salud.");
};
 
function translateText(txt) {
	if (translations[txt] === undefined)
		return txt;
	else
		return translations[txt];
}
 
function translateElement(element) {
	var elTW = document.createTreeWalker(element, NodeFilter.SHOW_Element, null, false);
	var node = null;
	var translate = t;
	while ((node = elTW.nextNode()) != null) {
		if (node.nodeValue && node.parentNode.getAttribute("class") != "textbox") {
			node.nodeValue = translate(node.nodeValue);
        }
	}
}
 
var QQ = $.noConflict();
(function () {
	'use strict';
	if (document.getElementById('room-'))
		translateElement(document.getElementById('room-'));
	QQ(document).on('DOMNodeInserted', function (e) {
		translateElement(e.target);
	});
})();