Skip to content

Commit b4979c2

Browse files
committed
refactor: update tagline to TypeScript-style "Ruby with syntax for types"
- Change hero title from "Type-safe Ruby, the TypeScript way" to "T-Ruby is Ruby with syntax for types." - Update subtitle to mention .rbs output and "Just like TypeScript" - Update all i18n translations (ko, ja)
1 parent aefc22c commit b4979c2

File tree

4 files changed

+10
-12
lines changed

4 files changed

+10
-12
lines changed

docusaurus.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type * as Preset from '@docusaurus/preset-classic';
44

55
const config: Config = {
66
title: 'T-Ruby',
7-
tagline: 'Type-safe Ruby, the TypeScript way',
7+
tagline: 'Ruby with syntax for types.',
88
favicon: 'img/logo.svg',
99

1010
future: {

i18n/ja/code.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,11 +212,11 @@
212212
"description": "Hero title line 1"
213213
},
214214
"homepage.hero.titleHighlight": {
215-
"message": "TypeScriptの方法で",
216-
"description": "Hero title line 2 highlighted"
215+
"message": "型構文を持つRubyです。",
216+
"description": "Hero title highlighted text"
217217
},
218218
"homepage.hero.subtitle2": {
219-
"message": "型アノテーション付きの.trbファイルを書きましょう。ランタイムオーバーヘッドなしで標準の.rbファイルにコンパイルします",
219+
"message": "型アノテーション付きの.trbファイルを書きましょう。標準の.rbファイルと.rbsにコンパイルします。TypeScriptのように",
220220
"description": "Hero subtitle"
221221
},
222222
"homepage.install.command": {

i18n/ko/code.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,11 +212,11 @@
212212
"description": "Hero title line 1"
213213
},
214214
"homepage.hero.titleHighlight": {
215-
"message": "TypeScript 방식으로",
216-
"description": "Hero title line 2 highlighted"
215+
"message": "타입 문법을 갖춘 Ruby입니다.",
216+
"description": "Hero title highlighted text"
217217
},
218218
"homepage.hero.subtitle2": {
219-
"message": "타입 어노테이션이 있는 .trb 파일을 작성하세요. 런타임 오버헤드 없이 표준 .rb 파일로 컴파일됩니다.",
219+
"message": "타입 어노테이션이 있는 .trb 파일을 작성하세요. 표준 .rb 파일과 .rbs로 컴파일됩니다. 타입스크립트처럼요.",
220220
"description": "Hero subtitle"
221221
},
222222
"homepage.install.command": {

src/pages/index.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,12 @@ function HeroBanner() {
3939
</a>
4040
</div>
4141
<Heading as="h1" className={styles.heroTitle}>
42-
<Translate id="homepage.hero.title2">Type-safe Ruby,</Translate><br />
43-
<span className={styles.heroHighlight}>
44-
<Translate id="homepage.hero.titleHighlight">the TypeScript way</Translate>
45-
</span>
42+
T-Ruby is Ruby<br />
43+
<span className={styles.heroHighlight}>with syntax for types.</span>
4644
</Heading>
4745
<p className={styles.heroSubtitle}>
4846
<Translate id="homepage.hero.subtitle2">
49-
Write .trb files with type annotations. Compile to standard .rb files with zero runtime overhead.
47+
Write .trb files with type annotations. Compile to standard .rb and .rbs files. Just like TypeScript.
5048
</Translate>
5149
</p>
5250

0 commit comments

Comments
 (0)