Skip to content

Commit 142f1fb

Browse files
committed
Moji: Update translations
1 parent 4023c44 commit 142f1fb

File tree

3 files changed

+29
-8
lines changed

3 files changed

+29
-8
lines changed

guides/authentication/client-credentials/index.md

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,27 @@ APIコールを実行して[アクセストークン][accesstoken]を取得す
5050
* `box_subject_type``enterprise`に設定する
5151
* `box_subject_id`をEnterprise IDに設定する
5252

53-
管理対象ユーザーとして認証する場合は、以下のようにします。
53+
<Samples id="x_auth" variant="with_client_credentials">
54+
55+
</Samples>
56+
57+
If you would like to authenticate as an admin or a managed user:
5458

5559
* `box_subject_type``user`に設定する
5660
* `box_subject_id`をユーザーIDに設定する
61+
* enable **App + Enterprise Access** and **Generate User Access Tokens** Box [Developer Console][devconsole]
5762

58-
<Samples id="x_auth" variant="with_client_credentials">
63+
<Samples id="x_auth" variant="with_ccg_admin_managed_user">
64+
65+
</Samples>
66+
67+
If you would like to authenticate as any application user:
68+
69+
* `box_subject_type``user`に設定する
70+
* `box_subject_id`をユーザーIDに設定する
71+
* enable **Generate User Access Tokens** in the Box [Developer Console][devconsole]
72+
73+
<Samples id="x_auth" variant="with_ccg_app_user">
5974

6075
</Samples>
6176

@@ -76,7 +91,13 @@ Grant credentials are invalid [400 Bad Request] invalid_grant - Grant credential
7691

7792
* 渡されたクライアントIDとクライアントシークレットが正しくないか、同じアプリケーションのものではない。
7893

79-
* 選択した[アプリケーションアクセス][aa]に基づいて`box_subject_id`を使用できない。たとえば、送信時に`enterprise``box_subject_type`に設定し、アプリケーションが \[アプリアクセスのみ] に設定されている場合、`grant credentials are invalid`エラーが返されます。
94+
* the `box_subject_id` cannot be used based on the selected [application access][aa].
95+
96+
<Message warning>
97+
98+
A CCG app with App Access Only can send in the `box_subject_type` of `enterprise` to authenticate as its service account, but it can't authenticate as a managed user or an admin.
99+
100+
</Message>
80101

81102
* `box_subject_type``user`に設定して使用するには、\[**構成**] タブの \[**高度な機能**] セクションでユーザーアクセストークンを生成するようアプリケーションを構成する必要があります。
82103

guides/search/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Box APIを使用すると、ファイルコンテンツ検索クエリを使用
3838

3939
## クエリ演算子
4040

41-
検索APIは、`AND``OR``NOT``""`など、いくつかの[検索演算子](g://search/query-operators)をサポートします。これらの演算子を使用すると、より複雑な組み合わせの検索語に一致する項目のみが返されるように検索結果を絞り込むことができます
41+
検索APIは、`AND``OR``NOT``""`など、いくつかの[検索演算子](g://search/query-operators)をサポートします。これらの演算子を使用すると、より複雑な組み合わせの検索語句に一致する項目のみが返されるように検索結果を絞り込むことができます
4242

4343
```curl
4444
curl -i -X GET "https://api.box.com/2.0/search?query=box%20AND%20sales" \

guides/search/query-operators.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,17 @@ fullyTranslated: true
3131

3232
## 複数用語の一致に使用する`AND`
3333

34-
`AND`演算子を使用すると、検索では、演算子の左側と右側にある検索語を両方とも含む項目が返されます
34+
`AND`演算子を使用すると、検索では、演算子の左側と右側にある検索語句を両方とも含む項目が返されます
3535

3636
たとえば、`marketing AND BoxWorks`を検索すると、`marketing``BoxWorks`の両方が任意の順番でテキストに含まれている項目が返されます。テキストに`BoxWorks`のみが含まれる結果は返されません。
3737

38-
## いずれかの検索語の一致に使用する`OR`
38+
## いずれかの検索語句の一致に使用する`OR`
3939

40-
`OR`演算子を使用すると、検索では、演算子の左側と右側にある検索語のいずれかを含む項目が返されます
40+
`OR`演算子を使用すると、検索では、演算子の左側と右側にある検索語句のいずれかを含む項目が返されます
4141

4242
たとえば、`marketing OR BoxWorks`を検索すると、`marketing``BoxWorks`のいずれかがテキストに含まれている結果が返されます。サポートされている別のブール条件が使用されている場合を除き、複数語のクエリは暗黙的に`OR`として解釈されるため、この演算子の使用は必須ではありません。
4343

44-
## 検索語の除外に使用する`NOT`
44+
## 検索語句の除外に使用する`NOT`
4545

4646
`NOT`演算子を使用すると、検索では、演算子に続く用語を含まない項目が返されます。
4747

0 commit comments

Comments
 (0)