2013-11-05, 07:40 AM
Just made a translation of the main messages to brazilian portuguese:
As I am the admin and have no issue with english (and it is already 5:37am), I will leave the admin translation to another time
Didn't start too well:
On the 136 line we have:
I read here it might be a PHP version incompatibility, my server has a 5.2.17 PHP
http://stackoverflow.com/questions/85080...on-version
Should I follow the suggestion on the stackoverflow link? Would I have more problems with this PHP version?
I found now here that you already made a commit with the change:
https://github.com/Seabody/MyBB-Wiki/com...dd9f0774ae
The thing is that I downloaded from GIT, using the Download ZIP button. Should I had done differently?
Just found another problem:
I had a look and the file I had in the server started with lowercase, which I changed to what it was complaining (Markdown) and it seems to fix it. Is it a known problem?
Oh well, just another problem, which I remember have seen when I was upgrading another plugin to 1.6.11:
Fatal error: Class 'Horde_Text_Diff_Renderer' not found in /home/neworder/antinovaordemmundial.com/mybb/inc/3rdparty/diff/Diff/Renderer/Inline.php on line 22
Thanks for the help
Eco
Quote:<?php
/* --- General --- */
$l['wiki'] = "Wiki";
$l['wiki_breadcrumb'] = "Lista de Artigos";
$l['wiki_filter'] = "Filtrar Artigos";
$l['wiki_revisions'] = "Revisões";
$l['original'] = "Original";
$l['current'] = "Atual";
$l['categories'] = "Categorias";
$l['notes'] = "Bloco de notas";
$l['contributors'] = "Contribuíram para {1}";
$l['wiki_contributors'] = "Contribuíram";
/* --- Error Messages --- */
$l['oops'] = "O Wiki foi desabilitado!";
$l['invalid_article'] = "Nenhum artigo existe com este id.";
$l['identical'] = "Os dois artigos são idênticos!";
$l['noarticles'] = "Não há artigos nesta wiki. <a href=\"wiki.php?action=new\">Por que não cria um?</a>";
$l['noarticles_guest'] = "Não há artigos neste wiki.";
$l['notupdated'] = "Devido a um erro interno, a sua edição não foi publicada.";
$l['notposted'] = "Devido a um erro interno , o seu artigo não foi publicado.";
$l['protected'] = "Este artigo foi protegido para evitar abusos.";
$l['doesntexist'] = "Esse artigo não existe!";
$l['pickarticle'] = "Você deve escolher um artigo!";
$l['notprotected'] = "Um erro interno do servidor impediu a proteção deste artigo.";
$l['protected2'] = "Este artigo foi protegido para prevenir abusos e portanto não pode ser editado.";
$l['nocategory'] = "Você deve escolher uma categoria!";
$l['notitle'] = "Nenhum título foi especificado";
$l['nomessage'] = "Não há nenhuma mensagem!";
$l['errorsocc'] = "Ocorreram os seguintes erros:<br />{1}";
$l['nocat'] = "Você deve especificar o título de uma categoria para filtrar.";
$l['noarticlescat'] = "Não há artigos nesta categoria.";
/* --- Buttons and Options --- */
$l['title'] = "Título do Artigo";
$l['content'] = "Conteúdo do Artigo";
$l['category'] = "Categoria do Artigo";
$l['new'] = "Novo Artigo";
$l['post'] = "Postar Artigo";
$l['edit'] = "Editar Artigo";
$l['editing'] = "Editandon {1}";
$l['lastpost'] = "Último Editor";
$l['protect'] = "Artigo Protegido";
$l['export'] = "Exportar Artigos";
/* --- Who's Online --- */
$l['viewing_wiki'] = "Visualizando o Wiki";
$l['wiki_new'] = "Criando um novo Artigo do Wiki";
$l['wiki_edit'] = "Editando um Artigo do Wiki";
/* --- Redirects --- */
$l['wasprotected'] = "Você protegeu o artigo com sucesso. Redirecionando você agora de volta para o artigo.";
$l['posted'] = "O artigo foi publicado. Redirecionando você agora para o índice do wiki.";
?>
As I am the admin and have no issue with english (and it is already 5:37am), I will leave the admin translation to another time
Didn't start too well:
Quote:Fatal error: Call to undefined method DirectoryIterator::getExtension() in /home/[use]/[domain]/[mybb_folder]/inc/plugins/wiki.php on line 136
On the 136 line we have:
Quote:if(!$file->isDot() && !$file->isDir() && $file->getExtension() == 'html')
I read here it might be a PHP version incompatibility, my server has a 5.2.17 PHP
http://stackoverflow.com/questions/85080...on-version
Should I follow the suggestion on the stackoverflow link? Would I have more problems with this PHP version?
I found now here that you already made a commit with the change:
https://github.com/Seabody/MyBB-Wiki/com...dd9f0774ae
The thing is that I downloaded from GIT, using the Download ZIP button. Should I had done differently?
Just found another problem:
Quote:Fatal error: require_once() [function.require]: Failed opening required '/home/neworder/antinovaordemmundial.com/mybb/inc/plugins/wiki/markdown/Markdown.php' (include_path='.:/usr/share/pear/') in /home/neworder/antinovaordemmundial.com/mybb/wiki.php on line 146
I had a look and the file I had in the server started with lowercase, which I changed to what it was complaining (Markdown) and it seems to fix it. Is it a known problem?
Oh well, just another problem, which I remember have seen when I was upgrading another plugin to 1.6.11:
Fatal error: Class 'Horde_Text_Diff_Renderer' not found in /home/neworder/antinovaordemmundial.com/mybb/inc/3rdparty/diff/Diff/Renderer/Inline.php on line 22
Thanks for the help
Eco