From 03e1124e581081ef20fa89dd1ad496ecf78a0a28 Mon Sep 17 00:00:00 2001 From: Danilo Fuchs Date: Thu, 30 Jul 2020 16:20:22 -0300 Subject: [PATCH 1/4] translate(pt): Community page --- .../src/copy/en/community.ts | 8 ++--- .../src/copy/pt/community.ts | 31 +++++++++++++++++++ 2 files changed, 35 insertions(+), 4 deletions(-) create mode 100644 packages/typescriptlang-org/src/copy/pt/community.ts diff --git a/packages/typescriptlang-org/src/copy/en/community.ts b/packages/typescriptlang-org/src/copy/en/community.ts index 04990467c40a..2d9cc242c6d1 100644 --- a/packages/typescriptlang-org/src/copy/en/community.ts +++ b/packages/typescriptlang-org/src/copy/en/community.ts @@ -1,8 +1,8 @@ export const comCopy = { - com_layout_title: "How to set up TypeScript", + com_layout_title: "How to set up TypeScript", // FIXME: Is this the right title for the community page? com_layout_description: "Connect with other TypeScripters online and offline.", - com_headline: "Connect with us", + com_headline: "Connect with us", // FIXME: I think this is not used anywhere com_connect_online: "Online", com_connect_online_description: " Tell us what’s working well, what you want to see added or improved, and find out about new updates.", @@ -17,8 +17,8 @@ export const comCopy = { com_online_github_href: "Tell us on GitHub", com_online_twitter_desc: "Stay up to date. Follow us on Twitter", com_online_blog_desc: - "Learn about the latest TypeScript developments via our", - com_online_typed_desc: "TypeScript definition files", + "Learn about the latest TypeScript developments via our", //... blog + com_online_typed_desc: "TypeScript definition files.", com_online_typed_href: "Browse the thousands of", com_online_typed_available_for: "available for common libraries and frameworks.", diff --git a/packages/typescriptlang-org/src/copy/pt/community.ts b/packages/typescriptlang-org/src/copy/pt/community.ts new file mode 100644 index 000000000000..18f22b085dec --- /dev/null +++ b/packages/typescriptlang-org/src/copy/pt/community.ts @@ -0,0 +1,31 @@ +export const comCopy = { + com_layout_title: "Como configurar TypeScript", + com_layout_description: + "Conecte-se com outros do mundo TypeScript online e offline.", + com_headline: "Conecte-se com a gente", + com_connect_online: "Online", + com_connect_online_description: + "Conte-nos o que está funcionando bem, o que quer ver adicionado ou aprimorado e descubra novas atualizações.", + com_online_stack_overflow_desc: + "Conecte-se com colegas e faça perguntas sobre Typescript usando a tag 'typescript'", + com_online_stack_overflow_tag: "", + com_online_discord_header: "Chat", + com_online_discord_desc: + "Converse com outros usuários de TypeScript no chat da comunidade TypeScript.", + com_online_github_desc: + "Encontrou um bug, ou quer nos dar feedback construtivo?", + com_online_github_href: "Conte-nos no Github", + com_online_twitter_desc: "Mantenha-se atualizado. Nos siga no Twitter", + com_online_blog_desc: + "Aprenda sobre os desenvolvimentos mais recentes do Typescript no nosso", //... blog + com_online_typed_desc: "Definições de tipos de Typescript.", + com_online_typed_href: "Navegue pelas milhares de", + com_online_typed_available_for: "bibliotecas e frameworks disponíveis.", + com_person: "Conecte-se pessoalmente", + com_conferences: "Conferências", + com_conferences_alt_img: "logo de ", + nav_: { + id: "foo", + defaultMessage: "foo", + }, +} From 0b35a227aa5772fcaab99548c96f4411401a72e5 Mon Sep 17 00:00:00 2001 From: Danilo Fuchs Date: Thu, 30 Jul 2020 16:29:26 -0300 Subject: [PATCH 2/4] fix: Add missing pt.ts messages definition file --- packages/typescriptlang-org/src/copy/pt.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/typescriptlang-org/src/copy/pt.ts b/packages/typescriptlang-org/src/copy/pt.ts index 0767ba6fb255..3551832cb4af 100644 --- a/packages/typescriptlang-org/src/copy/pt.ts +++ b/packages/typescriptlang-org/src/copy/pt.ts @@ -1,8 +1,10 @@ import { defineMessages } from "react-intl" import { Copy, messages as englishMessages } from "./en" import { docCopy } from "./pt/documentation" +import { comCopy } from "./pt/community" export const lang: Copy = defineMessages({ ...englishMessages, ...docCopy, + ...comCopy, }) From 78997002ddb2c3a188ae0e100e027089433b3f20 Mon Sep 17 00:00:00 2001 From: Danilo Fuchs Date: Mon, 17 Aug 2020 19:05:07 -0300 Subject: [PATCH 3/4] fix: Remove unused nav_ translation --- packages/typescriptlang-org/src/copy/pt/community.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/typescriptlang-org/src/copy/pt/community.ts b/packages/typescriptlang-org/src/copy/pt/community.ts index 18f22b085dec..e3932a9cc4dd 100644 --- a/packages/typescriptlang-org/src/copy/pt/community.ts +++ b/packages/typescriptlang-org/src/copy/pt/community.ts @@ -24,8 +24,4 @@ export const comCopy = { com_person: "Conecte-se pessoalmente", com_conferences: "Conferências", com_conferences_alt_img: "logo de ", - nav_: { - id: "foo", - defaultMessage: "foo", - }, } From 39dbcc31272721023f2e89ab65300974958db0dd Mon Sep 17 00:00:00 2001 From: Danilo Fuchs Date: Mon, 17 Aug 2020 19:10:28 -0300 Subject: [PATCH 4/4] fix: Add missing PT copy entries --- packages/typescriptlang-org/src/copy/pt.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/typescriptlang-org/src/copy/pt.ts b/packages/typescriptlang-org/src/copy/pt.ts index 3551832cb4af..a8f7df3e54b1 100644 --- a/packages/typescriptlang-org/src/copy/pt.ts +++ b/packages/typescriptlang-org/src/copy/pt.ts @@ -1,10 +1,16 @@ import { defineMessages } from "react-intl" import { Copy, messages as englishMessages } from "./en" +import { navCopy } from "./pt/nav" import { docCopy } from "./pt/documentation" +import { indexCopy } from "./pt/index" import { comCopy } from "./pt/community" +import { handbookCopy } from "./pt/handbook" export const lang: Copy = defineMessages({ ...englishMessages, + ...navCopy, ...docCopy, + ...indexCopy, ...comCopy, + ...handbookCopy, })