Prueba

Traducción de Pokémon Showdown al español (v2)

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name        Prueba
// @match       https://play.pokemonshowdown.com/*
// @match       https://replay.pokemonshowdown.com/*
// @version     0.1
// @description Traducción de Pokémon Showdown al español (v2)
// @author      PdRoC
// @require     https://code.jquery.com/jquery-3.6.4.min.js
// @run-at      document-end
// @namespace https://greasyfork.org/users/171803
// @license MIT
// ==/UserScript==

// Menú principal
$(".activitymenu").hide();
$("button[name='search']").text("<strong>¡Combatir!</strong><br><small>Busca un rival aleatorio</small>");
$("button[value='teambuilder']").text("Constructor de equipos");
$("button[value='ladder']").text("Clasificación");
$("button[value='/smogtours']").text("Torneos");
$("button[value='battles']").text("Ver un combate");
$("button[name='finduser']").text("Buscar un usuario");