Simple Machines Community Forum

SMF Support => Language Specific Support => Español (Spanish) => Topic started by: carlospok on December 18, 2012, 08:55:27 AM

Title: Error en la plantilla del idioma
Post by: carlospok on December 18, 2012, 08:55:27 AM
Hola a todos, he instalado en mi SMF 2.03 el idioma y da este error en algunas páginas:

¡Error al analizar la Plantilla!

Hubo un problema cargando el tema o archivo de idioma /Themes/default/languages/Who.spanish_es.php. Por favor revisa la sintaxis e intenta nuevamente - recuerda, los apóstrofes (') por lo general deben tener una secuencia de escape con la diagonal invertida (\). Para ver información especifica del error del sitio de PHP intenta acceder al archivo directamente.

Puedes intentar actualizar esta página o usar el tema de default.

Parse error: syntax error, unexpected T_STRING in .../Themes/default/languages/Who.spanish_es.php on line 80
71: $txt['whotopic_movetopic2'] = 'Moviendo el tema "<a href="' . $scripturl . '?topic=%1$d.0">%2$s</a>" a otro foro.';
72: $txt['whotopic_post'] = 'Publicando un mensaje en <a href="' . $scripturl . '?topic=%1$d.0">%2$s</a>.';
73: $txt['whotopic_post2'] = 'Publicando un mensaje en <a href="' . $scripturl . '?topic=%1$d.0">%2$s</a>.';
74: $txt['whotopic_printpage'] = 'Imprimiendo el tema "<a href="' . $scripturl . '?topic=%1$d.0">%2$s</a>".';
75: $txt['whotopic_quickmod2'] = 'Moderating the topic <a href="' . $scripturl . '?topic=%1$d.0">%2$s</a>.';
76: $txt['whotopic_removepoll'] = 'Removing the poll in "<a href="' . $scripturl . '?topic=%1$d.0">%2$s</a>".';
77: $txt['whotopic_removetopic2'] = 'Removing the topic <a href="' . $scripturl . '?topic=%1$d.0">%2$s</a>.';
78: $txt['whotopic_sendtopic'] = 'Enviando el tema "<a href="' . $scripturl . '?topic=%1$d.0">%2$s</a>" a un amigo.';
79: $txt['whotopic_splittopics'] = 'Dividiendo el tema "<a href="' . $scripturl . '?topic=%1$d.0">%2$s</a>" en dos temas.';
[color=red]80: $txt['whotopic_sticky'] = Fijando el tema "<a href="' . $scripturl . '?topic=%1$d.0">%2$s</a>".';[/color]
81: $txt['whotopic_vote'] = 'Votando en <a href="' . $scripturl . '?topic=%1$d.0">%2$s</a>.';
82:
83: $txt['whopost_quotefast'] = 'Citando un mensaje de "<a href="' . $scripturl . '?topic=%1$d.0">%2$s</a>".';


El error es lo que marca en rojo el foro supongo.

Saludos y gracias :)
Title: Re: Error en la plantilla del idioma
Post by: ^HeRaCLeS^ on December 18, 2012, 01:59:21 PM
Reemplaza esa linea por esta:

$txt['whotopic_sticky'] = 'Fijando el tema "<a href="' . $scripturl . '?topic=%1$d.0">%2$s</a>".';