namespace Sunfish.WinForms;
/// <summary>Textos propios de la ventana (el idioma lo decide Sunfish.Strings).</summary>
internal static class Texts
{
private static string T(string english, string spanish) => Strings.Spanish ? spanish : english;
public static string ServerOn => T("Server running", "Servidor en marcha");
public static string RootMenu => T("Root menu", "Menú raíz");
public static string Explore => T("Explore another server", "Explorar otro servidor");
public static string ExplorerTitle => T("Sunfish - explore", "Sunfish - explorar");
public static string ExplorerAddressTip => T("Servers found on the network, or type an address (host:port)", "Servidores encontrados en la red, o escribe una dirección (equipo:puerto)");
public static string ExplorerGo => T("Connect", "Conectar");
public static string ExplorerUp => T("Parent folder", "Carpeta superior");
public static string ExplorerDownload => T("Download to this computer", "Descargar a este equipo");
public static string ExplorerUpload => T("Upload files (or drop them on the list)", "Subir ficheros (o suéltalos en la lista)");
public static string ExplorerNewFolder => T("New folder", "Nueva carpeta");
public static string ExplorerDelete => T("Delete", "Borrar");
public static string ExplorerDownloadTo => T("Download to", "Descargar en");
public static string ExplorerSearching => T("Searching the network...", "Buscando en la red...");
public static string ExplorerNoneFound => T("No servers found; type an address.", "No se han encontrado servidores; escribe una dirección.");
public static string ExplorerFound(int n) => T($"{n} server(s) found.", $"{n} servidor(es) encontrado(s).");
public static string ExplorerBadAddress => T("Invalid address.", "Dirección no válida.");
public static string ExplorerItems(int n) => T($"{n} item(s)", $"{n} elemento(s)");
public static string ExplorerDone => T("Done.", "Hecho.");
public static string ExplorerTransferred(string size) => T($"Transferred {size}...", $"Transferido {size}...");
public static string ExplorerLogin(string server) => T($"User for {server}", $"Usuario para {server}");
public static string ExplorerDeleteOne(string name) => T($"Delete '{name}' on the other server?", $"¿Borrar '{name}' en el otro servidor?");
public static string ExplorerDeleteMany(int n) => T($"Delete {n} items on the other server?", $"¿Borrar {n} elementos en el otro servidor?");
public static string ListenOnPort => T("Web on port", "Web en puerto");
public static string FtpOnPort => T("FTP on port", "FTP en puerto");
public static string ListenTip => T("Serve the shares by web (HTTP)", "Servir los shares por web (HTTP)");
public static string FtpTip => T("Serve the shares by FTP", "Servir los shares por FTP");
public static string Info => T("Addresses, log and about", "Direcciones, registro y acerca de");
public static string Hide => T("Ok", "Ok");
public static string HideTip => T("Keep serving in the notification area", "Seguir sirviendo desde el área de notificación");
public static string Enable => T("Enable", "Activar");
public static string Disable => T("Disable", "Desactivar");
public static string QuickTitle => T("Sunfish - quick share", "Sunfish - compartido al momento");
public static string About => "Sunfish 3.0 (C) 2007-2026 XWolfOverride · MIT";
public static string Active => T("Active", "Activo");
public static string Mandatory => T("Required", "Obligatorio");
public static string Add => T("&Add...", "&Añadir...");
public static string Edit => T("&Edit...", "&Editar...");
public static string Remove => T("&Remove", "&Quitar");
public static string Users => T("&Users...", "&Usuarios...");
public static string OpenInBrowser => T("Open in the browser", "Abrir en el navegador");
public static string CopyUrl => T("Copy address", "Copiar dirección");
public static string OpenFolder => T("Open the folder", "Abrir la carpeta");
public static string Restore => T("Open Sunfish", "Abrir Sunfish");
public static string Exit => T("Exit", "Salir");
public static string Ok => T("OK", "Aceptar");
public static string Cancel => T("Cancel", "Cancelar");
public static string Close => T("Close", "Cerrar");
public static string Browse => T("...", "...");
public static string NewShare => T("New share", "Nuevo share");
public static string EditShareTitle(string name) => T($"Share '{name}'", $"Share '{name}'");
public static string Permissions => T("Permissions", "Permisos");
public static string AllowedUsers => T("Users (none checked: public)", "Usuarios (ninguno marcado: público)");
public static string ColName => T("Name", "Nombre");
public static string ColLocation => T("Location", "Location");
public static string ColFolder => T("Folder", "Carpeta");
public static string ColPermissions => T("Permissions", "Permisos");
public static string ColUsers => T("Users", "Usuarios");
public static string UsersTitle => T("Users", "Usuarios");
public static string Password => T("&Password...", "&Contraseña...");
public static string Delete => T("&Delete", "&Borrar");
public static string NewUser => T("New user", "Usuario nuevo");
public static string PasswordFor(string name) => T($"Password for '{name}'", $"Contraseña de '{name}'");
public static string UserName => T("Name:", "Nombre:");
public static string PasswordLabel => T("Password:", "Contraseña:");
public static string RepeatLabel => T("Repeat:", "Repetir:");
public static string PasswordMismatch => T("The passwords do not match.", "Las contraseñas no coinciden.");
public static string DropHint => T("Drop folders here to share them", "Arrastra carpetas aquí para compartirlas");
public static string NoAddress => T("(no network address)", "(sin dirección de red)");
public static string CreateConfigQuestion(string portable, string user) => T(
$"There is no configuration file yet.\n\nYes: create it next to the program\n{portable}\n\nNo: create it in your user folder\n{user}",
$"Aún no hay fichero de configuración.\n\nSí: crearlo junto al programa\n{portable}\n\nNo: crearlo en tu carpeta de usuario\n{user}");
public static string CannotStart(string message) => T($"Cannot start the server:\n{message}", $"No se puede arrancar el servidor:\n{message}");
public static string StatusUrl(string url) => T($"Address: {url}", $"Dirección: {url}");
public static string QrTitle => T("QR code", "Código QR");
public static string ShowQr => T("QR code", "Código QR");
public static string AdminEnable => T("Enable the web panel (user: admin)", "Activar el panel web (usuario: admin)");
public static string AdminPasswordKeep => T("New password (empty: keep it)", "Contraseña nueva (vacía: no cambia)");
public static string AdminHelp(string url) => T(
$"Open {url} from an allowed address. The password travels unencrypted.",
$"Abre {url} desde una dirección permitida. La contraseña viaja sin cifrar.");
public static string AdminLink(bool enabled) => T(
$"Web panel: {(enabled ? "enabled" : "disabled")} (change)",
$"Panel web: {(enabled ? "activado" : "desactivado")} (cambiar)");
}