8000 Merge branch 'gh-pages' of github.com:WP-API/docs-ja into gh-pages · WP-API/docs-ja@445d67f · GitHub
[go: up one dir, main page]

Skip to content

Commit 445d67f

Browse files
committed
Merge branch 'gh-pages' of github.com:WP-API/docs-ja into gh-pages
2 parents c6e97da + 8655eb1 commit 445d67f

File tree

16 files changed

+197
-213
lines changed

16 files changed

+ 8000 197
-213
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,7 @@ Open http://0.0.0.0:4000 in your browser to see the site
3333
### Notes
3434

3535
Styles use of [Foundation v 5.5.3](http://foundation.zurb.com/sites/docs/v/5.5.3/)
36+
37+
### Translators
38+
39+
[Takayuki Miyauchi](https://github.com/miya0001), [Shinichi Nishikawa](https://github.com/ShinichiNishikawa), [Takahashi Fumiki](https://github.com/fumikito), [Mayuko Moriyama](https://github.com/mayukojpn)

_includes/header.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<h1><a href="{{ site.baseurl }}">WP REST API</a></h1>
33
<nav>
44
<ul>
5-
<li><a href="https://github.com/WP-API/docs-ja">Documentation on GitHub</a></li>
6-
<li><a href="https://github.com/WP-API/WP-API">Source on GitHub</a></li>
7-
<li><a href="https://github.com/WP-API/WP-API/issues">Support</a></li>
8-
<li><a class="button download" href="https://wordpress.org/plugins/rest-api/">Download</a></li>
5+
<li><a href="https://github.com/WP-API/docs-ja">GitHubドキュメント</a></li>
6+
<li><a href="https://github.com/WP-API/WP-API">GitHubソース</a></li>
7+
<li><a href="https://github.com/WP-API/WP-API/issues">サポート</a></li>
8+
<li><a class="button download" href="https://wordpress.org/plugins/rest-api/">ダウンロード</a></li>
99
</ul>
1010
</nav>
1111
</header>

_includes/reference-parts/args-list.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% if include.args.size > 0 %}
2-
<h3>Arguments</h3>
2+
<h3>引数</h3>
33
<table class="arguments">
44
{% for arg in include.args %}
55
<tr>
@@ -16,21 +16,21 @@ <h3>Arguments</h3>
1616
{% endif %}
1717
{% if arg[1].required %}
1818
<p class="required">
19-
Required: {{ arg[1].required }}
19+
必須: {{ arg[1].required }}
2020
</p>
2121
{% endif %}
2222
{% if arg[1].default %}
2323
<p class="default">
24-
Default: <code>{{ arg[1].default }}</code>
24+
初期値: <code>{{ arg[1].default }}</code>
2525
</p>
2626
{% endif %}
2727
{% if arg[1].enum %}
28-
<p>One of: <code>{{ arg[1].enum | join:"</code>, <code>"}}</code></p>
28+
<p>次のいずれか: <code>{{ arg[1].enum | join:"</code>, <code>"}}</code></p>
2929
{% endif %}
3030
</td>
3131
</tr>
3232
{% endfor %}
3333
</table>
3434
{% else %}
35-
<p>There are no arguments for this enpdoint.
35+
<p>このエンドポイントには引数がありません。
3636
{% endif %}

_includes/reference-parts/create-item.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<section class="route">
22
<div class="primary">
3-
<h2>Create a {{ page.resource }}</h2>
3+
<h2>{{ page.resource }}を作成</h2>
44
{% assign args = include.route.endpoints[1].args %}
55
{% include reference-parts/args-list.html args=args link=true %}
66
</div>
77
<div class="secondary">
8-
<h3>Definition</h3>
8+
<h3>定義</h3>
99

1010
<code>POST {{ include.route.nicename }}</code>
1111
</div>

_includes/reference-parts/delete-item.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11

22
<section class="route">
33
<div class="primary">
4-
<h2>Delete a {{ page.resource }}</h2>
4+
<h2>{{ page.resource }}を削除</h2>
55
{% assign args = include.route.endpoints[2].args %}
66
{% include reference-parts/args-list.html args=args %}
77
</div>
88
<div class="secondary">
9-
<h3>Definition</h3>
9+
<h3>定義</h3>
1010

1111
<code>DELETE {{ include.route.nicename }}</code>
1212

13-
<h3>Example Request</h3>
13+
<h3>リクエスト例</h3>
1414

1515
<code>$ curl -X DELETE http://demo.wp-api.org/wp-json{{ include.route.nicename }}</code>
1616
</div>

_includes/reference-parts/get-item.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
<section class="route">
22
<div class="primary">
3-
<h2>Retrieve a {{ page.resource }}</h2>
3+
<h2>{{ page.resource }}を取得する</h2>
44
{% assign args = include.route.endpoints[0].args %}
55
{% include reference-parts/args-list.html args=args link=false %}
66
</div>
77
<div class="secondary">
8-
<h3>Definition</h3>
8+
<h3>定義</h3>
99

1010
<code>GET {{ include.route.nicename }}</code>
1111

12-
<h3>Example Request</h3>
12+
<h3>リクエスト例</h3>
1313

1414
<code>$ curl http://demo.wp-api.org/wp-json{{ include.route.nicename }}</code>
1515
</div>

_includes/reference-parts/list-item.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
<section class="route">
22
<div class="primary">
3-
<h2>List {{ page.resource }}s</h2>
3+
<h2>{{ page.resource }}一覧</h2>
44
{% assign args = include.route.endpoints[0].args %}
55
{% include reference-parts/args-list.html args=args link=false %}
66
</div>
77
<div class="secondary">
8-
<h3>Definition</h3>
8+
<h3>定義</h3>
99

1010
<code>GET {{ include.route.nicename }}</code>
1111

12-
<h3>Example Request</h3>
12+
<h3>リクエスト例</h3>
1313

1414
<code>$ curl http://demo.wp-api.org/wp-json{{ include.route.nicename }}</code>
1515
</div>

_includes/reference-parts/schema.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
<h2>Schema</h2>
2-
<p>The schema defines all the fields that exist for a {{ include.schema.title }} object.</p>
1+
<h2>スキーマ</h2>
2+
<p>スキーマは{{ include.schema.title }}オブジェクトに存在するすべてのフィールドを定義しています。</p>
33
<table class="attributes">
44
{% for property in include.schema.properties %}
55
<tr id="schema-{{ property[0] }}">
@@ -19,11 +19,11 @@ <h2>Schema</h2>
1919
<td>
2020
<p>{{ property[1].description }}</p>
2121
{% if property[1].readonly %}
22-
<p class="read-only">Read only</p>
22+
<p class="read-only">読み取り専用</p>
2323
{% endif %}
24-
<p class="context">Context: <code>{{ property[1].context | join:"</code>, <code>"}}</code></p>
24+
<p class="context">コンテキスト: <code>{{ property[1].context | join:"</code>, <code>"}}</code></p>
2525
{% if property[1].enum %}
26-
<p>One of: <code>{{ property[1].enum | join:"</code>, <code>"}}</code></p>
26+
<p>次のいずれか: <code>{{ property[1].enum | join:"</code>, <code>"}}</code></p>
2727
{% endif %}
2828
</td>
2929
</tr>

_includes/reference-parts/update-item.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
<section class="route">
22
<div class="primary">
3-
<h2>Update a {{ page.resource }}</h2>
3+
<h2>{{ page.resource }}を更新する</h2>
44
{% assign args 1DF8 = include.route.endpoints[1].args %}
55
{% include reference-parts/args-list.html args=args link=true %}
66
</div>
77
<div class="secondary">
8-
<h3>Definition</h3>
8+
<h3>定義</h3>
99

1010
<code>POST {{ include.route.nicename }}</code>
1111

12-
<h3>Example Request</h3>
12+
<h3>リクエスト例</h3>
1313
{% capture example_include %}reference-parts/examples/update-{{ include.route.schema.title }}-curl.html{% endcapture %}
1414

1515
<code>{% include {{ example_include }} %}</code>

_includes/resources.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
2-
title: WP REST API v2 Resources
2+
title: WP REST API v2 リソース
33
---
4-
Resources
4+
リソース
55
=========
66

7-
Client Libraries
7+
クライアント・ライブラリ
88
----------------
99

1010
* [Backbone.js client][]
@@ -21,17 +21,17 @@ Client Libraries
2121
[C# client]: https://github.com/maxcutler/wp-api-csharp
2222
[Mixradio API client for Windows Phone]: https://github.com/mixradio/wp-api-client
2323

24-
Authentication
24+
認証
2525
--------------
2626

27-
* [OAuth 1.0a server plugin][]
28-
* [Basic Authentication][]
27+
* [OAuth 1.0aサーバープラグイン][]
28+
* [ベーシック認証][]
2929

30-
[OAuth 1.0a server plugin]: https://github.com/WP-API/OAuth1
31-
[Basic Authentication]: https://github.com/WP-API/Basic-Auth
30+
[OAuth 1.0aサーバープラグイン]: https://github.com/WP-API/OAuth1
31+
[ベーシック認証]: https://github.com/WP-API/Basic-Auth
3232

3333

34-
Tools
34+
ツール
3535
-----
3636

3737
* [WP-CLI client][]
@@ -45,7 +45,7 @@ Tools
4545
[API client UI]: https://github.com/modemlooper/Api-Clients
4646

4747

48-
WordPress Plugin Integrations
48+
WordPress Plugin インテグレーション
4949
------------------------------
5050
* [BuddyPress][]
5151
* [bbPress][]
@@ -61,7 +61,7 @@ WordPress Plugin Integrations
6161

6262

6363

64-
Slides & Videos
64+
スライド&ビデオ
6565
---------------
6666

6767
* [Rachel Baker: Put Your Content to REST With WP-API][]
@@ -78,7 +78,7 @@ Slides & Videos
7878
[K. Adam White: WordPress in Weird Places]: http://kadamwhite.github.io/talks/2014/wcsf-node-wp/#/
7979
[Ryan McCue: The WordPress REST API (WCNYC)]: https://wordpress.tv/2014/11/19/ryan-mccue-the-wordpress-rest-api/
8080

81-
REST Info & Tools
81+
RESTについての情報とツール
8282
-----------------
8383

8484
* [More About REST][]
@@ -91,19 +91,19 @@ REST Info & Tools
9191
[Paw HTTP App for OSX]: http://luckymarmot.com/paw
9292
[JSONView Chrome Extension]: https://chrome.google.com/webstore/detail/jsonview/chklaanhfefbnpoihckbnefhakgolnmc
9393

94-
Tutorials
94+
チュートリアル
9595
---------
96-
* [An Overview of the WordPress JSON API][] Detailed Overview of the REST API projects and helpful links.
97-
* [Using the WordPress REST API in a mobile app][] A detailed tutorial with complete example code on the basics of using the REST API in a app outside of WordPress.
96+
* [An Overview of the WordPress JSON API][] REST APIについての詳細な概要とお役立ちリンク集。(英語)
97+
* [Using the WordPress REST API in a mobile app][] WordPressの外部からREST APIを利用するための完全なコード例がついた詳しいチュートリアル。(英語)
9898
* [WordPress REST API][] A basic introduction to the REST API.
99-
* [A Look at the WordPress HTTP API][] Part of a series on the WordPress HTTP API, which can be used to interact with the WordPress REST API from within WordPress.
100-
* [Designing a class: WordPress API client][] Guide to building a class for making GET requests to the REST API's users end point via the WordPress HTTP API.
101-
* [An Introduction To The JSON REST API][] An introduction to interacting with the REST API from inside of WordPress, showing how to retrieve and display data from the current site or a remote site via GET requests.
102-
* [An Introduction To The JSON REST API Part2][] More information on how interact with the REST API from inside of WordPress, showing how to create posts using data from a remote site, or create posts on a remote site.
103-
* [Using AngularJS And JSON API In Your WordPress Theme][] An introduction to using the REST API, and Angular JS in a WordPress theme.
104-
* [Working with Meta Data Using the JSON REST API][] Using the REST API to work with post meta data.
105-
* [Working with Taxonomies Using the JSON REST API][] Using the REST API to work with taxonomies.
106-
* [Processing Forms with AJAX Using the JSON REST API][] A guide to using the REST API to edit posts using AJAX.
99+
* [A Look at the WordPress HTTP API][] WordPress HTTP APIに関する連載の一部。WordPress内部でWordPressのREST APIを利用するのに役立つ。(英語)
100+
* [Designing a class: WordPress API client][] WordPrssのHTTP APIを利用してユーザーのエンドポイントにGETリクエストを投げるクラスを作るためのガイド。(英語)
101+
* [An Introduction To The JSON REST API][] WordPressの内部からREST APIを利用するためのレッスンで、GETリクエストで外部または内部のサイトからデータを取得して表示するにはどうすればよいかがわかる。(英語)
102+
* [An Introduction To The JSON REST API Part2][] WordPressの内部からREST APIを利用するにはどうしたらいいかについての詳しい情報。外部のサイトのデータから投稿を作成する方法、外部のサイトにデータを作成する方法がわかる。(英語)
103+
* [Using AngularJS And JSON API In Your WordPress Theme][] WordPressテーマでAngular JSを利用してREST APIを利用する方法。(英語)
104+
* [Working with Meta Data Using the JSON REST API][] REST APIを使って投稿のメタデータを操作する。(英語)
105+
* [Working with Taxonomies Using the JSON REST API][] REST APIを使ってタクソノミーを操作する。(英語)
106+
* [Processing Forms with AJAX Using the JSON REST API][] AJAXで投稿を編集するためのガイド。(英語)
107107

108108
[An Overview of the WordPress JSON API]:http://webdevstudios.com/2014/10/16/an-overview-of-wordpress-json-api/
109109
[Using the WordPress REST API in a mobile app]: http://apppresser.com/using-wordpress-rest-api-mobile-app/

0 commit comments

Comments
 (0)
0