News:

Wondering if this will always be free?  See why free is better.

Main Menu

Template Parse Error!

Started by TinKode, June 04, 2016, 08:32:09 PM

Previous topic - Next topic

TinKode

Olá, eu instalei a nova versão 2.1 e baixei a tradução para pt-br, e quando termina de instalar aparece o seguinte.

Template Parse Error!

There was a problem loading the
/Themes/default/languages/index.portuguese_brazilian.php
template or language file. Please check the syntax and try again - remember, single quotes (
'
) often have to be escaped with a slash (
\
). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.


Parse error:  syntax error, unexpected ';' in .../Themes/default/languages/index.portuguese_brazilian.php on line 20

11: $txt['lang_locale'] = 'pt_BR';
12: $txt['lang_dictionary'] = 'pt';
13: $txt['lang_spelling'] = 'brazilian';
14:
15: // Ensure you remember to use uppercase for character set strings.
16: $txt['lang_character_set'] = 'ISO-8859-1';
17: // Character set and right to left?
18: $txt['lang_rtl'] = false;
19: // Number format.
20: $txt['number_format'] = ;
21:
22: $txt['days_title'] = 'Days';
23: $txt['days'] = array('Domingo', 'Segunda-Feira', 'Terça-Feira', 'Quarta-Feira', 'Quinta-Feira', 'Sexta-Feira', 'Sábado');
24: $txt['days_short'] = array('Dom', 'Seg', 'Ter', 'Qua', 'Qui', 'Sex', 'Sab');


Como posso resolver este erro?

marcosbr

 Para não ficar sem fórum, momentaneamente instale a versão PT. Ou a BR UTF8
Dificilmente uso a BR, pois a maioria das traduções dos MODs tem somente a PT.
O erro é pontuação na linha 20.
Alguém mais experiente vai te ajudar!
Nothing in life is absolute. We are always learning... Did you know that?
https://amigosdaeletronica.com.br

Apllicmz

bem quando quiser em PT-BR diz que posso ajudar sempre que puder



Advertisement: