-
Notifications
You must be signed in to change notification settings - Fork 64
Japanese localization #234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
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 f57b9cc
Add ja to the languages list
smorimoto 9983674
Replace the contents of _data/ja/intro.yml with Japanese ones
smorimoto d046c4f
Apply a suggestion from code review
smorimoto 944cdb8
translate site.yml to Japanese
Naturalclar 8982e16
translate proposals.yml to Japanese
Naturalclar 8530689
update .at() proposal
codehag 78ee628
Apply @rkirsling's suggestion to replace "提案" with "発表"
smorimoto 4335c08
Translate descriptions
sosukesuzuki 5a867bd
Translate titles
sosukesuzuki 4a67c0e
Fix from review
sosukesuzuki 09d8170
Update _data/ja/stage3.yml
sosukesuzuki c088607
Update _data/ja/stage3.yml
sosukesuzuki 661b3b1
Update _data/ja/stage3.yml
sosukesuzuki 161b25a
Update _data/ja/stage3.yml
sosukesuzuki d2ed38e
Update _data/ja/stage3.yml
sosukesuzuki b65404d
Update _data/ja/stage3.yml
sosukesuzuki 195e445
Tweak _data/ja/stage3.yml little bit
smorimoto bd8fd7b
Fix a small typo
smorimoto 317ed68
Translate date fields in _data/ja/stage3.yml that we forgot to translate
smorimoto 9d9168c
Translate one more date field
smorimoto 84c1005
Tweak _data/ja/intro.yml
smorimoto 08c6e75
Apply suggestions from code review
smorimoto e1d649a
Polish the contents of _data/ja/stage3.yml a little more
smorimoto File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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>をご覧ください。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: 全ステージのプロポーザルを見る |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,240 @@ | ||
- title: JavaScriptの古い正規表現機能 | ||
id: proposal-regexp-legacy-features | ||
presented: | ||
- date: 5月 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('num-counter', Counter); | ||
presented: | ||
- date: 1月 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月 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 = "#ff0000"; | ||
static #green = "#00ff00"; | ||
static #blue = "#0000ff"; | ||
|
||
static colorName(name) { | ||
switch (name) { | ||
case "red": return ColorFinder.#red; | ||
case "blue": return ColorFinder.#blue; | ||
case "green": return ColorFinder.#green; | ||
default: throw new RangeError("unknown color"); | ||
} | ||
} | ||
|
||
// Somehow use colorName | ||
} | ||
presented: | ||
- date: 1月 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月 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 | ||
<script type=module src="a.mjs"></script> | ||
// a.mjs | ||
await import("./b.mjs"); | ||
// b.mjs | ||
await import("./a.mjs"); | ||
presented: | ||
- date: 6月 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+(?<Z>z)?/; | ||
// indices are relative to start of the input string: | ||
const s1 = "xaaaz"; | ||
const m1 = re1.exec(s1); | ||
m1.indices[0][0] === 1; | ||
m1.indices[0][1] === 5; | ||
s1.slice(...m1.indices[0]) === "aaaz"; | ||
m1.indices[1][0] === 4; | ||
m1.indices[1][1] === 5; | ||
s1.slice(...m1.indices[1]) === "z"; | ||
m1.indices.groups["Z"][0] === 4; | ||
m1.indices.groups["Z"][1] === 5; | ||
s1.slice(...m1.indices.groups["Z"]) === "z"; | ||
// capture groups that are not matched return `undefined`: | ||
const m2 = re1.exec("xaaay"); | ||
m2.indices[1] === undefined; | ||
m2.indices.groups["Z"] === undefined; | ||
presented: | ||
- date: 12月 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月 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月 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("foo.wasm", { type: "module", assert: { type: | ||
"webassembly" } }); | ||
presented: | ||
- date: 9月 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 |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.