Skip to content

Commit 55673f5

Browse files
author
Orta
authored
Merge pull request #291 from evanSe/i18n-community
community i18n
2 parents 7cfa658 + 4108e90 commit 55673f5

File tree

7 files changed

+247
-79
lines changed

7 files changed

+247
-79
lines changed

packages/typescriptlang-org/src/copy/en.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,15 @@ import { headCopy } from "./en/head-seo"
44
import { docCopy } from "./en/documentation"
55
import { indexCopy } from "./en/index"
66
import { playCopy } from "./en/playground"
7+
import { comCopy } from "./en/community"
78

89
export const messages = {
910
...navCopy,
1011
...docCopy,
1112
...headCopy,
1213
...indexCopy,
1314
...playCopy,
15+
...comCopy,
1416
}
1517

1618
export const lang = defineMessages(messages)
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
export const comCopy = {
2+
com_layout_title: "How to set up TypeScript",
3+
com_layout_description: "",
4+
com_headline: "Connect with us",
5+
com_connect_online: "Connect online",
6+
com_connect_online_description:
7+
" Tell us what’s working well, what you want to see added or improved, and find out about new updates.",
8+
com_online_stack_overflow_desc:
9+
"Engage with your peers and ask questions about Typescript on",
10+
com_online_stack_overflow_tag: "using the tag",
11+
com_online_discord_header: "Chat",
12+
com_online_discord_desc:
13+
"Chat with other TypeScript users in the TypeScript Community Chat.",
14+
com_online_github_desc: "Found a bug, or want to give us feedback?",
15+
com_online_github_href: "Tell us on github",
16+
com_online_twitter_desc: "Stay up to date. Follow us on Twitter",
17+
com_online_blog_desc:
18+
"Learn about the latest TypeScript developments via our",
19+
com_online_typed_desc: "TypeScript definition files",
20+
com_online_typed_href: "Browse the thousands of",
21+
com_online_typed_available_for:
22+
"available for common libraries and frameworks.",
23+
com_person: "Connect in person",
24+
com_conferences: "Conferences",
25+
com_conferences_alt_img: "logo of ",
26+
nav_: {
27+
id: "foo",
28+
defaultMessage: "foo",
29+
},
30+
}

packages/typescriptlang-org/src/copy/es.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { headCopy } from "./es/head-seo"
55
import { docCopy } from "./en/documentation"
66
import { indexCopy } from "./en/index"
77
import { playCopy } from "./es/playground"
8+
import { comCopy } from "./en/community"
89

910
export const lang: Copy = defineMessages({
1011
...englishMessages,
@@ -13,4 +14,5 @@ export const lang: Copy = defineMessages({
1314
...headCopy,
1415
...indexCopy,
1516
...playCopy,
17+
...comCopy,
1618
})
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
import { defineMessages } from "react-intl"
22
import { playCopy } from "./ja/playground"
33
import { Copy, messages as englishMessages } from "./en"
4+
import { comCopy } from "./en/community"
45

56
export const lang: Copy = defineMessages({
67
...englishMessages,
78
...playCopy,
9+
...comCopy,
810
})
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
import { defineMessages } from "react-intl"
22
import { navCopy } from "./vo/nav"
33
import { Copy, messages as englishMessages } from "./en"
4+
import { comCopy } from "./en/community"
45

56
export const lang: Copy = defineMessages({
67
...navCopy,
78
...englishMessages,
9+
...comCopy,
810
})

packages/typescriptlang-org/src/copy/zh.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { navCopy } from "./zh/nav"
55
import { headCopy } from "./zh/head-seo"
66
import { docCopy } from "./zh/documentation"
77
import { indexCopy } from "./zh/index"
8+
import { comCopy } from "./en/community"
89

910
export const messages = {
1011
...chineseMessages,
@@ -13,6 +14,7 @@ export const messages = {
1314
...headCopy,
1415
...indexCopy,
1516
...playCopy,
17+
...comCopy,
1618
}
1719

1820
export const lang = defineMessages(messages)

0 commit comments

Comments
 (0)