Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
11f54ba
Copy localization stuff into the _data/ja directory
smorimoto Dec 17, 2020
f57b9cc
Add ja to the languages list
smorimoto Dec 17, 2020
9983674
Replace the contents of _data/ja/intro.yml with Japanese ones
smorimoto Dec 17, 2020
d046c4f
Apply a suggestion from code review
smorimoto Dec 17, 2020
944cdb8
translate site.yml to Japanese
Naturalclar Dec 18, 2020
8982e16
translate proposals.yml to Japanese
Naturalclar Dec 18, 2020
8530689
update .at() proposal
codehag Dec 18, 2020
78ee628
Apply @rkirsling's suggestion to replace "提案" with "発表"
smorimoto Dec 20, 2020
4335c08
Translate descriptions
sosukesuzuki Dec 20, 2020
5a867bd
Translate titles
sosukesuzuki Dec 20, 2020
4a67c0e
Fix from review
sosukesuzuki Dec 21, 2020
09d8170
Update _data/ja/stage3.yml
sosukesuzuki Dec 21, 2020
c088607
Update _data/ja/stage3.yml
sosukesuzuki Dec 21, 2020
661b3b1
Update _data/ja/stage3.yml
sosukesuzuki Dec 21, 2020
161b25a
Update _data/ja/stage3.yml
sosukesuzuki Dec 21, 2020
d2ed38e
Update _data/ja/stage3.yml
sosukesuzuki Dec 21, 2020
b65404d
Update _data/ja/stage3.yml
sosukesuzuki Dec 21, 2020
195e445
Tweak _data/ja/stage3.yml little bit
smorimoto Dec 21, 2020
bd8fd7b
Fix a small typo
smorimoto Dec 21, 2020
317ed68
Translate date fields in _data/ja/stage3.yml that we forgot to translate
smorimoto Dec 21, 2020
9d9168c
Translate one more date field
smorimoto Dec 21, 2020
84c1005
Tweak _data/ja/intro.yml
smorimoto Dec 21, 2020
08c6e75
Apply suggestions from code review
smorimoto Dec 22, 2020
e1d649a
Polish the contents of _data/ja/stage3.yml a little more
smorimoto Dec 22, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 17 additions & 17 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@ baseurl: ''
url: ''
repository: 'https://github.com/tc39/tc39.github.io'
plugins:
- jemoji
- jekyll-octicons
- jemoji
- jekyll-octicons
exclude:
- 'babel.config.json'
- 'README.md'
- 'screenshot.png'
- 'Dockerfile'
- 'Makefile'
- 'Gemfile'
- 'Gemfile.lock'
- 'node_modules'
- 'package.json'
- 'package-lock.json'
- 'vendor'
- 'babel.config.json'
- 'README.md'
- 'screenshot.png'
- 'Dockerfile'
- 'Makefile'
- 'Gemfile'
- 'Gemfile.lock'
- 'node_modules'
- 'package.json'
- 'package-lock.json'
- 'vendor'
sass:
style: compressed
languages: ["de", "en", "ru", "zh-Hans"]
default_lang: "en"
exclude_from_localization: ["tc39-notes", "README.md"]
style: compressed
languages: ['de', 'en', 'ja', 'ru', 'zh-Hans']
default_lang: 'en'
exclude_from_localization: ['tc39-notes', 'README.md']
parallel_localization: true
11 changes: 11 additions & 0 deletions _data/ja/intro.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
TC39:
title: TC39
desc: Ecma InternationalのTC39は、JavaScript開発者、実装者、専門家などのグループで、JavaScriptの仕様をメンテナンスし発展させるためにコミュニティと協力しています。
ecma-logo: 我々は<br/> <a class="ecma-logo-box" href="https://www.ecma-international.org/"> <img src="assets/img/ecma-logo.svg" alt="Ecma International" /> </a> <br/>所属の委員会です。
contribute:
title: コントリビュート
desc: 既存のプロポーザルに対するフィードバック、ドキュメントの改善、テスト、実装、さらには言語機能に関するアイデアなど、JavaScriptコミュニティからのコントリビュートをTC39は歓迎します。詳細については、<a href="https://github.com/tc39/ecma262/blob/master/CONTRIBUTING.md">コントリビュータガイド</a>をご覧ください。
join-ecma: TC39のミーティングにメンバーとして参加するには、<a href="https://ecma-international.org/memento/join.htm">Ecmaに参加</a>してください。
specs:
title: 仕様
desc: 我々はJavaScript(正式には、ECMAScript)の仕様を<a href="https://github.com/tc39/ecma262/">GitHub</a>上で開発し、2ヶ月ごとにミーティングを行い、プロポーザルについて議論しています。このプロセスの詳細については、新しい言語機能のプロポーザルの<a href="https://tc39.es/process-document/">5つのステージ</a>を参照してください。より詳細な情報については、ミーティングの<a href="https://github.com/tc39/agendas/">議題</a>と<a href="https://github.com/tc39/notes/">議事録</a>をご覧ください。
23 changes: 23 additions & 0 deletions _data/ja/proposals.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
title: 現在の仕様候補一覧
description: このセクションでは、<a href="https://tc39.es/process-document/">我々のプロセス</a>においてステージ3に到達している、つまり完了が近いプロポーザルを紹介しています。
how-to-read:
title: プロポーザル一覧の読み方
description: 各プロポーザルは他の資料へのリンクが貼ってあります。表示されているタグは以下の属性を示しています。各タグが何を意味しているかは以下の例を参照してください。全てのタグはマウスカーソルをホバーさせたら詳細が表示されます。
tags:
title: タグの種類とそれぞれの意味
last-presented: 最終発表日
last-presented-fake-date: 12月 2018
tests: テストケース
spec: 仕様詳細
last-presented-alt: 直近の発表のノート
specification: 仕様
specification-alt: 仕様文を読む
tests: テスト
tests-alt: test262のリポジトリにテストを追加するパッチ
show-example: 例を表示する
author: 提出者
authors: 提出者
champion: 支持者
champions: 支持者
authors-and-champions: 提出者、及び支持者
see-more: 全ステージのプロポーザルを見る
39 changes: 39 additions & 0 deletions _data/ja/site.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
title: JavaScriptを定義する。
lang: ja
navigation:
TC39:
title: TC39
agenda: 今後の議題
notes: 直近の議事録
sub-menu: TC39のサブメニューを表示する
specs:
title: 仕様
proposals: 議論中のプロポーザル
ecma-262: ECMA-262, ECMAScript
ecma-402: ECMA-402, Intl API
sub-menu: 仕様のサブメニューを表示する
contribute:
title: コントリビュート
proposals: プロポーザルへのコントリビュートについて
tests: テストケースへのコントリビュートについて
read: 仕様の読み方について
discourse: Discourseに参加する
sub-menu: コントリビュートのサブメニューを表示する
state-of-proposals: プロポーザルの状態
skip-content: プロポーザルの状態へ飛ぶ
open: メニューを表示する
footer:
connect: 繋がる
standards: 標準
proposals: プロポーザル一覧
archives: アーカイブ
process: プロセス
coc: 行動規範
feedback: フィードバックを募集しています。
feedback-prompt: ご意見等は<a href="https://github.com/tc39/tc39.github.io" target="_blank">このサイトのリポジトリ</a>に<a href="https://github.com/tc39/tc39.github.io/issues/new" target="_blank">issueを開いて</a>ください。
links:
coc: https://tc39.es/code-of-conduct
process: https://tc39.es/process-document
contribute-to-proposals: https://github.com/tc39/ecma262/blob/master/CONTRIBUTING.md
contribute-to-tests: https://github.com/tc39/test262/blob/master/CONTRIBUTING.md
discourse: https://es.discourse.group/
240 changes: 240 additions & 0 deletions _data/ja/stage3.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,240 @@
- title: JavaScriptの古い正規表現機能
id: proposal-regexp-legacy-features
presented:
- date: 5月&#xA0;2017
url: >-
https://github.com/tc39/notes/blob/master/meetings/2017-05/may-25.md#15ia-regexp-legacy-features-for-stage-3
has_specification: false
description: JavaScriptの古い(非推奨の)正規表現機能の仕様ドラフトです。例えば、<code>RegExp.$1</code>や<code>RegExp.prototype.compile</code>メソッドのようなコンストラクタのスタティックプロパティなどです。
authors:
- Claude Pache
champions:
- Mark Miller
- Claude Pache
tests:
- 'https://github.com/tc39/test262/pull/2650'
- title: プライベートインスタンスメソッドとアクセサ
id: proposal-private-methods
example: |-
class Counter extends HTMLElement {
#xValue = 0;
get #x() { return #xValue; }
set #x(value) {
this.#xValue = value;
window.requestAnimationFrame(this.#render.bind(this));
}
#clicked() {
this.#x++;
}
constructor() {
super();
this.onclick = this.#clicked.bind(this);
}
connectedCallback() { this.#render(); }
#render() {
this.textContent = this.#x.toString();
}
}
window.customElements.define(&#x27;num-counter&#x27;, Counter);
presented:
- date: 1月&#xA0;2019
url: >-
https://github.com/tc39/notes/blob/master/meetings/2019-01/jan-30.md#private-fields-and-methods-refresher
has_specification: true
description: クラスの状態や振る舞いを非公開に保つことで、ライブラリの作者は明確かつ安定したインターフェースを提供しつつ裏側でコードを変更できるようになります。
authors:
- Daniel Ehrenberg
champions:
- Daniel Ehrenberg
- Kevin Gibbons
tests:
- >-
https://github.com/tc39/test262/pulls?q=is%3Apr+is%3Aclosed+private+methods
- title: クラスのパブリックインスタンスフィールドとプライベートインスタンスフィールド
id: proposal-class-fields
example: |-
class X {
#foo;
method() {
console.log(this.#foo)
}
}
presented:
- date: 3月&#xA0;2019
url: >-
https://github.com/tc39/notes/blob/master/meetings/2020-03/march-31.md#add-support-for-optionalchainprivateidentifier-in-class-features-proposals
has_specification: true
description: 過去の直交クラスとクラス評価順序に関するプロポーザルに基づいて、パブリックフィールドとプライベートフィールドのための複合的なビジョンを提案します。
authors:
- Daniel Ehrenberg
- Kevin Gibbons
champions:
- Daniel Ehrenberg
- Jeff Morrison
- Kevin Smith
- Kevin Gibbons
tests:
- 'https://github.com/tc39/test262/pulls?q=is%3Apr+is%3Aclosed+private+fields'
- title: 静的クラスフィールドとプライベート静的メソッド
id: proposal-static-class-features
example: |-
class ColorFinder {
static #red = &#x22;#ff0000&#x22;;
static #green = &#x22;#00ff00&#x22;;
static #blue = &#x22;#0000ff&#x22;;

static colorName(name) {
switch (name) {
case &#x22;red&#x22;: return ColorFinder.#red;
case &#x22;blue&#x22;: return ColorFinder.#blue;
case &#x22;green&#x22;: return ColorFinder.#green;
default: throw new RangeError(&#x22;unknown color&#x22;);
}
}

// Somehow use colorName
}
presented:
- date: 1月&#xA0;2019
url: >-
https://github.com/tc39/notes/blob/master/meetings/2019-01/jan-30.md#private-fields-and-methods-refresher
has_specification: true
description: 過去のクラスフィールドプロポーザルとプライベートメソッドプロポーザルに基づいて、新しい3つの機能をJavaScriptのクラスに追加するプロポーザルです。
authors:
- Daniel Ehrenberg
- Kevin Gibbons
- Jeff Morrison
- Kevin Smith
champions:
- Shu-Yu Guo
- Daniel Ehrenberg
tests:
- 'https://github.com/tc39/test262/pulls?q=is%3Apr+is%3Aclosed+static+fields'
- title: ハッシュバン文法
id: proposal-hashbang
example: |-
#!/usr/bin/env node
// in the Module Goal
export {};
console.log(1);
presented:
- date: 11月&#xA0;2018
url: >-
https://github.com/tc39/notes/blob/master/meetings/2018-11/nov-28.md#hash-bang-grammar
has_specification: true
description: このプロポーザルは、シェバン/ハッシュバンに対応しているいくつかのCLI JSのホストでデファクトとなっている使用方法と合わせるものです。それらのホストは現在、JSエンジンにソーステキストを渡す前にそれらを有効なものにするためにハッシュバンを取り除いています。これはそれがどのように行われるかを統一、また標準化します。
authors:
- Bradley Farias
champions:
- Bradley Farias
tests:
- 'https://github.com/tc39/test262/pull/2065'
- title: トップレベル<code>await</code>
id: proposal-top-level-await
example: |-
// file.html
&#x3C;script type=module src=&#x22;a.mjs&#x22;&#x3E;&#x3C;/script&#x3E;
// a.mjs
await import(&#x22;./b.mjs&#x22;);
// b.mjs
await import(&#x22;./a.mjs&#x22;);
presented:
- date: 6月&#xA0;2019
url: >-
https://github.com/tc39/notes/blob/master/meetings/2019-06/june-6.md#top-level-await-for-stage-3
has_specification: true
description: トップレベル<code>await</code>はモジュールを大きな非同期関数として実行することを可能にします。トップレベル<code>await</code>を使うことで、ECMAScript Modules (ESM)はリソースを待機することが可能となり、それらのモジュールをインポートする他のモジュールは自身の評価が始まる前に待機することになります。
authors:
- Myles Borins
champions:
- Myles Borins
tests:
- 'https://github.com/tc39/test262/pull/2274'
- title: RegExp Match Indices
id: proposal-regexp-match-indices
example: |-
const re1 = /a+(?&#x3C;Z&#x3E;z)?/;
// indices are relative to start of the input string:
const s1 = &#x22;xaaaz&#x22;;
const m1 = re1.exec(s1);
m1.indices[0][0] === 1;
m1.indices[0][1] === 5;
s1.slice(...m1.indices[0]) === &#x22;aaaz&#x22;;
m1.indices[1][0] === 4;
m1.indices[1][1] === 5;
s1.slice(...m1.indices[1]) === &#x22;z&#x22;;
m1.indices.groups[&#x22;Z&#x22;][0] === 4;
m1.indices.groups[&#x22;Z&#x22;][1] === 5;
s1.slice(...m1.indices.groups[&#x22;Z&#x22;]) === &#x22;z&#x22;;
// capture groups that are not matched return &#x60;undefined&#x60;:
const m2 = re1.exec(&#x22;xaaay&#x22;);
m2.indices[1] === undefined;
m2.indices.groups[&#x22;Z&#x22;] === undefined;
presented:
- date: 12月&#xA0;2019
url: >-
https://github.com/tc39/notes/blob/master/meetings/2019-12/december-3.md#regexp-match-indices-performance-feedback
has_specification: false
description: ECMAScript RegExp Match Indiciesは入力された文字列の先頭を基準にキャプチャされた部分文字列の開始インデックスと終了インデックスについての追加の情報を提供します。
authors:
- Ron Buckton
champions:
- Ron Buckton
tests:
- 'https://github.com/tc39/test262/pull/2309'
- title: <code>Atomics.waitAsync</code>
id: proposal-atomics-wait-async
presented:
- date: 12月&#xA0;2019
url: >-
https://github.com/tc39/notes/blob/master/meetings/2019-12/december-4.md#atomicswaitasync-for-stage-3
has_specification: true
description: 主にブロッキングが許されないエージェントで使用するための"<code>Atomics.wait</code>の非同期版"をECMAScriptに追加するためのプロポーザルです。
authors:
- Lars Hansen
champions:
- Shu-yu Guo
- Lars Hansen
tests:
- 'https://github.com/tc39/test262/issues/2511'
- title: <code>.at()</code>
id: proposal-relative-indexing-method
example: |-
var list = ["apple", "orange", "banana"];
list.at(-1) // banana, using negative index
list.at(0) // apple
list.at(1) // orange
list.at(2) // banana
presented:
- date: 9月&#xA0;2020
url: at
has_specification: true
description: すべての基本的なインデックス可能なクラス(<code>Array</code>, <code>String</code>, <code>TypedArray</code>)に、<code>.at()</code>メソッドを追加するプロポーザルです。
authors:
- Shu-yu Guo
- Tab Atkins
champions:
- Shu-yu Guo
- Tab Atkins
tests:
- 'https://github.com/tc39/test262/pull/2812'
- title: Importアサーション
id: proposal-import-assertions
example: >-
new Worker(&#x22;foo.wasm&#x22;, { type: &#x22;module&#x22;, assert: { type:
&#x22;webassembly&#x22; } });
presented:
- date: 9月&#xA0;2020
url: import-assertions
has_specification: true
description: ES Modulesをアサーション付きでインポートする構文のためのプロポーザルです。
authors:
- Myles Borins
- Sven Sauleau
- Dan Clark
- Daniel Ehrenberg
champions:
- Myles Borins
- Sven Sauleau
- Dan Clark
- Daniel Ehrenberg