diff --git a/locales/AR_ar.json b/locales/AR_ar.json index 56eb236..0323761 100644 --- a/locales/AR_ar.json +++ b/locales/AR_ar.json @@ -105,6 +105,12 @@ "picture": "https://github.com/mrjvs.png", "github": "https://github.com/mrjvs" }, + { + "name": "Jip Fr", + "caption": "Web development lead", + "picture": "https://github.com/jipfr.png", + "github": "https://github.com/jipfr" + }, { "name": "Monty", "caption": "مطور الويب", @@ -112,10 +118,22 @@ "github": "https://github.com/montylion" }, { - "name": "Jip Fr", - "caption": "مطور الويب", - "picture": "https://github.com/jipfr.png", - "github": "https://github.com/jipfr" + "name": "Stary", + "caption": "3DS dev and NEX dissector", + "picture": "https://github.com/Stary2001.png", + "github": "https://github.com/Stary2001" + }, + { + "name": "Billy", + "caption": "Provider of dumps", + "picture": "https://github.com/InternalLoss.png", + "github": "https://github.com/InternalLoss" + }, + { + "name": "quarky", + "caption": "BOSS research and patch development", + "picture": "https://github.com/QuarkTheAwesome.png", + "github": "https://github.com/QuarkTheAwesome" }, { "name": "Shutterbug2000", diff --git a/locales/BR_pt.json b/locales/BR_pt.json index fac1db0..c280690 100644 --- a/locales/BR_pt.json +++ b/locales/BR_pt.json @@ -7,61 +7,61 @@ }, "hero": { "subtitle": "Servidores de jogos", - "title": "Recreated", - "text": "Pretendo é uma reposição gratuíta e de código aberto para os servidores de ambos 3DS e Wii U, permitindo conectividade online para todos, mesmo após os servidores originais serem descontinuados", + "title": "Recriados", + "text": "Pretendo é uma reposição gratuíta e de código aberto para os servidores do Wii U e Nintendo 3DS, permitindo conectividade online para todos, mesmo após o encerramento dos servidores originais", "buttons": { - "readMore": "Mostrar mais" + "readMore": "Saiba mais" } }, "aboutUs": { "title": "Sobre nós", "paragraphs": [ - "Pretendo é um projeto de código aberto que visa recriar a Nintendo Network para o 3DS e Wii U usando design de sala limpa.", + "Utilizando o design de sala limpa, Pretendo é um projeto de código aberto que visa recriar a Nintendo Network para o Wii U e para família de consoles Nintendo 3DS.", "Como os nossos serviços serão gratuitos e de código aberto, eles podem continuar existindo por muito mais tempo após o inevitável encerramento da Nintendo Network." ] }, "progress": { "title": "Progresso", "paragraphs": [ - "Atualmente estamos trabalhando no Miiverse, juntamente com nossos servidores de contas e sua integração com os serviços.", - "Para o 3DS também estamos trabalhando no Mario Kart 7, com o desejo de trabalhar em outros jogos quando possível." + "Atualmente estamos trabalhando no Miiverse, assinm como no nossos servidores de contas e suas integrações com os serviços.", + "Para o Nintendo 3DS também estamos trabalhando no Mario Kart 7, pretendemos trabalhar em outros jogos quando possível." ] }, "faq": { - "title": "Perguntas frequentes (FAQ)", - "text": "Para a fácil obtenção de informações, aqui estão algumas perguntas comuns que nos são feitas.", + "title": "Perguntas frequentes", + "text": "Para a fácil obtenção de informações, aqui estão algumas das perguntas mais comuns.", "QAs": [ { "question": "O que é Pretendo?", - "answer": "Pretendo é uma reposição de código aberto da Nintendo Network que visa fornecer servidores personalizados para a família de consoles Wii U e 3DS. Nosso objetivo é preservar a funcionalidade online desses consoles, para permitir que os jogadores continuem a experienciar seus jogos favoritos do Wii U e 3DS em sua capacidade máxima." + "answer": "Pretendo é uma reposição de código aberto para a Nintendo Network que visa fornecer servidores personalizados para o Wii U e para a família de consoles Nintendo 3DS. Nosso objetivo é preservar as funcionalidades online desses consoles para permitir que os jogadores continuem experienciando seus jogos favoritos em sua capacidade máxima." }, { - "question": "Meus NNIDs existentes funcionarão no Pretendo?", - "answer": "Infelizmente não. Os NNIDs existentes não funcionarão no Pretendo, pois apenas a Nintendo mantém acesso aos seus dados de usuário; embora uma migração de NNID para PNID seja teoricamente possível, seria arriscado e exigiria dados confidenciais do usuário que não desejamos manter." + "question": "Meus NNIDs existentes funcionarão na Pretendo?", + "answer": "Infelizmente não. Os NNIDs existentes não funcionarão na Pretendo, apenas a Nintendo tem acesso aos seus dados de usuário; embora uma migração de NNID para PNID seja teoricamente possível, seria arriscado e exigiria dados confidenciais do usuário que não desejamos manter." }, { - "question": "Como eu uso o Pretendo?", - "answer": "Pretendo atualmente não está disponível em um estado para uso público. No entanto, quando estiver pronto, você poderá usar o Pretendo simplesmente executando nosso patcher homebrew no seu console." + "question": "Como eu uso a Pretendo?", + "answer": "Pretendo atualmente não está disponível para uso pelo público geral. No entanto, quando estiver pronto, você poderá usar a Pretendo executando nosso patcher homebrew no seu console." }, { - "question": "Você sabe quando estará pronto?", - "answer": "Não. Muitos dos recursos e serviços do Pretendo são desenvolvidos de forma independente (por exemplo, o Miiverse pode ser trabalhado por um desenvolvedor enquanto contas e amigos são trabalhados por outro) e, portanto, não podemos fornecer uma data estimada de quanto tempo isso levará." + "question": "Você sabe quando recurso / serviço estará pronto?", + "answer": "Não. Muitos dos recursos e serviços da Pretendo são desenvolvidos de forma independente (por exemplo, o Miiverse pode ser trabalhado por um desenvolvedor enquanto as contas e lista de amigos são trabalhados por outro) e, portanto, não podemos estimar quanto tempo isso pode levar." }, { - "question": "O Pretendo funciona com Cemu/emuladores?", - "answer": "Pretendo é primariamente projetado para o Wii U e 3DS; no momento, o único emulador para esses consoles com suporte para Nintendo Network é o Cemu. O Cemu não fornece oficialmente suporte a servidores personalizados, mas ainda deve ser possível usar o Pretendo com o Cemu.
O Pretendo atualmente não oferece suporte ao Cemu." + "question": "A Pretendo funciona em emuladores?", + "answer": "Pretendo é primariamente projetado para o Wii U e Nintendo 3DS; no momento, o único emulador para um desses consoles com suporte a Nintendo Network é o Cemu. O Cemu oficialmente não fornece suporte a servidores personalizados, mas ainda deve ser possível usar a Pretendo com o Cemu.
A Pretendo não oferece suporte ao Cemu no momento." }, { - "question": "Se eu for banido da Nintendo Network, continuarei banido ao usar o Pretendo?", - "answer": "Não temos acesso aos banimentos da Nintendo Network e nem todos os usuários serão banidos do nosso serviço. No entanto, teremos regras a seguir ao usar o serviço e o não cumprimento dessas regras pode resultar em banimento." + "question": "Se eu for banido da Nintendo Network, continuarei banido ao usar a Pretendo?", + "answer": "Não temos acesso aos banimentos da Nintendo Network e nem todos os usuários serão banidos do nosso serviço. No entanto, teremos regras que devem ser seguidas ao utilizar o serviço e o não cumprimento dessas regras pode resultar em um banimento." }, { - "question": "Will Pretendo support the Wii/Switch?", - "answer": "The Wii already has custom servers provided by Wiimmfi. We currently do not wish to target the Switch as it is both paid and completely different to Nintendo Network." + "question": "Pretendo terá suporte ao Wii ou Nintendo Switch?", + "answer": "O Wii já possui servidores personalizados fornecidos pelo Wiimmfi. No momento, não temos interesse em direcionar o projeto ao Nintendo Switch, pois ele oferece um serviço pago e completamente diferente da Nintendo Network." }, { - "question": "Vou precisar de um desbloqueio para me conectar?", - "answer": "Sim, você precisará desbloquear seu console para se conectar; no entanto, no Wii U você só precisará acessar o Homebrew Launcher (ou seja, Haxchi, Coldboot Haxchi ou mesmo o exploit no navegador de internet), informações sobre como o 3DS se conectará serão fornecidas em uma data posterior." + "question": "Terei de desbloquear meu console para me conectar?", + "answer": "Sim, você precisará desbloquear seu console para se conectar; no entanto, no Wii U você só precisará acessar o Homebrew Launcher (ou seja, Haxchi, Coldboot Haxchi ou até mesmo o exploit do navegador de internet), informações sobre como os consoles Nintendo 3DS se conectarão serão fornecidas em um momento posterior." } ] }, @@ -105,6 +105,12 @@ "picture": "https://github.com/mrjvs.png", "github": "https://github.com/mrjvs" }, + { + "name": "Jip Fr", + "caption": "Líder de desenvolvimento web", + "picture": "https://github.com/jipfr.png", + "github": "https://github.com/jipfr" + }, { "name": "Monty", "caption": "Desenvolvimento web", @@ -112,21 +118,33 @@ "github": "https://github.com/montylion" }, { - "name": "Jip Fr", - "caption": "Desenvolvimento web", - "picture": "https://github.com/jipfr.png", - "github": "https://github.com/jipfr" + "name": "Stary", + "caption": "Desenvolvimento do 3DS e dissector NEX", + "picture": "https://github.com/Stary2001.png", + "github": "https://github.com/Stary2001" + }, + { + "name": "Billy", + "caption": "Fornecedor de dumps", + "picture": "https://github.com/InternalLoss.png", + "github": "https://github.com/InternalLoss" + }, + { + "name": "quarky", + "caption": "Pesquisa do BOSS e desenvolvimento do patch", + "picture": "https://github.com/QuarkTheAwesome.png", + "github": "https://github.com/QuarkTheAwesome" }, { "name": "Shutterbug2000", - "caption": "Pesquisa do 3DS e Mario Kart 7", + "caption": "Pesquisa do Nintendo 3DS e Mario Kart 7", "picture": "https://cdn.discordapp.com/avatars/191370953807233024/0311b61e2009c1576828dd2e9a59d72e.png?size=128", "github": "https://github.com/shutterbug2000" }, { "name": "Kinnay", "special": "Agradecimentos especiais", - "caption": "Pesquisa em estruturas de dados da Nintendo", + "caption": "Pesquisa da estruturas de dados da Nintendo", "picture": "https://cdn.discordapp.com/avatars/186572995848830987/b55c0d4e7bfd792edf0689f83a25d8ea.png?size=128", "github": "https://github.com/Kinnay" } @@ -138,14 +156,14 @@ }, "blogPage": { "title": "Blog", - "description": "The latest updates in condensed chunks. If you want to see more frequent updates, consider supporting us on Patreon." + "description": "As atualizações mais recentes em postagens condensadas. Se você quiser ver atualizações com mais frequência, considere nos ajudar no Patreon." }, "localizationPage": { - "title": "Let's localize", - "description": "Paste a link to a publicly accessible JSON locale to test it on the website", - "instructions": "View localization instructions", - "fileInput": "File to test", + "title": "Vamos traduzir", + "description": "Cole um link para um arquivo JSON acessível publicamente para testá-lo no site", + "instructions": "Veja as instruções de localização e tradução", + "fileInput": "Arquivo para testar", "filePlaceholder": "https://a.link.to/the_file.json", - "button": "Test file" + "button": "Testar aqui" } -} \ No newline at end of file +} diff --git a/locales/DE_de.json b/locales/DE_de.json index 11ec27f..ff6b89c 100644 --- a/locales/DE_de.json +++ b/locales/DE_de.json @@ -105,6 +105,12 @@ "picture": "https://github.com/mrjvs.png", "github": "https://github.com/mrjvs" }, + { + "name": "Jip Fr", + "caption": "Web development lead", + "picture": "https://github.com/jipfr.png", + "github": "https://github.com/jipfr" + }, { "name": "Monty", "caption": "Web Entwicklung", @@ -112,10 +118,22 @@ "github": "https://github.com/montylion" }, { - "name": "Jip Fr", - "caption": "Web Entwicklung", - "picture": "https://github.com/jipfr.png", - "github": "https://github.com/jipfr" + "name": "Stary", + "caption": "3DS dev and NEX dissector", + "picture": "https://github.com/Stary2001.png", + "github": "https://github.com/Stary2001" + }, + { + "name": "Billy", + "caption": "Provider of dumps", + "picture": "https://github.com/InternalLoss.png", + "github": "https://github.com/InternalLoss" + }, + { + "name": "quarky", + "caption": "BOSS research and patch development", + "picture": "https://github.com/QuarkTheAwesome.png", + "github": "https://github.com/QuarkTheAwesome" }, { "name": "Shutterbug2000", diff --git a/locales/ES_es.json b/locales/ES_es.json index bd1770f..8ea73c5 100644 --- a/locales/ES_es.json +++ b/locales/ES_es.json @@ -105,6 +105,12 @@ "picture": "https://github.com/mrjvs.png", "github": "https://github.com/mrjvs" }, + { + "name": "Jip Fr", + "caption": "Web development lead", + "picture": "https://github.com/jipfr.png", + "github": "https://github.com/jipfr" + }, { "name": "Monty", "caption": "Desarrollo web", @@ -112,10 +118,22 @@ "github": "https://github.com/montylion" }, { - "name": "Jip Fr", - "caption": "Desarrollo web", - "picture": "https://github.com/jipfr.png", - "github": "https://github.com/jipfr" + "name": "Stary", + "caption": "3DS dev and NEX dissector", + "picture": "https://github.com/Stary2001.png", + "github": "https://github.com/Stary2001" + }, + { + "name": "Billy", + "caption": "Provider of dumps", + "picture": "https://github.com/InternalLoss.png", + "github": "https://github.com/InternalLoss" + }, + { + "name": "quarky", + "caption": "BOSS research and patch development", + "picture": "https://github.com/QuarkTheAwesome.png", + "github": "https://github.com/QuarkTheAwesome" }, { "name": "Shutterbug2000", diff --git a/locales/FR_fr.json b/locales/FR_fr.json index 07af381..e4c7fd9 100644 --- a/locales/FR_fr.json +++ b/locales/FR_fr.json @@ -107,17 +107,35 @@ "picture": "https://github.com/mrjvs.png", "github": "https://github.com/mrjvs" }, + { + "name": "Jip Fr", + "caption": "Web development lead", + "picture": "https://github.com/jipfr.png", + "github": "https://github.com/jipfr" + }, { "name": "Monty", - "caption": "Developpement Web", + "caption": "Développement Web", "picture": "https://github.com/montylion.png", "github": "https://github.com/montylion" }, { - "name": "Jip Fr", - "caption": "Developpement Web", - "picture": "https://github.com/jipfr.png", - "github": "https://github.com/jipfr" + "name": "Stary", + "caption": "3DS dev and NEX dissector", + "picture": "https://github.com/Stary2001.png", + "github": "https://github.com/Stary2001" + }, + { + "name": "Billy", + "caption": "Provider of dumps", + "picture": "https://github.com/InternalLoss.png", + "github": "https://github.com/InternalLoss" + }, + { + "name": "quarky", + "caption": "BOSS research and patch development", + "picture": "https://github.com/QuarkTheAwesome.png", + "github": "https://github.com/QuarkTheAwesome" }, { "name": "Shutterbug2000", diff --git a/locales/IT_it.json b/locales/IT_it.json index da98ad9..93980e0 100644 --- a/locales/IT_it.json +++ b/locales/IT_it.json @@ -105,6 +105,12 @@ "picture": "https://github.com/mrjvs.png", "github": "https://github.com/mrjvs" }, + { + "name": "Jip Fr", + "caption": "Sviluppo web principale", + "picture": "https://github.com/jipfr.png", + "github": "https://github.com/jipfr" + }, { "name": "Monty", "caption": "Sviluppo web", @@ -112,10 +118,22 @@ "github": "https://github.com/montylion" }, { - "name": "Jip Fr", - "caption": "Sviluppo web", - "picture": "https://github.com/jipfr.png", - "github": "https://github.com/jipfr" + "name": "Stary", + "caption": "Sviluppo 3DS e strumento di analisi NEX", + "picture": "https://github.com/Stary2001.png", + "github": "https://github.com/Stary2001" + }, + { + "name": "Billy", + "caption": "Fornitore di dump", + "picture": "https://github.com/InternalLoss.png", + "github": "https://github.com/InternalLoss" + }, + { + "name": "quarky", + "caption": "Ricerca BOSS e sviluppo patch", + "picture": "https://github.com/QuarkTheAwesome.png", + "github": "https://github.com/QuarkTheAwesome" }, { "name": "Shutterbug2000", diff --git a/locales/KR_ko.json b/locales/KR_ko.json index d704579..17e1e24 100644 --- a/locales/KR_ko.json +++ b/locales/KR_ko.json @@ -105,6 +105,12 @@ "picture": "https://github.com/mrjvs.png", "github": "https://github.com/mrjvs" }, + { + "name": "Jip Fr", + "caption": "Web development lead", + "picture": "https://github.com/jipfr.png", + "github": "https://github.com/jipfr" + }, { "name": "Monty", "caption": "웹 개발", @@ -112,10 +118,22 @@ "github": "https://github.com/montylion" }, { - "name": "Jip Fr", - "caption": "웹 개발", - "picture": "https://github.com/jipfr.png", - "github": "https://github.com/jipfr" + "name": "Stary", + "caption": "3DS dev and NEX dissector", + "picture": "https://github.com/Stary2001.png", + "github": "https://github.com/Stary2001" + }, + { + "name": "Billy", + "caption": "Provider of dumps", + "picture": "https://github.com/InternalLoss.png", + "github": "https://github.com/InternalLoss" + }, + { + "name": "quarky", + "caption": "BOSS research and patch development", + "picture": "https://github.com/QuarkTheAwesome.png", + "github": "https://github.com/QuarkTheAwesome" }, { "name": "Shutterbug2000", diff --git a/locales/RU_ru.json b/locales/RU_ru.json index 3d1b2e5..0da0e98 100644 --- a/locales/RU_ru.json +++ b/locales/RU_ru.json @@ -105,6 +105,12 @@ "picture": "https://github.com/mrjvs.png", "github": "https://github.com/mrjvs" }, + { + "name": "Jip Fr", + "caption": "Web development lead", + "picture": "https://github.com/jipfr.png", + "github": "https://github.com/jipfr" + }, { "name": "Monty", "caption": "Web-разработка", @@ -112,10 +118,22 @@ "github": "https://github.com/montylion" }, { - "name": "Jip Fr", - "caption": "Web-разработка", - "picture": "https://github.com/jipfr.png", - "github": "https://github.com/jipfr" + "name": "Stary", + "caption": "3DS dev and NEX dissector", + "picture": "https://github.com/Stary2001.png", + "github": "https://github.com/Stary2001" + }, + { + "name": "Billy", + "caption": "Provider of dumps", + "picture": "https://github.com/InternalLoss.png", + "github": "https://github.com/InternalLoss" + }, + { + "name": "quarky", + "caption": "BOSS research and patch development", + "picture": "https://github.com/QuarkTheAwesome.png", + "github": "https://github.com/QuarkTheAwesome" }, { "name": "Shutterbug2000", diff --git a/locales/TR_tr.json b/locales/TR_tr.json index 2a08e59..ce5beaa 100644 --- a/locales/TR_tr.json +++ b/locales/TR_tr.json @@ -105,6 +105,12 @@ "picture": "https://github.com/mrjvs.png", "github": "https://github.com/mrjvs" }, + { + "name": "Jip Fr", + "caption": "Web development lead", + "picture": "https://github.com/jipfr.png", + "github": "https://github.com/jipfr" + }, { "name": "Monty", "caption": "Web sayfası geliştirme", @@ -112,10 +118,22 @@ "github": "https://github.com/montylion" }, { - "name": "Jip Fr", - "caption": "Web sayfası geliştirme", - "picture": "https://github.com/jipfr.png", - "github": "https://github.com/jipfr" + "name": "Stary", + "caption": "3DS dev and NEX dissector", + "picture": "https://github.com/Stary2001.png", + "github": "https://github.com/Stary2001" + }, + { + "name": "Billy", + "caption": "Provider of dumps", + "picture": "https://github.com/InternalLoss.png", + "github": "https://github.com/InternalLoss" + }, + { + "name": "quarky", + "caption": "BOSS research and patch development", + "picture": "https://github.com/QuarkTheAwesome.png", + "github": "https://github.com/QuarkTheAwesome" }, { "name": "Shutterbug2000", diff --git a/public/assets/css/dropdown.css b/public/assets/css/dropdown.css index 20c5eec..1b0860d 100644 --- a/public/assets/css/dropdown.css +++ b/public/assets/css/dropdown.css @@ -12,7 +12,7 @@ .select-box .options-container { max-height: 0; - width: calc(100% - 12px); + width: 100%; opacity: 0; transition: all 0.4s; overflow: hidden; diff --git a/src/routers/blog.js b/src/routers/blog.js index 409b8de..eaaa7c5 100644 --- a/src/routers/blog.js +++ b/src/routers/blog.js @@ -92,14 +92,14 @@ router.get('/:slug', async (request, response, next) => { // Replace [yt-iframe](videoID) with the full '); + .replace(/(?'); // Convert the content into HTML const htmlPost = marked(content); response.render('blogpost', { - layout: 'main', + layout: 'blog-opengraph', locale, localeString, postInfo, diff --git a/src/server.js b/src/server.js index 7b1a79d..0105091 100644 --- a/src/server.js +++ b/src/server.js @@ -44,6 +44,7 @@ app.use(expressLocale({ it: 'it-IT', 'it-CH': 'it-IT', ko: 'ko-KR', pt: 'pt-BR', + ro: 'ro-RO', ru: 'ru-RU', tr: 'tr-TR' }, @@ -56,6 +57,7 @@ app.use(expressLocale({ 'it', 'it-IT', 'it-CH', 'ko', 'ko-KR', 'pt', 'pt-BR', + 'ro', 'ro-RO', 'ru', 'ru-RU', 'tr', 'tr-TR', ], @@ -111,5 +113,5 @@ app.set('view engine', 'handlebars'); logger.info('Starting server'); app.listen(port, () => { - logger.success(`Server listening on *:${port}`); + logger.success(`Server listening on http://localhost:${port}`); }); \ No newline at end of file diff --git a/views/layouts/blog-opengraph.handlebars b/views/layouts/blog-opengraph.handlebars new file mode 100644 index 0000000..520af6c --- /dev/null +++ b/views/layouts/blog-opengraph.handlebars @@ -0,0 +1,76 @@ + + + + + Pretendo Network + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ {{{ body }}} +
+ + + + + + + \ No newline at end of file diff --git a/views/layouts/main.handlebars b/views/layouts/main.handlebars index 7aecdaf..a7f3356 100644 --- a/views/layouts/main.handlebars +++ b/views/layouts/main.handlebars @@ -37,7 +37,7 @@ - + @@ -60,8 +60,6 @@ twemoji.parse(document.body, {folder: 'svg', ext: '.svg'}); } - -
diff --git a/views/partials/footer.handlebars b/views/partials/footer.handlebars index b397961..2831901 100644 --- a/views/partials/footer.handlebars +++ b/views/partials/footer.handlebars @@ -1 +1 @@ -
Copyright 2021 - Design by mrjvs, development by Jip Fr
\ No newline at end of file +
Copyright 2021 - Design by mrjvs, development by Jip Fr & Monty
\ No newline at end of file diff --git a/views/partials/header.handlebars b/views/partials/header.handlebars index 8b7ad7e..de4dde3 100644 --- a/views/partials/header.handlebars +++ b/views/partials/header.handlebars @@ -71,6 +71,12 @@
🇧🇷Português
+
+ + +